@elevasis/ui 2.25.0 → 2.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/index.css +11 -0
- package/dist/app/index.d.ts +457 -357
- package/dist/app/index.js +8 -7
- package/dist/auth/index.js +4 -4
- package/dist/charts/index.js +7 -7
- package/dist/{chunk-DDZOHLHB.js → chunk-26HQMR7S.js} +1 -1
- package/dist/{chunk-ZMXZ476Y.js → chunk-3AHEHVJ6.js} +3 -3
- package/dist/{chunk-LJWV4TWV.js → chunk-4ZFBVND2.js} +2 -2
- package/dist/{chunk-7D2HSSIW.js → chunk-7LJUTTXU.js} +5 -5
- package/dist/{chunk-ABV5LDDC.js → chunk-AZQY7AJR.js} +13 -24
- package/dist/{chunk-BIWHHWCJ.js → chunk-DWK2QIAK.js} +2 -1
- package/dist/{chunk-ZDKQNQ4X.js → chunk-GESXCQWY.js} +1 -1
- package/dist/{chunk-Z6FAH4XV.js → chunk-HKBEURCV.js} +1 -1
- package/dist/{chunk-HC2KV6BU.js → chunk-HOIT677G.js} +1 -1
- package/dist/chunk-IS53MXE4.js +230 -0
- package/dist/{chunk-WSC5LU3U.js → chunk-IX7LWINC.js} +6 -5
- package/dist/{chunk-AXXTN44Z.js → chunk-IYIZYMIE.js} +2 -2
- package/dist/{chunk-WWVSPOJY.js → chunk-JDQSCEEF.js} +1237 -642
- package/dist/{chunk-AZXSFDG2.js → chunk-JMI7L7Y7.js} +113 -63
- package/dist/{chunk-TSSKOQBX.js → chunk-KMAXFJPH.js} +2 -2
- package/dist/{chunk-HQ7M6PBW.js → chunk-KU7ZDWQ7.js} +1 -1
- package/dist/{chunk-ZGZZIR6K.js → chunk-L4RT57WU.js} +7 -7
- package/dist/{chunk-LK4MPIMK.js → chunk-MU4VPAMR.js} +2 -2
- package/dist/{chunk-3JCMO7SD.js → chunk-N55DVMAG.js} +1 -1
- package/dist/{chunk-EIOJNUPL.js → chunk-PNLJIPV5.js} +1 -1
- package/dist/{chunk-6Z3G4U2R.js → chunk-Q5BEODAT.js} +3 -2
- package/dist/{chunk-HVC2BTFO.js → chunk-QB2CC4VH.js} +1979 -257
- package/dist/{chunk-QJLRDTYS.js → chunk-RSG2O3HF.js} +932 -707
- package/dist/{chunk-M25JL54Z.js → chunk-RYTEQBAO.js} +1 -1
- package/dist/{chunk-XUYBOO32.js → chunk-U36X6NZM.js} +15 -7
- package/dist/{chunk-QSTH6T77.js → chunk-VKMNWHTL.js} +1 -1
- package/dist/{chunk-V3UOW2HG.js → chunk-VOVZLL23.js} +4 -4
- package/dist/{chunk-SLH2QLKV.js → chunk-WFTNY755.js} +1 -1
- package/dist/{chunk-DK2HVHCY.js → chunk-WKJ47GIW.js} +1 -1
- package/dist/chunk-X4WBGKJQ.js +138 -0
- package/dist/{chunk-QHSW4WHM.js → chunk-XTVZFT7U.js} +1 -1
- package/dist/components/index.css +11 -0
- package/dist/components/index.d.ts +478 -386
- package/dist/components/index.js +138 -336
- package/dist/components/navigation/index.css +11 -0
- package/dist/components/navigation/index.js +8 -8
- package/dist/features/auth/index.css +11 -0
- package/dist/features/auth/index.d.ts +369 -363
- package/dist/features/auth/index.js +7 -7
- package/dist/features/crm/index.css +11 -0
- package/dist/features/crm/index.d.ts +551 -360
- package/dist/features/crm/index.js +19 -19
- package/dist/features/dashboard/index.css +11 -0
- package/dist/features/dashboard/index.js +20 -20
- package/dist/features/delivery/index.css +11 -0
- package/dist/features/delivery/index.d.ts +363 -357
- package/dist/features/delivery/index.js +19 -19
- package/dist/features/lead-gen/index.css +11 -0
- package/dist/features/lead-gen/index.d.ts +160 -2
- package/dist/features/lead-gen/index.js +20 -19
- package/dist/features/monitoring/index.css +11 -0
- package/dist/features/monitoring/index.js +21 -21
- package/dist/features/monitoring/requests/index.css +11 -0
- package/dist/features/monitoring/requests/index.js +17 -17
- package/dist/features/operations/index.css +11 -0
- package/dist/features/operations/index.js +24 -23
- package/dist/features/seo/index.js +2 -2
- package/dist/features/settings/index.css +11 -0
- package/dist/features/settings/index.d.ts +369 -363
- package/dist/features/settings/index.js +19 -19
- package/dist/hooks/delivery/index.css +11 -0
- package/dist/hooks/delivery/index.d.ts +363 -357
- package/dist/hooks/delivery/index.js +2 -2
- package/dist/hooks/index.css +11 -0
- package/dist/hooks/index.d.ts +746 -399
- package/dist/hooks/index.js +17 -17
- package/dist/hooks/published.css +11 -0
- package/dist/hooks/published.d.ts +746 -399
- package/dist/hooks/published.js +17 -17
- package/dist/index.css +11 -0
- package/dist/index.d.ts +862 -381
- package/dist/index.js +17 -17
- package/dist/initialization/index.d.ts +369 -363
- package/dist/initialization/index.js +4 -4
- package/dist/layout/index.d.ts +6 -0
- package/dist/layout/index.js +5 -5
- package/dist/organization/index.css +11 -0
- package/dist/organization/index.js +4 -4
- package/dist/profile/index.d.ts +369 -363
- package/dist/profile/index.js +2 -2
- package/dist/provider/ElevasisServiceContext.d.ts +1 -0
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.css +11 -0
- package/dist/provider/index.d.ts +503 -362
- package/dist/provider/index.js +14 -14
- package/dist/provider/published.css +11 -0
- package/dist/provider/published.d.ts +494 -359
- package/dist/provider/published.js +12 -12
- package/dist/supabase/index.d.ts +369 -357
- package/dist/test-utils/index.js +1 -1
- package/dist/typeform/index.js +49 -20
- package/dist/types/index.d.ts +382 -363
- package/package.json +4 -4
- package/dist/chunk-CEWTOKE7.js +0 -109
- /package/dist/{chunk-IRW7JMQ4.js → chunk-5WWZXCS5.js} +0 -0
- /package/dist/{chunk-QJ2KCHKX.js → chunk-E565XMTQ.js} +0 -0
|
@@ -501,7 +501,7 @@ type Json = string | number | boolean | null | {
|
|
|
501
501
|
} | Json[];
|
|
502
502
|
type Database = {
|
|
503
503
|
__InternalSupabase: {
|
|
504
|
-
PostgrestVersion:
|
|
504
|
+
PostgrestVersion: "12.2.3 (519615d)";
|
|
505
505
|
};
|
|
506
506
|
public: {
|
|
507
507
|
Tables: {
|
|
@@ -544,11 +544,11 @@ type Database = {
|
|
|
544
544
|
};
|
|
545
545
|
Relationships: [
|
|
546
546
|
{
|
|
547
|
-
foreignKeyName:
|
|
548
|
-
columns: [
|
|
547
|
+
foreignKeyName: "acq_artifacts_organization_id_fkey";
|
|
548
|
+
columns: ["organization_id"];
|
|
549
549
|
isOneToOne: false;
|
|
550
|
-
referencedRelation:
|
|
551
|
-
referencedColumns: [
|
|
550
|
+
referencedRelation: "organizations";
|
|
551
|
+
referencedColumns: ["id"];
|
|
552
552
|
}
|
|
553
553
|
];
|
|
554
554
|
};
|
|
@@ -633,11 +633,11 @@ type Database = {
|
|
|
633
633
|
};
|
|
634
634
|
Relationships: [
|
|
635
635
|
{
|
|
636
|
-
foreignKeyName:
|
|
637
|
-
columns: [
|
|
636
|
+
foreignKeyName: "acq_companies_organization_id_fkey";
|
|
637
|
+
columns: ["organization_id"];
|
|
638
638
|
isOneToOne: false;
|
|
639
|
-
referencedRelation:
|
|
640
|
-
referencedColumns: [
|
|
639
|
+
referencedRelation: "organizations";
|
|
640
|
+
referencedColumns: ["id"];
|
|
641
641
|
}
|
|
642
642
|
];
|
|
643
643
|
};
|
|
@@ -728,18 +728,18 @@ type Database = {
|
|
|
728
728
|
};
|
|
729
729
|
Relationships: [
|
|
730
730
|
{
|
|
731
|
-
foreignKeyName:
|
|
732
|
-
columns: [
|
|
731
|
+
foreignKeyName: "acq_contacts_company_id_fkey";
|
|
732
|
+
columns: ["company_id"];
|
|
733
733
|
isOneToOne: false;
|
|
734
|
-
referencedRelation:
|
|
735
|
-
referencedColumns: [
|
|
734
|
+
referencedRelation: "acq_companies";
|
|
735
|
+
referencedColumns: ["id"];
|
|
736
736
|
},
|
|
737
737
|
{
|
|
738
|
-
foreignKeyName:
|
|
739
|
-
columns: [
|
|
738
|
+
foreignKeyName: "acq_contacts_organization_id_fkey";
|
|
739
|
+
columns: ["organization_id"];
|
|
740
740
|
isOneToOne: false;
|
|
741
|
-
referencedRelation:
|
|
742
|
-
referencedColumns: [
|
|
741
|
+
referencedRelation: "organizations";
|
|
742
|
+
referencedColumns: ["id"];
|
|
743
743
|
}
|
|
744
744
|
];
|
|
745
745
|
};
|
|
@@ -776,11 +776,11 @@ type Database = {
|
|
|
776
776
|
};
|
|
777
777
|
Relationships: [
|
|
778
778
|
{
|
|
779
|
-
foreignKeyName:
|
|
780
|
-
columns: [
|
|
779
|
+
foreignKeyName: "acq_content_organization_id_fkey";
|
|
780
|
+
columns: ["organization_id"];
|
|
781
781
|
isOneToOne: false;
|
|
782
|
-
referencedRelation:
|
|
783
|
-
referencedColumns: [
|
|
782
|
+
referencedRelation: "organizations";
|
|
783
|
+
referencedColumns: ["id"];
|
|
784
784
|
}
|
|
785
785
|
];
|
|
786
786
|
};
|
|
@@ -844,18 +844,18 @@ type Database = {
|
|
|
844
844
|
};
|
|
845
845
|
Relationships: [
|
|
846
846
|
{
|
|
847
|
-
foreignKeyName:
|
|
848
|
-
columns: [
|
|
847
|
+
foreignKeyName: "acq_content_distributions_content_id_fkey";
|
|
848
|
+
columns: ["content_id"];
|
|
849
849
|
isOneToOne: false;
|
|
850
|
-
referencedRelation:
|
|
851
|
-
referencedColumns: [
|
|
850
|
+
referencedRelation: "acq_content";
|
|
851
|
+
referencedColumns: ["id"];
|
|
852
852
|
},
|
|
853
853
|
{
|
|
854
|
-
foreignKeyName:
|
|
855
|
-
columns: [
|
|
854
|
+
foreignKeyName: "acq_content_distributions_organization_id_fkey";
|
|
855
|
+
columns: ["organization_id"];
|
|
856
856
|
isOneToOne: false;
|
|
857
|
-
referencedRelation:
|
|
858
|
-
referencedColumns: [
|
|
857
|
+
referencedRelation: "organizations";
|
|
858
|
+
referencedColumns: ["id"];
|
|
859
859
|
}
|
|
860
860
|
];
|
|
861
861
|
};
|
|
@@ -889,18 +889,18 @@ type Database = {
|
|
|
889
889
|
};
|
|
890
890
|
Relationships: [
|
|
891
891
|
{
|
|
892
|
-
foreignKeyName:
|
|
893
|
-
columns: [
|
|
892
|
+
foreignKeyName: "acq_deal_notes_deal_id_fkey";
|
|
893
|
+
columns: ["deal_id"];
|
|
894
894
|
isOneToOne: false;
|
|
895
|
-
referencedRelation:
|
|
896
|
-
referencedColumns: [
|
|
895
|
+
referencedRelation: "acq_deals";
|
|
896
|
+
referencedColumns: ["id"];
|
|
897
897
|
},
|
|
898
898
|
{
|
|
899
|
-
foreignKeyName:
|
|
900
|
-
columns: [
|
|
899
|
+
foreignKeyName: "acq_deal_notes_organization_id_fkey";
|
|
900
|
+
columns: ["organization_id"];
|
|
901
901
|
isOneToOne: false;
|
|
902
|
-
referencedRelation:
|
|
903
|
-
referencedColumns: [
|
|
902
|
+
referencedRelation: "organizations";
|
|
903
|
+
referencedColumns: ["id"];
|
|
904
904
|
}
|
|
905
905
|
];
|
|
906
906
|
};
|
|
@@ -952,18 +952,18 @@ type Database = {
|
|
|
952
952
|
};
|
|
953
953
|
Relationships: [
|
|
954
954
|
{
|
|
955
|
-
foreignKeyName:
|
|
956
|
-
columns: [
|
|
955
|
+
foreignKeyName: "acq_deal_tasks_deal_id_fkey";
|
|
956
|
+
columns: ["deal_id"];
|
|
957
957
|
isOneToOne: false;
|
|
958
|
-
referencedRelation:
|
|
959
|
-
referencedColumns: [
|
|
958
|
+
referencedRelation: "acq_deals";
|
|
959
|
+
referencedColumns: ["id"];
|
|
960
960
|
},
|
|
961
961
|
{
|
|
962
|
-
foreignKeyName:
|
|
963
|
-
columns: [
|
|
962
|
+
foreignKeyName: "acq_deal_tasks_organization_id_fkey";
|
|
963
|
+
columns: ["organization_id"];
|
|
964
964
|
isOneToOne: false;
|
|
965
|
-
referencedRelation:
|
|
966
|
-
referencedColumns: [
|
|
965
|
+
referencedRelation: "organizations";
|
|
966
|
+
referencedColumns: ["id"];
|
|
967
967
|
}
|
|
968
968
|
];
|
|
969
969
|
};
|
|
@@ -980,6 +980,8 @@ type Database = {
|
|
|
980
980
|
discovery_submitted_by: string | null;
|
|
981
981
|
id: string;
|
|
982
982
|
initial_fee: number | null;
|
|
983
|
+
instantly_email_account: string | null;
|
|
984
|
+
instantly_thread_uuid: string | null;
|
|
983
985
|
monthly_fee: number | null;
|
|
984
986
|
organization_id: string;
|
|
985
987
|
payment_link_sent_at: string | null;
|
|
@@ -1015,6 +1017,8 @@ type Database = {
|
|
|
1015
1017
|
discovery_submitted_by?: string | null;
|
|
1016
1018
|
id?: string;
|
|
1017
1019
|
initial_fee?: number | null;
|
|
1020
|
+
instantly_email_account?: string | null;
|
|
1021
|
+
instantly_thread_uuid?: string | null;
|
|
1018
1022
|
monthly_fee?: number | null;
|
|
1019
1023
|
organization_id: string;
|
|
1020
1024
|
payment_link_sent_at?: string | null;
|
|
@@ -1050,6 +1054,8 @@ type Database = {
|
|
|
1050
1054
|
discovery_submitted_by?: string | null;
|
|
1051
1055
|
id?: string;
|
|
1052
1056
|
initial_fee?: number | null;
|
|
1057
|
+
instantly_email_account?: string | null;
|
|
1058
|
+
instantly_thread_uuid?: string | null;
|
|
1053
1059
|
monthly_fee?: number | null;
|
|
1054
1060
|
organization_id?: string;
|
|
1055
1061
|
payment_link_sent_at?: string | null;
|
|
@@ -1075,25 +1081,25 @@ type Database = {
|
|
|
1075
1081
|
};
|
|
1076
1082
|
Relationships: [
|
|
1077
1083
|
{
|
|
1078
|
-
foreignKeyName:
|
|
1079
|
-
columns: [
|
|
1084
|
+
foreignKeyName: "acq_deals_contact_id_fkey";
|
|
1085
|
+
columns: ["contact_id"];
|
|
1080
1086
|
isOneToOne: false;
|
|
1081
|
-
referencedRelation:
|
|
1082
|
-
referencedColumns: [
|
|
1087
|
+
referencedRelation: "acq_contacts";
|
|
1088
|
+
referencedColumns: ["id"];
|
|
1083
1089
|
},
|
|
1084
1090
|
{
|
|
1085
|
-
foreignKeyName:
|
|
1086
|
-
columns: [
|
|
1091
|
+
foreignKeyName: "acq_deals_organization_id_fkey";
|
|
1092
|
+
columns: ["organization_id"];
|
|
1087
1093
|
isOneToOne: false;
|
|
1088
|
-
referencedRelation:
|
|
1089
|
-
referencedColumns: [
|
|
1094
|
+
referencedRelation: "organizations";
|
|
1095
|
+
referencedColumns: ["id"];
|
|
1090
1096
|
},
|
|
1091
1097
|
{
|
|
1092
|
-
foreignKeyName:
|
|
1093
|
-
columns: [
|
|
1098
|
+
foreignKeyName: "acq_deals_source_list_id_fkey";
|
|
1099
|
+
columns: ["source_list_id"];
|
|
1094
1100
|
isOneToOne: false;
|
|
1095
|
-
referencedRelation:
|
|
1096
|
-
referencedColumns: [
|
|
1101
|
+
referencedRelation: "acq_lists";
|
|
1102
|
+
referencedColumns: ["id"];
|
|
1097
1103
|
}
|
|
1098
1104
|
];
|
|
1099
1105
|
};
|
|
@@ -1145,25 +1151,25 @@ type Database = {
|
|
|
1145
1151
|
};
|
|
1146
1152
|
Relationships: [
|
|
1147
1153
|
{
|
|
1148
|
-
foreignKeyName:
|
|
1149
|
-
columns: [
|
|
1154
|
+
foreignKeyName: "acq_list_companies_company_id_fkey";
|
|
1155
|
+
columns: ["company_id"];
|
|
1150
1156
|
isOneToOne: false;
|
|
1151
|
-
referencedRelation:
|
|
1152
|
-
referencedColumns: [
|
|
1157
|
+
referencedRelation: "acq_companies";
|
|
1158
|
+
referencedColumns: ["id"];
|
|
1153
1159
|
},
|
|
1154
1160
|
{
|
|
1155
|
-
foreignKeyName:
|
|
1156
|
-
columns: [
|
|
1161
|
+
foreignKeyName: "acq_list_companies_list_id_fkey";
|
|
1162
|
+
columns: ["list_id"];
|
|
1157
1163
|
isOneToOne: false;
|
|
1158
|
-
referencedRelation:
|
|
1159
|
-
referencedColumns: [
|
|
1164
|
+
referencedRelation: "acq_lists";
|
|
1165
|
+
referencedColumns: ["id"];
|
|
1160
1166
|
},
|
|
1161
1167
|
{
|
|
1162
|
-
foreignKeyName:
|
|
1163
|
-
columns: [
|
|
1168
|
+
foreignKeyName: "acq_list_companies_source_execution_id_fkey";
|
|
1169
|
+
columns: ["source_execution_id"];
|
|
1164
1170
|
isOneToOne: false;
|
|
1165
|
-
referencedRelation:
|
|
1166
|
-
referencedColumns: [
|
|
1171
|
+
referencedRelation: "execution_logs";
|
|
1172
|
+
referencedColumns: ["execution_id"];
|
|
1167
1173
|
}
|
|
1168
1174
|
];
|
|
1169
1175
|
};
|
|
@@ -1191,18 +1197,18 @@ type Database = {
|
|
|
1191
1197
|
};
|
|
1192
1198
|
Relationships: [
|
|
1193
1199
|
{
|
|
1194
|
-
foreignKeyName:
|
|
1195
|
-
columns: [
|
|
1200
|
+
foreignKeyName: "acq_list_executions_execution_id_fkey";
|
|
1201
|
+
columns: ["execution_id"];
|
|
1196
1202
|
isOneToOne: false;
|
|
1197
|
-
referencedRelation:
|
|
1198
|
-
referencedColumns: [
|
|
1203
|
+
referencedRelation: "execution_logs";
|
|
1204
|
+
referencedColumns: ["execution_id"];
|
|
1199
1205
|
},
|
|
1200
1206
|
{
|
|
1201
|
-
foreignKeyName:
|
|
1202
|
-
columns: [
|
|
1207
|
+
foreignKeyName: "acq_list_executions_list_id_fkey";
|
|
1208
|
+
columns: ["list_id"];
|
|
1203
1209
|
isOneToOne: false;
|
|
1204
|
-
referencedRelation:
|
|
1205
|
-
referencedColumns: [
|
|
1210
|
+
referencedRelation: "acq_lists";
|
|
1211
|
+
referencedColumns: ["id"];
|
|
1206
1212
|
}
|
|
1207
1213
|
];
|
|
1208
1214
|
};
|
|
@@ -1254,25 +1260,25 @@ type Database = {
|
|
|
1254
1260
|
};
|
|
1255
1261
|
Relationships: [
|
|
1256
1262
|
{
|
|
1257
|
-
foreignKeyName:
|
|
1258
|
-
columns: [
|
|
1263
|
+
foreignKeyName: "acq_list_members_contact_id_fkey";
|
|
1264
|
+
columns: ["contact_id"];
|
|
1259
1265
|
isOneToOne: false;
|
|
1260
|
-
referencedRelation:
|
|
1261
|
-
referencedColumns: [
|
|
1266
|
+
referencedRelation: "acq_contacts";
|
|
1267
|
+
referencedColumns: ["id"];
|
|
1262
1268
|
},
|
|
1263
1269
|
{
|
|
1264
|
-
foreignKeyName:
|
|
1265
|
-
columns: [
|
|
1270
|
+
foreignKeyName: "acq_list_members_list_id_fkey";
|
|
1271
|
+
columns: ["list_id"];
|
|
1266
1272
|
isOneToOne: false;
|
|
1267
|
-
referencedRelation:
|
|
1268
|
-
referencedColumns: [
|
|
1273
|
+
referencedRelation: "acq_lists";
|
|
1274
|
+
referencedColumns: ["id"];
|
|
1269
1275
|
},
|
|
1270
1276
|
{
|
|
1271
|
-
foreignKeyName:
|
|
1272
|
-
columns: [
|
|
1277
|
+
foreignKeyName: "acq_list_members_source_execution_id_fkey";
|
|
1278
|
+
columns: ["source_execution_id"];
|
|
1273
1279
|
isOneToOne: false;
|
|
1274
|
-
referencedRelation:
|
|
1275
|
-
referencedColumns: [
|
|
1280
|
+
referencedRelation: "execution_logs";
|
|
1281
|
+
referencedColumns: ["execution_id"];
|
|
1276
1282
|
}
|
|
1277
1283
|
];
|
|
1278
1284
|
};
|
|
@@ -1327,11 +1333,11 @@ type Database = {
|
|
|
1327
1333
|
};
|
|
1328
1334
|
Relationships: [
|
|
1329
1335
|
{
|
|
1330
|
-
foreignKeyName:
|
|
1331
|
-
columns: [
|
|
1336
|
+
foreignKeyName: "acq_lists_organization_id_fkey";
|
|
1337
|
+
columns: ["organization_id"];
|
|
1332
1338
|
isOneToOne: false;
|
|
1333
|
-
referencedRelation:
|
|
1334
|
-
referencedColumns: [
|
|
1339
|
+
referencedRelation: "organizations";
|
|
1340
|
+
referencedColumns: ["id"];
|
|
1335
1341
|
}
|
|
1336
1342
|
];
|
|
1337
1343
|
};
|
|
@@ -1407,18 +1413,18 @@ type Database = {
|
|
|
1407
1413
|
};
|
|
1408
1414
|
Relationships: [
|
|
1409
1415
|
{
|
|
1410
|
-
foreignKeyName:
|
|
1411
|
-
columns: [
|
|
1416
|
+
foreignKeyName: "acq_seo_metrics_organization_id_fkey";
|
|
1417
|
+
columns: ["organization_id"];
|
|
1412
1418
|
isOneToOne: false;
|
|
1413
|
-
referencedRelation:
|
|
1414
|
-
referencedColumns: [
|
|
1419
|
+
referencedRelation: "organizations";
|
|
1420
|
+
referencedColumns: ["id"];
|
|
1415
1421
|
},
|
|
1416
1422
|
{
|
|
1417
|
-
foreignKeyName:
|
|
1418
|
-
columns: [
|
|
1423
|
+
foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
|
|
1424
|
+
columns: ["seo_page_id"];
|
|
1419
1425
|
isOneToOne: false;
|
|
1420
|
-
referencedRelation:
|
|
1421
|
-
referencedColumns: [
|
|
1426
|
+
referencedRelation: "acq_seo_pages";
|
|
1427
|
+
referencedColumns: ["id"];
|
|
1422
1428
|
}
|
|
1423
1429
|
];
|
|
1424
1430
|
};
|
|
@@ -1494,11 +1500,11 @@ type Database = {
|
|
|
1494
1500
|
};
|
|
1495
1501
|
Relationships: [
|
|
1496
1502
|
{
|
|
1497
|
-
foreignKeyName:
|
|
1498
|
-
columns: [
|
|
1503
|
+
foreignKeyName: "acq_seo_pages_organization_id_fkey";
|
|
1504
|
+
columns: ["organization_id"];
|
|
1499
1505
|
isOneToOne: false;
|
|
1500
|
-
referencedRelation:
|
|
1501
|
-
referencedColumns: [
|
|
1506
|
+
referencedRelation: "organizations";
|
|
1507
|
+
referencedColumns: ["id"];
|
|
1502
1508
|
}
|
|
1503
1509
|
];
|
|
1504
1510
|
};
|
|
@@ -1595,11 +1601,11 @@ type Database = {
|
|
|
1595
1601
|
};
|
|
1596
1602
|
Relationships: [
|
|
1597
1603
|
{
|
|
1598
|
-
foreignKeyName:
|
|
1599
|
-
columns: [
|
|
1604
|
+
foreignKeyName: "acq_social_posts_organization_id_fkey";
|
|
1605
|
+
columns: ["organization_id"];
|
|
1600
1606
|
isOneToOne: false;
|
|
1601
|
-
referencedRelation:
|
|
1602
|
-
referencedColumns: [
|
|
1607
|
+
referencedRelation: "organizations";
|
|
1608
|
+
referencedColumns: ["id"];
|
|
1603
1609
|
}
|
|
1604
1610
|
];
|
|
1605
1611
|
};
|
|
@@ -1654,11 +1660,11 @@ type Database = {
|
|
|
1654
1660
|
};
|
|
1655
1661
|
Relationships: [
|
|
1656
1662
|
{
|
|
1657
|
-
foreignKeyName:
|
|
1658
|
-
columns: [
|
|
1663
|
+
foreignKeyName: "activities_organization_id_fkey";
|
|
1664
|
+
columns: ["organization_id"];
|
|
1659
1665
|
isOneToOne: false;
|
|
1660
|
-
referencedRelation:
|
|
1661
|
-
referencedColumns: [
|
|
1666
|
+
referencedRelation: "organizations";
|
|
1667
|
+
referencedColumns: ["id"];
|
|
1662
1668
|
}
|
|
1663
1669
|
];
|
|
1664
1670
|
};
|
|
@@ -1689,11 +1695,11 @@ type Database = {
|
|
|
1689
1695
|
};
|
|
1690
1696
|
Relationships: [
|
|
1691
1697
|
{
|
|
1692
|
-
foreignKeyName:
|
|
1693
|
-
columns: [
|
|
1698
|
+
foreignKeyName: "api_keys_organization_id_fkey";
|
|
1699
|
+
columns: ["organization_id"];
|
|
1694
1700
|
isOneToOne: false;
|
|
1695
|
-
referencedRelation:
|
|
1696
|
-
referencedColumns: [
|
|
1701
|
+
referencedRelation: "organizations";
|
|
1702
|
+
referencedColumns: ["id"];
|
|
1697
1703
|
}
|
|
1698
1704
|
];
|
|
1699
1705
|
};
|
|
@@ -1772,25 +1778,25 @@ type Database = {
|
|
|
1772
1778
|
};
|
|
1773
1779
|
Relationships: [
|
|
1774
1780
|
{
|
|
1775
|
-
foreignKeyName:
|
|
1776
|
-
columns: [
|
|
1781
|
+
foreignKeyName: "command_queue_completed_by_fkey";
|
|
1782
|
+
columns: ["completed_by"];
|
|
1777
1783
|
isOneToOne: false;
|
|
1778
|
-
referencedRelation:
|
|
1779
|
-
referencedColumns: [
|
|
1784
|
+
referencedRelation: "users";
|
|
1785
|
+
referencedColumns: ["id"];
|
|
1780
1786
|
},
|
|
1781
1787
|
{
|
|
1782
|
-
foreignKeyName:
|
|
1783
|
-
columns: [
|
|
1788
|
+
foreignKeyName: "command_queue_organization_id_fkey";
|
|
1789
|
+
columns: ["organization_id"];
|
|
1784
1790
|
isOneToOne: false;
|
|
1785
|
-
referencedRelation:
|
|
1786
|
-
referencedColumns: [
|
|
1791
|
+
referencedRelation: "organizations";
|
|
1792
|
+
referencedColumns: ["id"];
|
|
1787
1793
|
},
|
|
1788
1794
|
{
|
|
1789
|
-
foreignKeyName:
|
|
1790
|
-
columns: [
|
|
1795
|
+
foreignKeyName: "command_queue_target_execution_id_fkey";
|
|
1796
|
+
columns: ["target_execution_id"];
|
|
1791
1797
|
isOneToOne: false;
|
|
1792
|
-
referencedRelation:
|
|
1793
|
-
referencedColumns: [
|
|
1798
|
+
referencedRelation: "execution_logs";
|
|
1799
|
+
referencedColumns: ["execution_id"];
|
|
1794
1800
|
}
|
|
1795
1801
|
];
|
|
1796
1802
|
};
|
|
@@ -1830,18 +1836,18 @@ type Database = {
|
|
|
1830
1836
|
};
|
|
1831
1837
|
Relationships: [
|
|
1832
1838
|
{
|
|
1833
|
-
foreignKeyName:
|
|
1834
|
-
columns: [
|
|
1839
|
+
foreignKeyName: "credentials_created_by_fkey";
|
|
1840
|
+
columns: ["created_by"];
|
|
1835
1841
|
isOneToOne: false;
|
|
1836
|
-
referencedRelation:
|
|
1837
|
-
referencedColumns: [
|
|
1842
|
+
referencedRelation: "users";
|
|
1843
|
+
referencedColumns: ["id"];
|
|
1838
1844
|
},
|
|
1839
1845
|
{
|
|
1840
|
-
foreignKeyName:
|
|
1841
|
-
columns: [
|
|
1846
|
+
foreignKeyName: "credentials_organization_id_fkey";
|
|
1847
|
+
columns: ["organization_id"];
|
|
1842
1848
|
isOneToOne: false;
|
|
1843
|
-
referencedRelation:
|
|
1844
|
-
referencedColumns: [
|
|
1849
|
+
referencedRelation: "organizations";
|
|
1850
|
+
referencedColumns: ["id"];
|
|
1845
1851
|
}
|
|
1846
1852
|
];
|
|
1847
1853
|
};
|
|
@@ -1887,11 +1893,11 @@ type Database = {
|
|
|
1887
1893
|
};
|
|
1888
1894
|
Relationships: [
|
|
1889
1895
|
{
|
|
1890
|
-
foreignKeyName:
|
|
1891
|
-
columns: [
|
|
1896
|
+
foreignKeyName: "deployments_organization_id_fkey";
|
|
1897
|
+
columns: ["organization_id"];
|
|
1892
1898
|
isOneToOne: false;
|
|
1893
|
-
referencedRelation:
|
|
1894
|
-
referencedColumns: [
|
|
1899
|
+
referencedRelation: "organizations";
|
|
1900
|
+
referencedColumns: ["id"];
|
|
1895
1901
|
}
|
|
1896
1902
|
];
|
|
1897
1903
|
};
|
|
@@ -1946,25 +1952,25 @@ type Database = {
|
|
|
1946
1952
|
};
|
|
1947
1953
|
Relationships: [
|
|
1948
1954
|
{
|
|
1949
|
-
foreignKeyName:
|
|
1950
|
-
columns: [
|
|
1955
|
+
foreignKeyName: "execution_errors_execution_id_fkey";
|
|
1956
|
+
columns: ["execution_id"];
|
|
1951
1957
|
isOneToOne: false;
|
|
1952
|
-
referencedRelation:
|
|
1953
|
-
referencedColumns: [
|
|
1958
|
+
referencedRelation: "execution_logs";
|
|
1959
|
+
referencedColumns: ["execution_id"];
|
|
1954
1960
|
},
|
|
1955
1961
|
{
|
|
1956
|
-
foreignKeyName:
|
|
1957
|
-
columns: [
|
|
1962
|
+
foreignKeyName: "execution_errors_organization_id_fkey";
|
|
1963
|
+
columns: ["organization_id"];
|
|
1958
1964
|
isOneToOne: false;
|
|
1959
|
-
referencedRelation:
|
|
1960
|
-
referencedColumns: [
|
|
1965
|
+
referencedRelation: "organizations";
|
|
1966
|
+
referencedColumns: ["id"];
|
|
1961
1967
|
},
|
|
1962
1968
|
{
|
|
1963
|
-
foreignKeyName:
|
|
1964
|
-
columns: [
|
|
1969
|
+
foreignKeyName: "execution_errors_resolved_by_fkey";
|
|
1970
|
+
columns: ["resolved_by"];
|
|
1965
1971
|
isOneToOne: false;
|
|
1966
|
-
referencedRelation:
|
|
1967
|
-
referencedColumns: [
|
|
1972
|
+
referencedRelation: "users";
|
|
1973
|
+
referencedColumns: ["id"];
|
|
1968
1974
|
}
|
|
1969
1975
|
];
|
|
1970
1976
|
};
|
|
@@ -2046,32 +2052,32 @@ type Database = {
|
|
|
2046
2052
|
};
|
|
2047
2053
|
Relationships: [
|
|
2048
2054
|
{
|
|
2049
|
-
foreignKeyName:
|
|
2050
|
-
columns: [
|
|
2055
|
+
foreignKeyName: "execution_history_organization_id_fkey";
|
|
2056
|
+
columns: ["organization_id"];
|
|
2051
2057
|
isOneToOne: false;
|
|
2052
|
-
referencedRelation:
|
|
2053
|
-
referencedColumns: [
|
|
2058
|
+
referencedRelation: "organizations";
|
|
2059
|
+
referencedColumns: ["id"];
|
|
2054
2060
|
},
|
|
2055
2061
|
{
|
|
2056
|
-
foreignKeyName:
|
|
2057
|
-
columns: [
|
|
2062
|
+
foreignKeyName: "execution_logs_origin_execution_id_fkey";
|
|
2063
|
+
columns: ["origin_execution_id"];
|
|
2058
2064
|
isOneToOne: false;
|
|
2059
|
-
referencedRelation:
|
|
2060
|
-
referencedColumns: [
|
|
2065
|
+
referencedRelation: "execution_logs";
|
|
2066
|
+
referencedColumns: ["execution_id"];
|
|
2061
2067
|
},
|
|
2062
2068
|
{
|
|
2063
|
-
foreignKeyName:
|
|
2064
|
-
columns: [
|
|
2069
|
+
foreignKeyName: "execution_logs_session_id_fkey";
|
|
2070
|
+
columns: ["session_id"];
|
|
2065
2071
|
isOneToOne: false;
|
|
2066
|
-
referencedRelation:
|
|
2067
|
-
referencedColumns: [
|
|
2072
|
+
referencedRelation: "sessions";
|
|
2073
|
+
referencedColumns: ["session_id"];
|
|
2068
2074
|
},
|
|
2069
2075
|
{
|
|
2070
|
-
foreignKeyName:
|
|
2071
|
-
columns: [
|
|
2076
|
+
foreignKeyName: "execution_logs_user_id_fkey";
|
|
2077
|
+
columns: ["user_id"];
|
|
2072
2078
|
isOneToOne: false;
|
|
2073
|
-
referencedRelation:
|
|
2074
|
-
referencedColumns: [
|
|
2079
|
+
referencedRelation: "users";
|
|
2080
|
+
referencedColumns: ["id"];
|
|
2075
2081
|
}
|
|
2076
2082
|
];
|
|
2077
2083
|
};
|
|
@@ -2117,18 +2123,18 @@ type Database = {
|
|
|
2117
2123
|
};
|
|
2118
2124
|
Relationships: [
|
|
2119
2125
|
{
|
|
2120
|
-
foreignKeyName:
|
|
2121
|
-
columns: [
|
|
2126
|
+
foreignKeyName: "execution_metrics_execution_id_fkey";
|
|
2127
|
+
columns: ["execution_id"];
|
|
2122
2128
|
isOneToOne: true;
|
|
2123
|
-
referencedRelation:
|
|
2124
|
-
referencedColumns: [
|
|
2129
|
+
referencedRelation: "execution_logs";
|
|
2130
|
+
referencedColumns: ["execution_id"];
|
|
2125
2131
|
},
|
|
2126
2132
|
{
|
|
2127
|
-
foreignKeyName:
|
|
2128
|
-
columns: [
|
|
2133
|
+
foreignKeyName: "execution_metrics_organization_id_fkey";
|
|
2134
|
+
columns: ["organization_id"];
|
|
2129
2135
|
isOneToOne: false;
|
|
2130
|
-
referencedRelation:
|
|
2131
|
-
referencedColumns: [
|
|
2136
|
+
referencedRelation: "organizations";
|
|
2137
|
+
referencedColumns: ["id"];
|
|
2132
2138
|
}
|
|
2133
2139
|
];
|
|
2134
2140
|
};
|
|
@@ -2171,18 +2177,18 @@ type Database = {
|
|
|
2171
2177
|
};
|
|
2172
2178
|
Relationships: [
|
|
2173
2179
|
{
|
|
2174
|
-
foreignKeyName:
|
|
2175
|
-
columns: [
|
|
2180
|
+
foreignKeyName: "notifications_organization_id_fkey";
|
|
2181
|
+
columns: ["organization_id"];
|
|
2176
2182
|
isOneToOne: false;
|
|
2177
|
-
referencedRelation:
|
|
2178
|
-
referencedColumns: [
|
|
2183
|
+
referencedRelation: "organizations";
|
|
2184
|
+
referencedColumns: ["id"];
|
|
2179
2185
|
},
|
|
2180
2186
|
{
|
|
2181
|
-
foreignKeyName:
|
|
2182
|
-
columns: [
|
|
2187
|
+
foreignKeyName: "notifications_user_id_fkey";
|
|
2188
|
+
columns: ["user_id"];
|
|
2183
2189
|
isOneToOne: false;
|
|
2184
|
-
referencedRelation:
|
|
2185
|
-
referencedColumns: [
|
|
2190
|
+
referencedRelation: "users";
|
|
2191
|
+
referencedColumns: ["id"];
|
|
2186
2192
|
}
|
|
2187
2193
|
];
|
|
2188
2194
|
};
|
|
@@ -2237,18 +2243,18 @@ type Database = {
|
|
|
2237
2243
|
};
|
|
2238
2244
|
Relationships: [
|
|
2239
2245
|
{
|
|
2240
|
-
foreignKeyName:
|
|
2241
|
-
columns: [
|
|
2246
|
+
foreignKeyName: "org_invitations_inviter_user_id_fkey";
|
|
2247
|
+
columns: ["inviter_user_id"];
|
|
2242
2248
|
isOneToOne: false;
|
|
2243
|
-
referencedRelation:
|
|
2244
|
-
referencedColumns: [
|
|
2249
|
+
referencedRelation: "users";
|
|
2250
|
+
referencedColumns: ["id"];
|
|
2245
2251
|
},
|
|
2246
2252
|
{
|
|
2247
|
-
foreignKeyName:
|
|
2248
|
-
columns: [
|
|
2253
|
+
foreignKeyName: "org_invitations_organization_id_fkey";
|
|
2254
|
+
columns: ["organization_id"];
|
|
2249
2255
|
isOneToOne: false;
|
|
2250
|
-
referencedRelation:
|
|
2251
|
-
referencedColumns: [
|
|
2256
|
+
referencedRelation: "organizations";
|
|
2257
|
+
referencedColumns: ["id"];
|
|
2252
2258
|
}
|
|
2253
2259
|
];
|
|
2254
2260
|
};
|
|
@@ -2291,18 +2297,18 @@ type Database = {
|
|
|
2291
2297
|
};
|
|
2292
2298
|
Relationships: [
|
|
2293
2299
|
{
|
|
2294
|
-
foreignKeyName:
|
|
2295
|
-
columns: [
|
|
2300
|
+
foreignKeyName: "org_memberships_organization_id_fkey";
|
|
2301
|
+
columns: ["organization_id"];
|
|
2296
2302
|
isOneToOne: false;
|
|
2297
|
-
referencedRelation:
|
|
2298
|
-
referencedColumns: [
|
|
2303
|
+
referencedRelation: "organizations";
|
|
2304
|
+
referencedColumns: ["id"];
|
|
2299
2305
|
},
|
|
2300
2306
|
{
|
|
2301
|
-
foreignKeyName:
|
|
2302
|
-
columns: [
|
|
2307
|
+
foreignKeyName: "org_memberships_user_id_fkey";
|
|
2308
|
+
columns: ["user_id"];
|
|
2303
2309
|
isOneToOne: false;
|
|
2304
|
-
referencedRelation:
|
|
2305
|
-
referencedColumns: [
|
|
2310
|
+
referencedRelation: "users";
|
|
2311
|
+
referencedColumns: ["id"];
|
|
2306
2312
|
}
|
|
2307
2313
|
];
|
|
2308
2314
|
};
|
|
@@ -2327,25 +2333,25 @@ type Database = {
|
|
|
2327
2333
|
};
|
|
2328
2334
|
Relationships: [
|
|
2329
2335
|
{
|
|
2330
|
-
foreignKeyName:
|
|
2331
|
-
columns: [
|
|
2336
|
+
foreignKeyName: "org_rol_assignments_granted_by_fkey";
|
|
2337
|
+
columns: ["granted_by"];
|
|
2332
2338
|
isOneToOne: false;
|
|
2333
|
-
referencedRelation:
|
|
2334
|
-
referencedColumns: [
|
|
2339
|
+
referencedRelation: "users";
|
|
2340
|
+
referencedColumns: ["id"];
|
|
2335
2341
|
},
|
|
2336
2342
|
{
|
|
2337
|
-
foreignKeyName:
|
|
2338
|
-
columns: [
|
|
2343
|
+
foreignKeyName: "org_rol_assignments_membership_id_fkey";
|
|
2344
|
+
columns: ["membership_id"];
|
|
2339
2345
|
isOneToOne: false;
|
|
2340
|
-
referencedRelation:
|
|
2341
|
-
referencedColumns: [
|
|
2346
|
+
referencedRelation: "org_memberships";
|
|
2347
|
+
referencedColumns: ["id"];
|
|
2342
2348
|
},
|
|
2343
2349
|
{
|
|
2344
|
-
foreignKeyName:
|
|
2345
|
-
columns: [
|
|
2350
|
+
foreignKeyName: "org_rol_assignments_role_id_fkey";
|
|
2351
|
+
columns: ["role_id"];
|
|
2346
2352
|
isOneToOne: false;
|
|
2347
|
-
referencedRelation:
|
|
2348
|
-
referencedColumns: [
|
|
2353
|
+
referencedRelation: "org_rol_definitions";
|
|
2354
|
+
referencedColumns: ["id"];
|
|
2349
2355
|
}
|
|
2350
2356
|
];
|
|
2351
2357
|
};
|
|
@@ -2382,11 +2388,11 @@ type Database = {
|
|
|
2382
2388
|
};
|
|
2383
2389
|
Relationships: [
|
|
2384
2390
|
{
|
|
2385
|
-
foreignKeyName:
|
|
2386
|
-
columns: [
|
|
2391
|
+
foreignKeyName: "org_rol_definitions_organization_id_fkey";
|
|
2392
|
+
columns: ["organization_id"];
|
|
2387
2393
|
isOneToOne: false;
|
|
2388
|
-
referencedRelation:
|
|
2389
|
-
referencedColumns: [
|
|
2394
|
+
referencedRelation: "organizations";
|
|
2395
|
+
referencedColumns: ["id"];
|
|
2390
2396
|
}
|
|
2391
2397
|
];
|
|
2392
2398
|
};
|
|
@@ -2408,18 +2414,18 @@ type Database = {
|
|
|
2408
2414
|
};
|
|
2409
2415
|
Relationships: [
|
|
2410
2416
|
{
|
|
2411
|
-
foreignKeyName:
|
|
2412
|
-
columns: [
|
|
2417
|
+
foreignKeyName: "org_rol_grants_permission_key_fkey";
|
|
2418
|
+
columns: ["permission_key"];
|
|
2413
2419
|
isOneToOne: false;
|
|
2414
|
-
referencedRelation:
|
|
2415
|
-
referencedColumns: [
|
|
2420
|
+
referencedRelation: "org_rol_permissions";
|
|
2421
|
+
referencedColumns: ["key"];
|
|
2416
2422
|
},
|
|
2417
2423
|
{
|
|
2418
|
-
foreignKeyName:
|
|
2419
|
-
columns: [
|
|
2424
|
+
foreignKeyName: "org_rol_grants_role_id_fkey";
|
|
2425
|
+
columns: ["role_id"];
|
|
2420
2426
|
isOneToOne: false;
|
|
2421
|
-
referencedRelation:
|
|
2422
|
-
referencedColumns: [
|
|
2427
|
+
referencedRelation: "org_rol_definitions";
|
|
2428
|
+
referencedColumns: ["id"];
|
|
2423
2429
|
}
|
|
2424
2430
|
];
|
|
2425
2431
|
};
|
|
@@ -2531,25 +2537,25 @@ type Database = {
|
|
|
2531
2537
|
};
|
|
2532
2538
|
Relationships: [
|
|
2533
2539
|
{
|
|
2534
|
-
foreignKeyName:
|
|
2535
|
-
columns: [
|
|
2540
|
+
foreignKeyName: "fk_milestones_project";
|
|
2541
|
+
columns: ["project_id"];
|
|
2536
2542
|
isOneToOne: false;
|
|
2537
|
-
referencedRelation:
|
|
2538
|
-
referencedColumns: [
|
|
2543
|
+
referencedRelation: "prj_projects";
|
|
2544
|
+
referencedColumns: ["id"];
|
|
2539
2545
|
},
|
|
2540
2546
|
{
|
|
2541
|
-
foreignKeyName:
|
|
2542
|
-
columns: [
|
|
2547
|
+
foreignKeyName: "prj_milestones_organization_id_fkey";
|
|
2548
|
+
columns: ["organization_id"];
|
|
2543
2549
|
isOneToOne: false;
|
|
2544
|
-
referencedRelation:
|
|
2545
|
-
referencedColumns: [
|
|
2550
|
+
referencedRelation: "organizations";
|
|
2551
|
+
referencedColumns: ["id"];
|
|
2546
2552
|
},
|
|
2547
2553
|
{
|
|
2548
|
-
foreignKeyName:
|
|
2549
|
-
columns: [
|
|
2554
|
+
foreignKeyName: "prj_milestones_project_id_fkey";
|
|
2555
|
+
columns: ["project_id"];
|
|
2550
2556
|
isOneToOne: false;
|
|
2551
|
-
referencedRelation:
|
|
2552
|
-
referencedColumns: [
|
|
2557
|
+
referencedRelation: "prj_projects";
|
|
2558
|
+
referencedColumns: ["id"];
|
|
2553
2559
|
}
|
|
2554
2560
|
];
|
|
2555
2561
|
};
|
|
@@ -2598,67 +2604,67 @@ type Database = {
|
|
|
2598
2604
|
};
|
|
2599
2605
|
Relationships: [
|
|
2600
2606
|
{
|
|
2601
|
-
foreignKeyName:
|
|
2602
|
-
columns: [
|
|
2607
|
+
foreignKeyName: "fk_notes_created_by";
|
|
2608
|
+
columns: ["created_by"];
|
|
2603
2609
|
isOneToOne: false;
|
|
2604
|
-
referencedRelation:
|
|
2605
|
-
referencedColumns: [
|
|
2610
|
+
referencedRelation: "users";
|
|
2611
|
+
referencedColumns: ["id"];
|
|
2606
2612
|
},
|
|
2607
2613
|
{
|
|
2608
|
-
foreignKeyName:
|
|
2609
|
-
columns: [
|
|
2614
|
+
foreignKeyName: "fk_notes_milestone";
|
|
2615
|
+
columns: ["milestone_id"];
|
|
2610
2616
|
isOneToOne: false;
|
|
2611
|
-
referencedRelation:
|
|
2612
|
-
referencedColumns: [
|
|
2617
|
+
referencedRelation: "prj_milestones";
|
|
2618
|
+
referencedColumns: ["id"];
|
|
2613
2619
|
},
|
|
2614
2620
|
{
|
|
2615
|
-
foreignKeyName:
|
|
2616
|
-
columns: [
|
|
2621
|
+
foreignKeyName: "fk_notes_project";
|
|
2622
|
+
columns: ["project_id"];
|
|
2617
2623
|
isOneToOne: false;
|
|
2618
|
-
referencedRelation:
|
|
2619
|
-
referencedColumns: [
|
|
2624
|
+
referencedRelation: "prj_projects";
|
|
2625
|
+
referencedColumns: ["id"];
|
|
2620
2626
|
},
|
|
2621
2627
|
{
|
|
2622
|
-
foreignKeyName:
|
|
2623
|
-
columns: [
|
|
2628
|
+
foreignKeyName: "fk_notes_task";
|
|
2629
|
+
columns: ["task_id"];
|
|
2624
2630
|
isOneToOne: false;
|
|
2625
|
-
referencedRelation:
|
|
2626
|
-
referencedColumns: [
|
|
2631
|
+
referencedRelation: "prj_tasks";
|
|
2632
|
+
referencedColumns: ["id"];
|
|
2627
2633
|
},
|
|
2628
2634
|
{
|
|
2629
|
-
foreignKeyName:
|
|
2630
|
-
columns: [
|
|
2635
|
+
foreignKeyName: "prj_notes_created_by_fkey";
|
|
2636
|
+
columns: ["created_by"];
|
|
2631
2637
|
isOneToOne: false;
|
|
2632
|
-
referencedRelation:
|
|
2633
|
-
referencedColumns: [
|
|
2638
|
+
referencedRelation: "users";
|
|
2639
|
+
referencedColumns: ["id"];
|
|
2634
2640
|
},
|
|
2635
2641
|
{
|
|
2636
|
-
foreignKeyName:
|
|
2637
|
-
columns: [
|
|
2642
|
+
foreignKeyName: "prj_notes_milestone_id_fkey";
|
|
2643
|
+
columns: ["milestone_id"];
|
|
2638
2644
|
isOneToOne: false;
|
|
2639
|
-
referencedRelation:
|
|
2640
|
-
referencedColumns: [
|
|
2645
|
+
referencedRelation: "prj_milestones";
|
|
2646
|
+
referencedColumns: ["id"];
|
|
2641
2647
|
},
|
|
2642
2648
|
{
|
|
2643
|
-
foreignKeyName:
|
|
2644
|
-
columns: [
|
|
2649
|
+
foreignKeyName: "prj_notes_organization_id_fkey";
|
|
2650
|
+
columns: ["organization_id"];
|
|
2645
2651
|
isOneToOne: false;
|
|
2646
|
-
referencedRelation:
|
|
2647
|
-
referencedColumns: [
|
|
2652
|
+
referencedRelation: "organizations";
|
|
2653
|
+
referencedColumns: ["id"];
|
|
2648
2654
|
},
|
|
2649
2655
|
{
|
|
2650
|
-
foreignKeyName:
|
|
2651
|
-
columns: [
|
|
2656
|
+
foreignKeyName: "prj_notes_project_id_fkey";
|
|
2657
|
+
columns: ["project_id"];
|
|
2652
2658
|
isOneToOne: false;
|
|
2653
|
-
referencedRelation:
|
|
2654
|
-
referencedColumns: [
|
|
2659
|
+
referencedRelation: "prj_projects";
|
|
2660
|
+
referencedColumns: ["id"];
|
|
2655
2661
|
},
|
|
2656
2662
|
{
|
|
2657
|
-
foreignKeyName:
|
|
2658
|
-
columns: [
|
|
2663
|
+
foreignKeyName: "prj_notes_task_id_fkey";
|
|
2664
|
+
columns: ["task_id"];
|
|
2659
2665
|
isOneToOne: false;
|
|
2660
|
-
referencedRelation:
|
|
2661
|
-
referencedColumns: [
|
|
2666
|
+
referencedRelation: "prj_tasks";
|
|
2667
|
+
referencedColumns: ["id"];
|
|
2662
2668
|
}
|
|
2663
2669
|
];
|
|
2664
2670
|
};
|
|
@@ -2716,39 +2722,39 @@ type Database = {
|
|
|
2716
2722
|
};
|
|
2717
2723
|
Relationships: [
|
|
2718
2724
|
{
|
|
2719
|
-
foreignKeyName:
|
|
2720
|
-
columns: [
|
|
2725
|
+
foreignKeyName: "fk_projects_company";
|
|
2726
|
+
columns: ["client_company_id"];
|
|
2721
2727
|
isOneToOne: false;
|
|
2722
|
-
referencedRelation:
|
|
2723
|
-
referencedColumns: [
|
|
2728
|
+
referencedRelation: "acq_companies";
|
|
2729
|
+
referencedColumns: ["id"];
|
|
2724
2730
|
},
|
|
2725
2731
|
{
|
|
2726
|
-
foreignKeyName:
|
|
2727
|
-
columns: [
|
|
2732
|
+
foreignKeyName: "fk_projects_deal";
|
|
2733
|
+
columns: ["deal_id"];
|
|
2728
2734
|
isOneToOne: false;
|
|
2729
|
-
referencedRelation:
|
|
2730
|
-
referencedColumns: [
|
|
2735
|
+
referencedRelation: "acq_deals";
|
|
2736
|
+
referencedColumns: ["id"];
|
|
2731
2737
|
},
|
|
2732
2738
|
{
|
|
2733
|
-
foreignKeyName:
|
|
2734
|
-
columns: [
|
|
2739
|
+
foreignKeyName: "prj_projects_client_company_id_fkey";
|
|
2740
|
+
columns: ["client_company_id"];
|
|
2735
2741
|
isOneToOne: false;
|
|
2736
|
-
referencedRelation:
|
|
2737
|
-
referencedColumns: [
|
|
2742
|
+
referencedRelation: "acq_companies";
|
|
2743
|
+
referencedColumns: ["id"];
|
|
2738
2744
|
},
|
|
2739
2745
|
{
|
|
2740
|
-
foreignKeyName:
|
|
2741
|
-
columns: [
|
|
2746
|
+
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
2747
|
+
columns: ["deal_id"];
|
|
2742
2748
|
isOneToOne: false;
|
|
2743
|
-
referencedRelation:
|
|
2744
|
-
referencedColumns: [
|
|
2749
|
+
referencedRelation: "acq_deals";
|
|
2750
|
+
referencedColumns: ["id"];
|
|
2745
2751
|
},
|
|
2746
2752
|
{
|
|
2747
|
-
foreignKeyName:
|
|
2748
|
-
columns: [
|
|
2753
|
+
foreignKeyName: "prj_projects_organization_id_fkey";
|
|
2754
|
+
columns: ["organization_id"];
|
|
2749
2755
|
isOneToOne: false;
|
|
2750
|
-
referencedRelation:
|
|
2751
|
-
referencedColumns: [
|
|
2756
|
+
referencedRelation: "organizations";
|
|
2757
|
+
referencedColumns: ["id"];
|
|
2752
2758
|
}
|
|
2753
2759
|
];
|
|
2754
2760
|
};
|
|
@@ -2812,53 +2818,53 @@ type Database = {
|
|
|
2812
2818
|
};
|
|
2813
2819
|
Relationships: [
|
|
2814
2820
|
{
|
|
2815
|
-
foreignKeyName:
|
|
2816
|
-
columns: [
|
|
2821
|
+
foreignKeyName: "fk_tasks_milestone";
|
|
2822
|
+
columns: ["milestone_id"];
|
|
2817
2823
|
isOneToOne: false;
|
|
2818
|
-
referencedRelation:
|
|
2819
|
-
referencedColumns: [
|
|
2824
|
+
referencedRelation: "prj_milestones";
|
|
2825
|
+
referencedColumns: ["id"];
|
|
2820
2826
|
},
|
|
2821
2827
|
{
|
|
2822
|
-
foreignKeyName:
|
|
2823
|
-
columns: [
|
|
2828
|
+
foreignKeyName: "fk_tasks_parent";
|
|
2829
|
+
columns: ["parent_task_id"];
|
|
2824
2830
|
isOneToOne: false;
|
|
2825
|
-
referencedRelation:
|
|
2826
|
-
referencedColumns: [
|
|
2831
|
+
referencedRelation: "prj_tasks";
|
|
2832
|
+
referencedColumns: ["id"];
|
|
2827
2833
|
},
|
|
2828
2834
|
{
|
|
2829
|
-
foreignKeyName:
|
|
2830
|
-
columns: [
|
|
2835
|
+
foreignKeyName: "fk_tasks_project";
|
|
2836
|
+
columns: ["project_id"];
|
|
2831
2837
|
isOneToOne: false;
|
|
2832
|
-
referencedRelation:
|
|
2833
|
-
referencedColumns: [
|
|
2838
|
+
referencedRelation: "prj_projects";
|
|
2839
|
+
referencedColumns: ["id"];
|
|
2834
2840
|
},
|
|
2835
2841
|
{
|
|
2836
|
-
foreignKeyName:
|
|
2837
|
-
columns: [
|
|
2842
|
+
foreignKeyName: "prj_tasks_milestone_id_fkey";
|
|
2843
|
+
columns: ["milestone_id"];
|
|
2838
2844
|
isOneToOne: false;
|
|
2839
|
-
referencedRelation:
|
|
2840
|
-
referencedColumns: [
|
|
2845
|
+
referencedRelation: "prj_milestones";
|
|
2846
|
+
referencedColumns: ["id"];
|
|
2841
2847
|
},
|
|
2842
2848
|
{
|
|
2843
|
-
foreignKeyName:
|
|
2844
|
-
columns: [
|
|
2849
|
+
foreignKeyName: "prj_tasks_organization_id_fkey";
|
|
2850
|
+
columns: ["organization_id"];
|
|
2845
2851
|
isOneToOne: false;
|
|
2846
|
-
referencedRelation:
|
|
2847
|
-
referencedColumns: [
|
|
2852
|
+
referencedRelation: "organizations";
|
|
2853
|
+
referencedColumns: ["id"];
|
|
2848
2854
|
},
|
|
2849
2855
|
{
|
|
2850
|
-
foreignKeyName:
|
|
2851
|
-
columns: [
|
|
2856
|
+
foreignKeyName: "prj_tasks_parent_task_id_fkey";
|
|
2857
|
+
columns: ["parent_task_id"];
|
|
2852
2858
|
isOneToOne: false;
|
|
2853
|
-
referencedRelation:
|
|
2854
|
-
referencedColumns: [
|
|
2859
|
+
referencedRelation: "prj_tasks";
|
|
2860
|
+
referencedColumns: ["id"];
|
|
2855
2861
|
},
|
|
2856
2862
|
{
|
|
2857
|
-
foreignKeyName:
|
|
2858
|
-
columns: [
|
|
2863
|
+
foreignKeyName: "prj_tasks_project_id_fkey";
|
|
2864
|
+
columns: ["project_id"];
|
|
2859
2865
|
isOneToOne: false;
|
|
2860
|
-
referencedRelation:
|
|
2861
|
-
referencedColumns: [
|
|
2866
|
+
referencedRelation: "prj_projects";
|
|
2867
|
+
referencedColumns: ["id"];
|
|
2862
2868
|
}
|
|
2863
2869
|
];
|
|
2864
2870
|
};
|
|
@@ -2928,25 +2934,25 @@ type Database = {
|
|
|
2928
2934
|
};
|
|
2929
2935
|
Relationships: [
|
|
2930
2936
|
{
|
|
2931
|
-
foreignKeyName:
|
|
2932
|
-
columns: [
|
|
2937
|
+
foreignKeyName: "reported_requests_organization_id_fkey";
|
|
2938
|
+
columns: ["organization_id"];
|
|
2933
2939
|
isOneToOne: false;
|
|
2934
|
-
referencedRelation:
|
|
2935
|
-
referencedColumns: [
|
|
2940
|
+
referencedRelation: "organizations";
|
|
2941
|
+
referencedColumns: ["id"];
|
|
2936
2942
|
},
|
|
2937
2943
|
{
|
|
2938
|
-
foreignKeyName:
|
|
2939
|
-
columns: [
|
|
2944
|
+
foreignKeyName: "reported_requests_project_id_fkey";
|
|
2945
|
+
columns: ["project_id"];
|
|
2940
2946
|
isOneToOne: false;
|
|
2941
|
-
referencedRelation:
|
|
2942
|
-
referencedColumns: [
|
|
2947
|
+
referencedRelation: "prj_projects";
|
|
2948
|
+
referencedColumns: ["id"];
|
|
2943
2949
|
},
|
|
2944
2950
|
{
|
|
2945
|
-
foreignKeyName:
|
|
2946
|
-
columns: [
|
|
2951
|
+
foreignKeyName: "reported_requests_task_id_fkey";
|
|
2952
|
+
columns: ["task_id"];
|
|
2947
2953
|
isOneToOne: false;
|
|
2948
|
-
referencedRelation:
|
|
2949
|
-
referencedColumns: [
|
|
2954
|
+
referencedRelation: "prj_tasks";
|
|
2955
|
+
referencedColumns: ["id"];
|
|
2950
2956
|
}
|
|
2951
2957
|
];
|
|
2952
2958
|
};
|
|
@@ -2986,11 +2992,11 @@ type Database = {
|
|
|
2986
2992
|
};
|
|
2987
2993
|
Relationships: [
|
|
2988
2994
|
{
|
|
2989
|
-
foreignKeyName:
|
|
2990
|
-
columns: [
|
|
2995
|
+
foreignKeyName: "session_messages_session_id_fkey";
|
|
2996
|
+
columns: ["session_id"];
|
|
2991
2997
|
isOneToOne: false;
|
|
2992
|
-
referencedRelation:
|
|
2993
|
-
referencedColumns: [
|
|
2998
|
+
referencedRelation: "sessions";
|
|
2999
|
+
referencedColumns: ["session_id"];
|
|
2994
3000
|
}
|
|
2995
3001
|
];
|
|
2996
3002
|
};
|
|
@@ -3045,18 +3051,18 @@ type Database = {
|
|
|
3045
3051
|
};
|
|
3046
3052
|
Relationships: [
|
|
3047
3053
|
{
|
|
3048
|
-
foreignKeyName:
|
|
3049
|
-
columns: [
|
|
3054
|
+
foreignKeyName: "fk_organization";
|
|
3055
|
+
columns: ["organization_id"];
|
|
3050
3056
|
isOneToOne: false;
|
|
3051
|
-
referencedRelation:
|
|
3052
|
-
referencedColumns: [
|
|
3057
|
+
referencedRelation: "organizations";
|
|
3058
|
+
referencedColumns: ["id"];
|
|
3053
3059
|
},
|
|
3054
3060
|
{
|
|
3055
|
-
foreignKeyName:
|
|
3056
|
-
columns: [
|
|
3061
|
+
foreignKeyName: "fk_user";
|
|
3062
|
+
columns: ["user_id"];
|
|
3057
3063
|
isOneToOne: false;
|
|
3058
|
-
referencedRelation:
|
|
3059
|
-
referencedColumns: [
|
|
3064
|
+
referencedRelation: "users";
|
|
3065
|
+
referencedColumns: ["id"];
|
|
3060
3066
|
}
|
|
3061
3067
|
];
|
|
3062
3068
|
};
|
|
@@ -3132,11 +3138,11 @@ type Database = {
|
|
|
3132
3138
|
};
|
|
3133
3139
|
Relationships: [
|
|
3134
3140
|
{
|
|
3135
|
-
foreignKeyName:
|
|
3136
|
-
columns: [
|
|
3141
|
+
foreignKeyName: "task_schedules_organization_id_fkey";
|
|
3142
|
+
columns: ["organization_id"];
|
|
3137
3143
|
isOneToOne: false;
|
|
3138
|
-
referencedRelation:
|
|
3139
|
-
referencedColumns: [
|
|
3144
|
+
referencedRelation: "organizations";
|
|
3145
|
+
referencedColumns: ["id"];
|
|
3140
3146
|
}
|
|
3141
3147
|
];
|
|
3142
3148
|
};
|
|
@@ -3191,11 +3197,11 @@ type Database = {
|
|
|
3191
3197
|
};
|
|
3192
3198
|
Relationships: [
|
|
3193
3199
|
{
|
|
3194
|
-
foreignKeyName:
|
|
3195
|
-
columns: [
|
|
3200
|
+
foreignKeyName: "user_profiles_last_visited_org_fkey";
|
|
3201
|
+
columns: ["last_visited_org"];
|
|
3196
3202
|
isOneToOne: false;
|
|
3197
|
-
referencedRelation:
|
|
3198
|
-
referencedColumns: [
|
|
3203
|
+
referencedRelation: "organizations";
|
|
3204
|
+
referencedColumns: ["id"];
|
|
3199
3205
|
}
|
|
3200
3206
|
];
|
|
3201
3207
|
};
|
|
@@ -3244,11 +3250,11 @@ type Database = {
|
|
|
3244
3250
|
};
|
|
3245
3251
|
Relationships: [
|
|
3246
3252
|
{
|
|
3247
|
-
foreignKeyName:
|
|
3248
|
-
columns: [
|
|
3253
|
+
foreignKeyName: "webhook_endpoints_organization_id_fkey";
|
|
3254
|
+
columns: ["organization_id"];
|
|
3249
3255
|
isOneToOne: false;
|
|
3250
|
-
referencedRelation:
|
|
3251
|
-
referencedColumns: [
|
|
3256
|
+
referencedRelation: "organizations";
|
|
3257
|
+
referencedColumns: ["id"];
|
|
3252
3258
|
}
|
|
3253
3259
|
];
|
|
3254
3260
|
};
|
|
@@ -3396,17 +3402,17 @@ type Database = {
|
|
|
3396
3402
|
};
|
|
3397
3403
|
};
|
|
3398
3404
|
};
|
|
3399
|
-
type DatabaseWithoutInternals = Omit<Database,
|
|
3400
|
-
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database,
|
|
3401
|
-
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
3405
|
+
type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
|
|
3406
|
+
type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
|
|
3407
|
+
type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
|
|
3402
3408
|
schema: keyof DatabaseWithoutInternals;
|
|
3403
3409
|
}, TableName extends DefaultSchemaTableNameOrOptions extends {
|
|
3404
3410
|
schema: keyof DatabaseWithoutInternals;
|
|
3405
|
-
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
3411
|
+
} ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
|
|
3406
3412
|
schema: keyof DatabaseWithoutInternals;
|
|
3407
|
-
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions[
|
|
3413
|
+
} ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
|
|
3408
3414
|
Row: infer R;
|
|
3409
|
-
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema[
|
|
3415
|
+
} ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
|
|
3410
3416
|
Row: infer R;
|
|
3411
3417
|
} ? R : never : never;
|
|
3412
3418
|
|
|
@@ -3473,6 +3479,16 @@ interface AgentIterationData {
|
|
|
3473
3479
|
/** Raw database row type for acq_deals table */
|
|
3474
3480
|
type AcqDealRow = Database['public']['Tables']['acq_deals']['Row'];
|
|
3475
3481
|
type DealStage = 'interested' | 'proposal' | 'closing' | 'closed_won' | 'closed_lost' | 'nurturing';
|
|
3482
|
+
type DealPriorityBucketKey = 'needs_response' | 'follow_up_due' | 'waiting' | 'stale' | 'closed_low';
|
|
3483
|
+
interface DealPriority {
|
|
3484
|
+
bucketKey: DealPriorityBucketKey;
|
|
3485
|
+
rank: number;
|
|
3486
|
+
label: string;
|
|
3487
|
+
color: string;
|
|
3488
|
+
reason: string;
|
|
3489
|
+
latestActivityAt: string | null;
|
|
3490
|
+
nextActionAt: string | null;
|
|
3491
|
+
}
|
|
3476
3492
|
interface KanbanStageConfig {
|
|
3477
3493
|
color: string;
|
|
3478
3494
|
label?: string;
|
|
@@ -3507,9 +3523,98 @@ interface DealFilters {
|
|
|
3507
3523
|
}
|
|
3508
3524
|
/** Deal list item with joined contact and company data */
|
|
3509
3525
|
interface DealListItem extends AcqDealRow {
|
|
3526
|
+
priority: DealPriority;
|
|
3527
|
+
ownership: 'us' | 'them' | null;
|
|
3528
|
+
nextAction: string | null;
|
|
3510
3529
|
contact: DealContact | null;
|
|
3511
3530
|
}
|
|
3512
|
-
type DealDetail = DealListItem;
|
|
3531
|
+
type DealDetail$1 = DealListItem;
|
|
3532
|
+
|
|
3533
|
+
/**
|
|
3534
|
+
* Deal detail shape — currently the same as a list item (full joined record).
|
|
3535
|
+
* Additive fields keep existing DealListItem callers compatible.
|
|
3536
|
+
*/
|
|
3537
|
+
declare const DealDetailResponseSchema: z.ZodObject<{
|
|
3538
|
+
id: z.ZodString;
|
|
3539
|
+
organization_id: z.ZodString;
|
|
3540
|
+
contact_id: z.ZodNullable<z.ZodString>;
|
|
3541
|
+
contact_email: z.ZodString;
|
|
3542
|
+
pipeline_key: z.ZodString;
|
|
3543
|
+
stage_key: z.ZodNullable<z.ZodString>;
|
|
3544
|
+
state_key: z.ZodNullable<z.ZodString>;
|
|
3545
|
+
activity_log: z.ZodUnknown;
|
|
3546
|
+
discovery_data: z.ZodNullable<z.ZodUnknown>;
|
|
3547
|
+
discovery_submitted_at: z.ZodNullable<z.ZodString>;
|
|
3548
|
+
discovery_submitted_by: z.ZodNullable<z.ZodString>;
|
|
3549
|
+
proposal_data: z.ZodNullable<z.ZodUnknown>;
|
|
3550
|
+
proposal_sent_at: z.ZodNullable<z.ZodString>;
|
|
3551
|
+
proposal_pdf_url: z.ZodNullable<z.ZodString>;
|
|
3552
|
+
signature_envelope_id: z.ZodNullable<z.ZodString>;
|
|
3553
|
+
source_list_id: z.ZodNullable<z.ZodString>;
|
|
3554
|
+
source_type: z.ZodNullable<z.ZodString>;
|
|
3555
|
+
initial_fee: z.ZodNullable<z.ZodNumber>;
|
|
3556
|
+
monthly_fee: z.ZodNullable<z.ZodNumber>;
|
|
3557
|
+
closed_lost_at: z.ZodNullable<z.ZodString>;
|
|
3558
|
+
closed_lost_reason: z.ZodNullable<z.ZodString>;
|
|
3559
|
+
created_at: z.ZodString;
|
|
3560
|
+
updated_at: z.ZodString;
|
|
3561
|
+
priority: z.ZodObject<{
|
|
3562
|
+
bucketKey: z.ZodEnum<{
|
|
3563
|
+
needs_response: "needs_response";
|
|
3564
|
+
follow_up_due: "follow_up_due";
|
|
3565
|
+
waiting: "waiting";
|
|
3566
|
+
stale: "stale";
|
|
3567
|
+
closed_low: "closed_low";
|
|
3568
|
+
}>;
|
|
3569
|
+
rank: z.ZodNumber;
|
|
3570
|
+
label: z.ZodString;
|
|
3571
|
+
color: z.ZodString;
|
|
3572
|
+
reason: z.ZodString;
|
|
3573
|
+
latestActivityAt: z.ZodNullable<z.ZodString>;
|
|
3574
|
+
nextActionAt: z.ZodNullable<z.ZodString>;
|
|
3575
|
+
}, z.core.$strip>;
|
|
3576
|
+
ownership: z.ZodNullable<z.ZodEnum<{
|
|
3577
|
+
us: "us";
|
|
3578
|
+
them: "them";
|
|
3579
|
+
}>>;
|
|
3580
|
+
nextAction: z.ZodNullable<z.ZodString>;
|
|
3581
|
+
contact: z.ZodNullable<z.ZodObject<{
|
|
3582
|
+
id: z.ZodString;
|
|
3583
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
3584
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
3585
|
+
email: z.ZodString;
|
|
3586
|
+
title: z.ZodNullable<z.ZodString>;
|
|
3587
|
+
headline: z.ZodNullable<z.ZodString>;
|
|
3588
|
+
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
3589
|
+
pipeline_status: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3590
|
+
enrichment_data: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3591
|
+
company: z.ZodNullable<z.ZodObject<{
|
|
3592
|
+
id: z.ZodString;
|
|
3593
|
+
name: z.ZodString;
|
|
3594
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
3595
|
+
website: z.ZodNullable<z.ZodString>;
|
|
3596
|
+
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
3597
|
+
segment: z.ZodNullable<z.ZodString>;
|
|
3598
|
+
category: z.ZodNullable<z.ZodString>;
|
|
3599
|
+
num_employees: z.ZodNullable<z.ZodNumber>;
|
|
3600
|
+
}, z.core.$strip>>;
|
|
3601
|
+
}, z.core.$strip>>;
|
|
3602
|
+
conversation: z.ZodObject<{
|
|
3603
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
3604
|
+
id: z.ZodString;
|
|
3605
|
+
direction: z.ZodEnum<{
|
|
3606
|
+
inbound: "inbound";
|
|
3607
|
+
outbound: "outbound";
|
|
3608
|
+
}>;
|
|
3609
|
+
fromEmail: z.ZodString;
|
|
3610
|
+
toEmail: z.ZodString;
|
|
3611
|
+
subject: z.ZodNullable<z.ZodString>;
|
|
3612
|
+
body: z.ZodString;
|
|
3613
|
+
sentAt: z.ZodNullable<z.ZodString>;
|
|
3614
|
+
}, z.core.$strip>>;
|
|
3615
|
+
}, z.core.$strip>;
|
|
3616
|
+
}, z.core.$strip>;
|
|
3617
|
+
type DealDetailResponse = z.infer<typeof DealDetailResponseSchema>;
|
|
3513
3618
|
|
|
3514
3619
|
/**
|
|
3515
3620
|
* Action configuration for HITL tasks
|
|
@@ -4692,8 +4797,11 @@ interface CardHeaderProps {
|
|
|
4692
4797
|
title: string;
|
|
4693
4798
|
subtitle?: string;
|
|
4694
4799
|
rightSection?: ReactNode;
|
|
4800
|
+
titleOrder?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
4801
|
+
iconColor?: string;
|
|
4802
|
+
mb?: string | number;
|
|
4695
4803
|
}
|
|
4696
|
-
declare function CardHeader({ icon, title, subtitle, rightSection }: CardHeaderProps): react_jsx_runtime.JSX.Element;
|
|
4804
|
+
declare function CardHeader({ icon, title, subtitle, rightSection, titleOrder, iconColor, mb }: CardHeaderProps): react_jsx_runtime.JSX.Element;
|
|
4697
4805
|
|
|
4698
4806
|
/**
|
|
4699
4807
|
* Custom Mantine loader — three ascending chevrons that pulse upward in sequence.
|
|
@@ -4910,6 +5018,8 @@ interface CommandViewGraph$1 {
|
|
|
4910
5018
|
edges: CommandViewEdge$1[];
|
|
4911
5019
|
}
|
|
4912
5020
|
|
|
5021
|
+
type DealDetail = DealDetail$1 & Pick<DealDetailResponse, 'conversation'>;
|
|
5022
|
+
|
|
4913
5023
|
interface CreateApiKeyResponse {
|
|
4914
5024
|
id: string;
|
|
4915
5025
|
key: string;
|
|
@@ -6431,13 +6541,8 @@ declare const Breadcrumbs: (props: BreadcrumbsProps) => react_jsx_runtime.JSX.El
|
|
|
6431
6541
|
interface KanbanBoardProps {
|
|
6432
6542
|
/** Required column configuration. If omitted or empty, the board shows a configuration-required state. */
|
|
6433
6543
|
config: KanbanBoardConfig | null | undefined;
|
|
6434
|
-
/**
|
|
6435
|
-
* Optional render-prop forwarded to the DealDrawer action slot.
|
|
6436
|
-
* Use this to inject consumer-specific actions (e.g. a revision trigger button).
|
|
6437
|
-
*/
|
|
6438
|
-
renderDrawerActions?: () => ReactNode;
|
|
6439
6544
|
}
|
|
6440
|
-
declare function KanbanBoard({ config
|
|
6545
|
+
declare function KanbanBoard({ config }: KanbanBoardProps): react_jsx_runtime.JSX.Element;
|
|
6441
6546
|
|
|
6442
6547
|
interface DealKanbanCardProps {
|
|
6443
6548
|
deal: DealListItem;
|
|
@@ -6456,19 +6561,6 @@ declare const DEAL_STAGES: DealStage[];
|
|
|
6456
6561
|
/** Default Mantine color mapping for each deal stage. */
|
|
6457
6562
|
declare const DEFAULT_KANBAN_CONFIG: KanbanBoardConfig;
|
|
6458
6563
|
|
|
6459
|
-
interface DealDrawerProps {
|
|
6460
|
-
deal: DealListItem | null;
|
|
6461
|
-
config: KanbanBoardConfig | null | undefined;
|
|
6462
|
-
opened: boolean;
|
|
6463
|
-
onClose: () => void;
|
|
6464
|
-
/**
|
|
6465
|
-
* Optional render-prop slot for consumer-specific actions (e.g. a revision
|
|
6466
|
-
* trigger button). Rendered below the summary section.
|
|
6467
|
-
*/
|
|
6468
|
-
renderActions?: () => ReactNode;
|
|
6469
|
-
}
|
|
6470
|
-
declare function DealDrawer({ deal, config, opened, onClose, renderActions }: DealDrawerProps): react_jsx_runtime.JSX.Element | null;
|
|
6471
|
-
|
|
6472
6564
|
interface CrmSidebarProps {
|
|
6473
6565
|
/** Replace the default `CrmSidebarMiddle` with custom middle content. Leave unset for the default layout. */
|
|
6474
6566
|
children?: ReactNode;
|
|
@@ -6775,5 +6867,5 @@ declare const OperationsSidebarMiddle: () => react_jsx_runtime.JSX.Element;
|
|
|
6775
6867
|
|
|
6776
6868
|
declare const operationsManifest: FeatureModule;
|
|
6777
6869
|
|
|
6778
|
-
export { APIErrorAlert, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeySettings, AppErrorBoundary, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CONTAINER_CONSTANTS, Can, CardHeader, CenteredErrorState, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateRoleModal, CreateScheduleModal, CredentialList, CredentialSettings, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealDetailPage,
|
|
6779
|
-
export type { ActivityEntry, ActivityFiltersProps, ActivityTableProps, AppErrorBoundaryProps, BaseEdgeProps, BaseExecutionLogsProps, BreadcrumbsProps, CommandViewGraphRef, ContextViewerProps, CostByModelTableProps, CrashErrorFallbackProps, CreateRoleModalProps, CrmOverviewProps,
|
|
6870
|
+
export { APIErrorAlert, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeySettings, AppErrorBoundary, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CONTAINER_CONSTANTS, Can, CardHeader, CenteredErrorState, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateRoleModal, CreateScheduleModal, CredentialList, CredentialSettings, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealDetailPage, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, EditApiKeyModal, ElevasisLoader, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FeatureUnavailableState, FilterBar, FormFieldRenderer, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, JsonViewer, KanbanBoard, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipFeaturePanel, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NavigationButton, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NoAccessState, NotificationBell, NotificationItem, NotificationList, NotificationPanel, OAuthConnectModal, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationMembershipsList, PIPELINE_FUNNEL_ORDER, PageNotFound, PageTitleCaption, PermissionMatrix, PipelineFunnelWidget, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, QuickCreateActions, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, RichTextEditor, RoleBadge, RunResourceButton, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SHARED_VIZ_CONSTANTS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, SessionMemory, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StyledMarkdown, TabCountBadge, TableSelectionToolbar, TaskCard, TaskScheduler, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, TrendIndicator, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, VisualizerContainer, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, ZodFormRenderer, buildErrorReport, calculateProgress, catalogItemToResourceDefinition, crmManifest, deliveryManifest, formatStatusLabel, getEnrichmentColor, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, getStatusColor, iconMap, leadGenManifest, mdxComponents, milestoneStatusColors, monitoringManifest, noteTypeColors, operationsManifest, projectStatusColors, seoManifest, settingsManifest, showApiErrorNotification, showAuthError, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, taskStatusColors, taskTypeColors, useCrmPipelineSummary, useCrmQuickMetrics, useDeleteLists, useGraphBackgroundStyles, useGraphTheme, useNewKnowledgeMapLayout, useRecentCrmActivity };
|
|
6871
|
+
export type { ActivityEntry, ActivityFiltersProps, ActivityTableProps, AppErrorBoundaryProps, BaseEdgeProps, BaseExecutionLogsProps, BreadcrumbsProps, CommandViewGraphRef, ContextViewerProps, CostByModelTableProps, CrashErrorFallbackProps, CreateRoleModalProps, CrmOverviewProps, DealKanbanCardProps, ErrorAnalysisCardProps, ErrorReportCardProps, ExecutionBreakdownTableProps, ExecutionHealthCardProps, ExecutionLogEntry, ExecutionLogsFiltersProps, ExecutionLogsTableProps, FeatureUnavailableStateProps, FitViewButtonVariant, FormFieldRendererProps, GraphFitViewHandlerProps, JsonViewerProps, KanbanBoardProps, KnowledgeMapEdgeData, KnowledgeMapNodeData, LogLevel, MdxRendererProps, NavigationButtonProps, PermissionRow, ProjectsSidebarMiddleProps, ResourceHealthPanelProps, RichTextEditorProps, RunResourceButtonProps, RunResourceInputResolver, SavedViewPreset, ScheduleType, SerializedKnowledgeMap, SerializedKnowledgeNode, StatCardProps, StyledMarkdownProps, TaskFilterStatus, TrendIndicatorProps, ZodFormRendererProps };
|