@schematichq/schematic-react 0.2.0-rc.6 → 0.2.0-rc.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -323,6 +323,12 @@ declare interface BillingProductForSubscriptionResponseData {
323
323
  * @memberof BillingProductForSubscriptionResponseData
324
324
  */
325
325
  price: number;
326
+ /**
327
+ *
328
+ * @type {string}
329
+ * @memberof BillingProductForSubscriptionResponseData
330
+ */
331
+ priceExternalId?: string | null;
326
332
  /**
327
333
  *
328
334
  * @type {number}
@@ -672,6 +678,12 @@ declare interface CompanyPlanDetailResponseData {
672
678
  * @memberof CompanyPlanDetailResponseData
673
679
  */
674
680
  id: string;
681
+ /**
682
+ *
683
+ * @type {boolean}
684
+ * @memberof CompanyPlanDetailResponseData
685
+ */
686
+ isDefault: boolean;
675
687
  /**
676
688
  *
677
689
  * @type {BillingPriceResponseData}
@@ -1171,7 +1183,7 @@ export declare interface EmbedContextProps {
1171
1183
  setLayout: (layout: EmbedLayout) => void;
1172
1184
  }
1173
1185
 
1174
- declare type EmbedLayout = "portal" | "checkout" | "payment" | "disabled";
1186
+ declare type EmbedLayout = "portal" | "checkout" | "payment" | "success" | "disabled";
1175
1187
 
1176
1188
  export declare interface EmbedProps {
1177
1189
  accessToken?: string;
@@ -2048,7 +2060,7 @@ declare interface InvoiceResponseData {
2048
2060
  * @type {string}
2049
2061
  * @memberof InvoiceResponseData
2050
2062
  */
2051
- externalId: string;
2063
+ externalId?: string | null;
2052
2064
  /**
2053
2065
  *
2054
2066
  * @type {string}
@@ -2096,6 +2108,8 @@ declare class JSONApiResponse<T> {
2096
2108
 
2097
2109
  export { Keys }
2098
2110
 
2111
+ export declare const Loader: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2112
+
2099
2113
  declare function mapValues(data: any, fn: (item: any) => any): {};
2100
2114
 
2101
2115
  export declare const MeteredFeatures: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_3> & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
@@ -2113,7 +2127,7 @@ export declare const Modal: ({ children, size, onClose }: ModalProps) => JSX_2.E
2113
2127
  export declare const ModalHeader: ({ children, bordered, onClose, }: ModalHeaderProps) => JSX_2.Element;
2114
2128
 
2115
2129
  declare interface ModalHeaderProps {
2116
- children: React.ReactNode;
2130
+ children?: React.ReactNode;
2117
2131
  bordered?: boolean;
2118
2132
  onClose?: () => void;
2119
2133
  }