@schematichq/schematic-components 0.7.1 → 0.7.4
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 +911 -730
- package/dist/schematic-components.d.ts +316 -71
- package/dist/schematic-components.esm.js +823 -642
- package/package.json +3 -3
|
@@ -114,25 +114,26 @@ declare interface BillingPriceResponseData {
|
|
|
114
114
|
* @memberof BillingPriceResponseData
|
|
115
115
|
*/
|
|
116
116
|
priceDecimal?: string | null;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof BillingPriceResponseData
|
|
121
|
+
*/
|
|
122
|
+
scheme: string;
|
|
117
123
|
}
|
|
118
124
|
|
|
119
|
-
/**
|
|
120
|
-
* Schematic API
|
|
121
|
-
* Schematic API
|
|
122
|
-
*
|
|
123
|
-
* The version of the OpenAPI document: 0.1
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
127
|
-
* https://openapi-generator.tech
|
|
128
|
-
* Do not edit the class manually.
|
|
129
|
-
*/
|
|
130
125
|
/**
|
|
131
126
|
*
|
|
132
127
|
* @export
|
|
133
128
|
* @interface BillingPriceView
|
|
134
129
|
*/
|
|
135
130
|
declare interface BillingPriceView {
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof BillingPriceView
|
|
135
|
+
*/
|
|
136
|
+
billingScheme: string;
|
|
136
137
|
/**
|
|
137
138
|
*
|
|
138
139
|
* @type {Date}
|
|
@@ -193,6 +194,12 @@ declare interface BillingPriceView {
|
|
|
193
194
|
* @memberof BillingPriceView
|
|
194
195
|
*/
|
|
195
196
|
priceId: string;
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @type {Array<BillingProductPriceTierResponseData>}
|
|
200
|
+
* @memberof BillingPriceView
|
|
201
|
+
*/
|
|
202
|
+
priceTier: Array<BillingProductPriceTierResponseData>;
|
|
196
203
|
/**
|
|
197
204
|
*
|
|
198
205
|
* @type {string}
|
|
@@ -311,23 +318,18 @@ declare interface BillingProductDetailResponseData {
|
|
|
311
318
|
updatedAt: Date;
|
|
312
319
|
}
|
|
313
320
|
|
|
314
|
-
/**
|
|
315
|
-
* Schematic API
|
|
316
|
-
* Schematic API
|
|
317
|
-
*
|
|
318
|
-
* The version of the OpenAPI document: 0.1
|
|
319
|
-
*
|
|
320
|
-
*
|
|
321
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
322
|
-
* https://openapi-generator.tech
|
|
323
|
-
* Do not edit the class manually.
|
|
324
|
-
*/
|
|
325
321
|
/**
|
|
326
322
|
*
|
|
327
323
|
* @export
|
|
328
324
|
* @interface BillingProductForSubscriptionResponseData
|
|
329
325
|
*/
|
|
330
326
|
declare interface BillingProductForSubscriptionResponseData {
|
|
327
|
+
/**
|
|
328
|
+
*
|
|
329
|
+
* @type {string}
|
|
330
|
+
* @memberof BillingProductForSubscriptionResponseData
|
|
331
|
+
*/
|
|
332
|
+
billingScheme: string;
|
|
331
333
|
/**
|
|
332
334
|
*
|
|
333
335
|
* @type {Date}
|
|
@@ -400,6 +402,12 @@ declare interface BillingProductForSubscriptionResponseData {
|
|
|
400
402
|
* @memberof BillingProductForSubscriptionResponseData
|
|
401
403
|
*/
|
|
402
404
|
priceId: string;
|
|
405
|
+
/**
|
|
406
|
+
*
|
|
407
|
+
* @type {Array<BillingProductPriceTierResponseData>}
|
|
408
|
+
* @memberof BillingProductForSubscriptionResponseData
|
|
409
|
+
*/
|
|
410
|
+
priceTier: Array<BillingProductPriceTierResponseData>;
|
|
403
411
|
/**
|
|
404
412
|
*
|
|
405
413
|
* @type {number}
|
|
@@ -426,6 +434,134 @@ declare interface BillingProductForSubscriptionResponseData {
|
|
|
426
434
|
usageType: string;
|
|
427
435
|
}
|
|
428
436
|
|
|
437
|
+
/**
|
|
438
|
+
* Schematic API
|
|
439
|
+
* Schematic API
|
|
440
|
+
*
|
|
441
|
+
* The version of the OpenAPI document: 0.1
|
|
442
|
+
*
|
|
443
|
+
*
|
|
444
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
445
|
+
* https://openapi-generator.tech
|
|
446
|
+
* Do not edit the class manually.
|
|
447
|
+
*/
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
* @export
|
|
451
|
+
* @interface BillingProductPriceTierResponseData
|
|
452
|
+
*/
|
|
453
|
+
declare interface BillingProductPriceTierResponseData {
|
|
454
|
+
/**
|
|
455
|
+
*
|
|
456
|
+
* @type {number}
|
|
457
|
+
* @memberof BillingProductPriceTierResponseData
|
|
458
|
+
*/
|
|
459
|
+
flatAmount?: number | null;
|
|
460
|
+
/**
|
|
461
|
+
*
|
|
462
|
+
* @type {number}
|
|
463
|
+
* @memberof BillingProductPriceTierResponseData
|
|
464
|
+
*/
|
|
465
|
+
perUnitPrice?: number | null;
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @type {string}
|
|
469
|
+
* @memberof BillingProductPriceTierResponseData
|
|
470
|
+
*/
|
|
471
|
+
perUnitPriceDecimal?: string | null;
|
|
472
|
+
/**
|
|
473
|
+
*
|
|
474
|
+
* @type {number}
|
|
475
|
+
* @memberof BillingProductPriceTierResponseData
|
|
476
|
+
*/
|
|
477
|
+
upTo?: number | null;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* Schematic API
|
|
482
|
+
* Schematic API
|
|
483
|
+
*
|
|
484
|
+
* The version of the OpenAPI document: 0.1
|
|
485
|
+
*
|
|
486
|
+
*
|
|
487
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
488
|
+
* https://openapi-generator.tech
|
|
489
|
+
* Do not edit the class manually.
|
|
490
|
+
*/
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @export
|
|
494
|
+
* @interface BillingProductResponseData
|
|
495
|
+
*/
|
|
496
|
+
declare interface BillingProductResponseData {
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
* @type {string}
|
|
500
|
+
* @memberof BillingProductResponseData
|
|
501
|
+
*/
|
|
502
|
+
accountId: string;
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @type {Date}
|
|
506
|
+
* @memberof BillingProductResponseData
|
|
507
|
+
*/
|
|
508
|
+
createdAt: Date;
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @type {string}
|
|
512
|
+
* @memberof BillingProductResponseData
|
|
513
|
+
*/
|
|
514
|
+
currency: string;
|
|
515
|
+
/**
|
|
516
|
+
*
|
|
517
|
+
* @type {string}
|
|
518
|
+
* @memberof BillingProductResponseData
|
|
519
|
+
*/
|
|
520
|
+
environmentId: string;
|
|
521
|
+
/**
|
|
522
|
+
*
|
|
523
|
+
* @type {string}
|
|
524
|
+
* @memberof BillingProductResponseData
|
|
525
|
+
*/
|
|
526
|
+
externalId: string;
|
|
527
|
+
/**
|
|
528
|
+
*
|
|
529
|
+
* @type {string}
|
|
530
|
+
* @memberof BillingProductResponseData
|
|
531
|
+
*/
|
|
532
|
+
name: string;
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @type {number}
|
|
536
|
+
* @memberof BillingProductResponseData
|
|
537
|
+
*/
|
|
538
|
+
price: number;
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @type {string}
|
|
542
|
+
* @memberof BillingProductResponseData
|
|
543
|
+
*/
|
|
544
|
+
priceDecimal?: string | null;
|
|
545
|
+
/**
|
|
546
|
+
*
|
|
547
|
+
* @type {string}
|
|
548
|
+
* @memberof BillingProductResponseData
|
|
549
|
+
*/
|
|
550
|
+
productId: string;
|
|
551
|
+
/**
|
|
552
|
+
*
|
|
553
|
+
* @type {number}
|
|
554
|
+
* @memberof BillingProductResponseData
|
|
555
|
+
*/
|
|
556
|
+
quantity: number;
|
|
557
|
+
/**
|
|
558
|
+
*
|
|
559
|
+
* @type {Date}
|
|
560
|
+
* @memberof BillingProductResponseData
|
|
561
|
+
*/
|
|
562
|
+
updatedAt: Date;
|
|
563
|
+
}
|
|
564
|
+
|
|
429
565
|
/**
|
|
430
566
|
* Schematic API
|
|
431
567
|
* Schematic API
|
|
@@ -817,6 +953,12 @@ export declare type BoxProps = ComponentProps & {
|
|
|
817
953
|
|
|
818
954
|
export declare const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
819
955
|
|
|
956
|
+
export declare const ButtonElement: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_2> & HTMLAttributes<HTMLDivElement> & {
|
|
957
|
+
portal?: HTMLElement | null;
|
|
958
|
+
} & RefAttributes<HTMLDivElement | null>>;
|
|
959
|
+
|
|
960
|
+
export declare type ButtonElementProps = DesignProps_2;
|
|
961
|
+
|
|
820
962
|
export declare interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
821
963
|
color?: ButtonStyleTypes;
|
|
822
964
|
size?: ButtonSizeTypes;
|
|
@@ -1977,7 +2119,37 @@ export declare interface DesignProps {
|
|
|
1977
2119
|
visibleFeatures?: string[];
|
|
1978
2120
|
}
|
|
1979
2121
|
|
|
2122
|
+
declare interface DesignProps_10 {
|
|
2123
|
+
header: {
|
|
2124
|
+
isVisible: boolean;
|
|
2125
|
+
fontStyle: FontStyle;
|
|
2126
|
+
prefix: string;
|
|
2127
|
+
};
|
|
2128
|
+
price: {
|
|
2129
|
+
isVisible: boolean;
|
|
2130
|
+
fontStyle: FontStyle;
|
|
2131
|
+
};
|
|
2132
|
+
contractEndDate: {
|
|
2133
|
+
isVisible: boolean;
|
|
2134
|
+
fontStyle: FontStyle;
|
|
2135
|
+
prefix: string;
|
|
2136
|
+
};
|
|
2137
|
+
}
|
|
2138
|
+
|
|
1980
2139
|
declare interface DesignProps_2 {
|
|
2140
|
+
button: {
|
|
2141
|
+
link: string;
|
|
2142
|
+
openInNewTab: boolean;
|
|
2143
|
+
text: string;
|
|
2144
|
+
style: ComponentStyle;
|
|
2145
|
+
size: ButtonSizeTypes;
|
|
2146
|
+
fullWidth: boolean;
|
|
2147
|
+
alignment: EmbedButtonAlignment;
|
|
2148
|
+
selfAlignment: EmbedButtonSelfAlignment;
|
|
2149
|
+
};
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
declare interface DesignProps_3 {
|
|
1981
2153
|
header: {
|
|
1982
2154
|
isVisible: boolean;
|
|
1983
2155
|
fontStyle: FontStyle;
|
|
@@ -2000,7 +2172,7 @@ declare interface DesignProps_2 {
|
|
|
2000
2172
|
};
|
|
2001
2173
|
}
|
|
2002
2174
|
|
|
2003
|
-
declare interface
|
|
2175
|
+
declare interface DesignProps_4 {
|
|
2004
2176
|
isVisible: boolean;
|
|
2005
2177
|
header: {
|
|
2006
2178
|
fontStyle: FontStyle;
|
|
@@ -2023,7 +2195,7 @@ declare interface DesignProps_3 {
|
|
|
2023
2195
|
visibleFeatures?: string[];
|
|
2024
2196
|
}
|
|
2025
2197
|
|
|
2026
|
-
declare interface
|
|
2198
|
+
declare interface DesignProps_5 {
|
|
2027
2199
|
header: {
|
|
2028
2200
|
isVisible: boolean;
|
|
2029
2201
|
fontStyle: FontStyle;
|
|
@@ -2034,7 +2206,7 @@ declare interface DesignProps_4 {
|
|
|
2034
2206
|
};
|
|
2035
2207
|
}
|
|
2036
2208
|
|
|
2037
|
-
declare interface
|
|
2209
|
+
declare interface DesignProps_6 {
|
|
2038
2210
|
header: {
|
|
2039
2211
|
isVisible: boolean;
|
|
2040
2212
|
title: {
|
|
@@ -2061,7 +2233,7 @@ declare interface DesignProps_5 {
|
|
|
2061
2233
|
};
|
|
2062
2234
|
}
|
|
2063
2235
|
|
|
2064
|
-
declare interface
|
|
2236
|
+
declare interface DesignProps_7 {
|
|
2065
2237
|
showPeriodToggle: boolean;
|
|
2066
2238
|
showDiscount: boolean;
|
|
2067
2239
|
header: {
|
|
@@ -2099,7 +2271,15 @@ declare interface DesignProps_6 {
|
|
|
2099
2271
|
};
|
|
2100
2272
|
}
|
|
2101
2273
|
|
|
2102
|
-
declare interface
|
|
2274
|
+
declare interface DesignProps_8 {
|
|
2275
|
+
text: {
|
|
2276
|
+
fontStyle: FontStyle;
|
|
2277
|
+
alignment: ComponentProps["$textAlign"];
|
|
2278
|
+
textContent: string;
|
|
2279
|
+
};
|
|
2280
|
+
}
|
|
2281
|
+
|
|
2282
|
+
declare interface DesignProps_9 {
|
|
2103
2283
|
button: {
|
|
2104
2284
|
text: string;
|
|
2105
2285
|
style: ComponentStyle;
|
|
@@ -2109,23 +2289,6 @@ declare interface DesignProps_7 {
|
|
|
2109
2289
|
};
|
|
2110
2290
|
}
|
|
2111
2291
|
|
|
2112
|
-
declare interface DesignProps_8 {
|
|
2113
|
-
header: {
|
|
2114
|
-
isVisible: boolean;
|
|
2115
|
-
fontStyle: FontStyle;
|
|
2116
|
-
prefix: string;
|
|
2117
|
-
};
|
|
2118
|
-
price: {
|
|
2119
|
-
isVisible: boolean;
|
|
2120
|
-
fontStyle: FontStyle;
|
|
2121
|
-
};
|
|
2122
|
-
contractEndDate: {
|
|
2123
|
-
isVisible: boolean;
|
|
2124
|
-
fontStyle: FontStyle;
|
|
2125
|
-
prefix: string;
|
|
2126
|
-
};
|
|
2127
|
-
}
|
|
2128
|
-
|
|
2129
2292
|
declare const Element_2: IStyledComponentBase<"web", FastOmit<FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
|
|
2130
2293
|
$viewport?: {
|
|
2131
2294
|
sm?: TransientCSSProperties;
|
|
@@ -2149,6 +2312,7 @@ $size?: ButtonSizeTypes;
|
|
|
2149
2312
|
$color?: EmbedButtonColor;
|
|
2150
2313
|
$variant?: EmbedButtonVariant;
|
|
2151
2314
|
$alignment?: EmbedButtonAlignment;
|
|
2315
|
+
$selfAlignment?: EmbedButtonSelfAlignment;
|
|
2152
2316
|
$fullWidth?: boolean;
|
|
2153
2317
|
}>> & string & Omit<ForwardRefExoticComponent<ButtonProps & RefAttributes<HTMLButtonElement>>, keyof Component<any, {}, any>>;
|
|
2154
2318
|
|
|
@@ -2156,6 +2320,8 @@ export declare type EmbedButtonAlignment = "start" | "center" | "end";
|
|
|
2156
2320
|
|
|
2157
2321
|
export declare type EmbedButtonColor = "primary" | "secondary" | "danger";
|
|
2158
2322
|
|
|
2323
|
+
export declare type EmbedButtonSelfAlignment = "start" | "center" | "end";
|
|
2324
|
+
|
|
2159
2325
|
export declare type EmbedButtonVariant = "filled" | "outline" | "ghost" | "text";
|
|
2160
2326
|
|
|
2161
2327
|
export declare const EmbedContext: Context<EmbedContextProps>;
|
|
@@ -3254,11 +3420,11 @@ declare interface InvoiceResponseData {
|
|
|
3254
3420
|
url?: string | null;
|
|
3255
3421
|
}
|
|
3256
3422
|
|
|
3257
|
-
export declare const Invoices: ForwardRefExoticComponent<ElementProps & RecursivePartial<
|
|
3423
|
+
export declare const Invoices: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_3> & {
|
|
3258
3424
|
data?: InvoiceResponseData[];
|
|
3259
3425
|
} & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
|
|
3260
3426
|
|
|
3261
|
-
export declare type InvoicesProps =
|
|
3427
|
+
export declare type InvoicesProps = DesignProps_3 & {
|
|
3262
3428
|
data?: InvoiceResponseData[];
|
|
3263
3429
|
};
|
|
3264
3430
|
|
|
@@ -3335,9 +3501,9 @@ $isLoading?: boolean;
|
|
|
3335
3501
|
|
|
3336
3502
|
declare function mapValues(data: any, fn: (item: any) => any): {};
|
|
3337
3503
|
|
|
3338
|
-
export declare const MeteredFeatures: ForwardRefExoticComponent<ElementProps & RecursivePartial<
|
|
3504
|
+
export declare const MeteredFeatures: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_4> & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
|
|
3339
3505
|
|
|
3340
|
-
export declare type MeteredFeaturesProps =
|
|
3506
|
+
export declare type MeteredFeaturesProps = DesignProps_4;
|
|
3341
3507
|
|
|
3342
3508
|
declare interface Middleware {
|
|
3343
3509
|
pre?(context: RequestContext): Promise<FetchParams | void>;
|
|
@@ -3376,7 +3542,7 @@ xl?: TransientCSSProperties;
|
|
|
3376
3542
|
};
|
|
3377
3543
|
}, never>> & string;
|
|
3378
3544
|
|
|
3379
|
-
export declare const PaymentMethod: ForwardRefExoticComponent<ElementProps & RecursivePartial<
|
|
3545
|
+
export declare const PaymentMethod: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_5> & HTMLAttributes<HTMLDivElement> & {
|
|
3380
3546
|
portal?: HTMLElement | null;
|
|
3381
3547
|
allowEdit?: boolean;
|
|
3382
3548
|
} & RefAttributes<HTMLDivElement | null>>;
|
|
@@ -3387,7 +3553,7 @@ declare interface PaymentMethodDetailsProps {
|
|
|
3387
3553
|
setPaymentMethodId?: (id: string) => void;
|
|
3388
3554
|
}
|
|
3389
3555
|
|
|
3390
|
-
export declare type PaymentMethodProps =
|
|
3556
|
+
export declare type PaymentMethodProps = DesignProps_5;
|
|
3391
3557
|
|
|
3392
3558
|
/**
|
|
3393
3559
|
* Schematic API
|
|
@@ -3722,6 +3888,12 @@ declare interface PlanEntitlementResponseData {
|
|
|
3722
3888
|
* @memberof PlanEntitlementResponseData
|
|
3723
3889
|
*/
|
|
3724
3890
|
updatedAt: Date;
|
|
3891
|
+
/**
|
|
3892
|
+
*
|
|
3893
|
+
* @type {BillingProductResponseData}
|
|
3894
|
+
* @memberof PlanEntitlementResponseData
|
|
3895
|
+
*/
|
|
3896
|
+
usageBasedProduct?: BillingProductResponseData;
|
|
3725
3897
|
/**
|
|
3726
3898
|
*
|
|
3727
3899
|
* @type {boolean}
|
|
@@ -3754,11 +3926,11 @@ declare interface PlanEntitlementResponseData {
|
|
|
3754
3926
|
valueType: string;
|
|
3755
3927
|
}
|
|
3756
3928
|
|
|
3757
|
-
export declare const PlanManager: ForwardRefExoticComponent<ElementProps & RecursivePartial<
|
|
3929
|
+
export declare const PlanManager: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_6> & HTMLAttributes<HTMLDivElement> & {
|
|
3758
3930
|
portal?: HTMLElement | null;
|
|
3759
3931
|
} & RefAttributes<HTMLDivElement | null>>;
|
|
3760
3932
|
|
|
3761
|
-
export declare type PlanManagerProps =
|
|
3933
|
+
export declare type PlanManagerProps = DesignProps_6;
|
|
3762
3934
|
|
|
3763
3935
|
/**
|
|
3764
3936
|
* Schematic API
|
|
@@ -3939,17 +4111,6 @@ declare interface PreviewObjectResponseData {
|
|
|
3939
4111
|
name: string;
|
|
3940
4112
|
}
|
|
3941
4113
|
|
|
3942
|
-
/**
|
|
3943
|
-
* Schematic API
|
|
3944
|
-
* Schematic API
|
|
3945
|
-
*
|
|
3946
|
-
* The version of the OpenAPI document: 0.1
|
|
3947
|
-
*
|
|
3948
|
-
*
|
|
3949
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3950
|
-
* https://openapi-generator.tech
|
|
3951
|
-
* Do not edit the class manually.
|
|
3952
|
-
*/
|
|
3953
4114
|
/**
|
|
3954
4115
|
* The created resource
|
|
3955
4116
|
* @export
|
|
@@ -3968,6 +4129,12 @@ declare interface PreviewSubscriptionChangeResponseData {
|
|
|
3968
4129
|
* @memberof PreviewSubscriptionChangeResponseData
|
|
3969
4130
|
*/
|
|
3970
4131
|
dueNow: number;
|
|
4132
|
+
/**
|
|
4133
|
+
*
|
|
4134
|
+
* @type {PreviewSubscriptionFinanceResponseData}
|
|
4135
|
+
* @memberof PreviewSubscriptionChangeResponseData
|
|
4136
|
+
*/
|
|
4137
|
+
finance?: PreviewSubscriptionFinanceResponseData;
|
|
3971
4138
|
/**
|
|
3972
4139
|
*
|
|
3973
4140
|
* @type {number}
|
|
@@ -4004,13 +4171,86 @@ declare interface PreviewSubscriptionChangeResponseData {
|
|
|
4004
4171
|
* @memberof PreviewSubscriptionChangeResponseData
|
|
4005
4172
|
*/
|
|
4006
4173
|
trialEnd?: Date | null;
|
|
4174
|
+
/**
|
|
4175
|
+
*
|
|
4176
|
+
* @type {Array<FeatureUsageResponseData>}
|
|
4177
|
+
* @memberof PreviewSubscriptionChangeResponseData
|
|
4178
|
+
*/
|
|
4179
|
+
usageViolations: Array<FeatureUsageResponseData>;
|
|
4180
|
+
}
|
|
4181
|
+
|
|
4182
|
+
/**
|
|
4183
|
+
* Schematic API
|
|
4184
|
+
* Schematic API
|
|
4185
|
+
*
|
|
4186
|
+
* The version of the OpenAPI document: 0.1
|
|
4187
|
+
*
|
|
4188
|
+
*
|
|
4189
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4190
|
+
* https://openapi-generator.tech
|
|
4191
|
+
* Do not edit the class manually.
|
|
4192
|
+
*/
|
|
4193
|
+
/**
|
|
4194
|
+
*
|
|
4195
|
+
* @export
|
|
4196
|
+
* @interface PreviewSubscriptionFinanceResponseData
|
|
4197
|
+
*/
|
|
4198
|
+
declare interface PreviewSubscriptionFinanceResponseData {
|
|
4199
|
+
/**
|
|
4200
|
+
*
|
|
4201
|
+
* @type {number}
|
|
4202
|
+
* @memberof PreviewSubscriptionFinanceResponseData
|
|
4203
|
+
*/
|
|
4204
|
+
amountOff: number;
|
|
4205
|
+
/**
|
|
4206
|
+
*
|
|
4207
|
+
* @type {number}
|
|
4208
|
+
* @memberof PreviewSubscriptionFinanceResponseData
|
|
4209
|
+
*/
|
|
4210
|
+
dueNow: number;
|
|
4211
|
+
/**
|
|
4212
|
+
*
|
|
4213
|
+
* @type {number}
|
|
4214
|
+
* @memberof PreviewSubscriptionFinanceResponseData
|
|
4215
|
+
*/
|
|
4216
|
+
newCharges: number;
|
|
4217
|
+
/**
|
|
4218
|
+
*
|
|
4219
|
+
* @type {number}
|
|
4220
|
+
* @memberof PreviewSubscriptionFinanceResponseData
|
|
4221
|
+
*/
|
|
4222
|
+
percentOff: number;
|
|
4223
|
+
/**
|
|
4224
|
+
*
|
|
4225
|
+
* @type {Date}
|
|
4226
|
+
* @memberof PreviewSubscriptionFinanceResponseData
|
|
4227
|
+
*/
|
|
4228
|
+
periodStart: Date;
|
|
4229
|
+
/**
|
|
4230
|
+
*
|
|
4231
|
+
* @type {boolean}
|
|
4232
|
+
* @memberof PreviewSubscriptionFinanceResponseData
|
|
4233
|
+
*/
|
|
4234
|
+
promoCodeApplied: boolean;
|
|
4235
|
+
/**
|
|
4236
|
+
*
|
|
4237
|
+
* @type {number}
|
|
4238
|
+
* @memberof PreviewSubscriptionFinanceResponseData
|
|
4239
|
+
*/
|
|
4240
|
+
proration: number;
|
|
4241
|
+
/**
|
|
4242
|
+
*
|
|
4243
|
+
* @type {Date}
|
|
4244
|
+
* @memberof PreviewSubscriptionFinanceResponseData
|
|
4245
|
+
*/
|
|
4246
|
+
trialEnd?: Date | null;
|
|
4007
4247
|
}
|
|
4008
4248
|
|
|
4009
|
-
export declare const PricingTable: ForwardRefExoticComponent<ElementProps & RecursivePartial<
|
|
4249
|
+
export declare const PricingTable: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_7> & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
|
|
4010
4250
|
|
|
4011
|
-
export declare type PricingTableProps =
|
|
4251
|
+
export declare type PricingTableProps = DesignProps_7;
|
|
4012
4252
|
|
|
4013
|
-
export declare const ProgressBar: ({ progress, value, total, color, bgColor,
|
|
4253
|
+
export declare const ProgressBar: ({ progress, value, total, color, bgColor, ...props }: ProgressBarProps) => JSX.Element;
|
|
4014
4254
|
|
|
4015
4255
|
export declare interface ProgressBarProps extends React.ComponentPropsWithoutRef<typeof Flex> {
|
|
4016
4256
|
progress: number;
|
|
@@ -4018,7 +4258,6 @@ export declare interface ProgressBarProps extends React.ComponentPropsWithoutRef
|
|
|
4018
4258
|
total?: number | string;
|
|
4019
4259
|
color?: "gray" | "blue" | "yellow" | "orange" | "red";
|
|
4020
4260
|
bgColor?: string;
|
|
4021
|
-
barWidth?: string | number;
|
|
4022
4261
|
}
|
|
4023
4262
|
|
|
4024
4263
|
export declare const progressColorMap: ("blue" | "red" | "yellow")[];
|
|
@@ -4476,6 +4715,12 @@ declare class TextApiResponse {
|
|
|
4476
4715
|
value(): Promise<string>;
|
|
4477
4716
|
}
|
|
4478
4717
|
|
|
4718
|
+
export declare const TextElement: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_8> & HTMLAttributes<HTMLDivElement> & {
|
|
4719
|
+
portal?: HTMLElement | null;
|
|
4720
|
+
} & RefAttributes<HTMLDivElement | null>>;
|
|
4721
|
+
|
|
4722
|
+
export declare type TextElementProps = DesignProps_8;
|
|
4723
|
+
|
|
4479
4724
|
export declare enum TextPropNames {
|
|
4480
4725
|
Align = "$align",
|
|
4481
4726
|
Font = "$font",
|
|
@@ -4516,15 +4761,15 @@ export declare interface TypographySettings {
|
|
|
4516
4761
|
color: string;
|
|
4517
4762
|
}
|
|
4518
4763
|
|
|
4519
|
-
export declare const UnsubscribeButton: ForwardRefExoticComponent<ElementProps & RecursivePartial<
|
|
4764
|
+
export declare const UnsubscribeButton: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_9> & HTMLAttributes<HTMLDivElement> & {
|
|
4520
4765
|
portal?: HTMLElement | null;
|
|
4521
4766
|
} & RefAttributes<HTMLDivElement | null>>;
|
|
4522
4767
|
|
|
4523
|
-
export declare type UnsubscribeButtonProps =
|
|
4768
|
+
export declare type UnsubscribeButtonProps = DesignProps_9;
|
|
4524
4769
|
|
|
4525
|
-
export declare const UpcomingBill: ForwardRefExoticComponent<ElementProps & RecursivePartial<
|
|
4770
|
+
export declare const UpcomingBill: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_10> & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
|
|
4526
4771
|
|
|
4527
|
-
export declare type UpcomingBillProps =
|
|
4772
|
+
export declare type UpcomingBillProps = DesignProps_10;
|
|
4528
4773
|
|
|
4529
4774
|
/**
|
|
4530
4775
|
* Schematic API
|