@schematichq/schematic-components 0.4.10 → 0.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.
- package/dist/schematic-components.cjs.js +872 -578
- package/dist/schematic-components.d.ts +100 -7
- package/dist/schematic-components.esm.js +891 -597
- package/package.json +7 -7
|
@@ -279,6 +279,12 @@ declare interface BillingProductDetailResponseData {
|
|
|
279
279
|
* @memberof BillingProductDetailResponseData
|
|
280
280
|
*/
|
|
281
281
|
quantity: number;
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* @type {number}
|
|
285
|
+
* @memberof BillingProductDetailResponseData
|
|
286
|
+
*/
|
|
287
|
+
subscriptionCount: number;
|
|
282
288
|
/**
|
|
283
289
|
*
|
|
284
290
|
* @type {Date}
|
|
@@ -552,6 +558,12 @@ declare interface BillingSubscriptionResponseData {
|
|
|
552
558
|
* @memberof BillingSubscriptionResponseData
|
|
553
559
|
*/
|
|
554
560
|
customerExternalId: string;
|
|
561
|
+
/**
|
|
562
|
+
*
|
|
563
|
+
* @type {string}
|
|
564
|
+
* @memberof BillingSubscriptionResponseData
|
|
565
|
+
*/
|
|
566
|
+
defaultPaymentMethodId?: string | null;
|
|
555
567
|
/**
|
|
556
568
|
*
|
|
557
569
|
* @type {Date}
|
|
@@ -662,6 +674,12 @@ declare interface BillingSubscriptionView {
|
|
|
662
674
|
* @memberof BillingSubscriptionView
|
|
663
675
|
*/
|
|
664
676
|
customerExternalId: string;
|
|
677
|
+
/**
|
|
678
|
+
*
|
|
679
|
+
* @type {string}
|
|
680
|
+
* @memberof BillingSubscriptionView
|
|
681
|
+
*/
|
|
682
|
+
defaultPaymentMethodId?: string | null;
|
|
665
683
|
/**
|
|
666
684
|
*
|
|
667
685
|
* @type {Array<BillingSubscriptionDiscountView>}
|
|
@@ -869,6 +887,14 @@ declare class CheckoutexternalApi extends runtime.BaseAPI {
|
|
|
869
887
|
* Checkout unsubscribe
|
|
870
888
|
*/
|
|
871
889
|
checkoutUnsubscribe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CheckoutUnsubscribeResponse>;
|
|
890
|
+
/**
|
|
891
|
+
* Delete payment method
|
|
892
|
+
*/
|
|
893
|
+
deletePaymentMethodRaw(requestParameters: DeletePaymentMethodRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeletePaymentMethodResponse>>;
|
|
894
|
+
/**
|
|
895
|
+
* Delete payment method
|
|
896
|
+
*/
|
|
897
|
+
deletePaymentMethod(requestParameters: DeletePaymentMethodRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeletePaymentMethodResponse>;
|
|
872
898
|
/**
|
|
873
899
|
* Get setup intent
|
|
874
900
|
*/
|
|
@@ -1046,6 +1072,12 @@ declare interface CompanyDetailResponseData {
|
|
|
1046
1072
|
* @memberof CompanyDetailResponseData
|
|
1047
1073
|
*/
|
|
1048
1074
|
name: string;
|
|
1075
|
+
/**
|
|
1076
|
+
*
|
|
1077
|
+
* @type {Array<PaymentMethodResponseData>}
|
|
1078
|
+
* @memberof CompanyDetailResponseData
|
|
1079
|
+
*/
|
|
1080
|
+
paymentMethods: Array<PaymentMethodResponseData>;
|
|
1049
1081
|
/**
|
|
1050
1082
|
*
|
|
1051
1083
|
* @type {CompanyPlanWithBillingSubView}
|
|
@@ -1485,6 +1517,12 @@ declare interface CompanySubscriptionResponseData {
|
|
|
1485
1517
|
* @interface ComponentCapabilities
|
|
1486
1518
|
*/
|
|
1487
1519
|
declare interface ComponentCapabilities {
|
|
1520
|
+
/**
|
|
1521
|
+
*
|
|
1522
|
+
* @type {boolean}
|
|
1523
|
+
* @memberof ComponentCapabilities
|
|
1524
|
+
*/
|
|
1525
|
+
badgeVisibility: boolean;
|
|
1488
1526
|
/**
|
|
1489
1527
|
*
|
|
1490
1528
|
* @type {boolean}
|
|
@@ -1849,6 +1887,30 @@ export declare const defaultSettings: EmbedSettings;
|
|
|
1849
1887
|
|
|
1850
1888
|
export declare const defaultTheme: EmbedThemeSettings;
|
|
1851
1889
|
|
|
1890
|
+
declare interface DeletePaymentMethodRequest {
|
|
1891
|
+
checkoutId: string;
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
/**
|
|
1895
|
+
*
|
|
1896
|
+
* @export
|
|
1897
|
+
* @interface DeletePaymentMethodResponse
|
|
1898
|
+
*/
|
|
1899
|
+
declare interface DeletePaymentMethodResponse {
|
|
1900
|
+
/**
|
|
1901
|
+
*
|
|
1902
|
+
* @type {DeleteResponse}
|
|
1903
|
+
* @memberof DeletePaymentMethodResponse
|
|
1904
|
+
*/
|
|
1905
|
+
data: DeleteResponse;
|
|
1906
|
+
/**
|
|
1907
|
+
* Input parameters
|
|
1908
|
+
* @type {object}
|
|
1909
|
+
* @memberof DeletePaymentMethodResponse
|
|
1910
|
+
*/
|
|
1911
|
+
params: object;
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1852
1914
|
/**
|
|
1853
1915
|
* Schematic API
|
|
1854
1916
|
* Schematic API
|
|
@@ -2529,6 +2591,18 @@ declare interface FeatureDetailResponseData {
|
|
|
2529
2591
|
* @memberof FeatureDetailResponseData
|
|
2530
2592
|
*/
|
|
2531
2593
|
plans: Array<PreviewObject>;
|
|
2594
|
+
/**
|
|
2595
|
+
*
|
|
2596
|
+
* @type {string}
|
|
2597
|
+
* @memberof FeatureDetailResponseData
|
|
2598
|
+
*/
|
|
2599
|
+
pluralName?: string | null;
|
|
2600
|
+
/**
|
|
2601
|
+
*
|
|
2602
|
+
* @type {string}
|
|
2603
|
+
* @memberof FeatureDetailResponseData
|
|
2604
|
+
*/
|
|
2605
|
+
singularName?: string | null;
|
|
2532
2606
|
/**
|
|
2533
2607
|
*
|
|
2534
2608
|
* @type {EntityTraitDefinitionResponseData}
|
|
@@ -2620,6 +2694,18 @@ declare interface FeatureResponseData {
|
|
|
2620
2694
|
* @memberof FeatureResponseData
|
|
2621
2695
|
*/
|
|
2622
2696
|
name: string;
|
|
2697
|
+
/**
|
|
2698
|
+
*
|
|
2699
|
+
* @type {string}
|
|
2700
|
+
* @memberof FeatureResponseData
|
|
2701
|
+
*/
|
|
2702
|
+
pluralName?: string | null;
|
|
2703
|
+
/**
|
|
2704
|
+
*
|
|
2705
|
+
* @type {string}
|
|
2706
|
+
* @memberof FeatureResponseData
|
|
2707
|
+
*/
|
|
2708
|
+
singularName?: string | null;
|
|
2623
2709
|
/**
|
|
2624
2710
|
*
|
|
2625
2711
|
* @type {string}
|
|
@@ -2732,6 +2818,12 @@ declare interface FeatureUsageResponseData {
|
|
|
2732
2818
|
* @memberof FeatureUsageResponseData
|
|
2733
2819
|
*/
|
|
2734
2820
|
priceBehavior?: string | null;
|
|
2821
|
+
/**
|
|
2822
|
+
* The soft limit for the feature usage. Available only for overage price behavior
|
|
2823
|
+
* @type {number}
|
|
2824
|
+
* @memberof FeatureUsageResponseData
|
|
2825
|
+
*/
|
|
2826
|
+
softLimit?: number | null;
|
|
2735
2827
|
/**
|
|
2736
2828
|
* The amount of usage that has been consumed; a null value indicates that usage is not being measured.
|
|
2737
2829
|
* @type {number}
|
|
@@ -3375,12 +3467,6 @@ declare interface PaymentMethodResponseData {
|
|
|
3375
3467
|
* @memberof PaymentMethodResponseData
|
|
3376
3468
|
*/
|
|
3377
3469
|
paymentMethodType: string;
|
|
3378
|
-
/**
|
|
3379
|
-
*
|
|
3380
|
-
* @type {string}
|
|
3381
|
-
* @memberof PaymentMethodResponseData
|
|
3382
|
-
*/
|
|
3383
|
-
subscriptionExternalId?: string | null;
|
|
3384
3470
|
/**
|
|
3385
3471
|
*
|
|
3386
3472
|
* @type {Date}
|
|
@@ -3589,6 +3675,12 @@ declare interface PlanEntitlementResponseData {
|
|
|
3589
3675
|
* @memberof PlanEntitlementResponseData
|
|
3590
3676
|
*/
|
|
3591
3677
|
ruleIdUsageExceeded?: string | null;
|
|
3678
|
+
/**
|
|
3679
|
+
*
|
|
3680
|
+
* @type {number}
|
|
3681
|
+
* @memberof PlanEntitlementResponseData
|
|
3682
|
+
*/
|
|
3683
|
+
softLimit?: number | null;
|
|
3592
3684
|
/**
|
|
3593
3685
|
*
|
|
3594
3686
|
* @type {Date}
|
|
@@ -3883,13 +3975,14 @@ export declare const PricingTable: ForwardRefExoticComponent<ElementProps & Recu
|
|
|
3883
3975
|
|
|
3884
3976
|
export declare type PricingTableProps = DesignProps_6;
|
|
3885
3977
|
|
|
3886
|
-
export declare const ProgressBar: ({ progress, value, total, color, barWidth, ...props }: ProgressBarProps) => JSX.Element;
|
|
3978
|
+
export declare const ProgressBar: ({ progress, value, total, color, bgColor, barWidth, ...props }: ProgressBarProps) => JSX.Element;
|
|
3887
3979
|
|
|
3888
3980
|
export declare interface ProgressBarProps extends React.ComponentPropsWithoutRef<typeof Flex> {
|
|
3889
3981
|
progress: number;
|
|
3890
3982
|
value: number;
|
|
3891
3983
|
total?: number | string;
|
|
3892
3984
|
color?: "gray" | "blue" | "yellow" | "orange" | "red";
|
|
3985
|
+
bgColor?: string;
|
|
3893
3986
|
barWidth?: string | number;
|
|
3894
3987
|
}
|
|
3895
3988
|
|