@schematichq/schematic-components 2.33.0 → 2.34.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.
@@ -3552,7 +3552,7 @@ var import_debounce2 = __toESM(require_debounce());
3552
3552
  var import_merge3 = __toESM(require_merge());
3553
3553
  import { useCallback as useCallback2, useEffect, useMemo as useMemo2, useReducer, useRef as useRef2 } from "react";
3554
3554
 
3555
- // node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist/stringify.js
3555
+ // node_modules/.pnpm/uuid@14.0.3/node_modules/uuid/dist/stringify.js
3556
3556
  var byteToHex = [];
3557
3557
  for (let i2 = 0; i2 < 256; ++i2) {
3558
3558
  byteToHex.push((i2 + 256).toString(16).slice(1));
@@ -3561,13 +3561,13 @@ function unsafeStringify(arr, offset = 0) {
3561
3561
  return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
3562
3562
  }
3563
3563
 
3564
- // node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist/rng.js
3564
+ // node_modules/.pnpm/uuid@14.0.3/node_modules/uuid/dist/rng.js
3565
3565
  var rnds8 = new Uint8Array(16);
3566
3566
  function rng() {
3567
3567
  return crypto.getRandomValues(rnds8);
3568
3568
  }
3569
3569
 
3570
- // node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist/v4.js
3570
+ // node_modules/.pnpm/uuid@14.0.3/node_modules/uuid/dist/v4.js
3571
3571
  function v4(options, buf, offset) {
3572
3572
  if (!buf && !options && crypto.randomUUID) {
3573
3573
  return crypto.randomUUID();
@@ -4753,6 +4753,339 @@ function BillingSubscriptionViewFromJSONTyped(json, ignoreDiscriminator) {
4753
4753
  };
4754
4754
  }
4755
4755
 
4756
+ // src/api/checkoutexternal/models/CatalogPriceTierResponseData.ts
4757
+ function CatalogPriceTierResponseDataFromJSON(json) {
4758
+ return CatalogPriceTierResponseDataFromJSONTyped(json, false);
4759
+ }
4760
+ function CatalogPriceTierResponseDataFromJSONTyped(json, ignoreDiscriminator) {
4761
+ if (json == null) {
4762
+ return json;
4763
+ }
4764
+ return {
4765
+ flatPrice: json["flat_price"] == null ? void 0 : json["flat_price"],
4766
+ from: json["from"],
4767
+ perUnitPrice: json["per_unit_price"] == null ? void 0 : json["per_unit_price"],
4768
+ perUnitPriceDecimal: json["per_unit_price_decimal"] == null ? void 0 : json["per_unit_price_decimal"],
4769
+ to: json["to"] == null ? void 0 : json["to"]
4770
+ };
4771
+ }
4772
+
4773
+ // src/api/checkoutexternal/models/CatalogPriceResponseData.ts
4774
+ function CatalogPriceResponseDataFromJSON(json) {
4775
+ return CatalogPriceResponseDataFromJSONTyped(json, false);
4776
+ }
4777
+ function CatalogPriceResponseDataFromJSONTyped(json, ignoreDiscriminator) {
4778
+ if (json == null) {
4779
+ return json;
4780
+ }
4781
+ return {
4782
+ currency: CurrencyFromJSON(json["currency"]),
4783
+ id: json["id"],
4784
+ interval: BillingProductPriceIntervalFromJSON(json["interval"]),
4785
+ intervalCount: json["interval_count"],
4786
+ overageUnitPriceDecimal: json["overage_unit_price_decimal"] == null ? void 0 : json["overage_unit_price_decimal"],
4787
+ packageSize: json["package_size"],
4788
+ price: json["price"],
4789
+ priceDecimal: json["price_decimal"] == null ? void 0 : json["price_decimal"],
4790
+ priceTiers: json["price_tiers"].map(
4791
+ CatalogPriceTierResponseDataFromJSON
4792
+ ),
4793
+ scheme: BillingPriceSchemeFromJSON(json["scheme"]),
4794
+ tiersMode: json["tiers_mode"] == null ? void 0 : BillingTiersModeFromJSON(json["tiers_mode"])
4795
+ };
4796
+ }
4797
+
4798
+ // src/api/checkoutexternal/models/CatalogBundleCurrencyPriceResponseData.ts
4799
+ function CatalogBundleCurrencyPriceResponseDataFromJSON(json) {
4800
+ return CatalogBundleCurrencyPriceResponseDataFromJSONTyped(json, false);
4801
+ }
4802
+ function CatalogBundleCurrencyPriceResponseDataFromJSONTyped(json, ignoreDiscriminator) {
4803
+ if (json == null) {
4804
+ return json;
4805
+ }
4806
+ return {
4807
+ currency: CurrencyFromJSON(json["currency"]),
4808
+ price: json["price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["price"]),
4809
+ unitPrice: json["unit_price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["unit_price"])
4810
+ };
4811
+ }
4812
+
4813
+ // src/api/checkoutexternal/models/CatalogAutoTopupResponseData.ts
4814
+ function CatalogAutoTopupResponseDataFromJSON(json) {
4815
+ return CatalogAutoTopupResponseDataFromJSONTyped(json, false);
4816
+ }
4817
+ function CatalogAutoTopupResponseDataFromJSONTyped(json, ignoreDiscriminator) {
4818
+ if (json == null) {
4819
+ return json;
4820
+ }
4821
+ return {
4822
+ amount: json["amount"] == null ? void 0 : json["amount"],
4823
+ availability: BillingCreditAutoTopupAvailabilityFromJSON(
4824
+ json["availability"]
4825
+ ),
4826
+ companyAmount: json["company_amount"] == null ? void 0 : json["company_amount"],
4827
+ companyEnabled: json["company_enabled"] == null ? void 0 : json["company_enabled"],
4828
+ companyThresholdCredits: json["company_threshold_credits"] == null ? void 0 : json["company_threshold_credits"],
4829
+ creditId: json["credit_id"],
4830
+ currencyPrices: json["currency_prices"].map(
4831
+ CatalogBundleCurrencyPriceResponseDataFromJSON
4832
+ ),
4833
+ enabled: json["enabled"],
4834
+ planCreditGrantId: json["plan_credit_grant_id"],
4835
+ thresholdCredits: json["threshold_credits"] == null ? void 0 : json["threshold_credits"],
4836
+ unitPrice: json["unit_price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["unit_price"])
4837
+ };
4838
+ }
4839
+
4840
+ // src/api/checkoutexternal/models/CatalogCapabilitiesResponseData.ts
4841
+ function CatalogCapabilitiesResponseDataFromJSON(json) {
4842
+ return CatalogCapabilitiesResponseDataFromJSONTyped(json, false);
4843
+ }
4844
+ function CatalogCapabilitiesResponseDataFromJSONTyped(json, ignoreDiscriminator) {
4845
+ if (json == null) {
4846
+ return json;
4847
+ }
4848
+ return {
4849
+ badgeVisibility: json["badge_visibility"],
4850
+ checkout: json["checkout"]
4851
+ };
4852
+ }
4853
+
4854
+ // src/api/checkoutexternal/models/CatalogCheckoutFieldResponseData.ts
4855
+ function CatalogCheckoutFieldResponseDataFromJSON(json) {
4856
+ return CatalogCheckoutFieldResponseDataFromJSONTyped(json, false);
4857
+ }
4858
+ function CatalogCheckoutFieldResponseDataFromJSONTyped(json, ignoreDiscriminator) {
4859
+ if (json == null) {
4860
+ return json;
4861
+ }
4862
+ return {
4863
+ helperText: json["helper_text"] == null ? void 0 : json["helper_text"],
4864
+ id: json["id"],
4865
+ name: json["name"],
4866
+ required: json["required"],
4867
+ value: json["value"] == null ? void 0 : json["value"]
4868
+ };
4869
+ }
4870
+
4871
+ // src/api/checkoutexternal/models/CheckoutBundlePurchaseBehavior.ts
4872
+ var CheckoutBundlePurchaseBehavior = {
4873
+ Individual: "individual",
4874
+ Quantity: "quantity"
4875
+ };
4876
+ function CheckoutBundlePurchaseBehaviorFromJSON(json) {
4877
+ return CheckoutBundlePurchaseBehaviorFromJSONTyped(json, false);
4878
+ }
4879
+ function CheckoutBundlePurchaseBehaviorFromJSONTyped(json, ignoreDiscriminator) {
4880
+ return json;
4881
+ }
4882
+
4883
+ // src/api/checkoutexternal/models/ProrationBehavior.ts
4884
+ var ProrationBehavior = {
4885
+ CreateProrations: "create_prorations",
4886
+ InvoiceImmediately: "invoice_immediately"
4887
+ };
4888
+ function ProrationBehaviorFromJSON(json) {
4889
+ return ProrationBehaviorFromJSONTyped(json, false);
4890
+ }
4891
+ function ProrationBehaviorFromJSONTyped(json, ignoreDiscriminator) {
4892
+ return json;
4893
+ }
4894
+
4895
+ // src/api/checkoutexternal/models/CatalogCheckoutSettingsResponseData.ts
4896
+ function CatalogCheckoutSettingsResponseDataFromJSON(json) {
4897
+ return CatalogCheckoutSettingsResponseDataFromJSONTyped(json, false);
4898
+ }
4899
+ function CatalogCheckoutSettingsResponseDataFromJSONTyped(json, ignoreDiscriminator) {
4900
+ if (json == null) {
4901
+ return json;
4902
+ }
4903
+ return {
4904
+ bundlePurchaseBehavior: CheckoutBundlePurchaseBehaviorFromJSON(
4905
+ json["bundle_purchase_behavior"]
4906
+ ),
4907
+ collectAddress: json["collect_address"],
4908
+ collectEmail: json["collect_email"],
4909
+ collectPhone: json["collect_phone"],
4910
+ collectTaxId: json["collect_tax_id"],
4911
+ customFields: json["custom_fields"].map(
4912
+ CatalogCheckoutFieldResponseDataFromJSON
4913
+ ),
4914
+ prorationBehavior: ProrationBehaviorFromJSON(json["proration_behavior"]),
4915
+ taxCollectionEnabled: json["tax_collection_enabled"]
4916
+ };
4917
+ }
4918
+
4919
+ // src/api/checkoutexternal/models/CatalogPlanRefResponseData.ts
4920
+ function CatalogPlanRefResponseDataFromJSON(json) {
4921
+ return CatalogPlanRefResponseDataFromJSONTyped(json, false);
4922
+ }
4923
+ function CatalogPlanRefResponseDataFromJSONTyped(json, ignoreDiscriminator) {
4924
+ if (json == null) {
4925
+ return json;
4926
+ }
4927
+ return {
4928
+ id: json["id"],
4929
+ name: json["name"]
4930
+ };
4931
+ }
4932
+
4933
+ // src/api/checkoutexternal/models/CompanyPlanInvalidReason.ts
4934
+ var CompanyPlanInvalidReason = {
4935
+ DowngradeNotPermitted: "downgrade_not_permitted",
4936
+ FeatureUsageExceeded: "feature_usage_exceeded"
4937
+ };
4938
+ function CompanyPlanInvalidReasonFromJSON(json) {
4939
+ return CompanyPlanInvalidReasonFromJSONTyped(json, false);
4940
+ }
4941
+ function CompanyPlanInvalidReasonFromJSONTyped(json, ignoreDiscriminator) {
4942
+ return json;
4943
+ }
4944
+
4945
+ // src/api/checkoutexternal/models/CatalogUsageViolationResponseData.ts
4946
+ function CatalogUsageViolationResponseDataFromJSON(json) {
4947
+ return CatalogUsageViolationResponseDataFromJSONTyped(json, false);
4948
+ }
4949
+ function CatalogUsageViolationResponseDataFromJSONTyped(json, ignoreDiscriminator) {
4950
+ if (json == null) {
4951
+ return json;
4952
+ }
4953
+ return {
4954
+ featureId: json["feature_id"],
4955
+ featureName: json["feature_name"],
4956
+ limit: json["limit"] == null ? void 0 : json["limit"],
4957
+ usage: json["usage"]
4958
+ };
4959
+ }
4960
+
4961
+ // src/api/checkoutexternal/models/EntitlementValueType.ts
4962
+ var EntitlementValueType = {
4963
+ Boolean: "boolean",
4964
+ Credit: "credit",
4965
+ Numeric: "numeric",
4966
+ Trait: "trait",
4967
+ Unknown: "unknown",
4968
+ Unlimited: "unlimited"
4969
+ };
4970
+ function EntitlementValueTypeFromJSON(json) {
4971
+ return EntitlementValueTypeFromJSONTyped(json, false);
4972
+ }
4973
+ function EntitlementValueTypeFromJSONTyped(json, ignoreDiscriminator) {
4974
+ return json;
4975
+ }
4976
+
4977
+ // src/api/checkoutexternal/models/FeatureType.ts
4978
+ var FeatureType = {
4979
+ Boolean: "boolean",
4980
+ Event: "event",
4981
+ License: "license",
4982
+ Trait: "trait"
4983
+ };
4984
+ function FeatureTypeFromJSON(json) {
4985
+ return FeatureTypeFromJSONTyped(json, false);
4986
+ }
4987
+ function FeatureTypeFromJSONTyped(json, ignoreDiscriminator) {
4988
+ return json;
4989
+ }
4990
+
4991
+ // src/api/checkoutexternal/models/MetricPeriodMonthReset.ts
4992
+ function MetricPeriodMonthResetFromJSON(json) {
4993
+ return MetricPeriodMonthResetFromJSONTyped(json, false);
4994
+ }
4995
+ function MetricPeriodMonthResetFromJSONTyped(json, ignoreDiscriminator) {
4996
+ return json;
4997
+ }
4998
+
4999
+ // src/api/checkoutexternal/models/MetricPeriod.ts
5000
+ function MetricPeriodFromJSON(json) {
5001
+ return MetricPeriodFromJSONTyped(json, false);
5002
+ }
5003
+ function MetricPeriodFromJSONTyped(json, ignoreDiscriminator) {
5004
+ return json;
5005
+ }
5006
+
5007
+ // src/api/checkoutexternal/models/EntitlementPriceBehavior.ts
5008
+ var EntitlementPriceBehavior = {
5009
+ CreditBurndown: "credit_burndown",
5010
+ Overage: "overage",
5011
+ PayAsYouGo: "pay_as_you_go",
5012
+ PayInAdvance: "pay_in_advance",
5013
+ Tier: "tier"
5014
+ };
5015
+ function EntitlementPriceBehaviorFromJSON(json) {
5016
+ return EntitlementPriceBehaviorFromJSONTyped(json, false);
5017
+ }
5018
+ function EntitlementPriceBehaviorFromJSONTyped(json, ignoreDiscriminator) {
5019
+ return json;
5020
+ }
5021
+
5022
+ // src/api/checkoutexternal/models/CatalogCurrencyPricesResponseData.ts
5023
+ function CatalogCurrencyPricesResponseDataFromJSON(json) {
5024
+ return CatalogCurrencyPricesResponseDataFromJSONTyped(json, false);
5025
+ }
5026
+ function CatalogCurrencyPricesResponseDataFromJSONTyped(json, ignoreDiscriminator) {
5027
+ if (json == null) {
5028
+ return json;
5029
+ }
5030
+ return {
5031
+ currency: CurrencyFromJSON(json["currency"]),
5032
+ monthlyPrice: json["monthly_price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["monthly_price"]),
5033
+ oneTimePrice: json["one_time_price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["one_time_price"]),
5034
+ quarterlyPrice: json["quarterly_price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["quarterly_price"]),
5035
+ yearlyPrice: json["yearly_price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["yearly_price"])
5036
+ };
5037
+ }
5038
+
5039
+ // src/api/checkoutexternal/models/CatalogPlanEntitlementResponseData.ts
5040
+ function CatalogPlanEntitlementResponseDataFromJSON(json) {
5041
+ return CatalogPlanEntitlementResponseDataFromJSONTyped(json, false);
5042
+ }
5043
+ function CatalogPlanEntitlementResponseDataFromJSONTyped(json, ignoreDiscriminator) {
5044
+ if (json == null) {
5045
+ return json;
5046
+ }
5047
+ return {
5048
+ consumptionRate: json["consumption_rate"] == null ? void 0 : json["consumption_rate"],
5049
+ creditEquivalentLimit: json["credit_equivalent_limit"] == null ? void 0 : json["credit_equivalent_limit"],
5050
+ creditIcon: json["credit_icon"] == null ? void 0 : json["credit_icon"],
5051
+ creditId: json["credit_id"] == null ? void 0 : json["credit_id"],
5052
+ creditName: json["credit_name"] == null ? void 0 : json["credit_name"],
5053
+ creditPluralName: json["credit_plural_name"] == null ? void 0 : json["credit_plural_name"],
5054
+ creditSingularName: json["credit_singular_name"] == null ? void 0 : json["credit_singular_name"],
5055
+ currencyPrices: json["currency_prices"].map(
5056
+ CatalogCurrencyPricesResponseDataFromJSON
5057
+ ),
5058
+ featureDescription: json["feature_description"],
5059
+ featureIcon: json["feature_icon"],
5060
+ featureId: json["feature_id"],
5061
+ featureName: json["feature_name"],
5062
+ featurePluralName: json["feature_plural_name"] == null ? void 0 : json["feature_plural_name"],
5063
+ featureSingularName: json["feature_singular_name"] == null ? void 0 : json["feature_singular_name"],
5064
+ featureType: FeatureTypeFromJSON(json["feature_type"]),
5065
+ id: json["id"],
5066
+ licenseId: json["license_id"] == null ? void 0 : json["license_id"],
5067
+ meteredMonthlyPrice: json["metered_monthly_price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["metered_monthly_price"]),
5068
+ meteredQuarterlyPrice: json["metered_quarterly_price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["metered_quarterly_price"]),
5069
+ meteredYearlyPrice: json["metered_yearly_price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["metered_yearly_price"]),
5070
+ metricPeriod: json["metric_period"] == null ? void 0 : MetricPeriodFromJSON(json["metric_period"]),
5071
+ metricPeriodMonthReset: json["metric_period_month_reset"] == null ? void 0 : MetricPeriodMonthResetFromJSON(json["metric_period_month_reset"]),
5072
+ priceBehavior: json["price_behavior"] == null ? void 0 : EntitlementPriceBehaviorFromJSON(json["price_behavior"]),
5073
+ softLimit: json["soft_limit"] == null ? void 0 : json["soft_limit"],
5074
+ valueBool: json["value_bool"] == null ? void 0 : json["value_bool"],
5075
+ valueNumeric: json["value_numeric"] == null ? void 0 : json["value_numeric"],
5076
+ valueType: EntitlementValueTypeFromJSON(json["value_type"]),
5077
+ warningThreshold: json["warning_threshold"] == null ? void 0 : json["warning_threshold"]
5078
+ };
5079
+ }
5080
+
5081
+ // src/api/checkoutexternal/models/ChargeType.ts
5082
+ function ChargeTypeFromJSON(json) {
5083
+ return ChargeTypeFromJSONTyped(json, false);
5084
+ }
5085
+ function ChargeTypeFromJSONTyped(json, ignoreDiscriminator) {
5086
+ return json;
5087
+ }
5088
+
4756
5089
  // src/api/checkoutexternal/models/CatalogCreditGrantResponseData.ts
4757
5090
  function CatalogCreditGrantResponseDataFromJSON(json) {
4758
5091
  return CatalogCreditGrantResponseDataFromJSONTyped(json, false);
@@ -4776,45 +5109,103 @@ function CatalogCreditGrantResponseDataFromJSONTyped(json, ignoreDiscriminator)
4776
5109
  };
4777
5110
  }
4778
5111
 
4779
- // src/api/checkoutexternal/models/CatalogPriceTierResponseData.ts
4780
- function CatalogPriceTierResponseDataFromJSON(json) {
4781
- return CatalogPriceTierResponseDataFromJSONTyped(json, false);
5112
+ // src/api/checkoutexternal/models/PlanPriceCadence.ts
5113
+ function PlanPriceCadenceFromJSON(json) {
5114
+ return PlanPriceCadenceFromJSONTyped(json, false);
4782
5115
  }
4783
- function CatalogPriceTierResponseDataFromJSONTyped(json, ignoreDiscriminator) {
5116
+ function PlanPriceCadenceFromJSONTyped(json, ignoreDiscriminator) {
5117
+ return json;
5118
+ }
5119
+
5120
+ // src/api/checkoutexternal/models/CatalogCompanyPlanResponseData.ts
5121
+ function CatalogCompanyPlanResponseDataFromJSON(json) {
5122
+ return CatalogCompanyPlanResponseDataFromJSONTyped(json, false);
5123
+ }
5124
+ function CatalogCompanyPlanResponseDataFromJSONTyped(json, ignoreDiscriminator) {
4784
5125
  if (json == null) {
4785
5126
  return json;
4786
5127
  }
4787
5128
  return {
4788
- flatPrice: json["flat_price"] == null ? void 0 : json["flat_price"],
4789
- from: json["from"],
4790
- perUnitPrice: json["per_unit_price"] == null ? void 0 : json["per_unit_price"],
4791
- perUnitPriceDecimal: json["per_unit_price_decimal"] == null ? void 0 : json["per_unit_price_decimal"],
4792
- to: json["to"] == null ? void 0 : json["to"]
5129
+ autoTopups: json["auto_topups"].map(
5130
+ CatalogAutoTopupResponseDataFromJSON
5131
+ ),
5132
+ availablePeriods: json["available_periods"].map(
5133
+ PlanPriceCadenceFromJSON
5134
+ ),
5135
+ billingStrategy: BillingStrategyFromJSON(json["billing_strategy"]),
5136
+ chargeType: ChargeTypeFromJSON(json["charge_type"]),
5137
+ companyCanTrial: json["company_can_trial"],
5138
+ compatiblePlanIds: json["compatible_plan_ids"] == null ? void 0 : json["compatible_plan_ids"],
5139
+ currencyPrices: json["currency_prices"].map(
5140
+ CatalogCurrencyPricesResponseDataFromJSON
5141
+ ),
5142
+ current: json["current"],
5143
+ description: json["description"],
5144
+ entitlements: json["entitlements"].map(
5145
+ CatalogPlanEntitlementResponseDataFromJSON
5146
+ ),
5147
+ icon: json["icon"],
5148
+ id: json["id"],
5149
+ includedCreditGrants: json["included_credit_grants"].map(
5150
+ CatalogCreditGrantResponseDataFromJSON
5151
+ ),
5152
+ invalidReason: json["invalid_reason"] == null ? void 0 : CompanyPlanInvalidReasonFromJSON(json["invalid_reason"]),
5153
+ isTrialable: json["is_trialable"],
5154
+ monthlyPrice: json["monthly_price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["monthly_price"]),
5155
+ name: json["name"],
5156
+ oneTimePrice: json["one_time_price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["one_time_price"]),
5157
+ quarterlyPrice: json["quarterly_price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["quarterly_price"]),
5158
+ trialDays: json["trial_days"] == null ? void 0 : json["trial_days"],
5159
+ usageViolations: json["usage_violations"].map(
5160
+ CatalogUsageViolationResponseDataFromJSON
5161
+ ),
5162
+ valid: json["valid"],
5163
+ yearlyPrice: json["yearly_price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["yearly_price"])
5164
+ };
5165
+ }
5166
+
5167
+ // src/api/checkoutexternal/models/CatalogCreditBundleResponseData.ts
5168
+ function CatalogCreditBundleResponseDataFromJSON(json) {
5169
+ return CatalogCreditBundleResponseDataFromJSONTyped(json, false);
5170
+ }
5171
+ function CatalogCreditBundleResponseDataFromJSONTyped(json, ignoreDiscriminator) {
5172
+ if (json == null) {
5173
+ return json;
5174
+ }
5175
+ return {
5176
+ bundleType: BillingCreditBundleTypeFromJSON(json["bundle_type"]),
5177
+ compatiblePlanIds: json["compatible_plan_ids"] == null ? void 0 : json["compatible_plan_ids"],
5178
+ creditIcon: json["credit_icon"] == null ? void 0 : json["credit_icon"],
5179
+ creditId: json["credit_id"],
5180
+ creditName: json["credit_name"],
5181
+ creditPluralName: json["credit_plural_name"] == null ? void 0 : json["credit_plural_name"],
5182
+ creditSingularName: json["credit_singular_name"] == null ? void 0 : json["credit_singular_name"],
5183
+ currencyPrices: json["currency_prices"].map(
5184
+ CatalogBundleCurrencyPriceResponseDataFromJSON
5185
+ ),
5186
+ expiryType: BillingCreditExpiryTypeFromJSON(json["expiry_type"]),
5187
+ expiryUnit: BillingCreditExpiryUnitFromJSON(json["expiry_unit"]),
5188
+ expiryUnitCount: json["expiry_unit_count"] == null ? void 0 : json["expiry_unit_count"],
5189
+ id: json["id"],
5190
+ name: json["name"],
5191
+ price: json["price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["price"]),
5192
+ quantity: json["quantity"] == null ? void 0 : json["quantity"],
5193
+ unitPrice: json["unit_price"] == null ? void 0 : CatalogPriceResponseDataFromJSON(json["unit_price"])
4793
5194
  };
4794
5195
  }
4795
5196
 
4796
- // src/api/checkoutexternal/models/CatalogPriceResponseData.ts
4797
- function CatalogPriceResponseDataFromJSON(json) {
4798
- return CatalogPriceResponseDataFromJSONTyped(json, false);
5197
+ // src/api/checkoutexternal/models/CatalogCustomPlanCTAResponseData.ts
5198
+ function CatalogCustomPlanCTAResponseDataFromJSON(json) {
5199
+ return CatalogCustomPlanCTAResponseDataFromJSONTyped(json, false);
4799
5200
  }
4800
- function CatalogPriceResponseDataFromJSONTyped(json, ignoreDiscriminator) {
5201
+ function CatalogCustomPlanCTAResponseDataFromJSONTyped(json, ignoreDiscriminator) {
4801
5202
  if (json == null) {
4802
5203
  return json;
4803
5204
  }
4804
5205
  return {
4805
- currency: CurrencyFromJSON(json["currency"]),
4806
- id: json["id"],
4807
- interval: BillingProductPriceIntervalFromJSON(json["interval"]),
4808
- intervalCount: json["interval_count"],
4809
- overageUnitPriceDecimal: json["overage_unit_price_decimal"] == null ? void 0 : json["overage_unit_price_decimal"],
4810
- packageSize: json["package_size"],
4811
- price: json["price"],
4812
- priceDecimal: json["price_decimal"] == null ? void 0 : json["price_decimal"],
4813
- priceTiers: json["price_tiers"].map(
4814
- CatalogPriceTierResponseDataFromJSON
4815
- ),
4816
- scheme: BillingPriceSchemeFromJSON(json["scheme"]),
4817
- tiersMode: json["tiers_mode"] == null ? void 0 : BillingTiersModeFromJSON(json["tiers_mode"])
5206
+ ctaText: json["cta_text"] == null ? void 0 : json["cta_text"],
5207
+ ctaUrl: json["cta_url"] == null ? void 0 : json["cta_url"],
5208
+ priceText: json["price_text"] == null ? void 0 : json["price_text"]
4818
5209
  };
4819
5210
  }
4820
5211
 
@@ -4988,26 +5379,6 @@ function ChangeSubscriptionRequestBodyToJSONTyped(value, ignoreDiscriminator = f
4988
5379
  };
4989
5380
  }
4990
5381
 
4991
- // src/api/checkoutexternal/models/ChargeType.ts
4992
- function ChargeTypeFromJSON(json) {
4993
- return ChargeTypeFromJSONTyped(json, false);
4994
- }
4995
- function ChargeTypeFromJSONTyped(json, ignoreDiscriminator) {
4996
- return json;
4997
- }
4998
-
4999
- // src/api/checkoutexternal/models/CheckoutBundlePurchaseBehavior.ts
5000
- var CheckoutBundlePurchaseBehavior = {
5001
- Individual: "individual",
5002
- Quantity: "quantity"
5003
- };
5004
- function CheckoutBundlePurchaseBehaviorFromJSON(json) {
5005
- return CheckoutBundlePurchaseBehaviorFromJSONTyped(json, false);
5006
- }
5007
- function CheckoutBundlePurchaseBehaviorFromJSONTyped(json, ignoreDiscriminator) {
5008
- return json;
5009
- }
5010
-
5011
5382
  // src/api/checkoutexternal/models/CheckoutPriceSnapshot.ts
5012
5383
  function CheckoutPriceSnapshotFromJSON(json) {
5013
5384
  return CheckoutPriceSnapshotFromJSONTyped(json, false);
@@ -5023,6 +5394,8 @@ function CheckoutPriceSnapshotFromJSONTyped(json, ignoreDiscriminator) {
5023
5394
  isScheduledDowngrade: json["is_scheduled_downgrade"],
5024
5395
  newCharges: json["new_charges"],
5025
5396
  optInRequired: json["opt_in_required"],
5397
+ optInText: json["opt_in_text"] == null ? void 0 : json["opt_in_text"],
5398
+ optInTitle: json["opt_in_title"] == null ? void 0 : json["opt_in_title"],
5026
5399
  paymentMethodRequired: json["payment_method_required"],
5027
5400
  percentOff: json["percent_off"],
5028
5401
  periodStart: new Date(json["period_start"]),
@@ -5044,6 +5417,17 @@ function CheckoutStatusFromJSONTyped(json, ignoreDiscriminator) {
5044
5417
  return json;
5045
5418
  }
5046
5419
 
5420
+ // src/api/checkoutexternal/models/CheckoutIntent.ts
5421
+ function CheckoutIntentFromJSON(json) {
5422
+ return CheckoutIntentFromJSONTyped(json, false);
5423
+ }
5424
+ function CheckoutIntentFromJSONTyped(json, ignoreDiscriminator) {
5425
+ return json;
5426
+ }
5427
+ function CheckoutIntentToJSON(value) {
5428
+ return value;
5429
+ }
5430
+
5047
5431
  // src/api/checkoutexternal/models/CheckoutSelectionsResponseData.ts
5048
5432
  function CheckoutSelectionsResponseDataFromJSON(json) {
5049
5433
  return CheckoutSelectionsResponseDataFromJSONTyped(json, false);
@@ -5064,9 +5448,11 @@ function CheckoutSelectionsResponseDataFromJSONTyped(json, ignoreDiscriminator)
5064
5448
  creditBundles: json["credit_bundles"].map(
5065
5449
  UpdateCreditBundleRequestBodyFromJSON
5066
5450
  ),
5451
+ currency: json["currency"] == null ? void 0 : json["currency"],
5067
5452
  customFieldValues: json["custom_field_values"].map(
5068
5453
  CheckoutFieldValueFromJSON
5069
5454
  ),
5455
+ intent: CheckoutIntentFromJSON(json["intent"]),
5070
5456
  newPlanId: json["new_plan_id"] == null ? void 0 : json["new_plan_id"],
5071
5457
  newPriceId: json["new_price_id"] == null ? void 0 : json["new_price_id"],
5072
5458
  optInAccepted: json["opt_in_accepted"] == null ? void 0 : json["opt_in_accepted"],
@@ -5166,11 +5552,6 @@ function CheckoutFieldWithValueFromJSONTyped(json, ignoreDiscriminator) {
5166
5552
  };
5167
5553
  }
5168
5554
 
5169
- // src/api/checkoutexternal/models/CheckoutIntent.ts
5170
- function CheckoutIntentToJSON(value) {
5171
- return value;
5172
- }
5173
-
5174
5555
  // src/api/checkoutexternal/models/ScheduledDowngradeConfigBehavior.ts
5175
5556
  function ScheduledDowngradeConfigBehaviorFromJSON(json) {
5176
5557
  return ScheduledDowngradeConfigBehaviorFromJSONTyped(json, false);
@@ -5275,18 +5656,6 @@ function CheckoutUnsubscribeResponseFromJSONTyped(json, ignoreDiscriminator) {
5275
5656
  };
5276
5657
  }
5277
5658
 
5278
- // src/api/checkoutexternal/models/ProrationBehavior.ts
5279
- var ProrationBehavior = {
5280
- CreateProrations: "create_prorations",
5281
- InvoiceImmediately: "invoice_immediately"
5282
- };
5283
- function ProrationBehaviorFromJSON(json) {
5284
- return ProrationBehaviorFromJSONTyped(json, false);
5285
- }
5286
- function ProrationBehaviorFromJSONTyped(json, ignoreDiscriminator) {
5287
- return json;
5288
- }
5289
-
5290
5659
  // src/api/checkoutexternal/models/CompanyBillingProfileResponseData.ts
5291
5660
  function CompanyBillingProfileResponseDataFromJSON(json) {
5292
5661
  return CompanyBillingProfileResponseDataFromJSONTyped(json, false);
@@ -5315,6 +5684,43 @@ function CompanyBillingProfileResponseDataFromJSONTyped(json, ignoreDiscriminato
5315
5684
  };
5316
5685
  }
5317
5686
 
5687
+ // src/api/checkoutexternal/models/CompanyCatalogResponseData.ts
5688
+ function CompanyCatalogResponseDataFromJSON(json) {
5689
+ return CompanyCatalogResponseDataFromJSONTyped(json, false);
5690
+ }
5691
+ function CompanyCatalogResponseDataFromJSONTyped(json, ignoreDiscriminator) {
5692
+ if (json == null) {
5693
+ return json;
5694
+ }
5695
+ return {
5696
+ addOns: json["add_ons"].map(
5697
+ CatalogCompanyPlanResponseDataFromJSON
5698
+ ),
5699
+ capabilities: CatalogCapabilitiesResponseDataFromJSON(json["capabilities"]),
5700
+ checkoutSettings: CatalogCheckoutSettingsResponseDataFromJSON(
5701
+ json["checkout_settings"]
5702
+ ),
5703
+ creditBundles: json["credit_bundles"].map(
5704
+ CatalogCreditBundleResponseDataFromJSON
5705
+ ),
5706
+ customPlanCta: json["custom_plan_cta"] == null ? void 0 : CatalogCustomPlanCTAResponseDataFromJSON(json["custom_plan_cta"]),
5707
+ defaultCurrency: CurrencyFromJSON(json["default_currency"]),
5708
+ description: json["description"] == null ? void 0 : json["description"],
5709
+ id: json["id"],
5710
+ name: json["name"],
5711
+ plans: json["plans"].map(
5712
+ CatalogCompanyPlanResponseDataFromJSON
5713
+ ),
5714
+ preventSelfServiceDowngrade: json["prevent_self_service_downgrade"],
5715
+ preventSelfServiceDowngradeButtonText: json["prevent_self_service_downgrade_button_text"] == null ? void 0 : json["prevent_self_service_downgrade_button_text"],
5716
+ preventSelfServiceDowngradeUrl: json["prevent_self_service_downgrade_url"] == null ? void 0 : json["prevent_self_service_downgrade_url"],
5717
+ pricingModel: json["pricing_model"] == null ? void 0 : json["pricing_model"],
5718
+ pricingUrl: json["pricing_url"] == null ? void 0 : json["pricing_url"],
5719
+ trialExpiryPlan: json["trial_expiry_plan"] == null ? void 0 : CatalogPlanRefResponseDataFromJSON(json["trial_expiry_plan"]),
5720
+ trialPaymentMethodRequired: json["trial_payment_method_required"] == null ? void 0 : json["trial_payment_method_required"]
5721
+ };
5722
+ }
5723
+
5318
5724
  // src/api/checkoutexternal/models/CustomPlanActivationStrategy.ts
5319
5725
  var CustomPlanActivationStrategy = {
5320
5726
  Payment: "on_payment",
@@ -5705,30 +6111,6 @@ function CompanyPlanWithBillingSubViewFromJSONTyped(json, ignoreDiscriminator) {
5705
6111
  };
5706
6112
  }
5707
6113
 
5708
- // src/api/checkoutexternal/models/EntitlementValueType.ts
5709
- var EntitlementValueType = {
5710
- Boolean: "boolean",
5711
- Credit: "credit",
5712
- Numeric: "numeric",
5713
- Trait: "trait",
5714
- Unknown: "unknown",
5715
- Unlimited: "unlimited"
5716
- };
5717
- function EntitlementValueTypeFromJSON(json) {
5718
- return EntitlementValueTypeFromJSONTyped(json, false);
5719
- }
5720
- function EntitlementValueTypeFromJSONTyped(json, ignoreDiscriminator) {
5721
- return json;
5722
- }
5723
-
5724
- // src/api/checkoutexternal/models/MetricPeriodMonthReset.ts
5725
- function MetricPeriodMonthResetFromJSON(json) {
5726
- return MetricPeriodMonthResetFromJSONTyped(json, false);
5727
- }
5728
- function MetricPeriodMonthResetFromJSONTyped(json, ignoreDiscriminator) {
5729
- return json;
5730
- }
5731
-
5732
6114
  // src/api/checkoutexternal/models/WarningTier.ts
5733
6115
  function WarningTierFromJSON(json) {
5734
6116
  return WarningTierFromJSONTyped(json, false);
@@ -5743,14 +6125,6 @@ function WarningTierFromJSONTyped(json, ignoreDiscriminator) {
5743
6125
  };
5744
6126
  }
5745
6127
 
5746
- // src/api/checkoutexternal/models/MetricPeriod.ts
5747
- function MetricPeriodFromJSON(json) {
5748
- return MetricPeriodFromJSONTyped(json, false);
5749
- }
5750
- function MetricPeriodFromJSONTyped(json, ignoreDiscriminator) {
5751
- return json;
5752
- }
5753
-
5754
6128
  // src/api/checkoutexternal/models/FeatureEntitlement.ts
5755
6129
  function FeatureEntitlementFromJSON(json) {
5756
6130
  return FeatureEntitlementFromJSONTyped(json, false);
@@ -6196,35 +6570,6 @@ function CompanyDiscountResponseDataFromJSONTyped(json, ignoreDiscriminator) {
6196
6570
  };
6197
6571
  }
6198
6572
 
6199
- // src/api/checkoutexternal/models/FeatureType.ts
6200
- var FeatureType = {
6201
- Boolean: "boolean",
6202
- Event: "event",
6203
- License: "license",
6204
- Trait: "trait"
6205
- };
6206
- function FeatureTypeFromJSON(json) {
6207
- return FeatureTypeFromJSONTyped(json, false);
6208
- }
6209
- function FeatureTypeFromJSONTyped(json, ignoreDiscriminator) {
6210
- return json;
6211
- }
6212
-
6213
- // src/api/checkoutexternal/models/EntitlementPriceBehavior.ts
6214
- var EntitlementPriceBehavior = {
6215
- CreditBurndown: "credit_burndown",
6216
- Overage: "overage",
6217
- PayAsYouGo: "pay_as_you_go",
6218
- PayInAdvance: "pay_in_advance",
6219
- Tier: "tier"
6220
- };
6221
- function EntitlementPriceBehaviorFromJSON(json) {
6222
- return EntitlementPriceBehaviorFromJSONTyped(json, false);
6223
- }
6224
- function EntitlementPriceBehaviorFromJSONTyped(json, ignoreDiscriminator) {
6225
- return json;
6226
- }
6227
-
6228
6573
  // src/api/checkoutexternal/models/EntitlementType.ts
6229
6574
  function EntitlementTypeFromJSON(json) {
6230
6575
  return EntitlementTypeFromJSONTyped(json, false);
@@ -6507,26 +6852,6 @@ function CompanyPaymentMethodsResponseDataFromJSONTyped(json, ignoreDiscriminato
6507
6852
  };
6508
6853
  }
6509
6854
 
6510
- // src/api/checkoutexternal/models/CompanyPlanInvalidReason.ts
6511
- var CompanyPlanInvalidReason = {
6512
- DowngradeNotPermitted: "downgrade_not_permitted",
6513
- FeatureUsageExceeded: "feature_usage_exceeded"
6514
- };
6515
- function CompanyPlanInvalidReasonFromJSON(json) {
6516
- return CompanyPlanInvalidReasonFromJSONTyped(json, false);
6517
- }
6518
- function CompanyPlanInvalidReasonFromJSONTyped(json, ignoreDiscriminator) {
6519
- return json;
6520
- }
6521
-
6522
- // src/api/checkoutexternal/models/PlanPriceCadence.ts
6523
- function PlanPriceCadenceFromJSON(json) {
6524
- return PlanPriceCadenceFromJSONTyped(json, false);
6525
- }
6526
- function PlanPriceCadenceFromJSONTyped(json, ignoreDiscriminator) {
6527
- return json;
6528
- }
6529
-
6530
6855
  // src/api/checkoutexternal/models/EstimatedPlanTotal.ts
6531
6856
  function EstimatedPlanTotalFromJSON(json) {
6532
6857
  return EstimatedPlanTotalFromJSONTyped(json, false);
@@ -7856,6 +8181,34 @@ function FinalizeCheckoutResponseFromJSONTyped(json, ignoreDiscriminator) {
7856
8181
  };
7857
8182
  }
7858
8183
 
8184
+ // src/api/checkoutexternal/models/GetCatalogViewByIDResponse.ts
8185
+ function GetCatalogViewByIDResponseFromJSON(json) {
8186
+ return GetCatalogViewByIDResponseFromJSONTyped(json, false);
8187
+ }
8188
+ function GetCatalogViewByIDResponseFromJSONTyped(json, ignoreDiscriminator) {
8189
+ if (json == null) {
8190
+ return json;
8191
+ }
8192
+ return {
8193
+ data: CompanyCatalogResponseDataFromJSON(json["data"]),
8194
+ params: json["params"]
8195
+ };
8196
+ }
8197
+
8198
+ // src/api/checkoutexternal/models/GetCatalogViewResponse.ts
8199
+ function GetCatalogViewResponseFromJSON(json) {
8200
+ return GetCatalogViewResponseFromJSONTyped(json, false);
8201
+ }
8202
+ function GetCatalogViewResponseFromJSONTyped(json, ignoreDiscriminator) {
8203
+ if (json == null) {
8204
+ return json;
8205
+ }
8206
+ return {
8207
+ data: CompanyCatalogResponseDataFromJSON(json["data"]),
8208
+ params: json["params"]
8209
+ };
8210
+ }
8211
+
7859
8212
  // src/api/checkoutexternal/models/GetCheckoutResponse.ts
7860
8213
  function GetCheckoutResponseFromJSON(json) {
7861
8214
  return GetCheckoutResponseFromJSONTyped(json, false);
@@ -8816,6 +9169,82 @@ var CheckoutexternalApi = class extends BaseAPI {
8816
9169
  );
8817
9170
  return await response.value();
8818
9171
  }
9172
+ /**
9173
+ * Get catalog view
9174
+ */
9175
+ async getCatalogViewRaw(initOverrides) {
9176
+ const queryParameters = {};
9177
+ const headerParameters = {};
9178
+ if (this.configuration && this.configuration.apiKey) {
9179
+ headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
9180
+ "X-Schematic-Api-Key"
9181
+ );
9182
+ }
9183
+ const response = await this.request(
9184
+ {
9185
+ path: `/catalog/view`,
9186
+ method: "GET",
9187
+ headers: headerParameters,
9188
+ query: queryParameters
9189
+ },
9190
+ initOverrides
9191
+ );
9192
+ return new JSONApiResponse(
9193
+ response,
9194
+ (jsonValue) => GetCatalogViewResponseFromJSON(jsonValue)
9195
+ );
9196
+ }
9197
+ /**
9198
+ * Get catalog view
9199
+ */
9200
+ async getCatalogView(initOverrides) {
9201
+ const response = await this.getCatalogViewRaw(initOverrides);
9202
+ return await response.value();
9203
+ }
9204
+ /**
9205
+ * Get catalog view by ID
9206
+ */
9207
+ async getCatalogViewByIDRaw(requestParameters, initOverrides) {
9208
+ if (requestParameters["catalogId"] == null) {
9209
+ throw new RequiredError(
9210
+ "catalogId",
9211
+ 'Required parameter "catalogId" was null or undefined when calling getCatalogViewByID().'
9212
+ );
9213
+ }
9214
+ const queryParameters = {};
9215
+ const headerParameters = {};
9216
+ if (this.configuration && this.configuration.apiKey) {
9217
+ headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
9218
+ "X-Schematic-Api-Key"
9219
+ );
9220
+ }
9221
+ const response = await this.request(
9222
+ {
9223
+ path: `/catalogs/{catalog_id}/view`.replace(
9224
+ `{${"catalog_id"}}`,
9225
+ encodeURIComponent(String(requestParameters["catalogId"]))
9226
+ ),
9227
+ method: "GET",
9228
+ headers: headerParameters,
9229
+ query: queryParameters
9230
+ },
9231
+ initOverrides
9232
+ );
9233
+ return new JSONApiResponse(
9234
+ response,
9235
+ (jsonValue) => GetCatalogViewByIDResponseFromJSON(jsonValue)
9236
+ );
9237
+ }
9238
+ /**
9239
+ * Get catalog view by ID
9240
+ */
9241
+ async getCatalogViewByID(requestParameters, initOverrides) {
9242
+ const response = await this.getCatalogViewByIDRaw(
9243
+ requestParameters,
9244
+ initOverrides
9245
+ );
9246
+ return await response.value();
9247
+ }
8819
9248
  /**
8820
9249
  * Get checkout
8821
9250
  */
@@ -10074,9 +10503,9 @@ function BillingArrearsCadenceFromJSONTyped7(json, ignoreDiscriminator) {
10074
10503
 
10075
10504
  // src/api/componentspublic/models/BillingCreditAutoTopupAvailability.ts
10076
10505
  function BillingCreditAutoTopupAvailabilityFromJSON2(json) {
10077
- return BillingCreditAutoTopupAvailabilityFromJSONTyped5(json, false);
10506
+ return BillingCreditAutoTopupAvailabilityFromJSONTyped6(json, false);
10078
10507
  }
10079
- function BillingCreditAutoTopupAvailabilityFromJSONTyped5(json, ignoreDiscriminator) {
10508
+ function BillingCreditAutoTopupAvailabilityFromJSONTyped6(json, ignoreDiscriminator) {
10080
10509
  return json;
10081
10510
  }
10082
10511
 
@@ -10090,17 +10519,17 @@ function BillingCreditBurnStrategyFromJSONTyped4(json, ignoreDiscriminator) {
10090
10519
 
10091
10520
  // src/api/componentspublic/models/BillingCreditExpiryType.ts
10092
10521
  function BillingCreditExpiryTypeFromJSON2(json) {
10093
- return BillingCreditExpiryTypeFromJSONTyped7(json, false);
10522
+ return BillingCreditExpiryTypeFromJSONTyped8(json, false);
10094
10523
  }
10095
- function BillingCreditExpiryTypeFromJSONTyped7(json, ignoreDiscriminator) {
10524
+ function BillingCreditExpiryTypeFromJSONTyped8(json, ignoreDiscriminator) {
10096
10525
  return json;
10097
10526
  }
10098
10527
 
10099
10528
  // src/api/componentspublic/models/BillingCreditExpiryUnit.ts
10100
10529
  function BillingCreditExpiryUnitFromJSON2(json) {
10101
- return BillingCreditExpiryUnitFromJSONTyped9(json, false);
10530
+ return BillingCreditExpiryUnitFromJSONTyped10(json, false);
10102
10531
  }
10103
- function BillingCreditExpiryUnitFromJSONTyped9(json, ignoreDiscriminator) {
10532
+ function BillingCreditExpiryUnitFromJSONTyped10(json, ignoreDiscriminator) {
10104
10533
  return json;
10105
10534
  }
10106
10535
 
@@ -10114,9 +10543,9 @@ function BillingCreditLedgerAuthorityFromJSONTyped4(json, ignoreDiscriminator) {
10114
10543
 
10115
10544
  // src/api/componentspublic/models/Currency.ts
10116
10545
  function CurrencyFromJSON2(json) {
10117
- return CurrencyFromJSONTyped34(json, false);
10546
+ return CurrencyFromJSONTyped38(json, false);
10118
10547
  }
10119
- function CurrencyFromJSONTyped34(json, ignoreDiscriminator) {
10548
+ function CurrencyFromJSONTyped38(json, ignoreDiscriminator) {
10120
10549
  return json;
10121
10550
  }
10122
10551
 
@@ -10498,41 +10927,41 @@ function BillingProductDetailResponseDataFromJSONTyped5(json, ignoreDiscriminato
10498
10927
 
10499
10928
  // src/api/componentspublic/models/BillingStrategy.ts
10500
10929
  function BillingStrategyFromJSON2(json) {
10501
- return BillingStrategyFromJSONTyped5(json, false);
10930
+ return BillingStrategyFromJSONTyped7(json, false);
10502
10931
  }
10503
- function BillingStrategyFromJSONTyped5(json, ignoreDiscriminator) {
10932
+ function BillingStrategyFromJSONTyped7(json, ignoreDiscriminator) {
10504
10933
  return json;
10505
10934
  }
10506
10935
 
10507
10936
  // src/api/componentspublic/models/ChargeType.ts
10508
10937
  function ChargeTypeFromJSON2(json) {
10509
- return ChargeTypeFromJSONTyped5(json, false);
10938
+ return ChargeTypeFromJSONTyped7(json, false);
10510
10939
  }
10511
- function ChargeTypeFromJSONTyped5(json, ignoreDiscriminator) {
10940
+ function ChargeTypeFromJSONTyped7(json, ignoreDiscriminator) {
10512
10941
  return json;
10513
10942
  }
10514
10943
 
10515
10944
  // src/api/componentspublic/models/EntitlementValueType.ts
10516
10945
  function EntitlementValueTypeFromJSON2(json) {
10517
- return EntitlementValueTypeFromJSONTyped8(json, false);
10946
+ return EntitlementValueTypeFromJSONTyped10(json, false);
10518
10947
  }
10519
- function EntitlementValueTypeFromJSONTyped8(json, ignoreDiscriminator) {
10948
+ function EntitlementValueTypeFromJSONTyped10(json, ignoreDiscriminator) {
10520
10949
  return json;
10521
10950
  }
10522
10951
 
10523
10952
  // src/api/componentspublic/models/MetricPeriodMonthReset.ts
10524
10953
  function MetricPeriodMonthResetFromJSON2(json) {
10525
- return MetricPeriodMonthResetFromJSONTyped12(json, false);
10954
+ return MetricPeriodMonthResetFromJSONTyped14(json, false);
10526
10955
  }
10527
- function MetricPeriodMonthResetFromJSONTyped12(json, ignoreDiscriminator) {
10956
+ function MetricPeriodMonthResetFromJSONTyped14(json, ignoreDiscriminator) {
10528
10957
  return json;
10529
10958
  }
10530
10959
 
10531
10960
  // src/api/componentspublic/models/MetricPeriod.ts
10532
10961
  function MetricPeriodFromJSON2(json) {
10533
- return MetricPeriodFromJSONTyped12(json, false);
10962
+ return MetricPeriodFromJSONTyped14(json, false);
10534
10963
  }
10535
- function MetricPeriodFromJSONTyped12(json, ignoreDiscriminator) {
10964
+ function MetricPeriodFromJSONTyped14(json, ignoreDiscriminator) {
10536
10965
  return json;
10537
10966
  }
10538
10967
 
@@ -10640,9 +11069,9 @@ function EntitlementCurrencyPricesResponseDataFromJSONTyped3(json, ignoreDiscrim
10640
11069
 
10641
11070
  // src/api/componentspublic/models/EntitlementPriceBehavior.ts
10642
11071
  function EntitlementPriceBehaviorFromJSON2(json) {
10643
- return EntitlementPriceBehaviorFromJSONTyped6(json, false);
11072
+ return EntitlementPriceBehaviorFromJSONTyped8(json, false);
10644
11073
  }
10645
- function EntitlementPriceBehaviorFromJSONTyped6(json, ignoreDiscriminator) {
11074
+ function EntitlementPriceBehaviorFromJSONTyped8(json, ignoreDiscriminator) {
10646
11075
  return json;
10647
11076
  }
10648
11077
 
@@ -10709,9 +11138,9 @@ function FeatureEventSourceFromJSONTyped4(json, ignoreDiscriminator) {
10709
11138
 
10710
11139
  // src/api/componentspublic/models/FeatureType.ts
10711
11140
  function FeatureTypeFromJSON2(json) {
10712
- return FeatureTypeFromJSONTyped5(json, false);
11141
+ return FeatureTypeFromJSONTyped7(json, false);
10713
11142
  }
10714
- function FeatureTypeFromJSONTyped5(json, ignoreDiscriminator) {
11143
+ function FeatureTypeFromJSONTyped7(json, ignoreDiscriminator) {
10715
11144
  return json;
10716
11145
  }
10717
11146
 
@@ -11067,9 +11496,9 @@ function PlanEntitlementResponseDataFromJSONTyped6(json, ignoreDiscriminator) {
11067
11496
 
11068
11497
  // src/api/componentspublic/models/PlanPriceCadence.ts
11069
11498
  function PlanPriceCadenceFromJSON2(json) {
11070
- return PlanPriceCadenceFromJSONTyped5(json, false);
11499
+ return PlanPriceCadenceFromJSONTyped7(json, false);
11071
11500
  }
11072
- function PlanPriceCadenceFromJSONTyped5(json, ignoreDiscriminator) {
11501
+ function PlanPriceCadenceFromJSONTyped7(json, ignoreDiscriminator) {
11073
11502
  return json;
11074
11503
  }
11075
11504
 
@@ -16779,7 +17208,7 @@ var reducer = (state, action) => {
16779
17208
  // src/context/EmbedProvider.tsx
16780
17209
  import { jsx as jsx3, jsxs } from "react/jsx-runtime";
16781
17210
  var getCustomHeaders = (sessionId) => ({
16782
- "X-Schematic-Components-Version": "2.33.0",
17211
+ "X-Schematic-Components-Version": "2.34.0",
16783
17212
  "X-Schematic-Session-ID": sessionId
16784
17213
  });
16785
17214
  var normalizeCurrencyFilter = (filter2) => {