@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
package/dist/server.d.ts CHANGED
@@ -1,15 +1,15 @@
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';
1
+ import { F as FoundationApi, I as InvoiceModeParams } from './api-C9P338XT.js';
2
+ import { O as IndianaServerOptions, r as IndianaError, Q as FunnelProcessSuppression, T as FunnelProcessCommand, J as FunnelProcessResponse, C as CustomerSession, H as FunnelProcessOpenInput, M as FunnelProcessMutation, u as PaywallStartInput, P as PaywallSession, k as FeatureClientOptions, R as RemoteFeatureResult } from './funnel-local-client-CSA9XoC4.js';
3
+ export { j as FeatureClient, g as FunnelStartInput, L as LocalFunnelClient, q as LocalFunnelClientOptions, x as createFeatureClient, U as createFunnelStartClient, z as createLocalFunnelClient } from './funnel-local-client-CSA9XoC4.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-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';
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-Cg-4tcAs.js';
11
+ export { F as FunnelNodeEvaluationContext, k as MerchantRequirementCheckInput, l as MerchantRequirementCheckResult, n as entitlementRequirementDigest, e as evaluateFunnelNode } from './funnel-node-evaluation-Cg-4tcAs.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-B6RepnmH.js';
13
13
  import 'zod/v4';
14
14
  import '@ai-sdk/provider';
15
15
 
@@ -243,11 +243,40 @@ declare const merchantSubscriptionTermsSchema: z.ZodObject<{
243
243
  }>;
244
244
  intervalCount: z.ZodNumber;
245
245
  amountMinor: z.ZodNumber;
246
+ amountAfterOfferMinor: z.ZodOptional<z.ZodNumber>;
246
247
  }, z.core.$strict>>;
247
248
  trial: z.ZodNullable<z.ZodObject<{
248
249
  days: z.ZodNumber;
249
250
  cardRequired: z.ZodBoolean;
250
251
  }, z.core.$strict>>;
252
+ discount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
253
+ grantId: z.ZodUUID;
254
+ couponId: z.ZodUUID;
255
+ amountMinor: z.ZodNumber;
256
+ applicationPolicy: z.ZodOptional<z.ZodEnum<{
257
+ replace: "replace";
258
+ stack_native: "stack_native";
259
+ }>>;
260
+ applicableProductIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
261
+ terms: z.ZodDiscriminatedUnion<[z.ZodObject<{
262
+ type: z.ZodLiteral<"percent">;
263
+ percentOff: z.ZodNumber;
264
+ }, z.core.$strict>, z.ZodObject<{
265
+ type: z.ZodLiteral<"amount">;
266
+ amountOffMinor: z.ZodNumber;
267
+ currency: z.ZodString;
268
+ }, z.core.$strict>], "type">;
269
+ duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
270
+ type: z.ZodLiteral<"once">;
271
+ }, z.core.$strict>, z.ZodObject<{
272
+ type: z.ZodLiteral<"forever">;
273
+ }, z.core.$strict>, z.ZodObject<{
274
+ type: z.ZodLiteral<"repeating">;
275
+ months: z.ZodNumber;
276
+ }, z.core.$strict>], "type">;
277
+ }, z.core.$strict>>>;
278
+ discountExpiresAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
279
+ initialAmountMinor: z.ZodOptional<z.ZodNumber>;
251
280
  }, z.core.$strict>;
252
281
  type MerchantSubscriptionTerms = z.infer<typeof merchantSubscriptionTermsSchema>;
253
282
  declare const merchantPreparedTermsSchema: z.ZodObject<{
@@ -389,14 +418,70 @@ declare const merchantPreparedTermsSchema: z.ZodObject<{
389
418
  }>;
390
419
  intervalCount: z.ZodNumber;
391
420
  amountMinor: z.ZodNumber;
421
+ amountAfterOfferMinor: z.ZodOptional<z.ZodNumber>;
392
422
  }, z.core.$strict>>;
393
423
  trial: z.ZodNullable<z.ZodObject<{
394
424
  days: z.ZodNumber;
395
425
  cardRequired: z.ZodBoolean;
396
426
  }, z.core.$strict>>;
427
+ discount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
428
+ grantId: z.ZodUUID;
429
+ couponId: z.ZodUUID;
430
+ amountMinor: z.ZodNumber;
431
+ applicationPolicy: z.ZodOptional<z.ZodEnum<{
432
+ replace: "replace";
433
+ stack_native: "stack_native";
434
+ }>>;
435
+ applicableProductIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
436
+ terms: z.ZodDiscriminatedUnion<[z.ZodObject<{
437
+ type: z.ZodLiteral<"percent">;
438
+ percentOff: z.ZodNumber;
439
+ }, z.core.$strict>, z.ZodObject<{
440
+ type: z.ZodLiteral<"amount">;
441
+ amountOffMinor: z.ZodNumber;
442
+ currency: z.ZodString;
443
+ }, z.core.$strict>], "type">;
444
+ duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
445
+ type: z.ZodLiteral<"once">;
446
+ }, z.core.$strict>, z.ZodObject<{
447
+ type: z.ZodLiteral<"forever">;
448
+ }, z.core.$strict>, z.ZodObject<{
449
+ type: z.ZodLiteral<"repeating">;
450
+ months: z.ZodNumber;
451
+ }, z.core.$strict>], "type">;
452
+ }, z.core.$strict>>>;
453
+ discountExpiresAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
454
+ initialAmountMinor: z.ZodOptional<z.ZodNumber>;
397
455
  }, z.core.$strict>>;
398
456
  subtotalMinor: z.ZodNumber;
399
457
  discountMinor: z.ZodNumber;
458
+ nativeDiscountMinor: z.ZodOptional<z.ZodNumber>;
459
+ discount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
460
+ grantId: z.ZodUUID;
461
+ couponId: z.ZodUUID;
462
+ amountMinor: z.ZodNumber;
463
+ applicationPolicy: z.ZodOptional<z.ZodEnum<{
464
+ replace: "replace";
465
+ stack_native: "stack_native";
466
+ }>>;
467
+ applicableProductIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
468
+ terms: z.ZodDiscriminatedUnion<[z.ZodObject<{
469
+ type: z.ZodLiteral<"percent">;
470
+ percentOff: z.ZodNumber;
471
+ }, z.core.$strict>, z.ZodObject<{
472
+ type: z.ZodLiteral<"amount">;
473
+ amountOffMinor: z.ZodNumber;
474
+ currency: z.ZodString;
475
+ }, z.core.$strict>], "type">;
476
+ duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
477
+ type: z.ZodLiteral<"once">;
478
+ }, z.core.$strict>, z.ZodObject<{
479
+ type: z.ZodLiteral<"forever">;
480
+ }, z.core.$strict>, z.ZodObject<{
481
+ type: z.ZodLiteral<"repeating">;
482
+ months: z.ZodNumber;
483
+ }, z.core.$strict>], "type">;
484
+ }, z.core.$strict>>>;
400
485
  taxMinor: z.ZodNullable<z.ZodNumber>;
401
486
  totalMinor: z.ZodNullable<z.ZodNumber>;
402
487
  effectiveAt: z.ZodNullable<z.ZodISODateTime>;
@@ -1007,14 +1092,70 @@ declare const merchantBridgeV4CommandOutputs: {
1007
1092
  }>;
1008
1093
  intervalCount: z.ZodNumber;
1009
1094
  amountMinor: z.ZodNumber;
1095
+ amountAfterOfferMinor: z.ZodOptional<z.ZodNumber>;
1010
1096
  }, z.core.$strict>>;
1011
1097
  trial: z.ZodNullable<z.ZodObject<{
1012
1098
  days: z.ZodNumber;
1013
1099
  cardRequired: z.ZodBoolean;
1014
1100
  }, z.core.$strict>>;
1101
+ discount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1102
+ grantId: z.ZodUUID;
1103
+ couponId: z.ZodUUID;
1104
+ amountMinor: z.ZodNumber;
1105
+ applicationPolicy: z.ZodOptional<z.ZodEnum<{
1106
+ replace: "replace";
1107
+ stack_native: "stack_native";
1108
+ }>>;
1109
+ applicableProductIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1110
+ terms: z.ZodDiscriminatedUnion<[z.ZodObject<{
1111
+ type: z.ZodLiteral<"percent">;
1112
+ percentOff: z.ZodNumber;
1113
+ }, z.core.$strict>, z.ZodObject<{
1114
+ type: z.ZodLiteral<"amount">;
1115
+ amountOffMinor: z.ZodNumber;
1116
+ currency: z.ZodString;
1117
+ }, z.core.$strict>], "type">;
1118
+ duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
1119
+ type: z.ZodLiteral<"once">;
1120
+ }, z.core.$strict>, z.ZodObject<{
1121
+ type: z.ZodLiteral<"forever">;
1122
+ }, z.core.$strict>, z.ZodObject<{
1123
+ type: z.ZodLiteral<"repeating">;
1124
+ months: z.ZodNumber;
1125
+ }, z.core.$strict>], "type">;
1126
+ }, z.core.$strict>>>;
1127
+ discountExpiresAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1128
+ initialAmountMinor: z.ZodOptional<z.ZodNumber>;
1015
1129
  }, z.core.$strict>>;
1016
1130
  subtotalMinor: z.ZodNumber;
1017
1131
  discountMinor: z.ZodNumber;
1132
+ nativeDiscountMinor: z.ZodOptional<z.ZodNumber>;
1133
+ discount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1134
+ grantId: z.ZodUUID;
1135
+ couponId: z.ZodUUID;
1136
+ amountMinor: z.ZodNumber;
1137
+ applicationPolicy: z.ZodOptional<z.ZodEnum<{
1138
+ replace: "replace";
1139
+ stack_native: "stack_native";
1140
+ }>>;
1141
+ applicableProductIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1142
+ terms: z.ZodDiscriminatedUnion<[z.ZodObject<{
1143
+ type: z.ZodLiteral<"percent">;
1144
+ percentOff: z.ZodNumber;
1145
+ }, z.core.$strict>, z.ZodObject<{
1146
+ type: z.ZodLiteral<"amount">;
1147
+ amountOffMinor: z.ZodNumber;
1148
+ currency: z.ZodString;
1149
+ }, z.core.$strict>], "type">;
1150
+ duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
1151
+ type: z.ZodLiteral<"once">;
1152
+ }, z.core.$strict>, z.ZodObject<{
1153
+ type: z.ZodLiteral<"forever">;
1154
+ }, z.core.$strict>, z.ZodObject<{
1155
+ type: z.ZodLiteral<"repeating">;
1156
+ months: z.ZodNumber;
1157
+ }, z.core.$strict>], "type">;
1158
+ }, z.core.$strict>>>;
1018
1159
  taxMinor: z.ZodNullable<z.ZodNumber>;
1019
1160
  totalMinor: z.ZodNullable<z.ZodNumber>;
1020
1161
  effectiveAt: z.ZodNullable<z.ZodISODateTime>;
@@ -2295,6 +2436,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
2295
2436
  type: "repeating";
2296
2437
  months: number;
2297
2438
  };
2439
+ applicationPolicy?: "replace" | "stack_native" | undefined;
2440
+ applicableProductIds?: string[] | undefined;
2298
2441
  } | null;
2299
2442
  trialPeriodDays: number | null;
2300
2443
  automaticTax: boolean;
@@ -2306,6 +2449,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
2306
2449
  connectionRevision: number;
2307
2450
  currency: string;
2308
2451
  expiresAt: string;
2452
+ nativeDiscountMinor?: number | undefined;
2309
2453
  } | {
2310
2454
  provider: "stripe";
2311
2455
  executor: "merchant" | "indiana";
@@ -2479,11 +2623,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
2479
2623
  interval: "week" | "month" | "year";
2480
2624
  intervalCount: number;
2481
2625
  amountMinor: number;
2626
+ amountAfterOfferMinor?: number | undefined;
2482
2627
  }[];
2483
2628
  trial: {
2484
2629
  days: number;
2485
2630
  cardRequired: boolean;
2486
2631
  } | null;
2632
+ discount?: {
2633
+ grantId: string;
2634
+ couponId: string;
2635
+ amountMinor: number;
2636
+ terms: {
2637
+ type: "percent";
2638
+ percentOff: number;
2639
+ } | {
2640
+ type: "amount";
2641
+ amountOffMinor: number;
2642
+ currency: string;
2643
+ };
2644
+ duration: {
2645
+ type: "once";
2646
+ } | {
2647
+ type: "forever";
2648
+ } | {
2649
+ type: "repeating";
2650
+ months: number;
2651
+ };
2652
+ applicationPolicy?: "replace" | "stack_native" | undefined;
2653
+ applicableProductIds?: string[] | undefined;
2654
+ } | null | undefined;
2655
+ discountExpiresAt?: string | null | undefined;
2656
+ initialAmountMinor?: number | undefined;
2487
2657
  } | null;
2488
2658
  subtotalMinor: number;
2489
2659
  discountMinor: number;
@@ -2502,6 +2672,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
2502
2672
  version: string;
2503
2673
  summary: string;
2504
2674
  }[];
2675
+ nativeDiscountMinor?: number | undefined;
2676
+ discount?: {
2677
+ grantId: string;
2678
+ couponId: string;
2679
+ amountMinor: number;
2680
+ terms: {
2681
+ type: "percent";
2682
+ percentOff: number;
2683
+ } | {
2684
+ type: "amount";
2685
+ amountOffMinor: number;
2686
+ currency: string;
2687
+ };
2688
+ duration: {
2689
+ type: "once";
2690
+ } | {
2691
+ type: "forever";
2692
+ } | {
2693
+ type: "repeating";
2694
+ months: number;
2695
+ };
2696
+ applicationPolicy?: "replace" | "stack_native" | undefined;
2697
+ applicableProductIds?: string[] | undefined;
2698
+ } | null | undefined;
2505
2699
  } | undefined;
2506
2700
  nativeOffer?: {
2507
2701
  offerKind: "none" | "introductory" | "promotional";
@@ -2509,6 +2703,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
2509
2703
  discountMinor: number;
2510
2704
  trialDays: number | null;
2511
2705
  } | undefined;
2706
+ nativeDiscountMinor?: number | undefined;
2512
2707
  } | null;
2513
2708
  operation: {
2514
2709
  operationId: string;
@@ -2559,6 +2754,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
2559
2754
  type: "repeating";
2560
2755
  months: number;
2561
2756
  };
2757
+ applicationPolicy?: "replace" | "stack_native" | undefined;
2758
+ applicableProductIds?: string[] | undefined;
2562
2759
  } | null;
2563
2760
  trialPeriodDays: number | null;
2564
2761
  automaticTax: boolean;
@@ -2570,6 +2767,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
2570
2767
  connectionRevision: number;
2571
2768
  currency: string;
2572
2769
  expiresAt: string;
2770
+ nativeDiscountMinor?: number | undefined;
2573
2771
  } | {
2574
2772
  provider: "stripe";
2575
2773
  executor: "merchant" | "indiana";
@@ -2817,6 +3015,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
2817
3015
  type: "repeating";
2818
3016
  months: number;
2819
3017
  };
3018
+ applicationPolicy?: "replace" | "stack_native" | undefined;
3019
+ applicableProductIds?: string[] | undefined;
2820
3020
  } | null;
2821
3021
  trialPeriodDays: number | null;
2822
3022
  automaticTax: boolean;
@@ -2828,6 +3028,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
2828
3028
  connectionRevision: number;
2829
3029
  currency: string;
2830
3030
  expiresAt: string;
3031
+ nativeDiscountMinor?: number | undefined;
2831
3032
  } | {
2832
3033
  provider: "stripe";
2833
3034
  executor: "merchant" | "indiana";
@@ -3001,11 +3202,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
3001
3202
  interval: "week" | "month" | "year";
3002
3203
  intervalCount: number;
3003
3204
  amountMinor: number;
3205
+ amountAfterOfferMinor?: number | undefined;
3004
3206
  }[];
3005
3207
  trial: {
3006
3208
  days: number;
3007
3209
  cardRequired: boolean;
3008
3210
  } | null;
3211
+ discount?: {
3212
+ grantId: string;
3213
+ couponId: string;
3214
+ amountMinor: number;
3215
+ terms: {
3216
+ type: "percent";
3217
+ percentOff: number;
3218
+ } | {
3219
+ type: "amount";
3220
+ amountOffMinor: number;
3221
+ currency: string;
3222
+ };
3223
+ duration: {
3224
+ type: "once";
3225
+ } | {
3226
+ type: "forever";
3227
+ } | {
3228
+ type: "repeating";
3229
+ months: number;
3230
+ };
3231
+ applicationPolicy?: "replace" | "stack_native" | undefined;
3232
+ applicableProductIds?: string[] | undefined;
3233
+ } | null | undefined;
3234
+ discountExpiresAt?: string | null | undefined;
3235
+ initialAmountMinor?: number | undefined;
3009
3236
  } | null;
3010
3237
  subtotalMinor: number;
3011
3238
  discountMinor: number;
@@ -3024,6 +3251,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
3024
3251
  version: string;
3025
3252
  summary: string;
3026
3253
  }[];
3254
+ nativeDiscountMinor?: number | undefined;
3255
+ discount?: {
3256
+ grantId: string;
3257
+ couponId: string;
3258
+ amountMinor: number;
3259
+ terms: {
3260
+ type: "percent";
3261
+ percentOff: number;
3262
+ } | {
3263
+ type: "amount";
3264
+ amountOffMinor: number;
3265
+ currency: string;
3266
+ };
3267
+ duration: {
3268
+ type: "once";
3269
+ } | {
3270
+ type: "forever";
3271
+ } | {
3272
+ type: "repeating";
3273
+ months: number;
3274
+ };
3275
+ applicationPolicy?: "replace" | "stack_native" | undefined;
3276
+ applicableProductIds?: string[] | undefined;
3277
+ } | null | undefined;
3027
3278
  } | undefined;
3028
3279
  nativeOffer?: {
3029
3280
  offerKind: "none" | "introductory" | "promotional";
@@ -3031,6 +3282,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
3031
3282
  discountMinor: number;
3032
3283
  trialDays: number | null;
3033
3284
  } | undefined;
3285
+ nativeDiscountMinor?: number | undefined;
3034
3286
  } | undefined;
3035
3287
  merchantExecution?: {
3036
3288
  type: "purchase";
@@ -3155,6 +3407,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
3155
3407
  type: "repeating";
3156
3408
  months: number;
3157
3409
  };
3410
+ applicationPolicy?: "replace" | "stack_native" | undefined;
3411
+ applicableProductIds?: string[] | undefined;
3158
3412
  } | null;
3159
3413
  trialPeriodDays: number | null;
3160
3414
  automaticTax: boolean;
@@ -3166,6 +3420,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
3166
3420
  connectionRevision: number;
3167
3421
  currency: string;
3168
3422
  expiresAt: string;
3423
+ nativeDiscountMinor?: number | undefined;
3169
3424
  } | {
3170
3425
  type: "subscription_change";
3171
3426
  subscriptionId: string;
@@ -3228,6 +3483,29 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
3228
3483
  connectionRevision: number;
3229
3484
  currency: string;
3230
3485
  expiresAt: string;
3486
+ discount?: {
3487
+ grantId: string;
3488
+ couponId: string;
3489
+ amountMinor: number;
3490
+ terms: {
3491
+ type: "percent";
3492
+ percentOff: number;
3493
+ } | {
3494
+ type: "amount";
3495
+ amountOffMinor: number;
3496
+ currency: string;
3497
+ };
3498
+ duration: {
3499
+ type: "once";
3500
+ } | {
3501
+ type: "forever";
3502
+ } | {
3503
+ type: "repeating";
3504
+ months: number;
3505
+ };
3506
+ applicationPolicy?: "replace" | "stack_native" | undefined;
3507
+ applicableProductIds?: string[] | undefined;
3508
+ } | null | undefined;
3231
3509
  sourceLineItems?: {
3232
3510
  priceId: string;
3233
3511
  productVersionId: string;
@@ -3374,11 +3652,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
3374
3652
  interval: "week" | "month" | "year";
3375
3653
  intervalCount: number;
3376
3654
  amountMinor: number;
3655
+ amountAfterOfferMinor?: number | undefined;
3377
3656
  }[];
3378
3657
  trial: {
3379
3658
  days: number;
3380
3659
  cardRequired: boolean;
3381
3660
  } | null;
3661
+ discount?: {
3662
+ grantId: string;
3663
+ couponId: string;
3664
+ amountMinor: number;
3665
+ terms: {
3666
+ type: "percent";
3667
+ percentOff: number;
3668
+ } | {
3669
+ type: "amount";
3670
+ amountOffMinor: number;
3671
+ currency: string;
3672
+ };
3673
+ duration: {
3674
+ type: "once";
3675
+ } | {
3676
+ type: "forever";
3677
+ } | {
3678
+ type: "repeating";
3679
+ months: number;
3680
+ };
3681
+ applicationPolicy?: "replace" | "stack_native" | undefined;
3682
+ applicableProductIds?: string[] | undefined;
3683
+ } | null | undefined;
3684
+ discountExpiresAt?: string | null | undefined;
3685
+ initialAmountMinor?: number | undefined;
3382
3686
  } | null;
3383
3687
  subtotalMinor: number;
3384
3688
  discountMinor: number;
@@ -3397,6 +3701,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
3397
3701
  version: string;
3398
3702
  summary: string;
3399
3703
  }[];
3704
+ nativeDiscountMinor?: number | undefined;
3705
+ discount?: {
3706
+ grantId: string;
3707
+ couponId: string;
3708
+ amountMinor: number;
3709
+ terms: {
3710
+ type: "percent";
3711
+ percentOff: number;
3712
+ } | {
3713
+ type: "amount";
3714
+ amountOffMinor: number;
3715
+ currency: string;
3716
+ };
3717
+ duration: {
3718
+ type: "once";
3719
+ } | {
3720
+ type: "forever";
3721
+ } | {
3722
+ type: "repeating";
3723
+ months: number;
3724
+ };
3725
+ applicationPolicy?: "replace" | "stack_native" | undefined;
3726
+ applicableProductIds?: string[] | undefined;
3727
+ } | null | undefined;
3400
3728
  } | undefined;
3401
3729
  } | undefined;
3402
3730
  } | null;
@@ -3976,6 +4304,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
3976
4304
  type: "repeating";
3977
4305
  months: number;
3978
4306
  };
4307
+ applicationPolicy?: "replace" | "stack_native" | undefined;
4308
+ applicableProductIds?: string[] | undefined;
3979
4309
  } | null;
3980
4310
  trialPeriodDays: number | null;
3981
4311
  automaticTax: boolean;
@@ -3987,6 +4317,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
3987
4317
  connectionRevision: number;
3988
4318
  currency: string;
3989
4319
  expiresAt: string;
4320
+ nativeDiscountMinor?: number | undefined;
3990
4321
  } | {
3991
4322
  provider: "stripe";
3992
4323
  executor: "merchant" | "indiana";
@@ -4160,11 +4491,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
4160
4491
  interval: "week" | "month" | "year";
4161
4492
  intervalCount: number;
4162
4493
  amountMinor: number;
4494
+ amountAfterOfferMinor?: number | undefined;
4163
4495
  }[];
4164
4496
  trial: {
4165
4497
  days: number;
4166
4498
  cardRequired: boolean;
4167
4499
  } | null;
4500
+ discount?: {
4501
+ grantId: string;
4502
+ couponId: string;
4503
+ amountMinor: number;
4504
+ terms: {
4505
+ type: "percent";
4506
+ percentOff: number;
4507
+ } | {
4508
+ type: "amount";
4509
+ amountOffMinor: number;
4510
+ currency: string;
4511
+ };
4512
+ duration: {
4513
+ type: "once";
4514
+ } | {
4515
+ type: "forever";
4516
+ } | {
4517
+ type: "repeating";
4518
+ months: number;
4519
+ };
4520
+ applicationPolicy?: "replace" | "stack_native" | undefined;
4521
+ applicableProductIds?: string[] | undefined;
4522
+ } | null | undefined;
4523
+ discountExpiresAt?: string | null | undefined;
4524
+ initialAmountMinor?: number | undefined;
4168
4525
  } | null;
4169
4526
  subtotalMinor: number;
4170
4527
  discountMinor: number;
@@ -4183,6 +4540,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
4183
4540
  version: string;
4184
4541
  summary: string;
4185
4542
  }[];
4543
+ nativeDiscountMinor?: number | undefined;
4544
+ discount?: {
4545
+ grantId: string;
4546
+ couponId: string;
4547
+ amountMinor: number;
4548
+ terms: {
4549
+ type: "percent";
4550
+ percentOff: number;
4551
+ } | {
4552
+ type: "amount";
4553
+ amountOffMinor: number;
4554
+ currency: string;
4555
+ };
4556
+ duration: {
4557
+ type: "once";
4558
+ } | {
4559
+ type: "forever";
4560
+ } | {
4561
+ type: "repeating";
4562
+ months: number;
4563
+ };
4564
+ applicationPolicy?: "replace" | "stack_native" | undefined;
4565
+ applicableProductIds?: string[] | undefined;
4566
+ } | null | undefined;
4186
4567
  } | undefined;
4187
4568
  nativeOffer?: {
4188
4569
  offerKind: "none" | "introductory" | "promotional";
@@ -4190,6 +4571,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
4190
4571
  discountMinor: number;
4191
4572
  trialDays: number | null;
4192
4573
  } | undefined;
4574
+ nativeDiscountMinor?: number | undefined;
4193
4575
  } | null;
4194
4576
  operation: {
4195
4577
  operationId: string;
@@ -4240,6 +4622,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
4240
4622
  type: "repeating";
4241
4623
  months: number;
4242
4624
  };
4625
+ applicationPolicy?: "replace" | "stack_native" | undefined;
4626
+ applicableProductIds?: string[] | undefined;
4243
4627
  } | null;
4244
4628
  trialPeriodDays: number | null;
4245
4629
  automaticTax: boolean;
@@ -4251,6 +4635,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
4251
4635
  connectionRevision: number;
4252
4636
  currency: string;
4253
4637
  expiresAt: string;
4638
+ nativeDiscountMinor?: number | undefined;
4254
4639
  } | {
4255
4640
  provider: "stripe";
4256
4641
  executor: "merchant" | "indiana";
@@ -4498,6 +4883,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
4498
4883
  type: "repeating";
4499
4884
  months: number;
4500
4885
  };
4886
+ applicationPolicy?: "replace" | "stack_native" | undefined;
4887
+ applicableProductIds?: string[] | undefined;
4501
4888
  } | null;
4502
4889
  trialPeriodDays: number | null;
4503
4890
  automaticTax: boolean;
@@ -4509,6 +4896,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
4509
4896
  connectionRevision: number;
4510
4897
  currency: string;
4511
4898
  expiresAt: string;
4899
+ nativeDiscountMinor?: number | undefined;
4512
4900
  } | {
4513
4901
  provider: "stripe";
4514
4902
  executor: "merchant" | "indiana";
@@ -4682,11 +5070,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
4682
5070
  interval: "week" | "month" | "year";
4683
5071
  intervalCount: number;
4684
5072
  amountMinor: number;
5073
+ amountAfterOfferMinor?: number | undefined;
4685
5074
  }[];
4686
5075
  trial: {
4687
5076
  days: number;
4688
5077
  cardRequired: boolean;
4689
5078
  } | null;
5079
+ discount?: {
5080
+ grantId: string;
5081
+ couponId: string;
5082
+ amountMinor: number;
5083
+ terms: {
5084
+ type: "percent";
5085
+ percentOff: number;
5086
+ } | {
5087
+ type: "amount";
5088
+ amountOffMinor: number;
5089
+ currency: string;
5090
+ };
5091
+ duration: {
5092
+ type: "once";
5093
+ } | {
5094
+ type: "forever";
5095
+ } | {
5096
+ type: "repeating";
5097
+ months: number;
5098
+ };
5099
+ applicationPolicy?: "replace" | "stack_native" | undefined;
5100
+ applicableProductIds?: string[] | undefined;
5101
+ } | null | undefined;
5102
+ discountExpiresAt?: string | null | undefined;
5103
+ initialAmountMinor?: number | undefined;
4690
5104
  } | null;
4691
5105
  subtotalMinor: number;
4692
5106
  discountMinor: number;
@@ -4705,6 +5119,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
4705
5119
  version: string;
4706
5120
  summary: string;
4707
5121
  }[];
5122
+ nativeDiscountMinor?: number | undefined;
5123
+ discount?: {
5124
+ grantId: string;
5125
+ couponId: string;
5126
+ amountMinor: number;
5127
+ terms: {
5128
+ type: "percent";
5129
+ percentOff: number;
5130
+ } | {
5131
+ type: "amount";
5132
+ amountOffMinor: number;
5133
+ currency: string;
5134
+ };
5135
+ duration: {
5136
+ type: "once";
5137
+ } | {
5138
+ type: "forever";
5139
+ } | {
5140
+ type: "repeating";
5141
+ months: number;
5142
+ };
5143
+ applicationPolicy?: "replace" | "stack_native" | undefined;
5144
+ applicableProductIds?: string[] | undefined;
5145
+ } | null | undefined;
4708
5146
  } | undefined;
4709
5147
  nativeOffer?: {
4710
5148
  offerKind: "none" | "introductory" | "promotional";
@@ -4712,6 +5150,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
4712
5150
  discountMinor: number;
4713
5151
  trialDays: number | null;
4714
5152
  } | undefined;
5153
+ nativeDiscountMinor?: number | undefined;
4715
5154
  } | undefined;
4716
5155
  merchantExecution?: {
4717
5156
  type: "purchase";
@@ -4836,6 +5275,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
4836
5275
  type: "repeating";
4837
5276
  months: number;
4838
5277
  };
5278
+ applicationPolicy?: "replace" | "stack_native" | undefined;
5279
+ applicableProductIds?: string[] | undefined;
4839
5280
  } | null;
4840
5281
  trialPeriodDays: number | null;
4841
5282
  automaticTax: boolean;
@@ -4847,6 +5288,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
4847
5288
  connectionRevision: number;
4848
5289
  currency: string;
4849
5290
  expiresAt: string;
5291
+ nativeDiscountMinor?: number | undefined;
4850
5292
  } | {
4851
5293
  type: "subscription_change";
4852
5294
  subscriptionId: string;
@@ -4909,6 +5351,29 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
4909
5351
  connectionRevision: number;
4910
5352
  currency: string;
4911
5353
  expiresAt: string;
5354
+ discount?: {
5355
+ grantId: string;
5356
+ couponId: string;
5357
+ amountMinor: number;
5358
+ terms: {
5359
+ type: "percent";
5360
+ percentOff: number;
5361
+ } | {
5362
+ type: "amount";
5363
+ amountOffMinor: number;
5364
+ currency: string;
5365
+ };
5366
+ duration: {
5367
+ type: "once";
5368
+ } | {
5369
+ type: "forever";
5370
+ } | {
5371
+ type: "repeating";
5372
+ months: number;
5373
+ };
5374
+ applicationPolicy?: "replace" | "stack_native" | undefined;
5375
+ applicableProductIds?: string[] | undefined;
5376
+ } | null | undefined;
4912
5377
  sourceLineItems?: {
4913
5378
  priceId: string;
4914
5379
  productVersionId: string;
@@ -5055,11 +5520,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
5055
5520
  interval: "week" | "month" | "year";
5056
5521
  intervalCount: number;
5057
5522
  amountMinor: number;
5523
+ amountAfterOfferMinor?: number | undefined;
5058
5524
  }[];
5059
5525
  trial: {
5060
5526
  days: number;
5061
5527
  cardRequired: boolean;
5062
5528
  } | null;
5529
+ discount?: {
5530
+ grantId: string;
5531
+ couponId: string;
5532
+ amountMinor: number;
5533
+ terms: {
5534
+ type: "percent";
5535
+ percentOff: number;
5536
+ } | {
5537
+ type: "amount";
5538
+ amountOffMinor: number;
5539
+ currency: string;
5540
+ };
5541
+ duration: {
5542
+ type: "once";
5543
+ } | {
5544
+ type: "forever";
5545
+ } | {
5546
+ type: "repeating";
5547
+ months: number;
5548
+ };
5549
+ applicationPolicy?: "replace" | "stack_native" | undefined;
5550
+ applicableProductIds?: string[] | undefined;
5551
+ } | null | undefined;
5552
+ discountExpiresAt?: string | null | undefined;
5553
+ initialAmountMinor?: number | undefined;
5063
5554
  } | null;
5064
5555
  subtotalMinor: number;
5065
5556
  discountMinor: number;
@@ -5078,17 +5569,41 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
5078
5569
  version: string;
5079
5570
  summary: string;
5080
5571
  }[];
5081
- } | undefined;
5082
- } | undefined;
5083
- } | null;
5084
- canReselect?: boolean | undefined;
5085
- } | undefined;
5086
- customerId?: string | undefined;
5087
- review?: {
5088
- activeOperationId: string | null;
5089
- pages: {
5090
- receiptId: string;
5091
- nodeId: string;
5572
+ nativeDiscountMinor?: number | undefined;
5573
+ discount?: {
5574
+ grantId: string;
5575
+ couponId: string;
5576
+ amountMinor: number;
5577
+ terms: {
5578
+ type: "percent";
5579
+ percentOff: number;
5580
+ } | {
5581
+ type: "amount";
5582
+ amountOffMinor: number;
5583
+ currency: string;
5584
+ };
5585
+ duration: {
5586
+ type: "once";
5587
+ } | {
5588
+ type: "forever";
5589
+ } | {
5590
+ type: "repeating";
5591
+ months: number;
5592
+ };
5593
+ applicationPolicy?: "replace" | "stack_native" | undefined;
5594
+ applicableProductIds?: string[] | undefined;
5595
+ } | null | undefined;
5596
+ } | undefined;
5597
+ } | undefined;
5598
+ } | null;
5599
+ canReselect?: boolean | undefined;
5600
+ } | undefined;
5601
+ customerId?: string | undefined;
5602
+ review?: {
5603
+ activeOperationId: string | null;
5604
+ pages: {
5605
+ receiptId: string;
5606
+ nodeId: string;
5092
5607
  visit: number;
5093
5608
  }[];
5094
5609
  page: {
@@ -5951,6 +6466,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
5951
6466
  type: "repeating";
5952
6467
  months: number;
5953
6468
  };
6469
+ applicationPolicy?: "replace" | "stack_native" | undefined;
6470
+ applicableProductIds?: string[] | undefined;
5954
6471
  } | null;
5955
6472
  trialPeriodDays: number | null;
5956
6473
  automaticTax: boolean;
@@ -5962,6 +6479,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
5962
6479
  connectionRevision: number;
5963
6480
  currency: string;
5964
6481
  expiresAt: string;
6482
+ nativeDiscountMinor?: number | undefined;
5965
6483
  } | {
5966
6484
  provider: "stripe";
5967
6485
  executor: "merchant" | "indiana";
@@ -6135,11 +6653,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
6135
6653
  interval: "week" | "month" | "year";
6136
6654
  intervalCount: number;
6137
6655
  amountMinor: number;
6656
+ amountAfterOfferMinor?: number | undefined;
6138
6657
  }[];
6139
6658
  trial: {
6140
6659
  days: number;
6141
6660
  cardRequired: boolean;
6142
6661
  } | null;
6662
+ discount?: {
6663
+ grantId: string;
6664
+ couponId: string;
6665
+ amountMinor: number;
6666
+ terms: {
6667
+ type: "percent";
6668
+ percentOff: number;
6669
+ } | {
6670
+ type: "amount";
6671
+ amountOffMinor: number;
6672
+ currency: string;
6673
+ };
6674
+ duration: {
6675
+ type: "once";
6676
+ } | {
6677
+ type: "forever";
6678
+ } | {
6679
+ type: "repeating";
6680
+ months: number;
6681
+ };
6682
+ applicationPolicy?: "replace" | "stack_native" | undefined;
6683
+ applicableProductIds?: string[] | undefined;
6684
+ } | null | undefined;
6685
+ discountExpiresAt?: string | null | undefined;
6686
+ initialAmountMinor?: number | undefined;
6143
6687
  } | null;
6144
6688
  subtotalMinor: number;
6145
6689
  discountMinor: number;
@@ -6158,6 +6702,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
6158
6702
  version: string;
6159
6703
  summary: string;
6160
6704
  }[];
6705
+ nativeDiscountMinor?: number | undefined;
6706
+ discount?: {
6707
+ grantId: string;
6708
+ couponId: string;
6709
+ amountMinor: number;
6710
+ terms: {
6711
+ type: "percent";
6712
+ percentOff: number;
6713
+ } | {
6714
+ type: "amount";
6715
+ amountOffMinor: number;
6716
+ currency: string;
6717
+ };
6718
+ duration: {
6719
+ type: "once";
6720
+ } | {
6721
+ type: "forever";
6722
+ } | {
6723
+ type: "repeating";
6724
+ months: number;
6725
+ };
6726
+ applicationPolicy?: "replace" | "stack_native" | undefined;
6727
+ applicableProductIds?: string[] | undefined;
6728
+ } | null | undefined;
6161
6729
  } | undefined;
6162
6730
  nativeOffer?: {
6163
6731
  offerKind: "none" | "introductory" | "promotional";
@@ -6165,6 +6733,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
6165
6733
  discountMinor: number;
6166
6734
  trialDays: number | null;
6167
6735
  } | undefined;
6736
+ nativeDiscountMinor?: number | undefined;
6168
6737
  } | null;
6169
6738
  operation: {
6170
6739
  operationId: string;
@@ -6215,6 +6784,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
6215
6784
  type: "repeating";
6216
6785
  months: number;
6217
6786
  };
6787
+ applicationPolicy?: "replace" | "stack_native" | undefined;
6788
+ applicableProductIds?: string[] | undefined;
6218
6789
  } | null;
6219
6790
  trialPeriodDays: number | null;
6220
6791
  automaticTax: boolean;
@@ -6226,6 +6797,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
6226
6797
  connectionRevision: number;
6227
6798
  currency: string;
6228
6799
  expiresAt: string;
6800
+ nativeDiscountMinor?: number | undefined;
6229
6801
  } | {
6230
6802
  provider: "stripe";
6231
6803
  executor: "merchant" | "indiana";
@@ -6473,6 +7045,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
6473
7045
  type: "repeating";
6474
7046
  months: number;
6475
7047
  };
7048
+ applicationPolicy?: "replace" | "stack_native" | undefined;
7049
+ applicableProductIds?: string[] | undefined;
6476
7050
  } | null;
6477
7051
  trialPeriodDays: number | null;
6478
7052
  automaticTax: boolean;
@@ -6484,6 +7058,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
6484
7058
  connectionRevision: number;
6485
7059
  currency: string;
6486
7060
  expiresAt: string;
7061
+ nativeDiscountMinor?: number | undefined;
6487
7062
  } | {
6488
7063
  provider: "stripe";
6489
7064
  executor: "merchant" | "indiana";
@@ -6657,11 +7232,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
6657
7232
  interval: "week" | "month" | "year";
6658
7233
  intervalCount: number;
6659
7234
  amountMinor: number;
7235
+ amountAfterOfferMinor?: number | undefined;
6660
7236
  }[];
6661
7237
  trial: {
6662
7238
  days: number;
6663
7239
  cardRequired: boolean;
6664
7240
  } | null;
7241
+ discount?: {
7242
+ grantId: string;
7243
+ couponId: string;
7244
+ amountMinor: number;
7245
+ terms: {
7246
+ type: "percent";
7247
+ percentOff: number;
7248
+ } | {
7249
+ type: "amount";
7250
+ amountOffMinor: number;
7251
+ currency: string;
7252
+ };
7253
+ duration: {
7254
+ type: "once";
7255
+ } | {
7256
+ type: "forever";
7257
+ } | {
7258
+ type: "repeating";
7259
+ months: number;
7260
+ };
7261
+ applicationPolicy?: "replace" | "stack_native" | undefined;
7262
+ applicableProductIds?: string[] | undefined;
7263
+ } | null | undefined;
7264
+ discountExpiresAt?: string | null | undefined;
7265
+ initialAmountMinor?: number | undefined;
6665
7266
  } | null;
6666
7267
  subtotalMinor: number;
6667
7268
  discountMinor: number;
@@ -6680,6 +7281,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
6680
7281
  version: string;
6681
7282
  summary: string;
6682
7283
  }[];
7284
+ nativeDiscountMinor?: number | undefined;
7285
+ discount?: {
7286
+ grantId: string;
7287
+ couponId: string;
7288
+ amountMinor: number;
7289
+ terms: {
7290
+ type: "percent";
7291
+ percentOff: number;
7292
+ } | {
7293
+ type: "amount";
7294
+ amountOffMinor: number;
7295
+ currency: string;
7296
+ };
7297
+ duration: {
7298
+ type: "once";
7299
+ } | {
7300
+ type: "forever";
7301
+ } | {
7302
+ type: "repeating";
7303
+ months: number;
7304
+ };
7305
+ applicationPolicy?: "replace" | "stack_native" | undefined;
7306
+ applicableProductIds?: string[] | undefined;
7307
+ } | null | undefined;
6683
7308
  } | undefined;
6684
7309
  nativeOffer?: {
6685
7310
  offerKind: "none" | "introductory" | "promotional";
@@ -6687,6 +7312,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
6687
7312
  discountMinor: number;
6688
7313
  trialDays: number | null;
6689
7314
  } | undefined;
7315
+ nativeDiscountMinor?: number | undefined;
6690
7316
  } | undefined;
6691
7317
  merchantExecution?: {
6692
7318
  type: "purchase";
@@ -6811,6 +7437,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
6811
7437
  type: "repeating";
6812
7438
  months: number;
6813
7439
  };
7440
+ applicationPolicy?: "replace" | "stack_native" | undefined;
7441
+ applicableProductIds?: string[] | undefined;
6814
7442
  } | null;
6815
7443
  trialPeriodDays: number | null;
6816
7444
  automaticTax: boolean;
@@ -6822,6 +7450,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
6822
7450
  connectionRevision: number;
6823
7451
  currency: string;
6824
7452
  expiresAt: string;
7453
+ nativeDiscountMinor?: number | undefined;
6825
7454
  } | {
6826
7455
  type: "subscription_change";
6827
7456
  subscriptionId: string;
@@ -6884,6 +7513,29 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
6884
7513
  connectionRevision: number;
6885
7514
  currency: string;
6886
7515
  expiresAt: string;
7516
+ discount?: {
7517
+ grantId: string;
7518
+ couponId: string;
7519
+ amountMinor: number;
7520
+ terms: {
7521
+ type: "percent";
7522
+ percentOff: number;
7523
+ } | {
7524
+ type: "amount";
7525
+ amountOffMinor: number;
7526
+ currency: string;
7527
+ };
7528
+ duration: {
7529
+ type: "once";
7530
+ } | {
7531
+ type: "forever";
7532
+ } | {
7533
+ type: "repeating";
7534
+ months: number;
7535
+ };
7536
+ applicationPolicy?: "replace" | "stack_native" | undefined;
7537
+ applicableProductIds?: string[] | undefined;
7538
+ } | null | undefined;
6887
7539
  sourceLineItems?: {
6888
7540
  priceId: string;
6889
7541
  productVersionId: string;
@@ -7030,11 +7682,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
7030
7682
  interval: "week" | "month" | "year";
7031
7683
  intervalCount: number;
7032
7684
  amountMinor: number;
7685
+ amountAfterOfferMinor?: number | undefined;
7033
7686
  }[];
7034
7687
  trial: {
7035
7688
  days: number;
7036
7689
  cardRequired: boolean;
7037
7690
  } | null;
7691
+ discount?: {
7692
+ grantId: string;
7693
+ couponId: string;
7694
+ amountMinor: number;
7695
+ terms: {
7696
+ type: "percent";
7697
+ percentOff: number;
7698
+ } | {
7699
+ type: "amount";
7700
+ amountOffMinor: number;
7701
+ currency: string;
7702
+ };
7703
+ duration: {
7704
+ type: "once";
7705
+ } | {
7706
+ type: "forever";
7707
+ } | {
7708
+ type: "repeating";
7709
+ months: number;
7710
+ };
7711
+ applicationPolicy?: "replace" | "stack_native" | undefined;
7712
+ applicableProductIds?: string[] | undefined;
7713
+ } | null | undefined;
7714
+ discountExpiresAt?: string | null | undefined;
7715
+ initialAmountMinor?: number | undefined;
7038
7716
  } | null;
7039
7717
  subtotalMinor: number;
7040
7718
  discountMinor: number;
@@ -7053,6 +7731,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
7053
7731
  version: string;
7054
7732
  summary: string;
7055
7733
  }[];
7734
+ nativeDiscountMinor?: number | undefined;
7735
+ discount?: {
7736
+ grantId: string;
7737
+ couponId: string;
7738
+ amountMinor: number;
7739
+ terms: {
7740
+ type: "percent";
7741
+ percentOff: number;
7742
+ } | {
7743
+ type: "amount";
7744
+ amountOffMinor: number;
7745
+ currency: string;
7746
+ };
7747
+ duration: {
7748
+ type: "once";
7749
+ } | {
7750
+ type: "forever";
7751
+ } | {
7752
+ type: "repeating";
7753
+ months: number;
7754
+ };
7755
+ applicationPolicy?: "replace" | "stack_native" | undefined;
7756
+ applicableProductIds?: string[] | undefined;
7757
+ } | null | undefined;
7056
7758
  } | undefined;
7057
7759
  } | undefined;
7058
7760
  } | null;
@@ -7632,6 +8334,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
7632
8334
  type: "repeating";
7633
8335
  months: number;
7634
8336
  };
8337
+ applicationPolicy?: "replace" | "stack_native" | undefined;
8338
+ applicableProductIds?: string[] | undefined;
7635
8339
  } | null;
7636
8340
  trialPeriodDays: number | null;
7637
8341
  automaticTax: boolean;
@@ -7643,6 +8347,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
7643
8347
  connectionRevision: number;
7644
8348
  currency: string;
7645
8349
  expiresAt: string;
8350
+ nativeDiscountMinor?: number | undefined;
7646
8351
  } | {
7647
8352
  provider: "stripe";
7648
8353
  executor: "merchant" | "indiana";
@@ -7816,11 +8521,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
7816
8521
  interval: "week" | "month" | "year";
7817
8522
  intervalCount: number;
7818
8523
  amountMinor: number;
8524
+ amountAfterOfferMinor?: number | undefined;
7819
8525
  }[];
7820
8526
  trial: {
7821
8527
  days: number;
7822
8528
  cardRequired: boolean;
7823
8529
  } | null;
8530
+ discount?: {
8531
+ grantId: string;
8532
+ couponId: string;
8533
+ amountMinor: number;
8534
+ terms: {
8535
+ type: "percent";
8536
+ percentOff: number;
8537
+ } | {
8538
+ type: "amount";
8539
+ amountOffMinor: number;
8540
+ currency: string;
8541
+ };
8542
+ duration: {
8543
+ type: "once";
8544
+ } | {
8545
+ type: "forever";
8546
+ } | {
8547
+ type: "repeating";
8548
+ months: number;
8549
+ };
8550
+ applicationPolicy?: "replace" | "stack_native" | undefined;
8551
+ applicableProductIds?: string[] | undefined;
8552
+ } | null | undefined;
8553
+ discountExpiresAt?: string | null | undefined;
8554
+ initialAmountMinor?: number | undefined;
7824
8555
  } | null;
7825
8556
  subtotalMinor: number;
7826
8557
  discountMinor: number;
@@ -7839,6 +8570,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
7839
8570
  version: string;
7840
8571
  summary: string;
7841
8572
  }[];
8573
+ nativeDiscountMinor?: number | undefined;
8574
+ discount?: {
8575
+ grantId: string;
8576
+ couponId: string;
8577
+ amountMinor: number;
8578
+ terms: {
8579
+ type: "percent";
8580
+ percentOff: number;
8581
+ } | {
8582
+ type: "amount";
8583
+ amountOffMinor: number;
8584
+ currency: string;
8585
+ };
8586
+ duration: {
8587
+ type: "once";
8588
+ } | {
8589
+ type: "forever";
8590
+ } | {
8591
+ type: "repeating";
8592
+ months: number;
8593
+ };
8594
+ applicationPolicy?: "replace" | "stack_native" | undefined;
8595
+ applicableProductIds?: string[] | undefined;
8596
+ } | null | undefined;
7842
8597
  } | undefined;
7843
8598
  nativeOffer?: {
7844
8599
  offerKind: "none" | "introductory" | "promotional";
@@ -7846,6 +8601,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
7846
8601
  discountMinor: number;
7847
8602
  trialDays: number | null;
7848
8603
  } | undefined;
8604
+ nativeDiscountMinor?: number | undefined;
7849
8605
  } | null;
7850
8606
  operation: {
7851
8607
  operationId: string;
@@ -7896,6 +8652,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
7896
8652
  type: "repeating";
7897
8653
  months: number;
7898
8654
  };
8655
+ applicationPolicy?: "replace" | "stack_native" | undefined;
8656
+ applicableProductIds?: string[] | undefined;
7899
8657
  } | null;
7900
8658
  trialPeriodDays: number | null;
7901
8659
  automaticTax: boolean;
@@ -7907,6 +8665,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
7907
8665
  connectionRevision: number;
7908
8666
  currency: string;
7909
8667
  expiresAt: string;
8668
+ nativeDiscountMinor?: number | undefined;
7910
8669
  } | {
7911
8670
  provider: "stripe";
7912
8671
  executor: "merchant" | "indiana";
@@ -8154,6 +8913,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
8154
8913
  type: "repeating";
8155
8914
  months: number;
8156
8915
  };
8916
+ applicationPolicy?: "replace" | "stack_native" | undefined;
8917
+ applicableProductIds?: string[] | undefined;
8157
8918
  } | null;
8158
8919
  trialPeriodDays: number | null;
8159
8920
  automaticTax: boolean;
@@ -8165,6 +8926,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
8165
8926
  connectionRevision: number;
8166
8927
  currency: string;
8167
8928
  expiresAt: string;
8929
+ nativeDiscountMinor?: number | undefined;
8168
8930
  } | {
8169
8931
  provider: "stripe";
8170
8932
  executor: "merchant" | "indiana";
@@ -8338,11 +9100,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
8338
9100
  interval: "week" | "month" | "year";
8339
9101
  intervalCount: number;
8340
9102
  amountMinor: number;
9103
+ amountAfterOfferMinor?: number | undefined;
8341
9104
  }[];
8342
9105
  trial: {
8343
9106
  days: number;
8344
9107
  cardRequired: boolean;
8345
9108
  } | null;
9109
+ discount?: {
9110
+ grantId: string;
9111
+ couponId: string;
9112
+ amountMinor: number;
9113
+ terms: {
9114
+ type: "percent";
9115
+ percentOff: number;
9116
+ } | {
9117
+ type: "amount";
9118
+ amountOffMinor: number;
9119
+ currency: string;
9120
+ };
9121
+ duration: {
9122
+ type: "once";
9123
+ } | {
9124
+ type: "forever";
9125
+ } | {
9126
+ type: "repeating";
9127
+ months: number;
9128
+ };
9129
+ applicationPolicy?: "replace" | "stack_native" | undefined;
9130
+ applicableProductIds?: string[] | undefined;
9131
+ } | null | undefined;
9132
+ discountExpiresAt?: string | null | undefined;
9133
+ initialAmountMinor?: number | undefined;
8346
9134
  } | null;
8347
9135
  subtotalMinor: number;
8348
9136
  discountMinor: number;
@@ -8361,6 +9149,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
8361
9149
  version: string;
8362
9150
  summary: string;
8363
9151
  }[];
9152
+ nativeDiscountMinor?: number | undefined;
9153
+ discount?: {
9154
+ grantId: string;
9155
+ couponId: string;
9156
+ amountMinor: number;
9157
+ terms: {
9158
+ type: "percent";
9159
+ percentOff: number;
9160
+ } | {
9161
+ type: "amount";
9162
+ amountOffMinor: number;
9163
+ currency: string;
9164
+ };
9165
+ duration: {
9166
+ type: "once";
9167
+ } | {
9168
+ type: "forever";
9169
+ } | {
9170
+ type: "repeating";
9171
+ months: number;
9172
+ };
9173
+ applicationPolicy?: "replace" | "stack_native" | undefined;
9174
+ applicableProductIds?: string[] | undefined;
9175
+ } | null | undefined;
8364
9176
  } | undefined;
8365
9177
  nativeOffer?: {
8366
9178
  offerKind: "none" | "introductory" | "promotional";
@@ -8368,6 +9180,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
8368
9180
  discountMinor: number;
8369
9181
  trialDays: number | null;
8370
9182
  } | undefined;
9183
+ nativeDiscountMinor?: number | undefined;
8371
9184
  } | undefined;
8372
9185
  merchantExecution?: {
8373
9186
  type: "purchase";
@@ -8492,6 +9305,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
8492
9305
  type: "repeating";
8493
9306
  months: number;
8494
9307
  };
9308
+ applicationPolicy?: "replace" | "stack_native" | undefined;
9309
+ applicableProductIds?: string[] | undefined;
8495
9310
  } | null;
8496
9311
  trialPeriodDays: number | null;
8497
9312
  automaticTax: boolean;
@@ -8503,6 +9318,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
8503
9318
  connectionRevision: number;
8504
9319
  currency: string;
8505
9320
  expiresAt: string;
9321
+ nativeDiscountMinor?: number | undefined;
8506
9322
  } | {
8507
9323
  type: "subscription_change";
8508
9324
  subscriptionId: string;
@@ -8565,6 +9381,29 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
8565
9381
  connectionRevision: number;
8566
9382
  currency: string;
8567
9383
  expiresAt: string;
9384
+ discount?: {
9385
+ grantId: string;
9386
+ couponId: string;
9387
+ amountMinor: number;
9388
+ terms: {
9389
+ type: "percent";
9390
+ percentOff: number;
9391
+ } | {
9392
+ type: "amount";
9393
+ amountOffMinor: number;
9394
+ currency: string;
9395
+ };
9396
+ duration: {
9397
+ type: "once";
9398
+ } | {
9399
+ type: "forever";
9400
+ } | {
9401
+ type: "repeating";
9402
+ months: number;
9403
+ };
9404
+ applicationPolicy?: "replace" | "stack_native" | undefined;
9405
+ applicableProductIds?: string[] | undefined;
9406
+ } | null | undefined;
8568
9407
  sourceLineItems?: {
8569
9408
  priceId: string;
8570
9409
  productVersionId: string;
@@ -8711,11 +9550,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
8711
9550
  interval: "week" | "month" | "year";
8712
9551
  intervalCount: number;
8713
9552
  amountMinor: number;
9553
+ amountAfterOfferMinor?: number | undefined;
8714
9554
  }[];
8715
9555
  trial: {
8716
9556
  days: number;
8717
9557
  cardRequired: boolean;
8718
9558
  } | null;
9559
+ discount?: {
9560
+ grantId: string;
9561
+ couponId: string;
9562
+ amountMinor: number;
9563
+ terms: {
9564
+ type: "percent";
9565
+ percentOff: number;
9566
+ } | {
9567
+ type: "amount";
9568
+ amountOffMinor: number;
9569
+ currency: string;
9570
+ };
9571
+ duration: {
9572
+ type: "once";
9573
+ } | {
9574
+ type: "forever";
9575
+ } | {
9576
+ type: "repeating";
9577
+ months: number;
9578
+ };
9579
+ applicationPolicy?: "replace" | "stack_native" | undefined;
9580
+ applicableProductIds?: string[] | undefined;
9581
+ } | null | undefined;
9582
+ discountExpiresAt?: string | null | undefined;
9583
+ initialAmountMinor?: number | undefined;
8719
9584
  } | null;
8720
9585
  subtotalMinor: number;
8721
9586
  discountMinor: number;
@@ -8734,6 +9599,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
8734
9599
  version: string;
8735
9600
  summary: string;
8736
9601
  }[];
9602
+ nativeDiscountMinor?: number | undefined;
9603
+ discount?: {
9604
+ grantId: string;
9605
+ couponId: string;
9606
+ amountMinor: number;
9607
+ terms: {
9608
+ type: "percent";
9609
+ percentOff: number;
9610
+ } | {
9611
+ type: "amount";
9612
+ amountOffMinor: number;
9613
+ currency: string;
9614
+ };
9615
+ duration: {
9616
+ type: "once";
9617
+ } | {
9618
+ type: "forever";
9619
+ } | {
9620
+ type: "repeating";
9621
+ months: number;
9622
+ };
9623
+ applicationPolicy?: "replace" | "stack_native" | undefined;
9624
+ applicableProductIds?: string[] | undefined;
9625
+ } | null | undefined;
8737
9626
  } | undefined;
8738
9627
  } | undefined;
8739
9628
  } | null;
@@ -9605,6 +10494,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
9605
10494
  type: "repeating";
9606
10495
  months: number;
9607
10496
  };
10497
+ applicationPolicy?: "replace" | "stack_native" | undefined;
10498
+ applicableProductIds?: string[] | undefined;
9608
10499
  } | null;
9609
10500
  trialPeriodDays: number | null;
9610
10501
  automaticTax: boolean;
@@ -9616,6 +10507,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
9616
10507
  connectionRevision: number;
9617
10508
  currency: string;
9618
10509
  expiresAt: string;
10510
+ nativeDiscountMinor?: number | undefined;
9619
10511
  } | {
9620
10512
  provider: "stripe";
9621
10513
  executor: "merchant" | "indiana";
@@ -9789,11 +10681,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
9789
10681
  interval: "week" | "month" | "year";
9790
10682
  intervalCount: number;
9791
10683
  amountMinor: number;
10684
+ amountAfterOfferMinor?: number | undefined;
9792
10685
  }[];
9793
10686
  trial: {
9794
10687
  days: number;
9795
10688
  cardRequired: boolean;
9796
10689
  } | null;
10690
+ discount?: {
10691
+ grantId: string;
10692
+ couponId: string;
10693
+ amountMinor: number;
10694
+ terms: {
10695
+ type: "percent";
10696
+ percentOff: number;
10697
+ } | {
10698
+ type: "amount";
10699
+ amountOffMinor: number;
10700
+ currency: string;
10701
+ };
10702
+ duration: {
10703
+ type: "once";
10704
+ } | {
10705
+ type: "forever";
10706
+ } | {
10707
+ type: "repeating";
10708
+ months: number;
10709
+ };
10710
+ applicationPolicy?: "replace" | "stack_native" | undefined;
10711
+ applicableProductIds?: string[] | undefined;
10712
+ } | null | undefined;
10713
+ discountExpiresAt?: string | null | undefined;
10714
+ initialAmountMinor?: number | undefined;
9797
10715
  } | null;
9798
10716
  subtotalMinor: number;
9799
10717
  discountMinor: number;
@@ -9812,6 +10730,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
9812
10730
  version: string;
9813
10731
  summary: string;
9814
10732
  }[];
10733
+ nativeDiscountMinor?: number | undefined;
10734
+ discount?: {
10735
+ grantId: string;
10736
+ couponId: string;
10737
+ amountMinor: number;
10738
+ terms: {
10739
+ type: "percent";
10740
+ percentOff: number;
10741
+ } | {
10742
+ type: "amount";
10743
+ amountOffMinor: number;
10744
+ currency: string;
10745
+ };
10746
+ duration: {
10747
+ type: "once";
10748
+ } | {
10749
+ type: "forever";
10750
+ } | {
10751
+ type: "repeating";
10752
+ months: number;
10753
+ };
10754
+ applicationPolicy?: "replace" | "stack_native" | undefined;
10755
+ applicableProductIds?: string[] | undefined;
10756
+ } | null | undefined;
9815
10757
  } | undefined;
9816
10758
  nativeOffer?: {
9817
10759
  offerKind: "none" | "introductory" | "promotional";
@@ -9819,6 +10761,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
9819
10761
  discountMinor: number;
9820
10762
  trialDays: number | null;
9821
10763
  } | undefined;
10764
+ nativeDiscountMinor?: number | undefined;
9822
10765
  } | null;
9823
10766
  operation: {
9824
10767
  operationId: string;
@@ -9869,6 +10812,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
9869
10812
  type: "repeating";
9870
10813
  months: number;
9871
10814
  };
10815
+ applicationPolicy?: "replace" | "stack_native" | undefined;
10816
+ applicableProductIds?: string[] | undefined;
9872
10817
  } | null;
9873
10818
  trialPeriodDays: number | null;
9874
10819
  automaticTax: boolean;
@@ -9880,6 +10825,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
9880
10825
  connectionRevision: number;
9881
10826
  currency: string;
9882
10827
  expiresAt: string;
10828
+ nativeDiscountMinor?: number | undefined;
9883
10829
  } | {
9884
10830
  provider: "stripe";
9885
10831
  executor: "merchant" | "indiana";
@@ -10127,6 +11073,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
10127
11073
  type: "repeating";
10128
11074
  months: number;
10129
11075
  };
11076
+ applicationPolicy?: "replace" | "stack_native" | undefined;
11077
+ applicableProductIds?: string[] | undefined;
10130
11078
  } | null;
10131
11079
  trialPeriodDays: number | null;
10132
11080
  automaticTax: boolean;
@@ -10138,6 +11086,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
10138
11086
  connectionRevision: number;
10139
11087
  currency: string;
10140
11088
  expiresAt: string;
11089
+ nativeDiscountMinor?: number | undefined;
10141
11090
  } | {
10142
11091
  provider: "stripe";
10143
11092
  executor: "merchant" | "indiana";
@@ -10311,11 +11260,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
10311
11260
  interval: "week" | "month" | "year";
10312
11261
  intervalCount: number;
10313
11262
  amountMinor: number;
11263
+ amountAfterOfferMinor?: number | undefined;
10314
11264
  }[];
10315
11265
  trial: {
10316
11266
  days: number;
10317
11267
  cardRequired: boolean;
10318
11268
  } | null;
11269
+ discount?: {
11270
+ grantId: string;
11271
+ couponId: string;
11272
+ amountMinor: number;
11273
+ terms: {
11274
+ type: "percent";
11275
+ percentOff: number;
11276
+ } | {
11277
+ type: "amount";
11278
+ amountOffMinor: number;
11279
+ currency: string;
11280
+ };
11281
+ duration: {
11282
+ type: "once";
11283
+ } | {
11284
+ type: "forever";
11285
+ } | {
11286
+ type: "repeating";
11287
+ months: number;
11288
+ };
11289
+ applicationPolicy?: "replace" | "stack_native" | undefined;
11290
+ applicableProductIds?: string[] | undefined;
11291
+ } | null | undefined;
11292
+ discountExpiresAt?: string | null | undefined;
11293
+ initialAmountMinor?: number | undefined;
10319
11294
  } | null;
10320
11295
  subtotalMinor: number;
10321
11296
  discountMinor: number;
@@ -10334,6 +11309,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
10334
11309
  version: string;
10335
11310
  summary: string;
10336
11311
  }[];
11312
+ nativeDiscountMinor?: number | undefined;
11313
+ discount?: {
11314
+ grantId: string;
11315
+ couponId: string;
11316
+ amountMinor: number;
11317
+ terms: {
11318
+ type: "percent";
11319
+ percentOff: number;
11320
+ } | {
11321
+ type: "amount";
11322
+ amountOffMinor: number;
11323
+ currency: string;
11324
+ };
11325
+ duration: {
11326
+ type: "once";
11327
+ } | {
11328
+ type: "forever";
11329
+ } | {
11330
+ type: "repeating";
11331
+ months: number;
11332
+ };
11333
+ applicationPolicy?: "replace" | "stack_native" | undefined;
11334
+ applicableProductIds?: string[] | undefined;
11335
+ } | null | undefined;
10337
11336
  } | undefined;
10338
11337
  nativeOffer?: {
10339
11338
  offerKind: "none" | "introductory" | "promotional";
@@ -10341,6 +11340,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
10341
11340
  discountMinor: number;
10342
11341
  trialDays: number | null;
10343
11342
  } | undefined;
11343
+ nativeDiscountMinor?: number | undefined;
10344
11344
  } | undefined;
10345
11345
  merchantExecution?: {
10346
11346
  type: "purchase";
@@ -10465,6 +11465,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
10465
11465
  type: "repeating";
10466
11466
  months: number;
10467
11467
  };
11468
+ applicationPolicy?: "replace" | "stack_native" | undefined;
11469
+ applicableProductIds?: string[] | undefined;
10468
11470
  } | null;
10469
11471
  trialPeriodDays: number | null;
10470
11472
  automaticTax: boolean;
@@ -10476,6 +11478,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
10476
11478
  connectionRevision: number;
10477
11479
  currency: string;
10478
11480
  expiresAt: string;
11481
+ nativeDiscountMinor?: number | undefined;
10479
11482
  } | {
10480
11483
  type: "subscription_change";
10481
11484
  subscriptionId: string;
@@ -10538,6 +11541,29 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
10538
11541
  connectionRevision: number;
10539
11542
  currency: string;
10540
11543
  expiresAt: string;
11544
+ discount?: {
11545
+ grantId: string;
11546
+ couponId: string;
11547
+ amountMinor: number;
11548
+ terms: {
11549
+ type: "percent";
11550
+ percentOff: number;
11551
+ } | {
11552
+ type: "amount";
11553
+ amountOffMinor: number;
11554
+ currency: string;
11555
+ };
11556
+ duration: {
11557
+ type: "once";
11558
+ } | {
11559
+ type: "forever";
11560
+ } | {
11561
+ type: "repeating";
11562
+ months: number;
11563
+ };
11564
+ applicationPolicy?: "replace" | "stack_native" | undefined;
11565
+ applicableProductIds?: string[] | undefined;
11566
+ } | null | undefined;
10541
11567
  sourceLineItems?: {
10542
11568
  priceId: string;
10543
11569
  productVersionId: string;
@@ -10684,11 +11710,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
10684
11710
  interval: "week" | "month" | "year";
10685
11711
  intervalCount: number;
10686
11712
  amountMinor: number;
11713
+ amountAfterOfferMinor?: number | undefined;
10687
11714
  }[];
10688
11715
  trial: {
10689
11716
  days: number;
10690
11717
  cardRequired: boolean;
10691
11718
  } | null;
11719
+ discount?: {
11720
+ grantId: string;
11721
+ couponId: string;
11722
+ amountMinor: number;
11723
+ terms: {
11724
+ type: "percent";
11725
+ percentOff: number;
11726
+ } | {
11727
+ type: "amount";
11728
+ amountOffMinor: number;
11729
+ currency: string;
11730
+ };
11731
+ duration: {
11732
+ type: "once";
11733
+ } | {
11734
+ type: "forever";
11735
+ } | {
11736
+ type: "repeating";
11737
+ months: number;
11738
+ };
11739
+ applicationPolicy?: "replace" | "stack_native" | undefined;
11740
+ applicableProductIds?: string[] | undefined;
11741
+ } | null | undefined;
11742
+ discountExpiresAt?: string | null | undefined;
11743
+ initialAmountMinor?: number | undefined;
10692
11744
  } | null;
10693
11745
  subtotalMinor: number;
10694
11746
  discountMinor: number;
@@ -10707,6 +11759,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
10707
11759
  version: string;
10708
11760
  summary: string;
10709
11761
  }[];
11762
+ nativeDiscountMinor?: number | undefined;
11763
+ discount?: {
11764
+ grantId: string;
11765
+ couponId: string;
11766
+ amountMinor: number;
11767
+ terms: {
11768
+ type: "percent";
11769
+ percentOff: number;
11770
+ } | {
11771
+ type: "amount";
11772
+ amountOffMinor: number;
11773
+ currency: string;
11774
+ };
11775
+ duration: {
11776
+ type: "once";
11777
+ } | {
11778
+ type: "forever";
11779
+ } | {
11780
+ type: "repeating";
11781
+ months: number;
11782
+ };
11783
+ applicationPolicy?: "replace" | "stack_native" | undefined;
11784
+ applicableProductIds?: string[] | undefined;
11785
+ } | null | undefined;
10710
11786
  } | undefined;
10711
11787
  } | undefined;
10712
11788
  } | null;
@@ -11286,6 +12362,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
11286
12362
  type: "repeating";
11287
12363
  months: number;
11288
12364
  };
12365
+ applicationPolicy?: "replace" | "stack_native" | undefined;
12366
+ applicableProductIds?: string[] | undefined;
11289
12367
  } | null;
11290
12368
  trialPeriodDays: number | null;
11291
12369
  automaticTax: boolean;
@@ -11297,6 +12375,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
11297
12375
  connectionRevision: number;
11298
12376
  currency: string;
11299
12377
  expiresAt: string;
12378
+ nativeDiscountMinor?: number | undefined;
11300
12379
  } | {
11301
12380
  provider: "stripe";
11302
12381
  executor: "merchant" | "indiana";
@@ -11470,11 +12549,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
11470
12549
  interval: "week" | "month" | "year";
11471
12550
  intervalCount: number;
11472
12551
  amountMinor: number;
12552
+ amountAfterOfferMinor?: number | undefined;
11473
12553
  }[];
11474
12554
  trial: {
11475
12555
  days: number;
11476
12556
  cardRequired: boolean;
11477
12557
  } | null;
12558
+ discount?: {
12559
+ grantId: string;
12560
+ couponId: string;
12561
+ amountMinor: number;
12562
+ terms: {
12563
+ type: "percent";
12564
+ percentOff: number;
12565
+ } | {
12566
+ type: "amount";
12567
+ amountOffMinor: number;
12568
+ currency: string;
12569
+ };
12570
+ duration: {
12571
+ type: "once";
12572
+ } | {
12573
+ type: "forever";
12574
+ } | {
12575
+ type: "repeating";
12576
+ months: number;
12577
+ };
12578
+ applicationPolicy?: "replace" | "stack_native" | undefined;
12579
+ applicableProductIds?: string[] | undefined;
12580
+ } | null | undefined;
12581
+ discountExpiresAt?: string | null | undefined;
12582
+ initialAmountMinor?: number | undefined;
11478
12583
  } | null;
11479
12584
  subtotalMinor: number;
11480
12585
  discountMinor: number;
@@ -11493,6 +12598,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
11493
12598
  version: string;
11494
12599
  summary: string;
11495
12600
  }[];
12601
+ nativeDiscountMinor?: number | undefined;
12602
+ discount?: {
12603
+ grantId: string;
12604
+ couponId: string;
12605
+ amountMinor: number;
12606
+ terms: {
12607
+ type: "percent";
12608
+ percentOff: number;
12609
+ } | {
12610
+ type: "amount";
12611
+ amountOffMinor: number;
12612
+ currency: string;
12613
+ };
12614
+ duration: {
12615
+ type: "once";
12616
+ } | {
12617
+ type: "forever";
12618
+ } | {
12619
+ type: "repeating";
12620
+ months: number;
12621
+ };
12622
+ applicationPolicy?: "replace" | "stack_native" | undefined;
12623
+ applicableProductIds?: string[] | undefined;
12624
+ } | null | undefined;
11496
12625
  } | undefined;
11497
12626
  nativeOffer?: {
11498
12627
  offerKind: "none" | "introductory" | "promotional";
@@ -11500,6 +12629,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
11500
12629
  discountMinor: number;
11501
12630
  trialDays: number | null;
11502
12631
  } | undefined;
12632
+ nativeDiscountMinor?: number | undefined;
11503
12633
  } | null;
11504
12634
  operation: {
11505
12635
  operationId: string;
@@ -11550,6 +12680,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
11550
12680
  type: "repeating";
11551
12681
  months: number;
11552
12682
  };
12683
+ applicationPolicy?: "replace" | "stack_native" | undefined;
12684
+ applicableProductIds?: string[] | undefined;
11553
12685
  } | null;
11554
12686
  trialPeriodDays: number | null;
11555
12687
  automaticTax: boolean;
@@ -11561,6 +12693,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
11561
12693
  connectionRevision: number;
11562
12694
  currency: string;
11563
12695
  expiresAt: string;
12696
+ nativeDiscountMinor?: number | undefined;
11564
12697
  } | {
11565
12698
  provider: "stripe";
11566
12699
  executor: "merchant" | "indiana";
@@ -11808,6 +12941,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
11808
12941
  type: "repeating";
11809
12942
  months: number;
11810
12943
  };
12944
+ applicationPolicy?: "replace" | "stack_native" | undefined;
12945
+ applicableProductIds?: string[] | undefined;
11811
12946
  } | null;
11812
12947
  trialPeriodDays: number | null;
11813
12948
  automaticTax: boolean;
@@ -11819,6 +12954,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
11819
12954
  connectionRevision: number;
11820
12955
  currency: string;
11821
12956
  expiresAt: string;
12957
+ nativeDiscountMinor?: number | undefined;
11822
12958
  } | {
11823
12959
  provider: "stripe";
11824
12960
  executor: "merchant" | "indiana";
@@ -11992,11 +13128,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
11992
13128
  interval: "week" | "month" | "year";
11993
13129
  intervalCount: number;
11994
13130
  amountMinor: number;
13131
+ amountAfterOfferMinor?: number | undefined;
11995
13132
  }[];
11996
13133
  trial: {
11997
13134
  days: number;
11998
13135
  cardRequired: boolean;
11999
13136
  } | null;
13137
+ discount?: {
13138
+ grantId: string;
13139
+ couponId: string;
13140
+ amountMinor: number;
13141
+ terms: {
13142
+ type: "percent";
13143
+ percentOff: number;
13144
+ } | {
13145
+ type: "amount";
13146
+ amountOffMinor: number;
13147
+ currency: string;
13148
+ };
13149
+ duration: {
13150
+ type: "once";
13151
+ } | {
13152
+ type: "forever";
13153
+ } | {
13154
+ type: "repeating";
13155
+ months: number;
13156
+ };
13157
+ applicationPolicy?: "replace" | "stack_native" | undefined;
13158
+ applicableProductIds?: string[] | undefined;
13159
+ } | null | undefined;
13160
+ discountExpiresAt?: string | null | undefined;
13161
+ initialAmountMinor?: number | undefined;
12000
13162
  } | null;
12001
13163
  subtotalMinor: number;
12002
13164
  discountMinor: number;
@@ -12015,6 +13177,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
12015
13177
  version: string;
12016
13178
  summary: string;
12017
13179
  }[];
13180
+ nativeDiscountMinor?: number | undefined;
13181
+ discount?: {
13182
+ grantId: string;
13183
+ couponId: string;
13184
+ amountMinor: number;
13185
+ terms: {
13186
+ type: "percent";
13187
+ percentOff: number;
13188
+ } | {
13189
+ type: "amount";
13190
+ amountOffMinor: number;
13191
+ currency: string;
13192
+ };
13193
+ duration: {
13194
+ type: "once";
13195
+ } | {
13196
+ type: "forever";
13197
+ } | {
13198
+ type: "repeating";
13199
+ months: number;
13200
+ };
13201
+ applicationPolicy?: "replace" | "stack_native" | undefined;
13202
+ applicableProductIds?: string[] | undefined;
13203
+ } | null | undefined;
12018
13204
  } | undefined;
12019
13205
  nativeOffer?: {
12020
13206
  offerKind: "none" | "introductory" | "promotional";
@@ -12022,6 +13208,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
12022
13208
  discountMinor: number;
12023
13209
  trialDays: number | null;
12024
13210
  } | undefined;
13211
+ nativeDiscountMinor?: number | undefined;
12025
13212
  } | undefined;
12026
13213
  merchantExecution?: {
12027
13214
  type: "purchase";
@@ -12146,6 +13333,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
12146
13333
  type: "repeating";
12147
13334
  months: number;
12148
13335
  };
13336
+ applicationPolicy?: "replace" | "stack_native" | undefined;
13337
+ applicableProductIds?: string[] | undefined;
12149
13338
  } | null;
12150
13339
  trialPeriodDays: number | null;
12151
13340
  automaticTax: boolean;
@@ -12157,6 +13346,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
12157
13346
  connectionRevision: number;
12158
13347
  currency: string;
12159
13348
  expiresAt: string;
13349
+ nativeDiscountMinor?: number | undefined;
12160
13350
  } | {
12161
13351
  type: "subscription_change";
12162
13352
  subscriptionId: string;
@@ -12219,6 +13409,29 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
12219
13409
  connectionRevision: number;
12220
13410
  currency: string;
12221
13411
  expiresAt: string;
13412
+ discount?: {
13413
+ grantId: string;
13414
+ couponId: string;
13415
+ amountMinor: number;
13416
+ terms: {
13417
+ type: "percent";
13418
+ percentOff: number;
13419
+ } | {
13420
+ type: "amount";
13421
+ amountOffMinor: number;
13422
+ currency: string;
13423
+ };
13424
+ duration: {
13425
+ type: "once";
13426
+ } | {
13427
+ type: "forever";
13428
+ } | {
13429
+ type: "repeating";
13430
+ months: number;
13431
+ };
13432
+ applicationPolicy?: "replace" | "stack_native" | undefined;
13433
+ applicableProductIds?: string[] | undefined;
13434
+ } | null | undefined;
12222
13435
  sourceLineItems?: {
12223
13436
  priceId: string;
12224
13437
  productVersionId: string;
@@ -12365,11 +13578,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
12365
13578
  interval: "week" | "month" | "year";
12366
13579
  intervalCount: number;
12367
13580
  amountMinor: number;
13581
+ amountAfterOfferMinor?: number | undefined;
12368
13582
  }[];
12369
13583
  trial: {
12370
13584
  days: number;
12371
13585
  cardRequired: boolean;
12372
13586
  } | null;
13587
+ discount?: {
13588
+ grantId: string;
13589
+ couponId: string;
13590
+ amountMinor: number;
13591
+ terms: {
13592
+ type: "percent";
13593
+ percentOff: number;
13594
+ } | {
13595
+ type: "amount";
13596
+ amountOffMinor: number;
13597
+ currency: string;
13598
+ };
13599
+ duration: {
13600
+ type: "once";
13601
+ } | {
13602
+ type: "forever";
13603
+ } | {
13604
+ type: "repeating";
13605
+ months: number;
13606
+ };
13607
+ applicationPolicy?: "replace" | "stack_native" | undefined;
13608
+ applicableProductIds?: string[] | undefined;
13609
+ } | null | undefined;
13610
+ discountExpiresAt?: string | null | undefined;
13611
+ initialAmountMinor?: number | undefined;
12373
13612
  } | null;
12374
13613
  subtotalMinor: number;
12375
13614
  discountMinor: number;
@@ -12388,6 +13627,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
12388
13627
  version: string;
12389
13628
  summary: string;
12390
13629
  }[];
13630
+ nativeDiscountMinor?: number | undefined;
13631
+ discount?: {
13632
+ grantId: string;
13633
+ couponId: string;
13634
+ amountMinor: number;
13635
+ terms: {
13636
+ type: "percent";
13637
+ percentOff: number;
13638
+ } | {
13639
+ type: "amount";
13640
+ amountOffMinor: number;
13641
+ currency: string;
13642
+ };
13643
+ duration: {
13644
+ type: "once";
13645
+ } | {
13646
+ type: "forever";
13647
+ } | {
13648
+ type: "repeating";
13649
+ months: number;
13650
+ };
13651
+ applicationPolicy?: "replace" | "stack_native" | undefined;
13652
+ applicableProductIds?: string[] | undefined;
13653
+ } | null | undefined;
12391
13654
  } | undefined;
12392
13655
  } | undefined;
12393
13656
  } | null;
@@ -13259,6 +14522,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
13259
14522
  type: "repeating";
13260
14523
  months: number;
13261
14524
  };
14525
+ applicationPolicy?: "replace" | "stack_native" | undefined;
14526
+ applicableProductIds?: string[] | undefined;
13262
14527
  } | null;
13263
14528
  trialPeriodDays: number | null;
13264
14529
  automaticTax: boolean;
@@ -13270,6 +14535,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
13270
14535
  connectionRevision: number;
13271
14536
  currency: string;
13272
14537
  expiresAt: string;
14538
+ nativeDiscountMinor?: number | undefined;
13273
14539
  } | {
13274
14540
  provider: "stripe";
13275
14541
  executor: "merchant" | "indiana";
@@ -13443,11 +14709,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
13443
14709
  interval: "week" | "month" | "year";
13444
14710
  intervalCount: number;
13445
14711
  amountMinor: number;
14712
+ amountAfterOfferMinor?: number | undefined;
13446
14713
  }[];
13447
14714
  trial: {
13448
14715
  days: number;
13449
14716
  cardRequired: boolean;
13450
14717
  } | null;
14718
+ discount?: {
14719
+ grantId: string;
14720
+ couponId: string;
14721
+ amountMinor: number;
14722
+ terms: {
14723
+ type: "percent";
14724
+ percentOff: number;
14725
+ } | {
14726
+ type: "amount";
14727
+ amountOffMinor: number;
14728
+ currency: string;
14729
+ };
14730
+ duration: {
14731
+ type: "once";
14732
+ } | {
14733
+ type: "forever";
14734
+ } | {
14735
+ type: "repeating";
14736
+ months: number;
14737
+ };
14738
+ applicationPolicy?: "replace" | "stack_native" | undefined;
14739
+ applicableProductIds?: string[] | undefined;
14740
+ } | null | undefined;
14741
+ discountExpiresAt?: string | null | undefined;
14742
+ initialAmountMinor?: number | undefined;
13451
14743
  } | null;
13452
14744
  subtotalMinor: number;
13453
14745
  discountMinor: number;
@@ -13466,6 +14758,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
13466
14758
  version: string;
13467
14759
  summary: string;
13468
14760
  }[];
14761
+ nativeDiscountMinor?: number | undefined;
14762
+ discount?: {
14763
+ grantId: string;
14764
+ couponId: string;
14765
+ amountMinor: number;
14766
+ terms: {
14767
+ type: "percent";
14768
+ percentOff: number;
14769
+ } | {
14770
+ type: "amount";
14771
+ amountOffMinor: number;
14772
+ currency: string;
14773
+ };
14774
+ duration: {
14775
+ type: "once";
14776
+ } | {
14777
+ type: "forever";
14778
+ } | {
14779
+ type: "repeating";
14780
+ months: number;
14781
+ };
14782
+ applicationPolicy?: "replace" | "stack_native" | undefined;
14783
+ applicableProductIds?: string[] | undefined;
14784
+ } | null | undefined;
13469
14785
  } | undefined;
13470
14786
  nativeOffer?: {
13471
14787
  offerKind: "none" | "introductory" | "promotional";
@@ -13473,6 +14789,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
13473
14789
  discountMinor: number;
13474
14790
  trialDays: number | null;
13475
14791
  } | undefined;
14792
+ nativeDiscountMinor?: number | undefined;
13476
14793
  } | null;
13477
14794
  operation: {
13478
14795
  operationId: string;
@@ -13523,6 +14840,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
13523
14840
  type: "repeating";
13524
14841
  months: number;
13525
14842
  };
14843
+ applicationPolicy?: "replace" | "stack_native" | undefined;
14844
+ applicableProductIds?: string[] | undefined;
13526
14845
  } | null;
13527
14846
  trialPeriodDays: number | null;
13528
14847
  automaticTax: boolean;
@@ -13534,6 +14853,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
13534
14853
  connectionRevision: number;
13535
14854
  currency: string;
13536
14855
  expiresAt: string;
14856
+ nativeDiscountMinor?: number | undefined;
13537
14857
  } | {
13538
14858
  provider: "stripe";
13539
14859
  executor: "merchant" | "indiana";
@@ -13781,6 +15101,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
13781
15101
  type: "repeating";
13782
15102
  months: number;
13783
15103
  };
15104
+ applicationPolicy?: "replace" | "stack_native" | undefined;
15105
+ applicableProductIds?: string[] | undefined;
13784
15106
  } | null;
13785
15107
  trialPeriodDays: number | null;
13786
15108
  automaticTax: boolean;
@@ -13792,6 +15114,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
13792
15114
  connectionRevision: number;
13793
15115
  currency: string;
13794
15116
  expiresAt: string;
15117
+ nativeDiscountMinor?: number | undefined;
13795
15118
  } | {
13796
15119
  provider: "stripe";
13797
15120
  executor: "merchant" | "indiana";
@@ -13965,11 +15288,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
13965
15288
  interval: "week" | "month" | "year";
13966
15289
  intervalCount: number;
13967
15290
  amountMinor: number;
15291
+ amountAfterOfferMinor?: number | undefined;
13968
15292
  }[];
13969
15293
  trial: {
13970
15294
  days: number;
13971
15295
  cardRequired: boolean;
13972
15296
  } | null;
15297
+ discount?: {
15298
+ grantId: string;
15299
+ couponId: string;
15300
+ amountMinor: number;
15301
+ terms: {
15302
+ type: "percent";
15303
+ percentOff: number;
15304
+ } | {
15305
+ type: "amount";
15306
+ amountOffMinor: number;
15307
+ currency: string;
15308
+ };
15309
+ duration: {
15310
+ type: "once";
15311
+ } | {
15312
+ type: "forever";
15313
+ } | {
15314
+ type: "repeating";
15315
+ months: number;
15316
+ };
15317
+ applicationPolicy?: "replace" | "stack_native" | undefined;
15318
+ applicableProductIds?: string[] | undefined;
15319
+ } | null | undefined;
15320
+ discountExpiresAt?: string | null | undefined;
15321
+ initialAmountMinor?: number | undefined;
13973
15322
  } | null;
13974
15323
  subtotalMinor: number;
13975
15324
  discountMinor: number;
@@ -13988,6 +15337,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
13988
15337
  version: string;
13989
15338
  summary: string;
13990
15339
  }[];
15340
+ nativeDiscountMinor?: number | undefined;
15341
+ discount?: {
15342
+ grantId: string;
15343
+ couponId: string;
15344
+ amountMinor: number;
15345
+ terms: {
15346
+ type: "percent";
15347
+ percentOff: number;
15348
+ } | {
15349
+ type: "amount";
15350
+ amountOffMinor: number;
15351
+ currency: string;
15352
+ };
15353
+ duration: {
15354
+ type: "once";
15355
+ } | {
15356
+ type: "forever";
15357
+ } | {
15358
+ type: "repeating";
15359
+ months: number;
15360
+ };
15361
+ applicationPolicy?: "replace" | "stack_native" | undefined;
15362
+ applicableProductIds?: string[] | undefined;
15363
+ } | null | undefined;
13991
15364
  } | undefined;
13992
15365
  nativeOffer?: {
13993
15366
  offerKind: "none" | "introductory" | "promotional";
@@ -13995,6 +15368,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
13995
15368
  discountMinor: number;
13996
15369
  trialDays: number | null;
13997
15370
  } | undefined;
15371
+ nativeDiscountMinor?: number | undefined;
13998
15372
  } | undefined;
13999
15373
  merchantExecution?: {
14000
15374
  type: "purchase";
@@ -14119,6 +15493,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
14119
15493
  type: "repeating";
14120
15494
  months: number;
14121
15495
  };
15496
+ applicationPolicy?: "replace" | "stack_native" | undefined;
15497
+ applicableProductIds?: string[] | undefined;
14122
15498
  } | null;
14123
15499
  trialPeriodDays: number | null;
14124
15500
  automaticTax: boolean;
@@ -14130,6 +15506,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
14130
15506
  connectionRevision: number;
14131
15507
  currency: string;
14132
15508
  expiresAt: string;
15509
+ nativeDiscountMinor?: number | undefined;
14133
15510
  } | {
14134
15511
  type: "subscription_change";
14135
15512
  subscriptionId: string;
@@ -14192,6 +15569,29 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
14192
15569
  connectionRevision: number;
14193
15570
  currency: string;
14194
15571
  expiresAt: string;
15572
+ discount?: {
15573
+ grantId: string;
15574
+ couponId: string;
15575
+ amountMinor: number;
15576
+ terms: {
15577
+ type: "percent";
15578
+ percentOff: number;
15579
+ } | {
15580
+ type: "amount";
15581
+ amountOffMinor: number;
15582
+ currency: string;
15583
+ };
15584
+ duration: {
15585
+ type: "once";
15586
+ } | {
15587
+ type: "forever";
15588
+ } | {
15589
+ type: "repeating";
15590
+ months: number;
15591
+ };
15592
+ applicationPolicy?: "replace" | "stack_native" | undefined;
15593
+ applicableProductIds?: string[] | undefined;
15594
+ } | null | undefined;
14195
15595
  sourceLineItems?: {
14196
15596
  priceId: string;
14197
15597
  productVersionId: string;
@@ -14338,11 +15738,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
14338
15738
  interval: "week" | "month" | "year";
14339
15739
  intervalCount: number;
14340
15740
  amountMinor: number;
15741
+ amountAfterOfferMinor?: number | undefined;
14341
15742
  }[];
14342
15743
  trial: {
14343
15744
  days: number;
14344
15745
  cardRequired: boolean;
14345
15746
  } | null;
15747
+ discount?: {
15748
+ grantId: string;
15749
+ couponId: string;
15750
+ amountMinor: number;
15751
+ terms: {
15752
+ type: "percent";
15753
+ percentOff: number;
15754
+ } | {
15755
+ type: "amount";
15756
+ amountOffMinor: number;
15757
+ currency: string;
15758
+ };
15759
+ duration: {
15760
+ type: "once";
15761
+ } | {
15762
+ type: "forever";
15763
+ } | {
15764
+ type: "repeating";
15765
+ months: number;
15766
+ };
15767
+ applicationPolicy?: "replace" | "stack_native" | undefined;
15768
+ applicableProductIds?: string[] | undefined;
15769
+ } | null | undefined;
15770
+ discountExpiresAt?: string | null | undefined;
15771
+ initialAmountMinor?: number | undefined;
14346
15772
  } | null;
14347
15773
  subtotalMinor: number;
14348
15774
  discountMinor: number;
@@ -14361,6 +15787,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
14361
15787
  version: string;
14362
15788
  summary: string;
14363
15789
  }[];
15790
+ nativeDiscountMinor?: number | undefined;
15791
+ discount?: {
15792
+ grantId: string;
15793
+ couponId: string;
15794
+ amountMinor: number;
15795
+ terms: {
15796
+ type: "percent";
15797
+ percentOff: number;
15798
+ } | {
15799
+ type: "amount";
15800
+ amountOffMinor: number;
15801
+ currency: string;
15802
+ };
15803
+ duration: {
15804
+ type: "once";
15805
+ } | {
15806
+ type: "forever";
15807
+ } | {
15808
+ type: "repeating";
15809
+ months: number;
15810
+ };
15811
+ applicationPolicy?: "replace" | "stack_native" | undefined;
15812
+ applicableProductIds?: string[] | undefined;
15813
+ } | null | undefined;
14364
15814
  } | undefined;
14365
15815
  } | undefined;
14366
15816
  } | null;
@@ -14940,6 +16390,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
14940
16390
  type: "repeating";
14941
16391
  months: number;
14942
16392
  };
16393
+ applicationPolicy?: "replace" | "stack_native" | undefined;
16394
+ applicableProductIds?: string[] | undefined;
14943
16395
  } | null;
14944
16396
  trialPeriodDays: number | null;
14945
16397
  automaticTax: boolean;
@@ -14951,6 +16403,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
14951
16403
  connectionRevision: number;
14952
16404
  currency: string;
14953
16405
  expiresAt: string;
16406
+ nativeDiscountMinor?: number | undefined;
14954
16407
  } | {
14955
16408
  provider: "stripe";
14956
16409
  executor: "merchant" | "indiana";
@@ -15124,11 +16577,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
15124
16577
  interval: "week" | "month" | "year";
15125
16578
  intervalCount: number;
15126
16579
  amountMinor: number;
16580
+ amountAfterOfferMinor?: number | undefined;
15127
16581
  }[];
15128
16582
  trial: {
15129
16583
  days: number;
15130
16584
  cardRequired: boolean;
15131
16585
  } | null;
16586
+ discount?: {
16587
+ grantId: string;
16588
+ couponId: string;
16589
+ amountMinor: number;
16590
+ terms: {
16591
+ type: "percent";
16592
+ percentOff: number;
16593
+ } | {
16594
+ type: "amount";
16595
+ amountOffMinor: number;
16596
+ currency: string;
16597
+ };
16598
+ duration: {
16599
+ type: "once";
16600
+ } | {
16601
+ type: "forever";
16602
+ } | {
16603
+ type: "repeating";
16604
+ months: number;
16605
+ };
16606
+ applicationPolicy?: "replace" | "stack_native" | undefined;
16607
+ applicableProductIds?: string[] | undefined;
16608
+ } | null | undefined;
16609
+ discountExpiresAt?: string | null | undefined;
16610
+ initialAmountMinor?: number | undefined;
15132
16611
  } | null;
15133
16612
  subtotalMinor: number;
15134
16613
  discountMinor: number;
@@ -15147,6 +16626,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
15147
16626
  version: string;
15148
16627
  summary: string;
15149
16628
  }[];
16629
+ nativeDiscountMinor?: number | undefined;
16630
+ discount?: {
16631
+ grantId: string;
16632
+ couponId: string;
16633
+ amountMinor: number;
16634
+ terms: {
16635
+ type: "percent";
16636
+ percentOff: number;
16637
+ } | {
16638
+ type: "amount";
16639
+ amountOffMinor: number;
16640
+ currency: string;
16641
+ };
16642
+ duration: {
16643
+ type: "once";
16644
+ } | {
16645
+ type: "forever";
16646
+ } | {
16647
+ type: "repeating";
16648
+ months: number;
16649
+ };
16650
+ applicationPolicy?: "replace" | "stack_native" | undefined;
16651
+ applicableProductIds?: string[] | undefined;
16652
+ } | null | undefined;
15150
16653
  } | undefined;
15151
16654
  nativeOffer?: {
15152
16655
  offerKind: "none" | "introductory" | "promotional";
@@ -15154,6 +16657,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
15154
16657
  discountMinor: number;
15155
16658
  trialDays: number | null;
15156
16659
  } | undefined;
16660
+ nativeDiscountMinor?: number | undefined;
15157
16661
  } | null;
15158
16662
  operation: {
15159
16663
  operationId: string;
@@ -15204,6 +16708,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
15204
16708
  type: "repeating";
15205
16709
  months: number;
15206
16710
  };
16711
+ applicationPolicy?: "replace" | "stack_native" | undefined;
16712
+ applicableProductIds?: string[] | undefined;
15207
16713
  } | null;
15208
16714
  trialPeriodDays: number | null;
15209
16715
  automaticTax: boolean;
@@ -15215,6 +16721,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
15215
16721
  connectionRevision: number;
15216
16722
  currency: string;
15217
16723
  expiresAt: string;
16724
+ nativeDiscountMinor?: number | undefined;
15218
16725
  } | {
15219
16726
  provider: "stripe";
15220
16727
  executor: "merchant" | "indiana";
@@ -15462,6 +16969,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
15462
16969
  type: "repeating";
15463
16970
  months: number;
15464
16971
  };
16972
+ applicationPolicy?: "replace" | "stack_native" | undefined;
16973
+ applicableProductIds?: string[] | undefined;
15465
16974
  } | null;
15466
16975
  trialPeriodDays: number | null;
15467
16976
  automaticTax: boolean;
@@ -15473,6 +16982,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
15473
16982
  connectionRevision: number;
15474
16983
  currency: string;
15475
16984
  expiresAt: string;
16985
+ nativeDiscountMinor?: number | undefined;
15476
16986
  } | {
15477
16987
  provider: "stripe";
15478
16988
  executor: "merchant" | "indiana";
@@ -15646,11 +17156,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
15646
17156
  interval: "week" | "month" | "year";
15647
17157
  intervalCount: number;
15648
17158
  amountMinor: number;
17159
+ amountAfterOfferMinor?: number | undefined;
15649
17160
  }[];
15650
17161
  trial: {
15651
17162
  days: number;
15652
17163
  cardRequired: boolean;
15653
17164
  } | null;
17165
+ discount?: {
17166
+ grantId: string;
17167
+ couponId: string;
17168
+ amountMinor: number;
17169
+ terms: {
17170
+ type: "percent";
17171
+ percentOff: number;
17172
+ } | {
17173
+ type: "amount";
17174
+ amountOffMinor: number;
17175
+ currency: string;
17176
+ };
17177
+ duration: {
17178
+ type: "once";
17179
+ } | {
17180
+ type: "forever";
17181
+ } | {
17182
+ type: "repeating";
17183
+ months: number;
17184
+ };
17185
+ applicationPolicy?: "replace" | "stack_native" | undefined;
17186
+ applicableProductIds?: string[] | undefined;
17187
+ } | null | undefined;
17188
+ discountExpiresAt?: string | null | undefined;
17189
+ initialAmountMinor?: number | undefined;
15654
17190
  } | null;
15655
17191
  subtotalMinor: number;
15656
17192
  discountMinor: number;
@@ -15669,6 +17205,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
15669
17205
  version: string;
15670
17206
  summary: string;
15671
17207
  }[];
17208
+ nativeDiscountMinor?: number | undefined;
17209
+ discount?: {
17210
+ grantId: string;
17211
+ couponId: string;
17212
+ amountMinor: number;
17213
+ terms: {
17214
+ type: "percent";
17215
+ percentOff: number;
17216
+ } | {
17217
+ type: "amount";
17218
+ amountOffMinor: number;
17219
+ currency: string;
17220
+ };
17221
+ duration: {
17222
+ type: "once";
17223
+ } | {
17224
+ type: "forever";
17225
+ } | {
17226
+ type: "repeating";
17227
+ months: number;
17228
+ };
17229
+ applicationPolicy?: "replace" | "stack_native" | undefined;
17230
+ applicableProductIds?: string[] | undefined;
17231
+ } | null | undefined;
15672
17232
  } | undefined;
15673
17233
  nativeOffer?: {
15674
17234
  offerKind: "none" | "introductory" | "promotional";
@@ -15676,6 +17236,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
15676
17236
  discountMinor: number;
15677
17237
  trialDays: number | null;
15678
17238
  } | undefined;
17239
+ nativeDiscountMinor?: number | undefined;
15679
17240
  } | undefined;
15680
17241
  merchantExecution?: {
15681
17242
  type: "purchase";
@@ -15800,6 +17361,8 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
15800
17361
  type: "repeating";
15801
17362
  months: number;
15802
17363
  };
17364
+ applicationPolicy?: "replace" | "stack_native" | undefined;
17365
+ applicableProductIds?: string[] | undefined;
15803
17366
  } | null;
15804
17367
  trialPeriodDays: number | null;
15805
17368
  automaticTax: boolean;
@@ -15811,6 +17374,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
15811
17374
  connectionRevision: number;
15812
17375
  currency: string;
15813
17376
  expiresAt: string;
17377
+ nativeDiscountMinor?: number | undefined;
15814
17378
  } | {
15815
17379
  type: "subscription_change";
15816
17380
  subscriptionId: string;
@@ -15873,6 +17437,29 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
15873
17437
  connectionRevision: number;
15874
17438
  currency: string;
15875
17439
  expiresAt: string;
17440
+ discount?: {
17441
+ grantId: string;
17442
+ couponId: string;
17443
+ amountMinor: number;
17444
+ terms: {
17445
+ type: "percent";
17446
+ percentOff: number;
17447
+ } | {
17448
+ type: "amount";
17449
+ amountOffMinor: number;
17450
+ currency: string;
17451
+ };
17452
+ duration: {
17453
+ type: "once";
17454
+ } | {
17455
+ type: "forever";
17456
+ } | {
17457
+ type: "repeating";
17458
+ months: number;
17459
+ };
17460
+ applicationPolicy?: "replace" | "stack_native" | undefined;
17461
+ applicableProductIds?: string[] | undefined;
17462
+ } | null | undefined;
15876
17463
  sourceLineItems?: {
15877
17464
  priceId: string;
15878
17465
  productVersionId: string;
@@ -16019,11 +17606,37 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
16019
17606
  interval: "week" | "month" | "year";
16020
17607
  intervalCount: number;
16021
17608
  amountMinor: number;
17609
+ amountAfterOfferMinor?: number | undefined;
16022
17610
  }[];
16023
17611
  trial: {
16024
17612
  days: number;
16025
17613
  cardRequired: boolean;
16026
17614
  } | null;
17615
+ discount?: {
17616
+ grantId: string;
17617
+ couponId: string;
17618
+ amountMinor: number;
17619
+ terms: {
17620
+ type: "percent";
17621
+ percentOff: number;
17622
+ } | {
17623
+ type: "amount";
17624
+ amountOffMinor: number;
17625
+ currency: string;
17626
+ };
17627
+ duration: {
17628
+ type: "once";
17629
+ } | {
17630
+ type: "forever";
17631
+ } | {
17632
+ type: "repeating";
17633
+ months: number;
17634
+ };
17635
+ applicationPolicy?: "replace" | "stack_native" | undefined;
17636
+ applicableProductIds?: string[] | undefined;
17637
+ } | null | undefined;
17638
+ discountExpiresAt?: string | null | undefined;
17639
+ initialAmountMinor?: number | undefined;
16027
17640
  } | null;
16028
17641
  subtotalMinor: number;
16029
17642
  discountMinor: number;
@@ -16042,6 +17655,30 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
16042
17655
  version: string;
16043
17656
  summary: string;
16044
17657
  }[];
17658
+ nativeDiscountMinor?: number | undefined;
17659
+ discount?: {
17660
+ grantId: string;
17661
+ couponId: string;
17662
+ amountMinor: number;
17663
+ terms: {
17664
+ type: "percent";
17665
+ percentOff: number;
17666
+ } | {
17667
+ type: "amount";
17668
+ amountOffMinor: number;
17669
+ currency: string;
17670
+ };
17671
+ duration: {
17672
+ type: "once";
17673
+ } | {
17674
+ type: "forever";
17675
+ } | {
17676
+ type: "repeating";
17677
+ months: number;
17678
+ };
17679
+ applicationPolicy?: "replace" | "stack_native" | undefined;
17680
+ applicableProductIds?: string[] | undefined;
17681
+ } | null | undefined;
16045
17682
  } | undefined;
16046
17683
  } | undefined;
16047
17684
  } | null;
@@ -17434,6 +19071,8 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
17434
19071
  type: "repeating";
17435
19072
  months: number;
17436
19073
  };
19074
+ applicationPolicy?: "replace" | "stack_native" | undefined;
19075
+ applicableProductIds?: string[] | undefined;
17437
19076
  } | null;
17438
19077
  trialPeriodDays: number | null;
17439
19078
  automaticTax: boolean;
@@ -17445,6 +19084,7 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
17445
19084
  connectionRevision: number;
17446
19085
  currency: string;
17447
19086
  expiresAt: string;
19087
+ nativeDiscountMinor?: number | undefined;
17448
19088
  } | {
17449
19089
  provider: "stripe";
17450
19090
  executor: "merchant" | "indiana";
@@ -17618,11 +19258,37 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
17618
19258
  interval: "week" | "month" | "year";
17619
19259
  intervalCount: number;
17620
19260
  amountMinor: number;
19261
+ amountAfterOfferMinor?: number | undefined;
17621
19262
  }[];
17622
19263
  trial: {
17623
19264
  days: number;
17624
19265
  cardRequired: boolean;
17625
19266
  } | null;
19267
+ discount?: {
19268
+ grantId: string;
19269
+ couponId: string;
19270
+ amountMinor: number;
19271
+ terms: {
19272
+ type: "percent";
19273
+ percentOff: number;
19274
+ } | {
19275
+ type: "amount";
19276
+ amountOffMinor: number;
19277
+ currency: string;
19278
+ };
19279
+ duration: {
19280
+ type: "once";
19281
+ } | {
19282
+ type: "forever";
19283
+ } | {
19284
+ type: "repeating";
19285
+ months: number;
19286
+ };
19287
+ applicationPolicy?: "replace" | "stack_native" | undefined;
19288
+ applicableProductIds?: string[] | undefined;
19289
+ } | null | undefined;
19290
+ discountExpiresAt?: string | null | undefined;
19291
+ initialAmountMinor?: number | undefined;
17626
19292
  } | null;
17627
19293
  subtotalMinor: number;
17628
19294
  discountMinor: number;
@@ -17641,6 +19307,30 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
17641
19307
  version: string;
17642
19308
  summary: string;
17643
19309
  }[];
19310
+ nativeDiscountMinor?: number | undefined;
19311
+ discount?: {
19312
+ grantId: string;
19313
+ couponId: string;
19314
+ amountMinor: number;
19315
+ terms: {
19316
+ type: "percent";
19317
+ percentOff: number;
19318
+ } | {
19319
+ type: "amount";
19320
+ amountOffMinor: number;
19321
+ currency: string;
19322
+ };
19323
+ duration: {
19324
+ type: "once";
19325
+ } | {
19326
+ type: "forever";
19327
+ } | {
19328
+ type: "repeating";
19329
+ months: number;
19330
+ };
19331
+ applicationPolicy?: "replace" | "stack_native" | undefined;
19332
+ applicableProductIds?: string[] | undefined;
19333
+ } | null | undefined;
17644
19334
  } | undefined;
17645
19335
  nativeOffer?: {
17646
19336
  offerKind: "none" | "introductory" | "promotional";
@@ -17648,6 +19338,7 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
17648
19338
  discountMinor: number;
17649
19339
  trialDays: number | null;
17650
19340
  } | undefined;
19341
+ nativeDiscountMinor?: number | undefined;
17651
19342
  } | null;
17652
19343
  operation: {
17653
19344
  operationId: string;
@@ -17698,6 +19389,8 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
17698
19389
  type: "repeating";
17699
19390
  months: number;
17700
19391
  };
19392
+ applicationPolicy?: "replace" | "stack_native" | undefined;
19393
+ applicableProductIds?: string[] | undefined;
17701
19394
  } | null;
17702
19395
  trialPeriodDays: number | null;
17703
19396
  automaticTax: boolean;
@@ -17709,6 +19402,7 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
17709
19402
  connectionRevision: number;
17710
19403
  currency: string;
17711
19404
  expiresAt: string;
19405
+ nativeDiscountMinor?: number | undefined;
17712
19406
  } | {
17713
19407
  provider: "stripe";
17714
19408
  executor: "merchant" | "indiana";
@@ -17956,6 +19650,8 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
17956
19650
  type: "repeating";
17957
19651
  months: number;
17958
19652
  };
19653
+ applicationPolicy?: "replace" | "stack_native" | undefined;
19654
+ applicableProductIds?: string[] | undefined;
17959
19655
  } | null;
17960
19656
  trialPeriodDays: number | null;
17961
19657
  automaticTax: boolean;
@@ -17967,6 +19663,7 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
17967
19663
  connectionRevision: number;
17968
19664
  currency: string;
17969
19665
  expiresAt: string;
19666
+ nativeDiscountMinor?: number | undefined;
17970
19667
  } | {
17971
19668
  provider: "stripe";
17972
19669
  executor: "merchant" | "indiana";
@@ -18140,11 +19837,37 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18140
19837
  interval: "week" | "month" | "year";
18141
19838
  intervalCount: number;
18142
19839
  amountMinor: number;
19840
+ amountAfterOfferMinor?: number | undefined;
18143
19841
  }[];
18144
19842
  trial: {
18145
19843
  days: number;
18146
19844
  cardRequired: boolean;
18147
19845
  } | null;
19846
+ discount?: {
19847
+ grantId: string;
19848
+ couponId: string;
19849
+ amountMinor: number;
19850
+ terms: {
19851
+ type: "percent";
19852
+ percentOff: number;
19853
+ } | {
19854
+ type: "amount";
19855
+ amountOffMinor: number;
19856
+ currency: string;
19857
+ };
19858
+ duration: {
19859
+ type: "once";
19860
+ } | {
19861
+ type: "forever";
19862
+ } | {
19863
+ type: "repeating";
19864
+ months: number;
19865
+ };
19866
+ applicationPolicy?: "replace" | "stack_native" | undefined;
19867
+ applicableProductIds?: string[] | undefined;
19868
+ } | null | undefined;
19869
+ discountExpiresAt?: string | null | undefined;
19870
+ initialAmountMinor?: number | undefined;
18148
19871
  } | null;
18149
19872
  subtotalMinor: number;
18150
19873
  discountMinor: number;
@@ -18163,6 +19886,30 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18163
19886
  version: string;
18164
19887
  summary: string;
18165
19888
  }[];
19889
+ nativeDiscountMinor?: number | undefined;
19890
+ discount?: {
19891
+ grantId: string;
19892
+ couponId: string;
19893
+ amountMinor: number;
19894
+ terms: {
19895
+ type: "percent";
19896
+ percentOff: number;
19897
+ } | {
19898
+ type: "amount";
19899
+ amountOffMinor: number;
19900
+ currency: string;
19901
+ };
19902
+ duration: {
19903
+ type: "once";
19904
+ } | {
19905
+ type: "forever";
19906
+ } | {
19907
+ type: "repeating";
19908
+ months: number;
19909
+ };
19910
+ applicationPolicy?: "replace" | "stack_native" | undefined;
19911
+ applicableProductIds?: string[] | undefined;
19912
+ } | null | undefined;
18166
19913
  } | undefined;
18167
19914
  nativeOffer?: {
18168
19915
  offerKind: "none" | "introductory" | "promotional";
@@ -18170,6 +19917,7 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18170
19917
  discountMinor: number;
18171
19918
  trialDays: number | null;
18172
19919
  } | undefined;
19920
+ nativeDiscountMinor?: number | undefined;
18173
19921
  } | undefined;
18174
19922
  merchantExecution?: {
18175
19923
  type: "purchase";
@@ -18294,6 +20042,8 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18294
20042
  type: "repeating";
18295
20043
  months: number;
18296
20044
  };
20045
+ applicationPolicy?: "replace" | "stack_native" | undefined;
20046
+ applicableProductIds?: string[] | undefined;
18297
20047
  } | null;
18298
20048
  trialPeriodDays: number | null;
18299
20049
  automaticTax: boolean;
@@ -18305,6 +20055,7 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18305
20055
  connectionRevision: number;
18306
20056
  currency: string;
18307
20057
  expiresAt: string;
20058
+ nativeDiscountMinor?: number | undefined;
18308
20059
  } | {
18309
20060
  type: "subscription_change";
18310
20061
  subscriptionId: string;
@@ -18367,6 +20118,29 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18367
20118
  connectionRevision: number;
18368
20119
  currency: string;
18369
20120
  expiresAt: string;
20121
+ discount?: {
20122
+ grantId: string;
20123
+ couponId: string;
20124
+ amountMinor: number;
20125
+ terms: {
20126
+ type: "percent";
20127
+ percentOff: number;
20128
+ } | {
20129
+ type: "amount";
20130
+ amountOffMinor: number;
20131
+ currency: string;
20132
+ };
20133
+ duration: {
20134
+ type: "once";
20135
+ } | {
20136
+ type: "forever";
20137
+ } | {
20138
+ type: "repeating";
20139
+ months: number;
20140
+ };
20141
+ applicationPolicy?: "replace" | "stack_native" | undefined;
20142
+ applicableProductIds?: string[] | undefined;
20143
+ } | null | undefined;
18370
20144
  sourceLineItems?: {
18371
20145
  priceId: string;
18372
20146
  productVersionId: string;
@@ -18513,11 +20287,37 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18513
20287
  interval: "week" | "month" | "year";
18514
20288
  intervalCount: number;
18515
20289
  amountMinor: number;
20290
+ amountAfterOfferMinor?: number | undefined;
18516
20291
  }[];
18517
20292
  trial: {
18518
20293
  days: number;
18519
20294
  cardRequired: boolean;
18520
20295
  } | null;
20296
+ discount?: {
20297
+ grantId: string;
20298
+ couponId: string;
20299
+ amountMinor: number;
20300
+ terms: {
20301
+ type: "percent";
20302
+ percentOff: number;
20303
+ } | {
20304
+ type: "amount";
20305
+ amountOffMinor: number;
20306
+ currency: string;
20307
+ };
20308
+ duration: {
20309
+ type: "once";
20310
+ } | {
20311
+ type: "forever";
20312
+ } | {
20313
+ type: "repeating";
20314
+ months: number;
20315
+ };
20316
+ applicationPolicy?: "replace" | "stack_native" | undefined;
20317
+ applicableProductIds?: string[] | undefined;
20318
+ } | null | undefined;
20319
+ discountExpiresAt?: string | null | undefined;
20320
+ initialAmountMinor?: number | undefined;
18521
20321
  } | null;
18522
20322
  subtotalMinor: number;
18523
20323
  discountMinor: number;
@@ -18536,6 +20336,30 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18536
20336
  version: string;
18537
20337
  summary: string;
18538
20338
  }[];
20339
+ nativeDiscountMinor?: number | undefined;
20340
+ discount?: {
20341
+ grantId: string;
20342
+ couponId: string;
20343
+ amountMinor: number;
20344
+ terms: {
20345
+ type: "percent";
20346
+ percentOff: number;
20347
+ } | {
20348
+ type: "amount";
20349
+ amountOffMinor: number;
20350
+ currency: string;
20351
+ };
20352
+ duration: {
20353
+ type: "once";
20354
+ } | {
20355
+ type: "forever";
20356
+ } | {
20357
+ type: "repeating";
20358
+ months: number;
20359
+ };
20360
+ applicationPolicy?: "replace" | "stack_native" | undefined;
20361
+ applicableProductIds?: string[] | undefined;
20362
+ } | null | undefined;
18539
20363
  } | undefined;
18540
20364
  } | undefined;
18541
20365
  } | null;
@@ -18724,6 +20548,8 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18724
20548
  type: "repeating";
18725
20549
  months: number;
18726
20550
  };
20551
+ applicationPolicy?: "replace" | "stack_native" | undefined;
20552
+ applicableProductIds?: string[] | undefined;
18727
20553
  } | null;
18728
20554
  trialPeriodDays: number | null;
18729
20555
  automaticTax: boolean;
@@ -18735,6 +20561,7 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18735
20561
  connectionRevision: number;
18736
20562
  currency: string;
18737
20563
  expiresAt: string;
20564
+ nativeDiscountMinor?: number | undefined;
18738
20565
  } | {
18739
20566
  provider: "stripe";
18740
20567
  executor: "merchant" | "indiana";
@@ -18908,11 +20735,37 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18908
20735
  interval: "week" | "month" | "year";
18909
20736
  intervalCount: number;
18910
20737
  amountMinor: number;
20738
+ amountAfterOfferMinor?: number | undefined;
18911
20739
  }[];
18912
20740
  trial: {
18913
20741
  days: number;
18914
20742
  cardRequired: boolean;
18915
20743
  } | null;
20744
+ discount?: {
20745
+ grantId: string;
20746
+ couponId: string;
20747
+ amountMinor: number;
20748
+ terms: {
20749
+ type: "percent";
20750
+ percentOff: number;
20751
+ } | {
20752
+ type: "amount";
20753
+ amountOffMinor: number;
20754
+ currency: string;
20755
+ };
20756
+ duration: {
20757
+ type: "once";
20758
+ } | {
20759
+ type: "forever";
20760
+ } | {
20761
+ type: "repeating";
20762
+ months: number;
20763
+ };
20764
+ applicationPolicy?: "replace" | "stack_native" | undefined;
20765
+ applicableProductIds?: string[] | undefined;
20766
+ } | null | undefined;
20767
+ discountExpiresAt?: string | null | undefined;
20768
+ initialAmountMinor?: number | undefined;
18916
20769
  } | null;
18917
20770
  subtotalMinor: number;
18918
20771
  discountMinor: number;
@@ -18931,6 +20784,30 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18931
20784
  version: string;
18932
20785
  summary: string;
18933
20786
  }[];
20787
+ nativeDiscountMinor?: number | undefined;
20788
+ discount?: {
20789
+ grantId: string;
20790
+ couponId: string;
20791
+ amountMinor: number;
20792
+ terms: {
20793
+ type: "percent";
20794
+ percentOff: number;
20795
+ } | {
20796
+ type: "amount";
20797
+ amountOffMinor: number;
20798
+ currency: string;
20799
+ };
20800
+ duration: {
20801
+ type: "once";
20802
+ } | {
20803
+ type: "forever";
20804
+ } | {
20805
+ type: "repeating";
20806
+ months: number;
20807
+ };
20808
+ applicationPolicy?: "replace" | "stack_native" | undefined;
20809
+ applicableProductIds?: string[] | undefined;
20810
+ } | null | undefined;
18934
20811
  } | undefined;
18935
20812
  nativeOffer?: {
18936
20813
  offerKind: "none" | "introductory" | "promotional";
@@ -18938,6 +20815,7 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18938
20815
  discountMinor: number;
18939
20816
  trialDays: number | null;
18940
20817
  } | undefined;
20818
+ nativeDiscountMinor?: number | undefined;
18941
20819
  } | null;
18942
20820
  operation: {
18943
20821
  operationId: string;
@@ -18988,6 +20866,8 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18988
20866
  type: "repeating";
18989
20867
  months: number;
18990
20868
  };
20869
+ applicationPolicy?: "replace" | "stack_native" | undefined;
20870
+ applicableProductIds?: string[] | undefined;
18991
20871
  } | null;
18992
20872
  trialPeriodDays: number | null;
18993
20873
  automaticTax: boolean;
@@ -18999,6 +20879,7 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18999
20879
  connectionRevision: number;
19000
20880
  currency: string;
19001
20881
  expiresAt: string;
20882
+ nativeDiscountMinor?: number | undefined;
19002
20883
  } | {
19003
20884
  provider: "stripe";
19004
20885
  executor: "merchant" | "indiana";
@@ -19246,6 +21127,8 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
19246
21127
  type: "repeating";
19247
21128
  months: number;
19248
21129
  };
21130
+ applicationPolicy?: "replace" | "stack_native" | undefined;
21131
+ applicableProductIds?: string[] | undefined;
19249
21132
  } | null;
19250
21133
  trialPeriodDays: number | null;
19251
21134
  automaticTax: boolean;
@@ -19257,6 +21140,7 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
19257
21140
  connectionRevision: number;
19258
21141
  currency: string;
19259
21142
  expiresAt: string;
21143
+ nativeDiscountMinor?: number | undefined;
19260
21144
  } | {
19261
21145
  provider: "stripe";
19262
21146
  executor: "merchant" | "indiana";
@@ -19430,11 +21314,37 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
19430
21314
  interval: "week" | "month" | "year";
19431
21315
  intervalCount: number;
19432
21316
  amountMinor: number;
21317
+ amountAfterOfferMinor?: number | undefined;
19433
21318
  }[];
19434
21319
  trial: {
19435
21320
  days: number;
19436
21321
  cardRequired: boolean;
19437
21322
  } | null;
21323
+ discount?: {
21324
+ grantId: string;
21325
+ couponId: string;
21326
+ amountMinor: number;
21327
+ terms: {
21328
+ type: "percent";
21329
+ percentOff: number;
21330
+ } | {
21331
+ type: "amount";
21332
+ amountOffMinor: number;
21333
+ currency: string;
21334
+ };
21335
+ duration: {
21336
+ type: "once";
21337
+ } | {
21338
+ type: "forever";
21339
+ } | {
21340
+ type: "repeating";
21341
+ months: number;
21342
+ };
21343
+ applicationPolicy?: "replace" | "stack_native" | undefined;
21344
+ applicableProductIds?: string[] | undefined;
21345
+ } | null | undefined;
21346
+ discountExpiresAt?: string | null | undefined;
21347
+ initialAmountMinor?: number | undefined;
19438
21348
  } | null;
19439
21349
  subtotalMinor: number;
19440
21350
  discountMinor: number;
@@ -19453,6 +21363,30 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
19453
21363
  version: string;
19454
21364
  summary: string;
19455
21365
  }[];
21366
+ nativeDiscountMinor?: number | undefined;
21367
+ discount?: {
21368
+ grantId: string;
21369
+ couponId: string;
21370
+ amountMinor: number;
21371
+ terms: {
21372
+ type: "percent";
21373
+ percentOff: number;
21374
+ } | {
21375
+ type: "amount";
21376
+ amountOffMinor: number;
21377
+ currency: string;
21378
+ };
21379
+ duration: {
21380
+ type: "once";
21381
+ } | {
21382
+ type: "forever";
21383
+ } | {
21384
+ type: "repeating";
21385
+ months: number;
21386
+ };
21387
+ applicationPolicy?: "replace" | "stack_native" | undefined;
21388
+ applicableProductIds?: string[] | undefined;
21389
+ } | null | undefined;
19456
21390
  } | undefined;
19457
21391
  nativeOffer?: {
19458
21392
  offerKind: "none" | "introductory" | "promotional";
@@ -19460,6 +21394,7 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
19460
21394
  discountMinor: number;
19461
21395
  trialDays: number | null;
19462
21396
  } | undefined;
21397
+ nativeDiscountMinor?: number | undefined;
19463
21398
  } | undefined;
19464
21399
  merchantExecution?: {
19465
21400
  type: "purchase";
@@ -19584,6 +21519,8 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
19584
21519
  type: "repeating";
19585
21520
  months: number;
19586
21521
  };
21522
+ applicationPolicy?: "replace" | "stack_native" | undefined;
21523
+ applicableProductIds?: string[] | undefined;
19587
21524
  } | null;
19588
21525
  trialPeriodDays: number | null;
19589
21526
  automaticTax: boolean;
@@ -19595,6 +21532,7 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
19595
21532
  connectionRevision: number;
19596
21533
  currency: string;
19597
21534
  expiresAt: string;
21535
+ nativeDiscountMinor?: number | undefined;
19598
21536
  } | {
19599
21537
  type: "subscription_change";
19600
21538
  subscriptionId: string;
@@ -19657,6 +21595,29 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
19657
21595
  connectionRevision: number;
19658
21596
  currency: string;
19659
21597
  expiresAt: string;
21598
+ discount?: {
21599
+ grantId: string;
21600
+ couponId: string;
21601
+ amountMinor: number;
21602
+ terms: {
21603
+ type: "percent";
21604
+ percentOff: number;
21605
+ } | {
21606
+ type: "amount";
21607
+ amountOffMinor: number;
21608
+ currency: string;
21609
+ };
21610
+ duration: {
21611
+ type: "once";
21612
+ } | {
21613
+ type: "forever";
21614
+ } | {
21615
+ type: "repeating";
21616
+ months: number;
21617
+ };
21618
+ applicationPolicy?: "replace" | "stack_native" | undefined;
21619
+ applicableProductIds?: string[] | undefined;
21620
+ } | null | undefined;
19660
21621
  sourceLineItems?: {
19661
21622
  priceId: string;
19662
21623
  productVersionId: string;
@@ -19803,11 +21764,37 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
19803
21764
  interval: "week" | "month" | "year";
19804
21765
  intervalCount: number;
19805
21766
  amountMinor: number;
21767
+ amountAfterOfferMinor?: number | undefined;
19806
21768
  }[];
19807
21769
  trial: {
19808
21770
  days: number;
19809
21771
  cardRequired: boolean;
19810
21772
  } | null;
21773
+ discount?: {
21774
+ grantId: string;
21775
+ couponId: string;
21776
+ amountMinor: number;
21777
+ terms: {
21778
+ type: "percent";
21779
+ percentOff: number;
21780
+ } | {
21781
+ type: "amount";
21782
+ amountOffMinor: number;
21783
+ currency: string;
21784
+ };
21785
+ duration: {
21786
+ type: "once";
21787
+ } | {
21788
+ type: "forever";
21789
+ } | {
21790
+ type: "repeating";
21791
+ months: number;
21792
+ };
21793
+ applicationPolicy?: "replace" | "stack_native" | undefined;
21794
+ applicableProductIds?: string[] | undefined;
21795
+ } | null | undefined;
21796
+ discountExpiresAt?: string | null | undefined;
21797
+ initialAmountMinor?: number | undefined;
19811
21798
  } | null;
19812
21799
  subtotalMinor: number;
19813
21800
  discountMinor: number;
@@ -19826,6 +21813,30 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
19826
21813
  version: string;
19827
21814
  summary: string;
19828
21815
  }[];
21816
+ nativeDiscountMinor?: number | undefined;
21817
+ discount?: {
21818
+ grantId: string;
21819
+ couponId: string;
21820
+ amountMinor: number;
21821
+ terms: {
21822
+ type: "percent";
21823
+ percentOff: number;
21824
+ } | {
21825
+ type: "amount";
21826
+ amountOffMinor: number;
21827
+ currency: string;
21828
+ };
21829
+ duration: {
21830
+ type: "once";
21831
+ } | {
21832
+ type: "forever";
21833
+ } | {
21834
+ type: "repeating";
21835
+ months: number;
21836
+ };
21837
+ applicationPolicy?: "replace" | "stack_native" | undefined;
21838
+ applicableProductIds?: string[] | undefined;
21839
+ } | null | undefined;
19829
21840
  } | undefined;
19830
21841
  } | undefined;
19831
21842
  } | null;
@@ -22654,6 +24665,8 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
22654
24665
  type: "repeating";
22655
24666
  months: number;
22656
24667
  };
24668
+ applicationPolicy?: "replace" | "stack_native" | undefined;
24669
+ applicableProductIds?: string[] | undefined;
22657
24670
  } | null;
22658
24671
  trialPeriodDays: number | null;
22659
24672
  automaticTax: boolean;
@@ -22665,6 +24678,7 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
22665
24678
  connectionRevision: number;
22666
24679
  currency: string;
22667
24680
  expiresAt: string;
24681
+ nativeDiscountMinor?: number | undefined;
22668
24682
  } | {
22669
24683
  provider: "stripe";
22670
24684
  executor: "merchant" | "indiana";
@@ -22838,11 +24852,37 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
22838
24852
  interval: "week" | "month" | "year";
22839
24853
  intervalCount: number;
22840
24854
  amountMinor: number;
24855
+ amountAfterOfferMinor?: number | undefined;
22841
24856
  }[];
22842
24857
  trial: {
22843
24858
  days: number;
22844
24859
  cardRequired: boolean;
22845
24860
  } | null;
24861
+ discount?: {
24862
+ grantId: string;
24863
+ couponId: string;
24864
+ amountMinor: number;
24865
+ terms: {
24866
+ type: "percent";
24867
+ percentOff: number;
24868
+ } | {
24869
+ type: "amount";
24870
+ amountOffMinor: number;
24871
+ currency: string;
24872
+ };
24873
+ duration: {
24874
+ type: "once";
24875
+ } | {
24876
+ type: "forever";
24877
+ } | {
24878
+ type: "repeating";
24879
+ months: number;
24880
+ };
24881
+ applicationPolicy?: "replace" | "stack_native" | undefined;
24882
+ applicableProductIds?: string[] | undefined;
24883
+ } | null | undefined;
24884
+ discountExpiresAt?: string | null | undefined;
24885
+ initialAmountMinor?: number | undefined;
22846
24886
  } | null;
22847
24887
  subtotalMinor: number;
22848
24888
  discountMinor: number;
@@ -22861,6 +24901,30 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
22861
24901
  version: string;
22862
24902
  summary: string;
22863
24903
  }[];
24904
+ nativeDiscountMinor?: number | undefined;
24905
+ discount?: {
24906
+ grantId: string;
24907
+ couponId: string;
24908
+ amountMinor: number;
24909
+ terms: {
24910
+ type: "percent";
24911
+ percentOff: number;
24912
+ } | {
24913
+ type: "amount";
24914
+ amountOffMinor: number;
24915
+ currency: string;
24916
+ };
24917
+ duration: {
24918
+ type: "once";
24919
+ } | {
24920
+ type: "forever";
24921
+ } | {
24922
+ type: "repeating";
24923
+ months: number;
24924
+ };
24925
+ applicationPolicy?: "replace" | "stack_native" | undefined;
24926
+ applicableProductIds?: string[] | undefined;
24927
+ } | null | undefined;
22864
24928
  } | undefined;
22865
24929
  nativeOffer?: {
22866
24930
  offerKind: "none" | "introductory" | "promotional";
@@ -22868,6 +24932,7 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
22868
24932
  discountMinor: number;
22869
24933
  trialDays: number | null;
22870
24934
  } | undefined;
24935
+ nativeDiscountMinor?: number | undefined;
22871
24936
  } | null;
22872
24937
  operation: {
22873
24938
  operationId: string;
@@ -22918,6 +24983,8 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
22918
24983
  type: "repeating";
22919
24984
  months: number;
22920
24985
  };
24986
+ applicationPolicy?: "replace" | "stack_native" | undefined;
24987
+ applicableProductIds?: string[] | undefined;
22921
24988
  } | null;
22922
24989
  trialPeriodDays: number | null;
22923
24990
  automaticTax: boolean;
@@ -22929,6 +24996,7 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
22929
24996
  connectionRevision: number;
22930
24997
  currency: string;
22931
24998
  expiresAt: string;
24999
+ nativeDiscountMinor?: number | undefined;
22932
25000
  } | {
22933
25001
  provider: "stripe";
22934
25002
  executor: "merchant" | "indiana";
@@ -23176,6 +25244,8 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
23176
25244
  type: "repeating";
23177
25245
  months: number;
23178
25246
  };
25247
+ applicationPolicy?: "replace" | "stack_native" | undefined;
25248
+ applicableProductIds?: string[] | undefined;
23179
25249
  } | null;
23180
25250
  trialPeriodDays: number | null;
23181
25251
  automaticTax: boolean;
@@ -23187,6 +25257,7 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
23187
25257
  connectionRevision: number;
23188
25258
  currency: string;
23189
25259
  expiresAt: string;
25260
+ nativeDiscountMinor?: number | undefined;
23190
25261
  } | {
23191
25262
  provider: "stripe";
23192
25263
  executor: "merchant" | "indiana";
@@ -23360,11 +25431,37 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
23360
25431
  interval: "week" | "month" | "year";
23361
25432
  intervalCount: number;
23362
25433
  amountMinor: number;
25434
+ amountAfterOfferMinor?: number | undefined;
23363
25435
  }[];
23364
25436
  trial: {
23365
25437
  days: number;
23366
25438
  cardRequired: boolean;
23367
25439
  } | null;
25440
+ discount?: {
25441
+ grantId: string;
25442
+ couponId: string;
25443
+ amountMinor: number;
25444
+ terms: {
25445
+ type: "percent";
25446
+ percentOff: number;
25447
+ } | {
25448
+ type: "amount";
25449
+ amountOffMinor: number;
25450
+ currency: string;
25451
+ };
25452
+ duration: {
25453
+ type: "once";
25454
+ } | {
25455
+ type: "forever";
25456
+ } | {
25457
+ type: "repeating";
25458
+ months: number;
25459
+ };
25460
+ applicationPolicy?: "replace" | "stack_native" | undefined;
25461
+ applicableProductIds?: string[] | undefined;
25462
+ } | null | undefined;
25463
+ discountExpiresAt?: string | null | undefined;
25464
+ initialAmountMinor?: number | undefined;
23368
25465
  } | null;
23369
25466
  subtotalMinor: number;
23370
25467
  discountMinor: number;
@@ -23383,6 +25480,30 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
23383
25480
  version: string;
23384
25481
  summary: string;
23385
25482
  }[];
25483
+ nativeDiscountMinor?: number | undefined;
25484
+ discount?: {
25485
+ grantId: string;
25486
+ couponId: string;
25487
+ amountMinor: number;
25488
+ terms: {
25489
+ type: "percent";
25490
+ percentOff: number;
25491
+ } | {
25492
+ type: "amount";
25493
+ amountOffMinor: number;
25494
+ currency: string;
25495
+ };
25496
+ duration: {
25497
+ type: "once";
25498
+ } | {
25499
+ type: "forever";
25500
+ } | {
25501
+ type: "repeating";
25502
+ months: number;
25503
+ };
25504
+ applicationPolicy?: "replace" | "stack_native" | undefined;
25505
+ applicableProductIds?: string[] | undefined;
25506
+ } | null | undefined;
23386
25507
  } | undefined;
23387
25508
  nativeOffer?: {
23388
25509
  offerKind: "none" | "introductory" | "promotional";
@@ -23390,6 +25511,7 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
23390
25511
  discountMinor: number;
23391
25512
  trialDays: number | null;
23392
25513
  } | undefined;
25514
+ nativeDiscountMinor?: number | undefined;
23393
25515
  } | undefined;
23394
25516
  merchantExecution?: {
23395
25517
  type: "purchase";
@@ -23514,6 +25636,8 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
23514
25636
  type: "repeating";
23515
25637
  months: number;
23516
25638
  };
25639
+ applicationPolicy?: "replace" | "stack_native" | undefined;
25640
+ applicableProductIds?: string[] | undefined;
23517
25641
  } | null;
23518
25642
  trialPeriodDays: number | null;
23519
25643
  automaticTax: boolean;
@@ -23525,6 +25649,7 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
23525
25649
  connectionRevision: number;
23526
25650
  currency: string;
23527
25651
  expiresAt: string;
25652
+ nativeDiscountMinor?: number | undefined;
23528
25653
  } | {
23529
25654
  type: "subscription_change";
23530
25655
  subscriptionId: string;
@@ -23587,6 +25712,29 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
23587
25712
  connectionRevision: number;
23588
25713
  currency: string;
23589
25714
  expiresAt: string;
25715
+ discount?: {
25716
+ grantId: string;
25717
+ couponId: string;
25718
+ amountMinor: number;
25719
+ terms: {
25720
+ type: "percent";
25721
+ percentOff: number;
25722
+ } | {
25723
+ type: "amount";
25724
+ amountOffMinor: number;
25725
+ currency: string;
25726
+ };
25727
+ duration: {
25728
+ type: "once";
25729
+ } | {
25730
+ type: "forever";
25731
+ } | {
25732
+ type: "repeating";
25733
+ months: number;
25734
+ };
25735
+ applicationPolicy?: "replace" | "stack_native" | undefined;
25736
+ applicableProductIds?: string[] | undefined;
25737
+ } | null | undefined;
23590
25738
  sourceLineItems?: {
23591
25739
  priceId: string;
23592
25740
  productVersionId: string;
@@ -23733,11 +25881,37 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
23733
25881
  interval: "week" | "month" | "year";
23734
25882
  intervalCount: number;
23735
25883
  amountMinor: number;
25884
+ amountAfterOfferMinor?: number | undefined;
23736
25885
  }[];
23737
25886
  trial: {
23738
25887
  days: number;
23739
25888
  cardRequired: boolean;
23740
25889
  } | null;
25890
+ discount?: {
25891
+ grantId: string;
25892
+ couponId: string;
25893
+ amountMinor: number;
25894
+ terms: {
25895
+ type: "percent";
25896
+ percentOff: number;
25897
+ } | {
25898
+ type: "amount";
25899
+ amountOffMinor: number;
25900
+ currency: string;
25901
+ };
25902
+ duration: {
25903
+ type: "once";
25904
+ } | {
25905
+ type: "forever";
25906
+ } | {
25907
+ type: "repeating";
25908
+ months: number;
25909
+ };
25910
+ applicationPolicy?: "replace" | "stack_native" | undefined;
25911
+ applicableProductIds?: string[] | undefined;
25912
+ } | null | undefined;
25913
+ discountExpiresAt?: string | null | undefined;
25914
+ initialAmountMinor?: number | undefined;
23741
25915
  } | null;
23742
25916
  subtotalMinor: number;
23743
25917
  discountMinor: number;
@@ -23756,6 +25930,30 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
23756
25930
  version: string;
23757
25931
  summary: string;
23758
25932
  }[];
25933
+ nativeDiscountMinor?: number | undefined;
25934
+ discount?: {
25935
+ grantId: string;
25936
+ couponId: string;
25937
+ amountMinor: number;
25938
+ terms: {
25939
+ type: "percent";
25940
+ percentOff: number;
25941
+ } | {
25942
+ type: "amount";
25943
+ amountOffMinor: number;
25944
+ currency: string;
25945
+ };
25946
+ duration: {
25947
+ type: "once";
25948
+ } | {
25949
+ type: "forever";
25950
+ } | {
25951
+ type: "repeating";
25952
+ months: number;
25953
+ };
25954
+ applicationPolicy?: "replace" | "stack_native" | undefined;
25955
+ applicableProductIds?: string[] | undefined;
25956
+ } | null | undefined;
23759
25957
  } | undefined;
23760
25958
  } | undefined;
23761
25959
  } | null;
@@ -23944,6 +26142,8 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
23944
26142
  type: "repeating";
23945
26143
  months: number;
23946
26144
  };
26145
+ applicationPolicy?: "replace" | "stack_native" | undefined;
26146
+ applicableProductIds?: string[] | undefined;
23947
26147
  } | null;
23948
26148
  trialPeriodDays: number | null;
23949
26149
  automaticTax: boolean;
@@ -23955,6 +26155,7 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
23955
26155
  connectionRevision: number;
23956
26156
  currency: string;
23957
26157
  expiresAt: string;
26158
+ nativeDiscountMinor?: number | undefined;
23958
26159
  } | {
23959
26160
  provider: "stripe";
23960
26161
  executor: "merchant" | "indiana";
@@ -24128,11 +26329,37 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
24128
26329
  interval: "week" | "month" | "year";
24129
26330
  intervalCount: number;
24130
26331
  amountMinor: number;
26332
+ amountAfterOfferMinor?: number | undefined;
24131
26333
  }[];
24132
26334
  trial: {
24133
26335
  days: number;
24134
26336
  cardRequired: boolean;
24135
26337
  } | null;
26338
+ discount?: {
26339
+ grantId: string;
26340
+ couponId: string;
26341
+ amountMinor: number;
26342
+ terms: {
26343
+ type: "percent";
26344
+ percentOff: number;
26345
+ } | {
26346
+ type: "amount";
26347
+ amountOffMinor: number;
26348
+ currency: string;
26349
+ };
26350
+ duration: {
26351
+ type: "once";
26352
+ } | {
26353
+ type: "forever";
26354
+ } | {
26355
+ type: "repeating";
26356
+ months: number;
26357
+ };
26358
+ applicationPolicy?: "replace" | "stack_native" | undefined;
26359
+ applicableProductIds?: string[] | undefined;
26360
+ } | null | undefined;
26361
+ discountExpiresAt?: string | null | undefined;
26362
+ initialAmountMinor?: number | undefined;
24136
26363
  } | null;
24137
26364
  subtotalMinor: number;
24138
26365
  discountMinor: number;
@@ -24151,6 +26378,30 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
24151
26378
  version: string;
24152
26379
  summary: string;
24153
26380
  }[];
26381
+ nativeDiscountMinor?: number | undefined;
26382
+ discount?: {
26383
+ grantId: string;
26384
+ couponId: string;
26385
+ amountMinor: number;
26386
+ terms: {
26387
+ type: "percent";
26388
+ percentOff: number;
26389
+ } | {
26390
+ type: "amount";
26391
+ amountOffMinor: number;
26392
+ currency: string;
26393
+ };
26394
+ duration: {
26395
+ type: "once";
26396
+ } | {
26397
+ type: "forever";
26398
+ } | {
26399
+ type: "repeating";
26400
+ months: number;
26401
+ };
26402
+ applicationPolicy?: "replace" | "stack_native" | undefined;
26403
+ applicableProductIds?: string[] | undefined;
26404
+ } | null | undefined;
24154
26405
  } | undefined;
24155
26406
  nativeOffer?: {
24156
26407
  offerKind: "none" | "introductory" | "promotional";
@@ -24158,6 +26409,7 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
24158
26409
  discountMinor: number;
24159
26410
  trialDays: number | null;
24160
26411
  } | undefined;
26412
+ nativeDiscountMinor?: number | undefined;
24161
26413
  } | null;
24162
26414
  operation: {
24163
26415
  operationId: string;
@@ -24208,6 +26460,8 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
24208
26460
  type: "repeating";
24209
26461
  months: number;
24210
26462
  };
26463
+ applicationPolicy?: "replace" | "stack_native" | undefined;
26464
+ applicableProductIds?: string[] | undefined;
24211
26465
  } | null;
24212
26466
  trialPeriodDays: number | null;
24213
26467
  automaticTax: boolean;
@@ -24219,6 +26473,7 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
24219
26473
  connectionRevision: number;
24220
26474
  currency: string;
24221
26475
  expiresAt: string;
26476
+ nativeDiscountMinor?: number | undefined;
24222
26477
  } | {
24223
26478
  provider: "stripe";
24224
26479
  executor: "merchant" | "indiana";
@@ -24466,6 +26721,8 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
24466
26721
  type: "repeating";
24467
26722
  months: number;
24468
26723
  };
26724
+ applicationPolicy?: "replace" | "stack_native" | undefined;
26725
+ applicableProductIds?: string[] | undefined;
24469
26726
  } | null;
24470
26727
  trialPeriodDays: number | null;
24471
26728
  automaticTax: boolean;
@@ -24477,6 +26734,7 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
24477
26734
  connectionRevision: number;
24478
26735
  currency: string;
24479
26736
  expiresAt: string;
26737
+ nativeDiscountMinor?: number | undefined;
24480
26738
  } | {
24481
26739
  provider: "stripe";
24482
26740
  executor: "merchant" | "indiana";
@@ -24650,11 +26908,37 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
24650
26908
  interval: "week" | "month" | "year";
24651
26909
  intervalCount: number;
24652
26910
  amountMinor: number;
26911
+ amountAfterOfferMinor?: number | undefined;
24653
26912
  }[];
24654
26913
  trial: {
24655
26914
  days: number;
24656
26915
  cardRequired: boolean;
24657
26916
  } | null;
26917
+ discount?: {
26918
+ grantId: string;
26919
+ couponId: string;
26920
+ amountMinor: number;
26921
+ terms: {
26922
+ type: "percent";
26923
+ percentOff: number;
26924
+ } | {
26925
+ type: "amount";
26926
+ amountOffMinor: number;
26927
+ currency: string;
26928
+ };
26929
+ duration: {
26930
+ type: "once";
26931
+ } | {
26932
+ type: "forever";
26933
+ } | {
26934
+ type: "repeating";
26935
+ months: number;
26936
+ };
26937
+ applicationPolicy?: "replace" | "stack_native" | undefined;
26938
+ applicableProductIds?: string[] | undefined;
26939
+ } | null | undefined;
26940
+ discountExpiresAt?: string | null | undefined;
26941
+ initialAmountMinor?: number | undefined;
24658
26942
  } | null;
24659
26943
  subtotalMinor: number;
24660
26944
  discountMinor: number;
@@ -24673,6 +26957,30 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
24673
26957
  version: string;
24674
26958
  summary: string;
24675
26959
  }[];
26960
+ nativeDiscountMinor?: number | undefined;
26961
+ discount?: {
26962
+ grantId: string;
26963
+ couponId: string;
26964
+ amountMinor: number;
26965
+ terms: {
26966
+ type: "percent";
26967
+ percentOff: number;
26968
+ } | {
26969
+ type: "amount";
26970
+ amountOffMinor: number;
26971
+ currency: string;
26972
+ };
26973
+ duration: {
26974
+ type: "once";
26975
+ } | {
26976
+ type: "forever";
26977
+ } | {
26978
+ type: "repeating";
26979
+ months: number;
26980
+ };
26981
+ applicationPolicy?: "replace" | "stack_native" | undefined;
26982
+ applicableProductIds?: string[] | undefined;
26983
+ } | null | undefined;
24676
26984
  } | undefined;
24677
26985
  nativeOffer?: {
24678
26986
  offerKind: "none" | "introductory" | "promotional";
@@ -24680,6 +26988,7 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
24680
26988
  discountMinor: number;
24681
26989
  trialDays: number | null;
24682
26990
  } | undefined;
26991
+ nativeDiscountMinor?: number | undefined;
24683
26992
  } | undefined;
24684
26993
  merchantExecution?: {
24685
26994
  type: "purchase";
@@ -24804,6 +27113,8 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
24804
27113
  type: "repeating";
24805
27114
  months: number;
24806
27115
  };
27116
+ applicationPolicy?: "replace" | "stack_native" | undefined;
27117
+ applicableProductIds?: string[] | undefined;
24807
27118
  } | null;
24808
27119
  trialPeriodDays: number | null;
24809
27120
  automaticTax: boolean;
@@ -24815,6 +27126,7 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
24815
27126
  connectionRevision: number;
24816
27127
  currency: string;
24817
27128
  expiresAt: string;
27129
+ nativeDiscountMinor?: number | undefined;
24818
27130
  } | {
24819
27131
  type: "subscription_change";
24820
27132
  subscriptionId: string;
@@ -24877,6 +27189,29 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
24877
27189
  connectionRevision: number;
24878
27190
  currency: string;
24879
27191
  expiresAt: string;
27192
+ discount?: {
27193
+ grantId: string;
27194
+ couponId: string;
27195
+ amountMinor: number;
27196
+ terms: {
27197
+ type: "percent";
27198
+ percentOff: number;
27199
+ } | {
27200
+ type: "amount";
27201
+ amountOffMinor: number;
27202
+ currency: string;
27203
+ };
27204
+ duration: {
27205
+ type: "once";
27206
+ } | {
27207
+ type: "forever";
27208
+ } | {
27209
+ type: "repeating";
27210
+ months: number;
27211
+ };
27212
+ applicationPolicy?: "replace" | "stack_native" | undefined;
27213
+ applicableProductIds?: string[] | undefined;
27214
+ } | null | undefined;
24880
27215
  sourceLineItems?: {
24881
27216
  priceId: string;
24882
27217
  productVersionId: string;
@@ -25023,11 +27358,37 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
25023
27358
  interval: "week" | "month" | "year";
25024
27359
  intervalCount: number;
25025
27360
  amountMinor: number;
27361
+ amountAfterOfferMinor?: number | undefined;
25026
27362
  }[];
25027
27363
  trial: {
25028
27364
  days: number;
25029
27365
  cardRequired: boolean;
25030
27366
  } | null;
27367
+ discount?: {
27368
+ grantId: string;
27369
+ couponId: string;
27370
+ amountMinor: number;
27371
+ terms: {
27372
+ type: "percent";
27373
+ percentOff: number;
27374
+ } | {
27375
+ type: "amount";
27376
+ amountOffMinor: number;
27377
+ currency: string;
27378
+ };
27379
+ duration: {
27380
+ type: "once";
27381
+ } | {
27382
+ type: "forever";
27383
+ } | {
27384
+ type: "repeating";
27385
+ months: number;
27386
+ };
27387
+ applicationPolicy?: "replace" | "stack_native" | undefined;
27388
+ applicableProductIds?: string[] | undefined;
27389
+ } | null | undefined;
27390
+ discountExpiresAt?: string | null | undefined;
27391
+ initialAmountMinor?: number | undefined;
25031
27392
  } | null;
25032
27393
  subtotalMinor: number;
25033
27394
  discountMinor: number;
@@ -25046,6 +27407,30 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
25046
27407
  version: string;
25047
27408
  summary: string;
25048
27409
  }[];
27410
+ nativeDiscountMinor?: number | undefined;
27411
+ discount?: {
27412
+ grantId: string;
27413
+ couponId: string;
27414
+ amountMinor: number;
27415
+ terms: {
27416
+ type: "percent";
27417
+ percentOff: number;
27418
+ } | {
27419
+ type: "amount";
27420
+ amountOffMinor: number;
27421
+ currency: string;
27422
+ };
27423
+ duration: {
27424
+ type: "once";
27425
+ } | {
27426
+ type: "forever";
27427
+ } | {
27428
+ type: "repeating";
27429
+ months: number;
27430
+ };
27431
+ applicationPolicy?: "replace" | "stack_native" | undefined;
27432
+ applicableProductIds?: string[] | undefined;
27433
+ } | null | undefined;
25049
27434
  } | undefined;
25050
27435
  } | undefined;
25051
27436
  } | null;