@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
@@ -330,6 +330,57 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
330
330
  referencedColumns: ["id"];
331
331
  }];
332
332
  };
333
+ ai_call_log: {
334
+ Row: {
335
+ consumer_module_id: string;
336
+ cost_usd: number | null;
337
+ created_at: string;
338
+ created_by: string | null;
339
+ duration_ms: number | null;
340
+ error_code: string | null;
341
+ error_message: string | null;
342
+ id: string;
343
+ input_tokens: number;
344
+ model_slug: string | null;
345
+ output_tokens: number;
346
+ provider_slug: string | null;
347
+ status: string;
348
+ total_tokens: number;
349
+ };
350
+ Insert: {
351
+ consumer_module_id: string;
352
+ cost_usd?: number | null;
353
+ created_at?: string;
354
+ created_by?: string | null;
355
+ duration_ms?: number | null;
356
+ error_code?: string | null;
357
+ error_message?: string | null;
358
+ id?: string;
359
+ input_tokens?: number;
360
+ model_slug?: string | null;
361
+ output_tokens?: number;
362
+ provider_slug?: string | null;
363
+ status: string;
364
+ total_tokens?: number;
365
+ };
366
+ Update: {
367
+ consumer_module_id?: string;
368
+ cost_usd?: number | null;
369
+ created_at?: string;
370
+ created_by?: string | null;
371
+ duration_ms?: number | null;
372
+ error_code?: string | null;
373
+ error_message?: string | null;
374
+ id?: string;
375
+ input_tokens?: number;
376
+ model_slug?: string | null;
377
+ output_tokens?: number;
378
+ provider_slug?: string | null;
379
+ status?: string;
380
+ total_tokens?: number;
381
+ };
382
+ Relationships: [];
383
+ };
333
384
  ai_credentials: {
334
385
  Row: {
335
386
  active: boolean;
@@ -366,6 +417,36 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
366
417
  referencedColumns: ["id"];
367
418
  }];
368
419
  };
420
+ ai_goals: {
421
+ Row: {
422
+ active: boolean;
423
+ created_at: string;
424
+ description: string | null;
425
+ key: string;
426
+ label: string;
427
+ sort_order: number;
428
+ updated_at: string;
429
+ };
430
+ Insert: {
431
+ active?: boolean;
432
+ created_at?: string;
433
+ description?: string | null;
434
+ key: string;
435
+ label: string;
436
+ sort_order?: number;
437
+ updated_at?: string;
438
+ };
439
+ Update: {
440
+ active?: boolean;
441
+ created_at?: string;
442
+ description?: string | null;
443
+ key?: string;
444
+ label?: string;
445
+ sort_order?: number;
446
+ updated_at?: string;
447
+ };
448
+ Relationships: [];
449
+ };
369
450
  ai_model_pricing: {
370
451
  Row: {
371
452
  created_at: string;
@@ -1152,6 +1233,141 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
1152
1233
  };
1153
1234
  Relationships: [];
1154
1235
  };
1236
+ cart_planning_pick_times: {
1237
+ Row: {
1238
+ created_at: string;
1239
+ id: string;
1240
+ pot_size: string;
1241
+ seconds_per_cart: number;
1242
+ updated_at: string;
1243
+ };
1244
+ Insert: {
1245
+ created_at?: string;
1246
+ id?: string;
1247
+ pot_size: string;
1248
+ seconds_per_cart: number;
1249
+ updated_at?: string;
1250
+ };
1251
+ Update: {
1252
+ created_at?: string;
1253
+ id?: string;
1254
+ pot_size?: string;
1255
+ seconds_per_cart?: number;
1256
+ updated_at?: string;
1257
+ };
1258
+ Relationships: [];
1259
+ };
1260
+ cart_planning_product_overrides: {
1261
+ Row: {
1262
+ created_at: string;
1263
+ id: string;
1264
+ max_party_share_per_layer_pct_override: number | null;
1265
+ never_mix: boolean;
1266
+ notes: string | null;
1267
+ product_id: string;
1268
+ updated_at: string;
1269
+ };
1270
+ Insert: {
1271
+ created_at?: string;
1272
+ id?: string;
1273
+ max_party_share_per_layer_pct_override?: number | null;
1274
+ never_mix?: boolean;
1275
+ notes?: string | null;
1276
+ product_id: string;
1277
+ updated_at?: string;
1278
+ };
1279
+ Update: {
1280
+ created_at?: string;
1281
+ id?: string;
1282
+ max_party_share_per_layer_pct_override?: number | null;
1283
+ never_mix?: boolean;
1284
+ notes?: string | null;
1285
+ product_id?: string;
1286
+ updated_at?: string;
1287
+ };
1288
+ Relationships: [{
1289
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1290
+ columns: ["product_id"];
1291
+ isOneToOne: true;
1292
+ referencedRelation: "products";
1293
+ referencedColumns: ["id"];
1294
+ }];
1295
+ };
1296
+ cart_planning_settings: {
1297
+ Row: {
1298
+ allow_editing_after_pickstation_send: boolean;
1299
+ buffer_grouping_mode: string;
1300
+ combine_floriday_orders: boolean;
1301
+ combine_floriday_orders_window: string;
1302
+ combine_orders_scope: string;
1303
+ default_workers: number;
1304
+ id: number;
1305
+ max_beladingen_per_layer: number;
1306
+ max_customers_per_cart: number;
1307
+ max_one_customer_per_layer: boolean;
1308
+ max_party_share_per_layer_pct: number;
1309
+ optimization_strategy: string;
1310
+ own_cart_from_layers: number;
1311
+ pick_time_mode: string;
1312
+ plants_per_day: number;
1313
+ plants_per_hour: number;
1314
+ require_same_carrier: boolean;
1315
+ require_same_crate_type: boolean;
1316
+ require_same_delivery_date: boolean;
1317
+ require_same_delivery_location: boolean;
1318
+ updated_at: string;
1319
+ updated_by: string | null;
1320
+ };
1321
+ Insert: {
1322
+ allow_editing_after_pickstation_send?: boolean;
1323
+ buffer_grouping_mode?: string;
1324
+ combine_floriday_orders?: boolean;
1325
+ combine_floriday_orders_window?: string;
1326
+ combine_orders_scope?: string;
1327
+ default_workers?: number;
1328
+ id?: number;
1329
+ max_beladingen_per_layer?: number;
1330
+ max_customers_per_cart?: number;
1331
+ max_one_customer_per_layer?: boolean;
1332
+ max_party_share_per_layer_pct?: number;
1333
+ optimization_strategy?: string;
1334
+ own_cart_from_layers?: number;
1335
+ pick_time_mode?: string;
1336
+ plants_per_day?: number;
1337
+ plants_per_hour?: number;
1338
+ require_same_carrier?: boolean;
1339
+ require_same_crate_type?: boolean;
1340
+ require_same_delivery_date?: boolean;
1341
+ require_same_delivery_location?: boolean;
1342
+ updated_at?: string;
1343
+ updated_by?: string | null;
1344
+ };
1345
+ Update: {
1346
+ allow_editing_after_pickstation_send?: boolean;
1347
+ buffer_grouping_mode?: string;
1348
+ combine_floriday_orders?: boolean;
1349
+ combine_floriday_orders_window?: string;
1350
+ combine_orders_scope?: string;
1351
+ default_workers?: number;
1352
+ id?: number;
1353
+ max_beladingen_per_layer?: number;
1354
+ max_customers_per_cart?: number;
1355
+ max_one_customer_per_layer?: boolean;
1356
+ max_party_share_per_layer_pct?: number;
1357
+ optimization_strategy?: string;
1358
+ own_cart_from_layers?: number;
1359
+ pick_time_mode?: string;
1360
+ plants_per_day?: number;
1361
+ plants_per_hour?: number;
1362
+ require_same_carrier?: boolean;
1363
+ require_same_crate_type?: boolean;
1364
+ require_same_delivery_date?: boolean;
1365
+ require_same_delivery_location?: boolean;
1366
+ updated_at?: string;
1367
+ updated_by?: string | null;
1368
+ };
1369
+ Relationships: [];
1370
+ };
1155
1371
  cart_replan_queue: {
1156
1372
  Row: {
1157
1373
  attempts: number;
@@ -1182,6 +1398,39 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
1182
1398
  referencedColumns: ["id"];
1183
1399
  }];
1184
1400
  };
1401
+ cart_types: {
1402
+ Row: {
1403
+ created_at: string;
1404
+ id: string;
1405
+ is_default: boolean;
1406
+ layer_length_cm: number;
1407
+ layer_width_cm: number;
1408
+ layers_per_cart: number;
1409
+ name: string;
1410
+ updated_at: string;
1411
+ };
1412
+ Insert: {
1413
+ created_at?: string;
1414
+ id?: string;
1415
+ is_default?: boolean;
1416
+ layer_length_cm: number;
1417
+ layer_width_cm: number;
1418
+ layers_per_cart?: number;
1419
+ name: string;
1420
+ updated_at?: string;
1421
+ };
1422
+ Update: {
1423
+ created_at?: string;
1424
+ id?: string;
1425
+ is_default?: boolean;
1426
+ layer_length_cm?: number;
1427
+ layer_width_cm?: number;
1428
+ layers_per_cart?: number;
1429
+ name?: string;
1430
+ updated_at?: string;
1431
+ };
1432
+ Relationships: [];
1433
+ };
1185
1434
  catalog_articles_cache: {
1186
1435
  Row: {
1187
1436
  created_at: string;
@@ -1269,6 +1518,36 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
1269
1518
  };
1270
1519
  Relationships: [];
1271
1520
  };
1521
+ crate_types: {
1522
+ Row: {
1523
+ created_at: string;
1524
+ id: string;
1525
+ length_cm: number;
1526
+ name: string;
1527
+ plants_per_crate: number;
1528
+ updated_at: string;
1529
+ width_cm: number;
1530
+ };
1531
+ Insert: {
1532
+ created_at?: string;
1533
+ id?: string;
1534
+ length_cm: number;
1535
+ name: string;
1536
+ plants_per_crate?: number;
1537
+ updated_at?: string;
1538
+ width_cm: number;
1539
+ };
1540
+ Update: {
1541
+ created_at?: string;
1542
+ id?: string;
1543
+ length_cm?: number;
1544
+ name?: string;
1545
+ plants_per_crate?: number;
1546
+ updated_at?: string;
1547
+ width_cm?: number;
1548
+ };
1549
+ Relationships: [];
1550
+ };
1272
1551
  customer_audit_log: {
1273
1552
  Row: {
1274
1553
  action: string;
@@ -5744,69 +6023,351 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
5744
6023
  vat_amount?: number | null;
5745
6024
  };
5746
6025
  Update: {
5747
- booking_id?: string | null;
5748
- company_name?: string | null;
6026
+ booking_id?: string | null;
6027
+ company_name?: string | null;
6028
+ created_at?: string;
6029
+ customer_email?: string | null;
6030
+ description?: string | null;
6031
+ exact_article_id?: string | null;
6032
+ id?: string;
6033
+ invoice_run_id?: string | null;
6034
+ quantity?: number | null;
6035
+ total_excl_vat?: number | null;
6036
+ total_incl_vat?: number | null;
6037
+ unit_price?: number | null;
6038
+ vat_amount?: number | null;
6039
+ };
6040
+ Relationships: [{
6041
+ foreignKeyName: "invoice_run_items_booking_id_fkey";
6042
+ columns: ["booking_id"];
6043
+ isOneToOne: false;
6044
+ referencedRelation: "bookings";
6045
+ referencedColumns: ["id"];
6046
+ }, {
6047
+ foreignKeyName: "invoice_run_items_invoice_run_id_fkey";
6048
+ columns: ["invoice_run_id"];
6049
+ isOneToOne: false;
6050
+ referencedRelation: "invoice_runs";
6051
+ referencedColumns: ["id"];
6052
+ }];
6053
+ };
6054
+ invoice_runs: {
6055
+ Row: {
6056
+ created_at: string;
6057
+ created_by: string | null;
6058
+ id: string;
6059
+ period_end: string;
6060
+ period_start: string;
6061
+ status: string;
6062
+ total_excl_vat: number | null;
6063
+ total_incl_vat: number | null;
6064
+ vat_amount: number | null;
6065
+ };
6066
+ Insert: {
6067
+ created_at?: string;
6068
+ created_by?: string | null;
6069
+ id?: string;
6070
+ period_end: string;
6071
+ period_start: string;
6072
+ status?: string;
6073
+ total_excl_vat?: number | null;
6074
+ total_incl_vat?: number | null;
6075
+ vat_amount?: number | null;
6076
+ };
6077
+ Update: {
6078
+ created_at?: string;
6079
+ created_by?: string | null;
6080
+ id?: string;
6081
+ period_end?: string;
6082
+ period_start?: string;
6083
+ status?: string;
6084
+ total_excl_vat?: number | null;
6085
+ total_incl_vat?: number | null;
6086
+ vat_amount?: number | null;
6087
+ };
6088
+ Relationships: [];
6089
+ };
6090
+ itk_contact_persons: {
6091
+ Row: {
6092
+ created_at: string;
6093
+ customer_id: string;
6094
+ email: string | null;
6095
+ id: string;
6096
+ name: string;
6097
+ phone: string | null;
6098
+ role: string | null;
6099
+ updated_at: string;
6100
+ };
6101
+ Insert: {
6102
+ created_at?: string;
6103
+ customer_id: string;
6104
+ email?: string | null;
6105
+ id?: string;
6106
+ name: string;
6107
+ phone?: string | null;
6108
+ role?: string | null;
6109
+ updated_at?: string;
6110
+ };
6111
+ Update: {
6112
+ created_at?: string;
6113
+ customer_id?: string;
6114
+ email?: string | null;
6115
+ id?: string;
6116
+ name?: string;
6117
+ phone?: string | null;
6118
+ role?: string | null;
6119
+ updated_at?: string;
6120
+ };
6121
+ Relationships: [{
6122
+ foreignKeyName: "itk_contact_persons_customer_id_fkey";
6123
+ columns: ["customer_id"];
6124
+ isOneToOne: false;
6125
+ referencedRelation: "itk_customers";
6126
+ referencedColumns: ["id"];
6127
+ }];
6128
+ };
6129
+ itk_customer_dynamic_values: {
6130
+ Row: {
6131
+ created_at: string;
6132
+ customer_id: string;
6133
+ field_id: string;
6134
+ id: string;
6135
+ updated_at: string;
6136
+ value: string | null;
6137
+ };
6138
+ Insert: {
6139
+ created_at?: string;
6140
+ customer_id: string;
6141
+ field_id: string;
6142
+ id?: string;
6143
+ updated_at?: string;
6144
+ value?: string | null;
6145
+ };
6146
+ Update: {
6147
+ created_at?: string;
6148
+ customer_id?: string;
6149
+ field_id?: string;
6150
+ id?: string;
6151
+ updated_at?: string;
6152
+ value?: string | null;
6153
+ };
6154
+ Relationships: [{
6155
+ foreignKeyName: "itk_customer_dynamic_values_customer_id_fkey";
6156
+ columns: ["customer_id"];
6157
+ isOneToOne: false;
6158
+ referencedRelation: "itk_customers";
6159
+ referencedColumns: ["id"];
6160
+ }, {
6161
+ foreignKeyName: "itk_customer_dynamic_values_field_id_fkey";
6162
+ columns: ["field_id"];
6163
+ isOneToOne: false;
6164
+ referencedRelation: "itk_dynamic_fields";
6165
+ referencedColumns: ["id"];
6166
+ }];
6167
+ };
6168
+ itk_customer_notes: {
6169
+ Row: {
6170
+ body: string;
6171
+ created_at: string;
6172
+ created_by: string | null;
6173
+ customer_id: string;
6174
+ id: string;
6175
+ note_type: string;
6176
+ updated_at: string;
6177
+ };
6178
+ Insert: {
6179
+ body: string;
6180
+ created_at?: string;
6181
+ created_by?: string | null;
6182
+ customer_id: string;
6183
+ id?: string;
6184
+ note_type?: string;
6185
+ updated_at?: string;
6186
+ };
6187
+ Update: {
6188
+ body?: string;
6189
+ created_at?: string;
6190
+ created_by?: string | null;
6191
+ customer_id?: string;
6192
+ id?: string;
6193
+ note_type?: string;
6194
+ updated_at?: string;
6195
+ };
6196
+ Relationships: [{
6197
+ foreignKeyName: "itk_customer_notes_customer_id_fkey";
6198
+ columns: ["customer_id"];
6199
+ isOneToOne: false;
6200
+ referencedRelation: "itk_customers";
6201
+ referencedColumns: ["id"];
6202
+ }];
6203
+ };
6204
+ itk_customers: {
6205
+ Row: {
6206
+ billing_city: string | null;
6207
+ billing_postcode: string | null;
6208
+ billing_street: string | null;
6209
+ created_at: string;
6210
+ general_email: string | null;
6211
+ general_phone: string | null;
6212
+ id: string;
6213
+ legacy_customer_id: string | null;
6214
+ name: string;
6215
+ segment: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
6216
+ updated_at: string;
6217
+ };
6218
+ Insert: {
6219
+ billing_city?: string | null;
6220
+ billing_postcode?: string | null;
6221
+ billing_street?: string | null;
6222
+ created_at?: string;
6223
+ general_email?: string | null;
6224
+ general_phone?: string | null;
6225
+ id?: string;
6226
+ legacy_customer_id?: string | null;
6227
+ name: string;
6228
+ segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
6229
+ updated_at?: string;
6230
+ };
6231
+ Update: {
6232
+ billing_city?: string | null;
6233
+ billing_postcode?: string | null;
6234
+ billing_street?: string | null;
6235
+ created_at?: string;
6236
+ general_email?: string | null;
6237
+ general_phone?: string | null;
6238
+ id?: string;
6239
+ legacy_customer_id?: string | null;
6240
+ name?: string;
6241
+ segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
6242
+ updated_at?: string;
6243
+ };
6244
+ Relationships: [{
6245
+ foreignKeyName: "itk_customers_legacy_customer_id_fkey";
6246
+ columns: ["legacy_customer_id"];
6247
+ isOneToOne: false;
6248
+ referencedRelation: "customers";
6249
+ referencedColumns: ["id"];
6250
+ }];
6251
+ };
6252
+ itk_dynamic_fields: {
6253
+ Row: {
6254
+ created_at: string;
6255
+ field_name: string;
6256
+ field_type: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
6257
+ id: string;
6258
+ options: import("../integrations/supabase/types").Json;
6259
+ sort_order: number;
6260
+ updated_at: string;
6261
+ };
6262
+ Insert: {
6263
+ created_at?: string;
6264
+ field_name: string;
6265
+ field_type?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
6266
+ id?: string;
6267
+ options?: import("../integrations/supabase/types").Json;
6268
+ sort_order?: number;
6269
+ updated_at?: string;
6270
+ };
6271
+ Update: {
6272
+ created_at?: string;
6273
+ field_name?: string;
6274
+ field_type?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
6275
+ id?: string;
6276
+ options?: import("../integrations/supabase/types").Json;
6277
+ sort_order?: number;
6278
+ updated_at?: string;
6279
+ };
6280
+ Relationships: [];
6281
+ };
6282
+ itk_work_locations: {
6283
+ Row: {
6284
+ city: string | null;
6285
+ created_at: string;
6286
+ customer_id: string;
6287
+ id: string;
6288
+ instructions: string | null;
6289
+ label: string;
6290
+ latitude: number | null;
6291
+ longitude: number | null;
6292
+ postcode: string | null;
6293
+ street: string | null;
6294
+ updated_at: string;
6295
+ };
6296
+ Insert: {
6297
+ city?: string | null;
6298
+ created_at?: string;
6299
+ customer_id: string;
6300
+ id?: string;
6301
+ instructions?: string | null;
6302
+ label: string;
6303
+ latitude?: number | null;
6304
+ longitude?: number | null;
6305
+ postcode?: string | null;
6306
+ street?: string | null;
6307
+ updated_at?: string;
6308
+ };
6309
+ Update: {
6310
+ city?: string | null;
5749
6311
  created_at?: string;
5750
- customer_email?: string | null;
5751
- description?: string | null;
5752
- exact_article_id?: string | null;
6312
+ customer_id?: string;
5753
6313
  id?: string;
5754
- invoice_run_id?: string | null;
5755
- quantity?: number | null;
5756
- total_excl_vat?: number | null;
5757
- total_incl_vat?: number | null;
5758
- unit_price?: number | null;
5759
- vat_amount?: number | null;
6314
+ instructions?: string | null;
6315
+ label?: string;
6316
+ latitude?: number | null;
6317
+ longitude?: number | null;
6318
+ postcode?: string | null;
6319
+ street?: string | null;
6320
+ updated_at?: string;
5760
6321
  };
5761
6322
  Relationships: [{
5762
- foreignKeyName: "invoice_run_items_booking_id_fkey";
5763
- columns: ["booking_id"];
5764
- isOneToOne: false;
5765
- referencedRelation: "bookings";
5766
- referencedColumns: ["id"];
5767
- }, {
5768
- foreignKeyName: "invoice_run_items_invoice_run_id_fkey";
5769
- columns: ["invoice_run_id"];
6323
+ foreignKeyName: "itk_work_locations_customer_id_fkey";
6324
+ columns: ["customer_id"];
5770
6325
  isOneToOne: false;
5771
- referencedRelation: "invoice_runs";
6326
+ referencedRelation: "itk_customers";
5772
6327
  referencedColumns: ["id"];
5773
6328
  }];
5774
6329
  };
5775
- invoice_runs: {
6330
+ leave_requests: {
5776
6331
  Row: {
5777
6332
  created_at: string;
5778
- created_by: string | null;
6333
+ end_date: string;
5779
6334
  id: string;
5780
- period_end: string;
5781
- period_start: string;
6335
+ reason: string | null;
6336
+ start_date: string;
5782
6337
  status: string;
5783
- total_excl_vat: number | null;
5784
- total_incl_vat: number | null;
5785
- vat_amount: number | null;
6338
+ tenant_id: string;
6339
+ updated_at: string;
6340
+ user_id: string;
5786
6341
  };
5787
6342
  Insert: {
5788
6343
  created_at?: string;
5789
- created_by?: string | null;
6344
+ end_date: string;
5790
6345
  id?: string;
5791
- period_end: string;
5792
- period_start: string;
6346
+ reason?: string | null;
6347
+ start_date: string;
5793
6348
  status?: string;
5794
- total_excl_vat?: number | null;
5795
- total_incl_vat?: number | null;
5796
- vat_amount?: number | null;
6349
+ tenant_id?: string;
6350
+ updated_at?: string;
6351
+ user_id: string;
5797
6352
  };
5798
6353
  Update: {
5799
6354
  created_at?: string;
5800
- created_by?: string | null;
6355
+ end_date?: string;
5801
6356
  id?: string;
5802
- period_end?: string;
5803
- period_start?: string;
6357
+ reason?: string | null;
6358
+ start_date?: string;
5804
6359
  status?: string;
5805
- total_excl_vat?: number | null;
5806
- total_incl_vat?: number | null;
5807
- vat_amount?: number | null;
6360
+ tenant_id?: string;
6361
+ updated_at?: string;
6362
+ user_id?: string;
5808
6363
  };
5809
- Relationships: [];
6364
+ Relationships: [{
6365
+ foreignKeyName: "leave_requests_user_id_fkey";
6366
+ columns: ["user_id"];
6367
+ isOneToOne: false;
6368
+ referencedRelation: "monteurs";
6369
+ referencedColumns: ["id"];
6370
+ }];
5810
6371
  };
5811
6372
  local_customer_agreements: {
5812
6373
  Row: {
@@ -6459,6 +7020,33 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
6459
7020
  };
6460
7021
  Relationships: [];
6461
7022
  };
7023
+ module_permissions: {
7024
+ Row: {
7025
+ created_at: string;
7026
+ id: string;
7027
+ module_id: string;
7028
+ permission: string;
7029
+ role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
7030
+ updated_at: string;
7031
+ };
7032
+ Insert: {
7033
+ created_at?: string;
7034
+ id?: string;
7035
+ module_id: string;
7036
+ permission: string;
7037
+ role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
7038
+ updated_at?: string;
7039
+ };
7040
+ Update: {
7041
+ created_at?: string;
7042
+ id?: string;
7043
+ module_id?: string;
7044
+ permission?: string;
7045
+ role?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
7046
+ updated_at?: string;
7047
+ };
7048
+ Relationships: [];
7049
+ };
6462
7050
  monteurs: {
6463
7051
  Row: {
6464
7052
  avatar_url: string | null;
@@ -7188,6 +7776,42 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
7188
7776
  };
7189
7777
  Relationships: [];
7190
7778
  };
7779
+ order_buffers: {
7780
+ Row: {
7781
+ buffer_key: string;
7782
+ created_at: string;
7783
+ customer_id: string | null;
7784
+ grouping_mode: string;
7785
+ id: string;
7786
+ pickup_date: string | null;
7787
+ pickup_location: string | null;
7788
+ plan_locked_at: string | null;
7789
+ updated_at: string;
7790
+ };
7791
+ Insert: {
7792
+ buffer_key: string;
7793
+ created_at?: string;
7794
+ customer_id?: string | null;
7795
+ grouping_mode: string;
7796
+ id?: string;
7797
+ pickup_date?: string | null;
7798
+ pickup_location?: string | null;
7799
+ plan_locked_at?: string | null;
7800
+ updated_at?: string;
7801
+ };
7802
+ Update: {
7803
+ buffer_key?: string;
7804
+ created_at?: string;
7805
+ customer_id?: string | null;
7806
+ grouping_mode?: string;
7807
+ id?: string;
7808
+ pickup_date?: string | null;
7809
+ pickup_location?: string | null;
7810
+ plan_locked_at?: string | null;
7811
+ updated_at?: string;
7812
+ };
7813
+ Relationships: [];
7814
+ };
7191
7815
  order_cart_items: {
7192
7816
  Row: {
7193
7817
  cart_id: string;
@@ -7254,6 +7878,7 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
7254
7878
  order_carts: {
7255
7879
  Row: {
7256
7880
  algorithm_version: number;
7881
+ buffer_id: string | null;
7257
7882
  cart_number: number;
7258
7883
  created_at: string;
7259
7884
  id: string;
@@ -7261,13 +7886,14 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
7261
7886
  is_complete: boolean;
7262
7887
  notes: string | null;
7263
7888
  occupancy_pct: number;
7264
- order_id: string;
7889
+ order_id: string | null;
7265
7890
  source: string;
7266
7891
  total_layers_used: number;
7267
7892
  updated_at: string;
7268
7893
  };
7269
7894
  Insert: {
7270
7895
  algorithm_version?: number;
7896
+ buffer_id?: string | null;
7271
7897
  cart_number: number;
7272
7898
  created_at?: string;
7273
7899
  id?: string;
@@ -7275,13 +7901,14 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
7275
7901
  is_complete?: boolean;
7276
7902
  notes?: string | null;
7277
7903
  occupancy_pct?: number;
7278
- order_id: string;
7904
+ order_id?: string | null;
7279
7905
  source?: string;
7280
7906
  total_layers_used?: number;
7281
7907
  updated_at?: string;
7282
7908
  };
7283
7909
  Update: {
7284
7910
  algorithm_version?: number;
7911
+ buffer_id?: string | null;
7285
7912
  cart_number?: number;
7286
7913
  created_at?: string;
7287
7914
  id?: string;
@@ -7289,12 +7916,18 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
7289
7916
  is_complete?: boolean;
7290
7917
  notes?: string | null;
7291
7918
  occupancy_pct?: number;
7292
- order_id?: string;
7919
+ order_id?: string | null;
7293
7920
  source?: string;
7294
7921
  total_layers_used?: number;
7295
7922
  updated_at?: string;
7296
7923
  };
7297
7924
  Relationships: [{
7925
+ foreignKeyName: "order_carts_buffer_id_fkey";
7926
+ columns: ["buffer_id"];
7927
+ isOneToOne: false;
7928
+ referencedRelation: "order_buffers";
7929
+ referencedColumns: ["id"];
7930
+ }, {
7298
7931
  foreignKeyName: "order_carts_order_id_fkey";
7299
7932
  columns: ["order_id"];
7300
7933
  isOneToOne: false;
@@ -7431,15 +8064,117 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
7431
8064
  };
7432
8065
  Relationships: [];
7433
8066
  };
8067
+ order_shipment_items: {
8068
+ Row: {
8069
+ created_at: string;
8070
+ id: string;
8071
+ order_item_id: string;
8072
+ product_id: string | null;
8073
+ product_name: string;
8074
+ quantity: number;
8075
+ shipment_id: string;
8076
+ updated_at: string;
8077
+ };
8078
+ Insert: {
8079
+ created_at?: string;
8080
+ id?: string;
8081
+ order_item_id: string;
8082
+ product_id?: string | null;
8083
+ product_name: string;
8084
+ quantity: number;
8085
+ shipment_id: string;
8086
+ updated_at?: string;
8087
+ };
8088
+ Update: {
8089
+ created_at?: string;
8090
+ id?: string;
8091
+ order_item_id?: string;
8092
+ product_id?: string | null;
8093
+ product_name?: string;
8094
+ quantity?: number;
8095
+ shipment_id?: string;
8096
+ updated_at?: string;
8097
+ };
8098
+ Relationships: [{
8099
+ foreignKeyName: "order_shipment_items_order_item_id_fkey";
8100
+ columns: ["order_item_id"];
8101
+ isOneToOne: false;
8102
+ referencedRelation: "order_items";
8103
+ referencedColumns: ["id"];
8104
+ }, {
8105
+ foreignKeyName: "order_shipment_items_shipment_id_fkey";
8106
+ columns: ["shipment_id"];
8107
+ isOneToOne: false;
8108
+ referencedRelation: "order_shipments";
8109
+ referencedColumns: ["id"];
8110
+ }];
8111
+ };
8112
+ order_shipments: {
8113
+ Row: {
8114
+ carrier_id: string | null;
8115
+ created_at: string;
8116
+ delivery_date: string | null;
8117
+ delivery_location_id: string | null;
8118
+ id: string;
8119
+ notes: string | null;
8120
+ order_id: string;
8121
+ shipment_number: number;
8122
+ shipped_at: string | null;
8123
+ status: string;
8124
+ updated_at: string;
8125
+ };
8126
+ Insert: {
8127
+ carrier_id?: string | null;
8128
+ created_at?: string;
8129
+ delivery_date?: string | null;
8130
+ delivery_location_id?: string | null;
8131
+ id?: string;
8132
+ notes?: string | null;
8133
+ order_id: string;
8134
+ shipment_number: number;
8135
+ shipped_at?: string | null;
8136
+ status?: string;
8137
+ updated_at?: string;
8138
+ };
8139
+ Update: {
8140
+ carrier_id?: string | null;
8141
+ created_at?: string;
8142
+ delivery_date?: string | null;
8143
+ delivery_location_id?: string | null;
8144
+ id?: string;
8145
+ notes?: string | null;
8146
+ order_id?: string;
8147
+ shipment_number?: number;
8148
+ shipped_at?: string | null;
8149
+ status?: string;
8150
+ updated_at?: string;
8151
+ };
8152
+ Relationships: [{
8153
+ foreignKeyName: "order_shipments_carrier_id_fkey";
8154
+ columns: ["carrier_id"];
8155
+ isOneToOne: false;
8156
+ referencedRelation: "carriers";
8157
+ referencedColumns: ["id"];
8158
+ }, {
8159
+ foreignKeyName: "order_shipments_order_id_fkey";
8160
+ columns: ["order_id"];
8161
+ isOneToOne: false;
8162
+ referencedRelation: "orders";
8163
+ referencedColumns: ["id"];
8164
+ }];
8165
+ };
7434
8166
  orders: {
7435
8167
  Row: {
8168
+ buffer_id: string | null;
7436
8169
  created_at: string;
7437
8170
  custom_fields: import("../integrations/supabase/types").Json;
7438
8171
  customer_id: string | null;
7439
8172
  customer_name: string;
7440
8173
  deleted_at: string | null;
7441
- delivery_date: string;
8174
+ delivery_date: string | null;
8175
+ floriday_sales_order_id: string | null;
7442
8176
  id: string;
8177
+ is_reservation: boolean;
7443
8178
  notes: string | null;
7444
8179
  order_date: string;
7445
8180
  order_number: string;
@@ -7451,13 +8186,16 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
7451
8186
  updated_at: string;
7452
8187
  };
7453
8188
  Insert: {
8189
+ buffer_id?: string | null;
7454
8190
  created_at?: string;
7455
8191
  custom_fields?: import("../integrations/supabase/types").Json;
7456
8192
  customer_id?: string | null;
7457
8193
  customer_name?: string;
7458
8194
  deleted_at?: string | null;
7459
- delivery_date: string;
8195
+ delivery_date?: string | null;
8196
+ floriday_sales_order_id?: string | null;
7460
8197
  id?: string;
8198
+ is_reservation?: boolean;
7461
8199
  notes?: string | null;
7462
8200
  order_date?: string;
7463
8201
  order_number: string;
@@ -7469,13 +8207,16 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
7469
8207
  updated_at?: string;
7470
8208
  };
7471
8209
  Update: {
8210
+ buffer_id?: string | null;
7472
8211
  created_at?: string;
7473
8212
  custom_fields?: import("../integrations/supabase/types").Json;
7474
8213
  customer_id?: string | null;
7475
8214
  customer_name?: string;
7476
8215
  deleted_at?: string | null;
7477
- delivery_date?: string;
8216
+ delivery_date?: string | null;
8217
+ floriday_sales_order_id?: string | null;
7478
8218
  id?: string;
8219
+ is_reservation?: boolean;
7479
8220
  notes?: string | null;
7480
8221
  order_date?: string;
7481
8222
  order_number?: string;
@@ -7487,6 +8228,12 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
7487
8228
  updated_at?: string;
7488
8229
  };
7489
8230
  Relationships: [{
8231
+ foreignKeyName: "orders_buffer_id_fkey";
8232
+ columns: ["buffer_id"];
8233
+ isOneToOne: false;
8234
+ referencedRelation: "order_buffers";
8235
+ referencedColumns: ["id"];
8236
+ }, {
7490
8237
  foreignKeyName: "orders_customer_id_fkey";
7491
8238
  columns: ["customer_id"];
7492
8239
  isOneToOne: false;
@@ -7750,6 +8497,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
7750
8497
  Row: {
7751
8498
  created_at: string;
7752
8499
  description: string | null;
8500
+ head_product_id: string | null;
8501
+ head_trade_item_floriday_id: string | null;
7753
8502
  id: string;
7754
8503
  is_active: boolean;
7755
8504
  name: string;
@@ -7759,6 +8508,8 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
7759
8508
  Insert: {
7760
8509
  created_at?: string;
7761
8510
  description?: string | null;
8511
+ head_product_id?: string | null;
8512
+ head_trade_item_floriday_id?: string | null;
7762
8513
  id?: string;
7763
8514
  is_active?: boolean;
7764
8515
  name: string;
@@ -7768,13 +8519,21 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
7768
8519
  Update: {
7769
8520
  created_at?: string;
7770
8521
  description?: string | null;
8522
+ head_product_id?: string | null;
8523
+ head_trade_item_floriday_id?: string | null;
7771
8524
  id?: string;
7772
8525
  is_active?: boolean;
7773
8526
  name?: string;
7774
8527
  tenant_id?: string;
7775
8528
  updated_at?: string;
7776
8529
  };
7777
- Relationships: [];
8530
+ Relationships: [{
8531
+ foreignKeyName: "product_groups_head_product_id_fkey";
8532
+ columns: ["head_product_id"];
8533
+ isOneToOne: false;
8534
+ referencedRelation: "products";
8535
+ referencedColumns: ["id"];
8536
+ }];
7778
8537
  };
7779
8538
  products: {
7780
8539
  Row: {
@@ -10325,6 +11084,7 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
10325
11084
  internal_notes: string | null;
10326
11085
  parent_werkbon_id: string | null;
10327
11086
  parsed_payload: import("../integrations/supabase/types").Json | null;
11087
+ planning_status: string;
10328
11088
  project_number: string | null;
10329
11089
  room_number: string | null;
10330
11090
  scheduled_end_time: string | null;
@@ -10332,6 +11092,7 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
10332
11092
  sequence_number: number;
10333
11093
  source_pdf_path: string | null;
10334
11094
  status: string;
11095
+ technician_id: string | null;
10335
11096
  technician_notes: string | null;
10336
11097
  technician_notes_raw: string | null;
10337
11098
  technician_task_description: string | null;
@@ -10352,6 +11113,7 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
10352
11113
  internal_notes?: string | null;
10353
11114
  parent_werkbon_id?: string | null;
10354
11115
  parsed_payload?: import("../integrations/supabase/types").Json | null;
11116
+ planning_status?: string;
10355
11117
  project_number?: string | null;
10356
11118
  room_number?: string | null;
10357
11119
  scheduled_end_time?: string | null;
@@ -10359,6 +11121,7 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
10359
11121
  sequence_number: number;
10360
11122
  source_pdf_path?: string | null;
10361
11123
  status?: string;
11124
+ technician_id?: string | null;
10362
11125
  technician_notes?: string | null;
10363
11126
  technician_notes_raw?: string | null;
10364
11127
  technician_task_description?: string | null;
@@ -10379,6 +11142,7 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
10379
11142
  internal_notes?: string | null;
10380
11143
  parent_werkbon_id?: string | null;
10381
11144
  parsed_payload?: import("../integrations/supabase/types").Json | null;
11145
+ planning_status?: string;
10382
11146
  project_number?: string | null;
10383
11147
  room_number?: string | null;
10384
11148
  scheduled_end_time?: string | null;
@@ -10386,6 +11150,7 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
10386
11150
  sequence_number?: number;
10387
11151
  source_pdf_path?: string | null;
10388
11152
  status?: string;
11153
+ technician_id?: string | null;
10389
11154
  technician_notes?: string | null;
10390
11155
  technician_notes_raw?: string | null;
10391
11156
  technician_task_description?: string | null;
@@ -10394,17 +11159,17 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
10394
11159
  work_address?: string | null;
10395
11160
  };
10396
11161
  Relationships: [{
10397
- foreignKeyName: "werkbonnen_customer_id_fkey";
10398
- columns: ["customer_id"];
10399
- isOneToOne: false;
10400
- referencedRelation: "customers";
10401
- referencedColumns: ["id"];
10402
- }, {
10403
11162
  foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
10404
11163
  columns: ["parent_werkbon_id"];
10405
11164
  isOneToOne: false;
10406
11165
  referencedRelation: "werkbonnen";
10407
11166
  referencedColumns: ["id"];
11167
+ }, {
11168
+ foreignKeyName: "werkbonnen_technician_id_fkey";
11169
+ columns: ["technician_id"];
11170
+ isOneToOne: false;
11171
+ referencedRelation: "monteurs";
11172
+ referencedColumns: ["id"];
10408
11173
  }];
10409
11174
  };
10410
11175
  work_order_monteurs: {
@@ -11123,6 +11888,21 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
11123
11888
  };
11124
11889
  Returns: string;
11125
11890
  };
11891
+ ai_usage_by_module: {
11892
+ Args: {
11893
+ _from: string;
11894
+ _to: string;
11895
+ };
11896
+ Returns: {
11897
+ calls: number;
11898
+ consumer_module_id: string;
11899
+ cost_usd: number;
11900
+ errors: number;
11901
+ input_tokens: number;
11902
+ output_tokens: number;
11903
+ total_tokens: number;
11904
+ }[];
11905
+ };
11126
11906
  apply_stock_consumption: {
11127
11907
  Args: {
11128
11908
  p_order_id: string;
@@ -11271,6 +12051,12 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
11271
12051
  Args: never;
11272
12052
  Returns: string;
11273
12053
  };
12054
+ custom_access_token_hook: {
12055
+ Args: {
12056
+ event: import("../integrations/supabase/types").Json;
12057
+ };
12058
+ Returns: import("../integrations/supabase/types").Json;
12059
+ };
11274
12060
  dashboard_alert_counts: {
11275
12061
  Args: never;
11276
12062
  Returns: import("../integrations/supabase/types").Json;
@@ -11606,6 +12392,14 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
11606
12392
  };
11607
12393
  Returns: string;
11608
12394
  };
12395
+ has_module_permission: {
12396
+ Args: {
12397
+ _min: string;
12398
+ _module_id: string;
12399
+ _user_id: string;
12400
+ };
12401
+ Returns: boolean;
12402
+ };
11609
12403
  has_role: {
11610
12404
  Args: {
11611
12405
  _role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
@@ -11631,6 +12425,20 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
11631
12425
  };
11632
12426
  Returns: boolean;
11633
12427
  };
12428
+ jwt_has_role: {
12429
+ Args: {
12430
+ _role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
12431
+ };
12432
+ Returns: boolean;
12433
+ };
12434
+ list_monteurs: {
12435
+ Args: never;
12436
+ Returns: {
12437
+ display_name: string;
12438
+ email: string;
12439
+ user_id: string;
12440
+ }[];
12441
+ };
11634
12442
  local_effective_price: {
11635
12443
  Args: {
11636
12444
  _customer_id: string;
@@ -11647,6 +12455,22 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
11647
12455
  source_id: string;
11648
12456
  }[];
11649
12457
  };
12458
+ log_ai_call: {
12459
+ Args: {
12460
+ _consumer_module_id: string;
12461
+ _cost_usd: number;
12462
+ _duration_ms: number;
12463
+ _error_code: string;
12464
+ _error_message: string;
12465
+ _input_tokens: number;
12466
+ _model_slug: string;
12467
+ _output_tokens: number;
12468
+ _provider_slug: string;
12469
+ _status: string;
12470
+ _total_tokens: number;
12471
+ };
12472
+ Returns: string;
12473
+ };
11650
12474
  mark_offer_clicked: {
11651
12475
  Args: {
11652
12476
  p_code: string;
@@ -11659,6 +12483,12 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
11659
12483
  };
11660
12484
  Returns: undefined;
11661
12485
  };
12486
+ mark_shipment_shipped: {
12487
+ Args: {
12488
+ p_shipment_id: string;
12489
+ };
12490
+ Returns: undefined;
12491
+ };
11662
12492
  next_order_number: {
11663
12493
  Args: {
11664
12494
  p_prefix: string;
@@ -12135,9 +12965,11 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
12135
12965
  };
12136
12966
  };
12137
12967
  Enums: {
12138
- app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
12968
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
12139
12969
  exact_env: "staging" | "live";
12140
12970
  exact_push_status: "pending" | "sent" | "error";
12971
+ itk_customer_segment: "Business" | "Private";
12972
+ itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
12141
12973
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
12142
12974
  };
12143
12975
  CompositeTypes: { [_ in never]: never; };