@schematichq/schematic-components 2.10.3 → 2.12.0

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.
@@ -27,6 +27,18 @@ declare interface AddOnsProps {
27
27
  currency?: string;
28
28
  }
29
29
 
30
+ export declare const AutoTopup: ({ planCreditGrants, autoTopupConfigs, updateAutoTopupConfig, }: AutoTopupProps) => JSX.Element;
31
+
32
+ declare type AutoTopupConfig = Pick<CompanyPlanCreditGrantView, "companyAutoTopupEnabled" | "companyAutoTopupThresholdCredits" | "companyAutoTopupAmount">;
33
+
34
+ declare interface AutoTopupProps {
35
+ isLoading: boolean;
36
+ planCreditGrants: PlanCreditGrantView[];
37
+ autoTopupConfigs: Map<string, AutoTopupConfig>;
38
+ updateAutoTopupConfig: (id: string, config: Partial<AutoTopupConfig>) => void;
39
+ currency?: string;
40
+ }
41
+
30
42
  export declare interface AvailableCurrenciesResult {
31
43
  currencies: string[];
32
44
  invalidFilterEntries: string[];
@@ -940,6 +952,12 @@ declare interface BillingPlanCreditGrantResponseData {
940
952
  * @memberof BillingPlanCreditGrantResponseData
941
953
  */
942
954
  autoTopupExpiryUnitCount?: number | null;
955
+ /**
956
+ *
957
+ * @type {boolean}
958
+ * @memberof BillingPlanCreditGrantResponseData
959
+ */
960
+ autoTopupSelfService: boolean;
943
961
  /**
944
962
  *
945
963
  * @type {number}
@@ -1102,6 +1120,12 @@ declare interface BillingPriceResponseData {
1102
1120
  * @memberof BillingPriceResponseData
1103
1121
  */
1104
1122
  interval: BillingProductPriceInterval;
1123
+ /**
1124
+ *
1125
+ * @type {number}
1126
+ * @memberof BillingPriceResponseData
1127
+ */
1128
+ intervalCount: number;
1105
1129
  /**
1106
1130
  *
1107
1131
  * @type {string}
@@ -1164,6 +1188,12 @@ declare interface BillingPriceResponseData_2 {
1164
1188
  * @memberof BillingPriceResponseData
1165
1189
  */
1166
1190
  interval: BillingProductPriceInterval_2;
1191
+ /**
1192
+ *
1193
+ * @type {number}
1194
+ * @memberof BillingPriceResponseData
1195
+ */
1196
+ intervalCount: number;
1167
1197
  /**
1168
1198
  *
1169
1199
  * @type {string}
@@ -1276,6 +1306,12 @@ declare interface BillingPriceView {
1276
1306
  * @memberof BillingPriceView
1277
1307
  */
1278
1308
  interval: BillingProductPriceInterval;
1309
+ /**
1310
+ *
1311
+ * @type {number}
1312
+ * @memberof BillingPriceView
1313
+ */
1314
+ intervalCount: number;
1279
1315
  /**
1280
1316
  *
1281
1317
  * @type {boolean}
@@ -1422,6 +1458,12 @@ declare interface BillingPriceView_2 {
1422
1458
  * @memberof BillingPriceView
1423
1459
  */
1424
1460
  interval: BillingProductPriceInterval_2;
1461
+ /**
1462
+ *
1463
+ * @type {number}
1464
+ * @memberof BillingPriceView
1465
+ */
1466
+ intervalCount: number;
1425
1467
  /**
1426
1468
  *
1427
1469
  * @type {boolean}
@@ -1784,6 +1826,12 @@ declare interface BillingProductForSubscriptionResponseData {
1784
1826
  * @memberof BillingProductForSubscriptionResponseData
1785
1827
  */
1786
1828
  interval: string;
1829
+ /**
1830
+ *
1831
+ * @type {number}
1832
+ * @memberof BillingProductForSubscriptionResponseData
1833
+ */
1834
+ intervalCount?: number | null;
1787
1835
  /**
1788
1836
  *
1789
1837
  * @type {string}
@@ -1932,6 +1980,12 @@ declare interface BillingProductPriceResponseData {
1932
1980
  * @memberof BillingProductPriceResponseData
1933
1981
  */
1934
1982
  interval: BillingProductPriceInterval;
1983
+ /**
1984
+ *
1985
+ * @type {number}
1986
+ * @memberof BillingProductPriceResponseData
1987
+ */
1988
+ intervalCount: number;
1935
1989
  /**
1936
1990
  *
1937
1991
  * @type {boolean}
@@ -2760,6 +2814,12 @@ declare interface ChangeSubscriptionRequestBody {
2760
2814
  * @memberof ChangeSubscriptionRequestBody
2761
2815
  */
2762
2816
  addOnIds: Array<UpdateAddOnRequestBody>;
2817
+ /**
2818
+ *
2819
+ * @type {Array<UpdateAutoTopupOverrideRequestBody>}
2820
+ * @memberof ChangeSubscriptionRequestBody
2821
+ */
2822
+ autoTopupOverrides: Array<UpdateAutoTopupOverrideRequestBody>;
2763
2823
  /**
2764
2824
  *
2765
2825
  * @type {string}
@@ -3555,6 +3615,211 @@ declare interface CompanyOverrideResponseData {
3555
3615
  valueType: EntitlementValueType;
3556
3616
  }
3557
3617
 
3618
+ /**
3619
+ *
3620
+ * @export
3621
+ * @interface CompanyPlanCreditGrantView
3622
+ */
3623
+ declare interface CompanyPlanCreditGrantView {
3624
+ /**
3625
+ *
3626
+ * @type {number}
3627
+ * @memberof CompanyPlanCreditGrantView
3628
+ */
3629
+ billingCreditAutoTopupAmount?: number | null;
3630
+ /**
3631
+ *
3632
+ * @type {string}
3633
+ * @memberof CompanyPlanCreditGrantView
3634
+ */
3635
+ billingCreditAutoTopupAmountType?: string | null;
3636
+ /**
3637
+ *
3638
+ * @type {boolean}
3639
+ * @memberof CompanyPlanCreditGrantView
3640
+ */
3641
+ billingCreditAutoTopupEnabled: boolean;
3642
+ /**
3643
+ *
3644
+ * @type {BillingCreditExpiryType}
3645
+ * @memberof CompanyPlanCreditGrantView
3646
+ */
3647
+ billingCreditAutoTopupExpiryType?: BillingCreditExpiryType | null;
3648
+ /**
3649
+ *
3650
+ * @type {BillingCreditExpiryUnit}
3651
+ * @memberof CompanyPlanCreditGrantView
3652
+ */
3653
+ billingCreditAutoTopupExpiryUnit?: BillingCreditExpiryUnit | null;
3654
+ /**
3655
+ *
3656
+ * @type {number}
3657
+ * @memberof CompanyPlanCreditGrantView
3658
+ */
3659
+ billingCreditAutoTopupExpiryUnitCount?: number | null;
3660
+ /**
3661
+ *
3662
+ * @type {boolean}
3663
+ * @memberof CompanyPlanCreditGrantView
3664
+ */
3665
+ billingCreditAutoTopupSelfService: boolean;
3666
+ /**
3667
+ *
3668
+ * @type {number}
3669
+ * @memberof CompanyPlanCreditGrantView
3670
+ */
3671
+ billingCreditAutoTopupThresholdCredits?: number | null;
3672
+ /**
3673
+ *
3674
+ * @type {number}
3675
+ * @memberof CompanyPlanCreditGrantView
3676
+ */
3677
+ billingCreditAutoTopupThresholdPercent?: number | null;
3678
+ /**
3679
+ *
3680
+ * @type {number}
3681
+ * @memberof CompanyPlanCreditGrantView
3682
+ */
3683
+ companyAutoTopupAmount?: number | null;
3684
+ /**
3685
+ *
3686
+ * @type {boolean}
3687
+ * @memberof CompanyPlanCreditGrantView
3688
+ */
3689
+ companyAutoTopupEnabled?: boolean | null;
3690
+ /**
3691
+ *
3692
+ * @type {number}
3693
+ * @memberof CompanyPlanCreditGrantView
3694
+ */
3695
+ companyAutoTopupThresholdCredits?: number | null;
3696
+ /**
3697
+ *
3698
+ * @type {Date}
3699
+ * @memberof CompanyPlanCreditGrantView
3700
+ */
3701
+ createdAt: Date;
3702
+ /**
3703
+ *
3704
+ * @type {BillingCreditView}
3705
+ * @memberof CompanyPlanCreditGrantView
3706
+ */
3707
+ credit?: BillingCreditView;
3708
+ /**
3709
+ *
3710
+ * @type {number}
3711
+ * @memberof CompanyPlanCreditGrantView
3712
+ */
3713
+ creditAmount: number;
3714
+ /**
3715
+ * Deprecated field, will be removed in the future. Use Credit.Description instead.
3716
+ * @type {string}
3717
+ * @memberof CompanyPlanCreditGrantView
3718
+ * @deprecated
3719
+ */
3720
+ creditDescription: string;
3721
+ /**
3722
+ * Deprecated field, will be removed in the future. Use Credit.Icon instead.
3723
+ * @type {string}
3724
+ * @memberof CompanyPlanCreditGrantView
3725
+ * @deprecated
3726
+ */
3727
+ creditIcon?: string | null;
3728
+ /**
3729
+ *
3730
+ * @type {string}
3731
+ * @memberof CompanyPlanCreditGrantView
3732
+ */
3733
+ creditId: string;
3734
+ /**
3735
+ * Deprecated field, will be removed in the future. Use Credit.Name instead.
3736
+ * @type {string}
3737
+ * @memberof CompanyPlanCreditGrantView
3738
+ * @deprecated
3739
+ */
3740
+ creditName: string;
3741
+ /**
3742
+ *
3743
+ * @type {BillingCreditExpiryType}
3744
+ * @memberof CompanyPlanCreditGrantView
3745
+ */
3746
+ expiryType?: BillingCreditExpiryType | null;
3747
+ /**
3748
+ *
3749
+ * @type {BillingCreditExpiryUnit}
3750
+ * @memberof CompanyPlanCreditGrantView
3751
+ */
3752
+ expiryUnit?: BillingCreditExpiryUnit | null;
3753
+ /**
3754
+ *
3755
+ * @type {number}
3756
+ * @memberof CompanyPlanCreditGrantView
3757
+ */
3758
+ expiryUnitCount?: number | null;
3759
+ /**
3760
+ *
3761
+ * @type {string}
3762
+ * @memberof CompanyPlanCreditGrantView
3763
+ */
3764
+ id: string;
3765
+ /**
3766
+ *
3767
+ * @type {GenericPreviewObject}
3768
+ * @memberof CompanyPlanCreditGrantView
3769
+ */
3770
+ plan?: GenericPreviewObject;
3771
+ /**
3772
+ *
3773
+ * @type {string}
3774
+ * @memberof CompanyPlanCreditGrantView
3775
+ */
3776
+ planId: string;
3777
+ /**
3778
+ *
3779
+ * @type {string}
3780
+ * @memberof CompanyPlanCreditGrantView
3781
+ */
3782
+ planVersionId?: string | null;
3783
+ /**
3784
+ * Deprecated field, will be removed in the future. Use Credit.PluralName instead.
3785
+ * @type {string}
3786
+ * @memberof CompanyPlanCreditGrantView
3787
+ * @deprecated
3788
+ */
3789
+ pluralName?: string | null;
3790
+ /**
3791
+ *
3792
+ * @type {BillingPlanCreditGrantResetCadence}
3793
+ * @memberof CompanyPlanCreditGrantView
3794
+ */
3795
+ resetCadence?: BillingPlanCreditGrantResetCadence | null;
3796
+ /**
3797
+ *
3798
+ * @type {BillingPlanCreditGrantResetStart}
3799
+ * @memberof CompanyPlanCreditGrantView
3800
+ */
3801
+ resetStart?: BillingPlanCreditGrantResetStart | null;
3802
+ /**
3803
+ *
3804
+ * @type {BillingPlanCreditGrantResetType}
3805
+ * @memberof CompanyPlanCreditGrantView
3806
+ */
3807
+ resetType: BillingPlanCreditGrantResetType;
3808
+ /**
3809
+ * Deprecated field, will be removed in the future. Use Credit.SingularName instead.
3810
+ * @type {string}
3811
+ * @memberof CompanyPlanCreditGrantView
3812
+ * @deprecated
3813
+ */
3814
+ singularName?: string | null;
3815
+ /**
3816
+ *
3817
+ * @type {Date}
3818
+ * @memberof CompanyPlanCreditGrantView
3819
+ */
3820
+ updatedAt: Date;
3821
+ }
3822
+
3558
3823
  /**
3559
3824
  *
3560
3825
  * @export
@@ -3761,6 +4026,12 @@ declare interface CompanyPlanDetailResponseData {
3761
4026
  * @memberof CompanyPlanDetailResponseData
3762
4027
  */
3763
4028
  planType: PlanType;
4029
+ /**
4030
+ *
4031
+ * @type {BillingPriceResponseData}
4032
+ * @memberof CompanyPlanDetailResponseData
4033
+ */
4034
+ quarterlyPrice?: BillingPriceResponseData;
3764
4035
  /**
3765
4036
  *
3766
4037
  * @type {number}
@@ -3854,10 +4125,10 @@ declare interface CompanyPlanWithBillingSubView {
3854
4125
  imageUrl?: string | null;
3855
4126
  /**
3856
4127
  *
3857
- * @type {Array<PlanCreditGrantView>}
4128
+ * @type {Array<CompanyPlanCreditGrantView>}
3858
4129
  * @memberof CompanyPlanWithBillingSubView
3859
4130
  */
3860
- includedCreditGrants: Array<PlanCreditGrantView>;
4131
+ includedCreditGrants: Array<CompanyPlanCreditGrantView>;
3861
4132
  /**
3862
4133
  *
3863
4134
  * @type {string}
@@ -5303,6 +5574,14 @@ declare interface CustomPlanBillingResponseData {
5303
5574
  updatedAt: Date;
5304
5575
  }
5305
5576
 
5577
+ export declare interface CustomPlanBillingState {
5578
+ billing: CustomPlanBillingResponseData;
5579
+ planName?: string;
5580
+ deadline: Date;
5581
+ isAwaitingActivation: boolean;
5582
+ isAwaitingPayment: boolean;
5583
+ }
5584
+
5306
5585
  /**
5307
5586
  *
5308
5587
  * @export
@@ -5806,7 +6085,7 @@ export declare interface EmbedState {
5806
6085
  currencyFilter?: string[];
5807
6086
  }
5808
6087
 
5809
- export declare const Entitlement: ({ entitlement, period, credits, tooltipPortal, currency: selectedCurrency, }: EntitlementProps) => JSX.Element;
6088
+ export declare const Entitlement: ({ portal, entitlement, period, credits, currency: selectedCurrency, }: EntitlementProps) => JSX.Element;
5810
6089
 
5811
6090
  /**
5812
6091
  *
@@ -5826,6 +6105,12 @@ declare interface EntitlementCurrencyPricesResponseData {
5826
6105
  * @memberof EntitlementCurrencyPricesResponseData
5827
6106
  */
5828
6107
  monthlyPrice?: BillingPriceView;
6108
+ /**
6109
+ *
6110
+ * @type {BillingPriceView}
6111
+ * @memberof EntitlementCurrencyPricesResponseData
6112
+ */
6113
+ quarterlyPrice?: BillingPriceView;
5829
6114
  /**
5830
6115
  *
5831
6116
  * @type {BillingPriceView}
@@ -5852,6 +6137,12 @@ declare interface EntitlementCurrencyPricesResponseData_2 {
5852
6137
  * @memberof EntitlementCurrencyPricesResponseData
5853
6138
  */
5854
6139
  monthlyPrice?: BillingPriceView_2;
6140
+ /**
6141
+ *
6142
+ * @type {BillingPriceView}
6143
+ * @memberof EntitlementCurrencyPricesResponseData
6144
+ */
6145
+ quarterlyPrice?: BillingPriceView_2;
5855
6146
  /**
5856
6147
  *
5857
6148
  * @type {BillingPriceView}
@@ -5889,10 +6180,10 @@ declare const EntitlementPriceBehavior_2: {
5889
6180
  declare type EntitlementPriceBehavior_2 = (typeof EntitlementPriceBehavior_2)[keyof typeof EntitlementPriceBehavior_2];
5890
6181
 
5891
6182
  export declare interface EntitlementProps {
6183
+ portal?: HTMLElement | null;
5892
6184
  entitlement: PlanEntitlementResponseData;
5893
6185
  period: string;
5894
6186
  credits: Credit[];
5895
- tooltipPortal?: HTMLElement | null;
5896
6187
  currency?: string;
5897
6188
  }
5898
6189
 
@@ -7099,6 +7390,12 @@ declare interface FeatureUsageResponseData {
7099
7390
  * @memberof FeatureUsageResponseData
7100
7391
  */
7101
7392
  priceBehavior?: EntitlementPriceBehavior | null;
7393
+ /**
7394
+ *
7395
+ * @type {BillingPriceView}
7396
+ * @memberof FeatureUsageResponseData
7397
+ */
7398
+ quarterlyUsageBasedPrice?: BillingPriceView;
7102
7399
  /**
7103
7400
  * The soft limit for the feature usage. Available only for overage price behavior
7104
7401
  * @type {number}
@@ -8242,7 +8539,7 @@ declare interface PaymentMethodResponseData {
8242
8539
  updatedAt: Date;
8243
8540
  }
8244
8541
 
8245
- export declare const Plan: ({ isLoading, plans, selectedPlan, period, selectPlan, shouldTrial, tooltipPortal, currency, }: PlanProps) => JSX.Element;
8542
+ export declare const Plan: ({ portal, isLoading, plans, selectedPlan, period, selectPlan, shouldTrial, currency, }: PlanProps) => JSX.Element;
8246
8543
 
8247
8544
  declare type Plan_2 = CompanyPlanDetailResponseData;
8248
8545
 
@@ -8288,6 +8585,12 @@ declare interface PlanCreditGrantView {
8288
8585
  * @memberof PlanCreditGrantView
8289
8586
  */
8290
8587
  billingCreditAutoTopupExpiryUnitCount?: number | null;
8588
+ /**
8589
+ *
8590
+ * @type {boolean}
8591
+ * @memberof PlanCreditGrantView
8592
+ */
8593
+ billingCreditAutoTopupSelfService: boolean;
8291
8594
  /**
8292
8595
  *
8293
8596
  * @type {number}
@@ -8469,6 +8772,12 @@ declare interface PlanCreditGrantView_2 {
8469
8772
  * @memberof PlanCreditGrantView
8470
8773
  */
8471
8774
  billingCreditAutoTopupExpiryUnitCount?: number | null;
8775
+ /**
8776
+ *
8777
+ * @type {boolean}
8778
+ * @memberof PlanCreditGrantView
8779
+ */
8780
+ billingCreditAutoTopupSelfService: boolean;
8472
8781
  /**
8473
8782
  *
8474
8783
  * @type {number}
@@ -8632,6 +8941,12 @@ declare interface PlanCurrencyPricesResponseData {
8632
8941
  * @memberof PlanCurrencyPricesResponseData
8633
8942
  */
8634
8943
  oneTimePrice?: BillingPriceResponseData;
8944
+ /**
8945
+ *
8946
+ * @type {BillingPriceResponseData}
8947
+ * @memberof PlanCurrencyPricesResponseData
8948
+ */
8949
+ quarterlyPrice?: BillingPriceResponseData;
8635
8950
  /**
8636
8951
  *
8637
8952
  * @type {BillingPriceResponseData}
@@ -8664,6 +8979,12 @@ declare interface PlanCurrencyPricesResponseData_2 {
8664
8979
  * @memberof PlanCurrencyPricesResponseData
8665
8980
  */
8666
8981
  oneTimePrice?: BillingPriceResponseData_2;
8982
+ /**
8983
+ *
8984
+ * @type {BillingPriceResponseData}
8985
+ * @memberof PlanCurrencyPricesResponseData
8986
+ */
8987
+ quarterlyPrice?: BillingPriceResponseData_2;
8667
8988
  /**
8668
8989
  *
8669
8990
  * @type {BillingPriceResponseData}
@@ -8830,6 +9151,12 @@ declare interface PlanDetailResponseData {
8830
9151
  * @memberof PlanDetailResponseData
8831
9152
  */
8832
9153
  planType: PlanType;
9154
+ /**
9155
+ *
9156
+ * @type {BillingPriceResponseData}
9157
+ * @memberof PlanDetailResponseData
9158
+ */
9159
+ quarterlyPrice?: BillingPriceResponseData;
8833
9160
  /**
8834
9161
  *
8835
9162
  * @type {number}
@@ -8922,6 +9249,12 @@ declare interface PlanEntitlementResponseData {
8922
9249
  * @memberof PlanEntitlementResponseData
8923
9250
  */
8924
9251
  meteredMonthlyPrice?: BillingPriceView;
9252
+ /**
9253
+ *
9254
+ * @type {BillingPriceView}
9255
+ * @memberof PlanEntitlementResponseData
9256
+ */
9257
+ meteredQuarterlyPrice?: BillingPriceView;
8925
9258
  /**
8926
9259
  *
8927
9260
  * @type {BillingPriceView}
@@ -9092,6 +9425,12 @@ declare interface PlanEntitlementResponseData_2 {
9092
9425
  * @memberof PlanEntitlementResponseData
9093
9426
  */
9094
9427
  meteredMonthlyPrice?: BillingPriceView_2;
9428
+ /**
9429
+ *
9430
+ * @type {BillingPriceView}
9431
+ * @memberof PlanEntitlementResponseData
9432
+ */
9433
+ meteredQuarterlyPrice?: BillingPriceView_2;
9095
9434
  /**
9096
9435
  *
9097
9436
  * @type {BillingPriceView}
@@ -9271,6 +9610,7 @@ portal?: HTMLElement | null;
9271
9610
  export declare type PlanManagerProps = DesignProps_6;
9272
9611
 
9273
9612
  declare interface PlanProps {
9613
+ portal?: HTMLElement | null;
9274
9614
  isLoading: boolean;
9275
9615
  plans: SelectedPlan[];
9276
9616
  selectedPlan?: SelectedPlan;
@@ -9281,7 +9621,6 @@ declare interface PlanProps {
9281
9621
  shouldTrial?: boolean;
9282
9622
  }) => void;
9283
9623
  shouldTrial: boolean;
9284
- tooltipPortal?: HTMLElement | null;
9285
9624
  currency?: string;
9286
9625
  }
9287
9626
 
@@ -9805,6 +10144,12 @@ declare interface PlanViewPublicResponseData {
9805
10144
  * @memberof PlanViewPublicResponseData
9806
10145
  */
9807
10146
  planType: PlanType_2;
10147
+ /**
10148
+ *
10149
+ * @type {BillingPriceResponseData}
10150
+ * @memberof PlanViewPublicResponseData
10151
+ */
10152
+ quarterlyPrice?: BillingPriceResponseData_2;
9808
10153
  /**
9809
10154
  *
9810
10155
  * @type {number}
@@ -10344,15 +10689,15 @@ declare interface PublicPlansResponseData {
10344
10689
  showZeroPriceAsFree: boolean;
10345
10690
  }
10346
10691
 
10347
- export declare const Quantity: ({ entitlements, updateQuantity, period, tooltipPortal, currency: selectedCurrency, }: QuantityProps) => JSX.Element;
10692
+ export declare const Quantity: ({ portal, entitlements, updateQuantity, period, currency: selectedCurrency, }: QuantityProps) => JSX.Element;
10348
10693
 
10349
10694
  declare interface QuantityProps {
10695
+ portal?: HTMLElement | null;
10350
10696
  isLoading: boolean;
10351
10697
  period: string;
10352
10698
  selectedPlan?: SelectedPlan;
10353
10699
  entitlements: UsageBasedEntitlement[];
10354
10700
  updateQuantity: (id: string, quantity: number) => void;
10355
- tooltipPortal?: HTMLElement | null;
10356
10701
  currency?: string;
10357
10702
  }
10358
10703
 
@@ -11158,6 +11503,8 @@ declare type SharedEntitlementUsageProps = {
11158
11503
  quantity: number;
11159
11504
  };
11160
11505
 
11506
+ declare type Status = "idle" | "confirming" | "succeeded" | "failed";
11507
+
11161
11508
  /**
11162
11509
  * Schematic API
11163
11510
  * Schematic API
@@ -11261,12 +11608,14 @@ export declare interface ThemeSettings {
11261
11608
  };
11262
11609
  }
11263
11610
 
11264
- export declare const Tooltip: ({ children, trigger, content, portal, position, ...rest }: TooltipProps) => JSX.Element;
11611
+ export declare const Toggle: IStyledComponentBase<"web", FastOmit<FastOmit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof ClassAttributes<HTMLInputElement> | keyof InputHTMLAttributes<HTMLInputElement>> & ClassAttributes<HTMLInputElement> & InputHTMLAttributes<HTMLInputElement>, "type"> & Partial<Pick<FastOmit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof ClassAttributes<HTMLInputElement> | keyof InputHTMLAttributes<HTMLInputElement>> & ClassAttributes<HTMLInputElement> & InputHTMLAttributes<HTMLInputElement>, "type">>> & string;
11612
+
11613
+ export declare const Tooltip: ({ children, portal, trigger, content, position, ...rest }: TooltipProps) => JSX.Element;
11265
11614
 
11266
11615
  export declare interface TooltipProps extends BoxProps {
11267
- trigger: React.ReactElement;
11268
- content: React.ReactNode;
11269
11616
  portal?: HTMLElement | null;
11617
+ trigger: React.ReactElement<BoxProps & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
11618
+ content: React.ReactNode;
11270
11619
  position?: Position;
11271
11620
  }
11272
11621
 
@@ -11438,6 +11787,49 @@ declare interface UpdateAddOnRequestBody {
11438
11787
  priceId: string;
11439
11788
  }
11440
11789
 
11790
+ /**
11791
+ * Schematic API
11792
+ * Schematic API
11793
+ *
11794
+ * The version of the OpenAPI document: 0.1
11795
+ *
11796
+ *
11797
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11798
+ * https://openapi-generator.tech
11799
+ * Do not edit the class manually.
11800
+ */
11801
+ /**
11802
+ *
11803
+ * @export
11804
+ * @interface UpdateAutoTopupOverrideRequestBody
11805
+ */
11806
+ declare interface UpdateAutoTopupOverrideRequestBody {
11807
+ /**
11808
+ *
11809
+ * @type {number}
11810
+ * @memberof UpdateAutoTopupOverrideRequestBody
11811
+ */
11812
+ autoTopupAmount?: number | null;
11813
+ /**
11814
+ *
11815
+ * @type {boolean}
11816
+ * @memberof UpdateAutoTopupOverrideRequestBody
11817
+ */
11818
+ autoTopupEnabled?: boolean | null;
11819
+ /**
11820
+ *
11821
+ * @type {number}
11822
+ * @memberof UpdateAutoTopupOverrideRequestBody
11823
+ */
11824
+ autoTopupThresholdCredits?: number | null;
11825
+ /**
11826
+ *
11827
+ * @type {string}
11828
+ * @memberof UpdateAutoTopupOverrideRequestBody
11829
+ */
11830
+ planCreditGrantId: string;
11831
+ }
11832
+
11441
11833
  /**
11442
11834
  * Schematic API
11443
11835
  * Schematic API
@@ -11576,6 +11968,12 @@ declare interface UsageBasedEntitlementResponseData {
11576
11968
  * @memberof UsageBasedEntitlementResponseData
11577
11969
  */
11578
11970
  priceBehavior?: EntitlementPriceBehavior | null;
11971
+ /**
11972
+ *
11973
+ * @type {BillingPriceView}
11974
+ * @memberof UsageBasedEntitlementResponseData
11975
+ */
11976
+ quarterlyUsageBasedPrice?: BillingPriceView;
11579
11977
  /**
11580
11978
  *
11581
11979
  * @type {boolean}
@@ -11623,6 +12021,8 @@ export declare function useAvailablePlans(activePeriod: string, options?: Availa
11623
12021
  periods: string[];
11624
12022
  };
11625
12023
 
12024
+ export declare function useCustomPlanBilling(): CustomPlanBillingState | undefined;
12025
+
11626
12026
  export declare const useEmbed: () => EmbedContextProps;
11627
12027
 
11628
12028
  export declare function useIsLightBackground(): boolean;
@@ -11641,7 +12041,7 @@ declare interface UsePaymentConfirmationReturn {
11641
12041
  confirmPayment: () => Promise<void>;
11642
12042
  isConfirming: boolean;
11643
12043
  error: Error | null;
11644
- status: "idle" | "confirming" | "succeeded" | "failed";
12044
+ status: Status;
11645
12045
  reset: () => void;
11646
12046
  }
11647
12047