@flowselections/floriday-afhandeling-module 1.0.6 → 1.0.7
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-lib/components/afhandeling/LeveringenPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/LeveringenPage.js +23 -2
- package/dist-lib/components/afhandeling/VervoerderForm.d.ts +6 -0
- package/dist-lib/components/afhandeling/VervoerderForm.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/VervoerderForm.js +136 -0
- package/dist-lib/components/afhandeling/VervoerdersPage.d.ts +2 -0
- package/dist-lib/components/afhandeling/VervoerdersPage.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/VervoerdersPage.js +41 -0
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +5 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1288 -21
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1288 -21
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1288 -21
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1299 -7
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +10 -0
- package/dist-lib/lib/carriers.functions.d.ts +20428 -0
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -0
- package/dist-lib/lib/carriers.functions.js +131 -0
- package/dist-lib/lib/countries.d.ts +7 -0
- package/dist-lib/lib/countries.d.ts.map +1 -0
- package/dist-lib/lib/countries.js +47 -0
- package/dist-lib/lib/floriday.functions.d.ts +1290 -22
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +4 -5
- package/package.json +8 -3
|
@@ -223,6 +223,84 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
223
223
|
};
|
|
224
224
|
Relationships: [];
|
|
225
225
|
};
|
|
226
|
+
carrier_shipping_rates: {
|
|
227
|
+
Row: {
|
|
228
|
+
carrier_id: string;
|
|
229
|
+
country_code: string;
|
|
230
|
+
created_at: string;
|
|
231
|
+
id: string;
|
|
232
|
+
price_per_trolley: number;
|
|
233
|
+
};
|
|
234
|
+
Insert: {
|
|
235
|
+
carrier_id: string;
|
|
236
|
+
country_code: string;
|
|
237
|
+
created_at?: string;
|
|
238
|
+
id?: string;
|
|
239
|
+
price_per_trolley: number;
|
|
240
|
+
};
|
|
241
|
+
Update: {
|
|
242
|
+
carrier_id?: string;
|
|
243
|
+
country_code?: string;
|
|
244
|
+
created_at?: string;
|
|
245
|
+
id?: string;
|
|
246
|
+
price_per_trolley?: number;
|
|
247
|
+
};
|
|
248
|
+
Relationships: [{
|
|
249
|
+
foreignKeyName: "carrier_shipping_rates_carrier_id_fkey";
|
|
250
|
+
columns: ["carrier_id"];
|
|
251
|
+
isOneToOne: false;
|
|
252
|
+
referencedRelation: "carriers";
|
|
253
|
+
referencedColumns: ["id"];
|
|
254
|
+
}];
|
|
255
|
+
};
|
|
256
|
+
carriers: {
|
|
257
|
+
Row: {
|
|
258
|
+
address: string | null;
|
|
259
|
+
contact_person: string | null;
|
|
260
|
+
created_at: string;
|
|
261
|
+
delivery_days: number | null;
|
|
262
|
+
email: string | null;
|
|
263
|
+
id: string;
|
|
264
|
+
name: string;
|
|
265
|
+
notes: string | null;
|
|
266
|
+
phone: string | null;
|
|
267
|
+
signup_time_1: string | null;
|
|
268
|
+
signup_time_2: string | null;
|
|
269
|
+
updated_at: string;
|
|
270
|
+
user_id: string;
|
|
271
|
+
};
|
|
272
|
+
Insert: {
|
|
273
|
+
address?: string | null;
|
|
274
|
+
contact_person?: string | null;
|
|
275
|
+
created_at?: string;
|
|
276
|
+
delivery_days?: number | null;
|
|
277
|
+
email?: string | null;
|
|
278
|
+
id?: string;
|
|
279
|
+
name: string;
|
|
280
|
+
notes?: string | null;
|
|
281
|
+
phone?: string | null;
|
|
282
|
+
signup_time_1?: string | null;
|
|
283
|
+
signup_time_2?: string | null;
|
|
284
|
+
updated_at?: string;
|
|
285
|
+
user_id: string;
|
|
286
|
+
};
|
|
287
|
+
Update: {
|
|
288
|
+
address?: string | null;
|
|
289
|
+
contact_person?: string | null;
|
|
290
|
+
created_at?: string;
|
|
291
|
+
delivery_days?: number | null;
|
|
292
|
+
email?: string | null;
|
|
293
|
+
id?: string;
|
|
294
|
+
name?: string;
|
|
295
|
+
notes?: string | null;
|
|
296
|
+
phone?: string | null;
|
|
297
|
+
signup_time_1?: string | null;
|
|
298
|
+
signup_time_2?: string | null;
|
|
299
|
+
updated_at?: string;
|
|
300
|
+
user_id?: string;
|
|
301
|
+
};
|
|
302
|
+
Relationships: [];
|
|
303
|
+
};
|
|
226
304
|
collections: {
|
|
227
305
|
Row: {
|
|
228
306
|
created_at: string;
|
|
@@ -931,6 +1009,99 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
931
1009
|
};
|
|
932
1010
|
Relationships: [];
|
|
933
1011
|
};
|
|
1012
|
+
email_auth_connections: {
|
|
1013
|
+
Row: {
|
|
1014
|
+
access_token_encrypted: string | null;
|
|
1015
|
+
account_email: string | null;
|
|
1016
|
+
client_id_encrypted: string | null;
|
|
1017
|
+
client_secret_encrypted: string | null;
|
|
1018
|
+
created_at: string;
|
|
1019
|
+
created_by: string | null;
|
|
1020
|
+
display_name: string | null;
|
|
1021
|
+
id: string;
|
|
1022
|
+
imap_host: string | null;
|
|
1023
|
+
imap_password_encrypted: string | null;
|
|
1024
|
+
imap_port: number | null;
|
|
1025
|
+
imap_secure: boolean | null;
|
|
1026
|
+
imap_username: string | null;
|
|
1027
|
+
is_active: boolean;
|
|
1028
|
+
last_error: string | null;
|
|
1029
|
+
last_verified_at: string | null;
|
|
1030
|
+
oauth_mode: string | null;
|
|
1031
|
+
provider: string;
|
|
1032
|
+
refresh_token_encrypted: string | null;
|
|
1033
|
+
scopes: string[] | null;
|
|
1034
|
+
smtp_host: string | null;
|
|
1035
|
+
smtp_password_encrypted: string | null;
|
|
1036
|
+
smtp_port: number | null;
|
|
1037
|
+
smtp_secure: boolean | null;
|
|
1038
|
+
smtp_username: string | null;
|
|
1039
|
+
status: string;
|
|
1040
|
+
token_expires_at: string | null;
|
|
1041
|
+
updated_at: string;
|
|
1042
|
+
};
|
|
1043
|
+
Insert: {
|
|
1044
|
+
access_token_encrypted?: string | null;
|
|
1045
|
+
account_email?: string | null;
|
|
1046
|
+
client_id_encrypted?: string | null;
|
|
1047
|
+
client_secret_encrypted?: string | null;
|
|
1048
|
+
created_at?: string;
|
|
1049
|
+
created_by?: string | null;
|
|
1050
|
+
display_name?: string | null;
|
|
1051
|
+
id?: string;
|
|
1052
|
+
imap_host?: string | null;
|
|
1053
|
+
imap_password_encrypted?: string | null;
|
|
1054
|
+
imap_port?: number | null;
|
|
1055
|
+
imap_secure?: boolean | null;
|
|
1056
|
+
imap_username?: string | null;
|
|
1057
|
+
is_active?: boolean;
|
|
1058
|
+
last_error?: string | null;
|
|
1059
|
+
last_verified_at?: string | null;
|
|
1060
|
+
oauth_mode?: string | null;
|
|
1061
|
+
provider: string;
|
|
1062
|
+
refresh_token_encrypted?: string | null;
|
|
1063
|
+
scopes?: string[] | null;
|
|
1064
|
+
smtp_host?: string | null;
|
|
1065
|
+
smtp_password_encrypted?: string | null;
|
|
1066
|
+
smtp_port?: number | null;
|
|
1067
|
+
smtp_secure?: boolean | null;
|
|
1068
|
+
smtp_username?: string | null;
|
|
1069
|
+
status?: string;
|
|
1070
|
+
token_expires_at?: string | null;
|
|
1071
|
+
updated_at?: string;
|
|
1072
|
+
};
|
|
1073
|
+
Update: {
|
|
1074
|
+
access_token_encrypted?: string | null;
|
|
1075
|
+
account_email?: string | null;
|
|
1076
|
+
client_id_encrypted?: string | null;
|
|
1077
|
+
client_secret_encrypted?: string | null;
|
|
1078
|
+
created_at?: string;
|
|
1079
|
+
created_by?: string | null;
|
|
1080
|
+
display_name?: string | null;
|
|
1081
|
+
id?: string;
|
|
1082
|
+
imap_host?: string | null;
|
|
1083
|
+
imap_password_encrypted?: string | null;
|
|
1084
|
+
imap_port?: number | null;
|
|
1085
|
+
imap_secure?: boolean | null;
|
|
1086
|
+
imap_username?: string | null;
|
|
1087
|
+
is_active?: boolean;
|
|
1088
|
+
last_error?: string | null;
|
|
1089
|
+
last_verified_at?: string | null;
|
|
1090
|
+
oauth_mode?: string | null;
|
|
1091
|
+
provider?: string;
|
|
1092
|
+
refresh_token_encrypted?: string | null;
|
|
1093
|
+
scopes?: string[] | null;
|
|
1094
|
+
smtp_host?: string | null;
|
|
1095
|
+
smtp_password_encrypted?: string | null;
|
|
1096
|
+
smtp_port?: number | null;
|
|
1097
|
+
smtp_secure?: boolean | null;
|
|
1098
|
+
smtp_username?: string | null;
|
|
1099
|
+
status?: string;
|
|
1100
|
+
token_expires_at?: string | null;
|
|
1101
|
+
updated_at?: string;
|
|
1102
|
+
};
|
|
1103
|
+
Relationships: [];
|
|
1104
|
+
};
|
|
934
1105
|
exact_account_analytics_cache: {
|
|
935
1106
|
Row: {
|
|
936
1107
|
account_id: string;
|
|
@@ -1289,11 +1460,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1289
1460
|
address_line1: string | null;
|
|
1290
1461
|
address_line2: string | null;
|
|
1291
1462
|
balance: number | null;
|
|
1463
|
+
chamber_of_commerce: string | null;
|
|
1292
1464
|
city: string | null;
|
|
1465
|
+
classification_description: string | null;
|
|
1293
1466
|
connection_id: string;
|
|
1294
1467
|
contact_name: string | null;
|
|
1295
1468
|
country: string | null;
|
|
1469
|
+
created_at_exact: string | null;
|
|
1296
1470
|
credit_line: number | null;
|
|
1471
|
+
currency: string | null;
|
|
1297
1472
|
data_raw: import("./types").Json | null;
|
|
1298
1473
|
email: string | null;
|
|
1299
1474
|
exact_id: string;
|
|
@@ -1302,12 +1477,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1302
1477
|
id: string;
|
|
1303
1478
|
is_sales: boolean | null;
|
|
1304
1479
|
is_supplier: boolean | null;
|
|
1480
|
+
language: string | null;
|
|
1481
|
+
modified_at_exact: string | null;
|
|
1482
|
+
payment_condition_description: string | null;
|
|
1483
|
+
payment_condition_sales: string | null;
|
|
1305
1484
|
phone: string | null;
|
|
1306
1485
|
postal_code: string | null;
|
|
1486
|
+
remarks: string | null;
|
|
1307
1487
|
search_text: string | null;
|
|
1308
1488
|
status: string | null;
|
|
1309
1489
|
updated_at: string;
|
|
1310
1490
|
vat_number: string | null;
|
|
1491
|
+
website: string | null;
|
|
1311
1492
|
};
|
|
1312
1493
|
Insert: {
|
|
1313
1494
|
account_name?: string | null;
|
|
@@ -1315,11 +1496,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1315
1496
|
address_line1?: string | null;
|
|
1316
1497
|
address_line2?: string | null;
|
|
1317
1498
|
balance?: number | null;
|
|
1499
|
+
chamber_of_commerce?: string | null;
|
|
1318
1500
|
city?: string | null;
|
|
1501
|
+
classification_description?: string | null;
|
|
1319
1502
|
connection_id: string;
|
|
1320
1503
|
contact_name?: string | null;
|
|
1321
1504
|
country?: string | null;
|
|
1505
|
+
created_at_exact?: string | null;
|
|
1322
1506
|
credit_line?: number | null;
|
|
1507
|
+
currency?: string | null;
|
|
1323
1508
|
data_raw?: import("./types").Json | null;
|
|
1324
1509
|
email?: string | null;
|
|
1325
1510
|
exact_id: string;
|
|
@@ -1328,12 +1513,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1328
1513
|
id?: string;
|
|
1329
1514
|
is_sales?: boolean | null;
|
|
1330
1515
|
is_supplier?: boolean | null;
|
|
1516
|
+
language?: string | null;
|
|
1517
|
+
modified_at_exact?: string | null;
|
|
1518
|
+
payment_condition_description?: string | null;
|
|
1519
|
+
payment_condition_sales?: string | null;
|
|
1331
1520
|
phone?: string | null;
|
|
1332
1521
|
postal_code?: string | null;
|
|
1522
|
+
remarks?: string | null;
|
|
1333
1523
|
search_text?: string | null;
|
|
1334
1524
|
status?: string | null;
|
|
1335
1525
|
updated_at?: string;
|
|
1336
1526
|
vat_number?: string | null;
|
|
1527
|
+
website?: string | null;
|
|
1337
1528
|
};
|
|
1338
1529
|
Update: {
|
|
1339
1530
|
account_name?: string | null;
|
|
@@ -1341,11 +1532,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1341
1532
|
address_line1?: string | null;
|
|
1342
1533
|
address_line2?: string | null;
|
|
1343
1534
|
balance?: number | null;
|
|
1535
|
+
chamber_of_commerce?: string | null;
|
|
1344
1536
|
city?: string | null;
|
|
1537
|
+
classification_description?: string | null;
|
|
1345
1538
|
connection_id?: string;
|
|
1346
1539
|
contact_name?: string | null;
|
|
1347
1540
|
country?: string | null;
|
|
1541
|
+
created_at_exact?: string | null;
|
|
1348
1542
|
credit_line?: number | null;
|
|
1543
|
+
currency?: string | null;
|
|
1349
1544
|
data_raw?: import("./types").Json | null;
|
|
1350
1545
|
email?: string | null;
|
|
1351
1546
|
exact_id?: string;
|
|
@@ -1354,12 +1549,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1354
1549
|
id?: string;
|
|
1355
1550
|
is_sales?: boolean | null;
|
|
1356
1551
|
is_supplier?: boolean | null;
|
|
1552
|
+
language?: string | null;
|
|
1553
|
+
modified_at_exact?: string | null;
|
|
1554
|
+
payment_condition_description?: string | null;
|
|
1555
|
+
payment_condition_sales?: string | null;
|
|
1357
1556
|
phone?: string | null;
|
|
1358
1557
|
postal_code?: string | null;
|
|
1558
|
+
remarks?: string | null;
|
|
1359
1559
|
search_text?: string | null;
|
|
1360
1560
|
status?: string | null;
|
|
1361
1561
|
updated_at?: string;
|
|
1362
1562
|
vat_number?: string | null;
|
|
1563
|
+
website?: string | null;
|
|
1363
1564
|
};
|
|
1364
1565
|
Relationships: [{
|
|
1365
1566
|
foreignKeyName: "exact_customers_cache_connection_id_fkey";
|
|
@@ -1495,6 +1696,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1495
1696
|
connection_id: string;
|
|
1496
1697
|
data_raw: import("./types").Json | null;
|
|
1497
1698
|
due_date: string | null;
|
|
1699
|
+
entry_id: string | null;
|
|
1498
1700
|
exact_id: string;
|
|
1499
1701
|
expires_at: string | null;
|
|
1500
1702
|
fetched_at: string;
|
|
@@ -1520,6 +1722,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1520
1722
|
connection_id: string;
|
|
1521
1723
|
data_raw?: import("./types").Json | null;
|
|
1522
1724
|
due_date?: string | null;
|
|
1725
|
+
entry_id?: string | null;
|
|
1523
1726
|
exact_id: string;
|
|
1524
1727
|
expires_at?: string | null;
|
|
1525
1728
|
fetched_at?: string;
|
|
@@ -1545,6 +1748,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1545
1748
|
connection_id?: string;
|
|
1546
1749
|
data_raw?: import("./types").Json | null;
|
|
1547
1750
|
due_date?: string | null;
|
|
1751
|
+
entry_id?: string | null;
|
|
1548
1752
|
exact_id?: string;
|
|
1549
1753
|
expires_at?: string | null;
|
|
1550
1754
|
fetched_at?: string;
|
|
@@ -1621,6 +1825,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1621
1825
|
referencedColumns: ["id"];
|
|
1622
1826
|
}];
|
|
1623
1827
|
};
|
|
1828
|
+
exact_refresh_locks: {
|
|
1829
|
+
Row: {
|
|
1830
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
1831
|
+
locked_by: string;
|
|
1832
|
+
locked_until: string;
|
|
1833
|
+
updated_at: string;
|
|
1834
|
+
};
|
|
1835
|
+
Insert: {
|
|
1836
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
1837
|
+
locked_by: string;
|
|
1838
|
+
locked_until: string;
|
|
1839
|
+
updated_at?: string;
|
|
1840
|
+
};
|
|
1841
|
+
Update: {
|
|
1842
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
1843
|
+
locked_by?: string;
|
|
1844
|
+
locked_until?: string;
|
|
1845
|
+
updated_at?: string;
|
|
1846
|
+
};
|
|
1847
|
+
Relationships: [];
|
|
1848
|
+
};
|
|
1624
1849
|
exact_sync_state: {
|
|
1625
1850
|
Row: {
|
|
1626
1851
|
connection_id: string;
|
|
@@ -1795,6 +2020,48 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1795
2020
|
};
|
|
1796
2021
|
Relationships: [];
|
|
1797
2022
|
};
|
|
2023
|
+
floriday_connections_cache: {
|
|
2024
|
+
Row: {
|
|
2025
|
+
buyer_organization_id: string | null;
|
|
2026
|
+
buyer_organization_name: string | null;
|
|
2027
|
+
connection_id: string;
|
|
2028
|
+
data: import("./types").Json;
|
|
2029
|
+
floriday_connection_id: string;
|
|
2030
|
+
is_deleted: boolean;
|
|
2031
|
+
sequence_number: number;
|
|
2032
|
+
status: string | null;
|
|
2033
|
+
synced_at: string;
|
|
2034
|
+
};
|
|
2035
|
+
Insert: {
|
|
2036
|
+
buyer_organization_id?: string | null;
|
|
2037
|
+
buyer_organization_name?: string | null;
|
|
2038
|
+
connection_id: string;
|
|
2039
|
+
data: import("./types").Json;
|
|
2040
|
+
floriday_connection_id: string;
|
|
2041
|
+
is_deleted?: boolean;
|
|
2042
|
+
sequence_number: number;
|
|
2043
|
+
status?: string | null;
|
|
2044
|
+
synced_at?: string;
|
|
2045
|
+
};
|
|
2046
|
+
Update: {
|
|
2047
|
+
buyer_organization_id?: string | null;
|
|
2048
|
+
buyer_organization_name?: string | null;
|
|
2049
|
+
connection_id?: string;
|
|
2050
|
+
data?: import("./types").Json;
|
|
2051
|
+
floriday_connection_id?: string;
|
|
2052
|
+
is_deleted?: boolean;
|
|
2053
|
+
sequence_number?: number;
|
|
2054
|
+
status?: string | null;
|
|
2055
|
+
synced_at?: string;
|
|
2056
|
+
};
|
|
2057
|
+
Relationships: [{
|
|
2058
|
+
foreignKeyName: "floriday_connections_cache_connection_id_fkey";
|
|
2059
|
+
columns: ["connection_id"];
|
|
2060
|
+
isOneToOne: false;
|
|
2061
|
+
referencedRelation: "floriday_connections";
|
|
2062
|
+
referencedColumns: ["id"];
|
|
2063
|
+
}];
|
|
2064
|
+
};
|
|
1798
2065
|
floriday_customers_cache: {
|
|
1799
2066
|
Row: {
|
|
1800
2067
|
connection_id: string | null;
|
|
@@ -1879,6 +2146,48 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1879
2146
|
};
|
|
1880
2147
|
Relationships: [];
|
|
1881
2148
|
};
|
|
2149
|
+
floriday_salesorders_cache: {
|
|
2150
|
+
Row: {
|
|
2151
|
+
buyer_organization_id: string | null;
|
|
2152
|
+
connection_id: string;
|
|
2153
|
+
created_at: string;
|
|
2154
|
+
data: import("./types").Json;
|
|
2155
|
+
floriday_id: string;
|
|
2156
|
+
is_deleted: boolean;
|
|
2157
|
+
sequence_number: number;
|
|
2158
|
+
status: string | null;
|
|
2159
|
+
updated_at: string;
|
|
2160
|
+
};
|
|
2161
|
+
Insert: {
|
|
2162
|
+
buyer_organization_id?: string | null;
|
|
2163
|
+
connection_id: string;
|
|
2164
|
+
created_at?: string;
|
|
2165
|
+
data: import("./types").Json;
|
|
2166
|
+
floriday_id: string;
|
|
2167
|
+
is_deleted?: boolean;
|
|
2168
|
+
sequence_number: number;
|
|
2169
|
+
status?: string | null;
|
|
2170
|
+
updated_at?: string;
|
|
2171
|
+
};
|
|
2172
|
+
Update: {
|
|
2173
|
+
buyer_organization_id?: string | null;
|
|
2174
|
+
connection_id?: string;
|
|
2175
|
+
created_at?: string;
|
|
2176
|
+
data?: import("./types").Json;
|
|
2177
|
+
floriday_id?: string;
|
|
2178
|
+
is_deleted?: boolean;
|
|
2179
|
+
sequence_number?: number;
|
|
2180
|
+
status?: string | null;
|
|
2181
|
+
updated_at?: string;
|
|
2182
|
+
};
|
|
2183
|
+
Relationships: [{
|
|
2184
|
+
foreignKeyName: "floriday_salesorders_cache_connection_id_fkey";
|
|
2185
|
+
columns: ["connection_id"];
|
|
2186
|
+
isOneToOne: false;
|
|
2187
|
+
referencedRelation: "floriday_connections";
|
|
2188
|
+
referencedColumns: ["id"];
|
|
2189
|
+
}];
|
|
2190
|
+
};
|
|
1882
2191
|
floriday_settings: {
|
|
1883
2192
|
Row: {
|
|
1884
2193
|
active_environment: string;
|
|
@@ -1897,6 +2206,108 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1897
2206
|
};
|
|
1898
2207
|
Relationships: [];
|
|
1899
2208
|
};
|
|
2209
|
+
floriday_sync_state: {
|
|
2210
|
+
Row: {
|
|
2211
|
+
connection_id: string;
|
|
2212
|
+
entity_type: string;
|
|
2213
|
+
last_error: string | null;
|
|
2214
|
+
last_sequence_number: number;
|
|
2215
|
+
last_synced_at: string | null;
|
|
2216
|
+
updated_at: string;
|
|
2217
|
+
};
|
|
2218
|
+
Insert: {
|
|
2219
|
+
connection_id: string;
|
|
2220
|
+
entity_type: string;
|
|
2221
|
+
last_error?: string | null;
|
|
2222
|
+
last_sequence_number?: number;
|
|
2223
|
+
last_synced_at?: string | null;
|
|
2224
|
+
updated_at?: string;
|
|
2225
|
+
};
|
|
2226
|
+
Update: {
|
|
2227
|
+
connection_id?: string;
|
|
2228
|
+
entity_type?: string;
|
|
2229
|
+
last_error?: string | null;
|
|
2230
|
+
last_sequence_number?: number;
|
|
2231
|
+
last_synced_at?: string | null;
|
|
2232
|
+
updated_at?: string;
|
|
2233
|
+
};
|
|
2234
|
+
Relationships: [{
|
|
2235
|
+
foreignKeyName: "floriday_sync_state_connection_id_fkey";
|
|
2236
|
+
columns: ["connection_id"];
|
|
2237
|
+
isOneToOne: false;
|
|
2238
|
+
referencedRelation: "floriday_connections";
|
|
2239
|
+
referencedColumns: ["id"];
|
|
2240
|
+
}];
|
|
2241
|
+
};
|
|
2242
|
+
floriday_token_refresh_log: {
|
|
2243
|
+
Row: {
|
|
2244
|
+
attempted_at: string;
|
|
2245
|
+
connection_id: string | null;
|
|
2246
|
+
environment: string;
|
|
2247
|
+
error: string | null;
|
|
2248
|
+
expires_at: string | null;
|
|
2249
|
+
id: string;
|
|
2250
|
+
ok: boolean;
|
|
2251
|
+
};
|
|
2252
|
+
Insert: {
|
|
2253
|
+
attempted_at?: string;
|
|
2254
|
+
connection_id?: string | null;
|
|
2255
|
+
environment: string;
|
|
2256
|
+
error?: string | null;
|
|
2257
|
+
expires_at?: string | null;
|
|
2258
|
+
id?: string;
|
|
2259
|
+
ok: boolean;
|
|
2260
|
+
};
|
|
2261
|
+
Update: {
|
|
2262
|
+
attempted_at?: string;
|
|
2263
|
+
connection_id?: string | null;
|
|
2264
|
+
environment?: string;
|
|
2265
|
+
error?: string | null;
|
|
2266
|
+
expires_at?: string | null;
|
|
2267
|
+
id?: string;
|
|
2268
|
+
ok?: boolean;
|
|
2269
|
+
};
|
|
2270
|
+
Relationships: [{
|
|
2271
|
+
foreignKeyName: "floriday_token_refresh_log_connection_id_fkey";
|
|
2272
|
+
columns: ["connection_id"];
|
|
2273
|
+
isOneToOne: false;
|
|
2274
|
+
referencedRelation: "floriday_connections";
|
|
2275
|
+
referencedColumns: ["id"];
|
|
2276
|
+
}];
|
|
2277
|
+
};
|
|
2278
|
+
floriday_trade_items_cache: {
|
|
2279
|
+
Row: {
|
|
2280
|
+
connection_id: string;
|
|
2281
|
+
data: import("./types").Json;
|
|
2282
|
+
fetched_at: string;
|
|
2283
|
+
floriday_id: string;
|
|
2284
|
+
is_deleted: boolean;
|
|
2285
|
+
sequence_number: number;
|
|
2286
|
+
};
|
|
2287
|
+
Insert: {
|
|
2288
|
+
connection_id: string;
|
|
2289
|
+
data?: import("./types").Json;
|
|
2290
|
+
fetched_at?: string;
|
|
2291
|
+
floriday_id: string;
|
|
2292
|
+
is_deleted?: boolean;
|
|
2293
|
+
sequence_number?: number;
|
|
2294
|
+
};
|
|
2295
|
+
Update: {
|
|
2296
|
+
connection_id?: string;
|
|
2297
|
+
data?: import("./types").Json;
|
|
2298
|
+
fetched_at?: string;
|
|
2299
|
+
floriday_id?: string;
|
|
2300
|
+
is_deleted?: boolean;
|
|
2301
|
+
sequence_number?: number;
|
|
2302
|
+
};
|
|
2303
|
+
Relationships: [{
|
|
2304
|
+
foreignKeyName: "floriday_trade_items_cache_connection_id_fkey";
|
|
2305
|
+
columns: ["connection_id"];
|
|
2306
|
+
isOneToOne: false;
|
|
2307
|
+
referencedRelation: "floriday_connections";
|
|
2308
|
+
referencedColumns: ["id"];
|
|
2309
|
+
}];
|
|
2310
|
+
};
|
|
1900
2311
|
imap_accounts: {
|
|
1901
2312
|
Row: {
|
|
1902
2313
|
created_at: string;
|
|
@@ -3526,35 +3937,197 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3526
3937
|
referencedColumns: ["id"];
|
|
3527
3938
|
}];
|
|
3528
3939
|
};
|
|
3529
|
-
|
|
3940
|
+
quote_activities: {
|
|
3530
3941
|
Row: {
|
|
3531
3942
|
created_at: string;
|
|
3532
|
-
|
|
3943
|
+
event_type: string;
|
|
3533
3944
|
id: string;
|
|
3534
|
-
|
|
3945
|
+
metadata: import("./types").Json;
|
|
3535
3946
|
quote_id: string;
|
|
3536
|
-
|
|
3537
|
-
unit_price: number;
|
|
3947
|
+
user_id: string | null;
|
|
3538
3948
|
};
|
|
3539
3949
|
Insert: {
|
|
3540
3950
|
created_at?: string;
|
|
3541
|
-
|
|
3951
|
+
event_type: string;
|
|
3542
3952
|
id?: string;
|
|
3543
|
-
|
|
3953
|
+
metadata?: import("./types").Json;
|
|
3544
3954
|
quote_id: string;
|
|
3545
|
-
|
|
3546
|
-
unit_price?: number;
|
|
3955
|
+
user_id?: string | null;
|
|
3547
3956
|
};
|
|
3548
3957
|
Update: {
|
|
3958
|
+
created_at?: string;
|
|
3959
|
+
event_type?: string;
|
|
3960
|
+
id?: string;
|
|
3961
|
+
metadata?: import("./types").Json;
|
|
3962
|
+
quote_id?: string;
|
|
3963
|
+
user_id?: string | null;
|
|
3964
|
+
};
|
|
3965
|
+
Relationships: [{
|
|
3966
|
+
foreignKeyName: "quote_activities_quote_id_fkey";
|
|
3967
|
+
columns: ["quote_id"];
|
|
3968
|
+
isOneToOne: false;
|
|
3969
|
+
referencedRelation: "quotes";
|
|
3970
|
+
referencedColumns: ["id"];
|
|
3971
|
+
}];
|
|
3972
|
+
};
|
|
3973
|
+
quote_attachments: {
|
|
3974
|
+
Row: {
|
|
3975
|
+
created_at: string;
|
|
3976
|
+
file_name: string;
|
|
3977
|
+
file_size: number | null;
|
|
3978
|
+
file_url: string;
|
|
3979
|
+
id: string;
|
|
3980
|
+
mime_type: string | null;
|
|
3981
|
+
quote_id: string;
|
|
3982
|
+
};
|
|
3983
|
+
Insert: {
|
|
3984
|
+
created_at?: string;
|
|
3985
|
+
file_name: string;
|
|
3986
|
+
file_size?: number | null;
|
|
3987
|
+
file_url: string;
|
|
3988
|
+
id?: string;
|
|
3989
|
+
mime_type?: string | null;
|
|
3990
|
+
quote_id: string;
|
|
3991
|
+
};
|
|
3992
|
+
Update: {
|
|
3993
|
+
created_at?: string;
|
|
3994
|
+
file_name?: string;
|
|
3995
|
+
file_size?: number | null;
|
|
3996
|
+
file_url?: string;
|
|
3997
|
+
id?: string;
|
|
3998
|
+
mime_type?: string | null;
|
|
3999
|
+
quote_id?: string;
|
|
4000
|
+
};
|
|
4001
|
+
Relationships: [{
|
|
4002
|
+
foreignKeyName: "quote_attachments_quote_id_fkey";
|
|
4003
|
+
columns: ["quote_id"];
|
|
4004
|
+
isOneToOne: false;
|
|
4005
|
+
referencedRelation: "quotes";
|
|
4006
|
+
referencedColumns: ["id"];
|
|
4007
|
+
}];
|
|
4008
|
+
};
|
|
4009
|
+
quote_field_options: {
|
|
4010
|
+
Row: {
|
|
4011
|
+
created_at: string;
|
|
4012
|
+
field_id: string;
|
|
4013
|
+
id: string;
|
|
4014
|
+
label: string;
|
|
4015
|
+
sort_order: number;
|
|
4016
|
+
value: string;
|
|
4017
|
+
};
|
|
4018
|
+
Insert: {
|
|
4019
|
+
created_at?: string;
|
|
4020
|
+
field_id: string;
|
|
4021
|
+
id?: string;
|
|
4022
|
+
label: string;
|
|
4023
|
+
sort_order?: number;
|
|
4024
|
+
value: string;
|
|
4025
|
+
};
|
|
4026
|
+
Update: {
|
|
4027
|
+
created_at?: string;
|
|
4028
|
+
field_id?: string;
|
|
4029
|
+
id?: string;
|
|
4030
|
+
label?: string;
|
|
4031
|
+
sort_order?: number;
|
|
4032
|
+
value?: string;
|
|
4033
|
+
};
|
|
4034
|
+
Relationships: [{
|
|
4035
|
+
foreignKeyName: "quote_field_options_field_id_fkey";
|
|
4036
|
+
columns: ["field_id"];
|
|
4037
|
+
isOneToOne: false;
|
|
4038
|
+
referencedRelation: "quote_field_settings";
|
|
4039
|
+
referencedColumns: ["id"];
|
|
4040
|
+
}];
|
|
4041
|
+
};
|
|
4042
|
+
quote_field_settings: {
|
|
4043
|
+
Row: {
|
|
4044
|
+
created_at: string;
|
|
4045
|
+
default_value: string | null;
|
|
4046
|
+
field_key: string;
|
|
4047
|
+
field_type: string;
|
|
4048
|
+
id: string;
|
|
4049
|
+
is_system: boolean;
|
|
4050
|
+
label: string;
|
|
4051
|
+
required: boolean;
|
|
4052
|
+
sort_order: number;
|
|
4053
|
+
updated_at: string;
|
|
4054
|
+
visible: boolean;
|
|
4055
|
+
};
|
|
4056
|
+
Insert: {
|
|
4057
|
+
created_at?: string;
|
|
4058
|
+
default_value?: string | null;
|
|
4059
|
+
field_key: string;
|
|
4060
|
+
field_type: string;
|
|
4061
|
+
id?: string;
|
|
4062
|
+
is_system?: boolean;
|
|
4063
|
+
label: string;
|
|
4064
|
+
required?: boolean;
|
|
4065
|
+
sort_order?: number;
|
|
4066
|
+
updated_at?: string;
|
|
4067
|
+
visible?: boolean;
|
|
4068
|
+
};
|
|
4069
|
+
Update: {
|
|
4070
|
+
created_at?: string;
|
|
4071
|
+
default_value?: string | null;
|
|
4072
|
+
field_key?: string;
|
|
4073
|
+
field_type?: string;
|
|
4074
|
+
id?: string;
|
|
4075
|
+
is_system?: boolean;
|
|
4076
|
+
label?: string;
|
|
4077
|
+
required?: boolean;
|
|
4078
|
+
sort_order?: number;
|
|
4079
|
+
updated_at?: string;
|
|
4080
|
+
visible?: boolean;
|
|
4081
|
+
};
|
|
4082
|
+
Relationships: [];
|
|
4083
|
+
};
|
|
4084
|
+
quote_items: {
|
|
4085
|
+
Row: {
|
|
4086
|
+
category: string | null;
|
|
4087
|
+
created_at: string;
|
|
4088
|
+
description: string;
|
|
4089
|
+
id: string;
|
|
4090
|
+
line_total: number;
|
|
4091
|
+
module_id: string | null;
|
|
4092
|
+
name: string | null;
|
|
4093
|
+
quantity: number;
|
|
4094
|
+
quote_id: string;
|
|
4095
|
+
sort_order: number;
|
|
4096
|
+
unit_price: number;
|
|
4097
|
+
};
|
|
4098
|
+
Insert: {
|
|
4099
|
+
category?: string | null;
|
|
4100
|
+
created_at?: string;
|
|
4101
|
+
description?: string;
|
|
4102
|
+
id?: string;
|
|
4103
|
+
line_total?: number;
|
|
4104
|
+
module_id?: string | null;
|
|
4105
|
+
name?: string | null;
|
|
4106
|
+
quantity?: number;
|
|
4107
|
+
quote_id: string;
|
|
4108
|
+
sort_order?: number;
|
|
4109
|
+
unit_price?: number;
|
|
4110
|
+
};
|
|
4111
|
+
Update: {
|
|
4112
|
+
category?: string | null;
|
|
3549
4113
|
created_at?: string;
|
|
3550
4114
|
description?: string;
|
|
3551
4115
|
id?: string;
|
|
4116
|
+
line_total?: number;
|
|
4117
|
+
module_id?: string | null;
|
|
4118
|
+
name?: string | null;
|
|
3552
4119
|
quantity?: number;
|
|
3553
4120
|
quote_id?: string;
|
|
3554
4121
|
sort_order?: number;
|
|
3555
4122
|
unit_price?: number;
|
|
3556
4123
|
};
|
|
3557
4124
|
Relationships: [{
|
|
4125
|
+
foreignKeyName: "quote_items_module_id_fkey";
|
|
4126
|
+
columns: ["module_id"];
|
|
4127
|
+
isOneToOne: false;
|
|
4128
|
+
referencedRelation: "quote_modules";
|
|
4129
|
+
referencedColumns: ["id"];
|
|
4130
|
+
}, {
|
|
3558
4131
|
foreignKeyName: "quote_items_quote_id_fkey";
|
|
3559
4132
|
columns: ["quote_id"];
|
|
3560
4133
|
isOneToOne: false;
|
|
@@ -3562,46 +4135,250 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3562
4135
|
referencedColumns: ["id"];
|
|
3563
4136
|
}];
|
|
3564
4137
|
};
|
|
4138
|
+
quote_modules: {
|
|
4139
|
+
Row: {
|
|
4140
|
+
category: string | null;
|
|
4141
|
+
created_at: string;
|
|
4142
|
+
description: string | null;
|
|
4143
|
+
id: string;
|
|
4144
|
+
is_active: boolean;
|
|
4145
|
+
name: string;
|
|
4146
|
+
price: number;
|
|
4147
|
+
sort_order: number;
|
|
4148
|
+
updated_at: string;
|
|
4149
|
+
};
|
|
4150
|
+
Insert: {
|
|
4151
|
+
category?: string | null;
|
|
4152
|
+
created_at?: string;
|
|
4153
|
+
description?: string | null;
|
|
4154
|
+
id?: string;
|
|
4155
|
+
is_active?: boolean;
|
|
4156
|
+
name: string;
|
|
4157
|
+
price?: number;
|
|
4158
|
+
sort_order?: number;
|
|
4159
|
+
updated_at?: string;
|
|
4160
|
+
};
|
|
4161
|
+
Update: {
|
|
4162
|
+
category?: string | null;
|
|
4163
|
+
created_at?: string;
|
|
4164
|
+
description?: string | null;
|
|
4165
|
+
id?: string;
|
|
4166
|
+
is_active?: boolean;
|
|
4167
|
+
name?: string;
|
|
4168
|
+
price?: number;
|
|
4169
|
+
sort_order?: number;
|
|
4170
|
+
updated_at?: string;
|
|
4171
|
+
};
|
|
4172
|
+
Relationships: [];
|
|
4173
|
+
};
|
|
4174
|
+
quote_templates: {
|
|
4175
|
+
Row: {
|
|
4176
|
+
created_at: string;
|
|
4177
|
+
description: string | null;
|
|
4178
|
+
field_values: import("./types").Json;
|
|
4179
|
+
id: string;
|
|
4180
|
+
is_default: boolean;
|
|
4181
|
+
items: import("./types").Json;
|
|
4182
|
+
name: string;
|
|
4183
|
+
updated_at: string;
|
|
4184
|
+
vat_rate: number;
|
|
4185
|
+
};
|
|
4186
|
+
Insert: {
|
|
4187
|
+
created_at?: string;
|
|
4188
|
+
description?: string | null;
|
|
4189
|
+
field_values?: import("./types").Json;
|
|
4190
|
+
id?: string;
|
|
4191
|
+
is_default?: boolean;
|
|
4192
|
+
items?: import("./types").Json;
|
|
4193
|
+
name: string;
|
|
4194
|
+
updated_at?: string;
|
|
4195
|
+
vat_rate?: number;
|
|
4196
|
+
};
|
|
4197
|
+
Update: {
|
|
4198
|
+
created_at?: string;
|
|
4199
|
+
description?: string | null;
|
|
4200
|
+
field_values?: import("./types").Json;
|
|
4201
|
+
id?: string;
|
|
4202
|
+
is_default?: boolean;
|
|
4203
|
+
items?: import("./types").Json;
|
|
4204
|
+
name?: string;
|
|
4205
|
+
updated_at?: string;
|
|
4206
|
+
vat_rate?: number;
|
|
4207
|
+
};
|
|
4208
|
+
Relationships: [];
|
|
4209
|
+
};
|
|
4210
|
+
quote_terms: {
|
|
4211
|
+
Row: {
|
|
4212
|
+
content: string | null;
|
|
4213
|
+
created_at: string;
|
|
4214
|
+
file_url: string | null;
|
|
4215
|
+
id: string;
|
|
4216
|
+
is_active: boolean;
|
|
4217
|
+
name: string;
|
|
4218
|
+
published_at: string | null;
|
|
4219
|
+
updated_at: string;
|
|
4220
|
+
version: string;
|
|
4221
|
+
};
|
|
4222
|
+
Insert: {
|
|
4223
|
+
content?: string | null;
|
|
4224
|
+
created_at?: string;
|
|
4225
|
+
file_url?: string | null;
|
|
4226
|
+
id?: string;
|
|
4227
|
+
is_active?: boolean;
|
|
4228
|
+
name: string;
|
|
4229
|
+
published_at?: string | null;
|
|
4230
|
+
updated_at?: string;
|
|
4231
|
+
version?: string;
|
|
4232
|
+
};
|
|
4233
|
+
Update: {
|
|
4234
|
+
content?: string | null;
|
|
4235
|
+
created_at?: string;
|
|
4236
|
+
file_url?: string | null;
|
|
4237
|
+
id?: string;
|
|
4238
|
+
is_active?: boolean;
|
|
4239
|
+
name?: string;
|
|
4240
|
+
published_at?: string | null;
|
|
4241
|
+
updated_at?: string;
|
|
4242
|
+
version?: string;
|
|
4243
|
+
};
|
|
4244
|
+
Relationships: [];
|
|
4245
|
+
};
|
|
3565
4246
|
quotes: {
|
|
3566
4247
|
Row: {
|
|
4248
|
+
accepted_at: string | null;
|
|
4249
|
+
archived_at: string | null;
|
|
4250
|
+
contact_id: string | null;
|
|
3567
4251
|
created_at: string;
|
|
4252
|
+
customer_id: string | null;
|
|
4253
|
+
discount: number;
|
|
4254
|
+
expires_at: string | null;
|
|
4255
|
+
field_values: import("./types").Json;
|
|
3568
4256
|
id: string;
|
|
3569
4257
|
notes: string | null;
|
|
4258
|
+
owner_id: string | null;
|
|
4259
|
+
personal_message: string | null;
|
|
4260
|
+
project_id: string | null;
|
|
3570
4261
|
prospect_id: string | null;
|
|
4262
|
+
public_token: string;
|
|
3571
4263
|
quote_number: string | null;
|
|
4264
|
+
recipient_email: string | null;
|
|
4265
|
+
recipient_name: string | null;
|
|
4266
|
+
rejected_at: string | null;
|
|
4267
|
+
sent_at: string | null;
|
|
3572
4268
|
status: string;
|
|
4269
|
+
subtotal: number;
|
|
4270
|
+
template_id: string | null;
|
|
4271
|
+
terms_id: string | null;
|
|
3573
4272
|
title: string;
|
|
4273
|
+
total: number;
|
|
3574
4274
|
updated_at: string;
|
|
3575
4275
|
valid_until: string | null;
|
|
4276
|
+
vat_amount: number;
|
|
4277
|
+
vat_rate: number;
|
|
4278
|
+
viewed_at: string | null;
|
|
3576
4279
|
};
|
|
3577
4280
|
Insert: {
|
|
4281
|
+
accepted_at?: string | null;
|
|
4282
|
+
archived_at?: string | null;
|
|
4283
|
+
contact_id?: string | null;
|
|
3578
4284
|
created_at?: string;
|
|
4285
|
+
customer_id?: string | null;
|
|
4286
|
+
discount?: number;
|
|
4287
|
+
expires_at?: string | null;
|
|
4288
|
+
field_values?: import("./types").Json;
|
|
3579
4289
|
id?: string;
|
|
3580
4290
|
notes?: string | null;
|
|
4291
|
+
owner_id?: string | null;
|
|
4292
|
+
personal_message?: string | null;
|
|
4293
|
+
project_id?: string | null;
|
|
3581
4294
|
prospect_id?: string | null;
|
|
4295
|
+
public_token?: string;
|
|
3582
4296
|
quote_number?: string | null;
|
|
4297
|
+
recipient_email?: string | null;
|
|
4298
|
+
recipient_name?: string | null;
|
|
4299
|
+
rejected_at?: string | null;
|
|
4300
|
+
sent_at?: string | null;
|
|
3583
4301
|
status?: string;
|
|
4302
|
+
subtotal?: number;
|
|
4303
|
+
template_id?: string | null;
|
|
4304
|
+
terms_id?: string | null;
|
|
3584
4305
|
title?: string;
|
|
4306
|
+
total?: number;
|
|
3585
4307
|
updated_at?: string;
|
|
3586
4308
|
valid_until?: string | null;
|
|
4309
|
+
vat_amount?: number;
|
|
4310
|
+
vat_rate?: number;
|
|
4311
|
+
viewed_at?: string | null;
|
|
3587
4312
|
};
|
|
3588
4313
|
Update: {
|
|
4314
|
+
accepted_at?: string | null;
|
|
4315
|
+
archived_at?: string | null;
|
|
4316
|
+
contact_id?: string | null;
|
|
3589
4317
|
created_at?: string;
|
|
4318
|
+
customer_id?: string | null;
|
|
4319
|
+
discount?: number;
|
|
4320
|
+
expires_at?: string | null;
|
|
4321
|
+
field_values?: import("./types").Json;
|
|
3590
4322
|
id?: string;
|
|
3591
4323
|
notes?: string | null;
|
|
4324
|
+
owner_id?: string | null;
|
|
4325
|
+
personal_message?: string | null;
|
|
4326
|
+
project_id?: string | null;
|
|
3592
4327
|
prospect_id?: string | null;
|
|
4328
|
+
public_token?: string;
|
|
3593
4329
|
quote_number?: string | null;
|
|
4330
|
+
recipient_email?: string | null;
|
|
4331
|
+
recipient_name?: string | null;
|
|
4332
|
+
rejected_at?: string | null;
|
|
4333
|
+
sent_at?: string | null;
|
|
3594
4334
|
status?: string;
|
|
4335
|
+
subtotal?: number;
|
|
4336
|
+
template_id?: string | null;
|
|
4337
|
+
terms_id?: string | null;
|
|
3595
4338
|
title?: string;
|
|
4339
|
+
total?: number;
|
|
3596
4340
|
updated_at?: string;
|
|
3597
4341
|
valid_until?: string | null;
|
|
4342
|
+
vat_amount?: number;
|
|
4343
|
+
vat_rate?: number;
|
|
4344
|
+
viewed_at?: string | null;
|
|
3598
4345
|
};
|
|
3599
4346
|
Relationships: [{
|
|
4347
|
+
foreignKeyName: "quotes_contact_id_fkey";
|
|
4348
|
+
columns: ["contact_id"];
|
|
4349
|
+
isOneToOne: false;
|
|
4350
|
+
referencedRelation: "customer_contacts";
|
|
4351
|
+
referencedColumns: ["id"];
|
|
4352
|
+
}, {
|
|
4353
|
+
foreignKeyName: "quotes_customer_id_fkey";
|
|
4354
|
+
columns: ["customer_id"];
|
|
4355
|
+
isOneToOne: false;
|
|
4356
|
+
referencedRelation: "customers";
|
|
4357
|
+
referencedColumns: ["id"];
|
|
4358
|
+
}, {
|
|
4359
|
+
foreignKeyName: "quotes_project_id_fkey";
|
|
4360
|
+
columns: ["project_id"];
|
|
4361
|
+
isOneToOne: false;
|
|
4362
|
+
referencedRelation: "projects";
|
|
4363
|
+
referencedColumns: ["id"];
|
|
4364
|
+
}, {
|
|
3600
4365
|
foreignKeyName: "quotes_prospect_id_fkey";
|
|
3601
4366
|
columns: ["prospect_id"];
|
|
3602
4367
|
isOneToOne: false;
|
|
3603
4368
|
referencedRelation: "prospects";
|
|
3604
4369
|
referencedColumns: ["id"];
|
|
4370
|
+
}, {
|
|
4371
|
+
foreignKeyName: "quotes_template_id_fkey";
|
|
4372
|
+
columns: ["template_id"];
|
|
4373
|
+
isOneToOne: false;
|
|
4374
|
+
referencedRelation: "quote_templates";
|
|
4375
|
+
referencedColumns: ["id"];
|
|
4376
|
+
}, {
|
|
4377
|
+
foreignKeyName: "quotes_terms_id_fkey";
|
|
4378
|
+
columns: ["terms_id"];
|
|
4379
|
+
isOneToOne: false;
|
|
4380
|
+
referencedRelation: "quote_terms";
|
|
4381
|
+
referencedColumns: ["id"];
|
|
3605
4382
|
}];
|
|
3606
4383
|
};
|
|
3607
4384
|
supplier_products: {
|
|
@@ -3724,35 +4501,441 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3724
4501
|
};
|
|
3725
4502
|
Relationships: [];
|
|
3726
4503
|
};
|
|
3727
|
-
|
|
4504
|
+
twinfield_credentials: {
|
|
3728
4505
|
Row: {
|
|
4506
|
+
administration_code: string | null;
|
|
4507
|
+
client_id: string | null;
|
|
4508
|
+
client_secret: string | null;
|
|
4509
|
+
cluster: string | null;
|
|
4510
|
+
connected_at: string | null;
|
|
3729
4511
|
created_at: string;
|
|
4512
|
+
environment: string | null;
|
|
3730
4513
|
id: string;
|
|
3731
|
-
|
|
4514
|
+
redirect_uri: string | null;
|
|
4515
|
+
refresh_token: string | null;
|
|
4516
|
+
updated_at: string;
|
|
3732
4517
|
user_id: string;
|
|
3733
4518
|
};
|
|
3734
4519
|
Insert: {
|
|
4520
|
+
administration_code?: string | null;
|
|
4521
|
+
client_id?: string | null;
|
|
4522
|
+
client_secret?: string | null;
|
|
4523
|
+
cluster?: string | null;
|
|
4524
|
+
connected_at?: string | null;
|
|
3735
4525
|
created_at?: string;
|
|
4526
|
+
environment?: string | null;
|
|
3736
4527
|
id?: string;
|
|
3737
|
-
|
|
4528
|
+
redirect_uri?: string | null;
|
|
4529
|
+
refresh_token?: string | null;
|
|
4530
|
+
updated_at?: string;
|
|
3738
4531
|
user_id: string;
|
|
3739
4532
|
};
|
|
3740
4533
|
Update: {
|
|
4534
|
+
administration_code?: string | null;
|
|
4535
|
+
client_id?: string | null;
|
|
4536
|
+
client_secret?: string | null;
|
|
4537
|
+
cluster?: string | null;
|
|
4538
|
+
connected_at?: string | null;
|
|
3741
4539
|
created_at?: string;
|
|
4540
|
+
environment?: string | null;
|
|
3742
4541
|
id?: string;
|
|
3743
|
-
|
|
4542
|
+
redirect_uri?: string | null;
|
|
4543
|
+
refresh_token?: string | null;
|
|
4544
|
+
updated_at?: string;
|
|
3744
4545
|
user_id?: string;
|
|
3745
4546
|
};
|
|
3746
|
-
Relationships: [
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
4547
|
+
Relationships: [];
|
|
4548
|
+
};
|
|
4549
|
+
twinfield_customers: {
|
|
4550
|
+
Row: {
|
|
4551
|
+
address: string | null;
|
|
4552
|
+
city: string | null;
|
|
4553
|
+
country: string | null;
|
|
4554
|
+
created_at: string;
|
|
4555
|
+
email: string | null;
|
|
4556
|
+
id: string;
|
|
4557
|
+
last_synced_at: string | null;
|
|
4558
|
+
name: string;
|
|
4559
|
+
phone: string | null;
|
|
4560
|
+
postal_code: string | null;
|
|
4561
|
+
status: string;
|
|
4562
|
+
sync_error: string | null;
|
|
4563
|
+
sync_status: string;
|
|
4564
|
+
twinfield_code: string | null;
|
|
4565
|
+
updated_at: string;
|
|
4566
|
+
user_id: string;
|
|
4567
|
+
};
|
|
4568
|
+
Insert: {
|
|
4569
|
+
address?: string | null;
|
|
4570
|
+
city?: string | null;
|
|
4571
|
+
country?: string | null;
|
|
4572
|
+
created_at?: string;
|
|
4573
|
+
email?: string | null;
|
|
4574
|
+
id?: string;
|
|
4575
|
+
last_synced_at?: string | null;
|
|
4576
|
+
name: string;
|
|
4577
|
+
phone?: string | null;
|
|
4578
|
+
postal_code?: string | null;
|
|
4579
|
+
status?: string;
|
|
4580
|
+
sync_error?: string | null;
|
|
4581
|
+
sync_status?: string;
|
|
4582
|
+
twinfield_code?: string | null;
|
|
4583
|
+
updated_at?: string;
|
|
4584
|
+
user_id: string;
|
|
4585
|
+
};
|
|
4586
|
+
Update: {
|
|
4587
|
+
address?: string | null;
|
|
4588
|
+
city?: string | null;
|
|
4589
|
+
country?: string | null;
|
|
4590
|
+
created_at?: string;
|
|
4591
|
+
email?: string | null;
|
|
4592
|
+
id?: string;
|
|
4593
|
+
last_synced_at?: string | null;
|
|
4594
|
+
name?: string;
|
|
4595
|
+
phone?: string | null;
|
|
4596
|
+
postal_code?: string | null;
|
|
4597
|
+
status?: string;
|
|
4598
|
+
sync_error?: string | null;
|
|
4599
|
+
sync_status?: string;
|
|
4600
|
+
twinfield_code?: string | null;
|
|
4601
|
+
updated_at?: string;
|
|
4602
|
+
user_id?: string;
|
|
4603
|
+
};
|
|
4604
|
+
Relationships: [];
|
|
4605
|
+
};
|
|
4606
|
+
twinfield_invoice_lines: {
|
|
4607
|
+
Row: {
|
|
4608
|
+
article_code: string | null;
|
|
4609
|
+
created_at: string;
|
|
4610
|
+
description: string | null;
|
|
4611
|
+
gl_account: string | null;
|
|
4612
|
+
id: string;
|
|
4613
|
+
invoice_id: string;
|
|
4614
|
+
line_number: number | null;
|
|
4615
|
+
line_total: number;
|
|
4616
|
+
quantity: number;
|
|
4617
|
+
unit_price: number;
|
|
4618
|
+
user_id: string;
|
|
4619
|
+
vat_code: string | null;
|
|
4620
|
+
vat_rate: number;
|
|
4621
|
+
};
|
|
4622
|
+
Insert: {
|
|
4623
|
+
article_code?: string | null;
|
|
4624
|
+
created_at?: string;
|
|
4625
|
+
description?: string | null;
|
|
4626
|
+
gl_account?: string | null;
|
|
4627
|
+
id?: string;
|
|
4628
|
+
invoice_id: string;
|
|
4629
|
+
line_number?: number | null;
|
|
4630
|
+
line_total?: number;
|
|
4631
|
+
quantity?: number;
|
|
4632
|
+
unit_price?: number;
|
|
4633
|
+
user_id: string;
|
|
4634
|
+
vat_code?: string | null;
|
|
4635
|
+
vat_rate?: number;
|
|
4636
|
+
};
|
|
4637
|
+
Update: {
|
|
4638
|
+
article_code?: string | null;
|
|
4639
|
+
created_at?: string;
|
|
4640
|
+
description?: string | null;
|
|
4641
|
+
gl_account?: string | null;
|
|
4642
|
+
id?: string;
|
|
4643
|
+
invoice_id?: string;
|
|
4644
|
+
line_number?: number | null;
|
|
4645
|
+
line_total?: number;
|
|
4646
|
+
quantity?: number;
|
|
4647
|
+
unit_price?: number;
|
|
4648
|
+
user_id?: string;
|
|
4649
|
+
vat_code?: string | null;
|
|
4650
|
+
vat_rate?: number;
|
|
4651
|
+
};
|
|
4652
|
+
Relationships: [{
|
|
4653
|
+
foreignKeyName: "twinfield_invoice_lines_invoice_id_fkey";
|
|
4654
|
+
columns: ["invoice_id"];
|
|
4655
|
+
isOneToOne: false;
|
|
4656
|
+
referencedRelation: "twinfield_invoices";
|
|
4657
|
+
referencedColumns: ["id"];
|
|
4658
|
+
}];
|
|
4659
|
+
};
|
|
4660
|
+
twinfield_invoice_settings: {
|
|
4661
|
+
Row: {
|
|
4662
|
+
created_at: string;
|
|
4663
|
+
default_gl_account: string;
|
|
4664
|
+
default_invoice_type: string;
|
|
4665
|
+
default_payment_term_days: number;
|
|
4666
|
+
default_vat_code: string;
|
|
4667
|
+
updated_at: string;
|
|
4668
|
+
user_id: string;
|
|
4669
|
+
};
|
|
4670
|
+
Insert: {
|
|
4671
|
+
created_at?: string;
|
|
4672
|
+
default_gl_account?: string;
|
|
4673
|
+
default_invoice_type?: string;
|
|
4674
|
+
default_payment_term_days?: number;
|
|
4675
|
+
default_vat_code?: string;
|
|
4676
|
+
updated_at?: string;
|
|
4677
|
+
user_id: string;
|
|
4678
|
+
};
|
|
4679
|
+
Update: {
|
|
4680
|
+
created_at?: string;
|
|
4681
|
+
default_gl_account?: string;
|
|
4682
|
+
default_invoice_type?: string;
|
|
4683
|
+
default_payment_term_days?: number;
|
|
4684
|
+
default_vat_code?: string;
|
|
4685
|
+
updated_at?: string;
|
|
4686
|
+
user_id?: string;
|
|
4687
|
+
};
|
|
4688
|
+
Relationships: [];
|
|
4689
|
+
};
|
|
4690
|
+
twinfield_invoice_sync_logs: {
|
|
4691
|
+
Row: {
|
|
4692
|
+
created_at: string;
|
|
4693
|
+
details: import("./types").Json | null;
|
|
4694
|
+
duration_ms: number | null;
|
|
4695
|
+
id: string;
|
|
4696
|
+
invoice_lines_fetched: number | null;
|
|
4697
|
+
invoices_fetched: number | null;
|
|
4698
|
+
message: string | null;
|
|
4699
|
+
status: string;
|
|
4700
|
+
step: string | null;
|
|
4701
|
+
user_id: string;
|
|
4702
|
+
};
|
|
4703
|
+
Insert: {
|
|
4704
|
+
created_at?: string;
|
|
4705
|
+
details?: import("./types").Json | null;
|
|
4706
|
+
duration_ms?: number | null;
|
|
4707
|
+
id?: string;
|
|
4708
|
+
invoice_lines_fetched?: number | null;
|
|
4709
|
+
invoices_fetched?: number | null;
|
|
4710
|
+
message?: string | null;
|
|
4711
|
+
status: string;
|
|
4712
|
+
step?: string | null;
|
|
4713
|
+
user_id: string;
|
|
4714
|
+
};
|
|
4715
|
+
Update: {
|
|
4716
|
+
created_at?: string;
|
|
4717
|
+
details?: import("./types").Json | null;
|
|
4718
|
+
duration_ms?: number | null;
|
|
4719
|
+
id?: string;
|
|
4720
|
+
invoice_lines_fetched?: number | null;
|
|
4721
|
+
invoices_fetched?: number | null;
|
|
4722
|
+
message?: string | null;
|
|
4723
|
+
status?: string;
|
|
4724
|
+
step?: string | null;
|
|
4725
|
+
user_id?: string;
|
|
4726
|
+
};
|
|
4727
|
+
Relationships: [];
|
|
4728
|
+
};
|
|
4729
|
+
twinfield_invoices: {
|
|
4730
|
+
Row: {
|
|
4731
|
+
administration_code: string | null;
|
|
4732
|
+
created_at: string;
|
|
4733
|
+
currency: string | null;
|
|
4734
|
+
customer_code: string | null;
|
|
4735
|
+
customer_email: string | null;
|
|
4736
|
+
customer_name: string | null;
|
|
4737
|
+
customer_phone: string | null;
|
|
4738
|
+
due_date: string | null;
|
|
4739
|
+
id: string;
|
|
4740
|
+
invoice_date: string | null;
|
|
4741
|
+
last_synced_at: string;
|
|
4742
|
+
local_invoice_number: string | null;
|
|
4743
|
+
outstanding_amount: number;
|
|
4744
|
+
paid_amount: number;
|
|
4745
|
+
payment_date: string | null;
|
|
4746
|
+
raw_payload: import("./types").Json | null;
|
|
4747
|
+
status: string;
|
|
4748
|
+
subtotal: number;
|
|
4749
|
+
sync_error: string | null;
|
|
4750
|
+
sync_status: string;
|
|
4751
|
+
total: number;
|
|
4752
|
+
twinfield_invoice_number: string;
|
|
4753
|
+
twinfield_transaction_number: string | null;
|
|
4754
|
+
updated_at: string;
|
|
4755
|
+
user_id: string;
|
|
4756
|
+
vat_amount: number;
|
|
4757
|
+
};
|
|
4758
|
+
Insert: {
|
|
4759
|
+
administration_code?: string | null;
|
|
4760
|
+
created_at?: string;
|
|
4761
|
+
currency?: string | null;
|
|
4762
|
+
customer_code?: string | null;
|
|
4763
|
+
customer_email?: string | null;
|
|
4764
|
+
customer_name?: string | null;
|
|
4765
|
+
customer_phone?: string | null;
|
|
4766
|
+
due_date?: string | null;
|
|
4767
|
+
id?: string;
|
|
4768
|
+
invoice_date?: string | null;
|
|
4769
|
+
last_synced_at?: string;
|
|
4770
|
+
local_invoice_number?: string | null;
|
|
4771
|
+
outstanding_amount?: number;
|
|
4772
|
+
paid_amount?: number;
|
|
4773
|
+
payment_date?: string | null;
|
|
4774
|
+
raw_payload?: import("./types").Json | null;
|
|
4775
|
+
status?: string;
|
|
4776
|
+
subtotal?: number;
|
|
4777
|
+
sync_error?: string | null;
|
|
4778
|
+
sync_status?: string;
|
|
4779
|
+
total?: number;
|
|
4780
|
+
twinfield_invoice_number: string;
|
|
4781
|
+
twinfield_transaction_number?: string | null;
|
|
4782
|
+
updated_at?: string;
|
|
4783
|
+
user_id: string;
|
|
4784
|
+
vat_amount?: number;
|
|
4785
|
+
};
|
|
4786
|
+
Update: {
|
|
4787
|
+
administration_code?: string | null;
|
|
4788
|
+
created_at?: string;
|
|
4789
|
+
currency?: string | null;
|
|
4790
|
+
customer_code?: string | null;
|
|
4791
|
+
customer_email?: string | null;
|
|
4792
|
+
customer_name?: string | null;
|
|
4793
|
+
customer_phone?: string | null;
|
|
4794
|
+
due_date?: string | null;
|
|
4795
|
+
id?: string;
|
|
4796
|
+
invoice_date?: string | null;
|
|
4797
|
+
last_synced_at?: string;
|
|
4798
|
+
local_invoice_number?: string | null;
|
|
4799
|
+
outstanding_amount?: number;
|
|
4800
|
+
paid_amount?: number;
|
|
4801
|
+
payment_date?: string | null;
|
|
4802
|
+
raw_payload?: import("./types").Json | null;
|
|
4803
|
+
status?: string;
|
|
4804
|
+
subtotal?: number;
|
|
4805
|
+
sync_error?: string | null;
|
|
4806
|
+
sync_status?: string;
|
|
4807
|
+
total?: number;
|
|
4808
|
+
twinfield_invoice_number?: string;
|
|
4809
|
+
twinfield_transaction_number?: string | null;
|
|
4810
|
+
updated_at?: string;
|
|
4811
|
+
user_id?: string;
|
|
4812
|
+
vat_amount?: number;
|
|
4813
|
+
};
|
|
4814
|
+
Relationships: [];
|
|
4815
|
+
};
|
|
4816
|
+
user_roles: {
|
|
4817
|
+
Row: {
|
|
4818
|
+
created_at: string;
|
|
4819
|
+
id: string;
|
|
4820
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
4821
|
+
user_id: string;
|
|
4822
|
+
};
|
|
4823
|
+
Insert: {
|
|
4824
|
+
created_at?: string;
|
|
4825
|
+
id?: string;
|
|
4826
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
4827
|
+
user_id: string;
|
|
4828
|
+
};
|
|
4829
|
+
Update: {
|
|
4830
|
+
created_at?: string;
|
|
4831
|
+
id?: string;
|
|
4832
|
+
role?: Database["public"]["Enums"]["app_role"];
|
|
4833
|
+
user_id?: string;
|
|
4834
|
+
};
|
|
4835
|
+
Relationships: [{
|
|
4836
|
+
foreignKeyName: "user_roles_user_id_fkey";
|
|
4837
|
+
columns: ["user_id"];
|
|
4838
|
+
isOneToOne: false;
|
|
4839
|
+
referencedRelation: "profiles";
|
|
4840
|
+
referencedColumns: ["id"];
|
|
4841
|
+
}];
|
|
4842
|
+
};
|
|
4843
|
+
};
|
|
4844
|
+
Views: {
|
|
4845
|
+
email_auth_connections_safe: {
|
|
4846
|
+
Row: {
|
|
4847
|
+
account_email: string | null;
|
|
4848
|
+
created_at: string | null;
|
|
4849
|
+
created_by: string | null;
|
|
4850
|
+
display_name: string | null;
|
|
4851
|
+
has_access_token: boolean | null;
|
|
4852
|
+
has_client_id: boolean | null;
|
|
4853
|
+
has_client_secret: boolean | null;
|
|
4854
|
+
has_imap_password: boolean | null;
|
|
4855
|
+
has_refresh_token: boolean | null;
|
|
4856
|
+
has_smtp_password: boolean | null;
|
|
4857
|
+
id: string | null;
|
|
4858
|
+
imap_host: string | null;
|
|
4859
|
+
imap_port: number | null;
|
|
4860
|
+
imap_secure: boolean | null;
|
|
4861
|
+
imap_username: string | null;
|
|
4862
|
+
is_active: boolean | null;
|
|
4863
|
+
last_error: string | null;
|
|
4864
|
+
last_verified_at: string | null;
|
|
4865
|
+
oauth_mode: string | null;
|
|
4866
|
+
provider: string | null;
|
|
4867
|
+
scopes: string[] | null;
|
|
4868
|
+
smtp_host: string | null;
|
|
4869
|
+
smtp_port: number | null;
|
|
4870
|
+
smtp_secure: boolean | null;
|
|
4871
|
+
smtp_username: string | null;
|
|
4872
|
+
status: string | null;
|
|
4873
|
+
token_expires_at: string | null;
|
|
4874
|
+
updated_at: string | null;
|
|
4875
|
+
};
|
|
4876
|
+
Insert: {
|
|
4877
|
+
account_email?: string | null;
|
|
4878
|
+
created_at?: string | null;
|
|
4879
|
+
created_by?: string | null;
|
|
4880
|
+
display_name?: string | null;
|
|
4881
|
+
has_access_token?: never;
|
|
4882
|
+
has_client_id?: never;
|
|
4883
|
+
has_client_secret?: never;
|
|
4884
|
+
has_imap_password?: never;
|
|
4885
|
+
has_refresh_token?: never;
|
|
4886
|
+
has_smtp_password?: never;
|
|
4887
|
+
id?: string | null;
|
|
4888
|
+
imap_host?: string | null;
|
|
4889
|
+
imap_port?: number | null;
|
|
4890
|
+
imap_secure?: boolean | null;
|
|
4891
|
+
imap_username?: string | null;
|
|
4892
|
+
is_active?: boolean | null;
|
|
4893
|
+
last_error?: string | null;
|
|
4894
|
+
last_verified_at?: string | null;
|
|
4895
|
+
oauth_mode?: string | null;
|
|
4896
|
+
provider?: string | null;
|
|
4897
|
+
scopes?: string[] | null;
|
|
4898
|
+
smtp_host?: string | null;
|
|
4899
|
+
smtp_port?: number | null;
|
|
4900
|
+
smtp_secure?: boolean | null;
|
|
4901
|
+
smtp_username?: string | null;
|
|
4902
|
+
status?: string | null;
|
|
4903
|
+
token_expires_at?: string | null;
|
|
4904
|
+
updated_at?: string | null;
|
|
4905
|
+
};
|
|
4906
|
+
Update: {
|
|
4907
|
+
account_email?: string | null;
|
|
4908
|
+
created_at?: string | null;
|
|
4909
|
+
created_by?: string | null;
|
|
4910
|
+
display_name?: string | null;
|
|
4911
|
+
has_access_token?: never;
|
|
4912
|
+
has_client_id?: never;
|
|
4913
|
+
has_client_secret?: never;
|
|
4914
|
+
has_imap_password?: never;
|
|
4915
|
+
has_refresh_token?: never;
|
|
4916
|
+
has_smtp_password?: never;
|
|
4917
|
+
id?: string | null;
|
|
4918
|
+
imap_host?: string | null;
|
|
4919
|
+
imap_port?: number | null;
|
|
4920
|
+
imap_secure?: boolean | null;
|
|
4921
|
+
imap_username?: string | null;
|
|
4922
|
+
is_active?: boolean | null;
|
|
4923
|
+
last_error?: string | null;
|
|
4924
|
+
last_verified_at?: string | null;
|
|
4925
|
+
oauth_mode?: string | null;
|
|
4926
|
+
provider?: string | null;
|
|
4927
|
+
scopes?: string[] | null;
|
|
4928
|
+
smtp_host?: string | null;
|
|
4929
|
+
smtp_port?: number | null;
|
|
4930
|
+
smtp_secure?: boolean | null;
|
|
4931
|
+
smtp_username?: string | null;
|
|
4932
|
+
status?: string | null;
|
|
4933
|
+
token_expires_at?: string | null;
|
|
4934
|
+
updated_at?: string | null;
|
|
4935
|
+
};
|
|
4936
|
+
Relationships: [];
|
|
3753
4937
|
};
|
|
3754
4938
|
};
|
|
3755
|
-
Views: { [_ in never]: never; };
|
|
3756
4939
|
Functions: {
|
|
3757
4940
|
dashboard_list_public_schema: {
|
|
3758
4941
|
Args: never;
|
|
@@ -3762,6 +4945,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3762
4945
|
table_name: string;
|
|
3763
4946
|
}[];
|
|
3764
4947
|
};
|
|
4948
|
+
email_auth_decrypt: {
|
|
4949
|
+
Args: {
|
|
4950
|
+
cipher: string;
|
|
4951
|
+
};
|
|
4952
|
+
Returns: string;
|
|
4953
|
+
};
|
|
4954
|
+
email_auth_encrypt: {
|
|
4955
|
+
Args: {
|
|
4956
|
+
plain: string;
|
|
4957
|
+
};
|
|
4958
|
+
Returns: string;
|
|
4959
|
+
};
|
|
3765
4960
|
exact_decrypt: {
|
|
3766
4961
|
Args: {
|
|
3767
4962
|
cipher: string;
|
|
@@ -3774,6 +4969,49 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3774
4969
|
};
|
|
3775
4970
|
Returns: string;
|
|
3776
4971
|
};
|
|
4972
|
+
exact_lock_environment: {
|
|
4973
|
+
Args: {
|
|
4974
|
+
_environment: string;
|
|
4975
|
+
};
|
|
4976
|
+
Returns: undefined;
|
|
4977
|
+
};
|
|
4978
|
+
exact_release_refresh_lock: {
|
|
4979
|
+
Args: {
|
|
4980
|
+
_environment: Database["public"]["Enums"]["exact_env"];
|
|
4981
|
+
_locked_by: string;
|
|
4982
|
+
};
|
|
4983
|
+
Returns: undefined;
|
|
4984
|
+
};
|
|
4985
|
+
exact_try_acquire_refresh_lock: {
|
|
4986
|
+
Args: {
|
|
4987
|
+
_environment: Database["public"]["Enums"]["exact_env"];
|
|
4988
|
+
_lease_seconds?: number;
|
|
4989
|
+
_locked_by?: string;
|
|
4990
|
+
};
|
|
4991
|
+
Returns: boolean;
|
|
4992
|
+
};
|
|
4993
|
+
get_active_floriday_connection_public: {
|
|
4994
|
+
Args: never;
|
|
4995
|
+
Returns: {
|
|
4996
|
+
active_environment: string;
|
|
4997
|
+
environment: string;
|
|
4998
|
+
gln_code: string;
|
|
4999
|
+
id: string;
|
|
5000
|
+
label: string;
|
|
5001
|
+
organization_name: string;
|
|
5002
|
+
preferred_warehouse_id: string;
|
|
5003
|
+
preferred_warehouse_name: string;
|
|
5004
|
+
}[];
|
|
5005
|
+
};
|
|
5006
|
+
get_floriday_cron_jobs: {
|
|
5007
|
+
Args: never;
|
|
5008
|
+
Returns: {
|
|
5009
|
+
active: boolean;
|
|
5010
|
+
jobname: string;
|
|
5011
|
+
schedule: string;
|
|
5012
|
+
url: string;
|
|
5013
|
+
}[];
|
|
5014
|
+
};
|
|
3777
5015
|
get_offer_by_link_code: {
|
|
3778
5016
|
Args: {
|
|
3779
5017
|
p_code: string;
|
|
@@ -3787,6 +5025,20 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3787
5025
|
};
|
|
3788
5026
|
Returns: boolean;
|
|
3789
5027
|
};
|
|
5028
|
+
schedule_floriday_connections_sync: {
|
|
5029
|
+
Args: {
|
|
5030
|
+
p_apikey: string;
|
|
5031
|
+
p_url: string;
|
|
5032
|
+
};
|
|
5033
|
+
Returns: number;
|
|
5034
|
+
};
|
|
5035
|
+
schedule_floriday_customer_organizations_sync: {
|
|
5036
|
+
Args: {
|
|
5037
|
+
p_apikey: string;
|
|
5038
|
+
p_url: string;
|
|
5039
|
+
};
|
|
5040
|
+
Returns: number;
|
|
5041
|
+
};
|
|
3790
5042
|
schedule_floriday_network_sync: {
|
|
3791
5043
|
Args: {
|
|
3792
5044
|
p_apikey: string;
|
|
@@ -3794,6 +5046,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3794
5046
|
};
|
|
3795
5047
|
Returns: number;
|
|
3796
5048
|
};
|
|
5049
|
+
schedule_floriday_salesorders_sync: {
|
|
5050
|
+
Args: {
|
|
5051
|
+
p_apikey: string;
|
|
5052
|
+
p_url: string;
|
|
5053
|
+
};
|
|
5054
|
+
Returns: number;
|
|
5055
|
+
};
|
|
3797
5056
|
schedule_floriday_token_refresh: {
|
|
3798
5057
|
Args: {
|
|
3799
5058
|
p_apikey: string;
|
|
@@ -3801,6 +5060,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3801
5060
|
};
|
|
3802
5061
|
Returns: number;
|
|
3803
5062
|
};
|
|
5063
|
+
schedule_floriday_trade_items_sync: {
|
|
5064
|
+
Args: {
|
|
5065
|
+
p_apikey: string;
|
|
5066
|
+
p_url: string;
|
|
5067
|
+
};
|
|
5068
|
+
Returns: number;
|
|
5069
|
+
};
|
|
3804
5070
|
show_limit: {
|
|
3805
5071
|
Args: never;
|
|
3806
5072
|
Returns: number;
|
|
@@ -3815,6 +5081,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3815
5081
|
Enums: {
|
|
3816
5082
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer";
|
|
3817
5083
|
exact_env: "staging" | "live";
|
|
5084
|
+
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
3818
5085
|
};
|
|
3819
5086
|
CompositeTypes: { [_ in never]: never; };
|
|
3820
5087
|
}, {
|