@stigg/react-sdk 8.8.0 → 8.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as _stigg_js_client_sdk from '@stigg/js-client-sdk';
2
- import { Plan, Customer, Subscription, BillingPeriod, BillableFeature, CustomerPortalSubscriptionScheduledUpdateDataFragment, PaywallCurrency, PaywallCalculatedPricePoint, PriceTierFragment, Price, CustomerPortalSubscription, FeatureEntitlementFragment, EntitlementUnionFragment, CreditEntitlementFragment, EntitlementsFallback, SubscriptionAddon, Addon, BillingAddress, SubscriptionBillingInfo, GetCheckoutState, GetCheckoutStateResults, ApplySubscription, ApplySubscriptionResults, CheckoutStatePlan, PreviewSubscription, SubscriptionPreviewV2, SubscriptionPreviewDiscount, SubscriptionPreviewTaxDetails, GetBooleanEntitlement, BooleanEntitlement, GetNumericEntitlement, NumericEntitlement, GetMeteredEntitlement, MeteredEntitlement, GetCreditEntitlement, CreditEntitlement, GetEnumEntitlement, EnumEntitlement, GetActiveSubscriptions, GetPaywall, GetCustomerPortal, CreditUsageTimeRange, GetCreditUsageInput, CursorPaging, CreditGrantFragment, PageInfoFragment } from '@stigg/js-client-sdk';
2
+ import { BillableFeature, Subscription, Plan, Customer, BillingPeriod, CustomerPortalSubscriptionScheduledUpdateDataFragment, PaywallCurrency, PaywallCalculatedPricePoint, PriceTierFragment, Price, CustomerPortalSubscription, FeatureEntitlementFragment, EntitlementUnionFragment, CreditEntitlementFragment, EntitlementsFallback, SubscriptionAddon, Addon, BillingAddress, SubscriptionBillingInfo, GetCheckoutState, GetCheckoutStateResults, ApplySubscription, ApplySubscriptionResults, CheckoutStatePlan, PreviewSubscription, SubscriptionPreviewV2, SubscriptionPreviewDiscount, SubscriptionPreviewTaxDetails, GetBooleanEntitlement, BooleanEntitlement, GetNumericEntitlement, NumericEntitlement, GetMeteredEntitlement, MeteredEntitlement, GetCreditEntitlement, CreditEntitlement, GetEnumEntitlement, EnumEntitlement, GetActiveSubscriptions, GetPaywall, GetCustomerPortal, CreditUsageTimeRange, GetCreditUsageInput, CursorPaging, CreditGrantFragment, PageInfoFragment } from '@stigg/js-client-sdk';
3
3
  export * from '@stigg/js-client-sdk';
4
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
5
  import { FeatureFragment, BillingPeriod as BillingPeriod$1, BillableFeatureInput } from '@stigg/api-client-js/src/generated/sdk';
5
6
  import react, { PropsWithChildren, ChangeEvent, ReactNode } from 'react';
6
7
  import { ConfigType } from 'dayjs';
@@ -216,7 +217,7 @@ type PaywallContainerProps = {
216
217
  currentSubscriptionOverride?: CurrentSubscriptionOverrideFn;
217
218
  skeletonPlanCount?: number;
218
219
  };
219
- declare const PaywallContainer: ({ productId, resourceId, highlightedPlanId, showOnlyEligiblePlans, textOverrides, onPlanSelected, preferredBillingPeriod, onBillingPeriodChange, billingCountryCode, shouldHidePlan, selectDefaultTierIndex, currentSubscriptionOverride: currentSubscriptionOverrideFn, hideCompatibleAddons, skeletonPlanCount, }: PaywallContainerProps) => JSX.Element;
220
+ declare const PaywallContainer: ({ productId, resourceId, highlightedPlanId, showOnlyEligiblePlans, textOverrides, onPlanSelected, preferredBillingPeriod, onBillingPeriodChange, billingCountryCode, shouldHidePlan, selectDefaultTierIndex, currentSubscriptionOverride: currentSubscriptionOverrideFn, hideCompatibleAddons, skeletonPlanCount, }: PaywallContainerProps) => react_jsx_runtime.JSX.Element;
220
221
 
221
222
  type CustomerPortalLocalization = {
222
223
  manageSubscription: string;
@@ -277,7 +278,7 @@ type CustomerPortalProps = {
277
278
  resourceId?: string;
278
279
  productId?: string;
279
280
  };
280
- declare function CustomerPortal({ textOverrides, theme, resourceId, productId, ...restProps }: CustomerPortalProps): JSX.Element;
281
+ declare function CustomerPortal({ textOverrides, theme, resourceId, productId, ...restProps }: CustomerPortalProps): react_jsx_runtime.JSX.Element;
281
282
 
282
283
  type OnManageClick = ({ intentionType }: {
283
284
  intentionType: CustomerPortalIntentionType;
@@ -291,11 +292,11 @@ type SubscriptionsOverviewProps = {
291
292
  hiddenSections?: CustomerPortalSection[];
292
293
  cancelScheduledUpdatesButtonTitle: string;
293
294
  };
294
- declare function SubscriptionsOverview({ onManageSubscription, onBuyMore, onCancelScheduledUpdates, onContactSupport, hiddenSections, cancelScheduledUpdatesButtonTitle, }: SubscriptionsOverviewProps): JSX.Element;
295
+ declare function SubscriptionsOverview({ onManageSubscription, onBuyMore, onCancelScheduledUpdates, onContactSupport, hiddenSections, cancelScheduledUpdatesButtonTitle, }: SubscriptionsOverviewProps): react_jsx_runtime.JSX.Element;
295
296
 
296
- declare function PaymentDetailsSection(): JSX.Element | null;
297
+ declare function PaymentDetailsSection(): react_jsx_runtime.JSX.Element | null;
297
298
 
298
- declare function InvoicesSection(): JSX.Element | null;
299
+ declare function InvoicesSection(): react_jsx_runtime.JSX.Element | null;
299
300
 
300
301
  type CustomerUsageDataProps = {
301
302
  onManageSubscription?: OnManageClick;
@@ -303,11 +304,11 @@ type CustomerUsageDataProps = {
303
304
  filterEntitlements?: FilterEntitlementsFn;
304
305
  filterPackageEntitlements?: FilterPackageEntitlementsFn;
305
306
  };
306
- declare function CustomerUsageData({ onManageSubscription, onBuyMore, filterEntitlements, filterPackageEntitlements, }: CustomerUsageDataProps): JSX.Element | null;
307
+ declare function CustomerUsageData({ onManageSubscription, onBuyMore, filterEntitlements, filterPackageEntitlements, }: CustomerUsageDataProps): react_jsx_runtime.JSX.Element | null;
307
308
 
308
- declare function AddonsList(): JSX.Element | null;
309
+ declare function AddonsList(): react_jsx_runtime.JSX.Element | null;
309
310
 
310
- declare function Promotions(): JSX.Element;
311
+ declare function Promotions(): react_jsx_runtime.JSX.Element;
311
312
 
312
313
  declare function CustomerPortalProvider({ children, textOverrides, theme, resourceId, productId, }: {
313
314
  children: react.ReactNode;
@@ -315,7 +316,7 @@ declare function CustomerPortalProvider({ children, textOverrides, theme, resour
315
316
  theme?: DeepPartial<CustomerPortalTheme>;
316
317
  resourceId?: string;
317
318
  productId?: string;
318
- }): JSX.Element;
319
+ }): react_jsx_runtime.JSX.Element;
319
320
 
320
321
  declare function isFeatureEntitlement(entitlement: EntitlementUnionFragment): entitlement is FeatureEntitlementFragment;
321
322
  declare function isCreditEntitlement(entitlement: EntitlementUnionFragment): entitlement is CreditEntitlementFragment;
@@ -593,7 +594,7 @@ type CheckoutContainerProps = {
593
594
  };
594
595
 
595
596
  type CheckoutProps = CheckoutProviderProps & CheckoutContainerProps & CheckoutMockProps;
596
- declare const Checkout: ({ textOverrides, theme, resourceId, planId, preferredBillingPeriod, billingCountryCode, billableFeatures, billingInformation, onMockCheckoutState, skipCheckoutSteps, onBeforeStepChange, resetBillingPeriod, ...containerProps }: CheckoutProps) => JSX.Element;
597
+ declare const Checkout: ({ textOverrides, theme, resourceId, planId, preferredBillingPeriod, billingCountryCode, billableFeatures, billingInformation, onMockCheckoutState, skipCheckoutSteps, onBeforeStepChange, resetBillingPeriod, ...containerProps }: CheckoutProps) => react_jsx_runtime.JSX.Element;
597
598
 
598
599
  declare enum ProvisionStatus {
599
600
  IN_PROGRESS = "IN_PROGRESS",
@@ -697,7 +698,7 @@ type CreditBalanceLocalization = {
697
698
  addCredits: string;
698
699
  formatResetPeriod?: (usagePeriodEnd: Date) => string;
699
700
  };
700
- declare function CreditBalance({ currencyId, localization, decimalPlaces, showUnits, onAddCredits, }: CreditBalanceProps): JSX.Element;
701
+ declare function CreditBalance({ currencyId, localization, decimalPlaces, showUnits, onAddCredits, }: CreditBalanceProps): react_jsx_runtime.JSX.Element;
701
702
 
702
703
  type CreditUsageChartLocalization = {
703
704
  title: string;
@@ -710,7 +711,7 @@ type CreditUsageChartProps = {
710
711
  localization?: Partial<CreditUsageChartLocalization>;
711
712
  };
712
713
 
713
- declare function CreditUsageChart(props: CreditUsageChartProps): JSX.Element;
714
+ declare function CreditUsageChart(props: CreditUsageChartProps): react_jsx_runtime.JSX.Element;
714
715
 
715
716
  declare function useCreditUsage(params: GetCreditUsageInput): {
716
717
  creditUsage: _stigg_js_client_sdk.CreditUsageFragment | null;
@@ -731,7 +732,7 @@ type CreditUtilizationLocalization = {
731
732
  addCredits: string;
732
733
  formatResetPeriod?: (usagePeriodEnd: Date) => string;
733
734
  };
734
- declare function CreditUtilization({ currencyId, localization, decimalPlaces, showUnits, onAddCredits, }: CreditUtilizationProps): JSX.Element;
735
+ declare function CreditUtilization({ currencyId, localization, decimalPlaces, showUnits, onAddCredits, }: CreditUtilizationProps): react_jsx_runtime.JSX.Element;
735
736
 
736
737
  type CreditGrant = Pick<CreditGrantFragment, 'grantId' | 'amount' | 'comment' | 'currencyId' | 'grantType' | 'consumedAmount' | 'automaticRechargeConfigurationId' | 'voidedAt'> & {
737
738
  effectiveAt: string;
@@ -774,7 +775,7 @@ type CreditGrantsProps = GetCreditGrantsParams & {
774
775
  localization?: Partial<CreditGrantsLocalization>;
775
776
  decimalPlaces?: number | null;
776
777
  };
777
- declare function CreditGrants({ currencyId, localization: customLocalization, decimalPlaces, pageSize, }: CreditGrantsProps): JSX.Element;
778
+ declare function CreditGrants({ currencyId, localization: customLocalization, decimalPlaces, pageSize, }: CreditGrantsProps): react_jsx_runtime.JSX.Element;
778
779
 
779
780
  declare function useCreditGrants(params: GetCreditGrantsParams): {
780
781
  creditGrants: CreditGrant[];
@@ -805,7 +806,7 @@ interface AutoRechargeStatusContentProps {
805
806
 
806
807
  type AutoRechargeStatusProps = AutoRechargeStatusContentProps;
807
808
 
808
- declare function AutoRechargeStatus(props: AutoRechargeStatusProps): JSX.Element;
809
+ declare function AutoRechargeStatus(props: AutoRechargeStatusProps): react_jsx_runtime.JSX.Element;
809
810
 
810
811
  interface AutomaticRechargeConfiguration {
811
812
  id: string;
@@ -897,9 +898,9 @@ interface AutomaticRechargeConfigProps {
897
898
  onSave?: (data: UpdateAutomaticRechargeConfigParams) => void;
898
899
  onCancel?: () => void;
899
900
  }
900
- declare function AutomaticRechargeConfig({ customerId, currencyId, currencyUnit, poolSize, readOnly, localization, onSave, onCancel, }: AutomaticRechargeConfigProps): JSX.Element;
901
+ declare function AutomaticRechargeConfig({ customerId, currencyId, currencyUnit, poolSize, readOnly, localization, onSave, onCancel, }: AutomaticRechargeConfigProps): react_jsx_runtime.JSX.Element;
901
902
 
902
- declare function AutomaticRechargeConfigForm({ customerId, currencyId, initialData, currencyUnit, poolSize, currentBalance, currentMonthlySpend, readOnly, localization, onSave, onCancel, }: AutomaticRechargeConfigFormProps): JSX.Element;
903
+ declare function AutomaticRechargeConfigForm({ customerId, currencyId, initialData, currencyUnit, poolSize, currentBalance, currentMonthlySpend, readOnly, localization, onSave, onCancel, }: AutomaticRechargeConfigFormProps): react_jsx_runtime.JSX.Element;
903
904
 
904
905
  interface UseAutomaticRechargeFormProps {
905
906
  initialData?: AutomaticRechargeConfiguration;
@@ -963,19 +964,19 @@ interface GenericTableProps<T> {
963
964
  onPageChange?: (event: any, nextPage: number) => void;
964
965
  }
965
966
 
966
- declare function GenericTable<T>({ data, headCells, isLoading, error, emptyMessage, errorMessage, onRowClick, className, skeletonRows, hideLastRowBorder, pageSize, pageNum, totalCount, onPageChange, }: GenericTableProps<T>): JSX.Element;
967
+ declare function GenericTable<T>({ data, headCells, isLoading, error, emptyMessage, errorMessage, onRowClick, className, skeletonRows, hideLastRowBorder, pageSize, pageNum, totalCount, onPageChange, }: GenericTableProps<T>): react_jsx_runtime.JSX.Element;
967
968
 
968
969
  interface ErrorStateProps {
969
970
  errorMessage?: ReactNode;
970
971
  className?: string;
971
972
  }
972
- declare function ErrorState({ errorMessage, className }: ErrorStateProps): JSX.Element;
973
+ declare function ErrorState({ errorMessage, className }: ErrorStateProps): react_jsx_runtime.JSX.Element;
973
974
 
974
975
  interface EmptyStateProps {
975
976
  message?: ReactNode;
976
977
  className?: string;
977
978
  }
978
- declare function EmptyState({ message, className }: EmptyStateProps): JSX.Element;
979
+ declare function EmptyState({ message, className }: EmptyStateProps): react_jsx_runtime.JSX.Element;
979
980
 
980
981
  /**
981
982
  * Formats a date with time in the format "MMM D, YYYY h:mmA"
@@ -1000,7 +1001,7 @@ interface StatusChipProps extends Omit<ChipProps, 'variant' | 'color'> {
1000
1001
  * @param className - Optional CSS class name
1001
1002
  * @param size - Size of the chip (defaults to 'small')
1002
1003
  */
1003
- declare function StatusChip({ variant, label, className, size, ...props }: StatusChipProps): JSX.Element;
1004
+ declare function StatusChip({ variant, label, className, size, ...props }: StatusChipProps): react_jsx_runtime.JSX.Element;
1004
1005
 
1005
1006
  declare const mapCreditGrantStatusToVariant: (status: CreditGrantStatus) => StatusChipVariant;
1006
1007
 
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as _stigg_js_client_sdk from '@stigg/js-client-sdk';
2
- import { Plan, Customer, Subscription, BillingPeriod, BillableFeature, CustomerPortalSubscriptionScheduledUpdateDataFragment, PaywallCurrency, PaywallCalculatedPricePoint, PriceTierFragment, Price, CustomerPortalSubscription, FeatureEntitlementFragment, EntitlementUnionFragment, CreditEntitlementFragment, EntitlementsFallback, SubscriptionAddon, Addon, BillingAddress, SubscriptionBillingInfo, GetCheckoutState, GetCheckoutStateResults, ApplySubscription, ApplySubscriptionResults, CheckoutStatePlan, PreviewSubscription, SubscriptionPreviewV2, SubscriptionPreviewDiscount, SubscriptionPreviewTaxDetails, GetBooleanEntitlement, BooleanEntitlement, GetNumericEntitlement, NumericEntitlement, GetMeteredEntitlement, MeteredEntitlement, GetCreditEntitlement, CreditEntitlement, GetEnumEntitlement, EnumEntitlement, GetActiveSubscriptions, GetPaywall, GetCustomerPortal, CreditUsageTimeRange, GetCreditUsageInput, CursorPaging, CreditGrantFragment, PageInfoFragment } from '@stigg/js-client-sdk';
2
+ import { BillableFeature, Subscription, Plan, Customer, BillingPeriod, CustomerPortalSubscriptionScheduledUpdateDataFragment, PaywallCurrency, PaywallCalculatedPricePoint, PriceTierFragment, Price, CustomerPortalSubscription, FeatureEntitlementFragment, EntitlementUnionFragment, CreditEntitlementFragment, EntitlementsFallback, SubscriptionAddon, Addon, BillingAddress, SubscriptionBillingInfo, GetCheckoutState, GetCheckoutStateResults, ApplySubscription, ApplySubscriptionResults, CheckoutStatePlan, PreviewSubscription, SubscriptionPreviewV2, SubscriptionPreviewDiscount, SubscriptionPreviewTaxDetails, GetBooleanEntitlement, BooleanEntitlement, GetNumericEntitlement, NumericEntitlement, GetMeteredEntitlement, MeteredEntitlement, GetCreditEntitlement, CreditEntitlement, GetEnumEntitlement, EnumEntitlement, GetActiveSubscriptions, GetPaywall, GetCustomerPortal, CreditUsageTimeRange, GetCreditUsageInput, CursorPaging, CreditGrantFragment, PageInfoFragment } from '@stigg/js-client-sdk';
3
3
  export * from '@stigg/js-client-sdk';
4
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
5
  import { FeatureFragment, BillingPeriod as BillingPeriod$1, BillableFeatureInput } from '@stigg/api-client-js/src/generated/sdk';
5
6
  import react, { PropsWithChildren, ChangeEvent, ReactNode } from 'react';
6
7
  import { ConfigType } from 'dayjs';
@@ -216,7 +217,7 @@ type PaywallContainerProps = {
216
217
  currentSubscriptionOverride?: CurrentSubscriptionOverrideFn;
217
218
  skeletonPlanCount?: number;
218
219
  };
219
- declare const PaywallContainer: ({ productId, resourceId, highlightedPlanId, showOnlyEligiblePlans, textOverrides, onPlanSelected, preferredBillingPeriod, onBillingPeriodChange, billingCountryCode, shouldHidePlan, selectDefaultTierIndex, currentSubscriptionOverride: currentSubscriptionOverrideFn, hideCompatibleAddons, skeletonPlanCount, }: PaywallContainerProps) => JSX.Element;
220
+ declare const PaywallContainer: ({ productId, resourceId, highlightedPlanId, showOnlyEligiblePlans, textOverrides, onPlanSelected, preferredBillingPeriod, onBillingPeriodChange, billingCountryCode, shouldHidePlan, selectDefaultTierIndex, currentSubscriptionOverride: currentSubscriptionOverrideFn, hideCompatibleAddons, skeletonPlanCount, }: PaywallContainerProps) => react_jsx_runtime.JSX.Element;
220
221
 
221
222
  type CustomerPortalLocalization = {
222
223
  manageSubscription: string;
@@ -277,7 +278,7 @@ type CustomerPortalProps = {
277
278
  resourceId?: string;
278
279
  productId?: string;
279
280
  };
280
- declare function CustomerPortal({ textOverrides, theme, resourceId, productId, ...restProps }: CustomerPortalProps): JSX.Element;
281
+ declare function CustomerPortal({ textOverrides, theme, resourceId, productId, ...restProps }: CustomerPortalProps): react_jsx_runtime.JSX.Element;
281
282
 
282
283
  type OnManageClick = ({ intentionType }: {
283
284
  intentionType: CustomerPortalIntentionType;
@@ -291,11 +292,11 @@ type SubscriptionsOverviewProps = {
291
292
  hiddenSections?: CustomerPortalSection[];
292
293
  cancelScheduledUpdatesButtonTitle: string;
293
294
  };
294
- declare function SubscriptionsOverview({ onManageSubscription, onBuyMore, onCancelScheduledUpdates, onContactSupport, hiddenSections, cancelScheduledUpdatesButtonTitle, }: SubscriptionsOverviewProps): JSX.Element;
295
+ declare function SubscriptionsOverview({ onManageSubscription, onBuyMore, onCancelScheduledUpdates, onContactSupport, hiddenSections, cancelScheduledUpdatesButtonTitle, }: SubscriptionsOverviewProps): react_jsx_runtime.JSX.Element;
295
296
 
296
- declare function PaymentDetailsSection(): JSX.Element | null;
297
+ declare function PaymentDetailsSection(): react_jsx_runtime.JSX.Element | null;
297
298
 
298
- declare function InvoicesSection(): JSX.Element | null;
299
+ declare function InvoicesSection(): react_jsx_runtime.JSX.Element | null;
299
300
 
300
301
  type CustomerUsageDataProps = {
301
302
  onManageSubscription?: OnManageClick;
@@ -303,11 +304,11 @@ type CustomerUsageDataProps = {
303
304
  filterEntitlements?: FilterEntitlementsFn;
304
305
  filterPackageEntitlements?: FilterPackageEntitlementsFn;
305
306
  };
306
- declare function CustomerUsageData({ onManageSubscription, onBuyMore, filterEntitlements, filterPackageEntitlements, }: CustomerUsageDataProps): JSX.Element | null;
307
+ declare function CustomerUsageData({ onManageSubscription, onBuyMore, filterEntitlements, filterPackageEntitlements, }: CustomerUsageDataProps): react_jsx_runtime.JSX.Element | null;
307
308
 
308
- declare function AddonsList(): JSX.Element | null;
309
+ declare function AddonsList(): react_jsx_runtime.JSX.Element | null;
309
310
 
310
- declare function Promotions(): JSX.Element;
311
+ declare function Promotions(): react_jsx_runtime.JSX.Element;
311
312
 
312
313
  declare function CustomerPortalProvider({ children, textOverrides, theme, resourceId, productId, }: {
313
314
  children: react.ReactNode;
@@ -315,7 +316,7 @@ declare function CustomerPortalProvider({ children, textOverrides, theme, resour
315
316
  theme?: DeepPartial<CustomerPortalTheme>;
316
317
  resourceId?: string;
317
318
  productId?: string;
318
- }): JSX.Element;
319
+ }): react_jsx_runtime.JSX.Element;
319
320
 
320
321
  declare function isFeatureEntitlement(entitlement: EntitlementUnionFragment): entitlement is FeatureEntitlementFragment;
321
322
  declare function isCreditEntitlement(entitlement: EntitlementUnionFragment): entitlement is CreditEntitlementFragment;
@@ -593,7 +594,7 @@ type CheckoutContainerProps = {
593
594
  };
594
595
 
595
596
  type CheckoutProps = CheckoutProviderProps & CheckoutContainerProps & CheckoutMockProps;
596
- declare const Checkout: ({ textOverrides, theme, resourceId, planId, preferredBillingPeriod, billingCountryCode, billableFeatures, billingInformation, onMockCheckoutState, skipCheckoutSteps, onBeforeStepChange, resetBillingPeriod, ...containerProps }: CheckoutProps) => JSX.Element;
597
+ declare const Checkout: ({ textOverrides, theme, resourceId, planId, preferredBillingPeriod, billingCountryCode, billableFeatures, billingInformation, onMockCheckoutState, skipCheckoutSteps, onBeforeStepChange, resetBillingPeriod, ...containerProps }: CheckoutProps) => react_jsx_runtime.JSX.Element;
597
598
 
598
599
  declare enum ProvisionStatus {
599
600
  IN_PROGRESS = "IN_PROGRESS",
@@ -697,7 +698,7 @@ type CreditBalanceLocalization = {
697
698
  addCredits: string;
698
699
  formatResetPeriod?: (usagePeriodEnd: Date) => string;
699
700
  };
700
- declare function CreditBalance({ currencyId, localization, decimalPlaces, showUnits, onAddCredits, }: CreditBalanceProps): JSX.Element;
701
+ declare function CreditBalance({ currencyId, localization, decimalPlaces, showUnits, onAddCredits, }: CreditBalanceProps): react_jsx_runtime.JSX.Element;
701
702
 
702
703
  type CreditUsageChartLocalization = {
703
704
  title: string;
@@ -710,7 +711,7 @@ type CreditUsageChartProps = {
710
711
  localization?: Partial<CreditUsageChartLocalization>;
711
712
  };
712
713
 
713
- declare function CreditUsageChart(props: CreditUsageChartProps): JSX.Element;
714
+ declare function CreditUsageChart(props: CreditUsageChartProps): react_jsx_runtime.JSX.Element;
714
715
 
715
716
  declare function useCreditUsage(params: GetCreditUsageInput): {
716
717
  creditUsage: _stigg_js_client_sdk.CreditUsageFragment | null;
@@ -731,7 +732,7 @@ type CreditUtilizationLocalization = {
731
732
  addCredits: string;
732
733
  formatResetPeriod?: (usagePeriodEnd: Date) => string;
733
734
  };
734
- declare function CreditUtilization({ currencyId, localization, decimalPlaces, showUnits, onAddCredits, }: CreditUtilizationProps): JSX.Element;
735
+ declare function CreditUtilization({ currencyId, localization, decimalPlaces, showUnits, onAddCredits, }: CreditUtilizationProps): react_jsx_runtime.JSX.Element;
735
736
 
736
737
  type CreditGrant = Pick<CreditGrantFragment, 'grantId' | 'amount' | 'comment' | 'currencyId' | 'grantType' | 'consumedAmount' | 'automaticRechargeConfigurationId' | 'voidedAt'> & {
737
738
  effectiveAt: string;
@@ -774,7 +775,7 @@ type CreditGrantsProps = GetCreditGrantsParams & {
774
775
  localization?: Partial<CreditGrantsLocalization>;
775
776
  decimalPlaces?: number | null;
776
777
  };
777
- declare function CreditGrants({ currencyId, localization: customLocalization, decimalPlaces, pageSize, }: CreditGrantsProps): JSX.Element;
778
+ declare function CreditGrants({ currencyId, localization: customLocalization, decimalPlaces, pageSize, }: CreditGrantsProps): react_jsx_runtime.JSX.Element;
778
779
 
779
780
  declare function useCreditGrants(params: GetCreditGrantsParams): {
780
781
  creditGrants: CreditGrant[];
@@ -805,7 +806,7 @@ interface AutoRechargeStatusContentProps {
805
806
 
806
807
  type AutoRechargeStatusProps = AutoRechargeStatusContentProps;
807
808
 
808
- declare function AutoRechargeStatus(props: AutoRechargeStatusProps): JSX.Element;
809
+ declare function AutoRechargeStatus(props: AutoRechargeStatusProps): react_jsx_runtime.JSX.Element;
809
810
 
810
811
  interface AutomaticRechargeConfiguration {
811
812
  id: string;
@@ -897,9 +898,9 @@ interface AutomaticRechargeConfigProps {
897
898
  onSave?: (data: UpdateAutomaticRechargeConfigParams) => void;
898
899
  onCancel?: () => void;
899
900
  }
900
- declare function AutomaticRechargeConfig({ customerId, currencyId, currencyUnit, poolSize, readOnly, localization, onSave, onCancel, }: AutomaticRechargeConfigProps): JSX.Element;
901
+ declare function AutomaticRechargeConfig({ customerId, currencyId, currencyUnit, poolSize, readOnly, localization, onSave, onCancel, }: AutomaticRechargeConfigProps): react_jsx_runtime.JSX.Element;
901
902
 
902
- declare function AutomaticRechargeConfigForm({ customerId, currencyId, initialData, currencyUnit, poolSize, currentBalance, currentMonthlySpend, readOnly, localization, onSave, onCancel, }: AutomaticRechargeConfigFormProps): JSX.Element;
903
+ declare function AutomaticRechargeConfigForm({ customerId, currencyId, initialData, currencyUnit, poolSize, currentBalance, currentMonthlySpend, readOnly, localization, onSave, onCancel, }: AutomaticRechargeConfigFormProps): react_jsx_runtime.JSX.Element;
903
904
 
904
905
  interface UseAutomaticRechargeFormProps {
905
906
  initialData?: AutomaticRechargeConfiguration;
@@ -963,19 +964,19 @@ interface GenericTableProps<T> {
963
964
  onPageChange?: (event: any, nextPage: number) => void;
964
965
  }
965
966
 
966
- declare function GenericTable<T>({ data, headCells, isLoading, error, emptyMessage, errorMessage, onRowClick, className, skeletonRows, hideLastRowBorder, pageSize, pageNum, totalCount, onPageChange, }: GenericTableProps<T>): JSX.Element;
967
+ declare function GenericTable<T>({ data, headCells, isLoading, error, emptyMessage, errorMessage, onRowClick, className, skeletonRows, hideLastRowBorder, pageSize, pageNum, totalCount, onPageChange, }: GenericTableProps<T>): react_jsx_runtime.JSX.Element;
967
968
 
968
969
  interface ErrorStateProps {
969
970
  errorMessage?: ReactNode;
970
971
  className?: string;
971
972
  }
972
- declare function ErrorState({ errorMessage, className }: ErrorStateProps): JSX.Element;
973
+ declare function ErrorState({ errorMessage, className }: ErrorStateProps): react_jsx_runtime.JSX.Element;
973
974
 
974
975
  interface EmptyStateProps {
975
976
  message?: ReactNode;
976
977
  className?: string;
977
978
  }
978
- declare function EmptyState({ message, className }: EmptyStateProps): JSX.Element;
979
+ declare function EmptyState({ message, className }: EmptyStateProps): react_jsx_runtime.JSX.Element;
979
980
 
980
981
  /**
981
982
  * Formats a date with time in the format "MMM D, YYYY h:mmA"
@@ -1000,7 +1001,7 @@ interface StatusChipProps extends Omit<ChipProps, 'variant' | 'color'> {
1000
1001
  * @param className - Optional CSS class name
1001
1002
  * @param size - Size of the chip (defaults to 'small')
1002
1003
  */
1003
- declare function StatusChip({ variant, label, className, size, ...props }: StatusChipProps): JSX.Element;
1004
+ declare function StatusChip({ variant, label, className, size, ...props }: StatusChipProps): react_jsx_runtime.JSX.Element;
1004
1005
 
1005
1006
  declare const mapCreditGrantStatusToVariant: (status: CreditGrantStatus) => StatusChipVariant;
1006
1007