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