@flowselections/floriday-klanten-module 1.0.16 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist-lib/components/klanten/FloridayDeeplinkButton.d.ts.map +1 -1
  2. package/dist-lib/components/klanten/FloridayDeeplinkButton.js +2 -2
  3. package/dist-lib/components/klanten/KlantenOverzicht.js +3 -3
  4. package/dist-lib/integrations/supabase/auth-middleware.d.ts +886 -54
  5. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  6. package/dist-lib/integrations/supabase/client.d.ts +886 -54
  7. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  8. package/dist-lib/integrations/supabase/client.server.d.ts +886 -54
  9. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  10. package/dist-lib/integrations/supabase/types.d.ts +904 -45
  11. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  12. package/dist-lib/integrations/supabase/types.js +3 -9
  13. package/dist-lib/lib/accounting/twinfield/mapping.d.ts.map +1 -1
  14. package/dist-lib/lib/accounting/twinfield/mapping.js +14 -2
  15. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +2538 -42
  16. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/accounting.functions.d.ts +2538 -42
  18. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/customer-analytics.functions.d.ts +886 -54
  20. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/customers.functions.d.ts +7614 -126
  22. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/delivery-locations.functions.d.ts +3384 -56
  24. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/external-customers.functions.d.ts +3384 -56
  26. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/floriday-assortment.functions.d.ts +886 -54
  28. package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/floriday-discounts.functions.d.ts +1834 -170
  30. package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-trade-items.functions.d.ts +886 -54
  32. package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/local-discounts.functions.d.ts +5922 -98
  34. package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/overdue-invoices.functions.d.ts +886 -54
  36. package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/price-groups-local.functions.d.ts +5922 -98
  38. package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/price-groups.functions.d.ts +886 -54
  40. package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
  41. package/package.json +3 -2
  42. package/public/flowselections-assets/Klanten/floriday-logo.png +0 -0
@@ -305,6 +305,57 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
305
305
  referencedColumns: ["id"];
306
306
  }];
307
307
  };
308
+ ai_call_log: {
309
+ Row: {
310
+ consumer_module_id: string;
311
+ cost_usd: number | null;
312
+ created_at: string;
313
+ created_by: string | null;
314
+ duration_ms: number | null;
315
+ error_code: string | null;
316
+ error_message: string | null;
317
+ id: string;
318
+ input_tokens: number;
319
+ model_slug: string | null;
320
+ output_tokens: number;
321
+ provider_slug: string | null;
322
+ status: string;
323
+ total_tokens: number;
324
+ };
325
+ Insert: {
326
+ consumer_module_id: string;
327
+ cost_usd?: number | null;
328
+ created_at?: string;
329
+ created_by?: string | null;
330
+ duration_ms?: number | null;
331
+ error_code?: string | null;
332
+ error_message?: string | null;
333
+ id?: string;
334
+ input_tokens?: number;
335
+ model_slug?: string | null;
336
+ output_tokens?: number;
337
+ provider_slug?: string | null;
338
+ status: string;
339
+ total_tokens?: number;
340
+ };
341
+ Update: {
342
+ consumer_module_id?: string;
343
+ cost_usd?: number | null;
344
+ created_at?: string;
345
+ created_by?: string | null;
346
+ duration_ms?: number | null;
347
+ error_code?: string | null;
348
+ error_message?: string | null;
349
+ id?: string;
350
+ input_tokens?: number;
351
+ model_slug?: string | null;
352
+ output_tokens?: number;
353
+ provider_slug?: string | null;
354
+ status?: string;
355
+ total_tokens?: number;
356
+ };
357
+ Relationships: [];
358
+ };
308
359
  ai_credentials: {
309
360
  Row: {
310
361
  active: boolean;
@@ -341,6 +392,36 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
341
392
  referencedColumns: ["id"];
342
393
  }];
343
394
  };
395
+ ai_goals: {
396
+ Row: {
397
+ active: boolean;
398
+ created_at: string;
399
+ description: string | null;
400
+ key: string;
401
+ label: string;
402
+ sort_order: number;
403
+ updated_at: string;
404
+ };
405
+ Insert: {
406
+ active?: boolean;
407
+ created_at?: string;
408
+ description?: string | null;
409
+ key: string;
410
+ label: string;
411
+ sort_order?: number;
412
+ updated_at?: string;
413
+ };
414
+ Update: {
415
+ active?: boolean;
416
+ created_at?: string;
417
+ description?: string | null;
418
+ key?: string;
419
+ label?: string;
420
+ sort_order?: number;
421
+ updated_at?: string;
422
+ };
423
+ Relationships: [];
424
+ };
344
425
  ai_model_pricing: {
345
426
  Row: {
346
427
  created_at: string;
@@ -1127,6 +1208,141 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
1127
1208
  };
1128
1209
  Relationships: [];
1129
1210
  };
1211
+ cart_planning_pick_times: {
1212
+ Row: {
1213
+ created_at: string;
1214
+ id: string;
1215
+ pot_size: string;
1216
+ seconds_per_cart: number;
1217
+ updated_at: string;
1218
+ };
1219
+ Insert: {
1220
+ created_at?: string;
1221
+ id?: string;
1222
+ pot_size: string;
1223
+ seconds_per_cart: number;
1224
+ updated_at?: string;
1225
+ };
1226
+ Update: {
1227
+ created_at?: string;
1228
+ id?: string;
1229
+ pot_size?: string;
1230
+ seconds_per_cart?: number;
1231
+ updated_at?: string;
1232
+ };
1233
+ Relationships: [];
1234
+ };
1235
+ cart_planning_product_overrides: {
1236
+ Row: {
1237
+ created_at: string;
1238
+ id: string;
1239
+ max_party_share_per_layer_pct_override: number | null;
1240
+ never_mix: boolean;
1241
+ notes: string | null;
1242
+ product_id: string;
1243
+ updated_at: string;
1244
+ };
1245
+ Insert: {
1246
+ created_at?: string;
1247
+ id?: string;
1248
+ max_party_share_per_layer_pct_override?: number | null;
1249
+ never_mix?: boolean;
1250
+ notes?: string | null;
1251
+ product_id: string;
1252
+ updated_at?: string;
1253
+ };
1254
+ Update: {
1255
+ created_at?: string;
1256
+ id?: string;
1257
+ max_party_share_per_layer_pct_override?: number | null;
1258
+ never_mix?: boolean;
1259
+ notes?: string | null;
1260
+ product_id?: string;
1261
+ updated_at?: string;
1262
+ };
1263
+ Relationships: [{
1264
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1265
+ columns: ["product_id"];
1266
+ isOneToOne: true;
1267
+ referencedRelation: "products";
1268
+ referencedColumns: ["id"];
1269
+ }];
1270
+ };
1271
+ cart_planning_settings: {
1272
+ Row: {
1273
+ allow_editing_after_pickstation_send: boolean;
1274
+ buffer_grouping_mode: string;
1275
+ combine_floriday_orders: boolean;
1276
+ combine_floriday_orders_window: string;
1277
+ combine_orders_scope: string;
1278
+ default_workers: number;
1279
+ id: number;
1280
+ max_beladingen_per_layer: number;
1281
+ max_customers_per_cart: number;
1282
+ max_one_customer_per_layer: boolean;
1283
+ max_party_share_per_layer_pct: number;
1284
+ optimization_strategy: string;
1285
+ own_cart_from_layers: number;
1286
+ pick_time_mode: string;
1287
+ plants_per_day: number;
1288
+ plants_per_hour: number;
1289
+ require_same_carrier: boolean;
1290
+ require_same_crate_type: boolean;
1291
+ require_same_delivery_date: boolean;
1292
+ require_same_delivery_location: boolean;
1293
+ updated_at: string;
1294
+ updated_by: string | null;
1295
+ };
1296
+ Insert: {
1297
+ allow_editing_after_pickstation_send?: boolean;
1298
+ buffer_grouping_mode?: string;
1299
+ combine_floriday_orders?: boolean;
1300
+ combine_floriday_orders_window?: string;
1301
+ combine_orders_scope?: string;
1302
+ default_workers?: number;
1303
+ id?: number;
1304
+ max_beladingen_per_layer?: number;
1305
+ max_customers_per_cart?: number;
1306
+ max_one_customer_per_layer?: boolean;
1307
+ max_party_share_per_layer_pct?: number;
1308
+ optimization_strategy?: string;
1309
+ own_cart_from_layers?: number;
1310
+ pick_time_mode?: string;
1311
+ plants_per_day?: number;
1312
+ plants_per_hour?: number;
1313
+ require_same_carrier?: boolean;
1314
+ require_same_crate_type?: boolean;
1315
+ require_same_delivery_date?: boolean;
1316
+ require_same_delivery_location?: boolean;
1317
+ updated_at?: string;
1318
+ updated_by?: string | null;
1319
+ };
1320
+ Update: {
1321
+ allow_editing_after_pickstation_send?: boolean;
1322
+ buffer_grouping_mode?: string;
1323
+ combine_floriday_orders?: boolean;
1324
+ combine_floriday_orders_window?: string;
1325
+ combine_orders_scope?: string;
1326
+ default_workers?: number;
1327
+ id?: number;
1328
+ max_beladingen_per_layer?: number;
1329
+ max_customers_per_cart?: number;
1330
+ max_one_customer_per_layer?: boolean;
1331
+ max_party_share_per_layer_pct?: number;
1332
+ optimization_strategy?: string;
1333
+ own_cart_from_layers?: number;
1334
+ pick_time_mode?: string;
1335
+ plants_per_day?: number;
1336
+ plants_per_hour?: number;
1337
+ require_same_carrier?: boolean;
1338
+ require_same_crate_type?: boolean;
1339
+ require_same_delivery_date?: boolean;
1340
+ require_same_delivery_location?: boolean;
1341
+ updated_at?: string;
1342
+ updated_by?: string | null;
1343
+ };
1344
+ Relationships: [];
1345
+ };
1130
1346
  cart_replan_queue: {
1131
1347
  Row: {
1132
1348
  attempts: number;
@@ -1157,6 +1373,39 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
1157
1373
  referencedColumns: ["id"];
1158
1374
  }];
1159
1375
  };
1376
+ cart_types: {
1377
+ Row: {
1378
+ created_at: string;
1379
+ id: string;
1380
+ is_default: boolean;
1381
+ layer_length_cm: number;
1382
+ layer_width_cm: number;
1383
+ layers_per_cart: number;
1384
+ name: string;
1385
+ updated_at: string;
1386
+ };
1387
+ Insert: {
1388
+ created_at?: string;
1389
+ id?: string;
1390
+ is_default?: boolean;
1391
+ layer_length_cm: number;
1392
+ layer_width_cm: number;
1393
+ layers_per_cart?: number;
1394
+ name: string;
1395
+ updated_at?: string;
1396
+ };
1397
+ Update: {
1398
+ created_at?: string;
1399
+ id?: string;
1400
+ is_default?: boolean;
1401
+ layer_length_cm?: number;
1402
+ layer_width_cm?: number;
1403
+ layers_per_cart?: number;
1404
+ name?: string;
1405
+ updated_at?: string;
1406
+ };
1407
+ Relationships: [];
1408
+ };
1160
1409
  catalog_articles_cache: {
1161
1410
  Row: {
1162
1411
  created_at: string;
@@ -1244,6 +1493,36 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
1244
1493
  };
1245
1494
  Relationships: [];
1246
1495
  };
1496
+ crate_types: {
1497
+ Row: {
1498
+ created_at: string;
1499
+ id: string;
1500
+ length_cm: number;
1501
+ name: string;
1502
+ plants_per_crate: number;
1503
+ updated_at: string;
1504
+ width_cm: number;
1505
+ };
1506
+ Insert: {
1507
+ created_at?: string;
1508
+ id?: string;
1509
+ length_cm: number;
1510
+ name: string;
1511
+ plants_per_crate?: number;
1512
+ updated_at?: string;
1513
+ width_cm: number;
1514
+ };
1515
+ Update: {
1516
+ created_at?: string;
1517
+ id?: string;
1518
+ length_cm?: number;
1519
+ name?: string;
1520
+ plants_per_crate?: number;
1521
+ updated_at?: string;
1522
+ width_cm?: number;
1523
+ };
1524
+ Relationships: [];
1525
+ };
1247
1526
  customer_audit_log: {
1248
1527
  Row: {
1249
1528
  action: string;
@@ -5719,69 +5998,351 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
5719
5998
  vat_amount?: number | null;
5720
5999
  };
5721
6000
  Update: {
5722
- booking_id?: string | null;
5723
- company_name?: string | null;
6001
+ booking_id?: string | null;
6002
+ company_name?: string | null;
6003
+ created_at?: string;
6004
+ customer_email?: string | null;
6005
+ description?: string | null;
6006
+ exact_article_id?: string | null;
6007
+ id?: string;
6008
+ invoice_run_id?: string | null;
6009
+ quantity?: number | null;
6010
+ total_excl_vat?: number | null;
6011
+ total_incl_vat?: number | null;
6012
+ unit_price?: number | null;
6013
+ vat_amount?: number | null;
6014
+ };
6015
+ Relationships: [{
6016
+ foreignKeyName: "invoice_run_items_booking_id_fkey";
6017
+ columns: ["booking_id"];
6018
+ isOneToOne: false;
6019
+ referencedRelation: "bookings";
6020
+ referencedColumns: ["id"];
6021
+ }, {
6022
+ foreignKeyName: "invoice_run_items_invoice_run_id_fkey";
6023
+ columns: ["invoice_run_id"];
6024
+ isOneToOne: false;
6025
+ referencedRelation: "invoice_runs";
6026
+ referencedColumns: ["id"];
6027
+ }];
6028
+ };
6029
+ invoice_runs: {
6030
+ Row: {
6031
+ created_at: string;
6032
+ created_by: string | null;
6033
+ id: string;
6034
+ period_end: string;
6035
+ period_start: string;
6036
+ status: string;
6037
+ total_excl_vat: number | null;
6038
+ total_incl_vat: number | null;
6039
+ vat_amount: number | null;
6040
+ };
6041
+ Insert: {
6042
+ created_at?: string;
6043
+ created_by?: string | null;
6044
+ id?: string;
6045
+ period_end: string;
6046
+ period_start: string;
6047
+ status?: string;
6048
+ total_excl_vat?: number | null;
6049
+ total_incl_vat?: number | null;
6050
+ vat_amount?: number | null;
6051
+ };
6052
+ Update: {
6053
+ created_at?: string;
6054
+ created_by?: string | null;
6055
+ id?: string;
6056
+ period_end?: string;
6057
+ period_start?: string;
6058
+ status?: string;
6059
+ total_excl_vat?: number | null;
6060
+ total_incl_vat?: number | null;
6061
+ vat_amount?: number | null;
6062
+ };
6063
+ Relationships: [];
6064
+ };
6065
+ itk_contact_persons: {
6066
+ Row: {
6067
+ created_at: string;
6068
+ customer_id: string;
6069
+ email: string | null;
6070
+ id: string;
6071
+ name: string;
6072
+ phone: string | null;
6073
+ role: string | null;
6074
+ updated_at: string;
6075
+ };
6076
+ Insert: {
6077
+ created_at?: string;
6078
+ customer_id: string;
6079
+ email?: string | null;
6080
+ id?: string;
6081
+ name: string;
6082
+ phone?: string | null;
6083
+ role?: string | null;
6084
+ updated_at?: string;
6085
+ };
6086
+ Update: {
6087
+ created_at?: string;
6088
+ customer_id?: string;
6089
+ email?: string | null;
6090
+ id?: string;
6091
+ name?: string;
6092
+ phone?: string | null;
6093
+ role?: string | null;
6094
+ updated_at?: string;
6095
+ };
6096
+ Relationships: [{
6097
+ foreignKeyName: "itk_contact_persons_customer_id_fkey";
6098
+ columns: ["customer_id"];
6099
+ isOneToOne: false;
6100
+ referencedRelation: "itk_customers";
6101
+ referencedColumns: ["id"];
6102
+ }];
6103
+ };
6104
+ itk_customer_dynamic_values: {
6105
+ Row: {
6106
+ created_at: string;
6107
+ customer_id: string;
6108
+ field_id: string;
6109
+ id: string;
6110
+ updated_at: string;
6111
+ value: string | null;
6112
+ };
6113
+ Insert: {
6114
+ created_at?: string;
6115
+ customer_id: string;
6116
+ field_id: string;
6117
+ id?: string;
6118
+ updated_at?: string;
6119
+ value?: string | null;
6120
+ };
6121
+ Update: {
6122
+ created_at?: string;
6123
+ customer_id?: string;
6124
+ field_id?: string;
6125
+ id?: string;
6126
+ updated_at?: string;
6127
+ value?: string | null;
6128
+ };
6129
+ Relationships: [{
6130
+ foreignKeyName: "itk_customer_dynamic_values_customer_id_fkey";
6131
+ columns: ["customer_id"];
6132
+ isOneToOne: false;
6133
+ referencedRelation: "itk_customers";
6134
+ referencedColumns: ["id"];
6135
+ }, {
6136
+ foreignKeyName: "itk_customer_dynamic_values_field_id_fkey";
6137
+ columns: ["field_id"];
6138
+ isOneToOne: false;
6139
+ referencedRelation: "itk_dynamic_fields";
6140
+ referencedColumns: ["id"];
6141
+ }];
6142
+ };
6143
+ itk_customer_notes: {
6144
+ Row: {
6145
+ body: string;
6146
+ created_at: string;
6147
+ created_by: string | null;
6148
+ customer_id: string;
6149
+ id: string;
6150
+ note_type: string;
6151
+ updated_at: string;
6152
+ };
6153
+ Insert: {
6154
+ body: string;
6155
+ created_at?: string;
6156
+ created_by?: string | null;
6157
+ customer_id: string;
6158
+ id?: string;
6159
+ note_type?: string;
6160
+ updated_at?: string;
6161
+ };
6162
+ Update: {
6163
+ body?: string;
6164
+ created_at?: string;
6165
+ created_by?: string | null;
6166
+ customer_id?: string;
6167
+ id?: string;
6168
+ note_type?: string;
6169
+ updated_at?: string;
6170
+ };
6171
+ Relationships: [{
6172
+ foreignKeyName: "itk_customer_notes_customer_id_fkey";
6173
+ columns: ["customer_id"];
6174
+ isOneToOne: false;
6175
+ referencedRelation: "itk_customers";
6176
+ referencedColumns: ["id"];
6177
+ }];
6178
+ };
6179
+ itk_customers: {
6180
+ Row: {
6181
+ billing_city: string | null;
6182
+ billing_postcode: string | null;
6183
+ billing_street: string | null;
6184
+ created_at: string;
6185
+ general_email: string | null;
6186
+ general_phone: string | null;
6187
+ id: string;
6188
+ legacy_customer_id: string | null;
6189
+ name: string;
6190
+ segment: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
6191
+ updated_at: string;
6192
+ };
6193
+ Insert: {
6194
+ billing_city?: string | null;
6195
+ billing_postcode?: string | null;
6196
+ billing_street?: string | null;
6197
+ created_at?: string;
6198
+ general_email?: string | null;
6199
+ general_phone?: string | null;
6200
+ id?: string;
6201
+ legacy_customer_id?: string | null;
6202
+ name: string;
6203
+ segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
6204
+ updated_at?: string;
6205
+ };
6206
+ Update: {
6207
+ billing_city?: string | null;
6208
+ billing_postcode?: string | null;
6209
+ billing_street?: string | null;
6210
+ created_at?: string;
6211
+ general_email?: string | null;
6212
+ general_phone?: string | null;
6213
+ id?: string;
6214
+ legacy_customer_id?: string | null;
6215
+ name?: string;
6216
+ segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
6217
+ updated_at?: string;
6218
+ };
6219
+ Relationships: [{
6220
+ foreignKeyName: "itk_customers_legacy_customer_id_fkey";
6221
+ columns: ["legacy_customer_id"];
6222
+ isOneToOne: false;
6223
+ referencedRelation: "customers";
6224
+ referencedColumns: ["id"];
6225
+ }];
6226
+ };
6227
+ itk_dynamic_fields: {
6228
+ Row: {
6229
+ created_at: string;
6230
+ field_name: string;
6231
+ field_type: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
6232
+ id: string;
6233
+ options: import("../integrations/supabase/types").Json;
6234
+ sort_order: number;
6235
+ updated_at: string;
6236
+ };
6237
+ Insert: {
6238
+ created_at?: string;
6239
+ field_name: string;
6240
+ field_type?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
6241
+ id?: string;
6242
+ options?: import("../integrations/supabase/types").Json;
6243
+ sort_order?: number;
6244
+ updated_at?: string;
6245
+ };
6246
+ Update: {
6247
+ created_at?: string;
6248
+ field_name?: string;
6249
+ field_type?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
6250
+ id?: string;
6251
+ options?: import("../integrations/supabase/types").Json;
6252
+ sort_order?: number;
6253
+ updated_at?: string;
6254
+ };
6255
+ Relationships: [];
6256
+ };
6257
+ itk_work_locations: {
6258
+ Row: {
6259
+ city: string | null;
6260
+ created_at: string;
6261
+ customer_id: string;
6262
+ id: string;
6263
+ instructions: string | null;
6264
+ label: string;
6265
+ latitude: number | null;
6266
+ longitude: number | null;
6267
+ postcode: string | null;
6268
+ street: string | null;
6269
+ updated_at: string;
6270
+ };
6271
+ Insert: {
6272
+ city?: string | null;
6273
+ created_at?: string;
6274
+ customer_id: string;
6275
+ id?: string;
6276
+ instructions?: string | null;
6277
+ label: string;
6278
+ latitude?: number | null;
6279
+ longitude?: number | null;
6280
+ postcode?: string | null;
6281
+ street?: string | null;
6282
+ updated_at?: string;
6283
+ };
6284
+ Update: {
6285
+ city?: string | null;
5724
6286
  created_at?: string;
5725
- customer_email?: string | null;
5726
- description?: string | null;
5727
- exact_article_id?: string | null;
6287
+ customer_id?: string;
5728
6288
  id?: string;
5729
- invoice_run_id?: string | null;
5730
- quantity?: number | null;
5731
- total_excl_vat?: number | null;
5732
- total_incl_vat?: number | null;
5733
- unit_price?: number | null;
5734
- vat_amount?: number | null;
6289
+ instructions?: string | null;
6290
+ label?: string;
6291
+ latitude?: number | null;
6292
+ longitude?: number | null;
6293
+ postcode?: string | null;
6294
+ street?: string | null;
6295
+ updated_at?: string;
5735
6296
  };
5736
6297
  Relationships: [{
5737
- foreignKeyName: "invoice_run_items_booking_id_fkey";
5738
- columns: ["booking_id"];
5739
- isOneToOne: false;
5740
- referencedRelation: "bookings";
5741
- referencedColumns: ["id"];
5742
- }, {
5743
- foreignKeyName: "invoice_run_items_invoice_run_id_fkey";
5744
- columns: ["invoice_run_id"];
6298
+ foreignKeyName: "itk_work_locations_customer_id_fkey";
6299
+ columns: ["customer_id"];
5745
6300
  isOneToOne: false;
5746
- referencedRelation: "invoice_runs";
6301
+ referencedRelation: "itk_customers";
5747
6302
  referencedColumns: ["id"];
5748
6303
  }];
5749
6304
  };
5750
- invoice_runs: {
6305
+ leave_requests: {
5751
6306
  Row: {
5752
6307
  created_at: string;
5753
- created_by: string | null;
6308
+ end_date: string;
5754
6309
  id: string;
5755
- period_end: string;
5756
- period_start: string;
6310
+ reason: string | null;
6311
+ start_date: string;
5757
6312
  status: string;
5758
- total_excl_vat: number | null;
5759
- total_incl_vat: number | null;
5760
- vat_amount: number | null;
6313
+ tenant_id: string;
6314
+ updated_at: string;
6315
+ user_id: string;
5761
6316
  };
5762
6317
  Insert: {
5763
6318
  created_at?: string;
5764
- created_by?: string | null;
6319
+ end_date: string;
5765
6320
  id?: string;
5766
- period_end: string;
5767
- period_start: string;
6321
+ reason?: string | null;
6322
+ start_date: string;
5768
6323
  status?: string;
5769
- total_excl_vat?: number | null;
5770
- total_incl_vat?: number | null;
5771
- vat_amount?: number | null;
6324
+ tenant_id?: string;
6325
+ updated_at?: string;
6326
+ user_id: string;
5772
6327
  };
5773
6328
  Update: {
5774
6329
  created_at?: string;
5775
- created_by?: string | null;
6330
+ end_date?: string;
5776
6331
  id?: string;
5777
- period_end?: string;
5778
- period_start?: string;
6332
+ reason?: string | null;
6333
+ start_date?: string;
5779
6334
  status?: string;
5780
- total_excl_vat?: number | null;
5781
- total_incl_vat?: number | null;
5782
- vat_amount?: number | null;
6335
+ tenant_id?: string;
6336
+ updated_at?: string;
6337
+ user_id?: string;
5783
6338
  };
5784
- Relationships: [];
6339
+ Relationships: [{
6340
+ foreignKeyName: "leave_requests_user_id_fkey";
6341
+ columns: ["user_id"];
6342
+ isOneToOne: false;
6343
+ referencedRelation: "monteurs";
6344
+ referencedColumns: ["id"];
6345
+ }];
5785
6346
  };
5786
6347
  local_customer_agreements: {
5787
6348
  Row: {
@@ -6434,6 +6995,33 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
6434
6995
  };
6435
6996
  Relationships: [];
6436
6997
  };
6998
+ module_permissions: {
6999
+ Row: {
7000
+ created_at: string;
7001
+ id: string;
7002
+ module_id: string;
7003
+ permission: string;
7004
+ role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
7005
+ updated_at: string;
7006
+ };
7007
+ Insert: {
7008
+ created_at?: string;
7009
+ id?: string;
7010
+ module_id: string;
7011
+ permission: string;
7012
+ role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
7013
+ updated_at?: string;
7014
+ };
7015
+ Update: {
7016
+ created_at?: string;
7017
+ id?: string;
7018
+ module_id?: string;
7019
+ permission?: string;
7020
+ role?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
7021
+ updated_at?: string;
7022
+ };
7023
+ Relationships: [];
7024
+ };
6437
7025
  monteurs: {
6438
7026
  Row: {
6439
7027
  avatar_url: string | null;
@@ -7163,6 +7751,42 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
7163
7751
  };
7164
7752
  Relationships: [];
7165
7753
  };
7754
+ order_buffers: {
7755
+ Row: {
7756
+ buffer_key: string;
7757
+ created_at: string;
7758
+ customer_id: string | null;
7759
+ grouping_mode: string;
7760
+ id: string;
7761
+ pickup_date: string | null;
7762
+ pickup_location: string | null;
7763
+ plan_locked_at: string | null;
7764
+ updated_at: string;
7765
+ };
7766
+ Insert: {
7767
+ buffer_key: string;
7768
+ created_at?: string;
7769
+ customer_id?: string | null;
7770
+ grouping_mode: string;
7771
+ id?: string;
7772
+ pickup_date?: string | null;
7773
+ pickup_location?: string | null;
7774
+ plan_locked_at?: string | null;
7775
+ updated_at?: string;
7776
+ };
7777
+ Update: {
7778
+ buffer_key?: string;
7779
+ created_at?: string;
7780
+ customer_id?: string | null;
7781
+ grouping_mode?: string;
7782
+ id?: string;
7783
+ pickup_date?: string | null;
7784
+ pickup_location?: string | null;
7785
+ plan_locked_at?: string | null;
7786
+ updated_at?: string;
7787
+ };
7788
+ Relationships: [];
7789
+ };
7166
7790
  order_cart_items: {
7167
7791
  Row: {
7168
7792
  cart_id: string;
@@ -7229,6 +7853,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
7229
7853
  order_carts: {
7230
7854
  Row: {
7231
7855
  algorithm_version: number;
7856
+ buffer_id: string | null;
7232
7857
  cart_number: number;
7233
7858
  created_at: string;
7234
7859
  id: string;
@@ -7236,13 +7861,14 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
7236
7861
  is_complete: boolean;
7237
7862
  notes: string | null;
7238
7863
  occupancy_pct: number;
7239
- order_id: string;
7864
+ order_id: string | null;
7240
7865
  source: string;
7241
7866
  total_layers_used: number;
7242
7867
  updated_at: string;
7243
7868
  };
7244
7869
  Insert: {
7245
7870
  algorithm_version?: number;
7871
+ buffer_id?: string | null;
7246
7872
  cart_number: number;
7247
7873
  created_at?: string;
7248
7874
  id?: string;
@@ -7250,13 +7876,14 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
7250
7876
  is_complete?: boolean;
7251
7877
  notes?: string | null;
7252
7878
  occupancy_pct?: number;
7253
- order_id: string;
7879
+ order_id?: string | null;
7254
7880
  source?: string;
7255
7881
  total_layers_used?: number;
7256
7882
  updated_at?: string;
7257
7883
  };
7258
7884
  Update: {
7259
7885
  algorithm_version?: number;
7886
+ buffer_id?: string | null;
7260
7887
  cart_number?: number;
7261
7888
  created_at?: string;
7262
7889
  id?: string;
@@ -7264,12 +7891,18 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
7264
7891
  is_complete?: boolean;
7265
7892
  notes?: string | null;
7266
7893
  occupancy_pct?: number;
7267
- order_id?: string;
7894
+ order_id?: string | null;
7268
7895
  source?: string;
7269
7896
  total_layers_used?: number;
7270
7897
  updated_at?: string;
7271
7898
  };
7272
7899
  Relationships: [{
7900
+ foreignKeyName: "order_carts_buffer_id_fkey";
7901
+ columns: ["buffer_id"];
7902
+ isOneToOne: false;
7903
+ referencedRelation: "order_buffers";
7904
+ referencedColumns: ["id"];
7905
+ }, {
7273
7906
  foreignKeyName: "order_carts_order_id_fkey";
7274
7907
  columns: ["order_id"];
7275
7908
  isOneToOne: false;
@@ -7406,15 +8039,117 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
7406
8039
  };
7407
8040
  Relationships: [];
7408
8041
  };
8042
+ order_shipment_items: {
8043
+ Row: {
8044
+ created_at: string;
8045
+ id: string;
8046
+ order_item_id: string;
8047
+ product_id: string | null;
8048
+ product_name: string;
8049
+ quantity: number;
8050
+ shipment_id: string;
8051
+ updated_at: string;
8052
+ };
8053
+ Insert: {
8054
+ created_at?: string;
8055
+ id?: string;
8056
+ order_item_id: string;
8057
+ product_id?: string | null;
8058
+ product_name: string;
8059
+ quantity: number;
8060
+ shipment_id: string;
8061
+ updated_at?: string;
8062
+ };
8063
+ Update: {
8064
+ created_at?: string;
8065
+ id?: string;
8066
+ order_item_id?: string;
8067
+ product_id?: string | null;
8068
+ product_name?: string;
8069
+ quantity?: number;
8070
+ shipment_id?: string;
8071
+ updated_at?: string;
8072
+ };
8073
+ Relationships: [{
8074
+ foreignKeyName: "order_shipment_items_order_item_id_fkey";
8075
+ columns: ["order_item_id"];
8076
+ isOneToOne: false;
8077
+ referencedRelation: "order_items";
8078
+ referencedColumns: ["id"];
8079
+ }, {
8080
+ foreignKeyName: "order_shipment_items_shipment_id_fkey";
8081
+ columns: ["shipment_id"];
8082
+ isOneToOne: false;
8083
+ referencedRelation: "order_shipments";
8084
+ referencedColumns: ["id"];
8085
+ }];
8086
+ };
8087
+ order_shipments: {
8088
+ Row: {
8089
+ carrier_id: string | null;
8090
+ created_at: string;
8091
+ delivery_date: string | null;
8092
+ delivery_location_id: string | null;
8093
+ id: string;
8094
+ notes: string | null;
8095
+ order_id: string;
8096
+ shipment_number: number;
8097
+ shipped_at: string | null;
8098
+ status: string;
8099
+ updated_at: string;
8100
+ };
8101
+ Insert: {
8102
+ carrier_id?: string | null;
8103
+ created_at?: string;
8104
+ delivery_date?: string | null;
8105
+ delivery_location_id?: string | null;
8106
+ id?: string;
8107
+ notes?: string | null;
8108
+ order_id: string;
8109
+ shipment_number: number;
8110
+ shipped_at?: string | null;
8111
+ status?: string;
8112
+ updated_at?: string;
8113
+ };
8114
+ Update: {
8115
+ carrier_id?: string | null;
8116
+ created_at?: string;
8117
+ delivery_date?: string | null;
8118
+ delivery_location_id?: string | null;
8119
+ id?: string;
8120
+ notes?: string | null;
8121
+ order_id?: string;
8122
+ shipment_number?: number;
8123
+ shipped_at?: string | null;
8124
+ status?: string;
8125
+ updated_at?: string;
8126
+ };
8127
+ Relationships: [{
8128
+ foreignKeyName: "order_shipments_carrier_id_fkey";
8129
+ columns: ["carrier_id"];
8130
+ isOneToOne: false;
8131
+ referencedRelation: "carriers";
8132
+ referencedColumns: ["id"];
8133
+ }, {
8134
+ foreignKeyName: "order_shipments_order_id_fkey";
8135
+ columns: ["order_id"];
8136
+ isOneToOne: false;
8137
+ referencedRelation: "orders";
8138
+ referencedColumns: ["id"];
8139
+ }];
8140
+ };
7409
8141
  orders: {
7410
8142
  Row: {
8143
+ buffer_id: string | null;
7411
8144
  created_at: string;
7412
8145
  custom_fields: import("../integrations/supabase/types").Json;
7413
8146
  customer_id: string | null;
7414
8147
  customer_name: string;
7415
8148
  deleted_at: string | null;
7416
- delivery_date: string;
8149
+ delivery_date: string | null;
8150
+ floriday_sales_order_id: string | null;
7417
8151
  id: string;
8152
+ is_reservation: boolean;
7418
8153
  notes: string | null;
7419
8154
  order_date: string;
7420
8155
  order_number: string;
@@ -7426,13 +8161,16 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
7426
8161
  updated_at: string;
7427
8162
  };
7428
8163
  Insert: {
8164
+ buffer_id?: string | null;
7429
8165
  created_at?: string;
7430
8166
  custom_fields?: import("../integrations/supabase/types").Json;
7431
8167
  customer_id?: string | null;
7432
8168
  customer_name?: string;
7433
8169
  deleted_at?: string | null;
7434
- delivery_date: string;
8170
+ delivery_date?: string | null;
8171
+ floriday_sales_order_id?: string | null;
7435
8172
  id?: string;
8173
+ is_reservation?: boolean;
7436
8174
  notes?: string | null;
7437
8175
  order_date?: string;
7438
8176
  order_number: string;
@@ -7444,13 +8182,16 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
7444
8182
  updated_at?: string;
7445
8183
  };
7446
8184
  Update: {
8185
+ buffer_id?: string | null;
7447
8186
  created_at?: string;
7448
8187
  custom_fields?: import("../integrations/supabase/types").Json;
7449
8188
  customer_id?: string | null;
7450
8189
  customer_name?: string;
7451
8190
  deleted_at?: string | null;
7452
- delivery_date?: string;
8191
+ delivery_date?: string | null;
8192
+ floriday_sales_order_id?: string | null;
7453
8193
  id?: string;
8194
+ is_reservation?: boolean;
7454
8195
  notes?: string | null;
7455
8196
  order_date?: string;
7456
8197
  order_number?: string;
@@ -7462,6 +8203,12 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
7462
8203
  updated_at?: string;
7463
8204
  };
7464
8205
  Relationships: [{
8206
+ foreignKeyName: "orders_buffer_id_fkey";
8207
+ columns: ["buffer_id"];
8208
+ isOneToOne: false;
8209
+ referencedRelation: "order_buffers";
8210
+ referencedColumns: ["id"];
8211
+ }, {
7465
8212
  foreignKeyName: "orders_customer_id_fkey";
7466
8213
  columns: ["customer_id"];
7467
8214
  isOneToOne: false;
@@ -7725,6 +8472,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
7725
8472
  Row: {
7726
8473
  created_at: string;
7727
8474
  description: string | null;
8475
+ head_product_id: string | null;
8476
+ head_trade_item_floriday_id: string | null;
7728
8477
  id: string;
7729
8478
  is_active: boolean;
7730
8479
  name: string;
@@ -7734,6 +8483,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
7734
8483
  Insert: {
7735
8484
  created_at?: string;
7736
8485
  description?: string | null;
8486
+ head_product_id?: string | null;
8487
+ head_trade_item_floriday_id?: string | null;
7737
8488
  id?: string;
7738
8489
  is_active?: boolean;
7739
8490
  name: string;
@@ -7743,13 +8494,21 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
7743
8494
  Update: {
7744
8495
  created_at?: string;
7745
8496
  description?: string | null;
8497
+ head_product_id?: string | null;
8498
+ head_trade_item_floriday_id?: string | null;
7746
8499
  id?: string;
7747
8500
  is_active?: boolean;
7748
8501
  name?: string;
7749
8502
  tenant_id?: string;
7750
8503
  updated_at?: string;
7751
8504
  };
7752
- Relationships: [];
8505
+ Relationships: [{
8506
+ foreignKeyName: "product_groups_head_product_id_fkey";
8507
+ columns: ["head_product_id"];
8508
+ isOneToOne: false;
8509
+ referencedRelation: "products";
8510
+ referencedColumns: ["id"];
8511
+ }];
7753
8512
  };
7754
8513
  products: {
7755
8514
  Row: {
@@ -10300,6 +11059,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
10300
11059
  internal_notes: string | null;
10301
11060
  parent_werkbon_id: string | null;
10302
11061
  parsed_payload: import("../integrations/supabase/types").Json | null;
11062
+ planning_status: string;
10303
11063
  project_number: string | null;
10304
11064
  room_number: string | null;
10305
11065
  scheduled_end_time: string | null;
@@ -10307,6 +11067,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
10307
11067
  sequence_number: number;
10308
11068
  source_pdf_path: string | null;
10309
11069
  status: string;
11070
+ technician_id: string | null;
10310
11071
  technician_notes: string | null;
10311
11072
  technician_notes_raw: string | null;
10312
11073
  technician_task_description: string | null;
@@ -10327,6 +11088,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
10327
11088
  internal_notes?: string | null;
10328
11089
  parent_werkbon_id?: string | null;
10329
11090
  parsed_payload?: import("../integrations/supabase/types").Json | null;
11091
+ planning_status?: string;
10330
11092
  project_number?: string | null;
10331
11093
  room_number?: string | null;
10332
11094
  scheduled_end_time?: string | null;
@@ -10334,6 +11096,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
10334
11096
  sequence_number: number;
10335
11097
  source_pdf_path?: string | null;
10336
11098
  status?: string;
11099
+ technician_id?: string | null;
10337
11100
  technician_notes?: string | null;
10338
11101
  technician_notes_raw?: string | null;
10339
11102
  technician_task_description?: string | null;
@@ -10354,6 +11117,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
10354
11117
  internal_notes?: string | null;
10355
11118
  parent_werkbon_id?: string | null;
10356
11119
  parsed_payload?: import("../integrations/supabase/types").Json | null;
11120
+ planning_status?: string;
10357
11121
  project_number?: string | null;
10358
11122
  room_number?: string | null;
10359
11123
  scheduled_end_time?: string | null;
@@ -10361,6 +11125,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
10361
11125
  sequence_number?: number;
10362
11126
  source_pdf_path?: string | null;
10363
11127
  status?: string;
11128
+ technician_id?: string | null;
10364
11129
  technician_notes?: string | null;
10365
11130
  technician_notes_raw?: string | null;
10366
11131
  technician_task_description?: string | null;
@@ -10369,17 +11134,17 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
10369
11134
  work_address?: string | null;
10370
11135
  };
10371
11136
  Relationships: [{
10372
- foreignKeyName: "werkbonnen_customer_id_fkey";
10373
- columns: ["customer_id"];
10374
- isOneToOne: false;
10375
- referencedRelation: "customers";
10376
- referencedColumns: ["id"];
10377
- }, {
10378
11137
  foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
10379
11138
  columns: ["parent_werkbon_id"];
10380
11139
  isOneToOne: false;
10381
11140
  referencedRelation: "werkbonnen";
10382
11141
  referencedColumns: ["id"];
11142
+ }, {
11143
+ foreignKeyName: "werkbonnen_technician_id_fkey";
11144
+ columns: ["technician_id"];
11145
+ isOneToOne: false;
11146
+ referencedRelation: "monteurs";
11147
+ referencedColumns: ["id"];
10383
11148
  }];
10384
11149
  };
10385
11150
  work_order_monteurs: {
@@ -11098,6 +11863,21 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11098
11863
  };
11099
11864
  Returns: string;
11100
11865
  };
11866
+ ai_usage_by_module: {
11867
+ Args: {
11868
+ _from: string;
11869
+ _to: string;
11870
+ };
11871
+ Returns: {
11872
+ calls: number;
11873
+ consumer_module_id: string;
11874
+ cost_usd: number;
11875
+ errors: number;
11876
+ input_tokens: number;
11877
+ output_tokens: number;
11878
+ total_tokens: number;
11879
+ }[];
11880
+ };
11101
11881
  apply_stock_consumption: {
11102
11882
  Args: {
11103
11883
  p_order_id: string;
@@ -11246,6 +12026,12 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11246
12026
  Args: never;
11247
12027
  Returns: string;
11248
12028
  };
12029
+ custom_access_token_hook: {
12030
+ Args: {
12031
+ event: import("../integrations/supabase/types").Json;
12032
+ };
12033
+ Returns: import("../integrations/supabase/types").Json;
12034
+ };
11249
12035
  dashboard_alert_counts: {
11250
12036
  Args: never;
11251
12037
  Returns: import("../integrations/supabase/types").Json;
@@ -11581,6 +12367,14 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11581
12367
  };
11582
12368
  Returns: string;
11583
12369
  };
12370
+ has_module_permission: {
12371
+ Args: {
12372
+ _min: string;
12373
+ _module_id: string;
12374
+ _user_id: string;
12375
+ };
12376
+ Returns: boolean;
12377
+ };
11584
12378
  has_role: {
11585
12379
  Args: {
11586
12380
  _role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
@@ -11606,6 +12400,20 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11606
12400
  };
11607
12401
  Returns: boolean;
11608
12402
  };
12403
+ jwt_has_role: {
12404
+ Args: {
12405
+ _role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
12406
+ };
12407
+ Returns: boolean;
12408
+ };
12409
+ list_monteurs: {
12410
+ Args: never;
12411
+ Returns: {
12412
+ display_name: string;
12413
+ email: string;
12414
+ user_id: string;
12415
+ }[];
12416
+ };
11609
12417
  local_effective_price: {
11610
12418
  Args: {
11611
12419
  _customer_id: string;
@@ -11622,6 +12430,22 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11622
12430
  source_id: string;
11623
12431
  }[];
11624
12432
  };
12433
+ log_ai_call: {
12434
+ Args: {
12435
+ _consumer_module_id: string;
12436
+ _cost_usd: number;
12437
+ _duration_ms: number;
12438
+ _error_code: string;
12439
+ _error_message: string;
12440
+ _input_tokens: number;
12441
+ _model_slug: string;
12442
+ _output_tokens: number;
12443
+ _provider_slug: string;
12444
+ _status: string;
12445
+ _total_tokens: number;
12446
+ };
12447
+ Returns: string;
12448
+ };
11625
12449
  mark_offer_clicked: {
11626
12450
  Args: {
11627
12451
  p_code: string;
@@ -11634,6 +12458,12 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11634
12458
  };
11635
12459
  Returns: undefined;
11636
12460
  };
12461
+ mark_shipment_shipped: {
12462
+ Args: {
12463
+ p_shipment_id: string;
12464
+ };
12465
+ Returns: undefined;
12466
+ };
11637
12467
  next_order_number: {
11638
12468
  Args: {
11639
12469
  p_prefix: string;
@@ -12110,9 +12940,11 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
12110
12940
  };
12111
12941
  };
12112
12942
  Enums: {
12113
- app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
12943
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
12114
12944
  exact_env: "staging" | "live";
12115
12945
  exact_push_status: "pending" | "sent" | "error";
12946
+ itk_customer_segment: "Business" | "Private";
12947
+ itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
12116
12948
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
12117
12949
  };
12118
12950
  CompositeTypes: { [_ in never]: never; };