@fayz-ai/plugin-crm 0.2.3 → 0.8.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.
@@ -0,0 +1,10 @@
1
+ export declare const MIGRATION_000_PLG_RENAME = "-- 000_plg_rename.sql \u2014 rename legacy CRM tables to the plg_crm_* convention for\n-- pools provisioned before the industry-pool rename. Guarded: only fires when the\n-- legacy name exists and the target does not, so fresh pools skip every branch and\n-- the create-table migrations below build clean.\nDO $$\nBEGIN\n IF to_regclass('public.crm_activities') IS NOT NULL AND to_regclass('public.plg_crm_activities') IS NULL THEN\n ALTER TABLE public.crm_activities RENAME TO plg_crm_activities;\n END IF;\n IF to_regclass('public.crm_tags') IS NOT NULL AND to_regclass('public.plg_crm_tags') IS NULL THEN\n ALTER TABLE public.crm_tags RENAME TO plg_crm_tags;\n END IF;\n IF to_regclass('public.crm_activity_types') IS NOT NULL AND to_regclass('public.plg_crm_activity_types') IS NULL THEN\n ALTER TABLE public.crm_activity_types RENAME TO plg_crm_activity_types;\n END IF;\n IF to_regclass('public.pipelines') IS NOT NULL AND to_regclass('public.plg_crm_pipelines') IS NULL THEN\n ALTER TABLE public.pipelines RENAME TO plg_crm_pipelines;\n END IF;\n IF to_regclass('public.pipeline_stages') IS NOT NULL AND to_regclass('public.plg_crm_pipeline_stages') IS NULL THEN\n ALTER TABLE public.pipeline_stages RENAME TO plg_crm_pipeline_stages;\n END IF;\n IF to_regclass('public.deal_extensions') IS NOT NULL AND to_regclass('public.plg_crm_deal_extensions') IS NULL THEN\n ALTER TABLE public.deal_extensions RENAME TO plg_crm_deal_extensions;\n END IF;\n IF to_regclass('public.lead_sources') IS NOT NULL AND to_regclass('public.plg_crm_lead_sources') IS NULL THEN\n ALTER TABLE public.lead_sources RENAME TO plg_crm_lead_sources;\n END IF;\nEND $$;\n";
2
+ export declare const MIGRATION_001_CRM_BASE = "-- CRM Plugin: Base Tables\n-- Leads use public.people (kind='lead')\n-- Deals use public.orders (kind='deal')\n-- Quotes use public.orders (kind='quote') + public.order_items\n-- These are plugin-specific extension tables\n\nCREATE TABLE IF NOT EXISTS public.plg_crm_pipelines (\n id uuid PRIMARY KEY DEFAULT gen_random_uuid(),\n tenant_id uuid NOT NULL REFERENCES public.tenants(id) ON DELETE CASCADE,\n name text NOT NULL,\n is_default boolean DEFAULT false,\n is_active boolean NOT NULL DEFAULT true,\n created_at timestamptz NOT NULL DEFAULT now(),\n updated_at timestamptz NOT NULL DEFAULT now()\n);\nALTER TABLE public.plg_crm_pipelines ENABLE ROW LEVEL SECURITY;\nCREATE INDEX IF NOT EXISTS idx_plg_crm_pipelines_tenant ON public.plg_crm_pipelines(tenant_id);\n\nCREATE TABLE IF NOT EXISTS public.plg_crm_pipeline_stages (\n id uuid PRIMARY KEY DEFAULT gen_random_uuid(),\n tenant_id uuid NOT NULL REFERENCES public.tenants(id) ON DELETE CASCADE,\n pipeline_id uuid NOT NULL REFERENCES public.plg_crm_pipelines(id) ON DELETE CASCADE,\n name text NOT NULL,\n \"order\" integer NOT NULL DEFAULT 0,\n color text DEFAULT '#6366f1',\n probability numeric(5,2) DEFAULT 0,\n is_won boolean DEFAULT false,\n is_lost boolean DEFAULT false,\n created_at timestamptz NOT NULL DEFAULT now()\n);\nALTER TABLE public.plg_crm_pipeline_stages ENABLE ROW LEVEL SECURITY;\nCREATE INDEX IF NOT EXISTS idx_plg_crm_pipeline_stages_tenant ON public.plg_crm_pipeline_stages(tenant_id);\nCREATE INDEX IF NOT EXISTS idx_plg_crm_pipeline_stages_pipeline ON public.plg_crm_pipeline_stages(pipeline_id);\n\nCREATE TABLE IF NOT EXISTS public.plg_crm_lead_sources (\n id uuid PRIMARY KEY DEFAULT gen_random_uuid(),\n tenant_id uuid NOT NULL REFERENCES public.tenants(id) ON DELETE CASCADE,\n name text NOT NULL,\n is_active boolean NOT NULL DEFAULT true,\n created_at timestamptz NOT NULL DEFAULT now()\n);\nALTER TABLE public.plg_crm_lead_sources ENABLE ROW LEVEL SECURITY;\nCREATE INDEX IF NOT EXISTS idx_plg_crm_lead_sources_tenant ON public.plg_crm_lead_sources(tenant_id);\n\nCREATE TABLE IF NOT EXISTS public.plg_crm_tags (\n id uuid PRIMARY KEY DEFAULT gen_random_uuid(),\n tenant_id uuid NOT NULL REFERENCES public.tenants(id) ON DELETE CASCADE,\n name text NOT NULL,\n color text DEFAULT '#6366f1',\n is_active boolean NOT NULL DEFAULT true,\n created_at timestamptz NOT NULL DEFAULT now()\n);\nALTER TABLE public.plg_crm_tags ENABLE ROW LEVEL SECURITY;\nCREATE INDEX IF NOT EXISTS idx_plg_crm_tags_tenant ON public.plg_crm_tags(tenant_id);\n\n-- Deal extension: links public.orders (kind='deal') to pipeline stage\nCREATE TABLE IF NOT EXISTS public.plg_crm_deal_extensions (\n id uuid PRIMARY KEY DEFAULT gen_random_uuid(),\n order_id uuid NOT NULL REFERENCES public.orders(id) ON DELETE CASCADE,\n tenant_id uuid NOT NULL REFERENCES public.tenants(id) ON DELETE CASCADE,\n pipeline_id uuid REFERENCES public.plg_crm_pipelines(id),\n stage_id uuid REFERENCES public.plg_crm_pipeline_stages(id),\n probability numeric(5,2) DEFAULT 0,\n expected_close_date date,\n lead_id uuid REFERENCES public.people(id),\n lost_reason text,\n created_at timestamptz NOT NULL DEFAULT now(),\n updated_at timestamptz NOT NULL DEFAULT now()\n);\nALTER TABLE public.plg_crm_deal_extensions ENABLE ROW LEVEL SECURITY;\nCREATE INDEX IF NOT EXISTS idx_plg_crm_deal_extensions_tenant ON public.plg_crm_deal_extensions(tenant_id);\nCREATE INDEX IF NOT EXISTS idx_plg_crm_deal_extensions_order ON public.plg_crm_deal_extensions(order_id);\nCREATE INDEX IF NOT EXISTS idx_plg_crm_deal_extensions_stage ON public.plg_crm_deal_extensions(stage_id);\n";
3
+ export declare const MIGRATION_002_ACTIVITIES = "-- CRM Plugin: Activities & Tasks\n\nCREATE TABLE IF NOT EXISTS public.plg_crm_activity_types (\n id uuid PRIMARY KEY DEFAULT gen_random_uuid(),\n tenant_id uuid NOT NULL REFERENCES public.tenants(id) ON DELETE CASCADE,\n name text NOT NULL,\n is_active boolean NOT NULL DEFAULT true,\n created_at timestamptz NOT NULL DEFAULT now()\n);\nALTER TABLE public.plg_crm_activity_types ENABLE ROW LEVEL SECURITY;\nCREATE INDEX IF NOT EXISTS idx_plg_crm_activity_types_tenant ON public.plg_crm_activity_types(tenant_id);\n\nCREATE TABLE IF NOT EXISTS public.plg_crm_activities (\n id uuid PRIMARY KEY DEFAULT gen_random_uuid(),\n tenant_id uuid NOT NULL REFERENCES public.tenants(id) ON DELETE CASCADE,\n deal_id uuid REFERENCES public.orders(id),\n lead_id uuid REFERENCES public.people(id),\n contact_id uuid REFERENCES public.people(id),\n contact_name text,\n activity_type text NOT NULL,\n title text NOT NULL,\n description text,\n due_date date,\n completed_at timestamptz,\n assigned_to_id uuid,\n assigned_to_name text,\n created_at timestamptz NOT NULL DEFAULT now()\n);\nALTER TABLE public.plg_crm_activities ENABLE ROW LEVEL SECURITY;\nCREATE INDEX IF NOT EXISTS idx_plg_crm_activities_tenant ON public.plg_crm_activities(tenant_id);\nCREATE INDEX IF NOT EXISTS idx_plg_crm_activities_deal ON public.plg_crm_activities(deal_id);\nCREATE INDEX IF NOT EXISTS idx_plg_crm_activities_lead ON public.plg_crm_activities(lead_id);\nCREATE INDEX IF NOT EXISTS idx_plg_crm_activities_due ON public.plg_crm_activities(tenant_id, due_date);\n";
4
+ export declare const MIGRATION_003_CRM_VIEWS_RLS = "-- CRM plugin \u2014 companion SQL (functions/views/RLS Drizzle doesn't diff).\n-- Tables come from the Drizzle schema (src/schema/); this is everything else the\n-- plugin's data provider depends on: RLS policies + grants + the read-views.\n-- Idempotent. Canonical RLS form: tenant_id IN (SELECT public.user_tenant_ids()).\n\nDO $$\nDECLARE t text;\nBEGIN\n FOR t IN SELECT unnest(ARRAY[\n 'plg_crm_pipelines','plg_crm_pipeline_stages','plg_crm_lead_sources','plg_crm_tags',\n 'plg_crm_deal_extensions','plg_crm_activity_types','plg_crm_activities'\n ])\n LOOP\n EXECUTE format('ALTER TABLE public.%I ENABLE ROW LEVEL SECURITY', t);\n EXECUTE format('GRANT SELECT, INSERT, UPDATE, DELETE ON public.%I TO authenticated', t);\n IF NOT EXISTS (SELECT 1 FROM pg_policies WHERE schemaname='public' AND tablename=t AND policyname=t||'_select') THEN\n EXECUTE format('CREATE POLICY %I ON public.%I FOR SELECT TO authenticated USING (tenant_id IN (SELECT public.user_tenant_ids()))', t||'_select', t);\n END IF;\n IF NOT EXISTS (SELECT 1 FROM pg_policies WHERE schemaname='public' AND tablename=t AND policyname=t||'_insert') THEN\n EXECUTE format('CREATE POLICY %I ON public.%I FOR INSERT TO authenticated WITH CHECK (tenant_id IN (SELECT public.user_tenant_ids()))', t||'_insert', t);\n END IF;\n IF NOT EXISTS (SELECT 1 FROM pg_policies WHERE schemaname='public' AND tablename=t AND policyname=t||'_update') THEN\n EXECUTE format('CREATE POLICY %I ON public.%I FOR UPDATE TO authenticated USING (tenant_id IN (SELECT public.user_tenant_ids()))', t||'_update', t);\n END IF;\n IF NOT EXISTS (SELECT 1 FROM pg_policies WHERE schemaname='public' AND tablename=t AND policyname=t||'_delete') THEN\n EXECUTE format('CREATE POLICY %I ON public.%I FOR DELETE TO authenticated USING (tenant_id IN (SELECT public.user_tenant_ids()))', t||'_delete', t);\n END IF;\n END LOOP;\nEND $$;\n\n-- v_leads: public.people (kind='lead')\nCREATE OR REPLACE VIEW public.v_leads WITH (security_invoker=true) AS\nSELECT\n p.id, p.tenant_id, p.name, p.email, p.phone, p.notes, p.tags, p.is_active,\n p.metadata->>'company' AS company,\n p.metadata->>'sourceId' AS source_id,\n p.metadata->>'sourceName' AS source_name,\n COALESCE(p.metadata->>'status','new') AS lead_status,\n p.metadata->>'value' AS lead_value,\n p.metadata->>'assignedToId' AS assigned_to_id,\n p.created_at, p.updated_at\nFROM public.people p\nWHERE p.kind = 'lead';\nGRANT SELECT ON public.v_leads TO authenticated;\n\n-- v_deals: public.orders (kind='deal') JOIN plg_crm_deal_extensions JOIN plg_crm_pipeline_stages\nCREATE OR REPLACE VIEW public.v_deals WITH (security_invoker=true) AS\nSELECT\n o.id, o.tenant_id, o.status,\n o.total AS value, o.notes AS title,\n o.party_id AS contact_id, o.assignee_id AS assigned_to_id, o.tags,\n o.metadata->>'contactName' AS contact_name,\n o.created_at, o.updated_at,\n de.pipeline_id, de.stage_id, de.probability, de.expected_close_date,\n de.lead_id, de.lost_reason,\n ps.name AS stage_name, ps.color AS stage_color, ps.\"order\" AS stage_order\nFROM public.orders o\nLEFT JOIN public.plg_crm_deal_extensions de ON de.order_id = o.id\nLEFT JOIN public.plg_crm_pipeline_stages ps ON ps.id = de.stage_id\nWHERE o.kind = 'deal';\nGRANT SELECT ON public.v_deals TO authenticated;\n";
5
+ export declare const MIGRATION_004_SEED_DEFAULT_PIPELINE = "-- CRM plugin \u2014 seed: default \"Sales Pipeline\" + canonical stages.\n-- The pipeline board (#/sales/pipeline) reads public.plg_crm_pipelines / plg_crm_pipeline_stages\n-- directly; a fresh tenant has zero rows and the board renders blank. This\n-- backfills the default pipeline (matching the plugin's mock/offline provider)\n-- for every tenant that has none. Idempotent \u2014 tenants with a pipeline are skipped.\n-- Plugin-owned so EVERY app gets it on install (not re-authored per app).\n\nDO $$\nDECLARE\n t_id uuid;\n p_id uuid;\nBEGIN\n FOR t_id IN (\n SELECT id FROM public.tenants\n WHERE id NOT IN (SELECT tenant_id FROM public.plg_crm_pipelines)\n )\n LOOP\n INSERT INTO public.plg_crm_pipelines (tenant_id, name, is_default, is_active)\n VALUES (t_id, 'Sales Pipeline', true, true)\n RETURNING id INTO p_id;\n\n INSERT INTO public.plg_crm_pipeline_stages (tenant_id, pipeline_id, name, \"order\", color, probability, is_won, is_lost) VALUES\n (t_id, p_id, 'New', 0, '#6366f1', 10, false, false),\n (t_id, p_id, 'Contacted', 1, '#3b82f6', 25, false, false),\n (t_id, p_id, 'Qualified', 2, '#f59e0b', 50, false, false),\n (t_id, p_id, 'Proposal', 3, '#f97316', 75, false, false),\n (t_id, p_id, 'Negotiation', 4, '#8b5cf6', 90, false, false),\n (t_id, p_id, 'Won', 5, '#22c55e', 100, true, false),\n (t_id, p_id, 'Lost', 6, '#ef4444', 0, false, true);\n END LOOP;\nEND $$;\n";
6
+ export declare const MIGRATIONS: Array<{
7
+ id: string;
8
+ sql: string;
9
+ }>;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB,0pDA4BpC,CAAA;AAED,eAAO,MAAM,sBAAsB,skHAyElC,CAAA;AAED,eAAO,MAAM,wBAAwB,whDAiCpC,CAAA;AAED,eAAO,MAAM,2BAA2B,yyGA6DvC,CAAA;AAED,eAAO,MAAM,mCAAmC,q9CA+B/C,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAMzD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"registries.d.ts","sourceRoot":"","sources":["../src/registries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AA2CtD,eAAO,MAAM,aAAa,EAAE,iBAAiB,EA4C5C,CAAA"}
1
+ {"version":3,"file":"registries.d.ts","sourceRoot":"","sources":["../src/registries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAqEtD,eAAO,MAAM,aAAa,EAAE,iBAAiB,EA2D5C,CAAA"}
@@ -1,10 +1,10 @@
1
1
  export declare const pipelines: import("drizzle-orm/pg-core").PgTableWithColumns<{
2
- name: "pipelines";
2
+ name: "plg_crm_pipelines";
3
3
  schema: undefined;
4
4
  columns: {
5
5
  createdAt: import("drizzle-orm/pg-core").PgColumn<{
6
6
  name: "created_at";
7
- tableName: "pipelines";
7
+ tableName: "plg_crm_pipelines";
8
8
  dataType: "date";
9
9
  columnType: "PgTimestamp";
10
10
  data: Date;
@@ -21,7 +21,7 @@ export declare const pipelines: import("drizzle-orm/pg-core").PgTableWithColumns
21
21
  }, {}, {}>;
22
22
  updatedAt: import("drizzle-orm/pg-core").PgColumn<{
23
23
  name: "updated_at";
24
- tableName: "pipelines";
24
+ tableName: "plg_crm_pipelines";
25
25
  dataType: "date";
26
26
  columnType: "PgTimestamp";
27
27
  data: Date;
@@ -38,7 +38,7 @@ export declare const pipelines: import("drizzle-orm/pg-core").PgTableWithColumns
38
38
  }, {}, {}>;
39
39
  id: import("drizzle-orm/pg-core").PgColumn<{
40
40
  name: "id";
41
- tableName: "pipelines";
41
+ tableName: "plg_crm_pipelines";
42
42
  dataType: "string";
43
43
  columnType: "PgUUID";
44
44
  data: string;
@@ -55,7 +55,7 @@ export declare const pipelines: import("drizzle-orm/pg-core").PgTableWithColumns
55
55
  }, {}, {}>;
56
56
  tenantId: import("drizzle-orm/pg-core").PgColumn<{
57
57
  name: "tenant_id";
58
- tableName: "pipelines";
58
+ tableName: "plg_crm_pipelines";
59
59
  dataType: "string";
60
60
  columnType: "PgUUID";
61
61
  data: string;
@@ -72,7 +72,7 @@ export declare const pipelines: import("drizzle-orm/pg-core").PgTableWithColumns
72
72
  }, {}, {}>;
73
73
  name: import("drizzle-orm/pg-core").PgColumn<{
74
74
  name: "name";
75
- tableName: "pipelines";
75
+ tableName: "plg_crm_pipelines";
76
76
  dataType: "string";
77
77
  columnType: "PgText";
78
78
  data: string;
@@ -89,7 +89,7 @@ export declare const pipelines: import("drizzle-orm/pg-core").PgTableWithColumns
89
89
  }, {}, {}>;
90
90
  isDefault: import("drizzle-orm/pg-core").PgColumn<{
91
91
  name: "is_default";
92
- tableName: "pipelines";
92
+ tableName: "plg_crm_pipelines";
93
93
  dataType: "boolean";
94
94
  columnType: "PgBoolean";
95
95
  data: boolean;
@@ -106,7 +106,7 @@ export declare const pipelines: import("drizzle-orm/pg-core").PgTableWithColumns
106
106
  }, {}, {}>;
107
107
  isActive: import("drizzle-orm/pg-core").PgColumn<{
108
108
  name: "is_active";
109
- tableName: "pipelines";
109
+ tableName: "plg_crm_pipelines";
110
110
  dataType: "boolean";
111
111
  columnType: "PgBoolean";
112
112
  data: boolean;
@@ -125,12 +125,12 @@ export declare const pipelines: import("drizzle-orm/pg-core").PgTableWithColumns
125
125
  dialect: "pg";
126
126
  }>;
127
127
  export declare const pipelineStages: import("drizzle-orm/pg-core").PgTableWithColumns<{
128
- name: "pipeline_stages";
128
+ name: "plg_crm_pipeline_stages";
129
129
  schema: undefined;
130
130
  columns: {
131
131
  createdAt: import("drizzle-orm/pg-core").PgColumn<{
132
132
  name: "created_at";
133
- tableName: "pipeline_stages";
133
+ tableName: "plg_crm_pipeline_stages";
134
134
  dataType: "date";
135
135
  columnType: "PgTimestamp";
136
136
  data: Date;
@@ -147,7 +147,7 @@ export declare const pipelineStages: import("drizzle-orm/pg-core").PgTableWithCo
147
147
  }, {}, {}>;
148
148
  id: import("drizzle-orm/pg-core").PgColumn<{
149
149
  name: "id";
150
- tableName: "pipeline_stages";
150
+ tableName: "plg_crm_pipeline_stages";
151
151
  dataType: "string";
152
152
  columnType: "PgUUID";
153
153
  data: string;
@@ -164,7 +164,7 @@ export declare const pipelineStages: import("drizzle-orm/pg-core").PgTableWithCo
164
164
  }, {}, {}>;
165
165
  tenantId: import("drizzle-orm/pg-core").PgColumn<{
166
166
  name: "tenant_id";
167
- tableName: "pipeline_stages";
167
+ tableName: "plg_crm_pipeline_stages";
168
168
  dataType: "string";
169
169
  columnType: "PgUUID";
170
170
  data: string;
@@ -181,7 +181,7 @@ export declare const pipelineStages: import("drizzle-orm/pg-core").PgTableWithCo
181
181
  }, {}, {}>;
182
182
  pipelineId: import("drizzle-orm/pg-core").PgColumn<{
183
183
  name: "pipeline_id";
184
- tableName: "pipeline_stages";
184
+ tableName: "plg_crm_pipeline_stages";
185
185
  dataType: "string";
186
186
  columnType: "PgUUID";
187
187
  data: string;
@@ -198,7 +198,7 @@ export declare const pipelineStages: import("drizzle-orm/pg-core").PgTableWithCo
198
198
  }, {}, {}>;
199
199
  name: import("drizzle-orm/pg-core").PgColumn<{
200
200
  name: "name";
201
- tableName: "pipeline_stages";
201
+ tableName: "plg_crm_pipeline_stages";
202
202
  dataType: "string";
203
203
  columnType: "PgText";
204
204
  data: string;
@@ -215,7 +215,7 @@ export declare const pipelineStages: import("drizzle-orm/pg-core").PgTableWithCo
215
215
  }, {}, {}>;
216
216
  order: import("drizzle-orm/pg-core").PgColumn<{
217
217
  name: "order";
218
- tableName: "pipeline_stages";
218
+ tableName: "plg_crm_pipeline_stages";
219
219
  dataType: "number";
220
220
  columnType: "PgInteger";
221
221
  data: number;
@@ -232,7 +232,7 @@ export declare const pipelineStages: import("drizzle-orm/pg-core").PgTableWithCo
232
232
  }, {}, {}>;
233
233
  color: import("drizzle-orm/pg-core").PgColumn<{
234
234
  name: "color";
235
- tableName: "pipeline_stages";
235
+ tableName: "plg_crm_pipeline_stages";
236
236
  dataType: "string";
237
237
  columnType: "PgText";
238
238
  data: string;
@@ -249,7 +249,7 @@ export declare const pipelineStages: import("drizzle-orm/pg-core").PgTableWithCo
249
249
  }, {}, {}>;
250
250
  probability: import("drizzle-orm/pg-core").PgColumn<{
251
251
  name: "probability";
252
- tableName: "pipeline_stages";
252
+ tableName: "plg_crm_pipeline_stages";
253
253
  dataType: "string";
254
254
  columnType: "PgNumeric";
255
255
  data: string;
@@ -266,7 +266,7 @@ export declare const pipelineStages: import("drizzle-orm/pg-core").PgTableWithCo
266
266
  }, {}, {}>;
267
267
  isWon: import("drizzle-orm/pg-core").PgColumn<{
268
268
  name: "is_won";
269
- tableName: "pipeline_stages";
269
+ tableName: "plg_crm_pipeline_stages";
270
270
  dataType: "boolean";
271
271
  columnType: "PgBoolean";
272
272
  data: boolean;
@@ -283,7 +283,7 @@ export declare const pipelineStages: import("drizzle-orm/pg-core").PgTableWithCo
283
283
  }, {}, {}>;
284
284
  isLost: import("drizzle-orm/pg-core").PgColumn<{
285
285
  name: "is_lost";
286
- tableName: "pipeline_stages";
286
+ tableName: "plg_crm_pipeline_stages";
287
287
  dataType: "boolean";
288
288
  columnType: "PgBoolean";
289
289
  data: boolean;
@@ -302,12 +302,12 @@ export declare const pipelineStages: import("drizzle-orm/pg-core").PgTableWithCo
302
302
  dialect: "pg";
303
303
  }>;
304
304
  export declare const leadSources: import("drizzle-orm/pg-core").PgTableWithColumns<{
305
- name: "lead_sources";
305
+ name: "plg_crm_lead_sources";
306
306
  schema: undefined;
307
307
  columns: {
308
308
  createdAt: import("drizzle-orm/pg-core").PgColumn<{
309
309
  name: "created_at";
310
- tableName: "lead_sources";
310
+ tableName: "plg_crm_lead_sources";
311
311
  dataType: "date";
312
312
  columnType: "PgTimestamp";
313
313
  data: Date;
@@ -324,7 +324,7 @@ export declare const leadSources: import("drizzle-orm/pg-core").PgTableWithColum
324
324
  }, {}, {}>;
325
325
  id: import("drizzle-orm/pg-core").PgColumn<{
326
326
  name: "id";
327
- tableName: "lead_sources";
327
+ tableName: "plg_crm_lead_sources";
328
328
  dataType: "string";
329
329
  columnType: "PgUUID";
330
330
  data: string;
@@ -341,7 +341,7 @@ export declare const leadSources: import("drizzle-orm/pg-core").PgTableWithColum
341
341
  }, {}, {}>;
342
342
  tenantId: import("drizzle-orm/pg-core").PgColumn<{
343
343
  name: "tenant_id";
344
- tableName: "lead_sources";
344
+ tableName: "plg_crm_lead_sources";
345
345
  dataType: "string";
346
346
  columnType: "PgUUID";
347
347
  data: string;
@@ -358,7 +358,7 @@ export declare const leadSources: import("drizzle-orm/pg-core").PgTableWithColum
358
358
  }, {}, {}>;
359
359
  name: import("drizzle-orm/pg-core").PgColumn<{
360
360
  name: "name";
361
- tableName: "lead_sources";
361
+ tableName: "plg_crm_lead_sources";
362
362
  dataType: "string";
363
363
  columnType: "PgText";
364
364
  data: string;
@@ -375,7 +375,7 @@ export declare const leadSources: import("drizzle-orm/pg-core").PgTableWithColum
375
375
  }, {}, {}>;
376
376
  isActive: import("drizzle-orm/pg-core").PgColumn<{
377
377
  name: "is_active";
378
- tableName: "lead_sources";
378
+ tableName: "plg_crm_lead_sources";
379
379
  dataType: "boolean";
380
380
  columnType: "PgBoolean";
381
381
  data: boolean;
@@ -394,12 +394,12 @@ export declare const leadSources: import("drizzle-orm/pg-core").PgTableWithColum
394
394
  dialect: "pg";
395
395
  }>;
396
396
  export declare const crmTags: import("drizzle-orm/pg-core").PgTableWithColumns<{
397
- name: "crm_tags";
397
+ name: "plg_crm_tags";
398
398
  schema: undefined;
399
399
  columns: {
400
400
  createdAt: import("drizzle-orm/pg-core").PgColumn<{
401
401
  name: "created_at";
402
- tableName: "crm_tags";
402
+ tableName: "plg_crm_tags";
403
403
  dataType: "date";
404
404
  columnType: "PgTimestamp";
405
405
  data: Date;
@@ -416,7 +416,7 @@ export declare const crmTags: import("drizzle-orm/pg-core").PgTableWithColumns<{
416
416
  }, {}, {}>;
417
417
  id: import("drizzle-orm/pg-core").PgColumn<{
418
418
  name: "id";
419
- tableName: "crm_tags";
419
+ tableName: "plg_crm_tags";
420
420
  dataType: "string";
421
421
  columnType: "PgUUID";
422
422
  data: string;
@@ -433,7 +433,7 @@ export declare const crmTags: import("drizzle-orm/pg-core").PgTableWithColumns<{
433
433
  }, {}, {}>;
434
434
  tenantId: import("drizzle-orm/pg-core").PgColumn<{
435
435
  name: "tenant_id";
436
- tableName: "crm_tags";
436
+ tableName: "plg_crm_tags";
437
437
  dataType: "string";
438
438
  columnType: "PgUUID";
439
439
  data: string;
@@ -450,7 +450,7 @@ export declare const crmTags: import("drizzle-orm/pg-core").PgTableWithColumns<{
450
450
  }, {}, {}>;
451
451
  name: import("drizzle-orm/pg-core").PgColumn<{
452
452
  name: "name";
453
- tableName: "crm_tags";
453
+ tableName: "plg_crm_tags";
454
454
  dataType: "string";
455
455
  columnType: "PgText";
456
456
  data: string;
@@ -467,7 +467,7 @@ export declare const crmTags: import("drizzle-orm/pg-core").PgTableWithColumns<{
467
467
  }, {}, {}>;
468
468
  color: import("drizzle-orm/pg-core").PgColumn<{
469
469
  name: "color";
470
- tableName: "crm_tags";
470
+ tableName: "plg_crm_tags";
471
471
  dataType: "string";
472
472
  columnType: "PgText";
473
473
  data: string;
@@ -484,7 +484,7 @@ export declare const crmTags: import("drizzle-orm/pg-core").PgTableWithColumns<{
484
484
  }, {}, {}>;
485
485
  isActive: import("drizzle-orm/pg-core").PgColumn<{
486
486
  name: "is_active";
487
- tableName: "crm_tags";
487
+ tableName: "plg_crm_tags";
488
488
  dataType: "boolean";
489
489
  columnType: "PgBoolean";
490
490
  data: boolean;
@@ -503,12 +503,12 @@ export declare const crmTags: import("drizzle-orm/pg-core").PgTableWithColumns<{
503
503
  dialect: "pg";
504
504
  }>;
505
505
  export declare const dealExtensions: import("drizzle-orm/pg-core").PgTableWithColumns<{
506
- name: "deal_extensions";
506
+ name: "plg_crm_deal_extensions";
507
507
  schema: undefined;
508
508
  columns: {
509
509
  createdAt: import("drizzle-orm/pg-core").PgColumn<{
510
510
  name: "created_at";
511
- tableName: "deal_extensions";
511
+ tableName: "plg_crm_deal_extensions";
512
512
  dataType: "date";
513
513
  columnType: "PgTimestamp";
514
514
  data: Date;
@@ -525,7 +525,7 @@ export declare const dealExtensions: import("drizzle-orm/pg-core").PgTableWithCo
525
525
  }, {}, {}>;
526
526
  updatedAt: import("drizzle-orm/pg-core").PgColumn<{
527
527
  name: "updated_at";
528
- tableName: "deal_extensions";
528
+ tableName: "plg_crm_deal_extensions";
529
529
  dataType: "date";
530
530
  columnType: "PgTimestamp";
531
531
  data: Date;
@@ -542,7 +542,7 @@ export declare const dealExtensions: import("drizzle-orm/pg-core").PgTableWithCo
542
542
  }, {}, {}>;
543
543
  id: import("drizzle-orm/pg-core").PgColumn<{
544
544
  name: "id";
545
- tableName: "deal_extensions";
545
+ tableName: "plg_crm_deal_extensions";
546
546
  dataType: "string";
547
547
  columnType: "PgUUID";
548
548
  data: string;
@@ -559,7 +559,7 @@ export declare const dealExtensions: import("drizzle-orm/pg-core").PgTableWithCo
559
559
  }, {}, {}>;
560
560
  orderId: import("drizzle-orm/pg-core").PgColumn<{
561
561
  name: "order_id";
562
- tableName: "deal_extensions";
562
+ tableName: "plg_crm_deal_extensions";
563
563
  dataType: "string";
564
564
  columnType: "PgUUID";
565
565
  data: string;
@@ -576,7 +576,7 @@ export declare const dealExtensions: import("drizzle-orm/pg-core").PgTableWithCo
576
576
  }, {}, {}>;
577
577
  tenantId: import("drizzle-orm/pg-core").PgColumn<{
578
578
  name: "tenant_id";
579
- tableName: "deal_extensions";
579
+ tableName: "plg_crm_deal_extensions";
580
580
  dataType: "string";
581
581
  columnType: "PgUUID";
582
582
  data: string;
@@ -593,7 +593,7 @@ export declare const dealExtensions: import("drizzle-orm/pg-core").PgTableWithCo
593
593
  }, {}, {}>;
594
594
  pipelineId: import("drizzle-orm/pg-core").PgColumn<{
595
595
  name: "pipeline_id";
596
- tableName: "deal_extensions";
596
+ tableName: "plg_crm_deal_extensions";
597
597
  dataType: "string";
598
598
  columnType: "PgUUID";
599
599
  data: string;
@@ -610,7 +610,7 @@ export declare const dealExtensions: import("drizzle-orm/pg-core").PgTableWithCo
610
610
  }, {}, {}>;
611
611
  stageId: import("drizzle-orm/pg-core").PgColumn<{
612
612
  name: "stage_id";
613
- tableName: "deal_extensions";
613
+ tableName: "plg_crm_deal_extensions";
614
614
  dataType: "string";
615
615
  columnType: "PgUUID";
616
616
  data: string;
@@ -627,7 +627,7 @@ export declare const dealExtensions: import("drizzle-orm/pg-core").PgTableWithCo
627
627
  }, {}, {}>;
628
628
  probability: import("drizzle-orm/pg-core").PgColumn<{
629
629
  name: "probability";
630
- tableName: "deal_extensions";
630
+ tableName: "plg_crm_deal_extensions";
631
631
  dataType: "string";
632
632
  columnType: "PgNumeric";
633
633
  data: string;
@@ -644,7 +644,7 @@ export declare const dealExtensions: import("drizzle-orm/pg-core").PgTableWithCo
644
644
  }, {}, {}>;
645
645
  expectedCloseDate: import("drizzle-orm/pg-core").PgColumn<{
646
646
  name: "expected_close_date";
647
- tableName: "deal_extensions";
647
+ tableName: "plg_crm_deal_extensions";
648
648
  dataType: "string";
649
649
  columnType: "PgDateString";
650
650
  data: string;
@@ -661,7 +661,7 @@ export declare const dealExtensions: import("drizzle-orm/pg-core").PgTableWithCo
661
661
  }, {}, {}>;
662
662
  leadId: import("drizzle-orm/pg-core").PgColumn<{
663
663
  name: "lead_id";
664
- tableName: "deal_extensions";
664
+ tableName: "plg_crm_deal_extensions";
665
665
  dataType: "string";
666
666
  columnType: "PgUUID";
667
667
  data: string;
@@ -678,7 +678,7 @@ export declare const dealExtensions: import("drizzle-orm/pg-core").PgTableWithCo
678
678
  }, {}, {}>;
679
679
  lostReason: import("drizzle-orm/pg-core").PgColumn<{
680
680
  name: "lost_reason";
681
- tableName: "deal_extensions";
681
+ tableName: "plg_crm_deal_extensions";
682
682
  dataType: "string";
683
683
  columnType: "PgText";
684
684
  data: string;
@@ -697,12 +697,12 @@ export declare const dealExtensions: import("drizzle-orm/pg-core").PgTableWithCo
697
697
  dialect: "pg";
698
698
  }>;
699
699
  export declare const crmActivityTypes: import("drizzle-orm/pg-core").PgTableWithColumns<{
700
- name: "crm_activity_types";
700
+ name: "plg_crm_activity_types";
701
701
  schema: undefined;
702
702
  columns: {
703
703
  createdAt: import("drizzle-orm/pg-core").PgColumn<{
704
704
  name: "created_at";
705
- tableName: "crm_activity_types";
705
+ tableName: "plg_crm_activity_types";
706
706
  dataType: "date";
707
707
  columnType: "PgTimestamp";
708
708
  data: Date;
@@ -719,7 +719,7 @@ export declare const crmActivityTypes: import("drizzle-orm/pg-core").PgTableWith
719
719
  }, {}, {}>;
720
720
  id: import("drizzle-orm/pg-core").PgColumn<{
721
721
  name: "id";
722
- tableName: "crm_activity_types";
722
+ tableName: "plg_crm_activity_types";
723
723
  dataType: "string";
724
724
  columnType: "PgUUID";
725
725
  data: string;
@@ -736,7 +736,7 @@ export declare const crmActivityTypes: import("drizzle-orm/pg-core").PgTableWith
736
736
  }, {}, {}>;
737
737
  tenantId: import("drizzle-orm/pg-core").PgColumn<{
738
738
  name: "tenant_id";
739
- tableName: "crm_activity_types";
739
+ tableName: "plg_crm_activity_types";
740
740
  dataType: "string";
741
741
  columnType: "PgUUID";
742
742
  data: string;
@@ -753,7 +753,7 @@ export declare const crmActivityTypes: import("drizzle-orm/pg-core").PgTableWith
753
753
  }, {}, {}>;
754
754
  name: import("drizzle-orm/pg-core").PgColumn<{
755
755
  name: "name";
756
- tableName: "crm_activity_types";
756
+ tableName: "plg_crm_activity_types";
757
757
  dataType: "string";
758
758
  columnType: "PgText";
759
759
  data: string;
@@ -770,7 +770,7 @@ export declare const crmActivityTypes: import("drizzle-orm/pg-core").PgTableWith
770
770
  }, {}, {}>;
771
771
  isActive: import("drizzle-orm/pg-core").PgColumn<{
772
772
  name: "is_active";
773
- tableName: "crm_activity_types";
773
+ tableName: "plg_crm_activity_types";
774
774
  dataType: "boolean";
775
775
  columnType: "PgBoolean";
776
776
  data: boolean;
@@ -789,12 +789,12 @@ export declare const crmActivityTypes: import("drizzle-orm/pg-core").PgTableWith
789
789
  dialect: "pg";
790
790
  }>;
791
791
  export declare const crmActivities: import("drizzle-orm/pg-core").PgTableWithColumns<{
792
- name: "crm_activities";
792
+ name: "plg_crm_activities";
793
793
  schema: undefined;
794
794
  columns: {
795
795
  createdAt: import("drizzle-orm/pg-core").PgColumn<{
796
796
  name: "created_at";
797
- tableName: "crm_activities";
797
+ tableName: "plg_crm_activities";
798
798
  dataType: "date";
799
799
  columnType: "PgTimestamp";
800
800
  data: Date;
@@ -811,7 +811,7 @@ export declare const crmActivities: import("drizzle-orm/pg-core").PgTableWithCol
811
811
  }, {}, {}>;
812
812
  id: import("drizzle-orm/pg-core").PgColumn<{
813
813
  name: "id";
814
- tableName: "crm_activities";
814
+ tableName: "plg_crm_activities";
815
815
  dataType: "string";
816
816
  columnType: "PgUUID";
817
817
  data: string;
@@ -828,7 +828,7 @@ export declare const crmActivities: import("drizzle-orm/pg-core").PgTableWithCol
828
828
  }, {}, {}>;
829
829
  tenantId: import("drizzle-orm/pg-core").PgColumn<{
830
830
  name: "tenant_id";
831
- tableName: "crm_activities";
831
+ tableName: "plg_crm_activities";
832
832
  dataType: "string";
833
833
  columnType: "PgUUID";
834
834
  data: string;
@@ -845,7 +845,7 @@ export declare const crmActivities: import("drizzle-orm/pg-core").PgTableWithCol
845
845
  }, {}, {}>;
846
846
  dealId: import("drizzle-orm/pg-core").PgColumn<{
847
847
  name: "deal_id";
848
- tableName: "crm_activities";
848
+ tableName: "plg_crm_activities";
849
849
  dataType: "string";
850
850
  columnType: "PgUUID";
851
851
  data: string;
@@ -862,7 +862,7 @@ export declare const crmActivities: import("drizzle-orm/pg-core").PgTableWithCol
862
862
  }, {}, {}>;
863
863
  leadId: import("drizzle-orm/pg-core").PgColumn<{
864
864
  name: "lead_id";
865
- tableName: "crm_activities";
865
+ tableName: "plg_crm_activities";
866
866
  dataType: "string";
867
867
  columnType: "PgUUID";
868
868
  data: string;
@@ -879,7 +879,7 @@ export declare const crmActivities: import("drizzle-orm/pg-core").PgTableWithCol
879
879
  }, {}, {}>;
880
880
  contactId: import("drizzle-orm/pg-core").PgColumn<{
881
881
  name: "contact_id";
882
- tableName: "crm_activities";
882
+ tableName: "plg_crm_activities";
883
883
  dataType: "string";
884
884
  columnType: "PgUUID";
885
885
  data: string;
@@ -896,7 +896,7 @@ export declare const crmActivities: import("drizzle-orm/pg-core").PgTableWithCol
896
896
  }, {}, {}>;
897
897
  contactName: import("drizzle-orm/pg-core").PgColumn<{
898
898
  name: "contact_name";
899
- tableName: "crm_activities";
899
+ tableName: "plg_crm_activities";
900
900
  dataType: "string";
901
901
  columnType: "PgText";
902
902
  data: string;
@@ -913,7 +913,7 @@ export declare const crmActivities: import("drizzle-orm/pg-core").PgTableWithCol
913
913
  }, {}, {}>;
914
914
  activityType: import("drizzle-orm/pg-core").PgColumn<{
915
915
  name: "activity_type";
916
- tableName: "crm_activities";
916
+ tableName: "plg_crm_activities";
917
917
  dataType: "string";
918
918
  columnType: "PgText";
919
919
  data: string;
@@ -930,7 +930,7 @@ export declare const crmActivities: import("drizzle-orm/pg-core").PgTableWithCol
930
930
  }, {}, {}>;
931
931
  title: import("drizzle-orm/pg-core").PgColumn<{
932
932
  name: "title";
933
- tableName: "crm_activities";
933
+ tableName: "plg_crm_activities";
934
934
  dataType: "string";
935
935
  columnType: "PgText";
936
936
  data: string;
@@ -947,7 +947,7 @@ export declare const crmActivities: import("drizzle-orm/pg-core").PgTableWithCol
947
947
  }, {}, {}>;
948
948
  description: import("drizzle-orm/pg-core").PgColumn<{
949
949
  name: "description";
950
- tableName: "crm_activities";
950
+ tableName: "plg_crm_activities";
951
951
  dataType: "string";
952
952
  columnType: "PgText";
953
953
  data: string;
@@ -964,7 +964,7 @@ export declare const crmActivities: import("drizzle-orm/pg-core").PgTableWithCol
964
964
  }, {}, {}>;
965
965
  dueDate: import("drizzle-orm/pg-core").PgColumn<{
966
966
  name: "due_date";
967
- tableName: "crm_activities";
967
+ tableName: "plg_crm_activities";
968
968
  dataType: "string";
969
969
  columnType: "PgDateString";
970
970
  data: string;
@@ -981,7 +981,7 @@ export declare const crmActivities: import("drizzle-orm/pg-core").PgTableWithCol
981
981
  }, {}, {}>;
982
982
  completedAt: import("drizzle-orm/pg-core").PgColumn<{
983
983
  name: "completed_at";
984
- tableName: "crm_activities";
984
+ tableName: "plg_crm_activities";
985
985
  dataType: "date";
986
986
  columnType: "PgTimestamp";
987
987
  data: Date;
@@ -998,7 +998,7 @@ export declare const crmActivities: import("drizzle-orm/pg-core").PgTableWithCol
998
998
  }, {}, {}>;
999
999
  assignedToId: import("drizzle-orm/pg-core").PgColumn<{
1000
1000
  name: "assigned_to_id";
1001
- tableName: "crm_activities";
1001
+ tableName: "plg_crm_activities";
1002
1002
  dataType: "string";
1003
1003
  columnType: "PgUUID";
1004
1004
  data: string;
@@ -1015,7 +1015,7 @@ export declare const crmActivities: import("drizzle-orm/pg-core").PgTableWithCol
1015
1015
  }, {}, {}>;
1016
1016
  assignedToName: import("drizzle-orm/pg-core").PgColumn<{
1017
1017
  name: "assigned_to_name";
1018
- tableName: "crm_activities";
1018
+ tableName: "plg_crm_activities";
1019
1019
  dataType: "string";
1020
1020
  columnType: "PgText";
1021
1021
  data: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schema/index.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOmC,CAAA;AAEzD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAczB,CAAA;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMoC,CAAA;AAE5D,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOoC,CAAA;AAExD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAezB,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMqC,CAAA;AAElE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBxB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schema/index.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO2C,CAAA;AAEjE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAczB,CAAA;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM4C,CAAA;AAEpE,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOwC,CAAA;AAE5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAezB,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMyC,CAAA;AAEtE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBxB,CAAA"}