@schematichq/schematic-components 2.10.0 → 2.10.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.
@@ -1090,6 +1090,12 @@ declare interface BillingPriceResponseData {
1090
1090
  * @memberof BillingPriceResponseData
1091
1091
  */
1092
1092
  interval: BillingProductPriceInterval;
1093
+ /**
1094
+ *
1095
+ * @type {string}
1096
+ * @memberof BillingPriceResponseData
1097
+ */
1098
+ nickname?: string | null;
1093
1099
  /**
1094
1100
  *
1095
1101
  * @type {number}
@@ -1146,6 +1152,12 @@ declare interface BillingPriceResponseData_2 {
1146
1152
  * @memberof BillingPriceResponseData
1147
1153
  */
1148
1154
  interval: BillingProductPriceInterval_2;
1155
+ /**
1156
+ *
1157
+ * @type {string}
1158
+ * @memberof BillingPriceResponseData
1159
+ */
1160
+ nickname?: string | null;
1149
1161
  /**
1150
1162
  *
1151
1163
  * @type {number}
@@ -1276,6 +1288,12 @@ declare interface BillingPriceView {
1276
1288
  * @memberof BillingPriceView
1277
1289
  */
1278
1290
  meterId?: string | null;
1291
+ /**
1292
+ *
1293
+ * @type {string}
1294
+ * @memberof BillingPriceView
1295
+ */
1296
+ nickname?: string | null;
1279
1297
  /**
1280
1298
  *
1281
1299
  * @type {number}
@@ -1416,6 +1434,12 @@ declare interface BillingPriceView_2 {
1416
1434
  * @memberof BillingPriceView
1417
1435
  */
1418
1436
  meterId?: string | null;
1437
+ /**
1438
+ *
1439
+ * @type {string}
1440
+ * @memberof BillingPriceView
1441
+ */
1442
+ nickname?: string | null;
1419
1443
  /**
1420
1444
  *
1421
1445
  * @type {number}
@@ -1908,6 +1932,12 @@ declare interface BillingProductPriceResponseData {
1908
1932
  * @memberof BillingProductPriceResponseData
1909
1933
  */
1910
1934
  meterId?: string | null;
1935
+ /**
1936
+ *
1937
+ * @type {string}
1938
+ * @memberof BillingProductPriceResponseData
1939
+ */
1940
+ nickname?: string | null;
1911
1941
  /**
1912
1942
  *
1913
1943
  * @type {number}
@@ -3238,17 +3268,6 @@ declare interface CompanyDetailResponseData {
3238
3268
  userCount: number;
3239
3269
  }
3240
3270
 
3241
- /**
3242
- * Schematic API
3243
- * Schematic API
3244
- *
3245
- * The version of the OpenAPI document: 0.1
3246
- *
3247
- *
3248
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3249
- * https://openapi-generator.tech
3250
- * Do not edit the class manually.
3251
- */
3252
3271
  /**
3253
3272
  *
3254
3273
  * @export
@@ -3299,16 +3318,16 @@ declare interface CompanyEventPeriodMetricsResponseData {
3299
3318
  eventSubtype: string;
3300
3319
  /**
3301
3320
  *
3302
- * @type {string}
3321
+ * @type {MetricPeriodMonthReset}
3303
3322
  * @memberof CompanyEventPeriodMetricsResponseData
3304
3323
  */
3305
- monthReset: string;
3324
+ monthReset: MetricPeriodMonthReset;
3306
3325
  /**
3307
3326
  *
3308
- * @type {string}
3327
+ * @type {MetricPeriod}
3309
3328
  * @memberof CompanyEventPeriodMetricsResponseData
3310
3329
  */
3311
- period: string;
3330
+ period: MetricPeriod;
3312
3331
  /**
3313
3332
  *
3314
3333
  * @type {Date}
@@ -3440,16 +3459,16 @@ declare interface CompanyOverrideResponseData {
3440
3459
  id: string;
3441
3460
  /**
3442
3461
  *
3443
- * @type {string}
3462
+ * @type {MetricPeriod}
3444
3463
  * @memberof CompanyOverrideResponseData
3445
3464
  */
3446
- metricPeriod?: string | null;
3465
+ metricPeriod?: MetricPeriod | null;
3447
3466
  /**
3448
3467
  *
3449
- * @type {string}
3468
+ * @type {MetricPeriodMonthReset}
3450
3469
  * @memberof CompanyOverrideResponseData
3451
3470
  */
3452
- metricPeriodMonthReset?: string | null;
3471
+ metricPeriodMonthReset?: MetricPeriodMonthReset | null;
3453
3472
  /**
3454
3473
  *
3455
3474
  * @type {Array<CompanyOverrideNoteResponseData>}
@@ -3575,10 +3594,10 @@ declare interface CompanyPlanDetailResponseData {
3575
3594
  compatiblePlanIds: Array<string>;
3576
3595
  /**
3577
3596
  *
3578
- * @type {string}
3597
+ * @type {BillingProviderType}
3579
3598
  * @memberof CompanyPlanDetailResponseData
3580
3599
  */
3581
- controlledBy: string;
3600
+ controlledBy: BillingProviderType;
3582
3601
  /**
3583
3602
  *
3584
3603
  * @type {string}
@@ -3635,10 +3654,10 @@ declare interface CompanyPlanDetailResponseData {
3635
3654
  entitlements: Array<PlanEntitlementResponseData>;
3636
3655
  /**
3637
3656
  *
3638
- * @type {Array<FeatureDetailResponseData>}
3657
+ * @type {Array<FeatureInPlanResponseData>}
3639
3658
  * @memberof CompanyPlanDetailResponseData
3640
3659
  */
3641
- features: Array<FeatureDetailResponseData>;
3660
+ features: Array<FeatureInPlanResponseData>;
3642
3661
  /**
3643
3662
  *
3644
3663
  * @type {PlanIcon}
@@ -3901,6 +3920,12 @@ declare interface CompanySubscriptionResponseData {
3901
3920
  * @memberof CompanySubscriptionResponseData
3902
3921
  */
3903
3922
  products: Array<BillingProductForSubscriptionResponseData>;
3923
+ /**
3924
+ *
3925
+ * @type {BillingProviderType}
3926
+ * @memberof CompanySubscriptionResponseData
3927
+ */
3928
+ providerType: BillingProviderType;
3904
3929
  /**
3905
3930
  *
3906
3931
  * @type {string}
@@ -3927,6 +3952,40 @@ declare interface CompanySubscriptionResponseData {
3927
3952
  trialEnd?: Date | null;
3928
3953
  }
3929
3954
 
3955
+ /**
3956
+ *
3957
+ * @export
3958
+ */
3959
+ declare const ComparableOperator: {
3960
+ readonly Eq: "eq";
3961
+ readonly Gt: "gt";
3962
+ readonly Gte: "gte";
3963
+ readonly IsEmpty: "is_empty";
3964
+ readonly Lt: "lt";
3965
+ readonly Lte: "lte";
3966
+ readonly NotEmpty: "not_empty";
3967
+ readonly Ne: "ne";
3968
+ };
3969
+
3970
+ declare type ComparableOperator = (typeof ComparableOperator)[keyof typeof ComparableOperator];
3971
+
3972
+ /**
3973
+ *
3974
+ * @export
3975
+ */
3976
+ declare const ComparableOperator_2: {
3977
+ readonly Eq: "eq";
3978
+ readonly Gt: "gt";
3979
+ readonly Gte: "gte";
3980
+ readonly IsEmpty: "is_empty";
3981
+ readonly Lt: "lt";
3982
+ readonly Lte: "lte";
3983
+ readonly NotEmpty: "not_empty";
3984
+ readonly Ne: "ne";
3985
+ };
3986
+
3987
+ declare type ComparableOperator_2 = (typeof ComparableOperator_2)[keyof typeof ComparableOperator_2];
3988
+
3930
3989
  /**
3931
3990
  * Schematic API
3932
3991
  * Schematic API
@@ -4472,10 +4531,10 @@ declare interface Condition {
4472
4531
  comparisonTraitDefinition?: TraitDefinition;
4473
4532
  /**
4474
4533
  *
4475
- * @type {string}
4534
+ * @type {ConditionType}
4476
4535
  * @memberof Condition
4477
4536
  */
4478
- conditionType: ConditionConditionTypeEnum;
4537
+ conditionType: ConditionType;
4479
4538
  /**
4480
4539
  *
4481
4540
  * @type {number}
@@ -4508,16 +4567,16 @@ declare interface Condition {
4508
4567
  id: string;
4509
4568
  /**
4510
4569
  *
4511
- * @type {string}
4570
+ * @type {MetricPeriod}
4512
4571
  * @memberof Condition
4513
4572
  */
4514
- metricPeriod?: ConditionMetricPeriodEnum | null;
4573
+ metricPeriod?: MetricPeriod | null;
4515
4574
  /**
4516
4575
  *
4517
- * @type {string}
4576
+ * @type {MetricPeriodMonthReset}
4518
4577
  * @memberof Condition
4519
4578
  */
4520
- metricPeriodMonthReset?: ConditionMetricPeriodMonthResetEnum | null;
4579
+ metricPeriodMonthReset?: MetricPeriodMonthReset | null;
4521
4580
  /**
4522
4581
  *
4523
4582
  * @type {number}
@@ -4526,10 +4585,10 @@ declare interface Condition {
4526
4585
  metricValue?: number | null;
4527
4586
  /**
4528
4587
  *
4529
- * @type {string}
4588
+ * @type {ComparableOperator}
4530
4589
  * @memberof Condition
4531
4590
  */
4532
- operator: ConditionOperatorEnum;
4591
+ operator: ComparableOperator;
4533
4592
  /**
4534
4593
  *
4535
4594
  * @type {Array<string>}
@@ -4550,23 +4609,6 @@ declare interface Condition {
4550
4609
  traitValue: string;
4551
4610
  }
4552
4611
 
4553
- /**
4554
- * @export
4555
- */
4556
- declare const ConditionConditionTypeEnum: {
4557
- readonly BasePlan: "base_plan";
4558
- readonly BillingProduct: "billing_product";
4559
- readonly Company: "company";
4560
- readonly Credit: "credit";
4561
- readonly Metric: "metric";
4562
- readonly Plan: "plan";
4563
- readonly PlanVersion: "plan_version";
4564
- readonly Trait: "trait";
4565
- readonly User: "user";
4566
- };
4567
-
4568
- declare type ConditionConditionTypeEnum = (typeof ConditionConditionTypeEnum)[keyof typeof ConditionConditionTypeEnum];
4569
-
4570
4612
  /**
4571
4613
  *
4572
4614
  * @export
@@ -4582,42 +4624,40 @@ declare interface ConditionGroup {
4582
4624
  }
4583
4625
 
4584
4626
  /**
4627
+ *
4585
4628
  * @export
4586
4629
  */
4587
- declare const ConditionMetricPeriodEnum: {
4588
- readonly AllTime: "all_time";
4589
- readonly CurrentDay: "current_day";
4590
- readonly CurrentMonth: "current_month";
4591
- readonly CurrentWeek: "current_week";
4592
- };
4593
-
4594
- declare type ConditionMetricPeriodEnum = (typeof ConditionMetricPeriodEnum)[keyof typeof ConditionMetricPeriodEnum];
4595
-
4596
- /**
4597
- * @export
4598
- */
4599
- declare const ConditionMetricPeriodMonthResetEnum: {
4600
- readonly FirstOfMonth: "first_of_month";
4601
- readonly BillingCycle: "billing_cycle";
4630
+ declare const ConditionType: {
4631
+ readonly BasePlan: "base_plan";
4632
+ readonly BillingProduct: "billing_product";
4633
+ readonly Company: "company";
4634
+ readonly Credit: "credit";
4635
+ readonly Metric: "metric";
4636
+ readonly Plan: "plan";
4637
+ readonly PlanVersion: "plan_version";
4638
+ readonly Trait: "trait";
4639
+ readonly User: "user";
4602
4640
  };
4603
4641
 
4604
- declare type ConditionMetricPeriodMonthResetEnum = (typeof ConditionMetricPeriodMonthResetEnum)[keyof typeof ConditionMetricPeriodMonthResetEnum];
4642
+ declare type ConditionType = (typeof ConditionType)[keyof typeof ConditionType];
4605
4643
 
4606
4644
  /**
4645
+ *
4607
4646
  * @export
4608
4647
  */
4609
- declare const ConditionOperatorEnum: {
4610
- readonly Eq: "eq";
4611
- readonly Ne: "ne";
4612
- readonly Gt: "gt";
4613
- readonly Lt: "lt";
4614
- readonly Gte: "gte";
4615
- readonly Lte: "lte";
4616
- readonly IsEmpty: "is_empty";
4617
- readonly NotEmpty: "not_empty";
4648
+ declare const ConditionType_2: {
4649
+ readonly BasePlan: "base_plan";
4650
+ readonly BillingProduct: "billing_product";
4651
+ readonly Company: "company";
4652
+ readonly Credit: "credit";
4653
+ readonly Metric: "metric";
4654
+ readonly Plan: "plan";
4655
+ readonly PlanVersion: "plan_version";
4656
+ readonly Trait: "trait";
4657
+ readonly User: "user";
4618
4658
  };
4619
4659
 
4620
- declare type ConditionOperatorEnum = (typeof ConditionOperatorEnum)[keyof typeof ConditionOperatorEnum];
4660
+ declare type ConditionType_2 = (typeof ConditionType_2)[keyof typeof ConditionType_2];
4621
4661
 
4622
4662
  declare interface ConfigurationParameters {
4623
4663
  basePath?: string;
@@ -5199,6 +5239,7 @@ declare interface CustomPlanBillingResponseData {
5199
5239
  */
5200
5240
  declare const CustomPlanBillingStatus: {
5201
5241
  readonly Active: "active";
5242
+ readonly Expired: "expired";
5202
5243
  readonly Paid: "paid";
5203
5244
  readonly Pending: "pending";
5204
5245
  };
@@ -6193,115 +6234,207 @@ declare interface EventSummaryResponseData_2 {
6193
6234
  /**
6194
6235
  *
6195
6236
  * @export
6196
- * @interface FeatureDetailResponseData
6237
+ * @interface FeatureEntitlement
6197
6238
  */
6198
- declare interface FeatureDetailResponseData {
6239
+ declare interface FeatureEntitlement {
6240
+ /**
6241
+ * If the company has a numeric entitlement for this feature, the allocated amount
6242
+ * @type {number}
6243
+ * @memberof FeatureEntitlement
6244
+ */
6245
+ allocation?: number | null;
6246
+ /**
6247
+ * If the company has a credit-based entitlement for this feature, the ID of the credit
6248
+ * @type {string}
6249
+ * @memberof FeatureEntitlement
6250
+ */
6251
+ creditId?: string | null;
6252
+ /**
6253
+ * If the company has a credit-based entitlement for this feature, the remaining credit amount
6254
+ * @type {number}
6255
+ * @memberof FeatureEntitlement
6256
+ */
6257
+ creditRemaining?: number | null;
6258
+ /**
6259
+ * If the company has a credit-based entitlement for this feature, the total credit amount
6260
+ * @type {number}
6261
+ * @memberof FeatureEntitlement
6262
+ */
6263
+ creditTotal?: number | null;
6264
+ /**
6265
+ * If the company has a credit-based entitlement for this feature, the amount of credit used
6266
+ * @type {number}
6267
+ * @memberof FeatureEntitlement
6268
+ */
6269
+ creditUsed?: number | null;
6270
+ /**
6271
+ * If the feature is event-based, the name of the event tracked for usage
6272
+ * @type {string}
6273
+ * @memberof FeatureEntitlement
6274
+ */
6275
+ eventName?: string | null;
6276
+ /**
6277
+ * The ID of the feature
6278
+ * @type {string}
6279
+ * @memberof FeatureEntitlement
6280
+ */
6281
+ featureId: string;
6282
+ /**
6283
+ * The key of the flag associated with the feature
6284
+ * @type {string}
6285
+ * @memberof FeatureEntitlement
6286
+ */
6287
+ featureKey: string;
6288
+ /**
6289
+ * For event-based feature entitlements, the period over which usage is tracked
6290
+ * @type {MetricPeriod}
6291
+ * @memberof FeatureEntitlement
6292
+ */
6293
+ metricPeriod?: MetricPeriod | null;
6294
+ /**
6295
+ * For event-based feature entitlements, when the usage period will reset
6296
+ * @type {Date}
6297
+ * @memberof FeatureEntitlement
6298
+ */
6299
+ metricResetAt?: Date | null;
6300
+ /**
6301
+ * For event-based feature entitlements that have a monthly period, whether that monthly reset is based on the calendar month or a billing cycle
6302
+ * @type {MetricPeriodMonthReset}
6303
+ * @memberof FeatureEntitlement
6304
+ */
6305
+ monthReset?: MetricPeriodMonthReset | null;
6306
+ /**
6307
+ * For usage-based pricing, the soft limit for overage charges or the next tier boundary
6308
+ * @type {number}
6309
+ * @memberof FeatureEntitlement
6310
+ */
6311
+ softLimit?: number | null;
6312
+ /**
6313
+ * If the company has a numeric entitlement for this feature, the current usage amount
6314
+ * @type {number}
6315
+ * @memberof FeatureEntitlement
6316
+ */
6317
+ usage?: number | null;
6318
+ /**
6319
+ * The type of the entitlement value
6320
+ * @type {EntitlementValueType}
6321
+ * @memberof FeatureEntitlement
6322
+ */
6323
+ valueType: EntitlementValueType;
6324
+ }
6325
+
6326
+ /**
6327
+ *
6328
+ * @export
6329
+ * @interface FeatureInPlanResponseData
6330
+ */
6331
+ declare interface FeatureInPlanResponseData {
6199
6332
  /**
6200
6333
  *
6201
6334
  * @type {BillingLinkedResourceResponseData}
6202
- * @memberof FeatureDetailResponseData
6335
+ * @memberof FeatureInPlanResponseData
6203
6336
  */
6204
6337
  billingLinkedResource?: BillingLinkedResourceResponseData;
6205
6338
  /**
6206
6339
  *
6207
6340
  * @type {Date}
6208
- * @memberof FeatureDetailResponseData
6341
+ * @memberof FeatureInPlanResponseData
6209
6342
  */
6210
6343
  createdAt: Date;
6211
6344
  /**
6212
6345
  *
6213
6346
  * @type {string}
6214
- * @memberof FeatureDetailResponseData
6347
+ * @memberof FeatureInPlanResponseData
6215
6348
  */
6216
6349
  description: string;
6217
6350
  /**
6218
6351
  *
6219
6352
  * @type {string}
6220
- * @memberof FeatureDetailResponseData
6353
+ * @memberof FeatureInPlanResponseData
6221
6354
  */
6222
6355
  eventSubtype?: string | null;
6223
6356
  /**
6224
6357
  *
6225
6358
  * @type {EventSummaryResponseData}
6226
- * @memberof FeatureDetailResponseData
6359
+ * @memberof FeatureInPlanResponseData
6227
6360
  */
6228
6361
  eventSummary?: EventSummaryResponseData;
6229
6362
  /**
6230
6363
  *
6231
6364
  * @type {FeatureType}
6232
- * @memberof FeatureDetailResponseData
6365
+ * @memberof FeatureInPlanResponseData
6233
6366
  */
6234
6367
  featureType: FeatureType;
6235
6368
  /**
6236
6369
  *
6237
- * @type {Array<FlagDetailResponseData>}
6238
- * @memberof FeatureDetailResponseData
6370
+ * @type {Array<FlagInPlanResponseData>}
6371
+ * @memberof FeatureInPlanResponseData
6239
6372
  */
6240
- flags: Array<FlagDetailResponseData>;
6373
+ flags: Array<FlagInPlanResponseData>;
6241
6374
  /**
6242
6375
  *
6243
6376
  * @type {string}
6244
- * @memberof FeatureDetailResponseData
6377
+ * @memberof FeatureInPlanResponseData
6245
6378
  */
6246
6379
  icon: string;
6247
6380
  /**
6248
6381
  *
6249
6382
  * @type {string}
6250
- * @memberof FeatureDetailResponseData
6383
+ * @memberof FeatureInPlanResponseData
6251
6384
  */
6252
6385
  id: string;
6253
6386
  /**
6254
6387
  *
6255
6388
  * @type {FeatureLifecyclePhase}
6256
- * @memberof FeatureDetailResponseData
6389
+ * @memberof FeatureInPlanResponseData
6257
6390
  */
6258
6391
  lifecyclePhase?: FeatureLifecyclePhase | null;
6259
6392
  /**
6260
6393
  *
6261
6394
  * @type {string}
6262
- * @memberof FeatureDetailResponseData
6395
+ * @memberof FeatureInPlanResponseData
6263
6396
  */
6264
- maintainerId?: string | null;
6397
+ maintainerAccountMemberId?: string | null;
6265
6398
  /**
6266
6399
  *
6267
6400
  * @type {string}
6268
- * @memberof FeatureDetailResponseData
6401
+ * @memberof FeatureInPlanResponseData
6269
6402
  */
6270
6403
  name: string;
6271
6404
  /**
6272
6405
  *
6273
6406
  * @type {Array<PreviewObject>}
6274
- * @memberof FeatureDetailResponseData
6407
+ * @memberof FeatureInPlanResponseData
6275
6408
  */
6276
6409
  plans: Array<PreviewObject>;
6277
6410
  /**
6278
6411
  *
6279
6412
  * @type {string}
6280
- * @memberof FeatureDetailResponseData
6413
+ * @memberof FeatureInPlanResponseData
6281
6414
  */
6282
6415
  pluralName?: string | null;
6283
6416
  /**
6284
6417
  *
6285
6418
  * @type {string}
6286
- * @memberof FeatureDetailResponseData
6419
+ * @memberof FeatureInPlanResponseData
6287
6420
  */
6288
6421
  singularName?: string | null;
6289
6422
  /**
6290
6423
  *
6291
6424
  * @type {EntityTraitDefinitionResponseData}
6292
- * @memberof FeatureDetailResponseData
6425
+ * @memberof FeatureInPlanResponseData
6293
6426
  */
6294
6427
  trait?: EntityTraitDefinitionResponseData;
6295
6428
  /**
6296
6429
  *
6297
6430
  * @type {string}
6298
- * @memberof FeatureDetailResponseData
6431
+ * @memberof FeatureInPlanResponseData
6299
6432
  */
6300
6433
  traitId?: string | null;
6301
6434
  /**
6302
6435
  *
6303
6436
  * @type {Date}
6304
- * @memberof FeatureDetailResponseData
6437
+ * @memberof FeatureInPlanResponseData
6305
6438
  */
6306
6439
  updatedAt: Date;
6307
6440
  }
@@ -6309,233 +6442,119 @@ declare interface FeatureDetailResponseData {
6309
6442
  /**
6310
6443
  *
6311
6444
  * @export
6312
- * @interface FeatureDetailResponseData
6445
+ * @interface FeatureInPlanResponseData
6313
6446
  */
6314
- declare interface FeatureDetailResponseData_2 {
6447
+ declare interface FeatureInPlanResponseData_2 {
6315
6448
  /**
6316
6449
  *
6317
6450
  * @type {BillingLinkedResourceResponseData}
6318
- * @memberof FeatureDetailResponseData
6451
+ * @memberof FeatureInPlanResponseData
6319
6452
  */
6320
6453
  billingLinkedResource?: BillingLinkedResourceResponseData_2;
6321
6454
  /**
6322
6455
  *
6323
6456
  * @type {Date}
6324
- * @memberof FeatureDetailResponseData
6457
+ * @memberof FeatureInPlanResponseData
6325
6458
  */
6326
6459
  createdAt: Date;
6327
6460
  /**
6328
6461
  *
6329
6462
  * @type {string}
6330
- * @memberof FeatureDetailResponseData
6463
+ * @memberof FeatureInPlanResponseData
6331
6464
  */
6332
6465
  description: string;
6333
6466
  /**
6334
6467
  *
6335
6468
  * @type {string}
6336
- * @memberof FeatureDetailResponseData
6469
+ * @memberof FeatureInPlanResponseData
6337
6470
  */
6338
6471
  eventSubtype?: string | null;
6339
6472
  /**
6340
6473
  *
6341
6474
  * @type {EventSummaryResponseData}
6342
- * @memberof FeatureDetailResponseData
6475
+ * @memberof FeatureInPlanResponseData
6343
6476
  */
6344
6477
  eventSummary?: EventSummaryResponseData_2;
6345
6478
  /**
6346
6479
  *
6347
6480
  * @type {FeatureType}
6348
- * @memberof FeatureDetailResponseData
6481
+ * @memberof FeatureInPlanResponseData
6349
6482
  */
6350
6483
  featureType: FeatureType_2;
6351
6484
  /**
6352
6485
  *
6353
- * @type {Array<FlagDetailResponseData>}
6354
- * @memberof FeatureDetailResponseData
6486
+ * @type {Array<FlagInPlanResponseData>}
6487
+ * @memberof FeatureInPlanResponseData
6355
6488
  */
6356
- flags: Array<FlagDetailResponseData_2>;
6489
+ flags: Array<FlagInPlanResponseData_2>;
6357
6490
  /**
6358
6491
  *
6359
6492
  * @type {string}
6360
- * @memberof FeatureDetailResponseData
6493
+ * @memberof FeatureInPlanResponseData
6361
6494
  */
6362
6495
  icon: string;
6363
6496
  /**
6364
6497
  *
6365
6498
  * @type {string}
6366
- * @memberof FeatureDetailResponseData
6499
+ * @memberof FeatureInPlanResponseData
6367
6500
  */
6368
6501
  id: string;
6369
6502
  /**
6370
6503
  *
6371
6504
  * @type {FeatureLifecyclePhase}
6372
- * @memberof FeatureDetailResponseData
6505
+ * @memberof FeatureInPlanResponseData
6373
6506
  */
6374
6507
  lifecyclePhase?: FeatureLifecyclePhase_2 | null;
6375
6508
  /**
6376
6509
  *
6377
6510
  * @type {string}
6378
- * @memberof FeatureDetailResponseData
6511
+ * @memberof FeatureInPlanResponseData
6379
6512
  */
6380
- maintainerId?: string | null;
6513
+ maintainerAccountMemberId?: string | null;
6381
6514
  /**
6382
6515
  *
6383
6516
  * @type {string}
6384
- * @memberof FeatureDetailResponseData
6517
+ * @memberof FeatureInPlanResponseData
6385
6518
  */
6386
6519
  name: string;
6387
6520
  /**
6388
6521
  *
6389
6522
  * @type {Array<PreviewObject>}
6390
- * @memberof FeatureDetailResponseData
6523
+ * @memberof FeatureInPlanResponseData
6391
6524
  */
6392
6525
  plans: Array<PreviewObject_2>;
6393
6526
  /**
6394
6527
  *
6395
6528
  * @type {string}
6396
- * @memberof FeatureDetailResponseData
6529
+ * @memberof FeatureInPlanResponseData
6397
6530
  */
6398
6531
  pluralName?: string | null;
6399
6532
  /**
6400
6533
  *
6401
6534
  * @type {string}
6402
- * @memberof FeatureDetailResponseData
6535
+ * @memberof FeatureInPlanResponseData
6403
6536
  */
6404
6537
  singularName?: string | null;
6405
6538
  /**
6406
6539
  *
6407
6540
  * @type {EntityTraitDefinitionResponseData}
6408
- * @memberof FeatureDetailResponseData
6541
+ * @memberof FeatureInPlanResponseData
6409
6542
  */
6410
6543
  trait?: EntityTraitDefinitionResponseData_2;
6411
6544
  /**
6412
6545
  *
6413
6546
  * @type {string}
6414
- * @memberof FeatureDetailResponseData
6547
+ * @memberof FeatureInPlanResponseData
6415
6548
  */
6416
6549
  traitId?: string | null;
6417
6550
  /**
6418
6551
  *
6419
6552
  * @type {Date}
6420
- * @memberof FeatureDetailResponseData
6553
+ * @memberof FeatureInPlanResponseData
6421
6554
  */
6422
6555
  updatedAt: Date;
6423
6556
  }
6424
6557
 
6425
- /**
6426
- *
6427
- * @export
6428
- * @interface FeatureEntitlement
6429
- */
6430
- declare interface FeatureEntitlement {
6431
- /**
6432
- * If the company has a numeric entitlement for this feature, the allocated amount
6433
- * @type {number}
6434
- * @memberof FeatureEntitlement
6435
- */
6436
- allocation?: number | null;
6437
- /**
6438
- * If the company has a credit-based entitlement for this feature, the ID of the credit
6439
- * @type {string}
6440
- * @memberof FeatureEntitlement
6441
- */
6442
- creditId?: string | null;
6443
- /**
6444
- * If the company has a credit-based entitlement for this feature, the remaining credit amount
6445
- * @type {number}
6446
- * @memberof FeatureEntitlement
6447
- */
6448
- creditRemaining?: number | null;
6449
- /**
6450
- * If the company has a credit-based entitlement for this feature, the total credit amount
6451
- * @type {number}
6452
- * @memberof FeatureEntitlement
6453
- */
6454
- creditTotal?: number | null;
6455
- /**
6456
- * If the company has a credit-based entitlement for this feature, the amount of credit used
6457
- * @type {number}
6458
- * @memberof FeatureEntitlement
6459
- */
6460
- creditUsed?: number | null;
6461
- /**
6462
- * If the feature is event-based, the name of the event tracked for usage
6463
- * @type {string}
6464
- * @memberof FeatureEntitlement
6465
- */
6466
- eventName?: string | null;
6467
- /**
6468
- * The ID of the feature
6469
- * @type {string}
6470
- * @memberof FeatureEntitlement
6471
- */
6472
- featureId: string;
6473
- /**
6474
- * The key of the flag associated with the feature
6475
- * @type {string}
6476
- * @memberof FeatureEntitlement
6477
- */
6478
- featureKey: string;
6479
- /**
6480
- * For event-based feature entitlements, the period over which usage is tracked
6481
- * @type {string}
6482
- * @memberof FeatureEntitlement
6483
- */
6484
- metricPeriod?: FeatureEntitlementMetricPeriodEnum | null;
6485
- /**
6486
- * For event-based feature entitlements, when the usage period will reset
6487
- * @type {Date}
6488
- * @memberof FeatureEntitlement
6489
- */
6490
- metricResetAt?: Date | null;
6491
- /**
6492
- * For event-based feature entitlements that have a monthly period, whether that monthly reset is based on the calendar month or a billing cycle
6493
- * @type {string}
6494
- * @memberof FeatureEntitlement
6495
- */
6496
- monthReset?: FeatureEntitlementMonthResetEnum | null;
6497
- /**
6498
- * For usage-based pricing, the soft limit for overage charges or the next tier boundary
6499
- * @type {number}
6500
- * @memberof FeatureEntitlement
6501
- */
6502
- softLimit?: number | null;
6503
- /**
6504
- * If the company has a numeric entitlement for this feature, the current usage amount
6505
- * @type {number}
6506
- * @memberof FeatureEntitlement
6507
- */
6508
- usage?: number | null;
6509
- /**
6510
- * The type of the entitlement value
6511
- * @type {EntitlementValueType}
6512
- * @memberof FeatureEntitlement
6513
- */
6514
- valueType: EntitlementValueType;
6515
- }
6516
-
6517
- /**
6518
- * @export
6519
- */
6520
- declare const FeatureEntitlementMetricPeriodEnum: {
6521
- readonly AllTime: "all_time";
6522
- readonly CurrentDay: "current_day";
6523
- readonly CurrentMonth: "current_month";
6524
- readonly CurrentWeek: "current_week";
6525
- };
6526
-
6527
- declare type FeatureEntitlementMetricPeriodEnum = (typeof FeatureEntitlementMetricPeriodEnum)[keyof typeof FeatureEntitlementMetricPeriodEnum];
6528
-
6529
- /**
6530
- * @export
6531
- */
6532
- declare const FeatureEntitlementMonthResetEnum: {
6533
- readonly FirstOfMonth: "first_of_month";
6534
- readonly BillingCycle: "billing_cycle";
6535
- };
6536
-
6537
- declare type FeatureEntitlementMonthResetEnum = (typeof FeatureEntitlementMonthResetEnum)[keyof typeof FeatureEntitlementMonthResetEnum];
6538
-
6539
6558
  /**
6540
6559
  *
6541
6560
  * @export
@@ -6625,7 +6644,7 @@ declare interface FeatureResponseData {
6625
6644
  * @type {string}
6626
6645
  * @memberof FeatureResponseData
6627
6646
  */
6628
- maintainerId?: string | null;
6647
+ maintainerAccountMemberId?: string | null;
6629
6648
  /**
6630
6649
  *
6631
6650
  * @type {string}
@@ -6711,7 +6730,7 @@ declare interface FeatureResponseData_2 {
6711
6730
  * @type {string}
6712
6731
  * @memberof FeatureResponseData
6713
6732
  */
6714
- maintainerId?: string | null;
6733
+ maintainerAccountMemberId?: string | null;
6715
6734
  /**
6716
6735
  *
6717
6736
  * @type {string}
@@ -6907,10 +6926,10 @@ declare interface FeatureUsageResponseData {
6907
6926
  entitlementType: EntitlementType;
6908
6927
  /**
6909
6928
  *
6910
- * @type {FeatureDetailResponseData}
6929
+ * @type {FeatureInPlanResponseData}
6911
6930
  * @memberof FeatureUsageResponseData
6912
6931
  */
6913
- feature?: FeatureDetailResponseData;
6932
+ feature?: FeatureInPlanResponseData;
6914
6933
  /**
6915
6934
  * Whether a valid allocation exists
6916
6935
  * @type {boolean}
@@ -6931,10 +6950,10 @@ declare interface FeatureUsageResponseData {
6931
6950
  metricResetAt?: Date | null;
6932
6951
  /**
6933
6952
  * If the period is current_month, when the month resets.
6934
- * @type {string}
6953
+ * @type {MetricPeriodMonthReset}
6935
6954
  * @memberof FeatureUsageResponseData
6936
6955
  */
6937
- monthReset?: string | null;
6956
+ monthReset?: MetricPeriodMonthReset | null;
6938
6957
  /**
6939
6958
  *
6940
6959
  * @type {BillingPriceView}
@@ -6955,10 +6974,10 @@ declare interface FeatureUsageResponseData {
6955
6974
  percentUsed?: number | null;
6956
6975
  /**
6957
6976
  * The period over which usage is measured.
6958
- * @type {string}
6977
+ * @type {MetricPeriod}
6959
6978
  * @memberof FeatureUsageResponseData
6960
6979
  */
6961
- period?: string | null;
6980
+ period?: MetricPeriod | null;
6962
6981
  /**
6963
6982
  *
6964
6983
  * @type {PlanResponseData}
@@ -7027,85 +7046,85 @@ declare interface FetchParams {
7027
7046
  /**
7028
7047
  *
7029
7048
  * @export
7030
- * @interface FlagDetailResponseData
7049
+ * @interface FlagInPlanResponseData
7031
7050
  */
7032
- declare interface FlagDetailResponseData {
7051
+ declare interface FlagInPlanResponseData {
7033
7052
  /**
7034
7053
  *
7035
7054
  * @type {Date}
7036
- * @memberof FlagDetailResponseData
7055
+ * @memberof FlagInPlanResponseData
7037
7056
  */
7038
7057
  createdAt: Date;
7039
7058
  /**
7040
7059
  *
7041
7060
  * @type {boolean}
7042
- * @memberof FlagDetailResponseData
7061
+ * @memberof FlagInPlanResponseData
7043
7062
  */
7044
7063
  defaultValue: boolean;
7045
7064
  /**
7046
7065
  *
7047
7066
  * @type {string}
7048
- * @memberof FlagDetailResponseData
7067
+ * @memberof FlagInPlanResponseData
7049
7068
  */
7050
7069
  description: string;
7051
7070
  /**
7052
7071
  *
7053
7072
  * @type {FeatureResponseData}
7054
- * @memberof FlagDetailResponseData
7073
+ * @memberof FlagInPlanResponseData
7055
7074
  */
7056
7075
  feature?: FeatureResponseData;
7057
7076
  /**
7058
7077
  *
7059
7078
  * @type {string}
7060
- * @memberof FlagDetailResponseData
7079
+ * @memberof FlagInPlanResponseData
7061
7080
  */
7062
7081
  featureId?: string | null;
7063
7082
  /**
7064
7083
  *
7065
7084
  * @type {FlagType}
7066
- * @memberof FlagDetailResponseData
7085
+ * @memberof FlagInPlanResponseData
7067
7086
  */
7068
7087
  flagType: FlagType;
7069
7088
  /**
7070
7089
  *
7071
7090
  * @type {string}
7072
- * @memberof FlagDetailResponseData
7091
+ * @memberof FlagInPlanResponseData
7073
7092
  */
7074
7093
  id: string;
7075
7094
  /**
7076
7095
  *
7077
7096
  * @type {string}
7078
- * @memberof FlagDetailResponseData
7097
+ * @memberof FlagInPlanResponseData
7079
7098
  */
7080
7099
  key: string;
7081
7100
  /**
7082
7101
  *
7083
7102
  * @type {Date}
7084
- * @memberof FlagDetailResponseData
7103
+ * @memberof FlagInPlanResponseData
7085
7104
  */
7086
7105
  lastCheckedAt?: Date | null;
7087
7106
  /**
7088
7107
  *
7089
7108
  * @type {string}
7090
- * @memberof FlagDetailResponseData
7109
+ * @memberof FlagInPlanResponseData
7091
7110
  */
7092
- maintainerId?: string | null;
7111
+ maintainerAccountMemberId?: string | null;
7093
7112
  /**
7094
7113
  *
7095
7114
  * @type {string}
7096
- * @memberof FlagDetailResponseData
7115
+ * @memberof FlagInPlanResponseData
7097
7116
  */
7098
7117
  name: string;
7099
7118
  /**
7100
7119
  *
7101
7120
  * @type {Array<RuleDetailResponseData>}
7102
- * @memberof FlagDetailResponseData
7121
+ * @memberof FlagInPlanResponseData
7103
7122
  */
7104
7123
  rules: Array<RuleDetailResponseData>;
7105
7124
  /**
7106
7125
  *
7107
7126
  * @type {Date}
7108
- * @memberof FlagDetailResponseData
7127
+ * @memberof FlagInPlanResponseData
7109
7128
  */
7110
7129
  updatedAt: Date;
7111
7130
  }
@@ -7113,85 +7132,85 @@ declare interface FlagDetailResponseData {
7113
7132
  /**
7114
7133
  *
7115
7134
  * @export
7116
- * @interface FlagDetailResponseData
7135
+ * @interface FlagInPlanResponseData
7117
7136
  */
7118
- declare interface FlagDetailResponseData_2 {
7137
+ declare interface FlagInPlanResponseData_2 {
7119
7138
  /**
7120
7139
  *
7121
7140
  * @type {Date}
7122
- * @memberof FlagDetailResponseData
7141
+ * @memberof FlagInPlanResponseData
7123
7142
  */
7124
7143
  createdAt: Date;
7125
7144
  /**
7126
7145
  *
7127
7146
  * @type {boolean}
7128
- * @memberof FlagDetailResponseData
7147
+ * @memberof FlagInPlanResponseData
7129
7148
  */
7130
7149
  defaultValue: boolean;
7131
7150
  /**
7132
7151
  *
7133
7152
  * @type {string}
7134
- * @memberof FlagDetailResponseData
7153
+ * @memberof FlagInPlanResponseData
7135
7154
  */
7136
7155
  description: string;
7137
7156
  /**
7138
7157
  *
7139
7158
  * @type {FeatureResponseData}
7140
- * @memberof FlagDetailResponseData
7159
+ * @memberof FlagInPlanResponseData
7141
7160
  */
7142
7161
  feature?: FeatureResponseData_2;
7143
7162
  /**
7144
7163
  *
7145
7164
  * @type {string}
7146
- * @memberof FlagDetailResponseData
7165
+ * @memberof FlagInPlanResponseData
7147
7166
  */
7148
7167
  featureId?: string | null;
7149
7168
  /**
7150
7169
  *
7151
7170
  * @type {FlagType}
7152
- * @memberof FlagDetailResponseData
7171
+ * @memberof FlagInPlanResponseData
7153
7172
  */
7154
7173
  flagType: FlagType_2;
7155
7174
  /**
7156
7175
  *
7157
7176
  * @type {string}
7158
- * @memberof FlagDetailResponseData
7177
+ * @memberof FlagInPlanResponseData
7159
7178
  */
7160
7179
  id: string;
7161
7180
  /**
7162
7181
  *
7163
7182
  * @type {string}
7164
- * @memberof FlagDetailResponseData
7183
+ * @memberof FlagInPlanResponseData
7165
7184
  */
7166
7185
  key: string;
7167
7186
  /**
7168
7187
  *
7169
7188
  * @type {Date}
7170
- * @memberof FlagDetailResponseData
7189
+ * @memberof FlagInPlanResponseData
7171
7190
  */
7172
7191
  lastCheckedAt?: Date | null;
7173
7192
  /**
7174
7193
  *
7175
7194
  * @type {string}
7176
- * @memberof FlagDetailResponseData
7195
+ * @memberof FlagInPlanResponseData
7177
7196
  */
7178
- maintainerId?: string | null;
7197
+ maintainerAccountMemberId?: string | null;
7179
7198
  /**
7180
7199
  *
7181
7200
  * @type {string}
7182
- * @memberof FlagDetailResponseData
7201
+ * @memberof FlagInPlanResponseData
7183
7202
  */
7184
7203
  name: string;
7185
7204
  /**
7186
7205
  *
7187
7206
  * @type {Array<RuleDetailResponseData>}
7188
- * @memberof FlagDetailResponseData
7207
+ * @memberof FlagInPlanResponseData
7189
7208
  */
7190
7209
  rules: Array<RuleDetailResponseData_2>;
7191
7210
  /**
7192
7211
  *
7193
7212
  * @type {Date}
7194
- * @memberof FlagDetailResponseData
7213
+ * @memberof FlagInPlanResponseData
7195
7214
  */
7196
7215
  updatedAt: Date;
7197
7216
  }
@@ -7671,6 +7690,54 @@ export declare const MeteredFeatures: ForwardRefExoticComponent<ElementProps & D
7671
7690
 
7672
7691
  export declare type MeteredFeaturesProps = DesignProps_4;
7673
7692
 
7693
+ /**
7694
+ *
7695
+ * @export
7696
+ */
7697
+ declare const MetricPeriod: {
7698
+ readonly AllTime: "all_time";
7699
+ readonly CurrentDay: "current_day";
7700
+ readonly CurrentMonth: "current_month";
7701
+ readonly CurrentWeek: "current_week";
7702
+ };
7703
+
7704
+ declare type MetricPeriod = (typeof MetricPeriod)[keyof typeof MetricPeriod];
7705
+
7706
+ /**
7707
+ *
7708
+ * @export
7709
+ */
7710
+ declare const MetricPeriod_2: {
7711
+ readonly AllTime: "all_time";
7712
+ readonly CurrentDay: "current_day";
7713
+ readonly CurrentMonth: "current_month";
7714
+ readonly CurrentWeek: "current_week";
7715
+ };
7716
+
7717
+ declare type MetricPeriod_2 = (typeof MetricPeriod_2)[keyof typeof MetricPeriod_2];
7718
+
7719
+ /**
7720
+ *
7721
+ * @export
7722
+ */
7723
+ declare const MetricPeriodMonthReset: {
7724
+ readonly BillingCycle: "billing_cycle";
7725
+ readonly FirstOfMonth: "first_of_month";
7726
+ };
7727
+
7728
+ declare type MetricPeriodMonthReset = (typeof MetricPeriodMonthReset)[keyof typeof MetricPeriodMonthReset];
7729
+
7730
+ /**
7731
+ *
7732
+ * @export
7733
+ */
7734
+ declare const MetricPeriodMonthReset_2: {
7735
+ readonly BillingCycle: "billing_cycle";
7736
+ readonly FirstOfMonth: "first_of_month";
7737
+ };
7738
+
7739
+ declare type MetricPeriodMonthReset_2 = (typeof MetricPeriodMonthReset_2)[keyof typeof MetricPeriodMonthReset_2];
7740
+
7674
7741
  declare interface Middleware {
7675
7742
  pre?(context: RequestContext): Promise<FetchParams | void>;
7676
7743
  post?(context: ResponseContext): Promise<Response | void>;
@@ -8327,10 +8394,10 @@ declare interface PlanDetailResponseData {
8327
8394
  companyName?: string | null;
8328
8395
  /**
8329
8396
  *
8330
- * @type {string}
8397
+ * @type {BillingProviderType}
8331
8398
  * @memberof PlanDetailResponseData
8332
8399
  */
8333
- controlledBy: string;
8400
+ controlledBy: BillingProviderType;
8334
8401
  /**
8335
8402
  *
8336
8403
  * @type {string}
@@ -8363,10 +8430,10 @@ declare interface PlanDetailResponseData {
8363
8430
  draftVersion?: PlanVersionResponseData;
8364
8431
  /**
8365
8432
  *
8366
- * @type {Array<FeatureDetailResponseData>}
8433
+ * @type {Array<FeatureInPlanResponseData>}
8367
8434
  * @memberof PlanDetailResponseData
8368
8435
  */
8369
- features: Array<FeatureDetailResponseData>;
8436
+ features: Array<FeatureInPlanResponseData>;
8370
8437
  /**
8371
8438
  *
8372
8439
  * @type {PlanIcon}
@@ -8528,16 +8595,16 @@ declare interface PlanEntitlementResponseData {
8528
8595
  meteredYearlyPrice?: BillingPriceView;
8529
8596
  /**
8530
8597
  *
8531
- * @type {string}
8598
+ * @type {MetricPeriod}
8532
8599
  * @memberof PlanEntitlementResponseData
8533
8600
  */
8534
- metricPeriod?: string | null;
8601
+ metricPeriod?: MetricPeriod | null;
8535
8602
  /**
8536
8603
  *
8537
- * @type {string}
8604
+ * @type {MetricPeriodMonthReset}
8538
8605
  * @memberof PlanEntitlementResponseData
8539
8606
  */
8540
- metricPeriodMonthReset?: string | null;
8607
+ metricPeriodMonthReset?: MetricPeriodMonthReset | null;
8541
8608
  /**
8542
8609
  *
8543
8610
  * @type {PlanResponseData}
@@ -8698,16 +8765,16 @@ declare interface PlanEntitlementResponseData_2 {
8698
8765
  meteredYearlyPrice?: BillingPriceView_2;
8699
8766
  /**
8700
8767
  *
8701
- * @type {string}
8768
+ * @type {MetricPeriod}
8702
8769
  * @memberof PlanEntitlementResponseData
8703
8770
  */
8704
- metricPeriod?: string | null;
8771
+ metricPeriod?: MetricPeriod_2 | null;
8705
8772
  /**
8706
8773
  *
8707
- * @type {string}
8774
+ * @type {MetricPeriodMonthReset}
8708
8775
  * @memberof PlanEntitlementResponseData
8709
8776
  */
8710
- metricPeriodMonthReset?: string | null;
8777
+ metricPeriodMonthReset?: MetricPeriodMonthReset_2 | null;
8711
8778
  /**
8712
8779
  *
8713
8780
  * @type {PlanResponseData}
@@ -9278,10 +9345,10 @@ declare interface PlanViewPublicResponseData {
9278
9345
  compatiblePlanIds: Array<string>;
9279
9346
  /**
9280
9347
  *
9281
- * @type {string}
9348
+ * @type {BillingProviderType}
9282
9349
  * @memberof PlanViewPublicResponseData
9283
9350
  */
9284
- controlledBy: string;
9351
+ controlledBy: BillingProviderType_2;
9285
9352
  /**
9286
9353
  *
9287
9354
  * @type {string}
@@ -9332,10 +9399,10 @@ declare interface PlanViewPublicResponseData {
9332
9399
  entitlements: Array<PlanEntitlementResponseData_2>;
9333
9400
  /**
9334
9401
  *
9335
- * @type {Array<FeatureDetailResponseData>}
9402
+ * @type {Array<FeatureInPlanResponseData>}
9336
9403
  * @memberof PlanViewPublicResponseData
9337
9404
  */
9338
- features: Array<FeatureDetailResponseData_2>;
9405
+ features: Array<FeatureInPlanResponseData_2>;
9339
9406
  /**
9340
9407
  *
9341
9408
  * @type {PlanIcon}
@@ -10038,10 +10105,10 @@ declare interface Rule {
10038
10105
  priority: number;
10039
10106
  /**
10040
10107
  *
10041
- * @type {string}
10108
+ * @type {RuleType}
10042
10109
  * @memberof Rule
10043
10110
  */
10044
- ruleType: RuleRuleTypeEnum;
10111
+ ruleType: RuleType;
10045
10112
  /**
10046
10113
  *
10047
10114
  * @type {boolean}
@@ -10076,10 +10143,10 @@ declare interface RuleConditionDetailResponseData {
10076
10143
  conditionGroupId?: string | null;
10077
10144
  /**
10078
10145
  *
10079
- * @type {string}
10146
+ * @type {ConditionType}
10080
10147
  * @memberof RuleConditionDetailResponseData
10081
10148
  */
10082
- conditionType: string;
10149
+ conditionType: ConditionType;
10083
10150
  /**
10084
10151
  *
10085
10152
  * @type {Date}
@@ -10112,16 +10179,16 @@ declare interface RuleConditionDetailResponseData {
10112
10179
  id: string;
10113
10180
  /**
10114
10181
  *
10115
- * @type {string}
10182
+ * @type {MetricPeriod}
10116
10183
  * @memberof RuleConditionDetailResponseData
10117
10184
  */
10118
- metricPeriod?: string | null;
10185
+ metricPeriod?: MetricPeriod | null;
10119
10186
  /**
10120
10187
  *
10121
- * @type {string}
10188
+ * @type {MetricPeriodMonthReset}
10122
10189
  * @memberof RuleConditionDetailResponseData
10123
10190
  */
10124
- metricPeriodMonthReset?: string | null;
10191
+ metricPeriodMonthReset?: MetricPeriodMonthReset | null;
10125
10192
  /**
10126
10193
  *
10127
10194
  * @type {number}
@@ -10130,10 +10197,10 @@ declare interface RuleConditionDetailResponseData {
10130
10197
  metricValue?: number | null;
10131
10198
  /**
10132
10199
  *
10133
- * @type {string}
10200
+ * @type {ComparableOperator}
10134
10201
  * @memberof RuleConditionDetailResponseData
10135
10202
  */
10136
- operator: string;
10203
+ operator: ComparableOperator;
10137
10204
  /**
10138
10205
  *
10139
10206
  * @type {Array<string>}
@@ -10210,10 +10277,10 @@ declare interface RuleConditionDetailResponseData_2 {
10210
10277
  conditionGroupId?: string | null;
10211
10278
  /**
10212
10279
  *
10213
- * @type {string}
10280
+ * @type {ConditionType}
10214
10281
  * @memberof RuleConditionDetailResponseData
10215
10282
  */
10216
- conditionType: string;
10283
+ conditionType: ConditionType_2;
10217
10284
  /**
10218
10285
  *
10219
10286
  * @type {Date}
@@ -10246,16 +10313,16 @@ declare interface RuleConditionDetailResponseData_2 {
10246
10313
  id: string;
10247
10314
  /**
10248
10315
  *
10249
- * @type {string}
10316
+ * @type {MetricPeriod}
10250
10317
  * @memberof RuleConditionDetailResponseData
10251
10318
  */
10252
- metricPeriod?: string | null;
10319
+ metricPeriod?: MetricPeriod_2 | null;
10253
10320
  /**
10254
10321
  *
10255
- * @type {string}
10322
+ * @type {MetricPeriodMonthReset}
10256
10323
  * @memberof RuleConditionDetailResponseData
10257
10324
  */
10258
- metricPeriodMonthReset?: string | null;
10325
+ metricPeriodMonthReset?: MetricPeriodMonthReset_2 | null;
10259
10326
  /**
10260
10327
  *
10261
10328
  * @type {number}
@@ -10264,10 +10331,10 @@ declare interface RuleConditionDetailResponseData_2 {
10264
10331
  metricValue?: number | null;
10265
10332
  /**
10266
10333
  *
10267
- * @type {string}
10334
+ * @type {ComparableOperator}
10268
10335
  * @memberof RuleConditionDetailResponseData
10269
10336
  */
10270
- operator: string;
10337
+ operator: ComparableOperator_2;
10271
10338
  /**
10272
10339
  *
10273
10340
  * @type {Array<string>}
@@ -10474,10 +10541,10 @@ declare interface RuleDetailResponseData {
10474
10541
  priority: number;
10475
10542
  /**
10476
10543
  *
10477
- * @type {string}
10544
+ * @type {RuleType}
10478
10545
  * @memberof RuleDetailResponseData
10479
10546
  */
10480
- ruleType: string;
10547
+ ruleType: RuleType;
10481
10548
  /**
10482
10549
  *
10483
10550
  * @type {Date}
@@ -10548,10 +10615,10 @@ declare interface RuleDetailResponseData_2 {
10548
10615
  priority: number;
10549
10616
  /**
10550
10617
  *
10551
- * @type {string}
10618
+ * @type {RuleType}
10552
10619
  * @memberof RuleDetailResponseData
10553
10620
  */
10554
- ruleType: string;
10621
+ ruleType: RuleType_2;
10555
10622
  /**
10556
10623
  *
10557
10624
  * @type {Date}
@@ -10567,19 +10634,36 @@ declare interface RuleDetailResponseData_2 {
10567
10634
  }
10568
10635
 
10569
10636
  /**
10637
+ *
10570
10638
  * @export
10571
10639
  */
10572
- declare const RuleRuleTypeEnum: {
10640
+ declare const RuleType: {
10641
+ readonly CompanyOverride: "company_override";
10642
+ readonly CompanyOverrideUsageExceeded: "company_override_usage_exceeded";
10573
10643
  readonly Default: "default";
10574
10644
  readonly GlobalOverride: "global_override";
10645
+ readonly PlanEntitlement: "plan_entitlement";
10646
+ readonly PlanEntitlementUsageExceeded: "plan_entitlement_usage_exceeded";
10647
+ readonly Standard: "standard";
10648
+ };
10649
+
10650
+ declare type RuleType = (typeof RuleType)[keyof typeof RuleType];
10651
+
10652
+ /**
10653
+ *
10654
+ * @export
10655
+ */
10656
+ declare const RuleType_2: {
10575
10657
  readonly CompanyOverride: "company_override";
10576
10658
  readonly CompanyOverrideUsageExceeded: "company_override_usage_exceeded";
10659
+ readonly Default: "default";
10660
+ readonly GlobalOverride: "global_override";
10577
10661
  readonly PlanEntitlement: "plan_entitlement";
10578
10662
  readonly PlanEntitlementUsageExceeded: "plan_entitlement_usage_exceeded";
10579
10663
  readonly Standard: "standard";
10580
10664
  };
10581
10665
 
10582
- declare type RuleRuleTypeEnum = (typeof RuleRuleTypeEnum)[keyof typeof RuleRuleTypeEnum];
10666
+ declare type RuleType_2 = (typeof RuleType_2)[keyof typeof RuleType_2];
10583
10667
 
10584
10668
  /**
10585
10669
  *
@@ -11102,16 +11186,16 @@ declare interface UsageBasedEntitlementResponseData {
11102
11186
  meteredPrice?: BillingPriceView;
11103
11187
  /**
11104
11188
  *
11105
- * @type {string}
11189
+ * @type {MetricPeriod}
11106
11190
  * @memberof UsageBasedEntitlementResponseData
11107
11191
  */
11108
- metricPeriod?: string | null;
11192
+ metricPeriod?: MetricPeriod | null;
11109
11193
  /**
11110
11194
  *
11111
- * @type {string}
11195
+ * @type {MetricPeriodMonthReset}
11112
11196
  * @memberof UsageBasedEntitlementResponseData
11113
11197
  */
11114
- metricPeriodMonthReset?: string | null;
11198
+ metricPeriodMonthReset?: MetricPeriodMonthReset | null;
11115
11199
  /**
11116
11200
  *
11117
11201
  * @type {BillingPriceView}