@schematichq/schematic-components 2.17.1 → 2.18.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.
@@ -49,6 +49,30 @@ declare interface AvailablePlanOptions {
49
49
  useSelectedPeriod?: boolean;
50
50
  }
51
51
 
52
+ /**
53
+ *
54
+ * @export
55
+ */
56
+ declare const BillingCreditAutoTopupAvailability: {
57
+ readonly Off: "off";
58
+ readonly Automatic: "automatic";
59
+ readonly UserControlled: "user_controlled";
60
+ };
61
+
62
+ declare type BillingCreditAutoTopupAvailability = (typeof BillingCreditAutoTopupAvailability)[keyof typeof BillingCreditAutoTopupAvailability];
63
+
64
+ /**
65
+ *
66
+ * @export
67
+ */
68
+ declare const BillingCreditAutoTopupAvailability_2: {
69
+ readonly Off: "off";
70
+ readonly Automatic: "automatic";
71
+ readonly UserControlled: "user_controlled";
72
+ };
73
+
74
+ declare type BillingCreditAutoTopupAvailability_2 = (typeof BillingCreditAutoTopupAvailability_2)[keyof typeof BillingCreditAutoTopupAvailability_2];
75
+
52
76
  /**
53
77
  *
54
78
  * @export
@@ -969,8 +993,15 @@ declare interface BillingPlanCreditGrantResponseData {
969
993
  autoTopupAmountType?: string | null;
970
994
  /**
971
995
  *
996
+ * @type {BillingCreditAutoTopupAvailability}
997
+ * @memberof BillingPlanCreditGrantResponseData
998
+ */
999
+ autoTopupAvailability: BillingCreditAutoTopupAvailability;
1000
+ /**
1001
+ * Derived from auto_topup_availability; use that instead.
972
1002
  * @type {boolean}
973
1003
  * @memberof BillingPlanCreditGrantResponseData
1004
+ * @deprecated
974
1005
  */
975
1006
  autoTopupEnabled: boolean;
976
1007
  /**
@@ -992,9 +1023,10 @@ declare interface BillingPlanCreditGrantResponseData {
992
1023
  */
993
1024
  autoTopupExpiryUnitCount?: number | null;
994
1025
  /**
995
- *
1026
+ * Derived from auto_topup_availability; use that instead.
996
1027
  * @type {boolean}
997
1028
  * @memberof BillingPlanCreditGrantResponseData
1029
+ * @deprecated
998
1030
  */
999
1031
  autoTopupSelfService: boolean;
1000
1032
  /**
@@ -1009,6 +1041,12 @@ declare interface BillingPlanCreditGrantResponseData {
1009
1041
  * @memberof BillingPlanCreditGrantResponseData
1010
1042
  */
1011
1043
  autoTopupThresholdPercent?: number | null;
1044
+ /**
1045
+ * Whether buyers can purchase one-time credit bundles on this grant, independent of auto top-up availability.
1046
+ * @type {boolean}
1047
+ * @memberof BillingPlanCreditGrantResponseData
1048
+ */
1049
+ canBuyBundles: boolean;
1012
1050
  /**
1013
1051
  *
1014
1052
  * @type {Date}
@@ -2945,6 +2983,12 @@ declare interface ChangeSubscriptionRequestBody {
2945
2983
  * @memberof ChangeSubscriptionRequestBody
2946
2984
  */
2947
2985
  autoTopupOverrides: Array<UpdateAutoTopupOverrideRequestBody>;
2986
+ /**
2987
+ *
2988
+ * @type {string}
2989
+ * @memberof ChangeSubscriptionRequestBody
2990
+ */
2991
+ billingEntityId?: string | null;
2948
2992
  /**
2949
2993
  *
2950
2994
  * @type {string}
@@ -3919,6 +3963,12 @@ declare interface CompanyPlanCreditGrantView {
3919
3963
  * @memberof CompanyPlanCreditGrantView
3920
3964
  */
3921
3965
  billingCreditAutoTopupAmountType?: string | null;
3966
+ /**
3967
+ *
3968
+ * @type {BillingCreditAutoTopupAvailability}
3969
+ * @memberof CompanyPlanCreditGrantView
3970
+ */
3971
+ billingCreditAutoTopupAvailability?: BillingCreditAutoTopupAvailability | null;
3922
3972
  /**
3923
3973
  *
3924
3974
  * @type {boolean}
@@ -3961,6 +4011,12 @@ declare interface CompanyPlanCreditGrantView {
3961
4011
  * @memberof CompanyPlanCreditGrantView
3962
4012
  */
3963
4013
  billingCreditAutoTopupThresholdPercent?: number | null;
4014
+ /**
4015
+ *
4016
+ * @type {boolean}
4017
+ * @memberof CompanyPlanCreditGrantView
4018
+ */
4019
+ billingCreditCanBuyBundles: boolean;
3964
4020
  /**
3965
4021
  *
3966
4022
  * @type {number}
@@ -4179,6 +4235,12 @@ declare interface CompanyPlanDetailResponseData {
4179
4235
  * @memberof CompanyPlanDetailResponseData
4180
4236
  */
4181
4237
  companyId?: string | null;
4238
+ /**
4239
+ *
4240
+ * @type {string}
4241
+ * @memberof CompanyPlanDetailResponseData
4242
+ */
4243
+ companyLogoUrl?: string | null;
4182
4244
  /**
4183
4245
  *
4184
4246
  * @type {string}
@@ -4209,6 +4271,12 @@ declare interface CompanyPlanDetailResponseData {
4209
4271
  * @memberof CompanyPlanDetailResponseData
4210
4272
  */
4211
4273
  createdAt: Date;
4274
+ /**
4275
+ *
4276
+ * @type {Array<BillingCreditResponseData>}
4277
+ * @memberof CompanyPlanDetailResponseData
4278
+ */
4279
+ credits: Array<BillingCreditResponseData>;
4212
4280
  /**
4213
4281
  *
4214
4282
  * @type {Array<PlanCurrencyPricesResponseData>}
@@ -8931,6 +8999,12 @@ declare interface PlanCreditGrantView {
8931
8999
  * @memberof PlanCreditGrantView
8932
9000
  */
8933
9001
  billingCreditAutoTopupAmountType?: string | null;
9002
+ /**
9003
+ *
9004
+ * @type {BillingCreditAutoTopupAvailability}
9005
+ * @memberof PlanCreditGrantView
9006
+ */
9007
+ billingCreditAutoTopupAvailability?: BillingCreditAutoTopupAvailability | null;
8934
9008
  /**
8935
9009
  *
8936
9010
  * @type {boolean}
@@ -8973,6 +9047,12 @@ declare interface PlanCreditGrantView {
8973
9047
  * @memberof PlanCreditGrantView
8974
9048
  */
8975
9049
  billingCreditAutoTopupThresholdPercent?: number | null;
9050
+ /**
9051
+ *
9052
+ * @type {boolean}
9053
+ * @memberof PlanCreditGrantView
9054
+ */
9055
+ billingCreditCanBuyBundles: boolean;
8976
9056
  /**
8977
9057
  *
8978
9058
  * @type {Date}
@@ -9124,6 +9204,12 @@ declare interface PlanCreditGrantView_2 {
9124
9204
  * @memberof PlanCreditGrantView
9125
9205
  */
9126
9206
  billingCreditAutoTopupAmountType?: string | null;
9207
+ /**
9208
+ *
9209
+ * @type {BillingCreditAutoTopupAvailability}
9210
+ * @memberof PlanCreditGrantView
9211
+ */
9212
+ billingCreditAutoTopupAvailability?: BillingCreditAutoTopupAvailability_2 | null;
9127
9213
  /**
9128
9214
  *
9129
9215
  * @type {boolean}
@@ -9166,6 +9252,12 @@ declare interface PlanCreditGrantView_2 {
9166
9252
  * @memberof PlanCreditGrantView
9167
9253
  */
9168
9254
  billingCreditAutoTopupThresholdPercent?: number | null;
9255
+ /**
9256
+ *
9257
+ * @type {boolean}
9258
+ * @memberof PlanCreditGrantView
9259
+ */
9260
+ billingCreditCanBuyBundles: boolean;
9169
9261
  /**
9170
9262
  *
9171
9263
  * @type {Date}
@@ -9430,6 +9522,12 @@ declare interface PlanDetailResponseData {
9430
9522
  * @memberof PlanDetailResponseData
9431
9523
  */
9432
9524
  companyId?: string | null;
9525
+ /**
9526
+ *
9527
+ * @type {string}
9528
+ * @memberof PlanDetailResponseData
9529
+ */
9530
+ companyLogoUrl?: string | null;
9433
9531
  /**
9434
9532
  *
9435
9533
  * @type {string}
@@ -9454,6 +9552,12 @@ declare interface PlanDetailResponseData {
9454
9552
  * @memberof PlanDetailResponseData
9455
9553
  */
9456
9554
  createdAt: Date;
9555
+ /**
9556
+ *
9557
+ * @type {Array<BillingCreditResponseData>}
9558
+ * @memberof PlanDetailResponseData
9559
+ */
9560
+ credits: Array<BillingCreditResponseData>;
9457
9561
  /**
9458
9562
  *
9459
9563
  * @type {Array<PlanCurrencyPricesResponseData>}
@@ -10448,6 +10552,12 @@ declare interface PlanViewPublicResponseData {
10448
10552
  * @memberof PlanViewPublicResponseData
10449
10553
  */
10450
10554
  companyId?: string | null;
10555
+ /**
10556
+ *
10557
+ * @type {string}
10558
+ * @memberof PlanViewPublicResponseData
10559
+ */
10560
+ companyLogoUrl?: string | null;
10451
10561
  /**
10452
10562
  *
10453
10563
  * @type {string}
@@ -10478,6 +10588,12 @@ declare interface PlanViewPublicResponseData {
10478
10588
  * @memberof PlanViewPublicResponseData
10479
10589
  */
10480
10590
  createdAt: Date;
10591
+ /**
10592
+ *
10593
+ * @type {Array<BillingCreditResponseData>}
10594
+ * @memberof PlanViewPublicResponseData
10595
+ */
10596
+ credits: Array<BillingCreditResponseData_2>;
10481
10597
  /**
10482
10598
  *
10483
10599
  * @type {Array<PlanCurrencyPricesResponseData>}