@schematichq/schematic-components 2.4.0 → 2.5.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.
@@ -747,6 +747,12 @@ declare interface BillingPriceResponseData {
747
747
  * @memberof BillingPriceResponseData
748
748
  */
749
749
  priceDecimal?: string | null;
750
+ /**
751
+ *
752
+ * @type {BillingProviderType}
753
+ * @memberof BillingPriceResponseData
754
+ */
755
+ providerType: BillingProviderType;
750
756
  /**
751
757
  *
752
758
  * @type {BillingPriceScheme}
@@ -797,6 +803,12 @@ declare interface BillingPriceResponseData_2 {
797
803
  * @memberof BillingPriceResponseData
798
804
  */
799
805
  priceDecimal?: string | null;
806
+ /**
807
+ *
808
+ * @type {BillingProviderType}
809
+ * @memberof BillingPriceResponseData
810
+ */
811
+ providerType: BillingProviderType_2;
800
812
  /**
801
813
  *
802
814
  * @type {BillingPriceScheme}
@@ -963,6 +975,12 @@ declare interface BillingPriceView {
963
975
  * @memberof BillingPriceView
964
976
  */
965
977
  productName: string;
978
+ /**
979
+ *
980
+ * @type {BillingProviderType}
981
+ * @memberof BillingPriceView
982
+ */
983
+ providerType: BillingProviderType;
966
984
  /**
967
985
  *
968
986
  * @type {BillingTiersMode}
@@ -1097,6 +1115,12 @@ declare interface BillingPriceView_2 {
1097
1115
  * @memberof BillingPriceView
1098
1116
  */
1099
1117
  productName: string;
1118
+ /**
1119
+ *
1120
+ * @type {BillingProviderType}
1121
+ * @memberof BillingPriceView
1122
+ */
1123
+ providerType: BillingProviderType_2;
1100
1124
  /**
1101
1125
  *
1102
1126
  * @type {BillingTiersMode}
@@ -1190,6 +1214,12 @@ declare interface BillingProductDetailResponseData {
1190
1214
  * @memberof BillingProductDetailResponseData
1191
1215
  */
1192
1216
  productId: string;
1217
+ /**
1218
+ *
1219
+ * @type {BillingProviderType}
1220
+ * @memberof BillingProductDetailResponseData
1221
+ */
1222
+ providerType: BillingProviderType;
1193
1223
  /**
1194
1224
  *
1195
1225
  * @type {number}
@@ -1283,6 +1313,12 @@ declare interface BillingProductDetailResponseData_2 {
1283
1313
  * @memberof BillingProductDetailResponseData
1284
1314
  */
1285
1315
  productId: string;
1316
+ /**
1317
+ *
1318
+ * @type {BillingProviderType}
1319
+ * @memberof BillingProductDetailResponseData
1320
+ */
1321
+ providerType: BillingProviderType_2;
1286
1322
  /**
1287
1323
  *
1288
1324
  * @type {number}
@@ -1405,6 +1441,12 @@ declare interface BillingProductForSubscriptionResponseData {
1405
1441
  * @memberof BillingProductForSubscriptionResponseData
1406
1442
  */
1407
1443
  priceTier: Array<BillingProductPriceTierResponseData>;
1444
+ /**
1445
+ *
1446
+ * @type {BillingProviderType}
1447
+ * @memberof BillingProductForSubscriptionResponseData
1448
+ */
1449
+ providerType: BillingProviderType;
1408
1450
  /**
1409
1451
  *
1410
1452
  * @type {number}
@@ -1541,6 +1583,12 @@ declare interface BillingProductPriceResponseData {
1541
1583
  * @memberof BillingProductPriceResponseData
1542
1584
  */
1543
1585
  productExternalId: string;
1586
+ /**
1587
+ *
1588
+ * @type {BillingProviderType}
1589
+ * @memberof BillingProductPriceResponseData
1590
+ */
1591
+ providerType: BillingProviderType;
1544
1592
  /**
1545
1593
  *
1546
1594
  * @type {BillingTiersMode}
@@ -1647,17 +1695,6 @@ declare interface BillingProductPriceTierResponseData_2 {
1647
1695
  upTo?: number | null;
1648
1696
  }
1649
1697
 
1650
- /**
1651
- * Schematic API
1652
- * Schematic API
1653
- *
1654
- * The version of the OpenAPI document: 0.1
1655
- *
1656
- *
1657
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1658
- * https://openapi-generator.tech
1659
- * Do not edit the class manually.
1660
- */
1661
1698
  /**
1662
1699
  *
1663
1700
  * @export
@@ -1725,6 +1762,12 @@ declare interface BillingProductResponseData {
1725
1762
  * @memberof BillingProductResponseData
1726
1763
  */
1727
1764
  productId: string;
1765
+ /**
1766
+ *
1767
+ * @type {BillingProviderType}
1768
+ * @memberof BillingProductResponseData
1769
+ */
1770
+ providerType: BillingProviderType;
1728
1771
  /**
1729
1772
  *
1730
1773
  * @type {number}
@@ -1739,17 +1782,6 @@ declare interface BillingProductResponseData {
1739
1782
  updatedAt: Date;
1740
1783
  }
1741
1784
 
1742
- /**
1743
- * Schematic API
1744
- * Schematic API
1745
- *
1746
- * The version of the OpenAPI document: 0.1
1747
- *
1748
- *
1749
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1750
- * https://openapi-generator.tech
1751
- * Do not edit the class manually.
1752
- */
1753
1785
  /**
1754
1786
  *
1755
1787
  * @export
@@ -1817,6 +1849,12 @@ declare interface BillingProductResponseData_2 {
1817
1849
  * @memberof BillingProductResponseData
1818
1850
  */
1819
1851
  productId: string;
1852
+ /**
1853
+ *
1854
+ * @type {BillingProviderType}
1855
+ * @memberof BillingProductResponseData
1856
+ */
1857
+ providerType: BillingProviderType_2;
1820
1858
  /**
1821
1859
  *
1822
1860
  * @type {number}
@@ -1831,6 +1869,28 @@ declare interface BillingProductResponseData_2 {
1831
1869
  updatedAt: Date;
1832
1870
  }
1833
1871
 
1872
+ /**
1873
+ *
1874
+ * @export
1875
+ */
1876
+ declare const BillingProviderType: {
1877
+ readonly Schematic: "schematic";
1878
+ readonly Stripe: "stripe";
1879
+ };
1880
+
1881
+ declare type BillingProviderType = (typeof BillingProviderType)[keyof typeof BillingProviderType];
1882
+
1883
+ /**
1884
+ *
1885
+ * @export
1886
+ */
1887
+ declare const BillingProviderType_2: {
1888
+ readonly Schematic: "schematic";
1889
+ readonly Stripe: "stripe";
1890
+ };
1891
+
1892
+ declare type BillingProviderType_2 = (typeof BillingProviderType_2)[keyof typeof BillingProviderType_2];
1893
+
1834
1894
  /**
1835
1895
  * Schematic API
1836
1896
  * Schematic API
@@ -2059,6 +2119,12 @@ declare interface BillingSubscriptionView {
2059
2119
  * @memberof BillingSubscriptionView
2060
2120
  */
2061
2121
  products: Array<BillingProductForSubscriptionResponseData>;
2122
+ /**
2123
+ *
2124
+ * @type {BillingProviderType}
2125
+ * @memberof BillingSubscriptionView
2126
+ */
2127
+ providerType: BillingProviderType;
2062
2128
  /**
2063
2129
  *
2064
2130
  * @type {string}
@@ -2235,6 +2301,11 @@ export declare interface BypassConfig {
2235
2301
  * Default: false (skipped stages still appear in breadcrumbs)
2236
2302
  */
2237
2303
  hideSkipped?: boolean;
2304
+ /**
2305
+ * Billing period to pre-select.
2306
+ * Optional - defaults to company's current period or "month".
2307
+ */
2308
+ period?: "month" | "year";
2238
2309
  }
2239
2310
 
2240
2311
  export declare const Card: ForwardRefExoticComponent<CardProps & RefAttributes<HTMLDivElement | null>>;
@@ -2334,7 +2405,7 @@ declare type ChargeType_2 = (typeof ChargeType_2)[keyof typeof ChargeType_2];
2334
2405
 
2335
2406
  export declare const Checkout: ({ isPaymentMethodRequired, setPaymentMethodId, updatePromoCode, confirmPaymentIntentProps, financeData, onPaymentMethodSaved, }: CheckoutProps) => JSX.Element | null;
2336
2407
 
2337
- export declare const CheckoutDialog: ({ top }: CheckoutDialogProps) => JSX.Element;
2408
+ export declare const CheckoutDialog: ({ top }: CheckoutDialogProps) => JSX.Element | null;
2338
2409
 
2339
2410
  declare interface CheckoutDialogProps {
2340
2411
  top?: number;
@@ -2480,6 +2551,12 @@ declare interface CheckoutResponseData {
2480
2551
  * @memberof CheckoutResponseData
2481
2552
  */
2482
2553
  periodStart: number;
2554
+ /**
2555
+ *
2556
+ * @type {BillingProviderType}
2557
+ * @memberof CheckoutResponseData
2558
+ */
2559
+ providerType: BillingProviderType;
2483
2560
  /**
2484
2561
  *
2485
2562
  * @type {string}
@@ -3207,6 +3284,12 @@ declare interface CompanyPlanDetailResponseData {
3207
3284
  * @memberof CompanyPlanDetailResponseData
3208
3285
  */
3209
3286
  valid: boolean;
3287
+ /**
3288
+ *
3289
+ * @type {Array<PlanVersionResponseData>}
3290
+ * @memberof CompanyPlanDetailResponseData
3291
+ */
3292
+ versions: Array<PlanVersionResponseData>;
3210
3293
  /**
3211
3294
  *
3212
3295
  * @type {BillingPriceResponseData}
@@ -4073,6 +4156,8 @@ declare interface ConfirmPaymentIntentProps_2 {
4073
4156
 
4074
4157
  export declare const Container: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4075
4158
 
4159
+ export declare const ContainerStyle: RuleSet<object>;
4160
+
4076
4161
  export declare const createActiveUsageBasedEntitlementsReducer: (entitlements: FeatureUsageResponseData[], period: string) => (acc: UsageBasedEntitlement[], entitlement: PlanEntitlementResponseData) => UsageBasedEntitlement[];
4077
4162
 
4078
4163
  declare type CreditBundle = BillingCreditBundleView & {
@@ -4217,6 +4302,18 @@ declare interface CreditCompanyGrantView {
4217
4302
  * @memberof CreditCompanyGrantView
4218
4303
  */
4219
4304
  quantityUsed: number;
4305
+ /**
4306
+ *
4307
+ * @type {boolean}
4308
+ * @memberof CreditCompanyGrantView
4309
+ */
4310
+ renewalEnabled: boolean;
4311
+ /**
4312
+ *
4313
+ * @type {BillingPlanCreditGrantResetCadence}
4314
+ * @memberof CreditCompanyGrantView
4315
+ */
4316
+ renewalPeriod?: BillingPlanCreditGrantResetCadence | null;
4220
4317
  /**
4221
4318
  *
4222
4319
  * @type {string}
@@ -4229,6 +4326,12 @@ declare interface CreditCompanyGrantView {
4229
4326
  * @memberof CreditCompanyGrantView
4230
4327
  */
4231
4328
  sourceLabel: string;
4329
+ /**
4330
+ *
4331
+ * @type {Array<CreditTransferView>}
4332
+ * @memberof CreditCompanyGrantView
4333
+ */
4334
+ transfers?: Array<CreditTransferView>;
4232
4335
  /**
4233
4336
  *
4234
4337
  * @type {Date}
@@ -4295,6 +4398,61 @@ declare interface CreditsProps {
4295
4398
  updateCount: (id: string, count: number) => void;
4296
4399
  }
4297
4400
 
4401
+ /**
4402
+ * Schematic API
4403
+ * Schematic API
4404
+ *
4405
+ * The version of the OpenAPI document: 0.1
4406
+ *
4407
+ *
4408
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4409
+ * https://openapi-generator.tech
4410
+ * Do not edit the class manually.
4411
+ */
4412
+ /**
4413
+ *
4414
+ * @export
4415
+ * @interface CreditTransferView
4416
+ */
4417
+ declare interface CreditTransferView {
4418
+ /**
4419
+ *
4420
+ * @type {number}
4421
+ * @memberof CreditTransferView
4422
+ */
4423
+ amount: number;
4424
+ /**
4425
+ *
4426
+ * @type {Date}
4427
+ * @memberof CreditTransferView
4428
+ */
4429
+ createdAt: Date;
4430
+ /**
4431
+ *
4432
+ * @type {string}
4433
+ * @memberof CreditTransferView
4434
+ */
4435
+ direction: string;
4436
+ /**
4437
+ *
4438
+ * @type {string}
4439
+ * @memberof CreditTransferView
4440
+ */
4441
+ id: string;
4442
+ /**
4443
+ *
4444
+ * @type {string}
4445
+ * @memberof CreditTransferView
4446
+ */
4447
+ reason: string;
4448
+ /**
4449
+ *
4450
+ * @type {string}
4451
+ * @memberof CreditTransferView
4452
+ */
4453
+ relatedGrantId: string;
4454
+ }
4455
+
4298
4456
  /**
4299
4457
  * Schematic API
4300
4458
  * Schematic API
@@ -4653,6 +4811,30 @@ declare interface DesignProps_9 {
4653
4811
  };
4654
4812
  }
4655
4813
 
4814
+ export declare const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLDialogElement | null>>;
4815
+
4816
+ export declare const DialogContent: ForwardRefExoticComponent<DialogContentProps & RefAttributes<HTMLDivElement | null>>;
4817
+
4818
+ declare interface DialogContentProps {
4819
+ children?: React.ReactNode;
4820
+ }
4821
+
4822
+ export declare const DialogHeader: ({ children, bordered, onClose, }: DialogHeaderProps) => JSX.Element;
4823
+
4824
+ declare interface DialogHeaderProps {
4825
+ children?: React.ReactNode;
4826
+ bordered?: boolean;
4827
+ onClose?: () => void;
4828
+ }
4829
+
4830
+ export declare interface DialogProps extends React.DialogHTMLAttributes<HTMLDialogElement> {
4831
+ isModal?: boolean;
4832
+ size?: DialogSize;
4833
+ top?: number;
4834
+ }
4835
+
4836
+ export declare type DialogSize = "sm" | "md" | "lg" | "auto";
4837
+
4656
4838
  declare const Element_2: IStyledComponentBase<"web", FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
4657
4839
  $viewport?: {
4658
4840
  "sm"?: TransientCSSProperties;
@@ -5685,7 +5867,7 @@ declare interface FeatureUsageResponseData {
5685
5867
  */
5686
5868
  access: boolean;
5687
5869
  /**
5688
- * The maximum amount of usage that is permitted; a null value indicates that unlimited usage is permitted.
5870
+ * The maximum amount of usage that is permitted; a null value indicates that unlimited usage is permitted or that this is a credit-based entitlement (use credit_remaining instead).
5689
5871
  * @type {number}
5690
5872
  * @memberof FeatureUsageResponseData
5691
5873
  */
@@ -5735,9 +5917,10 @@ declare interface FeatureUsageResponseData {
5735
5917
  */
5736
5918
  creditRemaining?: number | null;
5737
5919
  /**
5738
- *
5920
+ * Deprecated: Use credit_remaining instead.
5739
5921
  * @type {number}
5740
5922
  * @memberof FeatureUsageResponseData
5923
+ * @deprecated
5741
5924
  */
5742
5925
  creditTotal?: number | null;
5743
5926
  /**
@@ -5746,6 +5929,12 @@ declare interface FeatureUsageResponseData {
5746
5929
  * @memberof FeatureUsageResponseData
5747
5930
  */
5748
5931
  creditTypeIcon?: string | null;
5932
+ /**
5933
+ *
5934
+ * @type {FeatureUsageResponseDataCreditUsageAggregation}
5935
+ * @memberof FeatureUsageResponseData
5936
+ */
5937
+ creditUsageAggregation?: FeatureUsageResponseDataCreditUsageAggregation;
5749
5938
  /**
5750
5939
  *
5751
5940
  * @type {number}
@@ -5867,7 +6056,7 @@ declare interface FeatureUsageResponseData {
5867
6056
  */
5868
6057
  softLimit?: number | null;
5869
6058
  /**
5870
- * The amount of usage that has been consumed; a null value indicates that usage is not being measured.
6059
+ * The amount of usage that has been consumed; a null value indicates that usage is not being measured or that this is a credit-based entitlement (use credit_used instead).
5871
6060
  * @type {number}
5872
6061
  * @memberof FeatureUsageResponseData
5873
6062
  */
@@ -5880,6 +6069,49 @@ declare interface FeatureUsageResponseData {
5880
6069
  yearlyUsageBasedPrice?: BillingPriceView;
5881
6070
  }
5882
6071
 
6072
+ /**
6073
+ * Schematic API
6074
+ * Schematic API
6075
+ *
6076
+ * The version of the OpenAPI document: 0.1
6077
+ *
6078
+ *
6079
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6080
+ * https://openapi-generator.tech
6081
+ * Do not edit the class manually.
6082
+ */
6083
+ /**
6084
+ *
6085
+ * @export
6086
+ * @interface FeatureUsageResponseDataCreditUsageAggregation
6087
+ */
6088
+ declare interface FeatureUsageResponseDataCreditUsageAggregation {
6089
+ /**
6090
+ * Credit usage within the current billing period
6091
+ * @type {number}
6092
+ * @memberof FeatureUsageResponseDataCreditUsageAggregation
6093
+ */
6094
+ usageThisBillingPeriod?: number | null;
6095
+ /**
6096
+ * Credit usage within the current calendar month
6097
+ * @type {number}
6098
+ * @memberof FeatureUsageResponseDataCreditUsageAggregation
6099
+ */
6100
+ usageThisCalendarMonth?: number | null;
6101
+ /**
6102
+ * Credit usage within the current calendar week (Monday to Sunday)
6103
+ * @type {number}
6104
+ * @memberof FeatureUsageResponseDataCreditUsageAggregation
6105
+ */
6106
+ usageThisWeek?: number | null;
6107
+ /**
6108
+ * Credit usage for the current day
6109
+ * @type {number}
6110
+ * @memberof FeatureUsageResponseDataCreditUsageAggregation
6111
+ */
6112
+ usageToday?: number | null;
6113
+ }
6114
+
5883
6115
  declare type FetchAPI = WindowOrWorkerGlobalScope["fetch"];
5884
6116
 
5885
6117
  /**
@@ -6277,17 +6509,6 @@ $color?: "primary" | "secondary" | "danger";
6277
6509
  $variant?: "filled" | "outline" | "ghost" | "text";
6278
6510
  }>> & string;
6279
6511
 
6280
- /**
6281
- * Schematic API
6282
- * Schematic API
6283
- *
6284
- * The version of the OpenAPI document: 0.1
6285
- *
6286
- *
6287
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6288
- * https://openapi-generator.tech
6289
- * Do not edit the class manually.
6290
- */
6291
6512
  /**
6292
6513
  *
6293
6514
  * @export
@@ -6372,6 +6593,12 @@ declare interface InvoiceResponseData {
6372
6593
  * @memberof InvoiceResponseData
6373
6594
  */
6374
6595
  paymentMethodExternalId?: string | null;
6596
+ /**
6597
+ *
6598
+ * @type {BillingProviderType}
6599
+ * @memberof InvoiceResponseData
6600
+ */
6601
+ providerType: BillingProviderType;
6375
6602
  /**
6376
6603
  *
6377
6604
  * @type {string}
@@ -6477,31 +6704,6 @@ declare interface Middleware {
6477
6704
  onError?(context: ErrorContext): Promise<Response | void>;
6478
6705
  }
6479
6706
 
6480
- export declare const Modal: ForwardRefExoticComponent<ModalProps & RefAttributes<HTMLDivElement | null>>;
6481
-
6482
- export declare const ModalContent: ForwardRefExoticComponent<ModalContentProps & RefAttributes<HTMLDivElement | null>>;
6483
-
6484
- declare interface ModalContentProps {
6485
- children?: React.ReactNode;
6486
- }
6487
-
6488
- export declare const ModalHeader: ({ children, bordered, onClose, }: ModalHeaderProps) => JSX.Element;
6489
-
6490
- declare interface ModalHeaderProps {
6491
- children?: React.ReactNode;
6492
- bordered?: boolean;
6493
- onClose?: () => void;
6494
- }
6495
-
6496
- export declare interface ModalProps extends React.HTMLAttributes<HTMLElement> {
6497
- children: React.ReactNode;
6498
- size?: ModalSize;
6499
- top?: number;
6500
- onClose?: () => void;
6501
- }
6502
-
6503
- export declare type ModalSize = "sm" | "md" | "lg" | "auto";
6504
-
6505
6707
  export declare const Notice: IStyledComponentBase<"web", FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
6506
6708
  $viewport?: {
6507
6709
  "sm"?: TransientCSSProperties;
@@ -6513,6 +6715,17 @@ $viewport?: {
6513
6715
  };
6514
6716
  }, never>> & string;
6515
6717
 
6718
+ export declare const Overlay: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
6719
+ $viewport?: {
6720
+ "sm"?: TransientCSSProperties;
6721
+ "md"?: TransientCSSProperties;
6722
+ "lg"?: TransientCSSProperties;
6723
+ "xl"?: TransientCSSProperties;
6724
+ "2xl"?: TransientCSSProperties;
6725
+ [key: string]: TransientCSSProperties | undefined;
6726
+ };
6727
+ }, never>, never>> & string;
6728
+
6516
6729
  export declare const PaymentMethod: ForwardRefExoticComponent<ElementProps & DeepPartial<DesignProps_5> & HTMLAttributes<HTMLDivElement> & {
6517
6730
  portal?: HTMLElement | null;
6518
6731
  allowEdit?: boolean;
@@ -6538,17 +6751,6 @@ declare interface PaymentMethodDetailsProps {
6538
6751
 
6539
6752
  export declare type PaymentMethodProps = DesignProps_5;
6540
6753
 
6541
- /**
6542
- * Schematic API
6543
- * Schematic API
6544
- *
6545
- * The version of the OpenAPI document: 0.1
6546
- *
6547
- *
6548
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6549
- * https://openapi-generator.tech
6550
- * Do not edit the class manually.
6551
- */
6552
6754
  /**
6553
6755
  *
6554
6756
  * @export
@@ -6651,6 +6853,12 @@ declare interface PaymentMethodResponseData {
6651
6853
  * @memberof PaymentMethodResponseData
6652
6854
  */
6653
6855
  paymentMethodType: string;
6856
+ /**
6857
+ *
6858
+ * @type {BillingProviderType}
6859
+ * @memberof PaymentMethodResponseData
6860
+ */
6861
+ providerType: BillingProviderType;
6654
6862
  /**
6655
6863
  *
6656
6864
  * @type {Date}
@@ -6659,7 +6867,7 @@ declare interface PaymentMethodResponseData {
6659
6867
  updatedAt: Date;
6660
6868
  }
6661
6869
 
6662
- export declare const Plan: ({ isLoading, plans, selectedPlan, period, selectPlan, shouldTrial, }: PlanProps) => JSX.Element;
6870
+ export declare const Plan: ({ isLoading, plans, selectedPlan, period, selectPlan, shouldTrial, tooltipPortal, }: PlanProps) => JSX.Element;
6663
6871
 
6664
6872
  declare type Plan_2 = CompanyPlanDetailResponseData;
6665
6873
 
@@ -7129,6 +7337,12 @@ declare interface PlanDetailResponseData {
7129
7337
  * @memberof PlanDetailResponseData
7130
7338
  */
7131
7339
  updatedAt: Date;
7340
+ /**
7341
+ *
7342
+ * @type {Array<PlanVersionResponseData>}
7343
+ * @memberof PlanDetailResponseData
7344
+ */
7345
+ versions: Array<PlanVersionResponseData>;
7132
7346
  /**
7133
7347
  *
7134
7348
  * @type {BillingPriceResponseData}
@@ -7470,6 +7684,7 @@ declare interface PlanProps {
7470
7684
  shouldTrial?: boolean;
7471
7685
  }) => void;
7472
7686
  shouldTrial: boolean;
7687
+ tooltipPortal?: HTMLElement | null;
7473
7688
  }
7474
7689
 
7475
7690
  /**
@@ -7608,6 +7823,178 @@ declare const PlanType_2: {
7608
7823
 
7609
7824
  declare type PlanType_2 = (typeof PlanType_2)[keyof typeof PlanType_2];
7610
7825
 
7826
+ /**
7827
+ *
7828
+ * @export
7829
+ * @interface PlanVersionResponseData
7830
+ */
7831
+ declare interface PlanVersionResponseData {
7832
+ /**
7833
+ *
7834
+ * @type {Date}
7835
+ * @memberof PlanVersionResponseData
7836
+ */
7837
+ createdAt: Date;
7838
+ /**
7839
+ *
7840
+ * @type {string}
7841
+ * @memberof PlanVersionResponseData
7842
+ */
7843
+ description: string;
7844
+ /**
7845
+ *
7846
+ * @type {string}
7847
+ * @memberof PlanVersionResponseData
7848
+ */
7849
+ environmentId: string;
7850
+ /**
7851
+ *
7852
+ * @type {string}
7853
+ * @memberof PlanVersionResponseData
7854
+ */
7855
+ icon: string;
7856
+ /**
7857
+ *
7858
+ * @type {string}
7859
+ * @memberof PlanVersionResponseData
7860
+ */
7861
+ id: string;
7862
+ /**
7863
+ *
7864
+ * @type {string}
7865
+ * @memberof PlanVersionResponseData
7866
+ */
7867
+ name: string;
7868
+ /**
7869
+ *
7870
+ * @type {string}
7871
+ * @memberof PlanVersionResponseData
7872
+ */
7873
+ originalPlanId?: string | null;
7874
+ /**
7875
+ *
7876
+ * @type {PlanType}
7877
+ * @memberof PlanVersionResponseData
7878
+ */
7879
+ planType: PlanType;
7880
+ /**
7881
+ *
7882
+ * @type {PlanVersionStatus}
7883
+ * @memberof PlanVersionResponseData
7884
+ */
7885
+ status: PlanVersionStatus;
7886
+ /**
7887
+ *
7888
+ * @type {Date}
7889
+ * @memberof PlanVersionResponseData
7890
+ */
7891
+ updatedAt: Date;
7892
+ /**
7893
+ *
7894
+ * @type {number}
7895
+ * @memberof PlanVersionResponseData
7896
+ */
7897
+ version: number;
7898
+ }
7899
+
7900
+ /**
7901
+ *
7902
+ * @export
7903
+ * @interface PlanVersionResponseData
7904
+ */
7905
+ declare interface PlanVersionResponseData_2 {
7906
+ /**
7907
+ *
7908
+ * @type {Date}
7909
+ * @memberof PlanVersionResponseData
7910
+ */
7911
+ createdAt: Date;
7912
+ /**
7913
+ *
7914
+ * @type {string}
7915
+ * @memberof PlanVersionResponseData
7916
+ */
7917
+ description: string;
7918
+ /**
7919
+ *
7920
+ * @type {string}
7921
+ * @memberof PlanVersionResponseData
7922
+ */
7923
+ environmentId: string;
7924
+ /**
7925
+ *
7926
+ * @type {string}
7927
+ * @memberof PlanVersionResponseData
7928
+ */
7929
+ icon: string;
7930
+ /**
7931
+ *
7932
+ * @type {string}
7933
+ * @memberof PlanVersionResponseData
7934
+ */
7935
+ id: string;
7936
+ /**
7937
+ *
7938
+ * @type {string}
7939
+ * @memberof PlanVersionResponseData
7940
+ */
7941
+ name: string;
7942
+ /**
7943
+ *
7944
+ * @type {string}
7945
+ * @memberof PlanVersionResponseData
7946
+ */
7947
+ originalPlanId?: string | null;
7948
+ /**
7949
+ *
7950
+ * @type {PlanType}
7951
+ * @memberof PlanVersionResponseData
7952
+ */
7953
+ planType: PlanType_2;
7954
+ /**
7955
+ *
7956
+ * @type {PlanVersionStatus}
7957
+ * @memberof PlanVersionResponseData
7958
+ */
7959
+ status: PlanVersionStatus_2;
7960
+ /**
7961
+ *
7962
+ * @type {Date}
7963
+ * @memberof PlanVersionResponseData
7964
+ */
7965
+ updatedAt: Date;
7966
+ /**
7967
+ *
7968
+ * @type {number}
7969
+ * @memberof PlanVersionResponseData
7970
+ */
7971
+ version: number;
7972
+ }
7973
+
7974
+ /**
7975
+ *
7976
+ * @export
7977
+ */
7978
+ declare const PlanVersionStatus: {
7979
+ readonly Published: "published";
7980
+ readonly Draft: "draft";
7981
+ readonly Archived: "archived";
7982
+ };
7983
+
7984
+ declare type PlanVersionStatus = (typeof PlanVersionStatus)[keyof typeof PlanVersionStatus];
7985
+
7986
+ /**
7987
+ *
7988
+ * @export
7989
+ */
7990
+ declare const PlanVersionStatus_2: {
7991
+ readonly Published: "published";
7992
+ readonly Draft: "draft";
7993
+ readonly Archived: "archived";
7994
+ };
7995
+
7996
+ declare type PlanVersionStatus_2 = (typeof PlanVersionStatus_2)[keyof typeof PlanVersionStatus_2];
7997
+
7611
7998
  /**
7612
7999
  *
7613
8000
  * @export
@@ -7766,6 +8153,12 @@ declare interface PlanViewPublicResponseData {
7766
8153
  * @memberof PlanViewPublicResponseData
7767
8154
  */
7768
8155
  updatedAt: Date;
8156
+ /**
8157
+ *
8158
+ * @type {Array<PlanVersionResponseData>}
8159
+ * @memberof PlanViewPublicResponseData
8160
+ */
8161
+ versions: Array<PlanVersionResponseData_2>;
7769
8162
  /**
7770
8163
  *
7771
8164
  * @type {BillingPriceResponseData}
@@ -8285,6 +8678,8 @@ declare type RequestState<TData> = {
8285
8678
  data: TData | undefined;
8286
8679
  };
8287
8680
 
8681
+ export declare const ResetStyle: RuleSet<object>;
8682
+
8288
8683
  declare interface ResponseContext {
8289
8684
  fetch: FetchAPI;
8290
8685
  url: string;
@@ -9050,11 +9445,12 @@ export declare interface ThemeSettings {
9050
9445
  };
9051
9446
  }
9052
9447
 
9053
- export declare const Tooltip: ({ trigger, content, position, fullWidth, ...rest }: TooltipProps) => JSX.Element;
9448
+ export declare const Tooltip: ({ trigger, content, portal, position, fullWidth, ...rest }: TooltipProps) => JSX.Element;
9054
9449
 
9055
9450
  export declare interface TooltipProps extends BoxProps {
9056
9451
  trigger: React.ReactNode;
9057
9452
  content: React.ReactNode;
9453
+ portal?: HTMLElement | null;
9058
9454
  position?: Position;
9059
9455
  fullWidth?: boolean;
9060
9456
  }