@flowselections/logistiek-engine 1.0.27 → 1.0.29

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 (101) hide show
  1. package/README.md +24 -24
  2. package/dist-lib/components/AfmetingenBronnenCard.d.ts +2 -0
  3. package/dist-lib/components/AfmetingenBronnenCard.d.ts.map +1 -0
  4. package/dist-lib/components/AfmetingenBronnenCard.js +46 -0
  5. package/dist-lib/components/BufferDebugCard.d.ts.map +1 -1
  6. package/dist-lib/components/BufferDebugCard.js +6 -1
  7. package/dist-lib/components/ConsistentieCard.d.ts.map +1 -1
  8. package/dist-lib/components/ConsistentieCard.js +1 -1
  9. package/dist-lib/components/GeblokkeerdeOrdersCard.d.ts +2 -0
  10. package/dist-lib/components/GeblokkeerdeOrdersCard.d.ts.map +1 -0
  11. package/dist-lib/components/GeblokkeerdeOrdersCard.js +44 -0
  12. package/dist-lib/components/KarplanStatusCard.d.ts +2 -0
  13. package/dist-lib/components/KarplanStatusCard.d.ts.map +1 -0
  14. package/dist-lib/components/KarplanStatusCard.js +31 -0
  15. package/dist-lib/components/RegiePage.d.ts.map +1 -1
  16. package/dist-lib/components/RegiePage.js +4 -1
  17. package/dist-lib/components/RuleEnginePage.d.ts.map +1 -1
  18. package/dist-lib/components/RuleEnginePage.js +7 -4
  19. package/dist-lib/components/rule-engine/FloridayConnectionBanner.d.ts +2 -0
  20. package/dist-lib/components/rule-engine/FloridayConnectionBanner.d.ts.map +1 -0
  21. package/dist-lib/components/rule-engine/FloridayConnectionBanner.js +41 -0
  22. package/dist-lib/components/rule-engine/RuleFieldInput.d.ts.map +1 -1
  23. package/dist-lib/components/rule-engine/RuleFieldInput.js +9 -0
  24. package/dist-lib/hooks/useGeblokkeerdeOrders.d.ts +28 -0
  25. package/dist-lib/hooks/useGeblokkeerdeOrders.d.ts.map +1 -0
  26. package/dist-lib/hooks/useGeblokkeerdeOrders.js +94 -0
  27. package/dist-lib/hooks/useRecalcJob.d.ts.map +1 -1
  28. package/dist-lib/hooks/useRecalcJob.js +26 -1
  29. package/dist-lib/hooks/useScannersPrinters.d.ts +11 -0
  30. package/dist-lib/hooks/useScannersPrinters.d.ts.map +1 -0
  31. package/dist-lib/hooks/useScannersPrinters.js +65 -0
  32. package/dist-lib/index.d.ts +3 -0
  33. package/dist-lib/index.d.ts.map +1 -1
  34. package/dist-lib/index.js +3 -0
  35. package/dist-lib/integrations/supabase/auth-middleware.d.ts +2105 -68
  36. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  37. package/dist-lib/integrations/supabase/client.d.ts +20293 -0
  38. package/dist-lib/integrations/supabase/client.d.ts.map +1 -0
  39. package/dist-lib/integrations/supabase/client.js +13 -0
  40. package/dist-lib/integrations/supabase/client.server.d.ts +2105 -68
  41. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  42. package/dist-lib/integrations/supabase/client.server.js +1 -1
  43. package/dist-lib/integrations/supabase/moduleClient.d.ts +2105 -68
  44. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  45. package/dist-lib/integrations/supabase/types.d.ts +2135 -54
  46. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  47. package/dist-lib/integrations/supabase/types.js +1 -0
  48. package/dist-lib/lib/attachAuthToken.d.ts +2 -0
  49. package/dist-lib/lib/attachAuthToken.d.ts.map +1 -0
  50. package/dist-lib/lib/attachAuthToken.js +50 -0
  51. package/dist-lib/lib/bufferMatching.d.ts.map +1 -1
  52. package/dist-lib/lib/bufferMatching.js +1 -0
  53. package/dist-lib/lib/cartPlanRequests.server.d.ts +13 -0
  54. package/dist-lib/lib/cartPlanRequests.server.d.ts.map +1 -0
  55. package/dist-lib/lib/cartPlanRequests.server.js +168 -0
  56. package/dist-lib/lib/controlScan.server.d.ts +12 -0
  57. package/dist-lib/lib/controlScan.server.d.ts.map +1 -0
  58. package/dist-lib/lib/controlScan.server.js +197 -0
  59. package/dist-lib/lib/dimensionData.server.d.ts +11 -1
  60. package/dist-lib/lib/dimensionData.server.d.ts.map +1 -1
  61. package/dist-lib/lib/dimensionData.server.js +58 -48
  62. package/dist-lib/lib/dimensionPlanner.d.ts +26 -1
  63. package/dist-lib/lib/dimensionPlanner.d.ts.map +1 -1
  64. package/dist-lib/lib/dimensionPlanner.js +37 -6
  65. package/dist-lib/lib/floridayDocuments.functions.d.ts +6314 -203
  66. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  67. package/dist-lib/lib/floridayDocuments.functions.js +4 -3
  68. package/dist-lib/lib/floridayPush.functions.d.ts +2106 -69
  69. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  70. package/dist-lib/lib/floridayPush.functions.js +2 -1
  71. package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
  72. package/dist-lib/lib/handlers/logistics-tick.server.js +64 -0
  73. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +10480 -295
  74. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  75. package/dist-lib/lib/loadCarrierPlanning.functions.js +6 -5
  76. package/dist-lib/lib/loadCarrierPlanning.server.d.ts +42 -0
  77. package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
  78. package/dist-lib/lib/loadCarrierPlanning.server.js +583 -31
  79. package/dist-lib/lib/logisticsPlanner.d.ts.map +1 -1
  80. package/dist-lib/lib/logisticsPlanner.js +24 -9
  81. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +4231 -157
  82. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  83. package/dist-lib/lib/logisticsRecalcJob.functions.js +3 -2
  84. package/dist-lib/lib/logisticsRecalcJob.server.d.ts.map +1 -1
  85. package/dist-lib/lib/logisticsRecalcJob.server.js +1 -0
  86. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +2106 -69
  87. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  88. package/dist-lib/lib/logisticsRecalculate.functions.js +3 -1
  89. package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
  90. package/dist-lib/lib/modulePrompts.js +2560 -1586
  91. package/dist-lib/lib/planQueue.server.d.ts.map +1 -1
  92. package/dist-lib/lib/planQueue.server.js +6 -0
  93. package/dist-lib/lib/readableServerErrors.d.ts +2 -0
  94. package/dist-lib/lib/readableServerErrors.d.ts.map +1 -0
  95. package/dist-lib/lib/readableServerErrors.js +36 -0
  96. package/dist-lib/lib/ruleEngineSchema.d.ts +1 -1
  97. package/dist-lib/lib/ruleEngineSchema.d.ts.map +1 -1
  98. package/dist-lib/lib/ruleEngineSchema.js +72 -51
  99. package/dist-lib/lib/ruleEngineWizard.d.ts.map +1 -1
  100. package/dist-lib/lib/ruleEngineWizard.js +5 -6
  101. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /** Zet een order opnieuw in de wachtrij (handmatig opnieuw proberen). */
2
- export declare const retryFloridayPush: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").FunctionMiddlewareAfterServer<{}, unknown, undefined, {
2
+ export declare const retryFloridayPush: import("@tanstack/start-client-core").RequiredFetcher<readonly [import("@tanstack/start-client-core").FunctionMiddlewareAfterServer<{}, unknown, undefined, undefined, undefined, undefined, undefined>, import("@tanstack/start-client-core").FunctionMiddlewareAfterServer<{}, unknown, undefined, {
3
3
  supabase: import("@supabase/supabase-js").SupabaseClient<import("../integrations/supabase/types").Database, "public", "public", {
4
4
  Tables: {
5
5
  afhandeling_settings: {
@@ -691,6 +691,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
691
691
  raw: import("../integrations/supabase/types").Json;
692
692
  updated_at: string;
693
693
  valuta: string;
694
+ velden: import("../integrations/supabase/types").Json;
694
695
  };
695
696
  Insert: {
696
697
  artikelcode: string;
@@ -708,6 +709,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
708
709
  raw?: import("../integrations/supabase/types").Json;
709
710
  updated_at?: string;
710
711
  valuta?: string;
712
+ velden?: import("../integrations/supabase/types").Json;
711
713
  };
712
714
  Update: {
713
715
  artikelcode?: string;
@@ -725,6 +727,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
725
727
  raw?: import("../integrations/supabase/types").Json;
726
728
  updated_at?: string;
727
729
  valuta?: string;
730
+ velden?: import("../integrations/supabase/types").Json;
728
731
  };
729
732
  Relationships: [];
730
733
  };
@@ -1419,8 +1422,9 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
1419
1422
  Row: {
1420
1423
  assigned_at: string;
1421
1424
  cart_index: number;
1422
- cart_number: string;
1423
- day_seq: number;
1425
+ cart_number: string | null;
1426
+ day_seq: number | null;
1427
+ delivered_at: string | null;
1424
1428
  id: string;
1425
1429
  order_id: string;
1426
1430
  order_source: string;
@@ -1430,8 +1434,9 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
1430
1434
  Insert: {
1431
1435
  assigned_at?: string;
1432
1436
  cart_index: number;
1433
- cart_number: string;
1434
- day_seq: number;
1437
+ cart_number?: string | null;
1438
+ day_seq?: number | null;
1439
+ delivered_at?: string | null;
1435
1440
  id?: string;
1436
1441
  order_id: string;
1437
1442
  order_source: string;
@@ -1441,8 +1446,9 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
1441
1446
  Update: {
1442
1447
  assigned_at?: string;
1443
1448
  cart_index?: number;
1444
- cart_number?: string;
1445
- day_seq?: number;
1449
+ cart_number?: string | null;
1450
+ day_seq?: number | null;
1451
+ delivered_at?: string | null;
1446
1452
  id?: string;
1447
1453
  order_id?: string;
1448
1454
  order_source?: string;
@@ -1543,6 +1549,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
1543
1549
  updated_at?: string;
1544
1550
  };
1545
1551
  Relationships: [{
1552
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1553
+ columns: ["product_id"];
1554
+ isOneToOne: true;
1555
+ referencedRelation: "logistics_product_dimensions";
1556
+ referencedColumns: ["product_id"];
1557
+ }, {
1546
1558
  foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1547
1559
  columns: ["product_id"];
1548
1560
  isOneToOne: true;
@@ -7070,6 +7082,51 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
7070
7082
  };
7071
7083
  Relationships: [];
7072
7084
  };
7085
+ floriday_status_sync_queue: {
7086
+ Row: {
7087
+ attempts: number;
7088
+ created_at: string;
7089
+ error: string | null;
7090
+ floriday_sales_order_id: string;
7091
+ order_id: string;
7092
+ processed_at: string | null;
7093
+ requested_at: string;
7094
+ state: string;
7095
+ target_status: string;
7096
+ updated_at: string;
7097
+ };
7098
+ Insert: {
7099
+ attempts?: number;
7100
+ created_at?: string;
7101
+ error?: string | null;
7102
+ floriday_sales_order_id: string;
7103
+ order_id: string;
7104
+ processed_at?: string | null;
7105
+ requested_at?: string;
7106
+ state?: string;
7107
+ target_status: string;
7108
+ updated_at?: string;
7109
+ };
7110
+ Update: {
7111
+ attempts?: number;
7112
+ created_at?: string;
7113
+ error?: string | null;
7114
+ floriday_sales_order_id?: string;
7115
+ order_id?: string;
7116
+ processed_at?: string | null;
7117
+ requested_at?: string;
7118
+ state?: string;
7119
+ target_status?: string;
7120
+ updated_at?: string;
7121
+ };
7122
+ Relationships: [{
7123
+ foreignKeyName: "floriday_status_sync_queue_order_id_fkey";
7124
+ columns: ["order_id"];
7125
+ isOneToOne: true;
7126
+ referencedRelation: "orders";
7127
+ referencedColumns: ["id"];
7128
+ }];
7129
+ };
7073
7130
  floriday_sync_cursors: {
7074
7131
  Row: {
7075
7132
  connection_id: string;
@@ -8304,10 +8361,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
8304
8361
  general_email: string | null;
8305
8362
  general_phone: string | null;
8306
8363
  id: string;
8364
+ kvk_number: string | null;
8307
8365
  legacy_customer_id: string | null;
8308
8366
  name: string;
8309
8367
  segment: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
8310
8368
  updated_at: string;
8369
+ vat_number: string | null;
8311
8370
  };
8312
8371
  Insert: {
8313
8372
  billing_city?: string | null;
@@ -8318,10 +8377,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
8318
8377
  general_email?: string | null;
8319
8378
  general_phone?: string | null;
8320
8379
  id?: string;
8380
+ kvk_number?: string | null;
8321
8381
  legacy_customer_id?: string | null;
8322
8382
  name: string;
8323
8383
  segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
8324
8384
  updated_at?: string;
8385
+ vat_number?: string | null;
8325
8386
  };
8326
8387
  Update: {
8327
8388
  billing_city?: string | null;
@@ -8332,10 +8393,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
8332
8393
  general_email?: string | null;
8333
8394
  general_phone?: string | null;
8334
8395
  id?: string;
8396
+ kvk_number?: string | null;
8335
8397
  legacy_customer_id?: string | null;
8336
8398
  name?: string;
8337
8399
  segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
8338
8400
  updated_at?: string;
8401
+ vat_number?: string | null;
8339
8402
  };
8340
8403
  Relationships: [];
8341
8404
  };
@@ -8369,6 +8432,117 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
8369
8432
  };
8370
8433
  Relationships: [];
8371
8434
  };
8435
+ itk_handover_github_scan: {
8436
+ Row: {
8437
+ gescand_op: string;
8438
+ gevonden: boolean;
8439
+ melding: string | null;
8440
+ module_id: string | null;
8441
+ repo: string;
8442
+ };
8443
+ Insert: {
8444
+ gescand_op?: string;
8445
+ gevonden?: boolean;
8446
+ melding?: string | null;
8447
+ module_id?: string | null;
8448
+ repo: string;
8449
+ };
8450
+ Update: {
8451
+ gescand_op?: string;
8452
+ gevonden?: boolean;
8453
+ melding?: string | null;
8454
+ module_id?: string | null;
8455
+ repo?: string;
8456
+ };
8457
+ Relationships: [];
8458
+ };
8459
+ itk_handover_module_meta: {
8460
+ Row: {
8461
+ check_aangevraagd_op: string | null;
8462
+ check_nodig: boolean;
8463
+ check_reden: string | null;
8464
+ created_at: string;
8465
+ module_id: string;
8466
+ project_url: string | null;
8467
+ publicatie_url: string | null;
8468
+ updated_at: string;
8469
+ };
8470
+ Insert: {
8471
+ check_aangevraagd_op?: string | null;
8472
+ check_nodig?: boolean;
8473
+ check_reden?: string | null;
8474
+ created_at?: string;
8475
+ module_id: string;
8476
+ project_url?: string | null;
8477
+ publicatie_url?: string | null;
8478
+ updated_at?: string;
8479
+ };
8480
+ Update: {
8481
+ check_aangevraagd_op?: string | null;
8482
+ check_nodig?: boolean;
8483
+ check_reden?: string | null;
8484
+ created_at?: string;
8485
+ module_id?: string;
8486
+ project_url?: string | null;
8487
+ publicatie_url?: string | null;
8488
+ updated_at?: string;
8489
+ };
8490
+ Relationships: [];
8491
+ };
8492
+ itk_handover_project_modules: {
8493
+ Row: {
8494
+ created_at: string;
8495
+ id: string;
8496
+ module_id: string;
8497
+ project_id: string;
8498
+ updated_at: string;
8499
+ };
8500
+ Insert: {
8501
+ created_at?: string;
8502
+ id?: string;
8503
+ module_id: string;
8504
+ project_id: string;
8505
+ updated_at?: string;
8506
+ };
8507
+ Update: {
8508
+ created_at?: string;
8509
+ id?: string;
8510
+ module_id?: string;
8511
+ project_id?: string;
8512
+ updated_at?: string;
8513
+ };
8514
+ Relationships: [{
8515
+ foreignKeyName: "itk_handover_project_modules_project_id_fkey";
8516
+ columns: ["project_id"];
8517
+ isOneToOne: false;
8518
+ referencedRelation: "itk_handover_projecten";
8519
+ referencedColumns: ["id"];
8520
+ }];
8521
+ };
8522
+ itk_handover_projecten: {
8523
+ Row: {
8524
+ created_at: string;
8525
+ id: string;
8526
+ naam: string;
8527
+ omschrijving: string | null;
8528
+ updated_at: string;
8529
+ };
8530
+ Insert: {
8531
+ created_at?: string;
8532
+ id?: string;
8533
+ naam: string;
8534
+ omschrijving?: string | null;
8535
+ updated_at?: string;
8536
+ };
8537
+ Update: {
8538
+ created_at?: string;
8539
+ id?: string;
8540
+ naam?: string;
8541
+ omschrijving?: string | null;
8542
+ updated_at?: string;
8543
+ };
8544
+ Relationships: [];
8545
+ };
8372
8546
  itk_handover_rechten: {
8373
8547
  Row: {
8374
8548
  created_at: string;
@@ -8396,42 +8570,33 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
8396
8570
  };
8397
8571
  Relationships: [];
8398
8572
  };
8399
- itk_handover_tokens: {
8573
+ itk_module_fingerprints: {
8400
8574
  Row: {
8401
- aangemaakt_door: string | null;
8402
8575
  created_at: string;
8576
+ gemaakt_op: string;
8577
+ hash: string;
8403
8578
  id: string;
8404
- is_actief: boolean;
8405
- laatst_gebruikt_op: string | null;
8406
- label: string;
8407
8579
  module_id: string;
8408
- token_hash: string;
8580
+ payload: import("../integrations/supabase/types").Json;
8409
8581
  updated_at: string;
8410
- verloopt_op: string | null;
8411
8582
  };
8412
8583
  Insert: {
8413
- aangemaakt_door?: string | null;
8414
8584
  created_at?: string;
8585
+ gemaakt_op?: string;
8586
+ hash: string;
8415
8587
  id?: string;
8416
- is_actief?: boolean;
8417
- laatst_gebruikt_op?: string | null;
8418
- label?: string;
8419
8588
  module_id: string;
8420
- token_hash: string;
8589
+ payload?: import("../integrations/supabase/types").Json;
8421
8590
  updated_at?: string;
8422
- verloopt_op?: string | null;
8423
8591
  };
8424
8592
  Update: {
8425
- aangemaakt_door?: string | null;
8426
8593
  created_at?: string;
8594
+ gemaakt_op?: string;
8595
+ hash?: string;
8427
8596
  id?: string;
8428
- is_actief?: boolean;
8429
- laatst_gebruikt_op?: string | null;
8430
- label?: string;
8431
8597
  module_id?: string;
8432
- token_hash?: string;
8598
+ payload?: import("../integrations/supabase/types").Json;
8433
8599
  updated_at?: string;
8434
- verloopt_op?: string | null;
8435
8600
  };
8436
8601
  Relationships: [];
8437
8602
  };
@@ -8439,6 +8604,11 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
8439
8604
  Row: {
8440
8605
  bevindingen: string | null;
8441
8606
  bezit_tabellen: string[];
8607
+ bron_commit: string | null;
8608
+ bron_pad: string | null;
8609
+ bron_repo: string | null;
8610
+ bron_soort: string | null;
8611
+ bron_versie: string | null;
8442
8612
  conflicten_snapshot: import("../integrations/supabase/types").Json;
8443
8613
  contractfuncties: string[];
8444
8614
  created_at: string;
@@ -8449,6 +8619,8 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
8449
8619
  id: string;
8450
8620
  inhoud_md: string;
8451
8621
  is_actueel: boolean;
8622
+ is_gearchiveerd: boolean;
8623
+ laatst_gecontroleerd_op: string | null;
8452
8624
  module_id: string;
8453
8625
  module_titel: string;
8454
8626
  ontbrekende_contracten: string[];
@@ -8459,6 +8631,11 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
8459
8631
  Insert: {
8460
8632
  bevindingen?: string | null;
8461
8633
  bezit_tabellen?: string[];
8634
+ bron_commit?: string | null;
8635
+ bron_pad?: string | null;
8636
+ bron_repo?: string | null;
8637
+ bron_soort?: string | null;
8638
+ bron_versie?: string | null;
8462
8639
  conflicten_snapshot?: import("../integrations/supabase/types").Json;
8463
8640
  contractfuncties?: string[];
8464
8641
  created_at?: string;
@@ -8469,6 +8646,8 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
8469
8646
  id?: string;
8470
8647
  inhoud_md: string;
8471
8648
  is_actueel?: boolean;
8649
+ is_gearchiveerd?: boolean;
8650
+ laatst_gecontroleerd_op?: string | null;
8472
8651
  module_id: string;
8473
8652
  module_titel: string;
8474
8653
  ontbrekende_contracten?: string[];
@@ -8479,6 +8658,11 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
8479
8658
  Update: {
8480
8659
  bevindingen?: string | null;
8481
8660
  bezit_tabellen?: string[];
8661
+ bron_commit?: string | null;
8662
+ bron_pad?: string | null;
8663
+ bron_repo?: string | null;
8664
+ bron_soort?: string | null;
8665
+ bron_versie?: string | null;
8482
8666
  conflicten_snapshot?: import("../integrations/supabase/types").Json;
8483
8667
  contractfuncties?: string[];
8484
8668
  created_at?: string;
@@ -8489,6 +8673,8 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
8489
8673
  id?: string;
8490
8674
  inhoud_md?: string;
8491
8675
  is_actueel?: boolean;
8676
+ is_gearchiveerd?: boolean;
8677
+ laatst_gecontroleerd_op?: string | null;
8492
8678
  module_id?: string;
8493
8679
  module_titel?: string;
8494
8680
  ontbrekende_contracten?: string[];
@@ -8543,6 +8729,39 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
8543
8729
  };
8544
8730
  Relationships: [];
8545
8731
  };
8732
+ itk_module_wijzigingen: {
8733
+ Row: {
8734
+ created_at: string;
8735
+ geconstateerd_op: string;
8736
+ id: string;
8737
+ module_id: string;
8738
+ omschrijving: string;
8739
+ soort: string;
8740
+ updated_at: string;
8741
+ was_na_publicatie: boolean;
8742
+ };
8743
+ Insert: {
8744
+ created_at?: string;
8745
+ geconstateerd_op?: string;
8746
+ id?: string;
8747
+ module_id: string;
8748
+ omschrijving: string;
8749
+ soort: string;
8750
+ updated_at?: string;
8751
+ was_na_publicatie?: boolean;
8752
+ };
8753
+ Update: {
8754
+ created_at?: string;
8755
+ geconstateerd_op?: string;
8756
+ id?: string;
8757
+ module_id?: string;
8758
+ omschrijving?: string;
8759
+ soort?: string;
8760
+ updated_at?: string;
8761
+ was_na_publicatie?: boolean;
8762
+ };
8763
+ Relationships: [];
8764
+ };
8546
8765
  itk_offerte_events: {
8547
8766
  Row: {
8548
8767
  created_at: string;
@@ -8781,12 +9000,24 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
8781
9000
  isOneToOne: false;
8782
9001
  referencedRelation: "werkbonnen";
8783
9002
  referencedColumns: ["id"];
9003
+ }, {
9004
+ foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
9005
+ columns: ["follow_up_werkbon_id"];
9006
+ isOneToOne: false;
9007
+ referencedRelation: "wo_overview";
9008
+ referencedColumns: ["id"];
8784
9009
  }, {
8785
9010
  foreignKeyName: "itk_offertes_werkbon_id_fkey";
8786
9011
  columns: ["werkbon_id"];
8787
9012
  isOneToOne: false;
8788
9013
  referencedRelation: "werkbonnen";
8789
9014
  referencedColumns: ["id"];
9015
+ }, {
9016
+ foreignKeyName: "itk_offertes_werkbon_id_fkey";
9017
+ columns: ["werkbon_id"];
9018
+ isOneToOne: false;
9019
+ referencedRelation: "wo_overview";
9020
+ referencedColumns: ["id"];
8790
9021
  }, {
8791
9022
  foreignKeyName: "itk_offertes_work_location_id_fkey";
8792
9023
  columns: ["work_location_id"];
@@ -9087,6 +9318,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
9087
9318
  isOneToOne: false;
9088
9319
  referencedRelation: "product_categories";
9089
9320
  referencedColumns: ["id"];
9321
+ }, {
9322
+ foreignKeyName: "local_customer_agreements_product_id_fkey";
9323
+ columns: ["product_id"];
9324
+ isOneToOne: false;
9325
+ referencedRelation: "logistics_product_dimensions";
9326
+ referencedColumns: ["product_id"];
9090
9327
  }, {
9091
9328
  foreignKeyName: "local_customer_agreements_product_id_fkey";
9092
9329
  columns: ["product_id"];
@@ -9153,6 +9390,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
9153
9390
  isOneToOne: false;
9154
9391
  referencedRelation: "product_categories";
9155
9392
  referencedColumns: ["id"];
9393
+ }, {
9394
+ foreignKeyName: "local_customer_price_groups_product_id_fkey";
9395
+ columns: ["product_id"];
9396
+ isOneToOne: false;
9397
+ referencedRelation: "logistics_product_dimensions";
9398
+ referencedColumns: ["product_id"];
9156
9399
  }, {
9157
9400
  foreignKeyName: "local_customer_price_groups_product_id_fkey";
9158
9401
  columns: ["product_id"];
@@ -9219,6 +9462,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
9219
9462
  isOneToOne: false;
9220
9463
  referencedRelation: "product_categories";
9221
9464
  referencedColumns: ["id"];
9465
+ }, {
9466
+ foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9467
+ columns: ["product_id"];
9468
+ isOneToOne: false;
9469
+ referencedRelation: "logistics_product_dimensions";
9470
+ referencedColumns: ["product_id"];
9222
9471
  }, {
9223
9472
  foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9224
9473
  columns: ["product_id"];
@@ -9422,6 +9671,75 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
9422
9671
  };
9423
9672
  Relationships: [];
9424
9673
  };
9674
+ logistics_control_scan: {
9675
+ Row: {
9676
+ approved_at: string | null;
9677
+ attempts: number;
9678
+ barcode: string;
9679
+ cart_id: string;
9680
+ created_at: string;
9681
+ document_url: string | null;
9682
+ error: string | null;
9683
+ error_code: string | null;
9684
+ fulfillment_order_id: string | null;
9685
+ id: string;
9686
+ is_floriday: boolean;
9687
+ locked_until: string | null;
9688
+ order_id: string | null;
9689
+ order_number: string | null;
9690
+ print_job_id: string | null;
9691
+ printed_at: string | null;
9692
+ printer_id: string | null;
9693
+ scanner_id: string | null;
9694
+ status: string;
9695
+ updated_at: string;
9696
+ };
9697
+ Insert: {
9698
+ approved_at?: string | null;
9699
+ attempts?: number;
9700
+ barcode: string;
9701
+ cart_id: string;
9702
+ created_at?: string;
9703
+ document_url?: string | null;
9704
+ error?: string | null;
9705
+ error_code?: string | null;
9706
+ fulfillment_order_id?: string | null;
9707
+ id?: string;
9708
+ is_floriday?: boolean;
9709
+ locked_until?: string | null;
9710
+ order_id?: string | null;
9711
+ order_number?: string | null;
9712
+ print_job_id?: string | null;
9713
+ printed_at?: string | null;
9714
+ printer_id?: string | null;
9715
+ scanner_id?: string | null;
9716
+ status?: string;
9717
+ updated_at?: string;
9718
+ };
9719
+ Update: {
9720
+ approved_at?: string | null;
9721
+ attempts?: number;
9722
+ barcode?: string;
9723
+ cart_id?: string;
9724
+ created_at?: string;
9725
+ document_url?: string | null;
9726
+ error?: string | null;
9727
+ error_code?: string | null;
9728
+ fulfillment_order_id?: string | null;
9729
+ id?: string;
9730
+ is_floriday?: boolean;
9731
+ locked_until?: string | null;
9732
+ order_id?: string | null;
9733
+ order_number?: string | null;
9734
+ print_job_id?: string | null;
9735
+ printed_at?: string | null;
9736
+ printer_id?: string | null;
9737
+ scanner_id?: string | null;
9738
+ status?: string;
9739
+ updated_at?: string;
9740
+ };
9741
+ Relationships: [];
9742
+ };
9425
9743
  logistics_decisions: {
9426
9744
  Row: {
9427
9745
  created_at: string;
@@ -9707,6 +10025,24 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
9707
10025
  };
9708
10026
  Relationships: [];
9709
10027
  };
10028
+ logistics_floriday_carrier_map: {
10029
+ Row: {
10030
+ carrier_code: string;
10031
+ created_at: string;
10032
+ floriday_code: string;
10033
+ };
10034
+ Insert: {
10035
+ carrier_code: string;
10036
+ created_at?: string;
10037
+ floriday_code: string;
10038
+ };
10039
+ Update: {
10040
+ carrier_code?: string;
10041
+ created_at?: string;
10042
+ floriday_code?: string;
10043
+ };
10044
+ Relationships: [];
10045
+ };
9710
10046
  logistics_floriday_pushes: {
9711
10047
  Row: {
9712
10048
  attempts: number;
@@ -9824,20 +10160,50 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
9824
10160
  referencedColumns: ["id"];
9825
10161
  }];
9826
10162
  };
9827
- logistics_pickup_moments: {
10163
+ logistics_layer_override_log: {
9828
10164
  Row: {
9829
- carrier_ref: string | null;
10165
+ cart_id: string;
9830
10166
  created_at: string;
10167
+ details: import("../integrations/supabase/types").Json;
9831
10168
  id: string;
9832
- label: string | null;
9833
- moment_date: string;
9834
- pickup_time: string;
9835
- sequence: number;
9836
- updated_at: string;
9837
- user_id: string;
10169
+ keg_id: string | null;
10170
+ product_id: string | null;
10171
+ reason: string;
9838
10172
  };
9839
10173
  Insert: {
9840
- carrier_ref?: string | null;
10174
+ cart_id: string;
10175
+ created_at?: string;
10176
+ details?: import("../integrations/supabase/types").Json;
10177
+ id?: string;
10178
+ keg_id?: string | null;
10179
+ product_id?: string | null;
10180
+ reason: string;
10181
+ };
10182
+ Update: {
10183
+ cart_id?: string;
10184
+ created_at?: string;
10185
+ details?: import("../integrations/supabase/types").Json;
10186
+ id?: string;
10187
+ keg_id?: string | null;
10188
+ product_id?: string | null;
10189
+ reason?: string;
10190
+ };
10191
+ Relationships: [];
10192
+ };
10193
+ logistics_pickup_moments: {
10194
+ Row: {
10195
+ carrier_ref: string | null;
10196
+ created_at: string;
10197
+ id: string;
10198
+ label: string | null;
10199
+ moment_date: string;
10200
+ pickup_time: string;
10201
+ sequence: number;
10202
+ updated_at: string;
10203
+ user_id: string;
10204
+ };
10205
+ Insert: {
10206
+ carrier_ref?: string | null;
9841
10207
  created_at?: string;
9842
10208
  id?: string;
9843
10209
  label?: string | null;
@@ -9870,6 +10236,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
9870
10236
  next_attempt_at: string;
9871
10237
  order_id: string;
9872
10238
  reason: string;
10239
+ reason_code: string | null;
9873
10240
  status: string;
9874
10241
  updated_at: string;
9875
10242
  };
@@ -9882,6 +10249,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
9882
10249
  next_attempt_at?: string;
9883
10250
  order_id: string;
9884
10251
  reason?: string;
10252
+ reason_code?: string | null;
9885
10253
  status?: string;
9886
10254
  updated_at?: string;
9887
10255
  };
@@ -9894,6 +10262,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
9894
10262
  next_attempt_at?: string;
9895
10263
  order_id?: string;
9896
10264
  reason?: string;
10265
+ reason_code?: string | null;
9897
10266
  status?: string;
9898
10267
  updated_at?: string;
9899
10268
  };
@@ -10598,6 +10967,21 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
10598
10967
  referencedColumns: ["id"];
10599
10968
  }];
10600
10969
  };
10970
+ logistics_tick_heartbeat: {
10971
+ Row: {
10972
+ id: boolean;
10973
+ last_tick_at: string;
10974
+ };
10975
+ Insert: {
10976
+ id?: boolean;
10977
+ last_tick_at?: string;
10978
+ };
10979
+ Update: {
10980
+ id?: boolean;
10981
+ last_tick_at?: string;
10982
+ };
10983
+ Relationships: [];
10984
+ };
10601
10985
  logistics_variables: {
10602
10986
  Row: {
10603
10987
  created_at: string;
@@ -11029,6 +11413,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
11029
11413
  updated_at?: string;
11030
11414
  };
11031
11415
  Relationships: [{
11416
+ foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11417
+ columns: ["product_id"];
11418
+ isOneToOne: false;
11419
+ referencedRelation: "logistics_product_dimensions";
11420
+ referencedColumns: ["product_id"];
11421
+ }, {
11032
11422
  foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11033
11423
  columns: ["product_id"];
11034
11424
  isOneToOne: false;
@@ -12335,6 +12725,8 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12335
12725
  order_buffers: {
12336
12726
  Row: {
12337
12727
  buffer_key: string;
12728
+ close_at: string | null;
12729
+ closed_at: string | null;
12338
12730
  created_at: string;
12339
12731
  customer_id: string | null;
12340
12732
  grouping_mode: string;
@@ -12346,6 +12738,8 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12346
12738
  };
12347
12739
  Insert: {
12348
12740
  buffer_key: string;
12741
+ close_at?: string | null;
12742
+ closed_at?: string | null;
12349
12743
  created_at?: string;
12350
12744
  customer_id?: string | null;
12351
12745
  grouping_mode: string;
@@ -12357,6 +12751,8 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12357
12751
  };
12358
12752
  Update: {
12359
12753
  buffer_key?: string;
12754
+ close_at?: string | null;
12755
+ closed_at?: string | null;
12360
12756
  created_at?: string;
12361
12757
  customer_id?: string | null;
12362
12758
  grouping_mode?: string;
@@ -12373,10 +12769,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12373
12769
  boxes: number | null;
12374
12770
  cart_id: string;
12375
12771
  crates: number;
12772
+ crates_in_layer: number | null;
12376
12773
  crates_per_layer: number;
12377
12774
  created_at: string;
12378
12775
  id: string;
12379
12776
  layer_fraction: number;
12777
+ layer_index: number | null;
12380
12778
  layer_share_pct: number;
12381
12779
  layers_per_cart: number;
12382
12780
  order_item_id: string | null;
@@ -12389,10 +12787,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12389
12787
  boxes?: number | null;
12390
12788
  cart_id: string;
12391
12789
  crates: number;
12790
+ crates_in_layer?: number | null;
12392
12791
  crates_per_layer?: number;
12393
12792
  created_at?: string;
12394
12793
  id?: string;
12395
12794
  layer_fraction?: number;
12795
+ layer_index?: number | null;
12396
12796
  layer_share_pct?: number;
12397
12797
  layers_per_cart?: number;
12398
12798
  order_item_id?: string | null;
@@ -12405,10 +12805,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12405
12805
  boxes?: number | null;
12406
12806
  cart_id?: string;
12407
12807
  crates?: number;
12808
+ crates_in_layer?: number | null;
12408
12809
  crates_per_layer?: number;
12409
12810
  created_at?: string;
12410
12811
  id?: string;
12411
12812
  layer_fraction?: number;
12813
+ layer_index?: number | null;
12412
12814
  layer_share_pct?: number;
12413
12815
  layers_per_cart?: number;
12414
12816
  order_item_id?: string | null;
@@ -12429,6 +12831,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12429
12831
  isOneToOne: false;
12430
12832
  referencedRelation: "order_items";
12431
12833
  referencedColumns: ["id"];
12834
+ }, {
12835
+ foreignKeyName: "order_cart_items_product_id_fkey";
12836
+ columns: ["product_id"];
12837
+ isOneToOne: false;
12838
+ referencedRelation: "logistics_product_dimensions";
12839
+ referencedColumns: ["product_id"];
12432
12840
  }, {
12433
12841
  foreignKeyName: "order_cart_items_product_id_fkey";
12434
12842
  columns: ["product_id"];
@@ -12437,6 +12845,93 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12437
12845
  referencedColumns: ["id"];
12438
12846
  }];
12439
12847
  };
12848
+ order_cart_layer_positions: {
12849
+ Row: {
12850
+ algorithm_version: number | null;
12851
+ cart_id: string;
12852
+ created_at: string;
12853
+ height: number;
12854
+ id: string;
12855
+ keg_id: string;
12856
+ label: string | null;
12857
+ layer: number;
12858
+ layer_height: number | null;
12859
+ layer_width: number | null;
12860
+ manual_overridden_at: string | null;
12861
+ manual_overridden_by: string | null;
12862
+ manual_override: boolean;
12863
+ order_item_id: string | null;
12864
+ original_layer: number | null;
12865
+ original_x: number | null;
12866
+ original_y: number | null;
12867
+ product_id: string | null;
12868
+ rotation: number;
12869
+ source: string | null;
12870
+ updated_at: string;
12871
+ width: number;
12872
+ x: number;
12873
+ y: number;
12874
+ };
12875
+ Insert: {
12876
+ algorithm_version?: number | null;
12877
+ cart_id: string;
12878
+ created_at?: string;
12879
+ height: number;
12880
+ id?: string;
12881
+ keg_id: string;
12882
+ label?: string | null;
12883
+ layer: number;
12884
+ layer_height?: number | null;
12885
+ layer_width?: number | null;
12886
+ manual_overridden_at?: string | null;
12887
+ manual_overridden_by?: string | null;
12888
+ manual_override?: boolean;
12889
+ order_item_id?: string | null;
12890
+ original_layer?: number | null;
12891
+ original_x?: number | null;
12892
+ original_y?: number | null;
12893
+ product_id?: string | null;
12894
+ rotation?: number;
12895
+ source?: string | null;
12896
+ updated_at?: string;
12897
+ width: number;
12898
+ x: number;
12899
+ y: number;
12900
+ };
12901
+ Update: {
12902
+ algorithm_version?: number | null;
12903
+ cart_id?: string;
12904
+ created_at?: string;
12905
+ height?: number;
12906
+ id?: string;
12907
+ keg_id?: string;
12908
+ label?: string | null;
12909
+ layer?: number;
12910
+ layer_height?: number | null;
12911
+ layer_width?: number | null;
12912
+ manual_overridden_at?: string | null;
12913
+ manual_overridden_by?: string | null;
12914
+ manual_override?: boolean;
12915
+ order_item_id?: string | null;
12916
+ original_layer?: number | null;
12917
+ original_x?: number | null;
12918
+ original_y?: number | null;
12919
+ product_id?: string | null;
12920
+ rotation?: number;
12921
+ source?: string | null;
12922
+ updated_at?: string;
12923
+ width?: number;
12924
+ x?: number;
12925
+ y?: number;
12926
+ };
12927
+ Relationships: [{
12928
+ foreignKeyName: "order_cart_layer_positions_cart_id_fkey";
12929
+ columns: ["cart_id"];
12930
+ isOneToOne: false;
12931
+ referencedRelation: "order_carts";
12932
+ referencedColumns: ["id"];
12933
+ }];
12934
+ };
12440
12935
  order_carts: {
12441
12936
  Row: {
12442
12937
  algorithm_version: number;
@@ -12448,6 +12943,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12448
12943
  id: string;
12449
12944
  is_auto: boolean;
12450
12945
  is_complete: boolean;
12946
+ layout_method: string | null;
12451
12947
  max_layers: number | null;
12452
12948
  moved_at: string | null;
12453
12949
  moved_from_moment_id: string | null;
@@ -12458,6 +12954,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12458
12954
  pickup_locked: boolean;
12459
12955
  pickup_moment_id: string | null;
12460
12956
  source: string;
12957
+ total_carts: number | null;
12461
12958
  total_layers_used: number;
12462
12959
  updated_at: string;
12463
12960
  weight_kg: number | null;
@@ -12472,6 +12969,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12472
12969
  id?: string;
12473
12970
  is_auto?: boolean;
12474
12971
  is_complete?: boolean;
12972
+ layout_method?: string | null;
12475
12973
  max_layers?: number | null;
12476
12974
  moved_at?: string | null;
12477
12975
  moved_from_moment_id?: string | null;
@@ -12482,6 +12980,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12482
12980
  pickup_locked?: boolean;
12483
12981
  pickup_moment_id?: string | null;
12484
12982
  source?: string;
12983
+ total_carts?: number | null;
12485
12984
  total_layers_used?: number;
12486
12985
  updated_at?: string;
12487
12986
  weight_kg?: number | null;
@@ -12496,6 +12995,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12496
12995
  id?: string;
12497
12996
  is_auto?: boolean;
12498
12997
  is_complete?: boolean;
12998
+ layout_method?: string | null;
12499
12999
  max_layers?: number | null;
12500
13000
  moved_at?: string | null;
12501
13001
  moved_from_moment_id?: string | null;
@@ -12506,6 +13006,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12506
13006
  pickup_locked?: boolean;
12507
13007
  pickup_moment_id?: string | null;
12508
13008
  source?: string;
13009
+ total_carts?: number | null;
12509
13010
  total_layers_used?: number;
12510
13011
  updated_at?: string;
12511
13012
  weight_kg?: number | null;
@@ -12608,6 +13109,39 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12608
13109
  };
12609
13110
  Relationships: [];
12610
13111
  };
13112
+ order_fust_bookings: {
13113
+ Row: {
13114
+ created_at: string;
13115
+ fust_type_id: string;
13116
+ id: string;
13117
+ order_item_id: string;
13118
+ quantity: number;
13119
+ updated_at: string;
13120
+ };
13121
+ Insert: {
13122
+ created_at?: string;
13123
+ fust_type_id: string;
13124
+ id?: string;
13125
+ order_item_id: string;
13126
+ quantity?: number;
13127
+ updated_at?: string;
13128
+ };
13129
+ Update: {
13130
+ created_at?: string;
13131
+ fust_type_id?: string;
13132
+ id?: string;
13133
+ order_item_id?: string;
13134
+ quantity?: number;
13135
+ updated_at?: string;
13136
+ };
13137
+ Relationships: [{
13138
+ foreignKeyName: "order_fust_bookings_fust_type_id_fkey";
13139
+ columns: ["fust_type_id"];
13140
+ isOneToOne: false;
13141
+ referencedRelation: "fust_types";
13142
+ referencedColumns: ["id"];
13143
+ }];
13144
+ };
12611
13145
  order_invoice_links: {
12612
13146
  Row: {
12613
13147
  administration_code: string | null;
@@ -12696,6 +13230,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12696
13230
  isOneToOne: false;
12697
13231
  referencedRelation: "orders";
12698
13232
  referencedColumns: ["id"];
13233
+ }, {
13234
+ foreignKeyName: "order_items_product_id_fkey";
13235
+ columns: ["product_id"];
13236
+ isOneToOne: false;
13237
+ referencedRelation: "logistics_product_dimensions";
13238
+ referencedColumns: ["product_id"];
12699
13239
  }, {
12700
13240
  foreignKeyName: "order_items_product_id_fkey";
12701
13241
  columns: ["product_id"];
@@ -12843,6 +13383,9 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12843
13383
  plan_locked_at: string | null;
12844
13384
  plan_locked_ref: string | null;
12845
13385
  status: string;
13386
+ status_changed_at: string;
13387
+ status_origin: string;
13388
+ status_sync_token: string | null;
12846
13389
  total: string;
12847
13390
  updated_at: string;
12848
13391
  };
@@ -12867,6 +13410,9 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12867
13410
  plan_locked_at?: string | null;
12868
13411
  plan_locked_ref?: string | null;
12869
13412
  status?: string;
13413
+ status_changed_at?: string;
13414
+ status_origin?: string;
13415
+ status_sync_token?: string | null;
12870
13416
  total?: string;
12871
13417
  updated_at?: string;
12872
13418
  };
@@ -12891,6 +13437,9 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12891
13437
  plan_locked_at?: string | null;
12892
13438
  plan_locked_ref?: string | null;
12893
13439
  status?: string;
13440
+ status_changed_at?: string;
13441
+ status_origin?: string;
13442
+ status_sync_token?: string | null;
12894
13443
  total?: string;
12895
13444
  updated_at?: string;
12896
13445
  };
@@ -12944,6 +13493,132 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
12944
13493
  };
12945
13494
  Relationships: [];
12946
13495
  };
13496
+ pakbon_barcode_inhoud: {
13497
+ Row: {
13498
+ barcode: string;
13499
+ cart_id: string | null;
13500
+ cart_index: number | null;
13501
+ cart_label: string | null;
13502
+ cart_total: number | null;
13503
+ created_at: string;
13504
+ is_herprint: boolean;
13505
+ klant_naam: string | null;
13506
+ klant_nummer: string | null;
13507
+ layout_id: string | null;
13508
+ layout_variant: string | null;
13509
+ order_nummer: string | null;
13510
+ order_ref: string | null;
13511
+ print_job_id: string | null;
13512
+ regels: import("../integrations/supabase/types").Json;
13513
+ updated_at: string;
13514
+ };
13515
+ Insert: {
13516
+ barcode: string;
13517
+ cart_id?: string | null;
13518
+ cart_index?: number | null;
13519
+ cart_label?: string | null;
13520
+ cart_total?: number | null;
13521
+ created_at?: string;
13522
+ is_herprint?: boolean;
13523
+ klant_naam?: string | null;
13524
+ klant_nummer?: string | null;
13525
+ layout_id?: string | null;
13526
+ layout_variant?: string | null;
13527
+ order_nummer?: string | null;
13528
+ order_ref?: string | null;
13529
+ print_job_id?: string | null;
13530
+ regels?: import("../integrations/supabase/types").Json;
13531
+ updated_at?: string;
13532
+ };
13533
+ Update: {
13534
+ barcode?: string;
13535
+ cart_id?: string | null;
13536
+ cart_index?: number | null;
13537
+ cart_label?: string | null;
13538
+ cart_total?: number | null;
13539
+ created_at?: string;
13540
+ is_herprint?: boolean;
13541
+ klant_naam?: string | null;
13542
+ klant_nummer?: string | null;
13543
+ layout_id?: string | null;
13544
+ layout_variant?: string | null;
13545
+ order_nummer?: string | null;
13546
+ order_ref?: string | null;
13547
+ print_job_id?: string | null;
13548
+ regels?: import("../integrations/supabase/types").Json;
13549
+ updated_at?: string;
13550
+ };
13551
+ Relationships: [];
13552
+ };
13553
+ pakbon_barcode_verzoeken: {
13554
+ Row: {
13555
+ aangevraagd_op: string;
13556
+ barcode: string | null;
13557
+ cart_id: string | null;
13558
+ cart_index: number | null;
13559
+ cart_label: string | null;
13560
+ cart_total: number | null;
13561
+ documentnaam: string | null;
13562
+ geleverd_op: string | null;
13563
+ id: string;
13564
+ is_herprint: boolean;
13565
+ klant_naam: string | null;
13566
+ klant_nummer: string | null;
13567
+ laatst_gevraagd_op: string;
13568
+ layout_id: string | null;
13569
+ layout_variant: string | null;
13570
+ order_nummer: string | null;
13571
+ order_ref: string | null;
13572
+ print_job_id: string;
13573
+ status: string;
13574
+ updated_at: string;
13575
+ };
13576
+ Insert: {
13577
+ aangevraagd_op?: string;
13578
+ barcode?: string | null;
13579
+ cart_id?: string | null;
13580
+ cart_index?: number | null;
13581
+ cart_label?: string | null;
13582
+ cart_total?: number | null;
13583
+ documentnaam?: string | null;
13584
+ geleverd_op?: string | null;
13585
+ id?: string;
13586
+ is_herprint?: boolean;
13587
+ klant_naam?: string | null;
13588
+ klant_nummer?: string | null;
13589
+ laatst_gevraagd_op?: string;
13590
+ layout_id?: string | null;
13591
+ layout_variant?: string | null;
13592
+ order_nummer?: string | null;
13593
+ order_ref?: string | null;
13594
+ print_job_id: string;
13595
+ status?: string;
13596
+ updated_at?: string;
13597
+ };
13598
+ Update: {
13599
+ aangevraagd_op?: string;
13600
+ barcode?: string | null;
13601
+ cart_id?: string | null;
13602
+ cart_index?: number | null;
13603
+ cart_label?: string | null;
13604
+ cart_total?: number | null;
13605
+ documentnaam?: string | null;
13606
+ geleverd_op?: string | null;
13607
+ id?: string;
13608
+ is_herprint?: boolean;
13609
+ klant_naam?: string | null;
13610
+ klant_nummer?: string | null;
13611
+ laatst_gevraagd_op?: string;
13612
+ layout_id?: string | null;
13613
+ layout_variant?: string | null;
13614
+ order_nummer?: string | null;
13615
+ order_ref?: string | null;
13616
+ print_job_id?: string;
13617
+ status?: string;
13618
+ updated_at?: string;
13619
+ };
13620
+ Relationships: [];
13621
+ };
12947
13622
  pick_countries: {
12948
13623
  Row: {
12949
13624
  active: boolean;
@@ -14022,6 +14697,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14022
14697
  isOneToOne: false;
14023
14698
  referencedRelation: "werkbonnen";
14024
14699
  referencedColumns: ["id"];
14700
+ }, {
14701
+ foreignKeyName: "planning_items_werkbon_id_fkey";
14702
+ columns: ["werkbon_id"];
14703
+ isOneToOne: false;
14704
+ referencedRelation: "wo_overview";
14705
+ referencedColumns: ["id"];
14025
14706
  }];
14026
14707
  };
14027
14708
  print_agents: {
@@ -14137,12 +14818,21 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14137
14818
  };
14138
14819
  print_jobs: {
14139
14820
  Row: {
14821
+ aflever_pogingen: number;
14140
14822
  agent_id: string | null;
14823
+ artefact_bytes: number | null;
14824
+ artefact_gereed_op: string | null;
14825
+ artefact_pad: string | null;
14826
+ artefact_sha256: string | null;
14827
+ batch_id: string | null;
14141
14828
  bron_job_id: string | null;
14142
14829
  created_at: string;
14143
14830
  documentnaam: string;
14144
14831
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
14145
14832
  extern_job_id: string | null;
14833
+ fase_gestart_op: string | null;
14834
+ fase_voltooid_op: string | null;
14835
+ foutcode: string | null;
14146
14836
  foutmelding: string | null;
14147
14837
  gebruiker_id: string | null;
14148
14838
  gebruiker_naam: string;
@@ -14156,7 +14846,10 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14156
14846
  kopieen: number;
14157
14847
  layout_id: string | null;
14158
14848
  lokaal_opgeslagen_op: string | null;
14849
+ lokale_pdf_claim_id: string | null;
14850
+ lokale_pdf_claim_tot: string | null;
14159
14851
  lokale_pdf_fout: string | null;
14852
+ lokale_pdf_print_plek_id: string | null;
14160
14853
  lokale_pdf_status: string | null;
14161
14854
  opgepakt_op: string | null;
14162
14855
  paginas: number;
@@ -14169,16 +14862,26 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14169
14862
  resultaat_pdf_base64: string | null;
14170
14863
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
14171
14864
  updated_at: string;
14865
+ verwerkingsfase: string;
14172
14866
  volgende_poging: string | null;
14173
14867
  voltooid_op: string | null;
14174
14868
  };
14175
14869
  Insert: {
14870
+ aflever_pogingen?: number;
14176
14871
  agent_id?: string | null;
14872
+ artefact_bytes?: number | null;
14873
+ artefact_gereed_op?: string | null;
14874
+ artefact_pad?: string | null;
14875
+ artefact_sha256?: string | null;
14876
+ batch_id?: string | null;
14177
14877
  bron_job_id?: string | null;
14178
14878
  created_at?: string;
14179
14879
  documentnaam?: string;
14180
14880
  documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
14181
14881
  extern_job_id?: string | null;
14882
+ fase_gestart_op?: string | null;
14883
+ fase_voltooid_op?: string | null;
14884
+ foutcode?: string | null;
14182
14885
  foutmelding?: string | null;
14183
14886
  gebruiker_id?: string | null;
14184
14887
  gebruiker_naam?: string;
@@ -14192,7 +14895,10 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14192
14895
  kopieen?: number;
14193
14896
  layout_id?: string | null;
14194
14897
  lokaal_opgeslagen_op?: string | null;
14898
+ lokale_pdf_claim_id?: string | null;
14899
+ lokale_pdf_claim_tot?: string | null;
14195
14900
  lokale_pdf_fout?: string | null;
14901
+ lokale_pdf_print_plek_id?: string | null;
14196
14902
  lokale_pdf_status?: string | null;
14197
14903
  opgepakt_op?: string | null;
14198
14904
  paginas?: number;
@@ -14205,16 +14911,26 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14205
14911
  resultaat_pdf_base64?: string | null;
14206
14912
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
14207
14913
  updated_at?: string;
14914
+ verwerkingsfase?: string;
14208
14915
  volgende_poging?: string | null;
14209
14916
  voltooid_op?: string | null;
14210
14917
  };
14211
14918
  Update: {
14919
+ aflever_pogingen?: number;
14212
14920
  agent_id?: string | null;
14921
+ artefact_bytes?: number | null;
14922
+ artefact_gereed_op?: string | null;
14923
+ artefact_pad?: string | null;
14924
+ artefact_sha256?: string | null;
14925
+ batch_id?: string | null;
14213
14926
  bron_job_id?: string | null;
14214
14927
  created_at?: string;
14215
14928
  documentnaam?: string;
14216
14929
  documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
14217
14930
  extern_job_id?: string | null;
14931
+ fase_gestart_op?: string | null;
14932
+ fase_voltooid_op?: string | null;
14933
+ foutcode?: string | null;
14218
14934
  foutmelding?: string | null;
14219
14935
  gebruiker_id?: string | null;
14220
14936
  gebruiker_naam?: string;
@@ -14228,7 +14944,10 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14228
14944
  kopieen?: number;
14229
14945
  layout_id?: string | null;
14230
14946
  lokaal_opgeslagen_op?: string | null;
14947
+ lokale_pdf_claim_id?: string | null;
14948
+ lokale_pdf_claim_tot?: string | null;
14231
14949
  lokale_pdf_fout?: string | null;
14950
+ lokale_pdf_print_plek_id?: string | null;
14232
14951
  lokale_pdf_status?: string | null;
14233
14952
  opgepakt_op?: string | null;
14234
14953
  paginas?: number;
@@ -14241,6 +14960,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14241
14960
  resultaat_pdf_base64?: string | null;
14242
14961
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
14243
14962
  updated_at?: string;
14963
+ verwerkingsfase?: string;
14244
14964
  volgende_poging?: string | null;
14245
14965
  voltooid_op?: string | null;
14246
14966
  };
@@ -14256,6 +14976,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14256
14976
  isOneToOne: false;
14257
14977
  referencedRelation: "document_layouts";
14258
14978
  referencedColumns: ["id"];
14979
+ }, {
14980
+ foreignKeyName: "print_jobs_lokale_pdf_print_plek_id_fkey";
14981
+ columns: ["lokale_pdf_print_plek_id"];
14982
+ isOneToOne: false;
14983
+ referencedRelation: "print_plekken";
14984
+ referencedColumns: ["id"];
14259
14985
  }, {
14260
14986
  foreignKeyName: "print_jobs_printer_id_fkey";
14261
14987
  columns: ["printer_id"];
@@ -14390,6 +15116,30 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14390
15116
  };
14391
15117
  Relationships: [];
14392
15118
  };
15119
+ print_queue_leases: {
15120
+ Row: {
15121
+ created_at: string;
15122
+ houder: string;
15123
+ naam: string;
15124
+ updated_at: string;
15125
+ verloopt_op: string;
15126
+ };
15127
+ Insert: {
15128
+ created_at?: string;
15129
+ houder: string;
15130
+ naam: string;
15131
+ updated_at?: string;
15132
+ verloopt_op: string;
15133
+ };
15134
+ Update: {
15135
+ created_at?: string;
15136
+ houder?: string;
15137
+ naam?: string;
15138
+ updated_at?: string;
15139
+ verloopt_op?: string;
15140
+ };
15141
+ Relationships: [];
15142
+ };
14393
15143
  print_queue_runners: {
14394
15144
  Row: {
14395
15145
  actief: boolean;
@@ -14399,7 +15149,9 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14399
15149
  laatst_gezien: string;
14400
15150
  laatste_fout: string | null;
14401
15151
  laatste_request_id: number | null;
15152
+ laatste_wakeup: string | null;
14402
15153
  mislukte_posts: number;
15154
+ mislukte_wakeups: number;
14403
15155
  tick_sleutel: string;
14404
15156
  updated_at: string;
14405
15157
  };
@@ -14411,7 +15163,9 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14411
15163
  laatst_gezien?: string;
14412
15164
  laatste_fout?: string | null;
14413
15165
  laatste_request_id?: number | null;
15166
+ laatste_wakeup?: string | null;
14414
15167
  mislukte_posts?: number;
15168
+ mislukte_wakeups?: number;
14415
15169
  tick_sleutel?: string;
14416
15170
  updated_at?: string;
14417
15171
  };
@@ -14423,7 +15177,9 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14423
15177
  laatst_gezien?: string;
14424
15178
  laatste_fout?: string | null;
14425
15179
  laatste_request_id?: number | null;
15180
+ laatste_wakeup?: string | null;
14426
15181
  mislukte_posts?: number;
15182
+ mislukte_wakeups?: number;
14427
15183
  tick_sleutel?: string;
14428
15184
  updated_at?: string;
14429
15185
  };
@@ -14737,6 +15493,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14737
15493
  updated_at?: string;
14738
15494
  };
14739
15495
  Relationships: [{
15496
+ foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
15497
+ columns: ["parent_product_id"];
15498
+ isOneToOne: false;
15499
+ referencedRelation: "logistics_product_dimensions";
15500
+ referencedColumns: ["product_id"];
15501
+ }, {
14740
15502
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
14741
15503
  columns: ["parent_product_id"];
14742
15504
  isOneToOne: false;
@@ -14791,11 +15553,23 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14791
15553
  updated_at?: string;
14792
15554
  };
14793
15555
  Relationships: [{
15556
+ foreignKeyName: "product_bom_items_component_product_id_fkey";
15557
+ columns: ["component_product_id"];
15558
+ isOneToOne: false;
15559
+ referencedRelation: "logistics_product_dimensions";
15560
+ referencedColumns: ["product_id"];
15561
+ }, {
14794
15562
  foreignKeyName: "product_bom_items_component_product_id_fkey";
14795
15563
  columns: ["component_product_id"];
14796
15564
  isOneToOne: false;
14797
15565
  referencedRelation: "products";
14798
15566
  referencedColumns: ["id"];
15567
+ }, {
15568
+ foreignKeyName: "product_bom_items_parent_product_id_fkey";
15569
+ columns: ["parent_product_id"];
15570
+ isOneToOne: false;
15571
+ referencedRelation: "logistics_product_dimensions";
15572
+ referencedColumns: ["product_id"];
14799
15573
  }, {
14800
15574
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
14801
15575
  columns: ["parent_product_id"];
@@ -14971,6 +15745,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
14971
15745
  updated_at?: string;
14972
15746
  };
14973
15747
  Relationships: [{
15748
+ foreignKeyName: "product_groups_head_product_id_fkey";
15749
+ columns: ["head_product_id"];
15750
+ isOneToOne: false;
15751
+ referencedRelation: "logistics_product_dimensions";
15752
+ referencedColumns: ["product_id"];
15753
+ }, {
14974
15754
  foreignKeyName: "product_groups_head_product_id_fkey";
14975
15755
  columns: ["head_product_id"];
14976
15756
  isOneToOne: false;
@@ -15036,6 +15816,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
15036
15816
  isOneToOne: false;
15037
15817
  referencedRelation: "packages";
15038
15818
  referencedColumns: ["id"];
15819
+ }, {
15820
+ foreignKeyName: "product_load_settings_product_id_fkey";
15821
+ columns: ["product_id"];
15822
+ isOneToOne: false;
15823
+ referencedRelation: "logistics_product_dimensions";
15824
+ referencedColumns: ["product_id"];
15039
15825
  }, {
15040
15826
  foreignKeyName: "product_load_settings_product_id_fkey";
15041
15827
  columns: ["product_id"];
@@ -15086,6 +15872,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
15086
15872
  created_at: string;
15087
15873
  custom_fields: import("../integrations/supabase/types").Json;
15088
15874
  floriday_trade_item_id: string | null;
15875
+ fust_type_id: string | null;
15089
15876
  id: string;
15090
15877
  image_url: string | null;
15091
15878
  incoming_quantity: number;
@@ -15093,6 +15880,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
15093
15880
  layers_per_cart: number;
15094
15881
  location: string;
15095
15882
  min_quantity: number;
15883
+ plant_height_cm: number | null;
15096
15884
  plants_per_crate: number;
15097
15885
  product: string;
15098
15886
  product_type: string;
@@ -15112,6 +15900,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
15112
15900
  created_at?: string;
15113
15901
  custom_fields?: import("../integrations/supabase/types").Json;
15114
15902
  floriday_trade_item_id?: string | null;
15903
+ fust_type_id?: string | null;
15115
15904
  id?: string;
15116
15905
  image_url?: string | null;
15117
15906
  incoming_quantity?: number;
@@ -15119,6 +15908,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
15119
15908
  layers_per_cart?: number;
15120
15909
  location: string;
15121
15910
  min_quantity?: number;
15911
+ plant_height_cm?: number | null;
15122
15912
  plants_per_crate?: number;
15123
15913
  product: string;
15124
15914
  product_type?: string;
@@ -15138,6 +15928,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
15138
15928
  created_at?: string;
15139
15929
  custom_fields?: import("../integrations/supabase/types").Json;
15140
15930
  floriday_trade_item_id?: string | null;
15931
+ fust_type_id?: string | null;
15141
15932
  id?: string;
15142
15933
  image_url?: string | null;
15143
15934
  incoming_quantity?: number;
@@ -15145,6 +15936,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
15145
15936
  layers_per_cart?: number;
15146
15937
  location?: string;
15147
15938
  min_quantity?: number;
15939
+ plant_height_cm?: number | null;
15148
15940
  plants_per_crate?: number;
15149
15941
  product?: string;
15150
15942
  product_type?: string;
@@ -15156,7 +15948,13 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
15156
15948
  updated_at?: string;
15157
15949
  weight?: string | null;
15158
15950
  };
15159
- Relationships: [];
15951
+ Relationships: [{
15952
+ foreignKeyName: "products_fust_type_id_fkey";
15953
+ columns: ["fust_type_id"];
15954
+ isOneToOne: false;
15955
+ referencedRelation: "fust_types";
15956
+ referencedColumns: ["id"];
15957
+ }];
15160
15958
  };
15161
15959
  profile_modules: {
15162
15960
  Row: {
@@ -15490,6 +16288,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
15490
16288
  quantity?: number;
15491
16289
  };
15492
16290
  Relationships: [{
16291
+ foreignKeyName: "purchase_order_items_product_id_fkey";
16292
+ columns: ["product_id"];
16293
+ isOneToOne: false;
16294
+ referencedRelation: "logistics_product_dimensions";
16295
+ referencedColumns: ["product_id"];
16296
+ }, {
15493
16297
  foreignKeyName: "purchase_order_items_product_id_fkey";
15494
16298
  columns: ["product_id"];
15495
16299
  isOneToOne: false;
@@ -15809,21 +16613,117 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
15809
16613
  referencedColumns: ["id"];
15810
16614
  }];
15811
16615
  };
15812
- scan_karren: {
16616
+ scan_kar_sessie_regels: {
15813
16617
  Row: {
15814
- afgerond_op: string | null;
15815
- buffer_key: string | null;
16618
+ barcode: string;
16619
+ cart_id: string | null;
15816
16620
  created_at: string;
15817
- customer_names: string[];
15818
- device_id: string | null;
15819
- geprint: boolean;
15820
- geprint_op: string | null;
15821
16621
  id: string;
15822
- kar_nummer: string;
15823
- medewerker_id: string | null;
15824
- medewerker_naam: string | null;
15825
- naar_pickstation: boolean;
15826
- naar_pickstation_op: string | null;
16622
+ order_id: string | null;
16623
+ order_number: string | null;
16624
+ regels: import("../integrations/supabase/types").Json;
16625
+ sessie_id: string;
16626
+ volledig: boolean;
16627
+ };
16628
+ Insert: {
16629
+ barcode: string;
16630
+ cart_id?: string | null;
16631
+ created_at?: string;
16632
+ id?: string;
16633
+ order_id?: string | null;
16634
+ order_number?: string | null;
16635
+ regels?: import("../integrations/supabase/types").Json;
16636
+ sessie_id: string;
16637
+ volledig?: boolean;
16638
+ };
16639
+ Update: {
16640
+ barcode?: string;
16641
+ cart_id?: string | null;
16642
+ created_at?: string;
16643
+ id?: string;
16644
+ order_id?: string | null;
16645
+ order_number?: string | null;
16646
+ regels?: import("../integrations/supabase/types").Json;
16647
+ sessie_id?: string;
16648
+ volledig?: boolean;
16649
+ };
16650
+ Relationships: [{
16651
+ foreignKeyName: "scan_kar_sessie_regels_sessie_id_fkey";
16652
+ columns: ["sessie_id"];
16653
+ isOneToOne: false;
16654
+ referencedRelation: "scan_kar_sessies";
16655
+ referencedColumns: ["id"];
16656
+ }];
16657
+ };
16658
+ scan_kar_sessies: {
16659
+ Row: {
16660
+ afgerond_op: string | null;
16661
+ cart_id: string | null;
16662
+ cart_index: number | null;
16663
+ cart_total: number | null;
16664
+ created_at: string;
16665
+ id: string;
16666
+ klant_naam: string | null;
16667
+ medewerker_naam: string | null;
16668
+ order_id: string | null;
16669
+ order_number: string | null;
16670
+ scanner_id: string | null;
16671
+ status: string;
16672
+ updated_at: string;
16673
+ };
16674
+ Insert: {
16675
+ afgerond_op?: string | null;
16676
+ cart_id?: string | null;
16677
+ cart_index?: number | null;
16678
+ cart_total?: number | null;
16679
+ created_at?: string;
16680
+ id?: string;
16681
+ klant_naam?: string | null;
16682
+ medewerker_naam?: string | null;
16683
+ order_id?: string | null;
16684
+ order_number?: string | null;
16685
+ scanner_id?: string | null;
16686
+ status?: string;
16687
+ updated_at?: string;
16688
+ };
16689
+ Update: {
16690
+ afgerond_op?: string | null;
16691
+ cart_id?: string | null;
16692
+ cart_index?: number | null;
16693
+ cart_total?: number | null;
16694
+ created_at?: string;
16695
+ id?: string;
16696
+ klant_naam?: string | null;
16697
+ medewerker_naam?: string | null;
16698
+ order_id?: string | null;
16699
+ order_number?: string | null;
16700
+ scanner_id?: string | null;
16701
+ status?: string;
16702
+ updated_at?: string;
16703
+ };
16704
+ Relationships: [{
16705
+ foreignKeyName: "scan_kar_sessies_scanner_id_fkey";
16706
+ columns: ["scanner_id"];
16707
+ isOneToOne: false;
16708
+ referencedRelation: "scan_scanners";
16709
+ referencedColumns: ["id"];
16710
+ }];
16711
+ };
16712
+ scan_karren: {
16713
+ Row: {
16714
+ afgerond_op: string | null;
16715
+ buffer_key: string | null;
16716
+ created_at: string;
16717
+ customer_names: string[];
16718
+ device_id: string | null;
16719
+ geprint: boolean;
16720
+ geprint_op: string | null;
16721
+ id: string;
16722
+ kar_nummer: string;
16723
+ medewerker_id: string | null;
16724
+ medewerker_naam: string | null;
16725
+ naar_pickstation: boolean;
16726
+ naar_pickstation_op: string | null;
15827
16727
  order_number: string | null;
15828
16728
  scanner_id: string | null;
15829
16729
  scanner_key: string;
@@ -16013,6 +16913,60 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
16013
16913
  };
16014
16914
  Relationships: [];
16015
16915
  };
16916
+ scan_restpakbonnen: {
16917
+ Row: {
16918
+ barcode: string;
16919
+ bron_barcode: string | null;
16920
+ cart_id: string | null;
16921
+ cart_index: number | null;
16922
+ cart_total: number | null;
16923
+ created_at: string;
16924
+ geprint_op: string | null;
16925
+ id: string;
16926
+ klant_naam: string | null;
16927
+ order_id: string | null;
16928
+ order_number: string | null;
16929
+ print_job_id: string | null;
16930
+ regels: import("../integrations/supabase/types").Json;
16931
+ updated_at: string;
16932
+ verwerkt: boolean;
16933
+ };
16934
+ Insert: {
16935
+ barcode: string;
16936
+ bron_barcode?: string | null;
16937
+ cart_id?: string | null;
16938
+ cart_index?: number | null;
16939
+ cart_total?: number | null;
16940
+ created_at?: string;
16941
+ geprint_op?: string | null;
16942
+ id?: string;
16943
+ klant_naam?: string | null;
16944
+ order_id?: string | null;
16945
+ order_number?: string | null;
16946
+ print_job_id?: string | null;
16947
+ regels?: import("../integrations/supabase/types").Json;
16948
+ updated_at?: string;
16949
+ verwerkt?: boolean;
16950
+ };
16951
+ Update: {
16952
+ barcode?: string;
16953
+ bron_barcode?: string | null;
16954
+ cart_id?: string | null;
16955
+ cart_index?: number | null;
16956
+ cart_total?: number | null;
16957
+ created_at?: string;
16958
+ geprint_op?: string | null;
16959
+ id?: string;
16960
+ klant_naam?: string | null;
16961
+ order_id?: string | null;
16962
+ order_number?: string | null;
16963
+ print_job_id?: string | null;
16964
+ regels?: import("../integrations/supabase/types").Json;
16965
+ updated_at?: string;
16966
+ verwerkt?: boolean;
16967
+ };
16968
+ Relationships: [];
16969
+ };
16016
16970
  scan_scanners: {
16017
16971
  Row: {
16018
16972
  actief: boolean;
@@ -16022,6 +16976,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
16022
16976
  naam: string;
16023
16977
  omschrijving: string | null;
16024
16978
  pincode: string | null;
16979
+ printer_id: string | null;
16025
16980
  slug: string;
16026
16981
  type: string;
16027
16982
  updated_at: string;
@@ -16036,6 +16991,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
16036
16991
  naam: string;
16037
16992
  omschrijving?: string | null;
16038
16993
  pincode?: string | null;
16994
+ printer_id?: string | null;
16039
16995
  slug: string;
16040
16996
  type?: string;
16041
16997
  updated_at?: string;
@@ -16050,6 +17006,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
16050
17006
  naam?: string;
16051
17007
  omschrijving?: string | null;
16052
17008
  pincode?: string | null;
17009
+ printer_id?: string | null;
16053
17010
  slug?: string;
16054
17011
  type?: string;
16055
17012
  updated_at?: string;
@@ -16058,6 +17015,27 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
16058
17015
  };
16059
17016
  Relationships: [];
16060
17017
  };
17018
+ shell_settings: {
17019
+ Row: {
17020
+ created_at: string;
17021
+ default_path: string | null;
17022
+ shell_id: string;
17023
+ updated_at: string;
17024
+ };
17025
+ Insert: {
17026
+ created_at?: string;
17027
+ default_path?: string | null;
17028
+ shell_id: string;
17029
+ updated_at?: string;
17030
+ };
17031
+ Update: {
17032
+ created_at?: string;
17033
+ default_path?: string | null;
17034
+ shell_id?: string;
17035
+ updated_at?: string;
17036
+ };
17037
+ Relationships: [];
17038
+ };
16061
17039
  sick_periods: {
16062
17040
  Row: {
16063
17041
  created_at: string;
@@ -16677,6 +17655,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
16677
17655
  isOneToOne: false;
16678
17656
  referencedRelation: "werkbonnen";
16679
17657
  referencedColumns: ["id"];
17658
+ }, {
17659
+ foreignKeyName: "time_logs_work_order_id_fkey";
17660
+ columns: ["work_order_id"];
17661
+ isOneToOne: false;
17662
+ referencedRelation: "wo_overview";
17663
+ referencedColumns: ["id"];
16680
17664
  }];
16681
17665
  };
16682
17666
  time_off_entries: {
@@ -17970,6 +18954,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
17970
18954
  isOneToOne: false;
17971
18955
  referencedRelation: "werkbonnen";
17972
18956
  referencedColumns: ["id"];
18957
+ }, {
18958
+ foreignKeyName: "uren_entries_werkbon_id_fkey";
18959
+ columns: ["werkbon_id"];
18960
+ isOneToOne: false;
18961
+ referencedRelation: "wo_overview";
18962
+ referencedColumns: ["id"];
17973
18963
  }];
17974
18964
  };
17975
18965
  uren_exports: {
@@ -18693,6 +19683,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
18693
19683
  isOneToOne: true;
18694
19684
  referencedRelation: "werkbonnen";
18695
19685
  referencedColumns: ["id"];
19686
+ }, {
19687
+ foreignKeyName: "werkbon_facturatie_controle_werkbon_id_fkey";
19688
+ columns: ["werkbon_id"];
19689
+ isOneToOne: true;
19690
+ referencedRelation: "wo_overview";
19691
+ referencedColumns: ["id"];
18696
19692
  }];
18697
19693
  };
18698
19694
  werkbon_facturatie_settings: {
@@ -18780,6 +19776,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
18780
19776
  isOneToOne: false;
18781
19777
  referencedRelation: "werkbonnen";
18782
19778
  referencedColumns: ["id"];
19779
+ }, {
19780
+ foreignKeyName: "werkbon_materials_werkbon_id_fkey";
19781
+ columns: ["werkbon_id"];
19782
+ isOneToOne: false;
19783
+ referencedRelation: "wo_overview";
19784
+ referencedColumns: ["id"];
18783
19785
  }];
18784
19786
  };
18785
19787
  werkbon_package_ai_rules: {
@@ -18963,6 +19965,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
18963
19965
  isOneToOne: false;
18964
19966
  referencedRelation: "werkbonnen";
18965
19967
  referencedColumns: ["id"];
19968
+ }, {
19969
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
19970
+ columns: ["werkbon_id"];
19971
+ isOneToOne: false;
19972
+ referencedRelation: "wo_overview";
19973
+ referencedColumns: ["id"];
18966
19974
  }];
18967
19975
  };
18968
19976
  werkbon_packages: {
@@ -19053,6 +20061,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
19053
20061
  isOneToOne: false;
19054
20062
  referencedRelation: "werkbonnen";
19055
20063
  referencedColumns: ["id"];
20064
+ }, {
20065
+ foreignKeyName: "werkbon_photos_werkbon_id_fkey";
20066
+ columns: ["werkbon_id"];
20067
+ isOneToOne: false;
20068
+ referencedRelation: "wo_overview";
20069
+ referencedColumns: ["id"];
19056
20070
  }];
19057
20071
  };
19058
20072
  werkbon_time_logs: {
@@ -19092,6 +20106,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
19092
20106
  isOneToOne: false;
19093
20107
  referencedRelation: "werkbonnen";
19094
20108
  referencedColumns: ["id"];
20109
+ }, {
20110
+ foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
20111
+ columns: ["werkbon_id"];
20112
+ isOneToOne: false;
20113
+ referencedRelation: "wo_overview";
20114
+ referencedColumns: ["id"];
19095
20115
  }];
19096
20116
  };
19097
20117
  werkbonnen: {
@@ -19215,6 +20235,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
19215
20235
  isOneToOne: false;
19216
20236
  referencedRelation: "werkbonnen";
19217
20237
  referencedColumns: ["id"];
20238
+ }, {
20239
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
20240
+ columns: ["parent_werkbon_id"];
20241
+ isOneToOne: false;
20242
+ referencedRelation: "wo_overview";
20243
+ referencedColumns: ["id"];
19218
20244
  }, {
19219
20245
  foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
19220
20246
  columns: ["source_mailbox_message_id"];
@@ -19683,6 +20709,24 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
19683
20709
  };
19684
20710
  Relationships: [];
19685
20711
  };
20712
+ logistics_product_dimensions: {
20713
+ Row: {
20714
+ dimension_source: string | null;
20715
+ fust_height_mm: number | null;
20716
+ fust_length_mm: number | null;
20717
+ fust_name: string | null;
20718
+ fust_source: string | null;
20719
+ fust_type_id: string | null;
20720
+ fust_width_mm: number | null;
20721
+ height_source: string | null;
20722
+ missing_reason: string | null;
20723
+ plant_height_cm: number | null;
20724
+ plants_per_crate: number | null;
20725
+ product_id: string | null;
20726
+ product_name: string | null;
20727
+ };
20728
+ Relationships: [];
20729
+ };
19686
20730
  manufacture_product_possible_stock_view: {
19687
20731
  Row: {
19688
20732
  component_count: number | null;
@@ -19720,6 +20764,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
19720
20764
  isOneToOne: false;
19721
20765
  referencedRelation: "werkbonnen";
19722
20766
  referencedColumns: ["id"];
20767
+ }, {
20768
+ foreignKeyName: "planning_items_werkbon_id_fkey";
20769
+ columns: ["werkbon_id"];
20770
+ isOneToOne: false;
20771
+ referencedRelation: "wo_overview";
20772
+ referencedColumns: ["id"];
19723
20773
  }];
19724
20774
  };
19725
20775
  product_group_stock_view: {
@@ -20181,6 +21231,81 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20181
21231
  isOneToOne: false;
20182
21232
  referencedRelation: "werkbonnen";
20183
21233
  referencedColumns: ["id"];
21234
+ }, {
21235
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
21236
+ columns: ["werkbon_id"];
21237
+ isOneToOne: false;
21238
+ referencedRelation: "wo_overview";
21239
+ referencedColumns: ["id"];
21240
+ }];
21241
+ };
21242
+ wo_overview: {
21243
+ Row: {
21244
+ assigned_user_id: string | null;
21245
+ budget_mandate_cents: number | null;
21246
+ created_at: string | null;
21247
+ customer_id: string | null;
21248
+ id: string | null;
21249
+ needs_detail_review: boolean | null;
21250
+ number: string | null;
21251
+ parent_werkbon_id: string | null;
21252
+ planning_status: string | null;
21253
+ scheduled_end_time: string | null;
21254
+ scheduled_start_time: string | null;
21255
+ source_type: string | null;
21256
+ status: string | null;
21257
+ technician_id: string | null;
21258
+ updated_at: string | null;
21259
+ work_address: string | null;
21260
+ };
21261
+ Insert: {
21262
+ assigned_user_id?: string | null;
21263
+ budget_mandate_cents?: number | null;
21264
+ created_at?: string | null;
21265
+ customer_id?: string | null;
21266
+ id?: string | null;
21267
+ needs_detail_review?: boolean | null;
21268
+ number?: string | null;
21269
+ parent_werkbon_id?: string | null;
21270
+ planning_status?: string | null;
21271
+ scheduled_end_time?: string | null;
21272
+ scheduled_start_time?: string | null;
21273
+ source_type?: string | null;
21274
+ status?: string | null;
21275
+ technician_id?: string | null;
21276
+ updated_at?: string | null;
21277
+ work_address?: string | null;
21278
+ };
21279
+ Update: {
21280
+ assigned_user_id?: string | null;
21281
+ budget_mandate_cents?: number | null;
21282
+ created_at?: string | null;
21283
+ customer_id?: string | null;
21284
+ id?: string | null;
21285
+ needs_detail_review?: boolean | null;
21286
+ number?: string | null;
21287
+ parent_werkbon_id?: string | null;
21288
+ planning_status?: string | null;
21289
+ scheduled_end_time?: string | null;
21290
+ scheduled_start_time?: string | null;
21291
+ source_type?: string | null;
21292
+ status?: string | null;
21293
+ technician_id?: string | null;
21294
+ updated_at?: string | null;
21295
+ work_address?: string | null;
21296
+ };
21297
+ Relationships: [{
21298
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21299
+ columns: ["parent_werkbon_id"];
21300
+ isOneToOne: false;
21301
+ referencedRelation: "werkbonnen";
21302
+ referencedColumns: ["id"];
21303
+ }, {
21304
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21305
+ columns: ["parent_werkbon_id"];
21306
+ isOneToOne: false;
21307
+ referencedRelation: "wo_overview";
21308
+ referencedColumns: ["id"];
20184
21309
  }];
20185
21310
  };
20186
21311
  };
@@ -20372,12 +21497,21 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20372
21497
  _max?: number;
20373
21498
  };
20374
21499
  Returns: {
21500
+ aflever_pogingen: number;
20375
21501
  agent_id: string | null;
21502
+ artefact_bytes: number | null;
21503
+ artefact_gereed_op: string | null;
21504
+ artefact_pad: string | null;
21505
+ artefact_sha256: string | null;
21506
+ batch_id: string | null;
20376
21507
  bron_job_id: string | null;
20377
21508
  created_at: string;
20378
21509
  documentnaam: string;
20379
21510
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20380
21511
  extern_job_id: string | null;
21512
+ fase_gestart_op: string | null;
21513
+ fase_voltooid_op: string | null;
21514
+ foutcode: string | null;
20381
21515
  foutmelding: string | null;
20382
21516
  gebruiker_id: string | null;
20383
21517
  gebruiker_naam: string;
@@ -20391,7 +21525,10 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20391
21525
  kopieen: number;
20392
21526
  layout_id: string | null;
20393
21527
  lokaal_opgeslagen_op: string | null;
21528
+ lokale_pdf_claim_id: string | null;
21529
+ lokale_pdf_claim_tot: string | null;
20394
21530
  lokale_pdf_fout: string | null;
21531
+ lokale_pdf_print_plek_id: string | null;
20395
21532
  lokale_pdf_status: string | null;
20396
21533
  opgepakt_op: string | null;
20397
21534
  paginas: number;
@@ -20404,6 +21541,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20404
21541
  resultaat_pdf_base64: string | null;
20405
21542
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20406
21543
  updated_at: string;
21544
+ verwerkingsfase: string;
20407
21545
  volgende_poging: string | null;
20408
21546
  voltooid_op: string | null;
20409
21547
  }[];
@@ -20450,6 +21588,25 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20450
21588
  isSetofReturn: true;
20451
21589
  };
20452
21590
  };
21591
+ claim_local_pdf_jobs: {
21592
+ Args: {
21593
+ _max?: number;
21594
+ _print_plek_id: string;
21595
+ _writer_id: string;
21596
+ };
21597
+ Returns: {
21598
+ artefact_bytes: number;
21599
+ artefact_pad: string;
21600
+ artefact_sha256: string;
21601
+ documentnaam: string;
21602
+ id: string;
21603
+ lokale_pdf_print_plek_id: string;
21604
+ lokale_pdf_status: string;
21605
+ printer_id: string;
21606
+ resultaat_pdf_base64: string;
21607
+ status: string;
21608
+ }[];
21609
+ };
20453
21610
  claim_logistics_tasks: {
20454
21611
  Args: {
20455
21612
  _limit?: number;
@@ -20503,12 +21660,21 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20503
21660
  _max?: number;
20504
21661
  };
20505
21662
  Returns: {
21663
+ aflever_pogingen: number;
20506
21664
  agent_id: string | null;
21665
+ artefact_bytes: number | null;
21666
+ artefact_gereed_op: string | null;
21667
+ artefact_pad: string | null;
21668
+ artefact_sha256: string | null;
21669
+ batch_id: string | null;
20507
21670
  bron_job_id: string | null;
20508
21671
  created_at: string;
20509
21672
  documentnaam: string;
20510
21673
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20511
21674
  extern_job_id: string | null;
21675
+ fase_gestart_op: string | null;
21676
+ fase_voltooid_op: string | null;
21677
+ foutcode: string | null;
20512
21678
  foutmelding: string | null;
20513
21679
  gebruiker_id: string | null;
20514
21680
  gebruiker_naam: string;
@@ -20522,7 +21688,10 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20522
21688
  kopieen: number;
20523
21689
  layout_id: string | null;
20524
21690
  lokaal_opgeslagen_op: string | null;
21691
+ lokale_pdf_claim_id: string | null;
21692
+ lokale_pdf_claim_tot: string | null;
20525
21693
  lokale_pdf_fout: string | null;
21694
+ lokale_pdf_print_plek_id: string | null;
20526
21695
  lokale_pdf_status: string | null;
20527
21696
  opgepakt_op: string | null;
20528
21697
  paginas: number;
@@ -20535,6 +21704,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20535
21704
  resultaat_pdf_base64: string | null;
20536
21705
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20537
21706
  updated_at: string;
21707
+ verwerkingsfase: string;
20538
21708
  volgende_poging: string | null;
20539
21709
  voltooid_op: string | null;
20540
21710
  }[];
@@ -20551,12 +21721,21 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20551
21721
  _max?: number;
20552
21722
  };
20553
21723
  Returns: {
21724
+ aflever_pogingen: number;
20554
21725
  agent_id: string | null;
21726
+ artefact_bytes: number | null;
21727
+ artefact_gereed_op: string | null;
21728
+ artefact_pad: string | null;
21729
+ artefact_sha256: string | null;
21730
+ batch_id: string | null;
20555
21731
  bron_job_id: string | null;
20556
21732
  created_at: string;
20557
21733
  documentnaam: string;
20558
21734
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20559
21735
  extern_job_id: string | null;
21736
+ fase_gestart_op: string | null;
21737
+ fase_voltooid_op: string | null;
21738
+ foutcode: string | null;
20560
21739
  foutmelding: string | null;
20561
21740
  gebruiker_id: string | null;
20562
21741
  gebruiker_naam: string;
@@ -20570,7 +21749,10 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20570
21749
  kopieen: number;
20571
21750
  layout_id: string | null;
20572
21751
  lokaal_opgeslagen_op: string | null;
21752
+ lokale_pdf_claim_id: string | null;
21753
+ lokale_pdf_claim_tot: string | null;
20573
21754
  lokale_pdf_fout: string | null;
21755
+ lokale_pdf_print_plek_id: string | null;
20574
21756
  lokale_pdf_status: string | null;
20575
21757
  opgepakt_op: string | null;
20576
21758
  paginas: number;
@@ -20583,6 +21765,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20583
21765
  resultaat_pdf_base64: string | null;
20584
21766
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20585
21767
  updated_at: string;
21768
+ verwerkingsfase: string;
20586
21769
  volgende_poging: string | null;
20587
21770
  voltooid_op: string | null;
20588
21771
  }[];
@@ -20593,6 +21776,14 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20593
21776
  isSetofReturn: true;
20594
21777
  };
20595
21778
  };
21779
+ claim_print_queue_lease: {
21780
+ Args: {
21781
+ _houder: string;
21782
+ _naam: string;
21783
+ _seconden?: number;
21784
+ };
21785
+ Returns: boolean;
21786
+ };
20596
21787
  claim_twinfield_push_batch: {
20597
21788
  Args: {
20598
21789
  _customer_id?: string;
@@ -20718,7 +21909,10 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20718
21909
  cart_index: number;
20719
21910
  cart_number: string;
20720
21911
  cart_number_id: string;
21912
+ cart_seq: number;
21913
+ cart_total: number;
20721
21914
  order_id: string;
21915
+ order_number: string;
20722
21916
  order_source: string;
20723
21917
  pick_date: string;
20724
21918
  printed_at: string;
@@ -20726,8 +21920,14 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20726
21920
  status: string;
20727
21921
  }[];
20728
21922
  };
20729
- count_distinct_regulatory_products: {
20730
- Args: never;
21923
+ control_mark_carts_delivered: {
21924
+ Args: {
21925
+ p_carts: import("../integrations/supabase/types").Json;
21926
+ };
21927
+ Returns: number;
21928
+ };
21929
+ count_distinct_regulatory_products: {
21930
+ Args: never;
20731
21931
  Returns: number;
20732
21932
  };
20733
21933
  current_monteur_id: {
@@ -20853,6 +22053,13 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20853
22053
  };
20854
22054
  Returns: undefined;
20855
22055
  };
22056
+ ensure_system_roles: {
22057
+ Args: never;
22058
+ Returns: {
22059
+ action: string;
22060
+ role_key: string;
22061
+ }[];
22062
+ };
20856
22063
  ensure_trade_item_stock_row: {
20857
22064
  Args: {
20858
22065
  p_key: string;
@@ -20919,6 +22126,15 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
20919
22126
  };
20920
22127
  Returns: string;
20921
22128
  };
22129
+ finish_local_pdf_job: {
22130
+ Args: {
22131
+ _fout?: string;
22132
+ _job_id: string;
22133
+ _status: string;
22134
+ _writer_id: string;
22135
+ };
22136
+ Returns: boolean;
22137
+ };
20922
22138
  floriday_capture_stock_snapshot: {
20923
22139
  Args: never;
20924
22140
  Returns: number;
@@ -21198,6 +22414,36 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21198
22414
  Args: never;
21199
22415
  Returns: string;
21200
22416
  };
22417
+ handover_archief_lijst: {
22418
+ Args: never;
22419
+ Returns: import("../integrations/supabase/types").Json;
22420
+ };
22421
+ handover_archiveren: {
22422
+ Args: {
22423
+ _archief?: boolean;
22424
+ _module_id: string;
22425
+ };
22426
+ Returns: boolean;
22427
+ };
22428
+ handover_check_afronden: {
22429
+ Args: {
22430
+ _module_id: string;
22431
+ };
22432
+ Returns: boolean;
22433
+ };
22434
+ handover_check_markeren: {
22435
+ Args: {
22436
+ _module_ids: string[];
22437
+ _reden?: string;
22438
+ };
22439
+ Returns: number;
22440
+ };
22441
+ handover_fingerprint_maken: {
22442
+ Args: {
22443
+ _module_id?: string;
22444
+ };
22445
+ Returns: import("../integrations/supabase/types").Json;
22446
+ };
21201
22447
  handover_get: {
21202
22448
  Args: {
21203
22449
  _module_id: string;
@@ -21228,6 +22474,14 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21228
22474
  };
21229
22475
  Returns: boolean;
21230
22476
  };
22477
+ handover_module_meta_zetten: {
22478
+ Args: {
22479
+ _module_id: string;
22480
+ _project_url?: string;
22481
+ _publicatie_url?: string;
22482
+ };
22483
+ Returns: boolean;
22484
+ };
21231
22485
  handover_norm_naam: {
21232
22486
  Args: {
21233
22487
  _naam: string;
@@ -21248,6 +22502,23 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21248
22502
  };
21249
22503
  Returns: number;
21250
22504
  };
22505
+ handover_publish_uit_github: {
22506
+ Args: {
22507
+ _bezit_tabellen?: string[];
22508
+ _bron_soort?: string;
22509
+ _commit?: string;
22510
+ _contractfuncties?: string[];
22511
+ _inhoud_md: string;
22512
+ _module_id: string;
22513
+ _module_titel: string;
22514
+ _ontbrekende_contracten?: string[];
22515
+ _pad?: string;
22516
+ _repo?: string;
22517
+ _samenvatting?: string;
22518
+ _versie_label?: string;
22519
+ };
22520
+ Returns: import("../integrations/supabase/types").Json;
22521
+ };
21251
22522
  handover_publish_via_token: {
21252
22523
  Args: {
21253
22524
  _bevindingen?: string;
@@ -21261,7 +22532,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21261
22532
  _samenvatting?: string;
21262
22533
  _token_hash: string;
21263
22534
  };
21264
- Returns: number;
22535
+ Returns: import("../integrations/supabase/types").Json;
21265
22536
  };
21266
22537
  handover_status: {
21267
22538
  Args: never;
@@ -21273,23 +22544,6 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21273
22544
  };
21274
22545
  Returns: string;
21275
22546
  };
21276
- handover_token_intrekken: {
21277
- Args: {
21278
- _id: string;
21279
- };
21280
- Returns: boolean;
21281
- };
21282
- handover_token_lijst: {
21283
- Args: never;
21284
- Returns: import("../integrations/supabase/types").Json;
21285
- };
21286
- handover_token_maken: {
21287
- Args: {
21288
- _label?: string;
21289
- _module_id: string;
21290
- };
21291
- Returns: string;
21292
- };
21293
22547
  handover_update: {
21294
22548
  Args: {
21295
22549
  _bezit_tabellen?: string[];
@@ -21317,12 +22571,31 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21317
22571
  };
21318
22572
  Returns: boolean;
21319
22573
  };
22574
+ handover_versie_verwijderen: {
22575
+ Args: {
22576
+ _module_id: string;
22577
+ _versie: number;
22578
+ };
22579
+ Returns: boolean;
22580
+ };
21320
22581
  handover_versies: {
21321
22582
  Args: {
21322
22583
  _module_id: string;
21323
22584
  };
21324
22585
  Returns: import("../integrations/supabase/types").Json;
21325
22586
  };
22587
+ handover_verwijderen: {
22588
+ Args: {
22589
+ _module_id: string;
22590
+ };
22591
+ Returns: boolean;
22592
+ };
22593
+ handover_wijzigingen: {
22594
+ Args: {
22595
+ _module_id?: string;
22596
+ };
22597
+ Returns: import("../integrations/supabase/types").Json;
22598
+ };
21326
22599
  has_module_permission: {
21327
22600
  Args: {
21328
22601
  _min: string;
@@ -21591,6 +22864,30 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21591
22864
  };
21592
22865
  Returns: import("../integrations/supabase/types").Json;
21593
22866
  };
22867
+ logistics_block_reason_code: {
22868
+ Args: {
22869
+ p_details?: import("../integrations/supabase/types").Json;
22870
+ p_reason: string;
22871
+ };
22872
+ Returns: string;
22873
+ };
22874
+ logistics_blocked_orders: {
22875
+ Args: never;
22876
+ Returns: {
22877
+ attempts: number;
22878
+ blocked_since: string;
22879
+ delivery_date: string;
22880
+ order_id: string;
22881
+ order_ref: string;
22882
+ queue_id: string;
22883
+ reason: string;
22884
+ reason_code: string;
22885
+ }[];
22886
+ };
22887
+ logistics_blocked_overview: {
22888
+ Args: never;
22889
+ Returns: import("../integrations/supabase/types").Json;
22890
+ };
21594
22891
  logistics_buffer_criteria: {
21595
22892
  Args: {
21596
22893
  p_settings: import("../integrations/supabase/types").Json;
@@ -21657,6 +22954,13 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21657
22954
  };
21658
22955
  Returns: string;
21659
22956
  };
22957
+ logistics_cart_handled: {
22958
+ Args: {
22959
+ p_cart_index: number;
22960
+ p_order_id: string;
22961
+ };
22962
+ Returns: boolean;
22963
+ };
21660
22964
  logistics_cart_index: {
21661
22965
  Args: {
21662
22966
  p_from?: string;
@@ -21666,6 +22970,9 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21666
22970
  cart_id: string;
21667
22971
  cart_index: number;
21668
22972
  cart_label: string;
22973
+ cart_number: string;
22974
+ cart_seq: number;
22975
+ cart_total: number;
21669
22976
  delivery_date: string;
21670
22977
  is_announced: boolean;
21671
22978
  is_controlled: boolean;
@@ -21680,12 +22987,79 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21680
22987
  task_status: string;
21681
22988
  }[];
21682
22989
  };
22990
+ logistics_cart_layout_method: {
22991
+ Args: never;
22992
+ Returns: import("../integrations/supabase/types").Json;
22993
+ };
22994
+ logistics_cart_plan_overview: {
22995
+ Args: {
22996
+ p_days?: number;
22997
+ };
22998
+ Returns: {
22999
+ cart_total: number;
23000
+ delivery_date: string;
23001
+ order_ref: string;
23002
+ plan_ready: boolean;
23003
+ reason: string;
23004
+ released: boolean;
23005
+ }[];
23006
+ };
23007
+ logistics_cart_plan_status: {
23008
+ Args: {
23009
+ p_ref: string;
23010
+ };
23011
+ Returns: import("../integrations/supabase/types").Json;
23012
+ };
23013
+ logistics_cart_seq: {
23014
+ Args: {
23015
+ p_order_uuid?: string;
23016
+ };
23017
+ Returns: {
23018
+ cart_id: string;
23019
+ cart_index: number;
23020
+ cart_number: string;
23021
+ cart_seq: number;
23022
+ cart_total: number;
23023
+ order_uuid: string;
23024
+ }[];
23025
+ };
21683
23026
  logistics_cart_slip_plan: {
21684
23027
  Args: {
21685
23028
  p_order_id: string;
21686
23029
  };
21687
23030
  Returns: import("../integrations/supabase/types").Json;
21688
23031
  };
23032
+ logistics_cart_units: {
23033
+ Args: {
23034
+ p_from?: string;
23035
+ p_to?: string;
23036
+ };
23037
+ Returns: {
23038
+ cart_id: string;
23039
+ cart_index: number;
23040
+ cart_label: string;
23041
+ cart_number: string;
23042
+ cart_seq: number;
23043
+ cart_total: number;
23044
+ delivery_date: string;
23045
+ is_announced: boolean;
23046
+ is_buffer: boolean;
23047
+ is_controlled: boolean;
23048
+ is_printed: boolean;
23049
+ is_shared: boolean;
23050
+ order_number: string;
23051
+ order_source: string;
23052
+ order_uuid: string;
23053
+ pick_date: string;
23054
+ printed_at: string;
23055
+ shifted: boolean;
23056
+ task_status: string;
23057
+ unit_buffer: string;
23058
+ unit_order_count: number;
23059
+ unit_orders: string[];
23060
+ unit_ref: string;
23061
+ }[];
23062
+ };
21689
23063
  logistics_check_order_allowed: {
21690
23064
  Args: {
21691
23065
  p_lines: import("../integrations/supabase/types").Json;
@@ -21841,7 +23215,9 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21841
23215
  announced_carts: number;
21842
23216
  control_carts: number;
21843
23217
  delivery_carts: number;
23218
+ duplicate_carts: number;
21844
23219
  ok: boolean;
23220
+ orphan_carts: number;
21845
23221
  orphan_tasks: number;
21846
23222
  pick_date: string;
21847
23223
  raw_carts: number;
@@ -21849,6 +23225,85 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21849
23225
  station_carts: number;
21850
23226
  }[];
21851
23227
  };
23228
+ logistics_control_scan_approve: {
23229
+ Args: {
23230
+ p_allow_reprint?: boolean;
23231
+ p_barcode: string;
23232
+ p_printer_id?: string;
23233
+ p_scanner_id?: string;
23234
+ };
23235
+ Returns: import("../integrations/supabase/types").Json;
23236
+ };
23237
+ logistics_control_scan_claim: {
23238
+ Args: {
23239
+ _lease_seconds?: number;
23240
+ _limit?: number;
23241
+ };
23242
+ Returns: {
23243
+ approved_at: string | null;
23244
+ attempts: number;
23245
+ barcode: string;
23246
+ cart_id: string;
23247
+ created_at: string;
23248
+ document_url: string | null;
23249
+ error: string | null;
23250
+ error_code: string | null;
23251
+ fulfillment_order_id: string | null;
23252
+ id: string;
23253
+ is_floriday: boolean;
23254
+ locked_until: string | null;
23255
+ order_id: string | null;
23256
+ order_number: string | null;
23257
+ print_job_id: string | null;
23258
+ printed_at: string | null;
23259
+ printer_id: string | null;
23260
+ scanner_id: string | null;
23261
+ status: string;
23262
+ updated_at: string;
23263
+ }[];
23264
+ SetofOptions: {
23265
+ from: "*";
23266
+ to: "logistics_control_scan";
23267
+ isOneToOne: false;
23268
+ isSetofReturn: true;
23269
+ };
23270
+ };
23271
+ logistics_control_scan_finish: {
23272
+ Args: {
23273
+ _document_url?: string;
23274
+ _error?: string;
23275
+ _error_code?: string;
23276
+ _fulfillment_order_id?: string;
23277
+ _id: string;
23278
+ _ok: boolean;
23279
+ _print_job_id?: string;
23280
+ _status?: string;
23281
+ };
23282
+ Returns: import("../integrations/supabase/types").Json;
23283
+ };
23284
+ logistics_control_scan_lookup: {
23285
+ Args: {
23286
+ p_barcode: string;
23287
+ };
23288
+ Returns: import("../integrations/supabase/types").Json;
23289
+ };
23290
+ logistics_control_scan_overview: {
23291
+ Args: {
23292
+ _date?: string;
23293
+ _scanner_id?: string;
23294
+ };
23295
+ Returns: import("../integrations/supabase/types").Json;
23296
+ };
23297
+ logistics_control_scan_retry: {
23298
+ Args: {
23299
+ _id: string;
23300
+ };
23301
+ Returns: import("../integrations/supabase/types").Json;
23302
+ };
23303
+ logistics_control_settings: {
23304
+ Args: never;
23305
+ Returns: import("../integrations/supabase/types").Json;
23306
+ };
21852
23307
  logistics_delay_customer_email: {
21853
23308
  Args: {
21854
23309
  p_customer: string;
@@ -21916,6 +23371,17 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21916
23371
  };
21917
23372
  Returns: import("../integrations/supabase/types").Json;
21918
23373
  };
23374
+ logistics_enqueue_sticker_with_slip: {
23375
+ Args: {
23376
+ _cart_id: string;
23377
+ _is_herprint: boolean;
23378
+ _printer_id: string;
23379
+ _queue_item_id: string;
23380
+ _session_id: string;
23381
+ _slip_job_id: string;
23382
+ };
23383
+ Returns: string;
23384
+ };
21919
23385
  logistics_ensure_cart_barcode: {
21920
23386
  Args: {
21921
23387
  _cart_id: string;
@@ -22057,6 +23523,26 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22057
23523
  };
22058
23524
  Returns: string;
22059
23525
  };
23526
+ logistics_fulfill_barcode_requests: {
23527
+ Args: {
23528
+ p_limit?: number;
23529
+ };
23530
+ Returns: import("../integrations/supabase/types").Json;
23531
+ };
23532
+ logistics_full_cart_min_layers: {
23533
+ Args: never;
23534
+ Returns: number;
23535
+ };
23536
+ logistics_full_cart_min_percentage: {
23537
+ Args: never;
23538
+ Returns: number;
23539
+ };
23540
+ logistics_is_pick_workday: {
23541
+ Args: {
23542
+ p_date: string;
23543
+ };
23544
+ Returns: boolean;
23545
+ };
22060
23546
  logistics_live_carriers: {
22061
23547
  Args: {
22062
23548
  p_order_ref: string;
@@ -22069,6 +23555,20 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22069
23555
  };
22070
23556
  Returns: number;
22071
23557
  };
23558
+ logistics_next_workday_date: {
23559
+ Args: {
23560
+ p_date: string;
23561
+ p_days?: string[];
23562
+ };
23563
+ Returns: string;
23564
+ };
23565
+ logistics_next_workday_not_past: {
23566
+ Args: {
23567
+ p_days: string[];
23568
+ p_ts: string;
23569
+ };
23570
+ Returns: string;
23571
+ };
22072
23572
  logistics_not_past: {
22073
23573
  Args: {
22074
23574
  p_ts: string;
@@ -22081,6 +23581,19 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22081
23581
  };
22082
23582
  Returns: number;
22083
23583
  };
23584
+ logistics_order_handled: {
23585
+ Args: {
23586
+ p_order_uuid: string;
23587
+ };
23588
+ Returns: boolean;
23589
+ };
23590
+ logistics_order_is_topick: {
23591
+ Args: {
23592
+ p_order_id: string;
23593
+ p_order_number: string;
23594
+ };
23595
+ Returns: boolean;
23596
+ };
22084
23597
  logistics_order_overview: {
22085
23598
  Args: {
22086
23599
  p_from?: string;
@@ -22106,6 +23619,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22106
23619
  };
22107
23620
  Returns: string;
22108
23621
  };
23622
+ logistics_order_released: {
23623
+ Args: {
23624
+ p_order_ref: string;
23625
+ };
23626
+ Returns: boolean;
23627
+ };
22109
23628
  logistics_parse_pickup: {
22110
23629
  Args: {
22111
23630
  p_value: string;
@@ -22128,10 +23647,37 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22128
23647
  shifted_count: number;
22129
23648
  }[];
22130
23649
  };
23650
+ logistics_pick_barcode_enabled: {
23651
+ Args: never;
23652
+ Returns: boolean;
23653
+ };
22131
23654
  logistics_pick_email_purpose: {
22132
23655
  Args: never;
22133
23656
  Returns: string;
22134
23657
  };
23658
+ logistics_pick_mode: {
23659
+ Args: never;
23660
+ Returns: import("../integrations/supabase/types").Json;
23661
+ };
23662
+ logistics_pick_start_estimate: {
23663
+ Args: {
23664
+ p_order: import("../integrations/supabase/types").Json;
23665
+ s: import("../integrations/supabase/types").Json;
23666
+ };
23667
+ Returns: string;
23668
+ };
23669
+ logistics_pick_units: {
23670
+ Args: never;
23671
+ Returns: {
23672
+ is_buffer: boolean;
23673
+ order_number: string;
23674
+ order_uuid: string;
23675
+ unit_buffer: string;
23676
+ unit_order_count: number;
23677
+ unit_orders: string[];
23678
+ unit_ref: string;
23679
+ }[];
23680
+ };
22135
23681
  logistics_plan_all: {
22136
23682
  Args: {
22137
23683
  p_user_id?: string;
@@ -22211,6 +23757,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22211
23757
  Args: never;
22212
23758
  Returns: number;
22213
23759
  };
23760
+ logistics_plan_retry: {
23761
+ Args: {
23762
+ p_order_ids: string[];
23763
+ };
23764
+ Returns: number;
23765
+ };
22214
23766
  logistics_plan_setting: {
22215
23767
  Args: {
22216
23768
  p_default: number;
@@ -22218,6 +23770,14 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22218
23770
  };
22219
23771
  Returns: number;
22220
23772
  };
23773
+ logistics_prune_buffer_member_queue: {
23774
+ Args: never;
23775
+ Returns: number;
23776
+ };
23777
+ logistics_prune_handled_pick_queue: {
23778
+ Args: never;
23779
+ Returns: number;
23780
+ };
22221
23781
  logistics_queue_capacity_email: {
22222
23782
  Args: {
22223
23783
  p_alert_id: string;
@@ -22250,6 +23810,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22250
23810
  Args: never;
22251
23811
  Returns: import("../integrations/supabase/types").Json;
22252
23812
  };
23813
+ logistics_refresh_pickup_moments: {
23814
+ Args: {
23815
+ p_weeks?: number;
23816
+ };
23817
+ Returns: import("../integrations/supabase/types").Json;
23818
+ };
22253
23819
  logistics_report_delay: {
22254
23820
  Args: {
22255
23821
  p_expected_date?: string;
@@ -22356,6 +23922,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22356
23922
  };
22357
23923
  Returns: string;
22358
23924
  };
23925
+ logistics_scan_resolve: {
23926
+ Args: {
23927
+ p_code: string;
23928
+ };
23929
+ Returns: import("../integrations/supabase/types").Json;
23930
+ };
22359
23931
  logistics_schedule_tasks: {
22360
23932
  Args: never;
22361
23933
  Returns: number;
@@ -22390,6 +23962,10 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22390
23962
  };
22391
23963
  Returns: import("../integrations/supabase/types").Json;
22392
23964
  };
23965
+ logistics_sticker_follows_slip: {
23966
+ Args: never;
23967
+ Returns: boolean;
23968
+ };
22393
23969
  logistics_supersede_stale_tasks: {
22394
23970
  Args: {
22395
23971
  p_keep: string[];
@@ -22422,6 +23998,10 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22422
23998
  };
22423
23999
  Returns: number;
22424
24000
  };
24001
+ logistics_tick_ping: {
24002
+ Args: never;
24003
+ Returns: string;
24004
+ };
22425
24005
  logistics_upsert_task: {
22426
24006
  Args: {
22427
24007
  p_buffer_ref: string;
@@ -22441,6 +24021,18 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22441
24021
  };
22442
24022
  Returns: string;
22443
24023
  };
24024
+ logistics_write_buffer_layer_positions: {
24025
+ Args: {
24026
+ p_buffer_id: string;
24027
+ };
24028
+ Returns: number;
24029
+ };
24030
+ logistics_write_cart_layer_positions: {
24031
+ Args: {
24032
+ p_cart_id: string;
24033
+ };
24034
+ Returns: number;
24035
+ };
22444
24036
  mark_offer_clicked: {
22445
24037
  Args: {
22446
24038
  p_code: string;
@@ -22473,6 +24065,15 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22473
24065
  };
22474
24066
  Returns: undefined;
22475
24067
  };
24068
+ move_cart_layer_position: {
24069
+ Args: {
24070
+ p_id: string;
24071
+ p_layer: number;
24072
+ p_x: number;
24073
+ p_y: number;
24074
+ };
24075
+ Returns: undefined;
24076
+ };
22476
24077
  my_module_permissions: {
22477
24078
  Args: never;
22478
24079
  Returns: {
@@ -22544,6 +24145,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22544
24145
  };
22545
24146
  Returns: import("../integrations/supabase/types").Json;
22546
24147
  };
24148
+ order_heeft_bevestigde_karren: {
24149
+ Args: {
24150
+ p_order_id: string;
24151
+ };
24152
+ Returns: boolean;
24153
+ };
22547
24154
  order_number_prefix: {
22548
24155
  Args: {
22549
24156
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -22579,6 +24186,27 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22579
24186
  online: boolean;
22580
24187
  }[];
22581
24188
  };
24189
+ pick_available_pick_days: {
24190
+ Args: {
24191
+ _max_days?: number;
24192
+ };
24193
+ Returns: {
24194
+ orders: number;
24195
+ pick_day: string;
24196
+ }[];
24197
+ };
24198
+ pick_buffer_order_ids: {
24199
+ Args: {
24200
+ _order_id: string;
24201
+ };
24202
+ Returns: string[];
24203
+ };
24204
+ pick_cart_breakdown: {
24205
+ Args: {
24206
+ _order_id: string;
24207
+ };
24208
+ Returns: import("../integrations/supabase/types").Json;
24209
+ };
22582
24210
  pick_claim_document: {
22583
24211
  Args: {
22584
24212
  _queue_item_id: string;
@@ -22632,6 +24260,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22632
24260
  pick_claim_next_document: {
22633
24261
  Args: {
22634
24262
  _country_code: string;
24263
+ _pick_day?: string;
22635
24264
  _screen_id: string;
22636
24265
  _session_id: string;
22637
24266
  _station_id: string;
@@ -22783,6 +24412,14 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22783
24412
  isSetofReturn: false;
22784
24413
  };
22785
24414
  };
24415
+ pick_complete_print_carts: {
24416
+ Args: {
24417
+ _cart_ids: string[];
24418
+ _queue_item_id: string;
24419
+ _session_id: string;
24420
+ };
24421
+ Returns: import("../integrations/supabase/types").Json;
24422
+ };
22786
24423
  pick_current_pick_day: {
22787
24424
  Args: never;
22788
24425
  Returns: string;
@@ -22819,6 +24456,65 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22819
24456
  };
22820
24457
  Returns: string;
22821
24458
  };
24459
+ pick_enqueue_print_job_from_cart: {
24460
+ Args: {
24461
+ _cart_id: string;
24462
+ _is_herprint: boolean;
24463
+ _printer_id: string;
24464
+ _queue_item_id: string;
24465
+ _selected_cart: import("../integrations/supabase/types").Json;
24466
+ _session_id: string;
24467
+ };
24468
+ Returns: string;
24469
+ };
24470
+ pick_mark_printed: {
24471
+ Args: {
24472
+ _queue_item_id: string;
24473
+ _reden?: string;
24474
+ _session_id: string;
24475
+ };
24476
+ Returns: {
24477
+ announced_at: string;
24478
+ assigned_user_id: string | null;
24479
+ barcode: string | null;
24480
+ cancelled_at: string | null;
24481
+ cart_count: number;
24482
+ completed_at: string | null;
24483
+ country_code: string | null;
24484
+ created_at: string;
24485
+ customer_name: string | null;
24486
+ delivery_address: string | null;
24487
+ document_number: string | null;
24488
+ document_type_id: string | null;
24489
+ due_at: string | null;
24490
+ id: string;
24491
+ is_urgent: boolean;
24492
+ line_count: number;
24493
+ order_number: string | null;
24494
+ order_type: string | null;
24495
+ payload: import("../integrations/supabase/types").Json;
24496
+ print_count: number;
24497
+ print_job_id: string | null;
24498
+ printed_at: string | null;
24499
+ printed_by: string | null;
24500
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24501
+ printer_id: string | null;
24502
+ priority: number;
24503
+ reference: string | null;
24504
+ route: string | null;
24505
+ screen_id: string | null;
24506
+ station_id: string | null;
24507
+ status_id: string | null;
24508
+ updated_at: string;
24509
+ warnings: import("../integrations/supabase/types").Json;
24510
+ };
24511
+ SetofOptions: {
24512
+ from: "*";
24513
+ to: "pick_queue";
24514
+ isOneToOne: true;
24515
+ isSetofReturn: false;
24516
+ };
24517
+ };
22822
24518
  pick_order_context: {
22823
24519
  Args: {
22824
24520
  _order_id?: string;
@@ -22839,6 +24535,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22839
24535
  };
22840
24536
  Returns: import("../integrations/supabase/types").Json;
22841
24537
  };
24538
+ pick_print_jobs_status: {
24539
+ Args: {
24540
+ _job_ids: string[];
24541
+ };
24542
+ Returns: import("../integrations/supabase/types").Json[];
24543
+ };
22842
24544
  pick_print_plekken: {
22843
24545
  Args: never;
22844
24546
  Returns: {
@@ -22847,6 +24549,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22847
24549
  omschrijving: string;
22848
24550
  }[];
22849
24551
  };
24552
+ pick_queue_cart_plan: {
24553
+ Args: {
24554
+ _queue_item_id: string;
24555
+ };
24556
+ Returns: import("../integrations/supabase/types").Json;
24557
+ };
22850
24558
  pick_reference_data_status: {
22851
24559
  Args: never;
22852
24560
  Returns: import("../integrations/supabase/types").Json;
@@ -22861,6 +24569,19 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22861
24569
  };
22862
24570
  Returns: undefined;
22863
24571
  };
24572
+ pick_report_missing_cart_plan: {
24573
+ Args: never;
24574
+ Returns: import("../integrations/supabase/types").Json;
24575
+ };
24576
+ pick_reprint_cart: {
24577
+ Args: {
24578
+ _cart_id: string;
24579
+ _queue_item_id: string;
24580
+ _session_id: string;
24581
+ _throttle_seconds?: number;
24582
+ };
24583
+ Returns: string;
24584
+ };
22864
24585
  pick_reprint_document: {
22865
24586
  Args: {
22866
24587
  _queue_item_id: string;
@@ -22963,6 +24684,151 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
22963
24684
  isSetofReturn: false;
22964
24685
  };
22965
24686
  };
24687
+ pick_reset_print_job: {
24688
+ Args: {
24689
+ _cart_id: string;
24690
+ _job_id: string;
24691
+ _queue_item_id: string;
24692
+ _session_id: string;
24693
+ };
24694
+ Returns: {
24695
+ announced_at: string;
24696
+ assigned_user_id: string | null;
24697
+ barcode: string | null;
24698
+ cancelled_at: string | null;
24699
+ cart_count: number;
24700
+ completed_at: string | null;
24701
+ country_code: string | null;
24702
+ created_at: string;
24703
+ customer_name: string | null;
24704
+ delivery_address: string | null;
24705
+ document_number: string | null;
24706
+ document_type_id: string | null;
24707
+ due_at: string | null;
24708
+ id: string;
24709
+ is_urgent: boolean;
24710
+ line_count: number;
24711
+ order_number: string | null;
24712
+ order_type: string | null;
24713
+ payload: import("../integrations/supabase/types").Json;
24714
+ print_count: number;
24715
+ print_job_id: string | null;
24716
+ printed_at: string | null;
24717
+ printed_by: string | null;
24718
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24719
+ printer_id: string | null;
24720
+ priority: number;
24721
+ reference: string | null;
24722
+ route: string | null;
24723
+ screen_id: string | null;
24724
+ station_id: string | null;
24725
+ status_id: string | null;
24726
+ updated_at: string;
24727
+ warnings: import("../integrations/supabase/types").Json;
24728
+ };
24729
+ SetofOptions: {
24730
+ from: "*";
24731
+ to: "pick_queue";
24732
+ isOneToOne: true;
24733
+ isSetofReturn: false;
24734
+ };
24735
+ };
24736
+ pick_reset_print_jobs: {
24737
+ Args: {
24738
+ _cart_ids: string[];
24739
+ _job_ids: string[];
24740
+ _queue_item_id: string;
24741
+ _session_id: string;
24742
+ };
24743
+ Returns: {
24744
+ announced_at: string;
24745
+ assigned_user_id: string | null;
24746
+ barcode: string | null;
24747
+ cancelled_at: string | null;
24748
+ cart_count: number;
24749
+ completed_at: string | null;
24750
+ country_code: string | null;
24751
+ created_at: string;
24752
+ customer_name: string | null;
24753
+ delivery_address: string | null;
24754
+ document_number: string | null;
24755
+ document_type_id: string | null;
24756
+ due_at: string | null;
24757
+ id: string;
24758
+ is_urgent: boolean;
24759
+ line_count: number;
24760
+ order_number: string | null;
24761
+ order_type: string | null;
24762
+ payload: import("../integrations/supabase/types").Json;
24763
+ print_count: number;
24764
+ print_job_id: string | null;
24765
+ printed_at: string | null;
24766
+ printed_by: string | null;
24767
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24768
+ printer_id: string | null;
24769
+ priority: number;
24770
+ reference: string | null;
24771
+ route: string | null;
24772
+ screen_id: string | null;
24773
+ station_id: string | null;
24774
+ status_id: string | null;
24775
+ updated_at: string;
24776
+ warnings: import("../integrations/supabase/types").Json;
24777
+ };
24778
+ SetofOptions: {
24779
+ from: "*";
24780
+ to: "pick_queue";
24781
+ isOneToOne: true;
24782
+ isSetofReturn: false;
24783
+ };
24784
+ };
24785
+ pick_restore_to_queue: {
24786
+ Args: {
24787
+ _queue_item_id: string;
24788
+ _session_id: string;
24789
+ };
24790
+ Returns: {
24791
+ announced_at: string;
24792
+ assigned_user_id: string | null;
24793
+ barcode: string | null;
24794
+ cancelled_at: string | null;
24795
+ cart_count: number;
24796
+ completed_at: string | null;
24797
+ country_code: string | null;
24798
+ created_at: string;
24799
+ customer_name: string | null;
24800
+ delivery_address: string | null;
24801
+ document_number: string | null;
24802
+ document_type_id: string | null;
24803
+ due_at: string | null;
24804
+ id: string;
24805
+ is_urgent: boolean;
24806
+ line_count: number;
24807
+ order_number: string | null;
24808
+ order_type: string | null;
24809
+ payload: import("../integrations/supabase/types").Json;
24810
+ print_count: number;
24811
+ print_job_id: string | null;
24812
+ printed_at: string | null;
24813
+ printed_by: string | null;
24814
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24815
+ printer_id: string | null;
24816
+ priority: number;
24817
+ reference: string | null;
24818
+ route: string | null;
24819
+ screen_id: string | null;
24820
+ station_id: string | null;
24821
+ status_id: string | null;
24822
+ updated_at: string;
24823
+ warnings: import("../integrations/supabase/types").Json;
24824
+ };
24825
+ SetofOptions: {
24826
+ from: "*";
24827
+ to: "pick_queue";
24828
+ isOneToOne: true;
24829
+ isSetofReturn: false;
24830
+ };
24831
+ };
22966
24832
  pick_seed_reference_data: {
22967
24833
  Args: never;
22968
24834
  Returns: import("../integrations/supabase/types").Json;
@@ -23012,6 +24878,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
23012
24878
  };
23013
24879
  Returns: string;
23014
24880
  };
24881
+ pick_sync_pick_day: {
24882
+ Args: {
24883
+ _day: string;
24884
+ };
24885
+ Returns: import("../integrations/supabase/types").Json;
24886
+ };
23015
24887
  pick_sync_queue_throttled: {
23016
24888
  Args: {
23017
24889
  _min_seconds?: number;
@@ -23241,6 +25113,20 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
23241
25113
  };
23242
25114
  Returns: boolean;
23243
25115
  };
25116
+ release_local_pdf_job: {
25117
+ Args: {
25118
+ _job_id: string;
25119
+ _writer_id: string;
25120
+ };
25121
+ Returns: boolean;
25122
+ };
25123
+ release_print_queue_lease: {
25124
+ Args: {
25125
+ _houder: string;
25126
+ _naam: string;
25127
+ };
25128
+ Returns: boolean;
25129
+ };
23244
25130
  release_stale_order_invoice_links: {
23245
25131
  Args: {
23246
25132
  _minutes?: number;
@@ -23261,6 +25147,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
23261
25147
  };
23262
25148
  Returns: import("../integrations/supabase/types").Json;
23263
25149
  };
25150
+ reset_cart_layer_positions: {
25151
+ Args: {
25152
+ p_cart_id: string;
25153
+ };
25154
+ Returns: number;
25155
+ };
23264
25156
  reset_floriday_sync_cursor: {
23265
25157
  Args: {
23266
25158
  p_connection_id: string;
@@ -23324,6 +25216,15 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
23324
25216
  };
23325
25217
  Returns: import("../integrations/supabase/types").Json;
23326
25218
  };
25219
+ roles_without_enum_mapping: {
25220
+ Args: never;
25221
+ Returns: {
25222
+ assignment_count: number;
25223
+ id: string;
25224
+ key: string;
25225
+ name: string;
25226
+ }[];
25227
+ };
23327
25228
  ruim_print_jobs_op: {
23328
25229
  Args: {
23329
25230
  _bewaar_dagen?: number;
@@ -23338,6 +25239,10 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
23338
25239
  Args: never;
23339
25240
  Returns: undefined;
23340
25241
  };
25242
+ run_floriday_stock_reconcile: {
25243
+ Args: never;
25244
+ Returns: undefined;
25245
+ };
23341
25246
  run_logistics_tasks_dispatch: {
23342
25247
  Args: never;
23343
25248
  Returns: undefined;
@@ -23356,18 +25261,98 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
23356
25261
  };
23357
25262
  Returns: import("../integrations/supabase/types").Json;
23358
25263
  };
25264
+ scan_complete_cart: {
25265
+ Args: {
25266
+ p_allow_reprint?: boolean;
25267
+ p_cart_id: string;
25268
+ p_print?: boolean;
25269
+ p_scanner_id?: string;
25270
+ };
25271
+ Returns: import("../integrations/supabase/types").Json;
25272
+ };
23359
25273
  scan_dashboard_stats: {
23360
25274
  Args: {
23361
25275
  p_dagen?: number;
23362
25276
  };
23363
25277
  Returns: import("../integrations/supabase/types").Json;
23364
25278
  };
25279
+ scan_eindcontrole: {
25280
+ Args: {
25281
+ p_barcode: string;
25282
+ p_scanner_id?: string;
25283
+ };
25284
+ Returns: import("../integrations/supabase/types").Json;
25285
+ };
23365
25286
  scan_finish_kar: {
23366
25287
  Args: {
23367
25288
  p_kar_id: string;
23368
25289
  };
23369
25290
  Returns: import("../integrations/supabase/types").Json;
23370
25291
  };
25292
+ scan_kar_compleet: {
25293
+ Args: {
25294
+ p_allow_reprint?: boolean;
25295
+ p_sessie_id: string;
25296
+ };
25297
+ Returns: import("../integrations/supabase/types").Json;
25298
+ };
25299
+ scan_kar_regels: {
25300
+ Args: {
25301
+ p_cart_id: string;
25302
+ };
25303
+ Returns: import("../integrations/supabase/types").Json;
25304
+ };
25305
+ scan_log_code: {
25306
+ Args: {
25307
+ p_code: string;
25308
+ p_latency_ms?: number;
25309
+ p_message?: string;
25310
+ p_result: string;
25311
+ p_scanner_key?: string;
25312
+ };
25313
+ Returns: string;
25314
+ };
25315
+ scan_open_pakbonnen: {
25316
+ Args: {
25317
+ p_dagen?: number;
25318
+ };
25319
+ Returns: import("../integrations/supabase/types").Json;
25320
+ };
25321
+ scan_pakbon_lookup: {
25322
+ Args: {
25323
+ p_barcode: string;
25324
+ };
25325
+ Returns: import("../integrations/supabase/types").Json;
25326
+ };
25327
+ scan_pakbon_opnieuw: {
25328
+ Args: {
25329
+ p_barcode: string;
25330
+ p_scanner_id?: string;
25331
+ };
25332
+ Returns: import("../integrations/supabase/types").Json;
25333
+ };
25334
+ scan_pakbon_toevoegen: {
25335
+ Args: {
25336
+ p_barcode: string;
25337
+ p_medewerker?: string;
25338
+ p_regels?: import("../integrations/supabase/types").Json;
25339
+ p_scanner_id: string;
25340
+ };
25341
+ Returns: import("../integrations/supabase/types").Json;
25342
+ };
25343
+ scan_print_restpakbon: {
25344
+ Args: {
25345
+ p_printer_id?: string;
25346
+ p_restpakbon_id: string;
25347
+ };
25348
+ Returns: import("../integrations/supabase/types").Json;
25349
+ };
25350
+ scan_print_verzendbrief: {
25351
+ Args: {
25352
+ p_sessie_id: string;
25353
+ };
25354
+ Returns: import("../integrations/supabase/types").Json;
25355
+ };
23371
25356
  scan_register_item: {
23372
25357
  Args: {
23373
25358
  p_kar_id: string;
@@ -23386,6 +25371,25 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
23386
25371
  };
23387
25372
  Returns: import("../integrations/supabase/types").Json;
23388
25373
  };
25374
+ scan_restpakbon_geprint: {
25375
+ Args: {
25376
+ p_id: string;
25377
+ p_print_job_id?: string;
25378
+ };
25379
+ Returns: undefined;
25380
+ };
25381
+ scan_sessie_annuleren: {
25382
+ Args: {
25383
+ p_sessie_id: string;
25384
+ };
25385
+ Returns: undefined;
25386
+ };
25387
+ scan_sessie_open: {
25388
+ Args: {
25389
+ p_scanner_id: string;
25390
+ };
25391
+ Returns: import("../integrations/supabase/types").Json;
25392
+ };
23389
25393
  scan_start_kar: {
23390
25394
  Args: {
23391
25395
  p_medewerker_id?: string;
@@ -23404,6 +25408,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
23404
25408
  };
23405
25409
  Returns: import("../integrations/supabase/types").Json;
23406
25410
  };
25411
+ scan_verzendbrief_regels: {
25412
+ Args: {
25413
+ p_sessie_id: string;
25414
+ };
25415
+ Returns: import("../integrations/supabase/types").Json;
25416
+ };
23407
25417
  schedule_floriday_additional_services_sync: {
23408
25418
  Args: {
23409
25419
  p_apikey: string;
@@ -23719,6 +25729,13 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
23719
25729
  };
23720
25730
  Returns: import("../integrations/supabase/types").Json;
23721
25731
  };
25732
+ swap_cart_layer_positions: {
25733
+ Args: {
25734
+ p_a: string;
25735
+ p_b: string;
25736
+ };
25737
+ Returns: undefined;
25738
+ };
23722
25739
  switch_time_log: {
23723
25740
  Args: {
23724
25741
  p_employee_id: string;
@@ -23751,6 +25768,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
23751
25768
  };
23752
25769
  Returns: undefined;
23753
25770
  };
25771
+ sync_order_item_fusten: {
25772
+ Args: {
25773
+ _order_item_id: string;
25774
+ };
25775
+ Returns: undefined;
25776
+ };
23754
25777
  sync_product_group_belading: {
23755
25778
  Args: {
23756
25779
  _group_id: string;
@@ -23857,6 +25880,12 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
23857
25880
  Args: never;
23858
25881
  Returns: string;
23859
25882
  };
25883
+ wake_print_queue: {
25884
+ Args: {
25885
+ _min_interval_ms?: number;
25886
+ };
25887
+ Returns: number;
25888
+ };
23860
25889
  werkbon_totalen: {
23861
25890
  Args: {
23862
25891
  _werkbon_id: string;
@@ -23889,10 +25918,18 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
23889
25918
  };
23890
25919
  Returns: import("../integrations/supabase/types").Json;
23891
25920
  };
25921
+ wo_set_status: {
25922
+ Args: {
25923
+ _reason?: string;
25924
+ _status: string;
25925
+ _work_order_id: string;
25926
+ };
25927
+ Returns: import("../integrations/supabase/types").Json;
25928
+ };
23892
25929
  };
23893
25930
  Enums: {
23894
25931
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
23895
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
25932
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
23896
25933
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
23897
25934
  doc_orientation: "portrait" | "landscape";
23898
25935
  exact_env: "staging" | "live";