@schematichq/schematic-components 1.0.6 → 1.1.1
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 +5123 -8267
- package/dist/schematic-components.d.ts +399 -61
- package/dist/schematic-components.esm.js +3744 -6888
- package/package.json +20 -24
|
@@ -14,6 +14,86 @@ import { RefAttributes } from 'react';
|
|
|
14
14
|
import { RuleSet } from 'styled-components';
|
|
15
15
|
import { Substitute } from 'styled-components/dist/types';
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface BillingCreditBundleView
|
|
21
|
+
*/
|
|
22
|
+
declare interface BillingCreditBundleView {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof BillingCreditBundleView
|
|
27
|
+
*/
|
|
28
|
+
bundleType: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Date}
|
|
32
|
+
* @memberof BillingCreditBundleView
|
|
33
|
+
*/
|
|
34
|
+
createdAt: Date;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof BillingCreditBundleView
|
|
39
|
+
*/
|
|
40
|
+
creditId: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof BillingCreditBundleView
|
|
45
|
+
*/
|
|
46
|
+
expiryType: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof BillingCreditBundleView
|
|
51
|
+
*/
|
|
52
|
+
expiryUnit: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof BillingCreditBundleView
|
|
57
|
+
*/
|
|
58
|
+
expiryUnitCount?: number | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof BillingCreditBundleView
|
|
63
|
+
*/
|
|
64
|
+
id: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof BillingCreditBundleView
|
|
69
|
+
*/
|
|
70
|
+
name: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {BillingProductPriceResponseData}
|
|
74
|
+
* @memberof BillingCreditBundleView
|
|
75
|
+
*/
|
|
76
|
+
price?: BillingProductPriceResponseData;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof BillingCreditBundleView
|
|
81
|
+
*/
|
|
82
|
+
quantity?: number | null;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof BillingCreditBundleView
|
|
87
|
+
*/
|
|
88
|
+
status: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {Date}
|
|
92
|
+
* @memberof BillingCreditBundleView
|
|
93
|
+
*/
|
|
94
|
+
updatedAt: Date;
|
|
95
|
+
}
|
|
96
|
+
|
|
17
97
|
/**
|
|
18
98
|
*
|
|
19
99
|
* @export
|
|
@@ -70,22 +150,22 @@ declare interface BillingCreditResponseData {
|
|
|
70
150
|
id: string;
|
|
71
151
|
/**
|
|
72
152
|
*
|
|
73
|
-
* @type {
|
|
153
|
+
* @type {string}
|
|
74
154
|
* @memberof BillingCreditResponseData
|
|
75
155
|
*/
|
|
76
|
-
|
|
156
|
+
name: string;
|
|
77
157
|
/**
|
|
78
158
|
*
|
|
79
159
|
* @type {string}
|
|
80
160
|
* @memberof BillingCreditResponseData
|
|
81
161
|
*/
|
|
82
|
-
|
|
162
|
+
pluralName?: string | null;
|
|
83
163
|
/**
|
|
84
164
|
*
|
|
85
|
-
* @type {
|
|
165
|
+
* @type {BillingPriceResponseData}
|
|
86
166
|
* @memberof BillingCreditResponseData
|
|
87
167
|
*/
|
|
88
|
-
|
|
168
|
+
price?: BillingPriceResponseData;
|
|
89
169
|
/**
|
|
90
170
|
*
|
|
91
171
|
* @type {BillingProductResponseData}
|
|
@@ -104,12 +184,6 @@ declare interface BillingCreditResponseData {
|
|
|
104
184
|
* @memberof BillingCreditResponseData
|
|
105
185
|
*/
|
|
106
186
|
updatedAt: Date;
|
|
107
|
-
/**
|
|
108
|
-
*
|
|
109
|
-
* @type {BillingPriceResponseData}
|
|
110
|
-
* @memberof BillingCreditResponseData
|
|
111
|
-
*/
|
|
112
|
-
yearlyPrice?: BillingPriceResponseData;
|
|
113
187
|
}
|
|
114
188
|
|
|
115
189
|
/**
|
|
@@ -168,22 +242,22 @@ declare interface BillingCreditResponseData_2 {
|
|
|
168
242
|
id: string;
|
|
169
243
|
/**
|
|
170
244
|
*
|
|
171
|
-
* @type {
|
|
245
|
+
* @type {string}
|
|
172
246
|
* @memberof BillingCreditResponseData
|
|
173
247
|
*/
|
|
174
|
-
|
|
248
|
+
name: string;
|
|
175
249
|
/**
|
|
176
250
|
*
|
|
177
251
|
* @type {string}
|
|
178
252
|
* @memberof BillingCreditResponseData
|
|
179
253
|
*/
|
|
180
|
-
|
|
254
|
+
pluralName?: string | null;
|
|
181
255
|
/**
|
|
182
256
|
*
|
|
183
|
-
* @type {
|
|
257
|
+
* @type {BillingPriceResponseData}
|
|
184
258
|
* @memberof BillingCreditResponseData
|
|
185
259
|
*/
|
|
186
|
-
|
|
260
|
+
price?: BillingPriceResponseData_2;
|
|
187
261
|
/**
|
|
188
262
|
*
|
|
189
263
|
* @type {BillingProductResponseData}
|
|
@@ -202,12 +276,6 @@ declare interface BillingCreditResponseData_2 {
|
|
|
202
276
|
* @memberof BillingCreditResponseData
|
|
203
277
|
*/
|
|
204
278
|
updatedAt: Date;
|
|
205
|
-
/**
|
|
206
|
-
*
|
|
207
|
-
* @type {BillingPriceResponseData}
|
|
208
|
-
* @memberof BillingCreditResponseData
|
|
209
|
-
*/
|
|
210
|
-
yearlyPrice?: BillingPriceResponseData_2;
|
|
211
279
|
}
|
|
212
280
|
|
|
213
281
|
/**
|
|
@@ -906,6 +974,115 @@ declare interface BillingProductForSubscriptionResponseData {
|
|
|
906
974
|
usageType: string;
|
|
907
975
|
}
|
|
908
976
|
|
|
977
|
+
/**
|
|
978
|
+
* Schematic API
|
|
979
|
+
* Schematic API
|
|
980
|
+
*
|
|
981
|
+
* The version of the OpenAPI document: 0.1
|
|
982
|
+
*
|
|
983
|
+
*
|
|
984
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
985
|
+
* https://openapi-generator.tech
|
|
986
|
+
* Do not edit the class manually.
|
|
987
|
+
*/
|
|
988
|
+
/**
|
|
989
|
+
*
|
|
990
|
+
* @export
|
|
991
|
+
* @interface BillingProductPriceResponseData
|
|
992
|
+
*/
|
|
993
|
+
declare interface BillingProductPriceResponseData {
|
|
994
|
+
/**
|
|
995
|
+
*
|
|
996
|
+
* @type {string}
|
|
997
|
+
* @memberof BillingProductPriceResponseData
|
|
998
|
+
*/
|
|
999
|
+
billingScheme: string;
|
|
1000
|
+
/**
|
|
1001
|
+
*
|
|
1002
|
+
* @type {Date}
|
|
1003
|
+
* @memberof BillingProductPriceResponseData
|
|
1004
|
+
*/
|
|
1005
|
+
createdAt: Date;
|
|
1006
|
+
/**
|
|
1007
|
+
*
|
|
1008
|
+
* @type {string}
|
|
1009
|
+
* @memberof BillingProductPriceResponseData
|
|
1010
|
+
*/
|
|
1011
|
+
currency: string;
|
|
1012
|
+
/**
|
|
1013
|
+
*
|
|
1014
|
+
* @type {string}
|
|
1015
|
+
* @memberof BillingProductPriceResponseData
|
|
1016
|
+
*/
|
|
1017
|
+
id: string;
|
|
1018
|
+
/**
|
|
1019
|
+
*
|
|
1020
|
+
* @type {string}
|
|
1021
|
+
* @memberof BillingProductPriceResponseData
|
|
1022
|
+
*/
|
|
1023
|
+
interval: string;
|
|
1024
|
+
/**
|
|
1025
|
+
*
|
|
1026
|
+
* @type {boolean}
|
|
1027
|
+
* @memberof BillingProductPriceResponseData
|
|
1028
|
+
*/
|
|
1029
|
+
isActive: boolean;
|
|
1030
|
+
/**
|
|
1031
|
+
*
|
|
1032
|
+
* @type {string}
|
|
1033
|
+
* @memberof BillingProductPriceResponseData
|
|
1034
|
+
*/
|
|
1035
|
+
meterId?: string | null;
|
|
1036
|
+
/**
|
|
1037
|
+
*
|
|
1038
|
+
* @type {number}
|
|
1039
|
+
* @memberof BillingProductPriceResponseData
|
|
1040
|
+
*/
|
|
1041
|
+
packageSize: number;
|
|
1042
|
+
/**
|
|
1043
|
+
*
|
|
1044
|
+
* @type {number}
|
|
1045
|
+
* @memberof BillingProductPriceResponseData
|
|
1046
|
+
*/
|
|
1047
|
+
price: number;
|
|
1048
|
+
/**
|
|
1049
|
+
*
|
|
1050
|
+
* @type {string}
|
|
1051
|
+
* @memberof BillingProductPriceResponseData
|
|
1052
|
+
*/
|
|
1053
|
+
priceDecimal?: string | null;
|
|
1054
|
+
/**
|
|
1055
|
+
*
|
|
1056
|
+
* @type {string}
|
|
1057
|
+
* @memberof BillingProductPriceResponseData
|
|
1058
|
+
*/
|
|
1059
|
+
priceExternalId: string;
|
|
1060
|
+
/**
|
|
1061
|
+
*
|
|
1062
|
+
* @type {string}
|
|
1063
|
+
* @memberof BillingProductPriceResponseData
|
|
1064
|
+
*/
|
|
1065
|
+
productExternalId: string;
|
|
1066
|
+
/**
|
|
1067
|
+
*
|
|
1068
|
+
* @type {string}
|
|
1069
|
+
* @memberof BillingProductPriceResponseData
|
|
1070
|
+
*/
|
|
1071
|
+
tiersMode?: string | null;
|
|
1072
|
+
/**
|
|
1073
|
+
*
|
|
1074
|
+
* @type {Date}
|
|
1075
|
+
* @memberof BillingProductPriceResponseData
|
|
1076
|
+
*/
|
|
1077
|
+
updatedAt: Date;
|
|
1078
|
+
/**
|
|
1079
|
+
*
|
|
1080
|
+
* @type {string}
|
|
1081
|
+
* @memberof BillingProductPriceResponseData
|
|
1082
|
+
*/
|
|
1083
|
+
usageType: string;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
909
1086
|
/**
|
|
910
1087
|
* Schematic API
|
|
911
1088
|
* Schematic API
|
|
@@ -1289,7 +1466,7 @@ declare interface BillingSubscriptionDiscountView {
|
|
|
1289
1466
|
* Do not edit the class manually.
|
|
1290
1467
|
*/
|
|
1291
1468
|
/**
|
|
1292
|
-
*
|
|
1469
|
+
*
|
|
1293
1470
|
* @export
|
|
1294
1471
|
* @interface BillingSubscriptionResponseData
|
|
1295
1472
|
*/
|
|
@@ -1563,11 +1740,11 @@ export declare type ButtonAlignment = "start" | "center" | "end";
|
|
|
1563
1740
|
|
|
1564
1741
|
export declare type ButtonColor = "primary" | "secondary" | "danger";
|
|
1565
1742
|
|
|
1566
|
-
export declare const ButtonElement: ForwardRefExoticComponent<ElementProps & DeepPartial<
|
|
1743
|
+
export declare const ButtonElement: ForwardRefExoticComponent<ElementProps & DeepPartial<DesignProps> & HTMLAttributes<HTMLDivElement> & {
|
|
1567
1744
|
portal?: HTMLElement | null;
|
|
1568
1745
|
} & RefAttributes<HTMLDivElement | null>>;
|
|
1569
1746
|
|
|
1570
|
-
export declare type ButtonElementProps =
|
|
1747
|
+
export declare type ButtonElementProps = DesignProps;
|
|
1571
1748
|
|
|
1572
1749
|
export declare interface ButtonProps {
|
|
1573
1750
|
$color?: ButtonColor;
|
|
@@ -1721,6 +1898,14 @@ declare interface CompanyDetailResponseData {
|
|
|
1721
1898
|
* @memberof CompanyDetailResponseData
|
|
1722
1899
|
*/
|
|
1723
1900
|
addOns: Array<CompanyPlanWithBillingSubView>;
|
|
1901
|
+
/**
|
|
1902
|
+
*
|
|
1903
|
+
* @type {{ [key: string]: number; }}
|
|
1904
|
+
* @memberof CompanyDetailResponseData
|
|
1905
|
+
*/
|
|
1906
|
+
billingCreditBalances?: {
|
|
1907
|
+
[key: string]: number;
|
|
1908
|
+
} | null;
|
|
1724
1909
|
/**
|
|
1725
1910
|
*
|
|
1726
1911
|
* @type {BillingSubscriptionView}
|
|
@@ -1916,6 +2101,128 @@ declare interface CompanyEventPeriodMetricsResponseData {
|
|
|
1916
2101
|
value: number;
|
|
1917
2102
|
}
|
|
1918
2103
|
|
|
2104
|
+
/**
|
|
2105
|
+
*
|
|
2106
|
+
* @export
|
|
2107
|
+
* @interface CompanyOverrideResponseData
|
|
2108
|
+
*/
|
|
2109
|
+
declare interface CompanyOverrideResponseData {
|
|
2110
|
+
/**
|
|
2111
|
+
*
|
|
2112
|
+
* @type {CompanyDetailResponseData}
|
|
2113
|
+
* @memberof CompanyOverrideResponseData
|
|
2114
|
+
*/
|
|
2115
|
+
company?: CompanyDetailResponseData;
|
|
2116
|
+
/**
|
|
2117
|
+
*
|
|
2118
|
+
* @type {string}
|
|
2119
|
+
* @memberof CompanyOverrideResponseData
|
|
2120
|
+
*/
|
|
2121
|
+
companyId: string;
|
|
2122
|
+
/**
|
|
2123
|
+
*
|
|
2124
|
+
* @type {number}
|
|
2125
|
+
* @memberof CompanyOverrideResponseData
|
|
2126
|
+
*/
|
|
2127
|
+
consumptionRate?: number | null;
|
|
2128
|
+
/**
|
|
2129
|
+
*
|
|
2130
|
+
* @type {Date}
|
|
2131
|
+
* @memberof CompanyOverrideResponseData
|
|
2132
|
+
*/
|
|
2133
|
+
createdAt: Date;
|
|
2134
|
+
/**
|
|
2135
|
+
*
|
|
2136
|
+
* @type {string}
|
|
2137
|
+
* @memberof CompanyOverrideResponseData
|
|
2138
|
+
*/
|
|
2139
|
+
environmentId: string;
|
|
2140
|
+
/**
|
|
2141
|
+
*
|
|
2142
|
+
* @type {Date}
|
|
2143
|
+
* @memberof CompanyOverrideResponseData
|
|
2144
|
+
*/
|
|
2145
|
+
expirationDate?: Date | null;
|
|
2146
|
+
/**
|
|
2147
|
+
*
|
|
2148
|
+
* @type {FeatureResponseData}
|
|
2149
|
+
* @memberof CompanyOverrideResponseData
|
|
2150
|
+
*/
|
|
2151
|
+
feature?: FeatureResponseData_2;
|
|
2152
|
+
/**
|
|
2153
|
+
*
|
|
2154
|
+
* @type {string}
|
|
2155
|
+
* @memberof CompanyOverrideResponseData
|
|
2156
|
+
*/
|
|
2157
|
+
featureId: string;
|
|
2158
|
+
/**
|
|
2159
|
+
*
|
|
2160
|
+
* @type {string}
|
|
2161
|
+
* @memberof CompanyOverrideResponseData
|
|
2162
|
+
*/
|
|
2163
|
+
id: string;
|
|
2164
|
+
/**
|
|
2165
|
+
*
|
|
2166
|
+
* @type {string}
|
|
2167
|
+
* @memberof CompanyOverrideResponseData
|
|
2168
|
+
*/
|
|
2169
|
+
metricPeriod?: string | null;
|
|
2170
|
+
/**
|
|
2171
|
+
*
|
|
2172
|
+
* @type {string}
|
|
2173
|
+
* @memberof CompanyOverrideResponseData
|
|
2174
|
+
*/
|
|
2175
|
+
metricPeriodMonthReset?: string | null;
|
|
2176
|
+
/**
|
|
2177
|
+
*
|
|
2178
|
+
* @type {string}
|
|
2179
|
+
* @memberof CompanyOverrideResponseData
|
|
2180
|
+
*/
|
|
2181
|
+
ruleId?: string | null;
|
|
2182
|
+
/**
|
|
2183
|
+
*
|
|
2184
|
+
* @type {string}
|
|
2185
|
+
* @memberof CompanyOverrideResponseData
|
|
2186
|
+
*/
|
|
2187
|
+
ruleIdUsageExceeded?: string | null;
|
|
2188
|
+
/**
|
|
2189
|
+
*
|
|
2190
|
+
* @type {Date}
|
|
2191
|
+
* @memberof CompanyOverrideResponseData
|
|
2192
|
+
*/
|
|
2193
|
+
updatedAt: Date;
|
|
2194
|
+
/**
|
|
2195
|
+
*
|
|
2196
|
+
* @type {boolean}
|
|
2197
|
+
* @memberof CompanyOverrideResponseData
|
|
2198
|
+
*/
|
|
2199
|
+
valueBool?: boolean | null;
|
|
2200
|
+
/**
|
|
2201
|
+
*
|
|
2202
|
+
* @type {number}
|
|
2203
|
+
* @memberof CompanyOverrideResponseData
|
|
2204
|
+
*/
|
|
2205
|
+
valueNumeric?: number | null;
|
|
2206
|
+
/**
|
|
2207
|
+
*
|
|
2208
|
+
* @type {EntityTraitDefinitionResponseData}
|
|
2209
|
+
* @memberof CompanyOverrideResponseData
|
|
2210
|
+
*/
|
|
2211
|
+
valueTrait?: EntityTraitDefinitionResponseData_2;
|
|
2212
|
+
/**
|
|
2213
|
+
*
|
|
2214
|
+
* @type {string}
|
|
2215
|
+
* @memberof CompanyOverrideResponseData
|
|
2216
|
+
*/
|
|
2217
|
+
valueTraitId?: string | null;
|
|
2218
|
+
/**
|
|
2219
|
+
*
|
|
2220
|
+
* @type {string}
|
|
2221
|
+
* @memberof CompanyOverrideResponseData
|
|
2222
|
+
*/
|
|
2223
|
+
valueType: string;
|
|
2224
|
+
}
|
|
2225
|
+
|
|
1919
2226
|
/**
|
|
1920
2227
|
*
|
|
1921
2228
|
* @export
|
|
@@ -2429,6 +2736,12 @@ declare interface ComponentHydrateResponseData {
|
|
|
2429
2736
|
* @memberof ComponentHydrateResponseData
|
|
2430
2737
|
*/
|
|
2431
2738
|
component?: ComponentResponseData;
|
|
2739
|
+
/**
|
|
2740
|
+
*
|
|
2741
|
+
* @type {Array<BillingCreditBundleView>}
|
|
2742
|
+
* @memberof ComponentHydrateResponseData
|
|
2743
|
+
*/
|
|
2744
|
+
creditBundles: Array<BillingCreditBundleView>;
|
|
2432
2745
|
/**
|
|
2433
2746
|
*
|
|
2434
2747
|
* @type {PlanDetailResponseData}
|
|
@@ -2680,60 +2993,60 @@ declare interface DeleteResponse {
|
|
|
2680
2993
|
deleted?: boolean;
|
|
2681
2994
|
}
|
|
2682
2995
|
|
|
2683
|
-
|
|
2996
|
+
declare interface DesignProps {
|
|
2997
|
+
button: {
|
|
2998
|
+
link: string;
|
|
2999
|
+
openInNewTab: boolean;
|
|
3000
|
+
text: string;
|
|
3001
|
+
style: ComponentStyle;
|
|
3002
|
+
size: ButtonSize;
|
|
3003
|
+
fullWidth: boolean;
|
|
3004
|
+
alignment: ButtonAlignment;
|
|
3005
|
+
selfAlignment: ButtonSelfAlignment;
|
|
3006
|
+
};
|
|
3007
|
+
}
|
|
3008
|
+
|
|
3009
|
+
declare interface DesignProps_10 {
|
|
2684
3010
|
header: {
|
|
2685
3011
|
isVisible: boolean;
|
|
2686
3012
|
fontStyle: FontStyle;
|
|
2687
|
-
|
|
3013
|
+
prefix: string;
|
|
2688
3014
|
};
|
|
2689
|
-
|
|
3015
|
+
price: {
|
|
2690
3016
|
isVisible: boolean;
|
|
2691
3017
|
fontStyle: FontStyle;
|
|
2692
|
-
style: "light" | "dark";
|
|
2693
3018
|
};
|
|
2694
|
-
|
|
3019
|
+
contractEndDate: {
|
|
2695
3020
|
isVisible: boolean;
|
|
2696
3021
|
fontStyle: FontStyle;
|
|
3022
|
+
prefix: string;
|
|
2697
3023
|
};
|
|
2698
|
-
|
|
3024
|
+
}
|
|
3025
|
+
|
|
3026
|
+
declare interface DesignProps_2 {
|
|
3027
|
+
header: {
|
|
2699
3028
|
isVisible: boolean;
|
|
2700
3029
|
fontStyle: FontStyle;
|
|
3030
|
+
text: string;
|
|
2701
3031
|
};
|
|
2702
|
-
|
|
3032
|
+
icons: {
|
|
2703
3033
|
isVisible: boolean;
|
|
2704
3034
|
fontStyle: FontStyle;
|
|
3035
|
+
style: "light" | "dark";
|
|
2705
3036
|
};
|
|
2706
|
-
|
|
2707
|
-
}
|
|
2708
|
-
|
|
2709
|
-
declare interface DesignProps_10 {
|
|
2710
|
-
header: {
|
|
3037
|
+
entitlement: {
|
|
2711
3038
|
isVisible: boolean;
|
|
2712
3039
|
fontStyle: FontStyle;
|
|
2713
|
-
prefix: string;
|
|
2714
3040
|
};
|
|
2715
|
-
|
|
3041
|
+
entitlementExpiration: {
|
|
2716
3042
|
isVisible: boolean;
|
|
2717
3043
|
fontStyle: FontStyle;
|
|
2718
3044
|
};
|
|
2719
|
-
|
|
3045
|
+
usage: {
|
|
2720
3046
|
isVisible: boolean;
|
|
2721
3047
|
fontStyle: FontStyle;
|
|
2722
|
-
prefix: string;
|
|
2723
|
-
};
|
|
2724
|
-
}
|
|
2725
|
-
|
|
2726
|
-
declare interface DesignProps_2 {
|
|
2727
|
-
button: {
|
|
2728
|
-
link: string;
|
|
2729
|
-
openInNewTab: boolean;
|
|
2730
|
-
text: string;
|
|
2731
|
-
style: ComponentStyle;
|
|
2732
|
-
size: ButtonSize;
|
|
2733
|
-
fullWidth: boolean;
|
|
2734
|
-
alignment: ButtonAlignment;
|
|
2735
|
-
selfAlignment: ButtonSelfAlignment;
|
|
2736
3048
|
};
|
|
3049
|
+
visibleFeatures?: string[];
|
|
2737
3050
|
}
|
|
2738
3051
|
|
|
2739
3052
|
declare interface DesignProps_3 {
|
|
@@ -2950,7 +3263,7 @@ export declare interface EmbedState {
|
|
|
2950
3263
|
isPending: boolean;
|
|
2951
3264
|
stale: boolean;
|
|
2952
3265
|
accessToken?: string;
|
|
2953
|
-
data?:
|
|
3266
|
+
data?: HydrateData;
|
|
2954
3267
|
error?: Error;
|
|
2955
3268
|
settings: EmbedSettings;
|
|
2956
3269
|
layout: EmbedLayout;
|
|
@@ -3816,6 +4129,12 @@ declare interface FeatureUsageResponseData {
|
|
|
3816
4129
|
* @memberof FeatureUsageResponseData
|
|
3817
4130
|
*/
|
|
3818
4131
|
allocationType: FeatureUsageResponseDataAllocationTypeEnum;
|
|
4132
|
+
/**
|
|
4133
|
+
*
|
|
4134
|
+
* @type {CompanyOverrideResponseData}
|
|
4135
|
+
* @memberof FeatureUsageResponseData
|
|
4136
|
+
*/
|
|
4137
|
+
companyOverride?: CompanyOverrideResponseData;
|
|
3819
4138
|
/**
|
|
3820
4139
|
*
|
|
3821
4140
|
* @type {Date}
|
|
@@ -3870,6 +4189,12 @@ declare interface FeatureUsageResponseData {
|
|
|
3870
4189
|
* @memberof FeatureUsageResponseData
|
|
3871
4190
|
*/
|
|
3872
4191
|
plan?: PlanResponseData_2;
|
|
4192
|
+
/**
|
|
4193
|
+
*
|
|
4194
|
+
* @type {PlanEntitlementResponseData}
|
|
4195
|
+
* @memberof FeatureUsageResponseData
|
|
4196
|
+
*/
|
|
4197
|
+
planEntitlement?: PlanEntitlementResponseData_2;
|
|
3873
4198
|
/**
|
|
3874
4199
|
*
|
|
3875
4200
|
* @type {string}
|
|
@@ -4182,6 +4507,8 @@ declare type HTTPQuery = {
|
|
|
4182
4507
|
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
|
|
4183
4508
|
};
|
|
4184
4509
|
|
|
4510
|
+
declare type HydrateData = PublicPlansResponseData | ComponentHydrateResponseData;
|
|
4511
|
+
|
|
4185
4512
|
/**
|
|
4186
4513
|
*
|
|
4187
4514
|
* @export
|
|
@@ -4217,9 +4544,9 @@ export declare interface IconProps extends Omit<IconProps_2, "name"> {
|
|
|
4217
4544
|
|
|
4218
4545
|
export { iconsList }
|
|
4219
4546
|
|
|
4220
|
-
export declare const IncludedFeatures: ForwardRefExoticComponent<ElementProps & DeepPartial<
|
|
4547
|
+
export declare const IncludedFeatures: ForwardRefExoticComponent<ElementProps & DeepPartial<DesignProps_2> & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
|
|
4221
4548
|
|
|
4222
|
-
export declare type IncludedFeaturesProps =
|
|
4549
|
+
export declare type IncludedFeaturesProps = DesignProps_2;
|
|
4223
4550
|
|
|
4224
4551
|
export declare const initialContext: {
|
|
4225
4552
|
hydratePublic: () => never;
|
|
@@ -4242,7 +4569,7 @@ export declare const initialContext: {
|
|
|
4242
4569
|
isPending: boolean;
|
|
4243
4570
|
stale: boolean;
|
|
4244
4571
|
accessToken?: string;
|
|
4245
|
-
data?:
|
|
4572
|
+
data?: HydrateData;
|
|
4246
4573
|
error?: Error;
|
|
4247
4574
|
settings: EmbedSettings;
|
|
4248
4575
|
layout: EmbedLayout;
|
|
@@ -4269,7 +4596,7 @@ $variant?: "filled" | "outline" | "ghost" | "text";
|
|
|
4269
4596
|
* Do not edit the class manually.
|
|
4270
4597
|
*/
|
|
4271
4598
|
/**
|
|
4272
|
-
*
|
|
4599
|
+
*
|
|
4273
4600
|
* @export
|
|
4274
4601
|
* @interface InvoiceResponseData
|
|
4275
4602
|
*/
|
|
@@ -5559,12 +5886,14 @@ declare interface PreviewSubscriptionChangeResponseData {
|
|
|
5559
5886
|
*
|
|
5560
5887
|
* @type {number}
|
|
5561
5888
|
* @memberof PreviewSubscriptionChangeResponseData
|
|
5889
|
+
* @deprecated
|
|
5562
5890
|
*/
|
|
5563
5891
|
amountOff: number;
|
|
5564
5892
|
/**
|
|
5565
5893
|
*
|
|
5566
5894
|
* @type {number}
|
|
5567
5895
|
* @memberof PreviewSubscriptionChangeResponseData
|
|
5896
|
+
* @deprecated
|
|
5568
5897
|
*/
|
|
5569
5898
|
dueNow: number;
|
|
5570
5899
|
/**
|
|
@@ -5577,6 +5906,7 @@ declare interface PreviewSubscriptionChangeResponseData {
|
|
|
5577
5906
|
*
|
|
5578
5907
|
* @type {number}
|
|
5579
5908
|
* @memberof PreviewSubscriptionChangeResponseData
|
|
5909
|
+
* @deprecated
|
|
5580
5910
|
*/
|
|
5581
5911
|
newCharges: number;
|
|
5582
5912
|
/**
|
|
@@ -5589,30 +5919,35 @@ declare interface PreviewSubscriptionChangeResponseData {
|
|
|
5589
5919
|
*
|
|
5590
5920
|
* @type {number}
|
|
5591
5921
|
* @memberof PreviewSubscriptionChangeResponseData
|
|
5922
|
+
* @deprecated
|
|
5592
5923
|
*/
|
|
5593
5924
|
percentOff: number;
|
|
5594
5925
|
/**
|
|
5595
5926
|
*
|
|
5596
5927
|
* @type {Date}
|
|
5597
5928
|
* @memberof PreviewSubscriptionChangeResponseData
|
|
5929
|
+
* @deprecated
|
|
5598
5930
|
*/
|
|
5599
5931
|
periodStart: Date;
|
|
5600
5932
|
/**
|
|
5601
5933
|
*
|
|
5602
5934
|
* @type {boolean}
|
|
5603
5935
|
* @memberof PreviewSubscriptionChangeResponseData
|
|
5936
|
+
* @deprecated
|
|
5604
5937
|
*/
|
|
5605
5938
|
promoCodeApplied: boolean;
|
|
5606
5939
|
/**
|
|
5607
5940
|
*
|
|
5608
5941
|
* @type {number}
|
|
5609
5942
|
* @memberof PreviewSubscriptionChangeResponseData
|
|
5943
|
+
* @deprecated
|
|
5610
5944
|
*/
|
|
5611
5945
|
proration: number;
|
|
5612
5946
|
/**
|
|
5613
5947
|
*
|
|
5614
5948
|
* @type {Date}
|
|
5615
5949
|
* @memberof PreviewSubscriptionChangeResponseData
|
|
5950
|
+
* @deprecated
|
|
5616
5951
|
*/
|
|
5617
5952
|
trialEnd?: Date | null;
|
|
5618
5953
|
/**
|
|
@@ -5736,7 +6071,7 @@ declare interface PreviewSubscriptionUpcomingInvoiceLineItems {
|
|
|
5736
6071
|
|
|
5737
6072
|
export declare const PricingTable: ForwardRefExoticComponent<ElementProps & DeepPartial<DesignProps_7> & PricingTableOptions & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
|
|
5738
6073
|
|
|
5739
|
-
declare type PricingTableOptions = {
|
|
6074
|
+
export declare type PricingTableOptions = {
|
|
5740
6075
|
callToActionUrl?: string;
|
|
5741
6076
|
onCallToAction?: (plan: PlanViewPublicResponseData | CompanyPlanDetailResponseData) => unknown;
|
|
5742
6077
|
};
|
|
@@ -6736,7 +7071,10 @@ export declare function useRequest<TData>(fn: () => Promise<{
|
|
|
6736
7071
|
data: TData;
|
|
6737
7072
|
}> | undefined): [RequestState<TData>, () => Promise<void>];
|
|
6738
7073
|
|
|
6739
|
-
export declare function useTrialEnd():
|
|
7074
|
+
export declare function useTrialEnd(): {
|
|
7075
|
+
endDate: Date | undefined;
|
|
7076
|
+
formatted: string | undefined;
|
|
7077
|
+
};
|
|
6740
7078
|
|
|
6741
7079
|
export declare function useWrapChildren(elements: HTMLElement[]): boolean;
|
|
6742
7080
|
|