@schematichq/schematic-components 2.2.1 → 2.4.0

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.
@@ -17,10 +17,40 @@ import { RuleSet } from 'styled-components';
17
17
  import type { Stripe } from '@stripe/stripe-js';
18
18
  import { Substitute } from 'styled-components/dist/types';
19
19
 
20
+ export declare const AddOns: ({ addOns, toggle, isLoading, period }: AddOnsProps) => JSX.Element;
21
+
22
+ declare interface AddOnsProps {
23
+ addOns: SelectedPlan[];
24
+ toggle: (id: string) => void;
25
+ isLoading: boolean;
26
+ period: string;
27
+ }
28
+
20
29
  declare interface AvailablePlanOptions {
21
30
  useSelectedPeriod?: boolean;
22
31
  }
23
32
 
33
+ /**
34
+ *
35
+ * @export
36
+ */
37
+ declare const BillingCreditBundleStatus: {
38
+ readonly Active: "active";
39
+ readonly Inactive: "inactive";
40
+ };
41
+
42
+ declare type BillingCreditBundleStatus = (typeof BillingCreditBundleStatus)[keyof typeof BillingCreditBundleStatus];
43
+
44
+ /**
45
+ *
46
+ * @export
47
+ */
48
+ declare const BillingCreditBundleType: {
49
+ readonly Fixed: "fixed";
50
+ };
51
+
52
+ declare type BillingCreditBundleType = (typeof BillingCreditBundleType)[keyof typeof BillingCreditBundleType];
53
+
24
54
  /**
25
55
  *
26
56
  * @export
@@ -35,10 +65,10 @@ declare interface BillingCreditBundleView {
35
65
  billingInvoiceId?: string | null;
36
66
  /**
37
67
  *
38
- * @type {string}
68
+ * @type {BillingCreditBundleType}
39
69
  * @memberof BillingCreditBundleView
40
70
  */
41
- bundleType: string;
71
+ bundleType: BillingCreditBundleType;
42
72
  /**
43
73
  *
44
74
  * @type {Date}
@@ -71,16 +101,16 @@ declare interface BillingCreditBundleView {
71
101
  creditName: string;
72
102
  /**
73
103
  *
74
- * @type {string}
104
+ * @type {BillingCreditExpiryType}
75
105
  * @memberof BillingCreditBundleView
76
106
  */
77
- expiryType: string;
107
+ expiryType: BillingCreditExpiryType;
78
108
  /**
79
109
  *
80
- * @type {string}
110
+ * @type {BillingCreditExpiryUnit}
81
111
  * @memberof BillingCreditBundleView
82
112
  */
83
- expiryUnit: string;
113
+ expiryUnit: BillingCreditExpiryUnit;
84
114
  /**
85
115
  *
86
116
  * @type {number}
@@ -131,10 +161,10 @@ declare interface BillingCreditBundleView {
131
161
  singularName?: string | null;
132
162
  /**
133
163
  *
134
- * @type {string}
164
+ * @type {BillingCreditBundleStatus}
135
165
  * @memberof BillingCreditBundleView
136
166
  */
137
- status: string;
167
+ status: BillingCreditBundleStatus;
138
168
  /**
139
169
  *
140
170
  * @type {BillingProductPriceResponseData}
@@ -149,6 +179,108 @@ declare interface BillingCreditBundleView {
149
179
  updatedAt: Date;
150
180
  }
151
181
 
182
+ /**
183
+ *
184
+ * @export
185
+ */
186
+ declare const BillingCreditBurnStrategy: {
187
+ readonly ExpirationPriority: "expiration_priority";
188
+ readonly FirstInFirstOut: "first_in_first_out";
189
+ readonly LastInFirstOut: "last_in_first_out";
190
+ readonly PlanFirstThenCreditBundlesFirstInFirstOut: "plan_first_then_credit_bundles_first_in_first_out";
191
+ };
192
+
193
+ declare type BillingCreditBurnStrategy = (typeof BillingCreditBurnStrategy)[keyof typeof BillingCreditBurnStrategy];
194
+
195
+ /**
196
+ *
197
+ * @export
198
+ */
199
+ declare const BillingCreditBurnStrategy_2: {
200
+ readonly ExpirationPriority: "expiration_priority";
201
+ readonly FirstInFirstOut: "first_in_first_out";
202
+ readonly LastInFirstOut: "last_in_first_out";
203
+ readonly PlanFirstThenCreditBundlesFirstInFirstOut: "plan_first_then_credit_bundles_first_in_first_out";
204
+ };
205
+
206
+ declare type BillingCreditBurnStrategy_2 = (typeof BillingCreditBurnStrategy_2)[keyof typeof BillingCreditBurnStrategy_2];
207
+
208
+ /**
209
+ *
210
+ * @export
211
+ */
212
+ declare const BillingCreditExpiryType: {
213
+ readonly Duration: "duration";
214
+ readonly EndOfBillingPeriod: "end_of_billing_period";
215
+ readonly EndOfNextBillingPeriod: "end_of_next_billing_period";
216
+ readonly EndOfTrial: "end_of_trial";
217
+ readonly NoExpiry: "no_expiry";
218
+ };
219
+
220
+ declare type BillingCreditExpiryType = (typeof BillingCreditExpiryType)[keyof typeof BillingCreditExpiryType];
221
+
222
+ /**
223
+ *
224
+ * @export
225
+ */
226
+ declare const BillingCreditExpiryType_2: {
227
+ readonly Duration: "duration";
228
+ readonly EndOfBillingPeriod: "end_of_billing_period";
229
+ readonly EndOfNextBillingPeriod: "end_of_next_billing_period";
230
+ readonly EndOfTrial: "end_of_trial";
231
+ readonly NoExpiry: "no_expiry";
232
+ };
233
+
234
+ declare type BillingCreditExpiryType_2 = (typeof BillingCreditExpiryType_2)[keyof typeof BillingCreditExpiryType_2];
235
+
236
+ /**
237
+ *
238
+ * @export
239
+ */
240
+ declare const BillingCreditExpiryUnit: {
241
+ readonly BillingPeriods: "billing_periods";
242
+ readonly Days: "days";
243
+ };
244
+
245
+ declare type BillingCreditExpiryUnit = (typeof BillingCreditExpiryUnit)[keyof typeof BillingCreditExpiryUnit];
246
+
247
+ /**
248
+ *
249
+ * @export
250
+ */
251
+ declare const BillingCreditExpiryUnit_2: {
252
+ readonly BillingPeriods: "billing_periods";
253
+ readonly Days: "days";
254
+ };
255
+
256
+ declare type BillingCreditExpiryUnit_2 = (typeof BillingCreditExpiryUnit_2)[keyof typeof BillingCreditExpiryUnit_2];
257
+
258
+ /**
259
+ *
260
+ * @export
261
+ */
262
+ declare const BillingCreditGrantReason: {
263
+ readonly BillingCreditAutoTopup: "billing_credit_auto_topup";
264
+ readonly Free: "free";
265
+ readonly Plan: "plan";
266
+ readonly Purchased: "purchased";
267
+ };
268
+
269
+ declare type BillingCreditGrantReason = (typeof BillingCreditGrantReason)[keyof typeof BillingCreditGrantReason];
270
+
271
+ /**
272
+ *
273
+ * @export
274
+ */
275
+ declare const BillingCreditGrantZeroedOutReason: {
276
+ readonly Expired: "expired";
277
+ readonly Manual: "manual";
278
+ readonly PlanChange: "plan_change";
279
+ readonly PlanPeriodReset: "plan_period_reset";
280
+ };
281
+
282
+ declare type BillingCreditGrantZeroedOutReason = (typeof BillingCreditGrantZeroedOutReason)[keyof typeof BillingCreditGrantZeroedOutReason];
283
+
152
284
  /**
153
285
  *
154
286
  * @export
@@ -157,10 +289,10 @@ declare interface BillingCreditBundleView {
157
289
  declare interface BillingCreditResponseData {
158
290
  /**
159
291
  *
160
- * @type {string}
292
+ * @type {BillingCreditBurnStrategy}
161
293
  * @memberof BillingCreditResponseData
162
294
  */
163
- burnStrategy: string;
295
+ burnStrategy: BillingCreditBurnStrategy;
164
296
  /**
165
297
  *
166
298
  * @type {Date}
@@ -169,10 +301,10 @@ declare interface BillingCreditResponseData {
169
301
  createdAt: Date;
170
302
  /**
171
303
  *
172
- * @type {string}
304
+ * @type {BillingCreditExpiryUnit}
173
305
  * @memberof BillingCreditResponseData
174
306
  */
175
- defaultExpiryUnit: string;
307
+ defaultExpiryUnit: BillingCreditExpiryUnit;
176
308
  /**
177
309
  *
178
310
  * @type {number}
@@ -181,10 +313,10 @@ declare interface BillingCreditResponseData {
181
313
  defaultExpiryUnitCount?: number | null;
182
314
  /**
183
315
  *
184
- * @type {string}
316
+ * @type {BillingCreditRolloverPolicy}
185
317
  * @memberof BillingCreditResponseData
186
318
  */
187
- defaultRolloverPolicy: string;
319
+ defaultRolloverPolicy: BillingCreditRolloverPolicy;
188
320
  /**
189
321
  *
190
322
  * @type {string}
@@ -249,10 +381,10 @@ declare interface BillingCreditResponseData {
249
381
  declare interface BillingCreditResponseData_2 {
250
382
  /**
251
383
  *
252
- * @type {string}
384
+ * @type {BillingCreditBurnStrategy}
253
385
  * @memberof BillingCreditResponseData
254
386
  */
255
- burnStrategy: string;
387
+ burnStrategy: BillingCreditBurnStrategy_2;
256
388
  /**
257
389
  *
258
390
  * @type {Date}
@@ -261,10 +393,10 @@ declare interface BillingCreditResponseData_2 {
261
393
  createdAt: Date;
262
394
  /**
263
395
  *
264
- * @type {string}
396
+ * @type {BillingCreditExpiryUnit}
265
397
  * @memberof BillingCreditResponseData
266
398
  */
267
- defaultExpiryUnit: string;
399
+ defaultExpiryUnit: BillingCreditExpiryUnit_2;
268
400
  /**
269
401
  *
270
402
  * @type {number}
@@ -273,10 +405,10 @@ declare interface BillingCreditResponseData_2 {
273
405
  defaultExpiryUnitCount?: number | null;
274
406
  /**
275
407
  *
276
- * @type {string}
408
+ * @type {BillingCreditRolloverPolicy}
277
409
  * @memberof BillingCreditResponseData
278
410
  */
279
- defaultRolloverPolicy: string;
411
+ defaultRolloverPolicy: BillingCreditRolloverPolicy_2;
280
412
  /**
281
413
  *
282
414
  * @type {string}
@@ -334,16 +466,99 @@ declare interface BillingCreditResponseData_2 {
334
466
  }
335
467
 
336
468
  /**
337
- * Schematic API
338
- * Schematic API
339
469
  *
340
- * The version of the OpenAPI document: 0.1
470
+ * @export
471
+ */
472
+ declare const BillingCreditRolloverPolicy: {
473
+ readonly Expire: "expire";
474
+ readonly None: "none";
475
+ readonly Rollover: "rollover";
476
+ };
477
+
478
+ declare type BillingCreditRolloverPolicy = (typeof BillingCreditRolloverPolicy)[keyof typeof BillingCreditRolloverPolicy];
479
+
480
+ /**
341
481
  *
482
+ * @export
483
+ */
484
+ declare const BillingCreditRolloverPolicy_2: {
485
+ readonly Expire: "expire";
486
+ readonly None: "none";
487
+ readonly Rollover: "rollover";
488
+ };
489
+
490
+ declare type BillingCreditRolloverPolicy_2 = (typeof BillingCreditRolloverPolicy_2)[keyof typeof BillingCreditRolloverPolicy_2];
491
+
492
+ /**
342
493
  *
343
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
344
- * https://openapi-generator.tech
345
- * Do not edit the class manually.
494
+ * @export
495
+ */
496
+ declare const BillingPlanCreditGrantResetCadence: {
497
+ readonly Daily: "daily";
498
+ readonly Monthly: "monthly";
499
+ readonly Weekly: "weekly";
500
+ readonly Yearly: "yearly";
501
+ };
502
+
503
+ declare type BillingPlanCreditGrantResetCadence = (typeof BillingPlanCreditGrantResetCadence)[keyof typeof BillingPlanCreditGrantResetCadence];
504
+
505
+ /**
506
+ *
507
+ * @export
508
+ */
509
+ declare const BillingPlanCreditGrantResetCadence_2: {
510
+ readonly Daily: "daily";
511
+ readonly Monthly: "monthly";
512
+ readonly Weekly: "weekly";
513
+ readonly Yearly: "yearly";
514
+ };
515
+
516
+ declare type BillingPlanCreditGrantResetCadence_2 = (typeof BillingPlanCreditGrantResetCadence_2)[keyof typeof BillingPlanCreditGrantResetCadence_2];
517
+
518
+ /**
519
+ *
520
+ * @export
521
+ */
522
+ declare const BillingPlanCreditGrantResetStart: {
523
+ readonly BillingPeriod: "billing_period";
524
+ readonly FirstOfMonth: "first_of_month";
525
+ };
526
+
527
+ declare type BillingPlanCreditGrantResetStart = (typeof BillingPlanCreditGrantResetStart)[keyof typeof BillingPlanCreditGrantResetStart];
528
+
529
+ /**
530
+ *
531
+ * @export
532
+ */
533
+ declare const BillingPlanCreditGrantResetStart_2: {
534
+ readonly BillingPeriod: "billing_period";
535
+ readonly FirstOfMonth: "first_of_month";
536
+ };
537
+
538
+ declare type BillingPlanCreditGrantResetStart_2 = (typeof BillingPlanCreditGrantResetStart_2)[keyof typeof BillingPlanCreditGrantResetStart_2];
539
+
540
+ /**
541
+ *
542
+ * @export
543
+ */
544
+ declare const BillingPlanCreditGrantResetType: {
545
+ readonly NoReset: "no_reset";
546
+ readonly PlanPeriod: "plan_period";
547
+ };
548
+
549
+ declare type BillingPlanCreditGrantResetType = (typeof BillingPlanCreditGrantResetType)[keyof typeof BillingPlanCreditGrantResetType];
550
+
551
+ /**
552
+ *
553
+ * @export
346
554
  */
555
+ declare const BillingPlanCreditGrantResetType_2: {
556
+ readonly NoReset: "no_reset";
557
+ readonly PlanPeriod: "plan_period";
558
+ };
559
+
560
+ declare type BillingPlanCreditGrantResetType_2 = (typeof BillingPlanCreditGrantResetType_2)[keyof typeof BillingPlanCreditGrantResetType_2];
561
+
347
562
  /**
348
563
  *
349
564
  * @export
@@ -370,16 +585,16 @@ declare interface BillingPlanCreditGrantResponseData {
370
585
  autoTopupEnabled: boolean;
371
586
  /**
372
587
  *
373
- * @type {string}
588
+ * @type {BillingCreditExpiryType}
374
589
  * @memberof BillingPlanCreditGrantResponseData
375
590
  */
376
- autoTopupExpiryType?: string | null;
591
+ autoTopupExpiryType?: BillingCreditExpiryType | null;
377
592
  /**
378
593
  *
379
- * @type {string}
594
+ * @type {BillingCreditExpiryUnit}
380
595
  * @memberof BillingPlanCreditGrantResponseData
381
596
  */
382
- autoTopupExpiryUnit?: string | null;
597
+ autoTopupExpiryUnit?: BillingCreditExpiryUnit | null;
383
598
  /**
384
599
  *
385
600
  * @type {number}
@@ -430,16 +645,16 @@ declare interface BillingPlanCreditGrantResponseData {
430
645
  creditSingularName?: string | null;
431
646
  /**
432
647
  *
433
- * @type {string}
648
+ * @type {BillingCreditExpiryType}
434
649
  * @memberof BillingPlanCreditGrantResponseData
435
650
  */
436
- expiryType?: string | null;
651
+ expiryType?: BillingCreditExpiryType | null;
437
652
  /**
438
653
  *
439
- * @type {string}
654
+ * @type {BillingCreditExpiryUnit}
440
655
  * @memberof BillingPlanCreditGrantResponseData
441
656
  */
442
- expiryUnit?: string | null;
657
+ expiryUnit?: BillingCreditExpiryUnit | null;
443
658
  /**
444
659
  *
445
660
  * @type {number}
@@ -466,22 +681,22 @@ declare interface BillingPlanCreditGrantResponseData {
466
681
  planName: string;
467
682
  /**
468
683
  *
469
- * @type {string}
684
+ * @type {BillingPlanCreditGrantResetCadence}
470
685
  * @memberof BillingPlanCreditGrantResponseData
471
686
  */
472
- resetCadence: string;
687
+ resetCadence: BillingPlanCreditGrantResetCadence;
473
688
  /**
474
689
  *
475
- * @type {string}
690
+ * @type {BillingPlanCreditGrantResetStart}
476
691
  * @memberof BillingPlanCreditGrantResponseData
477
692
  */
478
- resetStart: string;
693
+ resetStart: BillingPlanCreditGrantResetStart;
479
694
  /**
480
695
  *
481
- * @type {string}
696
+ * @type {BillingPlanCreditGrantResetType}
482
697
  * @memberof BillingPlanCreditGrantResponseData
483
698
  */
484
- resetType?: string | null;
699
+ resetType?: BillingPlanCreditGrantResetType | null;
485
700
  /**
486
701
  *
487
702
  * @type {Date}
@@ -490,17 +705,6 @@ declare interface BillingPlanCreditGrantResponseData {
490
705
  updatedAt: Date;
491
706
  }
492
707
 
493
- /**
494
- * Schematic API
495
- * Schematic API
496
- *
497
- * The version of the OpenAPI document: 0.1
498
- *
499
- *
500
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
501
- * https://openapi-generator.tech
502
- * Do not edit the class manually.
503
- */
504
708
  /**
505
709
  *
506
710
  * @export
@@ -527,10 +731,10 @@ declare interface BillingPriceResponseData {
527
731
  id: string;
528
732
  /**
529
733
  *
530
- * @type {string}
734
+ * @type {BillingProductPriceInterval}
531
735
  * @memberof BillingPriceResponseData
532
736
  */
533
- interval: string;
737
+ interval: BillingProductPriceInterval;
534
738
  /**
535
739
  *
536
740
  * @type {number}
@@ -545,23 +749,12 @@ declare interface BillingPriceResponseData {
545
749
  priceDecimal?: string | null;
546
750
  /**
547
751
  *
548
- * @type {string}
752
+ * @type {BillingPriceScheme}
549
753
  * @memberof BillingPriceResponseData
550
754
  */
551
- scheme: string;
755
+ scheme: BillingPriceScheme;
552
756
  }
553
757
 
554
- /**
555
- * Schematic API
556
- * Schematic API
557
- *
558
- * The version of the OpenAPI document: 0.1
559
- *
560
- *
561
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
562
- * https://openapi-generator.tech
563
- * Do not edit the class manually.
564
- */
565
758
  /**
566
759
  *
567
760
  * @export
@@ -588,10 +781,10 @@ declare interface BillingPriceResponseData_2 {
588
781
  id: string;
589
782
  /**
590
783
  *
591
- * @type {string}
784
+ * @type {BillingProductPriceInterval}
592
785
  * @memberof BillingPriceResponseData
593
786
  */
594
- interval: string;
787
+ interval: BillingProductPriceInterval_2;
595
788
  /**
596
789
  *
597
790
  * @type {number}
@@ -606,12 +799,56 @@ declare interface BillingPriceResponseData_2 {
606
799
  priceDecimal?: string | null;
607
800
  /**
608
801
  *
609
- * @type {string}
802
+ * @type {BillingPriceScheme}
610
803
  * @memberof BillingPriceResponseData
611
804
  */
612
- scheme: string;
805
+ scheme: BillingPriceScheme_2;
613
806
  }
614
807
 
808
+ /**
809
+ *
810
+ * @export
811
+ */
812
+ declare const BillingPriceScheme: {
813
+ readonly PerUnit: "per_unit";
814
+ readonly Tiered: "tiered";
815
+ };
816
+
817
+ declare type BillingPriceScheme = (typeof BillingPriceScheme)[keyof typeof BillingPriceScheme];
818
+
819
+ /**
820
+ *
821
+ * @export
822
+ */
823
+ declare const BillingPriceScheme_2: {
824
+ readonly PerUnit: "per_unit";
825
+ readonly Tiered: "tiered";
826
+ };
827
+
828
+ declare type BillingPriceScheme_2 = (typeof BillingPriceScheme_2)[keyof typeof BillingPriceScheme_2];
829
+
830
+ /**
831
+ *
832
+ * @export
833
+ */
834
+ declare const BillingPriceUsageType: {
835
+ readonly Licensed: "licensed";
836
+ readonly Metered: "metered";
837
+ };
838
+
839
+ declare type BillingPriceUsageType = (typeof BillingPriceUsageType)[keyof typeof BillingPriceUsageType];
840
+
841
+ /**
842
+ *
843
+ * @export
844
+ */
845
+ declare const BillingPriceUsageType_2: {
846
+ readonly Licensed: "licensed";
847
+ readonly Metered: "metered";
848
+ };
849
+
850
+ declare type BillingPriceUsageType_2 = (typeof BillingPriceUsageType_2)[keyof typeof BillingPriceUsageType_2];
851
+
615
852
  /**
616
853
  *
617
854
  * @export
@@ -620,10 +857,10 @@ declare interface BillingPriceResponseData_2 {
620
857
  declare interface BillingPriceView {
621
858
  /**
622
859
  *
623
- * @type {string}
860
+ * @type {BillingPriceScheme}
624
861
  * @memberof BillingPriceView
625
862
  */
626
- billingScheme: string;
863
+ billingScheme: BillingPriceScheme;
627
864
  /**
628
865
  *
629
866
  * @type {Date}
@@ -644,10 +881,10 @@ declare interface BillingPriceView {
644
881
  id: string;
645
882
  /**
646
883
  *
647
- * @type {string}
884
+ * @type {BillingProductPriceInterval}
648
885
  * @memberof BillingPriceView
649
886
  */
650
- interval: string;
887
+ interval: BillingProductPriceInterval;
651
888
  /**
652
889
  *
653
890
  * @type {boolean}
@@ -728,10 +965,10 @@ declare interface BillingPriceView {
728
965
  productName: string;
729
966
  /**
730
967
  *
731
- * @type {string}
968
+ * @type {BillingTiersMode}
732
969
  * @memberof BillingPriceView
733
970
  */
734
- tiersMode?: string | null;
971
+ tiersMode?: BillingTiersMode | null;
735
972
  /**
736
973
  *
737
974
  * @type {Date}
@@ -740,10 +977,10 @@ declare interface BillingPriceView {
740
977
  updatedAt: Date;
741
978
  /**
742
979
  *
743
- * @type {string}
980
+ * @type {BillingPriceUsageType}
744
981
  * @memberof BillingPriceView
745
982
  */
746
- usageType: string;
983
+ usageType: BillingPriceUsageType;
747
984
  }
748
985
 
749
986
  /**
@@ -754,10 +991,10 @@ declare interface BillingPriceView {
754
991
  declare interface BillingPriceView_2 {
755
992
  /**
756
993
  *
757
- * @type {string}
994
+ * @type {BillingPriceScheme}
758
995
  * @memberof BillingPriceView
759
996
  */
760
- billingScheme: string;
997
+ billingScheme: BillingPriceScheme_2;
761
998
  /**
762
999
  *
763
1000
  * @type {Date}
@@ -778,10 +1015,10 @@ declare interface BillingPriceView_2 {
778
1015
  id: string;
779
1016
  /**
780
1017
  *
781
- * @type {string}
1018
+ * @type {BillingProductPriceInterval}
782
1019
  * @memberof BillingPriceView
783
1020
  */
784
- interval: string;
1021
+ interval: BillingProductPriceInterval_2;
785
1022
  /**
786
1023
  *
787
1024
  * @type {boolean}
@@ -862,10 +1099,10 @@ declare interface BillingPriceView_2 {
862
1099
  productName: string;
863
1100
  /**
864
1101
  *
865
- * @type {string}
1102
+ * @type {BillingTiersMode}
866
1103
  * @memberof BillingPriceView
867
1104
  */
868
- tiersMode?: string | null;
1105
+ tiersMode?: BillingTiersMode_2 | null;
869
1106
  /**
870
1107
  *
871
1108
  * @type {Date}
@@ -874,10 +1111,10 @@ declare interface BillingPriceView_2 {
874
1111
  updatedAt: Date;
875
1112
  /**
876
1113
  *
877
- * @type {string}
1114
+ * @type {BillingPriceUsageType}
878
1115
  * @memberof BillingPriceView
879
1116
  */
880
- usageType: string;
1117
+ usageType: BillingPriceUsageType_2;
881
1118
  }
882
1119
 
883
1120
  /**
@@ -1074,10 +1311,10 @@ declare interface BillingProductDetailResponseData_2 {
1074
1311
  declare interface BillingProductForSubscriptionResponseData {
1075
1312
  /**
1076
1313
  *
1077
- * @type {string}
1314
+ * @type {BillingPriceScheme}
1078
1315
  * @memberof BillingProductForSubscriptionResponseData
1079
1316
  */
1080
- billingScheme: string;
1317
+ billingScheme: BillingPriceScheme;
1081
1318
  /**
1082
1319
  *
1083
1320
  * @type {number}
@@ -1194,23 +1431,38 @@ declare interface BillingProductForSubscriptionResponseData {
1194
1431
  updatedAt: Date;
1195
1432
  /**
1196
1433
  *
1197
- * @type {string}
1434
+ * @type {BillingPriceUsageType}
1198
1435
  * @memberof BillingProductForSubscriptionResponseData
1199
1436
  */
1200
- usageType: string;
1437
+ usageType: BillingPriceUsageType;
1201
1438
  }
1202
1439
 
1203
1440
  /**
1204
- * Schematic API
1205
- * Schematic API
1206
- *
1207
- * The version of the OpenAPI document: 0.1
1208
1441
  *
1442
+ * @export
1443
+ */
1444
+ declare const BillingProductPriceInterval: {
1445
+ readonly Day: "day";
1446
+ readonly Month: "month";
1447
+ readonly OneTime: "one-time";
1448
+ readonly Year: "year";
1449
+ };
1450
+
1451
+ declare type BillingProductPriceInterval = (typeof BillingProductPriceInterval)[keyof typeof BillingProductPriceInterval];
1452
+
1453
+ /**
1209
1454
  *
1210
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1211
- * https://openapi-generator.tech
1212
- * Do not edit the class manually.
1455
+ * @export
1213
1456
  */
1457
+ declare const BillingProductPriceInterval_2: {
1458
+ readonly Day: "day";
1459
+ readonly Month: "month";
1460
+ readonly OneTime: "one-time";
1461
+ readonly Year: "year";
1462
+ };
1463
+
1464
+ declare type BillingProductPriceInterval_2 = (typeof BillingProductPriceInterval_2)[keyof typeof BillingProductPriceInterval_2];
1465
+
1214
1466
  /**
1215
1467
  *
1216
1468
  * @export
@@ -1219,10 +1471,10 @@ declare interface BillingProductForSubscriptionResponseData {
1219
1471
  declare interface BillingProductPriceResponseData {
1220
1472
  /**
1221
1473
  *
1222
- * @type {string}
1474
+ * @type {BillingPriceScheme}
1223
1475
  * @memberof BillingProductPriceResponseData
1224
1476
  */
1225
- billingScheme: string;
1477
+ billingScheme: BillingPriceScheme;
1226
1478
  /**
1227
1479
  *
1228
1480
  * @type {Date}
@@ -1243,10 +1495,10 @@ declare interface BillingProductPriceResponseData {
1243
1495
  id: string;
1244
1496
  /**
1245
1497
  *
1246
- * @type {string}
1498
+ * @type {BillingProductPriceInterval}
1247
1499
  * @memberof BillingProductPriceResponseData
1248
1500
  */
1249
- interval: string;
1501
+ interval: BillingProductPriceInterval;
1250
1502
  /**
1251
1503
  *
1252
1504
  * @type {boolean}
@@ -1291,10 +1543,10 @@ declare interface BillingProductPriceResponseData {
1291
1543
  productExternalId: string;
1292
1544
  /**
1293
1545
  *
1294
- * @type {string}
1546
+ * @type {BillingTiersMode}
1295
1547
  * @memberof BillingProductPriceResponseData
1296
1548
  */
1297
- tiersMode?: string | null;
1549
+ tiersMode?: BillingTiersMode | null;
1298
1550
  /**
1299
1551
  *
1300
1552
  * @type {Date}
@@ -1303,10 +1555,10 @@ declare interface BillingProductPriceResponseData {
1303
1555
  updatedAt: Date;
1304
1556
  /**
1305
1557
  *
1306
- * @type {string}
1558
+ * @type {BillingPriceUsageType}
1307
1559
  * @memberof BillingProductPriceResponseData
1308
1560
  */
1309
- usageType: string;
1561
+ usageType: BillingPriceUsageType;
1310
1562
  }
1311
1563
 
1312
1564
  /**
@@ -1682,6 +1934,17 @@ declare interface BillingSubscriptionDiscountView {
1682
1934
  subscriptionExternalId: string;
1683
1935
  }
1684
1936
 
1937
+ /**
1938
+ *
1939
+ * @export
1940
+ */
1941
+ declare const BillingSubscriptionTrialEndSetting: {
1942
+ readonly Cancel: "cancel";
1943
+ readonly Subscribe: "subscribe";
1944
+ };
1945
+
1946
+ declare type BillingSubscriptionTrialEndSetting = (typeof BillingSubscriptionTrialEndSetting)[keyof typeof BillingSubscriptionTrialEndSetting];
1947
+
1685
1948
  /**
1686
1949
  *
1687
1950
  * @export
@@ -1822,20 +2085,42 @@ declare interface BillingSubscriptionView {
1822
2085
  trialEnd?: number | null;
1823
2086
  /**
1824
2087
  *
1825
- * @type {string}
2088
+ * @type {BillingSubscriptionTrialEndSetting}
1826
2089
  * @memberof BillingSubscriptionView
1827
2090
  */
1828
- trialEndSetting?: string | null;
2091
+ trialEndSetting?: BillingSubscriptionTrialEndSetting | null;
1829
2092
  }
1830
2093
 
1831
- export declare const Box: IStyledComponentBase<"web", Substitute<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, BoxProps>> & string;
1832
-
2094
+ /**
2095
+ *
2096
+ * @export
2097
+ */
2098
+ declare const BillingTiersMode: {
2099
+ readonly Graduated: "graduated";
2100
+ readonly Volume: "volume";
2101
+ };
2102
+
2103
+ declare type BillingTiersMode = (typeof BillingTiersMode)[keyof typeof BillingTiersMode];
2104
+
2105
+ /**
2106
+ *
2107
+ * @export
2108
+ */
2109
+ declare const BillingTiersMode_2: {
2110
+ readonly Graduated: "graduated";
2111
+ readonly Volume: "volume";
2112
+ };
2113
+
2114
+ declare type BillingTiersMode_2 = (typeof BillingTiersMode_2)[keyof typeof BillingTiersMode_2];
2115
+
2116
+ export declare const Box: IStyledComponentBase<"web", Substitute<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, BoxProps>> & string;
2117
+
1833
2118
  export declare type BoxProps = ComponentProps & {
1834
2119
  $viewport?: {
1835
- sm?: TransientCSSProperties;
1836
- md?: TransientCSSProperties;
1837
- lg?: TransientCSSProperties;
1838
- xl?: TransientCSSProperties;
2120
+ "sm"?: TransientCSSProperties;
2121
+ "md"?: TransientCSSProperties;
2122
+ "lg"?: TransientCSSProperties;
2123
+ "xl"?: TransientCSSProperties;
1839
2124
  "2xl"?: TransientCSSProperties;
1840
2125
  [key: string]: TransientCSSProperties | undefined;
1841
2126
  };
@@ -2023,12 +2308,56 @@ declare interface ChangeSubscriptionRequestBody {
2023
2308
  skipTrial: boolean;
2024
2309
  }
2025
2310
 
2311
+ /**
2312
+ *
2313
+ * @export
2314
+ */
2315
+ declare const ChargeType: {
2316
+ readonly Free: "free";
2317
+ readonly OneTime: "one_time";
2318
+ readonly Recurring: "recurring";
2319
+ };
2320
+
2321
+ declare type ChargeType = (typeof ChargeType)[keyof typeof ChargeType];
2322
+
2323
+ /**
2324
+ *
2325
+ * @export
2326
+ */
2327
+ declare const ChargeType_2: {
2328
+ readonly Free: "free";
2329
+ readonly OneTime: "one_time";
2330
+ readonly Recurring: "recurring";
2331
+ };
2332
+
2333
+ declare type ChargeType_2 = (typeof ChargeType_2)[keyof typeof ChargeType_2];
2334
+
2335
+ export declare const Checkout: ({ isPaymentMethodRequired, setPaymentMethodId, updatePromoCode, confirmPaymentIntentProps, financeData, onPaymentMethodSaved, }: CheckoutProps) => JSX.Element | null;
2336
+
2026
2337
  export declare const CheckoutDialog: ({ top }: CheckoutDialogProps) => JSX.Element;
2027
2338
 
2028
2339
  declare interface CheckoutDialogProps {
2029
2340
  top?: number;
2030
2341
  }
2031
2342
 
2343
+ declare interface CheckoutProps {
2344
+ isPaymentMethodRequired: boolean;
2345
+ setPaymentMethodId: (id: string) => void;
2346
+ updatePromoCode: (code: string) => void;
2347
+ confirmPaymentIntentProps?: ConfirmPaymentIntentProps_2 | null | undefined;
2348
+ financeData?: PreviewSubscriptionFinanceResponseData | null;
2349
+ onPaymentMethodSaved?: (updates: {
2350
+ period?: string;
2351
+ plan?: SelectedPlan;
2352
+ shouldTrial?: boolean;
2353
+ addOns?: SelectedPlan[];
2354
+ payInAdvanceEntitlements?: UsageBasedEntitlement[];
2355
+ addOnPayInAdvanceEntitlements?: UsageBasedEntitlement[];
2356
+ creditBundles?: CreditBundle[];
2357
+ promoCode?: string | null;
2358
+ }) => void;
2359
+ }
2360
+
2032
2361
  /**
2033
2362
  *
2034
2363
  * @export
@@ -2049,17 +2378,6 @@ declare interface CheckoutResponse {
2049
2378
  params: object;
2050
2379
  }
2051
2380
 
2052
- /**
2053
- * Schematic API
2054
- * Schematic API
2055
- *
2056
- * The version of the OpenAPI document: 0.1
2057
- *
2058
- *
2059
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2060
- * https://openapi-generator.tech
2061
- * Do not edit the class manually.
2062
- */
2063
2381
  /**
2064
2382
  *
2065
2383
  * @export
@@ -2188,10 +2506,10 @@ declare interface CheckoutResponseData {
2188
2506
  trialEnd?: number | null;
2189
2507
  /**
2190
2508
  *
2191
- * @type {string}
2509
+ * @type {BillingSubscriptionTrialEndSetting}
2192
2510
  * @memberof CheckoutResponseData
2193
2511
  */
2194
- trialEndSetting?: string | null;
2512
+ trialEndSetting?: BillingSubscriptionTrialEndSetting | null;
2195
2513
  }
2196
2514
 
2197
2515
  export declare interface CheckoutStage {
@@ -2695,10 +3013,10 @@ declare interface CompanyOverrideResponseData {
2695
3013
  valueTraitId?: string | null;
2696
3014
  /**
2697
3015
  *
2698
- * @type {string}
3016
+ * @type {EntitlementValueType}
2699
3017
  * @memberof CompanyOverrideResponseData
2700
3018
  */
2701
- valueType: string;
3019
+ valueType: EntitlementValueType;
2702
3020
  }
2703
3021
 
2704
3022
  /**
@@ -2722,10 +3040,10 @@ declare interface CompanyPlanDetailResponseData {
2722
3040
  billingProduct?: BillingProductDetailResponseData;
2723
3041
  /**
2724
3042
  *
2725
- * @type {string}
3043
+ * @type {ChargeType}
2726
3044
  * @memberof CompanyPlanDetailResponseData
2727
3045
  */
2728
- chargeType: string;
3046
+ chargeType: ChargeType;
2729
3047
  /**
2730
3048
  *
2731
3049
  * @type {boolean}
@@ -2746,10 +3064,10 @@ declare interface CompanyPlanDetailResponseData {
2746
3064
  compatiblePlanIds: Array<string>;
2747
3065
  /**
2748
3066
  *
2749
- * @type {string}
3067
+ * @type {PlanControlledByType}
2750
3068
  * @memberof CompanyPlanDetailResponseData
2751
3069
  */
2752
- controlledBy: string;
3070
+ controlledBy: PlanControlledByType;
2753
3071
  /**
2754
3072
  *
2755
3073
  * @type {Date}
@@ -2810,6 +3128,12 @@ declare interface CompanyPlanDetailResponseData {
2810
3128
  * @memberof CompanyPlanDetailResponseData
2811
3129
  */
2812
3130
  includedCreditGrants: Array<PlanCreditGrantView>;
3131
+ /**
3132
+ *
3133
+ * @type {CompanyPlanInvalidReason}
3134
+ * @memberof CompanyPlanDetailResponseData
3135
+ */
3136
+ invalidReason?: CompanyPlanInvalidReason | null;
2813
3137
  /**
2814
3138
  *
2815
3139
  * @type {boolean}
@@ -2855,10 +3179,10 @@ declare interface CompanyPlanDetailResponseData {
2855
3179
  oneTimePrice?: BillingPriceResponseData;
2856
3180
  /**
2857
3181
  *
2858
- * @type {string}
3182
+ * @type {PlanType}
2859
3183
  * @memberof CompanyPlanDetailResponseData
2860
3184
  */
2861
- planType: string;
3185
+ planType: PlanType;
2862
3186
  /**
2863
3187
  *
2864
3188
  * @type {number}
@@ -2891,6 +3215,17 @@ declare interface CompanyPlanDetailResponseData {
2891
3215
  yearlyPrice?: BillingPriceResponseData;
2892
3216
  }
2893
3217
 
3218
+ /**
3219
+ *
3220
+ * @export
3221
+ */
3222
+ declare const CompanyPlanInvalidReason: {
3223
+ readonly DowngradeNotPermitted: "downgrade_not_permitted";
3224
+ readonly FeatureUsageExceeded: "feature_usage_exceeded";
3225
+ };
3226
+
3227
+ declare type CompanyPlanInvalidReason = (typeof CompanyPlanInvalidReason)[keyof typeof CompanyPlanInvalidReason];
3228
+
2894
3229
  /**
2895
3230
  *
2896
3231
  * @export
@@ -3218,6 +3553,103 @@ declare interface ComponentCheckoutSettings {
3218
3553
  taxCollectionEnabled: boolean;
3219
3554
  }
3220
3555
 
3556
+ /**
3557
+ * Schematic API
3558
+ * Schematic API
3559
+ *
3560
+ * The version of the OpenAPI document: 0.1
3561
+ *
3562
+ *
3563
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3564
+ * https://openapi-generator.tech
3565
+ * Do not edit the class manually.
3566
+ */
3567
+ /**
3568
+ *
3569
+ * @export
3570
+ * @interface ComponentDisplaySettings
3571
+ */
3572
+ declare interface ComponentDisplaySettings {
3573
+ /**
3574
+ *
3575
+ * @type {boolean}
3576
+ * @memberof ComponentDisplaySettings
3577
+ */
3578
+ showAsMonthlyPrices: boolean;
3579
+ /**
3580
+ *
3581
+ * @type {boolean}
3582
+ * @memberof ComponentDisplaySettings
3583
+ */
3584
+ showCredits: boolean;
3585
+ /**
3586
+ *
3587
+ * @type {boolean}
3588
+ * @memberof ComponentDisplaySettings
3589
+ */
3590
+ showPeriodToggle: boolean;
3591
+ /**
3592
+ *
3593
+ * @type {boolean}
3594
+ * @memberof ComponentDisplaySettings
3595
+ */
3596
+ showZeroPriceAsFree: boolean;
3597
+ }
3598
+
3599
+ /**
3600
+ * Schematic API
3601
+ * Schematic API
3602
+ *
3603
+ * The version of the OpenAPI document: 0.1
3604
+ *
3605
+ *
3606
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3607
+ * https://openapi-generator.tech
3608
+ * Do not edit the class manually.
3609
+ */
3610
+ /**
3611
+ *
3612
+ * @export
3613
+ * @interface ComponentDisplaySettings
3614
+ */
3615
+ declare interface ComponentDisplaySettings_2 {
3616
+ /**
3617
+ *
3618
+ * @type {boolean}
3619
+ * @memberof ComponentDisplaySettings
3620
+ */
3621
+ showAsMonthlyPrices: boolean;
3622
+ /**
3623
+ *
3624
+ * @type {boolean}
3625
+ * @memberof ComponentDisplaySettings
3626
+ */
3627
+ showCredits: boolean;
3628
+ /**
3629
+ *
3630
+ * @type {boolean}
3631
+ * @memberof ComponentDisplaySettings
3632
+ */
3633
+ showPeriodToggle: boolean;
3634
+ /**
3635
+ *
3636
+ * @type {boolean}
3637
+ * @memberof ComponentDisplaySettings
3638
+ */
3639
+ showZeroPriceAsFree: boolean;
3640
+ }
3641
+
3642
+ /**
3643
+ *
3644
+ * @export
3645
+ */
3646
+ declare const ComponentEntityType: {
3647
+ readonly Billing: "billing";
3648
+ readonly Entitlement: "entitlement";
3649
+ };
3650
+
3651
+ declare type ComponentEntityType = (typeof ComponentEntityType)[keyof typeof ComponentEntityType];
3652
+
3221
3653
  /**
3222
3654
  *
3223
3655
  * @export
@@ -3290,6 +3722,12 @@ declare interface ComponentHydrateResponseData {
3290
3722
  * @memberof ComponentHydrateResponseData
3291
3723
  */
3292
3724
  defaultPlan?: PlanDetailResponseData;
3725
+ /**
3726
+ *
3727
+ * @type {ComponentDisplaySettings}
3728
+ * @memberof ComponentHydrateResponseData
3729
+ */
3730
+ displaySettings: ComponentDisplaySettings;
3293
3731
  /**
3294
3732
  *
3295
3733
  * @type {FeatureUsageDetailResponseData}
@@ -3307,17 +3745,45 @@ declare interface ComponentHydrateResponseData {
3307
3745
  * @type {boolean}
3308
3746
  * @memberof ComponentHydrateResponseData
3309
3747
  */
3748
+ preventSelfServiceDowngrade: boolean;
3749
+ /**
3750
+ *
3751
+ * @type {string}
3752
+ * @memberof ComponentHydrateResponseData
3753
+ */
3754
+ preventSelfServiceDowngradeButtonText?: string | null;
3755
+ /**
3756
+ *
3757
+ * @type {string}
3758
+ * @memberof ComponentHydrateResponseData
3759
+ */
3760
+ preventSelfServiceDowngradeUrl?: string | null;
3761
+ /**
3762
+ *
3763
+ * @type {boolean}
3764
+ * @memberof ComponentHydrateResponseData
3765
+ * @deprecated
3766
+ */
3767
+ showAsMonthlyPrices: boolean;
3768
+ /**
3769
+ *
3770
+ * @type {boolean}
3771
+ * @memberof ComponentHydrateResponseData
3772
+ * @deprecated
3773
+ */
3310
3774
  showCredits: boolean;
3311
3775
  /**
3312
3776
  *
3313
3777
  * @type {boolean}
3314
3778
  * @memberof ComponentHydrateResponseData
3779
+ * @deprecated
3315
3780
  */
3316
3781
  showPeriodToggle: boolean;
3317
3782
  /**
3318
3783
  *
3319
3784
  * @type {boolean}
3320
3785
  * @memberof ComponentHydrateResponseData
3786
+ * @deprecated
3321
3787
  */
3322
3788
  showZeroPriceAsFree: boolean;
3323
3789
  /**
@@ -3350,17 +3816,6 @@ declare interface ComponentProps extends TransientCSSProperties {
3350
3816
  children?: React.ReactNode;
3351
3817
  }
3352
3818
 
3353
- /**
3354
- * Schematic API
3355
- * Schematic API
3356
- *
3357
- * The version of the OpenAPI document: 0.1
3358
- *
3359
- *
3360
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3361
- * https://openapi-generator.tech
3362
- * Do not edit the class manually.
3363
- */
3364
3819
  /**
3365
3820
  *
3366
3821
  * @export
@@ -3395,16 +3850,16 @@ declare interface ComponentResponseData {
3395
3850
  name: string;
3396
3851
  /**
3397
3852
  *
3398
- * @type {string}
3853
+ * @type {ComponentState}
3399
3854
  * @memberof ComponentResponseData
3400
3855
  */
3401
- state: string;
3856
+ state: ComponentState;
3402
3857
  /**
3403
3858
  *
3404
- * @type {string}
3859
+ * @type {ComponentEntityType}
3405
3860
  * @memberof ComponentResponseData
3406
3861
  */
3407
- type: string;
3862
+ type: ComponentEntityType;
3408
3863
  /**
3409
3864
  *
3410
3865
  * @type {Date}
@@ -3413,6 +3868,17 @@ declare interface ComponentResponseData {
3413
3868
  updatedAt: Date;
3414
3869
  }
3415
3870
 
3871
+ /**
3872
+ *
3873
+ * @export
3874
+ */
3875
+ declare const ComponentState: {
3876
+ readonly Draft: "draft";
3877
+ readonly Live: "live";
3878
+ };
3879
+
3880
+ declare type ComponentState = (typeof ComponentState)[keyof typeof ComponentState];
3881
+
3416
3882
  declare type ComponentStyle = "primary" | "secondary" | "tertiary";
3417
3883
 
3418
3884
  /**
@@ -3600,6 +4066,11 @@ declare interface ConfirmPaymentIntentProps {
3600
4066
  callback: (confirmed: boolean) => void;
3601
4067
  }
3602
4068
 
4069
+ declare interface ConfirmPaymentIntentProps_2 {
4070
+ clientSecret: string;
4071
+ callback: (confirmed: boolean) => void;
4072
+ }
4073
+
3603
4074
  export declare const Container: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3604
4075
 
3605
4076
  export declare const createActiveUsageBasedEntitlementsReducer: (entitlements: FeatureUsageResponseData[], period: string) => (acc: UsageBasedEntitlement[], entitlement: PlanEntitlementResponseData) => UsageBasedEntitlement[];
@@ -3662,6 +4133,12 @@ declare interface CreditCompanyGrantView {
3662
4133
  * @memberof CreditCompanyGrantView
3663
4134
  */
3664
4135
  creditName: string;
4136
+ /**
4137
+ *
4138
+ * @type {Date}
4139
+ * @memberof CreditCompanyGrantView
4140
+ */
4141
+ exhaustedAt?: Date | null;
3665
4142
  /**
3666
4143
  *
3667
4144
  * @type {Date}
@@ -3670,16 +4147,16 @@ declare interface CreditCompanyGrantView {
3670
4147
  expiresAt?: Date | null;
3671
4148
  /**
3672
4149
  *
3673
- * @type {string}
4150
+ * @type {BillingCreditExpiryType}
3674
4151
  * @memberof CreditCompanyGrantView
3675
4152
  */
3676
- expiryType?: string | null;
4153
+ expiryType?: BillingCreditExpiryType | null;
3677
4154
  /**
3678
4155
  *
3679
- * @type {string}
4156
+ * @type {BillingCreditExpiryUnit}
3680
4157
  * @memberof CreditCompanyGrantView
3681
4158
  */
3682
- expiryUnit?: string | null;
4159
+ expiryUnit?: BillingCreditExpiryUnit | null;
3683
4160
  /**
3684
4161
  *
3685
4162
  * @type {number}
@@ -3688,10 +4165,10 @@ declare interface CreditCompanyGrantView {
3688
4165
  expiryUnitCount?: number | null;
3689
4166
  /**
3690
4167
  *
3691
- * @type {string}
4168
+ * @type {BillingCreditGrantReason}
3692
4169
  * @memberof CreditCompanyGrantView
3693
4170
  */
3694
- grantReason: string;
4171
+ grantReason: BillingCreditGrantReason;
3695
4172
  /**
3696
4173
  *
3697
4174
  * @type {string}
@@ -3772,23 +4249,12 @@ declare interface CreditCompanyGrantView {
3772
4249
  zeroedOutDate?: Date | null;
3773
4250
  /**
3774
4251
  *
3775
- * @type {string}
4252
+ * @type {BillingCreditGrantZeroedOutReason}
3776
4253
  * @memberof CreditCompanyGrantView
3777
4254
  */
3778
- zeroedOutReason?: string | null;
4255
+ zeroedOutReason?: BillingCreditGrantZeroedOutReason | null;
3779
4256
  }
3780
4257
 
3781
- /**
3782
- * Schematic API
3783
- * Schematic API
3784
- *
3785
- * The version of the OpenAPI document: 0.1
3786
- *
3787
- *
3788
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3789
- * https://openapi-generator.tech
3790
- * Do not edit the class manually.
3791
- */
3792
4258
  /**
3793
4259
  *
3794
4260
  * @export
@@ -3809,10 +4275,10 @@ declare interface CreditGrantDetail {
3809
4275
  expiresAt?: Date | null;
3810
4276
  /**
3811
4277
  *
3812
- * @type {string}
4278
+ * @type {BillingCreditGrantReason}
3813
4279
  * @memberof CreditGrantDetail
3814
4280
  */
3815
- grantReason: CreditGrantDetailGrantReasonEnum;
4281
+ grantReason: BillingCreditGrantReason;
3816
4282
  /**
3817
4283
  *
3818
4284
  * @type {number}
@@ -3821,16 +4287,13 @@ declare interface CreditGrantDetail {
3821
4287
  quantity: number;
3822
4288
  }
3823
4289
 
3824
- /**
3825
- * @export
3826
- */
3827
- declare const CreditGrantDetailGrantReasonEnum: {
3828
- readonly Free: "free";
3829
- readonly Plan: "plan";
3830
- readonly Purchased: "purchased";
3831
- };
4290
+ export declare const Credits: ({ bundles, updateCount }: CreditsProps) => JSX.Element;
3832
4291
 
3833
- declare type CreditGrantDetailGrantReasonEnum = (typeof CreditGrantDetailGrantReasonEnum)[keyof typeof CreditGrantDetailGrantReasonEnum];
4292
+ declare interface CreditsProps {
4293
+ isLoading: boolean;
4294
+ bundles: CreditBundle[];
4295
+ updateCount: (id: string, count: number) => void;
4296
+ }
3834
4297
 
3835
4298
  /**
3836
4299
  * Schematic API
@@ -4192,10 +4655,10 @@ declare interface DesignProps_9 {
4192
4655
 
4193
4656
  declare const Element_2: IStyledComponentBase<"web", FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
4194
4657
  $viewport?: {
4195
- sm?: TransientCSSProperties;
4196
- md?: TransientCSSProperties;
4197
- lg?: TransientCSSProperties;
4198
- xl?: TransientCSSProperties;
4658
+ "sm"?: TransientCSSProperties;
4659
+ "md"?: TransientCSSProperties;
4660
+ "lg"?: TransientCSSProperties;
4661
+ "xl"?: TransientCSSProperties;
4199
4662
  "2xl"?: TransientCSSProperties;
4200
4663
  [key: string]: TransientCSSProperties | undefined;
4201
4664
  };
@@ -4229,6 +4692,7 @@ export declare interface EmbedContextProps extends EmbedState {
4229
4692
  setError: (error: Error) => void;
4230
4693
  setLayout: (layout: EmbedLayout) => void;
4231
4694
  setCheckoutState: (state: CheckoutState) => void;
4695
+ clearCheckoutState: () => void;
4232
4696
  initializeWithPlan: (config: string | BypassConfig) => void;
4233
4697
  setData: (data: HydrateDataWithCompanyContext) => void;
4234
4698
  updateSettings: (settings: DeepPartial<EmbedSettings>, options?: {
@@ -4277,16 +4741,75 @@ export declare interface EmbedState {
4277
4741
  }
4278
4742
 
4279
4743
  /**
4280
- * Schematic API
4281
- * Schematic API
4282
4744
  *
4283
- * The version of the OpenAPI document: 0.1
4745
+ * @export
4746
+ */
4747
+ declare const EntitlementPriceBehavior: {
4748
+ readonly CreditBurndown: "credit_burndown";
4749
+ readonly Overage: "overage";
4750
+ readonly PayAsYouGo: "pay_as_you_go";
4751
+ readonly PayInAdvance: "pay_in_advance";
4752
+ readonly Tier: "tier";
4753
+ };
4754
+
4755
+ declare type EntitlementPriceBehavior = (typeof EntitlementPriceBehavior)[keyof typeof EntitlementPriceBehavior];
4756
+
4757
+ /**
4758
+ *
4759
+ * @export
4760
+ */
4761
+ declare const EntitlementPriceBehavior_2: {
4762
+ readonly CreditBurndown: "credit_burndown";
4763
+ readonly Overage: "overage";
4764
+ readonly PayAsYouGo: "pay_as_you_go";
4765
+ readonly PayInAdvance: "pay_in_advance";
4766
+ readonly Tier: "tier";
4767
+ };
4768
+
4769
+ declare type EntitlementPriceBehavior_2 = (typeof EntitlementPriceBehavior_2)[keyof typeof EntitlementPriceBehavior_2];
4770
+
4771
+ /**
4284
4772
  *
4773
+ * @export
4774
+ */
4775
+ declare const EntitlementType: {
4776
+ readonly CompanyOverride: "company_override";
4777
+ readonly PlanEntitlement: "plan_entitlement";
4778
+ readonly Unknown: "unknown";
4779
+ };
4780
+
4781
+ declare type EntitlementType = (typeof EntitlementType)[keyof typeof EntitlementType];
4782
+
4783
+ /**
4285
4784
  *
4286
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4287
- * https://openapi-generator.tech
4288
- * Do not edit the class manually.
4785
+ * @export
4289
4786
  */
4787
+ declare const EntitlementValueType: {
4788
+ readonly Boolean: "boolean";
4789
+ readonly Credit: "credit";
4790
+ readonly Numeric: "numeric";
4791
+ readonly Trait: "trait";
4792
+ readonly Unknown: "unknown";
4793
+ readonly Unlimited: "unlimited";
4794
+ };
4795
+
4796
+ declare type EntitlementValueType = (typeof EntitlementValueType)[keyof typeof EntitlementValueType];
4797
+
4798
+ /**
4799
+ *
4800
+ * @export
4801
+ */
4802
+ declare const EntitlementValueType_2: {
4803
+ readonly Boolean: "boolean";
4804
+ readonly Credit: "credit";
4805
+ readonly Numeric: "numeric";
4806
+ readonly Trait: "trait";
4807
+ readonly Unknown: "unknown";
4808
+ readonly Unlimited: "unlimited";
4809
+ };
4810
+
4811
+ declare type EntitlementValueType_2 = (typeof EntitlementValueType_2)[keyof typeof EntitlementValueType_2];
4812
+
4290
4813
  /**
4291
4814
  *
4292
4815
  * @export
@@ -4301,10 +4824,10 @@ declare interface EntityKeyDefinitionResponseData {
4301
4824
  createdAt: Date;
4302
4825
  /**
4303
4826
  *
4304
- * @type {string}
4827
+ * @type {EntityType}
4305
4828
  * @memberof EntityKeyDefinitionResponseData
4306
4829
  */
4307
- entityType: string;
4830
+ entityType: EntityType;
4308
4831
  /**
4309
4832
  *
4310
4833
  * @type {string}
@@ -4357,10 +4880,10 @@ declare interface EntityKeyDetailResponseData {
4357
4880
  entityId: string;
4358
4881
  /**
4359
4882
  *
4360
- * @type {string}
4883
+ * @type {EntityType}
4361
4884
  * @memberof EntityKeyDetailResponseData
4362
4885
  */
4363
- entityType: string;
4886
+ entityType: EntityType;
4364
4887
  /**
4365
4888
  *
4366
4889
  * @type {string}
@@ -4393,17 +4916,6 @@ declare interface EntityKeyDetailResponseData {
4393
4916
  value: string;
4394
4917
  }
4395
4918
 
4396
- /**
4397
- * Schematic API
4398
- * Schematic API
4399
- *
4400
- * The version of the OpenAPI document: 0.1
4401
- *
4402
- *
4403
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4404
- * https://openapi-generator.tech
4405
- * Do not edit the class manually.
4406
- */
4407
4919
  /**
4408
4920
  *
4409
4921
  * @export
@@ -4424,10 +4936,10 @@ declare interface EntityTraitDefinitionResponseData {
4424
4936
  displayName: string;
4425
4937
  /**
4426
4938
  *
4427
- * @type {string}
4939
+ * @type {EntityType}
4428
4940
  * @memberof EntityTraitDefinitionResponseData
4429
4941
  */
4430
- entityType: string;
4942
+ entityType: EntityType;
4431
4943
  /**
4432
4944
  *
4433
4945
  * @type {Array<string>}
@@ -4442,10 +4954,10 @@ declare interface EntityTraitDefinitionResponseData {
4442
4954
  id: string;
4443
4955
  /**
4444
4956
  *
4445
- * @type {string}
4957
+ * @type {TraitType}
4446
4958
  * @memberof EntityTraitDefinitionResponseData
4447
4959
  */
4448
- traitType: string;
4960
+ traitType: TraitType;
4449
4961
  /**
4450
4962
  *
4451
4963
  * @type {Date}
@@ -4454,17 +4966,6 @@ declare interface EntityTraitDefinitionResponseData {
4454
4966
  updatedAt: Date;
4455
4967
  }
4456
4968
 
4457
- /**
4458
- * Schematic API
4459
- * Schematic API
4460
- *
4461
- * The version of the OpenAPI document: 0.1
4462
- *
4463
- *
4464
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4465
- * https://openapi-generator.tech
4466
- * Do not edit the class manually.
4467
- */
4468
4969
  /**
4469
4970
  *
4470
4971
  * @export
@@ -4485,10 +4986,10 @@ declare interface EntityTraitDefinitionResponseData_2 {
4485
4986
  displayName: string;
4486
4987
  /**
4487
4988
  *
4488
- * @type {string}
4989
+ * @type {EntityType}
4489
4990
  * @memberof EntityTraitDefinitionResponseData
4490
4991
  */
4491
- entityType: string;
4992
+ entityType: EntityType_2;
4492
4993
  /**
4493
4994
  *
4494
4995
  * @type {Array<string>}
@@ -4503,10 +5004,10 @@ declare interface EntityTraitDefinitionResponseData_2 {
4503
5004
  id: string;
4504
5005
  /**
4505
5006
  *
4506
- * @type {string}
5007
+ * @type {TraitType}
4507
5008
  * @memberof EntityTraitDefinitionResponseData
4508
5009
  */
4509
- traitType: string;
5010
+ traitType: TraitType_2;
4510
5011
  /**
4511
5012
  *
4512
5013
  * @type {Date}
@@ -4565,6 +5066,28 @@ declare interface EntityTraitDetailResponseData {
4565
5066
  value: string;
4566
5067
  }
4567
5068
 
5069
+ /**
5070
+ *
5071
+ * @export
5072
+ */
5073
+ declare const EntityType: {
5074
+ readonly Company: "company";
5075
+ readonly User: "user";
5076
+ };
5077
+
5078
+ declare type EntityType = (typeof EntityType)[keyof typeof EntityType];
5079
+
5080
+ /**
5081
+ *
5082
+ * @export
5083
+ */
5084
+ declare const EntityType_2: {
5085
+ readonly Company: "company";
5086
+ readonly User: "user";
5087
+ };
5088
+
5089
+ declare type EntityType_2 = (typeof EntityType_2)[keyof typeof EntityType_2];
5090
+
4568
5091
  declare interface ErrorContext {
4569
5092
  fetch: FetchAPI;
4570
5093
  url: string;
@@ -4715,10 +5238,10 @@ declare interface FeatureDetailResponseData {
4715
5238
  eventSummary?: EventSummaryResponseData;
4716
5239
  /**
4717
5240
  *
4718
- * @type {string}
5241
+ * @type {FeatureType}
4719
5242
  * @memberof FeatureDetailResponseData
4720
5243
  */
4721
- featureType: string;
5244
+ featureType: FeatureType;
4722
5245
  /**
4723
5246
  *
4724
5247
  * @type {Array<FlagDetailResponseData>}
@@ -4739,10 +5262,10 @@ declare interface FeatureDetailResponseData {
4739
5262
  id: string;
4740
5263
  /**
4741
5264
  *
4742
- * @type {string}
5265
+ * @type {FeatureLifecyclePhase}
4743
5266
  * @memberof FeatureDetailResponseData
4744
5267
  */
4745
- lifecyclePhase?: string | null;
5268
+ lifecyclePhase?: FeatureLifecyclePhase | null;
4746
5269
  /**
4747
5270
  *
4748
5271
  * @type {string}
@@ -4825,10 +5348,10 @@ declare interface FeatureDetailResponseData_2 {
4825
5348
  eventSummary?: EventSummaryResponseData_2;
4826
5349
  /**
4827
5350
  *
4828
- * @type {string}
5351
+ * @type {FeatureType}
4829
5352
  * @memberof FeatureDetailResponseData
4830
5353
  */
4831
- featureType: string;
5354
+ featureType: FeatureType_2;
4832
5355
  /**
4833
5356
  *
4834
5357
  * @type {Array<FlagDetailResponseData>}
@@ -4849,10 +5372,10 @@ declare interface FeatureDetailResponseData_2 {
4849
5372
  id: string;
4850
5373
  /**
4851
5374
  *
4852
- * @type {string}
5375
+ * @type {FeatureLifecyclePhase}
4853
5376
  * @memberof FeatureDetailResponseData
4854
5377
  */
4855
- lifecyclePhase?: string | null;
5378
+ lifecyclePhase?: FeatureLifecyclePhase_2 | null;
4856
5379
  /**
4857
5380
  *
4858
5381
  * @type {string}
@@ -4904,16 +5427,41 @@ declare interface FeatureDetailResponseData_2 {
4904
5427
  }
4905
5428
 
4906
5429
  /**
4907
- * Schematic API
4908
- * Schematic API
4909
- *
4910
- * The version of the OpenAPI document: 0.1
4911
5430
  *
5431
+ * @export
5432
+ */
5433
+ declare const FeatureLifecyclePhase: {
5434
+ readonly AddOn: "add_on";
5435
+ readonly Alpha: "alpha";
5436
+ readonly Beta: "beta";
5437
+ readonly Deprecated: "deprecated";
5438
+ readonly Ga: "ga";
5439
+ readonly Inactive: "inactive";
5440
+ readonly InPlan: "in_plan";
5441
+ readonly InternalTesting: "internal_testing";
5442
+ readonly Legacy: "legacy";
5443
+ };
5444
+
5445
+ declare type FeatureLifecyclePhase = (typeof FeatureLifecyclePhase)[keyof typeof FeatureLifecyclePhase];
5446
+
5447
+ /**
4912
5448
  *
4913
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4914
- * https://openapi-generator.tech
4915
- * Do not edit the class manually.
5449
+ * @export
4916
5450
  */
5451
+ declare const FeatureLifecyclePhase_2: {
5452
+ readonly AddOn: "add_on";
5453
+ readonly Alpha: "alpha";
5454
+ readonly Beta: "beta";
5455
+ readonly Deprecated: "deprecated";
5456
+ readonly Ga: "ga";
5457
+ readonly Inactive: "inactive";
5458
+ readonly InPlan: "in_plan";
5459
+ readonly InternalTesting: "internal_testing";
5460
+ readonly Legacy: "legacy";
5461
+ };
5462
+
5463
+ declare type FeatureLifecyclePhase_2 = (typeof FeatureLifecyclePhase_2)[keyof typeof FeatureLifecyclePhase_2];
5464
+
4917
5465
  /**
4918
5466
  *
4919
5467
  * @export
@@ -4940,10 +5488,10 @@ declare interface FeatureResponseData {
4940
5488
  eventSubtype?: string | null;
4941
5489
  /**
4942
5490
  *
4943
- * @type {string}
5491
+ * @type {FeatureType}
4944
5492
  * @memberof FeatureResponseData
4945
5493
  */
4946
- featureType: string;
5494
+ featureType: FeatureType;
4947
5495
  /**
4948
5496
  *
4949
5497
  * @type {string}
@@ -4958,10 +5506,10 @@ declare interface FeatureResponseData {
4958
5506
  id: string;
4959
5507
  /**
4960
5508
  *
4961
- * @type {string}
5509
+ * @type {FeatureLifecyclePhase}
4962
5510
  * @memberof FeatureResponseData
4963
5511
  */
4964
- lifecyclePhase?: string | null;
5512
+ lifecyclePhase?: FeatureLifecyclePhase | null;
4965
5513
  /**
4966
5514
  *
4967
5515
  * @type {string}
@@ -5000,17 +5548,6 @@ declare interface FeatureResponseData {
5000
5548
  updatedAt: Date;
5001
5549
  }
5002
5550
 
5003
- /**
5004
- * Schematic API
5005
- * Schematic API
5006
- *
5007
- * The version of the OpenAPI document: 0.1
5008
- *
5009
- *
5010
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5011
- * https://openapi-generator.tech
5012
- * Do not edit the class manually.
5013
- */
5014
5551
  /**
5015
5552
  *
5016
5553
  * @export
@@ -5037,10 +5574,10 @@ declare interface FeatureResponseData_2 {
5037
5574
  eventSubtype?: string | null;
5038
5575
  /**
5039
5576
  *
5040
- * @type {string}
5577
+ * @type {FeatureType}
5041
5578
  * @memberof FeatureResponseData
5042
5579
  */
5043
- featureType: string;
5580
+ featureType: FeatureType_2;
5044
5581
  /**
5045
5582
  *
5046
5583
  * @type {string}
@@ -5055,10 +5592,10 @@ declare interface FeatureResponseData_2 {
5055
5592
  id: string;
5056
5593
  /**
5057
5594
  *
5058
- * @type {string}
5595
+ * @type {FeatureLifecyclePhase}
5059
5596
  * @memberof FeatureResponseData
5060
5597
  */
5061
- lifecyclePhase?: string | null;
5598
+ lifecyclePhase?: FeatureLifecyclePhase_2 | null;
5062
5599
  /**
5063
5600
  *
5064
5601
  * @type {string}
@@ -5097,6 +5634,30 @@ declare interface FeatureResponseData_2 {
5097
5634
  updatedAt: Date;
5098
5635
  }
5099
5636
 
5637
+ /**
5638
+ *
5639
+ * @export
5640
+ */
5641
+ declare const FeatureType: {
5642
+ readonly Boolean: "boolean";
5643
+ readonly Event: "event";
5644
+ readonly Trait: "trait";
5645
+ };
5646
+
5647
+ declare type FeatureType = (typeof FeatureType)[keyof typeof FeatureType];
5648
+
5649
+ /**
5650
+ *
5651
+ * @export
5652
+ */
5653
+ declare const FeatureType_2: {
5654
+ readonly Boolean: "boolean";
5655
+ readonly Event: "event";
5656
+ readonly Trait: "trait";
5657
+ };
5658
+
5659
+ declare type FeatureType_2 = (typeof FeatureType_2)[keyof typeof FeatureType_2];
5660
+
5100
5661
  /**
5101
5662
  *
5102
5663
  * @export
@@ -5130,11 +5691,11 @@ declare interface FeatureUsageResponseData {
5130
5691
  */
5131
5692
  allocation?: number | null;
5132
5693
  /**
5133
- * The type of allocation that is being used.
5134
- * @type {string}
5694
+ *
5695
+ * @type {EntitlementValueType}
5135
5696
  * @memberof FeatureUsageResponseData
5136
5697
  */
5137
- allocationType: FeatureUsageResponseDataAllocationTypeEnum;
5698
+ allocationType: EntitlementValueType;
5138
5699
  /**
5139
5700
  *
5140
5701
  * @type {CompanyOverrideResponseData}
@@ -5162,11 +5723,11 @@ declare interface FeatureUsageResponseData {
5162
5723
  */
5163
5724
  creditGrantDetails?: Array<CreditGrantDetail>;
5164
5725
  /**
5165
- * Reason for the credit grant
5166
- * @type {string}
5726
+ *
5727
+ * @type {BillingCreditGrantReason}
5167
5728
  * @memberof FeatureUsageResponseData
5168
5729
  */
5169
- creditGrantReason?: FeatureUsageResponseDataCreditGrantReasonEnum | null;
5730
+ creditGrantReason?: BillingCreditGrantReason | null;
5170
5731
  /**
5171
5732
  *
5172
5733
  * @type {number}
@@ -5223,10 +5784,10 @@ declare interface FeatureUsageResponseData {
5223
5784
  entitlementSource?: string | null;
5224
5785
  /**
5225
5786
  *
5226
- * @type {string}
5787
+ * @type {EntitlementType}
5227
5788
  * @memberof FeatureUsageResponseData
5228
5789
  */
5229
- entitlementType: string;
5790
+ entitlementType: EntitlementType;
5230
5791
  /**
5231
5792
  *
5232
5793
  * @type {FeatureDetailResponseData}
@@ -5295,10 +5856,10 @@ declare interface FeatureUsageResponseData {
5295
5856
  planEntitlement?: PlanEntitlementResponseData;
5296
5857
  /**
5297
5858
  *
5298
- * @type {string}
5859
+ * @type {EntitlementPriceBehavior}
5299
5860
  * @memberof FeatureUsageResponseData
5300
5861
  */
5301
- priceBehavior?: string | null;
5862
+ priceBehavior?: EntitlementPriceBehavior | null;
5302
5863
  /**
5303
5864
  * The soft limit for the feature usage. Available only for overage price behavior
5304
5865
  * @type {number}
@@ -5319,29 +5880,6 @@ declare interface FeatureUsageResponseData {
5319
5880
  yearlyUsageBasedPrice?: BillingPriceView;
5320
5881
  }
5321
5882
 
5322
- /**
5323
- * @export
5324
- */
5325
- declare const FeatureUsageResponseDataAllocationTypeEnum: {
5326
- readonly Boolean: "boolean";
5327
- readonly Numeric: "numeric";
5328
- readonly Trait: "trait";
5329
- readonly Unlimited: "unlimited";
5330
- };
5331
-
5332
- declare type FeatureUsageResponseDataAllocationTypeEnum = (typeof FeatureUsageResponseDataAllocationTypeEnum)[keyof typeof FeatureUsageResponseDataAllocationTypeEnum];
5333
-
5334
- /**
5335
- * @export
5336
- */
5337
- declare const FeatureUsageResponseDataCreditGrantReasonEnum: {
5338
- readonly Free: "free";
5339
- readonly Plan: "plan";
5340
- readonly Purchased: "purchased";
5341
- };
5342
-
5343
- declare type FeatureUsageResponseDataCreditGrantReasonEnum = (typeof FeatureUsageResponseDataCreditGrantReasonEnum)[keyof typeof FeatureUsageResponseDataCreditGrantReasonEnum];
5344
-
5345
5883
  declare type FetchAPI = WindowOrWorkerGlobalScope["fetch"];
5346
5884
 
5347
5885
  /**
@@ -5407,10 +5945,10 @@ declare interface FlagDetailResponseData {
5407
5945
  featureId?: string | null;
5408
5946
  /**
5409
5947
  *
5410
- * @type {string}
5948
+ * @type {FlagType}
5411
5949
  * @memberof FlagDetailResponseData
5412
5950
  */
5413
- flagType: string;
5951
+ flagType: FlagType;
5414
5952
  /**
5415
5953
  *
5416
5954
  * @type {string}
@@ -5493,10 +6031,10 @@ declare interface FlagDetailResponseData_2 {
5493
6031
  featureId?: string | null;
5494
6032
  /**
5495
6033
  *
5496
- * @type {string}
6034
+ * @type {FlagType}
5497
6035
  * @memberof FlagDetailResponseData
5498
6036
  */
5499
- flagType: string;
6037
+ flagType: FlagType_2;
5500
6038
  /**
5501
6039
  *
5502
6040
  * @type {string}
@@ -5541,12 +6079,32 @@ declare interface FlagDetailResponseData_2 {
5541
6079
  updatedAt: Date;
5542
6080
  }
5543
6081
 
6082
+ /**
6083
+ *
6084
+ * @export
6085
+ */
6086
+ declare const FlagType: {
6087
+ readonly Boolean: "boolean";
6088
+ };
6089
+
6090
+ declare type FlagType = (typeof FlagType)[keyof typeof FlagType];
6091
+
6092
+ /**
6093
+ *
6094
+ * @export
6095
+ */
6096
+ declare const FlagType_2: {
6097
+ readonly Boolean: "boolean";
6098
+ };
6099
+
6100
+ declare type FlagType_2 = (typeof FlagType_2)[keyof typeof FlagType_2];
6101
+
5544
6102
  export declare const Flex: IStyledComponentBase<"web", FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
5545
6103
  $viewport?: {
5546
- sm?: TransientCSSProperties;
5547
- md?: TransientCSSProperties;
5548
- lg?: TransientCSSProperties;
5549
- xl?: TransientCSSProperties;
6104
+ "sm"?: TransientCSSProperties;
6105
+ "md"?: TransientCSSProperties;
6106
+ "lg"?: TransientCSSProperties;
6107
+ "xl"?: TransientCSSProperties;
5550
6108
  "2xl"?: TransientCSSProperties;
5551
6109
  [key: string]: TransientCSSProperties | undefined;
5552
6110
  };
@@ -5556,10 +6114,10 @@ export declare type FontStyle = keyof ThemeSettings["typography"];
5556
6114
 
5557
6115
  export declare const FussyChild: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
5558
6116
  $viewport?: {
5559
- sm?: TransientCSSProperties;
5560
- md?: TransientCSSProperties;
5561
- lg?: TransientCSSProperties;
5562
- xl?: TransientCSSProperties;
6117
+ "sm"?: TransientCSSProperties;
6118
+ "md"?: TransientCSSProperties;
6119
+ "lg"?: TransientCSSProperties;
6120
+ "xl"?: TransientCSSProperties;
5563
6121
  "2xl"?: TransientCSSProperties;
5564
6122
  [key: string]: TransientCSSProperties | undefined;
5565
6123
  };
@@ -5695,6 +6253,7 @@ export declare const initialContext: {
5695
6253
  setAccessToken: () => never;
5696
6254
  setLayout: () => never;
5697
6255
  setCheckoutState: () => never;
6256
+ clearCheckoutState: () => never;
5698
6257
  initializeWithPlan: () => never;
5699
6258
  setData: () => never;
5700
6259
  updateSettings: () => never;
@@ -5945,10 +6504,10 @@ export declare type ModalSize = "sm" | "md" | "lg" | "auto";
5945
6504
 
5946
6505
  export declare const Notice: IStyledComponentBase<"web", FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
5947
6506
  $viewport?: {
5948
- sm?: TransientCSSProperties;
5949
- md?: TransientCSSProperties;
5950
- lg?: TransientCSSProperties;
5951
- xl?: TransientCSSProperties;
6507
+ "sm"?: TransientCSSProperties;
6508
+ "md"?: TransientCSSProperties;
6509
+ "lg"?: TransientCSSProperties;
6510
+ "xl"?: TransientCSSProperties;
5952
6511
  "2xl"?: TransientCSSProperties;
5953
6512
  [key: string]: TransientCSSProperties | undefined;
5954
6513
  };
@@ -6100,19 +6659,32 @@ declare interface PaymentMethodResponseData {
6100
6659
  updatedAt: Date;
6101
6660
  }
6102
6661
 
6103
- declare type Plan = CompanyPlanDetailResponseData;
6662
+ export declare const Plan: ({ isLoading, plans, selectedPlan, period, selectPlan, shouldTrial, }: PlanProps) => JSX.Element;
6663
+
6664
+ declare type Plan_2 = CompanyPlanDetailResponseData;
6104
6665
 
6105
6666
  /**
6106
- * Schematic API
6107
- * Schematic API
6108
- *
6109
- * The version of the OpenAPI document: 0.1
6110
6667
  *
6668
+ * @export
6669
+ */
6670
+ declare const PlanControlledByType: {
6671
+ readonly Schematic: "schematic";
6672
+ readonly Stripe: "stripe";
6673
+ };
6674
+
6675
+ declare type PlanControlledByType = (typeof PlanControlledByType)[keyof typeof PlanControlledByType];
6676
+
6677
+ /**
6111
6678
  *
6112
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6113
- * https://openapi-generator.tech
6114
- * Do not edit the class manually.
6679
+ * @export
6115
6680
  */
6681
+ declare const PlanControlledByType_2: {
6682
+ readonly Schematic: "schematic";
6683
+ readonly Stripe: "stripe";
6684
+ };
6685
+
6686
+ declare type PlanControlledByType_2 = (typeof PlanControlledByType_2)[keyof typeof PlanControlledByType_2];
6687
+
6116
6688
  /**
6117
6689
  *
6118
6690
  * @export
@@ -6139,16 +6711,16 @@ declare interface PlanCreditGrantView {
6139
6711
  billingCreditAutoTopupEnabled: boolean;
6140
6712
  /**
6141
6713
  *
6142
- * @type {string}
6714
+ * @type {BillingCreditExpiryType}
6143
6715
  * @memberof PlanCreditGrantView
6144
6716
  */
6145
- billingCreditAutoTopupExpiryType?: string | null;
6717
+ billingCreditAutoTopupExpiryType?: BillingCreditExpiryType | null;
6146
6718
  /**
6147
6719
  *
6148
- * @type {string}
6720
+ * @type {BillingCreditExpiryUnit}
6149
6721
  * @memberof PlanCreditGrantView
6150
6722
  */
6151
- billingCreditAutoTopupExpiryUnit?: string | null;
6723
+ billingCreditAutoTopupExpiryUnit?: BillingCreditExpiryUnit | null;
6152
6724
  /**
6153
6725
  *
6154
6726
  * @type {number}
@@ -6199,16 +6771,16 @@ declare interface PlanCreditGrantView {
6199
6771
  creditName: string;
6200
6772
  /**
6201
6773
  *
6202
- * @type {string}
6774
+ * @type {BillingCreditExpiryType}
6203
6775
  * @memberof PlanCreditGrantView
6204
6776
  */
6205
- expiryType?: string | null;
6777
+ expiryType?: BillingCreditExpiryType | null;
6206
6778
  /**
6207
6779
  *
6208
- * @type {string}
6780
+ * @type {BillingCreditExpiryUnit}
6209
6781
  * @memberof PlanCreditGrantView
6210
6782
  */
6211
- expiryUnit?: string | null;
6783
+ expiryUnit?: BillingCreditExpiryUnit | null;
6212
6784
  /**
6213
6785
  *
6214
6786
  * @type {number}
@@ -6241,22 +6813,22 @@ declare interface PlanCreditGrantView {
6241
6813
  pluralName?: string | null;
6242
6814
  /**
6243
6815
  *
6244
- * @type {string}
6816
+ * @type {BillingPlanCreditGrantResetCadence}
6245
6817
  * @memberof PlanCreditGrantView
6246
6818
  */
6247
- resetCadence: string;
6819
+ resetCadence: BillingPlanCreditGrantResetCadence;
6248
6820
  /**
6249
6821
  *
6250
- * @type {string}
6822
+ * @type {BillingPlanCreditGrantResetStart}
6251
6823
  * @memberof PlanCreditGrantView
6252
6824
  */
6253
- resetStart: string;
6825
+ resetStart: BillingPlanCreditGrantResetStart;
6254
6826
  /**
6255
6827
  *
6256
- * @type {string}
6828
+ * @type {BillingPlanCreditGrantResetType}
6257
6829
  * @memberof PlanCreditGrantView
6258
6830
  */
6259
- resetType: string;
6831
+ resetType: BillingPlanCreditGrantResetType;
6260
6832
  /**
6261
6833
  *
6262
6834
  * @type {string}
@@ -6271,17 +6843,6 @@ declare interface PlanCreditGrantView {
6271
6843
  updatedAt: Date;
6272
6844
  }
6273
6845
 
6274
- /**
6275
- * Schematic API
6276
- * Schematic API
6277
- *
6278
- * The version of the OpenAPI document: 0.1
6279
- *
6280
- *
6281
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6282
- * https://openapi-generator.tech
6283
- * Do not edit the class manually.
6284
- */
6285
6846
  /**
6286
6847
  *
6287
6848
  * @export
@@ -6308,16 +6869,16 @@ declare interface PlanCreditGrantView_2 {
6308
6869
  billingCreditAutoTopupEnabled: boolean;
6309
6870
  /**
6310
6871
  *
6311
- * @type {string}
6872
+ * @type {BillingCreditExpiryType}
6312
6873
  * @memberof PlanCreditGrantView
6313
6874
  */
6314
- billingCreditAutoTopupExpiryType?: string | null;
6875
+ billingCreditAutoTopupExpiryType?: BillingCreditExpiryType_2 | null;
6315
6876
  /**
6316
6877
  *
6317
- * @type {string}
6878
+ * @type {BillingCreditExpiryUnit}
6318
6879
  * @memberof PlanCreditGrantView
6319
6880
  */
6320
- billingCreditAutoTopupExpiryUnit?: string | null;
6881
+ billingCreditAutoTopupExpiryUnit?: BillingCreditExpiryUnit_2 | null;
6321
6882
  /**
6322
6883
  *
6323
6884
  * @type {number}
@@ -6368,16 +6929,16 @@ declare interface PlanCreditGrantView_2 {
6368
6929
  creditName: string;
6369
6930
  /**
6370
6931
  *
6371
- * @type {string}
6932
+ * @type {BillingCreditExpiryType}
6372
6933
  * @memberof PlanCreditGrantView
6373
6934
  */
6374
- expiryType?: string | null;
6935
+ expiryType?: BillingCreditExpiryType_2 | null;
6375
6936
  /**
6376
6937
  *
6377
- * @type {string}
6938
+ * @type {BillingCreditExpiryUnit}
6378
6939
  * @memberof PlanCreditGrantView
6379
6940
  */
6380
- expiryUnit?: string | null;
6941
+ expiryUnit?: BillingCreditExpiryUnit_2 | null;
6381
6942
  /**
6382
6943
  *
6383
6944
  * @type {number}
@@ -6410,22 +6971,22 @@ declare interface PlanCreditGrantView_2 {
6410
6971
  pluralName?: string | null;
6411
6972
  /**
6412
6973
  *
6413
- * @type {string}
6974
+ * @type {BillingPlanCreditGrantResetCadence}
6414
6975
  * @memberof PlanCreditGrantView
6415
6976
  */
6416
- resetCadence: string;
6977
+ resetCadence: BillingPlanCreditGrantResetCadence_2;
6417
6978
  /**
6418
6979
  *
6419
- * @type {string}
6980
+ * @type {BillingPlanCreditGrantResetStart}
6420
6981
  * @memberof PlanCreditGrantView
6421
6982
  */
6422
- resetStart: string;
6983
+ resetStart: BillingPlanCreditGrantResetStart_2;
6423
6984
  /**
6424
6985
  *
6425
- * @type {string}
6986
+ * @type {BillingPlanCreditGrantResetType}
6426
6987
  * @memberof PlanCreditGrantView
6427
6988
  */
6428
- resetType: string;
6989
+ resetType: BillingPlanCreditGrantResetType_2;
6429
6990
  /**
6430
6991
  *
6431
6992
  * @type {string}
@@ -6461,10 +7022,10 @@ declare interface PlanDetailResponseData {
6461
7022
  billingProduct?: BillingProductDetailResponseData;
6462
7023
  /**
6463
7024
  *
6464
- * @type {string}
7025
+ * @type {ChargeType}
6465
7026
  * @memberof PlanDetailResponseData
6466
7027
  */
6467
- chargeType: string;
7028
+ chargeType: ChargeType;
6468
7029
  /**
6469
7030
  *
6470
7031
  * @type {number}
@@ -6473,10 +7034,10 @@ declare interface PlanDetailResponseData {
6473
7034
  companyCount: number;
6474
7035
  /**
6475
7036
  *
6476
- * @type {string}
7037
+ * @type {PlanControlledByType}
6477
7038
  * @memberof PlanDetailResponseData
6478
7039
  */
6479
- controlledBy: string;
7040
+ controlledBy: PlanControlledByType;
6480
7041
  /**
6481
7042
  *
6482
7043
  * @type {Date}
@@ -6552,10 +7113,10 @@ declare interface PlanDetailResponseData {
6552
7113
  oneTimePrice?: BillingPriceResponseData;
6553
7114
  /**
6554
7115
  *
6555
- * @type {string}
7116
+ * @type {PlanType}
6556
7117
  * @memberof PlanDetailResponseData
6557
7118
  */
6558
- planType: string;
7119
+ planType: PlanType;
6559
7120
  /**
6560
7121
  *
6561
7122
  * @type {number}
@@ -6662,10 +7223,10 @@ declare interface PlanEntitlementResponseData {
6662
7223
  planId: string;
6663
7224
  /**
6664
7225
  *
6665
- * @type {string}
7226
+ * @type {EntitlementPriceBehavior}
6666
7227
  * @memberof PlanEntitlementResponseData
6667
7228
  */
6668
- priceBehavior?: string | null;
7229
+ priceBehavior?: EntitlementPriceBehavior | null;
6669
7230
  /**
6670
7231
  *
6671
7232
  * @type {string}
@@ -6728,10 +7289,10 @@ declare interface PlanEntitlementResponseData {
6728
7289
  valueTraitId?: string | null;
6729
7290
  /**
6730
7291
  *
6731
- * @type {string}
7292
+ * @type {EntitlementValueType}
6732
7293
  * @memberof PlanEntitlementResponseData
6733
7294
  */
6734
- valueType: string;
7295
+ valueType: EntitlementValueType;
6735
7296
  }
6736
7297
 
6737
7298
  /**
@@ -6820,10 +7381,10 @@ declare interface PlanEntitlementResponseData_2 {
6820
7381
  planId: string;
6821
7382
  /**
6822
7383
  *
6823
- * @type {string}
7384
+ * @type {EntitlementPriceBehavior}
6824
7385
  * @memberof PlanEntitlementResponseData
6825
7386
  */
6826
- priceBehavior?: string | null;
7387
+ priceBehavior?: EntitlementPriceBehavior_2 | null;
6827
7388
  /**
6828
7389
  *
6829
7390
  * @type {string}
@@ -6886,10 +7447,10 @@ declare interface PlanEntitlementResponseData_2 {
6886
7447
  valueTraitId?: string | null;
6887
7448
  /**
6888
7449
  *
6889
- * @type {string}
7450
+ * @type {EntitlementValueType}
6890
7451
  * @memberof PlanEntitlementResponseData
6891
7452
  */
6892
- valueType: string;
7453
+ valueType: EntitlementValueType_2;
6893
7454
  }
6894
7455
 
6895
7456
  export declare const PlanManager: ForwardRefExoticComponent<ElementProps & DeepPartial<DesignProps_6> & HTMLAttributes<HTMLDivElement> & {
@@ -6898,17 +7459,19 @@ portal?: HTMLElement | null;
6898
7459
 
6899
7460
  export declare type PlanManagerProps = DesignProps_6;
6900
7461
 
6901
- /**
6902
- * Schematic API
6903
- * Schematic API
6904
- *
6905
- * The version of the OpenAPI document: 0.1
6906
- *
6907
- *
6908
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6909
- * https://openapi-generator.tech
6910
- * Do not edit the class manually.
6911
- */
7462
+ declare interface PlanProps {
7463
+ isLoading: boolean;
7464
+ plans: SelectedPlan[];
7465
+ selectedPlan?: SelectedPlan;
7466
+ period: string;
7467
+ selectPlan: (updates: {
7468
+ plan: SelectedPlan;
7469
+ period?: string;
7470
+ shouldTrial?: boolean;
7471
+ }) => void;
7472
+ shouldTrial: boolean;
7473
+ }
7474
+
6912
7475
  /**
6913
7476
  *
6914
7477
  * @export
@@ -6954,10 +7517,10 @@ declare interface PlanResponseData {
6954
7517
  name: string;
6955
7518
  /**
6956
7519
  *
6957
- * @type {string}
7520
+ * @type {PlanType}
6958
7521
  * @memberof PlanResponseData
6959
7522
  */
6960
- planType: string;
7523
+ planType: PlanType;
6961
7524
  /**
6962
7525
  *
6963
7526
  * @type {Date}
@@ -6966,17 +7529,6 @@ declare interface PlanResponseData {
6966
7529
  updatedAt: Date;
6967
7530
  }
6968
7531
 
6969
- /**
6970
- * Schematic API
6971
- * Schematic API
6972
- *
6973
- * The version of the OpenAPI document: 0.1
6974
- *
6975
- *
6976
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6977
- * https://openapi-generator.tech
6978
- * Do not edit the class manually.
6979
- */
6980
7532
  /**
6981
7533
  *
6982
7534
  * @export
@@ -7022,10 +7574,10 @@ declare interface PlanResponseData_2 {
7022
7574
  name: string;
7023
7575
  /**
7024
7576
  *
7025
- * @type {string}
7577
+ * @type {PlanType}
7026
7578
  * @memberof PlanResponseData
7027
7579
  */
7028
- planType: string;
7580
+ planType: PlanType_2;
7029
7581
  /**
7030
7582
  *
7031
7583
  * @type {Date}
@@ -7034,6 +7586,28 @@ declare interface PlanResponseData_2 {
7034
7586
  updatedAt: Date;
7035
7587
  }
7036
7588
 
7589
+ /**
7590
+ *
7591
+ * @export
7592
+ */
7593
+ declare const PlanType: {
7594
+ readonly Plan: "plan";
7595
+ readonly AddOn: "add_on";
7596
+ };
7597
+
7598
+ declare type PlanType = (typeof PlanType)[keyof typeof PlanType];
7599
+
7600
+ /**
7601
+ *
7602
+ * @export
7603
+ */
7604
+ declare const PlanType_2: {
7605
+ readonly Plan: "plan";
7606
+ readonly AddOn: "add_on";
7607
+ };
7608
+
7609
+ declare type PlanType_2 = (typeof PlanType_2)[keyof typeof PlanType_2];
7610
+
7037
7611
  /**
7038
7612
  *
7039
7613
  * @export
@@ -7055,10 +7629,10 @@ declare interface PlanViewPublicResponseData {
7055
7629
  billingProduct?: BillingProductDetailResponseData_2;
7056
7630
  /**
7057
7631
  *
7058
- * @type {string}
7632
+ * @type {ChargeType}
7059
7633
  * @memberof PlanViewPublicResponseData
7060
7634
  */
7061
- chargeType: string;
7635
+ chargeType: ChargeType_2;
7062
7636
  /**
7063
7637
  *
7064
7638
  * @type {number}
@@ -7073,10 +7647,10 @@ declare interface PlanViewPublicResponseData {
7073
7647
  compatiblePlanIds: Array<string>;
7074
7648
  /**
7075
7649
  *
7076
- * @type {string}
7650
+ * @type {PlanControlledByType}
7077
7651
  * @memberof PlanViewPublicResponseData
7078
7652
  */
7079
- controlledBy: string;
7653
+ controlledBy: PlanControlledByType_2;
7080
7654
  /**
7081
7655
  *
7082
7656
  * @type {Date}
@@ -7176,10 +7750,10 @@ declare interface PlanViewPublicResponseData {
7176
7750
  oneTimePrice?: BillingPriceResponseData_2;
7177
7751
  /**
7178
7752
  *
7179
- * @type {string}
7753
+ * @type {PlanType}
7180
7754
  * @memberof PlanViewPublicResponseData
7181
7755
  */
7182
- planType: string;
7756
+ planType: PlanType_2;
7183
7757
  /**
7184
7758
  *
7185
7759
  * @type {number}
@@ -7542,6 +8116,12 @@ declare interface PreviewSubscriptionFinanceResponseData {
7542
8116
  * @memberof PreviewSubscriptionFinanceResponseData
7543
8117
  */
7544
8118
  taxRequireBillingDetails: boolean;
8119
+ /**
8120
+ *
8121
+ * @type {number}
8122
+ * @memberof PreviewSubscriptionFinanceResponseData
8123
+ */
8124
+ totalPerBillingPeriod: number;
7545
8125
  /**
7546
8126
  *
7547
8127
  * @type {Date}
@@ -7657,22 +8237,38 @@ declare interface PublicPlansResponseData {
7657
8237
  * @memberof PublicPlansResponseData
7658
8238
  */
7659
8239
  capabilities?: ComponentCapabilities_2;
8240
+ /**
8241
+ *
8242
+ * @type {ComponentDisplaySettings}
8243
+ * @memberof PublicPlansResponseData
8244
+ */
8245
+ displaySettings: ComponentDisplaySettings_2;
8246
+ /**
8247
+ *
8248
+ * @type {boolean}
8249
+ * @memberof PublicPlansResponseData
8250
+ * @deprecated
8251
+ */
8252
+ showAsMonthlyPrices: boolean;
7660
8253
  /**
7661
8254
  *
7662
8255
  * @type {boolean}
7663
8256
  * @memberof PublicPlansResponseData
8257
+ * @deprecated
7664
8258
  */
7665
8259
  showCredits: boolean;
7666
8260
  /**
7667
8261
  *
7668
8262
  * @type {boolean}
7669
8263
  * @memberof PublicPlansResponseData
8264
+ * @deprecated
7670
8265
  */
7671
8266
  showPeriodToggle: boolean;
7672
8267
  /**
7673
8268
  *
7674
8269
  * @type {boolean}
7675
8270
  * @memberof PublicPlansResponseData
8271
+ * @deprecated
7676
8272
  */
7677
8273
  showZeroPriceAsFree: boolean;
7678
8274
  }
@@ -7881,10 +8477,10 @@ declare interface RuleConditionDetailResponseData {
7881
8477
  trait?: EntityTraitDefinitionResponseData;
7882
8478
  /**
7883
8479
  *
7884
- * @type {string}
8480
+ * @type {EntityType}
7885
8481
  * @memberof RuleConditionDetailResponseData
7886
8482
  */
7887
- traitEntityType?: string | null;
8483
+ traitEntityType?: EntityType | null;
7888
8484
  /**
7889
8485
  *
7890
8486
  * @type {string}
@@ -8015,10 +8611,10 @@ declare interface RuleConditionDetailResponseData_2 {
8015
8611
  trait?: EntityTraitDefinitionResponseData_2;
8016
8612
  /**
8017
8613
  *
8018
- * @type {string}
8614
+ * @type {EntityType}
8019
8615
  * @memberof RuleConditionDetailResponseData
8020
8616
  */
8021
- traitEntityType?: string | null;
8617
+ traitEntityType?: EntityType_2 | null;
8022
8618
  /**
8023
8619
  *
8024
8620
  * @type {string}
@@ -8304,7 +8900,7 @@ declare type RuleRuleTypeEnum = (typeof RuleRuleTypeEnum)[keyof typeof RuleRuleT
8304
8900
 
8305
8901
  export declare const SchematicEmbed: ({ id, accessToken }: EmbedProps) => JSX.Element;
8306
8902
 
8307
- declare type SelectedPlan = Plan & {
8903
+ declare type SelectedPlan = Plan_2 & {
8308
8904
  isSelected: boolean;
8309
8905
  };
8310
8906
 
@@ -8463,17 +9059,6 @@ export declare interface TooltipProps extends BoxProps {
8463
9059
  fullWidth?: boolean;
8464
9060
  }
8465
9061
 
8466
- /**
8467
- * Schematic API
8468
- * Schematic API
8469
- *
8470
- * The version of the OpenAPI document: 0.1
8471
- *
8472
- *
8473
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8474
- * https://openapi-generator.tech
8475
- * Do not edit the class manually.
8476
- */
8477
9062
  /**
8478
9063
  *
8479
9064
  * @export
@@ -8488,10 +9073,10 @@ declare interface TraitDefinition {
8488
9073
  comparableType: TraitDefinitionComparableTypeEnum;
8489
9074
  /**
8490
9075
  *
8491
- * @type {string}
9076
+ * @type {EntityType}
8492
9077
  * @memberof TraitDefinition
8493
9078
  */
8494
- entityType: TraitDefinitionEntityTypeEnum;
9079
+ entityType: EntityType;
8495
9080
  /**
8496
9081
  *
8497
9082
  * @type {string}
@@ -8513,14 +9098,34 @@ declare const TraitDefinitionComparableTypeEnum: {
8513
9098
  declare type TraitDefinitionComparableTypeEnum = (typeof TraitDefinitionComparableTypeEnum)[keyof typeof TraitDefinitionComparableTypeEnum];
8514
9099
 
8515
9100
  /**
9101
+ *
8516
9102
  * @export
8517
9103
  */
8518
- declare const TraitDefinitionEntityTypeEnum: {
8519
- readonly User: "user";
8520
- readonly Company: "company";
9104
+ declare const TraitType: {
9105
+ readonly Boolean: "boolean";
9106
+ readonly Currency: "currency";
9107
+ readonly Date: "date";
9108
+ readonly Number: "number";
9109
+ readonly String: "string";
9110
+ readonly Url: "url";
9111
+ };
9112
+
9113
+ declare type TraitType = (typeof TraitType)[keyof typeof TraitType];
9114
+
9115
+ /**
9116
+ *
9117
+ * @export
9118
+ */
9119
+ declare const TraitType_2: {
9120
+ readonly Boolean: "boolean";
9121
+ readonly Currency: "currency";
9122
+ readonly Date: "date";
9123
+ readonly Number: "number";
9124
+ readonly String: "string";
9125
+ readonly Url: "url";
8521
9126
  };
8522
9127
 
8523
- declare type TraitDefinitionEntityTypeEnum = (typeof TraitDefinitionEntityTypeEnum)[keyof typeof TraitDefinitionEntityTypeEnum];
9128
+ declare type TraitType_2 = (typeof TraitType_2)[keyof typeof TraitType_2];
8524
9129
 
8525
9130
  declare type TransientCSSProperties = {
8526
9131
  [Property in keyof React.CSSProperties as `$${string & Property}`]: React.CSSProperties[Property];
@@ -8528,10 +9133,10 @@ declare type TransientCSSProperties = {
8528
9133
 
8529
9134
  export declare const TransitionBox: IStyledComponentBase<"web", Substitute<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8530
9135
  $viewport?: {
8531
- sm?: TransientCSSProperties;
8532
- md?: TransientCSSProperties;
8533
- lg?: TransientCSSProperties;
8534
- xl?: TransientCSSProperties;
9136
+ "sm"?: TransientCSSProperties;
9137
+ "md"?: TransientCSSProperties;
9138
+ "lg"?: TransientCSSProperties;
9139
+ "xl"?: TransientCSSProperties;
8535
9140
  "2xl"?: TransientCSSProperties;
8536
9141
  [key: string]: TransientCSSProperties | undefined;
8537
9142
  };
@@ -8671,6 +9276,8 @@ declare interface UpdatePaymentMethodResponse {
8671
9276
  params: object;
8672
9277
  }
8673
9278
 
9279
+ export declare const Usage: ({ entitlements, updateQuantity, period }: UsageProps) => JSX.Element;
9280
+
8674
9281
  declare interface UsageBasedEntitlement extends PlanEntitlementResponseData {
8675
9282
  allocation: number;
8676
9283
  usage: number;
@@ -8727,10 +9334,10 @@ declare interface UsageBasedEntitlementResponseData {
8727
9334
  monthlyUsageBasedPrice?: BillingPriceView;
8728
9335
  /**
8729
9336
  *
8730
- * @type {string}
9337
+ * @type {EntitlementPriceBehavior}
8731
9338
  * @memberof UsageBasedEntitlementResponseData
8732
9339
  */
8733
- priceBehavior?: string | null;
9340
+ priceBehavior?: EntitlementPriceBehavior | null;
8734
9341
  /**
8735
9342
  *
8736
9343
  * @type {boolean}
@@ -8745,10 +9352,10 @@ declare interface UsageBasedEntitlementResponseData {
8745
9352
  valueNumeric?: number | null;
8746
9353
  /**
8747
9354
  *
8748
- * @type {string}
9355
+ * @type {EntitlementValueType}
8749
9356
  * @memberof UsageBasedEntitlementResponseData
8750
9357
  */
8751
- valueType: string;
9358
+ valueType: EntitlementValueType;
8752
9359
  /**
8753
9360
  *
8754
9361
  * @type {BillingPriceView}
@@ -8757,6 +9364,14 @@ declare interface UsageBasedEntitlementResponseData {
8757
9364
  yearlyUsageBasedPrice?: BillingPriceView;
8758
9365
  }
8759
9366
 
9367
+ declare interface UsageProps {
9368
+ isLoading: boolean;
9369
+ period: string;
9370
+ selectedPlan?: SelectedPlan;
9371
+ entitlements: UsageBasedEntitlement[];
9372
+ updateQuantity: (id: string, quantity: number) => void;
9373
+ }
9374
+
8760
9375
  export declare function useAvailablePlans(activePeriod: string, options?: AvailablePlanOptions): {
8761
9376
  plans: SelectedPlan[];
8762
9377
  addOns: SelectedPlan[];
@@ -8791,7 +9406,8 @@ export declare function useRequest<TData>(fn: () => Promise<{
8791
9406
 
8792
9407
  export declare function useTrialEnd(): {
8793
9408
  endDate: Date | undefined;
8794
- formatted: string | undefined;
9409
+ amount: number | undefined;
9410
+ units: string | undefined;
8795
9411
  };
8796
9412
 
8797
9413
  export declare function useWrapChildren(ref: React.RefObject<HTMLElement[]>): boolean;