@schematichq/schematic-components 2.6.1-rc.0 → 2.6.2

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.
@@ -698,6 +698,12 @@ declare interface BillingPlanCreditGrantResponseData {
698
698
  * @deprecated
699
699
  */
700
700
  planName: string;
701
+ /**
702
+ *
703
+ * @type {string}
704
+ * @memberof BillingPlanCreditGrantResponseData
705
+ */
706
+ planVersionId?: string | null;
701
707
  /**
702
708
  *
703
709
  * @type {BillingPlanCreditGrantResetCadence}
@@ -2590,6 +2596,18 @@ declare interface CheckoutResponseData {
2590
2596
  * @memberof CheckoutResponseData
2591
2597
  */
2592
2598
  providerType: BillingProviderType;
2599
+ /**
2600
+ *
2601
+ * @type {Date}
2602
+ * @memberof CheckoutResponseData
2603
+ */
2604
+ scheduledChangeTime?: Date | null;
2605
+ /**
2606
+ *
2607
+ * @type {ScheduledDowngradeConfigBehavior}
2608
+ * @memberof CheckoutResponseData
2609
+ */
2610
+ scheduledDowngradeBehavior?: ScheduledDowngradeConfigBehavior | null;
2593
2611
  /**
2594
2612
  *
2595
2613
  * @type {string}
@@ -2855,6 +2873,12 @@ declare interface CompanyDetailResponseData {
2855
2873
  * @memberof CompanyDetailResponseData
2856
2874
  */
2857
2875
  rules: Array<Rule>;
2876
+ /**
2877
+ *
2878
+ * @type {ScheduledDowngradeResponseData}
2879
+ * @memberof CompanyDetailResponseData
2880
+ */
2881
+ scheduledDowngrade?: ScheduledDowngradeResponseData;
2858
2882
  /**
2859
2883
  * A map of trait names to trait values
2860
2884
  * @type {object}
@@ -3149,6 +3173,12 @@ declare interface CompanyOverrideResponseData {
3149
3173
  * @interface CompanyPlanDetailResponseData
3150
3174
  */
3151
3175
  declare interface CompanyPlanDetailResponseData {
3176
+ /**
3177
+ *
3178
+ * @type {PlanVersionResponseData}
3179
+ * @memberof CompanyPlanDetailResponseData
3180
+ */
3181
+ activeVersion?: PlanVersionResponseData;
3152
3182
  /**
3153
3183
  *
3154
3184
  * @type {string}
@@ -3222,6 +3252,12 @@ declare interface CompanyPlanDetailResponseData {
3222
3252
  * @memberof CompanyPlanDetailResponseData
3223
3253
  */
3224
3254
  description: string;
3255
+ /**
3256
+ *
3257
+ * @type {PlanVersionResponseData}
3258
+ * @memberof CompanyPlanDetailResponseData
3259
+ */
3260
+ draftVersion?: PlanVersionResponseData;
3225
3261
  /**
3226
3262
  *
3227
3263
  * @type {Array<PlanEntitlementResponseData>}
@@ -3906,6 +3942,12 @@ declare interface ComponentHydrateResponseData {
3906
3942
  * @memberof ComponentHydrateResponseData
3907
3943
  */
3908
3944
  preventSelfServiceDowngradeUrl?: string | null;
3945
+ /**
3946
+ *
3947
+ * @type {ScheduledDowngradeResponseData}
3948
+ * @memberof ComponentHydrateResponseData
3949
+ */
3950
+ scheduledDowngrade?: ScheduledDowngradeResponseData;
3909
3951
  /**
3910
3952
  *
3911
3953
  * @type {boolean}
@@ -7288,6 +7330,12 @@ declare interface PlanCreditGrantView {
7288
7330
  * @memberof PlanCreditGrantView
7289
7331
  */
7290
7332
  planId: string;
7333
+ /**
7334
+ *
7335
+ * @type {string}
7336
+ * @memberof PlanCreditGrantView
7337
+ */
7338
+ planVersionId?: string | null;
7291
7339
  /**
7292
7340
  *
7293
7341
  * @type {string}
@@ -7446,6 +7494,12 @@ declare interface PlanCreditGrantView_2 {
7446
7494
  * @memberof PlanCreditGrantView
7447
7495
  */
7448
7496
  planId: string;
7497
+ /**
7498
+ *
7499
+ * @type {string}
7500
+ * @memberof PlanCreditGrantView
7501
+ */
7502
+ planVersionId?: string | null;
7449
7503
  /**
7450
7504
  *
7451
7505
  * @type {string}
@@ -7490,6 +7544,12 @@ declare interface PlanCreditGrantView_2 {
7490
7544
  * @interface PlanDetailResponseData
7491
7545
  */
7492
7546
  declare interface PlanDetailResponseData {
7547
+ /**
7548
+ *
7549
+ * @type {PlanVersionResponseData}
7550
+ * @memberof PlanDetailResponseData
7551
+ */
7552
+ activeVersion?: PlanVersionResponseData;
7493
7553
  /**
7494
7554
  *
7495
7555
  * @type {string}
@@ -7533,6 +7593,12 @@ declare interface PlanDetailResponseData {
7533
7593
  * @memberof PlanDetailResponseData
7534
7594
  */
7535
7595
  description: string;
7596
+ /**
7597
+ *
7598
+ * @type {PlanVersionResponseData}
7599
+ * @memberof PlanDetailResponseData
7600
+ */
7601
+ draftVersion?: PlanVersionResponseData;
7536
7602
  /**
7537
7603
  *
7538
7604
  * @type {Array<FeatureDetailResponseData>}
@@ -8276,6 +8342,12 @@ declare type PlanVersionStatus_2 = (typeof PlanVersionStatus_2)[keyof typeof Pla
8276
8342
  * @interface PlanViewPublicResponseData
8277
8343
  */
8278
8344
  declare interface PlanViewPublicResponseData {
8345
+ /**
8346
+ *
8347
+ * @type {PlanVersionResponseData}
8348
+ * @memberof PlanViewPublicResponseData
8349
+ */
8350
+ activeVersion?: PlanVersionResponseData_2;
8279
8351
  /**
8280
8352
  *
8281
8353
  * @type {string}
@@ -8337,6 +8409,12 @@ declare interface PlanViewPublicResponseData {
8337
8409
  * @memberof PlanViewPublicResponseData
8338
8410
  */
8339
8411
  description: string;
8412
+ /**
8413
+ *
8414
+ * @type {PlanVersionResponseData}
8415
+ * @memberof PlanViewPublicResponseData
8416
+ */
8417
+ draftVersion?: PlanVersionResponseData_2;
8340
8418
  /**
8341
8419
  *
8342
8420
  * @type {Array<PlanEntitlementResponseData>}
@@ -8662,6 +8740,12 @@ declare interface PreviewSubscriptionChangeResponseData {
8662
8740
  * @memberof PreviewSubscriptionChangeResponseData
8663
8741
  */
8664
8742
  finance?: PreviewSubscriptionFinanceResponseData;
8743
+ /**
8744
+ *
8745
+ * @type {boolean}
8746
+ * @memberof PreviewSubscriptionChangeResponseData
8747
+ */
8748
+ isScheduledDowngrade: boolean;
8665
8749
  /**
8666
8750
  *
8667
8751
  * @type {number}
@@ -8703,6 +8787,12 @@ declare interface PreviewSubscriptionChangeResponseData {
8703
8787
  * @deprecated
8704
8788
  */
8705
8789
  proration: number;
8790
+ /**
8791
+ *
8792
+ * @type {Date}
8793
+ * @memberof PreviewSubscriptionChangeResponseData
8794
+ */
8795
+ scheduledChangeTime?: Date | null;
8706
8796
  /**
8707
8797
  *
8708
8798
  * @type {Date}
@@ -9579,6 +9669,102 @@ declare const RuleRuleTypeEnum: {
9579
9669
 
9580
9670
  declare type RuleRuleTypeEnum = (typeof RuleRuleTypeEnum)[keyof typeof RuleRuleTypeEnum];
9581
9671
 
9672
+ /**
9673
+ *
9674
+ * @export
9675
+ */
9676
+ declare const ScheduledDowngradeConfigBehavior: {
9677
+ readonly EndOfBillingPeriod: "end_of_billing_period";
9678
+ readonly None: "none";
9679
+ };
9680
+
9681
+ declare type ScheduledDowngradeConfigBehavior = (typeof ScheduledDowngradeConfigBehavior)[keyof typeof ScheduledDowngradeConfigBehavior];
9682
+
9683
+ /**
9684
+ * Schematic API
9685
+ * Schematic API
9686
+ *
9687
+ * The version of the OpenAPI document: 0.1
9688
+ *
9689
+ *
9690
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9691
+ * https://openapi-generator.tech
9692
+ * Do not edit the class manually.
9693
+ */
9694
+ /**
9695
+ *
9696
+ * @export
9697
+ * @interface ScheduledDowngradeResponseData
9698
+ */
9699
+ declare interface ScheduledDowngradeResponseData {
9700
+ /**
9701
+ *
9702
+ * @type {string}
9703
+ * @memberof ScheduledDowngradeResponseData
9704
+ */
9705
+ currency: string;
9706
+ /**
9707
+ *
9708
+ * @type {Date}
9709
+ * @memberof ScheduledDowngradeResponseData
9710
+ */
9711
+ effectiveAfter: Date;
9712
+ /**
9713
+ *
9714
+ * @type {string}
9715
+ * @memberof ScheduledDowngradeResponseData
9716
+ */
9717
+ fromPlanId: string;
9718
+ /**
9719
+ *
9720
+ * @type {string}
9721
+ * @memberof ScheduledDowngradeResponseData
9722
+ */
9723
+ fromPlanName: string;
9724
+ /**
9725
+ *
9726
+ * @type {number}
9727
+ * @memberof ScheduledDowngradeResponseData
9728
+ */
9729
+ fromSubscriptionPrice: number;
9730
+ /**
9731
+ *
9732
+ * @type {string}
9733
+ * @memberof ScheduledDowngradeResponseData
9734
+ */
9735
+ id: string;
9736
+ /**
9737
+ *
9738
+ * @type {string}
9739
+ * @memberof ScheduledDowngradeResponseData
9740
+ */
9741
+ interval: string;
9742
+ /**
9743
+ *
9744
+ * @type {string}
9745
+ * @memberof ScheduledDowngradeResponseData
9746
+ */
9747
+ scheduledInterval?: string | null;
9748
+ /**
9749
+ *
9750
+ * @type {number}
9751
+ * @memberof ScheduledDowngradeResponseData
9752
+ */
9753
+ scheduledPrice?: number | null;
9754
+ /**
9755
+ *
9756
+ * @type {string}
9757
+ * @memberof ScheduledDowngradeResponseData
9758
+ */
9759
+ toPlanId: string;
9760
+ /**
9761
+ *
9762
+ * @type {string}
9763
+ * @memberof ScheduledDowngradeResponseData
9764
+ */
9765
+ toPlanName: string;
9766
+ }
9767
+
9582
9768
  export declare const SchematicEmbed: ({ id, accessToken }: EmbedProps) => JSX.Element;
9583
9769
 
9584
9770
  export declare const Selected: ({ isCurrent, isTrial, }: SelectedProps) => JSX.Element;