@elevasis/ui 2.25.5 → 2.26.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.
Files changed (101) hide show
  1. package/dist/api/index.js +2 -2
  2. package/dist/app/index.css +18 -29
  3. package/dist/app/index.d.ts +118 -64
  4. package/dist/app/index.js +6 -5
  5. package/dist/charts/index.js +6 -5
  6. package/dist/chunk-3MEXPLWT.js +265 -0
  7. package/dist/{chunk-IS53MXE4.js → chunk-4KTLOK7K.js} +1 -1
  8. package/dist/{chunk-KMAXFJPH.js → chunk-CW3UNAF2.js} +5 -409
  9. package/dist/{chunk-HKBEURCV.js → chunk-G26INIF3.js} +1 -1
  10. package/dist/{chunk-NHHCUECV.js → chunk-G66QFZXD.js} +11 -214
  11. package/dist/{chunk-QIW6OCEI.js → chunk-HLFFKKT3.js} +27 -373
  12. package/dist/chunk-JDNEWB5F.js +10 -0
  13. package/dist/{chunk-VMAWXEVG.js → chunk-JKBGDFX2.js} +1136 -828
  14. package/dist/{chunk-MU4VPAMR.js → chunk-JPGX3533.js} +4 -3
  15. package/dist/chunk-KCGGA36K.js +73 -0
  16. package/dist/chunk-KEFWANZY.js +155 -0
  17. package/dist/chunk-LH4GPYDX.js +448 -0
  18. package/dist/{chunk-QNCVK3ZF.js → chunk-LWKZ3BCC.js} +5 -4
  19. package/dist/chunk-OGXKOMUT.js +412 -0
  20. package/dist/chunk-OHXU5WWK.js +3731 -0
  21. package/dist/chunk-ONFKASZI.js +2004 -0
  22. package/dist/{chunk-U36X6NZM.js → chunk-RIFTUOPE.js} +2 -14
  23. package/dist/{chunk-T6INEVX6.js → chunk-SGS4CQ2B.js} +1 -1
  24. package/dist/{chunk-KINQW4JT.js → chunk-UPMX5GJI.js} +5 -5
  25. package/dist/{chunk-N2AP4I5N.js → chunk-UY5I2KOZ.js} +223 -3857
  26. package/dist/{chunk-JMI7L7Y7.js → chunk-W2ZTLH7Y.js} +142 -4
  27. package/dist/{chunk-3KY2GNPE.js → chunk-WUVR4QY6.js} +9 -9
  28. package/dist/{chunk-Q5BEODAT.js → chunk-X2SUMO3P.js} +2 -1
  29. package/dist/{chunk-SNHGSCKH.js → chunk-XBMCDGHA.js} +1 -1
  30. package/dist/{chunk-N55DVMAG.js → chunk-XQQEKWTL.js} +2 -6
  31. package/dist/{chunk-F7JDHS2I.js → chunk-XZSEPJZQ.js} +5 -5
  32. package/dist/{chunk-5BJXMZN4.js → chunk-YHBPR67D.js} +438 -620
  33. package/dist/{chunk-FVKLHLF4.js → chunk-YO2YORW4.js} +4 -4
  34. package/dist/{chunk-TAIX4NO3.js → chunk-ZFLM2YVW.js} +2 -2
  35. package/dist/components/index.css +18 -29
  36. package/dist/components/index.d.ts +211 -383
  37. package/dist/components/index.js +43 -427
  38. package/dist/components/navigation/index.css +28 -39
  39. package/dist/execution/index.d.ts +0 -73
  40. package/dist/features/auth/index.css +28 -39
  41. package/dist/features/crm/index.css +28 -39
  42. package/dist/features/crm/index.d.ts +49 -49
  43. package/dist/features/crm/index.js +14 -14
  44. package/dist/features/dashboard/index.css +28 -39
  45. package/dist/features/dashboard/index.js +18 -15
  46. package/dist/features/delivery/index.css +18 -29
  47. package/dist/features/delivery/index.js +14 -14
  48. package/dist/features/knowledge/index.css +611 -0
  49. package/dist/features/knowledge/index.js +700 -1
  50. package/dist/features/lead-gen/index.css +28 -39
  51. package/dist/features/lead-gen/index.d.ts +212 -166
  52. package/dist/features/lead-gen/index.js +16 -15
  53. package/dist/features/monitoring/index.css +18 -29
  54. package/dist/features/monitoring/index.js +17 -16
  55. package/dist/features/monitoring/requests/index.css +28 -39
  56. package/dist/features/monitoring/requests/index.js +13 -13
  57. package/dist/features/operations/index.css +28 -39
  58. package/dist/features/operations/index.d.ts +16 -98
  59. package/dist/features/operations/index.js +26 -20
  60. package/dist/features/settings/index.css +28 -39
  61. package/dist/features/settings/index.d.ts +1 -0
  62. package/dist/features/settings/index.js +15 -15
  63. package/dist/hooks/delivery/index.css +28 -39
  64. package/dist/hooks/delivery/index.js +2 -2
  65. package/dist/hooks/index.css +18 -29
  66. package/dist/hooks/index.d.ts +180 -377
  67. package/dist/hooks/index.js +13 -13
  68. package/dist/hooks/published.css +18 -29
  69. package/dist/hooks/published.d.ts +180 -377
  70. package/dist/hooks/published.js +13 -13
  71. package/dist/index.css +18 -29
  72. package/dist/index.d.ts +1549 -946
  73. package/dist/index.js +15 -14
  74. package/dist/initialization/index.d.ts +1 -0
  75. package/dist/knowledge/index.d.ts +991 -41
  76. package/dist/knowledge/index.js +5469 -413
  77. package/dist/layout/index.d.ts +2 -0
  78. package/dist/layout/index.js +3 -2
  79. package/dist/organization/index.css +28 -39
  80. package/dist/organization/index.d.ts +1 -0
  81. package/dist/provider/index.css +28 -39
  82. package/dist/provider/index.d.ts +1147 -348
  83. package/dist/provider/index.js +11 -10
  84. package/dist/provider/published.css +28 -39
  85. package/dist/provider/published.d.ts +1146 -347
  86. package/dist/provider/published.js +8 -8
  87. package/dist/test-utils/index.js +2 -2
  88. package/dist/test-utils/setup.js +1 -1
  89. package/dist/theme/index.js +3 -2
  90. package/dist/theme/presets/index.d.ts +97 -0
  91. package/dist/theme/presets/index.js +3 -0
  92. package/dist/types/index.d.ts +71 -126
  93. package/dist/utils/index.js +1 -1
  94. package/dist/vite/index.d.ts +7 -0
  95. package/dist/vite/index.js +10 -0
  96. package/dist/vite-plugin-knowledge/index.d.ts +1 -33
  97. package/dist/vite-plugin-knowledge/index.js +1 -66
  98. package/package.json +46 -33
  99. package/src/knowledge/README.md +8 -8
  100. package/src/theme/presets/README.md +19 -0
  101. /package/dist/{chunk-SGXXJE52.js → chunk-QD4X4H5A.js} +0 -0
@@ -138,14 +138,14 @@
138
138
  }
139
139
  .lead-gen-build-action-button:disabled,
140
140
  .lead-gen-build-action-button[data-disabled] {
141
- background-color: color-mix(in srgb, var(--mantine-color-gray-8) 48%, var(--color-surface) 52%) !important;
142
- border-color: color-mix(in srgb, var(--mantine-color-gray-8) 58%, var(--color-surface) 42%) !important;
141
+ background-color: var(--surface-primary-muted) !important;
142
+ border-color: var(--border-primary-subtle) !important;
143
143
  color: color-mix(in srgb, var(--color-text-subtle) 88%, var(--color-text-dimmed) 12%) !important;
144
144
  opacity: 0.78;
145
145
  }
146
146
  .lead-gen-build-action-button:disabled:hover,
147
147
  .lead-gen-build-action-button[data-disabled]:hover {
148
- background-color: color-mix(in srgb, var(--mantine-color-gray-8) 48%, var(--color-surface) 52%) !important;
148
+ background-color: var(--surface-primary-muted) !important;
149
149
  }
150
150
  .mantine-Accordion-control:hover {
151
151
  background-color: var(--color-surface-hover);
@@ -153,35 +153,24 @@
153
153
  .mantine-Menu-item:hover:not([data-disabled]) {
154
154
  background-color: var(--color-surface-hover);
155
155
  }
156
- .mantine-Select-option:hover {
157
- background-color: var(--color-surface-hover) !important;
156
+ .mantine-Select-option:hover,
157
+ .mantine-MultiSelect-option:hover,
158
+ .mantine-TagsInput-option:hover,
159
+ .mantine-Combobox-option:hover {
160
+ background-color: var(--surface-primary-muted) !important;
161
+ }
162
+ .mantine-Select-option[data-combobox-selected],
163
+ .mantine-MultiSelect-option[data-combobox-selected],
164
+ .mantine-TagsInput-option[data-combobox-selected],
165
+ .mantine-Combobox-option[data-combobox-selected] {
166
+ background-color: var(--surface-primary-subtle) !important;
167
+ color: var(--color-text);
158
168
  }
159
- [data-mantine-color-scheme] .mantine-Tabs-root {
160
- --tabs-color: var(--color-primary);
169
+ [data-mantine-color-scheme=dark] .mantine-Tabs-root {
161
170
  --tab-border-color: var(--color-border);
162
- --tab-hover-color: color-mix(in srgb, var(--color-surface-hover) 70%, transparent);
163
- }
164
- [data-mantine-color-scheme] .mantine-Tabs-list::before {
165
- border-color: var(--color-border);
166
- }
167
- [data-mantine-color-scheme] .mantine-Tabs-tab {
168
- color: var(--color-text);
169
- border-color: transparent;
170
- background-color: transparent;
171
- transition:
172
- background-color var(--duration-fast) var(--easing),
173
- border-color var(--duration-fast) var(--easing),
174
- color var(--duration-fast) var(--easing);
175
- }
176
- [data-mantine-color-scheme] .mantine-Tabs-tab:not([data-active]):hover {
177
- background-color: var(--tab-hover-color);
178
- border-color: var(--color-border);
179
171
  }
180
- [data-mantine-color-scheme] .mantine-Tabs-tab[data-active],
181
- [data-mantine-color-scheme] .mantine-Tabs-tab[data-active]:hover {
182
- color: var(--color-text);
183
- background-color: transparent;
184
- border-color: var(--color-primary);
172
+ .mantine-Tabs-tab:hover {
173
+ background-color: var(--color-surface-hover);
185
174
  }
186
175
  .mantine-Pagination-control:not([data-active]) {
187
176
  background: var(--color-surface);
@@ -237,6 +226,16 @@
237
226
  display: none;
238
227
  }
239
228
 
229
+ /* src/graph/Graph.globals.css */
230
+ .elevasis-graph-root .react-flow__node.selected,
231
+ .elevasis-graph-root .react-flow__node:focus,
232
+ .elevasis-graph-root .react-flow__node:focus-visible {
233
+ outline: none !important;
234
+ }
235
+ .elevasis-graph-root .react-flow__node.selected > * {
236
+ box-shadow: none;
237
+ }
238
+
240
239
  /* src/graph/Graph.module.css */
241
240
  @keyframes edgeFlow {
242
241
  0% {
@@ -610,13 +609,3 @@
610
609
  transform: none;
611
610
  }
612
611
  }
613
-
614
- /* src/graph/Graph.globals.css */
615
- .elevasis-graph-root .react-flow__node.selected,
616
- .elevasis-graph-root .react-flow__node:focus,
617
- .elevasis-graph-root .react-flow__node:focus-visible {
618
- outline: none !important;
619
- }
620
- .elevasis-graph-root .react-flow__node.selected > * {
621
- box-shadow: none;
622
- }
@@ -1,6 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode, ComponentType } from 'react';
3
- import { z } from 'zod';
3
+ import * as z from 'zod';
4
+ import { z as z$1 } from 'zod';
4
5
  import * as _tanstack_react_query from '@tanstack/react-query';
5
6
 
6
7
  interface LeadGenSidebarProps {
@@ -50,19 +51,19 @@ interface LeadGenSidebarMiddleProps {
50
51
  }
51
52
  declare const LeadGenSidebarMiddle: ({ items }?: LeadGenSidebarMiddleProps) => react_jsx_runtime.JSX.Element;
52
53
 
53
- declare const TransitionItemRequestSchema: z.ZodObject<{
54
- pipelineKey: z.ZodString;
55
- stageKey: z.ZodString;
56
- stateKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- reason: z.ZodOptional<z.ZodString>;
58
- expectedUpdatedAt: z.ZodOptional<z.ZodString>;
59
- }, z.core.$strict>;
60
- type TransitionItemRequest = z.infer<typeof TransitionItemRequestSchema>;
54
+ declare const TransitionItemRequestSchema: z$1.ZodObject<{
55
+ pipelineKey: z$1.ZodString;
56
+ stageKey: z$1.ZodString;
57
+ stateKey: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
58
+ reason: z$1.ZodOptional<z$1.ZodString>;
59
+ expectedUpdatedAt: z$1.ZodOptional<z$1.ZodString>;
60
+ }, z$1.core.$strict>;
61
+ type TransitionItemRequest = z$1.infer<typeof TransitionItemRequestSchema>;
61
62
  /**
62
63
  * Lifecycle status enum for `acq_lists.status` (mirrors DB CHECK constraint
63
64
  * from migration 20260428000003_lead_gen_acq_lists_status_and_config.sql).
64
65
  */
65
- declare const ListStatusSchema: z.ZodEnum<{
66
+ declare const ListStatusSchema: z$1.ZodEnum<{
66
67
  closing: "closing";
67
68
  draft: "draft";
68
69
  enriching: "enriching";
@@ -73,190 +74,190 @@ declare const ListStatusSchema: z.ZodEnum<{
73
74
  * Single list as returned by /api/acquisition/lists/:id etc.
74
75
  * Camel-cased domain shape matching AcqList in types.ts.
75
76
  */
76
- declare const AcqListResponseSchema: z.ZodObject<{
77
- id: z.ZodString;
78
- organizationId: z.ZodString;
79
- name: z.ZodString;
80
- description: z.ZodNullable<z.ZodString>;
81
- batchIds: z.ZodArray<z.ZodString>;
82
- instantlyCampaignId: z.ZodNullable<z.ZodString>;
83
- status: z.ZodEnum<{
77
+ declare const AcqListResponseSchema: z$1.ZodObject<{
78
+ id: z$1.ZodString;
79
+ organizationId: z$1.ZodString;
80
+ name: z$1.ZodString;
81
+ description: z$1.ZodNullable<z$1.ZodString>;
82
+ batchIds: z$1.ZodArray<z$1.ZodString>;
83
+ instantlyCampaignId: z$1.ZodNullable<z$1.ZodString>;
84
+ status: z$1.ZodEnum<{
84
85
  closing: "closing";
85
86
  draft: "draft";
86
87
  enriching: "enriching";
87
88
  launched: "launched";
88
89
  archived: "archived";
89
90
  }>;
90
- metadata: z.ZodObject<{
91
- buildPlanSnapshot: z.ZodOptional<z.ZodObject<{
92
- templateId: z.ZodString;
93
- templateLabel: z.ZodString;
94
- steps: z.ZodArray<z.ZodObject<{
95
- id: z.ZodString;
96
- label: z.ZodString;
97
- description: z.ZodOptional<z.ZodString>;
98
- primaryEntity: z.ZodEnum<{
91
+ metadata: z$1.ZodObject<{
92
+ buildPlanSnapshot: z$1.ZodOptional<z$1.ZodObject<{
93
+ templateId: z$1.ZodString;
94
+ templateLabel: z$1.ZodString;
95
+ steps: z$1.ZodArray<z$1.ZodObject<{
96
+ id: z$1.ZodString;
97
+ label: z$1.ZodString;
98
+ description: z$1.ZodOptional<z$1.ZodString>;
99
+ primaryEntity: z$1.ZodEnum<{
99
100
  company: "company";
100
101
  contact: "contact";
101
102
  }>;
102
- outputs: z.ZodArray<z.ZodEnum<{
103
+ outputs: z$1.ZodArray<z$1.ZodEnum<{
103
104
  company: "company";
104
105
  contact: "contact";
105
106
  export: "export";
106
107
  }>>;
107
- stageKey: z.ZodString;
108
- dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
109
- dependencyMode: z.ZodLiteral<"per-record-eligibility">;
110
- capabilityKey: z.ZodString;
111
- defaultBatchSize: z.ZodNumber;
112
- maxBatchSize: z.ZodNumber;
113
- }, z.core.$strip>>;
114
- }, z.core.$strip>>;
115
- }, z.core.$catchall<z.ZodUnknown>>;
116
- launchedAt: z.ZodNullable<z.ZodString>;
117
- completedAt: z.ZodNullable<z.ZodString>;
118
- createdAt: z.ZodString;
119
- scrapingConfig: z.ZodObject<{
120
- vertical: z.ZodOptional<z.ZodString>;
121
- geography: z.ZodOptional<z.ZodString>;
122
- size: z.ZodOptional<z.ZodString>;
123
- apifyInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
124
- }, z.core.$strip>;
125
- icp: z.ZodObject<{
126
- qualificationRubricKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
- targetDescription: z.ZodOptional<z.ZodString>;
128
- minReviewCount: z.ZodOptional<z.ZodNumber>;
129
- minRating: z.ZodOptional<z.ZodNumber>;
130
- excludeFranchises: z.ZodOptional<z.ZodBoolean>;
131
- customRules: z.ZodOptional<z.ZodString>;
132
- }, z.core.$strip>;
133
- pipelineConfig: z.ZodObject<{
134
- stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
135
- key: z.ZodString;
136
- label: z.ZodOptional<z.ZodString>;
137
- enabled: z.ZodOptional<z.ZodBoolean>;
138
- order: z.ZodOptional<z.ZodNumber>;
139
- }, z.core.$strip>>>;
140
- }, z.core.$strip>;
141
- }, z.core.$strip>;
142
- declare const ListCompaniesQuerySchema: z.ZodObject<{
143
- search: z.ZodOptional<z.ZodString>;
144
- listId: z.ZodOptional<z.ZodString>;
145
- domain: z.ZodOptional<z.ZodString>;
146
- website: z.ZodOptional<z.ZodString>;
147
- segment: z.ZodOptional<z.ZodString>;
148
- category: z.ZodOptional<z.ZodString>;
149
- batchId: z.ZodOptional<z.ZodString>;
150
- status: z.ZodOptional<z.ZodEnum<{
108
+ stageKey: z$1.ZodString;
109
+ dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
110
+ dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
111
+ capabilityKey: z$1.ZodString;
112
+ defaultBatchSize: z$1.ZodNumber;
113
+ maxBatchSize: z$1.ZodNumber;
114
+ }, z$1.core.$strip>>;
115
+ }, z$1.core.$strip>>;
116
+ }, z$1.core.$catchall<z$1.ZodUnknown>>;
117
+ launchedAt: z$1.ZodNullable<z$1.ZodString>;
118
+ completedAt: z$1.ZodNullable<z$1.ZodString>;
119
+ createdAt: z$1.ZodString;
120
+ scrapingConfig: z$1.ZodObject<{
121
+ vertical: z$1.ZodOptional<z$1.ZodString>;
122
+ geography: z$1.ZodOptional<z$1.ZodString>;
123
+ size: z$1.ZodOptional<z$1.ZodString>;
124
+ apifyInput: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
125
+ }, z$1.core.$strip>;
126
+ icp: z$1.ZodObject<{
127
+ qualificationRubricKey: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
128
+ targetDescription: z$1.ZodOptional<z$1.ZodString>;
129
+ minReviewCount: z$1.ZodOptional<z$1.ZodNumber>;
130
+ minRating: z$1.ZodOptional<z$1.ZodNumber>;
131
+ excludeFranchises: z$1.ZodOptional<z$1.ZodBoolean>;
132
+ customRules: z$1.ZodOptional<z$1.ZodString>;
133
+ }, z$1.core.$strip>;
134
+ pipelineConfig: z$1.ZodObject<{
135
+ stages: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
136
+ key: z$1.ZodString;
137
+ label: z$1.ZodOptional<z$1.ZodString>;
138
+ enabled: z$1.ZodOptional<z$1.ZodBoolean>;
139
+ order: z$1.ZodOptional<z$1.ZodNumber>;
140
+ }, z$1.core.$strip>>>;
141
+ }, z$1.core.$strip>;
142
+ }, z$1.core.$strip>;
143
+ declare const ListCompaniesQuerySchema: z$1.ZodObject<{
144
+ search: z$1.ZodOptional<z$1.ZodString>;
145
+ listId: z$1.ZodOptional<z$1.ZodString>;
146
+ domain: z$1.ZodOptional<z$1.ZodString>;
147
+ website: z$1.ZodOptional<z$1.ZodString>;
148
+ segment: z$1.ZodOptional<z$1.ZodString>;
149
+ category: z$1.ZodOptional<z$1.ZodString>;
150
+ batchId: z$1.ZodOptional<z$1.ZodString>;
151
+ status: z$1.ZodOptional<z$1.ZodEnum<{
151
152
  active: "active";
152
153
  invalid: "invalid";
153
154
  }>>;
154
- includeAll: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
155
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
156
- offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
157
- }, z.core.$strict>;
158
- declare const ListContactsQuerySchema: z.ZodObject<{
159
- search: z.ZodOptional<z.ZodString>;
160
- listId: z.ZodOptional<z.ZodString>;
161
- openingLineIsNull: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
162
- batchId: z.ZodOptional<z.ZodString>;
163
- contactStatus: z.ZodOptional<z.ZodEnum<{
155
+ includeAll: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodBoolean>>;
156
+ limit: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
157
+ offset: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
158
+ }, z$1.core.$strict>;
159
+ declare const ListContactsQuerySchema: z$1.ZodObject<{
160
+ search: z$1.ZodOptional<z$1.ZodString>;
161
+ listId: z$1.ZodOptional<z$1.ZodString>;
162
+ openingLineIsNull: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodBoolean>>;
163
+ batchId: z$1.ZodOptional<z$1.ZodString>;
164
+ contactStatus: z$1.ZodOptional<z$1.ZodEnum<{
164
165
  active: "active";
165
166
  invalid: "invalid";
166
167
  }>>;
167
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
168
- offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
169
- }, z.core.$strict>;
170
- declare const AcqCompanyResponseSchema: z.ZodObject<{
171
- id: z.ZodString;
172
- organizationId: z.ZodString;
173
- name: z.ZodString;
174
- domain: z.ZodNullable<z.ZodString>;
175
- linkedinUrl: z.ZodNullable<z.ZodString>;
176
- website: z.ZodNullable<z.ZodString>;
177
- numEmployees: z.ZodNullable<z.ZodNumber>;
178
- foundedYear: z.ZodNullable<z.ZodNumber>;
179
- locationCity: z.ZodNullable<z.ZodString>;
180
- locationState: z.ZodNullable<z.ZodString>;
181
- category: z.ZodNullable<z.ZodString>;
182
- categoryPain: z.ZodNullable<z.ZodString>;
183
- segment: z.ZodNullable<z.ZodString>;
184
- pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
185
- enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
186
- source: z.ZodNullable<z.ZodString>;
187
- batchId: z.ZodNullable<z.ZodString>;
188
- status: z.ZodEnum<{
168
+ limit: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
169
+ offset: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
170
+ }, z$1.core.$strict>;
171
+ declare const AcqCompanyResponseSchema: z$1.ZodObject<{
172
+ id: z$1.ZodString;
173
+ organizationId: z$1.ZodString;
174
+ name: z$1.ZodString;
175
+ domain: z$1.ZodNullable<z$1.ZodString>;
176
+ linkedinUrl: z$1.ZodNullable<z$1.ZodString>;
177
+ website: z$1.ZodNullable<z$1.ZodString>;
178
+ numEmployees: z$1.ZodNullable<z$1.ZodNumber>;
179
+ foundedYear: z$1.ZodNullable<z$1.ZodNumber>;
180
+ locationCity: z$1.ZodNullable<z$1.ZodString>;
181
+ locationState: z$1.ZodNullable<z$1.ZodString>;
182
+ category: z$1.ZodNullable<z$1.ZodString>;
183
+ categoryPain: z$1.ZodNullable<z$1.ZodString>;
184
+ segment: z$1.ZodNullable<z$1.ZodString>;
185
+ pipelineStatus: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
186
+ enrichmentData: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
187
+ source: z$1.ZodNullable<z$1.ZodString>;
188
+ batchId: z$1.ZodNullable<z$1.ZodString>;
189
+ status: z$1.ZodEnum<{
189
190
  active: "active";
190
191
  invalid: "invalid";
191
192
  }>;
192
- contactCount: z.ZodNumber;
193
- verticalResearch: z.ZodNullable<z.ZodString>;
194
- createdAt: z.ZodString;
195
- updatedAt: z.ZodString;
196
- }, z.core.$strip>;
197
- declare const AcqContactResponseSchema: z.ZodObject<{
198
- id: z.ZodString;
199
- organizationId: z.ZodString;
200
- companyId: z.ZodNullable<z.ZodString>;
201
- email: z.ZodString;
202
- emailValid: z.ZodNullable<z.ZodEnum<{
193
+ contactCount: z$1.ZodNumber;
194
+ verticalResearch: z$1.ZodNullable<z$1.ZodString>;
195
+ createdAt: z$1.ZodString;
196
+ updatedAt: z$1.ZodString;
197
+ }, z$1.core.$strip>;
198
+ declare const AcqContactResponseSchema: z$1.ZodObject<{
199
+ id: z$1.ZodString;
200
+ organizationId: z$1.ZodString;
201
+ companyId: z$1.ZodNullable<z$1.ZodString>;
202
+ email: z$1.ZodString;
203
+ emailValid: z$1.ZodNullable<z$1.ZodEnum<{
203
204
  VALID: "VALID";
204
205
  INVALID: "INVALID";
205
206
  RISKY: "RISKY";
206
207
  UNKNOWN: "UNKNOWN";
207
208
  }>>;
208
- firstName: z.ZodNullable<z.ZodString>;
209
- lastName: z.ZodNullable<z.ZodString>;
210
- linkedinUrl: z.ZodNullable<z.ZodString>;
211
- title: z.ZodNullable<z.ZodString>;
212
- headline: z.ZodNullable<z.ZodString>;
213
- filterReason: z.ZodNullable<z.ZodString>;
214
- openingLine: z.ZodNullable<z.ZodString>;
215
- source: z.ZodNullable<z.ZodString>;
216
- sourceId: z.ZodNullable<z.ZodString>;
217
- pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
218
- enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
219
- attioPersonId: z.ZodNullable<z.ZodString>;
220
- batchId: z.ZodNullable<z.ZodString>;
221
- status: z.ZodEnum<{
209
+ firstName: z$1.ZodNullable<z$1.ZodString>;
210
+ lastName: z$1.ZodNullable<z$1.ZodString>;
211
+ linkedinUrl: z$1.ZodNullable<z$1.ZodString>;
212
+ title: z$1.ZodNullable<z$1.ZodString>;
213
+ headline: z$1.ZodNullable<z$1.ZodString>;
214
+ filterReason: z$1.ZodNullable<z$1.ZodString>;
215
+ openingLine: z$1.ZodNullable<z$1.ZodString>;
216
+ source: z$1.ZodNullable<z$1.ZodString>;
217
+ sourceId: z$1.ZodNullable<z$1.ZodString>;
218
+ pipelineStatus: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
219
+ enrichmentData: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
220
+ attioPersonId: z$1.ZodNullable<z$1.ZodString>;
221
+ batchId: z$1.ZodNullable<z$1.ZodString>;
222
+ status: z$1.ZodEnum<{
222
223
  active: "active";
223
224
  invalid: "invalid";
224
225
  }>;
225
- company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
226
- id: z.ZodString;
227
- name: z.ZodString;
228
- domain: z.ZodNullable<z.ZodString>;
229
- website: z.ZodNullable<z.ZodString>;
230
- linkedinUrl: z.ZodNullable<z.ZodString>;
231
- segment: z.ZodNullable<z.ZodString>;
232
- category: z.ZodNullable<z.ZodString>;
233
- status: z.ZodEnum<{
226
+ company: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
227
+ id: z$1.ZodString;
228
+ name: z$1.ZodString;
229
+ domain: z$1.ZodNullable<z$1.ZodString>;
230
+ website: z$1.ZodNullable<z$1.ZodString>;
231
+ linkedinUrl: z$1.ZodNullable<z$1.ZodString>;
232
+ segment: z$1.ZodNullable<z$1.ZodString>;
233
+ category: z$1.ZodNullable<z$1.ZodString>;
234
+ status: z$1.ZodEnum<{
234
235
  active: "active";
235
236
  invalid: "invalid";
236
237
  }>;
237
- }, z.core.$strip>>>;
238
- createdAt: z.ZodString;
239
- updatedAt: z.ZodString;
240
- }, z.core.$strip>;
241
- declare const AcqArtifactOwnerKindSchema: z.ZodEnum<{
238
+ }, z$1.core.$strip>>>;
239
+ createdAt: z$1.ZodString;
240
+ updatedAt: z$1.ZodString;
241
+ }, z$1.core.$strip>;
242
+ declare const AcqArtifactOwnerKindSchema: z$1.ZodEnum<{
242
243
  company: "company";
243
244
  contact: "contact";
244
245
  list: "list";
245
246
  deal: "deal";
246
247
  list_member: "list_member";
247
248
  }>;
248
- type ListCompaniesQuery = z.infer<typeof ListCompaniesQuerySchema>;
249
- type ListContactsQuery = z.infer<typeof ListContactsQuerySchema>;
250
- type AcqCompanyResponse = z.infer<typeof AcqCompanyResponseSchema>;
251
- type AcqContactResponse = z.infer<typeof AcqContactResponseSchema>;
252
- type AcqArtifactOwnerKind = z.infer<typeof AcqArtifactOwnerKindSchema>;
253
- type ListStatus = z.infer<typeof ListStatusSchema>;
254
- type AcqListResponse = z.infer<typeof AcqListResponseSchema>;
249
+ type ListCompaniesQuery = z$1.infer<typeof ListCompaniesQuerySchema>;
250
+ type ListContactsQuery = z$1.infer<typeof ListContactsQuerySchema>;
251
+ type AcqCompanyResponse = z$1.infer<typeof AcqCompanyResponseSchema>;
252
+ type AcqContactResponse = z$1.infer<typeof AcqContactResponseSchema>;
253
+ type AcqArtifactOwnerKind = z$1.infer<typeof AcqArtifactOwnerKindSchema>;
254
+ type ListStatus = z$1.infer<typeof ListStatusSchema>;
255
+ type AcqListResponse = z$1.infer<typeof AcqListResponseSchema>;
255
256
 
256
257
  interface Action {
257
258
  key: string;
258
259
  label: string;
259
- payloadSchema?: z.ZodTypeAny;
260
+ payloadSchema?: z$1.ZodTypeAny;
260
261
  }
261
262
 
262
263
  type FeatureSidebarComponent = ComponentType;
@@ -846,6 +847,62 @@ declare function LeadGenOverviewPage(): react_jsx_runtime.JSX.Element;
846
847
 
847
848
  declare function LeadGenListsPage(): react_jsx_runtime.JSX.Element;
848
849
 
850
+ /**
851
+ * All valid dotted paths into T.
852
+ * Arrays of primitives are treated as leaf (return K only).
853
+ * Arrays of objects are also treated as leaf (no drilling into element shape).
854
+ * Optional fields are unwrapped via NonNullable before recursing.
855
+ */
856
+ type FieldPath<T> = T extends object ? {
857
+ [K in keyof T & string]: T[K] extends ReadonlyArray<unknown> | unknown[] ? K : T[K] extends object | undefined ? K | `${K}.${FieldPath<NonNullable<T[K]>>}` : K;
858
+ }[keyof T & string] : never;
859
+ /** Discriminated string union of supported Mantine components. */
860
+ type StepConfigComponent = 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
861
+ /** Rendering hint for a single field within a section. */
862
+ interface StepConfigFieldHint<T> {
863
+ /** Typed dotted path into T — typo = TS error. */
864
+ path: FieldPath<T>;
865
+ /** Mantine component to render for this field. */
866
+ component: StepConfigComponent;
867
+ /** Overrides the field label derived from Zod .describe() or the key name. */
868
+ label?: string;
869
+ /** Help text shown below the field; overrides Zod .describe(). */
870
+ description?: string;
871
+ placeholder?: string;
872
+ /** Required for 'segmented', 'select', 'multiselect'; ignored for others. */
873
+ options?: ReadonlyArray<{
874
+ value: string;
875
+ label: string;
876
+ }>;
877
+ /** Minimum value — applies to 'numberinput'. */
878
+ min?: number;
879
+ /** Maximum value — applies to 'numberinput'. */
880
+ max?: number;
881
+ /** Stepper increment — applies to 'numberinput'. */
882
+ step?: number;
883
+ /** Per-field conditional visibility, evaluated against current form values. */
884
+ when?: (values: T) => boolean;
885
+ }
886
+ /** An ordered group of fields, optionally shown conditionally. */
887
+ interface StepConfigSection<T> {
888
+ /** Stable key used for React rendering. */
889
+ id: string;
890
+ /** Section heading; omit for the top-level (untitled) section. */
891
+ title?: string;
892
+ description?: string;
893
+ /** Section-level conditional visibility predicate. */
894
+ when?: (values: T) => boolean;
895
+ /** Fields rendered in order within this section. */
896
+ fields: StepConfigFieldHint<T>[];
897
+ }
898
+ /** Top-level layout descriptor supplied by a per-integration registry entry. */
899
+ interface StepConfigLayout<T> {
900
+ /** Ordered top-level sections of the form. */
901
+ sections: StepConfigSection<T>[];
902
+ /** Optional single Advanced collapse rendered below all sections. */
903
+ advanced?: StepConfigSection<T>;
904
+ }
905
+
849
906
  type ListBuilderWorkflowCategory = 'build' | 'enrich' | 'qualify' | 'scrape' | 'utility';
850
907
  type LeadGenStageKey = string;
851
908
  type LeadGenCapabilityKey = string;
@@ -858,10 +915,6 @@ interface ListBuildRecommendedAction {
858
915
  defaultSize?: number;
859
916
  maxSize?: number;
860
917
  }
861
- interface ListBuilderWorkflowFormProps {
862
- list: AcqListResponse;
863
- onSubmit: (input: unknown) => void | Promise<void>;
864
- }
865
918
  interface ListBuilderWorkflow {
866
919
  resourceId: string;
867
920
  workflowId?: string;
@@ -870,7 +923,8 @@ interface ListBuilderWorkflow {
870
923
  description: string;
871
924
  category: ListBuilderWorkflowCategory;
872
925
  stagesAffected: readonly LeadGenStageKey[];
873
- inputForm?: ComponentType<ListBuilderWorkflowFormProps>;
926
+ schema: z.ZodTypeAny;
927
+ layout: StepConfigLayout<any>;
874
928
  defaultInput?: (list: AcqListResponse) => unknown;
875
929
  }
876
930
  type ListBuilderRegistry = readonly ListBuilderWorkflow[];
@@ -929,17 +983,9 @@ interface RunWorkflowModalProps {
929
983
  }
930
984
  declare function RunWorkflowModal({ opened, onClose, list, actions, selection, initialResourceId, title, description, lockResourceSelection, onResourceChange, onSubmitted }: RunWorkflowModalProps): react_jsx_runtime.JSX.Element;
931
985
 
932
- declare function CompanyCleanupForm({ list, onSubmit }: ListBuilderWorkflowFormProps): react_jsx_runtime.JSX.Element;
933
-
934
- declare function EmailDiscoveryForm({ list, onSubmit }: ListBuilderWorkflowFormProps): react_jsx_runtime.JSX.Element;
935
-
936
- declare function EmailVerificationForm({ list, onSubmit }: ListBuilderWorkflowFormProps): react_jsx_runtime.JSX.Element;
937
-
938
- declare function WebsiteExtractForm({ list, onSubmit }: ListBuilderWorkflowFormProps): react_jsx_runtime.JSX.Element;
939
-
940
986
  declare function LeadGenCompaniesPage(): react_jsx_runtime.JSX.Element;
941
987
 
942
988
  declare function LeadGenContactsPage(): react_jsx_runtime.JSX.Element;
943
989
 
944
- export { CompanyCleanupForm, CompanyDetailModal, ContactDetailModal, EMPTY_LIST_ACTIONS, EmailDiscoveryForm, EmailVerificationForm, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, RunWorkflowModal, WebsiteExtractForm, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, findListActionByCapability, formatDate, getEnrichmentColor, getEnrichmentStatus, getListActionWorkflowId, getStateKeyColor, getStatusColor, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useDeriveActions, useListActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus };
945
- export type { AcqCompanyWithCount, AcqContactWithCompany, LeadGenCapabilityKey, LeadGenCompanyListItem, LeadGenContactListItem, LeadGenRouteLink, LeadGenSidebarMiddleProps, LeadGenStageKey, ListActionDefinition, ListActionFormContext, ListActionSelectionMode, ListBuildActionKind, ListBuildRecommendedAction, ListBuildStepStatus, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, ListBuilderWorkflowFormProps, StatefulItem, TransitionListCompanyInput, TransitionListMemberInput, UpdateListStatusInput, UseArtifactsParams };
990
+ export { CompanyDetailModal, ContactDetailModal, EMPTY_LIST_ACTIONS, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, RunWorkflowModal, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, findListActionByCapability, formatDate, getEnrichmentColor, getEnrichmentStatus, getListActionWorkflowId, getStateKeyColor, getStatusColor, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useDeriveActions, useListActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus };
991
+ export type { AcqCompanyWithCount, AcqContactWithCompany, LeadGenCapabilityKey, LeadGenCompanyListItem, LeadGenContactListItem, LeadGenRouteLink, LeadGenSidebarMiddleProps, LeadGenStageKey, ListActionDefinition, ListActionFormContext, ListActionSelectionMode, ListBuildActionKind, ListBuildRecommendedAction, ListBuildStepStatus, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, StatefulItem, TransitionListCompanyInput, TransitionListMemberInput, UpdateListStatusInput, UseArtifactsParams };
@@ -1,5 +1,6 @@
1
- export { CompanyCleanupForm, CompanyDetailModal, ContactDetailModal, EmailDiscoveryForm, EmailVerificationForm, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListBuilderIndexPage, ListBuilderPage, RunWorkflowModal, WebsiteExtractForm, formatDate, getEnrichmentColor, getEnrichmentStatus, getStateKeyColor, getStatusColor, leadGenManifest, useDeleteLists } from '../../chunk-VMAWXEVG.js';
2
- import '../../chunk-IS53MXE4.js';
1
+ export { CompanyDetailModal, ContactDetailModal, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListBuilderIndexPage, ListBuilderPage, RunWorkflowModal, formatDate, getEnrichmentColor, getEnrichmentStatus, getStateKeyColor, getStatusColor, leadGenManifest, useDeleteLists } from '../../chunk-JKBGDFX2.js';
2
+ import '../../chunk-4KTLOK7K.js';
3
+ import '../../chunk-3MEXPLWT.js';
3
4
  import '../../chunk-BZZCNLT6.js';
4
5
  import '../../chunk-TUMSNGTX.js';
5
6
  import '../../chunk-X4WBGKJQ.js';
@@ -7,25 +8,25 @@ import '../../chunk-IIMU5YAJ.js';
7
8
  import '../../chunk-PDHTXPSF.js';
8
9
  import '../../chunk-KVJ3LFH2.js';
9
10
  import '../../chunk-7M2VOCYN.js';
10
- export { companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeriveActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus } from '../../chunk-5BJXMZN4.js';
11
+ export { companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeriveActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus } from '../../chunk-YHBPR67D.js';
11
12
  import '../../chunk-VKMNWHTL.js';
12
- import '../../chunk-HKBEURCV.js';
13
+ import '../../chunk-G26INIF3.js';
13
14
  import '../../chunk-BRXELOHC.js';
14
- import '../../chunk-22UVE3RA.js';
15
15
  import '../../chunk-3ZMAGTWF.js';
16
16
  import '../../chunk-VMJVQAFZ.js';
17
- import '../../chunk-MU4VPAMR.js';
18
- import '../../chunk-QIW6OCEI.js';
17
+ import '../../chunk-JPGX3533.js';
18
+ import '../../chunk-LH4GPYDX.js';
19
+ import '../../chunk-HLFFKKT3.js';
19
20
  import '../../chunk-WLOQ4IBG.js';
20
- import '../../chunk-TAIX4NO3.js';
21
- import '../../chunk-TKAYX2SP.js';
22
- import '../../chunk-U36X6NZM.js';
23
- import '../../chunk-NYBEU5TE.js';
24
- export { EMPTY_LIST_ACTIONS, ListActionsProvider, findListActionByCapability, getListActionWorkflowId, useListActions } from '../../chunk-JMI7L7Y7.js';
21
+ import '../../chunk-ZFLM2YVW.js';
22
+ import '../../chunk-RIFTUOPE.js';
23
+ import '../../chunk-3KMDHCAR.js';
24
+ export { EMPTY_LIST_ACTIONS, ListActionsProvider, findListActionByCapability, getListActionWorkflowId, useListActions } from '../../chunk-W2ZTLH7Y.js';
25
25
  import '../../chunk-SZHARWKU.js';
26
26
  import '../../chunk-V3HUIZJX.js';
27
- import '../../chunk-3KMDHCAR.js';
28
- import '../../chunk-T6INEVX6.js';
27
+ import '../../chunk-TKAYX2SP.js';
28
+ import '../../chunk-NYBEU5TE.js';
29
+ import '../../chunk-SGS4CQ2B.js';
29
30
  import '../../chunk-2IFYDILW.js';
30
31
  import '../../chunk-Q7DJKLEN.js';
31
32
  import '../../chunk-GESXCQWY.js';
@@ -34,7 +35,7 @@ import '../../chunk-E565XMTQ.js';
34
35
  import '../../chunk-KU7ZDWQ7.js';
35
36
  import '../../chunk-DT3QYZVU.js';
36
37
  import '../../chunk-RNP5R5I3.js';
37
- import '../../chunk-SGXXJE52.js';
38
+ import '../../chunk-QD4X4H5A.js';
38
39
  import '../../chunk-KRWALB24.js';
39
40
  import '../../chunk-WFTNY755.js';
40
41
  import '../../chunk-WKJ47GIW.js';