@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
@@ -1,7 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode, ComponentType } from 'react';
3
3
  import { QueryClient } from '@tanstack/react-query';
4
- import { z } from 'zod';
4
+ import * as z from 'zod';
5
+ import { z as z$1 } from 'zod';
5
6
  import { EventSourceMessage } from '@microsoft/fetch-event-source';
6
7
  import { MantineThemeOverride } from '@mantine/core';
7
8
 
@@ -3009,87 +3010,87 @@ type Database = {
3009
3010
  };
3010
3011
  };
3011
3012
 
3012
- /** Raw database row type for acq_deals table */
3013
- type AcqDealRow = Database['public']['Tables']['acq_deals']['Row'];
3014
-
3015
3013
  /**
3016
3014
  * Single list as returned by /api/acquisition/lists/:id etc.
3017
3015
  * Camel-cased domain shape matching AcqList in types.ts.
3018
3016
  */
3019
- declare const AcqListResponseSchema: z.ZodObject<{
3020
- id: z.ZodString;
3021
- organizationId: z.ZodString;
3022
- name: z.ZodString;
3023
- description: z.ZodNullable<z.ZodString>;
3024
- batchIds: z.ZodArray<z.ZodString>;
3025
- instantlyCampaignId: z.ZodNullable<z.ZodString>;
3026
- status: z.ZodEnum<{
3017
+ declare const AcqListResponseSchema: z$1.ZodObject<{
3018
+ id: z$1.ZodString;
3019
+ organizationId: z$1.ZodString;
3020
+ name: z$1.ZodString;
3021
+ description: z$1.ZodNullable<z$1.ZodString>;
3022
+ batchIds: z$1.ZodArray<z$1.ZodString>;
3023
+ instantlyCampaignId: z$1.ZodNullable<z$1.ZodString>;
3024
+ status: z$1.ZodEnum<{
3027
3025
  closing: "closing";
3028
3026
  draft: "draft";
3029
3027
  enriching: "enriching";
3030
3028
  launched: "launched";
3031
3029
  archived: "archived";
3032
3030
  }>;
3033
- metadata: z.ZodObject<{
3034
- buildPlanSnapshot: z.ZodOptional<z.ZodObject<{
3035
- templateId: z.ZodString;
3036
- templateLabel: z.ZodString;
3037
- steps: z.ZodArray<z.ZodObject<{
3038
- id: z.ZodString;
3039
- label: z.ZodString;
3040
- description: z.ZodOptional<z.ZodString>;
3041
- primaryEntity: z.ZodEnum<{
3031
+ metadata: z$1.ZodObject<{
3032
+ buildPlanSnapshot: z$1.ZodOptional<z$1.ZodObject<{
3033
+ templateId: z$1.ZodString;
3034
+ templateLabel: z$1.ZodString;
3035
+ steps: z$1.ZodArray<z$1.ZodObject<{
3036
+ id: z$1.ZodString;
3037
+ label: z$1.ZodString;
3038
+ description: z$1.ZodOptional<z$1.ZodString>;
3039
+ primaryEntity: z$1.ZodEnum<{
3042
3040
  company: "company";
3043
3041
  contact: "contact";
3044
3042
  }>;
3045
- outputs: z.ZodArray<z.ZodEnum<{
3043
+ outputs: z$1.ZodArray<z$1.ZodEnum<{
3046
3044
  company: "company";
3047
3045
  contact: "contact";
3048
3046
  export: "export";
3049
3047
  }>>;
3050
- stageKey: z.ZodString;
3051
- dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
3052
- dependencyMode: z.ZodLiteral<"per-record-eligibility">;
3053
- capabilityKey: z.ZodString;
3054
- defaultBatchSize: z.ZodNumber;
3055
- maxBatchSize: z.ZodNumber;
3056
- }, z.core.$strip>>;
3057
- }, z.core.$strip>>;
3058
- }, z.core.$catchall<z.ZodUnknown>>;
3059
- launchedAt: z.ZodNullable<z.ZodString>;
3060
- completedAt: z.ZodNullable<z.ZodString>;
3061
- createdAt: z.ZodString;
3062
- scrapingConfig: z.ZodObject<{
3063
- vertical: z.ZodOptional<z.ZodString>;
3064
- geography: z.ZodOptional<z.ZodString>;
3065
- size: z.ZodOptional<z.ZodString>;
3066
- apifyInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3067
- }, z.core.$strip>;
3068
- icp: z.ZodObject<{
3069
- qualificationRubricKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3070
- targetDescription: z.ZodOptional<z.ZodString>;
3071
- minReviewCount: z.ZodOptional<z.ZodNumber>;
3072
- minRating: z.ZodOptional<z.ZodNumber>;
3073
- excludeFranchises: z.ZodOptional<z.ZodBoolean>;
3074
- customRules: z.ZodOptional<z.ZodString>;
3075
- }, z.core.$strip>;
3076
- pipelineConfig: z.ZodObject<{
3077
- stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
3078
- key: z.ZodString;
3079
- label: z.ZodOptional<z.ZodString>;
3080
- enabled: z.ZodOptional<z.ZodBoolean>;
3081
- order: z.ZodOptional<z.ZodNumber>;
3082
- }, z.core.$strip>>>;
3083
- }, z.core.$strip>;
3084
- }, z.core.$strip>;
3085
- type AcqListResponse = z.infer<typeof AcqListResponseSchema>;
3048
+ stageKey: z$1.ZodString;
3049
+ dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3050
+ dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
3051
+ capabilityKey: z$1.ZodString;
3052
+ defaultBatchSize: z$1.ZodNumber;
3053
+ maxBatchSize: z$1.ZodNumber;
3054
+ }, z$1.core.$strip>>;
3055
+ }, z$1.core.$strip>>;
3056
+ }, z$1.core.$catchall<z$1.ZodUnknown>>;
3057
+ launchedAt: z$1.ZodNullable<z$1.ZodString>;
3058
+ completedAt: z$1.ZodNullable<z$1.ZodString>;
3059
+ createdAt: z$1.ZodString;
3060
+ scrapingConfig: z$1.ZodObject<{
3061
+ vertical: z$1.ZodOptional<z$1.ZodString>;
3062
+ geography: z$1.ZodOptional<z$1.ZodString>;
3063
+ size: z$1.ZodOptional<z$1.ZodString>;
3064
+ apifyInput: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3065
+ }, z$1.core.$strip>;
3066
+ icp: z$1.ZodObject<{
3067
+ qualificationRubricKey: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
3068
+ targetDescription: z$1.ZodOptional<z$1.ZodString>;
3069
+ minReviewCount: z$1.ZodOptional<z$1.ZodNumber>;
3070
+ minRating: z$1.ZodOptional<z$1.ZodNumber>;
3071
+ excludeFranchises: z$1.ZodOptional<z$1.ZodBoolean>;
3072
+ customRules: z$1.ZodOptional<z$1.ZodString>;
3073
+ }, z$1.core.$strip>;
3074
+ pipelineConfig: z$1.ZodObject<{
3075
+ stages: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3076
+ key: z$1.ZodString;
3077
+ label: z$1.ZodOptional<z$1.ZodString>;
3078
+ enabled: z$1.ZodOptional<z$1.ZodBoolean>;
3079
+ order: z$1.ZodOptional<z$1.ZodNumber>;
3080
+ }, z$1.core.$strip>>>;
3081
+ }, z$1.core.$strip>;
3082
+ }, z$1.core.$strip>;
3083
+ type AcqListResponse = z$1.infer<typeof AcqListResponseSchema>;
3084
+
3085
+ /** Raw database row type for acq_deals table */
3086
+ type AcqDealRow = Database['public']['Tables']['acq_deals']['Row'];
3086
3087
 
3087
3088
  interface ActionDef {
3088
3089
  key: string;
3089
3090
  label: string;
3090
3091
  isAvailableFor: (deal: AcqDealRow) => boolean;
3091
3092
  workflowId: string;
3092
- payloadSchema?: z.ZodTypeAny;
3093
+ payloadSchema?: z$1.ZodTypeAny;
3093
3094
  }
3094
3095
 
3095
3096
  /**
@@ -3097,56 +3098,180 @@ interface ActionDef {
3097
3098
  */
3098
3099
  type TimeRange = '1h' | '24h' | '7d' | '30d';
3099
3100
 
3100
- declare const FeatureSchema: z.ZodObject<{
3101
- id: z.ZodString;
3102
- label: z.ZodString;
3103
- description: z.ZodOptional<z.ZodString>;
3104
- enabled: z.ZodDefault<z.ZodBoolean>;
3105
- path: z.ZodOptional<z.ZodString>;
3106
- icon: z.ZodOptional<z.ZodString>;
3107
- color: z.ZodOptional<z.ZodString>;
3108
- uiPosition: z.ZodOptional<z.ZodEnum<{
3101
+ declare const FeatureSchema: z$1.ZodObject<{
3102
+ id: z$1.ZodString;
3103
+ label: z$1.ZodString;
3104
+ description: z$1.ZodOptional<z$1.ZodString>;
3105
+ enabled: z$1.ZodDefault<z$1.ZodBoolean>;
3106
+ path: z$1.ZodOptional<z$1.ZodString>;
3107
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3108
+ "nav.dashboard": "nav.dashboard";
3109
+ "nav.sales": "nav.sales";
3110
+ "nav.crm": "nav.crm";
3111
+ "nav.lead-gen": "nav.lead-gen";
3112
+ "nav.projects": "nav.projects";
3113
+ "nav.operations": "nav.operations";
3114
+ "nav.monitoring": "nav.monitoring";
3115
+ "nav.knowledge": "nav.knowledge";
3116
+ "nav.settings": "nav.settings";
3117
+ "nav.admin": "nav.admin";
3118
+ "nav.archive": "nav.archive";
3119
+ "knowledge.playbook": "knowledge.playbook";
3120
+ "knowledge.strategy": "knowledge.strategy";
3121
+ "knowledge.reference": "knowledge.reference";
3122
+ "feature.dashboard": "feature.dashboard";
3123
+ "feature.sales": "feature.sales";
3124
+ "feature.crm": "feature.crm";
3125
+ "feature.finance": "feature.finance";
3126
+ "feature.lead-gen": "feature.lead-gen";
3127
+ "feature.platform": "feature.platform";
3128
+ "feature.projects": "feature.projects";
3129
+ "feature.operations": "feature.operations";
3130
+ "feature.knowledge": "feature.knowledge";
3131
+ "feature.monitoring": "feature.monitoring";
3132
+ "feature.settings": "feature.settings";
3133
+ "feature.admin": "feature.admin";
3134
+ "feature.archive": "feature.archive";
3135
+ "feature.seo": "feature.seo";
3136
+ "resource.agent": "resource.agent";
3137
+ "resource.workflow": "resource.workflow";
3138
+ "resource.integration": "resource.integration";
3139
+ "resource.database": "resource.database";
3140
+ "resource.user": "resource.user";
3141
+ "resource.team": "resource.team";
3142
+ "integration.gmail": "integration.gmail";
3143
+ "integration.google-sheets": "integration.google-sheets";
3144
+ "integration.attio": "integration.attio";
3145
+ "surface.dashboard": "surface.dashboard";
3146
+ "surface.overview": "surface.overview";
3147
+ "surface.command-view": "surface.command-view";
3148
+ "surface.command-queue": "surface.command-queue";
3149
+ "surface.pipeline": "surface.pipeline";
3150
+ "surface.lists": "surface.lists";
3151
+ "surface.resources": "surface.resources";
3152
+ "surface.settings": "surface.settings";
3153
+ "status.success": "status.success";
3154
+ "status.error": "status.error";
3155
+ "status.warning": "status.warning";
3156
+ "status.info": "status.info";
3157
+ "status.pending": "status.pending";
3158
+ "action.approve": "action.approve";
3159
+ "action.reject": "action.reject";
3160
+ "action.retry": "action.retry";
3161
+ "action.edit": "action.edit";
3162
+ "action.view": "action.view";
3163
+ "action.launch": "action.launch";
3164
+ "action.message": "action.message";
3165
+ "action.escalate": "action.escalate";
3166
+ "action.promote": "action.promote";
3167
+ "action.submit": "action.submit";
3168
+ "action.email": "action.email";
3169
+ }>, z$1.ZodString]>>;
3170
+ color: z$1.ZodOptional<z$1.ZodString>;
3171
+ uiPosition: z$1.ZodOptional<z$1.ZodEnum<{
3109
3172
  "sidebar-primary": "sidebar-primary";
3110
3173
  "sidebar-bottom": "sidebar-bottom";
3111
3174
  }>>;
3112
- requiresAdmin: z.ZodOptional<z.ZodBoolean>;
3113
- devOnly: z.ZodOptional<z.ZodBoolean>;
3114
- }, z.core.$strip>;
3175
+ requiresAdmin: z$1.ZodOptional<z$1.ZodBoolean>;
3176
+ devOnly: z$1.ZodOptional<z$1.ZodBoolean>;
3177
+ }, z$1.core.$strip>;
3115
3178
 
3116
- declare const OrganizationModelSchema: z.ZodObject<{
3117
- version: z.ZodDefault<z.ZodLiteral<1>>;
3118
- features: z.ZodDefault<z.ZodArray<z.ZodObject<{
3119
- id: z.ZodString;
3120
- label: z.ZodString;
3121
- description: z.ZodOptional<z.ZodString>;
3122
- enabled: z.ZodDefault<z.ZodBoolean>;
3123
- path: z.ZodOptional<z.ZodString>;
3124
- icon: z.ZodOptional<z.ZodString>;
3125
- color: z.ZodOptional<z.ZodString>;
3126
- uiPosition: z.ZodOptional<z.ZodEnum<{
3179
+ declare const OrganizationModelSchema: z$1.ZodObject<{
3180
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3181
+ features: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3182
+ id: z$1.ZodString;
3183
+ label: z$1.ZodString;
3184
+ description: z$1.ZodOptional<z$1.ZodString>;
3185
+ enabled: z$1.ZodDefault<z$1.ZodBoolean>;
3186
+ path: z$1.ZodOptional<z$1.ZodString>;
3187
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3188
+ "nav.dashboard": "nav.dashboard";
3189
+ "nav.sales": "nav.sales";
3190
+ "nav.crm": "nav.crm";
3191
+ "nav.lead-gen": "nav.lead-gen";
3192
+ "nav.projects": "nav.projects";
3193
+ "nav.operations": "nav.operations";
3194
+ "nav.monitoring": "nav.monitoring";
3195
+ "nav.knowledge": "nav.knowledge";
3196
+ "nav.settings": "nav.settings";
3197
+ "nav.admin": "nav.admin";
3198
+ "nav.archive": "nav.archive";
3199
+ "knowledge.playbook": "knowledge.playbook";
3200
+ "knowledge.strategy": "knowledge.strategy";
3201
+ "knowledge.reference": "knowledge.reference";
3202
+ "feature.dashboard": "feature.dashboard";
3203
+ "feature.sales": "feature.sales";
3204
+ "feature.crm": "feature.crm";
3205
+ "feature.finance": "feature.finance";
3206
+ "feature.lead-gen": "feature.lead-gen";
3207
+ "feature.platform": "feature.platform";
3208
+ "feature.projects": "feature.projects";
3209
+ "feature.operations": "feature.operations";
3210
+ "feature.knowledge": "feature.knowledge";
3211
+ "feature.monitoring": "feature.monitoring";
3212
+ "feature.settings": "feature.settings";
3213
+ "feature.admin": "feature.admin";
3214
+ "feature.archive": "feature.archive";
3215
+ "feature.seo": "feature.seo";
3216
+ "resource.agent": "resource.agent";
3217
+ "resource.workflow": "resource.workflow";
3218
+ "resource.integration": "resource.integration";
3219
+ "resource.database": "resource.database";
3220
+ "resource.user": "resource.user";
3221
+ "resource.team": "resource.team";
3222
+ "integration.gmail": "integration.gmail";
3223
+ "integration.google-sheets": "integration.google-sheets";
3224
+ "integration.attio": "integration.attio";
3225
+ "surface.dashboard": "surface.dashboard";
3226
+ "surface.overview": "surface.overview";
3227
+ "surface.command-view": "surface.command-view";
3228
+ "surface.command-queue": "surface.command-queue";
3229
+ "surface.pipeline": "surface.pipeline";
3230
+ "surface.lists": "surface.lists";
3231
+ "surface.resources": "surface.resources";
3232
+ "surface.settings": "surface.settings";
3233
+ "status.success": "status.success";
3234
+ "status.error": "status.error";
3235
+ "status.warning": "status.warning";
3236
+ "status.info": "status.info";
3237
+ "status.pending": "status.pending";
3238
+ "action.approve": "action.approve";
3239
+ "action.reject": "action.reject";
3240
+ "action.retry": "action.retry";
3241
+ "action.edit": "action.edit";
3242
+ "action.view": "action.view";
3243
+ "action.launch": "action.launch";
3244
+ "action.message": "action.message";
3245
+ "action.escalate": "action.escalate";
3246
+ "action.promote": "action.promote";
3247
+ "action.submit": "action.submit";
3248
+ "action.email": "action.email";
3249
+ }>, z$1.ZodString]>>;
3250
+ color: z$1.ZodOptional<z$1.ZodString>;
3251
+ uiPosition: z$1.ZodOptional<z$1.ZodEnum<{
3127
3252
  "sidebar-primary": "sidebar-primary";
3128
3253
  "sidebar-bottom": "sidebar-bottom";
3129
3254
  }>>;
3130
- requiresAdmin: z.ZodOptional<z.ZodBoolean>;
3131
- devOnly: z.ZodOptional<z.ZodBoolean>;
3132
- }, z.core.$strip>>>;
3133
- branding: z.ZodObject<{
3134
- organizationName: z.ZodString;
3135
- productName: z.ZodString;
3136
- shortName: z.ZodString;
3137
- description: z.ZodOptional<z.ZodString>;
3138
- logos: z.ZodDefault<z.ZodObject<{
3139
- light: z.ZodOptional<z.ZodString>;
3140
- dark: z.ZodOptional<z.ZodString>;
3141
- }, z.core.$strip>>;
3142
- }, z.core.$strip>;
3143
- navigation: z.ZodDefault<z.ZodObject<{
3144
- defaultSurfaceId: z.ZodOptional<z.ZodString>;
3145
- surfaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
3146
- id: z.ZodString;
3147
- label: z.ZodString;
3148
- path: z.ZodString;
3149
- surfaceType: z.ZodEnum<{
3255
+ requiresAdmin: z$1.ZodOptional<z$1.ZodBoolean>;
3256
+ devOnly: z$1.ZodOptional<z$1.ZodBoolean>;
3257
+ }, z$1.core.$strip>>>;
3258
+ branding: z$1.ZodObject<{
3259
+ organizationName: z$1.ZodString;
3260
+ productName: z$1.ZodString;
3261
+ shortName: z$1.ZodString;
3262
+ description: z$1.ZodOptional<z$1.ZodString>;
3263
+ logos: z$1.ZodDefault<z$1.ZodObject<{
3264
+ light: z$1.ZodOptional<z$1.ZodString>;
3265
+ dark: z$1.ZodOptional<z$1.ZodString>;
3266
+ }, z$1.core.$strip>>;
3267
+ }, z$1.core.$strip>;
3268
+ navigation: z$1.ZodDefault<z$1.ZodObject<{
3269
+ defaultSurfaceId: z$1.ZodOptional<z$1.ZodString>;
3270
+ surfaces: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3271
+ id: z$1.ZodString;
3272
+ label: z$1.ZodString;
3273
+ path: z$1.ZodString;
3274
+ surfaceType: z$1.ZodEnum<{
3150
3275
  settings: "settings";
3151
3276
  page: "page";
3152
3277
  dashboard: "dashboard";
@@ -3154,235 +3279,793 @@ declare const OrganizationModelSchema: z.ZodObject<{
3154
3279
  detail: "detail";
3155
3280
  list: "list";
3156
3281
  }>;
3157
- description: z.ZodOptional<z.ZodString>;
3158
- enabled: z.ZodDefault<z.ZodBoolean>;
3159
- devOnly: z.ZodOptional<z.ZodBoolean>;
3160
- icon: z.ZodOptional<z.ZodString>;
3161
- featureId: z.ZodOptional<z.ZodString>;
3162
- featureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3163
- entityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3164
- resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3165
- capabilityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3166
- parentId: z.ZodOptional<z.ZodString>;
3167
- }, z.core.$strip>>>;
3168
- groups: z.ZodDefault<z.ZodArray<z.ZodObject<{
3169
- id: z.ZodString;
3170
- label: z.ZodString;
3171
- placement: z.ZodString;
3172
- surfaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3173
- }, z.core.$strip>>>;
3174
- }, z.core.$strip>>;
3175
- sales: z.ZodObject<{
3176
- entityId: z.ZodString;
3177
- defaultPipelineId: z.ZodString;
3178
- pipelines: z.ZodArray<z.ZodObject<{
3179
- id: z.ZodString;
3180
- label: z.ZodString;
3181
- description: z.ZodOptional<z.ZodString>;
3182
- entityId: z.ZodString;
3183
- stages: z.ZodArray<z.ZodObject<{
3184
- label: z.ZodString;
3185
- description: z.ZodOptional<z.ZodString>;
3186
- color: z.ZodOptional<z.ZodString>;
3187
- icon: z.ZodOptional<z.ZodString>;
3188
- id: z.ZodString;
3189
- order: z.ZodNumber;
3190
- semanticClass: z.ZodEnum<{
3282
+ description: z$1.ZodOptional<z$1.ZodString>;
3283
+ enabled: z$1.ZodDefault<z$1.ZodBoolean>;
3284
+ devOnly: z$1.ZodOptional<z$1.ZodBoolean>;
3285
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3286
+ "nav.dashboard": "nav.dashboard";
3287
+ "nav.sales": "nav.sales";
3288
+ "nav.crm": "nav.crm";
3289
+ "nav.lead-gen": "nav.lead-gen";
3290
+ "nav.projects": "nav.projects";
3291
+ "nav.operations": "nav.operations";
3292
+ "nav.monitoring": "nav.monitoring";
3293
+ "nav.knowledge": "nav.knowledge";
3294
+ "nav.settings": "nav.settings";
3295
+ "nav.admin": "nav.admin";
3296
+ "nav.archive": "nav.archive";
3297
+ "knowledge.playbook": "knowledge.playbook";
3298
+ "knowledge.strategy": "knowledge.strategy";
3299
+ "knowledge.reference": "knowledge.reference";
3300
+ "feature.dashboard": "feature.dashboard";
3301
+ "feature.sales": "feature.sales";
3302
+ "feature.crm": "feature.crm";
3303
+ "feature.finance": "feature.finance";
3304
+ "feature.lead-gen": "feature.lead-gen";
3305
+ "feature.platform": "feature.platform";
3306
+ "feature.projects": "feature.projects";
3307
+ "feature.operations": "feature.operations";
3308
+ "feature.knowledge": "feature.knowledge";
3309
+ "feature.monitoring": "feature.monitoring";
3310
+ "feature.settings": "feature.settings";
3311
+ "feature.admin": "feature.admin";
3312
+ "feature.archive": "feature.archive";
3313
+ "feature.seo": "feature.seo";
3314
+ "resource.agent": "resource.agent";
3315
+ "resource.workflow": "resource.workflow";
3316
+ "resource.integration": "resource.integration";
3317
+ "resource.database": "resource.database";
3318
+ "resource.user": "resource.user";
3319
+ "resource.team": "resource.team";
3320
+ "integration.gmail": "integration.gmail";
3321
+ "integration.google-sheets": "integration.google-sheets";
3322
+ "integration.attio": "integration.attio";
3323
+ "surface.dashboard": "surface.dashboard";
3324
+ "surface.overview": "surface.overview";
3325
+ "surface.command-view": "surface.command-view";
3326
+ "surface.command-queue": "surface.command-queue";
3327
+ "surface.pipeline": "surface.pipeline";
3328
+ "surface.lists": "surface.lists";
3329
+ "surface.resources": "surface.resources";
3330
+ "surface.settings": "surface.settings";
3331
+ "status.success": "status.success";
3332
+ "status.error": "status.error";
3333
+ "status.warning": "status.warning";
3334
+ "status.info": "status.info";
3335
+ "status.pending": "status.pending";
3336
+ "action.approve": "action.approve";
3337
+ "action.reject": "action.reject";
3338
+ "action.retry": "action.retry";
3339
+ "action.edit": "action.edit";
3340
+ "action.view": "action.view";
3341
+ "action.launch": "action.launch";
3342
+ "action.message": "action.message";
3343
+ "action.escalate": "action.escalate";
3344
+ "action.promote": "action.promote";
3345
+ "action.submit": "action.submit";
3346
+ "action.email": "action.email";
3347
+ }>, z$1.ZodString]>>;
3348
+ featureId: z$1.ZodOptional<z$1.ZodString>;
3349
+ featureIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3350
+ entityIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3351
+ resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3352
+ capabilityIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3353
+ parentId: z$1.ZodOptional<z$1.ZodString>;
3354
+ }, z$1.core.$strip>>>;
3355
+ groups: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3356
+ id: z$1.ZodString;
3357
+ label: z$1.ZodString;
3358
+ placement: z$1.ZodString;
3359
+ surfaceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3360
+ }, z$1.core.$strip>>>;
3361
+ }, z$1.core.$strip>>;
3362
+ sales: z$1.ZodObject<{
3363
+ entityId: z$1.ZodString;
3364
+ defaultPipelineId: z$1.ZodString;
3365
+ pipelines: z$1.ZodArray<z$1.ZodObject<{
3366
+ id: z$1.ZodString;
3367
+ label: z$1.ZodString;
3368
+ description: z$1.ZodOptional<z$1.ZodString>;
3369
+ entityId: z$1.ZodString;
3370
+ stages: z$1.ZodArray<z$1.ZodObject<{
3371
+ label: z$1.ZodString;
3372
+ description: z$1.ZodOptional<z$1.ZodString>;
3373
+ color: z$1.ZodOptional<z$1.ZodString>;
3374
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3375
+ "nav.dashboard": "nav.dashboard";
3376
+ "nav.sales": "nav.sales";
3377
+ "nav.crm": "nav.crm";
3378
+ "nav.lead-gen": "nav.lead-gen";
3379
+ "nav.projects": "nav.projects";
3380
+ "nav.operations": "nav.operations";
3381
+ "nav.monitoring": "nav.monitoring";
3382
+ "nav.knowledge": "nav.knowledge";
3383
+ "nav.settings": "nav.settings";
3384
+ "nav.admin": "nav.admin";
3385
+ "nav.archive": "nav.archive";
3386
+ "knowledge.playbook": "knowledge.playbook";
3387
+ "knowledge.strategy": "knowledge.strategy";
3388
+ "knowledge.reference": "knowledge.reference";
3389
+ "feature.dashboard": "feature.dashboard";
3390
+ "feature.sales": "feature.sales";
3391
+ "feature.crm": "feature.crm";
3392
+ "feature.finance": "feature.finance";
3393
+ "feature.lead-gen": "feature.lead-gen";
3394
+ "feature.platform": "feature.platform";
3395
+ "feature.projects": "feature.projects";
3396
+ "feature.operations": "feature.operations";
3397
+ "feature.knowledge": "feature.knowledge";
3398
+ "feature.monitoring": "feature.monitoring";
3399
+ "feature.settings": "feature.settings";
3400
+ "feature.admin": "feature.admin";
3401
+ "feature.archive": "feature.archive";
3402
+ "feature.seo": "feature.seo";
3403
+ "resource.agent": "resource.agent";
3404
+ "resource.workflow": "resource.workflow";
3405
+ "resource.integration": "resource.integration";
3406
+ "resource.database": "resource.database";
3407
+ "resource.user": "resource.user";
3408
+ "resource.team": "resource.team";
3409
+ "integration.gmail": "integration.gmail";
3410
+ "integration.google-sheets": "integration.google-sheets";
3411
+ "integration.attio": "integration.attio";
3412
+ "surface.dashboard": "surface.dashboard";
3413
+ "surface.overview": "surface.overview";
3414
+ "surface.command-view": "surface.command-view";
3415
+ "surface.command-queue": "surface.command-queue";
3416
+ "surface.pipeline": "surface.pipeline";
3417
+ "surface.lists": "surface.lists";
3418
+ "surface.resources": "surface.resources";
3419
+ "surface.settings": "surface.settings";
3420
+ "status.success": "status.success";
3421
+ "status.error": "status.error";
3422
+ "status.warning": "status.warning";
3423
+ "status.info": "status.info";
3424
+ "status.pending": "status.pending";
3425
+ "action.approve": "action.approve";
3426
+ "action.reject": "action.reject";
3427
+ "action.retry": "action.retry";
3428
+ "action.edit": "action.edit";
3429
+ "action.view": "action.view";
3430
+ "action.launch": "action.launch";
3431
+ "action.message": "action.message";
3432
+ "action.escalate": "action.escalate";
3433
+ "action.promote": "action.promote";
3434
+ "action.submit": "action.submit";
3435
+ "action.email": "action.email";
3436
+ }>, z$1.ZodString]>>;
3437
+ id: z$1.ZodString;
3438
+ order: z$1.ZodNumber;
3439
+ semanticClass: z$1.ZodEnum<{
3191
3440
  open: "open";
3192
3441
  active: "active";
3193
3442
  nurturing: "nurturing";
3194
3443
  closed_won: "closed_won";
3195
3444
  closed_lost: "closed_lost";
3196
3445
  }>;
3197
- surfaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3198
- resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3199
- }, z.core.$strip>>;
3200
- }, z.core.$strip>>;
3201
- }, z.core.$strip>;
3202
- prospecting: z.ZodObject<{
3203
- listEntityId: z.ZodString;
3204
- companyEntityId: z.ZodString;
3205
- contactEntityId: z.ZodString;
3206
- description: z.ZodOptional<z.ZodString>;
3207
- companyStages: z.ZodArray<z.ZodObject<{
3208
- label: z.ZodString;
3209
- description: z.ZodOptional<z.ZodString>;
3210
- color: z.ZodOptional<z.ZodString>;
3211
- icon: z.ZodOptional<z.ZodString>;
3212
- id: z.ZodString;
3213
- order: z.ZodNumber;
3214
- }, z.core.$strip>>;
3215
- contactStages: z.ZodArray<z.ZodObject<{
3216
- label: z.ZodString;
3217
- description: z.ZodOptional<z.ZodString>;
3218
- color: z.ZodOptional<z.ZodString>;
3219
- icon: z.ZodOptional<z.ZodString>;
3220
- id: z.ZodString;
3221
- order: z.ZodNumber;
3222
- }, z.core.$strip>>;
3223
- defaultBuildTemplateId: z.ZodString;
3224
- buildTemplates: z.ZodArray<z.ZodObject<{
3225
- label: z.ZodString;
3226
- description: z.ZodOptional<z.ZodString>;
3227
- color: z.ZodOptional<z.ZodString>;
3228
- icon: z.ZodOptional<z.ZodString>;
3229
- id: z.ZodString;
3230
- steps: z.ZodArray<z.ZodObject<{
3231
- label: z.ZodString;
3232
- description: z.ZodOptional<z.ZodString>;
3233
- color: z.ZodOptional<z.ZodString>;
3234
- icon: z.ZodOptional<z.ZodString>;
3235
- id: z.ZodString;
3236
- primaryEntity: z.ZodEnum<{
3446
+ surfaceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3447
+ resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3448
+ }, z$1.core.$strip>>;
3449
+ }, z$1.core.$strip>>;
3450
+ }, z$1.core.$strip>;
3451
+ prospecting: z$1.ZodObject<{
3452
+ listEntityId: z$1.ZodString;
3453
+ companyEntityId: z$1.ZodString;
3454
+ contactEntityId: z$1.ZodString;
3455
+ description: z$1.ZodOptional<z$1.ZodString>;
3456
+ companyStages: z$1.ZodArray<z$1.ZodObject<{
3457
+ label: z$1.ZodString;
3458
+ description: z$1.ZodOptional<z$1.ZodString>;
3459
+ color: z$1.ZodOptional<z$1.ZodString>;
3460
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3461
+ "nav.dashboard": "nav.dashboard";
3462
+ "nav.sales": "nav.sales";
3463
+ "nav.crm": "nav.crm";
3464
+ "nav.lead-gen": "nav.lead-gen";
3465
+ "nav.projects": "nav.projects";
3466
+ "nav.operations": "nav.operations";
3467
+ "nav.monitoring": "nav.monitoring";
3468
+ "nav.knowledge": "nav.knowledge";
3469
+ "nav.settings": "nav.settings";
3470
+ "nav.admin": "nav.admin";
3471
+ "nav.archive": "nav.archive";
3472
+ "knowledge.playbook": "knowledge.playbook";
3473
+ "knowledge.strategy": "knowledge.strategy";
3474
+ "knowledge.reference": "knowledge.reference";
3475
+ "feature.dashboard": "feature.dashboard";
3476
+ "feature.sales": "feature.sales";
3477
+ "feature.crm": "feature.crm";
3478
+ "feature.finance": "feature.finance";
3479
+ "feature.lead-gen": "feature.lead-gen";
3480
+ "feature.platform": "feature.platform";
3481
+ "feature.projects": "feature.projects";
3482
+ "feature.operations": "feature.operations";
3483
+ "feature.knowledge": "feature.knowledge";
3484
+ "feature.monitoring": "feature.monitoring";
3485
+ "feature.settings": "feature.settings";
3486
+ "feature.admin": "feature.admin";
3487
+ "feature.archive": "feature.archive";
3488
+ "feature.seo": "feature.seo";
3489
+ "resource.agent": "resource.agent";
3490
+ "resource.workflow": "resource.workflow";
3491
+ "resource.integration": "resource.integration";
3492
+ "resource.database": "resource.database";
3493
+ "resource.user": "resource.user";
3494
+ "resource.team": "resource.team";
3495
+ "integration.gmail": "integration.gmail";
3496
+ "integration.google-sheets": "integration.google-sheets";
3497
+ "integration.attio": "integration.attio";
3498
+ "surface.dashboard": "surface.dashboard";
3499
+ "surface.overview": "surface.overview";
3500
+ "surface.command-view": "surface.command-view";
3501
+ "surface.command-queue": "surface.command-queue";
3502
+ "surface.pipeline": "surface.pipeline";
3503
+ "surface.lists": "surface.lists";
3504
+ "surface.resources": "surface.resources";
3505
+ "surface.settings": "surface.settings";
3506
+ "status.success": "status.success";
3507
+ "status.error": "status.error";
3508
+ "status.warning": "status.warning";
3509
+ "status.info": "status.info";
3510
+ "status.pending": "status.pending";
3511
+ "action.approve": "action.approve";
3512
+ "action.reject": "action.reject";
3513
+ "action.retry": "action.retry";
3514
+ "action.edit": "action.edit";
3515
+ "action.view": "action.view";
3516
+ "action.launch": "action.launch";
3517
+ "action.message": "action.message";
3518
+ "action.escalate": "action.escalate";
3519
+ "action.promote": "action.promote";
3520
+ "action.submit": "action.submit";
3521
+ "action.email": "action.email";
3522
+ }>, z$1.ZodString]>>;
3523
+ id: z$1.ZodString;
3524
+ order: z$1.ZodNumber;
3525
+ }, z$1.core.$strip>>;
3526
+ contactStages: z$1.ZodArray<z$1.ZodObject<{
3527
+ label: z$1.ZodString;
3528
+ description: z$1.ZodOptional<z$1.ZodString>;
3529
+ color: z$1.ZodOptional<z$1.ZodString>;
3530
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3531
+ "nav.dashboard": "nav.dashboard";
3532
+ "nav.sales": "nav.sales";
3533
+ "nav.crm": "nav.crm";
3534
+ "nav.lead-gen": "nav.lead-gen";
3535
+ "nav.projects": "nav.projects";
3536
+ "nav.operations": "nav.operations";
3537
+ "nav.monitoring": "nav.monitoring";
3538
+ "nav.knowledge": "nav.knowledge";
3539
+ "nav.settings": "nav.settings";
3540
+ "nav.admin": "nav.admin";
3541
+ "nav.archive": "nav.archive";
3542
+ "knowledge.playbook": "knowledge.playbook";
3543
+ "knowledge.strategy": "knowledge.strategy";
3544
+ "knowledge.reference": "knowledge.reference";
3545
+ "feature.dashboard": "feature.dashboard";
3546
+ "feature.sales": "feature.sales";
3547
+ "feature.crm": "feature.crm";
3548
+ "feature.finance": "feature.finance";
3549
+ "feature.lead-gen": "feature.lead-gen";
3550
+ "feature.platform": "feature.platform";
3551
+ "feature.projects": "feature.projects";
3552
+ "feature.operations": "feature.operations";
3553
+ "feature.knowledge": "feature.knowledge";
3554
+ "feature.monitoring": "feature.monitoring";
3555
+ "feature.settings": "feature.settings";
3556
+ "feature.admin": "feature.admin";
3557
+ "feature.archive": "feature.archive";
3558
+ "feature.seo": "feature.seo";
3559
+ "resource.agent": "resource.agent";
3560
+ "resource.workflow": "resource.workflow";
3561
+ "resource.integration": "resource.integration";
3562
+ "resource.database": "resource.database";
3563
+ "resource.user": "resource.user";
3564
+ "resource.team": "resource.team";
3565
+ "integration.gmail": "integration.gmail";
3566
+ "integration.google-sheets": "integration.google-sheets";
3567
+ "integration.attio": "integration.attio";
3568
+ "surface.dashboard": "surface.dashboard";
3569
+ "surface.overview": "surface.overview";
3570
+ "surface.command-view": "surface.command-view";
3571
+ "surface.command-queue": "surface.command-queue";
3572
+ "surface.pipeline": "surface.pipeline";
3573
+ "surface.lists": "surface.lists";
3574
+ "surface.resources": "surface.resources";
3575
+ "surface.settings": "surface.settings";
3576
+ "status.success": "status.success";
3577
+ "status.error": "status.error";
3578
+ "status.warning": "status.warning";
3579
+ "status.info": "status.info";
3580
+ "status.pending": "status.pending";
3581
+ "action.approve": "action.approve";
3582
+ "action.reject": "action.reject";
3583
+ "action.retry": "action.retry";
3584
+ "action.edit": "action.edit";
3585
+ "action.view": "action.view";
3586
+ "action.launch": "action.launch";
3587
+ "action.message": "action.message";
3588
+ "action.escalate": "action.escalate";
3589
+ "action.promote": "action.promote";
3590
+ "action.submit": "action.submit";
3591
+ "action.email": "action.email";
3592
+ }>, z$1.ZodString]>>;
3593
+ id: z$1.ZodString;
3594
+ order: z$1.ZodNumber;
3595
+ }, z$1.core.$strip>>;
3596
+ defaultBuildTemplateId: z$1.ZodString;
3597
+ buildTemplates: z$1.ZodArray<z$1.ZodObject<{
3598
+ label: z$1.ZodString;
3599
+ description: z$1.ZodOptional<z$1.ZodString>;
3600
+ color: z$1.ZodOptional<z$1.ZodString>;
3601
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3602
+ "nav.dashboard": "nav.dashboard";
3603
+ "nav.sales": "nav.sales";
3604
+ "nav.crm": "nav.crm";
3605
+ "nav.lead-gen": "nav.lead-gen";
3606
+ "nav.projects": "nav.projects";
3607
+ "nav.operations": "nav.operations";
3608
+ "nav.monitoring": "nav.monitoring";
3609
+ "nav.knowledge": "nav.knowledge";
3610
+ "nav.settings": "nav.settings";
3611
+ "nav.admin": "nav.admin";
3612
+ "nav.archive": "nav.archive";
3613
+ "knowledge.playbook": "knowledge.playbook";
3614
+ "knowledge.strategy": "knowledge.strategy";
3615
+ "knowledge.reference": "knowledge.reference";
3616
+ "feature.dashboard": "feature.dashboard";
3617
+ "feature.sales": "feature.sales";
3618
+ "feature.crm": "feature.crm";
3619
+ "feature.finance": "feature.finance";
3620
+ "feature.lead-gen": "feature.lead-gen";
3621
+ "feature.platform": "feature.platform";
3622
+ "feature.projects": "feature.projects";
3623
+ "feature.operations": "feature.operations";
3624
+ "feature.knowledge": "feature.knowledge";
3625
+ "feature.monitoring": "feature.monitoring";
3626
+ "feature.settings": "feature.settings";
3627
+ "feature.admin": "feature.admin";
3628
+ "feature.archive": "feature.archive";
3629
+ "feature.seo": "feature.seo";
3630
+ "resource.agent": "resource.agent";
3631
+ "resource.workflow": "resource.workflow";
3632
+ "resource.integration": "resource.integration";
3633
+ "resource.database": "resource.database";
3634
+ "resource.user": "resource.user";
3635
+ "resource.team": "resource.team";
3636
+ "integration.gmail": "integration.gmail";
3637
+ "integration.google-sheets": "integration.google-sheets";
3638
+ "integration.attio": "integration.attio";
3639
+ "surface.dashboard": "surface.dashboard";
3640
+ "surface.overview": "surface.overview";
3641
+ "surface.command-view": "surface.command-view";
3642
+ "surface.command-queue": "surface.command-queue";
3643
+ "surface.pipeline": "surface.pipeline";
3644
+ "surface.lists": "surface.lists";
3645
+ "surface.resources": "surface.resources";
3646
+ "surface.settings": "surface.settings";
3647
+ "status.success": "status.success";
3648
+ "status.error": "status.error";
3649
+ "status.warning": "status.warning";
3650
+ "status.info": "status.info";
3651
+ "status.pending": "status.pending";
3652
+ "action.approve": "action.approve";
3653
+ "action.reject": "action.reject";
3654
+ "action.retry": "action.retry";
3655
+ "action.edit": "action.edit";
3656
+ "action.view": "action.view";
3657
+ "action.launch": "action.launch";
3658
+ "action.message": "action.message";
3659
+ "action.escalate": "action.escalate";
3660
+ "action.promote": "action.promote";
3661
+ "action.submit": "action.submit";
3662
+ "action.email": "action.email";
3663
+ }>, z$1.ZodString]>>;
3664
+ id: z$1.ZodString;
3665
+ steps: z$1.ZodArray<z$1.ZodObject<{
3666
+ label: z$1.ZodString;
3667
+ description: z$1.ZodOptional<z$1.ZodString>;
3668
+ color: z$1.ZodOptional<z$1.ZodString>;
3669
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3670
+ "nav.dashboard": "nav.dashboard";
3671
+ "nav.sales": "nav.sales";
3672
+ "nav.crm": "nav.crm";
3673
+ "nav.lead-gen": "nav.lead-gen";
3674
+ "nav.projects": "nav.projects";
3675
+ "nav.operations": "nav.operations";
3676
+ "nav.monitoring": "nav.monitoring";
3677
+ "nav.knowledge": "nav.knowledge";
3678
+ "nav.settings": "nav.settings";
3679
+ "nav.admin": "nav.admin";
3680
+ "nav.archive": "nav.archive";
3681
+ "knowledge.playbook": "knowledge.playbook";
3682
+ "knowledge.strategy": "knowledge.strategy";
3683
+ "knowledge.reference": "knowledge.reference";
3684
+ "feature.dashboard": "feature.dashboard";
3685
+ "feature.sales": "feature.sales";
3686
+ "feature.crm": "feature.crm";
3687
+ "feature.finance": "feature.finance";
3688
+ "feature.lead-gen": "feature.lead-gen";
3689
+ "feature.platform": "feature.platform";
3690
+ "feature.projects": "feature.projects";
3691
+ "feature.operations": "feature.operations";
3692
+ "feature.knowledge": "feature.knowledge";
3693
+ "feature.monitoring": "feature.monitoring";
3694
+ "feature.settings": "feature.settings";
3695
+ "feature.admin": "feature.admin";
3696
+ "feature.archive": "feature.archive";
3697
+ "feature.seo": "feature.seo";
3698
+ "resource.agent": "resource.agent";
3699
+ "resource.workflow": "resource.workflow";
3700
+ "resource.integration": "resource.integration";
3701
+ "resource.database": "resource.database";
3702
+ "resource.user": "resource.user";
3703
+ "resource.team": "resource.team";
3704
+ "integration.gmail": "integration.gmail";
3705
+ "integration.google-sheets": "integration.google-sheets";
3706
+ "integration.attio": "integration.attio";
3707
+ "surface.dashboard": "surface.dashboard";
3708
+ "surface.overview": "surface.overview";
3709
+ "surface.command-view": "surface.command-view";
3710
+ "surface.command-queue": "surface.command-queue";
3711
+ "surface.pipeline": "surface.pipeline";
3712
+ "surface.lists": "surface.lists";
3713
+ "surface.resources": "surface.resources";
3714
+ "surface.settings": "surface.settings";
3715
+ "status.success": "status.success";
3716
+ "status.error": "status.error";
3717
+ "status.warning": "status.warning";
3718
+ "status.info": "status.info";
3719
+ "status.pending": "status.pending";
3720
+ "action.approve": "action.approve";
3721
+ "action.reject": "action.reject";
3722
+ "action.retry": "action.retry";
3723
+ "action.edit": "action.edit";
3724
+ "action.view": "action.view";
3725
+ "action.launch": "action.launch";
3726
+ "action.message": "action.message";
3727
+ "action.escalate": "action.escalate";
3728
+ "action.promote": "action.promote";
3729
+ "action.submit": "action.submit";
3730
+ "action.email": "action.email";
3731
+ }>, z$1.ZodString]>>;
3732
+ id: z$1.ZodString;
3733
+ primaryEntity: z$1.ZodEnum<{
3237
3734
  company: "company";
3238
3735
  contact: "contact";
3239
3736
  }>;
3240
- outputs: z.ZodArray<z.ZodEnum<{
3737
+ outputs: z$1.ZodArray<z$1.ZodEnum<{
3241
3738
  company: "company";
3242
3739
  contact: "contact";
3243
3740
  export: "export";
3244
3741
  }>>;
3245
- stageKey: z.ZodString;
3246
- dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
3247
- dependencyMode: z.ZodLiteral<"per-record-eligibility">;
3248
- capabilityKey: z.ZodString;
3249
- defaultBatchSize: z.ZodNumber;
3250
- maxBatchSize: z.ZodNumber;
3251
- }, z.core.$strip>>;
3252
- }, z.core.$strip>>;
3253
- }, z.core.$strip>;
3254
- projects: z.ZodObject<{
3255
- projectEntityId: z.ZodString;
3256
- milestoneEntityId: z.ZodString;
3257
- taskEntityId: z.ZodString;
3258
- projectStatuses: z.ZodArray<z.ZodObject<{
3259
- label: z.ZodString;
3260
- description: z.ZodOptional<z.ZodString>;
3261
- color: z.ZodOptional<z.ZodString>;
3262
- icon: z.ZodOptional<z.ZodString>;
3263
- id: z.ZodString;
3264
- order: z.ZodNumber;
3265
- }, z.core.$strip>>;
3266
- milestoneStatuses: z.ZodArray<z.ZodObject<{
3267
- label: z.ZodString;
3268
- description: z.ZodOptional<z.ZodString>;
3269
- color: z.ZodOptional<z.ZodString>;
3270
- icon: z.ZodOptional<z.ZodString>;
3271
- id: z.ZodString;
3272
- order: z.ZodNumber;
3273
- }, z.core.$strip>>;
3274
- taskStatuses: z.ZodArray<z.ZodObject<{
3275
- label: z.ZodString;
3276
- description: z.ZodOptional<z.ZodString>;
3277
- color: z.ZodOptional<z.ZodString>;
3278
- icon: z.ZodOptional<z.ZodString>;
3279
- id: z.ZodString;
3280
- order: z.ZodNumber;
3281
- }, z.core.$strip>>;
3282
- }, z.core.$strip>;
3283
- identity: z.ZodDefault<z.ZodObject<{
3284
- mission: z.ZodDefault<z.ZodString>;
3285
- vision: z.ZodDefault<z.ZodString>;
3286
- legalName: z.ZodDefault<z.ZodString>;
3287
- entityType: z.ZodDefault<z.ZodString>;
3288
- jurisdiction: z.ZodDefault<z.ZodString>;
3289
- industryCategory: z.ZodDefault<z.ZodString>;
3290
- geographicFocus: z.ZodDefault<z.ZodString>;
3291
- timeZone: z.ZodDefault<z.ZodString>;
3292
- businessHours: z.ZodDefault<z.ZodObject<{
3293
- monday: z.ZodOptional<z.ZodObject<{
3294
- open: z.ZodString;
3295
- close: z.ZodString;
3296
- }, z.core.$strip>>;
3297
- tuesday: z.ZodOptional<z.ZodObject<{
3298
- open: z.ZodString;
3299
- close: z.ZodString;
3300
- }, z.core.$strip>>;
3301
- wednesday: z.ZodOptional<z.ZodObject<{
3302
- open: z.ZodString;
3303
- close: z.ZodString;
3304
- }, z.core.$strip>>;
3305
- thursday: z.ZodOptional<z.ZodObject<{
3306
- open: z.ZodString;
3307
- close: z.ZodString;
3308
- }, z.core.$strip>>;
3309
- friday: z.ZodOptional<z.ZodObject<{
3310
- open: z.ZodString;
3311
- close: z.ZodString;
3312
- }, z.core.$strip>>;
3313
- saturday: z.ZodOptional<z.ZodObject<{
3314
- open: z.ZodString;
3315
- close: z.ZodString;
3316
- }, z.core.$strip>>;
3317
- sunday: z.ZodOptional<z.ZodObject<{
3318
- open: z.ZodString;
3319
- close: z.ZodString;
3320
- }, z.core.$strip>>;
3321
- }, z.core.$strip>>;
3322
- clientBrief: z.ZodDefault<z.ZodString>;
3323
- }, z.core.$strip>>;
3324
- customers: z.ZodDefault<z.ZodObject<{
3325
- segments: z.ZodDefault<z.ZodArray<z.ZodObject<{
3326
- id: z.ZodString;
3327
- name: z.ZodDefault<z.ZodString>;
3328
- description: z.ZodDefault<z.ZodString>;
3329
- jobsToBeDone: z.ZodDefault<z.ZodString>;
3330
- pains: z.ZodDefault<z.ZodArray<z.ZodString>>;
3331
- gains: z.ZodDefault<z.ZodArray<z.ZodString>>;
3332
- firmographics: z.ZodDefault<z.ZodObject<{
3333
- industry: z.ZodOptional<z.ZodString>;
3334
- companySize: z.ZodOptional<z.ZodString>;
3335
- region: z.ZodOptional<z.ZodString>;
3336
- }, z.core.$strip>>;
3337
- valueProp: z.ZodDefault<z.ZodString>;
3338
- }, z.core.$strip>>>;
3339
- }, z.core.$strip>>;
3340
- offerings: z.ZodDefault<z.ZodObject<{
3341
- products: z.ZodDefault<z.ZodArray<z.ZodObject<{
3342
- id: z.ZodString;
3343
- name: z.ZodDefault<z.ZodString>;
3344
- description: z.ZodDefault<z.ZodString>;
3345
- pricingModel: z.ZodDefault<z.ZodEnum<{
3742
+ stageKey: z$1.ZodString;
3743
+ dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3744
+ dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
3745
+ capabilityKey: z$1.ZodString;
3746
+ defaultBatchSize: z$1.ZodNumber;
3747
+ maxBatchSize: z$1.ZodNumber;
3748
+ }, z$1.core.$strip>>;
3749
+ }, z$1.core.$strip>>;
3750
+ }, z$1.core.$strip>;
3751
+ projects: z$1.ZodObject<{
3752
+ projectEntityId: z$1.ZodString;
3753
+ milestoneEntityId: z$1.ZodString;
3754
+ taskEntityId: z$1.ZodString;
3755
+ projectStatuses: z$1.ZodArray<z$1.ZodObject<{
3756
+ label: z$1.ZodString;
3757
+ description: z$1.ZodOptional<z$1.ZodString>;
3758
+ color: z$1.ZodOptional<z$1.ZodString>;
3759
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3760
+ "nav.dashboard": "nav.dashboard";
3761
+ "nav.sales": "nav.sales";
3762
+ "nav.crm": "nav.crm";
3763
+ "nav.lead-gen": "nav.lead-gen";
3764
+ "nav.projects": "nav.projects";
3765
+ "nav.operations": "nav.operations";
3766
+ "nav.monitoring": "nav.monitoring";
3767
+ "nav.knowledge": "nav.knowledge";
3768
+ "nav.settings": "nav.settings";
3769
+ "nav.admin": "nav.admin";
3770
+ "nav.archive": "nav.archive";
3771
+ "knowledge.playbook": "knowledge.playbook";
3772
+ "knowledge.strategy": "knowledge.strategy";
3773
+ "knowledge.reference": "knowledge.reference";
3774
+ "feature.dashboard": "feature.dashboard";
3775
+ "feature.sales": "feature.sales";
3776
+ "feature.crm": "feature.crm";
3777
+ "feature.finance": "feature.finance";
3778
+ "feature.lead-gen": "feature.lead-gen";
3779
+ "feature.platform": "feature.platform";
3780
+ "feature.projects": "feature.projects";
3781
+ "feature.operations": "feature.operations";
3782
+ "feature.knowledge": "feature.knowledge";
3783
+ "feature.monitoring": "feature.monitoring";
3784
+ "feature.settings": "feature.settings";
3785
+ "feature.admin": "feature.admin";
3786
+ "feature.archive": "feature.archive";
3787
+ "feature.seo": "feature.seo";
3788
+ "resource.agent": "resource.agent";
3789
+ "resource.workflow": "resource.workflow";
3790
+ "resource.integration": "resource.integration";
3791
+ "resource.database": "resource.database";
3792
+ "resource.user": "resource.user";
3793
+ "resource.team": "resource.team";
3794
+ "integration.gmail": "integration.gmail";
3795
+ "integration.google-sheets": "integration.google-sheets";
3796
+ "integration.attio": "integration.attio";
3797
+ "surface.dashboard": "surface.dashboard";
3798
+ "surface.overview": "surface.overview";
3799
+ "surface.command-view": "surface.command-view";
3800
+ "surface.command-queue": "surface.command-queue";
3801
+ "surface.pipeline": "surface.pipeline";
3802
+ "surface.lists": "surface.lists";
3803
+ "surface.resources": "surface.resources";
3804
+ "surface.settings": "surface.settings";
3805
+ "status.success": "status.success";
3806
+ "status.error": "status.error";
3807
+ "status.warning": "status.warning";
3808
+ "status.info": "status.info";
3809
+ "status.pending": "status.pending";
3810
+ "action.approve": "action.approve";
3811
+ "action.reject": "action.reject";
3812
+ "action.retry": "action.retry";
3813
+ "action.edit": "action.edit";
3814
+ "action.view": "action.view";
3815
+ "action.launch": "action.launch";
3816
+ "action.message": "action.message";
3817
+ "action.escalate": "action.escalate";
3818
+ "action.promote": "action.promote";
3819
+ "action.submit": "action.submit";
3820
+ "action.email": "action.email";
3821
+ }>, z$1.ZodString]>>;
3822
+ id: z$1.ZodString;
3823
+ order: z$1.ZodNumber;
3824
+ }, z$1.core.$strip>>;
3825
+ milestoneStatuses: z$1.ZodArray<z$1.ZodObject<{
3826
+ label: z$1.ZodString;
3827
+ description: z$1.ZodOptional<z$1.ZodString>;
3828
+ color: z$1.ZodOptional<z$1.ZodString>;
3829
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3830
+ "nav.dashboard": "nav.dashboard";
3831
+ "nav.sales": "nav.sales";
3832
+ "nav.crm": "nav.crm";
3833
+ "nav.lead-gen": "nav.lead-gen";
3834
+ "nav.projects": "nav.projects";
3835
+ "nav.operations": "nav.operations";
3836
+ "nav.monitoring": "nav.monitoring";
3837
+ "nav.knowledge": "nav.knowledge";
3838
+ "nav.settings": "nav.settings";
3839
+ "nav.admin": "nav.admin";
3840
+ "nav.archive": "nav.archive";
3841
+ "knowledge.playbook": "knowledge.playbook";
3842
+ "knowledge.strategy": "knowledge.strategy";
3843
+ "knowledge.reference": "knowledge.reference";
3844
+ "feature.dashboard": "feature.dashboard";
3845
+ "feature.sales": "feature.sales";
3846
+ "feature.crm": "feature.crm";
3847
+ "feature.finance": "feature.finance";
3848
+ "feature.lead-gen": "feature.lead-gen";
3849
+ "feature.platform": "feature.platform";
3850
+ "feature.projects": "feature.projects";
3851
+ "feature.operations": "feature.operations";
3852
+ "feature.knowledge": "feature.knowledge";
3853
+ "feature.monitoring": "feature.monitoring";
3854
+ "feature.settings": "feature.settings";
3855
+ "feature.admin": "feature.admin";
3856
+ "feature.archive": "feature.archive";
3857
+ "feature.seo": "feature.seo";
3858
+ "resource.agent": "resource.agent";
3859
+ "resource.workflow": "resource.workflow";
3860
+ "resource.integration": "resource.integration";
3861
+ "resource.database": "resource.database";
3862
+ "resource.user": "resource.user";
3863
+ "resource.team": "resource.team";
3864
+ "integration.gmail": "integration.gmail";
3865
+ "integration.google-sheets": "integration.google-sheets";
3866
+ "integration.attio": "integration.attio";
3867
+ "surface.dashboard": "surface.dashboard";
3868
+ "surface.overview": "surface.overview";
3869
+ "surface.command-view": "surface.command-view";
3870
+ "surface.command-queue": "surface.command-queue";
3871
+ "surface.pipeline": "surface.pipeline";
3872
+ "surface.lists": "surface.lists";
3873
+ "surface.resources": "surface.resources";
3874
+ "surface.settings": "surface.settings";
3875
+ "status.success": "status.success";
3876
+ "status.error": "status.error";
3877
+ "status.warning": "status.warning";
3878
+ "status.info": "status.info";
3879
+ "status.pending": "status.pending";
3880
+ "action.approve": "action.approve";
3881
+ "action.reject": "action.reject";
3882
+ "action.retry": "action.retry";
3883
+ "action.edit": "action.edit";
3884
+ "action.view": "action.view";
3885
+ "action.launch": "action.launch";
3886
+ "action.message": "action.message";
3887
+ "action.escalate": "action.escalate";
3888
+ "action.promote": "action.promote";
3889
+ "action.submit": "action.submit";
3890
+ "action.email": "action.email";
3891
+ }>, z$1.ZodString]>>;
3892
+ id: z$1.ZodString;
3893
+ order: z$1.ZodNumber;
3894
+ }, z$1.core.$strip>>;
3895
+ taskStatuses: z$1.ZodArray<z$1.ZodObject<{
3896
+ label: z$1.ZodString;
3897
+ description: z$1.ZodOptional<z$1.ZodString>;
3898
+ color: z$1.ZodOptional<z$1.ZodString>;
3899
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3900
+ "nav.dashboard": "nav.dashboard";
3901
+ "nav.sales": "nav.sales";
3902
+ "nav.crm": "nav.crm";
3903
+ "nav.lead-gen": "nav.lead-gen";
3904
+ "nav.projects": "nav.projects";
3905
+ "nav.operations": "nav.operations";
3906
+ "nav.monitoring": "nav.monitoring";
3907
+ "nav.knowledge": "nav.knowledge";
3908
+ "nav.settings": "nav.settings";
3909
+ "nav.admin": "nav.admin";
3910
+ "nav.archive": "nav.archive";
3911
+ "knowledge.playbook": "knowledge.playbook";
3912
+ "knowledge.strategy": "knowledge.strategy";
3913
+ "knowledge.reference": "knowledge.reference";
3914
+ "feature.dashboard": "feature.dashboard";
3915
+ "feature.sales": "feature.sales";
3916
+ "feature.crm": "feature.crm";
3917
+ "feature.finance": "feature.finance";
3918
+ "feature.lead-gen": "feature.lead-gen";
3919
+ "feature.platform": "feature.platform";
3920
+ "feature.projects": "feature.projects";
3921
+ "feature.operations": "feature.operations";
3922
+ "feature.knowledge": "feature.knowledge";
3923
+ "feature.monitoring": "feature.monitoring";
3924
+ "feature.settings": "feature.settings";
3925
+ "feature.admin": "feature.admin";
3926
+ "feature.archive": "feature.archive";
3927
+ "feature.seo": "feature.seo";
3928
+ "resource.agent": "resource.agent";
3929
+ "resource.workflow": "resource.workflow";
3930
+ "resource.integration": "resource.integration";
3931
+ "resource.database": "resource.database";
3932
+ "resource.user": "resource.user";
3933
+ "resource.team": "resource.team";
3934
+ "integration.gmail": "integration.gmail";
3935
+ "integration.google-sheets": "integration.google-sheets";
3936
+ "integration.attio": "integration.attio";
3937
+ "surface.dashboard": "surface.dashboard";
3938
+ "surface.overview": "surface.overview";
3939
+ "surface.command-view": "surface.command-view";
3940
+ "surface.command-queue": "surface.command-queue";
3941
+ "surface.pipeline": "surface.pipeline";
3942
+ "surface.lists": "surface.lists";
3943
+ "surface.resources": "surface.resources";
3944
+ "surface.settings": "surface.settings";
3945
+ "status.success": "status.success";
3946
+ "status.error": "status.error";
3947
+ "status.warning": "status.warning";
3948
+ "status.info": "status.info";
3949
+ "status.pending": "status.pending";
3950
+ "action.approve": "action.approve";
3951
+ "action.reject": "action.reject";
3952
+ "action.retry": "action.retry";
3953
+ "action.edit": "action.edit";
3954
+ "action.view": "action.view";
3955
+ "action.launch": "action.launch";
3956
+ "action.message": "action.message";
3957
+ "action.escalate": "action.escalate";
3958
+ "action.promote": "action.promote";
3959
+ "action.submit": "action.submit";
3960
+ "action.email": "action.email";
3961
+ }>, z$1.ZodString]>>;
3962
+ id: z$1.ZodString;
3963
+ order: z$1.ZodNumber;
3964
+ }, z$1.core.$strip>>;
3965
+ }, z$1.core.$strip>;
3966
+ identity: z$1.ZodDefault<z$1.ZodObject<{
3967
+ mission: z$1.ZodDefault<z$1.ZodString>;
3968
+ vision: z$1.ZodDefault<z$1.ZodString>;
3969
+ legalName: z$1.ZodDefault<z$1.ZodString>;
3970
+ entityType: z$1.ZodDefault<z$1.ZodString>;
3971
+ jurisdiction: z$1.ZodDefault<z$1.ZodString>;
3972
+ industryCategory: z$1.ZodDefault<z$1.ZodString>;
3973
+ geographicFocus: z$1.ZodDefault<z$1.ZodString>;
3974
+ timeZone: z$1.ZodDefault<z$1.ZodString>;
3975
+ businessHours: z$1.ZodDefault<z$1.ZodObject<{
3976
+ monday: z$1.ZodOptional<z$1.ZodObject<{
3977
+ open: z$1.ZodString;
3978
+ close: z$1.ZodString;
3979
+ }, z$1.core.$strip>>;
3980
+ tuesday: z$1.ZodOptional<z$1.ZodObject<{
3981
+ open: z$1.ZodString;
3982
+ close: z$1.ZodString;
3983
+ }, z$1.core.$strip>>;
3984
+ wednesday: z$1.ZodOptional<z$1.ZodObject<{
3985
+ open: z$1.ZodString;
3986
+ close: z$1.ZodString;
3987
+ }, z$1.core.$strip>>;
3988
+ thursday: z$1.ZodOptional<z$1.ZodObject<{
3989
+ open: z$1.ZodString;
3990
+ close: z$1.ZodString;
3991
+ }, z$1.core.$strip>>;
3992
+ friday: z$1.ZodOptional<z$1.ZodObject<{
3993
+ open: z$1.ZodString;
3994
+ close: z$1.ZodString;
3995
+ }, z$1.core.$strip>>;
3996
+ saturday: z$1.ZodOptional<z$1.ZodObject<{
3997
+ open: z$1.ZodString;
3998
+ close: z$1.ZodString;
3999
+ }, z$1.core.$strip>>;
4000
+ sunday: z$1.ZodOptional<z$1.ZodObject<{
4001
+ open: z$1.ZodString;
4002
+ close: z$1.ZodString;
4003
+ }, z$1.core.$strip>>;
4004
+ }, z$1.core.$strip>>;
4005
+ clientBrief: z$1.ZodDefault<z$1.ZodString>;
4006
+ }, z$1.core.$strip>>;
4007
+ customers: z$1.ZodDefault<z$1.ZodObject<{
4008
+ segments: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4009
+ id: z$1.ZodString;
4010
+ name: z$1.ZodDefault<z$1.ZodString>;
4011
+ description: z$1.ZodDefault<z$1.ZodString>;
4012
+ jobsToBeDone: z$1.ZodDefault<z$1.ZodString>;
4013
+ pains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4014
+ gains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4015
+ firmographics: z$1.ZodDefault<z$1.ZodObject<{
4016
+ industry: z$1.ZodOptional<z$1.ZodString>;
4017
+ companySize: z$1.ZodOptional<z$1.ZodString>;
4018
+ region: z$1.ZodOptional<z$1.ZodString>;
4019
+ }, z$1.core.$strip>>;
4020
+ valueProp: z$1.ZodDefault<z$1.ZodString>;
4021
+ }, z$1.core.$strip>>>;
4022
+ }, z$1.core.$strip>>;
4023
+ offerings: z$1.ZodDefault<z$1.ZodObject<{
4024
+ products: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4025
+ id: z$1.ZodString;
4026
+ name: z$1.ZodDefault<z$1.ZodString>;
4027
+ description: z$1.ZodDefault<z$1.ZodString>;
4028
+ pricingModel: z$1.ZodDefault<z$1.ZodEnum<{
3346
4029
  custom: "custom";
3347
4030
  "one-time": "one-time";
3348
4031
  subscription: "subscription";
3349
4032
  "usage-based": "usage-based";
3350
4033
  }>>;
3351
- price: z.ZodDefault<z.ZodNumber>;
3352
- currency: z.ZodDefault<z.ZodString>;
3353
- targetSegmentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3354
- deliveryFeatureId: z.ZodOptional<z.ZodString>;
3355
- }, z.core.$strip>>>;
3356
- }, z.core.$strip>>;
3357
- roles: z.ZodDefault<z.ZodObject<{
3358
- roles: z.ZodDefault<z.ZodArray<z.ZodObject<{
3359
- id: z.ZodString;
3360
- title: z.ZodString;
3361
- responsibilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
3362
- reportsToId: z.ZodOptional<z.ZodString>;
3363
- heldBy: z.ZodOptional<z.ZodString>;
3364
- }, z.core.$strip>>>;
3365
- }, z.core.$strip>>;
3366
- goals: z.ZodDefault<z.ZodObject<{
3367
- objectives: z.ZodDefault<z.ZodArray<z.ZodObject<{
3368
- id: z.ZodString;
3369
- description: z.ZodString;
3370
- periodStart: z.ZodString;
3371
- periodEnd: z.ZodString;
3372
- keyResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
3373
- id: z.ZodString;
3374
- description: z.ZodString;
3375
- targetMetric: z.ZodString;
3376
- currentValue: z.ZodDefault<z.ZodNumber>;
3377
- targetValue: z.ZodOptional<z.ZodNumber>;
3378
- }, z.core.$strip>>>;
3379
- }, z.core.$strip>>>;
3380
- }, z.core.$strip>>;
3381
- statuses: z.ZodDefault<z.ZodObject<{
3382
- entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
3383
- id: z.ZodString;
3384
- label: z.ZodString;
3385
- semanticClass: z.ZodEnum<{
4034
+ price: z$1.ZodDefault<z$1.ZodNumber>;
4035
+ currency: z$1.ZodDefault<z$1.ZodString>;
4036
+ targetSegmentIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4037
+ deliveryFeatureId: z$1.ZodOptional<z$1.ZodString>;
4038
+ }, z$1.core.$strip>>>;
4039
+ }, z$1.core.$strip>>;
4040
+ roles: z$1.ZodDefault<z$1.ZodObject<{
4041
+ roles: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4042
+ id: z$1.ZodString;
4043
+ title: z$1.ZodString;
4044
+ responsibilities: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4045
+ reportsToId: z$1.ZodOptional<z$1.ZodString>;
4046
+ heldBy: z$1.ZodOptional<z$1.ZodString>;
4047
+ }, z$1.core.$strip>>>;
4048
+ }, z$1.core.$strip>>;
4049
+ goals: z$1.ZodDefault<z$1.ZodObject<{
4050
+ objectives: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4051
+ id: z$1.ZodString;
4052
+ description: z$1.ZodString;
4053
+ periodStart: z$1.ZodString;
4054
+ periodEnd: z$1.ZodString;
4055
+ keyResults: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4056
+ id: z$1.ZodString;
4057
+ description: z$1.ZodString;
4058
+ targetMetric: z$1.ZodString;
4059
+ currentValue: z$1.ZodDefault<z$1.ZodNumber>;
4060
+ targetValue: z$1.ZodOptional<z$1.ZodNumber>;
4061
+ }, z$1.core.$strip>>>;
4062
+ }, z$1.core.$strip>>>;
4063
+ }, z$1.core.$strip>>;
4064
+ statuses: z$1.ZodDefault<z$1.ZodObject<{
4065
+ entries: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4066
+ id: z$1.ZodString;
4067
+ label: z$1.ZodString;
4068
+ semanticClass: z$1.ZodEnum<{
3386
4069
  "delivery.project": "delivery.project";
3387
4070
  "delivery.milestone": "delivery.milestone";
3388
4071
  "delivery.task": "delivery.task";
@@ -3392,54 +4075,169 @@ declare const OrganizationModelSchema: z.ZodObject<{
3392
4075
  "schedule.run": "schedule.run";
3393
4076
  request: "request";
3394
4077
  }>;
3395
- category: z.ZodOptional<z.ZodString>;
3396
- }, z.core.$strip>>>;
3397
- }, z.core.$strip>>;
3398
- operations: z.ZodDefault<z.ZodObject<{
3399
- entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
3400
- id: z.ZodString;
3401
- label: z.ZodString;
3402
- semanticClass: z.ZodEnum<{
4078
+ category: z$1.ZodOptional<z$1.ZodString>;
4079
+ }, z$1.core.$strip>>>;
4080
+ }, z$1.core.$strip>>;
4081
+ operations: z$1.ZodDefault<z$1.ZodObject<{
4082
+ entries: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4083
+ id: z$1.ZodString;
4084
+ label: z$1.ZodString;
4085
+ semanticClass: z$1.ZodEnum<{
3403
4086
  queue: "queue";
3404
4087
  executions: "executions";
3405
4088
  sessions: "sessions";
3406
4089
  notifications: "notifications";
3407
4090
  schedules: "schedules";
3408
4091
  }>;
3409
- featureId: z.ZodOptional<z.ZodString>;
3410
- supportedStatusSemanticClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
3411
- }, z.core.$strip>>>;
3412
- }, z.core.$strip>>;
3413
- knowledge: z.ZodDefault<z.ZodObject<{
3414
- nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
3415
- id: z.ZodString;
3416
- kind: z.ZodEnum<{
4092
+ featureId: z$1.ZodOptional<z$1.ZodString>;
4093
+ supportedStatusSemanticClass: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4094
+ }, z$1.core.$strip>>>;
4095
+ }, z$1.core.$strip>>;
4096
+ knowledge: z$1.ZodDefault<z$1.ZodObject<{
4097
+ nodes: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4098
+ id: z$1.ZodString;
4099
+ kind: z$1.ZodEnum<{
3417
4100
  playbook: "playbook";
3418
4101
  strategy: "strategy";
3419
4102
  reference: "reference";
3420
4103
  }>;
3421
- title: z.ZodString;
3422
- summary: z.ZodString;
3423
- body: z.ZodString;
3424
- links: z.ZodDefault<z.ZodArray<z.ZodObject<{
3425
- nodeId: z.ZodString;
3426
- }, z.core.$strip>>>;
3427
- ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3428
- updatedAt: z.ZodString;
3429
- }, z.core.$strip>>>;
3430
- }, z.core.$strip>>;
3431
- }, z.core.$strip>;
4104
+ title: z$1.ZodString;
4105
+ summary: z$1.ZodString;
4106
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
4107
+ "nav.dashboard": "nav.dashboard";
4108
+ "nav.sales": "nav.sales";
4109
+ "nav.crm": "nav.crm";
4110
+ "nav.lead-gen": "nav.lead-gen";
4111
+ "nav.projects": "nav.projects";
4112
+ "nav.operations": "nav.operations";
4113
+ "nav.monitoring": "nav.monitoring";
4114
+ "nav.knowledge": "nav.knowledge";
4115
+ "nav.settings": "nav.settings";
4116
+ "nav.admin": "nav.admin";
4117
+ "nav.archive": "nav.archive";
4118
+ "knowledge.playbook": "knowledge.playbook";
4119
+ "knowledge.strategy": "knowledge.strategy";
4120
+ "knowledge.reference": "knowledge.reference";
4121
+ "feature.dashboard": "feature.dashboard";
4122
+ "feature.sales": "feature.sales";
4123
+ "feature.crm": "feature.crm";
4124
+ "feature.finance": "feature.finance";
4125
+ "feature.lead-gen": "feature.lead-gen";
4126
+ "feature.platform": "feature.platform";
4127
+ "feature.projects": "feature.projects";
4128
+ "feature.operations": "feature.operations";
4129
+ "feature.knowledge": "feature.knowledge";
4130
+ "feature.monitoring": "feature.monitoring";
4131
+ "feature.settings": "feature.settings";
4132
+ "feature.admin": "feature.admin";
4133
+ "feature.archive": "feature.archive";
4134
+ "feature.seo": "feature.seo";
4135
+ "resource.agent": "resource.agent";
4136
+ "resource.workflow": "resource.workflow";
4137
+ "resource.integration": "resource.integration";
4138
+ "resource.database": "resource.database";
4139
+ "resource.user": "resource.user";
4140
+ "resource.team": "resource.team";
4141
+ "integration.gmail": "integration.gmail";
4142
+ "integration.google-sheets": "integration.google-sheets";
4143
+ "integration.attio": "integration.attio";
4144
+ "surface.dashboard": "surface.dashboard";
4145
+ "surface.overview": "surface.overview";
4146
+ "surface.command-view": "surface.command-view";
4147
+ "surface.command-queue": "surface.command-queue";
4148
+ "surface.pipeline": "surface.pipeline";
4149
+ "surface.lists": "surface.lists";
4150
+ "surface.resources": "surface.resources";
4151
+ "surface.settings": "surface.settings";
4152
+ "status.success": "status.success";
4153
+ "status.error": "status.error";
4154
+ "status.warning": "status.warning";
4155
+ "status.info": "status.info";
4156
+ "status.pending": "status.pending";
4157
+ "action.approve": "action.approve";
4158
+ "action.reject": "action.reject";
4159
+ "action.retry": "action.retry";
4160
+ "action.edit": "action.edit";
4161
+ "action.view": "action.view";
4162
+ "action.launch": "action.launch";
4163
+ "action.message": "action.message";
4164
+ "action.escalate": "action.escalate";
4165
+ "action.promote": "action.promote";
4166
+ "action.submit": "action.submit";
4167
+ "action.email": "action.email";
4168
+ }>, z$1.ZodString]>>;
4169
+ body: z$1.ZodString;
4170
+ links: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4171
+ nodeId: z$1.ZodString;
4172
+ }, z$1.core.$strip>>>;
4173
+ ownerIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4174
+ updatedAt: z$1.ZodString;
4175
+ }, z$1.core.$strip>>>;
4176
+ }, z$1.core.$strip>>;
4177
+ }, z$1.core.$strip>;
3432
4178
 
3433
- type OrganizationModel = z.infer<typeof OrganizationModelSchema>;
3434
- type OrganizationModelFeature = z.infer<typeof FeatureSchema>;
4179
+ type OrganizationModel = z$1.infer<typeof OrganizationModelSchema>;
4180
+ type OrganizationModelFeature = z$1.infer<typeof FeatureSchema>;
4181
+
4182
+ /**
4183
+ * All valid dotted paths into T.
4184
+ * Arrays of primitives are treated as leaf (return K only).
4185
+ * Arrays of objects are also treated as leaf (no drilling into element shape).
4186
+ * Optional fields are unwrapped via NonNullable before recursing.
4187
+ */
4188
+ type FieldPath<T> = T extends object ? {
4189
+ [K in keyof T & string]: T[K] extends ReadonlyArray<unknown> | unknown[] ? K : T[K] extends object | undefined ? K | `${K}.${FieldPath<NonNullable<T[K]>>}` : K;
4190
+ }[keyof T & string] : never;
4191
+ /** Discriminated string union of supported Mantine components. */
4192
+ type StepConfigComponent = 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
4193
+ /** Rendering hint for a single field within a section. */
4194
+ interface StepConfigFieldHint<T> {
4195
+ /** Typed dotted path into T — typo = TS error. */
4196
+ path: FieldPath<T>;
4197
+ /** Mantine component to render for this field. */
4198
+ component: StepConfigComponent;
4199
+ /** Overrides the field label derived from Zod .describe() or the key name. */
4200
+ label?: string;
4201
+ /** Help text shown below the field; overrides Zod .describe(). */
4202
+ description?: string;
4203
+ placeholder?: string;
4204
+ /** Required for 'segmented', 'select', 'multiselect'; ignored for others. */
4205
+ options?: ReadonlyArray<{
4206
+ value: string;
4207
+ label: string;
4208
+ }>;
4209
+ /** Minimum value — applies to 'numberinput'. */
4210
+ min?: number;
4211
+ /** Maximum value — applies to 'numberinput'. */
4212
+ max?: number;
4213
+ /** Stepper increment — applies to 'numberinput'. */
4214
+ step?: number;
4215
+ /** Per-field conditional visibility, evaluated against current form values. */
4216
+ when?: (values: T) => boolean;
4217
+ }
4218
+ /** An ordered group of fields, optionally shown conditionally. */
4219
+ interface StepConfigSection<T> {
4220
+ /** Stable key used for React rendering. */
4221
+ id: string;
4222
+ /** Section heading; omit for the top-level (untitled) section. */
4223
+ title?: string;
4224
+ description?: string;
4225
+ /** Section-level conditional visibility predicate. */
4226
+ when?: (values: T) => boolean;
4227
+ /** Fields rendered in order within this section. */
4228
+ fields: StepConfigFieldHint<T>[];
4229
+ }
4230
+ /** Top-level layout descriptor supplied by a per-integration registry entry. */
4231
+ interface StepConfigLayout<T> {
4232
+ /** Ordered top-level sections of the form. */
4233
+ sections: StepConfigSection<T>[];
4234
+ /** Optional single Advanced collapse rendered below all sections. */
4235
+ advanced?: StepConfigSection<T>;
4236
+ }
3435
4237
 
3436
4238
  type ListBuilderWorkflowCategory = 'build' | 'enrich' | 'qualify' | 'scrape' | 'utility';
3437
4239
  type LeadGenStageKey = string;
3438
4240
  type LeadGenCapabilityKey = string;
3439
- interface ListBuilderWorkflowFormProps {
3440
- list: AcqListResponse;
3441
- onSubmit: (input: unknown) => void | Promise<void>;
3442
- }
3443
4241
  interface ListBuilderWorkflow {
3444
4242
  resourceId: string;
3445
4243
  workflowId?: string;
@@ -3448,7 +4246,8 @@ interface ListBuilderWorkflow {
3448
4246
  description: string;
3449
4247
  category: ListBuilderWorkflowCategory;
3450
4248
  stagesAffected: readonly LeadGenStageKey[];
3451
- inputForm?: ComponentType<ListBuilderWorkflowFormProps>;
4249
+ schema: z.ZodTypeAny;
4250
+ layout: StepConfigLayout<any>;
3452
4251
  defaultInput?: (list: AcqListResponse) => unknown;
3453
4252
  }
3454
4253
  type ListBuilderRegistry = readonly ListBuilderWorkflow[];
@@ -3889,4 +4688,4 @@ declare function createTestFeaturesProvider({ organizationModel, features }?: Cr
3889
4688
  }) => react_jsx_runtime.JSX.Element;
3890
4689
 
3891
4690
  export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, ListActionsProvider, NotificationProvider, createTestFeaturesProvider, useAppearance, useCrmActions, useElevasisFeatures, useElevasisServices, useListActions, useNotificationAdapter, useOptionalElevasisFeatures };
3892
- export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, CreateTestFeaturesProviderOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, LeadGenStageKey, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, ListBuilderWorkflowFormProps, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, PresetName, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ShellRouteMatchStatus, ShellRuntime, WithSchemes };
4691
+ export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, CreateTestFeaturesProviderOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, LeadGenStageKey, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, PresetName, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ShellRouteMatchStatus, ShellRuntime, WithSchemes };