@flowselections/floriday-klanten-module 1.0.16 → 1.0.18

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 (48) 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/components/klanten/pricegroups/PriceGroupEditRoute.d.ts +2 -0
  5. package/dist-lib/components/klanten/pricegroups/PriceGroupEditRoute.d.ts.map +1 -0
  6. package/dist-lib/components/klanten/pricegroups/PriceGroupEditRoute.js +8 -0
  7. package/dist-lib/index.d.ts +2 -0
  8. package/dist-lib/index.d.ts.map +1 -1
  9. package/dist-lib/index.js +2 -0
  10. package/dist-lib/integrations/supabase/auth-middleware.d.ts +905 -27
  11. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  12. package/dist-lib/integrations/supabase/client.d.ts +905 -27
  13. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  14. package/dist-lib/integrations/supabase/client.server.d.ts +905 -27
  15. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  16. package/dist-lib/integrations/supabase/types.d.ts +930 -22
  17. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/types.js +4 -9
  19. package/dist-lib/lib/accounting/twinfield/mapping.d.ts.map +1 -1
  20. package/dist-lib/lib/accounting/twinfield/mapping.js +14 -2
  21. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +2676 -42
  22. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/accounting.functions.d.ts +2676 -42
  24. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/customer-analytics.functions.d.ts +905 -27
  26. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/customers.functions.d.ts +8028 -126
  28. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/delivery-locations.functions.d.ts +3568 -56
  30. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/external-customers.functions.d.ts +3568 -56
  32. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday-assortment.functions.d.ts +905 -27
  34. package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/floriday-discounts.functions.d.ts +1888 -132
  36. package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/floriday-trade-items.functions.d.ts +905 -27
  38. package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/local-discounts.functions.d.ts +6244 -98
  40. package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/overdue-invoices.functions.d.ts +905 -27
  42. package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/price-groups-local.functions.d.ts +6244 -98
  44. package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/price-groups.functions.d.ts +905 -27
  46. package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
  47. package/package.json +8 -2
  48. package/public/flowselections-assets/Klanten/floriday-logo.png +0 -0
@@ -292,6 +292,57 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
292
292
  referencedColumns: ["id"];
293
293
  }];
294
294
  };
295
+ ai_call_log: {
296
+ Row: {
297
+ consumer_module_id: string;
298
+ cost_usd: number | null;
299
+ created_at: string;
300
+ created_by: string | null;
301
+ duration_ms: number | null;
302
+ error_code: string | null;
303
+ error_message: string | null;
304
+ id: string;
305
+ input_tokens: number;
306
+ model_slug: string | null;
307
+ output_tokens: number;
308
+ provider_slug: string | null;
309
+ status: string;
310
+ total_tokens: number;
311
+ };
312
+ Insert: {
313
+ consumer_module_id: string;
314
+ cost_usd?: number | null;
315
+ created_at?: string;
316
+ created_by?: string | null;
317
+ duration_ms?: number | null;
318
+ error_code?: string | null;
319
+ error_message?: string | null;
320
+ id?: string;
321
+ input_tokens?: number;
322
+ model_slug?: string | null;
323
+ output_tokens?: number;
324
+ provider_slug?: string | null;
325
+ status: string;
326
+ total_tokens?: number;
327
+ };
328
+ Update: {
329
+ consumer_module_id?: string;
330
+ cost_usd?: number | null;
331
+ created_at?: string;
332
+ created_by?: string | null;
333
+ duration_ms?: number | null;
334
+ error_code?: string | null;
335
+ error_message?: string | null;
336
+ id?: string;
337
+ input_tokens?: number;
338
+ model_slug?: string | null;
339
+ output_tokens?: number;
340
+ provider_slug?: string | null;
341
+ status?: string;
342
+ total_tokens?: number;
343
+ };
344
+ Relationships: [];
345
+ };
295
346
  ai_credentials: {
296
347
  Row: {
297
348
  active: boolean;
@@ -328,6 +379,36 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
328
379
  referencedColumns: ["id"];
329
380
  }];
330
381
  };
382
+ ai_goals: {
383
+ Row: {
384
+ active: boolean;
385
+ created_at: string;
386
+ description: string | null;
387
+ key: string;
388
+ label: string;
389
+ sort_order: number;
390
+ updated_at: string;
391
+ };
392
+ Insert: {
393
+ active?: boolean;
394
+ created_at?: string;
395
+ description?: string | null;
396
+ key: string;
397
+ label: string;
398
+ sort_order?: number;
399
+ updated_at?: string;
400
+ };
401
+ Update: {
402
+ active?: boolean;
403
+ created_at?: string;
404
+ description?: string | null;
405
+ key?: string;
406
+ label?: string;
407
+ sort_order?: number;
408
+ updated_at?: string;
409
+ };
410
+ Relationships: [];
411
+ };
331
412
  ai_model_pricing: {
332
413
  Row: {
333
414
  created_at: string;
@@ -1114,6 +1195,141 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
1114
1195
  };
1115
1196
  Relationships: [];
1116
1197
  };
1198
+ cart_planning_pick_times: {
1199
+ Row: {
1200
+ created_at: string;
1201
+ id: string;
1202
+ pot_size: string;
1203
+ seconds_per_cart: number;
1204
+ updated_at: string;
1205
+ };
1206
+ Insert: {
1207
+ created_at?: string;
1208
+ id?: string;
1209
+ pot_size: string;
1210
+ seconds_per_cart: number;
1211
+ updated_at?: string;
1212
+ };
1213
+ Update: {
1214
+ created_at?: string;
1215
+ id?: string;
1216
+ pot_size?: string;
1217
+ seconds_per_cart?: number;
1218
+ updated_at?: string;
1219
+ };
1220
+ Relationships: [];
1221
+ };
1222
+ cart_planning_product_overrides: {
1223
+ Row: {
1224
+ created_at: string;
1225
+ id: string;
1226
+ max_party_share_per_layer_pct_override: number | null;
1227
+ never_mix: boolean;
1228
+ notes: string | null;
1229
+ product_id: string;
1230
+ updated_at: string;
1231
+ };
1232
+ Insert: {
1233
+ created_at?: string;
1234
+ id?: string;
1235
+ max_party_share_per_layer_pct_override?: number | null;
1236
+ never_mix?: boolean;
1237
+ notes?: string | null;
1238
+ product_id: string;
1239
+ updated_at?: string;
1240
+ };
1241
+ Update: {
1242
+ created_at?: string;
1243
+ id?: string;
1244
+ max_party_share_per_layer_pct_override?: number | null;
1245
+ never_mix?: boolean;
1246
+ notes?: string | null;
1247
+ product_id?: string;
1248
+ updated_at?: string;
1249
+ };
1250
+ Relationships: [{
1251
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1252
+ columns: ["product_id"];
1253
+ isOneToOne: true;
1254
+ referencedRelation: "products";
1255
+ referencedColumns: ["id"];
1256
+ }];
1257
+ };
1258
+ cart_planning_settings: {
1259
+ Row: {
1260
+ allow_editing_after_pickstation_send: boolean;
1261
+ buffer_grouping_mode: string;
1262
+ combine_floriday_orders: boolean;
1263
+ combine_floriday_orders_window: string;
1264
+ combine_orders_scope: string;
1265
+ default_workers: number;
1266
+ id: number;
1267
+ max_beladingen_per_layer: number;
1268
+ max_customers_per_cart: number;
1269
+ max_one_customer_per_layer: boolean;
1270
+ max_party_share_per_layer_pct: number;
1271
+ optimization_strategy: string;
1272
+ own_cart_from_layers: number;
1273
+ pick_time_mode: string;
1274
+ plants_per_day: number;
1275
+ plants_per_hour: number;
1276
+ require_same_carrier: boolean;
1277
+ require_same_crate_type: boolean;
1278
+ require_same_delivery_date: boolean;
1279
+ require_same_delivery_location: boolean;
1280
+ updated_at: string;
1281
+ updated_by: string | null;
1282
+ };
1283
+ Insert: {
1284
+ allow_editing_after_pickstation_send?: boolean;
1285
+ buffer_grouping_mode?: string;
1286
+ combine_floriday_orders?: boolean;
1287
+ combine_floriday_orders_window?: string;
1288
+ combine_orders_scope?: string;
1289
+ default_workers?: number;
1290
+ id?: number;
1291
+ max_beladingen_per_layer?: number;
1292
+ max_customers_per_cart?: number;
1293
+ max_one_customer_per_layer?: boolean;
1294
+ max_party_share_per_layer_pct?: number;
1295
+ optimization_strategy?: string;
1296
+ own_cart_from_layers?: number;
1297
+ pick_time_mode?: string;
1298
+ plants_per_day?: number;
1299
+ plants_per_hour?: number;
1300
+ require_same_carrier?: boolean;
1301
+ require_same_crate_type?: boolean;
1302
+ require_same_delivery_date?: boolean;
1303
+ require_same_delivery_location?: boolean;
1304
+ updated_at?: string;
1305
+ updated_by?: string | null;
1306
+ };
1307
+ Update: {
1308
+ allow_editing_after_pickstation_send?: boolean;
1309
+ buffer_grouping_mode?: string;
1310
+ combine_floriday_orders?: boolean;
1311
+ combine_floriday_orders_window?: string;
1312
+ combine_orders_scope?: string;
1313
+ default_workers?: number;
1314
+ id?: number;
1315
+ max_beladingen_per_layer?: number;
1316
+ max_customers_per_cart?: number;
1317
+ max_one_customer_per_layer?: boolean;
1318
+ max_party_share_per_layer_pct?: number;
1319
+ optimization_strategy?: string;
1320
+ own_cart_from_layers?: number;
1321
+ pick_time_mode?: string;
1322
+ plants_per_day?: number;
1323
+ plants_per_hour?: number;
1324
+ require_same_carrier?: boolean;
1325
+ require_same_crate_type?: boolean;
1326
+ require_same_delivery_date?: boolean;
1327
+ require_same_delivery_location?: boolean;
1328
+ updated_at?: string;
1329
+ updated_by?: string | null;
1330
+ };
1331
+ Relationships: [];
1332
+ };
1117
1333
  cart_replan_queue: {
1118
1334
  Row: {
1119
1335
  attempts: number;
@@ -1144,6 +1360,39 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
1144
1360
  referencedColumns: ["id"];
1145
1361
  }];
1146
1362
  };
1363
+ cart_types: {
1364
+ Row: {
1365
+ created_at: string;
1366
+ id: string;
1367
+ is_default: boolean;
1368
+ layer_length_cm: number;
1369
+ layer_width_cm: number;
1370
+ layers_per_cart: number;
1371
+ name: string;
1372
+ updated_at: string;
1373
+ };
1374
+ Insert: {
1375
+ created_at?: string;
1376
+ id?: string;
1377
+ is_default?: boolean;
1378
+ layer_length_cm: number;
1379
+ layer_width_cm: number;
1380
+ layers_per_cart?: number;
1381
+ name: string;
1382
+ updated_at?: string;
1383
+ };
1384
+ Update: {
1385
+ created_at?: string;
1386
+ id?: string;
1387
+ is_default?: boolean;
1388
+ layer_length_cm?: number;
1389
+ layer_width_cm?: number;
1390
+ layers_per_cart?: number;
1391
+ name?: string;
1392
+ updated_at?: string;
1393
+ };
1394
+ Relationships: [];
1395
+ };
1147
1396
  catalog_articles_cache: {
1148
1397
  Row: {
1149
1398
  created_at: string;
@@ -1231,6 +1480,36 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
1231
1480
  };
1232
1481
  Relationships: [];
1233
1482
  };
1483
+ crate_types: {
1484
+ Row: {
1485
+ created_at: string;
1486
+ id: string;
1487
+ length_cm: number;
1488
+ name: string;
1489
+ plants_per_crate: number;
1490
+ updated_at: string;
1491
+ width_cm: number;
1492
+ };
1493
+ Insert: {
1494
+ created_at?: string;
1495
+ id?: string;
1496
+ length_cm: number;
1497
+ name: string;
1498
+ plants_per_crate?: number;
1499
+ updated_at?: string;
1500
+ width_cm: number;
1501
+ };
1502
+ Update: {
1503
+ created_at?: string;
1504
+ id?: string;
1505
+ length_cm?: number;
1506
+ name?: string;
1507
+ plants_per_crate?: number;
1508
+ updated_at?: string;
1509
+ width_cm?: number;
1510
+ };
1511
+ Relationships: [];
1512
+ };
1234
1513
  customer_audit_log: {
1235
1514
  Row: {
1236
1515
  action: string;
@@ -5748,27 +6027,309 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
5748
6027
  };
5749
6028
  Insert: {
5750
6029
  created_at?: string;
5751
- created_by?: string | null;
6030
+ created_by?: string | null;
6031
+ id?: string;
6032
+ period_end: string;
6033
+ period_start: string;
6034
+ status?: string;
6035
+ total_excl_vat?: number | null;
6036
+ total_incl_vat?: number | null;
6037
+ vat_amount?: number | null;
6038
+ };
6039
+ Update: {
6040
+ created_at?: string;
6041
+ created_by?: string | null;
6042
+ id?: string;
6043
+ period_end?: string;
6044
+ period_start?: string;
6045
+ status?: string;
6046
+ total_excl_vat?: number | null;
6047
+ total_incl_vat?: number | null;
6048
+ vat_amount?: number | null;
6049
+ };
6050
+ Relationships: [];
6051
+ };
6052
+ itk_contact_persons: {
6053
+ Row: {
6054
+ created_at: string;
6055
+ customer_id: string;
6056
+ email: string | null;
6057
+ id: string;
6058
+ name: string;
6059
+ phone: string | null;
6060
+ role: string | null;
6061
+ updated_at: string;
6062
+ };
6063
+ Insert: {
6064
+ created_at?: string;
6065
+ customer_id: string;
6066
+ email?: string | null;
6067
+ id?: string;
6068
+ name: string;
6069
+ phone?: string | null;
6070
+ role?: string | null;
6071
+ updated_at?: string;
6072
+ };
6073
+ Update: {
6074
+ created_at?: string;
6075
+ customer_id?: string;
6076
+ email?: string | null;
6077
+ id?: string;
6078
+ name?: string;
6079
+ phone?: string | null;
6080
+ role?: string | null;
6081
+ updated_at?: string;
6082
+ };
6083
+ Relationships: [{
6084
+ foreignKeyName: "itk_contact_persons_customer_id_fkey";
6085
+ columns: ["customer_id"];
6086
+ isOneToOne: false;
6087
+ referencedRelation: "itk_customers";
6088
+ referencedColumns: ["id"];
6089
+ }];
6090
+ };
6091
+ itk_customer_dynamic_values: {
6092
+ Row: {
6093
+ created_at: string;
6094
+ customer_id: string;
6095
+ field_id: string;
6096
+ id: string;
6097
+ updated_at: string;
6098
+ value: string | null;
6099
+ };
6100
+ Insert: {
6101
+ created_at?: string;
6102
+ customer_id: string;
6103
+ field_id: string;
6104
+ id?: string;
6105
+ updated_at?: string;
6106
+ value?: string | null;
6107
+ };
6108
+ Update: {
6109
+ created_at?: string;
6110
+ customer_id?: string;
6111
+ field_id?: string;
6112
+ id?: string;
6113
+ updated_at?: string;
6114
+ value?: string | null;
6115
+ };
6116
+ Relationships: [{
6117
+ foreignKeyName: "itk_customer_dynamic_values_customer_id_fkey";
6118
+ columns: ["customer_id"];
6119
+ isOneToOne: false;
6120
+ referencedRelation: "itk_customers";
6121
+ referencedColumns: ["id"];
6122
+ }, {
6123
+ foreignKeyName: "itk_customer_dynamic_values_field_id_fkey";
6124
+ columns: ["field_id"];
6125
+ isOneToOne: false;
6126
+ referencedRelation: "itk_dynamic_fields";
6127
+ referencedColumns: ["id"];
6128
+ }];
6129
+ };
6130
+ itk_customer_notes: {
6131
+ Row: {
6132
+ body: string;
6133
+ created_at: string;
6134
+ created_by: string | null;
6135
+ customer_id: string;
6136
+ id: string;
6137
+ note_type: string;
6138
+ updated_at: string;
6139
+ };
6140
+ Insert: {
6141
+ body: string;
6142
+ created_at?: string;
6143
+ created_by?: string | null;
6144
+ customer_id: string;
6145
+ id?: string;
6146
+ note_type?: string;
6147
+ updated_at?: string;
6148
+ };
6149
+ Update: {
6150
+ body?: string;
6151
+ created_at?: string;
6152
+ created_by?: string | null;
6153
+ customer_id?: string;
6154
+ id?: string;
6155
+ note_type?: string;
6156
+ updated_at?: string;
6157
+ };
6158
+ Relationships: [{
6159
+ foreignKeyName: "itk_customer_notes_customer_id_fkey";
6160
+ columns: ["customer_id"];
6161
+ isOneToOne: false;
6162
+ referencedRelation: "itk_customers";
6163
+ referencedColumns: ["id"];
6164
+ }];
6165
+ };
6166
+ itk_customers: {
6167
+ Row: {
6168
+ billing_city: string | null;
6169
+ billing_postcode: string | null;
6170
+ billing_street: string | null;
6171
+ created_at: string;
6172
+ general_email: string | null;
6173
+ general_phone: string | null;
6174
+ id: string;
6175
+ legacy_customer_id: string | null;
6176
+ name: string;
6177
+ segment: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
6178
+ updated_at: string;
6179
+ };
6180
+ Insert: {
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
+ Update: {
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
+ Relationships: [{
6207
+ foreignKeyName: "itk_customers_legacy_customer_id_fkey";
6208
+ columns: ["legacy_customer_id"];
6209
+ isOneToOne: false;
6210
+ referencedRelation: "customers";
6211
+ referencedColumns: ["id"];
6212
+ }];
6213
+ };
6214
+ itk_dynamic_fields: {
6215
+ Row: {
6216
+ created_at: string;
6217
+ field_name: string;
6218
+ field_type: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
6219
+ id: string;
6220
+ options: import("../integrations/supabase/types").Json;
6221
+ sort_order: number;
6222
+ updated_at: string;
6223
+ };
6224
+ Insert: {
6225
+ created_at?: string;
6226
+ field_name: string;
6227
+ field_type?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
6228
+ id?: string;
6229
+ options?: import("../integrations/supabase/types").Json;
6230
+ sort_order?: number;
6231
+ updated_at?: string;
6232
+ };
6233
+ Update: {
6234
+ created_at?: string;
6235
+ field_name?: string;
6236
+ field_type?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
6237
+ id?: string;
6238
+ options?: import("../integrations/supabase/types").Json;
6239
+ sort_order?: number;
6240
+ updated_at?: string;
6241
+ };
6242
+ Relationships: [];
6243
+ };
6244
+ itk_work_locations: {
6245
+ Row: {
6246
+ city: string | null;
6247
+ created_at: string;
6248
+ customer_id: string;
6249
+ id: string;
6250
+ instructions: string | null;
6251
+ label: string;
6252
+ latitude: number | null;
6253
+ longitude: number | null;
6254
+ postcode: string | null;
6255
+ street: string | null;
6256
+ updated_at: string;
6257
+ };
6258
+ Insert: {
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
+ Update: {
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
+ Relationships: [{
6285
+ foreignKeyName: "itk_work_locations_customer_id_fkey";
6286
+ columns: ["customer_id"];
6287
+ isOneToOne: false;
6288
+ referencedRelation: "itk_customers";
6289
+ referencedColumns: ["id"];
6290
+ }];
6291
+ };
6292
+ leave_requests: {
6293
+ Row: {
6294
+ created_at: string;
6295
+ end_date: string;
6296
+ id: string;
6297
+ reason: string | null;
6298
+ start_date: string;
6299
+ status: string;
6300
+ tenant_id: string;
6301
+ updated_at: string;
6302
+ user_id: string;
6303
+ };
6304
+ Insert: {
6305
+ created_at?: string;
6306
+ end_date: string;
5752
6307
  id?: string;
5753
- period_end: string;
5754
- period_start: string;
6308
+ reason?: string | null;
6309
+ start_date: string;
5755
6310
  status?: string;
5756
- total_excl_vat?: number | null;
5757
- total_incl_vat?: number | null;
5758
- vat_amount?: number | null;
6311
+ tenant_id?: string;
6312
+ updated_at?: string;
6313
+ user_id: string;
5759
6314
  };
5760
6315
  Update: {
5761
6316
  created_at?: string;
5762
- created_by?: string | null;
6317
+ end_date?: string;
5763
6318
  id?: string;
5764
- period_end?: string;
5765
- period_start?: string;
6319
+ reason?: string | null;
6320
+ start_date?: string;
5766
6321
  status?: string;
5767
- total_excl_vat?: number | null;
5768
- total_incl_vat?: number | null;
5769
- vat_amount?: number | null;
6322
+ tenant_id?: string;
6323
+ updated_at?: string;
6324
+ user_id?: string;
5770
6325
  };
5771
- Relationships: [];
6326
+ Relationships: [{
6327
+ foreignKeyName: "leave_requests_user_id_fkey";
6328
+ columns: ["user_id"];
6329
+ isOneToOne: false;
6330
+ referencedRelation: "monteurs";
6331
+ referencedColumns: ["id"];
6332
+ }];
5772
6333
  };
5773
6334
  local_customer_agreements: {
5774
6335
  Row: {
@@ -6421,6 +6982,33 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
6421
6982
  };
6422
6983
  Relationships: [];
6423
6984
  };
6985
+ module_permissions: {
6986
+ Row: {
6987
+ created_at: string;
6988
+ id: string;
6989
+ module_id: string;
6990
+ permission: string;
6991
+ role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
6992
+ updated_at: string;
6993
+ };
6994
+ Insert: {
6995
+ created_at?: string;
6996
+ id?: string;
6997
+ module_id: string;
6998
+ permission: string;
6999
+ role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
7000
+ updated_at?: string;
7001
+ };
7002
+ Update: {
7003
+ created_at?: string;
7004
+ id?: string;
7005
+ module_id?: string;
7006
+ permission?: string;
7007
+ role?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
7008
+ updated_at?: string;
7009
+ };
7010
+ Relationships: [];
7011
+ };
6424
7012
  monteurs: {
6425
7013
  Row: {
6426
7014
  avatar_url: string | null;
@@ -7150,6 +7738,42 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
7150
7738
  };
7151
7739
  Relationships: [];
7152
7740
  };
7741
+ order_buffers: {
7742
+ Row: {
7743
+ buffer_key: string;
7744
+ created_at: string;
7745
+ customer_id: string | null;
7746
+ grouping_mode: string;
7747
+ id: string;
7748
+ pickup_date: string | null;
7749
+ pickup_location: string | null;
7750
+ plan_locked_at: string | null;
7751
+ updated_at: string;
7752
+ };
7753
+ Insert: {
7754
+ buffer_key: string;
7755
+ created_at?: string;
7756
+ customer_id?: string | null;
7757
+ grouping_mode: string;
7758
+ id?: string;
7759
+ pickup_date?: string | null;
7760
+ pickup_location?: string | null;
7761
+ plan_locked_at?: string | null;
7762
+ updated_at?: string;
7763
+ };
7764
+ Update: {
7765
+ buffer_key?: string;
7766
+ created_at?: string;
7767
+ customer_id?: string | null;
7768
+ grouping_mode?: string;
7769
+ id?: string;
7770
+ pickup_date?: string | null;
7771
+ pickup_location?: string | null;
7772
+ plan_locked_at?: string | null;
7773
+ updated_at?: string;
7774
+ };
7775
+ Relationships: [];
7776
+ };
7153
7777
  order_cart_items: {
7154
7778
  Row: {
7155
7779
  cart_id: string;
@@ -7216,6 +7840,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
7216
7840
  order_carts: {
7217
7841
  Row: {
7218
7842
  algorithm_version: number;
7843
+ buffer_id: string | null;
7219
7844
  cart_number: number;
7220
7845
  created_at: string;
7221
7846
  id: string;
@@ -7223,13 +7848,14 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
7223
7848
  is_complete: boolean;
7224
7849
  notes: string | null;
7225
7850
  occupancy_pct: number;
7226
- order_id: string;
7851
+ order_id: string | null;
7227
7852
  source: string;
7228
7853
  total_layers_used: number;
7229
7854
  updated_at: string;
7230
7855
  };
7231
7856
  Insert: {
7232
7857
  algorithm_version?: number;
7858
+ buffer_id?: string | null;
7233
7859
  cart_number: number;
7234
7860
  created_at?: string;
7235
7861
  id?: string;
@@ -7237,13 +7863,14 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
7237
7863
  is_complete?: boolean;
7238
7864
  notes?: string | null;
7239
7865
  occupancy_pct?: number;
7240
- order_id: string;
7866
+ order_id?: string | null;
7241
7867
  source?: string;
7242
7868
  total_layers_used?: number;
7243
7869
  updated_at?: string;
7244
7870
  };
7245
7871
  Update: {
7246
7872
  algorithm_version?: number;
7873
+ buffer_id?: string | null;
7247
7874
  cart_number?: number;
7248
7875
  created_at?: string;
7249
7876
  id?: string;
@@ -7251,12 +7878,18 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
7251
7878
  is_complete?: boolean;
7252
7879
  notes?: string | null;
7253
7880
  occupancy_pct?: number;
7254
- order_id?: string;
7881
+ order_id?: string | null;
7255
7882
  source?: string;
7256
7883
  total_layers_used?: number;
7257
7884
  updated_at?: string;
7258
7885
  };
7259
7886
  Relationships: [{
7887
+ foreignKeyName: "order_carts_buffer_id_fkey";
7888
+ columns: ["buffer_id"];
7889
+ isOneToOne: false;
7890
+ referencedRelation: "order_buffers";
7891
+ referencedColumns: ["id"];
7892
+ }, {
7260
7893
  foreignKeyName: "order_carts_order_id_fkey";
7261
7894
  columns: ["order_id"];
7262
7895
  isOneToOne: false;
@@ -7393,15 +8026,117 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
7393
8026
  };
7394
8027
  Relationships: [];
7395
8028
  };
8029
+ order_shipment_items: {
8030
+ Row: {
8031
+ created_at: string;
8032
+ id: string;
8033
+ order_item_id: string;
8034
+ product_id: string | null;
8035
+ product_name: string;
8036
+ quantity: number;
8037
+ shipment_id: string;
8038
+ updated_at: string;
8039
+ };
8040
+ Insert: {
8041
+ created_at?: string;
8042
+ id?: string;
8043
+ order_item_id: string;
8044
+ product_id?: string | null;
8045
+ product_name: string;
8046
+ quantity: number;
8047
+ shipment_id: string;
8048
+ updated_at?: string;
8049
+ };
8050
+ Update: {
8051
+ created_at?: string;
8052
+ id?: string;
8053
+ order_item_id?: string;
8054
+ product_id?: string | null;
8055
+ product_name?: string;
8056
+ quantity?: number;
8057
+ shipment_id?: string;
8058
+ updated_at?: string;
8059
+ };
8060
+ Relationships: [{
8061
+ foreignKeyName: "order_shipment_items_order_item_id_fkey";
8062
+ columns: ["order_item_id"];
8063
+ isOneToOne: false;
8064
+ referencedRelation: "order_items";
8065
+ referencedColumns: ["id"];
8066
+ }, {
8067
+ foreignKeyName: "order_shipment_items_shipment_id_fkey";
8068
+ columns: ["shipment_id"];
8069
+ isOneToOne: false;
8070
+ referencedRelation: "order_shipments";
8071
+ referencedColumns: ["id"];
8072
+ }];
8073
+ };
8074
+ order_shipments: {
8075
+ Row: {
8076
+ carrier_id: string | null;
8077
+ created_at: string;
8078
+ delivery_date: string | null;
8079
+ delivery_location_id: string | null;
8080
+ id: string;
8081
+ notes: string | null;
8082
+ order_id: string;
8083
+ shipment_number: number;
8084
+ shipped_at: string | null;
8085
+ status: string;
8086
+ updated_at: string;
8087
+ };
8088
+ Insert: {
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
+ Update: {
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
+ Relationships: [{
8115
+ foreignKeyName: "order_shipments_carrier_id_fkey";
8116
+ columns: ["carrier_id"];
8117
+ isOneToOne: false;
8118
+ referencedRelation: "carriers";
8119
+ referencedColumns: ["id"];
8120
+ }, {
8121
+ foreignKeyName: "order_shipments_order_id_fkey";
8122
+ columns: ["order_id"];
8123
+ isOneToOne: false;
8124
+ referencedRelation: "orders";
8125
+ referencedColumns: ["id"];
8126
+ }];
8127
+ };
7396
8128
  orders: {
7397
8129
  Row: {
8130
+ buffer_id: string | null;
7398
8131
  created_at: string;
7399
8132
  custom_fields: import("../integrations/supabase/types").Json;
7400
8133
  customer_id: string | null;
7401
8134
  customer_name: string;
7402
8135
  deleted_at: string | null;
7403
- delivery_date: string;
8136
+ delivery_date: string | null;
8137
+ floriday_sales_order_id: string | null;
7404
8138
  id: string;
8139
+ is_reservation: boolean;
7405
8140
  notes: string | null;
7406
8141
  order_date: string;
7407
8142
  order_number: string;
@@ -7413,13 +8148,16 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
7413
8148
  updated_at: string;
7414
8149
  };
7415
8150
  Insert: {
8151
+ buffer_id?: string | null;
7416
8152
  created_at?: string;
7417
8153
  custom_fields?: import("../integrations/supabase/types").Json;
7418
8154
  customer_id?: string | null;
7419
8155
  customer_name?: string;
7420
8156
  deleted_at?: string | null;
7421
- delivery_date: string;
8157
+ delivery_date?: string | null;
8158
+ floriday_sales_order_id?: string | null;
7422
8159
  id?: string;
8160
+ is_reservation?: boolean;
7423
8161
  notes?: string | null;
7424
8162
  order_date?: string;
7425
8163
  order_number: string;
@@ -7431,13 +8169,16 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
7431
8169
  updated_at?: string;
7432
8170
  };
7433
8171
  Update: {
8172
+ buffer_id?: string | null;
7434
8173
  created_at?: string;
7435
8174
  custom_fields?: import("../integrations/supabase/types").Json;
7436
8175
  customer_id?: string | null;
7437
8176
  customer_name?: string;
7438
8177
  deleted_at?: string | null;
7439
- delivery_date?: string;
8178
+ delivery_date?: string | null;
8179
+ floriday_sales_order_id?: string | null;
7440
8180
  id?: string;
8181
+ is_reservation?: boolean;
7441
8182
  notes?: string | null;
7442
8183
  order_date?: string;
7443
8184
  order_number?: string;
@@ -7449,6 +8190,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
7449
8190
  updated_at?: string;
7450
8191
  };
7451
8192
  Relationships: [{
8193
+ foreignKeyName: "orders_buffer_id_fkey";
8194
+ columns: ["buffer_id"];
8195
+ isOneToOne: false;
8196
+ referencedRelation: "order_buffers";
8197
+ referencedColumns: ["id"];
8198
+ }, {
7452
8199
  foreignKeyName: "orders_customer_id_fkey";
7453
8200
  columns: ["customer_id"];
7454
8201
  isOneToOne: false;
@@ -7579,6 +8326,51 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
7579
8326
  };
7580
8327
  Relationships: [];
7581
8328
  };
8329
+ planning_items: {
8330
+ Row: {
8331
+ assigned_monteur_id: string;
8332
+ created_at: string;
8333
+ created_by: string | null;
8334
+ end_at: string;
8335
+ id: string;
8336
+ notes: string | null;
8337
+ start_at: string;
8338
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
8339
+ updated_at: string;
8340
+ werkbon_id: string;
8341
+ };
8342
+ Insert: {
8343
+ assigned_monteur_id: string;
8344
+ created_at?: string;
8345
+ created_by?: string | null;
8346
+ end_at: string;
8347
+ id?: string;
8348
+ notes?: string | null;
8349
+ start_at: string;
8350
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
8351
+ updated_at?: string;
8352
+ werkbon_id: string;
8353
+ };
8354
+ Update: {
8355
+ assigned_monteur_id?: string;
8356
+ created_at?: string;
8357
+ created_by?: string | null;
8358
+ end_at?: string;
8359
+ id?: string;
8360
+ notes?: string | null;
8361
+ start_at?: string;
8362
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
8363
+ updated_at?: string;
8364
+ werkbon_id?: string;
8365
+ };
8366
+ Relationships: [{
8367
+ foreignKeyName: "planning_items_werkbon_id_fkey";
8368
+ columns: ["werkbon_id"];
8369
+ isOneToOne: false;
8370
+ referencedRelation: "werkbonnen";
8371
+ referencedColumns: ["id"];
8372
+ }];
8373
+ };
7582
8374
  product_categories: {
7583
8375
  Row: {
7584
8376
  color: string;
@@ -7712,6 +8504,8 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
7712
8504
  Row: {
7713
8505
  created_at: string;
7714
8506
  description: string | null;
8507
+ head_product_id: string | null;
8508
+ head_trade_item_floriday_id: string | null;
7715
8509
  id: string;
7716
8510
  is_active: boolean;
7717
8511
  name: string;
@@ -7721,6 +8515,8 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
7721
8515
  Insert: {
7722
8516
  created_at?: string;
7723
8517
  description?: string | null;
8518
+ head_product_id?: string | null;
8519
+ head_trade_item_floriday_id?: string | null;
7724
8520
  id?: string;
7725
8521
  is_active?: boolean;
7726
8522
  name: string;
@@ -7730,13 +8526,21 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
7730
8526
  Update: {
7731
8527
  created_at?: string;
7732
8528
  description?: string | null;
8529
+ head_product_id?: string | null;
8530
+ head_trade_item_floriday_id?: string | null;
7733
8531
  id?: string;
7734
8532
  is_active?: boolean;
7735
8533
  name?: string;
7736
8534
  tenant_id?: string;
7737
8535
  updated_at?: string;
7738
8536
  };
7739
- Relationships: [];
8537
+ Relationships: [{
8538
+ foreignKeyName: "product_groups_head_product_id_fkey";
8539
+ columns: ["head_product_id"];
8540
+ isOneToOne: false;
8541
+ referencedRelation: "products";
8542
+ referencedColumns: ["id"];
8543
+ }];
7740
8544
  };
7741
8545
  products: {
7742
8546
  Row: {
@@ -10287,6 +11091,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
10287
11091
  internal_notes: string | null;
10288
11092
  parent_werkbon_id: string | null;
10289
11093
  parsed_payload: import("../integrations/supabase/types").Json | null;
11094
+ planning_status: string;
10290
11095
  project_number: string | null;
10291
11096
  room_number: string | null;
10292
11097
  scheduled_end_time: string | null;
@@ -10294,6 +11099,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
10294
11099
  sequence_number: number;
10295
11100
  source_pdf_path: string | null;
10296
11101
  status: string;
11102
+ technician_id: string | null;
10297
11103
  technician_notes: string | null;
10298
11104
  technician_notes_raw: string | null;
10299
11105
  technician_task_description: string | null;
@@ -10314,6 +11120,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
10314
11120
  internal_notes?: string | null;
10315
11121
  parent_werkbon_id?: string | null;
10316
11122
  parsed_payload?: import("../integrations/supabase/types").Json | null;
11123
+ planning_status?: string;
10317
11124
  project_number?: string | null;
10318
11125
  room_number?: string | null;
10319
11126
  scheduled_end_time?: string | null;
@@ -10321,6 +11128,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
10321
11128
  sequence_number: number;
10322
11129
  source_pdf_path?: string | null;
10323
11130
  status?: string;
11131
+ technician_id?: string | null;
10324
11132
  technician_notes?: string | null;
10325
11133
  technician_notes_raw?: string | null;
10326
11134
  technician_task_description?: string | null;
@@ -10341,6 +11149,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
10341
11149
  internal_notes?: string | null;
10342
11150
  parent_werkbon_id?: string | null;
10343
11151
  parsed_payload?: import("../integrations/supabase/types").Json | null;
11152
+ planning_status?: string;
10344
11153
  project_number?: string | null;
10345
11154
  room_number?: string | null;
10346
11155
  scheduled_end_time?: string | null;
@@ -10348,6 +11157,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
10348
11157
  sequence_number?: number;
10349
11158
  source_pdf_path?: string | null;
10350
11159
  status?: string;
11160
+ technician_id?: string | null;
10351
11161
  technician_notes?: string | null;
10352
11162
  technician_notes_raw?: string | null;
10353
11163
  technician_task_description?: string | null;
@@ -10356,17 +11166,17 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
10356
11166
  work_address?: string | null;
10357
11167
  };
10358
11168
  Relationships: [{
10359
- foreignKeyName: "werkbonnen_customer_id_fkey";
10360
- columns: ["customer_id"];
10361
- isOneToOne: false;
10362
- referencedRelation: "customers";
10363
- referencedColumns: ["id"];
10364
- }, {
10365
11169
  foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
10366
11170
  columns: ["parent_werkbon_id"];
10367
11171
  isOneToOne: false;
10368
11172
  referencedRelation: "werkbonnen";
10369
11173
  referencedColumns: ["id"];
11174
+ }, {
11175
+ foreignKeyName: "werkbonnen_technician_id_fkey";
11176
+ columns: ["technician_id"];
11177
+ isOneToOne: false;
11178
+ referencedRelation: "monteurs";
11179
+ referencedColumns: ["id"];
10370
11180
  }];
10371
11181
  };
10372
11182
  work_order_monteurs: {
@@ -11085,6 +11895,21 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11085
11895
  };
11086
11896
  Returns: string;
11087
11897
  };
11898
+ ai_usage_by_module: {
11899
+ Args: {
11900
+ _from: string;
11901
+ _to: string;
11902
+ };
11903
+ Returns: {
11904
+ calls: number;
11905
+ consumer_module_id: string;
11906
+ cost_usd: number;
11907
+ errors: number;
11908
+ input_tokens: number;
11909
+ output_tokens: number;
11910
+ total_tokens: number;
11911
+ }[];
11912
+ };
11088
11913
  apply_stock_consumption: {
11089
11914
  Args: {
11090
11915
  p_order_id: string;
@@ -11233,6 +12058,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11233
12058
  Args: never;
11234
12059
  Returns: string;
11235
12060
  };
12061
+ custom_access_token_hook: {
12062
+ Args: {
12063
+ event: import("../integrations/supabase/types").Json;
12064
+ };
12065
+ Returns: import("../integrations/supabase/types").Json;
12066
+ };
11236
12067
  dashboard_alert_counts: {
11237
12068
  Args: never;
11238
12069
  Returns: import("../integrations/supabase/types").Json;
@@ -11568,6 +12399,14 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11568
12399
  };
11569
12400
  Returns: string;
11570
12401
  };
12402
+ has_module_permission: {
12403
+ Args: {
12404
+ _min: string;
12405
+ _module_id: string;
12406
+ _user_id: string;
12407
+ };
12408
+ Returns: boolean;
12409
+ };
11571
12410
  has_role: {
11572
12411
  Args: {
11573
12412
  _role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
@@ -11593,6 +12432,20 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11593
12432
  };
11594
12433
  Returns: boolean;
11595
12434
  };
12435
+ jwt_has_role: {
12436
+ Args: {
12437
+ _role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
12438
+ };
12439
+ Returns: boolean;
12440
+ };
12441
+ list_monteurs: {
12442
+ Args: never;
12443
+ Returns: {
12444
+ display_name: string;
12445
+ email: string;
12446
+ user_id: string;
12447
+ }[];
12448
+ };
11596
12449
  local_effective_price: {
11597
12450
  Args: {
11598
12451
  _customer_id: string;
@@ -11609,6 +12462,22 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11609
12462
  source_id: string;
11610
12463
  }[];
11611
12464
  };
12465
+ log_ai_call: {
12466
+ Args: {
12467
+ _consumer_module_id: string;
12468
+ _cost_usd: number;
12469
+ _duration_ms: number;
12470
+ _error_code: string;
12471
+ _error_message: string;
12472
+ _input_tokens: number;
12473
+ _model_slug: string;
12474
+ _output_tokens: number;
12475
+ _provider_slug: string;
12476
+ _status: string;
12477
+ _total_tokens: number;
12478
+ };
12479
+ Returns: string;
12480
+ };
11612
12481
  mark_offer_clicked: {
11613
12482
  Args: {
11614
12483
  p_code: string;
@@ -11621,6 +12490,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11621
12490
  };
11622
12491
  Returns: undefined;
11623
12492
  };
12493
+ mark_shipment_shipped: {
12494
+ Args: {
12495
+ p_shipment_id: string;
12496
+ };
12497
+ Returns: undefined;
12498
+ };
11624
12499
  next_order_number: {
11625
12500
  Args: {
11626
12501
  p_prefix: string;
@@ -12097,9 +12972,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
12097
12972
  };
12098
12973
  };
12099
12974
  Enums: {
12100
- app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
12975
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
12101
12976
  exact_env: "staging" | "live";
12102
12977
  exact_push_status: "pending" | "sent" | "error";
12978
+ itk_customer_segment: "Business" | "Private";
12979
+ itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
12980
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
12103
12981
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
12104
12982
  };
12105
12983
  CompositeTypes: { [_ in never]: never; };