@streamoid/settings 0.26.0 → 0.27.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.css +300 -0
- package/dist/index.d.mts +125 -3
- package/dist/index.d.ts +125 -3
- package/dist/index.js +2628 -2056
- package/dist/index.mjs +2723 -2151
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -966,6 +966,59 @@ interface WorkspaceCreditLimit {
|
|
|
966
966
|
setBy?: string;
|
|
967
967
|
updatedAt?: string;
|
|
968
968
|
}
|
|
969
|
+
/** One service within a product, e.g. Photogenix → "bg-change". */
|
|
970
|
+
interface CreditUsageService {
|
|
971
|
+
service: string;
|
|
972
|
+
/** Credits net of refunds. */
|
|
973
|
+
credits: number;
|
|
974
|
+
/** Deduct transactions. */
|
|
975
|
+
count: number;
|
|
976
|
+
}
|
|
977
|
+
/** One product (billing family: Photogenix, Artifax, …) and its services. */
|
|
978
|
+
interface CreditUsageProduct {
|
|
979
|
+
product: string;
|
|
980
|
+
credits: number;
|
|
981
|
+
count: number;
|
|
982
|
+
/** Largest first; at most 15, the rest folded into "Other". */
|
|
983
|
+
byService: CreditUsageService[];
|
|
984
|
+
}
|
|
985
|
+
/** One user's spend over the range, split by product and service. */
|
|
986
|
+
interface CreditUsageUser {
|
|
987
|
+
userId: string;
|
|
988
|
+
/** `null` when the id is not a known user (e.g. a service account). */
|
|
989
|
+
name?: string | null;
|
|
990
|
+
email?: string | null;
|
|
991
|
+
credits: number;
|
|
992
|
+
count: number;
|
|
993
|
+
byProduct: CreditUsageProduct[];
|
|
994
|
+
}
|
|
995
|
+
/**
|
|
996
|
+
* Credits a workspace's users spent over a date range, net of refunds.
|
|
997
|
+
* Mirrors billing's `GET /credits/usage-summary/:id`, with names added by the
|
|
998
|
+
* host's backend.
|
|
999
|
+
*/
|
|
1000
|
+
interface CreditUsageSummary {
|
|
1001
|
+
/** The range actually read, ISO, both ends inclusive. */
|
|
1002
|
+
range: {
|
|
1003
|
+
startDate: string;
|
|
1004
|
+
endDate: string;
|
|
1005
|
+
};
|
|
1006
|
+
totals: {
|
|
1007
|
+
credits: number;
|
|
1008
|
+
deducted: number;
|
|
1009
|
+
refunded: number;
|
|
1010
|
+
count: number;
|
|
1011
|
+
};
|
|
1012
|
+
/** Largest first. */
|
|
1013
|
+
byUser: CreditUsageUser[];
|
|
1014
|
+
/** Largest first. */
|
|
1015
|
+
byProduct: CreditUsageProduct[];
|
|
1016
|
+
}
|
|
1017
|
+
/** Both ends ISO and inclusive, at most 366 days; omit for the current billing cycle. */
|
|
1018
|
+
interface CreditUsageSummaryQuery {
|
|
1019
|
+
startDate: string;
|
|
1020
|
+
endDate: string;
|
|
1021
|
+
}
|
|
969
1022
|
/** What an admin chooses for auto top-up. Billing prices the pack itself. */
|
|
970
1023
|
interface AutoTopUpSettings {
|
|
971
1024
|
enabled: boolean;
|
|
@@ -1300,6 +1353,12 @@ interface SettingsApiAdapter {
|
|
|
1300
1353
|
* `LIMIT_BELOW_USAGE` (under `used`) or `LIMIT_ABOVE_TOTAL` (over
|
|
1301
1354
|
* `totalCredits`), each carrying `used`, `limit` and `totalCredits`. */
|
|
1302
1355
|
setWorkspaceCreditLimit?: (limit: number | null) => Promise<void>;
|
|
1356
|
+
/**
|
|
1357
|
+
* Who spent the workspace's credits, by user, product and service. Admins
|
|
1358
|
+
* only: hosts pass it only to workspace and org admins. No query = the
|
|
1359
|
+
* current billing cycle. When omitted, Billing hides "Usage analytics".
|
|
1360
|
+
*/
|
|
1361
|
+
fetchCreditUsageSummary?: (query?: CreditUsageSummaryQuery) => Promise<CreditUsageSummary>;
|
|
1303
1362
|
/** The workspace's auto top-up. Admins only: hosts pass it only to
|
|
1304
1363
|
* workspace and org admins. When omitted, there is no "Auto top-up" card. */
|
|
1305
1364
|
fetchAutoTopUp?: () => Promise<AutoTopUpView>;
|
|
@@ -1824,7 +1883,7 @@ declare function UsageLogsPager({ page, totalPages, total, loading, onPageChange
|
|
|
1824
1883
|
loading?: boolean;
|
|
1825
1884
|
onPageChange: (page: number) => void;
|
|
1826
1885
|
}): react__default.JSX.Element | null;
|
|
1827
|
-
declare function BillingContent({ embedded, showPlans: showPlansProp, onShowPlansChange, showPerUserLimits: showPerUserLimitsProp, onShowPerUserLimitsChange, showSharedCredits: showSharedCreditsProp, onShowSharedCreditsChange, onEntitlementChange, }?: {
|
|
1886
|
+
declare function BillingContent({ embedded, showPlans: showPlansProp, onShowPlansChange, showPerUserLimits: showPerUserLimitsProp, onShowPerUserLimitsChange, showSharedCredits: showSharedCreditsProp, onShowSharedCreditsChange, showUsageAnalytics: showUsageAnalyticsProp, onShowUsageAnalyticsChange, onEntitlementChange, }?: {
|
|
1828
1887
|
embedded?: boolean;
|
|
1829
1888
|
/** Controlled "plans" sub-view flag. When provided, the host (settings
|
|
1830
1889
|
* wrapper) owns it so it can hide the sub-nav + show the Plans breadcrumb. */
|
|
@@ -1839,6 +1898,11 @@ declare function BillingContent({ embedded, showPlans: showPlansProp, onShowPlan
|
|
|
1839
1898
|
* workspace is in an organization. */
|
|
1840
1899
|
showSharedCredits?: boolean;
|
|
1841
1900
|
onShowSharedCreditsChange?: (open: boolean) => void;
|
|
1901
|
+
/** Controlled "usage analytics" sub-view flag; same contract as `showPlans`.
|
|
1902
|
+
* Only reachable when `api.fetchCreditUsageSummary` exists, which hosts
|
|
1903
|
+
* pass to workspace and org admins only. */
|
|
1904
|
+
showUsageAnalytics?: boolean;
|
|
1905
|
+
onShowUsageAnalyticsChange?: (open: boolean) => void;
|
|
1842
1906
|
/** Called once the current plan has loaded, and again when it changes:
|
|
1843
1907
|
* billing's `entitlement` (null from servers without it) and whether the
|
|
1844
1908
|
* workspace gets paid features. A workspace spending a sponsor's shared
|
|
@@ -2624,8 +2688,12 @@ interface ExportDateModalProps {
|
|
|
2624
2688
|
busyText?: string;
|
|
2625
2689
|
/** Shown under the range, e.g. why the last export did not run. */
|
|
2626
2690
|
notice?: string | null;
|
|
2691
|
+
/** The button's label; "Export" by default. */
|
|
2692
|
+
confirmText?: string;
|
|
2693
|
+
/** Clicking the start day again picks that one day as the whole range. */
|
|
2694
|
+
allowSingleDay?: boolean;
|
|
2627
2695
|
}
|
|
2628
|
-
declare function ExportDateModal({ title, onClose, onExport, busy, busyText, notice, }: ExportDateModalProps): react.JSX.Element;
|
|
2696
|
+
declare function ExportDateModal({ title, onClose, onExport, busy, busyText, notice, confirmText, allowSingleDay, }: ExportDateModalProps): react.JSX.Element;
|
|
2629
2697
|
|
|
2630
2698
|
type CreditCycleUnit = "month" | "year";
|
|
2631
2699
|
/**
|
|
@@ -2772,6 +2840,54 @@ declare function findBillingError(failure: unknown, codes: readonly string[]): R
|
|
|
2772
2840
|
/** Billing sub-view: per-member credit limits for the current billing cycle. */
|
|
2773
2841
|
declare function PerUserLimitsView(): react.JSX.Element;
|
|
2774
2842
|
|
|
2843
|
+
/** Billing sub-view: who spent the workspace's credits, by product and service. */
|
|
2844
|
+
declare function UsageAnalyticsView(): react.JSX.Element;
|
|
2845
|
+
|
|
2846
|
+
/** The longest range billing will read, in days. */
|
|
2847
|
+
declare const MAX_USAGE_RANGE_DAYS = 366;
|
|
2848
|
+
/** "cycle" = the current billing cycle (no dates sent); "custom" = picked days. */
|
|
2849
|
+
type UsageRangePreset = "cycle" | "last30" | "custom";
|
|
2850
|
+
/** Today and the 29 days before it, in the user's time zone. */
|
|
2851
|
+
declare function last30DaysQuery(now: Date): CreditUsageSummaryQuery;
|
|
2852
|
+
/**
|
|
2853
|
+
* Picked days as a query, in the user's time zone: from the start of `start`'s
|
|
2854
|
+
* day to the last millisecond of `end`'s (swapped when picked backwards), or
|
|
2855
|
+
* why billing would refuse it.
|
|
2856
|
+
*/
|
|
2857
|
+
declare function customRangeQuery(start: Date, end: Date): {
|
|
2858
|
+
ok: true;
|
|
2859
|
+
query: CreditUsageSummaryQuery;
|
|
2860
|
+
} | {
|
|
2861
|
+
ok: false;
|
|
2862
|
+
reason: string;
|
|
2863
|
+
};
|
|
2864
|
+
/** "Nov 1 – Nov 30, 2026", or "Dec 20, 2025 – Jan 19, 2026" across years. */
|
|
2865
|
+
declare function formatUsageRange(range: {
|
|
2866
|
+
startDate: string;
|
|
2867
|
+
endDate: string;
|
|
2868
|
+
}): string;
|
|
2869
|
+
/** Credits as shown: at most two decimals, grouped. */
|
|
2870
|
+
declare function formatUsageCredits(value: number): string;
|
|
2871
|
+
/** A part's share of the total, 0–100; 0 when there is nothing to share. */
|
|
2872
|
+
declare function usageShare(credits: number, total: number): number;
|
|
2873
|
+
/** "42%", "<1%" for a sliver, "0%" for none. */
|
|
2874
|
+
declare function formatUsageShare(credits: number, total: number): string;
|
|
2875
|
+
/** Who a row is: name, else email, else a placeholder (the id stays in the CSV). */
|
|
2876
|
+
declare function usageUserLabel(user: Pick<CreditUsageUser, "name" | "email">): string;
|
|
2877
|
+
/** A user's biggest services across products, e.g. ["Techpack", "flat-lay"]. */
|
|
2878
|
+
declare function topUsageServices(user: CreditUsageUser, limit?: number): string[];
|
|
2879
|
+
/** True when there is nothing to show: no user and no product spent anything. */
|
|
2880
|
+
declare function isUsageSummaryEmpty(summary: CreditUsageSummary): boolean;
|
|
2881
|
+
/** e.g. "credit_usage_by_user_2026-11-01_2026-11-30.csv". */
|
|
2882
|
+
declare function usageSummaryFileName(kind: "user" | "product", range: {
|
|
2883
|
+
startDate: string;
|
|
2884
|
+
endDate: string;
|
|
2885
|
+
}): string;
|
|
2886
|
+
/** One row per user × product × service; a user with no split gets one row. */
|
|
2887
|
+
declare function usageByUserCsvRows(summary: CreditUsageSummary): string[][];
|
|
2888
|
+
/** One row per product × service. */
|
|
2889
|
+
declare function usageByProductCsvRows(summary: CreditUsageSummary): string[][];
|
|
2890
|
+
|
|
2775
2891
|
interface MemberCreditLimitModalProps {
|
|
2776
2892
|
open: boolean;
|
|
2777
2893
|
/** Modal title; defaults to "Set custom usage limit". */
|
|
@@ -2882,6 +2998,12 @@ declare function autoTopUpCapNotice(view: Pick<AutoTopUpView, "enabled" | "lastA
|
|
|
2882
2998
|
* save a card to).
|
|
2883
2999
|
*/
|
|
2884
3000
|
declare function autoTopUpCardAction(view: Pick<AutoTopUpView, "paidPlan" | "paymentMethod">): "add" | "update" | null;
|
|
3001
|
+
/**
|
|
3002
|
+
* Stripe's `card.brand` as a person reads it ("visa" → "Visa", "amex" →
|
|
3003
|
+
* "American Express"); `null` when Stripe doesn't know it, so the card says
|
|
3004
|
+
* "card" instead.
|
|
3005
|
+
*/
|
|
3006
|
+
declare function formatCardBrand(brand: string | null | undefined): string | null;
|
|
2885
3007
|
declare const CARD_SETUP_PARAM = "card_setup";
|
|
2886
3008
|
declare const CARD_SETUP_SESSION_PARAM = "session_id";
|
|
2887
3009
|
/**
|
|
@@ -3354,4 +3476,4 @@ interface AppSettingsRowProps {
|
|
|
3354
3476
|
}
|
|
3355
3477
|
declare function AppSettingsRow({ title, description, summary, href, onClick, disabled, disabledReason, ariaLabel, trailing }: AppSettingsRowProps): react.JSX.Element;
|
|
3356
3478
|
|
|
3357
|
-
export { APP_KEYS, AUTO_TOPUP_DEFAULTS, type AddCreditPoolMemberInput, AdministrationOverview, type AdministrationOverviewProps, type AdministrativeNavigationOptions, type ApiToken, type AppKey, AppSettingsHeader, type AppSettingsHeaderProps, AppSettingsPage, type AppSettingsPageProps, AppSettingsRow, type AppSettingsRowProps, AppSettingsSection, type AppSettingsSectionProps, AutoTopUpCard, type AutoTopUpSettings, type AutoTopUpValidation, type AutoTopUpView, type AvailableCreditsResponse, BILLING_TABLE_FRAME_STYLE, BILLING_TABLE_MIN_HEIGHT, BILLING_TABLE_PAGER_STYLE, BillingContent, type BillingEntitlement, type BillingEventPayload, type BillingProduct, type BillingSubscription, BuyCreditsModal, type BuyCreditsPayload, type BuyCreditsResponse, CARD_SETUP_PARAM, CARD_SETUP_SESSION_PARAM, type CardSetupReturn, ConfirmDeleteModal, ConfirmLeaveModal, type ConnectedApp, ConnectedAppsContent, type CreatedToken, type CreditCycleUnit, type CreditLimitUnit, type CreditLimitValidation, type CreditPoolCandidate, type CreditPoolFormerMember, type CreditPoolMember, CreditPoolMemberModal, type CreditPoolMemberModalProps, type CreditPoolMemberStatus, type CreditPoolMode, type CreditPoolResponse, type CreditPoolSelfShare, type CreditsMeter, type CurrentPlanState, type CustomCreditInfo, type CustomCreditResponse, DEFAULT_PERMISSIONS, DEFAULT_USER_LANGUAGE, EMPTY_USAGE_LOGS_PAGE, ExportDateModal, type FetchUsageLogs, type FetchUsageLogsInRangeOptions, INITIAL_USAGE_LOGS_STATE, INVOICE_DOWNLOAD_FAILED_MESSAGE, INVOICE_NOT_AVAILABLE_MESSAGE, InviteUpdateModal, type InvoiceDownloadKind, type InvoicePdfResponse, type LoginMethodsMember, type LoginMethodsSettings, type LoginMethodsSwitchState, MOCK_REFERRED_USERS, type MemberCreditLimit, MemberCreditLimitModal, type MemberCreditLimitRow, type MemberCreditLimitSource, type MemberCreditLimitsResponse, MemberListFrame, type MemberListFrameProps, type MemberListTab, MemberListToolbar, type MemberListToolbarProps, type MemberPermissionsPayload, OrganizationContent, type OrganizationData, type OrganizationDetails, OrganizationIntegrationsContent, type OrganizationInvite, type OrganizationJoinRequest, type OrganizationJoinableWorkspace, OrganizationLoginMethodsContent, type OrganizationMember, OrganizationMemberModal, type OrganizationMemberModalProps, type OrganizationMemberRole, OrganizationModal, OrganizationPicker, type OrganizationPickerItem, type OrganizationPickerProps, type OrganizationPickerType, type OrganizationView, type OrganizationWorkspaceItem, POOL_ERROR_CODES, POOL_EXPIRY_MAX_MONTHS, POOL_NOTE_MAX_LENGTH, PerUserLimitsView, type PoolEndsAtResult, type PoolErrorCode, type PoolExpiryChoice, type PoolValueValidation, type Price, type PriceMetadata, type ProductsResponse, ProfileAvatar, ProfileTab, REMOVE_REASON_MAX_LENGTH, ReferralHistoryView, type ReferralHistoryViewProps, ReferralTab, type ReferredUser, RemovePoolMemberModal, type RemovePoolMemberModalProps, RemoveSelfShareModal, type RemoveSelfShareModalProps, SCOPE_LABELS, ScopeHeader, type ScopeHeaderProps, type ServiceItem, type SetCreditPoolSelfShareInput, type SettingsAdapters, SettingsAdaptersProvider, type SettingsApiAdapter, type SettingsAuthAdapter, type SettingsAuthUser, SettingsContent, type SettingsContentProps, type SettingsImageUploadAdapter, type SettingsIntegrationsAdapter, type SettingsLoginMethodsAdapter, type SettingsNavigationAdapter, type SettingsOrganizationAdapter, type SettingsOrganizationCreateOptions, type SettingsOrganizationCurrent, type SettingsOrganizationJoinableItem, type SettingsOrganizationListItem, type SettingsOrganizationType, type SettingsOrganizationWorkspaceJoin, type SettingsScope, type SettingsTab, type SettingsToastAdapter, SettingsTooltip, type SettingsTooltipPlacement, type SettingsTooltipProps, type SettingsWorkspaceAdapter, type SettingsWorkspaceCurrent, type SettingsWorkspaceListItem, SharedCreditsView, type SharedPoolBalance, SiconKey, type SponsorShareBalance, type StoreItem, type SubscriptionPlan, type SubscriptionResponse, TAB_DESCRIPTIONS, TAB_LABELS, TAB_SCOPE, TAB_TO_URL, type TeamMember, TeamsContent, type TokenExpiry, TokensContent, URL_TO_TAB, USAGE_LOGS_EXPORT_BATCH_SIZE, USAGE_LOGS_EXPORT_EXTRA_REQUESTS, USAGE_LOGS_EXPORT_MAX_ROWS, USAGE_LOGS_PAGE_SIZE, USER_LANGUAGES, type UpdateCreditPoolMemberInput, type UpdateSubscriptionPayload, type UpdateSubscriptionResponse, type UsageHistoryItem, type UsageHistoryPagination, type UsageHistoryResponse, type UsageLogsAction, type UsageLogsExportResult, type UsageLogsPage, UsageLogsPager, type UsageLogsQuery, type UsageLogsState, UsageLogsTable, type UsedByNamesLoader, type UserLanguage, type UserPermissions, WORKSPACE_CREDIT_LIMIT_REACHED, WORKSPACE_CREDIT_LIMIT_REACHED_MESSAGE, WORKSPACE_LIST_PAGE_SIZE, type WorkspaceCreditLimit, WorkspaceCreditLimitCard, type WorkspaceCreditLimitSummary, type WorkspaceData, WorkspaceGeneralTab, type WorkspaceGeneralTabProps, type WorkspaceInvite, type WorkspaceListOrganization, WorkspaceListTab, type WorkspaceMember, WorkspaceModal, type WorkspaceOrganization, type WorkspaceOrganizationRequest, WorkspacePicker, type WorkspacePickerGroup, type WorkspacePickerItem, type WorkspacePickerProps, WorkspaceTab, type WorkspaceUsageResponse, aboveTotalReason, autoTopUpBlockedReason, autoTopUpCapNotice, autoTopUpCardAction, autoTopUpCycleText, autoTopUpDisabledMessage, belowUsageReason, canManageOnlyWorkspaceCreditLimit, canShowSharedCredits, capMoney, cardSetupReturnUrls, checkPoolPercentTotal, cleanAutoTopUpInput, cleanCreditLimitInput, cleanPoolValueInput, countLabel, createUsedByNamesLoader, creditCycleUnit, creditsMeter, deriveWorkspaceInvitePermission, describeAllowance, describeDefaultLimit, describeMemberLimit, describeWorkspaceCreditLimit, entitlementFromBody, entitlementFromFailure, expiryChoiceFor, fetchUsageLogsInRange, findBillingError, findPoolError, formatAutoTopUpMoney, formatCreditLimit, formatCredits, formatPackOption, formatPoolEndsAt, formatPoolSplit, groupWorkspaceList, hasPaidFeatures, inviteUpdate, invoiceDownloadKind, isLimitAboveTotal, isLimitBelowUsage, isPaidPlan, isSponsoredEntitlement, isWorkspaceCreditLimitReached, joinMembersWithLimits, lastUsedLabel, limitAboveTotalTotal, limitBelowUsageUsed, limitSourceLabel, loadCurrentPlan, loadWorkspaceOrganization, loginMethodsSwitchState, maximumCreditLimit, memberRoleUpdate, minPoolEndDate, minimumCreditLimit, ownCreditsFirstText, parseBillingEntitlement, parseInviteEmails, pausedOwnCreditsText, poolAllocatedPercent, poolAllocationText, poolEndsAtFrom, poolErrorMessage, poolRenewsAtCycleEnd, poolSharesCredits, poolUnallocatedPercent, poolWorkspaceName, productsForCountry, readCardSetupReturn, readSettingsCaller, referralCodeOf, referralCountLabel, referralLink, referralSignupDate, rememberSettingsCaller, resolveSettingsTabFromPath, roundCredits, settingsReturnTarget, sharedPoolBannerText, sharedPoolEndsText, sliceUsageLogsPage, sortReferredUsers, sponsorShareBannerText, sponsorShareDetailText, sponsorShareSpentText, sponsoredCreditsText, ssoLabel, toCsv, toLocalDateInput, usageLogsCsvRows, usageLogsDateRange, usageLogsExportFileName, usageLogsPage, usageLogsReducer, usageLogsReloadPage, usageLogsShowWorkspace, usageLogsSpentByOthers, useBillingEntitlement, useSettingsAdapters, useWorkspaceInvitePermission, useWorkspaceOrganization, usedByNamesFrom, usedByWorkspaceKey, userLanguageLabel, validateAutoTopUpInput, validateCreditLimitInput, validateDefaultCreditLimitInput, validatePoolText, validatePoolValue };
|
|
3479
|
+
export { APP_KEYS, AUTO_TOPUP_DEFAULTS, type AddCreditPoolMemberInput, AdministrationOverview, type AdministrationOverviewProps, type AdministrativeNavigationOptions, type ApiToken, type AppKey, AppSettingsHeader, type AppSettingsHeaderProps, AppSettingsPage, type AppSettingsPageProps, AppSettingsRow, type AppSettingsRowProps, AppSettingsSection, type AppSettingsSectionProps, AutoTopUpCard, type AutoTopUpSettings, type AutoTopUpValidation, type AutoTopUpView, type AvailableCreditsResponse, BILLING_TABLE_FRAME_STYLE, BILLING_TABLE_MIN_HEIGHT, BILLING_TABLE_PAGER_STYLE, BillingContent, type BillingEntitlement, type BillingEventPayload, type BillingProduct, type BillingSubscription, BuyCreditsModal, type BuyCreditsPayload, type BuyCreditsResponse, CARD_SETUP_PARAM, CARD_SETUP_SESSION_PARAM, type CardSetupReturn, ConfirmDeleteModal, ConfirmLeaveModal, type ConnectedApp, ConnectedAppsContent, type CreatedToken, type CreditCycleUnit, type CreditLimitUnit, type CreditLimitValidation, type CreditPoolCandidate, type CreditPoolFormerMember, type CreditPoolMember, CreditPoolMemberModal, type CreditPoolMemberModalProps, type CreditPoolMemberStatus, type CreditPoolMode, type CreditPoolResponse, type CreditPoolSelfShare, type CreditUsageProduct, type CreditUsageService, type CreditUsageSummary, type CreditUsageSummaryQuery, type CreditUsageUser, type CreditsMeter, type CurrentPlanState, type CustomCreditInfo, type CustomCreditResponse, DEFAULT_PERMISSIONS, DEFAULT_USER_LANGUAGE, EMPTY_USAGE_LOGS_PAGE, ExportDateModal, type FetchUsageLogs, type FetchUsageLogsInRangeOptions, INITIAL_USAGE_LOGS_STATE, INVOICE_DOWNLOAD_FAILED_MESSAGE, INVOICE_NOT_AVAILABLE_MESSAGE, InviteUpdateModal, type InvoiceDownloadKind, type InvoicePdfResponse, type LoginMethodsMember, type LoginMethodsSettings, type LoginMethodsSwitchState, MAX_USAGE_RANGE_DAYS, MOCK_REFERRED_USERS, type MemberCreditLimit, MemberCreditLimitModal, type MemberCreditLimitRow, type MemberCreditLimitSource, type MemberCreditLimitsResponse, MemberListFrame, type MemberListFrameProps, type MemberListTab, MemberListToolbar, type MemberListToolbarProps, type MemberPermissionsPayload, OrganizationContent, type OrganizationData, type OrganizationDetails, OrganizationIntegrationsContent, type OrganizationInvite, type OrganizationJoinRequest, type OrganizationJoinableWorkspace, OrganizationLoginMethodsContent, type OrganizationMember, OrganizationMemberModal, type OrganizationMemberModalProps, type OrganizationMemberRole, OrganizationModal, OrganizationPicker, type OrganizationPickerItem, type OrganizationPickerProps, type OrganizationPickerType, type OrganizationView, type OrganizationWorkspaceItem, POOL_ERROR_CODES, POOL_EXPIRY_MAX_MONTHS, POOL_NOTE_MAX_LENGTH, PerUserLimitsView, type PoolEndsAtResult, type PoolErrorCode, type PoolExpiryChoice, type PoolValueValidation, type Price, type PriceMetadata, type ProductsResponse, ProfileAvatar, ProfileTab, REMOVE_REASON_MAX_LENGTH, ReferralHistoryView, type ReferralHistoryViewProps, ReferralTab, type ReferredUser, RemovePoolMemberModal, type RemovePoolMemberModalProps, RemoveSelfShareModal, type RemoveSelfShareModalProps, SCOPE_LABELS, ScopeHeader, type ScopeHeaderProps, type ServiceItem, type SetCreditPoolSelfShareInput, type SettingsAdapters, SettingsAdaptersProvider, type SettingsApiAdapter, type SettingsAuthAdapter, type SettingsAuthUser, SettingsContent, type SettingsContentProps, type SettingsImageUploadAdapter, type SettingsIntegrationsAdapter, type SettingsLoginMethodsAdapter, type SettingsNavigationAdapter, type SettingsOrganizationAdapter, type SettingsOrganizationCreateOptions, type SettingsOrganizationCurrent, type SettingsOrganizationJoinableItem, type SettingsOrganizationListItem, type SettingsOrganizationType, type SettingsOrganizationWorkspaceJoin, type SettingsScope, type SettingsTab, type SettingsToastAdapter, SettingsTooltip, type SettingsTooltipPlacement, type SettingsTooltipProps, type SettingsWorkspaceAdapter, type SettingsWorkspaceCurrent, type SettingsWorkspaceListItem, SharedCreditsView, type SharedPoolBalance, SiconKey, type SponsorShareBalance, type StoreItem, type SubscriptionPlan, type SubscriptionResponse, TAB_DESCRIPTIONS, TAB_LABELS, TAB_SCOPE, TAB_TO_URL, type TeamMember, TeamsContent, type TokenExpiry, TokensContent, URL_TO_TAB, USAGE_LOGS_EXPORT_BATCH_SIZE, USAGE_LOGS_EXPORT_EXTRA_REQUESTS, USAGE_LOGS_EXPORT_MAX_ROWS, USAGE_LOGS_PAGE_SIZE, USER_LANGUAGES, type UpdateCreditPoolMemberInput, type UpdateSubscriptionPayload, type UpdateSubscriptionResponse, UsageAnalyticsView, type UsageHistoryItem, type UsageHistoryPagination, type UsageHistoryResponse, type UsageLogsAction, type UsageLogsExportResult, type UsageLogsPage, UsageLogsPager, type UsageLogsQuery, type UsageLogsState, UsageLogsTable, type UsageRangePreset, type UsedByNamesLoader, type UserLanguage, type UserPermissions, WORKSPACE_CREDIT_LIMIT_REACHED, WORKSPACE_CREDIT_LIMIT_REACHED_MESSAGE, WORKSPACE_LIST_PAGE_SIZE, type WorkspaceCreditLimit, WorkspaceCreditLimitCard, type WorkspaceCreditLimitSummary, type WorkspaceData, WorkspaceGeneralTab, type WorkspaceGeneralTabProps, type WorkspaceInvite, type WorkspaceListOrganization, WorkspaceListTab, type WorkspaceMember, WorkspaceModal, type WorkspaceOrganization, type WorkspaceOrganizationRequest, WorkspacePicker, type WorkspacePickerGroup, type WorkspacePickerItem, type WorkspacePickerProps, WorkspaceTab, type WorkspaceUsageResponse, aboveTotalReason, autoTopUpBlockedReason, autoTopUpCapNotice, autoTopUpCardAction, autoTopUpCycleText, autoTopUpDisabledMessage, belowUsageReason, canManageOnlyWorkspaceCreditLimit, canShowSharedCredits, capMoney, cardSetupReturnUrls, checkPoolPercentTotal, cleanAutoTopUpInput, cleanCreditLimitInput, cleanPoolValueInput, countLabel, createUsedByNamesLoader, creditCycleUnit, creditsMeter, customRangeQuery, deriveWorkspaceInvitePermission, describeAllowance, describeDefaultLimit, describeMemberLimit, describeWorkspaceCreditLimit, entitlementFromBody, entitlementFromFailure, expiryChoiceFor, fetchUsageLogsInRange, findBillingError, findPoolError, formatAutoTopUpMoney, formatCardBrand, formatCreditLimit, formatCredits, formatPackOption, formatPoolEndsAt, formatPoolSplit, formatUsageCredits, formatUsageRange, formatUsageShare, groupWorkspaceList, hasPaidFeatures, inviteUpdate, invoiceDownloadKind, isLimitAboveTotal, isLimitBelowUsage, isPaidPlan, isSponsoredEntitlement, isUsageSummaryEmpty, isWorkspaceCreditLimitReached, joinMembersWithLimits, last30DaysQuery, lastUsedLabel, limitAboveTotalTotal, limitBelowUsageUsed, limitSourceLabel, loadCurrentPlan, loadWorkspaceOrganization, loginMethodsSwitchState, maximumCreditLimit, memberRoleUpdate, minPoolEndDate, minimumCreditLimit, ownCreditsFirstText, parseBillingEntitlement, parseInviteEmails, pausedOwnCreditsText, poolAllocatedPercent, poolAllocationText, poolEndsAtFrom, poolErrorMessage, poolRenewsAtCycleEnd, poolSharesCredits, poolUnallocatedPercent, poolWorkspaceName, productsForCountry, readCardSetupReturn, readSettingsCaller, referralCodeOf, referralCountLabel, referralLink, referralSignupDate, rememberSettingsCaller, resolveSettingsTabFromPath, roundCredits, settingsReturnTarget, sharedPoolBannerText, sharedPoolEndsText, sliceUsageLogsPage, sortReferredUsers, sponsorShareBannerText, sponsorShareDetailText, sponsorShareSpentText, sponsoredCreditsText, ssoLabel, toCsv, toLocalDateInput, topUsageServices, usageByProductCsvRows, usageByUserCsvRows, usageLogsCsvRows, usageLogsDateRange, usageLogsExportFileName, usageLogsPage, usageLogsReducer, usageLogsReloadPage, usageLogsShowWorkspace, usageLogsSpentByOthers, usageShare, usageSummaryFileName, usageUserLabel, useBillingEntitlement, useSettingsAdapters, useWorkspaceInvitePermission, useWorkspaceOrganization, usedByNamesFrom, usedByWorkspaceKey, userLanguageLabel, validateAutoTopUpInput, validateCreditLimitInput, validateDefaultCreditLimitInput, validatePoolText, validatePoolValue };
|