@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
@@ -288,6 +288,57 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
288
288
  referencedColumns: ["id"];
289
289
  }];
290
290
  };
291
+ ai_call_log: {
292
+ Row: {
293
+ consumer_module_id: string;
294
+ cost_usd: number | null;
295
+ created_at: string;
296
+ created_by: string | null;
297
+ duration_ms: number | null;
298
+ error_code: string | null;
299
+ error_message: string | null;
300
+ id: string;
301
+ input_tokens: number;
302
+ model_slug: string | null;
303
+ output_tokens: number;
304
+ provider_slug: string | null;
305
+ status: string;
306
+ total_tokens: number;
307
+ };
308
+ Insert: {
309
+ consumer_module_id: string;
310
+ cost_usd?: number | null;
311
+ created_at?: string;
312
+ created_by?: string | null;
313
+ duration_ms?: number | null;
314
+ error_code?: string | null;
315
+ error_message?: string | null;
316
+ id?: string;
317
+ input_tokens?: number;
318
+ model_slug?: string | null;
319
+ output_tokens?: number;
320
+ provider_slug?: string | null;
321
+ status: string;
322
+ total_tokens?: number;
323
+ };
324
+ Update: {
325
+ consumer_module_id?: string;
326
+ cost_usd?: number | null;
327
+ created_at?: string;
328
+ created_by?: string | null;
329
+ duration_ms?: number | null;
330
+ error_code?: string | null;
331
+ error_message?: string | null;
332
+ id?: string;
333
+ input_tokens?: number;
334
+ model_slug?: string | null;
335
+ output_tokens?: number;
336
+ provider_slug?: string | null;
337
+ status?: string;
338
+ total_tokens?: number;
339
+ };
340
+ Relationships: [];
341
+ };
291
342
  ai_credentials: {
292
343
  Row: {
293
344
  active: boolean;
@@ -324,6 +375,36 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
324
375
  referencedColumns: ["id"];
325
376
  }];
326
377
  };
378
+ ai_goals: {
379
+ Row: {
380
+ active: boolean;
381
+ created_at: string;
382
+ description: string | null;
383
+ key: string;
384
+ label: string;
385
+ sort_order: number;
386
+ updated_at: string;
387
+ };
388
+ Insert: {
389
+ active?: boolean;
390
+ created_at?: string;
391
+ description?: string | null;
392
+ key: string;
393
+ label: string;
394
+ sort_order?: number;
395
+ updated_at?: string;
396
+ };
397
+ Update: {
398
+ active?: boolean;
399
+ created_at?: string;
400
+ description?: string | null;
401
+ key?: string;
402
+ label?: string;
403
+ sort_order?: number;
404
+ updated_at?: string;
405
+ };
406
+ Relationships: [];
407
+ };
327
408
  ai_model_pricing: {
328
409
  Row: {
329
410
  created_at: string;
@@ -1110,6 +1191,141 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
1110
1191
  };
1111
1192
  Relationships: [];
1112
1193
  };
1194
+ cart_planning_pick_times: {
1195
+ Row: {
1196
+ created_at: string;
1197
+ id: string;
1198
+ pot_size: string;
1199
+ seconds_per_cart: number;
1200
+ updated_at: string;
1201
+ };
1202
+ Insert: {
1203
+ created_at?: string;
1204
+ id?: string;
1205
+ pot_size: string;
1206
+ seconds_per_cart: number;
1207
+ updated_at?: string;
1208
+ };
1209
+ Update: {
1210
+ created_at?: string;
1211
+ id?: string;
1212
+ pot_size?: string;
1213
+ seconds_per_cart?: number;
1214
+ updated_at?: string;
1215
+ };
1216
+ Relationships: [];
1217
+ };
1218
+ cart_planning_product_overrides: {
1219
+ Row: {
1220
+ created_at: string;
1221
+ id: string;
1222
+ max_party_share_per_layer_pct_override: number | null;
1223
+ never_mix: boolean;
1224
+ notes: string | null;
1225
+ product_id: string;
1226
+ updated_at: string;
1227
+ };
1228
+ Insert: {
1229
+ created_at?: string;
1230
+ id?: string;
1231
+ max_party_share_per_layer_pct_override?: number | null;
1232
+ never_mix?: boolean;
1233
+ notes?: string | null;
1234
+ product_id: string;
1235
+ updated_at?: string;
1236
+ };
1237
+ Update: {
1238
+ created_at?: string;
1239
+ id?: string;
1240
+ max_party_share_per_layer_pct_override?: number | null;
1241
+ never_mix?: boolean;
1242
+ notes?: string | null;
1243
+ product_id?: string;
1244
+ updated_at?: string;
1245
+ };
1246
+ Relationships: [{
1247
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1248
+ columns: ["product_id"];
1249
+ isOneToOne: true;
1250
+ referencedRelation: "products";
1251
+ referencedColumns: ["id"];
1252
+ }];
1253
+ };
1254
+ cart_planning_settings: {
1255
+ Row: {
1256
+ allow_editing_after_pickstation_send: boolean;
1257
+ buffer_grouping_mode: string;
1258
+ combine_floriday_orders: boolean;
1259
+ combine_floriday_orders_window: string;
1260
+ combine_orders_scope: string;
1261
+ default_workers: number;
1262
+ id: number;
1263
+ max_beladingen_per_layer: number;
1264
+ max_customers_per_cart: number;
1265
+ max_one_customer_per_layer: boolean;
1266
+ max_party_share_per_layer_pct: number;
1267
+ optimization_strategy: string;
1268
+ own_cart_from_layers: number;
1269
+ pick_time_mode: string;
1270
+ plants_per_day: number;
1271
+ plants_per_hour: number;
1272
+ require_same_carrier: boolean;
1273
+ require_same_crate_type: boolean;
1274
+ require_same_delivery_date: boolean;
1275
+ require_same_delivery_location: boolean;
1276
+ updated_at: string;
1277
+ updated_by: string | null;
1278
+ };
1279
+ Insert: {
1280
+ allow_editing_after_pickstation_send?: boolean;
1281
+ buffer_grouping_mode?: string;
1282
+ combine_floriday_orders?: boolean;
1283
+ combine_floriday_orders_window?: string;
1284
+ combine_orders_scope?: string;
1285
+ default_workers?: number;
1286
+ id?: number;
1287
+ max_beladingen_per_layer?: number;
1288
+ max_customers_per_cart?: number;
1289
+ max_one_customer_per_layer?: boolean;
1290
+ max_party_share_per_layer_pct?: number;
1291
+ optimization_strategy?: string;
1292
+ own_cart_from_layers?: number;
1293
+ pick_time_mode?: string;
1294
+ plants_per_day?: number;
1295
+ plants_per_hour?: number;
1296
+ require_same_carrier?: boolean;
1297
+ require_same_crate_type?: boolean;
1298
+ require_same_delivery_date?: boolean;
1299
+ require_same_delivery_location?: boolean;
1300
+ updated_at?: string;
1301
+ updated_by?: string | null;
1302
+ };
1303
+ Update: {
1304
+ allow_editing_after_pickstation_send?: boolean;
1305
+ buffer_grouping_mode?: string;
1306
+ combine_floriday_orders?: boolean;
1307
+ combine_floriday_orders_window?: string;
1308
+ combine_orders_scope?: string;
1309
+ default_workers?: number;
1310
+ id?: number;
1311
+ max_beladingen_per_layer?: number;
1312
+ max_customers_per_cart?: number;
1313
+ max_one_customer_per_layer?: boolean;
1314
+ max_party_share_per_layer_pct?: number;
1315
+ optimization_strategy?: string;
1316
+ own_cart_from_layers?: number;
1317
+ pick_time_mode?: string;
1318
+ plants_per_day?: number;
1319
+ plants_per_hour?: number;
1320
+ require_same_carrier?: boolean;
1321
+ require_same_crate_type?: boolean;
1322
+ require_same_delivery_date?: boolean;
1323
+ require_same_delivery_location?: boolean;
1324
+ updated_at?: string;
1325
+ updated_by?: string | null;
1326
+ };
1327
+ Relationships: [];
1328
+ };
1113
1329
  cart_replan_queue: {
1114
1330
  Row: {
1115
1331
  attempts: number;
@@ -1140,6 +1356,39 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
1140
1356
  referencedColumns: ["id"];
1141
1357
  }];
1142
1358
  };
1359
+ cart_types: {
1360
+ Row: {
1361
+ created_at: string;
1362
+ id: string;
1363
+ is_default: boolean;
1364
+ layer_length_cm: number;
1365
+ layer_width_cm: number;
1366
+ layers_per_cart: number;
1367
+ name: string;
1368
+ updated_at: string;
1369
+ };
1370
+ Insert: {
1371
+ created_at?: string;
1372
+ id?: string;
1373
+ is_default?: boolean;
1374
+ layer_length_cm: number;
1375
+ layer_width_cm: number;
1376
+ layers_per_cart?: number;
1377
+ name: string;
1378
+ updated_at?: string;
1379
+ };
1380
+ Update: {
1381
+ created_at?: string;
1382
+ id?: string;
1383
+ is_default?: boolean;
1384
+ layer_length_cm?: number;
1385
+ layer_width_cm?: number;
1386
+ layers_per_cart?: number;
1387
+ name?: string;
1388
+ updated_at?: string;
1389
+ };
1390
+ Relationships: [];
1391
+ };
1143
1392
  catalog_articles_cache: {
1144
1393
  Row: {
1145
1394
  created_at: string;
@@ -1227,6 +1476,36 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
1227
1476
  };
1228
1477
  Relationships: [];
1229
1478
  };
1479
+ crate_types: {
1480
+ Row: {
1481
+ created_at: string;
1482
+ id: string;
1483
+ length_cm: number;
1484
+ name: string;
1485
+ plants_per_crate: number;
1486
+ updated_at: string;
1487
+ width_cm: number;
1488
+ };
1489
+ Insert: {
1490
+ created_at?: string;
1491
+ id?: string;
1492
+ length_cm: number;
1493
+ name: string;
1494
+ plants_per_crate?: number;
1495
+ updated_at?: string;
1496
+ width_cm: number;
1497
+ };
1498
+ Update: {
1499
+ created_at?: string;
1500
+ id?: string;
1501
+ length_cm?: number;
1502
+ name?: string;
1503
+ plants_per_crate?: number;
1504
+ updated_at?: string;
1505
+ width_cm?: number;
1506
+ };
1507
+ Relationships: [];
1508
+ };
1230
1509
  customer_audit_log: {
1231
1510
  Row: {
1232
1511
  action: string;
@@ -5702,69 +5981,351 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
5702
5981
  vat_amount?: number | null;
5703
5982
  };
5704
5983
  Update: {
5705
- booking_id?: string | null;
5706
- company_name?: string | null;
5984
+ booking_id?: string | null;
5985
+ company_name?: string | null;
5986
+ created_at?: string;
5987
+ customer_email?: string | null;
5988
+ description?: string | null;
5989
+ exact_article_id?: string | null;
5990
+ id?: string;
5991
+ invoice_run_id?: string | null;
5992
+ quantity?: number | null;
5993
+ total_excl_vat?: number | null;
5994
+ total_incl_vat?: number | null;
5995
+ unit_price?: number | null;
5996
+ vat_amount?: number | null;
5997
+ };
5998
+ Relationships: [{
5999
+ foreignKeyName: "invoice_run_items_booking_id_fkey";
6000
+ columns: ["booking_id"];
6001
+ isOneToOne: false;
6002
+ referencedRelation: "bookings";
6003
+ referencedColumns: ["id"];
6004
+ }, {
6005
+ foreignKeyName: "invoice_run_items_invoice_run_id_fkey";
6006
+ columns: ["invoice_run_id"];
6007
+ isOneToOne: false;
6008
+ referencedRelation: "invoice_runs";
6009
+ referencedColumns: ["id"];
6010
+ }];
6011
+ };
6012
+ invoice_runs: {
6013
+ Row: {
6014
+ created_at: string;
6015
+ created_by: string | null;
6016
+ id: string;
6017
+ period_end: string;
6018
+ period_start: string;
6019
+ status: string;
6020
+ total_excl_vat: number | null;
6021
+ total_incl_vat: number | null;
6022
+ vat_amount: number | null;
6023
+ };
6024
+ Insert: {
6025
+ created_at?: string;
6026
+ created_by?: string | null;
6027
+ id?: string;
6028
+ period_end: string;
6029
+ period_start: string;
6030
+ status?: string;
6031
+ total_excl_vat?: number | null;
6032
+ total_incl_vat?: number | null;
6033
+ vat_amount?: number | null;
6034
+ };
6035
+ Update: {
6036
+ created_at?: string;
6037
+ created_by?: string | null;
6038
+ id?: string;
6039
+ period_end?: string;
6040
+ period_start?: string;
6041
+ status?: string;
6042
+ total_excl_vat?: number | null;
6043
+ total_incl_vat?: number | null;
6044
+ vat_amount?: number | null;
6045
+ };
6046
+ Relationships: [];
6047
+ };
6048
+ itk_contact_persons: {
6049
+ Row: {
6050
+ created_at: string;
6051
+ customer_id: string;
6052
+ email: string | null;
6053
+ id: string;
6054
+ name: string;
6055
+ phone: string | null;
6056
+ role: string | null;
6057
+ updated_at: string;
6058
+ };
6059
+ Insert: {
6060
+ created_at?: string;
6061
+ customer_id: string;
6062
+ email?: string | null;
6063
+ id?: string;
6064
+ name: string;
6065
+ phone?: string | null;
6066
+ role?: string | null;
6067
+ updated_at?: string;
6068
+ };
6069
+ Update: {
6070
+ created_at?: string;
6071
+ customer_id?: string;
6072
+ email?: string | null;
6073
+ id?: string;
6074
+ name?: string;
6075
+ phone?: string | null;
6076
+ role?: string | null;
6077
+ updated_at?: string;
6078
+ };
6079
+ Relationships: [{
6080
+ foreignKeyName: "itk_contact_persons_customer_id_fkey";
6081
+ columns: ["customer_id"];
6082
+ isOneToOne: false;
6083
+ referencedRelation: "itk_customers";
6084
+ referencedColumns: ["id"];
6085
+ }];
6086
+ };
6087
+ itk_customer_dynamic_values: {
6088
+ Row: {
6089
+ created_at: string;
6090
+ customer_id: string;
6091
+ field_id: string;
6092
+ id: string;
6093
+ updated_at: string;
6094
+ value: string | null;
6095
+ };
6096
+ Insert: {
6097
+ created_at?: string;
6098
+ customer_id: string;
6099
+ field_id: string;
6100
+ id?: string;
6101
+ updated_at?: string;
6102
+ value?: string | null;
6103
+ };
6104
+ Update: {
6105
+ created_at?: string;
6106
+ customer_id?: string;
6107
+ field_id?: string;
6108
+ id?: string;
6109
+ updated_at?: string;
6110
+ value?: string | null;
6111
+ };
6112
+ Relationships: [{
6113
+ foreignKeyName: "itk_customer_dynamic_values_customer_id_fkey";
6114
+ columns: ["customer_id"];
6115
+ isOneToOne: false;
6116
+ referencedRelation: "itk_customers";
6117
+ referencedColumns: ["id"];
6118
+ }, {
6119
+ foreignKeyName: "itk_customer_dynamic_values_field_id_fkey";
6120
+ columns: ["field_id"];
6121
+ isOneToOne: false;
6122
+ referencedRelation: "itk_dynamic_fields";
6123
+ referencedColumns: ["id"];
6124
+ }];
6125
+ };
6126
+ itk_customer_notes: {
6127
+ Row: {
6128
+ body: string;
6129
+ created_at: string;
6130
+ created_by: string | null;
6131
+ customer_id: string;
6132
+ id: string;
6133
+ note_type: string;
6134
+ updated_at: string;
6135
+ };
6136
+ Insert: {
6137
+ body: string;
6138
+ created_at?: string;
6139
+ created_by?: string | null;
6140
+ customer_id: string;
6141
+ id?: string;
6142
+ note_type?: string;
6143
+ updated_at?: string;
6144
+ };
6145
+ Update: {
6146
+ body?: string;
6147
+ created_at?: string;
6148
+ created_by?: string | null;
6149
+ customer_id?: string;
6150
+ id?: string;
6151
+ note_type?: string;
6152
+ updated_at?: string;
6153
+ };
6154
+ Relationships: [{
6155
+ foreignKeyName: "itk_customer_notes_customer_id_fkey";
6156
+ columns: ["customer_id"];
6157
+ isOneToOne: false;
6158
+ referencedRelation: "itk_customers";
6159
+ referencedColumns: ["id"];
6160
+ }];
6161
+ };
6162
+ itk_customers: {
6163
+ Row: {
6164
+ billing_city: string | null;
6165
+ billing_postcode: string | null;
6166
+ billing_street: string | null;
6167
+ created_at: string;
6168
+ general_email: string | null;
6169
+ general_phone: string | null;
6170
+ id: string;
6171
+ legacy_customer_id: string | null;
6172
+ name: string;
6173
+ segment: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
6174
+ updated_at: string;
6175
+ };
6176
+ Insert: {
6177
+ billing_city?: string | null;
6178
+ billing_postcode?: string | null;
6179
+ billing_street?: string | null;
6180
+ created_at?: string;
6181
+ general_email?: string | null;
6182
+ general_phone?: string | null;
6183
+ id?: string;
6184
+ legacy_customer_id?: string | null;
6185
+ name: string;
6186
+ segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
6187
+ updated_at?: string;
6188
+ };
6189
+ Update: {
6190
+ billing_city?: string | null;
6191
+ billing_postcode?: string | null;
6192
+ billing_street?: string | null;
6193
+ created_at?: string;
6194
+ general_email?: string | null;
6195
+ general_phone?: string | null;
6196
+ id?: string;
6197
+ legacy_customer_id?: string | null;
6198
+ name?: string;
6199
+ segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
6200
+ updated_at?: string;
6201
+ };
6202
+ Relationships: [{
6203
+ foreignKeyName: "itk_customers_legacy_customer_id_fkey";
6204
+ columns: ["legacy_customer_id"];
6205
+ isOneToOne: false;
6206
+ referencedRelation: "customers";
6207
+ referencedColumns: ["id"];
6208
+ }];
6209
+ };
6210
+ itk_dynamic_fields: {
6211
+ Row: {
6212
+ created_at: string;
6213
+ field_name: string;
6214
+ field_type: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
6215
+ id: string;
6216
+ options: import("../integrations/supabase/types").Json;
6217
+ sort_order: number;
6218
+ updated_at: string;
6219
+ };
6220
+ Insert: {
6221
+ created_at?: string;
6222
+ field_name: string;
6223
+ field_type?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
6224
+ id?: string;
6225
+ options?: import("../integrations/supabase/types").Json;
6226
+ sort_order?: number;
6227
+ updated_at?: string;
6228
+ };
6229
+ Update: {
6230
+ created_at?: string;
6231
+ field_name?: string;
6232
+ field_type?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
6233
+ id?: string;
6234
+ options?: import("../integrations/supabase/types").Json;
6235
+ sort_order?: number;
6236
+ updated_at?: string;
6237
+ };
6238
+ Relationships: [];
6239
+ };
6240
+ itk_work_locations: {
6241
+ Row: {
6242
+ city: string | null;
6243
+ created_at: string;
6244
+ customer_id: string;
6245
+ id: string;
6246
+ instructions: string | null;
6247
+ label: string;
6248
+ latitude: number | null;
6249
+ longitude: number | null;
6250
+ postcode: string | null;
6251
+ street: string | null;
6252
+ updated_at: string;
6253
+ };
6254
+ Insert: {
6255
+ city?: string | null;
6256
+ created_at?: string;
6257
+ customer_id: string;
6258
+ id?: string;
6259
+ instructions?: string | null;
6260
+ label: string;
6261
+ latitude?: number | null;
6262
+ longitude?: number | null;
6263
+ postcode?: string | null;
6264
+ street?: string | null;
6265
+ updated_at?: string;
6266
+ };
6267
+ Update: {
6268
+ city?: string | null;
5707
6269
  created_at?: string;
5708
- customer_email?: string | null;
5709
- description?: string | null;
5710
- exact_article_id?: string | null;
6270
+ customer_id?: string;
5711
6271
  id?: string;
5712
- invoice_run_id?: string | null;
5713
- quantity?: number | null;
5714
- total_excl_vat?: number | null;
5715
- total_incl_vat?: number | null;
5716
- unit_price?: number | null;
5717
- vat_amount?: number | null;
6272
+ instructions?: string | null;
6273
+ label?: string;
6274
+ latitude?: number | null;
6275
+ longitude?: number | null;
6276
+ postcode?: string | null;
6277
+ street?: string | null;
6278
+ updated_at?: string;
5718
6279
  };
5719
6280
  Relationships: [{
5720
- foreignKeyName: "invoice_run_items_booking_id_fkey";
5721
- columns: ["booking_id"];
5722
- isOneToOne: false;
5723
- referencedRelation: "bookings";
5724
- referencedColumns: ["id"];
5725
- }, {
5726
- foreignKeyName: "invoice_run_items_invoice_run_id_fkey";
5727
- columns: ["invoice_run_id"];
6281
+ foreignKeyName: "itk_work_locations_customer_id_fkey";
6282
+ columns: ["customer_id"];
5728
6283
  isOneToOne: false;
5729
- referencedRelation: "invoice_runs";
6284
+ referencedRelation: "itk_customers";
5730
6285
  referencedColumns: ["id"];
5731
6286
  }];
5732
6287
  };
5733
- invoice_runs: {
6288
+ leave_requests: {
5734
6289
  Row: {
5735
6290
  created_at: string;
5736
- created_by: string | null;
6291
+ end_date: string;
5737
6292
  id: string;
5738
- period_end: string;
5739
- period_start: string;
6293
+ reason: string | null;
6294
+ start_date: string;
5740
6295
  status: string;
5741
- total_excl_vat: number | null;
5742
- total_incl_vat: number | null;
5743
- vat_amount: number | null;
6296
+ tenant_id: string;
6297
+ updated_at: string;
6298
+ user_id: string;
5744
6299
  };
5745
6300
  Insert: {
5746
6301
  created_at?: string;
5747
- created_by?: string | null;
6302
+ end_date: string;
5748
6303
  id?: string;
5749
- period_end: string;
5750
- period_start: string;
6304
+ reason?: string | null;
6305
+ start_date: string;
5751
6306
  status?: string;
5752
- total_excl_vat?: number | null;
5753
- total_incl_vat?: number | null;
5754
- vat_amount?: number | null;
6307
+ tenant_id?: string;
6308
+ updated_at?: string;
6309
+ user_id: string;
5755
6310
  };
5756
6311
  Update: {
5757
6312
  created_at?: string;
5758
- created_by?: string | null;
6313
+ end_date?: string;
5759
6314
  id?: string;
5760
- period_end?: string;
5761
- period_start?: string;
6315
+ reason?: string | null;
6316
+ start_date?: string;
5762
6317
  status?: string;
5763
- total_excl_vat?: number | null;
5764
- total_incl_vat?: number | null;
5765
- vat_amount?: number | null;
6318
+ tenant_id?: string;
6319
+ updated_at?: string;
6320
+ user_id?: string;
5766
6321
  };
5767
- Relationships: [];
6322
+ Relationships: [{
6323
+ foreignKeyName: "leave_requests_user_id_fkey";
6324
+ columns: ["user_id"];
6325
+ isOneToOne: false;
6326
+ referencedRelation: "monteurs";
6327
+ referencedColumns: ["id"];
6328
+ }];
5768
6329
  };
5769
6330
  local_customer_agreements: {
5770
6331
  Row: {
@@ -6417,6 +6978,33 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
6417
6978
  };
6418
6979
  Relationships: [];
6419
6980
  };
6981
+ module_permissions: {
6982
+ Row: {
6983
+ created_at: string;
6984
+ id: string;
6985
+ module_id: string;
6986
+ permission: string;
6987
+ role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
6988
+ updated_at: string;
6989
+ };
6990
+ Insert: {
6991
+ created_at?: string;
6992
+ id?: string;
6993
+ module_id: string;
6994
+ permission: string;
6995
+ role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
6996
+ updated_at?: string;
6997
+ };
6998
+ Update: {
6999
+ created_at?: string;
7000
+ id?: string;
7001
+ module_id?: string;
7002
+ permission?: string;
7003
+ role?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
7004
+ updated_at?: string;
7005
+ };
7006
+ Relationships: [];
7007
+ };
6420
7008
  monteurs: {
6421
7009
  Row: {
6422
7010
  avatar_url: string | null;
@@ -7146,6 +7734,42 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
7146
7734
  };
7147
7735
  Relationships: [];
7148
7736
  };
7737
+ order_buffers: {
7738
+ Row: {
7739
+ buffer_key: string;
7740
+ created_at: string;
7741
+ customer_id: string | null;
7742
+ grouping_mode: string;
7743
+ id: string;
7744
+ pickup_date: string | null;
7745
+ pickup_location: string | null;
7746
+ plan_locked_at: string | null;
7747
+ updated_at: string;
7748
+ };
7749
+ Insert: {
7750
+ buffer_key: string;
7751
+ created_at?: string;
7752
+ customer_id?: string | null;
7753
+ grouping_mode: string;
7754
+ id?: string;
7755
+ pickup_date?: string | null;
7756
+ pickup_location?: string | null;
7757
+ plan_locked_at?: string | null;
7758
+ updated_at?: string;
7759
+ };
7760
+ Update: {
7761
+ buffer_key?: string;
7762
+ created_at?: string;
7763
+ customer_id?: string | null;
7764
+ grouping_mode?: string;
7765
+ id?: string;
7766
+ pickup_date?: string | null;
7767
+ pickup_location?: string | null;
7768
+ plan_locked_at?: string | null;
7769
+ updated_at?: string;
7770
+ };
7771
+ Relationships: [];
7772
+ };
7149
7773
  order_cart_items: {
7150
7774
  Row: {
7151
7775
  cart_id: string;
@@ -7212,6 +7836,7 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
7212
7836
  order_carts: {
7213
7837
  Row: {
7214
7838
  algorithm_version: number;
7839
+ buffer_id: string | null;
7215
7840
  cart_number: number;
7216
7841
  created_at: string;
7217
7842
  id: string;
@@ -7219,13 +7844,14 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
7219
7844
  is_complete: boolean;
7220
7845
  notes: string | null;
7221
7846
  occupancy_pct: number;
7222
- order_id: string;
7847
+ order_id: string | null;
7223
7848
  source: string;
7224
7849
  total_layers_used: number;
7225
7850
  updated_at: string;
7226
7851
  };
7227
7852
  Insert: {
7228
7853
  algorithm_version?: number;
7854
+ buffer_id?: string | null;
7229
7855
  cart_number: number;
7230
7856
  created_at?: string;
7231
7857
  id?: string;
@@ -7233,13 +7859,14 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
7233
7859
  is_complete?: boolean;
7234
7860
  notes?: string | null;
7235
7861
  occupancy_pct?: number;
7236
- order_id: string;
7862
+ order_id?: string | null;
7237
7863
  source?: string;
7238
7864
  total_layers_used?: number;
7239
7865
  updated_at?: string;
7240
7866
  };
7241
7867
  Update: {
7242
7868
  algorithm_version?: number;
7869
+ buffer_id?: string | null;
7243
7870
  cart_number?: number;
7244
7871
  created_at?: string;
7245
7872
  id?: string;
@@ -7247,12 +7874,18 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
7247
7874
  is_complete?: boolean;
7248
7875
  notes?: string | null;
7249
7876
  occupancy_pct?: number;
7250
- order_id?: string;
7877
+ order_id?: string | null;
7251
7878
  source?: string;
7252
7879
  total_layers_used?: number;
7253
7880
  updated_at?: string;
7254
7881
  };
7255
7882
  Relationships: [{
7883
+ foreignKeyName: "order_carts_buffer_id_fkey";
7884
+ columns: ["buffer_id"];
7885
+ isOneToOne: false;
7886
+ referencedRelation: "order_buffers";
7887
+ referencedColumns: ["id"];
7888
+ }, {
7256
7889
  foreignKeyName: "order_carts_order_id_fkey";
7257
7890
  columns: ["order_id"];
7258
7891
  isOneToOne: false;
@@ -7389,15 +8022,117 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
7389
8022
  };
7390
8023
  Relationships: [];
7391
8024
  };
8025
+ order_shipment_items: {
8026
+ Row: {
8027
+ created_at: string;
8028
+ id: string;
8029
+ order_item_id: string;
8030
+ product_id: string | null;
8031
+ product_name: string;
8032
+ quantity: number;
8033
+ shipment_id: string;
8034
+ updated_at: string;
8035
+ };
8036
+ Insert: {
8037
+ created_at?: string;
8038
+ id?: string;
8039
+ order_item_id: string;
8040
+ product_id?: string | null;
8041
+ product_name: string;
8042
+ quantity: number;
8043
+ shipment_id: string;
8044
+ updated_at?: string;
8045
+ };
8046
+ Update: {
8047
+ created_at?: string;
8048
+ id?: string;
8049
+ order_item_id?: string;
8050
+ product_id?: string | null;
8051
+ product_name?: string;
8052
+ quantity?: number;
8053
+ shipment_id?: string;
8054
+ updated_at?: string;
8055
+ };
8056
+ Relationships: [{
8057
+ foreignKeyName: "order_shipment_items_order_item_id_fkey";
8058
+ columns: ["order_item_id"];
8059
+ isOneToOne: false;
8060
+ referencedRelation: "order_items";
8061
+ referencedColumns: ["id"];
8062
+ }, {
8063
+ foreignKeyName: "order_shipment_items_shipment_id_fkey";
8064
+ columns: ["shipment_id"];
8065
+ isOneToOne: false;
8066
+ referencedRelation: "order_shipments";
8067
+ referencedColumns: ["id"];
8068
+ }];
8069
+ };
8070
+ order_shipments: {
8071
+ Row: {
8072
+ carrier_id: string | null;
8073
+ created_at: string;
8074
+ delivery_date: string | null;
8075
+ delivery_location_id: string | null;
8076
+ id: string;
8077
+ notes: string | null;
8078
+ order_id: string;
8079
+ shipment_number: number;
8080
+ shipped_at: string | null;
8081
+ status: string;
8082
+ updated_at: string;
8083
+ };
8084
+ Insert: {
8085
+ carrier_id?: string | null;
8086
+ created_at?: string;
8087
+ delivery_date?: string | null;
8088
+ delivery_location_id?: string | null;
8089
+ id?: string;
8090
+ notes?: string | null;
8091
+ order_id: string;
8092
+ shipment_number: number;
8093
+ shipped_at?: string | null;
8094
+ status?: string;
8095
+ updated_at?: string;
8096
+ };
8097
+ Update: {
8098
+ carrier_id?: string | null;
8099
+ created_at?: string;
8100
+ delivery_date?: string | null;
8101
+ delivery_location_id?: string | null;
8102
+ id?: string;
8103
+ notes?: string | null;
8104
+ order_id?: string;
8105
+ shipment_number?: number;
8106
+ shipped_at?: string | null;
8107
+ status?: string;
8108
+ updated_at?: string;
8109
+ };
8110
+ Relationships: [{
8111
+ foreignKeyName: "order_shipments_carrier_id_fkey";
8112
+ columns: ["carrier_id"];
8113
+ isOneToOne: false;
8114
+ referencedRelation: "carriers";
8115
+ referencedColumns: ["id"];
8116
+ }, {
8117
+ foreignKeyName: "order_shipments_order_id_fkey";
8118
+ columns: ["order_id"];
8119
+ isOneToOne: false;
8120
+ referencedRelation: "orders";
8121
+ referencedColumns: ["id"];
8122
+ }];
8123
+ };
7392
8124
  orders: {
7393
8125
  Row: {
8126
+ buffer_id: string | null;
7394
8127
  created_at: string;
7395
8128
  custom_fields: import("../integrations/supabase/types").Json;
7396
8129
  customer_id: string | null;
7397
8130
  customer_name: string;
7398
8131
  deleted_at: string | null;
7399
- delivery_date: string;
8132
+ delivery_date: string | null;
8133
+ floriday_sales_order_id: string | null;
7400
8134
  id: string;
8135
+ is_reservation: boolean;
7401
8136
  notes: string | null;
7402
8137
  order_date: string;
7403
8138
  order_number: string;
@@ -7409,13 +8144,16 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
7409
8144
  updated_at: string;
7410
8145
  };
7411
8146
  Insert: {
8147
+ buffer_id?: string | null;
7412
8148
  created_at?: string;
7413
8149
  custom_fields?: import("../integrations/supabase/types").Json;
7414
8150
  customer_id?: string | null;
7415
8151
  customer_name?: string;
7416
8152
  deleted_at?: string | null;
7417
- delivery_date: string;
8153
+ delivery_date?: string | null;
8154
+ floriday_sales_order_id?: string | null;
7418
8155
  id?: string;
8156
+ is_reservation?: boolean;
7419
8157
  notes?: string | null;
7420
8158
  order_date?: string;
7421
8159
  order_number: string;
@@ -7427,13 +8165,16 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
7427
8165
  updated_at?: string;
7428
8166
  };
7429
8167
  Update: {
8168
+ buffer_id?: string | null;
7430
8169
  created_at?: string;
7431
8170
  custom_fields?: import("../integrations/supabase/types").Json;
7432
8171
  customer_id?: string | null;
7433
8172
  customer_name?: string;
7434
8173
  deleted_at?: string | null;
7435
- delivery_date?: string;
8174
+ delivery_date?: string | null;
8175
+ floriday_sales_order_id?: string | null;
7436
8176
  id?: string;
8177
+ is_reservation?: boolean;
7437
8178
  notes?: string | null;
7438
8179
  order_date?: string;
7439
8180
  order_number?: string;
@@ -7445,6 +8186,12 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
7445
8186
  updated_at?: string;
7446
8187
  };
7447
8188
  Relationships: [{
8189
+ foreignKeyName: "orders_buffer_id_fkey";
8190
+ columns: ["buffer_id"];
8191
+ isOneToOne: false;
8192
+ referencedRelation: "order_buffers";
8193
+ referencedColumns: ["id"];
8194
+ }, {
7448
8195
  foreignKeyName: "orders_customer_id_fkey";
7449
8196
  columns: ["customer_id"];
7450
8197
  isOneToOne: false;
@@ -7708,6 +8455,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
7708
8455
  Row: {
7709
8456
  created_at: string;
7710
8457
  description: string | null;
8458
+ head_product_id: string | null;
8459
+ head_trade_item_floriday_id: string | null;
7711
8460
  id: string;
7712
8461
  is_active: boolean;
7713
8462
  name: string;
@@ -7717,6 +8466,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
7717
8466
  Insert: {
7718
8467
  created_at?: string;
7719
8468
  description?: string | null;
8469
+ head_product_id?: string | null;
8470
+ head_trade_item_floriday_id?: string | null;
7720
8471
  id?: string;
7721
8472
  is_active?: boolean;
7722
8473
  name: string;
@@ -7726,13 +8477,21 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
7726
8477
  Update: {
7727
8478
  created_at?: string;
7728
8479
  description?: string | null;
8480
+ head_product_id?: string | null;
8481
+ head_trade_item_floriday_id?: string | null;
7729
8482
  id?: string;
7730
8483
  is_active?: boolean;
7731
8484
  name?: string;
7732
8485
  tenant_id?: string;
7733
8486
  updated_at?: string;
7734
8487
  };
7735
- Relationships: [];
8488
+ Relationships: [{
8489
+ foreignKeyName: "product_groups_head_product_id_fkey";
8490
+ columns: ["head_product_id"];
8491
+ isOneToOne: false;
8492
+ referencedRelation: "products";
8493
+ referencedColumns: ["id"];
8494
+ }];
7736
8495
  };
7737
8496
  products: {
7738
8497
  Row: {
@@ -10283,6 +11042,7 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
10283
11042
  internal_notes: string | null;
10284
11043
  parent_werkbon_id: string | null;
10285
11044
  parsed_payload: import("../integrations/supabase/types").Json | null;
11045
+ planning_status: string;
10286
11046
  project_number: string | null;
10287
11047
  room_number: string | null;
10288
11048
  scheduled_end_time: string | null;
@@ -10290,6 +11050,7 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
10290
11050
  sequence_number: number;
10291
11051
  source_pdf_path: string | null;
10292
11052
  status: string;
11053
+ technician_id: string | null;
10293
11054
  technician_notes: string | null;
10294
11055
  technician_notes_raw: string | null;
10295
11056
  technician_task_description: string | null;
@@ -10310,6 +11071,7 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
10310
11071
  internal_notes?: string | null;
10311
11072
  parent_werkbon_id?: string | null;
10312
11073
  parsed_payload?: import("../integrations/supabase/types").Json | null;
11074
+ planning_status?: string;
10313
11075
  project_number?: string | null;
10314
11076
  room_number?: string | null;
10315
11077
  scheduled_end_time?: string | null;
@@ -10317,6 +11079,7 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
10317
11079
  sequence_number: number;
10318
11080
  source_pdf_path?: string | null;
10319
11081
  status?: string;
11082
+ technician_id?: string | null;
10320
11083
  technician_notes?: string | null;
10321
11084
  technician_notes_raw?: string | null;
10322
11085
  technician_task_description?: string | null;
@@ -10337,6 +11100,7 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
10337
11100
  internal_notes?: string | null;
10338
11101
  parent_werkbon_id?: string | null;
10339
11102
  parsed_payload?: import("../integrations/supabase/types").Json | null;
11103
+ planning_status?: string;
10340
11104
  project_number?: string | null;
10341
11105
  room_number?: string | null;
10342
11106
  scheduled_end_time?: string | null;
@@ -10344,6 +11108,7 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
10344
11108
  sequence_number?: number;
10345
11109
  source_pdf_path?: string | null;
10346
11110
  status?: string;
11111
+ technician_id?: string | null;
10347
11112
  technician_notes?: string | null;
10348
11113
  technician_notes_raw?: string | null;
10349
11114
  technician_task_description?: string | null;
@@ -10352,17 +11117,17 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
10352
11117
  work_address?: string | null;
10353
11118
  };
10354
11119
  Relationships: [{
10355
- foreignKeyName: "werkbonnen_customer_id_fkey";
10356
- columns: ["customer_id"];
10357
- isOneToOne: false;
10358
- referencedRelation: "customers";
10359
- referencedColumns: ["id"];
10360
- }, {
10361
11120
  foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
10362
11121
  columns: ["parent_werkbon_id"];
10363
11122
  isOneToOne: false;
10364
11123
  referencedRelation: "werkbonnen";
10365
11124
  referencedColumns: ["id"];
11125
+ }, {
11126
+ foreignKeyName: "werkbonnen_technician_id_fkey";
11127
+ columns: ["technician_id"];
11128
+ isOneToOne: false;
11129
+ referencedRelation: "monteurs";
11130
+ referencedColumns: ["id"];
10366
11131
  }];
10367
11132
  };
10368
11133
  work_order_monteurs: {
@@ -11081,6 +11846,21 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
11081
11846
  };
11082
11847
  Returns: string;
11083
11848
  };
11849
+ ai_usage_by_module: {
11850
+ Args: {
11851
+ _from: string;
11852
+ _to: string;
11853
+ };
11854
+ Returns: {
11855
+ calls: number;
11856
+ consumer_module_id: string;
11857
+ cost_usd: number;
11858
+ errors: number;
11859
+ input_tokens: number;
11860
+ output_tokens: number;
11861
+ total_tokens: number;
11862
+ }[];
11863
+ };
11084
11864
  apply_stock_consumption: {
11085
11865
  Args: {
11086
11866
  p_order_id: string;
@@ -11229,6 +12009,12 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
11229
12009
  Args: never;
11230
12010
  Returns: string;
11231
12011
  };
12012
+ custom_access_token_hook: {
12013
+ Args: {
12014
+ event: import("../integrations/supabase/types").Json;
12015
+ };
12016
+ Returns: import("../integrations/supabase/types").Json;
12017
+ };
11232
12018
  dashboard_alert_counts: {
11233
12019
  Args: never;
11234
12020
  Returns: import("../integrations/supabase/types").Json;
@@ -11564,6 +12350,14 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
11564
12350
  };
11565
12351
  Returns: string;
11566
12352
  };
12353
+ has_module_permission: {
12354
+ Args: {
12355
+ _min: string;
12356
+ _module_id: string;
12357
+ _user_id: string;
12358
+ };
12359
+ Returns: boolean;
12360
+ };
11567
12361
  has_role: {
11568
12362
  Args: {
11569
12363
  _role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
@@ -11589,6 +12383,20 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
11589
12383
  };
11590
12384
  Returns: boolean;
11591
12385
  };
12386
+ jwt_has_role: {
12387
+ Args: {
12388
+ _role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
12389
+ };
12390
+ Returns: boolean;
12391
+ };
12392
+ list_monteurs: {
12393
+ Args: never;
12394
+ Returns: {
12395
+ display_name: string;
12396
+ email: string;
12397
+ user_id: string;
12398
+ }[];
12399
+ };
11592
12400
  local_effective_price: {
11593
12401
  Args: {
11594
12402
  _customer_id: string;
@@ -11605,6 +12413,22 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
11605
12413
  source_id: string;
11606
12414
  }[];
11607
12415
  };
12416
+ log_ai_call: {
12417
+ Args: {
12418
+ _consumer_module_id: string;
12419
+ _cost_usd: number;
12420
+ _duration_ms: number;
12421
+ _error_code: string;
12422
+ _error_message: string;
12423
+ _input_tokens: number;
12424
+ _model_slug: string;
12425
+ _output_tokens: number;
12426
+ _provider_slug: string;
12427
+ _status: string;
12428
+ _total_tokens: number;
12429
+ };
12430
+ Returns: string;
12431
+ };
11608
12432
  mark_offer_clicked: {
11609
12433
  Args: {
11610
12434
  p_code: string;
@@ -11617,6 +12441,12 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
11617
12441
  };
11618
12442
  Returns: undefined;
11619
12443
  };
12444
+ mark_shipment_shipped: {
12445
+ Args: {
12446
+ p_shipment_id: string;
12447
+ };
12448
+ Returns: undefined;
12449
+ };
11620
12450
  next_order_number: {
11621
12451
  Args: {
11622
12452
  p_prefix: string;
@@ -12093,9 +12923,11 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
12093
12923
  };
12094
12924
  };
12095
12925
  Enums: {
12096
- app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
12926
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
12097
12927
  exact_env: "staging" | "live";
12098
12928
  exact_push_status: "pending" | "sent" | "error";
12929
+ itk_customer_segment: "Business" | "Private";
12930
+ itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
12099
12931
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
12100
12932
  };
12101
12933
  CompositeTypes: { [_ in never]: never; };