@schematichq/schematic-components 1.8.0 → 1.9.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 +530 -190
- package/dist/schematic-components.d.ts +262 -0
- package/dist/schematic-components.esm.js +530 -190
- package/package.json +8 -8
|
@@ -2222,6 +2222,12 @@ declare interface CompanyDetailResponseData {
|
|
|
2222
2222
|
* @memberof CompanyDetailResponseData
|
|
2223
2223
|
*/
|
|
2224
2224
|
plans: Array<GenericPreviewObject>;
|
|
2225
|
+
/**
|
|
2226
|
+
*
|
|
2227
|
+
* @type {Array<Rule>}
|
|
2228
|
+
* @memberof CompanyDetailResponseData
|
|
2229
|
+
*/
|
|
2230
|
+
rules: Array<Rule>;
|
|
2225
2231
|
/**
|
|
2226
2232
|
* A map of trait names to trait values
|
|
2227
2233
|
* @type {object}
|
|
@@ -2628,6 +2634,7 @@ declare interface CompanyPlanDetailResponseData {
|
|
|
2628
2634
|
*
|
|
2629
2635
|
* @type {boolean}
|
|
2630
2636
|
* @memberof CompanyPlanDetailResponseData
|
|
2637
|
+
* @deprecated
|
|
2631
2638
|
*/
|
|
2632
2639
|
isDefault: boolean;
|
|
2633
2640
|
/**
|
|
@@ -3227,6 +3234,118 @@ declare interface ComponentResponseData {
|
|
|
3227
3234
|
|
|
3228
3235
|
declare type ComponentStyle = "primary" | "secondary" | "tertiary";
|
|
3229
3236
|
|
|
3237
|
+
/**
|
|
3238
|
+
*
|
|
3239
|
+
* @export
|
|
3240
|
+
* @interface Condition
|
|
3241
|
+
*/
|
|
3242
|
+
declare interface Condition {
|
|
3243
|
+
/**
|
|
3244
|
+
*
|
|
3245
|
+
* @type {string}
|
|
3246
|
+
* @memberof Condition
|
|
3247
|
+
*/
|
|
3248
|
+
accountId: string;
|
|
3249
|
+
/**
|
|
3250
|
+
*
|
|
3251
|
+
* @type {TraitDefinition}
|
|
3252
|
+
* @memberof Condition
|
|
3253
|
+
*/
|
|
3254
|
+
comparisonTraitDefinition?: TraitDefinition;
|
|
3255
|
+
/**
|
|
3256
|
+
*
|
|
3257
|
+
* @type {string}
|
|
3258
|
+
* @memberof Condition
|
|
3259
|
+
*/
|
|
3260
|
+
conditionType: string;
|
|
3261
|
+
/**
|
|
3262
|
+
*
|
|
3263
|
+
* @type {number}
|
|
3264
|
+
* @memberof Condition
|
|
3265
|
+
*/
|
|
3266
|
+
consumptionRate?: number | null;
|
|
3267
|
+
/**
|
|
3268
|
+
*
|
|
3269
|
+
* @type {string}
|
|
3270
|
+
* @memberof Condition
|
|
3271
|
+
*/
|
|
3272
|
+
creditId?: string | null;
|
|
3273
|
+
/**
|
|
3274
|
+
*
|
|
3275
|
+
* @type {string}
|
|
3276
|
+
* @memberof Condition
|
|
3277
|
+
*/
|
|
3278
|
+
environmentId: string;
|
|
3279
|
+
/**
|
|
3280
|
+
*
|
|
3281
|
+
* @type {string}
|
|
3282
|
+
* @memberof Condition
|
|
3283
|
+
*/
|
|
3284
|
+
eventSubtype?: string | null;
|
|
3285
|
+
/**
|
|
3286
|
+
*
|
|
3287
|
+
* @type {string}
|
|
3288
|
+
* @memberof Condition
|
|
3289
|
+
*/
|
|
3290
|
+
id: string;
|
|
3291
|
+
/**
|
|
3292
|
+
*
|
|
3293
|
+
* @type {string}
|
|
3294
|
+
* @memberof Condition
|
|
3295
|
+
*/
|
|
3296
|
+
metricPeriod?: string | null;
|
|
3297
|
+
/**
|
|
3298
|
+
*
|
|
3299
|
+
* @type {string}
|
|
3300
|
+
* @memberof Condition
|
|
3301
|
+
*/
|
|
3302
|
+
metricPeriodMonthReset?: string | null;
|
|
3303
|
+
/**
|
|
3304
|
+
*
|
|
3305
|
+
* @type {number}
|
|
3306
|
+
* @memberof Condition
|
|
3307
|
+
*/
|
|
3308
|
+
metricValue?: number | null;
|
|
3309
|
+
/**
|
|
3310
|
+
*
|
|
3311
|
+
* @type {string}
|
|
3312
|
+
* @memberof Condition
|
|
3313
|
+
*/
|
|
3314
|
+
operator: string;
|
|
3315
|
+
/**
|
|
3316
|
+
*
|
|
3317
|
+
* @type {Array<string>}
|
|
3318
|
+
* @memberof Condition
|
|
3319
|
+
*/
|
|
3320
|
+
resourceIds: Array<string>;
|
|
3321
|
+
/**
|
|
3322
|
+
*
|
|
3323
|
+
* @type {TraitDefinition}
|
|
3324
|
+
* @memberof Condition
|
|
3325
|
+
*/
|
|
3326
|
+
traitDefinition?: TraitDefinition;
|
|
3327
|
+
/**
|
|
3328
|
+
*
|
|
3329
|
+
* @type {string}
|
|
3330
|
+
* @memberof Condition
|
|
3331
|
+
*/
|
|
3332
|
+
traitValue: string;
|
|
3333
|
+
}
|
|
3334
|
+
|
|
3335
|
+
/**
|
|
3336
|
+
*
|
|
3337
|
+
* @export
|
|
3338
|
+
* @interface ConditionGroup
|
|
3339
|
+
*/
|
|
3340
|
+
declare interface ConditionGroup {
|
|
3341
|
+
/**
|
|
3342
|
+
*
|
|
3343
|
+
* @type {Array<Condition>}
|
|
3344
|
+
* @memberof ConditionGroup
|
|
3345
|
+
*/
|
|
3346
|
+
conditions: Array<Condition>;
|
|
3347
|
+
}
|
|
3348
|
+
|
|
3230
3349
|
declare interface ConfigurationParameters {
|
|
3231
3350
|
basePath?: string;
|
|
3232
3351
|
fetchApi?: FetchAPI;
|
|
@@ -4835,6 +4954,18 @@ declare interface FeatureUsageResponseData {
|
|
|
4835
4954
|
* @memberof FeatureUsageResponseData
|
|
4836
4955
|
*/
|
|
4837
4956
|
creditUsed?: number | null;
|
|
4957
|
+
/**
|
|
4958
|
+
* Effective limit for usage calculations. For overage pricing, this is the soft limit where overage charges begin. For tiered pricing, this is the first tier boundary. For other pricing models, this is the base allocation. Used to calculate usage percentages and determine access thresholds.
|
|
4959
|
+
* @type {number}
|
|
4960
|
+
* @memberof FeatureUsageResponseData
|
|
4961
|
+
*/
|
|
4962
|
+
effectiveLimit?: number | null;
|
|
4963
|
+
/**
|
|
4964
|
+
* Per-unit price for current usage scenario
|
|
4965
|
+
* @type {number}
|
|
4966
|
+
* @memberof FeatureUsageResponseData
|
|
4967
|
+
*/
|
|
4968
|
+
effectivePrice?: number | null;
|
|
4838
4969
|
/**
|
|
4839
4970
|
*
|
|
4840
4971
|
* @type {Date}
|
|
@@ -4865,6 +4996,18 @@ declare interface FeatureUsageResponseData {
|
|
|
4865
4996
|
* @memberof FeatureUsageResponseData
|
|
4866
4997
|
*/
|
|
4867
4998
|
feature?: FeatureDetailResponseData;
|
|
4999
|
+
/**
|
|
5000
|
+
* Whether a valid allocation exists
|
|
5001
|
+
* @type {boolean}
|
|
5002
|
+
* @memberof FeatureUsageResponseData
|
|
5003
|
+
*/
|
|
5004
|
+
hasValidAllocation?: boolean | null;
|
|
5005
|
+
/**
|
|
5006
|
+
* Whether this is an unlimited allocation
|
|
5007
|
+
* @type {boolean}
|
|
5008
|
+
* @memberof FeatureUsageResponseData
|
|
5009
|
+
*/
|
|
5010
|
+
isUnlimited?: boolean | null;
|
|
4868
5011
|
/**
|
|
4869
5012
|
* The time at which the metric will reset.
|
|
4870
5013
|
* @type {Date}
|
|
@@ -4883,6 +5026,18 @@ declare interface FeatureUsageResponseData {
|
|
|
4883
5026
|
* @memberof FeatureUsageResponseData
|
|
4884
5027
|
*/
|
|
4885
5028
|
monthlyUsageBasedPrice?: BillingPriceView;
|
|
5029
|
+
/**
|
|
5030
|
+
* Amount of usage exceeding soft limit (overage pricing only)
|
|
5031
|
+
* @type {number}
|
|
5032
|
+
* @memberof FeatureUsageResponseData
|
|
5033
|
+
*/
|
|
5034
|
+
overuse?: number | null;
|
|
5035
|
+
/**
|
|
5036
|
+
* Percentage of allocation consumed (0-100+)
|
|
5037
|
+
* @type {number}
|
|
5038
|
+
* @memberof FeatureUsageResponseData
|
|
5039
|
+
*/
|
|
5040
|
+
percentUsed?: number | null;
|
|
4886
5041
|
/**
|
|
4887
5042
|
* The period over which usage is measured.
|
|
4888
5043
|
* @type {string}
|
|
@@ -6037,6 +6192,7 @@ declare interface PlanDetailResponseData {
|
|
|
6037
6192
|
*
|
|
6038
6193
|
* @type {boolean}
|
|
6039
6194
|
* @memberof PlanDetailResponseData
|
|
6195
|
+
* @deprecated
|
|
6040
6196
|
*/
|
|
6041
6197
|
isDefault: boolean;
|
|
6042
6198
|
/**
|
|
@@ -6657,6 +6813,7 @@ declare interface PlanViewPublicResponseData {
|
|
|
6657
6813
|
*
|
|
6658
6814
|
* @type {boolean}
|
|
6659
6815
|
* @memberof PlanViewPublicResponseData
|
|
6816
|
+
* @deprecated
|
|
6660
6817
|
*/
|
|
6661
6818
|
isDefault: boolean;
|
|
6662
6819
|
/**
|
|
@@ -7218,6 +7375,74 @@ export declare interface RootProps extends Omit<React.HTMLProps<HTMLDivElement>,
|
|
|
7218
7375
|
settings?: EmbedSettings;
|
|
7219
7376
|
}
|
|
7220
7377
|
|
|
7378
|
+
/**
|
|
7379
|
+
*
|
|
7380
|
+
* @export
|
|
7381
|
+
* @interface Rule
|
|
7382
|
+
*/
|
|
7383
|
+
declare interface Rule {
|
|
7384
|
+
/**
|
|
7385
|
+
*
|
|
7386
|
+
* @type {string}
|
|
7387
|
+
* @memberof Rule
|
|
7388
|
+
*/
|
|
7389
|
+
accountId: string;
|
|
7390
|
+
/**
|
|
7391
|
+
*
|
|
7392
|
+
* @type {Array<ConditionGroup>}
|
|
7393
|
+
* @memberof Rule
|
|
7394
|
+
*/
|
|
7395
|
+
conditionGroups: Array<ConditionGroup>;
|
|
7396
|
+
/**
|
|
7397
|
+
*
|
|
7398
|
+
* @type {Array<Condition>}
|
|
7399
|
+
* @memberof Rule
|
|
7400
|
+
*/
|
|
7401
|
+
conditions: Array<Condition>;
|
|
7402
|
+
/**
|
|
7403
|
+
*
|
|
7404
|
+
* @type {string}
|
|
7405
|
+
* @memberof Rule
|
|
7406
|
+
*/
|
|
7407
|
+
environmentId: string;
|
|
7408
|
+
/**
|
|
7409
|
+
*
|
|
7410
|
+
* @type {string}
|
|
7411
|
+
* @memberof Rule
|
|
7412
|
+
*/
|
|
7413
|
+
flagId?: string | null;
|
|
7414
|
+
/**
|
|
7415
|
+
*
|
|
7416
|
+
* @type {string}
|
|
7417
|
+
* @memberof Rule
|
|
7418
|
+
*/
|
|
7419
|
+
id: string;
|
|
7420
|
+
/**
|
|
7421
|
+
*
|
|
7422
|
+
* @type {string}
|
|
7423
|
+
* @memberof Rule
|
|
7424
|
+
*/
|
|
7425
|
+
name: string;
|
|
7426
|
+
/**
|
|
7427
|
+
*
|
|
7428
|
+
* @type {number}
|
|
7429
|
+
* @memberof Rule
|
|
7430
|
+
*/
|
|
7431
|
+
priority: number;
|
|
7432
|
+
/**
|
|
7433
|
+
*
|
|
7434
|
+
* @type {string}
|
|
7435
|
+
* @memberof Rule
|
|
7436
|
+
*/
|
|
7437
|
+
ruleType: string;
|
|
7438
|
+
/**
|
|
7439
|
+
*
|
|
7440
|
+
* @type {boolean}
|
|
7441
|
+
* @memberof Rule
|
|
7442
|
+
*/
|
|
7443
|
+
value: boolean;
|
|
7444
|
+
}
|
|
7445
|
+
|
|
7221
7446
|
/**
|
|
7222
7447
|
*
|
|
7223
7448
|
* @export
|
|
@@ -7931,6 +8156,43 @@ export declare interface TooltipProps extends BoxProps {
|
|
|
7931
8156
|
fullWidth?: boolean;
|
|
7932
8157
|
}
|
|
7933
8158
|
|
|
8159
|
+
/**
|
|
8160
|
+
* Schematic API
|
|
8161
|
+
* Schematic API
|
|
8162
|
+
*
|
|
8163
|
+
* The version of the OpenAPI document: 0.1
|
|
8164
|
+
*
|
|
8165
|
+
*
|
|
8166
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8167
|
+
* https://openapi-generator.tech
|
|
8168
|
+
* Do not edit the class manually.
|
|
8169
|
+
*/
|
|
8170
|
+
/**
|
|
8171
|
+
*
|
|
8172
|
+
* @export
|
|
8173
|
+
* @interface TraitDefinition
|
|
8174
|
+
*/
|
|
8175
|
+
declare interface TraitDefinition {
|
|
8176
|
+
/**
|
|
8177
|
+
*
|
|
8178
|
+
* @type {string}
|
|
8179
|
+
* @memberof TraitDefinition
|
|
8180
|
+
*/
|
|
8181
|
+
comparableType: string;
|
|
8182
|
+
/**
|
|
8183
|
+
*
|
|
8184
|
+
* @type {string}
|
|
8185
|
+
* @memberof TraitDefinition
|
|
8186
|
+
*/
|
|
8187
|
+
entityType: string;
|
|
8188
|
+
/**
|
|
8189
|
+
*
|
|
8190
|
+
* @type {string}
|
|
8191
|
+
* @memberof TraitDefinition
|
|
8192
|
+
*/
|
|
8193
|
+
id: string;
|
|
8194
|
+
}
|
|
8195
|
+
|
|
7934
8196
|
declare type TransientCSSProperties = {
|
|
7935
8197
|
[Property in keyof React.CSSProperties as `$${string & Property}`]: React.CSSProperties[Property];
|
|
7936
8198
|
};
|