autumn-js 1.2.13 → 1.2.15
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.
- package/dist/backend/adapters/express.js +623 -108
- package/dist/backend/adapters/express.mjs +8 -8
- package/dist/backend/adapters/fetch.js +623 -108
- package/dist/backend/adapters/fetch.mjs +8 -8
- package/dist/backend/adapters/hono.js +623 -108
- package/dist/backend/adapters/hono.mjs +8 -8
- package/dist/backend/adapters/index.js +623 -108
- package/dist/backend/adapters/index.mjs +11 -11
- package/dist/backend/adapters/next.js +623 -108
- package/dist/backend/adapters/next.mjs +8 -8
- package/dist/backend/{chunk-DNNJOZAT.mjs → chunk-BQVZ6GCE.mjs} +1 -1
- package/dist/backend/{chunk-YSQQKZBU.mjs → chunk-IEOQUAJY.mjs} +7 -7
- package/dist/backend/{chunk-MANTLPDT.mjs → chunk-IQS3LQVP.mjs} +36 -8
- package/dist/backend/{chunk-7BVATYGA.mjs → chunk-NDB3VKT4.mjs} +1 -1
- package/dist/backend/{chunk-RPH5L44S.mjs → chunk-NRTK5YZK.mjs} +1 -1
- package/dist/backend/{chunk-T42RZEUZ.mjs → chunk-OXCQHLZX.mjs} +587 -100
- package/dist/backend/{chunk-EJGHP7KT.mjs → chunk-RSIOYTRW.mjs} +5 -5
- package/dist/backend/{chunk-OUDB34Y7.mjs → chunk-X7LDYBKC.mjs} +1 -1
- package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
- package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
- package/dist/backend/core/handlers/coreHandler.js +623 -108
- package/dist/backend/core/handlers/coreHandler.mjs +6 -6
- package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
- package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
- package/dist/backend/core/handlers/executeRoute.mjs +3 -3
- package/dist/backend/core/handlers/handleRouteByName.js +623 -108
- package/dist/backend/core/handlers/handleRouteByName.mjs +6 -6
- package/dist/backend/core/handlers/index.d.mts +1 -1
- package/dist/backend/core/handlers/index.d.ts +1 -1
- package/dist/backend/core/handlers/index.js +623 -108
- package/dist/backend/core/handlers/index.mjs +10 -10
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +623 -108
- package/dist/backend/core/index.mjs +7 -7
- package/dist/backend/core/routes/index.d.mts +1 -1
- package/dist/backend/core/routes/index.d.ts +1 -1
- package/dist/backend/core/routes/index.js +36 -8
- package/dist/backend/core/routes/index.mjs +1 -1
- package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.js +36 -8
- package/dist/backend/core/routes/routeConfigs.mjs +1 -1
- package/dist/backend/core/types/handlerTypes.d.mts +1 -1
- package/dist/backend/core/types/handlerTypes.d.ts +1 -1
- package/dist/backend/core/types/index.d.mts +1 -1
- package/dist/backend/core/types/index.d.ts +1 -1
- package/dist/backend/core/types/routeTypes.d.mts +1 -1
- package/dist/backend/core/types/routeTypes.d.ts +1 -1
- package/dist/backend/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +623 -108
- package/dist/backend/index.mjs +7 -7
- package/dist/backend/{routeTypes-DVwngaBn.d.mts → routeTypes-CIspXIZ4.d.mts} +841 -169
- package/dist/backend/{routeTypes-B94_Mq2J.d.ts → routeTypes-COwIJFNS.d.ts} +841 -169
- package/dist/better-auth/{chunk-4OWECHZC.mjs → chunk-L6XX4ONM.mjs} +1 -1
- package/dist/better-auth/{chunk-ZZGFPTHO.mjs → chunk-QT6R3AXQ.mjs} +588 -101
- package/dist/better-auth/{chunk-JIFD4TSN.mjs → chunk-ZO3KGM5W.mjs} +36 -8
- package/dist/better-auth/client.d.mts +2 -4
- package/dist/better-auth/client.d.ts +2 -4
- package/dist/better-auth/{createAutumnEndpoint-CvXRCg-M.d.ts → createAutumnEndpoint-Clm1sxhQ.d.mts} +4 -8
- package/dist/better-auth/{createAutumnEndpoint-CvXRCg-M.d.mts → createAutumnEndpoint-Clm1sxhQ.d.ts} +4 -8
- package/dist/better-auth/index.d.mts +2 -4
- package/dist/better-auth/index.d.ts +2 -4
- package/dist/better-auth/index.js +623 -108
- package/dist/better-auth/index.mjs +3 -3
- package/dist/better-auth/utils/createAutumnEndpoint.d.mts +2 -4
- package/dist/better-auth/utils/createAutumnEndpoint.d.ts +2 -4
- package/dist/better-auth/utils/createAutumnEndpoint.js +36 -8
- package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.d.mts +2 -4
- package/dist/better-auth/utils/handleBetterAuthRoute.d.ts +2 -4
- package/dist/better-auth/utils/handleBetterAuthRoute.js +623 -108
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
- package/dist/better-auth/utils/index.d.mts +3 -4
- package/dist/better-auth/utils/index.d.ts +3 -4
- package/dist/better-auth/utils/index.js +623 -108
- package/dist/better-auth/utils/index.mjs +3 -3
- package/dist/react/AutumnContext.d.mts +2 -2
- package/dist/react/AutumnContext.d.ts +2 -2
- package/dist/react/client/AutumnClient.d.mts +2 -2
- package/dist/react/client/AutumnClient.d.ts +2 -2
- package/dist/react/client/IAutumnClient.d.mts +2 -2
- package/dist/react/client/IAutumnClient.d.ts +2 -2
- package/dist/react/client/index.d.mts +2 -2
- package/dist/react/client/index.d.ts +2 -2
- package/dist/react/{customer-DB8vL_m7.d.mts → customer-BDxW2bu6.d.mts} +35 -9
- package/dist/react/{customer-CaGJEN5J.d.ts → customer-BPUObmME.d.ts} +35 -9
- package/dist/react/hooks/index.d.mts +2 -2
- package/dist/react/hooks/index.d.ts +2 -2
- package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +1 -1
- package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +1 -1
- package/dist/react/hooks/internal/check/customerToFeatures.d.mts +1 -1
- package/dist/react/hooks/internal/check/customerToFeatures.d.ts +1 -1
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +1 -1
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +1 -1
- package/dist/react/hooks/internal/check/getCreditCost.d.mts +1 -1
- package/dist/react/hooks/internal/check/getCreditCost.d.ts +1 -1
- package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +2 -2
- package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +2 -2
- package/dist/react/hooks/internal/useCustomerActions.d.mts +2 -2
- package/dist/react/hooks/internal/useCustomerActions.d.ts +2 -2
- package/dist/react/hooks/useAggregateEvents.d.mts +1 -1
- package/dist/react/hooks/useAggregateEvents.d.ts +1 -1
- package/dist/react/hooks/useCustomer.d.mts +2 -2
- package/dist/react/hooks/useCustomer.d.ts +2 -2
- package/dist/react/hooks/useEntity.d.mts +1 -1
- package/dist/react/hooks/useEntity.d.ts +1 -1
- package/dist/react/hooks/useListEvents.d.mts +1 -1
- package/dist/react/hooks/useListEvents.d.ts +1 -1
- package/dist/react/hooks/useListPlans.d.mts +1 -1
- package/dist/react/hooks/useListPlans.d.ts +1 -1
- package/dist/react/hooks/useReferrals.d.mts +1 -1
- package/dist/react/hooks/useReferrals.d.ts +1 -1
- package/dist/react/index.d.mts +2 -2
- package/dist/react/index.d.ts +2 -2
- package/dist/react/{params-B5l9vHfZ.d.ts → params-D4cEukOJ.d.ts} +615 -64
- package/dist/react/{params-BVglT8vT.d.mts → params-DzbSUS8O.d.mts} +615 -64
- package/dist/sdk/index.d.mts +980 -173
- package/dist/sdk/index.d.ts +980 -173
- package/dist/sdk/index.js +978 -212
- package/dist/sdk/index.mjs +825 -149
- package/package.json +1 -1
- package/dist/backend/{chunk-S5HPMJ4U.mjs → chunk-55C2WWXQ.mjs} +3 -3
package/dist/sdk/index.js
CHANGED
|
@@ -83,8 +83,8 @@ var SDK_METADATA = {
|
|
|
83
83
|
language: "typescript",
|
|
84
84
|
openapiDocVersion: "2.2.0",
|
|
85
85
|
sdkVersion: "0.10.17",
|
|
86
|
-
genVersion: "2.881.
|
|
87
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.881.
|
|
86
|
+
genVersion: "2.881.16",
|
|
87
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.881.16 2.2.0 @useautumn/sdk"
|
|
88
88
|
};
|
|
89
89
|
|
|
90
90
|
// ../sdk/src/lib/files.ts
|
|
@@ -1817,7 +1817,8 @@ var AttachParams$outboundSchema = z39__namespace.pipe(
|
|
|
1817
1817
|
z39__namespace.lazy(() => AttachCarryOverUsages$outboundSchema)
|
|
1818
1818
|
),
|
|
1819
1819
|
metadata: z39__namespace.optional(z39__namespace.record(z39__namespace.string(), z39__namespace.string())),
|
|
1820
|
-
noBillingChanges: z39__namespace.optional(z39__namespace.boolean())
|
|
1820
|
+
noBillingChanges: z39__namespace.optional(z39__namespace.boolean()),
|
|
1821
|
+
enablePlanImmediately: z39__namespace.optional(z39__namespace.boolean())
|
|
1821
1822
|
}),
|
|
1822
1823
|
z39__namespace.transform((v) => {
|
|
1823
1824
|
return remap(v, {
|
|
@@ -1838,7 +1839,8 @@ var AttachParams$outboundSchema = z39__namespace.pipe(
|
|
|
1838
1839
|
processorSubscriptionId: "processor_subscription_id",
|
|
1839
1840
|
carryOverBalances: "carry_over_balances",
|
|
1840
1841
|
carryOverUsages: "carry_over_usages",
|
|
1841
|
-
noBillingChanges: "no_billing_changes"
|
|
1842
|
+
noBillingChanges: "no_billing_changes",
|
|
1843
|
+
enablePlanImmediately: "enable_plan_immediately"
|
|
1842
1844
|
});
|
|
1843
1845
|
})
|
|
1844
1846
|
);
|
|
@@ -2570,31 +2572,107 @@ function billingUpdateResponseFromJSON(jsonString) {
|
|
|
2570
2572
|
`Failed to parse 'BillingUpdateResponse' from JSON`
|
|
2571
2573
|
);
|
|
2572
2574
|
}
|
|
2573
|
-
var
|
|
2575
|
+
var FlagType2 = {
|
|
2576
|
+
Boolean: "boolean",
|
|
2577
|
+
Metered: "metered",
|
|
2578
|
+
CreditSystem: "credit_system"
|
|
2579
|
+
};
|
|
2580
|
+
var Scenario2 = {
|
|
2581
|
+
UsageLimit: "usage_limit",
|
|
2582
|
+
FeatureFlag: "feature_flag"
|
|
2583
|
+
};
|
|
2584
|
+
var CheckEnv2 = {
|
|
2585
|
+
Sandbox: "sandbox",
|
|
2586
|
+
Live: "live"
|
|
2587
|
+
};
|
|
2588
|
+
var ProductType2 = {
|
|
2589
|
+
Feature: "feature",
|
|
2590
|
+
PricedFeature: "priced_feature",
|
|
2591
|
+
Price: "price"
|
|
2592
|
+
};
|
|
2593
|
+
var FeatureType2 = {
|
|
2594
|
+
SingleUse: "single_use",
|
|
2595
|
+
ContinuousUse: "continuous_use",
|
|
2596
|
+
Boolean: "boolean",
|
|
2597
|
+
Static: "static"
|
|
2598
|
+
};
|
|
2599
|
+
var CheckInterval2 = {
|
|
2600
|
+
Minute: "minute",
|
|
2601
|
+
Hour: "hour",
|
|
2602
|
+
Day: "day",
|
|
2603
|
+
Week: "week",
|
|
2604
|
+
Month: "month",
|
|
2605
|
+
Quarter: "quarter",
|
|
2606
|
+
SemiAnnual: "semi_annual",
|
|
2607
|
+
Year: "year"
|
|
2608
|
+
};
|
|
2609
|
+
var CheckTierBehavior2 = {
|
|
2610
|
+
Graduated: "graduated",
|
|
2611
|
+
Volume: "volume"
|
|
2612
|
+
};
|
|
2613
|
+
var UsageModel2 = {
|
|
2614
|
+
Prepaid: "prepaid",
|
|
2615
|
+
PayPerUse: "pay_per_use"
|
|
2616
|
+
};
|
|
2617
|
+
var ConfigDuration2 = {
|
|
2618
|
+
Month: "month",
|
|
2619
|
+
Forever: "forever"
|
|
2620
|
+
};
|
|
2621
|
+
var CheckOnIncrease2 = {
|
|
2622
|
+
BillImmediately: "bill_immediately",
|
|
2623
|
+
ProrateImmediately: "prorate_immediately",
|
|
2624
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
2625
|
+
BillNextCycle: "bill_next_cycle"
|
|
2626
|
+
};
|
|
2627
|
+
var CheckOnDecrease2 = {
|
|
2628
|
+
Prorate: "prorate",
|
|
2629
|
+
ProrateImmediately: "prorate_immediately",
|
|
2630
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
2631
|
+
None: "none",
|
|
2632
|
+
NoProrations: "no_prorations"
|
|
2633
|
+
};
|
|
2634
|
+
var FreeTrialDuration2 = {
|
|
2635
|
+
Day: "day",
|
|
2636
|
+
Month: "month",
|
|
2637
|
+
Year: "year"
|
|
2638
|
+
};
|
|
2639
|
+
var ProductScenario2 = {
|
|
2640
|
+
Scheduled: "scheduled",
|
|
2641
|
+
Active: "active",
|
|
2642
|
+
New: "new",
|
|
2643
|
+
Renew: "renew",
|
|
2644
|
+
Upgrade: "upgrade",
|
|
2645
|
+
UpdatePrepaidQuantity: "update_prepaid_quantity",
|
|
2646
|
+
Downgrade: "downgrade",
|
|
2647
|
+
Cancel: "cancel",
|
|
2648
|
+
Expired: "expired",
|
|
2649
|
+
PastDue: "past_due"
|
|
2650
|
+
};
|
|
2651
|
+
var FlagType1 = {
|
|
2574
2652
|
Boolean: "boolean",
|
|
2575
2653
|
Metered: "metered",
|
|
2576
2654
|
CreditSystem: "credit_system"
|
|
2577
2655
|
};
|
|
2578
|
-
var
|
|
2656
|
+
var Scenario1 = {
|
|
2579
2657
|
UsageLimit: "usage_limit",
|
|
2580
2658
|
FeatureFlag: "feature_flag"
|
|
2581
2659
|
};
|
|
2582
|
-
var
|
|
2660
|
+
var CheckEnv1 = {
|
|
2583
2661
|
Sandbox: "sandbox",
|
|
2584
2662
|
Live: "live"
|
|
2585
2663
|
};
|
|
2586
|
-
var
|
|
2664
|
+
var ProductType1 = {
|
|
2587
2665
|
Feature: "feature",
|
|
2588
2666
|
PricedFeature: "priced_feature",
|
|
2589
2667
|
Price: "price"
|
|
2590
2668
|
};
|
|
2591
|
-
var
|
|
2669
|
+
var FeatureType1 = {
|
|
2592
2670
|
SingleUse: "single_use",
|
|
2593
2671
|
ContinuousUse: "continuous_use",
|
|
2594
2672
|
Boolean: "boolean",
|
|
2595
2673
|
Static: "static"
|
|
2596
2674
|
};
|
|
2597
|
-
var
|
|
2675
|
+
var CheckInterval1 = {
|
|
2598
2676
|
Minute: "minute",
|
|
2599
2677
|
Hour: "hour",
|
|
2600
2678
|
Day: "day",
|
|
@@ -2604,37 +2682,37 @@ var CheckInterval = {
|
|
|
2604
2682
|
SemiAnnual: "semi_annual",
|
|
2605
2683
|
Year: "year"
|
|
2606
2684
|
};
|
|
2607
|
-
var
|
|
2685
|
+
var CheckTierBehavior1 = {
|
|
2608
2686
|
Graduated: "graduated",
|
|
2609
2687
|
Volume: "volume"
|
|
2610
2688
|
};
|
|
2611
|
-
var
|
|
2689
|
+
var UsageModel1 = {
|
|
2612
2690
|
Prepaid: "prepaid",
|
|
2613
2691
|
PayPerUse: "pay_per_use"
|
|
2614
2692
|
};
|
|
2615
|
-
var
|
|
2693
|
+
var ConfigDuration1 = {
|
|
2616
2694
|
Month: "month",
|
|
2617
2695
|
Forever: "forever"
|
|
2618
2696
|
};
|
|
2619
|
-
var
|
|
2697
|
+
var CheckOnIncrease1 = {
|
|
2620
2698
|
BillImmediately: "bill_immediately",
|
|
2621
2699
|
ProrateImmediately: "prorate_immediately",
|
|
2622
2700
|
ProrateNextCycle: "prorate_next_cycle",
|
|
2623
2701
|
BillNextCycle: "bill_next_cycle"
|
|
2624
2702
|
};
|
|
2625
|
-
var
|
|
2703
|
+
var CheckOnDecrease1 = {
|
|
2626
2704
|
Prorate: "prorate",
|
|
2627
2705
|
ProrateImmediately: "prorate_immediately",
|
|
2628
2706
|
ProrateNextCycle: "prorate_next_cycle",
|
|
2629
2707
|
None: "none",
|
|
2630
2708
|
NoProrations: "no_prorations"
|
|
2631
2709
|
};
|
|
2632
|
-
var
|
|
2710
|
+
var FreeTrialDuration1 = {
|
|
2633
2711
|
Day: "day",
|
|
2634
2712
|
Month: "month",
|
|
2635
2713
|
Year: "year"
|
|
2636
2714
|
};
|
|
2637
|
-
var
|
|
2715
|
+
var ProductScenario1 = {
|
|
2638
2716
|
Scheduled: "scheduled",
|
|
2639
2717
|
Active: "active",
|
|
2640
2718
|
New: "new",
|
|
@@ -2687,8 +2765,345 @@ var CheckParams$outboundSchema = z39__namespace.pipe(
|
|
|
2687
2765
|
function checkParamsToJSON(checkParams) {
|
|
2688
2766
|
return JSON.stringify(CheckParams$outboundSchema.parse(checkParams));
|
|
2689
2767
|
}
|
|
2690
|
-
var
|
|
2691
|
-
var
|
|
2768
|
+
var FlagType2$inboundSchema = inboundSchema(FlagType2);
|
|
2769
|
+
var CheckCreditSchema2$inboundSchema = z39__namespace.pipe(
|
|
2770
|
+
z39__namespace.object({
|
|
2771
|
+
metered_feature_id: string4(),
|
|
2772
|
+
credit_cost: number2()
|
|
2773
|
+
}),
|
|
2774
|
+
z39__namespace.transform((v) => {
|
|
2775
|
+
return remap(v, {
|
|
2776
|
+
"metered_feature_id": "meteredFeatureId",
|
|
2777
|
+
"credit_cost": "creditCost"
|
|
2778
|
+
});
|
|
2779
|
+
})
|
|
2780
|
+
);
|
|
2781
|
+
function checkCreditSchema2FromJSON(jsonString) {
|
|
2782
|
+
return safeParse(
|
|
2783
|
+
jsonString,
|
|
2784
|
+
(x) => CheckCreditSchema2$inboundSchema.parse(JSON.parse(x)),
|
|
2785
|
+
`Failed to parse 'CheckCreditSchema2' from JSON`
|
|
2786
|
+
);
|
|
2787
|
+
}
|
|
2788
|
+
var FlagDisplay2$inboundSchema = z39__namespace.object({
|
|
2789
|
+
singular: z39__namespace.optional(z39__namespace.nullable(string4())),
|
|
2790
|
+
plural: z39__namespace.optional(z39__namespace.nullable(string4()))
|
|
2791
|
+
});
|
|
2792
|
+
function flagDisplay2FromJSON(jsonString) {
|
|
2793
|
+
return safeParse(
|
|
2794
|
+
jsonString,
|
|
2795
|
+
(x) => FlagDisplay2$inboundSchema.parse(JSON.parse(x)),
|
|
2796
|
+
`Failed to parse 'FlagDisplay2' from JSON`
|
|
2797
|
+
);
|
|
2798
|
+
}
|
|
2799
|
+
var CheckFeature2$inboundSchema = z39__namespace.pipe(
|
|
2800
|
+
z39__namespace.object({
|
|
2801
|
+
id: string4(),
|
|
2802
|
+
name: string4(),
|
|
2803
|
+
type: FlagType2$inboundSchema,
|
|
2804
|
+
consumable: boolean2(),
|
|
2805
|
+
event_names: optional2(z39__namespace.array(string4())),
|
|
2806
|
+
credit_schema: optional2(
|
|
2807
|
+
z39__namespace.array(z39__namespace.lazy(() => CheckCreditSchema2$inboundSchema))
|
|
2808
|
+
),
|
|
2809
|
+
display: optional2(z39__namespace.lazy(() => FlagDisplay2$inboundSchema)),
|
|
2810
|
+
archived: boolean2()
|
|
2811
|
+
}),
|
|
2812
|
+
z39__namespace.transform((v) => {
|
|
2813
|
+
return remap(v, {
|
|
2814
|
+
"event_names": "eventNames",
|
|
2815
|
+
"credit_schema": "creditSchema"
|
|
2816
|
+
});
|
|
2817
|
+
})
|
|
2818
|
+
);
|
|
2819
|
+
function checkFeature2FromJSON(jsonString) {
|
|
2820
|
+
return safeParse(
|
|
2821
|
+
jsonString,
|
|
2822
|
+
(x) => CheckFeature2$inboundSchema.parse(JSON.parse(x)),
|
|
2823
|
+
`Failed to parse 'CheckFeature2' from JSON`
|
|
2824
|
+
);
|
|
2825
|
+
}
|
|
2826
|
+
var Flag2$inboundSchema = z39__namespace.pipe(
|
|
2827
|
+
z39__namespace.object({
|
|
2828
|
+
id: string4(),
|
|
2829
|
+
plan_id: nullable(string4()),
|
|
2830
|
+
expires_at: nullable(number2()),
|
|
2831
|
+
feature_id: string4(),
|
|
2832
|
+
feature: optional2(z39__namespace.lazy(() => CheckFeature2$inboundSchema))
|
|
2833
|
+
}),
|
|
2834
|
+
z39__namespace.transform((v) => {
|
|
2835
|
+
return remap(v, {
|
|
2836
|
+
"plan_id": "planId",
|
|
2837
|
+
"expires_at": "expiresAt",
|
|
2838
|
+
"feature_id": "featureId"
|
|
2839
|
+
});
|
|
2840
|
+
})
|
|
2841
|
+
);
|
|
2842
|
+
function flag2FromJSON(jsonString) {
|
|
2843
|
+
return safeParse(
|
|
2844
|
+
jsonString,
|
|
2845
|
+
(x) => Flag2$inboundSchema.parse(JSON.parse(x)),
|
|
2846
|
+
`Failed to parse 'Flag2' from JSON`
|
|
2847
|
+
);
|
|
2848
|
+
}
|
|
2849
|
+
var Scenario2$inboundSchema = inboundSchema(Scenario2);
|
|
2850
|
+
var CheckEnv2$inboundSchema = inboundSchema(CheckEnv2);
|
|
2851
|
+
var ProductType2$inboundSchema = inboundSchema(ProductType2);
|
|
2852
|
+
var FeatureType2$inboundSchema = inboundSchema(FeatureType2);
|
|
2853
|
+
var IncludedUsage2$inboundSchema = smartUnion([number2(), string4()]);
|
|
2854
|
+
function includedUsage2FromJSON(jsonString) {
|
|
2855
|
+
return safeParse(
|
|
2856
|
+
jsonString,
|
|
2857
|
+
(x) => IncludedUsage2$inboundSchema.parse(JSON.parse(x)),
|
|
2858
|
+
`Failed to parse 'IncludedUsage2' from JSON`
|
|
2859
|
+
);
|
|
2860
|
+
}
|
|
2861
|
+
var CheckInterval2$inboundSchema = inboundSchema(CheckInterval2);
|
|
2862
|
+
var CheckTierBehavior2$inboundSchema = inboundSchema(CheckTierBehavior2);
|
|
2863
|
+
var UsageModel2$inboundSchema = inboundSchema(UsageModel2);
|
|
2864
|
+
var ProductDisplay2$inboundSchema = z39__namespace.pipe(
|
|
2865
|
+
z39__namespace.object({
|
|
2866
|
+
primary_text: string4(),
|
|
2867
|
+
secondary_text: z39__namespace.optional(z39__namespace.nullable(string4()))
|
|
2868
|
+
}),
|
|
2869
|
+
z39__namespace.transform((v) => {
|
|
2870
|
+
return remap(v, {
|
|
2871
|
+
"primary_text": "primaryText",
|
|
2872
|
+
"secondary_text": "secondaryText"
|
|
2873
|
+
});
|
|
2874
|
+
})
|
|
2875
|
+
);
|
|
2876
|
+
function productDisplay2FromJSON(jsonString) {
|
|
2877
|
+
return safeParse(
|
|
2878
|
+
jsonString,
|
|
2879
|
+
(x) => ProductDisplay2$inboundSchema.parse(JSON.parse(x)),
|
|
2880
|
+
`Failed to parse 'ProductDisplay2' from JSON`
|
|
2881
|
+
);
|
|
2882
|
+
}
|
|
2883
|
+
var ConfigDuration2$inboundSchema = inboundSchema(ConfigDuration2);
|
|
2884
|
+
var CheckRollover2$inboundSchema = z39__namespace.pipe(
|
|
2885
|
+
z39__namespace.object({
|
|
2886
|
+
max: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2887
|
+
max_percentage: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2888
|
+
duration: z39__namespace._default(ConfigDuration2$inboundSchema, "month"),
|
|
2889
|
+
length: number2()
|
|
2890
|
+
}),
|
|
2891
|
+
z39__namespace.transform((v) => {
|
|
2892
|
+
return remap(v, {
|
|
2893
|
+
"max_percentage": "maxPercentage"
|
|
2894
|
+
});
|
|
2895
|
+
})
|
|
2896
|
+
);
|
|
2897
|
+
function checkRollover2FromJSON(jsonString) {
|
|
2898
|
+
return safeParse(
|
|
2899
|
+
jsonString,
|
|
2900
|
+
(x) => CheckRollover2$inboundSchema.parse(JSON.parse(x)),
|
|
2901
|
+
`Failed to parse 'CheckRollover2' from JSON`
|
|
2902
|
+
);
|
|
2903
|
+
}
|
|
2904
|
+
var CheckOnIncrease2$inboundSchema = inboundSchema(CheckOnIncrease2);
|
|
2905
|
+
var CheckOnDecrease2$inboundSchema = inboundSchema(CheckOnDecrease2);
|
|
2906
|
+
var CheckConfig2$inboundSchema = z39__namespace.pipe(
|
|
2907
|
+
z39__namespace.object({
|
|
2908
|
+
rollover: z39__namespace.optional(
|
|
2909
|
+
z39__namespace.nullable(z39__namespace.lazy(() => CheckRollover2$inboundSchema))
|
|
2910
|
+
),
|
|
2911
|
+
on_increase: z39__namespace.optional(z39__namespace.nullable(CheckOnIncrease2$inboundSchema)),
|
|
2912
|
+
on_decrease: z39__namespace.optional(z39__namespace.nullable(CheckOnDecrease2$inboundSchema))
|
|
2913
|
+
}),
|
|
2914
|
+
z39__namespace.transform((v) => {
|
|
2915
|
+
return remap(v, {
|
|
2916
|
+
"on_increase": "onIncrease",
|
|
2917
|
+
"on_decrease": "onDecrease"
|
|
2918
|
+
});
|
|
2919
|
+
})
|
|
2920
|
+
);
|
|
2921
|
+
function checkConfig2FromJSON(jsonString) {
|
|
2922
|
+
return safeParse(
|
|
2923
|
+
jsonString,
|
|
2924
|
+
(x) => CheckConfig2$inboundSchema.parse(JSON.parse(x)),
|
|
2925
|
+
`Failed to parse 'CheckConfig2' from JSON`
|
|
2926
|
+
);
|
|
2927
|
+
}
|
|
2928
|
+
var CheckItem2$inboundSchema = z39__namespace.pipe(
|
|
2929
|
+
z39__namespace.object({
|
|
2930
|
+
type: z39__namespace.optional(z39__namespace.nullable(ProductType2$inboundSchema)),
|
|
2931
|
+
feature_id: z39__namespace.optional(z39__namespace.nullable(string4())),
|
|
2932
|
+
feature_type: z39__namespace.optional(z39__namespace.nullable(FeatureType2$inboundSchema)),
|
|
2933
|
+
included_usage: z39__namespace.optional(
|
|
2934
|
+
z39__namespace.nullable(smartUnion([number2(), string4()]))
|
|
2935
|
+
),
|
|
2936
|
+
interval: z39__namespace.optional(z39__namespace.nullable(CheckInterval2$inboundSchema)),
|
|
2937
|
+
interval_count: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2938
|
+
price: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2939
|
+
tiers: z39__namespace.optional(z39__namespace.nullable(z39__namespace.array(nullable(z39__namespace.any())))),
|
|
2940
|
+
tier_behavior: z39__namespace.optional(z39__namespace.nullable(CheckTierBehavior2$inboundSchema)),
|
|
2941
|
+
usage_model: z39__namespace.optional(z39__namespace.nullable(UsageModel2$inboundSchema)),
|
|
2942
|
+
billing_units: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2943
|
+
reset_usage_when_enabled: z39__namespace.optional(z39__namespace.nullable(boolean2())),
|
|
2944
|
+
entity_feature_id: z39__namespace.optional(z39__namespace.nullable(string4())),
|
|
2945
|
+
display: z39__namespace.optional(
|
|
2946
|
+
z39__namespace.nullable(z39__namespace.lazy(() => ProductDisplay2$inboundSchema))
|
|
2947
|
+
),
|
|
2948
|
+
quantity: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2949
|
+
next_cycle_quantity: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2950
|
+
config: z39__namespace.optional(z39__namespace.nullable(z39__namespace.lazy(() => CheckConfig2$inboundSchema)))
|
|
2951
|
+
}),
|
|
2952
|
+
z39__namespace.transform((v) => {
|
|
2953
|
+
return remap(v, {
|
|
2954
|
+
"feature_id": "featureId",
|
|
2955
|
+
"feature_type": "featureType",
|
|
2956
|
+
"included_usage": "includedUsage",
|
|
2957
|
+
"interval_count": "intervalCount",
|
|
2958
|
+
"tier_behavior": "tierBehavior",
|
|
2959
|
+
"usage_model": "usageModel",
|
|
2960
|
+
"billing_units": "billingUnits",
|
|
2961
|
+
"reset_usage_when_enabled": "resetUsageWhenEnabled",
|
|
2962
|
+
"entity_feature_id": "entityFeatureId",
|
|
2963
|
+
"next_cycle_quantity": "nextCycleQuantity"
|
|
2964
|
+
});
|
|
2965
|
+
})
|
|
2966
|
+
);
|
|
2967
|
+
function checkItem2FromJSON(jsonString) {
|
|
2968
|
+
return safeParse(
|
|
2969
|
+
jsonString,
|
|
2970
|
+
(x) => CheckItem2$inboundSchema.parse(JSON.parse(x)),
|
|
2971
|
+
`Failed to parse 'CheckItem2' from JSON`
|
|
2972
|
+
);
|
|
2973
|
+
}
|
|
2974
|
+
var FreeTrialDuration2$inboundSchema = inboundSchema(FreeTrialDuration2);
|
|
2975
|
+
var CheckFreeTrial2$inboundSchema = z39__namespace.pipe(
|
|
2976
|
+
z39__namespace.object({
|
|
2977
|
+
duration: FreeTrialDuration2$inboundSchema,
|
|
2978
|
+
length: number2(),
|
|
2979
|
+
unique_fingerprint: boolean2(),
|
|
2980
|
+
card_required: boolean2(),
|
|
2981
|
+
trial_available: z39__namespace.nullable(z39__namespace._default(boolean2(), true))
|
|
2982
|
+
}),
|
|
2983
|
+
z39__namespace.transform((v) => {
|
|
2984
|
+
return remap(v, {
|
|
2985
|
+
"unique_fingerprint": "uniqueFingerprint",
|
|
2986
|
+
"card_required": "cardRequired",
|
|
2987
|
+
"trial_available": "trialAvailable"
|
|
2988
|
+
});
|
|
2989
|
+
})
|
|
2990
|
+
);
|
|
2991
|
+
function checkFreeTrial2FromJSON(jsonString) {
|
|
2992
|
+
return safeParse(
|
|
2993
|
+
jsonString,
|
|
2994
|
+
(x) => CheckFreeTrial2$inboundSchema.parse(JSON.parse(x)),
|
|
2995
|
+
`Failed to parse 'CheckFreeTrial2' from JSON`
|
|
2996
|
+
);
|
|
2997
|
+
}
|
|
2998
|
+
var ProductScenario2$inboundSchema = inboundSchema(ProductScenario2);
|
|
2999
|
+
var Properties2$inboundSchema = z39__namespace.pipe(
|
|
3000
|
+
z39__namespace.object({
|
|
3001
|
+
is_free: boolean2(),
|
|
3002
|
+
is_one_off: boolean2(),
|
|
3003
|
+
interval_group: z39__namespace.optional(z39__namespace.nullable(string4())),
|
|
3004
|
+
has_trial: z39__namespace.optional(z39__namespace.nullable(boolean2())),
|
|
3005
|
+
updateable: z39__namespace.optional(z39__namespace.nullable(boolean2()))
|
|
3006
|
+
}),
|
|
3007
|
+
z39__namespace.transform((v) => {
|
|
3008
|
+
return remap(v, {
|
|
3009
|
+
"is_free": "isFree",
|
|
3010
|
+
"is_one_off": "isOneOff",
|
|
3011
|
+
"interval_group": "intervalGroup",
|
|
3012
|
+
"has_trial": "hasTrial"
|
|
3013
|
+
});
|
|
3014
|
+
})
|
|
3015
|
+
);
|
|
3016
|
+
function properties2FromJSON(jsonString) {
|
|
3017
|
+
return safeParse(
|
|
3018
|
+
jsonString,
|
|
3019
|
+
(x) => Properties2$inboundSchema.parse(JSON.parse(x)),
|
|
3020
|
+
`Failed to parse 'Properties2' from JSON`
|
|
3021
|
+
);
|
|
3022
|
+
}
|
|
3023
|
+
var Product2$inboundSchema = z39__namespace.pipe(
|
|
3024
|
+
z39__namespace.object({
|
|
3025
|
+
id: string4(),
|
|
3026
|
+
name: string4(),
|
|
3027
|
+
group: nullable(string4()),
|
|
3028
|
+
env: CheckEnv2$inboundSchema,
|
|
3029
|
+
is_add_on: boolean2(),
|
|
3030
|
+
is_default: boolean2(),
|
|
3031
|
+
archived: boolean2(),
|
|
3032
|
+
version: number2(),
|
|
3033
|
+
created_at: number2(),
|
|
3034
|
+
items: z39__namespace.array(z39__namespace.lazy(() => CheckItem2$inboundSchema)),
|
|
3035
|
+
free_trial: nullable(z39__namespace.lazy(() => CheckFreeTrial2$inboundSchema)),
|
|
3036
|
+
base_variant_id: nullable(string4()),
|
|
3037
|
+
scenario: optional2(ProductScenario2$inboundSchema),
|
|
3038
|
+
properties: optional2(z39__namespace.lazy(() => Properties2$inboundSchema))
|
|
3039
|
+
}),
|
|
3040
|
+
z39__namespace.transform((v) => {
|
|
3041
|
+
return remap(v, {
|
|
3042
|
+
"is_add_on": "isAddOn",
|
|
3043
|
+
"is_default": "isDefault",
|
|
3044
|
+
"created_at": "createdAt",
|
|
3045
|
+
"free_trial": "freeTrial",
|
|
3046
|
+
"base_variant_id": "baseVariantId"
|
|
3047
|
+
});
|
|
3048
|
+
})
|
|
3049
|
+
);
|
|
3050
|
+
function product2FromJSON(jsonString) {
|
|
3051
|
+
return safeParse(
|
|
3052
|
+
jsonString,
|
|
3053
|
+
(x) => Product2$inboundSchema.parse(JSON.parse(x)),
|
|
3054
|
+
`Failed to parse 'Product2' from JSON`
|
|
3055
|
+
);
|
|
3056
|
+
}
|
|
3057
|
+
var Preview2$inboundSchema = z39__namespace.pipe(
|
|
3058
|
+
z39__namespace.object({
|
|
3059
|
+
scenario: Scenario2$inboundSchema,
|
|
3060
|
+
title: string4(),
|
|
3061
|
+
message: string4(),
|
|
3062
|
+
feature_id: string4(),
|
|
3063
|
+
feature_name: string4(),
|
|
3064
|
+
products: z39__namespace.array(z39__namespace.lazy(() => Product2$inboundSchema))
|
|
3065
|
+
}),
|
|
3066
|
+
z39__namespace.transform((v) => {
|
|
3067
|
+
return remap(v, {
|
|
3068
|
+
"feature_id": "featureId",
|
|
3069
|
+
"feature_name": "featureName"
|
|
3070
|
+
});
|
|
3071
|
+
})
|
|
3072
|
+
);
|
|
3073
|
+
function preview2FromJSON(jsonString) {
|
|
3074
|
+
return safeParse(
|
|
3075
|
+
jsonString,
|
|
3076
|
+
(x) => Preview2$inboundSchema.parse(JSON.parse(x)),
|
|
3077
|
+
`Failed to parse 'Preview2' from JSON`
|
|
3078
|
+
);
|
|
3079
|
+
}
|
|
3080
|
+
var CheckResponseBody2$inboundSchema = z39__namespace.pipe(
|
|
3081
|
+
z39__namespace.object({
|
|
3082
|
+
allowed: boolean2(),
|
|
3083
|
+
customer_id: string4(),
|
|
3084
|
+
entity_id: z39__namespace.optional(z39__namespace.nullable(string4())),
|
|
3085
|
+
required_balance: optional2(number2()),
|
|
3086
|
+
balance: nullable(Balance$inboundSchema),
|
|
3087
|
+
flag: nullable(z39__namespace.lazy(() => Flag2$inboundSchema)),
|
|
3088
|
+
preview: optional2(z39__namespace.lazy(() => Preview2$inboundSchema))
|
|
3089
|
+
}),
|
|
3090
|
+
z39__namespace.transform((v) => {
|
|
3091
|
+
return remap(v, {
|
|
3092
|
+
"customer_id": "customerId",
|
|
3093
|
+
"entity_id": "entityId",
|
|
3094
|
+
"required_balance": "requiredBalance"
|
|
3095
|
+
});
|
|
3096
|
+
})
|
|
3097
|
+
);
|
|
3098
|
+
function checkResponseBody2FromJSON(jsonString) {
|
|
3099
|
+
return safeParse(
|
|
3100
|
+
jsonString,
|
|
3101
|
+
(x) => CheckResponseBody2$inboundSchema.parse(JSON.parse(x)),
|
|
3102
|
+
`Failed to parse 'CheckResponseBody2' from JSON`
|
|
3103
|
+
);
|
|
3104
|
+
}
|
|
3105
|
+
var FlagType1$inboundSchema = inboundSchema(FlagType1);
|
|
3106
|
+
var CheckCreditSchema1$inboundSchema = z39__namespace.pipe(
|
|
2692
3107
|
z39__namespace.object({
|
|
2693
3108
|
metered_feature_id: string4(),
|
|
2694
3109
|
credit_cost: number2()
|
|
@@ -2700,35 +3115,35 @@ var CheckCreditSchema$inboundSchema = z39__namespace.pipe(
|
|
|
2700
3115
|
});
|
|
2701
3116
|
})
|
|
2702
3117
|
);
|
|
2703
|
-
function
|
|
3118
|
+
function checkCreditSchema1FromJSON(jsonString) {
|
|
2704
3119
|
return safeParse(
|
|
2705
3120
|
jsonString,
|
|
2706
|
-
(x) =>
|
|
2707
|
-
`Failed to parse '
|
|
3121
|
+
(x) => CheckCreditSchema1$inboundSchema.parse(JSON.parse(x)),
|
|
3122
|
+
`Failed to parse 'CheckCreditSchema1' from JSON`
|
|
2708
3123
|
);
|
|
2709
3124
|
}
|
|
2710
|
-
var
|
|
3125
|
+
var FlagDisplay1$inboundSchema = z39__namespace.object({
|
|
2711
3126
|
singular: z39__namespace.optional(z39__namespace.nullable(string4())),
|
|
2712
3127
|
plural: z39__namespace.optional(z39__namespace.nullable(string4()))
|
|
2713
3128
|
});
|
|
2714
|
-
function
|
|
3129
|
+
function flagDisplay1FromJSON(jsonString) {
|
|
2715
3130
|
return safeParse(
|
|
2716
3131
|
jsonString,
|
|
2717
|
-
(x) =>
|
|
2718
|
-
`Failed to parse '
|
|
3132
|
+
(x) => FlagDisplay1$inboundSchema.parse(JSON.parse(x)),
|
|
3133
|
+
`Failed to parse 'FlagDisplay1' from JSON`
|
|
2719
3134
|
);
|
|
2720
3135
|
}
|
|
2721
|
-
var
|
|
3136
|
+
var CheckFeature1$inboundSchema = z39__namespace.pipe(
|
|
2722
3137
|
z39__namespace.object({
|
|
2723
3138
|
id: string4(),
|
|
2724
3139
|
name: string4(),
|
|
2725
|
-
type:
|
|
3140
|
+
type: FlagType1$inboundSchema,
|
|
2726
3141
|
consumable: boolean2(),
|
|
2727
3142
|
event_names: optional2(z39__namespace.array(string4())),
|
|
2728
3143
|
credit_schema: optional2(
|
|
2729
|
-
z39__namespace.array(z39__namespace.lazy(() =>
|
|
3144
|
+
z39__namespace.array(z39__namespace.lazy(() => CheckCreditSchema1$inboundSchema))
|
|
2730
3145
|
),
|
|
2731
|
-
display: optional2(z39__namespace.lazy(() =>
|
|
3146
|
+
display: optional2(z39__namespace.lazy(() => FlagDisplay1$inboundSchema)),
|
|
2732
3147
|
archived: boolean2()
|
|
2733
3148
|
}),
|
|
2734
3149
|
z39__namespace.transform((v) => {
|
|
@@ -2738,20 +3153,20 @@ var CheckFeature$inboundSchema = z39__namespace.pipe(
|
|
|
2738
3153
|
});
|
|
2739
3154
|
})
|
|
2740
3155
|
);
|
|
2741
|
-
function
|
|
3156
|
+
function checkFeature1FromJSON(jsonString) {
|
|
2742
3157
|
return safeParse(
|
|
2743
3158
|
jsonString,
|
|
2744
|
-
(x) =>
|
|
2745
|
-
`Failed to parse '
|
|
3159
|
+
(x) => CheckFeature1$inboundSchema.parse(JSON.parse(x)),
|
|
3160
|
+
`Failed to parse 'CheckFeature1' from JSON`
|
|
2746
3161
|
);
|
|
2747
3162
|
}
|
|
2748
|
-
var
|
|
3163
|
+
var Flag1$inboundSchema = z39__namespace.pipe(
|
|
2749
3164
|
z39__namespace.object({
|
|
2750
3165
|
id: string4(),
|
|
2751
3166
|
plan_id: nullable(string4()),
|
|
2752
3167
|
expires_at: nullable(number2()),
|
|
2753
3168
|
feature_id: string4(),
|
|
2754
|
-
feature: optional2(z39__namespace.lazy(() =>
|
|
3169
|
+
feature: optional2(z39__namespace.lazy(() => CheckFeature1$inboundSchema))
|
|
2755
3170
|
}),
|
|
2756
3171
|
z39__namespace.transform((v) => {
|
|
2757
3172
|
return remap(v, {
|
|
@@ -2761,29 +3176,29 @@ var Flag$inboundSchema = z39__namespace.pipe(
|
|
|
2761
3176
|
});
|
|
2762
3177
|
})
|
|
2763
3178
|
);
|
|
2764
|
-
function
|
|
3179
|
+
function flag1FromJSON(jsonString) {
|
|
2765
3180
|
return safeParse(
|
|
2766
3181
|
jsonString,
|
|
2767
|
-
(x) =>
|
|
2768
|
-
`Failed to parse '
|
|
3182
|
+
(x) => Flag1$inboundSchema.parse(JSON.parse(x)),
|
|
3183
|
+
`Failed to parse 'Flag1' from JSON`
|
|
2769
3184
|
);
|
|
2770
3185
|
}
|
|
2771
|
-
var
|
|
2772
|
-
var
|
|
2773
|
-
var
|
|
2774
|
-
var
|
|
2775
|
-
var
|
|
2776
|
-
function
|
|
3186
|
+
var Scenario1$inboundSchema = inboundSchema(Scenario1);
|
|
3187
|
+
var CheckEnv1$inboundSchema = inboundSchema(CheckEnv1);
|
|
3188
|
+
var ProductType1$inboundSchema = inboundSchema(ProductType1);
|
|
3189
|
+
var FeatureType1$inboundSchema = inboundSchema(FeatureType1);
|
|
3190
|
+
var IncludedUsage1$inboundSchema = smartUnion([number2(), string4()]);
|
|
3191
|
+
function includedUsage1FromJSON(jsonString) {
|
|
2777
3192
|
return safeParse(
|
|
2778
3193
|
jsonString,
|
|
2779
|
-
(x) =>
|
|
2780
|
-
`Failed to parse '
|
|
3194
|
+
(x) => IncludedUsage1$inboundSchema.parse(JSON.parse(x)),
|
|
3195
|
+
`Failed to parse 'IncludedUsage1' from JSON`
|
|
2781
3196
|
);
|
|
2782
3197
|
}
|
|
2783
|
-
var
|
|
2784
|
-
var
|
|
2785
|
-
var
|
|
2786
|
-
var
|
|
3198
|
+
var CheckInterval1$inboundSchema = inboundSchema(CheckInterval1);
|
|
3199
|
+
var CheckTierBehavior1$inboundSchema = inboundSchema(CheckTierBehavior1);
|
|
3200
|
+
var UsageModel1$inboundSchema = inboundSchema(UsageModel1);
|
|
3201
|
+
var ProductDisplay1$inboundSchema = z39__namespace.pipe(
|
|
2787
3202
|
z39__namespace.object({
|
|
2788
3203
|
primary_text: string4(),
|
|
2789
3204
|
secondary_text: z39__namespace.optional(z39__namespace.nullable(string4()))
|
|
@@ -2795,19 +3210,19 @@ var ProductDisplay$inboundSchema = z39__namespace.pipe(
|
|
|
2795
3210
|
});
|
|
2796
3211
|
})
|
|
2797
3212
|
);
|
|
2798
|
-
function
|
|
3213
|
+
function productDisplay1FromJSON(jsonString) {
|
|
2799
3214
|
return safeParse(
|
|
2800
3215
|
jsonString,
|
|
2801
|
-
(x) =>
|
|
2802
|
-
`Failed to parse '
|
|
3216
|
+
(x) => ProductDisplay1$inboundSchema.parse(JSON.parse(x)),
|
|
3217
|
+
`Failed to parse 'ProductDisplay1' from JSON`
|
|
2803
3218
|
);
|
|
2804
3219
|
}
|
|
2805
|
-
var
|
|
2806
|
-
var
|
|
3220
|
+
var ConfigDuration1$inboundSchema = inboundSchema(ConfigDuration1);
|
|
3221
|
+
var CheckRollover1$inboundSchema = z39__namespace.pipe(
|
|
2807
3222
|
z39__namespace.object({
|
|
2808
3223
|
max: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2809
3224
|
max_percentage: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2810
|
-
duration: z39__namespace._default(
|
|
3225
|
+
duration: z39__namespace._default(ConfigDuration1$inboundSchema, "month"),
|
|
2811
3226
|
length: number2()
|
|
2812
3227
|
}),
|
|
2813
3228
|
z39__namespace.transform((v) => {
|
|
@@ -2816,22 +3231,22 @@ var CheckRollover$inboundSchema = z39__namespace.pipe(
|
|
|
2816
3231
|
});
|
|
2817
3232
|
})
|
|
2818
3233
|
);
|
|
2819
|
-
function
|
|
3234
|
+
function checkRollover1FromJSON(jsonString) {
|
|
2820
3235
|
return safeParse(
|
|
2821
3236
|
jsonString,
|
|
2822
|
-
(x) =>
|
|
2823
|
-
`Failed to parse '
|
|
3237
|
+
(x) => CheckRollover1$inboundSchema.parse(JSON.parse(x)),
|
|
3238
|
+
`Failed to parse 'CheckRollover1' from JSON`
|
|
2824
3239
|
);
|
|
2825
3240
|
}
|
|
2826
|
-
var
|
|
2827
|
-
var
|
|
2828
|
-
var
|
|
3241
|
+
var CheckOnIncrease1$inboundSchema = inboundSchema(CheckOnIncrease1);
|
|
3242
|
+
var CheckOnDecrease1$inboundSchema = inboundSchema(CheckOnDecrease1);
|
|
3243
|
+
var CheckConfig1$inboundSchema = z39__namespace.pipe(
|
|
2829
3244
|
z39__namespace.object({
|
|
2830
3245
|
rollover: z39__namespace.optional(
|
|
2831
|
-
z39__namespace.nullable(z39__namespace.lazy(() =>
|
|
3246
|
+
z39__namespace.nullable(z39__namespace.lazy(() => CheckRollover1$inboundSchema))
|
|
2832
3247
|
),
|
|
2833
|
-
on_increase: z39__namespace.optional(z39__namespace.nullable(
|
|
2834
|
-
on_decrease: z39__namespace.optional(z39__namespace.nullable(
|
|
3248
|
+
on_increase: z39__namespace.optional(z39__namespace.nullable(CheckOnIncrease1$inboundSchema)),
|
|
3249
|
+
on_decrease: z39__namespace.optional(z39__namespace.nullable(CheckOnDecrease1$inboundSchema))
|
|
2835
3250
|
}),
|
|
2836
3251
|
z39__namespace.transform((v) => {
|
|
2837
3252
|
return remap(v, {
|
|
@@ -2840,36 +3255,36 @@ var CheckConfig$inboundSchema = z39__namespace.pipe(
|
|
|
2840
3255
|
});
|
|
2841
3256
|
})
|
|
2842
3257
|
);
|
|
2843
|
-
function
|
|
3258
|
+
function checkConfig1FromJSON(jsonString) {
|
|
2844
3259
|
return safeParse(
|
|
2845
3260
|
jsonString,
|
|
2846
|
-
(x) =>
|
|
2847
|
-
`Failed to parse '
|
|
3261
|
+
(x) => CheckConfig1$inboundSchema.parse(JSON.parse(x)),
|
|
3262
|
+
`Failed to parse 'CheckConfig1' from JSON`
|
|
2848
3263
|
);
|
|
2849
3264
|
}
|
|
2850
|
-
var
|
|
3265
|
+
var CheckItem1$inboundSchema = z39__namespace.pipe(
|
|
2851
3266
|
z39__namespace.object({
|
|
2852
|
-
type: z39__namespace.optional(z39__namespace.nullable(
|
|
3267
|
+
type: z39__namespace.optional(z39__namespace.nullable(ProductType1$inboundSchema)),
|
|
2853
3268
|
feature_id: z39__namespace.optional(z39__namespace.nullable(string4())),
|
|
2854
|
-
feature_type: z39__namespace.optional(z39__namespace.nullable(
|
|
3269
|
+
feature_type: z39__namespace.optional(z39__namespace.nullable(FeatureType1$inboundSchema)),
|
|
2855
3270
|
included_usage: z39__namespace.optional(
|
|
2856
3271
|
z39__namespace.nullable(smartUnion([number2(), string4()]))
|
|
2857
3272
|
),
|
|
2858
|
-
interval: z39__namespace.optional(z39__namespace.nullable(
|
|
3273
|
+
interval: z39__namespace.optional(z39__namespace.nullable(CheckInterval1$inboundSchema)),
|
|
2859
3274
|
interval_count: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2860
3275
|
price: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2861
3276
|
tiers: z39__namespace.optional(z39__namespace.nullable(z39__namespace.array(nullable(z39__namespace.any())))),
|
|
2862
|
-
tier_behavior: z39__namespace.optional(z39__namespace.nullable(
|
|
2863
|
-
usage_model: z39__namespace.optional(z39__namespace.nullable(
|
|
3277
|
+
tier_behavior: z39__namespace.optional(z39__namespace.nullable(CheckTierBehavior1$inboundSchema)),
|
|
3278
|
+
usage_model: z39__namespace.optional(z39__namespace.nullable(UsageModel1$inboundSchema)),
|
|
2864
3279
|
billing_units: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2865
3280
|
reset_usage_when_enabled: z39__namespace.optional(z39__namespace.nullable(boolean2())),
|
|
2866
3281
|
entity_feature_id: z39__namespace.optional(z39__namespace.nullable(string4())),
|
|
2867
3282
|
display: z39__namespace.optional(
|
|
2868
|
-
z39__namespace.nullable(z39__namespace.lazy(() =>
|
|
3283
|
+
z39__namespace.nullable(z39__namespace.lazy(() => ProductDisplay1$inboundSchema))
|
|
2869
3284
|
),
|
|
2870
3285
|
quantity: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2871
3286
|
next_cycle_quantity: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2872
|
-
config: z39__namespace.optional(z39__namespace.nullable(z39__namespace.lazy(() =>
|
|
3287
|
+
config: z39__namespace.optional(z39__namespace.nullable(z39__namespace.lazy(() => CheckConfig1$inboundSchema)))
|
|
2873
3288
|
}),
|
|
2874
3289
|
z39__namespace.transform((v) => {
|
|
2875
3290
|
return remap(v, {
|
|
@@ -2886,17 +3301,17 @@ var CheckItem$inboundSchema = z39__namespace.pipe(
|
|
|
2886
3301
|
});
|
|
2887
3302
|
})
|
|
2888
3303
|
);
|
|
2889
|
-
function
|
|
3304
|
+
function checkItem1FromJSON(jsonString) {
|
|
2890
3305
|
return safeParse(
|
|
2891
3306
|
jsonString,
|
|
2892
|
-
(x) =>
|
|
2893
|
-
`Failed to parse '
|
|
3307
|
+
(x) => CheckItem1$inboundSchema.parse(JSON.parse(x)),
|
|
3308
|
+
`Failed to parse 'CheckItem1' from JSON`
|
|
2894
3309
|
);
|
|
2895
3310
|
}
|
|
2896
|
-
var
|
|
2897
|
-
var
|
|
3311
|
+
var FreeTrialDuration1$inboundSchema = inboundSchema(FreeTrialDuration1);
|
|
3312
|
+
var CheckFreeTrial1$inboundSchema = z39__namespace.pipe(
|
|
2898
3313
|
z39__namespace.object({
|
|
2899
|
-
duration:
|
|
3314
|
+
duration: FreeTrialDuration1$inboundSchema,
|
|
2900
3315
|
length: number2(),
|
|
2901
3316
|
unique_fingerprint: boolean2(),
|
|
2902
3317
|
card_required: boolean2(),
|
|
@@ -2910,15 +3325,15 @@ var CheckFreeTrial$inboundSchema = z39__namespace.pipe(
|
|
|
2910
3325
|
});
|
|
2911
3326
|
})
|
|
2912
3327
|
);
|
|
2913
|
-
function
|
|
3328
|
+
function checkFreeTrial1FromJSON(jsonString) {
|
|
2914
3329
|
return safeParse(
|
|
2915
3330
|
jsonString,
|
|
2916
|
-
(x) =>
|
|
2917
|
-
`Failed to parse '
|
|
3331
|
+
(x) => CheckFreeTrial1$inboundSchema.parse(JSON.parse(x)),
|
|
3332
|
+
`Failed to parse 'CheckFreeTrial1' from JSON`
|
|
2918
3333
|
);
|
|
2919
3334
|
}
|
|
2920
|
-
var
|
|
2921
|
-
var
|
|
3335
|
+
var ProductScenario1$inboundSchema = inboundSchema(ProductScenario1);
|
|
3336
|
+
var Properties1$inboundSchema = z39__namespace.pipe(
|
|
2922
3337
|
z39__namespace.object({
|
|
2923
3338
|
is_free: boolean2(),
|
|
2924
3339
|
is_one_off: boolean2(),
|
|
@@ -2935,29 +3350,29 @@ var Properties$inboundSchema = z39__namespace.pipe(
|
|
|
2935
3350
|
});
|
|
2936
3351
|
})
|
|
2937
3352
|
);
|
|
2938
|
-
function
|
|
3353
|
+
function properties1FromJSON(jsonString) {
|
|
2939
3354
|
return safeParse(
|
|
2940
3355
|
jsonString,
|
|
2941
|
-
(x) =>
|
|
2942
|
-
`Failed to parse '
|
|
3356
|
+
(x) => Properties1$inboundSchema.parse(JSON.parse(x)),
|
|
3357
|
+
`Failed to parse 'Properties1' from JSON`
|
|
2943
3358
|
);
|
|
2944
3359
|
}
|
|
2945
|
-
var
|
|
3360
|
+
var Product1$inboundSchema = z39__namespace.pipe(
|
|
2946
3361
|
z39__namespace.object({
|
|
2947
3362
|
id: string4(),
|
|
2948
3363
|
name: string4(),
|
|
2949
3364
|
group: nullable(string4()),
|
|
2950
|
-
env:
|
|
3365
|
+
env: CheckEnv1$inboundSchema,
|
|
2951
3366
|
is_add_on: boolean2(),
|
|
2952
3367
|
is_default: boolean2(),
|
|
2953
3368
|
archived: boolean2(),
|
|
2954
3369
|
version: number2(),
|
|
2955
3370
|
created_at: number2(),
|
|
2956
|
-
items: z39__namespace.array(z39__namespace.lazy(() =>
|
|
2957
|
-
free_trial: nullable(z39__namespace.lazy(() =>
|
|
3371
|
+
items: z39__namespace.array(z39__namespace.lazy(() => CheckItem1$inboundSchema)),
|
|
3372
|
+
free_trial: nullable(z39__namespace.lazy(() => CheckFreeTrial1$inboundSchema)),
|
|
2958
3373
|
base_variant_id: nullable(string4()),
|
|
2959
|
-
scenario: optional2(
|
|
2960
|
-
properties: optional2(z39__namespace.lazy(() =>
|
|
3374
|
+
scenario: optional2(ProductScenario1$inboundSchema),
|
|
3375
|
+
properties: optional2(z39__namespace.lazy(() => Properties1$inboundSchema))
|
|
2961
3376
|
}),
|
|
2962
3377
|
z39__namespace.transform((v) => {
|
|
2963
3378
|
return remap(v, {
|
|
@@ -2969,21 +3384,21 @@ var Product$inboundSchema = z39__namespace.pipe(
|
|
|
2969
3384
|
});
|
|
2970
3385
|
})
|
|
2971
3386
|
);
|
|
2972
|
-
function
|
|
3387
|
+
function product1FromJSON(jsonString) {
|
|
2973
3388
|
return safeParse(
|
|
2974
3389
|
jsonString,
|
|
2975
|
-
(x) =>
|
|
2976
|
-
`Failed to parse '
|
|
3390
|
+
(x) => Product1$inboundSchema.parse(JSON.parse(x)),
|
|
3391
|
+
`Failed to parse 'Product1' from JSON`
|
|
2977
3392
|
);
|
|
2978
3393
|
}
|
|
2979
|
-
var
|
|
3394
|
+
var Preview1$inboundSchema = z39__namespace.pipe(
|
|
2980
3395
|
z39__namespace.object({
|
|
2981
|
-
scenario:
|
|
3396
|
+
scenario: Scenario1$inboundSchema,
|
|
2982
3397
|
title: string4(),
|
|
2983
3398
|
message: string4(),
|
|
2984
3399
|
feature_id: string4(),
|
|
2985
3400
|
feature_name: string4(),
|
|
2986
|
-
products: z39__namespace.array(z39__namespace.lazy(() =>
|
|
3401
|
+
products: z39__namespace.array(z39__namespace.lazy(() => Product1$inboundSchema))
|
|
2987
3402
|
}),
|
|
2988
3403
|
z39__namespace.transform((v) => {
|
|
2989
3404
|
return remap(v, {
|
|
@@ -2992,22 +3407,22 @@ var Preview$inboundSchema = z39__namespace.pipe(
|
|
|
2992
3407
|
});
|
|
2993
3408
|
})
|
|
2994
3409
|
);
|
|
2995
|
-
function
|
|
3410
|
+
function preview1FromJSON(jsonString) {
|
|
2996
3411
|
return safeParse(
|
|
2997
3412
|
jsonString,
|
|
2998
|
-
(x) =>
|
|
2999
|
-
`Failed to parse '
|
|
3413
|
+
(x) => Preview1$inboundSchema.parse(JSON.parse(x)),
|
|
3414
|
+
`Failed to parse 'Preview1' from JSON`
|
|
3000
3415
|
);
|
|
3001
3416
|
}
|
|
3002
|
-
var
|
|
3417
|
+
var CheckResponseBody1$inboundSchema = z39__namespace.pipe(
|
|
3003
3418
|
z39__namespace.object({
|
|
3004
3419
|
allowed: boolean2(),
|
|
3005
3420
|
customer_id: string4(),
|
|
3006
3421
|
entity_id: z39__namespace.optional(z39__namespace.nullable(string4())),
|
|
3007
3422
|
required_balance: optional2(number2()),
|
|
3008
3423
|
balance: nullable(Balance$inboundSchema),
|
|
3009
|
-
flag: nullable(z39__namespace.lazy(() =>
|
|
3010
|
-
preview: optional2(z39__namespace.lazy(() =>
|
|
3424
|
+
flag: nullable(z39__namespace.lazy(() => Flag1$inboundSchema)),
|
|
3425
|
+
preview: optional2(z39__namespace.lazy(() => Preview1$inboundSchema))
|
|
3011
3426
|
}),
|
|
3012
3427
|
z39__namespace.transform((v) => {
|
|
3013
3428
|
return remap(v, {
|
|
@@ -3017,6 +3432,17 @@ var CheckResponse$inboundSchema = z39__namespace.pipe(
|
|
|
3017
3432
|
});
|
|
3018
3433
|
})
|
|
3019
3434
|
);
|
|
3435
|
+
function checkResponseBody1FromJSON(jsonString) {
|
|
3436
|
+
return safeParse(
|
|
3437
|
+
jsonString,
|
|
3438
|
+
(x) => CheckResponseBody1$inboundSchema.parse(JSON.parse(x)),
|
|
3439
|
+
`Failed to parse 'CheckResponseBody1' from JSON`
|
|
3440
|
+
);
|
|
3441
|
+
}
|
|
3442
|
+
var CheckResponse$inboundSchema = smartUnion([
|
|
3443
|
+
z39__namespace.lazy(() => CheckResponseBody1$inboundSchema),
|
|
3444
|
+
z39__namespace.lazy(() => CheckResponseBody2$inboundSchema)
|
|
3445
|
+
]);
|
|
3020
3446
|
function checkResponseFromJSON(jsonString) {
|
|
3021
3447
|
return safeParse(
|
|
3022
3448
|
jsonString,
|
|
@@ -4940,7 +5366,13 @@ var CustomerEnv = {
|
|
|
4940
5366
|
Sandbox: "sandbox",
|
|
4941
5367
|
Live: "live"
|
|
4942
5368
|
};
|
|
4943
|
-
var
|
|
5369
|
+
var CustomerInterval2 = {
|
|
5370
|
+
Hour: "hour",
|
|
5371
|
+
Day: "day",
|
|
5372
|
+
Week: "week",
|
|
5373
|
+
Month: "month"
|
|
5374
|
+
};
|
|
5375
|
+
var CustomerInterval1 = {
|
|
4944
5376
|
Hour: "hour",
|
|
4945
5377
|
Day: "day",
|
|
4946
5378
|
Week: "week",
|
|
@@ -4977,10 +5409,33 @@ var CustomerDurationType = {
|
|
|
4977
5409
|
Forever: "forever"
|
|
4978
5410
|
};
|
|
4979
5411
|
var CustomerEnv$inboundSchema = inboundSchema(CustomerEnv);
|
|
4980
|
-
var
|
|
4981
|
-
var
|
|
5412
|
+
var CustomerInterval2$inboundSchema = inboundSchema(CustomerInterval2);
|
|
5413
|
+
var CustomerPurchaseLimit2$inboundSchema = z39__namespace.pipe(
|
|
5414
|
+
z39__namespace.object({
|
|
5415
|
+
interval: nullable(CustomerInterval2$inboundSchema),
|
|
5416
|
+
interval_count: nullable(number2()),
|
|
5417
|
+
limit: nullable(number2()),
|
|
5418
|
+
count: number2(),
|
|
5419
|
+
next_reset_at: number2()
|
|
5420
|
+
}),
|
|
5421
|
+
z39__namespace.transform((v) => {
|
|
5422
|
+
return remap(v, {
|
|
5423
|
+
"interval_count": "intervalCount",
|
|
5424
|
+
"next_reset_at": "nextResetAt"
|
|
5425
|
+
});
|
|
5426
|
+
})
|
|
5427
|
+
);
|
|
5428
|
+
function customerPurchaseLimit2FromJSON(jsonString) {
|
|
5429
|
+
return safeParse(
|
|
5430
|
+
jsonString,
|
|
5431
|
+
(x) => CustomerPurchaseLimit2$inboundSchema.parse(JSON.parse(x)),
|
|
5432
|
+
`Failed to parse 'CustomerPurchaseLimit2' from JSON`
|
|
5433
|
+
);
|
|
5434
|
+
}
|
|
5435
|
+
var CustomerInterval1$inboundSchema = inboundSchema(CustomerInterval1);
|
|
5436
|
+
var CustomerPurchaseLimit1$inboundSchema = z39__namespace.pipe(
|
|
4982
5437
|
z39__namespace.object({
|
|
4983
|
-
interval:
|
|
5438
|
+
interval: CustomerInterval1$inboundSchema,
|
|
4984
5439
|
interval_count: z39__namespace._default(number2(), 1),
|
|
4985
5440
|
limit: number2()
|
|
4986
5441
|
}),
|
|
@@ -4990,11 +5445,22 @@ var CustomerPurchaseLimit$inboundSchema = z39__namespace.pipe(
|
|
|
4990
5445
|
});
|
|
4991
5446
|
})
|
|
4992
5447
|
);
|
|
4993
|
-
function
|
|
5448
|
+
function customerPurchaseLimit1FromJSON(jsonString) {
|
|
5449
|
+
return safeParse(
|
|
5450
|
+
jsonString,
|
|
5451
|
+
(x) => CustomerPurchaseLimit1$inboundSchema.parse(JSON.parse(x)),
|
|
5452
|
+
`Failed to parse 'CustomerPurchaseLimit1' from JSON`
|
|
5453
|
+
);
|
|
5454
|
+
}
|
|
5455
|
+
var CustomerPurchaseLimitUnion$inboundSchema = smartUnion([
|
|
5456
|
+
z39__namespace.lazy(() => CustomerPurchaseLimit2$inboundSchema),
|
|
5457
|
+
z39__namespace.lazy(() => CustomerPurchaseLimit1$inboundSchema)
|
|
5458
|
+
]);
|
|
5459
|
+
function customerPurchaseLimitUnionFromJSON(jsonString) {
|
|
4994
5460
|
return safeParse(
|
|
4995
5461
|
jsonString,
|
|
4996
|
-
(x) =>
|
|
4997
|
-
`Failed to parse '
|
|
5462
|
+
(x) => CustomerPurchaseLimitUnion$inboundSchema.parse(JSON.parse(x)),
|
|
5463
|
+
`Failed to parse 'CustomerPurchaseLimitUnion' from JSON`
|
|
4998
5464
|
);
|
|
4999
5465
|
}
|
|
5000
5466
|
var CustomerAutoTopup$inboundSchema = z39__namespace.pipe(
|
|
@@ -5003,9 +5469,10 @@ var CustomerAutoTopup$inboundSchema = z39__namespace.pipe(
|
|
|
5003
5469
|
enabled: z39__namespace._default(boolean2(), false),
|
|
5004
5470
|
threshold: number2(),
|
|
5005
5471
|
quantity: number2(),
|
|
5006
|
-
purchase_limit: optional2(
|
|
5007
|
-
z39__namespace.lazy(() =>
|
|
5008
|
-
|
|
5472
|
+
purchase_limit: optional2(smartUnion([
|
|
5473
|
+
z39__namespace.lazy(() => CustomerPurchaseLimit2$inboundSchema),
|
|
5474
|
+
z39__namespace.lazy(() => CustomerPurchaseLimit1$inboundSchema)
|
|
5475
|
+
])),
|
|
5009
5476
|
invoice_mode: optional2(boolean2())
|
|
5010
5477
|
}),
|
|
5011
5478
|
z39__namespace.transform((v) => {
|
|
@@ -5646,9 +6113,30 @@ function finalizeBalanceParamsToJSON(finalizeBalanceParams) {
|
|
|
5646
6113
|
FinalizeBalanceParams$outboundSchema.parse(finalizeBalanceParams)
|
|
5647
6114
|
);
|
|
5648
6115
|
}
|
|
5649
|
-
var
|
|
6116
|
+
var FinalizeLockResponseBody2$inboundSchema = z39__namespace.object({
|
|
6117
|
+
success: boolean2()
|
|
6118
|
+
});
|
|
6119
|
+
function finalizeLockResponseBody2FromJSON(jsonString) {
|
|
6120
|
+
return safeParse(
|
|
6121
|
+
jsonString,
|
|
6122
|
+
(x) => FinalizeLockResponseBody2$inboundSchema.parse(JSON.parse(x)),
|
|
6123
|
+
`Failed to parse 'FinalizeLockResponseBody2' from JSON`
|
|
6124
|
+
);
|
|
6125
|
+
}
|
|
6126
|
+
var FinalizeLockResponseBody1$inboundSchema = z39__namespace.object({
|
|
5650
6127
|
success: boolean2()
|
|
5651
6128
|
});
|
|
6129
|
+
function finalizeLockResponseBody1FromJSON(jsonString) {
|
|
6130
|
+
return safeParse(
|
|
6131
|
+
jsonString,
|
|
6132
|
+
(x) => FinalizeLockResponseBody1$inboundSchema.parse(JSON.parse(x)),
|
|
6133
|
+
`Failed to parse 'FinalizeLockResponseBody1' from JSON`
|
|
6134
|
+
);
|
|
6135
|
+
}
|
|
6136
|
+
var FinalizeLockResponse$inboundSchema = smartUnion([
|
|
6137
|
+
z39__namespace.lazy(() => FinalizeLockResponseBody1$inboundSchema),
|
|
6138
|
+
z39__namespace.lazy(() => FinalizeLockResponseBody2$inboundSchema)
|
|
6139
|
+
]);
|
|
5652
6140
|
function finalizeLockResponseFromJSON(jsonString) {
|
|
5653
6141
|
return safeParse(
|
|
5654
6142
|
jsonString,
|
|
@@ -6716,7 +7204,13 @@ var ListCustomersEnv = {
|
|
|
6716
7204
|
Sandbox: "sandbox",
|
|
6717
7205
|
Live: "live"
|
|
6718
7206
|
};
|
|
6719
|
-
var
|
|
7207
|
+
var ListCustomersInterval2 = {
|
|
7208
|
+
Hour: "hour",
|
|
7209
|
+
Day: "day",
|
|
7210
|
+
Week: "week",
|
|
7211
|
+
Month: "month"
|
|
7212
|
+
};
|
|
7213
|
+
var ListCustomersInterval1 = {
|
|
6720
7214
|
Hour: "hour",
|
|
6721
7215
|
Day: "day",
|
|
6722
7216
|
Week: "week",
|
|
@@ -6771,10 +7265,33 @@ function listCustomersParamsToJSON(listCustomersParams) {
|
|
|
6771
7265
|
);
|
|
6772
7266
|
}
|
|
6773
7267
|
var ListCustomersEnv$inboundSchema = inboundSchema(ListCustomersEnv);
|
|
6774
|
-
var
|
|
6775
|
-
var
|
|
7268
|
+
var ListCustomersInterval2$inboundSchema = inboundSchema(ListCustomersInterval2);
|
|
7269
|
+
var ListCustomersPurchaseLimit2$inboundSchema = z39__namespace.pipe(
|
|
6776
7270
|
z39__namespace.object({
|
|
6777
|
-
interval:
|
|
7271
|
+
interval: nullable(ListCustomersInterval2$inboundSchema),
|
|
7272
|
+
interval_count: nullable(number2()),
|
|
7273
|
+
limit: nullable(number2()),
|
|
7274
|
+
count: number2(),
|
|
7275
|
+
next_reset_at: number2()
|
|
7276
|
+
}),
|
|
7277
|
+
z39__namespace.transform((v) => {
|
|
7278
|
+
return remap(v, {
|
|
7279
|
+
"interval_count": "intervalCount",
|
|
7280
|
+
"next_reset_at": "nextResetAt"
|
|
7281
|
+
});
|
|
7282
|
+
})
|
|
7283
|
+
);
|
|
7284
|
+
function listCustomersPurchaseLimit2FromJSON(jsonString) {
|
|
7285
|
+
return safeParse(
|
|
7286
|
+
jsonString,
|
|
7287
|
+
(x) => ListCustomersPurchaseLimit2$inboundSchema.parse(JSON.parse(x)),
|
|
7288
|
+
`Failed to parse 'ListCustomersPurchaseLimit2' from JSON`
|
|
7289
|
+
);
|
|
7290
|
+
}
|
|
7291
|
+
var ListCustomersInterval1$inboundSchema = inboundSchema(ListCustomersInterval1);
|
|
7292
|
+
var ListCustomersPurchaseLimit1$inboundSchema = z39__namespace.pipe(
|
|
7293
|
+
z39__namespace.object({
|
|
7294
|
+
interval: ListCustomersInterval1$inboundSchema,
|
|
6778
7295
|
interval_count: z39__namespace._default(number2(), 1),
|
|
6779
7296
|
limit: number2()
|
|
6780
7297
|
}),
|
|
@@ -6784,11 +7301,22 @@ var ListCustomersPurchaseLimit$inboundSchema = z39__namespace.pipe(
|
|
|
6784
7301
|
});
|
|
6785
7302
|
})
|
|
6786
7303
|
);
|
|
6787
|
-
function
|
|
7304
|
+
function listCustomersPurchaseLimit1FromJSON(jsonString) {
|
|
6788
7305
|
return safeParse(
|
|
6789
7306
|
jsonString,
|
|
6790
|
-
(x) =>
|
|
6791
|
-
`Failed to parse '
|
|
7307
|
+
(x) => ListCustomersPurchaseLimit1$inboundSchema.parse(JSON.parse(x)),
|
|
7308
|
+
`Failed to parse 'ListCustomersPurchaseLimit1' from JSON`
|
|
7309
|
+
);
|
|
7310
|
+
}
|
|
7311
|
+
var ListCustomersPurchaseLimitUnion$inboundSchema = smartUnion([
|
|
7312
|
+
z39__namespace.lazy(() => ListCustomersPurchaseLimit2$inboundSchema),
|
|
7313
|
+
z39__namespace.lazy(() => ListCustomersPurchaseLimit1$inboundSchema)
|
|
7314
|
+
]);
|
|
7315
|
+
function listCustomersPurchaseLimitUnionFromJSON(jsonString) {
|
|
7316
|
+
return safeParse(
|
|
7317
|
+
jsonString,
|
|
7318
|
+
(x) => ListCustomersPurchaseLimitUnion$inboundSchema.parse(JSON.parse(x)),
|
|
7319
|
+
`Failed to parse 'ListCustomersPurchaseLimitUnion' from JSON`
|
|
6792
7320
|
);
|
|
6793
7321
|
}
|
|
6794
7322
|
var ListCustomersAutoTopup$inboundSchema = z39__namespace.pipe(
|
|
@@ -6797,9 +7325,10 @@ var ListCustomersAutoTopup$inboundSchema = z39__namespace.pipe(
|
|
|
6797
7325
|
enabled: z39__namespace._default(boolean2(), false),
|
|
6798
7326
|
threshold: number2(),
|
|
6799
7327
|
quantity: number2(),
|
|
6800
|
-
purchase_limit: optional2(
|
|
6801
|
-
z39__namespace.lazy(() =>
|
|
6802
|
-
|
|
7328
|
+
purchase_limit: optional2(smartUnion([
|
|
7329
|
+
z39__namespace.lazy(() => ListCustomersPurchaseLimit2$inboundSchema),
|
|
7330
|
+
z39__namespace.lazy(() => ListCustomersPurchaseLimit1$inboundSchema)
|
|
7331
|
+
])),
|
|
6803
7332
|
invoice_mode: optional2(boolean2())
|
|
6804
7333
|
}),
|
|
6805
7334
|
z39__namespace.transform((v) => {
|
|
@@ -8143,6 +8672,7 @@ var MultiAttachParams$outboundSchema = z39__namespace.pipe(
|
|
|
8143
8672
|
"if_required"
|
|
8144
8673
|
),
|
|
8145
8674
|
newBillingSubscription: z39__namespace.optional(z39__namespace.boolean()),
|
|
8675
|
+
enablePlanImmediately: z39__namespace.optional(z39__namespace.boolean()),
|
|
8146
8676
|
customerData: z39__namespace.optional(CustomerData$outboundSchema),
|
|
8147
8677
|
entityData: z39__namespace.optional(z39__namespace.lazy(() => MultiAttachEntityData$outboundSchema))
|
|
8148
8678
|
}),
|
|
@@ -8156,6 +8686,7 @@ var MultiAttachParams$outboundSchema = z39__namespace.pipe(
|
|
|
8156
8686
|
checkoutSessionParams: "checkout_session_params",
|
|
8157
8687
|
redirectMode: "redirect_mode",
|
|
8158
8688
|
newBillingSubscription: "new_billing_subscription",
|
|
8689
|
+
enablePlanImmediately: "enable_plan_immediately",
|
|
8159
8690
|
customerData: "customer_data",
|
|
8160
8691
|
entityData: "entity_data"
|
|
8161
8692
|
});
|
|
@@ -8337,6 +8868,10 @@ var PreviewAttachCheckoutType = {
|
|
|
8337
8868
|
StripeCheckout: "stripe_checkout",
|
|
8338
8869
|
AutumnCheckout: "autumn_checkout"
|
|
8339
8870
|
};
|
|
8871
|
+
var PreviewAttachStatus = {
|
|
8872
|
+
Complete: "complete",
|
|
8873
|
+
Incomplete: "incomplete"
|
|
8874
|
+
};
|
|
8340
8875
|
var PreviewAttachFeatureQuantityRequest$outboundSchema = z39__namespace.pipe(
|
|
8341
8876
|
z39__namespace.object({
|
|
8342
8877
|
featureId: z39__namespace.string(),
|
|
@@ -8673,7 +9208,8 @@ var PreviewAttachParams$outboundSchema = z39__namespace.pipe(
|
|
|
8673
9208
|
z39__namespace.lazy(() => PreviewAttachCarryOverUsages$outboundSchema)
|
|
8674
9209
|
),
|
|
8675
9210
|
metadata: z39__namespace.optional(z39__namespace.record(z39__namespace.string(), z39__namespace.string())),
|
|
8676
|
-
noBillingChanges: z39__namespace.optional(z39__namespace.boolean())
|
|
9211
|
+
noBillingChanges: z39__namespace.optional(z39__namespace.boolean()),
|
|
9212
|
+
enablePlanImmediately: z39__namespace.optional(z39__namespace.boolean())
|
|
8677
9213
|
}),
|
|
8678
9214
|
z39__namespace.transform((v) => {
|
|
8679
9215
|
return remap(v, {
|
|
@@ -8694,7 +9230,8 @@ var PreviewAttachParams$outboundSchema = z39__namespace.pipe(
|
|
|
8694
9230
|
processorSubscriptionId: "processor_subscription_id",
|
|
8695
9231
|
carryOverBalances: "carry_over_balances",
|
|
8696
9232
|
carryOverUsages: "carry_over_usages",
|
|
8697
|
-
noBillingChanges: "no_billing_changes"
|
|
9233
|
+
noBillingChanges: "no_billing_changes",
|
|
9234
|
+
enablePlanImmediately: "enable_plan_immediately"
|
|
8698
9235
|
});
|
|
8699
9236
|
})
|
|
8700
9237
|
);
|
|
@@ -8988,6 +9525,29 @@ function previewAttachOutgoingFromJSON(jsonString) {
|
|
|
8988
9525
|
);
|
|
8989
9526
|
}
|
|
8990
9527
|
var PreviewAttachCheckoutType$inboundSchema = inboundSchema(PreviewAttachCheckoutType);
|
|
9528
|
+
var PreviewAttachStatus$inboundSchema = inboundSchema(PreviewAttachStatus);
|
|
9529
|
+
var PreviewAttachTax$inboundSchema = z39__namespace.pipe(
|
|
9530
|
+
z39__namespace.object({
|
|
9531
|
+
total: number2(),
|
|
9532
|
+
amount_inclusive: number2(),
|
|
9533
|
+
amount_exclusive: number2(),
|
|
9534
|
+
currency: string4(),
|
|
9535
|
+
status: PreviewAttachStatus$inboundSchema
|
|
9536
|
+
}),
|
|
9537
|
+
z39__namespace.transform((v) => {
|
|
9538
|
+
return remap(v, {
|
|
9539
|
+
"amount_inclusive": "amountInclusive",
|
|
9540
|
+
"amount_exclusive": "amountExclusive"
|
|
9541
|
+
});
|
|
9542
|
+
})
|
|
9543
|
+
);
|
|
9544
|
+
function previewAttachTaxFromJSON(jsonString) {
|
|
9545
|
+
return safeParse(
|
|
9546
|
+
jsonString,
|
|
9547
|
+
(x) => PreviewAttachTax$inboundSchema.parse(JSON.parse(x)),
|
|
9548
|
+
`Failed to parse 'PreviewAttachTax' from JSON`
|
|
9549
|
+
);
|
|
9550
|
+
}
|
|
8991
9551
|
var PreviewAttachResponse$inboundSchema = z39__namespace.pipe(
|
|
8992
9552
|
z39__namespace.object({
|
|
8993
9553
|
customer_id: string4(),
|
|
@@ -9002,7 +9562,8 @@ var PreviewAttachResponse$inboundSchema = z39__namespace.pipe(
|
|
|
9002
9562
|
incoming: z39__namespace.array(z39__namespace.lazy(() => PreviewAttachIncoming$inboundSchema)),
|
|
9003
9563
|
outgoing: z39__namespace.array(z39__namespace.lazy(() => PreviewAttachOutgoing$inboundSchema)),
|
|
9004
9564
|
redirect_to_checkout: boolean2(),
|
|
9005
|
-
checkout_type: nullable(PreviewAttachCheckoutType$inboundSchema)
|
|
9565
|
+
checkout_type: nullable(PreviewAttachCheckoutType$inboundSchema),
|
|
9566
|
+
tax: optional2(z39__namespace.lazy(() => PreviewAttachTax$inboundSchema))
|
|
9006
9567
|
}),
|
|
9007
9568
|
z39__namespace.transform((v) => {
|
|
9008
9569
|
return remap(v, {
|
|
@@ -9093,6 +9654,10 @@ var PreviewMultiAttachCheckoutType = {
|
|
|
9093
9654
|
StripeCheckout: "stripe_checkout",
|
|
9094
9655
|
AutumnCheckout: "autumn_checkout"
|
|
9095
9656
|
};
|
|
9657
|
+
var PreviewMultiAttachStatus = {
|
|
9658
|
+
Complete: "complete",
|
|
9659
|
+
Incomplete: "incomplete"
|
|
9660
|
+
};
|
|
9096
9661
|
var PreviewMultiAttachPriceInterval$outboundSchema = z39__namespace.enum(PreviewMultiAttachPriceInterval);
|
|
9097
9662
|
var PreviewMultiAttachBasePrice$outboundSchema = z39__namespace.pipe(
|
|
9098
9663
|
z39__namespace.object({
|
|
@@ -9509,6 +10074,7 @@ var PreviewMultiAttachParams$outboundSchema = z39__namespace.pipe(
|
|
|
9509
10074
|
"if_required"
|
|
9510
10075
|
),
|
|
9511
10076
|
newBillingSubscription: z39__namespace.optional(z39__namespace.boolean()),
|
|
10077
|
+
enablePlanImmediately: z39__namespace.optional(z39__namespace.boolean()),
|
|
9512
10078
|
customerData: z39__namespace.optional(CustomerData$outboundSchema),
|
|
9513
10079
|
entityData: z39__namespace.optional(
|
|
9514
10080
|
z39__namespace.lazy(() => PreviewMultiAttachEntityData$outboundSchema)
|
|
@@ -9524,6 +10090,7 @@ var PreviewMultiAttachParams$outboundSchema = z39__namespace.pipe(
|
|
|
9524
10090
|
checkoutSessionParams: "checkout_session_params",
|
|
9525
10091
|
redirectMode: "redirect_mode",
|
|
9526
10092
|
newBillingSubscription: "new_billing_subscription",
|
|
10093
|
+
enablePlanImmediately: "enable_plan_immediately",
|
|
9527
10094
|
customerData: "customer_data",
|
|
9528
10095
|
entityData: "entity_data"
|
|
9529
10096
|
});
|
|
@@ -9825,6 +10392,29 @@ function previewMultiAttachOutgoingFromJSON(jsonString) {
|
|
|
9825
10392
|
);
|
|
9826
10393
|
}
|
|
9827
10394
|
var PreviewMultiAttachCheckoutType$inboundSchema = inboundSchema(PreviewMultiAttachCheckoutType);
|
|
10395
|
+
var PreviewMultiAttachStatus$inboundSchema = inboundSchema(PreviewMultiAttachStatus);
|
|
10396
|
+
var PreviewMultiAttachTax$inboundSchema = z39__namespace.pipe(
|
|
10397
|
+
z39__namespace.object({
|
|
10398
|
+
total: number2(),
|
|
10399
|
+
amount_inclusive: number2(),
|
|
10400
|
+
amount_exclusive: number2(),
|
|
10401
|
+
currency: string4(),
|
|
10402
|
+
status: PreviewMultiAttachStatus$inboundSchema
|
|
10403
|
+
}),
|
|
10404
|
+
z39__namespace.transform((v) => {
|
|
10405
|
+
return remap(v, {
|
|
10406
|
+
"amount_inclusive": "amountInclusive",
|
|
10407
|
+
"amount_exclusive": "amountExclusive"
|
|
10408
|
+
});
|
|
10409
|
+
})
|
|
10410
|
+
);
|
|
10411
|
+
function previewMultiAttachTaxFromJSON(jsonString) {
|
|
10412
|
+
return safeParse(
|
|
10413
|
+
jsonString,
|
|
10414
|
+
(x) => PreviewMultiAttachTax$inboundSchema.parse(JSON.parse(x)),
|
|
10415
|
+
`Failed to parse 'PreviewMultiAttachTax' from JSON`
|
|
10416
|
+
);
|
|
10417
|
+
}
|
|
9828
10418
|
var PreviewMultiAttachResponse$inboundSchema = z39__namespace.pipe(
|
|
9829
10419
|
z39__namespace.object({
|
|
9830
10420
|
customer_id: string4(),
|
|
@@ -9839,7 +10429,8 @@ var PreviewMultiAttachResponse$inboundSchema = z39__namespace.pipe(
|
|
|
9839
10429
|
incoming: z39__namespace.array(z39__namespace.lazy(() => PreviewMultiAttachIncoming$inboundSchema)),
|
|
9840
10430
|
outgoing: z39__namespace.array(z39__namespace.lazy(() => PreviewMultiAttachOutgoing$inboundSchema)),
|
|
9841
10431
|
redirect_to_checkout: boolean2(),
|
|
9842
|
-
checkout_type: nullable(PreviewMultiAttachCheckoutType$inboundSchema)
|
|
10432
|
+
checkout_type: nullable(PreviewMultiAttachCheckoutType$inboundSchema),
|
|
10433
|
+
tax: optional2(z39__namespace.lazy(() => PreviewMultiAttachTax$inboundSchema))
|
|
9843
10434
|
}),
|
|
9844
10435
|
z39__namespace.transform((v) => {
|
|
9845
10436
|
return remap(v, {
|
|
@@ -10969,7 +11560,8 @@ var SetupPaymentParams$outboundSchema = z39__namespace.pipe(
|
|
|
10969
11560
|
z39__namespace.lazy(() => SetupPaymentCarryOverUsages$outboundSchema)
|
|
10970
11561
|
),
|
|
10971
11562
|
metadata: z39__namespace.optional(z39__namespace.record(z39__namespace.string(), z39__namespace.string())),
|
|
10972
|
-
noBillingChanges: z39__namespace.optional(z39__namespace.boolean())
|
|
11563
|
+
noBillingChanges: z39__namespace.optional(z39__namespace.boolean()),
|
|
11564
|
+
enablePlanImmediately: z39__namespace.optional(z39__namespace.boolean())
|
|
10973
11565
|
}),
|
|
10974
11566
|
z39__namespace.transform((v) => {
|
|
10975
11567
|
return remap(v, {
|
|
@@ -10986,7 +11578,8 @@ var SetupPaymentParams$outboundSchema = z39__namespace.pipe(
|
|
|
10986
11578
|
processorSubscriptionId: "processor_subscription_id",
|
|
10987
11579
|
carryOverBalances: "carry_over_balances",
|
|
10988
11580
|
carryOverUsages: "carry_over_usages",
|
|
10989
|
-
noBillingChanges: "no_billing_changes"
|
|
11581
|
+
noBillingChanges: "no_billing_changes",
|
|
11582
|
+
enablePlanImmediately: "enable_plan_immediately"
|
|
10990
11583
|
});
|
|
10991
11584
|
})
|
|
10992
11585
|
);
|
|
@@ -11053,7 +11646,7 @@ var TrackParams$outboundSchema = z39__namespace.pipe(
|
|
|
11053
11646
|
function trackParamsToJSON(trackParams) {
|
|
11054
11647
|
return JSON.stringify(TrackParams$outboundSchema.parse(trackParams));
|
|
11055
11648
|
}
|
|
11056
|
-
var
|
|
11649
|
+
var TrackResponseBody2$inboundSchema = z39__namespace.pipe(
|
|
11057
11650
|
z39__namespace.object({
|
|
11058
11651
|
customer_id: string4(),
|
|
11059
11652
|
entity_id: optional2(string4()),
|
|
@@ -11070,6 +11663,41 @@ var TrackResponse$inboundSchema = z39__namespace.pipe(
|
|
|
11070
11663
|
});
|
|
11071
11664
|
})
|
|
11072
11665
|
);
|
|
11666
|
+
function trackResponseBody2FromJSON(jsonString) {
|
|
11667
|
+
return safeParse(
|
|
11668
|
+
jsonString,
|
|
11669
|
+
(x) => TrackResponseBody2$inboundSchema.parse(JSON.parse(x)),
|
|
11670
|
+
`Failed to parse 'TrackResponseBody2' from JSON`
|
|
11671
|
+
);
|
|
11672
|
+
}
|
|
11673
|
+
var TrackResponseBody1$inboundSchema = z39__namespace.pipe(
|
|
11674
|
+
z39__namespace.object({
|
|
11675
|
+
customer_id: string4(),
|
|
11676
|
+
entity_id: optional2(string4()),
|
|
11677
|
+
event_name: optional2(string4()),
|
|
11678
|
+
value: number2(),
|
|
11679
|
+
balance: nullable(Balance$inboundSchema),
|
|
11680
|
+
balances: optional2(z39__namespace.record(z39__namespace.string(), Balance$inboundSchema))
|
|
11681
|
+
}),
|
|
11682
|
+
z39__namespace.transform((v) => {
|
|
11683
|
+
return remap(v, {
|
|
11684
|
+
"customer_id": "customerId",
|
|
11685
|
+
"entity_id": "entityId",
|
|
11686
|
+
"event_name": "eventName"
|
|
11687
|
+
});
|
|
11688
|
+
})
|
|
11689
|
+
);
|
|
11690
|
+
function trackResponseBody1FromJSON(jsonString) {
|
|
11691
|
+
return safeParse(
|
|
11692
|
+
jsonString,
|
|
11693
|
+
(x) => TrackResponseBody1$inboundSchema.parse(JSON.parse(x)),
|
|
11694
|
+
`Failed to parse 'TrackResponseBody1' from JSON`
|
|
11695
|
+
);
|
|
11696
|
+
}
|
|
11697
|
+
var TrackResponse$inboundSchema = smartUnion([
|
|
11698
|
+
z39__namespace.lazy(() => TrackResponseBody1$inboundSchema),
|
|
11699
|
+
z39__namespace.lazy(() => TrackResponseBody2$inboundSchema)
|
|
11700
|
+
]);
|
|
11073
11701
|
function trackResponseFromJSON(jsonString) {
|
|
11074
11702
|
return safeParse(
|
|
11075
11703
|
jsonString,
|
|
@@ -11145,7 +11773,13 @@ var UpdateCustomerEnv = {
|
|
|
11145
11773
|
Sandbox: "sandbox",
|
|
11146
11774
|
Live: "live"
|
|
11147
11775
|
};
|
|
11148
|
-
var
|
|
11776
|
+
var UpdateCustomerIntervalResponse2 = {
|
|
11777
|
+
Hour: "hour",
|
|
11778
|
+
Day: "day",
|
|
11779
|
+
Week: "week",
|
|
11780
|
+
Month: "month"
|
|
11781
|
+
};
|
|
11782
|
+
var UpdateCustomerIntervalResponse1 = {
|
|
11149
11783
|
Hour: "hour",
|
|
11150
11784
|
Day: "day",
|
|
11151
11785
|
Week: "week",
|
|
@@ -11356,10 +11990,33 @@ function updateCustomerParamsToJSON(updateCustomerParams) {
|
|
|
11356
11990
|
);
|
|
11357
11991
|
}
|
|
11358
11992
|
var UpdateCustomerEnv$inboundSchema = inboundSchema(UpdateCustomerEnv);
|
|
11359
|
-
var
|
|
11360
|
-
var
|
|
11993
|
+
var UpdateCustomerIntervalResponse2$inboundSchema = inboundSchema(UpdateCustomerIntervalResponse2);
|
|
11994
|
+
var UpdateCustomerPurchaseLimitResponse2$inboundSchema = z39__namespace.pipe(
|
|
11995
|
+
z39__namespace.object({
|
|
11996
|
+
interval: nullable(UpdateCustomerIntervalResponse2$inboundSchema),
|
|
11997
|
+
interval_count: nullable(number2()),
|
|
11998
|
+
limit: nullable(number2()),
|
|
11999
|
+
count: number2(),
|
|
12000
|
+
next_reset_at: number2()
|
|
12001
|
+
}),
|
|
12002
|
+
z39__namespace.transform((v) => {
|
|
12003
|
+
return remap(v, {
|
|
12004
|
+
"interval_count": "intervalCount",
|
|
12005
|
+
"next_reset_at": "nextResetAt"
|
|
12006
|
+
});
|
|
12007
|
+
})
|
|
12008
|
+
);
|
|
12009
|
+
function updateCustomerPurchaseLimitResponse2FromJSON(jsonString) {
|
|
12010
|
+
return safeParse(
|
|
12011
|
+
jsonString,
|
|
12012
|
+
(x) => UpdateCustomerPurchaseLimitResponse2$inboundSchema.parse(JSON.parse(x)),
|
|
12013
|
+
`Failed to parse 'UpdateCustomerPurchaseLimitResponse2' from JSON`
|
|
12014
|
+
);
|
|
12015
|
+
}
|
|
12016
|
+
var UpdateCustomerIntervalResponse1$inboundSchema = inboundSchema(UpdateCustomerIntervalResponse1);
|
|
12017
|
+
var UpdateCustomerPurchaseLimitResponse1$inboundSchema = z39__namespace.pipe(
|
|
11361
12018
|
z39__namespace.object({
|
|
11362
|
-
interval:
|
|
12019
|
+
interval: UpdateCustomerIntervalResponse1$inboundSchema,
|
|
11363
12020
|
interval_count: z39__namespace._default(number2(), 1),
|
|
11364
12021
|
limit: number2()
|
|
11365
12022
|
}),
|
|
@@ -11369,11 +12026,22 @@ var UpdateCustomerPurchaseLimitResponse$inboundSchema = z39__namespace.pipe(
|
|
|
11369
12026
|
});
|
|
11370
12027
|
})
|
|
11371
12028
|
);
|
|
11372
|
-
function
|
|
12029
|
+
function updateCustomerPurchaseLimitResponse1FromJSON(jsonString) {
|
|
11373
12030
|
return safeParse(
|
|
11374
12031
|
jsonString,
|
|
11375
|
-
(x) =>
|
|
11376
|
-
`Failed to parse '
|
|
12032
|
+
(x) => UpdateCustomerPurchaseLimitResponse1$inboundSchema.parse(JSON.parse(x)),
|
|
12033
|
+
`Failed to parse 'UpdateCustomerPurchaseLimitResponse1' from JSON`
|
|
12034
|
+
);
|
|
12035
|
+
}
|
|
12036
|
+
var UpdateCustomerPurchaseLimitUnion$inboundSchema = smartUnion([
|
|
12037
|
+
z39__namespace.lazy(() => UpdateCustomerPurchaseLimitResponse2$inboundSchema),
|
|
12038
|
+
z39__namespace.lazy(() => UpdateCustomerPurchaseLimitResponse1$inboundSchema)
|
|
12039
|
+
]);
|
|
12040
|
+
function updateCustomerPurchaseLimitUnionFromJSON(jsonString) {
|
|
12041
|
+
return safeParse(
|
|
12042
|
+
jsonString,
|
|
12043
|
+
(x) => UpdateCustomerPurchaseLimitUnion$inboundSchema.parse(JSON.parse(x)),
|
|
12044
|
+
`Failed to parse 'UpdateCustomerPurchaseLimitUnion' from JSON`
|
|
11377
12045
|
);
|
|
11378
12046
|
}
|
|
11379
12047
|
var UpdateCustomerAutoTopupResponse$inboundSchema = z39__namespace.pipe(
|
|
@@ -11382,9 +12050,10 @@ var UpdateCustomerAutoTopupResponse$inboundSchema = z39__namespace.pipe(
|
|
|
11382
12050
|
enabled: z39__namespace._default(boolean2(), false),
|
|
11383
12051
|
threshold: number2(),
|
|
11384
12052
|
quantity: number2(),
|
|
11385
|
-
purchase_limit: optional2(
|
|
11386
|
-
z39__namespace.lazy(() =>
|
|
11387
|
-
|
|
12053
|
+
purchase_limit: optional2(smartUnion([
|
|
12054
|
+
z39__namespace.lazy(() => UpdateCustomerPurchaseLimitResponse2$inboundSchema),
|
|
12055
|
+
z39__namespace.lazy(() => UpdateCustomerPurchaseLimitResponse1$inboundSchema)
|
|
12056
|
+
])),
|
|
11388
12057
|
invoice_mode: optional2(boolean2())
|
|
11389
12058
|
}),
|
|
11390
12059
|
z39__namespace.transform((v) => {
|
|
@@ -13020,6 +13689,7 @@ async function $do(client, request, options) {
|
|
|
13020
13689
|
const response = doResult.value;
|
|
13021
13690
|
const [result] = await match(
|
|
13022
13691
|
json(200, CheckResponse$inboundSchema),
|
|
13692
|
+
json(202, CheckResponse$inboundSchema),
|
|
13023
13693
|
fail("4XX"),
|
|
13024
13694
|
fail("5XX")
|
|
13025
13695
|
)(response, req);
|
|
@@ -13095,6 +13765,7 @@ async function $do2(client, request, options) {
|
|
|
13095
13765
|
const response = doResult.value;
|
|
13096
13766
|
const [result] = await match(
|
|
13097
13767
|
json(200, TrackResponse$inboundSchema),
|
|
13768
|
+
json(202, TrackResponse$inboundSchema),
|
|
13098
13769
|
fail("4XX"),
|
|
13099
13770
|
fail("5XX")
|
|
13100
13771
|
)(response, req);
|
|
@@ -13931,6 +14602,7 @@ async function $do5(client, request, options) {
|
|
|
13931
14602
|
const response = doResult.value;
|
|
13932
14603
|
const [result] = await match(
|
|
13933
14604
|
json(200, FinalizeLockResponse$inboundSchema),
|
|
14605
|
+
json(202, FinalizeLockResponse$inboundSchema),
|
|
13934
14606
|
fail("4XX"),
|
|
13935
14607
|
fail("5XX")
|
|
13936
14608
|
)(response, req);
|
|
@@ -14706,6 +15378,7 @@ var Billing = class extends ClientSDK {
|
|
|
14706
15378
|
* @param carryOverUsages - Whether to carry over usages from the previous plan. (optional)
|
|
14707
15379
|
* @param metadata - Key-value metadata to attach to the Stripe subscription, invoice, and checkout session created during this attach flow. Keys prefixed with 'autumn_' are reserved and will be stripped. (optional)
|
|
14708
15380
|
* @param noBillingChanges - If true, skips any billing changes for the attach operation. (optional)
|
|
15381
|
+
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. (optional)
|
|
14709
15382
|
*
|
|
14710
15383
|
* @returns A billing response with customer ID, invoice details, and payment URL (if checkout required).
|
|
14711
15384
|
*/
|
|
@@ -14749,6 +15422,7 @@ var Billing = class extends ClientSDK {
|
|
|
14749
15422
|
* @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
|
|
14750
15423
|
* @param redirectMode - Controls when to return a checkout URL. 'always' returns a URL even if payment succeeds, 'if_required' only when payment action is needed, 'never' disables redirects. (optional)
|
|
14751
15424
|
* @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
|
|
15425
|
+
* @param enablePlanImmediately - If true, the cusProducts are activated immediately even when payment is pending via Stripe checkout. (optional)
|
|
14752
15426
|
*
|
|
14753
15427
|
* @returns A billing response with customer ID, invoice details, and payment URL (if checkout required).
|
|
14754
15428
|
*/
|
|
@@ -14792,6 +15466,7 @@ var Billing = class extends ClientSDK {
|
|
|
14792
15466
|
* @param carryOverUsages - Whether to carry over usages from the previous plan. (optional)
|
|
14793
15467
|
* @param metadata - Key-value metadata to attach to the Stripe subscription, invoice, and checkout session created during this attach flow. Keys prefixed with 'autumn_' are reserved and will be stripped. (optional)
|
|
14794
15468
|
* @param noBillingChanges - If true, skips any billing changes for the attach operation. (optional)
|
|
15469
|
+
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. (optional)
|
|
14795
15470
|
*
|
|
14796
15471
|
* @returns A preview response with line items, totals, and effective dates for the proposed changes.
|
|
14797
15472
|
*/
|
|
@@ -14823,6 +15498,7 @@ var Billing = class extends ClientSDK {
|
|
|
14823
15498
|
* @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
|
|
14824
15499
|
* @param redirectMode - Controls when to return a checkout URL. 'always' returns a URL even if payment succeeds, 'if_required' only when payment action is needed, 'never' disables redirects. (optional)
|
|
14825
15500
|
* @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
|
|
15501
|
+
* @param enablePlanImmediately - If true, the cusProducts are activated immediately even when payment is pending via Stripe checkout. (optional)
|
|
14826
15502
|
*
|
|
14827
15503
|
* @returns A preview response with line items, totals, and effective dates for the proposed multi-plan attachment.
|
|
14828
15504
|
*/
|
|
@@ -17242,7 +17918,7 @@ var Autumn = class extends ClientSDK {
|
|
|
17242
17918
|
* @param lock - Reserve units of a feature upfront by passing a lock_id, then call balances.finalize to confirm or release the hold. (optional)
|
|
17243
17919
|
* @param withPreview - If true, includes upgrade/upsell information in the response when access is denied. Useful for displaying paywalls. (optional)
|
|
17244
17920
|
*
|
|
17245
|
-
* @returns Whether access is allowed, plus the current balance for that feature.
|
|
17921
|
+
* @returns Whether access is allowed, plus the current balance for that feature. If Autumn is experiencing degraded service from a downstream provider, the API may return 202 and allow access fail-open.
|
|
17246
17922
|
*/
|
|
17247
17923
|
async check(request, options) {
|
|
17248
17924
|
return unwrapAsync(check(
|
|
@@ -17275,7 +17951,7 @@ var Autumn = class extends ClientSDK {
|
|
|
17275
17951
|
* @param value - The amount of usage to record. Defaults to 1. Use negative values to credit balance (e.g., when removing a seat). (optional)
|
|
17276
17952
|
* @param properties - Additional properties to attach to this usage event. (optional)
|
|
17277
17953
|
*
|
|
17278
|
-
* @returns The usage value recorded, with either a single updated balance or a map of updated balances.
|
|
17954
|
+
* @returns The usage value recorded, with either a single updated balance or a map of updated balances. If Autumn is experiencing degraded service from a downstream provider, the API may return 202 after accepting the event for replay so it can be tracked as soon as the service is restored.
|
|
17279
17955
|
*/
|
|
17280
17956
|
async track(request, options) {
|
|
17281
17957
|
return unwrapAsync(track(
|
|
@@ -17468,27 +18144,47 @@ exports.BillingUpdateTo$outboundSchema = BillingUpdateTo$outboundSchema;
|
|
|
17468
18144
|
exports.BinSize = BinSize;
|
|
17469
18145
|
exports.BinSize$outboundSchema = BinSize$outboundSchema;
|
|
17470
18146
|
exports.Breakdown$inboundSchema = Breakdown$inboundSchema;
|
|
17471
|
-
exports.
|
|
17472
|
-
exports.
|
|
17473
|
-
exports.
|
|
17474
|
-
exports.
|
|
17475
|
-
exports.
|
|
17476
|
-
exports.
|
|
17477
|
-
exports.
|
|
17478
|
-
exports.
|
|
17479
|
-
exports.
|
|
18147
|
+
exports.CheckConfig1$inboundSchema = CheckConfig1$inboundSchema;
|
|
18148
|
+
exports.CheckConfig2$inboundSchema = CheckConfig2$inboundSchema;
|
|
18149
|
+
exports.CheckCreditSchema1$inboundSchema = CheckCreditSchema1$inboundSchema;
|
|
18150
|
+
exports.CheckCreditSchema2$inboundSchema = CheckCreditSchema2$inboundSchema;
|
|
18151
|
+
exports.CheckEnv1 = CheckEnv1;
|
|
18152
|
+
exports.CheckEnv1$inboundSchema = CheckEnv1$inboundSchema;
|
|
18153
|
+
exports.CheckEnv2 = CheckEnv2;
|
|
18154
|
+
exports.CheckEnv2$inboundSchema = CheckEnv2$inboundSchema;
|
|
18155
|
+
exports.CheckFeature1$inboundSchema = CheckFeature1$inboundSchema;
|
|
18156
|
+
exports.CheckFeature2$inboundSchema = CheckFeature2$inboundSchema;
|
|
18157
|
+
exports.CheckFreeTrial1$inboundSchema = CheckFreeTrial1$inboundSchema;
|
|
18158
|
+
exports.CheckFreeTrial2$inboundSchema = CheckFreeTrial2$inboundSchema;
|
|
18159
|
+
exports.CheckInterval1 = CheckInterval1;
|
|
18160
|
+
exports.CheckInterval1$inboundSchema = CheckInterval1$inboundSchema;
|
|
18161
|
+
exports.CheckInterval2 = CheckInterval2;
|
|
18162
|
+
exports.CheckInterval2$inboundSchema = CheckInterval2$inboundSchema;
|
|
18163
|
+
exports.CheckItem1$inboundSchema = CheckItem1$inboundSchema;
|
|
18164
|
+
exports.CheckItem2$inboundSchema = CheckItem2$inboundSchema;
|
|
17480
18165
|
exports.CheckLock$outboundSchema = CheckLock$outboundSchema;
|
|
17481
|
-
exports.
|
|
17482
|
-
exports.
|
|
17483
|
-
exports.
|
|
17484
|
-
exports.
|
|
18166
|
+
exports.CheckOnDecrease1 = CheckOnDecrease1;
|
|
18167
|
+
exports.CheckOnDecrease1$inboundSchema = CheckOnDecrease1$inboundSchema;
|
|
18168
|
+
exports.CheckOnDecrease2 = CheckOnDecrease2;
|
|
18169
|
+
exports.CheckOnDecrease2$inboundSchema = CheckOnDecrease2$inboundSchema;
|
|
18170
|
+
exports.CheckOnIncrease1 = CheckOnIncrease1;
|
|
18171
|
+
exports.CheckOnIncrease1$inboundSchema = CheckOnIncrease1$inboundSchema;
|
|
18172
|
+
exports.CheckOnIncrease2 = CheckOnIncrease2;
|
|
18173
|
+
exports.CheckOnIncrease2$inboundSchema = CheckOnIncrease2$inboundSchema;
|
|
17485
18174
|
exports.CheckParams$outboundSchema = CheckParams$outboundSchema;
|
|
17486
18175
|
exports.CheckResponse$inboundSchema = CheckResponse$inboundSchema;
|
|
17487
|
-
exports.
|
|
17488
|
-
exports.
|
|
17489
|
-
exports.
|
|
17490
|
-
exports.
|
|
17491
|
-
exports.
|
|
18176
|
+
exports.CheckResponseBody1$inboundSchema = CheckResponseBody1$inboundSchema;
|
|
18177
|
+
exports.CheckResponseBody2$inboundSchema = CheckResponseBody2$inboundSchema;
|
|
18178
|
+
exports.CheckRollover1$inboundSchema = CheckRollover1$inboundSchema;
|
|
18179
|
+
exports.CheckRollover2$inboundSchema = CheckRollover2$inboundSchema;
|
|
18180
|
+
exports.CheckTierBehavior1 = CheckTierBehavior1;
|
|
18181
|
+
exports.CheckTierBehavior1$inboundSchema = CheckTierBehavior1$inboundSchema;
|
|
18182
|
+
exports.CheckTierBehavior2 = CheckTierBehavior2;
|
|
18183
|
+
exports.CheckTierBehavior2$inboundSchema = CheckTierBehavior2$inboundSchema;
|
|
18184
|
+
exports.ConfigDuration1 = ConfigDuration1;
|
|
18185
|
+
exports.ConfigDuration1$inboundSchema = ConfigDuration1$inboundSchema;
|
|
18186
|
+
exports.ConfigDuration2 = ConfigDuration2;
|
|
18187
|
+
exports.ConfigDuration2$inboundSchema = ConfigDuration2$inboundSchema;
|
|
17492
18188
|
exports.ConnectionError = ConnectionError;
|
|
17493
18189
|
exports.CreateBalanceDuration = CreateBalanceDuration;
|
|
17494
18190
|
exports.CreateBalanceDuration$outboundSchema = CreateBalanceDuration$outboundSchema;
|
|
@@ -17627,10 +18323,14 @@ exports.CustomerEnv$inboundSchema = CustomerEnv$inboundSchema;
|
|
|
17627
18323
|
exports.CustomerFeature$inboundSchema = CustomerFeature$inboundSchema;
|
|
17628
18324
|
exports.CustomerFlagsType = CustomerFlagsType;
|
|
17629
18325
|
exports.CustomerFlagsType$inboundSchema = CustomerFlagsType$inboundSchema;
|
|
17630
|
-
exports.
|
|
17631
|
-
exports.
|
|
18326
|
+
exports.CustomerInterval1 = CustomerInterval1;
|
|
18327
|
+
exports.CustomerInterval1$inboundSchema = CustomerInterval1$inboundSchema;
|
|
18328
|
+
exports.CustomerInterval2 = CustomerInterval2;
|
|
18329
|
+
exports.CustomerInterval2$inboundSchema = CustomerInterval2$inboundSchema;
|
|
17632
18330
|
exports.CustomerOverageAllowed$inboundSchema = CustomerOverageAllowed$inboundSchema;
|
|
17633
|
-
exports.
|
|
18331
|
+
exports.CustomerPurchaseLimit1$inboundSchema = CustomerPurchaseLimit1$inboundSchema;
|
|
18332
|
+
exports.CustomerPurchaseLimit2$inboundSchema = CustomerPurchaseLimit2$inboundSchema;
|
|
18333
|
+
exports.CustomerPurchaseLimitUnion$inboundSchema = CustomerPurchaseLimitUnion$inboundSchema;
|
|
17634
18334
|
exports.CustomerSpendLimit$inboundSchema = CustomerSpendLimit$inboundSchema;
|
|
17635
18335
|
exports.CustomerStatus = CustomerStatus;
|
|
17636
18336
|
exports.CustomerStatus$inboundSchema = CustomerStatus$inboundSchema;
|
|
@@ -17657,18 +18357,28 @@ exports.EventsAggregateParams$outboundSchema = EventsAggregateParams$outboundSch
|
|
|
17657
18357
|
exports.EventsListParams$outboundSchema = EventsListParams$outboundSchema;
|
|
17658
18358
|
exports.ExpiryDurationType = ExpiryDurationType;
|
|
17659
18359
|
exports.ExpiryDurationType$inboundSchema = ExpiryDurationType$inboundSchema;
|
|
17660
|
-
exports.
|
|
17661
|
-
exports.
|
|
18360
|
+
exports.FeatureType1 = FeatureType1;
|
|
18361
|
+
exports.FeatureType1$inboundSchema = FeatureType1$inboundSchema;
|
|
18362
|
+
exports.FeatureType2 = FeatureType2;
|
|
18363
|
+
exports.FeatureType2$inboundSchema = FeatureType2$inboundSchema;
|
|
17662
18364
|
exports.FinalizeBalanceParams$outboundSchema = FinalizeBalanceParams$outboundSchema;
|
|
17663
18365
|
exports.FinalizeLockResponse$inboundSchema = FinalizeLockResponse$inboundSchema;
|
|
17664
|
-
exports.
|
|
17665
|
-
exports.
|
|
17666
|
-
exports.
|
|
17667
|
-
exports.
|
|
18366
|
+
exports.FinalizeLockResponseBody1$inboundSchema = FinalizeLockResponseBody1$inboundSchema;
|
|
18367
|
+
exports.FinalizeLockResponseBody2$inboundSchema = FinalizeLockResponseBody2$inboundSchema;
|
|
18368
|
+
exports.Flag1$inboundSchema = Flag1$inboundSchema;
|
|
18369
|
+
exports.Flag2$inboundSchema = Flag2$inboundSchema;
|
|
18370
|
+
exports.FlagDisplay1$inboundSchema = FlagDisplay1$inboundSchema;
|
|
18371
|
+
exports.FlagDisplay2$inboundSchema = FlagDisplay2$inboundSchema;
|
|
18372
|
+
exports.FlagType1 = FlagType1;
|
|
18373
|
+
exports.FlagType1$inboundSchema = FlagType1$inboundSchema;
|
|
18374
|
+
exports.FlagType2 = FlagType2;
|
|
18375
|
+
exports.FlagType2$inboundSchema = FlagType2$inboundSchema;
|
|
17668
18376
|
exports.Flags$inboundSchema = Flags$inboundSchema;
|
|
17669
18377
|
exports.FreeTrial$inboundSchema = FreeTrial$inboundSchema;
|
|
17670
|
-
exports.
|
|
17671
|
-
exports.
|
|
18378
|
+
exports.FreeTrialDuration1 = FreeTrialDuration1;
|
|
18379
|
+
exports.FreeTrialDuration1$inboundSchema = FreeTrialDuration1$inboundSchema;
|
|
18380
|
+
exports.FreeTrialDuration2 = FreeTrialDuration2;
|
|
18381
|
+
exports.FreeTrialDuration2$inboundSchema = FreeTrialDuration2$inboundSchema;
|
|
17672
18382
|
exports.FreeTrialRequest$outboundSchema = FreeTrialRequest$outboundSchema;
|
|
17673
18383
|
exports.GetEntityBillingControls$inboundSchema = GetEntityBillingControls$inboundSchema;
|
|
17674
18384
|
exports.GetEntityCreditSchema$inboundSchema = GetEntityCreditSchema$inboundSchema;
|
|
@@ -17748,7 +18458,8 @@ exports.GetPlanType = GetPlanType;
|
|
|
17748
18458
|
exports.GetPlanType$inboundSchema = GetPlanType$inboundSchema;
|
|
17749
18459
|
exports.HTTPClient = HTTPClient;
|
|
17750
18460
|
exports.HTTPClientError = HTTPClientError;
|
|
17751
|
-
exports.
|
|
18461
|
+
exports.IncludedUsage1$inboundSchema = IncludedUsage1$inboundSchema;
|
|
18462
|
+
exports.IncludedUsage2$inboundSchema = IncludedUsage2$inboundSchema;
|
|
17752
18463
|
exports.Intent = Intent;
|
|
17753
18464
|
exports.Intent$inboundSchema = Intent$inboundSchema;
|
|
17754
18465
|
exports.Interval$inboundSchema = Interval$inboundSchema;
|
|
@@ -17764,14 +18475,18 @@ exports.ListCustomersEnv = ListCustomersEnv;
|
|
|
17764
18475
|
exports.ListCustomersEnv$inboundSchema = ListCustomersEnv$inboundSchema;
|
|
17765
18476
|
exports.ListCustomersFeature$inboundSchema = ListCustomersFeature$inboundSchema;
|
|
17766
18477
|
exports.ListCustomersFlags$inboundSchema = ListCustomersFlags$inboundSchema;
|
|
17767
|
-
exports.
|
|
17768
|
-
exports.
|
|
18478
|
+
exports.ListCustomersInterval1 = ListCustomersInterval1;
|
|
18479
|
+
exports.ListCustomersInterval1$inboundSchema = ListCustomersInterval1$inboundSchema;
|
|
18480
|
+
exports.ListCustomersInterval2 = ListCustomersInterval2;
|
|
18481
|
+
exports.ListCustomersInterval2$inboundSchema = ListCustomersInterval2$inboundSchema;
|
|
17769
18482
|
exports.ListCustomersList$inboundSchema = ListCustomersList$inboundSchema;
|
|
17770
18483
|
exports.ListCustomersOverageAllowed$inboundSchema = ListCustomersOverageAllowed$inboundSchema;
|
|
17771
18484
|
exports.ListCustomersParams$outboundSchema = ListCustomersParams$outboundSchema;
|
|
17772
18485
|
exports.ListCustomersPlan$outboundSchema = ListCustomersPlan$outboundSchema;
|
|
17773
18486
|
exports.ListCustomersPurchase$inboundSchema = ListCustomersPurchase$inboundSchema;
|
|
17774
|
-
exports.
|
|
18487
|
+
exports.ListCustomersPurchaseLimit1$inboundSchema = ListCustomersPurchaseLimit1$inboundSchema;
|
|
18488
|
+
exports.ListCustomersPurchaseLimit2$inboundSchema = ListCustomersPurchaseLimit2$inboundSchema;
|
|
18489
|
+
exports.ListCustomersPurchaseLimitUnion$inboundSchema = ListCustomersPurchaseLimitUnion$inboundSchema;
|
|
17775
18490
|
exports.ListCustomersResponse$inboundSchema = ListCustomersResponse$inboundSchema;
|
|
17776
18491
|
exports.ListCustomersSpendLimit$inboundSchema = ListCustomersSpendLimit$inboundSchema;
|
|
17777
18492
|
exports.ListCustomersStatus = ListCustomersStatus;
|
|
@@ -17909,7 +18624,8 @@ exports.PlanTierBehavior = PlanTierBehavior;
|
|
|
17909
18624
|
exports.PlanTierBehavior$inboundSchema = PlanTierBehavior$inboundSchema;
|
|
17910
18625
|
exports.PlanType = PlanType;
|
|
17911
18626
|
exports.PlanType$inboundSchema = PlanType$inboundSchema;
|
|
17912
|
-
exports.
|
|
18627
|
+
exports.Preview1$inboundSchema = Preview1$inboundSchema;
|
|
18628
|
+
exports.Preview2$inboundSchema = Preview2$inboundSchema;
|
|
17913
18629
|
exports.PreviewAttachAttachDiscount$outboundSchema = PreviewAttachAttachDiscount$outboundSchema;
|
|
17914
18630
|
exports.PreviewAttachBasePrice$outboundSchema = PreviewAttachBasePrice$outboundSchema;
|
|
17915
18631
|
exports.PreviewAttachBillingMethod = PreviewAttachBillingMethod;
|
|
@@ -17961,6 +18677,9 @@ exports.PreviewAttachResetInterval = PreviewAttachResetInterval;
|
|
|
17961
18677
|
exports.PreviewAttachResetInterval$outboundSchema = PreviewAttachResetInterval$outboundSchema;
|
|
17962
18678
|
exports.PreviewAttachResponse$inboundSchema = PreviewAttachResponse$inboundSchema;
|
|
17963
18679
|
exports.PreviewAttachRollover$outboundSchema = PreviewAttachRollover$outboundSchema;
|
|
18680
|
+
exports.PreviewAttachStatus = PreviewAttachStatus;
|
|
18681
|
+
exports.PreviewAttachStatus$inboundSchema = PreviewAttachStatus$inboundSchema;
|
|
18682
|
+
exports.PreviewAttachTax$inboundSchema = PreviewAttachTax$inboundSchema;
|
|
17964
18683
|
exports.PreviewAttachTier$outboundSchema = PreviewAttachTier$outboundSchema;
|
|
17965
18684
|
exports.PreviewAttachTierBehavior = PreviewAttachTierBehavior;
|
|
17966
18685
|
exports.PreviewAttachTierBehavior$outboundSchema = PreviewAttachTierBehavior$outboundSchema;
|
|
@@ -18016,6 +18735,9 @@ exports.PreviewMultiAttachResetInterval$outboundSchema = PreviewMultiAttachReset
|
|
|
18016
18735
|
exports.PreviewMultiAttachResponse$inboundSchema = PreviewMultiAttachResponse$inboundSchema;
|
|
18017
18736
|
exports.PreviewMultiAttachRollover$outboundSchema = PreviewMultiAttachRollover$outboundSchema;
|
|
18018
18737
|
exports.PreviewMultiAttachSpendLimit$outboundSchema = PreviewMultiAttachSpendLimit$outboundSchema;
|
|
18738
|
+
exports.PreviewMultiAttachStatus = PreviewMultiAttachStatus;
|
|
18739
|
+
exports.PreviewMultiAttachStatus$inboundSchema = PreviewMultiAttachStatus$inboundSchema;
|
|
18740
|
+
exports.PreviewMultiAttachTax$inboundSchema = PreviewMultiAttachTax$inboundSchema;
|
|
18019
18741
|
exports.PreviewMultiAttachThresholdType = PreviewMultiAttachThresholdType;
|
|
18020
18742
|
exports.PreviewMultiAttachThresholdType$outboundSchema = PreviewMultiAttachThresholdType$outboundSchema;
|
|
18021
18743
|
exports.PreviewMultiAttachTier$outboundSchema = PreviewMultiAttachTier$outboundSchema;
|
|
@@ -18080,13 +18802,20 @@ exports.PreviewUpdateUsageLineItem$inboundSchema = PreviewUpdateUsageLineItem$in
|
|
|
18080
18802
|
exports.PreviewUpdateUsageLineItemPeriod$inboundSchema = PreviewUpdateUsageLineItemPeriod$inboundSchema;
|
|
18081
18803
|
exports.Processor = Processor;
|
|
18082
18804
|
exports.Processor$outboundSchema = Processor$outboundSchema;
|
|
18083
|
-
exports.
|
|
18084
|
-
exports.
|
|
18085
|
-
exports.
|
|
18086
|
-
exports.
|
|
18087
|
-
exports.
|
|
18088
|
-
exports.
|
|
18089
|
-
exports.
|
|
18805
|
+
exports.Product1$inboundSchema = Product1$inboundSchema;
|
|
18806
|
+
exports.Product2$inboundSchema = Product2$inboundSchema;
|
|
18807
|
+
exports.ProductDisplay1$inboundSchema = ProductDisplay1$inboundSchema;
|
|
18808
|
+
exports.ProductDisplay2$inboundSchema = ProductDisplay2$inboundSchema;
|
|
18809
|
+
exports.ProductScenario1 = ProductScenario1;
|
|
18810
|
+
exports.ProductScenario1$inboundSchema = ProductScenario1$inboundSchema;
|
|
18811
|
+
exports.ProductScenario2 = ProductScenario2;
|
|
18812
|
+
exports.ProductScenario2$inboundSchema = ProductScenario2$inboundSchema;
|
|
18813
|
+
exports.ProductType1 = ProductType1;
|
|
18814
|
+
exports.ProductType1$inboundSchema = ProductType1$inboundSchema;
|
|
18815
|
+
exports.ProductType2 = ProductType2;
|
|
18816
|
+
exports.ProductType2$inboundSchema = ProductType2$inboundSchema;
|
|
18817
|
+
exports.Properties1$inboundSchema = Properties1$inboundSchema;
|
|
18818
|
+
exports.Properties2$inboundSchema = Properties2$inboundSchema;
|
|
18090
18819
|
exports.Purchase$inboundSchema = Purchase$inboundSchema;
|
|
18091
18820
|
exports.Range = Range;
|
|
18092
18821
|
exports.Range$outboundSchema = Range$outboundSchema;
|
|
@@ -18102,8 +18831,10 @@ exports.RewardsType = RewardsType;
|
|
|
18102
18831
|
exports.RewardsType$inboundSchema = RewardsType$inboundSchema;
|
|
18103
18832
|
exports.SDKValidationError = SDKValidationError;
|
|
18104
18833
|
exports.SDK_METADATA = SDK_METADATA;
|
|
18105
|
-
exports.
|
|
18106
|
-
exports.
|
|
18834
|
+
exports.Scenario1 = Scenario1;
|
|
18835
|
+
exports.Scenario1$inboundSchema = Scenario1$inboundSchema;
|
|
18836
|
+
exports.Scenario2 = Scenario2;
|
|
18837
|
+
exports.Scenario2$inboundSchema = Scenario2$inboundSchema;
|
|
18107
18838
|
exports.Security$outboundSchema = Security$outboundSchema;
|
|
18108
18839
|
exports.ServerList = ServerList;
|
|
18109
18840
|
exports.SetupPaymentAttachDiscount$outboundSchema = SetupPaymentAttachDiscount$outboundSchema;
|
|
@@ -18150,6 +18881,8 @@ exports.Total$inboundSchema = Total$inboundSchema;
|
|
|
18150
18881
|
exports.TrackLock$outboundSchema = TrackLock$outboundSchema;
|
|
18151
18882
|
exports.TrackParams$outboundSchema = TrackParams$outboundSchema;
|
|
18152
18883
|
exports.TrackResponse$inboundSchema = TrackResponse$inboundSchema;
|
|
18884
|
+
exports.TrackResponseBody1$inboundSchema = TrackResponseBody1$inboundSchema;
|
|
18885
|
+
exports.TrackResponseBody2$inboundSchema = TrackResponseBody2$inboundSchema;
|
|
18153
18886
|
exports.TrialsUsed$inboundSchema = TrialsUsed$inboundSchema;
|
|
18154
18887
|
exports.UnexpectedClientError = UnexpectedClientError;
|
|
18155
18888
|
exports.UpdateBalanceInterval = UpdateBalanceInterval;
|
|
@@ -18170,14 +18903,18 @@ exports.UpdateCustomerFeature$inboundSchema = UpdateCustomerFeature$inboundSchem
|
|
|
18170
18903
|
exports.UpdateCustomerFlags$inboundSchema = UpdateCustomerFlags$inboundSchema;
|
|
18171
18904
|
exports.UpdateCustomerIntervalRequest = UpdateCustomerIntervalRequest;
|
|
18172
18905
|
exports.UpdateCustomerIntervalRequest$outboundSchema = UpdateCustomerIntervalRequest$outboundSchema;
|
|
18173
|
-
exports.
|
|
18174
|
-
exports.
|
|
18906
|
+
exports.UpdateCustomerIntervalResponse1 = UpdateCustomerIntervalResponse1;
|
|
18907
|
+
exports.UpdateCustomerIntervalResponse1$inboundSchema = UpdateCustomerIntervalResponse1$inboundSchema;
|
|
18908
|
+
exports.UpdateCustomerIntervalResponse2 = UpdateCustomerIntervalResponse2;
|
|
18909
|
+
exports.UpdateCustomerIntervalResponse2$inboundSchema = UpdateCustomerIntervalResponse2$inboundSchema;
|
|
18175
18910
|
exports.UpdateCustomerOverageAllowedRequest$outboundSchema = UpdateCustomerOverageAllowedRequest$outboundSchema;
|
|
18176
18911
|
exports.UpdateCustomerOverageAllowedResponse$inboundSchema = UpdateCustomerOverageAllowedResponse$inboundSchema;
|
|
18177
18912
|
exports.UpdateCustomerParams$outboundSchema = UpdateCustomerParams$outboundSchema;
|
|
18178
18913
|
exports.UpdateCustomerPurchase$inboundSchema = UpdateCustomerPurchase$inboundSchema;
|
|
18179
18914
|
exports.UpdateCustomerPurchaseLimitRequest$outboundSchema = UpdateCustomerPurchaseLimitRequest$outboundSchema;
|
|
18180
|
-
exports.
|
|
18915
|
+
exports.UpdateCustomerPurchaseLimitResponse1$inboundSchema = UpdateCustomerPurchaseLimitResponse1$inboundSchema;
|
|
18916
|
+
exports.UpdateCustomerPurchaseLimitResponse2$inboundSchema = UpdateCustomerPurchaseLimitResponse2$inboundSchema;
|
|
18917
|
+
exports.UpdateCustomerPurchaseLimitUnion$inboundSchema = UpdateCustomerPurchaseLimitUnion$inboundSchema;
|
|
18181
18918
|
exports.UpdateCustomerResponse$inboundSchema = UpdateCustomerResponse$inboundSchema;
|
|
18182
18919
|
exports.UpdateCustomerSpendLimitRequest$outboundSchema = UpdateCustomerSpendLimitRequest$outboundSchema;
|
|
18183
18920
|
exports.UpdateCustomerSpendLimitResponse$inboundSchema = UpdateCustomerSpendLimitResponse$inboundSchema;
|
|
@@ -18295,8 +19032,10 @@ exports.UpdatePlanTo$outboundSchema = UpdatePlanTo$outboundSchema;
|
|
|
18295
19032
|
exports.UpdatePlanType = UpdatePlanType;
|
|
18296
19033
|
exports.UpdatePlanType$inboundSchema = UpdatePlanType$inboundSchema;
|
|
18297
19034
|
exports.UpdateSubscriptionParams$outboundSchema = UpdateSubscriptionParams$outboundSchema;
|
|
18298
|
-
exports.
|
|
18299
|
-
exports.
|
|
19035
|
+
exports.UsageModel1 = UsageModel1;
|
|
19036
|
+
exports.UsageModel1$inboundSchema = UsageModel1$inboundSchema;
|
|
19037
|
+
exports.UsageModel2 = UsageModel2;
|
|
19038
|
+
exports.UsageModel2$inboundSchema = UsageModel2$inboundSchema;
|
|
18300
19039
|
exports.aggregateEventsCustomRangeToJSON = aggregateEventsCustomRangeToJSON;
|
|
18301
19040
|
exports.aggregateEventsFeatureIdToJSON = aggregateEventsFeatureIdToJSON;
|
|
18302
19041
|
exports.aggregateEventsListFromJSON = aggregateEventsListFromJSON;
|
|
@@ -18346,15 +19085,23 @@ exports.billingUpdateRolloverToJSON = billingUpdateRolloverToJSON;
|
|
|
18346
19085
|
exports.billingUpdateTierToJSON = billingUpdateTierToJSON;
|
|
18347
19086
|
exports.billingUpdateToToJSON = billingUpdateToToJSON;
|
|
18348
19087
|
exports.breakdownFromJSON = breakdownFromJSON;
|
|
18349
|
-
exports.
|
|
18350
|
-
exports.
|
|
18351
|
-
exports.
|
|
18352
|
-
exports.
|
|
18353
|
-
exports.
|
|
19088
|
+
exports.checkConfig1FromJSON = checkConfig1FromJSON;
|
|
19089
|
+
exports.checkConfig2FromJSON = checkConfig2FromJSON;
|
|
19090
|
+
exports.checkCreditSchema1FromJSON = checkCreditSchema1FromJSON;
|
|
19091
|
+
exports.checkCreditSchema2FromJSON = checkCreditSchema2FromJSON;
|
|
19092
|
+
exports.checkFeature1FromJSON = checkFeature1FromJSON;
|
|
19093
|
+
exports.checkFeature2FromJSON = checkFeature2FromJSON;
|
|
19094
|
+
exports.checkFreeTrial1FromJSON = checkFreeTrial1FromJSON;
|
|
19095
|
+
exports.checkFreeTrial2FromJSON = checkFreeTrial2FromJSON;
|
|
19096
|
+
exports.checkItem1FromJSON = checkItem1FromJSON;
|
|
19097
|
+
exports.checkItem2FromJSON = checkItem2FromJSON;
|
|
18354
19098
|
exports.checkLockToJSON = checkLockToJSON;
|
|
18355
19099
|
exports.checkParamsToJSON = checkParamsToJSON;
|
|
19100
|
+
exports.checkResponseBody1FromJSON = checkResponseBody1FromJSON;
|
|
19101
|
+
exports.checkResponseBody2FromJSON = checkResponseBody2FromJSON;
|
|
18356
19102
|
exports.checkResponseFromJSON = checkResponseFromJSON;
|
|
18357
|
-
exports.
|
|
19103
|
+
exports.checkRollover1FromJSON = checkRollover1FromJSON;
|
|
19104
|
+
exports.checkRollover2FromJSON = checkRollover2FromJSON;
|
|
18358
19105
|
exports.createBalanceParamsToJSON = createBalanceParamsToJSON;
|
|
18359
19106
|
exports.createBalanceResetToJSON = createBalanceResetToJSON;
|
|
18360
19107
|
exports.createBalanceResponseFromJSON = createBalanceResponseFromJSON;
|
|
@@ -18425,7 +19172,9 @@ exports.customerEligibilityFromJSON = customerEligibilityFromJSON;
|
|
|
18425
19172
|
exports.customerFeatureFromJSON = customerFeatureFromJSON;
|
|
18426
19173
|
exports.customerFromJSON = customerFromJSON;
|
|
18427
19174
|
exports.customerOverageAllowedFromJSON = customerOverageAllowedFromJSON;
|
|
18428
|
-
exports.
|
|
19175
|
+
exports.customerPurchaseLimit1FromJSON = customerPurchaseLimit1FromJSON;
|
|
19176
|
+
exports.customerPurchaseLimit2FromJSON = customerPurchaseLimit2FromJSON;
|
|
19177
|
+
exports.customerPurchaseLimitUnionFromJSON = customerPurchaseLimitUnionFromJSON;
|
|
18429
19178
|
exports.customerSpendLimitFromJSON = customerSpendLimitFromJSON;
|
|
18430
19179
|
exports.customerUsageAlertFromJSON = customerUsageAlertFromJSON;
|
|
18431
19180
|
exports.deleteBalanceParamsToJSON = deleteBalanceParamsToJSON;
|
|
@@ -18444,9 +19193,13 @@ exports.eventsAggregateParamsToJSON = eventsAggregateParamsToJSON;
|
|
|
18444
19193
|
exports.eventsListParamsToJSON = eventsListParamsToJSON;
|
|
18445
19194
|
exports.files = files_exports;
|
|
18446
19195
|
exports.finalizeBalanceParamsToJSON = finalizeBalanceParamsToJSON;
|
|
19196
|
+
exports.finalizeLockResponseBody1FromJSON = finalizeLockResponseBody1FromJSON;
|
|
19197
|
+
exports.finalizeLockResponseBody2FromJSON = finalizeLockResponseBody2FromJSON;
|
|
18447
19198
|
exports.finalizeLockResponseFromJSON = finalizeLockResponseFromJSON;
|
|
18448
|
-
exports.
|
|
18449
|
-
exports.
|
|
19199
|
+
exports.flag1FromJSON = flag1FromJSON;
|
|
19200
|
+
exports.flag2FromJSON = flag2FromJSON;
|
|
19201
|
+
exports.flagDisplay1FromJSON = flagDisplay1FromJSON;
|
|
19202
|
+
exports.flagDisplay2FromJSON = flagDisplay2FromJSON;
|
|
18450
19203
|
exports.flagsFromJSON = flagsFromJSON;
|
|
18451
19204
|
exports.formatZodError = formatZodError;
|
|
18452
19205
|
exports.freeTrialFromJSON = freeTrialFromJSON;
|
|
@@ -18491,7 +19244,8 @@ exports.getPlanPriceFromJSON = getPlanPriceFromJSON;
|
|
|
18491
19244
|
exports.getPlanResetFromJSON = getPlanResetFromJSON;
|
|
18492
19245
|
exports.getPlanResponseFromJSON = getPlanResponseFromJSON;
|
|
18493
19246
|
exports.getPlanRolloverFromJSON = getPlanRolloverFromJSON;
|
|
18494
|
-
exports.
|
|
19247
|
+
exports.includedUsage1FromJSON = includedUsage1FromJSON;
|
|
19248
|
+
exports.includedUsage2FromJSON = includedUsage2FromJSON;
|
|
18495
19249
|
exports.intervalFromJSON = intervalFromJSON;
|
|
18496
19250
|
exports.invoiceFromJSON = invoiceFromJSON;
|
|
18497
19251
|
exports.itemFromJSON = itemFromJSON;
|
|
@@ -18507,7 +19261,9 @@ exports.listCustomersOverageAllowedFromJSON = listCustomersOverageAllowedFromJSO
|
|
|
18507
19261
|
exports.listCustomersParamsToJSON = listCustomersParamsToJSON;
|
|
18508
19262
|
exports.listCustomersPlanToJSON = listCustomersPlanToJSON;
|
|
18509
19263
|
exports.listCustomersPurchaseFromJSON = listCustomersPurchaseFromJSON;
|
|
18510
|
-
exports.
|
|
19264
|
+
exports.listCustomersPurchaseLimit1FromJSON = listCustomersPurchaseLimit1FromJSON;
|
|
19265
|
+
exports.listCustomersPurchaseLimit2FromJSON = listCustomersPurchaseLimit2FromJSON;
|
|
19266
|
+
exports.listCustomersPurchaseLimitUnionFromJSON = listCustomersPurchaseLimitUnionFromJSON;
|
|
18511
19267
|
exports.listCustomersResponseFromJSON = listCustomersResponseFromJSON;
|
|
18512
19268
|
exports.listCustomersSpendLimitFromJSON = listCustomersSpendLimitFromJSON;
|
|
18513
19269
|
exports.listCustomersSubscriptionFromJSON = listCustomersSubscriptionFromJSON;
|
|
@@ -18573,6 +19329,8 @@ exports.planPriceDisplayFromJSON = planPriceDisplayFromJSON;
|
|
|
18573
19329
|
exports.planPriceFromJSON = planPriceFromJSON;
|
|
18574
19330
|
exports.planResetFromJSON = planResetFromJSON;
|
|
18575
19331
|
exports.planRolloverFromJSON = planRolloverFromJSON;
|
|
19332
|
+
exports.preview1FromJSON = preview1FromJSON;
|
|
19333
|
+
exports.preview2FromJSON = preview2FromJSON;
|
|
18576
19334
|
exports.previewAttachAttachDiscountToJSON = previewAttachAttachDiscountToJSON;
|
|
18577
19335
|
exports.previewAttachBasePriceToJSON = previewAttachBasePriceToJSON;
|
|
18578
19336
|
exports.previewAttachCarryOverBalancesToJSON = previewAttachCarryOverBalancesToJSON;
|
|
@@ -18600,11 +19358,11 @@ exports.previewAttachProrationToJSON = previewAttachProrationToJSON;
|
|
|
18600
19358
|
exports.previewAttachResetToJSON = previewAttachResetToJSON;
|
|
18601
19359
|
exports.previewAttachResponseFromJSON = previewAttachResponseFromJSON;
|
|
18602
19360
|
exports.previewAttachRolloverToJSON = previewAttachRolloverToJSON;
|
|
19361
|
+
exports.previewAttachTaxFromJSON = previewAttachTaxFromJSON;
|
|
18603
19362
|
exports.previewAttachTierToJSON = previewAttachTierToJSON;
|
|
18604
19363
|
exports.previewAttachToToJSON = previewAttachToToJSON;
|
|
18605
19364
|
exports.previewAttachUsageLineItemFromJSON = previewAttachUsageLineItemFromJSON;
|
|
18606
19365
|
exports.previewAttachUsageLineItemPeriodFromJSON = previewAttachUsageLineItemPeriodFromJSON;
|
|
18607
|
-
exports.previewFromJSON = previewFromJSON;
|
|
18608
19366
|
exports.previewMultiAttachAttachDiscountToJSON = previewMultiAttachAttachDiscountToJSON;
|
|
18609
19367
|
exports.previewMultiAttachBasePriceToJSON = previewMultiAttachBasePriceToJSON;
|
|
18610
19368
|
exports.previewMultiAttachBillingControlsToJSON = previewMultiAttachBillingControlsToJSON;
|
|
@@ -18634,6 +19392,7 @@ exports.previewMultiAttachResetToJSON = previewMultiAttachResetToJSON;
|
|
|
18634
19392
|
exports.previewMultiAttachResponseFromJSON = previewMultiAttachResponseFromJSON;
|
|
18635
19393
|
exports.previewMultiAttachRolloverToJSON = previewMultiAttachRolloverToJSON;
|
|
18636
19394
|
exports.previewMultiAttachSpendLimitToJSON = previewMultiAttachSpendLimitToJSON;
|
|
19395
|
+
exports.previewMultiAttachTaxFromJSON = previewMultiAttachTaxFromJSON;
|
|
18637
19396
|
exports.previewMultiAttachTierToJSON = previewMultiAttachTierToJSON;
|
|
18638
19397
|
exports.previewMultiAttachToToJSON = previewMultiAttachToToJSON;
|
|
18639
19398
|
exports.previewMultiAttachUsageAlertToJSON = previewMultiAttachUsageAlertToJSON;
|
|
@@ -18668,9 +19427,12 @@ exports.previewUpdateTierToJSON = previewUpdateTierToJSON;
|
|
|
18668
19427
|
exports.previewUpdateToToJSON = previewUpdateToToJSON;
|
|
18669
19428
|
exports.previewUpdateUsageLineItemFromJSON = previewUpdateUsageLineItemFromJSON;
|
|
18670
19429
|
exports.previewUpdateUsageLineItemPeriodFromJSON = previewUpdateUsageLineItemPeriodFromJSON;
|
|
18671
|
-
exports.
|
|
18672
|
-
exports.
|
|
18673
|
-
exports.
|
|
19430
|
+
exports.product1FromJSON = product1FromJSON;
|
|
19431
|
+
exports.product2FromJSON = product2FromJSON;
|
|
19432
|
+
exports.productDisplay1FromJSON = productDisplay1FromJSON;
|
|
19433
|
+
exports.productDisplay2FromJSON = productDisplay2FromJSON;
|
|
19434
|
+
exports.properties1FromJSON = properties1FromJSON;
|
|
19435
|
+
exports.properties2FromJSON = properties2FromJSON;
|
|
18674
19436
|
exports.purchaseFromJSON = purchaseFromJSON;
|
|
18675
19437
|
exports.redeemReferralCodeParamsToJSON = redeemReferralCodeParamsToJSON;
|
|
18676
19438
|
exports.redeemReferralCodeResponseFromJSON = redeemReferralCodeResponseFromJSON;
|
|
@@ -18700,6 +19462,8 @@ exports.subscriptionFromJSON = subscriptionFromJSON;
|
|
|
18700
19462
|
exports.totalFromJSON = totalFromJSON;
|
|
18701
19463
|
exports.trackLockToJSON = trackLockToJSON;
|
|
18702
19464
|
exports.trackParamsToJSON = trackParamsToJSON;
|
|
19465
|
+
exports.trackResponseBody1FromJSON = trackResponseBody1FromJSON;
|
|
19466
|
+
exports.trackResponseBody2FromJSON = trackResponseBody2FromJSON;
|
|
18703
19467
|
exports.trackResponseFromJSON = trackResponseFromJSON;
|
|
18704
19468
|
exports.trialsUsedFromJSON = trialsUsedFromJSON;
|
|
18705
19469
|
exports.types = types_exports;
|
|
@@ -18720,7 +19484,9 @@ exports.updateCustomerOverageAllowedResponseFromJSON = updateCustomerOverageAllo
|
|
|
18720
19484
|
exports.updateCustomerParamsToJSON = updateCustomerParamsToJSON;
|
|
18721
19485
|
exports.updateCustomerPurchaseFromJSON = updateCustomerPurchaseFromJSON;
|
|
18722
19486
|
exports.updateCustomerPurchaseLimitRequestToJSON = updateCustomerPurchaseLimitRequestToJSON;
|
|
18723
|
-
exports.
|
|
19487
|
+
exports.updateCustomerPurchaseLimitResponse1FromJSON = updateCustomerPurchaseLimitResponse1FromJSON;
|
|
19488
|
+
exports.updateCustomerPurchaseLimitResponse2FromJSON = updateCustomerPurchaseLimitResponse2FromJSON;
|
|
19489
|
+
exports.updateCustomerPurchaseLimitUnionFromJSON = updateCustomerPurchaseLimitUnionFromJSON;
|
|
18724
19490
|
exports.updateCustomerResponseFromJSON = updateCustomerResponseFromJSON;
|
|
18725
19491
|
exports.updateCustomerSpendLimitRequestToJSON = updateCustomerSpendLimitRequestToJSON;
|
|
18726
19492
|
exports.updateCustomerSpendLimitResponseFromJSON = updateCustomerSpendLimitResponseFromJSON;
|