@schematichq/schematic-components 2.10.2 → 2.11.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.
- package/dist/schematic-components.cjs.js +3989 -2560
- package/dist/schematic-components.d.ts +363 -13
- package/dist/schematic-components.esm.js +3812 -2382
- package/package.json +17 -19
|
@@ -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[];
|
|
@@ -104,7 +116,7 @@ declare interface BillingCreditBundleView {
|
|
|
104
116
|
* @type {Array<CreditBundleCurrencyPrice>}
|
|
105
117
|
* @memberof BillingCreditBundleView
|
|
106
118
|
*/
|
|
107
|
-
currencyPrices
|
|
119
|
+
currencyPrices: Array<CreditBundleCurrencyPrice>;
|
|
108
120
|
/**
|
|
109
121
|
*
|
|
110
122
|
* @type {BillingCreditExpiryType}
|
|
@@ -550,6 +562,12 @@ declare interface BillingCreditView {
|
|
|
550
562
|
* @memberof BillingCreditView
|
|
551
563
|
*/
|
|
552
564
|
createdAt: Date;
|
|
565
|
+
/**
|
|
566
|
+
*
|
|
567
|
+
* @type {Array<CreditCurrencyPrice>}
|
|
568
|
+
* @memberof BillingCreditView
|
|
569
|
+
*/
|
|
570
|
+
currencyPrices: Array<CreditCurrencyPrice>;
|
|
553
571
|
/**
|
|
554
572
|
*
|
|
555
573
|
* @type {BillingCreditExpiryUnit}
|
|
@@ -672,6 +690,12 @@ declare interface BillingCreditView_2 {
|
|
|
672
690
|
* @memberof BillingCreditView
|
|
673
691
|
*/
|
|
674
692
|
createdAt: Date;
|
|
693
|
+
/**
|
|
694
|
+
*
|
|
695
|
+
* @type {Array<CreditCurrencyPrice>}
|
|
696
|
+
* @memberof BillingCreditView
|
|
697
|
+
*/
|
|
698
|
+
currencyPrices: Array<CreditCurrencyPrice_2>;
|
|
675
699
|
/**
|
|
676
700
|
*
|
|
677
701
|
* @type {BillingCreditExpiryUnit}
|
|
@@ -928,6 +952,12 @@ declare interface BillingPlanCreditGrantResponseData {
|
|
|
928
952
|
* @memberof BillingPlanCreditGrantResponseData
|
|
929
953
|
*/
|
|
930
954
|
autoTopupExpiryUnitCount?: number | null;
|
|
955
|
+
/**
|
|
956
|
+
*
|
|
957
|
+
* @type {boolean}
|
|
958
|
+
* @memberof BillingPlanCreditGrantResponseData
|
|
959
|
+
*/
|
|
960
|
+
autoTopupSelfService: boolean;
|
|
931
961
|
/**
|
|
932
962
|
*
|
|
933
963
|
* @type {number}
|
|
@@ -2748,6 +2778,12 @@ declare interface ChangeSubscriptionRequestBody {
|
|
|
2748
2778
|
* @memberof ChangeSubscriptionRequestBody
|
|
2749
2779
|
*/
|
|
2750
2780
|
addOnIds: Array<UpdateAddOnRequestBody>;
|
|
2781
|
+
/**
|
|
2782
|
+
*
|
|
2783
|
+
* @type {Array<UpdateAutoTopupOverrideRequestBody>}
|
|
2784
|
+
* @memberof ChangeSubscriptionRequestBody
|
|
2785
|
+
*/
|
|
2786
|
+
autoTopupOverrides: Array<UpdateAutoTopupOverrideRequestBody>;
|
|
2751
2787
|
/**
|
|
2752
2788
|
*
|
|
2753
2789
|
* @type {string}
|
|
@@ -3543,6 +3579,211 @@ declare interface CompanyOverrideResponseData {
|
|
|
3543
3579
|
valueType: EntitlementValueType;
|
|
3544
3580
|
}
|
|
3545
3581
|
|
|
3582
|
+
/**
|
|
3583
|
+
*
|
|
3584
|
+
* @export
|
|
3585
|
+
* @interface CompanyPlanCreditGrantView
|
|
3586
|
+
*/
|
|
3587
|
+
declare interface CompanyPlanCreditGrantView {
|
|
3588
|
+
/**
|
|
3589
|
+
*
|
|
3590
|
+
* @type {number}
|
|
3591
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3592
|
+
*/
|
|
3593
|
+
billingCreditAutoTopupAmount?: number | null;
|
|
3594
|
+
/**
|
|
3595
|
+
*
|
|
3596
|
+
* @type {string}
|
|
3597
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3598
|
+
*/
|
|
3599
|
+
billingCreditAutoTopupAmountType?: string | null;
|
|
3600
|
+
/**
|
|
3601
|
+
*
|
|
3602
|
+
* @type {boolean}
|
|
3603
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3604
|
+
*/
|
|
3605
|
+
billingCreditAutoTopupEnabled: boolean;
|
|
3606
|
+
/**
|
|
3607
|
+
*
|
|
3608
|
+
* @type {BillingCreditExpiryType}
|
|
3609
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3610
|
+
*/
|
|
3611
|
+
billingCreditAutoTopupExpiryType?: BillingCreditExpiryType | null;
|
|
3612
|
+
/**
|
|
3613
|
+
*
|
|
3614
|
+
* @type {BillingCreditExpiryUnit}
|
|
3615
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3616
|
+
*/
|
|
3617
|
+
billingCreditAutoTopupExpiryUnit?: BillingCreditExpiryUnit | null;
|
|
3618
|
+
/**
|
|
3619
|
+
*
|
|
3620
|
+
* @type {number}
|
|
3621
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3622
|
+
*/
|
|
3623
|
+
billingCreditAutoTopupExpiryUnitCount?: number | null;
|
|
3624
|
+
/**
|
|
3625
|
+
*
|
|
3626
|
+
* @type {boolean}
|
|
3627
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3628
|
+
*/
|
|
3629
|
+
billingCreditAutoTopupSelfService: boolean;
|
|
3630
|
+
/**
|
|
3631
|
+
*
|
|
3632
|
+
* @type {number}
|
|
3633
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3634
|
+
*/
|
|
3635
|
+
billingCreditAutoTopupThresholdCredits?: number | null;
|
|
3636
|
+
/**
|
|
3637
|
+
*
|
|
3638
|
+
* @type {number}
|
|
3639
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3640
|
+
*/
|
|
3641
|
+
billingCreditAutoTopupThresholdPercent?: number | null;
|
|
3642
|
+
/**
|
|
3643
|
+
*
|
|
3644
|
+
* @type {number}
|
|
3645
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3646
|
+
*/
|
|
3647
|
+
companyAutoTopupAmount?: number | null;
|
|
3648
|
+
/**
|
|
3649
|
+
*
|
|
3650
|
+
* @type {boolean}
|
|
3651
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3652
|
+
*/
|
|
3653
|
+
companyAutoTopupEnabled?: boolean | null;
|
|
3654
|
+
/**
|
|
3655
|
+
*
|
|
3656
|
+
* @type {number}
|
|
3657
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3658
|
+
*/
|
|
3659
|
+
companyAutoTopupThresholdCredits?: number | null;
|
|
3660
|
+
/**
|
|
3661
|
+
*
|
|
3662
|
+
* @type {Date}
|
|
3663
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3664
|
+
*/
|
|
3665
|
+
createdAt: Date;
|
|
3666
|
+
/**
|
|
3667
|
+
*
|
|
3668
|
+
* @type {BillingCreditView}
|
|
3669
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3670
|
+
*/
|
|
3671
|
+
credit?: BillingCreditView;
|
|
3672
|
+
/**
|
|
3673
|
+
*
|
|
3674
|
+
* @type {number}
|
|
3675
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3676
|
+
*/
|
|
3677
|
+
creditAmount: number;
|
|
3678
|
+
/**
|
|
3679
|
+
* Deprecated field, will be removed in the future. Use Credit.Description instead.
|
|
3680
|
+
* @type {string}
|
|
3681
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3682
|
+
* @deprecated
|
|
3683
|
+
*/
|
|
3684
|
+
creditDescription: string;
|
|
3685
|
+
/**
|
|
3686
|
+
* Deprecated field, will be removed in the future. Use Credit.Icon instead.
|
|
3687
|
+
* @type {string}
|
|
3688
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3689
|
+
* @deprecated
|
|
3690
|
+
*/
|
|
3691
|
+
creditIcon?: string | null;
|
|
3692
|
+
/**
|
|
3693
|
+
*
|
|
3694
|
+
* @type {string}
|
|
3695
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3696
|
+
*/
|
|
3697
|
+
creditId: string;
|
|
3698
|
+
/**
|
|
3699
|
+
* Deprecated field, will be removed in the future. Use Credit.Name instead.
|
|
3700
|
+
* @type {string}
|
|
3701
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3702
|
+
* @deprecated
|
|
3703
|
+
*/
|
|
3704
|
+
creditName: string;
|
|
3705
|
+
/**
|
|
3706
|
+
*
|
|
3707
|
+
* @type {BillingCreditExpiryType}
|
|
3708
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3709
|
+
*/
|
|
3710
|
+
expiryType?: BillingCreditExpiryType | null;
|
|
3711
|
+
/**
|
|
3712
|
+
*
|
|
3713
|
+
* @type {BillingCreditExpiryUnit}
|
|
3714
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3715
|
+
*/
|
|
3716
|
+
expiryUnit?: BillingCreditExpiryUnit | null;
|
|
3717
|
+
/**
|
|
3718
|
+
*
|
|
3719
|
+
* @type {number}
|
|
3720
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3721
|
+
*/
|
|
3722
|
+
expiryUnitCount?: number | null;
|
|
3723
|
+
/**
|
|
3724
|
+
*
|
|
3725
|
+
* @type {string}
|
|
3726
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3727
|
+
*/
|
|
3728
|
+
id: string;
|
|
3729
|
+
/**
|
|
3730
|
+
*
|
|
3731
|
+
* @type {GenericPreviewObject}
|
|
3732
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3733
|
+
*/
|
|
3734
|
+
plan?: GenericPreviewObject;
|
|
3735
|
+
/**
|
|
3736
|
+
*
|
|
3737
|
+
* @type {string}
|
|
3738
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3739
|
+
*/
|
|
3740
|
+
planId: string;
|
|
3741
|
+
/**
|
|
3742
|
+
*
|
|
3743
|
+
* @type {string}
|
|
3744
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3745
|
+
*/
|
|
3746
|
+
planVersionId?: string | null;
|
|
3747
|
+
/**
|
|
3748
|
+
* Deprecated field, will be removed in the future. Use Credit.PluralName instead.
|
|
3749
|
+
* @type {string}
|
|
3750
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3751
|
+
* @deprecated
|
|
3752
|
+
*/
|
|
3753
|
+
pluralName?: string | null;
|
|
3754
|
+
/**
|
|
3755
|
+
*
|
|
3756
|
+
* @type {BillingPlanCreditGrantResetCadence}
|
|
3757
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3758
|
+
*/
|
|
3759
|
+
resetCadence?: BillingPlanCreditGrantResetCadence | null;
|
|
3760
|
+
/**
|
|
3761
|
+
*
|
|
3762
|
+
* @type {BillingPlanCreditGrantResetStart}
|
|
3763
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3764
|
+
*/
|
|
3765
|
+
resetStart?: BillingPlanCreditGrantResetStart | null;
|
|
3766
|
+
/**
|
|
3767
|
+
*
|
|
3768
|
+
* @type {BillingPlanCreditGrantResetType}
|
|
3769
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3770
|
+
*/
|
|
3771
|
+
resetType: BillingPlanCreditGrantResetType;
|
|
3772
|
+
/**
|
|
3773
|
+
* Deprecated field, will be removed in the future. Use Credit.SingularName instead.
|
|
3774
|
+
* @type {string}
|
|
3775
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3776
|
+
* @deprecated
|
|
3777
|
+
*/
|
|
3778
|
+
singularName?: string | null;
|
|
3779
|
+
/**
|
|
3780
|
+
*
|
|
3781
|
+
* @type {Date}
|
|
3782
|
+
* @memberof CompanyPlanCreditGrantView
|
|
3783
|
+
*/
|
|
3784
|
+
updatedAt: Date;
|
|
3785
|
+
}
|
|
3786
|
+
|
|
3546
3787
|
/**
|
|
3547
3788
|
*
|
|
3548
3789
|
* @export
|
|
@@ -3842,10 +4083,10 @@ declare interface CompanyPlanWithBillingSubView {
|
|
|
3842
4083
|
imageUrl?: string | null;
|
|
3843
4084
|
/**
|
|
3844
4085
|
*
|
|
3845
|
-
* @type {Array<
|
|
4086
|
+
* @type {Array<CompanyPlanCreditGrantView>}
|
|
3846
4087
|
* @memberof CompanyPlanWithBillingSubView
|
|
3847
4088
|
*/
|
|
3848
|
-
includedCreditGrants: Array<
|
|
4089
|
+
includedCreditGrants: Array<CompanyPlanCreditGrantView>;
|
|
3849
4090
|
/**
|
|
3850
4091
|
*
|
|
3851
4092
|
* @type {string}
|
|
@@ -4934,6 +5175,46 @@ declare interface CreditCompanyGrantView {
|
|
|
4934
5175
|
zeroedOutReason?: BillingCreditGrantZeroedOutReason | null;
|
|
4935
5176
|
}
|
|
4936
5177
|
|
|
5178
|
+
/**
|
|
5179
|
+
*
|
|
5180
|
+
* @export
|
|
5181
|
+
* @interface CreditCurrencyPrice
|
|
5182
|
+
*/
|
|
5183
|
+
declare interface CreditCurrencyPrice {
|
|
5184
|
+
/**
|
|
5185
|
+
*
|
|
5186
|
+
* @type {string}
|
|
5187
|
+
* @memberof CreditCurrencyPrice
|
|
5188
|
+
*/
|
|
5189
|
+
currency: string;
|
|
5190
|
+
/**
|
|
5191
|
+
*
|
|
5192
|
+
* @type {BillingPriceView}
|
|
5193
|
+
* @memberof CreditCurrencyPrice
|
|
5194
|
+
*/
|
|
5195
|
+
price?: BillingPriceView;
|
|
5196
|
+
}
|
|
5197
|
+
|
|
5198
|
+
/**
|
|
5199
|
+
*
|
|
5200
|
+
* @export
|
|
5201
|
+
* @interface CreditCurrencyPrice
|
|
5202
|
+
*/
|
|
5203
|
+
declare interface CreditCurrencyPrice_2 {
|
|
5204
|
+
/**
|
|
5205
|
+
*
|
|
5206
|
+
* @type {string}
|
|
5207
|
+
* @memberof CreditCurrencyPrice
|
|
5208
|
+
*/
|
|
5209
|
+
currency: string;
|
|
5210
|
+
/**
|
|
5211
|
+
*
|
|
5212
|
+
* @type {BillingPriceView}
|
|
5213
|
+
* @memberof CreditCurrencyPrice
|
|
5214
|
+
*/
|
|
5215
|
+
price?: BillingPriceView_2;
|
|
5216
|
+
}
|
|
5217
|
+
|
|
4937
5218
|
/**
|
|
4938
5219
|
*
|
|
4939
5220
|
* @export
|
|
@@ -5251,6 +5532,14 @@ declare interface CustomPlanBillingResponseData {
|
|
|
5251
5532
|
updatedAt: Date;
|
|
5252
5533
|
}
|
|
5253
5534
|
|
|
5535
|
+
export declare interface CustomPlanBillingState {
|
|
5536
|
+
billing: CustomPlanBillingResponseData;
|
|
5537
|
+
planName?: string;
|
|
5538
|
+
deadline: Date;
|
|
5539
|
+
isAwaitingActivation: boolean;
|
|
5540
|
+
isAwaitingPayment: boolean;
|
|
5541
|
+
}
|
|
5542
|
+
|
|
5254
5543
|
/**
|
|
5255
5544
|
*
|
|
5256
5545
|
* @export
|
|
@@ -5754,7 +6043,7 @@ export declare interface EmbedState {
|
|
|
5754
6043
|
currencyFilter?: string[];
|
|
5755
6044
|
}
|
|
5756
6045
|
|
|
5757
|
-
export declare const Entitlement: ({ entitlement, period, credits,
|
|
6046
|
+
export declare const Entitlement: ({ portal, entitlement, period, credits, currency: selectedCurrency, }: EntitlementProps) => JSX.Element;
|
|
5758
6047
|
|
|
5759
6048
|
/**
|
|
5760
6049
|
*
|
|
@@ -5837,10 +6126,10 @@ declare const EntitlementPriceBehavior_2: {
|
|
|
5837
6126
|
declare type EntitlementPriceBehavior_2 = (typeof EntitlementPriceBehavior_2)[keyof typeof EntitlementPriceBehavior_2];
|
|
5838
6127
|
|
|
5839
6128
|
export declare interface EntitlementProps {
|
|
6129
|
+
portal?: HTMLElement | null;
|
|
5840
6130
|
entitlement: PlanEntitlementResponseData;
|
|
5841
6131
|
period: string;
|
|
5842
6132
|
credits: Credit[];
|
|
5843
|
-
tooltipPortal?: HTMLElement | null;
|
|
5844
6133
|
currency?: string;
|
|
5845
6134
|
}
|
|
5846
6135
|
|
|
@@ -8190,7 +8479,7 @@ declare interface PaymentMethodResponseData {
|
|
|
8190
8479
|
updatedAt: Date;
|
|
8191
8480
|
}
|
|
8192
8481
|
|
|
8193
|
-
export declare const Plan: ({ isLoading, plans, selectedPlan, period, selectPlan, shouldTrial,
|
|
8482
|
+
export declare const Plan: ({ portal, isLoading, plans, selectedPlan, period, selectPlan, shouldTrial, currency, }: PlanProps) => JSX.Element;
|
|
8194
8483
|
|
|
8195
8484
|
declare type Plan_2 = CompanyPlanDetailResponseData;
|
|
8196
8485
|
|
|
@@ -8236,6 +8525,12 @@ declare interface PlanCreditGrantView {
|
|
|
8236
8525
|
* @memberof PlanCreditGrantView
|
|
8237
8526
|
*/
|
|
8238
8527
|
billingCreditAutoTopupExpiryUnitCount?: number | null;
|
|
8528
|
+
/**
|
|
8529
|
+
*
|
|
8530
|
+
* @type {boolean}
|
|
8531
|
+
* @memberof PlanCreditGrantView
|
|
8532
|
+
*/
|
|
8533
|
+
billingCreditAutoTopupSelfService: boolean;
|
|
8239
8534
|
/**
|
|
8240
8535
|
*
|
|
8241
8536
|
* @type {number}
|
|
@@ -8417,6 +8712,12 @@ declare interface PlanCreditGrantView_2 {
|
|
|
8417
8712
|
* @memberof PlanCreditGrantView
|
|
8418
8713
|
*/
|
|
8419
8714
|
billingCreditAutoTopupExpiryUnitCount?: number | null;
|
|
8715
|
+
/**
|
|
8716
|
+
*
|
|
8717
|
+
* @type {boolean}
|
|
8718
|
+
* @memberof PlanCreditGrantView
|
|
8719
|
+
*/
|
|
8720
|
+
billingCreditAutoTopupSelfService: boolean;
|
|
8420
8721
|
/**
|
|
8421
8722
|
*
|
|
8422
8723
|
* @type {number}
|
|
@@ -9219,6 +9520,7 @@ portal?: HTMLElement | null;
|
|
|
9219
9520
|
export declare type PlanManagerProps = DesignProps_6;
|
|
9220
9521
|
|
|
9221
9522
|
declare interface PlanProps {
|
|
9523
|
+
portal?: HTMLElement | null;
|
|
9222
9524
|
isLoading: boolean;
|
|
9223
9525
|
plans: SelectedPlan[];
|
|
9224
9526
|
selectedPlan?: SelectedPlan;
|
|
@@ -9229,7 +9531,6 @@ declare interface PlanProps {
|
|
|
9229
9531
|
shouldTrial?: boolean;
|
|
9230
9532
|
}) => void;
|
|
9231
9533
|
shouldTrial: boolean;
|
|
9232
|
-
tooltipPortal?: HTMLElement | null;
|
|
9233
9534
|
currency?: string;
|
|
9234
9535
|
}
|
|
9235
9536
|
|
|
@@ -10292,15 +10593,15 @@ declare interface PublicPlansResponseData {
|
|
|
10292
10593
|
showZeroPriceAsFree: boolean;
|
|
10293
10594
|
}
|
|
10294
10595
|
|
|
10295
|
-
export declare const Quantity: ({ entitlements, updateQuantity, period,
|
|
10596
|
+
export declare const Quantity: ({ portal, entitlements, updateQuantity, period, currency: selectedCurrency, }: QuantityProps) => JSX.Element;
|
|
10296
10597
|
|
|
10297
10598
|
declare interface QuantityProps {
|
|
10599
|
+
portal?: HTMLElement | null;
|
|
10298
10600
|
isLoading: boolean;
|
|
10299
10601
|
period: string;
|
|
10300
10602
|
selectedPlan?: SelectedPlan;
|
|
10301
10603
|
entitlements: UsageBasedEntitlement[];
|
|
10302
10604
|
updateQuantity: (id: string, quantity: number) => void;
|
|
10303
|
-
tooltipPortal?: HTMLElement | null;
|
|
10304
10605
|
currency?: string;
|
|
10305
10606
|
}
|
|
10306
10607
|
|
|
@@ -11106,6 +11407,8 @@ declare type SharedEntitlementUsageProps = {
|
|
|
11106
11407
|
quantity: number;
|
|
11107
11408
|
};
|
|
11108
11409
|
|
|
11410
|
+
declare type Status = "idle" | "confirming" | "succeeded" | "failed";
|
|
11411
|
+
|
|
11109
11412
|
/**
|
|
11110
11413
|
* Schematic API
|
|
11111
11414
|
* Schematic API
|
|
@@ -11209,12 +11512,14 @@ export declare interface ThemeSettings {
|
|
|
11209
11512
|
};
|
|
11210
11513
|
}
|
|
11211
11514
|
|
|
11212
|
-
export declare const
|
|
11515
|
+
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;
|
|
11516
|
+
|
|
11517
|
+
export declare const Tooltip: ({ children, portal, trigger, content, position, ...rest }: TooltipProps) => JSX.Element;
|
|
11213
11518
|
|
|
11214
11519
|
export declare interface TooltipProps extends BoxProps {
|
|
11215
|
-
trigger: React.ReactElement;
|
|
11216
|
-
content: React.ReactNode;
|
|
11217
11520
|
portal?: HTMLElement | null;
|
|
11521
|
+
trigger: React.ReactElement<BoxProps & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
11522
|
+
content: React.ReactNode;
|
|
11218
11523
|
position?: Position;
|
|
11219
11524
|
}
|
|
11220
11525
|
|
|
@@ -11386,6 +11691,49 @@ declare interface UpdateAddOnRequestBody {
|
|
|
11386
11691
|
priceId: string;
|
|
11387
11692
|
}
|
|
11388
11693
|
|
|
11694
|
+
/**
|
|
11695
|
+
* Schematic API
|
|
11696
|
+
* Schematic API
|
|
11697
|
+
*
|
|
11698
|
+
* The version of the OpenAPI document: 0.1
|
|
11699
|
+
*
|
|
11700
|
+
*
|
|
11701
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11702
|
+
* https://openapi-generator.tech
|
|
11703
|
+
* Do not edit the class manually.
|
|
11704
|
+
*/
|
|
11705
|
+
/**
|
|
11706
|
+
*
|
|
11707
|
+
* @export
|
|
11708
|
+
* @interface UpdateAutoTopupOverrideRequestBody
|
|
11709
|
+
*/
|
|
11710
|
+
declare interface UpdateAutoTopupOverrideRequestBody {
|
|
11711
|
+
/**
|
|
11712
|
+
*
|
|
11713
|
+
* @type {number}
|
|
11714
|
+
* @memberof UpdateAutoTopupOverrideRequestBody
|
|
11715
|
+
*/
|
|
11716
|
+
autoTopupAmount?: number | null;
|
|
11717
|
+
/**
|
|
11718
|
+
*
|
|
11719
|
+
* @type {boolean}
|
|
11720
|
+
* @memberof UpdateAutoTopupOverrideRequestBody
|
|
11721
|
+
*/
|
|
11722
|
+
autoTopupEnabled?: boolean | null;
|
|
11723
|
+
/**
|
|
11724
|
+
*
|
|
11725
|
+
* @type {number}
|
|
11726
|
+
* @memberof UpdateAutoTopupOverrideRequestBody
|
|
11727
|
+
*/
|
|
11728
|
+
autoTopupThresholdCredits?: number | null;
|
|
11729
|
+
/**
|
|
11730
|
+
*
|
|
11731
|
+
* @type {string}
|
|
11732
|
+
* @memberof UpdateAutoTopupOverrideRequestBody
|
|
11733
|
+
*/
|
|
11734
|
+
planCreditGrantId: string;
|
|
11735
|
+
}
|
|
11736
|
+
|
|
11389
11737
|
/**
|
|
11390
11738
|
* Schematic API
|
|
11391
11739
|
* Schematic API
|
|
@@ -11571,6 +11919,8 @@ export declare function useAvailablePlans(activePeriod: string, options?: Availa
|
|
|
11571
11919
|
periods: string[];
|
|
11572
11920
|
};
|
|
11573
11921
|
|
|
11922
|
+
export declare function useCustomPlanBilling(): CustomPlanBillingState | undefined;
|
|
11923
|
+
|
|
11574
11924
|
export declare const useEmbed: () => EmbedContextProps;
|
|
11575
11925
|
|
|
11576
11926
|
export declare function useIsLightBackground(): boolean;
|
|
@@ -11589,7 +11939,7 @@ declare interface UsePaymentConfirmationReturn {
|
|
|
11589
11939
|
confirmPayment: () => Promise<void>;
|
|
11590
11940
|
isConfirming: boolean;
|
|
11591
11941
|
error: Error | null;
|
|
11592
|
-
status:
|
|
11942
|
+
status: Status;
|
|
11593
11943
|
reset: () => void;
|
|
11594
11944
|
}
|
|
11595
11945
|
|