@elevasis/ui 2.23.0 → 2.24.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/app/index.d.ts +2915 -0
- package/dist/app/index.js +5 -4
- package/dist/{chunk-3HEUGBOT.js → chunk-2WZ635SS.js} +2 -2
- package/dist/{chunk-D3KQAABP.js → chunk-4NWNS7TX.js} +1 -1
- package/dist/{chunk-7PGEGSUM.js → chunk-FUEXGRFR.js} +2 -2
- package/dist/{chunk-6IA2OMAE.js → chunk-HC2KV6BU.js} +9 -0
- package/dist/{chunk-YU6MBDVO.js → chunk-KCJ6VATY.js} +4 -68
- package/dist/{chunk-FXWETLEB.js → chunk-KLFIJDTD.js} +1 -1
- package/dist/{chunk-PXGSJNBH.js → chunk-M2HWJY6O.js} +704 -375
- package/dist/{chunk-N6WLOWOD.js → chunk-MTR6AN2C.js} +3 -12
- package/dist/chunk-OWHQ65EQ.js +211 -0
- package/dist/{chunk-XOTJNW4Q.js → chunk-QIW6OCEI.js} +18 -1
- package/dist/{chunk-GUJUK6EH.js → chunk-QULLZ5PE.js} +172 -2
- package/dist/{chunk-QZJM3RYI.js → chunk-SNHGSCKH.js} +1 -1
- package/dist/{chunk-LVUCBY7X.js → chunk-UDJE54WN.js} +85 -3
- package/dist/{chunk-EPV7NU2E.js → chunk-VGNAV3TH.js} +385 -188
- package/dist/{chunk-PTUOINQ2.js → chunk-YBZT7MJR.js} +3 -3
- package/dist/{chunk-SQ5JGELM.js → chunk-ZDKQNQ4X.js} +19 -1
- package/dist/components/index.d.ts +488 -452
- package/dist/components/index.js +58 -22
- package/dist/components/navigation/index.js +2 -2
- package/dist/features/auth/index.d.ts +463 -377
- package/dist/features/crm/index.d.ts +459 -379
- package/dist/features/crm/index.js +8 -8
- package/dist/features/dashboard/index.js +8 -8
- package/dist/features/delivery/index.d.ts +457 -371
- package/dist/features/delivery/index.js +8 -8
- package/dist/features/lead-gen/index.d.ts +213 -65
- package/dist/features/lead-gen/index.js +9 -8
- package/dist/features/monitoring/index.js +9 -9
- package/dist/features/monitoring/requests/index.js +7 -7
- package/dist/features/operations/index.js +11 -10
- package/dist/features/settings/index.d.ts +463 -377
- package/dist/features/settings/index.js +9 -9
- package/dist/hooks/delivery/index.d.ts +457 -371
- package/dist/hooks/index.d.ts +936 -718
- package/dist/hooks/index.js +7 -7
- package/dist/hooks/published.d.ts +936 -718
- package/dist/hooks/published.js +7 -7
- package/dist/index.d.ts +1313 -1027
- package/dist/index.js +8 -8
- package/dist/initialization/index.d.ts +463 -377
- package/dist/organization/index.d.ts +11 -1
- package/dist/organization/index.js +2 -2
- package/dist/profile/index.d.ts +463 -377
- package/dist/provider/index.d.ts +3132 -169
- package/dist/provider/index.js +6 -6
- package/dist/provider/published.d.ts +3098 -168
- package/dist/provider/published.js +3 -3
- package/dist/supabase/index.d.ts +559 -389
- package/dist/test-utils/index.d.ts +21 -1
- package/dist/test-utils/index.js +13 -4
- package/dist/theme/index.js +2 -2
- package/dist/types/index.d.ts +463 -377
- package/package.json +4 -4
- package/src/test-utils/README.md +2 -0
- /package/dist/{chunk-ZBCTB5CA.js → chunk-EIOJNUPL.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { ReactNode, MouseEvent, AnchorHTMLAttributes, ElementType, ComponentType
|
|
|
3
3
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
4
4
|
import { QueryClient } from '@tanstack/react-query';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
-
import { CSSVariablesResolver, MantineThemeOverride } from '@mantine/core';
|
|
7
6
|
import { z } from 'zod';
|
|
7
|
+
import { CSSVariablesResolver, MantineThemeOverride } from '@mantine/core';
|
|
8
8
|
import { Node, Edge, NodeMouseHandler } from '@xyflow/react';
|
|
9
9
|
import { IconBrain } from '@tabler/icons-react';
|
|
10
10
|
import { EventSourceMessage } from '@microsoft/fetch-event-source';
|
|
@@ -96,243 +96,6 @@ declare function NotificationProvider({ adapter, children }: {
|
|
|
96
96
|
*/
|
|
97
97
|
declare function useNotificationAdapter(): NotificationAdapter;
|
|
98
98
|
|
|
99
|
-
/** Flat + per-scheme override pattern. Flat values apply to both; `light`/`dark` win over flat. */
|
|
100
|
-
type WithSchemes<T> = T & {
|
|
101
|
-
light?: T;
|
|
102
|
-
dark?: T;
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* Theme token overrides. Each key maps 1:1 to a CSS variable.
|
|
106
|
-
* All optional — defaults come from Elevasis design system.
|
|
107
|
-
*/
|
|
108
|
-
interface ElevasisTokenOverrides {
|
|
109
|
-
primary?: string;
|
|
110
|
-
/** Text color that contrasts with `primary`. Defaults to '#fff'. */
|
|
111
|
-
primaryContrast?: string;
|
|
112
|
-
background?: string;
|
|
113
|
-
surface?: string;
|
|
114
|
-
surfaceHover?: string;
|
|
115
|
-
/** Opaque surface for floating overlays (modals, menus, popovers) — guarantees readable contrast against decorative backgrounds. */
|
|
116
|
-
elevatedSurface?: string;
|
|
117
|
-
text?: string;
|
|
118
|
-
textDimmed?: string;
|
|
119
|
-
textSubtle?: string;
|
|
120
|
-
border?: string;
|
|
121
|
-
error?: string;
|
|
122
|
-
warning?: string;
|
|
123
|
-
success?: string;
|
|
124
|
-
glassBackground?: string;
|
|
125
|
-
glassBlur?: string;
|
|
126
|
-
shadow?: string;
|
|
127
|
-
cardShadow?: string;
|
|
128
|
-
durationFast?: string;
|
|
129
|
-
durationNormal?: string;
|
|
130
|
-
easing?: string;
|
|
131
|
-
/** Foreground text color for destructive/error buttons. Defaults to '#fff'. */
|
|
132
|
-
destructiveFg?: string;
|
|
133
|
-
/** Heading font family — used for titles, section headers. */
|
|
134
|
-
fontHeading?: string;
|
|
135
|
-
/** Body font family — used for general text. */
|
|
136
|
-
fontSans?: string;
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* Core theme config — Mantine-free.
|
|
140
|
-
* Used by ElevasisCoreProvider and as the base for ElevasisThemeConfig.
|
|
141
|
-
*/
|
|
142
|
-
interface ElevasisCoreThemeConfig {
|
|
143
|
-
/** Color scheme: 'light', 'dark', or 'auto'. Defaults to 'dark'. */
|
|
144
|
-
colorScheme?: 'light' | 'dark' | 'auto';
|
|
145
|
-
/** Named preset — bundles light/dark token defaults. Defaults to 'default'. Accepts built-in PresetName or custom preset key. */
|
|
146
|
-
preset?: PresetName | (string & {});
|
|
147
|
-
/**
|
|
148
|
-
* Semantic token overrides fed into CSS variables.
|
|
149
|
-
* Flat values apply to both schemes. `light`/`dark` nested values win over flat.
|
|
150
|
-
*/
|
|
151
|
-
tokens?: WithSchemes<ElevasisTokenOverrides>;
|
|
152
|
-
/** Custom presets map — when provided, used instead of built-in presets. Typically `{ ...presets, ...customPresets }`. */
|
|
153
|
-
presets?: Record<string, ThemePreset>;
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* Auth configuration union.
|
|
157
|
-
* 'authkit' (WorkOS AuthKit) is the supported mode.
|
|
158
|
-
* 'apiKey' is defined for forward type compatibility but will throw at runtime.
|
|
159
|
-
*/
|
|
160
|
-
type AuthConfig = AuthKitConfig | ApiKeyConfig;
|
|
161
|
-
interface AuthKitConfig {
|
|
162
|
-
mode: 'authkit';
|
|
163
|
-
clientId: string;
|
|
164
|
-
/** AuthKit API hostname. Defaults to 'api.workos.com'. */
|
|
165
|
-
apiHostname?: string;
|
|
166
|
-
/** Redirect URI after auth. */
|
|
167
|
-
redirectUri?: string;
|
|
168
|
-
/** Keep refresh tokens in localStorage. Defaults to false. */
|
|
169
|
-
devMode?: boolean;
|
|
170
|
-
}
|
|
171
|
-
/** Deferred -- will throw at runtime. */
|
|
172
|
-
interface ApiKeyConfig {
|
|
173
|
-
mode: 'apiKey';
|
|
174
|
-
key: string;
|
|
175
|
-
}
|
|
176
|
-
interface ElevasisCoreProviderProps {
|
|
177
|
-
/** Auth configuration. Supports 'authkit' mode. */
|
|
178
|
-
auth: AuthConfig;
|
|
179
|
-
/**
|
|
180
|
-
* Elevasis core theme configuration (Mantine-free).
|
|
181
|
-
* Set `colorScheme` ('light', 'dark', 'auto') and override `tokens` (design tokens).
|
|
182
|
-
* Defaults: colorScheme='dark', Elevasis design system tokens.
|
|
183
|
-
*/
|
|
184
|
-
theme?: ElevasisCoreThemeConfig;
|
|
185
|
-
/**
|
|
186
|
-
* @deprecated Organization ID is now resolved automatically via OrganizationProvider.
|
|
187
|
-
* This prop is accepted for backwards compatibility during migration but is no longer
|
|
188
|
-
* used when the full provider stack is active (apiUrl provided).
|
|
189
|
-
*/
|
|
190
|
-
organizationId?: string | null;
|
|
191
|
-
/** Custom QueryClient. If omitted, a default is created internally. */
|
|
192
|
-
queryClient?: QueryClient;
|
|
193
|
-
/**
|
|
194
|
-
* API base URL (e.g., 'https://api.elevasis.com' or 'http://localhost:5170').
|
|
195
|
-
* When provided, ElevasisCoreProvider composes the full provider stack:
|
|
196
|
-
* ApiClientProvider + ElevasisServiceProvider + ProfileProvider +
|
|
197
|
-
* OrganizationProvider + NotificationProvider + InitializationProvider.
|
|
198
|
-
* When omitted, no service context is provided (theme-only mode).
|
|
199
|
-
*/
|
|
200
|
-
apiUrl?: string;
|
|
201
|
-
/**
|
|
202
|
-
* Error callback for API responses with status >= 500.
|
|
203
|
-
* Only used when apiUrl is provided.
|
|
204
|
-
*/
|
|
205
|
-
onError?: (endpoint: string, error: Error, details?: ApiErrorDetails) => void;
|
|
206
|
-
/**
|
|
207
|
-
* @deprecated Organization readiness is now managed internally by OrganizationProvider.
|
|
208
|
-
* Accepted for backwards compatibility but ignored when apiUrl is provided.
|
|
209
|
-
*/
|
|
210
|
-
isOrganizationReady?: boolean;
|
|
211
|
-
/**
|
|
212
|
-
* Notification adapter for displaying success/error/info messages.
|
|
213
|
-
* When provided, wraps the subtree in a NotificationProvider with this adapter.
|
|
214
|
-
* When omitted, the console fallback adapter is used automatically.
|
|
215
|
-
*
|
|
216
|
-
* ElevasisUIProvider (Mantine variant) passes a Mantine-backed adapter here automatically.
|
|
217
|
-
* Headless/SDK consumers can pass a custom adapter or omit for console output.
|
|
218
|
-
*/
|
|
219
|
-
notifications?: NotificationAdapter;
|
|
220
|
-
/**
|
|
221
|
-
* Whether to inject CSS variables, `data-elevasis-scheme` attribute, and font links.
|
|
222
|
-
* Set to `false` when the consumer has its own complete design system and only
|
|
223
|
-
* needs auth + API from this provider. Defaults to `true`.
|
|
224
|
-
*/
|
|
225
|
-
injectStyles?: boolean;
|
|
226
|
-
children: ReactNode;
|
|
227
|
-
}
|
|
228
|
-
/**
|
|
229
|
-
* Service context value exposed by ElevasisServiceProvider.
|
|
230
|
-
* Provides a ready-to-use apiRequest function and organization state.
|
|
231
|
-
*
|
|
232
|
-
* For standalone usage (testing, embedding), use ElevasisServiceProvider directly.
|
|
233
|
-
* For standard SDK usage, ElevasisUIProvider composes this automatically when apiUrl is provided.
|
|
234
|
-
*/
|
|
235
|
-
interface ElevasisServiceContextValue {
|
|
236
|
-
apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
237
|
-
organizationId: string | null;
|
|
238
|
-
isReady: boolean;
|
|
239
|
-
}
|
|
240
|
-
interface ElevasisServiceProviderProps {
|
|
241
|
-
apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
242
|
-
organizationId: string | null;
|
|
243
|
-
isReady: boolean;
|
|
244
|
-
children: ReactNode;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
/** Framework-agnostic theme overrides bundled with a preset (fonts, radius, component styles). */
|
|
248
|
-
interface FrameworkThemeOverrides {
|
|
249
|
-
fontFamily?: string;
|
|
250
|
-
defaultRadius?: string;
|
|
251
|
-
headings?: {
|
|
252
|
-
fontFamily?: string;
|
|
253
|
-
fontWeight?: string;
|
|
254
|
-
};
|
|
255
|
-
components?: Record<string, unknown>;
|
|
256
|
-
}
|
|
257
|
-
/** Tokens every preset must define. `elevatedSurface` is progressively adopted and stays optional. */
|
|
258
|
-
type PresetTokens = Required<Omit<ElevasisTokenOverrides, 'elevatedSurface'>> & Pick<ElevasisTokenOverrides, 'elevatedSurface'>;
|
|
259
|
-
interface ThemePreset {
|
|
260
|
-
light: PresetTokens;
|
|
261
|
-
dark: PresetTokens;
|
|
262
|
-
/** Optional framework theme overrides bundled with this preset (fonts, radius, etc.). */
|
|
263
|
-
framework?: FrameworkThemeOverrides;
|
|
264
|
-
/**
|
|
265
|
-
* Subtitle font family — used for card names, section labels, and nav items.
|
|
266
|
-
* Sits between heading and body in the typographic hierarchy.
|
|
267
|
-
*/
|
|
268
|
-
subtitleFontFamily?: string;
|
|
269
|
-
/** Google Fonts URLs to load when this preset is active. */
|
|
270
|
-
fontImports?: string[];
|
|
271
|
-
/** Display label for settings UI (e.g. "Tactical"). Built-in presets define this; custom presets must provide it. */
|
|
272
|
-
label?: string;
|
|
273
|
-
/** Short description for settings UI (e.g. "Tactical command center aesthetic"). */
|
|
274
|
-
description?: string;
|
|
275
|
-
/** Three representative hex colors for swatch display: [primary, dark-bg, light-bg]. */
|
|
276
|
-
colors?: [string, string, string];
|
|
277
|
-
/**
|
|
278
|
-
* Background layers rendered behind app content when this preset is active.
|
|
279
|
-
* Overridden by `theme.background` on the provider if both are set.
|
|
280
|
-
*/
|
|
281
|
-
background?: ReactNode;
|
|
282
|
-
/**
|
|
283
|
-
* Loader element used in loading states when this preset is active.
|
|
284
|
-
* Overridden by `theme.loader` on the provider if both are set.
|
|
285
|
-
*/
|
|
286
|
-
loader?: ReactNode;
|
|
287
|
-
}
|
|
288
|
-
type PresetName = 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'titanium' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-chrome' | 'cyber-void' | 'nirvana' | 'wave' | 'synapse' | 'cortex' | 'helios' | 'graphite' | 'quarry';
|
|
289
|
-
|
|
290
|
-
/** 10-shade color tuple (light → dark), compatible with Mantine's color format. */
|
|
291
|
-
type ColorShadesTuple = [string, string, string, string, string, string, string, string, string, string];
|
|
292
|
-
/**
|
|
293
|
-
* Generate a 10-shade Mantine color tuple from a single hex color.
|
|
294
|
-
* Input color maps to shade 6 (Mantine's default primary shade).
|
|
295
|
-
* Shades 0-5 are progressively lighter, 7-9 are progressively darker.
|
|
296
|
-
*/
|
|
297
|
-
declare function generateShades(hex: string): ColorShadesTuple;
|
|
298
|
-
|
|
299
|
-
declare const PRESETS: Record<PresetName, ThemePreset>;
|
|
300
|
-
|
|
301
|
-
/** Look up a preset by name. Falls back to default preset for unknown names. */
|
|
302
|
-
declare function getPreset(name: PresetName | (string & {}), presetsMap?: Record<string, ThemePreset>): ThemePreset;
|
|
303
|
-
|
|
304
|
-
/** Token key → CSS variable name. Single source of truth for the mapping. */
|
|
305
|
-
declare const TOKEN_VAR_MAP: Record<keyof ElevasisTokenOverrides, string>;
|
|
306
|
-
/**
|
|
307
|
-
* Creates a CSS variables resolver from theme config.
|
|
308
|
-
*
|
|
309
|
-
* Merge order per scheme: PRESET_DEFAULTS → flat overrides → scheme-specific overrides
|
|
310
|
-
*/
|
|
311
|
-
declare function createCssVariablesResolver(tokens?: ElevasisCoreThemeConfig['tokens'], preset?: PresetName | (string & {}), presetsMap?: Record<string, ThemePreset>): CSSVariablesResolver;
|
|
312
|
-
|
|
313
|
-
declare const mantineThemeOverride: MantineThemeOverride;
|
|
314
|
-
|
|
315
|
-
declare const componentThemes: MantineThemeOverride['components'];
|
|
316
|
-
|
|
317
|
-
declare const PresetsProvider: react.Provider<Record<string, ThemePreset>>;
|
|
318
|
-
declare function usePresetsContext(): Record<string, ThemePreset>;
|
|
319
|
-
|
|
320
|
-
/** Preset entry with display metadata for settings UI. */
|
|
321
|
-
interface PresetEntry {
|
|
322
|
-
/** Preset key (e.g. 'tactical', 'my-custom-brand'). */
|
|
323
|
-
value: string;
|
|
324
|
-
/** Display label (e.g. 'Tactical'). Falls back to titlecased key. */
|
|
325
|
-
label: string;
|
|
326
|
-
/** Short description. Falls back to empty string. */
|
|
327
|
-
description: string;
|
|
328
|
-
/** Three representative hex colors for swatch: [primary, dark-bg, light-bg]. Falls back to preset's dark/light primary + backgrounds. */
|
|
329
|
-
colors: [string, string, string];
|
|
330
|
-
/** True for presets not in the built-in PresetName union. */
|
|
331
|
-
isCustom: boolean;
|
|
332
|
-
}
|
|
333
|
-
/** Returns all available presets as UI-ready entries. */
|
|
334
|
-
declare function useAvailablePresets(): PresetEntry[];
|
|
335
|
-
|
|
336
99
|
/**
|
|
337
100
|
* Debounce utility for delaying function execution
|
|
338
101
|
*
|
|
@@ -907,10 +670,57 @@ type Json = string | number | boolean | null | {
|
|
|
907
670
|
} | Json[];
|
|
908
671
|
type Database = {
|
|
909
672
|
__InternalSupabase: {
|
|
910
|
-
PostgrestVersion:
|
|
673
|
+
PostgrestVersion: '12.2.3 (519615d)';
|
|
911
674
|
};
|
|
912
675
|
public: {
|
|
913
676
|
Tables: {
|
|
677
|
+
acq_artifacts: {
|
|
678
|
+
Row: {
|
|
679
|
+
content: Json;
|
|
680
|
+
created_at: string;
|
|
681
|
+
created_by: string | null;
|
|
682
|
+
id: string;
|
|
683
|
+
kind: string;
|
|
684
|
+
organization_id: string;
|
|
685
|
+
owner_id: string;
|
|
686
|
+
owner_kind: string;
|
|
687
|
+
source_execution_id: string | null;
|
|
688
|
+
version: number;
|
|
689
|
+
};
|
|
690
|
+
Insert: {
|
|
691
|
+
content: Json;
|
|
692
|
+
created_at?: string;
|
|
693
|
+
created_by?: string | null;
|
|
694
|
+
id?: string;
|
|
695
|
+
kind: string;
|
|
696
|
+
organization_id: string;
|
|
697
|
+
owner_id: string;
|
|
698
|
+
owner_kind: string;
|
|
699
|
+
source_execution_id?: string | null;
|
|
700
|
+
version?: number;
|
|
701
|
+
};
|
|
702
|
+
Update: {
|
|
703
|
+
content?: Json;
|
|
704
|
+
created_at?: string;
|
|
705
|
+
created_by?: string | null;
|
|
706
|
+
id?: string;
|
|
707
|
+
kind?: string;
|
|
708
|
+
organization_id?: string;
|
|
709
|
+
owner_id?: string;
|
|
710
|
+
owner_kind?: string;
|
|
711
|
+
source_execution_id?: string | null;
|
|
712
|
+
version?: number;
|
|
713
|
+
};
|
|
714
|
+
Relationships: [
|
|
715
|
+
{
|
|
716
|
+
foreignKeyName: 'acq_artifacts_organization_id_fkey';
|
|
717
|
+
columns: ['organization_id'];
|
|
718
|
+
isOneToOne: false;
|
|
719
|
+
referencedRelation: 'organizations';
|
|
720
|
+
referencedColumns: ['id'];
|
|
721
|
+
}
|
|
722
|
+
];
|
|
723
|
+
};
|
|
914
724
|
acq_companies: {
|
|
915
725
|
Row: {
|
|
916
726
|
batch_id: string | null;
|
|
@@ -929,6 +739,9 @@ type Database = {
|
|
|
929
739
|
num_employees: number | null;
|
|
930
740
|
organization_id: string;
|
|
931
741
|
pipeline_status: Json;
|
|
742
|
+
qualification_rubric_key: string | null;
|
|
743
|
+
qualification_score: number | null;
|
|
744
|
+
qualification_signals: Json | null;
|
|
932
745
|
segment: string | null;
|
|
933
746
|
source: string | null;
|
|
934
747
|
status: string;
|
|
@@ -952,6 +765,9 @@ type Database = {
|
|
|
952
765
|
num_employees?: number | null;
|
|
953
766
|
organization_id: string;
|
|
954
767
|
pipeline_status?: Json;
|
|
768
|
+
qualification_rubric_key?: string | null;
|
|
769
|
+
qualification_score?: number | null;
|
|
770
|
+
qualification_signals?: Json | null;
|
|
955
771
|
segment?: string | null;
|
|
956
772
|
source?: string | null;
|
|
957
773
|
status?: string;
|
|
@@ -975,6 +791,9 @@ type Database = {
|
|
|
975
791
|
num_employees?: number | null;
|
|
976
792
|
organization_id?: string;
|
|
977
793
|
pipeline_status?: Json;
|
|
794
|
+
qualification_rubric_key?: string | null;
|
|
795
|
+
qualification_score?: number | null;
|
|
796
|
+
qualification_signals?: Json | null;
|
|
978
797
|
segment?: string | null;
|
|
979
798
|
source?: string | null;
|
|
980
799
|
status?: string;
|
|
@@ -983,11 +802,11 @@ type Database = {
|
|
|
983
802
|
};
|
|
984
803
|
Relationships: [
|
|
985
804
|
{
|
|
986
|
-
foreignKeyName:
|
|
987
|
-
columns: [
|
|
805
|
+
foreignKeyName: 'acq_companies_organization_id_fkey';
|
|
806
|
+
columns: ['organization_id'];
|
|
988
807
|
isOneToOne: false;
|
|
989
|
-
referencedRelation:
|
|
990
|
-
referencedColumns: [
|
|
808
|
+
referencedRelation: 'organizations';
|
|
809
|
+
referencedColumns: ['id'];
|
|
991
810
|
}
|
|
992
811
|
];
|
|
993
812
|
};
|
|
@@ -1011,6 +830,9 @@ type Database = {
|
|
|
1011
830
|
opening_line: string | null;
|
|
1012
831
|
organization_id: string;
|
|
1013
832
|
pipeline_status: Json;
|
|
833
|
+
qualification_rubric_key: string | null;
|
|
834
|
+
qualification_score: number | null;
|
|
835
|
+
qualification_signals: Json | null;
|
|
1014
836
|
source: string | null;
|
|
1015
837
|
source_id: string | null;
|
|
1016
838
|
status: string;
|
|
@@ -1036,6 +858,9 @@ type Database = {
|
|
|
1036
858
|
opening_line?: string | null;
|
|
1037
859
|
organization_id: string;
|
|
1038
860
|
pipeline_status?: Json;
|
|
861
|
+
qualification_rubric_key?: string | null;
|
|
862
|
+
qualification_score?: number | null;
|
|
863
|
+
qualification_signals?: Json | null;
|
|
1039
864
|
source?: string | null;
|
|
1040
865
|
source_id?: string | null;
|
|
1041
866
|
status?: string;
|
|
@@ -1061,6 +886,9 @@ type Database = {
|
|
|
1061
886
|
opening_line?: string | null;
|
|
1062
887
|
organization_id?: string;
|
|
1063
888
|
pipeline_status?: Json;
|
|
889
|
+
qualification_rubric_key?: string | null;
|
|
890
|
+
qualification_score?: number | null;
|
|
891
|
+
qualification_signals?: Json | null;
|
|
1064
892
|
source?: string | null;
|
|
1065
893
|
source_id?: string | null;
|
|
1066
894
|
status?: string;
|
|
@@ -1069,18 +897,18 @@ type Database = {
|
|
|
1069
897
|
};
|
|
1070
898
|
Relationships: [
|
|
1071
899
|
{
|
|
1072
|
-
foreignKeyName:
|
|
1073
|
-
columns: [
|
|
900
|
+
foreignKeyName: 'acq_contacts_company_id_fkey';
|
|
901
|
+
columns: ['company_id'];
|
|
1074
902
|
isOneToOne: false;
|
|
1075
|
-
referencedRelation:
|
|
1076
|
-
referencedColumns: [
|
|
903
|
+
referencedRelation: 'acq_companies';
|
|
904
|
+
referencedColumns: ['id'];
|
|
1077
905
|
},
|
|
1078
906
|
{
|
|
1079
|
-
foreignKeyName:
|
|
1080
|
-
columns: [
|
|
907
|
+
foreignKeyName: 'acq_contacts_organization_id_fkey';
|
|
908
|
+
columns: ['organization_id'];
|
|
1081
909
|
isOneToOne: false;
|
|
1082
|
-
referencedRelation:
|
|
1083
|
-
referencedColumns: [
|
|
910
|
+
referencedRelation: 'organizations';
|
|
911
|
+
referencedColumns: ['id'];
|
|
1084
912
|
}
|
|
1085
913
|
];
|
|
1086
914
|
};
|
|
@@ -1117,11 +945,11 @@ type Database = {
|
|
|
1117
945
|
};
|
|
1118
946
|
Relationships: [
|
|
1119
947
|
{
|
|
1120
|
-
foreignKeyName:
|
|
1121
|
-
columns: [
|
|
948
|
+
foreignKeyName: 'acq_content_organization_id_fkey';
|
|
949
|
+
columns: ['organization_id'];
|
|
1122
950
|
isOneToOne: false;
|
|
1123
|
-
referencedRelation:
|
|
1124
|
-
referencedColumns: [
|
|
951
|
+
referencedRelation: 'organizations';
|
|
952
|
+
referencedColumns: ['id'];
|
|
1125
953
|
}
|
|
1126
954
|
];
|
|
1127
955
|
};
|
|
@@ -1185,18 +1013,18 @@ type Database = {
|
|
|
1185
1013
|
};
|
|
1186
1014
|
Relationships: [
|
|
1187
1015
|
{
|
|
1188
|
-
foreignKeyName:
|
|
1189
|
-
columns: [
|
|
1016
|
+
foreignKeyName: 'acq_content_distributions_content_id_fkey';
|
|
1017
|
+
columns: ['content_id'];
|
|
1190
1018
|
isOneToOne: false;
|
|
1191
|
-
referencedRelation:
|
|
1192
|
-
referencedColumns: [
|
|
1019
|
+
referencedRelation: 'acq_content';
|
|
1020
|
+
referencedColumns: ['id'];
|
|
1193
1021
|
},
|
|
1194
1022
|
{
|
|
1195
|
-
foreignKeyName:
|
|
1196
|
-
columns: [
|
|
1023
|
+
foreignKeyName: 'acq_content_distributions_organization_id_fkey';
|
|
1024
|
+
columns: ['organization_id'];
|
|
1197
1025
|
isOneToOne: false;
|
|
1198
|
-
referencedRelation:
|
|
1199
|
-
referencedColumns: [
|
|
1026
|
+
referencedRelation: 'organizations';
|
|
1027
|
+
referencedColumns: ['id'];
|
|
1200
1028
|
}
|
|
1201
1029
|
];
|
|
1202
1030
|
};
|
|
@@ -1230,18 +1058,18 @@ type Database = {
|
|
|
1230
1058
|
};
|
|
1231
1059
|
Relationships: [
|
|
1232
1060
|
{
|
|
1233
|
-
foreignKeyName:
|
|
1234
|
-
columns: [
|
|
1061
|
+
foreignKeyName: 'acq_deal_notes_deal_id_fkey';
|
|
1062
|
+
columns: ['deal_id'];
|
|
1235
1063
|
isOneToOne: false;
|
|
1236
|
-
referencedRelation:
|
|
1237
|
-
referencedColumns: [
|
|
1064
|
+
referencedRelation: 'acq_deals';
|
|
1065
|
+
referencedColumns: ['id'];
|
|
1238
1066
|
},
|
|
1239
1067
|
{
|
|
1240
|
-
foreignKeyName:
|
|
1241
|
-
columns: [
|
|
1068
|
+
foreignKeyName: 'acq_deal_notes_organization_id_fkey';
|
|
1069
|
+
columns: ['organization_id'];
|
|
1242
1070
|
isOneToOne: false;
|
|
1243
|
-
referencedRelation:
|
|
1244
|
-
referencedColumns: [
|
|
1071
|
+
referencedRelation: 'organizations';
|
|
1072
|
+
referencedColumns: ['id'];
|
|
1245
1073
|
}
|
|
1246
1074
|
];
|
|
1247
1075
|
};
|
|
@@ -1293,18 +1121,18 @@ type Database = {
|
|
|
1293
1121
|
};
|
|
1294
1122
|
Relationships: [
|
|
1295
1123
|
{
|
|
1296
|
-
foreignKeyName:
|
|
1297
|
-
columns: [
|
|
1124
|
+
foreignKeyName: 'acq_deal_tasks_deal_id_fkey';
|
|
1125
|
+
columns: ['deal_id'];
|
|
1298
1126
|
isOneToOne: false;
|
|
1299
|
-
referencedRelation:
|
|
1300
|
-
referencedColumns: [
|
|
1127
|
+
referencedRelation: 'acq_deals';
|
|
1128
|
+
referencedColumns: ['id'];
|
|
1301
1129
|
},
|
|
1302
1130
|
{
|
|
1303
|
-
foreignKeyName:
|
|
1304
|
-
columns: [
|
|
1131
|
+
foreignKeyName: 'acq_deal_tasks_organization_id_fkey';
|
|
1132
|
+
columns: ['organization_id'];
|
|
1305
1133
|
isOneToOne: false;
|
|
1306
|
-
referencedRelation:
|
|
1307
|
-
referencedColumns: [
|
|
1134
|
+
referencedRelation: 'organizations';
|
|
1135
|
+
referencedColumns: ['id'];
|
|
1308
1136
|
}
|
|
1309
1137
|
];
|
|
1310
1138
|
};
|
|
@@ -1416,86 +1244,95 @@ type Database = {
|
|
|
1416
1244
|
};
|
|
1417
1245
|
Relationships: [
|
|
1418
1246
|
{
|
|
1419
|
-
foreignKeyName:
|
|
1420
|
-
columns: [
|
|
1247
|
+
foreignKeyName: 'acq_deals_contact_id_fkey';
|
|
1248
|
+
columns: ['contact_id'];
|
|
1421
1249
|
isOneToOne: false;
|
|
1422
|
-
referencedRelation:
|
|
1423
|
-
referencedColumns: [
|
|
1250
|
+
referencedRelation: 'acq_contacts';
|
|
1251
|
+
referencedColumns: ['id'];
|
|
1424
1252
|
},
|
|
1425
1253
|
{
|
|
1426
|
-
foreignKeyName:
|
|
1427
|
-
columns: [
|
|
1254
|
+
foreignKeyName: 'acq_deals_organization_id_fkey';
|
|
1255
|
+
columns: ['organization_id'];
|
|
1428
1256
|
isOneToOne: false;
|
|
1429
|
-
referencedRelation:
|
|
1430
|
-
referencedColumns: [
|
|
1257
|
+
referencedRelation: 'organizations';
|
|
1258
|
+
referencedColumns: ['id'];
|
|
1431
1259
|
},
|
|
1432
1260
|
{
|
|
1433
|
-
foreignKeyName:
|
|
1434
|
-
columns: [
|
|
1261
|
+
foreignKeyName: 'acq_deals_source_list_id_fkey';
|
|
1262
|
+
columns: ['source_list_id'];
|
|
1435
1263
|
isOneToOne: false;
|
|
1436
|
-
referencedRelation:
|
|
1437
|
-
referencedColumns: [
|
|
1264
|
+
referencedRelation: 'acq_lists';
|
|
1265
|
+
referencedColumns: ['id'];
|
|
1438
1266
|
}
|
|
1439
1267
|
];
|
|
1440
1268
|
};
|
|
1441
1269
|
acq_list_companies: {
|
|
1442
1270
|
Row: {
|
|
1271
|
+
activity_log: Json;
|
|
1443
1272
|
added_at: string;
|
|
1444
1273
|
added_by: string | null;
|
|
1445
1274
|
company_id: string;
|
|
1446
1275
|
id: string;
|
|
1447
1276
|
list_id: string;
|
|
1277
|
+
pipeline_key: string;
|
|
1278
|
+
processing_state: Json;
|
|
1448
1279
|
source_execution_id: string | null;
|
|
1449
1280
|
source_input_hash: string | null;
|
|
1450
1281
|
source_resource_id: string | null;
|
|
1451
|
-
|
|
1452
|
-
|
|
1282
|
+
stage_key: string;
|
|
1283
|
+
state_key: string;
|
|
1453
1284
|
};
|
|
1454
1285
|
Insert: {
|
|
1286
|
+
activity_log?: Json;
|
|
1455
1287
|
added_at?: string;
|
|
1456
1288
|
added_by?: string | null;
|
|
1457
1289
|
company_id: string;
|
|
1458
1290
|
id?: string;
|
|
1459
1291
|
list_id: string;
|
|
1292
|
+
pipeline_key?: string;
|
|
1293
|
+
processing_state?: Json;
|
|
1460
1294
|
source_execution_id?: string | null;
|
|
1461
1295
|
source_input_hash?: string | null;
|
|
1462
1296
|
source_resource_id?: string | null;
|
|
1463
|
-
|
|
1464
|
-
|
|
1297
|
+
stage_key: string;
|
|
1298
|
+
state_key: string;
|
|
1465
1299
|
};
|
|
1466
1300
|
Update: {
|
|
1301
|
+
activity_log?: Json;
|
|
1467
1302
|
added_at?: string;
|
|
1468
1303
|
added_by?: string | null;
|
|
1469
1304
|
company_id?: string;
|
|
1470
1305
|
id?: string;
|
|
1471
1306
|
list_id?: string;
|
|
1307
|
+
pipeline_key?: string;
|
|
1308
|
+
processing_state?: Json;
|
|
1472
1309
|
source_execution_id?: string | null;
|
|
1473
1310
|
source_input_hash?: string | null;
|
|
1474
1311
|
source_resource_id?: string | null;
|
|
1475
|
-
|
|
1476
|
-
|
|
1312
|
+
stage_key?: string;
|
|
1313
|
+
state_key?: string;
|
|
1477
1314
|
};
|
|
1478
1315
|
Relationships: [
|
|
1479
1316
|
{
|
|
1480
|
-
foreignKeyName:
|
|
1481
|
-
columns: [
|
|
1317
|
+
foreignKeyName: 'acq_list_companies_company_id_fkey';
|
|
1318
|
+
columns: ['company_id'];
|
|
1482
1319
|
isOneToOne: false;
|
|
1483
|
-
referencedRelation:
|
|
1484
|
-
referencedColumns: [
|
|
1320
|
+
referencedRelation: 'acq_companies';
|
|
1321
|
+
referencedColumns: ['id'];
|
|
1485
1322
|
},
|
|
1486
1323
|
{
|
|
1487
|
-
foreignKeyName:
|
|
1488
|
-
columns: [
|
|
1324
|
+
foreignKeyName: 'acq_list_companies_list_id_fkey';
|
|
1325
|
+
columns: ['list_id'];
|
|
1489
1326
|
isOneToOne: false;
|
|
1490
|
-
referencedRelation:
|
|
1491
|
-
referencedColumns: [
|
|
1327
|
+
referencedRelation: 'acq_lists';
|
|
1328
|
+
referencedColumns: ['id'];
|
|
1492
1329
|
},
|
|
1493
1330
|
{
|
|
1494
|
-
foreignKeyName:
|
|
1495
|
-
columns: [
|
|
1331
|
+
foreignKeyName: 'acq_list_companies_source_execution_id_fkey';
|
|
1332
|
+
columns: ['source_execution_id'];
|
|
1496
1333
|
isOneToOne: false;
|
|
1497
|
-
referencedRelation:
|
|
1498
|
-
referencedColumns: [
|
|
1334
|
+
referencedRelation: 'execution_logs';
|
|
1335
|
+
referencedColumns: ['execution_id'];
|
|
1499
1336
|
}
|
|
1500
1337
|
];
|
|
1501
1338
|
};
|
|
@@ -1523,79 +1360,88 @@ type Database = {
|
|
|
1523
1360
|
};
|
|
1524
1361
|
Relationships: [
|
|
1525
1362
|
{
|
|
1526
|
-
foreignKeyName:
|
|
1527
|
-
columns: [
|
|
1363
|
+
foreignKeyName: 'acq_list_executions_execution_id_fkey';
|
|
1364
|
+
columns: ['execution_id'];
|
|
1528
1365
|
isOneToOne: false;
|
|
1529
|
-
referencedRelation:
|
|
1530
|
-
referencedColumns: [
|
|
1366
|
+
referencedRelation: 'execution_logs';
|
|
1367
|
+
referencedColumns: ['execution_id'];
|
|
1531
1368
|
},
|
|
1532
1369
|
{
|
|
1533
|
-
foreignKeyName:
|
|
1534
|
-
columns: [
|
|
1370
|
+
foreignKeyName: 'acq_list_executions_list_id_fkey';
|
|
1371
|
+
columns: ['list_id'];
|
|
1535
1372
|
isOneToOne: false;
|
|
1536
|
-
referencedRelation:
|
|
1537
|
-
referencedColumns: [
|
|
1373
|
+
referencedRelation: 'acq_lists';
|
|
1374
|
+
referencedColumns: ['id'];
|
|
1538
1375
|
}
|
|
1539
1376
|
];
|
|
1540
1377
|
};
|
|
1541
1378
|
acq_list_members: {
|
|
1542
1379
|
Row: {
|
|
1380
|
+
activity_log: Json;
|
|
1543
1381
|
added_at: string;
|
|
1544
1382
|
added_by: string | null;
|
|
1545
1383
|
contact_id: string;
|
|
1546
1384
|
id: string;
|
|
1547
1385
|
list_id: string;
|
|
1386
|
+
pipeline_key: string;
|
|
1387
|
+
processing_state: Json;
|
|
1548
1388
|
source_execution_id: string | null;
|
|
1549
1389
|
source_input_hash: string | null;
|
|
1550
1390
|
source_resource_id: string | null;
|
|
1551
|
-
|
|
1552
|
-
|
|
1391
|
+
stage_key: string;
|
|
1392
|
+
state_key: string;
|
|
1553
1393
|
};
|
|
1554
1394
|
Insert: {
|
|
1395
|
+
activity_log?: Json;
|
|
1555
1396
|
added_at?: string;
|
|
1556
1397
|
added_by?: string | null;
|
|
1557
1398
|
contact_id: string;
|
|
1558
1399
|
id?: string;
|
|
1559
1400
|
list_id: string;
|
|
1401
|
+
pipeline_key?: string;
|
|
1402
|
+
processing_state?: Json;
|
|
1560
1403
|
source_execution_id?: string | null;
|
|
1561
1404
|
source_input_hash?: string | null;
|
|
1562
1405
|
source_resource_id?: string | null;
|
|
1563
|
-
|
|
1564
|
-
|
|
1406
|
+
stage_key: string;
|
|
1407
|
+
state_key: string;
|
|
1565
1408
|
};
|
|
1566
1409
|
Update: {
|
|
1410
|
+
activity_log?: Json;
|
|
1567
1411
|
added_at?: string;
|
|
1568
1412
|
added_by?: string | null;
|
|
1569
1413
|
contact_id?: string;
|
|
1570
1414
|
id?: string;
|
|
1571
1415
|
list_id?: string;
|
|
1416
|
+
pipeline_key?: string;
|
|
1417
|
+
processing_state?: Json;
|
|
1572
1418
|
source_execution_id?: string | null;
|
|
1573
1419
|
source_input_hash?: string | null;
|
|
1574
1420
|
source_resource_id?: string | null;
|
|
1575
|
-
|
|
1576
|
-
|
|
1421
|
+
stage_key?: string;
|
|
1422
|
+
state_key?: string;
|
|
1577
1423
|
};
|
|
1578
1424
|
Relationships: [
|
|
1579
1425
|
{
|
|
1580
|
-
foreignKeyName:
|
|
1581
|
-
columns: [
|
|
1426
|
+
foreignKeyName: 'acq_list_members_contact_id_fkey';
|
|
1427
|
+
columns: ['contact_id'];
|
|
1582
1428
|
isOneToOne: false;
|
|
1583
|
-
referencedRelation:
|
|
1584
|
-
referencedColumns: [
|
|
1429
|
+
referencedRelation: 'acq_contacts';
|
|
1430
|
+
referencedColumns: ['id'];
|
|
1585
1431
|
},
|
|
1586
1432
|
{
|
|
1587
|
-
foreignKeyName:
|
|
1588
|
-
columns: [
|
|
1433
|
+
foreignKeyName: 'acq_list_members_list_id_fkey';
|
|
1434
|
+
columns: ['list_id'];
|
|
1589
1435
|
isOneToOne: false;
|
|
1590
|
-
referencedRelation:
|
|
1591
|
-
referencedColumns: [
|
|
1436
|
+
referencedRelation: 'acq_lists';
|
|
1437
|
+
referencedColumns: ['id'];
|
|
1592
1438
|
},
|
|
1593
1439
|
{
|
|
1594
|
-
foreignKeyName:
|
|
1595
|
-
columns: [
|
|
1440
|
+
foreignKeyName: 'acq_list_members_source_execution_id_fkey';
|
|
1441
|
+
columns: ['source_execution_id'];
|
|
1596
1442
|
isOneToOne: false;
|
|
1597
|
-
referencedRelation:
|
|
1598
|
-
referencedColumns: [
|
|
1443
|
+
referencedRelation: 'execution_logs';
|
|
1444
|
+
referencedColumns: ['execution_id'];
|
|
1599
1445
|
}
|
|
1600
1446
|
];
|
|
1601
1447
|
};
|
|
@@ -1603,55 +1449,58 @@ type Database = {
|
|
|
1603
1449
|
Row: {
|
|
1604
1450
|
batch_ids: string[];
|
|
1605
1451
|
completed_at: string | null;
|
|
1606
|
-
config: Json;
|
|
1607
1452
|
created_at: string;
|
|
1608
1453
|
description: string | null;
|
|
1454
|
+
icp: Json;
|
|
1609
1455
|
id: string;
|
|
1610
1456
|
instantly_campaign_id: string | null;
|
|
1611
1457
|
launched_at: string | null;
|
|
1612
1458
|
metadata: Json;
|
|
1613
1459
|
name: string;
|
|
1614
1460
|
organization_id: string;
|
|
1461
|
+
pipeline_config: Json;
|
|
1462
|
+
scraping_config: Json;
|
|
1615
1463
|
status: string;
|
|
1616
|
-
type: string;
|
|
1617
1464
|
};
|
|
1618
1465
|
Insert: {
|
|
1619
1466
|
batch_ids?: string[];
|
|
1620
1467
|
completed_at?: string | null;
|
|
1621
|
-
config?: Json;
|
|
1622
1468
|
created_at?: string;
|
|
1623
1469
|
description?: string | null;
|
|
1470
|
+
icp?: Json;
|
|
1624
1471
|
id?: string;
|
|
1625
1472
|
instantly_campaign_id?: string | null;
|
|
1626
1473
|
launched_at?: string | null;
|
|
1627
1474
|
metadata?: Json;
|
|
1628
1475
|
name: string;
|
|
1629
1476
|
organization_id: string;
|
|
1477
|
+
pipeline_config?: Json;
|
|
1478
|
+
scraping_config?: Json;
|
|
1630
1479
|
status?: string;
|
|
1631
|
-
type?: string;
|
|
1632
1480
|
};
|
|
1633
1481
|
Update: {
|
|
1634
1482
|
batch_ids?: string[];
|
|
1635
1483
|
completed_at?: string | null;
|
|
1636
|
-
config?: Json;
|
|
1637
1484
|
created_at?: string;
|
|
1638
1485
|
description?: string | null;
|
|
1486
|
+
icp?: Json;
|
|
1639
1487
|
id?: string;
|
|
1640
1488
|
instantly_campaign_id?: string | null;
|
|
1641
1489
|
launched_at?: string | null;
|
|
1642
1490
|
metadata?: Json;
|
|
1643
1491
|
name?: string;
|
|
1644
1492
|
organization_id?: string;
|
|
1493
|
+
pipeline_config?: Json;
|
|
1494
|
+
scraping_config?: Json;
|
|
1645
1495
|
status?: string;
|
|
1646
|
-
type?: string;
|
|
1647
1496
|
};
|
|
1648
1497
|
Relationships: [
|
|
1649
1498
|
{
|
|
1650
|
-
foreignKeyName:
|
|
1651
|
-
columns: [
|
|
1499
|
+
foreignKeyName: 'acq_lists_organization_id_fkey';
|
|
1500
|
+
columns: ['organization_id'];
|
|
1652
1501
|
isOneToOne: false;
|
|
1653
|
-
referencedRelation:
|
|
1654
|
-
referencedColumns: [
|
|
1502
|
+
referencedRelation: 'organizations';
|
|
1503
|
+
referencedColumns: ['id'];
|
|
1655
1504
|
}
|
|
1656
1505
|
];
|
|
1657
1506
|
};
|
|
@@ -1727,18 +1576,18 @@ type Database = {
|
|
|
1727
1576
|
};
|
|
1728
1577
|
Relationships: [
|
|
1729
1578
|
{
|
|
1730
|
-
foreignKeyName:
|
|
1731
|
-
columns: [
|
|
1579
|
+
foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
|
|
1580
|
+
columns: ['organization_id'];
|
|
1732
1581
|
isOneToOne: false;
|
|
1733
|
-
referencedRelation:
|
|
1734
|
-
referencedColumns: [
|
|
1582
|
+
referencedRelation: 'organizations';
|
|
1583
|
+
referencedColumns: ['id'];
|
|
1735
1584
|
},
|
|
1736
1585
|
{
|
|
1737
|
-
foreignKeyName:
|
|
1738
|
-
columns: [
|
|
1586
|
+
foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
|
|
1587
|
+
columns: ['seo_page_id'];
|
|
1739
1588
|
isOneToOne: false;
|
|
1740
|
-
referencedRelation:
|
|
1741
|
-
referencedColumns: [
|
|
1589
|
+
referencedRelation: 'acq_seo_pages';
|
|
1590
|
+
referencedColumns: ['id'];
|
|
1742
1591
|
}
|
|
1743
1592
|
];
|
|
1744
1593
|
};
|
|
@@ -1814,11 +1663,11 @@ type Database = {
|
|
|
1814
1663
|
};
|
|
1815
1664
|
Relationships: [
|
|
1816
1665
|
{
|
|
1817
|
-
foreignKeyName:
|
|
1818
|
-
columns: [
|
|
1666
|
+
foreignKeyName: 'acq_seo_pages_organization_id_fkey';
|
|
1667
|
+
columns: ['organization_id'];
|
|
1819
1668
|
isOneToOne: false;
|
|
1820
|
-
referencedRelation:
|
|
1821
|
-
referencedColumns: [
|
|
1669
|
+
referencedRelation: 'organizations';
|
|
1670
|
+
referencedColumns: ['id'];
|
|
1822
1671
|
}
|
|
1823
1672
|
];
|
|
1824
1673
|
};
|
|
@@ -1915,11 +1764,11 @@ type Database = {
|
|
|
1915
1764
|
};
|
|
1916
1765
|
Relationships: [
|
|
1917
1766
|
{
|
|
1918
|
-
foreignKeyName:
|
|
1919
|
-
columns: [
|
|
1767
|
+
foreignKeyName: 'acq_social_posts_organization_id_fkey';
|
|
1768
|
+
columns: ['organization_id'];
|
|
1920
1769
|
isOneToOne: false;
|
|
1921
|
-
referencedRelation:
|
|
1922
|
-
referencedColumns: [
|
|
1770
|
+
referencedRelation: 'organizations';
|
|
1771
|
+
referencedColumns: ['id'];
|
|
1923
1772
|
}
|
|
1924
1773
|
];
|
|
1925
1774
|
};
|
|
@@ -1974,11 +1823,11 @@ type Database = {
|
|
|
1974
1823
|
};
|
|
1975
1824
|
Relationships: [
|
|
1976
1825
|
{
|
|
1977
|
-
foreignKeyName:
|
|
1978
|
-
columns: [
|
|
1826
|
+
foreignKeyName: 'activities_organization_id_fkey';
|
|
1827
|
+
columns: ['organization_id'];
|
|
1979
1828
|
isOneToOne: false;
|
|
1980
|
-
referencedRelation:
|
|
1981
|
-
referencedColumns: [
|
|
1829
|
+
referencedRelation: 'organizations';
|
|
1830
|
+
referencedColumns: ['id'];
|
|
1982
1831
|
}
|
|
1983
1832
|
];
|
|
1984
1833
|
};
|
|
@@ -2009,11 +1858,11 @@ type Database = {
|
|
|
2009
1858
|
};
|
|
2010
1859
|
Relationships: [
|
|
2011
1860
|
{
|
|
2012
|
-
foreignKeyName:
|
|
2013
|
-
columns: [
|
|
1861
|
+
foreignKeyName: 'api_keys_organization_id_fkey';
|
|
1862
|
+
columns: ['organization_id'];
|
|
2014
1863
|
isOneToOne: false;
|
|
2015
|
-
referencedRelation:
|
|
2016
|
-
referencedColumns: [
|
|
1864
|
+
referencedRelation: 'organizations';
|
|
1865
|
+
referencedColumns: ['id'];
|
|
2017
1866
|
}
|
|
2018
1867
|
];
|
|
2019
1868
|
};
|
|
@@ -2092,25 +1941,25 @@ type Database = {
|
|
|
2092
1941
|
};
|
|
2093
1942
|
Relationships: [
|
|
2094
1943
|
{
|
|
2095
|
-
foreignKeyName:
|
|
2096
|
-
columns: [
|
|
1944
|
+
foreignKeyName: 'command_queue_completed_by_fkey';
|
|
1945
|
+
columns: ['completed_by'];
|
|
2097
1946
|
isOneToOne: false;
|
|
2098
|
-
referencedRelation:
|
|
2099
|
-
referencedColumns: [
|
|
1947
|
+
referencedRelation: 'users';
|
|
1948
|
+
referencedColumns: ['id'];
|
|
2100
1949
|
},
|
|
2101
1950
|
{
|
|
2102
|
-
foreignKeyName:
|
|
2103
|
-
columns: [
|
|
1951
|
+
foreignKeyName: 'command_queue_organization_id_fkey';
|
|
1952
|
+
columns: ['organization_id'];
|
|
2104
1953
|
isOneToOne: false;
|
|
2105
|
-
referencedRelation:
|
|
2106
|
-
referencedColumns: [
|
|
1954
|
+
referencedRelation: 'organizations';
|
|
1955
|
+
referencedColumns: ['id'];
|
|
2107
1956
|
},
|
|
2108
1957
|
{
|
|
2109
|
-
foreignKeyName:
|
|
2110
|
-
columns: [
|
|
1958
|
+
foreignKeyName: 'command_queue_target_execution_id_fkey';
|
|
1959
|
+
columns: ['target_execution_id'];
|
|
2111
1960
|
isOneToOne: false;
|
|
2112
|
-
referencedRelation:
|
|
2113
|
-
referencedColumns: [
|
|
1961
|
+
referencedRelation: 'execution_logs';
|
|
1962
|
+
referencedColumns: ['execution_id'];
|
|
2114
1963
|
}
|
|
2115
1964
|
];
|
|
2116
1965
|
};
|
|
@@ -2150,18 +1999,18 @@ type Database = {
|
|
|
2150
1999
|
};
|
|
2151
2000
|
Relationships: [
|
|
2152
2001
|
{
|
|
2153
|
-
foreignKeyName:
|
|
2154
|
-
columns: [
|
|
2002
|
+
foreignKeyName: 'credentials_created_by_fkey';
|
|
2003
|
+
columns: ['created_by'];
|
|
2155
2004
|
isOneToOne: false;
|
|
2156
|
-
referencedRelation:
|
|
2157
|
-
referencedColumns: [
|
|
2005
|
+
referencedRelation: 'users';
|
|
2006
|
+
referencedColumns: ['id'];
|
|
2158
2007
|
},
|
|
2159
2008
|
{
|
|
2160
|
-
foreignKeyName:
|
|
2161
|
-
columns: [
|
|
2009
|
+
foreignKeyName: 'credentials_organization_id_fkey';
|
|
2010
|
+
columns: ['organization_id'];
|
|
2162
2011
|
isOneToOne: false;
|
|
2163
|
-
referencedRelation:
|
|
2164
|
-
referencedColumns: [
|
|
2012
|
+
referencedRelation: 'organizations';
|
|
2013
|
+
referencedColumns: ['id'];
|
|
2165
2014
|
}
|
|
2166
2015
|
];
|
|
2167
2016
|
};
|
|
@@ -2207,11 +2056,11 @@ type Database = {
|
|
|
2207
2056
|
};
|
|
2208
2057
|
Relationships: [
|
|
2209
2058
|
{
|
|
2210
|
-
foreignKeyName:
|
|
2211
|
-
columns: [
|
|
2059
|
+
foreignKeyName: 'deployments_organization_id_fkey';
|
|
2060
|
+
columns: ['organization_id'];
|
|
2212
2061
|
isOneToOne: false;
|
|
2213
|
-
referencedRelation:
|
|
2214
|
-
referencedColumns: [
|
|
2062
|
+
referencedRelation: 'organizations';
|
|
2063
|
+
referencedColumns: ['id'];
|
|
2215
2064
|
}
|
|
2216
2065
|
];
|
|
2217
2066
|
};
|
|
@@ -2266,25 +2115,25 @@ type Database = {
|
|
|
2266
2115
|
};
|
|
2267
2116
|
Relationships: [
|
|
2268
2117
|
{
|
|
2269
|
-
foreignKeyName:
|
|
2270
|
-
columns: [
|
|
2118
|
+
foreignKeyName: 'execution_errors_execution_id_fkey';
|
|
2119
|
+
columns: ['execution_id'];
|
|
2271
2120
|
isOneToOne: false;
|
|
2272
|
-
referencedRelation:
|
|
2273
|
-
referencedColumns: [
|
|
2121
|
+
referencedRelation: 'execution_logs';
|
|
2122
|
+
referencedColumns: ['execution_id'];
|
|
2274
2123
|
},
|
|
2275
2124
|
{
|
|
2276
|
-
foreignKeyName:
|
|
2277
|
-
columns: [
|
|
2125
|
+
foreignKeyName: 'execution_errors_organization_id_fkey';
|
|
2126
|
+
columns: ['organization_id'];
|
|
2278
2127
|
isOneToOne: false;
|
|
2279
|
-
referencedRelation:
|
|
2280
|
-
referencedColumns: [
|
|
2128
|
+
referencedRelation: 'organizations';
|
|
2129
|
+
referencedColumns: ['id'];
|
|
2281
2130
|
},
|
|
2282
2131
|
{
|
|
2283
|
-
foreignKeyName:
|
|
2284
|
-
columns: [
|
|
2132
|
+
foreignKeyName: 'execution_errors_resolved_by_fkey';
|
|
2133
|
+
columns: ['resolved_by'];
|
|
2285
2134
|
isOneToOne: false;
|
|
2286
|
-
referencedRelation:
|
|
2287
|
-
referencedColumns: [
|
|
2135
|
+
referencedRelation: 'users';
|
|
2136
|
+
referencedColumns: ['id'];
|
|
2288
2137
|
}
|
|
2289
2138
|
];
|
|
2290
2139
|
};
|
|
@@ -2366,32 +2215,32 @@ type Database = {
|
|
|
2366
2215
|
};
|
|
2367
2216
|
Relationships: [
|
|
2368
2217
|
{
|
|
2369
|
-
foreignKeyName:
|
|
2370
|
-
columns: [
|
|
2218
|
+
foreignKeyName: 'execution_history_organization_id_fkey';
|
|
2219
|
+
columns: ['organization_id'];
|
|
2371
2220
|
isOneToOne: false;
|
|
2372
|
-
referencedRelation:
|
|
2373
|
-
referencedColumns: [
|
|
2221
|
+
referencedRelation: 'organizations';
|
|
2222
|
+
referencedColumns: ['id'];
|
|
2374
2223
|
},
|
|
2375
2224
|
{
|
|
2376
|
-
foreignKeyName:
|
|
2377
|
-
columns: [
|
|
2225
|
+
foreignKeyName: 'execution_logs_origin_execution_id_fkey';
|
|
2226
|
+
columns: ['origin_execution_id'];
|
|
2378
2227
|
isOneToOne: false;
|
|
2379
|
-
referencedRelation:
|
|
2380
|
-
referencedColumns: [
|
|
2228
|
+
referencedRelation: 'execution_logs';
|
|
2229
|
+
referencedColumns: ['execution_id'];
|
|
2381
2230
|
},
|
|
2382
2231
|
{
|
|
2383
|
-
foreignKeyName:
|
|
2384
|
-
columns: [
|
|
2232
|
+
foreignKeyName: 'execution_logs_session_id_fkey';
|
|
2233
|
+
columns: ['session_id'];
|
|
2385
2234
|
isOneToOne: false;
|
|
2386
|
-
referencedRelation:
|
|
2387
|
-
referencedColumns: [
|
|
2235
|
+
referencedRelation: 'sessions';
|
|
2236
|
+
referencedColumns: ['session_id'];
|
|
2388
2237
|
},
|
|
2389
2238
|
{
|
|
2390
|
-
foreignKeyName:
|
|
2391
|
-
columns: [
|
|
2239
|
+
foreignKeyName: 'execution_logs_user_id_fkey';
|
|
2240
|
+
columns: ['user_id'];
|
|
2392
2241
|
isOneToOne: false;
|
|
2393
|
-
referencedRelation:
|
|
2394
|
-
referencedColumns: [
|
|
2242
|
+
referencedRelation: 'users';
|
|
2243
|
+
referencedColumns: ['id'];
|
|
2395
2244
|
}
|
|
2396
2245
|
];
|
|
2397
2246
|
};
|
|
@@ -2437,18 +2286,18 @@ type Database = {
|
|
|
2437
2286
|
};
|
|
2438
2287
|
Relationships: [
|
|
2439
2288
|
{
|
|
2440
|
-
foreignKeyName:
|
|
2441
|
-
columns: [
|
|
2289
|
+
foreignKeyName: 'execution_metrics_execution_id_fkey';
|
|
2290
|
+
columns: ['execution_id'];
|
|
2442
2291
|
isOneToOne: true;
|
|
2443
|
-
referencedRelation:
|
|
2444
|
-
referencedColumns: [
|
|
2292
|
+
referencedRelation: 'execution_logs';
|
|
2293
|
+
referencedColumns: ['execution_id'];
|
|
2445
2294
|
},
|
|
2446
2295
|
{
|
|
2447
|
-
foreignKeyName:
|
|
2448
|
-
columns: [
|
|
2296
|
+
foreignKeyName: 'execution_metrics_organization_id_fkey';
|
|
2297
|
+
columns: ['organization_id'];
|
|
2449
2298
|
isOneToOne: false;
|
|
2450
|
-
referencedRelation:
|
|
2451
|
-
referencedColumns: [
|
|
2299
|
+
referencedRelation: 'organizations';
|
|
2300
|
+
referencedColumns: ['id'];
|
|
2452
2301
|
}
|
|
2453
2302
|
];
|
|
2454
2303
|
};
|
|
@@ -2491,18 +2340,18 @@ type Database = {
|
|
|
2491
2340
|
};
|
|
2492
2341
|
Relationships: [
|
|
2493
2342
|
{
|
|
2494
|
-
foreignKeyName:
|
|
2495
|
-
columns: [
|
|
2343
|
+
foreignKeyName: 'notifications_organization_id_fkey';
|
|
2344
|
+
columns: ['organization_id'];
|
|
2496
2345
|
isOneToOne: false;
|
|
2497
|
-
referencedRelation:
|
|
2498
|
-
referencedColumns: [
|
|
2346
|
+
referencedRelation: 'organizations';
|
|
2347
|
+
referencedColumns: ['id'];
|
|
2499
2348
|
},
|
|
2500
2349
|
{
|
|
2501
|
-
foreignKeyName:
|
|
2502
|
-
columns: [
|
|
2350
|
+
foreignKeyName: 'notifications_user_id_fkey';
|
|
2351
|
+
columns: ['user_id'];
|
|
2503
2352
|
isOneToOne: false;
|
|
2504
|
-
referencedRelation:
|
|
2505
|
-
referencedColumns: [
|
|
2353
|
+
referencedRelation: 'users';
|
|
2354
|
+
referencedColumns: ['id'];
|
|
2506
2355
|
}
|
|
2507
2356
|
];
|
|
2508
2357
|
};
|
|
@@ -2557,18 +2406,18 @@ type Database = {
|
|
|
2557
2406
|
};
|
|
2558
2407
|
Relationships: [
|
|
2559
2408
|
{
|
|
2560
|
-
foreignKeyName:
|
|
2561
|
-
columns: [
|
|
2409
|
+
foreignKeyName: 'org_invitations_inviter_user_id_fkey';
|
|
2410
|
+
columns: ['inviter_user_id'];
|
|
2562
2411
|
isOneToOne: false;
|
|
2563
|
-
referencedRelation:
|
|
2564
|
-
referencedColumns: [
|
|
2412
|
+
referencedRelation: 'users';
|
|
2413
|
+
referencedColumns: ['id'];
|
|
2565
2414
|
},
|
|
2566
2415
|
{
|
|
2567
|
-
foreignKeyName:
|
|
2568
|
-
columns: [
|
|
2416
|
+
foreignKeyName: 'org_invitations_organization_id_fkey';
|
|
2417
|
+
columns: ['organization_id'];
|
|
2569
2418
|
isOneToOne: false;
|
|
2570
|
-
referencedRelation:
|
|
2571
|
-
referencedColumns: [
|
|
2419
|
+
referencedRelation: 'organizations';
|
|
2420
|
+
referencedColumns: ['id'];
|
|
2572
2421
|
}
|
|
2573
2422
|
];
|
|
2574
2423
|
};
|
|
@@ -2611,18 +2460,18 @@ type Database = {
|
|
|
2611
2460
|
};
|
|
2612
2461
|
Relationships: [
|
|
2613
2462
|
{
|
|
2614
|
-
foreignKeyName:
|
|
2615
|
-
columns: [
|
|
2463
|
+
foreignKeyName: 'org_memberships_organization_id_fkey';
|
|
2464
|
+
columns: ['organization_id'];
|
|
2616
2465
|
isOneToOne: false;
|
|
2617
|
-
referencedRelation:
|
|
2618
|
-
referencedColumns: [
|
|
2466
|
+
referencedRelation: 'organizations';
|
|
2467
|
+
referencedColumns: ['id'];
|
|
2619
2468
|
},
|
|
2620
2469
|
{
|
|
2621
|
-
foreignKeyName:
|
|
2622
|
-
columns: [
|
|
2470
|
+
foreignKeyName: 'org_memberships_user_id_fkey';
|
|
2471
|
+
columns: ['user_id'];
|
|
2623
2472
|
isOneToOne: false;
|
|
2624
|
-
referencedRelation:
|
|
2625
|
-
referencedColumns: [
|
|
2473
|
+
referencedRelation: 'users';
|
|
2474
|
+
referencedColumns: ['id'];
|
|
2626
2475
|
}
|
|
2627
2476
|
];
|
|
2628
2477
|
};
|
|
@@ -2647,25 +2496,25 @@ type Database = {
|
|
|
2647
2496
|
};
|
|
2648
2497
|
Relationships: [
|
|
2649
2498
|
{
|
|
2650
|
-
foreignKeyName:
|
|
2651
|
-
columns: [
|
|
2499
|
+
foreignKeyName: 'org_rol_assignments_granted_by_fkey';
|
|
2500
|
+
columns: ['granted_by'];
|
|
2652
2501
|
isOneToOne: false;
|
|
2653
|
-
referencedRelation:
|
|
2654
|
-
referencedColumns: [
|
|
2502
|
+
referencedRelation: 'users';
|
|
2503
|
+
referencedColumns: ['id'];
|
|
2655
2504
|
},
|
|
2656
2505
|
{
|
|
2657
|
-
foreignKeyName:
|
|
2658
|
-
columns: [
|
|
2506
|
+
foreignKeyName: 'org_rol_assignments_membership_id_fkey';
|
|
2507
|
+
columns: ['membership_id'];
|
|
2659
2508
|
isOneToOne: false;
|
|
2660
|
-
referencedRelation:
|
|
2661
|
-
referencedColumns: [
|
|
2509
|
+
referencedRelation: 'org_memberships';
|
|
2510
|
+
referencedColumns: ['id'];
|
|
2662
2511
|
},
|
|
2663
2512
|
{
|
|
2664
|
-
foreignKeyName:
|
|
2665
|
-
columns: [
|
|
2513
|
+
foreignKeyName: 'org_rol_assignments_role_id_fkey';
|
|
2514
|
+
columns: ['role_id'];
|
|
2666
2515
|
isOneToOne: false;
|
|
2667
|
-
referencedRelation:
|
|
2668
|
-
referencedColumns: [
|
|
2516
|
+
referencedRelation: 'org_rol_definitions';
|
|
2517
|
+
referencedColumns: ['id'];
|
|
2669
2518
|
}
|
|
2670
2519
|
];
|
|
2671
2520
|
};
|
|
@@ -2702,11 +2551,11 @@ type Database = {
|
|
|
2702
2551
|
};
|
|
2703
2552
|
Relationships: [
|
|
2704
2553
|
{
|
|
2705
|
-
foreignKeyName:
|
|
2706
|
-
columns: [
|
|
2554
|
+
foreignKeyName: 'org_rol_definitions_organization_id_fkey';
|
|
2555
|
+
columns: ['organization_id'];
|
|
2707
2556
|
isOneToOne: false;
|
|
2708
|
-
referencedRelation:
|
|
2709
|
-
referencedColumns: [
|
|
2557
|
+
referencedRelation: 'organizations';
|
|
2558
|
+
referencedColumns: ['id'];
|
|
2710
2559
|
}
|
|
2711
2560
|
];
|
|
2712
2561
|
};
|
|
@@ -2728,18 +2577,18 @@ type Database = {
|
|
|
2728
2577
|
};
|
|
2729
2578
|
Relationships: [
|
|
2730
2579
|
{
|
|
2731
|
-
foreignKeyName:
|
|
2732
|
-
columns: [
|
|
2580
|
+
foreignKeyName: 'org_rol_grants_permission_key_fkey';
|
|
2581
|
+
columns: ['permission_key'];
|
|
2733
2582
|
isOneToOne: false;
|
|
2734
|
-
referencedRelation:
|
|
2735
|
-
referencedColumns: [
|
|
2583
|
+
referencedRelation: 'org_rol_permissions';
|
|
2584
|
+
referencedColumns: ['key'];
|
|
2736
2585
|
},
|
|
2737
2586
|
{
|
|
2738
|
-
foreignKeyName:
|
|
2739
|
-
columns: [
|
|
2587
|
+
foreignKeyName: 'org_rol_grants_role_id_fkey';
|
|
2588
|
+
columns: ['role_id'];
|
|
2740
2589
|
isOneToOne: false;
|
|
2741
|
-
referencedRelation:
|
|
2742
|
-
referencedColumns: [
|
|
2590
|
+
referencedRelation: 'org_rol_definitions';
|
|
2591
|
+
referencedColumns: ['id'];
|
|
2743
2592
|
}
|
|
2744
2593
|
];
|
|
2745
2594
|
};
|
|
@@ -2851,25 +2700,25 @@ type Database = {
|
|
|
2851
2700
|
};
|
|
2852
2701
|
Relationships: [
|
|
2853
2702
|
{
|
|
2854
|
-
foreignKeyName:
|
|
2855
|
-
columns: [
|
|
2703
|
+
foreignKeyName: 'fk_milestones_project';
|
|
2704
|
+
columns: ['project_id'];
|
|
2856
2705
|
isOneToOne: false;
|
|
2857
|
-
referencedRelation:
|
|
2858
|
-
referencedColumns: [
|
|
2706
|
+
referencedRelation: 'prj_projects';
|
|
2707
|
+
referencedColumns: ['id'];
|
|
2859
2708
|
},
|
|
2860
2709
|
{
|
|
2861
|
-
foreignKeyName:
|
|
2862
|
-
columns: [
|
|
2710
|
+
foreignKeyName: 'prj_milestones_organization_id_fkey';
|
|
2711
|
+
columns: ['organization_id'];
|
|
2863
2712
|
isOneToOne: false;
|
|
2864
|
-
referencedRelation:
|
|
2865
|
-
referencedColumns: [
|
|
2713
|
+
referencedRelation: 'organizations';
|
|
2714
|
+
referencedColumns: ['id'];
|
|
2866
2715
|
},
|
|
2867
2716
|
{
|
|
2868
|
-
foreignKeyName:
|
|
2869
|
-
columns: [
|
|
2717
|
+
foreignKeyName: 'prj_milestones_project_id_fkey';
|
|
2718
|
+
columns: ['project_id'];
|
|
2870
2719
|
isOneToOne: false;
|
|
2871
|
-
referencedRelation:
|
|
2872
|
-
referencedColumns: [
|
|
2720
|
+
referencedRelation: 'prj_projects';
|
|
2721
|
+
referencedColumns: ['id'];
|
|
2873
2722
|
}
|
|
2874
2723
|
];
|
|
2875
2724
|
};
|
|
@@ -2918,67 +2767,67 @@ type Database = {
|
|
|
2918
2767
|
};
|
|
2919
2768
|
Relationships: [
|
|
2920
2769
|
{
|
|
2921
|
-
foreignKeyName:
|
|
2922
|
-
columns: [
|
|
2770
|
+
foreignKeyName: 'fk_notes_created_by';
|
|
2771
|
+
columns: ['created_by'];
|
|
2923
2772
|
isOneToOne: false;
|
|
2924
|
-
referencedRelation:
|
|
2925
|
-
referencedColumns: [
|
|
2773
|
+
referencedRelation: 'users';
|
|
2774
|
+
referencedColumns: ['id'];
|
|
2926
2775
|
},
|
|
2927
2776
|
{
|
|
2928
|
-
foreignKeyName:
|
|
2929
|
-
columns: [
|
|
2777
|
+
foreignKeyName: 'fk_notes_milestone';
|
|
2778
|
+
columns: ['milestone_id'];
|
|
2930
2779
|
isOneToOne: false;
|
|
2931
|
-
referencedRelation:
|
|
2932
|
-
referencedColumns: [
|
|
2780
|
+
referencedRelation: 'prj_milestones';
|
|
2781
|
+
referencedColumns: ['id'];
|
|
2933
2782
|
},
|
|
2934
2783
|
{
|
|
2935
|
-
foreignKeyName:
|
|
2936
|
-
columns: [
|
|
2784
|
+
foreignKeyName: 'fk_notes_project';
|
|
2785
|
+
columns: ['project_id'];
|
|
2937
2786
|
isOneToOne: false;
|
|
2938
|
-
referencedRelation:
|
|
2939
|
-
referencedColumns: [
|
|
2787
|
+
referencedRelation: 'prj_projects';
|
|
2788
|
+
referencedColumns: ['id'];
|
|
2940
2789
|
},
|
|
2941
2790
|
{
|
|
2942
|
-
foreignKeyName:
|
|
2943
|
-
columns: [
|
|
2791
|
+
foreignKeyName: 'fk_notes_task';
|
|
2792
|
+
columns: ['task_id'];
|
|
2944
2793
|
isOneToOne: false;
|
|
2945
|
-
referencedRelation:
|
|
2946
|
-
referencedColumns: [
|
|
2794
|
+
referencedRelation: 'prj_tasks';
|
|
2795
|
+
referencedColumns: ['id'];
|
|
2947
2796
|
},
|
|
2948
2797
|
{
|
|
2949
|
-
foreignKeyName:
|
|
2950
|
-
columns: [
|
|
2798
|
+
foreignKeyName: 'prj_notes_created_by_fkey';
|
|
2799
|
+
columns: ['created_by'];
|
|
2951
2800
|
isOneToOne: false;
|
|
2952
|
-
referencedRelation:
|
|
2953
|
-
referencedColumns: [
|
|
2801
|
+
referencedRelation: 'users';
|
|
2802
|
+
referencedColumns: ['id'];
|
|
2954
2803
|
},
|
|
2955
2804
|
{
|
|
2956
|
-
foreignKeyName:
|
|
2957
|
-
columns: [
|
|
2805
|
+
foreignKeyName: 'prj_notes_milestone_id_fkey';
|
|
2806
|
+
columns: ['milestone_id'];
|
|
2958
2807
|
isOneToOne: false;
|
|
2959
|
-
referencedRelation:
|
|
2960
|
-
referencedColumns: [
|
|
2808
|
+
referencedRelation: 'prj_milestones';
|
|
2809
|
+
referencedColumns: ['id'];
|
|
2961
2810
|
},
|
|
2962
2811
|
{
|
|
2963
|
-
foreignKeyName:
|
|
2964
|
-
columns: [
|
|
2812
|
+
foreignKeyName: 'prj_notes_organization_id_fkey';
|
|
2813
|
+
columns: ['organization_id'];
|
|
2965
2814
|
isOneToOne: false;
|
|
2966
|
-
referencedRelation:
|
|
2967
|
-
referencedColumns: [
|
|
2815
|
+
referencedRelation: 'organizations';
|
|
2816
|
+
referencedColumns: ['id'];
|
|
2968
2817
|
},
|
|
2969
2818
|
{
|
|
2970
|
-
foreignKeyName:
|
|
2971
|
-
columns: [
|
|
2819
|
+
foreignKeyName: 'prj_notes_project_id_fkey';
|
|
2820
|
+
columns: ['project_id'];
|
|
2972
2821
|
isOneToOne: false;
|
|
2973
|
-
referencedRelation:
|
|
2974
|
-
referencedColumns: [
|
|
2822
|
+
referencedRelation: 'prj_projects';
|
|
2823
|
+
referencedColumns: ['id'];
|
|
2975
2824
|
},
|
|
2976
2825
|
{
|
|
2977
|
-
foreignKeyName:
|
|
2978
|
-
columns: [
|
|
2826
|
+
foreignKeyName: 'prj_notes_task_id_fkey';
|
|
2827
|
+
columns: ['task_id'];
|
|
2979
2828
|
isOneToOne: false;
|
|
2980
|
-
referencedRelation:
|
|
2981
|
-
referencedColumns: [
|
|
2829
|
+
referencedRelation: 'prj_tasks';
|
|
2830
|
+
referencedColumns: ['id'];
|
|
2982
2831
|
}
|
|
2983
2832
|
];
|
|
2984
2833
|
};
|
|
@@ -3036,39 +2885,39 @@ type Database = {
|
|
|
3036
2885
|
};
|
|
3037
2886
|
Relationships: [
|
|
3038
2887
|
{
|
|
3039
|
-
foreignKeyName:
|
|
3040
|
-
columns: [
|
|
2888
|
+
foreignKeyName: 'fk_projects_company';
|
|
2889
|
+
columns: ['client_company_id'];
|
|
3041
2890
|
isOneToOne: false;
|
|
3042
|
-
referencedRelation:
|
|
3043
|
-
referencedColumns: [
|
|
2891
|
+
referencedRelation: 'acq_companies';
|
|
2892
|
+
referencedColumns: ['id'];
|
|
3044
2893
|
},
|
|
3045
2894
|
{
|
|
3046
|
-
foreignKeyName:
|
|
3047
|
-
columns: [
|
|
2895
|
+
foreignKeyName: 'fk_projects_deal';
|
|
2896
|
+
columns: ['deal_id'];
|
|
3048
2897
|
isOneToOne: false;
|
|
3049
|
-
referencedRelation:
|
|
3050
|
-
referencedColumns: [
|
|
2898
|
+
referencedRelation: 'acq_deals';
|
|
2899
|
+
referencedColumns: ['id'];
|
|
3051
2900
|
},
|
|
3052
2901
|
{
|
|
3053
|
-
foreignKeyName:
|
|
3054
|
-
columns: [
|
|
2902
|
+
foreignKeyName: 'prj_projects_client_company_id_fkey';
|
|
2903
|
+
columns: ['client_company_id'];
|
|
3055
2904
|
isOneToOne: false;
|
|
3056
|
-
referencedRelation:
|
|
3057
|
-
referencedColumns: [
|
|
2905
|
+
referencedRelation: 'acq_companies';
|
|
2906
|
+
referencedColumns: ['id'];
|
|
3058
2907
|
},
|
|
3059
2908
|
{
|
|
3060
|
-
foreignKeyName:
|
|
3061
|
-
columns: [
|
|
2909
|
+
foreignKeyName: 'prj_projects_deal_id_fkey';
|
|
2910
|
+
columns: ['deal_id'];
|
|
3062
2911
|
isOneToOne: false;
|
|
3063
|
-
referencedRelation:
|
|
3064
|
-
referencedColumns: [
|
|
2912
|
+
referencedRelation: 'acq_deals';
|
|
2913
|
+
referencedColumns: ['id'];
|
|
3065
2914
|
},
|
|
3066
2915
|
{
|
|
3067
|
-
foreignKeyName:
|
|
3068
|
-
columns: [
|
|
2916
|
+
foreignKeyName: 'prj_projects_organization_id_fkey';
|
|
2917
|
+
columns: ['organization_id'];
|
|
3069
2918
|
isOneToOne: false;
|
|
3070
|
-
referencedRelation:
|
|
3071
|
-
referencedColumns: [
|
|
2919
|
+
referencedRelation: 'organizations';
|
|
2920
|
+
referencedColumns: ['id'];
|
|
3072
2921
|
}
|
|
3073
2922
|
];
|
|
3074
2923
|
};
|
|
@@ -3132,53 +2981,53 @@ type Database = {
|
|
|
3132
2981
|
};
|
|
3133
2982
|
Relationships: [
|
|
3134
2983
|
{
|
|
3135
|
-
foreignKeyName:
|
|
3136
|
-
columns: [
|
|
2984
|
+
foreignKeyName: 'fk_tasks_milestone';
|
|
2985
|
+
columns: ['milestone_id'];
|
|
3137
2986
|
isOneToOne: false;
|
|
3138
|
-
referencedRelation:
|
|
3139
|
-
referencedColumns: [
|
|
2987
|
+
referencedRelation: 'prj_milestones';
|
|
2988
|
+
referencedColumns: ['id'];
|
|
3140
2989
|
},
|
|
3141
2990
|
{
|
|
3142
|
-
foreignKeyName:
|
|
3143
|
-
columns: [
|
|
2991
|
+
foreignKeyName: 'fk_tasks_parent';
|
|
2992
|
+
columns: ['parent_task_id'];
|
|
3144
2993
|
isOneToOne: false;
|
|
3145
|
-
referencedRelation:
|
|
3146
|
-
referencedColumns: [
|
|
2994
|
+
referencedRelation: 'prj_tasks';
|
|
2995
|
+
referencedColumns: ['id'];
|
|
3147
2996
|
},
|
|
3148
2997
|
{
|
|
3149
|
-
foreignKeyName:
|
|
3150
|
-
columns: [
|
|
2998
|
+
foreignKeyName: 'fk_tasks_project';
|
|
2999
|
+
columns: ['project_id'];
|
|
3151
3000
|
isOneToOne: false;
|
|
3152
|
-
referencedRelation:
|
|
3153
|
-
referencedColumns: [
|
|
3001
|
+
referencedRelation: 'prj_projects';
|
|
3002
|
+
referencedColumns: ['id'];
|
|
3154
3003
|
},
|
|
3155
3004
|
{
|
|
3156
|
-
foreignKeyName:
|
|
3157
|
-
columns: [
|
|
3005
|
+
foreignKeyName: 'prj_tasks_milestone_id_fkey';
|
|
3006
|
+
columns: ['milestone_id'];
|
|
3158
3007
|
isOneToOne: false;
|
|
3159
|
-
referencedRelation:
|
|
3160
|
-
referencedColumns: [
|
|
3008
|
+
referencedRelation: 'prj_milestones';
|
|
3009
|
+
referencedColumns: ['id'];
|
|
3161
3010
|
},
|
|
3162
3011
|
{
|
|
3163
|
-
foreignKeyName:
|
|
3164
|
-
columns: [
|
|
3012
|
+
foreignKeyName: 'prj_tasks_organization_id_fkey';
|
|
3013
|
+
columns: ['organization_id'];
|
|
3165
3014
|
isOneToOne: false;
|
|
3166
|
-
referencedRelation:
|
|
3167
|
-
referencedColumns: [
|
|
3015
|
+
referencedRelation: 'organizations';
|
|
3016
|
+
referencedColumns: ['id'];
|
|
3168
3017
|
},
|
|
3169
3018
|
{
|
|
3170
|
-
foreignKeyName:
|
|
3171
|
-
columns: [
|
|
3019
|
+
foreignKeyName: 'prj_tasks_parent_task_id_fkey';
|
|
3020
|
+
columns: ['parent_task_id'];
|
|
3172
3021
|
isOneToOne: false;
|
|
3173
|
-
referencedRelation:
|
|
3174
|
-
referencedColumns: [
|
|
3022
|
+
referencedRelation: 'prj_tasks';
|
|
3023
|
+
referencedColumns: ['id'];
|
|
3175
3024
|
},
|
|
3176
3025
|
{
|
|
3177
|
-
foreignKeyName:
|
|
3178
|
-
columns: [
|
|
3026
|
+
foreignKeyName: 'prj_tasks_project_id_fkey';
|
|
3027
|
+
columns: ['project_id'];
|
|
3179
3028
|
isOneToOne: false;
|
|
3180
|
-
referencedRelation:
|
|
3181
|
-
referencedColumns: [
|
|
3029
|
+
referencedRelation: 'prj_projects';
|
|
3030
|
+
referencedColumns: ['id'];
|
|
3182
3031
|
}
|
|
3183
3032
|
];
|
|
3184
3033
|
};
|
|
@@ -3248,25 +3097,25 @@ type Database = {
|
|
|
3248
3097
|
};
|
|
3249
3098
|
Relationships: [
|
|
3250
3099
|
{
|
|
3251
|
-
foreignKeyName:
|
|
3252
|
-
columns: [
|
|
3100
|
+
foreignKeyName: 'reported_requests_organization_id_fkey';
|
|
3101
|
+
columns: ['organization_id'];
|
|
3253
3102
|
isOneToOne: false;
|
|
3254
|
-
referencedRelation:
|
|
3255
|
-
referencedColumns: [
|
|
3103
|
+
referencedRelation: 'organizations';
|
|
3104
|
+
referencedColumns: ['id'];
|
|
3256
3105
|
},
|
|
3257
3106
|
{
|
|
3258
|
-
foreignKeyName:
|
|
3259
|
-
columns: [
|
|
3107
|
+
foreignKeyName: 'reported_requests_project_id_fkey';
|
|
3108
|
+
columns: ['project_id'];
|
|
3260
3109
|
isOneToOne: false;
|
|
3261
|
-
referencedRelation:
|
|
3262
|
-
referencedColumns: [
|
|
3110
|
+
referencedRelation: 'prj_projects';
|
|
3111
|
+
referencedColumns: ['id'];
|
|
3263
3112
|
},
|
|
3264
3113
|
{
|
|
3265
|
-
foreignKeyName:
|
|
3266
|
-
columns: [
|
|
3114
|
+
foreignKeyName: 'reported_requests_task_id_fkey';
|
|
3115
|
+
columns: ['task_id'];
|
|
3267
3116
|
isOneToOne: false;
|
|
3268
|
-
referencedRelation:
|
|
3269
|
-
referencedColumns: [
|
|
3117
|
+
referencedRelation: 'prj_tasks';
|
|
3118
|
+
referencedColumns: ['id'];
|
|
3270
3119
|
}
|
|
3271
3120
|
];
|
|
3272
3121
|
};
|
|
@@ -3306,11 +3155,11 @@ type Database = {
|
|
|
3306
3155
|
};
|
|
3307
3156
|
Relationships: [
|
|
3308
3157
|
{
|
|
3309
|
-
foreignKeyName:
|
|
3310
|
-
columns: [
|
|
3158
|
+
foreignKeyName: 'session_messages_session_id_fkey';
|
|
3159
|
+
columns: ['session_id'];
|
|
3311
3160
|
isOneToOne: false;
|
|
3312
|
-
referencedRelation:
|
|
3313
|
-
referencedColumns: [
|
|
3161
|
+
referencedRelation: 'sessions';
|
|
3162
|
+
referencedColumns: ['session_id'];
|
|
3314
3163
|
}
|
|
3315
3164
|
];
|
|
3316
3165
|
};
|
|
@@ -3365,18 +3214,18 @@ type Database = {
|
|
|
3365
3214
|
};
|
|
3366
3215
|
Relationships: [
|
|
3367
3216
|
{
|
|
3368
|
-
foreignKeyName:
|
|
3369
|
-
columns: [
|
|
3217
|
+
foreignKeyName: 'fk_organization';
|
|
3218
|
+
columns: ['organization_id'];
|
|
3370
3219
|
isOneToOne: false;
|
|
3371
|
-
referencedRelation:
|
|
3372
|
-
referencedColumns: [
|
|
3220
|
+
referencedRelation: 'organizations';
|
|
3221
|
+
referencedColumns: ['id'];
|
|
3373
3222
|
},
|
|
3374
3223
|
{
|
|
3375
|
-
foreignKeyName:
|
|
3376
|
-
columns: [
|
|
3224
|
+
foreignKeyName: 'fk_user';
|
|
3225
|
+
columns: ['user_id'];
|
|
3377
3226
|
isOneToOne: false;
|
|
3378
|
-
referencedRelation:
|
|
3379
|
-
referencedColumns: [
|
|
3227
|
+
referencedRelation: 'users';
|
|
3228
|
+
referencedColumns: ['id'];
|
|
3380
3229
|
}
|
|
3381
3230
|
];
|
|
3382
3231
|
};
|
|
@@ -3452,11 +3301,11 @@ type Database = {
|
|
|
3452
3301
|
};
|
|
3453
3302
|
Relationships: [
|
|
3454
3303
|
{
|
|
3455
|
-
foreignKeyName:
|
|
3456
|
-
columns: [
|
|
3304
|
+
foreignKeyName: 'task_schedules_organization_id_fkey';
|
|
3305
|
+
columns: ['organization_id'];
|
|
3457
3306
|
isOneToOne: false;
|
|
3458
|
-
referencedRelation:
|
|
3459
|
-
referencedColumns: [
|
|
3307
|
+
referencedRelation: 'organizations';
|
|
3308
|
+
referencedColumns: ['id'];
|
|
3460
3309
|
}
|
|
3461
3310
|
];
|
|
3462
3311
|
};
|
|
@@ -3511,11 +3360,11 @@ type Database = {
|
|
|
3511
3360
|
};
|
|
3512
3361
|
Relationships: [
|
|
3513
3362
|
{
|
|
3514
|
-
foreignKeyName:
|
|
3515
|
-
columns: [
|
|
3363
|
+
foreignKeyName: 'user_profiles_last_visited_org_fkey';
|
|
3364
|
+
columns: ['last_visited_org'];
|
|
3516
3365
|
isOneToOne: false;
|
|
3517
|
-
referencedRelation:
|
|
3518
|
-
referencedColumns: [
|
|
3366
|
+
referencedRelation: 'organizations';
|
|
3367
|
+
referencedColumns: ['id'];
|
|
3519
3368
|
}
|
|
3520
3369
|
];
|
|
3521
3370
|
};
|
|
@@ -3564,11 +3413,11 @@ type Database = {
|
|
|
3564
3413
|
};
|
|
3565
3414
|
Relationships: [
|
|
3566
3415
|
{
|
|
3567
|
-
foreignKeyName:
|
|
3568
|
-
columns: [
|
|
3416
|
+
foreignKeyName: 'webhook_endpoints_organization_id_fkey';
|
|
3417
|
+
columns: ['organization_id'];
|
|
3569
3418
|
isOneToOne: false;
|
|
3570
|
-
referencedRelation:
|
|
3571
|
-
referencedColumns: [
|
|
3419
|
+
referencedRelation: 'organizations';
|
|
3420
|
+
referencedColumns: ['id'];
|
|
3572
3421
|
}
|
|
3573
3422
|
];
|
|
3574
3423
|
};
|
|
@@ -3716,17 +3565,17 @@ type Database = {
|
|
|
3716
3565
|
};
|
|
3717
3566
|
};
|
|
3718
3567
|
};
|
|
3719
|
-
type DatabaseWithoutInternals = Omit<Database,
|
|
3720
|
-
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database,
|
|
3721
|
-
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
3568
|
+
type DatabaseWithoutInternals = Omit<Database, '__InternalSupabase'>;
|
|
3569
|
+
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, 'public'>];
|
|
3570
|
+
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) | {
|
|
3722
3571
|
schema: keyof DatabaseWithoutInternals;
|
|
3723
3572
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
3724
3573
|
schema: keyof DatabaseWithoutInternals;
|
|
3725
|
-
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
3574
|
+
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views']) : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
3726
3575
|
schema: keyof DatabaseWithoutInternals;
|
|
3727
|
-
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
3576
|
+
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
|
|
3728
3577
|
Row: infer R;
|
|
3729
|
-
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
3578
|
+
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] & DefaultSchema['Views']) ? (DefaultSchema['Tables'] & DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
|
|
3730
3579
|
Row: infer R;
|
|
3731
3580
|
} ? R : never : never;
|
|
3732
3581
|
|
|
@@ -3875,6 +3724,138 @@ interface ListTelemetry {
|
|
|
3875
3724
|
activeWorkflows?: string[];
|
|
3876
3725
|
}
|
|
3877
3726
|
|
|
3727
|
+
declare const TransitionItemRequestSchema: z.ZodObject<{
|
|
3728
|
+
pipelineKey: z.ZodString;
|
|
3729
|
+
stageKey: z.ZodString;
|
|
3730
|
+
stateKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3731
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3732
|
+
expectedUpdatedAt: z.ZodOptional<z.ZodString>;
|
|
3733
|
+
}, z.core.$strict>;
|
|
3734
|
+
type TransitionItemRequest = z.infer<typeof TransitionItemRequestSchema>;
|
|
3735
|
+
/**
|
|
3736
|
+
* Lifecycle status enum for `acq_lists.status` (mirrors DB CHECK constraint
|
|
3737
|
+
* from migration 20260428000003_lead_gen_acq_lists_status_and_config.sql).
|
|
3738
|
+
*/
|
|
3739
|
+
declare const ListStatusSchema: z.ZodEnum<{
|
|
3740
|
+
closing: "closing";
|
|
3741
|
+
draft: "draft";
|
|
3742
|
+
enriching: "enriching";
|
|
3743
|
+
launched: "launched";
|
|
3744
|
+
archived: "archived";
|
|
3745
|
+
}>;
|
|
3746
|
+
declare const ListCompaniesQuerySchema: z.ZodObject<{
|
|
3747
|
+
search: z.ZodOptional<z.ZodString>;
|
|
3748
|
+
listId: z.ZodOptional<z.ZodString>;
|
|
3749
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
3750
|
+
website: z.ZodOptional<z.ZodString>;
|
|
3751
|
+
segment: z.ZodOptional<z.ZodString>;
|
|
3752
|
+
category: z.ZodOptional<z.ZodString>;
|
|
3753
|
+
batchId: z.ZodOptional<z.ZodString>;
|
|
3754
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
3755
|
+
active: "active";
|
|
3756
|
+
invalid: "invalid";
|
|
3757
|
+
}>>;
|
|
3758
|
+
includeAll: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3759
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3760
|
+
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3761
|
+
}, z.core.$strict>;
|
|
3762
|
+
declare const ListContactsQuerySchema: z.ZodObject<{
|
|
3763
|
+
search: z.ZodOptional<z.ZodString>;
|
|
3764
|
+
listId: z.ZodOptional<z.ZodString>;
|
|
3765
|
+
openingLineIsNull: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3766
|
+
batchId: z.ZodOptional<z.ZodString>;
|
|
3767
|
+
contactStatus: z.ZodOptional<z.ZodEnum<{
|
|
3768
|
+
active: "active";
|
|
3769
|
+
invalid: "invalid";
|
|
3770
|
+
}>>;
|
|
3771
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3772
|
+
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3773
|
+
}, z.core.$strict>;
|
|
3774
|
+
declare const AcqCompanyResponseSchema: z.ZodObject<{
|
|
3775
|
+
id: z.ZodString;
|
|
3776
|
+
organizationId: z.ZodString;
|
|
3777
|
+
name: z.ZodString;
|
|
3778
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
3779
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
3780
|
+
website: z.ZodNullable<z.ZodString>;
|
|
3781
|
+
numEmployees: z.ZodNullable<z.ZodNumber>;
|
|
3782
|
+
foundedYear: z.ZodNullable<z.ZodNumber>;
|
|
3783
|
+
locationCity: z.ZodNullable<z.ZodString>;
|
|
3784
|
+
locationState: z.ZodNullable<z.ZodString>;
|
|
3785
|
+
category: z.ZodNullable<z.ZodString>;
|
|
3786
|
+
categoryPain: z.ZodNullable<z.ZodString>;
|
|
3787
|
+
segment: z.ZodNullable<z.ZodString>;
|
|
3788
|
+
pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3789
|
+
enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3790
|
+
source: z.ZodNullable<z.ZodString>;
|
|
3791
|
+
batchId: z.ZodNullable<z.ZodString>;
|
|
3792
|
+
status: z.ZodEnum<{
|
|
3793
|
+
active: "active";
|
|
3794
|
+
invalid: "invalid";
|
|
3795
|
+
}>;
|
|
3796
|
+
contactCount: z.ZodNumber;
|
|
3797
|
+
verticalResearch: z.ZodNullable<z.ZodString>;
|
|
3798
|
+
createdAt: z.ZodString;
|
|
3799
|
+
updatedAt: z.ZodString;
|
|
3800
|
+
}, z.core.$strip>;
|
|
3801
|
+
declare const AcqContactResponseSchema: z.ZodObject<{
|
|
3802
|
+
id: z.ZodString;
|
|
3803
|
+
organizationId: z.ZodString;
|
|
3804
|
+
companyId: z.ZodNullable<z.ZodString>;
|
|
3805
|
+
email: z.ZodString;
|
|
3806
|
+
emailValid: z.ZodNullable<z.ZodEnum<{
|
|
3807
|
+
VALID: "VALID";
|
|
3808
|
+
INVALID: "INVALID";
|
|
3809
|
+
RISKY: "RISKY";
|
|
3810
|
+
UNKNOWN: "UNKNOWN";
|
|
3811
|
+
}>>;
|
|
3812
|
+
firstName: z.ZodNullable<z.ZodString>;
|
|
3813
|
+
lastName: z.ZodNullable<z.ZodString>;
|
|
3814
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
3815
|
+
title: z.ZodNullable<z.ZodString>;
|
|
3816
|
+
headline: z.ZodNullable<z.ZodString>;
|
|
3817
|
+
filterReason: z.ZodNullable<z.ZodString>;
|
|
3818
|
+
openingLine: z.ZodNullable<z.ZodString>;
|
|
3819
|
+
source: z.ZodNullable<z.ZodString>;
|
|
3820
|
+
sourceId: z.ZodNullable<z.ZodString>;
|
|
3821
|
+
pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3822
|
+
enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3823
|
+
attioPersonId: z.ZodNullable<z.ZodString>;
|
|
3824
|
+
batchId: z.ZodNullable<z.ZodString>;
|
|
3825
|
+
status: z.ZodEnum<{
|
|
3826
|
+
active: "active";
|
|
3827
|
+
invalid: "invalid";
|
|
3828
|
+
}>;
|
|
3829
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3830
|
+
id: z.ZodString;
|
|
3831
|
+
name: z.ZodString;
|
|
3832
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
3833
|
+
website: z.ZodNullable<z.ZodString>;
|
|
3834
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
3835
|
+
segment: z.ZodNullable<z.ZodString>;
|
|
3836
|
+
category: z.ZodNullable<z.ZodString>;
|
|
3837
|
+
status: z.ZodEnum<{
|
|
3838
|
+
active: "active";
|
|
3839
|
+
invalid: "invalid";
|
|
3840
|
+
}>;
|
|
3841
|
+
}, z.core.$strip>>>;
|
|
3842
|
+
createdAt: z.ZodString;
|
|
3843
|
+
updatedAt: z.ZodString;
|
|
3844
|
+
}, z.core.$strip>;
|
|
3845
|
+
declare const AcqArtifactOwnerKindSchema: z.ZodEnum<{
|
|
3846
|
+
company: "company";
|
|
3847
|
+
contact: "contact";
|
|
3848
|
+
list: "list";
|
|
3849
|
+
deal: "deal";
|
|
3850
|
+
list_member: "list_member";
|
|
3851
|
+
}>;
|
|
3852
|
+
type ListCompaniesQuery = z.infer<typeof ListCompaniesQuerySchema>;
|
|
3853
|
+
type ListContactsQuery = z.infer<typeof ListContactsQuerySchema>;
|
|
3854
|
+
type AcqCompanyResponse = z.infer<typeof AcqCompanyResponseSchema>;
|
|
3855
|
+
type AcqContactResponse = z.infer<typeof AcqContactResponseSchema>;
|
|
3856
|
+
type AcqArtifactOwnerKind = z.infer<typeof AcqArtifactOwnerKindSchema>;
|
|
3857
|
+
type ListStatus = z.infer<typeof ListStatusSchema>;
|
|
3858
|
+
|
|
3878
3859
|
/**
|
|
3879
3860
|
* Lead Service Types
|
|
3880
3861
|
* CRUD operation types for the acquisition platform (lists, companies, contacts, deals)
|
|
@@ -4145,153 +4126,62 @@ type ProjectRow = Database['public']['Tables']['prj_projects']['Row'];
|
|
|
4145
4126
|
type ProjectUpdate = Database['public']['Tables']['prj_projects']['Update'];
|
|
4146
4127
|
type MilestoneRow = Database['public']['Tables']['prj_milestones']['Row'];
|
|
4147
4128
|
type MilestoneUpdate = Database['public']['Tables']['prj_milestones']['Update'];
|
|
4148
|
-
type TaskRow = Database['public']['Tables']['prj_tasks']['Row'];
|
|
4149
|
-
type TaskUpdate = Database['public']['Tables']['prj_tasks']['Update'];
|
|
4150
|
-
type ProjectStatus = 'active' | 'on_track' | 'at_risk' | 'blocked' | 'completed' | 'paused';
|
|
4151
|
-
type ProjectKind = 'client_engagement' | 'internal' | 'research' | 'other';
|
|
4152
|
-
type MilestoneStatus = 'upcoming' | 'in_progress' | 'completed' | 'overdue' | 'blocked';
|
|
4153
|
-
type TaskStatus = 'planned' | 'in_progress' | 'blocked' | 'completed' | 'cancelled' | 'submitted' | 'approved' | 'rejected' | 'revision_requested';
|
|
4154
|
-
type TaskType = 'documentation' | 'code' | 'report' | 'design' | 'other';
|
|
4155
|
-
type NoteType = 'call_note' | 'status_update' | 'issue' | 'blocker' | 'agent_learning';
|
|
4156
|
-
interface ProjectFilters {
|
|
4157
|
-
status?: ProjectStatus;
|
|
4158
|
-
kind?: ProjectKind;
|
|
4159
|
-
companyId?: string;
|
|
4160
|
-
search?: string;
|
|
4161
|
-
}
|
|
4162
|
-
interface MilestoneFilters {
|
|
4163
|
-
status?: MilestoneStatus;
|
|
4164
|
-
projectId?: string;
|
|
4165
|
-
}
|
|
4166
|
-
interface TaskFilters {
|
|
4167
|
-
status?: TaskStatus;
|
|
4168
|
-
type?: TaskType;
|
|
4169
|
-
milestoneId?: string;
|
|
4170
|
-
projectId?: string;
|
|
4171
|
-
}
|
|
4172
|
-
interface NoteFilters {
|
|
4173
|
-
type?: NoteType;
|
|
4174
|
-
projectId?: string;
|
|
4175
|
-
}
|
|
4176
|
-
interface ProjectWithCounts extends ProjectRow {
|
|
4177
|
-
milestoneCount: number;
|
|
4178
|
-
taskCount: number;
|
|
4179
|
-
completedMilestones?: number;
|
|
4180
|
-
completedTasks?: number;
|
|
4181
|
-
}
|
|
4182
|
-
interface ProjectDetail extends ProjectRow {
|
|
4183
|
-
milestones: MilestoneRow[];
|
|
4184
|
-
tasks: TaskRow[];
|
|
4185
|
-
company: {
|
|
4186
|
-
id: string;
|
|
4187
|
-
name: string;
|
|
4188
|
-
domain: string | null;
|
|
4189
|
-
} | null;
|
|
4190
|
-
}
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
includeAll: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4205
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
4206
|
-
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
4207
|
-
}, z.core.$strict>;
|
|
4208
|
-
declare const ListContactsQuerySchema: z.ZodObject<{
|
|
4209
|
-
search: z.ZodOptional<z.ZodString>;
|
|
4210
|
-
listId: z.ZodOptional<z.ZodString>;
|
|
4211
|
-
openingLineIsNull: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4212
|
-
batchId: z.ZodOptional<z.ZodString>;
|
|
4213
|
-
contactStatus: z.ZodOptional<z.ZodEnum<{
|
|
4214
|
-
active: "active";
|
|
4215
|
-
invalid: "invalid";
|
|
4216
|
-
}>>;
|
|
4217
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
4218
|
-
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
4219
|
-
}, z.core.$strict>;
|
|
4220
|
-
declare const AcqCompanyResponseSchema: z.ZodObject<{
|
|
4221
|
-
id: z.ZodString;
|
|
4222
|
-
organizationId: z.ZodString;
|
|
4223
|
-
name: z.ZodString;
|
|
4224
|
-
domain: z.ZodNullable<z.ZodString>;
|
|
4225
|
-
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
4226
|
-
website: z.ZodNullable<z.ZodString>;
|
|
4227
|
-
numEmployees: z.ZodNullable<z.ZodNumber>;
|
|
4228
|
-
foundedYear: z.ZodNullable<z.ZodNumber>;
|
|
4229
|
-
locationCity: z.ZodNullable<z.ZodString>;
|
|
4230
|
-
locationState: z.ZodNullable<z.ZodString>;
|
|
4231
|
-
category: z.ZodNullable<z.ZodString>;
|
|
4232
|
-
categoryPain: z.ZodNullable<z.ZodString>;
|
|
4233
|
-
segment: z.ZodNullable<z.ZodString>;
|
|
4234
|
-
pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4235
|
-
enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4236
|
-
source: z.ZodNullable<z.ZodString>;
|
|
4237
|
-
batchId: z.ZodNullable<z.ZodString>;
|
|
4238
|
-
status: z.ZodEnum<{
|
|
4239
|
-
active: "active";
|
|
4240
|
-
invalid: "invalid";
|
|
4241
|
-
}>;
|
|
4242
|
-
contactCount: z.ZodNumber;
|
|
4243
|
-
verticalResearch: z.ZodNullable<z.ZodString>;
|
|
4244
|
-
createdAt: z.ZodString;
|
|
4245
|
-
updatedAt: z.ZodString;
|
|
4246
|
-
}, z.core.$strip>;
|
|
4247
|
-
declare const AcqContactResponseSchema: z.ZodObject<{
|
|
4248
|
-
id: z.ZodString;
|
|
4249
|
-
organizationId: z.ZodString;
|
|
4250
|
-
companyId: z.ZodNullable<z.ZodString>;
|
|
4251
|
-
email: z.ZodString;
|
|
4252
|
-
emailValid: z.ZodNullable<z.ZodEnum<{
|
|
4253
|
-
VALID: "VALID";
|
|
4254
|
-
INVALID: "INVALID";
|
|
4255
|
-
RISKY: "RISKY";
|
|
4256
|
-
UNKNOWN: "UNKNOWN";
|
|
4257
|
-
}>>;
|
|
4258
|
-
firstName: z.ZodNullable<z.ZodString>;
|
|
4259
|
-
lastName: z.ZodNullable<z.ZodString>;
|
|
4260
|
-
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
4261
|
-
title: z.ZodNullable<z.ZodString>;
|
|
4262
|
-
headline: z.ZodNullable<z.ZodString>;
|
|
4263
|
-
filterReason: z.ZodNullable<z.ZodString>;
|
|
4264
|
-
openingLine: z.ZodNullable<z.ZodString>;
|
|
4265
|
-
source: z.ZodNullable<z.ZodString>;
|
|
4266
|
-
sourceId: z.ZodNullable<z.ZodString>;
|
|
4267
|
-
pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4268
|
-
enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4269
|
-
attioPersonId: z.ZodNullable<z.ZodString>;
|
|
4270
|
-
batchId: z.ZodNullable<z.ZodString>;
|
|
4271
|
-
status: z.ZodEnum<{
|
|
4272
|
-
active: "active";
|
|
4273
|
-
invalid: "invalid";
|
|
4274
|
-
}>;
|
|
4275
|
-
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4276
|
-
id: z.ZodString;
|
|
4277
|
-
name: z.ZodString;
|
|
4278
|
-
domain: z.ZodNullable<z.ZodString>;
|
|
4279
|
-
website: z.ZodNullable<z.ZodString>;
|
|
4280
|
-
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
4281
|
-
segment: z.ZodNullable<z.ZodString>;
|
|
4282
|
-
category: z.ZodNullable<z.ZodString>;
|
|
4283
|
-
status: z.ZodEnum<{
|
|
4284
|
-
active: "active";
|
|
4285
|
-
invalid: "invalid";
|
|
4286
|
-
}>;
|
|
4287
|
-
}, z.core.$strip>>>;
|
|
4288
|
-
createdAt: z.ZodString;
|
|
4289
|
-
updatedAt: z.ZodString;
|
|
4290
|
-
}, z.core.$strip>;
|
|
4291
|
-
type ListCompaniesQuery = z.infer<typeof ListCompaniesQuerySchema>;
|
|
4292
|
-
type ListContactsQuery = z.infer<typeof ListContactsQuerySchema>;
|
|
4293
|
-
type AcqCompanyResponse = z.infer<typeof AcqCompanyResponseSchema>;
|
|
4294
|
-
type AcqContactResponse = z.infer<typeof AcqContactResponseSchema>;
|
|
4129
|
+
type TaskRow = Database['public']['Tables']['prj_tasks']['Row'];
|
|
4130
|
+
type TaskUpdate = Database['public']['Tables']['prj_tasks']['Update'];
|
|
4131
|
+
type ProjectStatus = 'active' | 'on_track' | 'at_risk' | 'blocked' | 'completed' | 'paused';
|
|
4132
|
+
type ProjectKind = 'client_engagement' | 'internal' | 'research' | 'other';
|
|
4133
|
+
type MilestoneStatus = 'upcoming' | 'in_progress' | 'completed' | 'overdue' | 'blocked';
|
|
4134
|
+
type TaskStatus = 'planned' | 'in_progress' | 'blocked' | 'completed' | 'cancelled' | 'submitted' | 'approved' | 'rejected' | 'revision_requested';
|
|
4135
|
+
type TaskType = 'documentation' | 'code' | 'report' | 'design' | 'other';
|
|
4136
|
+
type NoteType = 'call_note' | 'status_update' | 'issue' | 'blocker' | 'agent_learning';
|
|
4137
|
+
interface ProjectFilters {
|
|
4138
|
+
status?: ProjectStatus;
|
|
4139
|
+
kind?: ProjectKind;
|
|
4140
|
+
companyId?: string;
|
|
4141
|
+
search?: string;
|
|
4142
|
+
}
|
|
4143
|
+
interface MilestoneFilters {
|
|
4144
|
+
status?: MilestoneStatus;
|
|
4145
|
+
projectId?: string;
|
|
4146
|
+
}
|
|
4147
|
+
interface TaskFilters {
|
|
4148
|
+
status?: TaskStatus;
|
|
4149
|
+
type?: TaskType;
|
|
4150
|
+
milestoneId?: string;
|
|
4151
|
+
projectId?: string;
|
|
4152
|
+
}
|
|
4153
|
+
interface NoteFilters {
|
|
4154
|
+
type?: NoteType;
|
|
4155
|
+
projectId?: string;
|
|
4156
|
+
}
|
|
4157
|
+
interface ProjectWithCounts extends ProjectRow {
|
|
4158
|
+
milestoneCount: number;
|
|
4159
|
+
taskCount: number;
|
|
4160
|
+
completedMilestones?: number;
|
|
4161
|
+
completedTasks?: number;
|
|
4162
|
+
}
|
|
4163
|
+
interface ProjectDetail extends ProjectRow {
|
|
4164
|
+
milestones: MilestoneRow[];
|
|
4165
|
+
tasks: TaskRow[];
|
|
4166
|
+
company: {
|
|
4167
|
+
id: string;
|
|
4168
|
+
name: string;
|
|
4169
|
+
domain: string | null;
|
|
4170
|
+
} | null;
|
|
4171
|
+
}
|
|
4172
|
+
|
|
4173
|
+
interface Action {
|
|
4174
|
+
key: string;
|
|
4175
|
+
label: string;
|
|
4176
|
+
payloadSchema?: z.ZodTypeAny;
|
|
4177
|
+
}
|
|
4178
|
+
interface ActionDef {
|
|
4179
|
+
key: string;
|
|
4180
|
+
label: string;
|
|
4181
|
+
isAvailableFor: (deal: AcqDealRow) => boolean;
|
|
4182
|
+
workflowId: string;
|
|
4183
|
+
payloadSchema?: z.ZodTypeAny;
|
|
4184
|
+
}
|
|
4295
4185
|
|
|
4296
4186
|
type MessageType = MessageEvent['type'];
|
|
4297
4187
|
/**
|
|
@@ -5669,37 +5559,292 @@ interface Deployment {
|
|
|
5669
5559
|
}
|
|
5670
5560
|
|
|
5671
5561
|
/**
|
|
5672
|
-
* Time range utility functions
|
|
5673
|
-
* Converts TimeRange enum to ISO 8601 date strings and labels
|
|
5562
|
+
* Time range utility functions
|
|
5563
|
+
* Converts TimeRange enum to ISO 8601 date strings and labels
|
|
5564
|
+
*/
|
|
5565
|
+
|
|
5566
|
+
/**
|
|
5567
|
+
* Convert TimeRange to start and end ISO 8601 date strings
|
|
5568
|
+
* @param range - Time range enum (1h, 24h, 7d, 30d)
|
|
5569
|
+
* @returns Object with startDate and endDate as ISO 8601 strings
|
|
5570
|
+
*/
|
|
5571
|
+
declare function getTimeRangeDates(range: TimeRange): TimeRangeDates;
|
|
5572
|
+
/**
|
|
5573
|
+
* Get a human-readable label for a time range
|
|
5574
|
+
* @param range - Time range enum
|
|
5575
|
+
* @returns Human-readable label
|
|
5576
|
+
*/
|
|
5577
|
+
declare function getTimeRangeLabel(range: TimeRange): string;
|
|
5578
|
+
|
|
5579
|
+
/**
|
|
5580
|
+
* GET /api/credentials - List credentials
|
|
5581
|
+
*/
|
|
5582
|
+
declare const ListCredentialsResponseSchema: z.ZodObject<{
|
|
5583
|
+
credentials: z.ZodArray<z.ZodObject<{
|
|
5584
|
+
id: z.ZodString;
|
|
5585
|
+
name: z.ZodString;
|
|
5586
|
+
type: z.ZodString;
|
|
5587
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
5588
|
+
createdAt: z.ZodString;
|
|
5589
|
+
}, z.core.$strip>>;
|
|
5590
|
+
}, z.core.$strip>;
|
|
5591
|
+
/** API response type for a single credential list item */
|
|
5592
|
+
type CredentialListItem = z.infer<typeof ListCredentialsResponseSchema>['credentials'][number];
|
|
5593
|
+
|
|
5594
|
+
/** Flat + per-scheme override pattern. Flat values apply to both; `light`/`dark` win over flat. */
|
|
5595
|
+
type WithSchemes<T> = T & {
|
|
5596
|
+
light?: T;
|
|
5597
|
+
dark?: T;
|
|
5598
|
+
};
|
|
5599
|
+
/**
|
|
5600
|
+
* Theme token overrides. Each key maps 1:1 to a CSS variable.
|
|
5601
|
+
* All optional — defaults come from Elevasis design system.
|
|
5602
|
+
*/
|
|
5603
|
+
interface ElevasisTokenOverrides {
|
|
5604
|
+
primary?: string;
|
|
5605
|
+
/** Text color that contrasts with `primary`. Defaults to '#fff'. */
|
|
5606
|
+
primaryContrast?: string;
|
|
5607
|
+
background?: string;
|
|
5608
|
+
surface?: string;
|
|
5609
|
+
surfaceHover?: string;
|
|
5610
|
+
/** Opaque surface for floating overlays (modals, menus, popovers) — guarantees readable contrast against decorative backgrounds. */
|
|
5611
|
+
elevatedSurface?: string;
|
|
5612
|
+
text?: string;
|
|
5613
|
+
textDimmed?: string;
|
|
5614
|
+
textSubtle?: string;
|
|
5615
|
+
border?: string;
|
|
5616
|
+
error?: string;
|
|
5617
|
+
warning?: string;
|
|
5618
|
+
success?: string;
|
|
5619
|
+
glassBackground?: string;
|
|
5620
|
+
glassBlur?: string;
|
|
5621
|
+
shadow?: string;
|
|
5622
|
+
cardShadow?: string;
|
|
5623
|
+
durationFast?: string;
|
|
5624
|
+
durationNormal?: string;
|
|
5625
|
+
easing?: string;
|
|
5626
|
+
/** Foreground text color for destructive/error buttons. Defaults to '#fff'. */
|
|
5627
|
+
destructiveFg?: string;
|
|
5628
|
+
/** Heading font family — used for titles, section headers. */
|
|
5629
|
+
fontHeading?: string;
|
|
5630
|
+
/** Body font family — used for general text. */
|
|
5631
|
+
fontSans?: string;
|
|
5632
|
+
}
|
|
5633
|
+
/**
|
|
5634
|
+
* Core theme config — Mantine-free.
|
|
5635
|
+
* Used by ElevasisCoreProvider and as the base for ElevasisThemeConfig.
|
|
5636
|
+
*/
|
|
5637
|
+
interface ElevasisCoreThemeConfig {
|
|
5638
|
+
/** Color scheme: 'light', 'dark', or 'auto'. Defaults to 'dark'. */
|
|
5639
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
5640
|
+
/** Named preset — bundles light/dark token defaults. Defaults to 'default'. Accepts built-in PresetName or custom preset key. */
|
|
5641
|
+
preset?: PresetName | (string & {});
|
|
5642
|
+
/**
|
|
5643
|
+
* Semantic token overrides fed into CSS variables.
|
|
5644
|
+
* Flat values apply to both schemes. `light`/`dark` nested values win over flat.
|
|
5645
|
+
*/
|
|
5646
|
+
tokens?: WithSchemes<ElevasisTokenOverrides>;
|
|
5647
|
+
/** Custom presets map — when provided, used instead of built-in presets. Typically `{ ...presets, ...customPresets }`. */
|
|
5648
|
+
presets?: Record<string, ThemePreset>;
|
|
5649
|
+
}
|
|
5650
|
+
/**
|
|
5651
|
+
* Auth configuration union.
|
|
5652
|
+
* 'authkit' (WorkOS AuthKit) is the supported mode.
|
|
5653
|
+
* 'apiKey' is defined for forward type compatibility but will throw at runtime.
|
|
5654
|
+
*/
|
|
5655
|
+
type AuthConfig = AuthKitConfig | ApiKeyConfig;
|
|
5656
|
+
interface AuthKitConfig {
|
|
5657
|
+
mode: 'authkit';
|
|
5658
|
+
clientId: string;
|
|
5659
|
+
/** AuthKit API hostname. Defaults to 'api.workos.com'. */
|
|
5660
|
+
apiHostname?: string;
|
|
5661
|
+
/** Redirect URI after auth. */
|
|
5662
|
+
redirectUri?: string;
|
|
5663
|
+
/** Keep refresh tokens in localStorage. Defaults to false. */
|
|
5664
|
+
devMode?: boolean;
|
|
5665
|
+
}
|
|
5666
|
+
/** Deferred -- will throw at runtime. */
|
|
5667
|
+
interface ApiKeyConfig {
|
|
5668
|
+
mode: 'apiKey';
|
|
5669
|
+
key: string;
|
|
5670
|
+
}
|
|
5671
|
+
interface ElevasisCoreProviderProps {
|
|
5672
|
+
/** Auth configuration. Supports 'authkit' mode. */
|
|
5673
|
+
auth: AuthConfig;
|
|
5674
|
+
/**
|
|
5675
|
+
* Elevasis core theme configuration (Mantine-free).
|
|
5676
|
+
* Set `colorScheme` ('light', 'dark', 'auto') and override `tokens` (design tokens).
|
|
5677
|
+
* Defaults: colorScheme='dark', Elevasis design system tokens.
|
|
5678
|
+
*/
|
|
5679
|
+
theme?: ElevasisCoreThemeConfig;
|
|
5680
|
+
/**
|
|
5681
|
+
* @deprecated Organization ID is now resolved automatically via OrganizationProvider.
|
|
5682
|
+
* This prop is accepted for backwards compatibility during migration but is no longer
|
|
5683
|
+
* used when the full provider stack is active (apiUrl provided).
|
|
5684
|
+
*/
|
|
5685
|
+
organizationId?: string | null;
|
|
5686
|
+
/** Custom QueryClient. If omitted, a default is created internally. */
|
|
5687
|
+
queryClient?: QueryClient;
|
|
5688
|
+
/**
|
|
5689
|
+
* API base URL (e.g., 'https://api.elevasis.com' or 'http://localhost:5170').
|
|
5690
|
+
* When provided, ElevasisCoreProvider composes the full provider stack:
|
|
5691
|
+
* ApiClientProvider + ElevasisServiceProvider + ProfileProvider +
|
|
5692
|
+
* OrganizationProvider + NotificationProvider + InitializationProvider.
|
|
5693
|
+
* When omitted, no service context is provided (theme-only mode).
|
|
5694
|
+
*/
|
|
5695
|
+
apiUrl?: string;
|
|
5696
|
+
/**
|
|
5697
|
+
* Error callback for API responses with status >= 500.
|
|
5698
|
+
* Only used when apiUrl is provided.
|
|
5699
|
+
*/
|
|
5700
|
+
onError?: (endpoint: string, error: Error, details?: ApiErrorDetails) => void;
|
|
5701
|
+
/**
|
|
5702
|
+
* @deprecated Organization readiness is now managed internally by OrganizationProvider.
|
|
5703
|
+
* Accepted for backwards compatibility but ignored when apiUrl is provided.
|
|
5704
|
+
*/
|
|
5705
|
+
isOrganizationReady?: boolean;
|
|
5706
|
+
/**
|
|
5707
|
+
* Notification adapter for displaying success/error/info messages.
|
|
5708
|
+
* When provided, wraps the subtree in a NotificationProvider with this adapter.
|
|
5709
|
+
* When omitted, the console fallback adapter is used automatically.
|
|
5710
|
+
*
|
|
5711
|
+
* ElevasisUIProvider (Mantine variant) passes a Mantine-backed adapter here automatically.
|
|
5712
|
+
* Headless/SDK consumers can pass a custom adapter or omit for console output.
|
|
5713
|
+
*/
|
|
5714
|
+
notifications?: NotificationAdapter;
|
|
5715
|
+
/**
|
|
5716
|
+
* Whether to inject CSS variables, `data-elevasis-scheme` attribute, and font links.
|
|
5717
|
+
* Set to `false` when the consumer has its own complete design system and only
|
|
5718
|
+
* needs auth + API from this provider. Defaults to `true`.
|
|
5719
|
+
*/
|
|
5720
|
+
injectStyles?: boolean;
|
|
5721
|
+
/**
|
|
5722
|
+
* CRM action definitions used by DealDetailPage and DealDrawer.
|
|
5723
|
+
* Defaults to DEFAULT_CRM_ACTIONS. Pass a custom array to override or extend
|
|
5724
|
+
* the default action set for your organization's sales flow.
|
|
5725
|
+
*
|
|
5726
|
+
* @example
|
|
5727
|
+
* ```tsx
|
|
5728
|
+
* import { DEFAULT_CRM_ACTIONS, type ActionDef } from '@elevasis/sdk'
|
|
5729
|
+
* const myActions: ActionDef[] = [
|
|
5730
|
+
* ...DEFAULT_CRM_ACTIONS,
|
|
5731
|
+
* { key: 'send_quote', label: 'Send Quote',
|
|
5732
|
+
* isAvailableFor: d => d.stage_key === 'proposal',
|
|
5733
|
+
* workflowId: 'send-quote-workflow' },
|
|
5734
|
+
* ]
|
|
5735
|
+
* <ElevasisUIProvider crmActions={myActions} ... />
|
|
5736
|
+
* ```
|
|
5737
|
+
*/
|
|
5738
|
+
crmActions?: ActionDef[];
|
|
5739
|
+
children: ReactNode;
|
|
5740
|
+
}
|
|
5741
|
+
/**
|
|
5742
|
+
* Service context value exposed by ElevasisServiceProvider.
|
|
5743
|
+
* Provides a ready-to-use apiRequest function and organization state.
|
|
5744
|
+
*
|
|
5745
|
+
* For standalone usage (testing, embedding), use ElevasisServiceProvider directly.
|
|
5746
|
+
* For standard SDK usage, ElevasisUIProvider composes this automatically when apiUrl is provided.
|
|
5747
|
+
*/
|
|
5748
|
+
interface ElevasisServiceContextValue {
|
|
5749
|
+
apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
5750
|
+
organizationId: string | null;
|
|
5751
|
+
isReady: boolean;
|
|
5752
|
+
}
|
|
5753
|
+
interface ElevasisServiceProviderProps {
|
|
5754
|
+
apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
5755
|
+
organizationId: string | null;
|
|
5756
|
+
isReady: boolean;
|
|
5757
|
+
children: ReactNode;
|
|
5758
|
+
}
|
|
5759
|
+
|
|
5760
|
+
/** Framework-agnostic theme overrides bundled with a preset (fonts, radius, component styles). */
|
|
5761
|
+
interface FrameworkThemeOverrides {
|
|
5762
|
+
fontFamily?: string;
|
|
5763
|
+
defaultRadius?: string;
|
|
5764
|
+
headings?: {
|
|
5765
|
+
fontFamily?: string;
|
|
5766
|
+
fontWeight?: string;
|
|
5767
|
+
};
|
|
5768
|
+
components?: Record<string, unknown>;
|
|
5769
|
+
}
|
|
5770
|
+
/** Tokens every preset must define. `elevatedSurface` is progressively adopted and stays optional. */
|
|
5771
|
+
type PresetTokens = Required<Omit<ElevasisTokenOverrides, 'elevatedSurface'>> & Pick<ElevasisTokenOverrides, 'elevatedSurface'>;
|
|
5772
|
+
interface ThemePreset {
|
|
5773
|
+
light: PresetTokens;
|
|
5774
|
+
dark: PresetTokens;
|
|
5775
|
+
/** Optional framework theme overrides bundled with this preset (fonts, radius, etc.). */
|
|
5776
|
+
framework?: FrameworkThemeOverrides;
|
|
5777
|
+
/**
|
|
5778
|
+
* Subtitle font family — used for card names, section labels, and nav items.
|
|
5779
|
+
* Sits between heading and body in the typographic hierarchy.
|
|
5780
|
+
*/
|
|
5781
|
+
subtitleFontFamily?: string;
|
|
5782
|
+
/** Google Fonts URLs to load when this preset is active. */
|
|
5783
|
+
fontImports?: string[];
|
|
5784
|
+
/** Display label for settings UI (e.g. "Tactical"). Built-in presets define this; custom presets must provide it. */
|
|
5785
|
+
label?: string;
|
|
5786
|
+
/** Short description for settings UI (e.g. "Tactical command center aesthetic"). */
|
|
5787
|
+
description?: string;
|
|
5788
|
+
/** Three representative hex colors for swatch display: [primary, dark-bg, light-bg]. */
|
|
5789
|
+
colors?: [string, string, string];
|
|
5790
|
+
/**
|
|
5791
|
+
* Background layers rendered behind app content when this preset is active.
|
|
5792
|
+
* Overridden by `theme.background` on the provider if both are set.
|
|
5793
|
+
*/
|
|
5794
|
+
background?: ReactNode;
|
|
5795
|
+
/**
|
|
5796
|
+
* Loader element used in loading states when this preset is active.
|
|
5797
|
+
* Overridden by `theme.loader` on the provider if both are set.
|
|
5798
|
+
*/
|
|
5799
|
+
loader?: ReactNode;
|
|
5800
|
+
}
|
|
5801
|
+
type PresetName = 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'titanium' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-chrome' | 'cyber-void' | 'nirvana' | 'wave' | 'synapse' | 'cortex' | 'helios' | 'graphite' | 'quarry';
|
|
5802
|
+
|
|
5803
|
+
/** 10-shade color tuple (light → dark), compatible with Mantine's color format. */
|
|
5804
|
+
type ColorShadesTuple = [string, string, string, string, string, string, string, string, string, string];
|
|
5805
|
+
/**
|
|
5806
|
+
* Generate a 10-shade Mantine color tuple from a single hex color.
|
|
5807
|
+
* Input color maps to shade 6 (Mantine's default primary shade).
|
|
5808
|
+
* Shades 0-5 are progressively lighter, 7-9 are progressively darker.
|
|
5674
5809
|
*/
|
|
5810
|
+
declare function generateShades(hex: string): ColorShadesTuple;
|
|
5675
5811
|
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
*/
|
|
5681
|
-
declare function getTimeRangeDates(range: TimeRange): TimeRangeDates;
|
|
5682
|
-
/**
|
|
5683
|
-
* Get a human-readable label for a time range
|
|
5684
|
-
* @param range - Time range enum
|
|
5685
|
-
* @returns Human-readable label
|
|
5686
|
-
*/
|
|
5687
|
-
declare function getTimeRangeLabel(range: TimeRange): string;
|
|
5812
|
+
declare const PRESETS: Record<PresetName, ThemePreset>;
|
|
5813
|
+
|
|
5814
|
+
/** Look up a preset by name. Falls back to default preset for unknown names. */
|
|
5815
|
+
declare function getPreset(name: PresetName | (string & {}), presetsMap?: Record<string, ThemePreset>): ThemePreset;
|
|
5688
5816
|
|
|
5817
|
+
/** Token key → CSS variable name. Single source of truth for the mapping. */
|
|
5818
|
+
declare const TOKEN_VAR_MAP: Record<keyof ElevasisTokenOverrides, string>;
|
|
5689
5819
|
/**
|
|
5690
|
-
*
|
|
5820
|
+
* Creates a CSS variables resolver from theme config.
|
|
5821
|
+
*
|
|
5822
|
+
* Merge order per scheme: PRESET_DEFAULTS → flat overrides → scheme-specific overrides
|
|
5691
5823
|
*/
|
|
5692
|
-
declare
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
/**
|
|
5702
|
-
|
|
5824
|
+
declare function createCssVariablesResolver(tokens?: ElevasisCoreThemeConfig['tokens'], preset?: PresetName | (string & {}), presetsMap?: Record<string, ThemePreset>): CSSVariablesResolver;
|
|
5825
|
+
|
|
5826
|
+
declare const mantineThemeOverride: MantineThemeOverride;
|
|
5827
|
+
|
|
5828
|
+
declare const componentThemes: MantineThemeOverride['components'];
|
|
5829
|
+
|
|
5830
|
+
declare const PresetsProvider: react.Provider<Record<string, ThemePreset>>;
|
|
5831
|
+
declare function usePresetsContext(): Record<string, ThemePreset>;
|
|
5832
|
+
|
|
5833
|
+
/** Preset entry with display metadata for settings UI. */
|
|
5834
|
+
interface PresetEntry {
|
|
5835
|
+
/** Preset key (e.g. 'tactical', 'my-custom-brand'). */
|
|
5836
|
+
value: string;
|
|
5837
|
+
/** Display label (e.g. 'Tactical'). Falls back to titlecased key. */
|
|
5838
|
+
label: string;
|
|
5839
|
+
/** Short description. Falls back to empty string. */
|
|
5840
|
+
description: string;
|
|
5841
|
+
/** Three representative hex colors for swatch: [primary, dark-bg, light-bg]. Falls back to preset's dark/light primary + backgrounds. */
|
|
5842
|
+
colors: [string, string, string];
|
|
5843
|
+
/** True for presets not in the built-in PresetName union. */
|
|
5844
|
+
isCustom: boolean;
|
|
5845
|
+
}
|
|
5846
|
+
/** Returns all available presets as UI-ready entries. */
|
|
5847
|
+
declare function useAvailablePresets(): PresetEntry[];
|
|
5703
5848
|
|
|
5704
5849
|
/**
|
|
5705
5850
|
* Merges SSE-streamed logs with fetched execution data for instant log display.
|
|
@@ -6548,7 +6693,37 @@ declare function ScrollToTop(): react_jsx_runtime.JSX.Element;
|
|
|
6548
6693
|
* </ElevasisCoreProvider>
|
|
6549
6694
|
* ```
|
|
6550
6695
|
*/
|
|
6551
|
-
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
|
|
6696
|
+
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, crmActions, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
|
|
6697
|
+
|
|
6698
|
+
/**
|
|
6699
|
+
* Provides the active CRM action definitions to deal action surfaces.
|
|
6700
|
+
*
|
|
6701
|
+
* Defaults to DEFAULT_CRM_ACTIONS. External consumers can override via the
|
|
6702
|
+
* `crmActions` prop on ElevasisCoreProvider / ElevasisUIProvider.
|
|
6703
|
+
*
|
|
6704
|
+
* @example External override
|
|
6705
|
+
* ```tsx
|
|
6706
|
+
* import { DEFAULT_CRM_ACTIONS, type ActionDef } from '@elevasis/sdk'
|
|
6707
|
+
*
|
|
6708
|
+
* const myActions: ActionDef[] = [
|
|
6709
|
+
* ...DEFAULT_CRM_ACTIONS,
|
|
6710
|
+
* { key: 'send_quote', label: 'Send Quote',
|
|
6711
|
+
* isAvailableFor: d => d.stage_key === 'proposal',
|
|
6712
|
+
* workflowId: 'send-quote-workflow' },
|
|
6713
|
+
* ]
|
|
6714
|
+
*
|
|
6715
|
+
* <ElevasisUIProvider crmActions={myActions} ... />
|
|
6716
|
+
* ```
|
|
6717
|
+
*/
|
|
6718
|
+
declare function CrmActionsProvider({ actions, children }: {
|
|
6719
|
+
actions: ActionDef[];
|
|
6720
|
+
children: ReactNode;
|
|
6721
|
+
}): react_jsx_runtime.JSX.Element;
|
|
6722
|
+
/**
|
|
6723
|
+
* Returns the active CRM ActionDef array for the current provider tree.
|
|
6724
|
+
* Defaults to DEFAULT_CRM_ACTIONS if no CrmActionsProvider is mounted above.
|
|
6725
|
+
*/
|
|
6726
|
+
declare function useCrmActions(): ActionDef[];
|
|
6552
6727
|
|
|
6553
6728
|
interface FetchEventSourceWithTokenRefreshOptions {
|
|
6554
6729
|
url: string;
|
|
@@ -6732,6 +6907,9 @@ interface ElevasisThemeConfig extends ElevasisCoreThemeConfig {
|
|
|
6732
6907
|
/**
|
|
6733
6908
|
* Props for ElevasisUIProvider (Mantine variant).
|
|
6734
6909
|
* Extends ElevasisCoreProviderProps with Mantine-aware theme config.
|
|
6910
|
+
*
|
|
6911
|
+
* Accepts `crmActions` from ElevasisCoreProviderProps — pass a custom ActionDef[]
|
|
6912
|
+
* to override or extend the default CRM action set for DealDetailPage / DealDrawer.
|
|
6735
6913
|
*/
|
|
6736
6914
|
interface ElevasisUIProviderProps extends Omit<ElevasisCoreProviderProps, 'theme' | 'notifications'> {
|
|
6737
6915
|
theme?: ElevasisThemeConfig;
|
|
@@ -8813,6 +8991,23 @@ interface TransitionItemInput {
|
|
|
8813
8991
|
*/
|
|
8814
8992
|
declare function useTransitionItem(): _tanstack_react_query.UseMutationResult<void, Error, TransitionItemInput, unknown>;
|
|
8815
8993
|
|
|
8994
|
+
interface ExecuteActionInput {
|
|
8995
|
+
key: string;
|
|
8996
|
+
payload?: Record<string, unknown>;
|
|
8997
|
+
}
|
|
8998
|
+
/**
|
|
8999
|
+
* Execute a CRM deal action via POST /deals/:dealId/actions/:key.
|
|
9000
|
+
*
|
|
9001
|
+
* The server validates availability server-authoritatively, dispatches through
|
|
9002
|
+
* the unified workflow path via the action definition's workflowId, and emits an
|
|
9003
|
+
* action_taken activity event.
|
|
9004
|
+
*
|
|
9005
|
+
* On success invalidates the deal detail and deals list queries.
|
|
9006
|
+
*/
|
|
9007
|
+
declare function useExecuteAction({ dealId }: {
|
|
9008
|
+
dealId: string;
|
|
9009
|
+
}): _tanstack_react_query.UseMutationResult<void, Error, ExecuteActionInput, unknown>;
|
|
9010
|
+
|
|
8816
9011
|
/**
|
|
8817
9012
|
* Query keys for deal notes
|
|
8818
9013
|
*/
|
|
@@ -8905,45 +9100,32 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
|
|
|
8905
9100
|
type: string;
|
|
8906
9101
|
batchIds: string[];
|
|
8907
9102
|
instantlyCampaignId: string | null;
|
|
8908
|
-
status:
|
|
9103
|
+
status: "closing" | "draft" | "enriching" | "launched" | "archived";
|
|
8909
9104
|
metadata: Record<string, unknown>;
|
|
8910
9105
|
launchedAt: string | null;
|
|
8911
9106
|
completedAt: string | null;
|
|
8912
9107
|
createdAt: string;
|
|
8913
|
-
|
|
8914
|
-
|
|
8915
|
-
|
|
8916
|
-
|
|
8917
|
-
|
|
8918
|
-
|
|
8919
|
-
|
|
8920
|
-
|
|
8921
|
-
|
|
8922
|
-
|
|
8923
|
-
|
|
8924
|
-
|
|
8925
|
-
|
|
8926
|
-
|
|
8927
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
creativeDirection?: string | undefined;
|
|
8935
|
-
exclusionRules?: string[] | undefined;
|
|
8936
|
-
} | undefined;
|
|
8937
|
-
pipeline?: {
|
|
8938
|
-
steps: {
|
|
8939
|
-
key: string;
|
|
8940
|
-
label: string;
|
|
8941
|
-
resourceId: string;
|
|
8942
|
-
inputTemplate: Record<string, unknown>;
|
|
8943
|
-
enabled: boolean;
|
|
8944
|
-
order: number;
|
|
8945
|
-
}[];
|
|
8946
|
-
} | undefined;
|
|
9108
|
+
scrapingConfig: {
|
|
9109
|
+
vertical?: string | undefined;
|
|
9110
|
+
geography?: string | undefined;
|
|
9111
|
+
size?: string | undefined;
|
|
9112
|
+
apifyInput?: Record<string, unknown> | undefined;
|
|
9113
|
+
};
|
|
9114
|
+
icp: {
|
|
9115
|
+
qualificationRubricKey?: string | null | undefined;
|
|
9116
|
+
targetDescription?: string | undefined;
|
|
9117
|
+
minReviewCount?: number | undefined;
|
|
9118
|
+
minRating?: number | undefined;
|
|
9119
|
+
excludeFranchises?: boolean | undefined;
|
|
9120
|
+
customRules?: string | undefined;
|
|
9121
|
+
};
|
|
9122
|
+
pipelineConfig: {
|
|
9123
|
+
stages?: {
|
|
9124
|
+
key: string;
|
|
9125
|
+
label?: string | undefined;
|
|
9126
|
+
enabled?: boolean | undefined;
|
|
9127
|
+
order?: number | undefined;
|
|
9128
|
+
}[] | undefined;
|
|
8947
9129
|
};
|
|
8948
9130
|
}[], Error>;
|
|
8949
9131
|
declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
@@ -8954,49 +9136,47 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
|
8954
9136
|
type: string;
|
|
8955
9137
|
batchIds: string[];
|
|
8956
9138
|
instantlyCampaignId: string | null;
|
|
8957
|
-
status:
|
|
9139
|
+
status: "closing" | "draft" | "enriching" | "launched" | "archived";
|
|
8958
9140
|
metadata: Record<string, unknown>;
|
|
8959
9141
|
launchedAt: string | null;
|
|
8960
9142
|
completedAt: string | null;
|
|
8961
9143
|
createdAt: string;
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
|
|
8970
|
-
|
|
8971
|
-
|
|
8972
|
-
|
|
8973
|
-
|
|
8974
|
-
|
|
8975
|
-
|
|
8976
|
-
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
|
|
8980
|
-
|
|
8981
|
-
|
|
8982
|
-
|
|
8983
|
-
creativeDirection?: string | undefined;
|
|
8984
|
-
exclusionRules?: string[] | undefined;
|
|
8985
|
-
} | undefined;
|
|
8986
|
-
pipeline?: {
|
|
8987
|
-
steps: {
|
|
8988
|
-
key: string;
|
|
8989
|
-
label: string;
|
|
8990
|
-
resourceId: string;
|
|
8991
|
-
inputTemplate: Record<string, unknown>;
|
|
8992
|
-
enabled: boolean;
|
|
8993
|
-
order: number;
|
|
8994
|
-
}[];
|
|
8995
|
-
} | undefined;
|
|
9144
|
+
scrapingConfig: {
|
|
9145
|
+
vertical?: string | undefined;
|
|
9146
|
+
geography?: string | undefined;
|
|
9147
|
+
size?: string | undefined;
|
|
9148
|
+
apifyInput?: Record<string, unknown> | undefined;
|
|
9149
|
+
};
|
|
9150
|
+
icp: {
|
|
9151
|
+
qualificationRubricKey?: string | null | undefined;
|
|
9152
|
+
targetDescription?: string | undefined;
|
|
9153
|
+
minReviewCount?: number | undefined;
|
|
9154
|
+
minRating?: number | undefined;
|
|
9155
|
+
excludeFranchises?: boolean | undefined;
|
|
9156
|
+
customRules?: string | undefined;
|
|
9157
|
+
};
|
|
9158
|
+
pipelineConfig: {
|
|
9159
|
+
stages?: {
|
|
9160
|
+
key: string;
|
|
9161
|
+
label?: string | undefined;
|
|
9162
|
+
enabled?: boolean | undefined;
|
|
9163
|
+
order?: number | undefined;
|
|
9164
|
+
}[] | undefined;
|
|
8996
9165
|
};
|
|
8997
9166
|
}, Error>;
|
|
8998
9167
|
declare function useListsTelemetry(): _tanstack_react_query.UseQueryResult<ListTelemetry[], Error>;
|
|
8999
|
-
declare function useListProgress(listId: string): _tanstack_react_query.UseQueryResult<
|
|
9168
|
+
declare function useListProgress(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
9169
|
+
totalMembers: number;
|
|
9170
|
+
totalCompanies: number;
|
|
9171
|
+
byCompanyStage: Record<string, {
|
|
9172
|
+
done: number;
|
|
9173
|
+
total: number;
|
|
9174
|
+
}>;
|
|
9175
|
+
byContactStage: Record<string, {
|
|
9176
|
+
done: number;
|
|
9177
|
+
total: number;
|
|
9178
|
+
}>;
|
|
9179
|
+
}, Error>;
|
|
9000
9180
|
declare function useListExecutions(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
9001
9181
|
executionId: string;
|
|
9002
9182
|
resourceId: string;
|
|
@@ -9013,84 +9193,58 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
|
|
|
9013
9193
|
type: string;
|
|
9014
9194
|
batchIds: string[];
|
|
9015
9195
|
instantlyCampaignId: string | null;
|
|
9016
|
-
status:
|
|
9196
|
+
status: "closing" | "draft" | "enriching" | "launched" | "archived";
|
|
9017
9197
|
metadata: Record<string, unknown>;
|
|
9018
9198
|
launchedAt: string | null;
|
|
9019
9199
|
completedAt: string | null;
|
|
9020
9200
|
createdAt: string;
|
|
9021
|
-
|
|
9022
|
-
|
|
9023
|
-
|
|
9024
|
-
|
|
9025
|
-
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
|
|
9029
|
-
|
|
9030
|
-
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
|
-
|
|
9034
|
-
|
|
9035
|
-
|
|
9036
|
-
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
creativeDirection?: string | undefined;
|
|
9043
|
-
exclusionRules?: string[] | undefined;
|
|
9044
|
-
} | undefined;
|
|
9045
|
-
pipeline?: {
|
|
9046
|
-
steps: {
|
|
9047
|
-
key: string;
|
|
9048
|
-
label: string;
|
|
9049
|
-
resourceId: string;
|
|
9050
|
-
inputTemplate: Record<string, unknown>;
|
|
9051
|
-
enabled: boolean;
|
|
9052
|
-
order: number;
|
|
9053
|
-
}[];
|
|
9054
|
-
} | undefined;
|
|
9201
|
+
scrapingConfig: {
|
|
9202
|
+
vertical?: string | undefined;
|
|
9203
|
+
geography?: string | undefined;
|
|
9204
|
+
size?: string | undefined;
|
|
9205
|
+
apifyInput?: Record<string, unknown> | undefined;
|
|
9206
|
+
};
|
|
9207
|
+
icp: {
|
|
9208
|
+
qualificationRubricKey?: string | null | undefined;
|
|
9209
|
+
targetDescription?: string | undefined;
|
|
9210
|
+
minReviewCount?: number | undefined;
|
|
9211
|
+
minRating?: number | undefined;
|
|
9212
|
+
excludeFranchises?: boolean | undefined;
|
|
9213
|
+
customRules?: string | undefined;
|
|
9214
|
+
};
|
|
9215
|
+
pipelineConfig: {
|
|
9216
|
+
stages?: {
|
|
9217
|
+
key: string;
|
|
9218
|
+
label?: string | undefined;
|
|
9219
|
+
enabled?: boolean | undefined;
|
|
9220
|
+
order?: number | undefined;
|
|
9221
|
+
}[] | undefined;
|
|
9055
9222
|
};
|
|
9056
9223
|
}, Error, {
|
|
9057
9224
|
name: string;
|
|
9058
|
-
type: string;
|
|
9059
9225
|
description?: string | null | undefined;
|
|
9060
|
-
|
|
9061
|
-
|
|
9062
|
-
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
|
|
9066
|
-
|
|
9067
|
-
|
|
9068
|
-
|
|
9069
|
-
|
|
9070
|
-
|
|
9071
|
-
|
|
9072
|
-
|
|
9073
|
-
|
|
9074
|
-
|
|
9075
|
-
|
|
9076
|
-
|
|
9077
|
-
|
|
9078
|
-
|
|
9079
|
-
|
|
9080
|
-
|
|
9081
|
-
|
|
9082
|
-
exclusionRules?: string[] | undefined;
|
|
9083
|
-
} | undefined;
|
|
9084
|
-
pipeline?: {
|
|
9085
|
-
steps: {
|
|
9086
|
-
key: string;
|
|
9087
|
-
label: string;
|
|
9088
|
-
resourceId: string;
|
|
9089
|
-
inputTemplate: Record<string, unknown>;
|
|
9090
|
-
enabled: boolean;
|
|
9091
|
-
order: number;
|
|
9092
|
-
}[];
|
|
9093
|
-
} | undefined;
|
|
9226
|
+
status?: "closing" | "draft" | "enriching" | "launched" | "archived" | undefined;
|
|
9227
|
+
scrapingConfig?: {
|
|
9228
|
+
vertical?: string | undefined;
|
|
9229
|
+
geography?: string | undefined;
|
|
9230
|
+
size?: string | undefined;
|
|
9231
|
+
apifyInput?: Record<string, unknown> | undefined;
|
|
9232
|
+
} | undefined;
|
|
9233
|
+
icp?: {
|
|
9234
|
+
qualificationRubricKey?: string | null | undefined;
|
|
9235
|
+
targetDescription?: string | undefined;
|
|
9236
|
+
minReviewCount?: number | undefined;
|
|
9237
|
+
minRating?: number | undefined;
|
|
9238
|
+
excludeFranchises?: boolean | undefined;
|
|
9239
|
+
customRules?: string | undefined;
|
|
9240
|
+
} | undefined;
|
|
9241
|
+
pipelineConfig?: {
|
|
9242
|
+
stages?: {
|
|
9243
|
+
key: string;
|
|
9244
|
+
label?: string | undefined;
|
|
9245
|
+
enabled?: boolean | undefined;
|
|
9246
|
+
order?: number | undefined;
|
|
9247
|
+
}[] | undefined;
|
|
9094
9248
|
} | undefined;
|
|
9095
9249
|
}, unknown>;
|
|
9096
9250
|
declare function useUpdateList(listId: string): _tanstack_react_query.UseMutationResult<{
|
|
@@ -9101,50 +9255,36 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
|
|
|
9101
9255
|
type: string;
|
|
9102
9256
|
batchIds: string[];
|
|
9103
9257
|
instantlyCampaignId: string | null;
|
|
9104
|
-
status:
|
|
9258
|
+
status: "closing" | "draft" | "enriching" | "launched" | "archived";
|
|
9105
9259
|
metadata: Record<string, unknown>;
|
|
9106
9260
|
launchedAt: string | null;
|
|
9107
9261
|
completedAt: string | null;
|
|
9108
9262
|
createdAt: string;
|
|
9109
|
-
|
|
9110
|
-
|
|
9111
|
-
|
|
9112
|
-
|
|
9113
|
-
|
|
9114
|
-
|
|
9115
|
-
|
|
9116
|
-
|
|
9117
|
-
|
|
9118
|
-
|
|
9119
|
-
|
|
9120
|
-
|
|
9121
|
-
|
|
9122
|
-
|
|
9123
|
-
|
|
9124
|
-
|
|
9125
|
-
|
|
9126
|
-
|
|
9127
|
-
|
|
9128
|
-
|
|
9129
|
-
|
|
9130
|
-
creativeDirection?: string | undefined;
|
|
9131
|
-
exclusionRules?: string[] | undefined;
|
|
9132
|
-
} | undefined;
|
|
9133
|
-
pipeline?: {
|
|
9134
|
-
steps: {
|
|
9135
|
-
key: string;
|
|
9136
|
-
label: string;
|
|
9137
|
-
resourceId: string;
|
|
9138
|
-
inputTemplate: Record<string, unknown>;
|
|
9139
|
-
enabled: boolean;
|
|
9140
|
-
order: number;
|
|
9141
|
-
}[];
|
|
9142
|
-
} | undefined;
|
|
9263
|
+
scrapingConfig: {
|
|
9264
|
+
vertical?: string | undefined;
|
|
9265
|
+
geography?: string | undefined;
|
|
9266
|
+
size?: string | undefined;
|
|
9267
|
+
apifyInput?: Record<string, unknown> | undefined;
|
|
9268
|
+
};
|
|
9269
|
+
icp: {
|
|
9270
|
+
qualificationRubricKey?: string | null | undefined;
|
|
9271
|
+
targetDescription?: string | undefined;
|
|
9272
|
+
minReviewCount?: number | undefined;
|
|
9273
|
+
minRating?: number | undefined;
|
|
9274
|
+
excludeFranchises?: boolean | undefined;
|
|
9275
|
+
customRules?: string | undefined;
|
|
9276
|
+
};
|
|
9277
|
+
pipelineConfig: {
|
|
9278
|
+
stages?: {
|
|
9279
|
+
key: string;
|
|
9280
|
+
label?: string | undefined;
|
|
9281
|
+
enabled?: boolean | undefined;
|
|
9282
|
+
order?: number | undefined;
|
|
9283
|
+
}[] | undefined;
|
|
9143
9284
|
};
|
|
9144
9285
|
}, Error, {
|
|
9145
9286
|
name?: string | undefined;
|
|
9146
9287
|
description?: string | null | undefined;
|
|
9147
|
-
status?: string | undefined;
|
|
9148
9288
|
batchIds?: string[] | undefined;
|
|
9149
9289
|
}, unknown>;
|
|
9150
9290
|
declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseMutationResult<{
|
|
@@ -9155,78 +9295,54 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
|
|
|
9155
9295
|
type: string;
|
|
9156
9296
|
batchIds: string[];
|
|
9157
9297
|
instantlyCampaignId: string | null;
|
|
9158
|
-
status:
|
|
9298
|
+
status: "closing" | "draft" | "enriching" | "launched" | "archived";
|
|
9159
9299
|
metadata: Record<string, unknown>;
|
|
9160
9300
|
launchedAt: string | null;
|
|
9161
9301
|
completedAt: string | null;
|
|
9162
9302
|
createdAt: string;
|
|
9163
|
-
|
|
9164
|
-
|
|
9165
|
-
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
|
-
excludeFranchises: boolean;
|
|
9169
|
-
customRules: string;
|
|
9170
|
-
};
|
|
9171
|
-
enrichment?: {
|
|
9172
|
-
emailDiscovery?: {
|
|
9173
|
-
primary: "tomba" | "anymailfinder";
|
|
9174
|
-
credentialName?: string | undefined;
|
|
9175
|
-
} | undefined;
|
|
9176
|
-
emailVerification?: {
|
|
9177
|
-
provider: "millionverifier";
|
|
9178
|
-
threshold?: "ok" | "ok+catch_all" | undefined;
|
|
9179
|
-
} | undefined;
|
|
9180
|
-
} | undefined;
|
|
9181
|
-
personalization?: {
|
|
9182
|
-
industryContext?: string | undefined;
|
|
9183
|
-
emailBody?: string | undefined;
|
|
9184
|
-
creativeDirection?: string | undefined;
|
|
9185
|
-
exclusionRules?: string[] | undefined;
|
|
9186
|
-
} | undefined;
|
|
9187
|
-
pipeline?: {
|
|
9188
|
-
steps: {
|
|
9189
|
-
key: string;
|
|
9190
|
-
label: string;
|
|
9191
|
-
resourceId: string;
|
|
9192
|
-
inputTemplate: Record<string, unknown>;
|
|
9193
|
-
enabled: boolean;
|
|
9194
|
-
order: number;
|
|
9195
|
-
}[];
|
|
9196
|
-
} | undefined;
|
|
9303
|
+
scrapingConfig: {
|
|
9304
|
+
vertical?: string | undefined;
|
|
9305
|
+
geography?: string | undefined;
|
|
9306
|
+
size?: string | undefined;
|
|
9307
|
+
apifyInput?: Record<string, unknown> | undefined;
|
|
9197
9308
|
};
|
|
9198
|
-
|
|
9199
|
-
|
|
9309
|
+
icp: {
|
|
9310
|
+
qualificationRubricKey?: string | null | undefined;
|
|
9200
9311
|
targetDescription?: string | undefined;
|
|
9201
9312
|
minReviewCount?: number | undefined;
|
|
9202
9313
|
minRating?: number | undefined;
|
|
9203
9314
|
excludeFranchises?: boolean | undefined;
|
|
9204
9315
|
customRules?: string | undefined;
|
|
9316
|
+
};
|
|
9317
|
+
pipelineConfig: {
|
|
9318
|
+
stages?: {
|
|
9319
|
+
key: string;
|
|
9320
|
+
label?: string | undefined;
|
|
9321
|
+
enabled?: boolean | undefined;
|
|
9322
|
+
order?: number | undefined;
|
|
9323
|
+
}[] | undefined;
|
|
9324
|
+
};
|
|
9325
|
+
}, Error, {
|
|
9326
|
+
scrapingConfig?: {
|
|
9327
|
+
vertical?: string | undefined;
|
|
9328
|
+
geography?: string | undefined;
|
|
9329
|
+
size?: string | undefined;
|
|
9330
|
+
apifyInput?: Record<string, unknown> | undefined;
|
|
9205
9331
|
} | undefined;
|
|
9206
|
-
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
|
|
9210
|
-
|
|
9211
|
-
|
|
9212
|
-
|
|
9213
|
-
threshold?: "ok" | "ok+catch_all" | undefined;
|
|
9214
|
-
} | undefined;
|
|
9215
|
-
} | undefined;
|
|
9216
|
-
personalization?: {
|
|
9217
|
-
industryContext?: string | undefined;
|
|
9218
|
-
emailBody?: string | undefined;
|
|
9219
|
-
creativeDirection?: string | undefined;
|
|
9220
|
-
exclusionRules?: string[] | undefined;
|
|
9332
|
+
icp?: {
|
|
9333
|
+
qualificationRubricKey?: string | null | undefined;
|
|
9334
|
+
targetDescription?: string | undefined;
|
|
9335
|
+
minReviewCount?: number | undefined;
|
|
9336
|
+
minRating?: number | undefined;
|
|
9337
|
+
excludeFranchises?: boolean | undefined;
|
|
9338
|
+
customRules?: string | undefined;
|
|
9221
9339
|
} | undefined;
|
|
9222
|
-
|
|
9223
|
-
|
|
9340
|
+
pipelineConfig?: {
|
|
9341
|
+
stages?: {
|
|
9224
9342
|
key: string;
|
|
9225
|
-
label
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
enabled: boolean;
|
|
9229
|
-
order: number;
|
|
9343
|
+
label?: string | undefined;
|
|
9344
|
+
enabled?: boolean | undefined;
|
|
9345
|
+
order?: number | undefined;
|
|
9230
9346
|
}[] | undefined;
|
|
9231
9347
|
} | undefined;
|
|
9232
9348
|
}, unknown>;
|
|
@@ -9571,6 +9687,166 @@ declare function useUpdateContact(contactId: string): _tanstack_react_query.UseM
|
|
|
9571
9687
|
}, unknown>;
|
|
9572
9688
|
declare function useDeleteContacts(): _tanstack_react_query.UseMutationResult<void, Error, string[], unknown>;
|
|
9573
9689
|
|
|
9690
|
+
declare const leadGenArtifactKeys: {
|
|
9691
|
+
all: readonly ["lead-gen-artifacts"];
|
|
9692
|
+
list: (organizationId: string | null, ownerKind: AcqArtifactOwnerKind, ownerId: string) => readonly ["lead-gen-artifacts", string | null, "company" | "contact" | "list" | "deal" | "list_member", string];
|
|
9693
|
+
};
|
|
9694
|
+
interface UseArtifactsParams {
|
|
9695
|
+
ownerKind: AcqArtifactOwnerKind;
|
|
9696
|
+
ownerId: string;
|
|
9697
|
+
}
|
|
9698
|
+
declare function useArtifacts({ ownerKind, ownerId }: UseArtifactsParams): _tanstack_react_query.UseQueryResult<{
|
|
9699
|
+
artifacts: {
|
|
9700
|
+
id: string;
|
|
9701
|
+
organizationId: string;
|
|
9702
|
+
ownerKind: string;
|
|
9703
|
+
ownerId: string;
|
|
9704
|
+
kind: string;
|
|
9705
|
+
content: Record<string, unknown>;
|
|
9706
|
+
sourceExecutionId: string | null;
|
|
9707
|
+
createdBy: string | null;
|
|
9708
|
+
createdAt: string;
|
|
9709
|
+
version: number;
|
|
9710
|
+
}[];
|
|
9711
|
+
}, Error>;
|
|
9712
|
+
declare function useCreateArtifact(): _tanstack_react_query.UseMutationResult<{
|
|
9713
|
+
id: string;
|
|
9714
|
+
organizationId: string;
|
|
9715
|
+
ownerKind: string;
|
|
9716
|
+
ownerId: string;
|
|
9717
|
+
kind: string;
|
|
9718
|
+
content: Record<string, unknown>;
|
|
9719
|
+
sourceExecutionId: string | null;
|
|
9720
|
+
createdBy: string | null;
|
|
9721
|
+
createdAt: string;
|
|
9722
|
+
version: number;
|
|
9723
|
+
}, Error, {
|
|
9724
|
+
ownerKind: "company" | "contact" | "list" | "deal" | "list_member";
|
|
9725
|
+
ownerId: string;
|
|
9726
|
+
kind: string;
|
|
9727
|
+
content: Record<string, unknown>;
|
|
9728
|
+
sourceExecutionId?: string | undefined;
|
|
9729
|
+
}, unknown>;
|
|
9730
|
+
|
|
9731
|
+
declare const leadGenListMemberKeys: {
|
|
9732
|
+
all: readonly ["lead-gen-list-members"];
|
|
9733
|
+
list: (organizationId: string | null, listId: string) => readonly ["lead-gen-list-members", string | null, "list", string];
|
|
9734
|
+
detail: (organizationId: string | null, memberId: string) => readonly ["lead-gen-list-members", string | null, "detail", string];
|
|
9735
|
+
};
|
|
9736
|
+
declare function useListMembers({ listId }: {
|
|
9737
|
+
listId: string;
|
|
9738
|
+
}): _tanstack_react_query.UseQueryResult<{
|
|
9739
|
+
members: {
|
|
9740
|
+
id: string;
|
|
9741
|
+
listId: string;
|
|
9742
|
+
contactId: string;
|
|
9743
|
+
pipelineKey: string;
|
|
9744
|
+
stageKey: string;
|
|
9745
|
+
stateKey: string;
|
|
9746
|
+
activityLog: unknown;
|
|
9747
|
+
addedAt: string;
|
|
9748
|
+
addedBy: string | null;
|
|
9749
|
+
sourceExecutionId: string | null;
|
|
9750
|
+
contact: {
|
|
9751
|
+
id: string;
|
|
9752
|
+
email: string;
|
|
9753
|
+
firstName: string | null;
|
|
9754
|
+
lastName: string | null;
|
|
9755
|
+
title: string | null;
|
|
9756
|
+
linkedinUrl: string | null;
|
|
9757
|
+
companyId: string | null;
|
|
9758
|
+
} | null;
|
|
9759
|
+
}[];
|
|
9760
|
+
}, Error>;
|
|
9761
|
+
declare function useListMember(memberId: string): _tanstack_react_query.UseQueryResult<{
|
|
9762
|
+
id: string;
|
|
9763
|
+
listId: string;
|
|
9764
|
+
contactId: string;
|
|
9765
|
+
pipelineKey: string;
|
|
9766
|
+
stageKey: string;
|
|
9767
|
+
stateKey: string;
|
|
9768
|
+
activityLog: unknown;
|
|
9769
|
+
addedAt: string;
|
|
9770
|
+
addedBy: string | null;
|
|
9771
|
+
sourceExecutionId: string | null;
|
|
9772
|
+
contact: {
|
|
9773
|
+
id: string;
|
|
9774
|
+
email: string;
|
|
9775
|
+
firstName: string | null;
|
|
9776
|
+
lastName: string | null;
|
|
9777
|
+
title: string | null;
|
|
9778
|
+
linkedinUrl: string | null;
|
|
9779
|
+
companyId: string | null;
|
|
9780
|
+
} | null;
|
|
9781
|
+
}, Error>;
|
|
9782
|
+
|
|
9783
|
+
interface TransitionListMemberInput extends TransitionItemRequest {
|
|
9784
|
+
memberId: string;
|
|
9785
|
+
/** Used to invalidate the parent list's member roster after transition. */
|
|
9786
|
+
listId?: string;
|
|
9787
|
+
}
|
|
9788
|
+
/**
|
|
9789
|
+
* Transition a list-member's stage/state via PATCH /acquisition/list-members/:memberId/transition.
|
|
9790
|
+
*
|
|
9791
|
+
* On success invalidates the member detail and, if listId is provided, the member
|
|
9792
|
+
* roster for that list. Mirrors useTransitionItem.ts structure.
|
|
9793
|
+
*/
|
|
9794
|
+
declare function useTransitionListMember(): _tanstack_react_query.UseMutationResult<void, Error, TransitionListMemberInput, unknown>;
|
|
9795
|
+
|
|
9796
|
+
declare const leadGenListCompanyKeys: {
|
|
9797
|
+
all: readonly ["lead-gen-list-companies"];
|
|
9798
|
+
detail: (organizationId: string | null, listCompanyId: string) => readonly ["lead-gen-list-companies", string | null, "detail", string];
|
|
9799
|
+
};
|
|
9800
|
+
interface TransitionListCompanyInput extends TransitionItemRequest {
|
|
9801
|
+
listCompanyId: string;
|
|
9802
|
+
/** Used to invalidate the parent list telemetry after transition. */
|
|
9803
|
+
listId?: string;
|
|
9804
|
+
}
|
|
9805
|
+
/**
|
|
9806
|
+
* Transition a list-company's stage/state via PATCH /acquisition/list-companies/:listCompanyId/transition.
|
|
9807
|
+
*
|
|
9808
|
+
* On success invalidates the list-company detail and, if listId is provided, the
|
|
9809
|
+
* parent list telemetry. Mirrors useTransitionItem.ts structure.
|
|
9810
|
+
*/
|
|
9811
|
+
declare function useTransitionListCompany(): _tanstack_react_query.UseMutationResult<void, Error, TransitionListCompanyInput, unknown>;
|
|
9812
|
+
|
|
9813
|
+
/**
|
|
9814
|
+
* Stateful item shape accepted by useDeriveActions.
|
|
9815
|
+
*
|
|
9816
|
+
* Currently deriveActions() is typed for AcqDealRow (CRM HITL deals). For lists
|
|
9817
|
+
* and list-members we accept the Stateful quartet + id so callers can pass those
|
|
9818
|
+
* items without a cast. When a third pipeline appears, consolidate into a shared
|
|
9819
|
+
* trait method on deriveActions itself.
|
|
9820
|
+
*
|
|
9821
|
+
* Decision C3: duplicate per-entity logic until a third pipeline warrants abstraction.
|
|
9822
|
+
*/
|
|
9823
|
+
interface StatefulItem {
|
|
9824
|
+
id: string;
|
|
9825
|
+
pipeline_key: string;
|
|
9826
|
+
stage_key: string | null;
|
|
9827
|
+
state_key: string | null;
|
|
9828
|
+
activity_log: unknown;
|
|
9829
|
+
organization_id?: string;
|
|
9830
|
+
}
|
|
9831
|
+
/**
|
|
9832
|
+
* Derives contextual action buttons for a Stateful item.
|
|
9833
|
+
*
|
|
9834
|
+
* For deal items the full deriveActions() logic from @repo/core runs.
|
|
9835
|
+
* For non-deal items (lists, list-members, list-companies) the pipeline key
|
|
9836
|
+
* is 'lead-gen' and the action set will be wired in Track C Step 5+6 once
|
|
9837
|
+
* the lead-gen pipeline definition ships action configs. Returns [] until then.
|
|
9838
|
+
*
|
|
9839
|
+
* @param item - Any Stateful item (deal, list, list-member, etc.)
|
|
9840
|
+
* @returns Derived Action[] for rendering in an action toolbar.
|
|
9841
|
+
*/
|
|
9842
|
+
declare function useDeriveActions(item: StatefulItem | null | undefined): Action[];
|
|
9843
|
+
|
|
9844
|
+
interface UpdateListStatusInput {
|
|
9845
|
+
listId: string;
|
|
9846
|
+
status: ListStatus;
|
|
9847
|
+
}
|
|
9848
|
+
declare function useUpdateListStatus(): _tanstack_react_query.UseMutationResult<void, Error, UpdateListStatusInput, unknown>;
|
|
9849
|
+
|
|
9574
9850
|
interface CreateApiKeyRequest {
|
|
9575
9851
|
name: string;
|
|
9576
9852
|
}
|
|
@@ -10742,6 +11018,16 @@ interface OrganizationSwitcherProps {
|
|
|
10742
11018
|
}
|
|
10743
11019
|
declare function OrganizationSwitcher({ currentOrganization, memberships, isLoading, onSwitch }: OrganizationSwitcherProps): react_jsx_runtime.JSX.Element;
|
|
10744
11020
|
|
|
11021
|
+
/**
|
|
11022
|
+
* Self-wired OrganizationSwitcher that internally handles both the WorkOS JWT update
|
|
11023
|
+
* (via AuthKit switchToOrganization) and the provider state update (via switchOrganization).
|
|
11024
|
+
*
|
|
11025
|
+
* Drop-in replacement for a custom onSwitch handler in most apps. If the app needs
|
|
11026
|
+
* post-switch side effects (e.g. navigating away from an org-scoped route), keep that
|
|
11027
|
+
* logic app-local and call useOrganization().switchOrganization directly.
|
|
11028
|
+
*/
|
|
11029
|
+
declare function OrganizationSwitcherConnected(): react_jsx_runtime.JSX.Element;
|
|
11030
|
+
|
|
10745
11031
|
interface OrganizationsState {
|
|
10746
11032
|
currentWorkOSOrganizationId: string | null;
|
|
10747
11033
|
currentSupabaseOrganizationId: string | null;
|
|
@@ -10929,5 +11215,5 @@ declare function InitializationProvider({ children }: {
|
|
|
10929
11215
|
children: ReactNode;
|
|
10930
11216
|
}): react.FunctionComponentElement<react.ProviderProps<AppInitializationState | null>>;
|
|
10931
11217
|
|
|
10932
|
-
export { AGENT_CONSTANTS, APIClientError, API_URL, AdminGuard, ApiClientProvider, ApiKeyService, AppearanceProvider, AuthProvider, CONTAINER_CONSTANTS, CredentialService, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, InitializationContext, InitializationProvider, LIMIT_ACTIVITY_FEED, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, OperationsService, OrganizationContext, OrganizationMembershipService, OrganizationProvider, OrganizationSwitcher, PAGE_SIZE_DEFAULT, PresetsProvider, ProfileProvider, ProtectedRoute, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, ResourceStatusColors, RouterProvider, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, ScrollToTop, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TanStackRouterBridge, UserProfileService, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, acquisitionListKeys, calculateBarPosition, calculateGraphHeight, collectResourceFilterFacets, companyKeys, componentThemes, contactKeys, createCssVariablesResolver, createFeatureAccessHook, createOrganizationsSlice, createTestFeaturesProvider, createUseAppInitialization, createUseOrgInitialization, createUseOrganizations, dealKeys, dealNoteKeys, dealTaskKeys, debounce, executionsKeys, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatTimeAgo, generateShades, getEdgeColor, getEdgeOpacity, getErrorInfo, getErrorTitle, getPreset, getResourceColor, getResourceFilterFacetIds, getResourceIcon, getResourceStatusColor, getStatusColors, getStatusIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, isSessionCapable, labelResourceFilterFacet, mantineThemeOverride, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, PRESETS as presets, projectActivityKeys, projectKeys, requestsKeys, restoreConsole, scheduleKeys, sessionsKeys, setupBrowserMocks, shouldAnimateEdge, sortData, suppressKnownWarnings, taskKeys, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAgentIterationData, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useAssignRole, useAuthContext, useAvailablePresets, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useConnectionHighlight, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDirectedChainHighlighting, useEffectivePermissions, useElevasisFeatures, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphHighlighting, useGraphStats, useHasPermission, useInitialization, useList, useListApiKeys, useListDeployments, useListExecutions, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNodeSelection, useNotificationAdapter, useNotificationCount as useNotificationCountSSE, useNotifications, useOptionalElevasisFeatures, useOrgRoles, useOrganization, useOrganizationMembers, useOrganizationPermissions, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, usePresetsContext, useProfile, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactFlowAgent, useReactivateMembership, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useTransitionItem, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateMemberConfig, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVisibleResources, useWarningNotification, useWorkflowStepsLayout, validateEmail };
|
|
10933
|
-
export type { AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AdminGuardProps, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppInitializationState, AppearanceConfig, AssignRoleInput, AuthConfig, AuthContextValue, AuthKitConfig, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ColorShadesTuple, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateOrgRoleInput, CreateScheduleInput, CreateSessionResponse, CreateTestFeaturesProviderOptions, CredentialListItem, DealDetail, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, ExecutionPathState, ExecutionStatus, FailingResource, FeatureAccessResult, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, InitializationError, LinkProps, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipWithDetails, MessageEvent, MessageType, NodeColorType, NotificationAdapter, OrgRole, OrganizationContextValue, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, OrganizationsActions, OrganizationsSlice, OrganizationsState, PresetEntry, PresetName, ProfileContextValue, ProtectedRouteProps, RequestRow, RequestsListFilters, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, RevokeRoleInput, RouterAdapter, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, ShellRouteMatchStatus, ShellRuntime, SortDirection, SortState, StaleDealSummaryItem, StatusColorScheme, StatusFilter, StatusIconColors, StepExecutionData, SubmitActionRequest, SubmitActionResponse, SupabaseUserProfile, TablerIcon, TaskSchedule, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, TransitionItemInput, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateOrgRoleInput, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseNotificationCountArgs, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseUserProfileReturn, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };
|
|
11218
|
+
export { AGENT_CONSTANTS, APIClientError, API_URL, AdminGuard, ApiClientProvider, ApiKeyService, AppearanceProvider, AuthProvider, CONTAINER_CONSTANTS, CredentialService, CrmActionsProvider, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, InitializationContext, InitializationProvider, LIMIT_ACTIVITY_FEED, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, OperationsService, OrganizationContext, OrganizationMembershipService, OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, PAGE_SIZE_DEFAULT, PresetsProvider, ProfileProvider, ProtectedRoute, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, ResourceStatusColors, RouterProvider, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, ScrollToTop, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TanStackRouterBridge, UserProfileService, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, acquisitionListKeys, calculateBarPosition, calculateGraphHeight, collectResourceFilterFacets, companyKeys, componentThemes, contactKeys, createCssVariablesResolver, createFeatureAccessHook, createOrganizationsSlice, createTestFeaturesProvider, createUseAppInitialization, createUseOrgInitialization, createUseOrganizations, dealKeys, dealNoteKeys, dealTaskKeys, debounce, executionsKeys, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatTimeAgo, generateShades, getEdgeColor, getEdgeOpacity, getErrorInfo, getErrorTitle, getPreset, getResourceColor, getResourceFilterFacetIds, getResourceIcon, getResourceStatusColor, getStatusColors, getStatusIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, mantineThemeOverride, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, PRESETS as presets, projectActivityKeys, projectKeys, requestsKeys, restoreConsole, scheduleKeys, sessionsKeys, setupBrowserMocks, shouldAnimateEdge, sortData, suppressKnownWarnings, taskKeys, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAgentIterationData, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useAuthContext, useAvailablePresets, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useConnectionHighlight, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useCrmActions, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useDirectedChainHighlighting, useEffectivePermissions, useElevasisFeatures, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphHighlighting, useGraphStats, useHasPermission, useInitialization, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNodeSelection, useNotificationAdapter, useNotificationCount as useNotificationCountSSE, useNotifications, useOptionalElevasisFeatures, useOrgRoles, useOrganization, useOrganizationMembers, useOrganizationPermissions, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, usePresetsContext, useProfile, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactFlowAgent, useReactivateMembership, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMemberConfig, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVisibleResources, useWarningNotification, useWorkflowStepsLayout, validateEmail };
|
|
11219
|
+
export type { AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AdminGuardProps, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppInitializationState, AppearanceConfig, AssignRoleInput, AuthConfig, AuthContextValue, AuthKitConfig, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ColorShadesTuple, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateOrgRoleInput, CreateScheduleInput, CreateSessionResponse, CreateTestFeaturesProviderOptions, CredentialListItem, DealDetail, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteActionInput, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, ExecutionPathState, ExecutionStatus, FailingResource, FeatureAccessResult, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, InitializationError, LinkProps, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipWithDetails, MessageEvent, MessageType, NodeColorType, NotificationAdapter, OrgRole, OrganizationContextValue, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, OrganizationsActions, OrganizationsSlice, OrganizationsState, PresetEntry, PresetName, ProfileContextValue, ProtectedRouteProps, RequestRow, RequestsListFilters, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, RevokeRoleInput, RouterAdapter, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, ShellRouteMatchStatus, ShellRuntime, SortDirection, SortState, StaleDealSummaryItem, StatefulItem, StatusColorScheme, StatusFilter, StatusIconColors, StepExecutionData, SubmitActionRequest, SubmitActionResponse, SupabaseUserProfile, TablerIcon, TaskSchedule, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, TransitionItemInput, TransitionListCompanyInput, TransitionListMemberInput, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateListStatusInput, UpdateOrgRoleInput, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseArtifactsParams, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseNotificationCountArgs, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseUserProfileReturn, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };
|