@schematichq/schematic-components 0.7.13 → 0.7.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.
@@ -165,6 +165,18 @@ declare interface BillingPriceView {
165
165
  * @memberof BillingPriceView
166
166
  */
167
167
  isActive: boolean;
168
+ /**
169
+ *
170
+ * @type {string}
171
+ * @memberof BillingPriceView
172
+ */
173
+ meterEventName?: string | null;
174
+ /**
175
+ *
176
+ * @type {string}
177
+ * @memberof BillingPriceView
178
+ */
179
+ meterEventPayloadKey?: string | null;
168
180
  /**
169
181
  *
170
182
  * @type {string}
@@ -1085,6 +1097,14 @@ declare class CheckoutexternalApi extends runtime.BaseAPI {
1085
1097
  * Checkout unsubscribe
1086
1098
  */
1087
1099
  checkoutUnsubscribe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CheckoutUnsubscribeResponse>;
1100
+ /**
1101
+ * Create setup intent
1102
+ */
1103
+ createSetupIntentRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateSetupIntentResponse>>;
1104
+ /**
1105
+ * Create setup intent
1106
+ */
1107
+ createSetupIntent(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateSetupIntentResponse>;
1088
1108
  /**
1089
1109
  * Delete payment method
1090
1110
  */
@@ -1443,6 +1463,12 @@ declare interface CompanyPlanDetailResponseData {
1443
1463
  * @memberof CompanyPlanDetailResponseData
1444
1464
  */
1445
1465
  companyCount: number;
1466
+ /**
1467
+ *
1468
+ * @type {string}
1469
+ * @memberof CompanyPlanDetailResponseData
1470
+ */
1471
+ controlledBy: string;
1446
1472
  /**
1447
1473
  *
1448
1474
  * @type {Date}
@@ -1951,6 +1977,26 @@ declare interface Consume {
1951
1977
 
1952
1978
  export declare const Container: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
1953
1979
 
1980
+ /**
1981
+ *
1982
+ * @export
1983
+ * @interface CreateSetupIntentResponse
1984
+ */
1985
+ declare interface CreateSetupIntentResponse {
1986
+ /**
1987
+ *
1988
+ * @type {SetupIntentResponseData}
1989
+ * @memberof CreateSetupIntentResponse
1990
+ */
1991
+ data: SetupIntentResponseData;
1992
+ /**
1993
+ * Input parameters
1994
+ * @type {object}
1995
+ * @memberof CreateSetupIntentResponse
1996
+ */
1997
+ params: object;
1998
+ }
1999
+
1954
2000
  /**
1955
2001
  * Schematic API
1956
2002
  * Schematic API
@@ -2717,7 +2763,7 @@ declare interface EventSummaryResponseData {
2717
2763
  * @type {number}
2718
2764
  * @memberof EventSummaryResponseData
2719
2765
  */
2720
- companyCount: number;
2766
+ companyCount?: number | null;
2721
2767
  /**
2722
2768
  *
2723
2769
  * @type {string}
@@ -2747,7 +2793,7 @@ declare interface EventSummaryResponseData {
2747
2793
  * @type {number}
2748
2794
  * @memberof EventSummaryResponseData
2749
2795
  */
2750
- userCount: number;
2796
+ userCount?: number | null;
2751
2797
  }
2752
2798
 
2753
2799
  /**
@@ -3789,6 +3835,12 @@ declare interface PlanDetailResponseData {
3789
3835
  * @memberof PlanDetailResponseData
3790
3836
  */
3791
3837
  companyCount: number;
3838
+ /**
3839
+ *
3840
+ * @type {string}
3841
+ * @memberof PlanDetailResponseData
3842
+ */
3843
+ controlledBy: string;
3792
3844
  /**
3793
3845
  *
3794
3846
  * @type {Date}
@@ -4793,7 +4845,7 @@ declare type SerializedNodeWithChildren = SerializedNode & {
4793
4845
  * Do not edit the class manually.
4794
4846
  */
4795
4847
  /**
4796
- * The returned resource
4848
+ *
4797
4849
  * @export
4798
4850
  * @interface SetupIntentResponseData
4799
4851
  */
@@ -5092,64 +5144,8 @@ declare interface UsageBasedEntitlementResponseData {
5092
5144
  }
5093
5145
 
5094
5146
  export declare function useAvailablePlans(activePeriod: string): {
5095
- plans: {
5096
- isSelected: boolean;
5097
- audienceType?: string | null;
5098
- billingProduct?: BillingProductDetailResponseData;
5099
- chargeType: string;
5100
- companyCanTrial: boolean;
5101
- companyCount: number;
5102
- createdAt: Date;
5103
- current: boolean;
5104
- custom: boolean;
5105
- customPlanConfig?: CustomPlanConfig;
5106
- description: string;
5107
- entitlements: Array<PlanEntitlementResponseData>;
5108
- features: Array<FeatureDetailResponseData>;
5109
- icon: string;
5110
- id: string;
5111
- isCustom: boolean;
5112
- isDefault: boolean;
5113
- isFree: boolean;
5114
- isTrialable: boolean;
5115
- monthlyPrice?: BillingPriceResponseData;
5116
- name: string;
5117
- oneTimePrice?: BillingPriceResponseData;
5118
- planType: string;
5119
- trialDays?: number | null;
5120
- updatedAt: Date;
5121
- valid: boolean;
5122
- yearlyPrice?: BillingPriceResponseData;
5123
- }[];
5124
- addOns: {
5125
- isSelected: boolean;
5126
- audienceType?: string | null;
5127
- billingProduct?: BillingProductDetailResponseData;
5128
- chargeType: string;
5129
- companyCanTrial: boolean;
5130
- companyCount: number;
5131
- createdAt: Date;
5132
- current: boolean;
5133
- custom: boolean;
5134
- customPlanConfig?: CustomPlanConfig;
5135
- description: string;
5136
- entitlements: Array<PlanEntitlementResponseData>;
5137
- features: Array<FeatureDetailResponseData>;
5138
- icon: string;
5139
- id: string;
5140
- isCustom: boolean;
5141
- isDefault: boolean;
5142
- isFree: boolean;
5143
- isTrialable: boolean;
5144
- monthlyPrice?: BillingPriceResponseData;
5145
- name: string;
5146
- oneTimePrice?: BillingPriceResponseData;
5147
- planType: string;
5148
- trialDays?: number | null;
5149
- updatedAt: Date;
5150
- valid: boolean;
5151
- yearlyPrice?: BillingPriceResponseData;
5152
- }[];
5147
+ plans: SelectedPlan[];
5148
+ addOns: SelectedPlan[];
5153
5149
  periods: string[];
5154
5150
  };
5155
5151