@xenide-io/suite-client 0.5.0 → 0.6.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.d.mts +126 -1
- package/dist/index.d.ts +126 -1
- package/dist/index.js +373 -20
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +363 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -327,6 +327,88 @@ declare function createWorkspaceAppearanceApi(config: WorkspaceAppearanceApiConf
|
|
|
327
327
|
cacheWorkspaceAppearanceLocally: (appearance: WorkspaceAppearance) => void;
|
|
328
328
|
};
|
|
329
329
|
|
|
330
|
+
/** How long a persisted read-model snapshot may be shown after a reload. */
|
|
331
|
+
declare const SUITE_QUERY_CACHE_MAX_AGE_MS: number;
|
|
332
|
+
type QueryKeyPart = string | readonly string[];
|
|
333
|
+
interface PersistableQuery {
|
|
334
|
+
queryKey: readonly unknown[];
|
|
335
|
+
state: {
|
|
336
|
+
status: string;
|
|
337
|
+
data: unknown;
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
interface PersistableQueryClient {
|
|
341
|
+
getQueryCache(): {
|
|
342
|
+
getAll(): PersistableQuery[];
|
|
343
|
+
subscribe(listener: () => void): () => void;
|
|
344
|
+
};
|
|
345
|
+
setQueryData(queryKey: readonly unknown[], data: unknown): unknown;
|
|
346
|
+
invalidateQueries(filters: {
|
|
347
|
+
queryKey: readonly unknown[];
|
|
348
|
+
refetchType: 'none';
|
|
349
|
+
}): Promise<unknown>;
|
|
350
|
+
}
|
|
351
|
+
interface PersistSuiteQueriesOptions {
|
|
352
|
+
/** localStorage key, including a version. */
|
|
353
|
+
storageKey: string;
|
|
354
|
+
/** Access-token localStorage key. The JWT `sub` is the user half of the buster. */
|
|
355
|
+
tokenKey: string;
|
|
356
|
+
/** Active workspace localStorage key. */
|
|
357
|
+
workspaceKey: string;
|
|
358
|
+
/**
|
|
359
|
+
* Query keys to keep. A string matches `queryKey[0]`. A list matches a prefix,
|
|
360
|
+
* so `['tt', 'tracker-catalog']` does not keep `['tt', 'time-entries']`.
|
|
361
|
+
*/
|
|
362
|
+
allow: readonly QueryKeyPart[];
|
|
363
|
+
maxAgeMs?: number;
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* User and workspace identity for a snapshot. Empty when the tab is signed out,
|
|
367
|
+
* which refuses both restore and write.
|
|
368
|
+
*/
|
|
369
|
+
declare function suiteCacheBuster(tokenKey: string, workspaceKey: string): string;
|
|
370
|
+
declare function readJsonSnapshot<T>(key: string, buster: string, maxAgeMs: number): T | null;
|
|
371
|
+
declare function writeJsonSnapshot(key: string, buster: string, value: unknown): void;
|
|
372
|
+
/**
|
|
373
|
+
* Restore an allow-listed query cache, then keep writing it. Restored queries
|
|
374
|
+
* are marked stale so the next mount refetches without hiding the snapshot.
|
|
375
|
+
* Returns an unsubscribe.
|
|
376
|
+
*/
|
|
377
|
+
declare function persistSuiteQueries(queryClient: PersistableQueryClient, options: PersistSuiteQueriesOptions): () => void;
|
|
378
|
+
/** Per-app browser cache. Live operational keys are intentionally absent. */
|
|
379
|
+
declare const SUITE_APP_QUERY_CACHES: {
|
|
380
|
+
readonly kraken: {
|
|
381
|
+
readonly storageKey: "kraken-query-cache:v1";
|
|
382
|
+
readonly tokenKey: "kraken_access_token";
|
|
383
|
+
readonly workspaceKey: "kraken_active_workspace_id";
|
|
384
|
+
readonly allow: readonly ["kraken-sidebar"];
|
|
385
|
+
};
|
|
386
|
+
readonly shellstack: {
|
|
387
|
+
readonly storageKey: "shellstack-query-cache:v1";
|
|
388
|
+
readonly tokenKey: "portal_access_token";
|
|
389
|
+
readonly workspaceKey: "portal_active_workspace_id";
|
|
390
|
+
readonly allow: readonly ["calendar-events", "org-workspaces", "organisation", "org-team", "directory"];
|
|
391
|
+
};
|
|
392
|
+
readonly tides: {
|
|
393
|
+
readonly storageKey: "tides-query-cache:v1";
|
|
394
|
+
readonly tokenKey: "tides_access_token";
|
|
395
|
+
readonly workspaceKey: "tides_active_workspace_id";
|
|
396
|
+
readonly allow: readonly [readonly ["tides", "projects"], readonly ["tides", "clients"], readonly ["tides", "workspace-members"], readonly ["tides", "workspace-tags"], readonly ["tides", "project-statuses"]];
|
|
397
|
+
};
|
|
398
|
+
readonly turtletime: {
|
|
399
|
+
readonly storageKey: "tt-query-cache:v1";
|
|
400
|
+
readonly tokenKey: "tt_access_token";
|
|
401
|
+
readonly workspaceKey: "tt_active_workspace_id";
|
|
402
|
+
readonly allow: readonly [readonly ["tt", "tracker-catalog"], readonly ["tt", "projects"], readonly ["tt", "clients"], readonly ["tt", "categories"]];
|
|
403
|
+
};
|
|
404
|
+
readonly shelly: {
|
|
405
|
+
readonly storageKey: "shelly-query-cache:v1";
|
|
406
|
+
readonly tokenKey: "shelly_access_token";
|
|
407
|
+
readonly workspaceKey: "shelly_active_workspace_id";
|
|
408
|
+
readonly allow: readonly [readonly ["shelly", "skills"], readonly ["shelly", "crews"], readonly ["shelly", "mcp-servers"], readonly ["shelly", "models"]];
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
|
|
330
412
|
type CrossAppSyncTopic = 'time' | 'integration' | 'tasks';
|
|
331
413
|
interface CrossAppSyncConfig {
|
|
332
414
|
api: Api;
|
|
@@ -361,6 +443,37 @@ declare function createLiveRefresh(sync: CrossAppSync): {
|
|
|
361
443
|
hasPendingCrossAppSync: (topic: CrossAppSyncTopic | undefined, since: number) => boolean;
|
|
362
444
|
};
|
|
363
445
|
|
|
446
|
+
interface SuiteRevisionMap {
|
|
447
|
+
documents: number;
|
|
448
|
+
calendar: number;
|
|
449
|
+
notifications: number;
|
|
450
|
+
tasks: number;
|
|
451
|
+
time: number;
|
|
452
|
+
catalogue: number;
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* First successful poll is the baseline and refreshes nothing. Later polls
|
|
456
|
+
* report only topics whose integer moved, so unchanged lists are not refetched.
|
|
457
|
+
*/
|
|
458
|
+
declare function nextRevisionTick(seen: Record<string, number>, ready: boolean, data: Partial<SuiteRevisionMap> | null): {
|
|
459
|
+
seen: Record<string, number>;
|
|
460
|
+
ready: boolean;
|
|
461
|
+
changed: string[];
|
|
462
|
+
};
|
|
463
|
+
/**
|
|
464
|
+
* Poll workspace revisions and report topics whose integer moved.
|
|
465
|
+
* The first successful read is the baseline, so a reload does not refetch
|
|
466
|
+
* everything the snapshot already painted.
|
|
467
|
+
*/
|
|
468
|
+
declare function useSuiteRevisions(options: {
|
|
469
|
+
enabled: boolean;
|
|
470
|
+
/** Workspace (or other) id. Changing it refetches, so the previous workspace cannot stay on screen. */
|
|
471
|
+
scope?: string;
|
|
472
|
+
load: () => Promise<Partial<SuiteRevisionMap> | null>;
|
|
473
|
+
onTopic: (topic: string) => void;
|
|
474
|
+
pollMs?: number;
|
|
475
|
+
}): void;
|
|
476
|
+
|
|
364
477
|
/** Cross-app (suite) notification from `/api/notifications/` — shared across ShellStack apps. */
|
|
365
478
|
interface SuiteNotification {
|
|
366
479
|
id: string;
|
|
@@ -421,6 +534,18 @@ declare function createWebPushClient(config: WebPushClientConfig): {
|
|
|
421
534
|
disable: () => Promise<void>;
|
|
422
535
|
};
|
|
423
536
|
|
|
537
|
+
interface EmailNotificationPreference {
|
|
538
|
+
enabled: boolean;
|
|
539
|
+
busy: boolean;
|
|
540
|
+
error: string;
|
|
541
|
+
onChange: (enabled: boolean) => void;
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* Loads and saves the signed-in person's email notification preference.
|
|
545
|
+
* The preference is shared across suite apps.
|
|
546
|
+
*/
|
|
547
|
+
declare function useEmailNotificationPreference(api: Api, parseApiError: (res: Response) => Promise<string>): EmailNotificationPreference;
|
|
548
|
+
|
|
424
549
|
type SuiteAiJobEvent = {
|
|
425
550
|
sequence: number;
|
|
426
551
|
event_type: 'queued' | 'started' | 'progress' | 'tool' | 'completed' | 'failed' | 'cancelled';
|
|
@@ -481,4 +606,4 @@ declare function createJsonLd(config: JsonLdConfig): string;
|
|
|
481
606
|
|
|
482
607
|
declare function useIsNight(): boolean;
|
|
483
608
|
|
|
484
|
-
export { type AnalyticsClient, type AnalyticsClientConfig, type AnalyticsContextHeaders, type AnalyticsProperties, type Api, type ApiAnalyticsEventSink, type ApiClient, type ApiClientConfig, type ApiFetchInit, type AppError, type AuthReturnPath, type AuthReturnPathConfig, type BrandSettings, type BrandSettingsConfig, type CrossAppSync, type CrossAppSyncConfig, type CrossAppSyncTopic, DEFAULT_ERROR_CODE, ERROR_CODES, ERROR_COPY, ERROR_RETRYABLE, type ErrorCode, FREE_PLAN_SEAT_HELP, type JsonLdConfig, type LiveRefresh, type LiveRefreshOptions, type NotificationsClient, type NotificationsClientConfig, ORGANISATION_SEAT_HELP, type PortalHandoffPayload, type PortalHandoffRead, type SeatType, type SubscriptionTier, type SuiteAiJob, type SuiteAiJobEvent, type SuiteNotification, type SuiteNotificationsResponse, TIDES_ACCESS_HELP, TURTLETIME_ACCESS_HELP, WEBHOOK_ACTIVITY_ACTIONS, WORKSPACE_SEAT_HELP, type WebPushClient, type WebPushClientConfig, type WebPushConfig, type WebPushState, type WorkspaceAppearance, type WorkspaceAppearanceApiConfig, type WorkspaceAppearanceConfig, WorkspaceAppearanceError, type WorkspaceAppearanceHelpers, type WorkspaceAppearancePatch, type WorkspaceBrandPayload, type WorkspaceSubscription, type WorkspaceTheme, activeSuiteAiJobs, appErrorFromResponse, canDisableAppAccess, codeForStatus, copyFor, createAnalyticsClient, createApiClient, createAuthReturnPath, createBrandSettings, createCrossAppSync, createJsonLd, createLiveRefresh, createNotificationsClient, createWebPushClient, createWorkspaceAppearance, createWorkspaceAppearanceApi, defaultInviteSeatType, emailDomain, flagsFromSeatType, formatAppError, hasAppAccess, isErrorCode, normalizeError, normalizeThrown, planSeatSummary, resolveSubscriptionTier, seatTypeDescription, seatTypeFromFlags, seatTypeLabel, selectedToWebhookActions, sortedSuiteAiEvents, suiteAiEventSummary, tierAllowsTidesOnlySeats, tierAllowsTurtletime, tierLabel, useIsNight, webhookActionsToSelected };
|
|
609
|
+
export { type AnalyticsClient, type AnalyticsClientConfig, type AnalyticsContextHeaders, type AnalyticsProperties, type Api, type ApiAnalyticsEventSink, type ApiClient, type ApiClientConfig, type ApiFetchInit, type AppError, type AuthReturnPath, type AuthReturnPathConfig, type BrandSettings, type BrandSettingsConfig, type CrossAppSync, type CrossAppSyncConfig, type CrossAppSyncTopic, DEFAULT_ERROR_CODE, ERROR_CODES, ERROR_COPY, ERROR_RETRYABLE, type EmailNotificationPreference, type ErrorCode, FREE_PLAN_SEAT_HELP, type JsonLdConfig, type LiveRefresh, type LiveRefreshOptions, type NotificationsClient, type NotificationsClientConfig, ORGANISATION_SEAT_HELP, type PersistSuiteQueriesOptions, type PersistableQuery, type PersistableQueryClient, type PortalHandoffPayload, type PortalHandoffRead, type QueryKeyPart, SUITE_APP_QUERY_CACHES, SUITE_QUERY_CACHE_MAX_AGE_MS, type SeatType, type SubscriptionTier, type SuiteAiJob, type SuiteAiJobEvent, type SuiteNotification, type SuiteNotificationsResponse, type SuiteRevisionMap, TIDES_ACCESS_HELP, TURTLETIME_ACCESS_HELP, WEBHOOK_ACTIVITY_ACTIONS, WORKSPACE_SEAT_HELP, type WebPushClient, type WebPushClientConfig, type WebPushConfig, type WebPushState, type WorkspaceAppearance, type WorkspaceAppearanceApiConfig, type WorkspaceAppearanceConfig, WorkspaceAppearanceError, type WorkspaceAppearanceHelpers, type WorkspaceAppearancePatch, type WorkspaceBrandPayload, type WorkspaceSubscription, type WorkspaceTheme, activeSuiteAiJobs, appErrorFromResponse, canDisableAppAccess, codeForStatus, copyFor, createAnalyticsClient, createApiClient, createAuthReturnPath, createBrandSettings, createCrossAppSync, createJsonLd, createLiveRefresh, createNotificationsClient, createWebPushClient, createWorkspaceAppearance, createWorkspaceAppearanceApi, defaultInviteSeatType, emailDomain, flagsFromSeatType, formatAppError, hasAppAccess, isErrorCode, nextRevisionTick, normalizeError, normalizeThrown, persistSuiteQueries, planSeatSummary, readJsonSnapshot, resolveSubscriptionTier, seatTypeDescription, seatTypeFromFlags, seatTypeLabel, selectedToWebhookActions, sortedSuiteAiEvents, suiteAiEventSummary, suiteCacheBuster, tierAllowsTidesOnlySeats, tierAllowsTurtletime, tierLabel, useEmailNotificationPreference, useIsNight, useSuiteRevisions, webhookActionsToSelected, writeJsonSnapshot };
|
package/dist/index.d.ts
CHANGED
|
@@ -327,6 +327,88 @@ declare function createWorkspaceAppearanceApi(config: WorkspaceAppearanceApiConf
|
|
|
327
327
|
cacheWorkspaceAppearanceLocally: (appearance: WorkspaceAppearance) => void;
|
|
328
328
|
};
|
|
329
329
|
|
|
330
|
+
/** How long a persisted read-model snapshot may be shown after a reload. */
|
|
331
|
+
declare const SUITE_QUERY_CACHE_MAX_AGE_MS: number;
|
|
332
|
+
type QueryKeyPart = string | readonly string[];
|
|
333
|
+
interface PersistableQuery {
|
|
334
|
+
queryKey: readonly unknown[];
|
|
335
|
+
state: {
|
|
336
|
+
status: string;
|
|
337
|
+
data: unknown;
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
interface PersistableQueryClient {
|
|
341
|
+
getQueryCache(): {
|
|
342
|
+
getAll(): PersistableQuery[];
|
|
343
|
+
subscribe(listener: () => void): () => void;
|
|
344
|
+
};
|
|
345
|
+
setQueryData(queryKey: readonly unknown[], data: unknown): unknown;
|
|
346
|
+
invalidateQueries(filters: {
|
|
347
|
+
queryKey: readonly unknown[];
|
|
348
|
+
refetchType: 'none';
|
|
349
|
+
}): Promise<unknown>;
|
|
350
|
+
}
|
|
351
|
+
interface PersistSuiteQueriesOptions {
|
|
352
|
+
/** localStorage key, including a version. */
|
|
353
|
+
storageKey: string;
|
|
354
|
+
/** Access-token localStorage key. The JWT `sub` is the user half of the buster. */
|
|
355
|
+
tokenKey: string;
|
|
356
|
+
/** Active workspace localStorage key. */
|
|
357
|
+
workspaceKey: string;
|
|
358
|
+
/**
|
|
359
|
+
* Query keys to keep. A string matches `queryKey[0]`. A list matches a prefix,
|
|
360
|
+
* so `['tt', 'tracker-catalog']` does not keep `['tt', 'time-entries']`.
|
|
361
|
+
*/
|
|
362
|
+
allow: readonly QueryKeyPart[];
|
|
363
|
+
maxAgeMs?: number;
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* User and workspace identity for a snapshot. Empty when the tab is signed out,
|
|
367
|
+
* which refuses both restore and write.
|
|
368
|
+
*/
|
|
369
|
+
declare function suiteCacheBuster(tokenKey: string, workspaceKey: string): string;
|
|
370
|
+
declare function readJsonSnapshot<T>(key: string, buster: string, maxAgeMs: number): T | null;
|
|
371
|
+
declare function writeJsonSnapshot(key: string, buster: string, value: unknown): void;
|
|
372
|
+
/**
|
|
373
|
+
* Restore an allow-listed query cache, then keep writing it. Restored queries
|
|
374
|
+
* are marked stale so the next mount refetches without hiding the snapshot.
|
|
375
|
+
* Returns an unsubscribe.
|
|
376
|
+
*/
|
|
377
|
+
declare function persistSuiteQueries(queryClient: PersistableQueryClient, options: PersistSuiteQueriesOptions): () => void;
|
|
378
|
+
/** Per-app browser cache. Live operational keys are intentionally absent. */
|
|
379
|
+
declare const SUITE_APP_QUERY_CACHES: {
|
|
380
|
+
readonly kraken: {
|
|
381
|
+
readonly storageKey: "kraken-query-cache:v1";
|
|
382
|
+
readonly tokenKey: "kraken_access_token";
|
|
383
|
+
readonly workspaceKey: "kraken_active_workspace_id";
|
|
384
|
+
readonly allow: readonly ["kraken-sidebar"];
|
|
385
|
+
};
|
|
386
|
+
readonly shellstack: {
|
|
387
|
+
readonly storageKey: "shellstack-query-cache:v1";
|
|
388
|
+
readonly tokenKey: "portal_access_token";
|
|
389
|
+
readonly workspaceKey: "portal_active_workspace_id";
|
|
390
|
+
readonly allow: readonly ["calendar-events", "org-workspaces", "organisation", "org-team", "directory"];
|
|
391
|
+
};
|
|
392
|
+
readonly tides: {
|
|
393
|
+
readonly storageKey: "tides-query-cache:v1";
|
|
394
|
+
readonly tokenKey: "tides_access_token";
|
|
395
|
+
readonly workspaceKey: "tides_active_workspace_id";
|
|
396
|
+
readonly allow: readonly [readonly ["tides", "projects"], readonly ["tides", "clients"], readonly ["tides", "workspace-members"], readonly ["tides", "workspace-tags"], readonly ["tides", "project-statuses"]];
|
|
397
|
+
};
|
|
398
|
+
readonly turtletime: {
|
|
399
|
+
readonly storageKey: "tt-query-cache:v1";
|
|
400
|
+
readonly tokenKey: "tt_access_token";
|
|
401
|
+
readonly workspaceKey: "tt_active_workspace_id";
|
|
402
|
+
readonly allow: readonly [readonly ["tt", "tracker-catalog"], readonly ["tt", "projects"], readonly ["tt", "clients"], readonly ["tt", "categories"]];
|
|
403
|
+
};
|
|
404
|
+
readonly shelly: {
|
|
405
|
+
readonly storageKey: "shelly-query-cache:v1";
|
|
406
|
+
readonly tokenKey: "shelly_access_token";
|
|
407
|
+
readonly workspaceKey: "shelly_active_workspace_id";
|
|
408
|
+
readonly allow: readonly [readonly ["shelly", "skills"], readonly ["shelly", "crews"], readonly ["shelly", "mcp-servers"], readonly ["shelly", "models"]];
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
|
|
330
412
|
type CrossAppSyncTopic = 'time' | 'integration' | 'tasks';
|
|
331
413
|
interface CrossAppSyncConfig {
|
|
332
414
|
api: Api;
|
|
@@ -361,6 +443,37 @@ declare function createLiveRefresh(sync: CrossAppSync): {
|
|
|
361
443
|
hasPendingCrossAppSync: (topic: CrossAppSyncTopic | undefined, since: number) => boolean;
|
|
362
444
|
};
|
|
363
445
|
|
|
446
|
+
interface SuiteRevisionMap {
|
|
447
|
+
documents: number;
|
|
448
|
+
calendar: number;
|
|
449
|
+
notifications: number;
|
|
450
|
+
tasks: number;
|
|
451
|
+
time: number;
|
|
452
|
+
catalogue: number;
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* First successful poll is the baseline and refreshes nothing. Later polls
|
|
456
|
+
* report only topics whose integer moved, so unchanged lists are not refetched.
|
|
457
|
+
*/
|
|
458
|
+
declare function nextRevisionTick(seen: Record<string, number>, ready: boolean, data: Partial<SuiteRevisionMap> | null): {
|
|
459
|
+
seen: Record<string, number>;
|
|
460
|
+
ready: boolean;
|
|
461
|
+
changed: string[];
|
|
462
|
+
};
|
|
463
|
+
/**
|
|
464
|
+
* Poll workspace revisions and report topics whose integer moved.
|
|
465
|
+
* The first successful read is the baseline, so a reload does not refetch
|
|
466
|
+
* everything the snapshot already painted.
|
|
467
|
+
*/
|
|
468
|
+
declare function useSuiteRevisions(options: {
|
|
469
|
+
enabled: boolean;
|
|
470
|
+
/** Workspace (or other) id. Changing it refetches, so the previous workspace cannot stay on screen. */
|
|
471
|
+
scope?: string;
|
|
472
|
+
load: () => Promise<Partial<SuiteRevisionMap> | null>;
|
|
473
|
+
onTopic: (topic: string) => void;
|
|
474
|
+
pollMs?: number;
|
|
475
|
+
}): void;
|
|
476
|
+
|
|
364
477
|
/** Cross-app (suite) notification from `/api/notifications/` — shared across ShellStack apps. */
|
|
365
478
|
interface SuiteNotification {
|
|
366
479
|
id: string;
|
|
@@ -421,6 +534,18 @@ declare function createWebPushClient(config: WebPushClientConfig): {
|
|
|
421
534
|
disable: () => Promise<void>;
|
|
422
535
|
};
|
|
423
536
|
|
|
537
|
+
interface EmailNotificationPreference {
|
|
538
|
+
enabled: boolean;
|
|
539
|
+
busy: boolean;
|
|
540
|
+
error: string;
|
|
541
|
+
onChange: (enabled: boolean) => void;
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* Loads and saves the signed-in person's email notification preference.
|
|
545
|
+
* The preference is shared across suite apps.
|
|
546
|
+
*/
|
|
547
|
+
declare function useEmailNotificationPreference(api: Api, parseApiError: (res: Response) => Promise<string>): EmailNotificationPreference;
|
|
548
|
+
|
|
424
549
|
type SuiteAiJobEvent = {
|
|
425
550
|
sequence: number;
|
|
426
551
|
event_type: 'queued' | 'started' | 'progress' | 'tool' | 'completed' | 'failed' | 'cancelled';
|
|
@@ -481,4 +606,4 @@ declare function createJsonLd(config: JsonLdConfig): string;
|
|
|
481
606
|
|
|
482
607
|
declare function useIsNight(): boolean;
|
|
483
608
|
|
|
484
|
-
export { type AnalyticsClient, type AnalyticsClientConfig, type AnalyticsContextHeaders, type AnalyticsProperties, type Api, type ApiAnalyticsEventSink, type ApiClient, type ApiClientConfig, type ApiFetchInit, type AppError, type AuthReturnPath, type AuthReturnPathConfig, type BrandSettings, type BrandSettingsConfig, type CrossAppSync, type CrossAppSyncConfig, type CrossAppSyncTopic, DEFAULT_ERROR_CODE, ERROR_CODES, ERROR_COPY, ERROR_RETRYABLE, type ErrorCode, FREE_PLAN_SEAT_HELP, type JsonLdConfig, type LiveRefresh, type LiveRefreshOptions, type NotificationsClient, type NotificationsClientConfig, ORGANISATION_SEAT_HELP, type PortalHandoffPayload, type PortalHandoffRead, type SeatType, type SubscriptionTier, type SuiteAiJob, type SuiteAiJobEvent, type SuiteNotification, type SuiteNotificationsResponse, TIDES_ACCESS_HELP, TURTLETIME_ACCESS_HELP, WEBHOOK_ACTIVITY_ACTIONS, WORKSPACE_SEAT_HELP, type WebPushClient, type WebPushClientConfig, type WebPushConfig, type WebPushState, type WorkspaceAppearance, type WorkspaceAppearanceApiConfig, type WorkspaceAppearanceConfig, WorkspaceAppearanceError, type WorkspaceAppearanceHelpers, type WorkspaceAppearancePatch, type WorkspaceBrandPayload, type WorkspaceSubscription, type WorkspaceTheme, activeSuiteAiJobs, appErrorFromResponse, canDisableAppAccess, codeForStatus, copyFor, createAnalyticsClient, createApiClient, createAuthReturnPath, createBrandSettings, createCrossAppSync, createJsonLd, createLiveRefresh, createNotificationsClient, createWebPushClient, createWorkspaceAppearance, createWorkspaceAppearanceApi, defaultInviteSeatType, emailDomain, flagsFromSeatType, formatAppError, hasAppAccess, isErrorCode, normalizeError, normalizeThrown, planSeatSummary, resolveSubscriptionTier, seatTypeDescription, seatTypeFromFlags, seatTypeLabel, selectedToWebhookActions, sortedSuiteAiEvents, suiteAiEventSummary, tierAllowsTidesOnlySeats, tierAllowsTurtletime, tierLabel, useIsNight, webhookActionsToSelected };
|
|
609
|
+
export { type AnalyticsClient, type AnalyticsClientConfig, type AnalyticsContextHeaders, type AnalyticsProperties, type Api, type ApiAnalyticsEventSink, type ApiClient, type ApiClientConfig, type ApiFetchInit, type AppError, type AuthReturnPath, type AuthReturnPathConfig, type BrandSettings, type BrandSettingsConfig, type CrossAppSync, type CrossAppSyncConfig, type CrossAppSyncTopic, DEFAULT_ERROR_CODE, ERROR_CODES, ERROR_COPY, ERROR_RETRYABLE, type EmailNotificationPreference, type ErrorCode, FREE_PLAN_SEAT_HELP, type JsonLdConfig, type LiveRefresh, type LiveRefreshOptions, type NotificationsClient, type NotificationsClientConfig, ORGANISATION_SEAT_HELP, type PersistSuiteQueriesOptions, type PersistableQuery, type PersistableQueryClient, type PortalHandoffPayload, type PortalHandoffRead, type QueryKeyPart, SUITE_APP_QUERY_CACHES, SUITE_QUERY_CACHE_MAX_AGE_MS, type SeatType, type SubscriptionTier, type SuiteAiJob, type SuiteAiJobEvent, type SuiteNotification, type SuiteNotificationsResponse, type SuiteRevisionMap, TIDES_ACCESS_HELP, TURTLETIME_ACCESS_HELP, WEBHOOK_ACTIVITY_ACTIONS, WORKSPACE_SEAT_HELP, type WebPushClient, type WebPushClientConfig, type WebPushConfig, type WebPushState, type WorkspaceAppearance, type WorkspaceAppearanceApiConfig, type WorkspaceAppearanceConfig, WorkspaceAppearanceError, type WorkspaceAppearanceHelpers, type WorkspaceAppearancePatch, type WorkspaceBrandPayload, type WorkspaceSubscription, type WorkspaceTheme, activeSuiteAiJobs, appErrorFromResponse, canDisableAppAccess, codeForStatus, copyFor, createAnalyticsClient, createApiClient, createAuthReturnPath, createBrandSettings, createCrossAppSync, createJsonLd, createLiveRefresh, createNotificationsClient, createWebPushClient, createWorkspaceAppearance, createWorkspaceAppearanceApi, defaultInviteSeatType, emailDomain, flagsFromSeatType, formatAppError, hasAppAccess, isErrorCode, nextRevisionTick, normalizeError, normalizeThrown, persistSuiteQueries, planSeatSummary, readJsonSnapshot, resolveSubscriptionTier, seatTypeDescription, seatTypeFromFlags, seatTypeLabel, selectedToWebhookActions, sortedSuiteAiEvents, suiteAiEventSummary, suiteCacheBuster, tierAllowsTidesOnlySeats, tierAllowsTurtletime, tierLabel, useEmailNotificationPreference, useIsNight, useSuiteRevisions, webhookActionsToSelected, writeJsonSnapshot };
|