@streamoid/settings 0.25.1 → 0.27.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.
- package/dist/index.css +300 -0
- package/dist/index.d.mts +169 -3
- package/dist/index.d.ts +169 -3
- package/dist/index.js +2715 -2058
- package/dist/index.mjs +2788 -2131
- 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,12 +1353,32 @@ 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>;
|
|
1306
1365
|
/** Save it and return the new view. Turning it on rejects with code
|
|
1307
1366
|
* `NO_ACTIVE_SUBSCRIPTION`, `NO_PAYMENT_METHOD` or `UNSUPPORTED_CURRENCY`. */
|
|
1308
1367
|
setAutoTopUp?: (input: AutoTopUpSettings) => Promise<AutoTopUpView>;
|
|
1368
|
+
/** Start adding or replacing the card auto top-up charges (it also becomes
|
|
1369
|
+
* the subscription's card). Resolves with a Stripe Checkout URL the card
|
|
1370
|
+
* navigates to; `successUrl` and `cancelUrl` are the current page with
|
|
1371
|
+
* `card_setup` params, so pass them through unchanged. Admins only, like
|
|
1372
|
+
* `fetchAutoTopUp`. When omitted, there is no "Add card" / "Update card". */
|
|
1373
|
+
startAutoTopUpCardSetup?: (input: {
|
|
1374
|
+
successUrl: string;
|
|
1375
|
+
cancelUrl: string;
|
|
1376
|
+
}) => Promise<{
|
|
1377
|
+
url: string;
|
|
1378
|
+
}>;
|
|
1379
|
+
/** Make the card a completed setup session saved the default, and return
|
|
1380
|
+
* the new view. The card calls it when the page loads back from Stripe. */
|
|
1381
|
+
confirmAutoTopUpCardSetup?: (sessionId: string) => Promise<AutoTopUpView>;
|
|
1309
1382
|
/**
|
|
1310
1383
|
* Who this workspace shares its credits with, or whose it spends. When
|
|
1311
1384
|
* omitted, Billing hides the "Shared credits" entry.
|
|
@@ -1810,7 +1883,7 @@ declare function UsageLogsPager({ page, totalPages, total, loading, onPageChange
|
|
|
1810
1883
|
loading?: boolean;
|
|
1811
1884
|
onPageChange: (page: number) => void;
|
|
1812
1885
|
}): react__default.JSX.Element | null;
|
|
1813
|
-
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, }?: {
|
|
1814
1887
|
embedded?: boolean;
|
|
1815
1888
|
/** Controlled "plans" sub-view flag. When provided, the host (settings
|
|
1816
1889
|
* wrapper) owns it so it can hide the sub-nav + show the Plans breadcrumb. */
|
|
@@ -1825,6 +1898,11 @@ declare function BillingContent({ embedded, showPlans: showPlansProp, onShowPlan
|
|
|
1825
1898
|
* workspace is in an organization. */
|
|
1826
1899
|
showSharedCredits?: boolean;
|
|
1827
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;
|
|
1828
1906
|
/** Called once the current plan has loaded, and again when it changes:
|
|
1829
1907
|
* billing's `entitlement` (null from servers without it) and whether the
|
|
1830
1908
|
* workspace gets paid features. A workspace spending a sponsor's shared
|
|
@@ -2610,8 +2688,12 @@ interface ExportDateModalProps {
|
|
|
2610
2688
|
busyText?: string;
|
|
2611
2689
|
/** Shown under the range, e.g. why the last export did not run. */
|
|
2612
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;
|
|
2613
2695
|
}
|
|
2614
|
-
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;
|
|
2615
2697
|
|
|
2616
2698
|
type CreditCycleUnit = "month" | "year";
|
|
2617
2699
|
/**
|
|
@@ -2758,6 +2840,54 @@ declare function findBillingError(failure: unknown, codes: readonly string[]): R
|
|
|
2758
2840
|
/** Billing sub-view: per-member credit limits for the current billing cycle. */
|
|
2759
2841
|
declare function PerUserLimitsView(): react.JSX.Element;
|
|
2760
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
|
+
|
|
2761
2891
|
interface MemberCreditLimitModalProps {
|
|
2762
2892
|
open: boolean;
|
|
2763
2893
|
/** Modal title; defaults to "Set custom usage limit". */
|
|
@@ -2862,6 +2992,37 @@ declare function autoTopUpCycleText(view: Pick<AutoTopUpView, "spentThisCycleCre
|
|
|
2862
2992
|
* leaves the setting on.
|
|
2863
2993
|
*/
|
|
2864
2994
|
declare function autoTopUpCapNotice(view: Pick<AutoTopUpView, "enabled" | "lastAttempt" | "cycle" | "spentThisCycleCredits" | "packCredits" | "cycleCapCredits">, now?: Date): string | null;
|
|
2995
|
+
/**
|
|
2996
|
+
* Which card button the card shows: "add" with no card on file, "update"
|
|
2997
|
+
* beside the one shown, `null` without a paid plan (no Stripe customer to
|
|
2998
|
+
* save a card to).
|
|
2999
|
+
*/
|
|
3000
|
+
declare function autoTopUpCardAction(view: Pick<AutoTopUpView, "paidPlan" | "paymentMethod">): "add" | "update" | null;
|
|
3001
|
+
declare const CARD_SETUP_PARAM = "card_setup";
|
|
3002
|
+
declare const CARD_SETUP_SESSION_PARAM = "session_id";
|
|
3003
|
+
/**
|
|
3004
|
+
* Where Stripe returns to from adding a card: the page at `href`. The
|
|
3005
|
+
* session placeholder is appended as text, since URLSearchParams would
|
|
3006
|
+
* percent-encode its braces and Stripe would no longer replace it.
|
|
3007
|
+
*/
|
|
3008
|
+
declare function cardSetupReturnUrls(href: string): {
|
|
3009
|
+
successUrl: string;
|
|
3010
|
+
cancelUrl: string;
|
|
3011
|
+
};
|
|
3012
|
+
type CardSetupReturn = {
|
|
3013
|
+
status: "success";
|
|
3014
|
+
sessionId: string;
|
|
3015
|
+
cleanHref: string;
|
|
3016
|
+
} | {
|
|
3017
|
+
status: "cancelled";
|
|
3018
|
+
cleanHref: string;
|
|
3019
|
+
};
|
|
3020
|
+
/**
|
|
3021
|
+
* What a page loaded at `href` came back from, or `null` when it did not
|
|
3022
|
+
* come back from adding a card. `cleanHref` is the page without the params,
|
|
3023
|
+
* to replace the address with so a reload doesn't confirm again.
|
|
3024
|
+
*/
|
|
3025
|
+
declare function readCardSetupReturn(href: string): CardSetupReturn | null;
|
|
2865
3026
|
|
|
2866
3027
|
/**
|
|
2867
3028
|
* Auto top-up: when credits fall below a threshold, billing buys the chosen
|
|
@@ -2869,6 +3030,11 @@ declare function autoTopUpCapNotice(view: Pick<AutoTopUpView, "enabled" | "lastA
|
|
|
2869
3030
|
* it only for workspace or org admins. Renders nothing when the host has no
|
|
2870
3031
|
* `api.fetchAutoTopUp`. `onTopUpSettled` runs when a top-up the card watched
|
|
2871
3032
|
* finishes, so the host can reload the balance.
|
|
3033
|
+
*
|
|
3034
|
+
* With `api.startAutoTopUpCardSetup` it offers "Add card" / "Update card",
|
|
3035
|
+
* which goes to Stripe Checkout and back to this page; on the way back it
|
|
3036
|
+
* confirms the session through `api.confirmAutoTopUpCardSetup` and shows
|
|
3037
|
+
* the new card.
|
|
2872
3038
|
*/
|
|
2873
3039
|
declare function AutoTopUpCard({ onTopUpSettled }?: {
|
|
2874
3040
|
onTopUpSettled?: () => void;
|
|
@@ -3304,4 +3470,4 @@ interface AppSettingsRowProps {
|
|
|
3304
3470
|
}
|
|
3305
3471
|
declare function AppSettingsRow({ title, description, summary, href, onClick, disabled, disabledReason, ariaLabel, trailing }: AppSettingsRowProps): react.JSX.Element;
|
|
3306
3472
|
|
|
3307
|
-
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, 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, autoTopUpCycleText, autoTopUpDisabledMessage, belowUsageReason, canManageOnlyWorkspaceCreditLimit, canShowSharedCredits, capMoney, 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, 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 };
|
|
3473
|
+
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, 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 };
|