@schematichq/schematic-components 0.7.13 → 0.7.14

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}
@@ -2717,7 +2729,7 @@ declare interface EventSummaryResponseData {
2717
2729
  * @type {number}
2718
2730
  * @memberof EventSummaryResponseData
2719
2731
  */
2720
- companyCount: number;
2732
+ companyCount?: number | null;
2721
2733
  /**
2722
2734
  *
2723
2735
  * @type {string}
@@ -2747,7 +2759,7 @@ declare interface EventSummaryResponseData {
2747
2759
  * @type {number}
2748
2760
  * @memberof EventSummaryResponseData
2749
2761
  */
2750
- userCount: number;
2762
+ userCount?: number | null;
2751
2763
  }
2752
2764
 
2753
2765
  /**
@@ -5092,64 +5104,8 @@ declare interface UsageBasedEntitlementResponseData {
5092
5104
  }
5093
5105
 
5094
5106
  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
- }[];
5107
+ plans: SelectedPlan[];
5108
+ addOns: SelectedPlan[];
5153
5109
  periods: string[];
5154
5110
  };
5155
5111