@flowselections/logistiek-engine 1.0.26 → 1.0.28

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 (97) 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/KarplanStatusCard.d.ts +2 -0
  10. package/dist-lib/components/KarplanStatusCard.d.ts.map +1 -0
  11. package/dist-lib/components/KarplanStatusCard.js +31 -0
  12. package/dist-lib/components/RegiePage.d.ts.map +1 -1
  13. package/dist-lib/components/RegiePage.js +3 -1
  14. package/dist-lib/components/RuleEnginePage.d.ts.map +1 -1
  15. package/dist-lib/components/RuleEnginePage.js +7 -4
  16. package/dist-lib/components/rule-engine/FloridayConnectionBanner.d.ts +2 -0
  17. package/dist-lib/components/rule-engine/FloridayConnectionBanner.d.ts.map +1 -0
  18. package/dist-lib/components/rule-engine/FloridayConnectionBanner.js +41 -0
  19. package/dist-lib/components/rule-engine/RuleFieldInput.d.ts.map +1 -1
  20. package/dist-lib/components/rule-engine/RuleFieldInput.js +9 -0
  21. package/dist-lib/hooks/useRecalcJob.d.ts.map +1 -1
  22. package/dist-lib/hooks/useRecalcJob.js +26 -1
  23. package/dist-lib/hooks/useScannersPrinters.d.ts +11 -0
  24. package/dist-lib/hooks/useScannersPrinters.d.ts.map +1 -0
  25. package/dist-lib/hooks/useScannersPrinters.js +65 -0
  26. package/dist-lib/index.d.ts +2 -0
  27. package/dist-lib/index.d.ts.map +1 -1
  28. package/dist-lib/index.js +2 -0
  29. package/dist-lib/integrations/supabase/auth-middleware.d.ts +2063 -78
  30. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  31. package/dist-lib/integrations/supabase/client.d.ts +20293 -0
  32. package/dist-lib/integrations/supabase/client.d.ts.map +1 -0
  33. package/dist-lib/integrations/supabase/client.js +13 -0
  34. package/dist-lib/integrations/supabase/client.server.d.ts +2063 -78
  35. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  36. package/dist-lib/integrations/supabase/client.server.js +1 -1
  37. package/dist-lib/integrations/supabase/moduleClient.d.ts +2063 -78
  38. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  39. package/dist-lib/integrations/supabase/types.d.ts +2097 -68
  40. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  41. package/dist-lib/integrations/supabase/types.js +1 -0
  42. package/dist-lib/lib/attachAuthToken.d.ts +2 -0
  43. package/dist-lib/lib/attachAuthToken.d.ts.map +1 -0
  44. package/dist-lib/lib/attachAuthToken.js +50 -0
  45. package/dist-lib/lib/bufferMatching.d.ts.map +1 -1
  46. package/dist-lib/lib/bufferMatching.js +1 -0
  47. package/dist-lib/lib/cartPlanRequests.server.d.ts +13 -0
  48. package/dist-lib/lib/cartPlanRequests.server.d.ts.map +1 -0
  49. package/dist-lib/lib/cartPlanRequests.server.js +168 -0
  50. package/dist-lib/lib/controlScan.server.d.ts +12 -0
  51. package/dist-lib/lib/controlScan.server.d.ts.map +1 -0
  52. package/dist-lib/lib/controlScan.server.js +197 -0
  53. package/dist-lib/lib/dimensionData.server.d.ts +37 -0
  54. package/dist-lib/lib/dimensionData.server.d.ts.map +1 -0
  55. package/dist-lib/lib/dimensionData.server.js +167 -0
  56. package/dist-lib/lib/dimensionPlanner.d.ts +95 -0
  57. package/dist-lib/lib/dimensionPlanner.d.ts.map +1 -0
  58. package/dist-lib/lib/dimensionPlanner.js +248 -0
  59. package/dist-lib/lib/floridayDocuments.functions.d.ts +6240 -285
  60. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  61. package/dist-lib/lib/floridayDocuments.functions.js +4 -3
  62. package/dist-lib/lib/floridayPush.functions.d.ts +2064 -79
  63. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/floridayPush.functions.js +2 -1
  65. package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
  66. package/dist-lib/lib/handlers/logistics-tick.server.js +57 -0
  67. package/dist-lib/lib/loadCarrierPlanner.d.ts +3 -0
  68. package/dist-lib/lib/loadCarrierPlanner.d.ts.map +1 -1
  69. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +10302 -377
  70. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  71. package/dist-lib/lib/loadCarrierPlanning.functions.js +6 -5
  72. package/dist-lib/lib/loadCarrierPlanning.server.d.ts +46 -0
  73. package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
  74. package/dist-lib/lib/loadCarrierPlanning.server.js +673 -31
  75. package/dist-lib/lib/logisticsPlanner.d.ts.map +1 -1
  76. package/dist-lib/lib/logisticsPlanner.js +24 -9
  77. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +4163 -193
  78. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  79. package/dist-lib/lib/logisticsRecalcJob.functions.js +3 -2
  80. package/dist-lib/lib/logisticsRecalcJob.server.d.ts.map +1 -1
  81. package/dist-lib/lib/logisticsRecalcJob.server.js +1 -0
  82. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +2064 -79
  83. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  84. package/dist-lib/lib/logisticsRecalculate.functions.js +3 -1
  85. package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
  86. package/dist-lib/lib/modulePrompts.js +2567 -1563
  87. package/dist-lib/lib/planQueue.server.d.ts.map +1 -1
  88. package/dist-lib/lib/planQueue.server.js +6 -0
  89. package/dist-lib/lib/readableServerErrors.d.ts +2 -0
  90. package/dist-lib/lib/readableServerErrors.d.ts.map +1 -0
  91. package/dist-lib/lib/readableServerErrors.js +36 -0
  92. package/dist-lib/lib/ruleEngineSchema.d.ts +1 -1
  93. package/dist-lib/lib/ruleEngineSchema.d.ts.map +1 -1
  94. package/dist-lib/lib/ruleEngineSchema.js +83 -51
  95. package/dist-lib/lib/ruleEngineWizard.d.ts.map +1 -1
  96. package/dist-lib/lib/ruleEngineWizard.js +6 -6
  97. package/package.json +1 -1
@@ -690,6 +690,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
690
690
  raw: import("./types").Json;
691
691
  updated_at: string;
692
692
  valuta: string;
693
+ velden: import("./types").Json;
693
694
  };
694
695
  Insert: {
695
696
  artikelcode: string;
@@ -707,6 +708,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
707
708
  raw?: import("./types").Json;
708
709
  updated_at?: string;
709
710
  valuta?: string;
711
+ velden?: import("./types").Json;
710
712
  };
711
713
  Update: {
712
714
  artikelcode?: string;
@@ -724,6 +726,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
724
726
  raw?: import("./types").Json;
725
727
  updated_at?: string;
726
728
  valuta?: string;
729
+ velden?: import("./types").Json;
727
730
  };
728
731
  Relationships: [];
729
732
  };
@@ -1418,8 +1421,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
1418
1421
  Row: {
1419
1422
  assigned_at: string;
1420
1423
  cart_index: number;
1421
- cart_number: string;
1422
- day_seq: number;
1424
+ cart_number: string | null;
1425
+ day_seq: number | null;
1426
+ delivered_at: string | null;
1423
1427
  id: string;
1424
1428
  order_id: string;
1425
1429
  order_source: string;
@@ -1429,8 +1433,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
1429
1433
  Insert: {
1430
1434
  assigned_at?: string;
1431
1435
  cart_index: number;
1432
- cart_number: string;
1433
- day_seq: number;
1436
+ cart_number?: string | null;
1437
+ day_seq?: number | null;
1438
+ delivered_at?: string | null;
1434
1439
  id?: string;
1435
1440
  order_id: string;
1436
1441
  order_source: string;
@@ -1440,8 +1445,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
1440
1445
  Update: {
1441
1446
  assigned_at?: string;
1442
1447
  cart_index?: number;
1443
- cart_number?: string;
1444
- day_seq?: number;
1448
+ cart_number?: string | null;
1449
+ day_seq?: number | null;
1450
+ delivered_at?: string | null;
1445
1451
  id?: string;
1446
1452
  order_id?: string;
1447
1453
  order_source?: string;
@@ -1542,6 +1548,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
1542
1548
  updated_at?: string;
1543
1549
  };
1544
1550
  Relationships: [{
1551
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1552
+ columns: ["product_id"];
1553
+ isOneToOne: true;
1554
+ referencedRelation: "logistics_product_dimensions";
1555
+ referencedColumns: ["product_id"];
1556
+ }, {
1545
1557
  foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1546
1558
  columns: ["product_id"];
1547
1559
  isOneToOne: true;
@@ -7069,6 +7081,51 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
7069
7081
  };
7070
7082
  Relationships: [];
7071
7083
  };
7084
+ floriday_status_sync_queue: {
7085
+ Row: {
7086
+ attempts: number;
7087
+ created_at: string;
7088
+ error: string | null;
7089
+ floriday_sales_order_id: string;
7090
+ order_id: string;
7091
+ processed_at: string | null;
7092
+ requested_at: string;
7093
+ state: string;
7094
+ target_status: string;
7095
+ updated_at: string;
7096
+ };
7097
+ Insert: {
7098
+ attempts?: number;
7099
+ created_at?: string;
7100
+ error?: string | null;
7101
+ floriday_sales_order_id: string;
7102
+ order_id: string;
7103
+ processed_at?: string | null;
7104
+ requested_at?: string;
7105
+ state?: string;
7106
+ target_status: string;
7107
+ updated_at?: string;
7108
+ };
7109
+ Update: {
7110
+ attempts?: number;
7111
+ created_at?: string;
7112
+ error?: string | null;
7113
+ floriday_sales_order_id?: string;
7114
+ order_id?: string;
7115
+ processed_at?: string | null;
7116
+ requested_at?: string;
7117
+ state?: string;
7118
+ target_status?: string;
7119
+ updated_at?: string;
7120
+ };
7121
+ Relationships: [{
7122
+ foreignKeyName: "floriday_status_sync_queue_order_id_fkey";
7123
+ columns: ["order_id"];
7124
+ isOneToOne: true;
7125
+ referencedRelation: "orders";
7126
+ referencedColumns: ["id"];
7127
+ }];
7128
+ };
7072
7129
  floriday_sync_cursors: {
7073
7130
  Row: {
7074
7131
  connection_id: string;
@@ -8303,10 +8360,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8303
8360
  general_email: string | null;
8304
8361
  general_phone: string | null;
8305
8362
  id: string;
8363
+ kvk_number: string | null;
8306
8364
  legacy_customer_id: string | null;
8307
8365
  name: string;
8308
8366
  segment: Database["public"]["Enums"]["itk_customer_segment"];
8309
8367
  updated_at: string;
8368
+ vat_number: string | null;
8310
8369
  };
8311
8370
  Insert: {
8312
8371
  billing_city?: string | null;
@@ -8317,10 +8376,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8317
8376
  general_email?: string | null;
8318
8377
  general_phone?: string | null;
8319
8378
  id?: string;
8379
+ kvk_number?: string | null;
8320
8380
  legacy_customer_id?: string | null;
8321
8381
  name: string;
8322
8382
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8323
8383
  updated_at?: string;
8384
+ vat_number?: string | null;
8324
8385
  };
8325
8386
  Update: {
8326
8387
  billing_city?: string | null;
@@ -8331,10 +8392,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8331
8392
  general_email?: string | null;
8332
8393
  general_phone?: string | null;
8333
8394
  id?: string;
8395
+ kvk_number?: string | null;
8334
8396
  legacy_customer_id?: string | null;
8335
8397
  name?: string;
8336
8398
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8337
8399
  updated_at?: string;
8400
+ vat_number?: string | null;
8338
8401
  };
8339
8402
  Relationships: [];
8340
8403
  };
@@ -8368,6 +8431,117 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8368
8431
  };
8369
8432
  Relationships: [];
8370
8433
  };
8434
+ itk_handover_github_scan: {
8435
+ Row: {
8436
+ gescand_op: string;
8437
+ gevonden: boolean;
8438
+ melding: string | null;
8439
+ module_id: string | null;
8440
+ repo: string;
8441
+ };
8442
+ Insert: {
8443
+ gescand_op?: string;
8444
+ gevonden?: boolean;
8445
+ melding?: string | null;
8446
+ module_id?: string | null;
8447
+ repo: string;
8448
+ };
8449
+ Update: {
8450
+ gescand_op?: string;
8451
+ gevonden?: boolean;
8452
+ melding?: string | null;
8453
+ module_id?: string | null;
8454
+ repo?: string;
8455
+ };
8456
+ Relationships: [];
8457
+ };
8458
+ itk_handover_module_meta: {
8459
+ Row: {
8460
+ check_aangevraagd_op: string | null;
8461
+ check_nodig: boolean;
8462
+ check_reden: string | null;
8463
+ created_at: string;
8464
+ module_id: string;
8465
+ project_url: string | null;
8466
+ publicatie_url: string | null;
8467
+ updated_at: string;
8468
+ };
8469
+ Insert: {
8470
+ check_aangevraagd_op?: string | null;
8471
+ check_nodig?: boolean;
8472
+ check_reden?: string | null;
8473
+ created_at?: string;
8474
+ module_id: string;
8475
+ project_url?: string | null;
8476
+ publicatie_url?: string | null;
8477
+ updated_at?: string;
8478
+ };
8479
+ Update: {
8480
+ check_aangevraagd_op?: string | null;
8481
+ check_nodig?: boolean;
8482
+ check_reden?: string | null;
8483
+ created_at?: string;
8484
+ module_id?: string;
8485
+ project_url?: string | null;
8486
+ publicatie_url?: string | null;
8487
+ updated_at?: string;
8488
+ };
8489
+ Relationships: [];
8490
+ };
8491
+ itk_handover_project_modules: {
8492
+ Row: {
8493
+ created_at: string;
8494
+ id: string;
8495
+ module_id: string;
8496
+ project_id: string;
8497
+ updated_at: string;
8498
+ };
8499
+ Insert: {
8500
+ created_at?: string;
8501
+ id?: string;
8502
+ module_id: string;
8503
+ project_id: string;
8504
+ updated_at?: string;
8505
+ };
8506
+ Update: {
8507
+ created_at?: string;
8508
+ id?: string;
8509
+ module_id?: string;
8510
+ project_id?: string;
8511
+ updated_at?: string;
8512
+ };
8513
+ Relationships: [{
8514
+ foreignKeyName: "itk_handover_project_modules_project_id_fkey";
8515
+ columns: ["project_id"];
8516
+ isOneToOne: false;
8517
+ referencedRelation: "itk_handover_projecten";
8518
+ referencedColumns: ["id"];
8519
+ }];
8520
+ };
8521
+ itk_handover_projecten: {
8522
+ Row: {
8523
+ created_at: string;
8524
+ id: string;
8525
+ naam: string;
8526
+ omschrijving: string | null;
8527
+ updated_at: string;
8528
+ };
8529
+ Insert: {
8530
+ created_at?: string;
8531
+ id?: string;
8532
+ naam: string;
8533
+ omschrijving?: string | null;
8534
+ updated_at?: string;
8535
+ };
8536
+ Update: {
8537
+ created_at?: string;
8538
+ id?: string;
8539
+ naam?: string;
8540
+ omschrijving?: string | null;
8541
+ updated_at?: string;
8542
+ };
8543
+ Relationships: [];
8544
+ };
8371
8545
  itk_handover_rechten: {
8372
8546
  Row: {
8373
8547
  created_at: string;
@@ -8395,42 +8569,33 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8395
8569
  };
8396
8570
  Relationships: [];
8397
8571
  };
8398
- itk_handover_tokens: {
8572
+ itk_module_fingerprints: {
8399
8573
  Row: {
8400
- aangemaakt_door: string | null;
8401
8574
  created_at: string;
8575
+ gemaakt_op: string;
8576
+ hash: string;
8402
8577
  id: string;
8403
- is_actief: boolean;
8404
- laatst_gebruikt_op: string | null;
8405
- label: string;
8406
8578
  module_id: string;
8407
- token_hash: string;
8579
+ payload: import("./types").Json;
8408
8580
  updated_at: string;
8409
- verloopt_op: string | null;
8410
8581
  };
8411
8582
  Insert: {
8412
- aangemaakt_door?: string | null;
8413
8583
  created_at?: string;
8584
+ gemaakt_op?: string;
8585
+ hash: string;
8414
8586
  id?: string;
8415
- is_actief?: boolean;
8416
- laatst_gebruikt_op?: string | null;
8417
- label?: string;
8418
8587
  module_id: string;
8419
- token_hash: string;
8588
+ payload?: import("./types").Json;
8420
8589
  updated_at?: string;
8421
- verloopt_op?: string | null;
8422
8590
  };
8423
8591
  Update: {
8424
- aangemaakt_door?: string | null;
8425
8592
  created_at?: string;
8593
+ gemaakt_op?: string;
8594
+ hash?: string;
8426
8595
  id?: string;
8427
- is_actief?: boolean;
8428
- laatst_gebruikt_op?: string | null;
8429
- label?: string;
8430
8596
  module_id?: string;
8431
- token_hash?: string;
8597
+ payload?: import("./types").Json;
8432
8598
  updated_at?: string;
8433
- verloopt_op?: string | null;
8434
8599
  };
8435
8600
  Relationships: [];
8436
8601
  };
@@ -8438,6 +8603,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8438
8603
  Row: {
8439
8604
  bevindingen: string | null;
8440
8605
  bezit_tabellen: string[];
8606
+ bron_commit: string | null;
8607
+ bron_pad: string | null;
8608
+ bron_repo: string | null;
8609
+ bron_soort: string | null;
8610
+ bron_versie: string | null;
8441
8611
  conflicten_snapshot: import("./types").Json;
8442
8612
  contractfuncties: string[];
8443
8613
  created_at: string;
@@ -8448,6 +8618,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8448
8618
  id: string;
8449
8619
  inhoud_md: string;
8450
8620
  is_actueel: boolean;
8621
+ is_gearchiveerd: boolean;
8622
+ laatst_gecontroleerd_op: string | null;
8451
8623
  module_id: string;
8452
8624
  module_titel: string;
8453
8625
  ontbrekende_contracten: string[];
@@ -8458,6 +8630,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8458
8630
  Insert: {
8459
8631
  bevindingen?: string | null;
8460
8632
  bezit_tabellen?: string[];
8633
+ bron_commit?: string | null;
8634
+ bron_pad?: string | null;
8635
+ bron_repo?: string | null;
8636
+ bron_soort?: string | null;
8637
+ bron_versie?: string | null;
8461
8638
  conflicten_snapshot?: import("./types").Json;
8462
8639
  contractfuncties?: string[];
8463
8640
  created_at?: string;
@@ -8468,6 +8645,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8468
8645
  id?: string;
8469
8646
  inhoud_md: string;
8470
8647
  is_actueel?: boolean;
8648
+ is_gearchiveerd?: boolean;
8649
+ laatst_gecontroleerd_op?: string | null;
8471
8650
  module_id: string;
8472
8651
  module_titel: string;
8473
8652
  ontbrekende_contracten?: string[];
@@ -8478,6 +8657,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8478
8657
  Update: {
8479
8658
  bevindingen?: string | null;
8480
8659
  bezit_tabellen?: string[];
8660
+ bron_commit?: string | null;
8661
+ bron_pad?: string | null;
8662
+ bron_repo?: string | null;
8663
+ bron_soort?: string | null;
8664
+ bron_versie?: string | null;
8481
8665
  conflicten_snapshot?: import("./types").Json;
8482
8666
  contractfuncties?: string[];
8483
8667
  created_at?: string;
@@ -8488,6 +8672,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8488
8672
  id?: string;
8489
8673
  inhoud_md?: string;
8490
8674
  is_actueel?: boolean;
8675
+ is_gearchiveerd?: boolean;
8676
+ laatst_gecontroleerd_op?: string | null;
8491
8677
  module_id?: string;
8492
8678
  module_titel?: string;
8493
8679
  ontbrekende_contracten?: string[];
@@ -8542,6 +8728,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8542
8728
  };
8543
8729
  Relationships: [];
8544
8730
  };
8731
+ itk_module_wijzigingen: {
8732
+ Row: {
8733
+ created_at: string;
8734
+ geconstateerd_op: string;
8735
+ id: string;
8736
+ module_id: string;
8737
+ omschrijving: string;
8738
+ soort: string;
8739
+ updated_at: string;
8740
+ was_na_publicatie: boolean;
8741
+ };
8742
+ Insert: {
8743
+ created_at?: string;
8744
+ geconstateerd_op?: string;
8745
+ id?: string;
8746
+ module_id: string;
8747
+ omschrijving: string;
8748
+ soort: string;
8749
+ updated_at?: string;
8750
+ was_na_publicatie?: boolean;
8751
+ };
8752
+ Update: {
8753
+ created_at?: string;
8754
+ geconstateerd_op?: string;
8755
+ id?: string;
8756
+ module_id?: string;
8757
+ omschrijving?: string;
8758
+ soort?: string;
8759
+ updated_at?: string;
8760
+ was_na_publicatie?: boolean;
8761
+ };
8762
+ Relationships: [];
8763
+ };
8545
8764
  itk_offerte_events: {
8546
8765
  Row: {
8547
8766
  created_at: string;
@@ -8780,12 +8999,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8780
8999
  isOneToOne: false;
8781
9000
  referencedRelation: "werkbonnen";
8782
9001
  referencedColumns: ["id"];
9002
+ }, {
9003
+ foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
9004
+ columns: ["follow_up_werkbon_id"];
9005
+ isOneToOne: false;
9006
+ referencedRelation: "wo_overview";
9007
+ referencedColumns: ["id"];
8783
9008
  }, {
8784
9009
  foreignKeyName: "itk_offertes_werkbon_id_fkey";
8785
9010
  columns: ["werkbon_id"];
8786
9011
  isOneToOne: false;
8787
9012
  referencedRelation: "werkbonnen";
8788
9013
  referencedColumns: ["id"];
9014
+ }, {
9015
+ foreignKeyName: "itk_offertes_werkbon_id_fkey";
9016
+ columns: ["werkbon_id"];
9017
+ isOneToOne: false;
9018
+ referencedRelation: "wo_overview";
9019
+ referencedColumns: ["id"];
8789
9020
  }, {
8790
9021
  foreignKeyName: "itk_offertes_work_location_id_fkey";
8791
9022
  columns: ["work_location_id"];
@@ -9086,6 +9317,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9086
9317
  isOneToOne: false;
9087
9318
  referencedRelation: "product_categories";
9088
9319
  referencedColumns: ["id"];
9320
+ }, {
9321
+ foreignKeyName: "local_customer_agreements_product_id_fkey";
9322
+ columns: ["product_id"];
9323
+ isOneToOne: false;
9324
+ referencedRelation: "logistics_product_dimensions";
9325
+ referencedColumns: ["product_id"];
9089
9326
  }, {
9090
9327
  foreignKeyName: "local_customer_agreements_product_id_fkey";
9091
9328
  columns: ["product_id"];
@@ -9152,6 +9389,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9152
9389
  isOneToOne: false;
9153
9390
  referencedRelation: "product_categories";
9154
9391
  referencedColumns: ["id"];
9392
+ }, {
9393
+ foreignKeyName: "local_customer_price_groups_product_id_fkey";
9394
+ columns: ["product_id"];
9395
+ isOneToOne: false;
9396
+ referencedRelation: "logistics_product_dimensions";
9397
+ referencedColumns: ["product_id"];
9155
9398
  }, {
9156
9399
  foreignKeyName: "local_customer_price_groups_product_id_fkey";
9157
9400
  columns: ["product_id"];
@@ -9218,6 +9461,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9218
9461
  isOneToOne: false;
9219
9462
  referencedRelation: "product_categories";
9220
9463
  referencedColumns: ["id"];
9464
+ }, {
9465
+ foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9466
+ columns: ["product_id"];
9467
+ isOneToOne: false;
9468
+ referencedRelation: "logistics_product_dimensions";
9469
+ referencedColumns: ["product_id"];
9221
9470
  }, {
9222
9471
  foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9223
9472
  columns: ["product_id"];
@@ -9421,6 +9670,75 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9421
9670
  };
9422
9671
  Relationships: [];
9423
9672
  };
9673
+ logistics_control_scan: {
9674
+ Row: {
9675
+ approved_at: string | null;
9676
+ attempts: number;
9677
+ barcode: string;
9678
+ cart_id: string;
9679
+ created_at: string;
9680
+ document_url: string | null;
9681
+ error: string | null;
9682
+ error_code: string | null;
9683
+ fulfillment_order_id: string | null;
9684
+ id: string;
9685
+ is_floriday: boolean;
9686
+ locked_until: string | null;
9687
+ order_id: string | null;
9688
+ order_number: string | null;
9689
+ print_job_id: string | null;
9690
+ printed_at: string | null;
9691
+ printer_id: string | null;
9692
+ scanner_id: string | null;
9693
+ status: string;
9694
+ updated_at: string;
9695
+ };
9696
+ Insert: {
9697
+ approved_at?: string | null;
9698
+ attempts?: number;
9699
+ barcode: string;
9700
+ cart_id: string;
9701
+ created_at?: string;
9702
+ document_url?: string | null;
9703
+ error?: string | null;
9704
+ error_code?: string | null;
9705
+ fulfillment_order_id?: string | null;
9706
+ id?: string;
9707
+ is_floriday?: boolean;
9708
+ locked_until?: string | null;
9709
+ order_id?: string | null;
9710
+ order_number?: string | null;
9711
+ print_job_id?: string | null;
9712
+ printed_at?: string | null;
9713
+ printer_id?: string | null;
9714
+ scanner_id?: string | null;
9715
+ status?: string;
9716
+ updated_at?: string;
9717
+ };
9718
+ Update: {
9719
+ approved_at?: string | null;
9720
+ attempts?: number;
9721
+ barcode?: string;
9722
+ cart_id?: string;
9723
+ created_at?: string;
9724
+ document_url?: string | null;
9725
+ error?: string | null;
9726
+ error_code?: string | null;
9727
+ fulfillment_order_id?: string | null;
9728
+ id?: string;
9729
+ is_floriday?: boolean;
9730
+ locked_until?: string | null;
9731
+ order_id?: string | null;
9732
+ order_number?: string | null;
9733
+ print_job_id?: string | null;
9734
+ printed_at?: string | null;
9735
+ printer_id?: string | null;
9736
+ scanner_id?: string | null;
9737
+ status?: string;
9738
+ updated_at?: string;
9739
+ };
9740
+ Relationships: [];
9741
+ };
9424
9742
  logistics_decisions: {
9425
9743
  Row: {
9426
9744
  created_at: string;
@@ -9706,6 +10024,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9706
10024
  };
9707
10025
  Relationships: [];
9708
10026
  };
10027
+ logistics_floriday_carrier_map: {
10028
+ Row: {
10029
+ carrier_code: string;
10030
+ created_at: string;
10031
+ floriday_code: string;
10032
+ };
10033
+ Insert: {
10034
+ carrier_code: string;
10035
+ created_at?: string;
10036
+ floriday_code: string;
10037
+ };
10038
+ Update: {
10039
+ carrier_code?: string;
10040
+ created_at?: string;
10041
+ floriday_code?: string;
10042
+ };
10043
+ Relationships: [];
10044
+ };
9709
10045
  logistics_floriday_pushes: {
9710
10046
  Row: {
9711
10047
  attempts: number;
@@ -9823,20 +10159,50 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9823
10159
  referencedColumns: ["id"];
9824
10160
  }];
9825
10161
  };
9826
- logistics_pickup_moments: {
10162
+ logistics_layer_override_log: {
9827
10163
  Row: {
9828
- carrier_ref: string | null;
10164
+ cart_id: string;
9829
10165
  created_at: string;
10166
+ details: import("./types").Json;
9830
10167
  id: string;
9831
- label: string | null;
9832
- moment_date: string;
9833
- pickup_time: string;
9834
- sequence: number;
9835
- updated_at: string;
9836
- user_id: string;
10168
+ keg_id: string | null;
10169
+ product_id: string | null;
10170
+ reason: string;
9837
10171
  };
9838
10172
  Insert: {
9839
- carrier_ref?: string | null;
10173
+ cart_id: string;
10174
+ created_at?: string;
10175
+ details?: import("./types").Json;
10176
+ id?: string;
10177
+ keg_id?: string | null;
10178
+ product_id?: string | null;
10179
+ reason: string;
10180
+ };
10181
+ Update: {
10182
+ cart_id?: string;
10183
+ created_at?: string;
10184
+ details?: import("./types").Json;
10185
+ id?: string;
10186
+ keg_id?: string | null;
10187
+ product_id?: string | null;
10188
+ reason?: string;
10189
+ };
10190
+ Relationships: [];
10191
+ };
10192
+ logistics_pickup_moments: {
10193
+ Row: {
10194
+ carrier_ref: string | null;
10195
+ created_at: string;
10196
+ id: string;
10197
+ label: string | null;
10198
+ moment_date: string;
10199
+ pickup_time: string;
10200
+ sequence: number;
10201
+ updated_at: string;
10202
+ user_id: string;
10203
+ };
10204
+ Insert: {
10205
+ carrier_ref?: string | null;
9840
10206
  created_at?: string;
9841
10207
  id?: string;
9842
10208
  label?: string | null;
@@ -11028,6 +11394,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
11028
11394
  updated_at?: string;
11029
11395
  };
11030
11396
  Relationships: [{
11397
+ foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11398
+ columns: ["product_id"];
11399
+ isOneToOne: false;
11400
+ referencedRelation: "logistics_product_dimensions";
11401
+ referencedColumns: ["product_id"];
11402
+ }, {
11031
11403
  foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11032
11404
  columns: ["product_id"];
11033
11405
  isOneToOne: false;
@@ -12334,6 +12706,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12334
12706
  order_buffers: {
12335
12707
  Row: {
12336
12708
  buffer_key: string;
12709
+ close_at: string | null;
12710
+ closed_at: string | null;
12337
12711
  created_at: string;
12338
12712
  customer_id: string | null;
12339
12713
  grouping_mode: string;
@@ -12345,6 +12719,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12345
12719
  };
12346
12720
  Insert: {
12347
12721
  buffer_key: string;
12722
+ close_at?: string | null;
12723
+ closed_at?: string | null;
12348
12724
  created_at?: string;
12349
12725
  customer_id?: string | null;
12350
12726
  grouping_mode: string;
@@ -12356,6 +12732,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12356
12732
  };
12357
12733
  Update: {
12358
12734
  buffer_key?: string;
12735
+ close_at?: string | null;
12736
+ closed_at?: string | null;
12359
12737
  created_at?: string;
12360
12738
  customer_id?: string | null;
12361
12739
  grouping_mode?: string;
@@ -12372,10 +12750,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12372
12750
  boxes: number | null;
12373
12751
  cart_id: string;
12374
12752
  crates: number;
12753
+ crates_in_layer: number | null;
12375
12754
  crates_per_layer: number;
12376
12755
  created_at: string;
12377
12756
  id: string;
12378
12757
  layer_fraction: number;
12758
+ layer_index: number | null;
12379
12759
  layer_share_pct: number;
12380
12760
  layers_per_cart: number;
12381
12761
  order_item_id: string | null;
@@ -12388,10 +12768,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12388
12768
  boxes?: number | null;
12389
12769
  cart_id: string;
12390
12770
  crates: number;
12771
+ crates_in_layer?: number | null;
12391
12772
  crates_per_layer?: number;
12392
12773
  created_at?: string;
12393
12774
  id?: string;
12394
12775
  layer_fraction?: number;
12776
+ layer_index?: number | null;
12395
12777
  layer_share_pct?: number;
12396
12778
  layers_per_cart?: number;
12397
12779
  order_item_id?: string | null;
@@ -12404,10 +12786,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12404
12786
  boxes?: number | null;
12405
12787
  cart_id?: string;
12406
12788
  crates?: number;
12789
+ crates_in_layer?: number | null;
12407
12790
  crates_per_layer?: number;
12408
12791
  created_at?: string;
12409
12792
  id?: string;
12410
12793
  layer_fraction?: number;
12794
+ layer_index?: number | null;
12411
12795
  layer_share_pct?: number;
12412
12796
  layers_per_cart?: number;
12413
12797
  order_item_id?: string | null;
@@ -12428,6 +12812,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12428
12812
  isOneToOne: false;
12429
12813
  referencedRelation: "order_items";
12430
12814
  referencedColumns: ["id"];
12815
+ }, {
12816
+ foreignKeyName: "order_cart_items_product_id_fkey";
12817
+ columns: ["product_id"];
12818
+ isOneToOne: false;
12819
+ referencedRelation: "logistics_product_dimensions";
12820
+ referencedColumns: ["product_id"];
12431
12821
  }, {
12432
12822
  foreignKeyName: "order_cart_items_product_id_fkey";
12433
12823
  columns: ["product_id"];
@@ -12436,6 +12826,93 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12436
12826
  referencedColumns: ["id"];
12437
12827
  }];
12438
12828
  };
12829
+ order_cart_layer_positions: {
12830
+ Row: {
12831
+ algorithm_version: number | null;
12832
+ cart_id: string;
12833
+ created_at: string;
12834
+ height: number;
12835
+ id: string;
12836
+ keg_id: string;
12837
+ label: string | null;
12838
+ layer: number;
12839
+ layer_height: number | null;
12840
+ layer_width: number | null;
12841
+ manual_overridden_at: string | null;
12842
+ manual_overridden_by: string | null;
12843
+ manual_override: boolean;
12844
+ order_item_id: string | null;
12845
+ original_layer: number | null;
12846
+ original_x: number | null;
12847
+ original_y: number | null;
12848
+ product_id: string | null;
12849
+ rotation: number;
12850
+ source: string | null;
12851
+ updated_at: string;
12852
+ width: number;
12853
+ x: number;
12854
+ y: number;
12855
+ };
12856
+ Insert: {
12857
+ algorithm_version?: number | null;
12858
+ cart_id: string;
12859
+ created_at?: string;
12860
+ height: number;
12861
+ id?: string;
12862
+ keg_id: string;
12863
+ label?: string | null;
12864
+ layer: number;
12865
+ layer_height?: number | null;
12866
+ layer_width?: number | null;
12867
+ manual_overridden_at?: string | null;
12868
+ manual_overridden_by?: string | null;
12869
+ manual_override?: boolean;
12870
+ order_item_id?: string | null;
12871
+ original_layer?: number | null;
12872
+ original_x?: number | null;
12873
+ original_y?: number | null;
12874
+ product_id?: string | null;
12875
+ rotation?: number;
12876
+ source?: string | null;
12877
+ updated_at?: string;
12878
+ width: number;
12879
+ x: number;
12880
+ y: number;
12881
+ };
12882
+ Update: {
12883
+ algorithm_version?: number | null;
12884
+ cart_id?: string;
12885
+ created_at?: string;
12886
+ height?: number;
12887
+ id?: string;
12888
+ keg_id?: string;
12889
+ label?: string | null;
12890
+ layer?: number;
12891
+ layer_height?: number | null;
12892
+ layer_width?: number | null;
12893
+ manual_overridden_at?: string | null;
12894
+ manual_overridden_by?: string | null;
12895
+ manual_override?: boolean;
12896
+ order_item_id?: string | null;
12897
+ original_layer?: number | null;
12898
+ original_x?: number | null;
12899
+ original_y?: number | null;
12900
+ product_id?: string | null;
12901
+ rotation?: number;
12902
+ source?: string | null;
12903
+ updated_at?: string;
12904
+ width?: number;
12905
+ x?: number;
12906
+ y?: number;
12907
+ };
12908
+ Relationships: [{
12909
+ foreignKeyName: "order_cart_layer_positions_cart_id_fkey";
12910
+ columns: ["cart_id"];
12911
+ isOneToOne: false;
12912
+ referencedRelation: "order_carts";
12913
+ referencedColumns: ["id"];
12914
+ }];
12915
+ };
12439
12916
  order_carts: {
12440
12917
  Row: {
12441
12918
  algorithm_version: number;
@@ -12447,6 +12924,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12447
12924
  id: string;
12448
12925
  is_auto: boolean;
12449
12926
  is_complete: boolean;
12927
+ layout_method: string | null;
12450
12928
  max_layers: number | null;
12451
12929
  moved_at: string | null;
12452
12930
  moved_from_moment_id: string | null;
@@ -12457,6 +12935,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12457
12935
  pickup_locked: boolean;
12458
12936
  pickup_moment_id: string | null;
12459
12937
  source: string;
12938
+ total_carts: number | null;
12460
12939
  total_layers_used: number;
12461
12940
  updated_at: string;
12462
12941
  weight_kg: number | null;
@@ -12471,6 +12950,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12471
12950
  id?: string;
12472
12951
  is_auto?: boolean;
12473
12952
  is_complete?: boolean;
12953
+ layout_method?: string | null;
12474
12954
  max_layers?: number | null;
12475
12955
  moved_at?: string | null;
12476
12956
  moved_from_moment_id?: string | null;
@@ -12481,6 +12961,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12481
12961
  pickup_locked?: boolean;
12482
12962
  pickup_moment_id?: string | null;
12483
12963
  source?: string;
12964
+ total_carts?: number | null;
12484
12965
  total_layers_used?: number;
12485
12966
  updated_at?: string;
12486
12967
  weight_kg?: number | null;
@@ -12495,6 +12976,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12495
12976
  id?: string;
12496
12977
  is_auto?: boolean;
12497
12978
  is_complete?: boolean;
12979
+ layout_method?: string | null;
12498
12980
  max_layers?: number | null;
12499
12981
  moved_at?: string | null;
12500
12982
  moved_from_moment_id?: string | null;
@@ -12505,6 +12987,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12505
12987
  pickup_locked?: boolean;
12506
12988
  pickup_moment_id?: string | null;
12507
12989
  source?: string;
12990
+ total_carts?: number | null;
12508
12991
  total_layers_used?: number;
12509
12992
  updated_at?: string;
12510
12993
  weight_kg?: number | null;
@@ -12607,6 +13090,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12607
13090
  };
12608
13091
  Relationships: [];
12609
13092
  };
13093
+ order_fust_bookings: {
13094
+ Row: {
13095
+ created_at: string;
13096
+ fust_type_id: string;
13097
+ id: string;
13098
+ order_item_id: string;
13099
+ quantity: number;
13100
+ updated_at: string;
13101
+ };
13102
+ Insert: {
13103
+ created_at?: string;
13104
+ fust_type_id: string;
13105
+ id?: string;
13106
+ order_item_id: string;
13107
+ quantity?: number;
13108
+ updated_at?: string;
13109
+ };
13110
+ Update: {
13111
+ created_at?: string;
13112
+ fust_type_id?: string;
13113
+ id?: string;
13114
+ order_item_id?: string;
13115
+ quantity?: number;
13116
+ updated_at?: string;
13117
+ };
13118
+ Relationships: [{
13119
+ foreignKeyName: "order_fust_bookings_fust_type_id_fkey";
13120
+ columns: ["fust_type_id"];
13121
+ isOneToOne: false;
13122
+ referencedRelation: "fust_types";
13123
+ referencedColumns: ["id"];
13124
+ }];
13125
+ };
12610
13126
  order_invoice_links: {
12611
13127
  Row: {
12612
13128
  administration_code: string | null;
@@ -12695,6 +13211,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12695
13211
  isOneToOne: false;
12696
13212
  referencedRelation: "orders";
12697
13213
  referencedColumns: ["id"];
13214
+ }, {
13215
+ foreignKeyName: "order_items_product_id_fkey";
13216
+ columns: ["product_id"];
13217
+ isOneToOne: false;
13218
+ referencedRelation: "logistics_product_dimensions";
13219
+ referencedColumns: ["product_id"];
12698
13220
  }, {
12699
13221
  foreignKeyName: "order_items_product_id_fkey";
12700
13222
  columns: ["product_id"];
@@ -12842,6 +13364,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12842
13364
  plan_locked_at: string | null;
12843
13365
  plan_locked_ref: string | null;
12844
13366
  status: string;
13367
+ status_changed_at: string;
13368
+ status_origin: string;
13369
+ status_sync_token: string | null;
12845
13370
  total: string;
12846
13371
  updated_at: string;
12847
13372
  };
@@ -12866,6 +13391,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12866
13391
  plan_locked_at?: string | null;
12867
13392
  plan_locked_ref?: string | null;
12868
13393
  status?: string;
13394
+ status_changed_at?: string;
13395
+ status_origin?: string;
13396
+ status_sync_token?: string | null;
12869
13397
  total?: string;
12870
13398
  updated_at?: string;
12871
13399
  };
@@ -12890,6 +13418,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12890
13418
  plan_locked_at?: string | null;
12891
13419
  plan_locked_ref?: string | null;
12892
13420
  status?: string;
13421
+ status_changed_at?: string;
13422
+ status_origin?: string;
13423
+ status_sync_token?: string | null;
12893
13424
  total?: string;
12894
13425
  updated_at?: string;
12895
13426
  };
@@ -12943,6 +13474,132 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12943
13474
  };
12944
13475
  Relationships: [];
12945
13476
  };
13477
+ pakbon_barcode_inhoud: {
13478
+ Row: {
13479
+ barcode: string;
13480
+ cart_id: string | null;
13481
+ cart_index: number | null;
13482
+ cart_label: string | null;
13483
+ cart_total: number | null;
13484
+ created_at: string;
13485
+ is_herprint: boolean;
13486
+ klant_naam: string | null;
13487
+ klant_nummer: string | null;
13488
+ layout_id: string | null;
13489
+ layout_variant: string | null;
13490
+ order_nummer: string | null;
13491
+ order_ref: string | null;
13492
+ print_job_id: string | null;
13493
+ regels: import("./types").Json;
13494
+ updated_at: string;
13495
+ };
13496
+ Insert: {
13497
+ barcode: string;
13498
+ cart_id?: string | null;
13499
+ cart_index?: number | null;
13500
+ cart_label?: string | null;
13501
+ cart_total?: number | null;
13502
+ created_at?: string;
13503
+ is_herprint?: boolean;
13504
+ klant_naam?: string | null;
13505
+ klant_nummer?: string | null;
13506
+ layout_id?: string | null;
13507
+ layout_variant?: string | null;
13508
+ order_nummer?: string | null;
13509
+ order_ref?: string | null;
13510
+ print_job_id?: string | null;
13511
+ regels?: import("./types").Json;
13512
+ updated_at?: string;
13513
+ };
13514
+ Update: {
13515
+ barcode?: string;
13516
+ cart_id?: string | null;
13517
+ cart_index?: number | null;
13518
+ cart_label?: string | null;
13519
+ cart_total?: number | null;
13520
+ created_at?: string;
13521
+ is_herprint?: boolean;
13522
+ klant_naam?: string | null;
13523
+ klant_nummer?: string | null;
13524
+ layout_id?: string | null;
13525
+ layout_variant?: string | null;
13526
+ order_nummer?: string | null;
13527
+ order_ref?: string | null;
13528
+ print_job_id?: string | null;
13529
+ regels?: import("./types").Json;
13530
+ updated_at?: string;
13531
+ };
13532
+ Relationships: [];
13533
+ };
13534
+ pakbon_barcode_verzoeken: {
13535
+ Row: {
13536
+ aangevraagd_op: string;
13537
+ barcode: string | null;
13538
+ cart_id: string | null;
13539
+ cart_index: number | null;
13540
+ cart_label: string | null;
13541
+ cart_total: number | null;
13542
+ documentnaam: string | null;
13543
+ geleverd_op: string | null;
13544
+ id: string;
13545
+ is_herprint: boolean;
13546
+ klant_naam: string | null;
13547
+ klant_nummer: string | null;
13548
+ laatst_gevraagd_op: string;
13549
+ layout_id: string | null;
13550
+ layout_variant: string | null;
13551
+ order_nummer: string | null;
13552
+ order_ref: string | null;
13553
+ print_job_id: string;
13554
+ status: string;
13555
+ updated_at: string;
13556
+ };
13557
+ Insert: {
13558
+ aangevraagd_op?: string;
13559
+ barcode?: string | null;
13560
+ cart_id?: string | null;
13561
+ cart_index?: number | null;
13562
+ cart_label?: string | null;
13563
+ cart_total?: number | null;
13564
+ documentnaam?: string | null;
13565
+ geleverd_op?: string | null;
13566
+ id?: string;
13567
+ is_herprint?: boolean;
13568
+ klant_naam?: string | null;
13569
+ klant_nummer?: string | null;
13570
+ laatst_gevraagd_op?: string;
13571
+ layout_id?: string | null;
13572
+ layout_variant?: string | null;
13573
+ order_nummer?: string | null;
13574
+ order_ref?: string | null;
13575
+ print_job_id: string;
13576
+ status?: string;
13577
+ updated_at?: string;
13578
+ };
13579
+ Update: {
13580
+ aangevraagd_op?: string;
13581
+ barcode?: string | null;
13582
+ cart_id?: string | null;
13583
+ cart_index?: number | null;
13584
+ cart_label?: string | null;
13585
+ cart_total?: number | null;
13586
+ documentnaam?: string | null;
13587
+ geleverd_op?: string | null;
13588
+ id?: string;
13589
+ is_herprint?: boolean;
13590
+ klant_naam?: string | null;
13591
+ klant_nummer?: string | null;
13592
+ laatst_gevraagd_op?: string;
13593
+ layout_id?: string | null;
13594
+ layout_variant?: string | null;
13595
+ order_nummer?: string | null;
13596
+ order_ref?: string | null;
13597
+ print_job_id?: string;
13598
+ status?: string;
13599
+ updated_at?: string;
13600
+ };
13601
+ Relationships: [];
13602
+ };
12946
13603
  pick_countries: {
12947
13604
  Row: {
12948
13605
  active: boolean;
@@ -14021,6 +14678,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14021
14678
  isOneToOne: false;
14022
14679
  referencedRelation: "werkbonnen";
14023
14680
  referencedColumns: ["id"];
14681
+ }, {
14682
+ foreignKeyName: "planning_items_werkbon_id_fkey";
14683
+ columns: ["werkbon_id"];
14684
+ isOneToOne: false;
14685
+ referencedRelation: "wo_overview";
14686
+ referencedColumns: ["id"];
14024
14687
  }];
14025
14688
  };
14026
14689
  print_agents: {
@@ -14136,12 +14799,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14136
14799
  };
14137
14800
  print_jobs: {
14138
14801
  Row: {
14802
+ aflever_pogingen: number;
14139
14803
  agent_id: string | null;
14804
+ artefact_bytes: number | null;
14805
+ artefact_gereed_op: string | null;
14806
+ artefact_pad: string | null;
14807
+ artefact_sha256: string | null;
14808
+ batch_id: string | null;
14140
14809
  bron_job_id: string | null;
14141
14810
  created_at: string;
14142
14811
  documentnaam: string;
14143
14812
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
14144
14813
  extern_job_id: string | null;
14814
+ fase_gestart_op: string | null;
14815
+ fase_voltooid_op: string | null;
14816
+ foutcode: string | null;
14145
14817
  foutmelding: string | null;
14146
14818
  gebruiker_id: string | null;
14147
14819
  gebruiker_naam: string;
@@ -14155,7 +14827,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14155
14827
  kopieen: number;
14156
14828
  layout_id: string | null;
14157
14829
  lokaal_opgeslagen_op: string | null;
14830
+ lokale_pdf_claim_id: string | null;
14831
+ lokale_pdf_claim_tot: string | null;
14158
14832
  lokale_pdf_fout: string | null;
14833
+ lokale_pdf_print_plek_id: string | null;
14159
14834
  lokale_pdf_status: string | null;
14160
14835
  opgepakt_op: string | null;
14161
14836
  paginas: number;
@@ -14168,16 +14843,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14168
14843
  resultaat_pdf_base64: string | null;
14169
14844
  status: Database["public"]["Enums"]["print_job_status"];
14170
14845
  updated_at: string;
14846
+ verwerkingsfase: string;
14171
14847
  volgende_poging: string | null;
14172
14848
  voltooid_op: string | null;
14173
14849
  };
14174
14850
  Insert: {
14851
+ aflever_pogingen?: number;
14175
14852
  agent_id?: string | null;
14853
+ artefact_bytes?: number | null;
14854
+ artefact_gereed_op?: string | null;
14855
+ artefact_pad?: string | null;
14856
+ artefact_sha256?: string | null;
14857
+ batch_id?: string | null;
14176
14858
  bron_job_id?: string | null;
14177
14859
  created_at?: string;
14178
14860
  documentnaam?: string;
14179
14861
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14180
14862
  extern_job_id?: string | null;
14863
+ fase_gestart_op?: string | null;
14864
+ fase_voltooid_op?: string | null;
14865
+ foutcode?: string | null;
14181
14866
  foutmelding?: string | null;
14182
14867
  gebruiker_id?: string | null;
14183
14868
  gebruiker_naam?: string;
@@ -14191,7 +14876,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14191
14876
  kopieen?: number;
14192
14877
  layout_id?: string | null;
14193
14878
  lokaal_opgeslagen_op?: string | null;
14879
+ lokale_pdf_claim_id?: string | null;
14880
+ lokale_pdf_claim_tot?: string | null;
14194
14881
  lokale_pdf_fout?: string | null;
14882
+ lokale_pdf_print_plek_id?: string | null;
14195
14883
  lokale_pdf_status?: string | null;
14196
14884
  opgepakt_op?: string | null;
14197
14885
  paginas?: number;
@@ -14204,16 +14892,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14204
14892
  resultaat_pdf_base64?: string | null;
14205
14893
  status?: Database["public"]["Enums"]["print_job_status"];
14206
14894
  updated_at?: string;
14895
+ verwerkingsfase?: string;
14207
14896
  volgende_poging?: string | null;
14208
14897
  voltooid_op?: string | null;
14209
14898
  };
14210
14899
  Update: {
14900
+ aflever_pogingen?: number;
14211
14901
  agent_id?: string | null;
14902
+ artefact_bytes?: number | null;
14903
+ artefact_gereed_op?: string | null;
14904
+ artefact_pad?: string | null;
14905
+ artefact_sha256?: string | null;
14906
+ batch_id?: string | null;
14212
14907
  bron_job_id?: string | null;
14213
14908
  created_at?: string;
14214
14909
  documentnaam?: string;
14215
14910
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14216
14911
  extern_job_id?: string | null;
14912
+ fase_gestart_op?: string | null;
14913
+ fase_voltooid_op?: string | null;
14914
+ foutcode?: string | null;
14217
14915
  foutmelding?: string | null;
14218
14916
  gebruiker_id?: string | null;
14219
14917
  gebruiker_naam?: string;
@@ -14227,7 +14925,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14227
14925
  kopieen?: number;
14228
14926
  layout_id?: string | null;
14229
14927
  lokaal_opgeslagen_op?: string | null;
14928
+ lokale_pdf_claim_id?: string | null;
14929
+ lokale_pdf_claim_tot?: string | null;
14230
14930
  lokale_pdf_fout?: string | null;
14931
+ lokale_pdf_print_plek_id?: string | null;
14231
14932
  lokale_pdf_status?: string | null;
14232
14933
  opgepakt_op?: string | null;
14233
14934
  paginas?: number;
@@ -14240,6 +14941,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14240
14941
  resultaat_pdf_base64?: string | null;
14241
14942
  status?: Database["public"]["Enums"]["print_job_status"];
14242
14943
  updated_at?: string;
14944
+ verwerkingsfase?: string;
14243
14945
  volgende_poging?: string | null;
14244
14946
  voltooid_op?: string | null;
14245
14947
  };
@@ -14255,6 +14957,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14255
14957
  isOneToOne: false;
14256
14958
  referencedRelation: "document_layouts";
14257
14959
  referencedColumns: ["id"];
14960
+ }, {
14961
+ foreignKeyName: "print_jobs_lokale_pdf_print_plek_id_fkey";
14962
+ columns: ["lokale_pdf_print_plek_id"];
14963
+ isOneToOne: false;
14964
+ referencedRelation: "print_plekken";
14965
+ referencedColumns: ["id"];
14258
14966
  }, {
14259
14967
  foreignKeyName: "print_jobs_printer_id_fkey";
14260
14968
  columns: ["printer_id"];
@@ -14389,6 +15097,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14389
15097
  };
14390
15098
  Relationships: [];
14391
15099
  };
15100
+ print_queue_leases: {
15101
+ Row: {
15102
+ created_at: string;
15103
+ houder: string;
15104
+ naam: string;
15105
+ updated_at: string;
15106
+ verloopt_op: string;
15107
+ };
15108
+ Insert: {
15109
+ created_at?: string;
15110
+ houder: string;
15111
+ naam: string;
15112
+ updated_at?: string;
15113
+ verloopt_op: string;
15114
+ };
15115
+ Update: {
15116
+ created_at?: string;
15117
+ houder?: string;
15118
+ naam?: string;
15119
+ updated_at?: string;
15120
+ verloopt_op?: string;
15121
+ };
15122
+ Relationships: [];
15123
+ };
14392
15124
  print_queue_runners: {
14393
15125
  Row: {
14394
15126
  actief: boolean;
@@ -14398,7 +15130,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14398
15130
  laatst_gezien: string;
14399
15131
  laatste_fout: string | null;
14400
15132
  laatste_request_id: number | null;
15133
+ laatste_wakeup: string | null;
14401
15134
  mislukte_posts: number;
15135
+ mislukte_wakeups: number;
14402
15136
  tick_sleutel: string;
14403
15137
  updated_at: string;
14404
15138
  };
@@ -14410,7 +15144,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14410
15144
  laatst_gezien?: string;
14411
15145
  laatste_fout?: string | null;
14412
15146
  laatste_request_id?: number | null;
15147
+ laatste_wakeup?: string | null;
14413
15148
  mislukte_posts?: number;
15149
+ mislukte_wakeups?: number;
14414
15150
  tick_sleutel?: string;
14415
15151
  updated_at?: string;
14416
15152
  };
@@ -14422,7 +15158,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14422
15158
  laatst_gezien?: string;
14423
15159
  laatste_fout?: string | null;
14424
15160
  laatste_request_id?: number | null;
15161
+ laatste_wakeup?: string | null;
14425
15162
  mislukte_posts?: number;
15163
+ mislukte_wakeups?: number;
14426
15164
  tick_sleutel?: string;
14427
15165
  updated_at?: string;
14428
15166
  };
@@ -14736,6 +15474,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14736
15474
  updated_at?: string;
14737
15475
  };
14738
15476
  Relationships: [{
15477
+ foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
15478
+ columns: ["parent_product_id"];
15479
+ isOneToOne: false;
15480
+ referencedRelation: "logistics_product_dimensions";
15481
+ referencedColumns: ["product_id"];
15482
+ }, {
14739
15483
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
14740
15484
  columns: ["parent_product_id"];
14741
15485
  isOneToOne: false;
@@ -14790,11 +15534,23 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14790
15534
  updated_at?: string;
14791
15535
  };
14792
15536
  Relationships: [{
15537
+ foreignKeyName: "product_bom_items_component_product_id_fkey";
15538
+ columns: ["component_product_id"];
15539
+ isOneToOne: false;
15540
+ referencedRelation: "logistics_product_dimensions";
15541
+ referencedColumns: ["product_id"];
15542
+ }, {
14793
15543
  foreignKeyName: "product_bom_items_component_product_id_fkey";
14794
15544
  columns: ["component_product_id"];
14795
15545
  isOneToOne: false;
14796
15546
  referencedRelation: "products";
14797
15547
  referencedColumns: ["id"];
15548
+ }, {
15549
+ foreignKeyName: "product_bom_items_parent_product_id_fkey";
15550
+ columns: ["parent_product_id"];
15551
+ isOneToOne: false;
15552
+ referencedRelation: "logistics_product_dimensions";
15553
+ referencedColumns: ["product_id"];
14798
15554
  }, {
14799
15555
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
14800
15556
  columns: ["parent_product_id"];
@@ -14970,6 +15726,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14970
15726
  updated_at?: string;
14971
15727
  };
14972
15728
  Relationships: [{
15729
+ foreignKeyName: "product_groups_head_product_id_fkey";
15730
+ columns: ["head_product_id"];
15731
+ isOneToOne: false;
15732
+ referencedRelation: "logistics_product_dimensions";
15733
+ referencedColumns: ["product_id"];
15734
+ }, {
14973
15735
  foreignKeyName: "product_groups_head_product_id_fkey";
14974
15736
  columns: ["head_product_id"];
14975
15737
  isOneToOne: false;
@@ -15035,6 +15797,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15035
15797
  isOneToOne: false;
15036
15798
  referencedRelation: "packages";
15037
15799
  referencedColumns: ["id"];
15800
+ }, {
15801
+ foreignKeyName: "product_load_settings_product_id_fkey";
15802
+ columns: ["product_id"];
15803
+ isOneToOne: false;
15804
+ referencedRelation: "logistics_product_dimensions";
15805
+ referencedColumns: ["product_id"];
15038
15806
  }, {
15039
15807
  foreignKeyName: "product_load_settings_product_id_fkey";
15040
15808
  columns: ["product_id"];
@@ -15085,6 +15853,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15085
15853
  created_at: string;
15086
15854
  custom_fields: import("./types").Json;
15087
15855
  floriday_trade_item_id: string | null;
15856
+ fust_type_id: string | null;
15088
15857
  id: string;
15089
15858
  image_url: string | null;
15090
15859
  incoming_quantity: number;
@@ -15092,6 +15861,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15092
15861
  layers_per_cart: number;
15093
15862
  location: string;
15094
15863
  min_quantity: number;
15864
+ plant_height_cm: number | null;
15095
15865
  plants_per_crate: number;
15096
15866
  product: string;
15097
15867
  product_type: string;
@@ -15111,6 +15881,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15111
15881
  created_at?: string;
15112
15882
  custom_fields?: import("./types").Json;
15113
15883
  floriday_trade_item_id?: string | null;
15884
+ fust_type_id?: string | null;
15114
15885
  id?: string;
15115
15886
  image_url?: string | null;
15116
15887
  incoming_quantity?: number;
@@ -15118,6 +15889,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15118
15889
  layers_per_cart?: number;
15119
15890
  location: string;
15120
15891
  min_quantity?: number;
15892
+ plant_height_cm?: number | null;
15121
15893
  plants_per_crate?: number;
15122
15894
  product: string;
15123
15895
  product_type?: string;
@@ -15137,6 +15909,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15137
15909
  created_at?: string;
15138
15910
  custom_fields?: import("./types").Json;
15139
15911
  floriday_trade_item_id?: string | null;
15912
+ fust_type_id?: string | null;
15140
15913
  id?: string;
15141
15914
  image_url?: string | null;
15142
15915
  incoming_quantity?: number;
@@ -15144,6 +15917,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15144
15917
  layers_per_cart?: number;
15145
15918
  location?: string;
15146
15919
  min_quantity?: number;
15920
+ plant_height_cm?: number | null;
15147
15921
  plants_per_crate?: number;
15148
15922
  product?: string;
15149
15923
  product_type?: string;
@@ -15155,7 +15929,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15155
15929
  updated_at?: string;
15156
15930
  weight?: string | null;
15157
15931
  };
15158
- Relationships: [];
15932
+ Relationships: [{
15933
+ foreignKeyName: "products_fust_type_id_fkey";
15934
+ columns: ["fust_type_id"];
15935
+ isOneToOne: false;
15936
+ referencedRelation: "fust_types";
15937
+ referencedColumns: ["id"];
15938
+ }];
15159
15939
  };
15160
15940
  profile_modules: {
15161
15941
  Row: {
@@ -15489,6 +16269,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15489
16269
  quantity?: number;
15490
16270
  };
15491
16271
  Relationships: [{
16272
+ foreignKeyName: "purchase_order_items_product_id_fkey";
16273
+ columns: ["product_id"];
16274
+ isOneToOne: false;
16275
+ referencedRelation: "logistics_product_dimensions";
16276
+ referencedColumns: ["product_id"];
16277
+ }, {
15492
16278
  foreignKeyName: "purchase_order_items_product_id_fkey";
15493
16279
  columns: ["product_id"];
15494
16280
  isOneToOne: false;
@@ -15808,34 +16594,130 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15808
16594
  referencedColumns: ["id"];
15809
16595
  }];
15810
16596
  };
15811
- scan_karren: {
16597
+ scan_kar_sessie_regels: {
15812
16598
  Row: {
15813
- afgerond_op: string | null;
15814
- buffer_key: string | null;
16599
+ barcode: string;
16600
+ cart_id: string | null;
15815
16601
  created_at: string;
15816
- customer_names: string[];
15817
- device_id: string | null;
15818
- geprint: boolean;
15819
- geprint_op: string | null;
15820
16602
  id: string;
15821
- kar_nummer: string;
15822
- medewerker_id: string | null;
15823
- medewerker_naam: string | null;
15824
- naar_pickstation: boolean;
15825
- naar_pickstation_op: string | null;
16603
+ order_id: string | null;
15826
16604
  order_number: string | null;
15827
- scanner_id: string | null;
15828
- scanner_key: string;
15829
- status: string;
15830
- totaal_producten: number;
15831
- updated_at: string;
16605
+ regels: import("./types").Json;
16606
+ sessie_id: string;
16607
+ volledig: boolean;
15832
16608
  };
15833
16609
  Insert: {
15834
- afgerond_op?: string | null;
15835
- buffer_key?: string | null;
16610
+ barcode: string;
16611
+ cart_id?: string | null;
15836
16612
  created_at?: string;
15837
- customer_names?: string[];
15838
- device_id?: string | null;
16613
+ id?: string;
16614
+ order_id?: string | null;
16615
+ order_number?: string | null;
16616
+ regels?: import("./types").Json;
16617
+ sessie_id: string;
16618
+ volledig?: boolean;
16619
+ };
16620
+ Update: {
16621
+ barcode?: string;
16622
+ cart_id?: string | null;
16623
+ created_at?: string;
16624
+ id?: string;
16625
+ order_id?: string | null;
16626
+ order_number?: string | null;
16627
+ regels?: import("./types").Json;
16628
+ sessie_id?: string;
16629
+ volledig?: boolean;
16630
+ };
16631
+ Relationships: [{
16632
+ foreignKeyName: "scan_kar_sessie_regels_sessie_id_fkey";
16633
+ columns: ["sessie_id"];
16634
+ isOneToOne: false;
16635
+ referencedRelation: "scan_kar_sessies";
16636
+ referencedColumns: ["id"];
16637
+ }];
16638
+ };
16639
+ scan_kar_sessies: {
16640
+ Row: {
16641
+ afgerond_op: string | null;
16642
+ cart_id: string | null;
16643
+ cart_index: number | null;
16644
+ cart_total: number | null;
16645
+ created_at: string;
16646
+ id: string;
16647
+ klant_naam: string | null;
16648
+ medewerker_naam: string | null;
16649
+ order_id: string | null;
16650
+ order_number: string | null;
16651
+ scanner_id: string | null;
16652
+ status: string;
16653
+ updated_at: string;
16654
+ };
16655
+ Insert: {
16656
+ afgerond_op?: string | null;
16657
+ cart_id?: string | null;
16658
+ cart_index?: number | null;
16659
+ cart_total?: number | null;
16660
+ created_at?: string;
16661
+ id?: string;
16662
+ klant_naam?: string | null;
16663
+ medewerker_naam?: string | null;
16664
+ order_id?: string | null;
16665
+ order_number?: string | null;
16666
+ scanner_id?: string | null;
16667
+ status?: string;
16668
+ updated_at?: string;
16669
+ };
16670
+ Update: {
16671
+ afgerond_op?: string | null;
16672
+ cart_id?: string | null;
16673
+ cart_index?: number | null;
16674
+ cart_total?: number | null;
16675
+ created_at?: string;
16676
+ id?: string;
16677
+ klant_naam?: string | null;
16678
+ medewerker_naam?: string | null;
16679
+ order_id?: string | null;
16680
+ order_number?: string | null;
16681
+ scanner_id?: string | null;
16682
+ status?: string;
16683
+ updated_at?: string;
16684
+ };
16685
+ Relationships: [{
16686
+ foreignKeyName: "scan_kar_sessies_scanner_id_fkey";
16687
+ columns: ["scanner_id"];
16688
+ isOneToOne: false;
16689
+ referencedRelation: "scan_scanners";
16690
+ referencedColumns: ["id"];
16691
+ }];
16692
+ };
16693
+ scan_karren: {
16694
+ Row: {
16695
+ afgerond_op: string | null;
16696
+ buffer_key: string | null;
16697
+ created_at: string;
16698
+ customer_names: string[];
16699
+ device_id: string | null;
16700
+ geprint: boolean;
16701
+ geprint_op: string | null;
16702
+ id: string;
16703
+ kar_nummer: string;
16704
+ medewerker_id: string | null;
16705
+ medewerker_naam: string | null;
16706
+ naar_pickstation: boolean;
16707
+ naar_pickstation_op: string | null;
16708
+ order_number: string | null;
16709
+ scanner_id: string | null;
16710
+ scanner_key: string;
16711
+ status: string;
16712
+ totaal_producten: number;
16713
+ updated_at: string;
16714
+ };
16715
+ Insert: {
16716
+ afgerond_op?: string | null;
16717
+ buffer_key?: string | null;
16718
+ created_at?: string;
16719
+ customer_names?: string[];
16720
+ device_id?: string | null;
15839
16721
  geprint?: boolean;
15840
16722
  geprint_op?: string | null;
15841
16723
  id?: string;
@@ -16012,6 +16894,60 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16012
16894
  };
16013
16895
  Relationships: [];
16014
16896
  };
16897
+ scan_restpakbonnen: {
16898
+ Row: {
16899
+ barcode: string;
16900
+ bron_barcode: string | null;
16901
+ cart_id: string | null;
16902
+ cart_index: number | null;
16903
+ cart_total: number | null;
16904
+ created_at: string;
16905
+ geprint_op: string | null;
16906
+ id: string;
16907
+ klant_naam: string | null;
16908
+ order_id: string | null;
16909
+ order_number: string | null;
16910
+ print_job_id: string | null;
16911
+ regels: import("./types").Json;
16912
+ updated_at: string;
16913
+ verwerkt: boolean;
16914
+ };
16915
+ Insert: {
16916
+ barcode: string;
16917
+ bron_barcode?: string | null;
16918
+ cart_id?: string | null;
16919
+ cart_index?: number | null;
16920
+ cart_total?: number | null;
16921
+ created_at?: string;
16922
+ geprint_op?: string | null;
16923
+ id?: string;
16924
+ klant_naam?: string | null;
16925
+ order_id?: string | null;
16926
+ order_number?: string | null;
16927
+ print_job_id?: string | null;
16928
+ regels?: import("./types").Json;
16929
+ updated_at?: string;
16930
+ verwerkt?: boolean;
16931
+ };
16932
+ Update: {
16933
+ barcode?: string;
16934
+ bron_barcode?: string | null;
16935
+ cart_id?: string | null;
16936
+ cart_index?: number | null;
16937
+ cart_total?: number | null;
16938
+ created_at?: string;
16939
+ geprint_op?: string | null;
16940
+ id?: string;
16941
+ klant_naam?: string | null;
16942
+ order_id?: string | null;
16943
+ order_number?: string | null;
16944
+ print_job_id?: string | null;
16945
+ regels?: import("./types").Json;
16946
+ updated_at?: string;
16947
+ verwerkt?: boolean;
16948
+ };
16949
+ Relationships: [];
16950
+ };
16015
16951
  scan_scanners: {
16016
16952
  Row: {
16017
16953
  actief: boolean;
@@ -16021,6 +16957,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16021
16957
  naam: string;
16022
16958
  omschrijving: string | null;
16023
16959
  pincode: string | null;
16960
+ printer_id: string | null;
16024
16961
  slug: string;
16025
16962
  type: string;
16026
16963
  updated_at: string;
@@ -16035,6 +16972,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16035
16972
  naam: string;
16036
16973
  omschrijving?: string | null;
16037
16974
  pincode?: string | null;
16975
+ printer_id?: string | null;
16038
16976
  slug: string;
16039
16977
  type?: string;
16040
16978
  updated_at?: string;
@@ -16049,6 +16987,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16049
16987
  naam?: string;
16050
16988
  omschrijving?: string | null;
16051
16989
  pincode?: string | null;
16990
+ printer_id?: string | null;
16052
16991
  slug?: string;
16053
16992
  type?: string;
16054
16993
  updated_at?: string;
@@ -16057,6 +16996,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16057
16996
  };
16058
16997
  Relationships: [];
16059
16998
  };
16999
+ shell_settings: {
17000
+ Row: {
17001
+ created_at: string;
17002
+ default_path: string | null;
17003
+ shell_id: string;
17004
+ updated_at: string;
17005
+ };
17006
+ Insert: {
17007
+ created_at?: string;
17008
+ default_path?: string | null;
17009
+ shell_id: string;
17010
+ updated_at?: string;
17011
+ };
17012
+ Update: {
17013
+ created_at?: string;
17014
+ default_path?: string | null;
17015
+ shell_id?: string;
17016
+ updated_at?: string;
17017
+ };
17018
+ Relationships: [];
17019
+ };
16060
17020
  sick_periods: {
16061
17021
  Row: {
16062
17022
  created_at: string;
@@ -16676,6 +17636,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16676
17636
  isOneToOne: false;
16677
17637
  referencedRelation: "werkbonnen";
16678
17638
  referencedColumns: ["id"];
17639
+ }, {
17640
+ foreignKeyName: "time_logs_work_order_id_fkey";
17641
+ columns: ["work_order_id"];
17642
+ isOneToOne: false;
17643
+ referencedRelation: "wo_overview";
17644
+ referencedColumns: ["id"];
16679
17645
  }];
16680
17646
  };
16681
17647
  time_off_entries: {
@@ -17969,6 +18935,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
17969
18935
  isOneToOne: false;
17970
18936
  referencedRelation: "werkbonnen";
17971
18937
  referencedColumns: ["id"];
18938
+ }, {
18939
+ foreignKeyName: "uren_entries_werkbon_id_fkey";
18940
+ columns: ["werkbon_id"];
18941
+ isOneToOne: false;
18942
+ referencedRelation: "wo_overview";
18943
+ referencedColumns: ["id"];
17972
18944
  }];
17973
18945
  };
17974
18946
  uren_exports: {
@@ -18692,6 +19664,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18692
19664
  isOneToOne: true;
18693
19665
  referencedRelation: "werkbonnen";
18694
19666
  referencedColumns: ["id"];
19667
+ }, {
19668
+ foreignKeyName: "werkbon_facturatie_controle_werkbon_id_fkey";
19669
+ columns: ["werkbon_id"];
19670
+ isOneToOne: true;
19671
+ referencedRelation: "wo_overview";
19672
+ referencedColumns: ["id"];
18695
19673
  }];
18696
19674
  };
18697
19675
  werkbon_facturatie_settings: {
@@ -18779,6 +19757,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18779
19757
  isOneToOne: false;
18780
19758
  referencedRelation: "werkbonnen";
18781
19759
  referencedColumns: ["id"];
19760
+ }, {
19761
+ foreignKeyName: "werkbon_materials_werkbon_id_fkey";
19762
+ columns: ["werkbon_id"];
19763
+ isOneToOne: false;
19764
+ referencedRelation: "wo_overview";
19765
+ referencedColumns: ["id"];
18782
19766
  }];
18783
19767
  };
18784
19768
  werkbon_package_ai_rules: {
@@ -18962,6 +19946,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18962
19946
  isOneToOne: false;
18963
19947
  referencedRelation: "werkbonnen";
18964
19948
  referencedColumns: ["id"];
19949
+ }, {
19950
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
19951
+ columns: ["werkbon_id"];
19952
+ isOneToOne: false;
19953
+ referencedRelation: "wo_overview";
19954
+ referencedColumns: ["id"];
18965
19955
  }];
18966
19956
  };
18967
19957
  werkbon_packages: {
@@ -19052,6 +20042,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19052
20042
  isOneToOne: false;
19053
20043
  referencedRelation: "werkbonnen";
19054
20044
  referencedColumns: ["id"];
20045
+ }, {
20046
+ foreignKeyName: "werkbon_photos_werkbon_id_fkey";
20047
+ columns: ["werkbon_id"];
20048
+ isOneToOne: false;
20049
+ referencedRelation: "wo_overview";
20050
+ referencedColumns: ["id"];
19055
20051
  }];
19056
20052
  };
19057
20053
  werkbon_time_logs: {
@@ -19091,6 +20087,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19091
20087
  isOneToOne: false;
19092
20088
  referencedRelation: "werkbonnen";
19093
20089
  referencedColumns: ["id"];
20090
+ }, {
20091
+ foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
20092
+ columns: ["werkbon_id"];
20093
+ isOneToOne: false;
20094
+ referencedRelation: "wo_overview";
20095
+ referencedColumns: ["id"];
19094
20096
  }];
19095
20097
  };
19096
20098
  werkbonnen: {
@@ -19214,6 +20216,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19214
20216
  isOneToOne: false;
19215
20217
  referencedRelation: "werkbonnen";
19216
20218
  referencedColumns: ["id"];
20219
+ }, {
20220
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
20221
+ columns: ["parent_werkbon_id"];
20222
+ isOneToOne: false;
20223
+ referencedRelation: "wo_overview";
20224
+ referencedColumns: ["id"];
19217
20225
  }, {
19218
20226
  foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
19219
20227
  columns: ["source_mailbox_message_id"];
@@ -19682,6 +20690,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19682
20690
  };
19683
20691
  Relationships: [];
19684
20692
  };
20693
+ logistics_product_dimensions: {
20694
+ Row: {
20695
+ dimension_source: string | null;
20696
+ fust_height_mm: number | null;
20697
+ fust_length_mm: number | null;
20698
+ fust_name: string | null;
20699
+ fust_source: string | null;
20700
+ fust_type_id: string | null;
20701
+ fust_width_mm: number | null;
20702
+ height_source: string | null;
20703
+ missing_reason: string | null;
20704
+ plant_height_cm: number | null;
20705
+ plants_per_crate: number | null;
20706
+ product_id: string | null;
20707
+ product_name: string | null;
20708
+ };
20709
+ Relationships: [];
20710
+ };
19685
20711
  manufacture_product_possible_stock_view: {
19686
20712
  Row: {
19687
20713
  component_count: number | null;
@@ -19719,6 +20745,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19719
20745
  isOneToOne: false;
19720
20746
  referencedRelation: "werkbonnen";
19721
20747
  referencedColumns: ["id"];
20748
+ }, {
20749
+ foreignKeyName: "planning_items_werkbon_id_fkey";
20750
+ columns: ["werkbon_id"];
20751
+ isOneToOne: false;
20752
+ referencedRelation: "wo_overview";
20753
+ referencedColumns: ["id"];
19722
20754
  }];
19723
20755
  };
19724
20756
  product_group_stock_view: {
@@ -20180,6 +21212,81 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20180
21212
  isOneToOne: false;
20181
21213
  referencedRelation: "werkbonnen";
20182
21214
  referencedColumns: ["id"];
21215
+ }, {
21216
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
21217
+ columns: ["werkbon_id"];
21218
+ isOneToOne: false;
21219
+ referencedRelation: "wo_overview";
21220
+ referencedColumns: ["id"];
21221
+ }];
21222
+ };
21223
+ wo_overview: {
21224
+ Row: {
21225
+ assigned_user_id: string | null;
21226
+ budget_mandate_cents: number | null;
21227
+ created_at: string | null;
21228
+ customer_id: string | null;
21229
+ id: string | null;
21230
+ needs_detail_review: boolean | null;
21231
+ number: string | null;
21232
+ parent_werkbon_id: string | null;
21233
+ planning_status: string | null;
21234
+ scheduled_end_time: string | null;
21235
+ scheduled_start_time: string | null;
21236
+ source_type: string | null;
21237
+ status: string | null;
21238
+ technician_id: string | null;
21239
+ updated_at: string | null;
21240
+ work_address: string | null;
21241
+ };
21242
+ Insert: {
21243
+ assigned_user_id?: string | null;
21244
+ budget_mandate_cents?: number | null;
21245
+ created_at?: string | null;
21246
+ customer_id?: string | null;
21247
+ id?: string | null;
21248
+ needs_detail_review?: boolean | null;
21249
+ number?: string | null;
21250
+ parent_werkbon_id?: string | null;
21251
+ planning_status?: string | null;
21252
+ scheduled_end_time?: string | null;
21253
+ scheduled_start_time?: string | null;
21254
+ source_type?: string | null;
21255
+ status?: string | null;
21256
+ technician_id?: string | null;
21257
+ updated_at?: string | null;
21258
+ work_address?: string | null;
21259
+ };
21260
+ Update: {
21261
+ assigned_user_id?: string | null;
21262
+ budget_mandate_cents?: number | null;
21263
+ created_at?: string | null;
21264
+ customer_id?: string | null;
21265
+ id?: string | null;
21266
+ needs_detail_review?: boolean | null;
21267
+ number?: string | null;
21268
+ parent_werkbon_id?: string | null;
21269
+ planning_status?: string | null;
21270
+ scheduled_end_time?: string | null;
21271
+ scheduled_start_time?: string | null;
21272
+ source_type?: string | null;
21273
+ status?: string | null;
21274
+ technician_id?: string | null;
21275
+ updated_at?: string | null;
21276
+ work_address?: string | null;
21277
+ };
21278
+ Relationships: [{
21279
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21280
+ columns: ["parent_werkbon_id"];
21281
+ isOneToOne: false;
21282
+ referencedRelation: "werkbonnen";
21283
+ referencedColumns: ["id"];
21284
+ }, {
21285
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21286
+ columns: ["parent_werkbon_id"];
21287
+ isOneToOne: false;
21288
+ referencedRelation: "wo_overview";
21289
+ referencedColumns: ["id"];
20183
21290
  }];
20184
21291
  };
20185
21292
  };
@@ -20371,12 +21478,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20371
21478
  _max?: number;
20372
21479
  };
20373
21480
  Returns: {
21481
+ aflever_pogingen: number;
20374
21482
  agent_id: string | null;
21483
+ artefact_bytes: number | null;
21484
+ artefact_gereed_op: string | null;
21485
+ artefact_pad: string | null;
21486
+ artefact_sha256: string | null;
21487
+ batch_id: string | null;
20375
21488
  bron_job_id: string | null;
20376
21489
  created_at: string;
20377
21490
  documentnaam: string;
20378
21491
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20379
21492
  extern_job_id: string | null;
21493
+ fase_gestart_op: string | null;
21494
+ fase_voltooid_op: string | null;
21495
+ foutcode: string | null;
20380
21496
  foutmelding: string | null;
20381
21497
  gebruiker_id: string | null;
20382
21498
  gebruiker_naam: string;
@@ -20390,7 +21506,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20390
21506
  kopieen: number;
20391
21507
  layout_id: string | null;
20392
21508
  lokaal_opgeslagen_op: string | null;
21509
+ lokale_pdf_claim_id: string | null;
21510
+ lokale_pdf_claim_tot: string | null;
20393
21511
  lokale_pdf_fout: string | null;
21512
+ lokale_pdf_print_plek_id: string | null;
20394
21513
  lokale_pdf_status: string | null;
20395
21514
  opgepakt_op: string | null;
20396
21515
  paginas: number;
@@ -20403,6 +21522,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20403
21522
  resultaat_pdf_base64: string | null;
20404
21523
  status: Database["public"]["Enums"]["print_job_status"];
20405
21524
  updated_at: string;
21525
+ verwerkingsfase: string;
20406
21526
  volgende_poging: string | null;
20407
21527
  voltooid_op: string | null;
20408
21528
  }[];
@@ -20449,6 +21569,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20449
21569
  isSetofReturn: true;
20450
21570
  };
20451
21571
  };
21572
+ claim_local_pdf_jobs: {
21573
+ Args: {
21574
+ _max?: number;
21575
+ _print_plek_id: string;
21576
+ _writer_id: string;
21577
+ };
21578
+ Returns: {
21579
+ artefact_bytes: number;
21580
+ artefact_pad: string;
21581
+ artefact_sha256: string;
21582
+ documentnaam: string;
21583
+ id: string;
21584
+ lokale_pdf_print_plek_id: string;
21585
+ lokale_pdf_status: string;
21586
+ printer_id: string;
21587
+ resultaat_pdf_base64: string;
21588
+ status: string;
21589
+ }[];
21590
+ };
20452
21591
  claim_logistics_tasks: {
20453
21592
  Args: {
20454
21593
  _limit?: number;
@@ -20502,12 +21641,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20502
21641
  _max?: number;
20503
21642
  };
20504
21643
  Returns: {
21644
+ aflever_pogingen: number;
20505
21645
  agent_id: string | null;
21646
+ artefact_bytes: number | null;
21647
+ artefact_gereed_op: string | null;
21648
+ artefact_pad: string | null;
21649
+ artefact_sha256: string | null;
21650
+ batch_id: string | null;
20506
21651
  bron_job_id: string | null;
20507
21652
  created_at: string;
20508
21653
  documentnaam: string;
20509
21654
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20510
21655
  extern_job_id: string | null;
21656
+ fase_gestart_op: string | null;
21657
+ fase_voltooid_op: string | null;
21658
+ foutcode: string | null;
20511
21659
  foutmelding: string | null;
20512
21660
  gebruiker_id: string | null;
20513
21661
  gebruiker_naam: string;
@@ -20521,7 +21669,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20521
21669
  kopieen: number;
20522
21670
  layout_id: string | null;
20523
21671
  lokaal_opgeslagen_op: string | null;
21672
+ lokale_pdf_claim_id: string | null;
21673
+ lokale_pdf_claim_tot: string | null;
20524
21674
  lokale_pdf_fout: string | null;
21675
+ lokale_pdf_print_plek_id: string | null;
20525
21676
  lokale_pdf_status: string | null;
20526
21677
  opgepakt_op: string | null;
20527
21678
  paginas: number;
@@ -20534,6 +21685,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20534
21685
  resultaat_pdf_base64: string | null;
20535
21686
  status: Database["public"]["Enums"]["print_job_status"];
20536
21687
  updated_at: string;
21688
+ verwerkingsfase: string;
20537
21689
  volgende_poging: string | null;
20538
21690
  voltooid_op: string | null;
20539
21691
  }[];
@@ -20550,12 +21702,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20550
21702
  _max?: number;
20551
21703
  };
20552
21704
  Returns: {
21705
+ aflever_pogingen: number;
20553
21706
  agent_id: string | null;
21707
+ artefact_bytes: number | null;
21708
+ artefact_gereed_op: string | null;
21709
+ artefact_pad: string | null;
21710
+ artefact_sha256: string | null;
21711
+ batch_id: string | null;
20554
21712
  bron_job_id: string | null;
20555
21713
  created_at: string;
20556
21714
  documentnaam: string;
20557
21715
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20558
21716
  extern_job_id: string | null;
21717
+ fase_gestart_op: string | null;
21718
+ fase_voltooid_op: string | null;
21719
+ foutcode: string | null;
20559
21720
  foutmelding: string | null;
20560
21721
  gebruiker_id: string | null;
20561
21722
  gebruiker_naam: string;
@@ -20569,7 +21730,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20569
21730
  kopieen: number;
20570
21731
  layout_id: string | null;
20571
21732
  lokaal_opgeslagen_op: string | null;
21733
+ lokale_pdf_claim_id: string | null;
21734
+ lokale_pdf_claim_tot: string | null;
20572
21735
  lokale_pdf_fout: string | null;
21736
+ lokale_pdf_print_plek_id: string | null;
20573
21737
  lokale_pdf_status: string | null;
20574
21738
  opgepakt_op: string | null;
20575
21739
  paginas: number;
@@ -20582,6 +21746,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20582
21746
  resultaat_pdf_base64: string | null;
20583
21747
  status: Database["public"]["Enums"]["print_job_status"];
20584
21748
  updated_at: string;
21749
+ verwerkingsfase: string;
20585
21750
  volgende_poging: string | null;
20586
21751
  voltooid_op: string | null;
20587
21752
  }[];
@@ -20592,7 +21757,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20592
21757
  isSetofReturn: true;
20593
21758
  };
20594
21759
  };
20595
- claim_twinfield_push_batch: {
21760
+ claim_print_queue_lease: {
21761
+ Args: {
21762
+ _houder: string;
21763
+ _naam: string;
21764
+ _seconden?: number;
21765
+ };
21766
+ Returns: boolean;
21767
+ };
21768
+ claim_twinfield_push_batch: {
20596
21769
  Args: {
20597
21770
  _customer_id?: string;
20598
21771
  _limit?: number;
@@ -20717,7 +21890,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20717
21890
  cart_index: number;
20718
21891
  cart_number: string;
20719
21892
  cart_number_id: string;
21893
+ cart_seq: number;
21894
+ cart_total: number;
20720
21895
  order_id: string;
21896
+ order_number: string;
20721
21897
  order_source: string;
20722
21898
  pick_date: string;
20723
21899
  printed_at: string;
@@ -20725,6 +21901,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20725
21901
  status: string;
20726
21902
  }[];
20727
21903
  };
21904
+ control_mark_carts_delivered: {
21905
+ Args: {
21906
+ p_carts: import("./types").Json;
21907
+ };
21908
+ Returns: number;
21909
+ };
20728
21910
  count_distinct_regulatory_products: {
20729
21911
  Args: never;
20730
21912
  Returns: number;
@@ -20852,6 +22034,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20852
22034
  };
20853
22035
  Returns: undefined;
20854
22036
  };
22037
+ ensure_system_roles: {
22038
+ Args: never;
22039
+ Returns: {
22040
+ action: string;
22041
+ role_key: string;
22042
+ }[];
22043
+ };
20855
22044
  ensure_trade_item_stock_row: {
20856
22045
  Args: {
20857
22046
  p_key: string;
@@ -20918,6 +22107,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20918
22107
  };
20919
22108
  Returns: string;
20920
22109
  };
22110
+ finish_local_pdf_job: {
22111
+ Args: {
22112
+ _fout?: string;
22113
+ _job_id: string;
22114
+ _status: string;
22115
+ _writer_id: string;
22116
+ };
22117
+ Returns: boolean;
22118
+ };
20921
22119
  floriday_capture_stock_snapshot: {
20922
22120
  Args: never;
20923
22121
  Returns: number;
@@ -21197,6 +22395,36 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21197
22395
  Args: never;
21198
22396
  Returns: string;
21199
22397
  };
22398
+ handover_archief_lijst: {
22399
+ Args: never;
22400
+ Returns: import("./types").Json;
22401
+ };
22402
+ handover_archiveren: {
22403
+ Args: {
22404
+ _archief?: boolean;
22405
+ _module_id: string;
22406
+ };
22407
+ Returns: boolean;
22408
+ };
22409
+ handover_check_afronden: {
22410
+ Args: {
22411
+ _module_id: string;
22412
+ };
22413
+ Returns: boolean;
22414
+ };
22415
+ handover_check_markeren: {
22416
+ Args: {
22417
+ _module_ids: string[];
22418
+ _reden?: string;
22419
+ };
22420
+ Returns: number;
22421
+ };
22422
+ handover_fingerprint_maken: {
22423
+ Args: {
22424
+ _module_id?: string;
22425
+ };
22426
+ Returns: import("./types").Json;
22427
+ };
21200
22428
  handover_get: {
21201
22429
  Args: {
21202
22430
  _module_id: string;
@@ -21227,6 +22455,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21227
22455
  };
21228
22456
  Returns: boolean;
21229
22457
  };
22458
+ handover_module_meta_zetten: {
22459
+ Args: {
22460
+ _module_id: string;
22461
+ _project_url?: string;
22462
+ _publicatie_url?: string;
22463
+ };
22464
+ Returns: boolean;
22465
+ };
21230
22466
  handover_norm_naam: {
21231
22467
  Args: {
21232
22468
  _naam: string;
@@ -21247,6 +22483,23 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21247
22483
  };
21248
22484
  Returns: number;
21249
22485
  };
22486
+ handover_publish_uit_github: {
22487
+ Args: {
22488
+ _bezit_tabellen?: string[];
22489
+ _bron_soort?: string;
22490
+ _commit?: string;
22491
+ _contractfuncties?: string[];
22492
+ _inhoud_md: string;
22493
+ _module_id: string;
22494
+ _module_titel: string;
22495
+ _ontbrekende_contracten?: string[];
22496
+ _pad?: string;
22497
+ _repo?: string;
22498
+ _samenvatting?: string;
22499
+ _versie_label?: string;
22500
+ };
22501
+ Returns: import("./types").Json;
22502
+ };
21250
22503
  handover_publish_via_token: {
21251
22504
  Args: {
21252
22505
  _bevindingen?: string;
@@ -21260,7 +22513,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21260
22513
  _samenvatting?: string;
21261
22514
  _token_hash: string;
21262
22515
  };
21263
- Returns: number;
22516
+ Returns: import("./types").Json;
21264
22517
  };
21265
22518
  handover_status: {
21266
22519
  Args: never;
@@ -21272,23 +22525,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21272
22525
  };
21273
22526
  Returns: string;
21274
22527
  };
21275
- handover_token_intrekken: {
21276
- Args: {
21277
- _id: string;
21278
- };
21279
- Returns: boolean;
21280
- };
21281
- handover_token_lijst: {
21282
- Args: never;
21283
- Returns: import("./types").Json;
21284
- };
21285
- handover_token_maken: {
21286
- Args: {
21287
- _label?: string;
21288
- _module_id: string;
21289
- };
21290
- Returns: string;
21291
- };
21292
22528
  handover_update: {
21293
22529
  Args: {
21294
22530
  _bezit_tabellen?: string[];
@@ -21316,12 +22552,31 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21316
22552
  };
21317
22553
  Returns: boolean;
21318
22554
  };
22555
+ handover_versie_verwijderen: {
22556
+ Args: {
22557
+ _module_id: string;
22558
+ _versie: number;
22559
+ };
22560
+ Returns: boolean;
22561
+ };
21319
22562
  handover_versies: {
21320
22563
  Args: {
21321
22564
  _module_id: string;
21322
22565
  };
21323
22566
  Returns: import("./types").Json;
21324
22567
  };
22568
+ handover_verwijderen: {
22569
+ Args: {
22570
+ _module_id: string;
22571
+ };
22572
+ Returns: boolean;
22573
+ };
22574
+ handover_wijzigingen: {
22575
+ Args: {
22576
+ _module_id?: string;
22577
+ };
22578
+ Returns: import("./types").Json;
22579
+ };
21325
22580
  has_module_permission: {
21326
22581
  Args: {
21327
22582
  _min: string;
@@ -21656,6 +22911,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21656
22911
  };
21657
22912
  Returns: string;
21658
22913
  };
22914
+ logistics_cart_handled: {
22915
+ Args: {
22916
+ p_cart_index: number;
22917
+ p_order_id: string;
22918
+ };
22919
+ Returns: boolean;
22920
+ };
21659
22921
  logistics_cart_index: {
21660
22922
  Args: {
21661
22923
  p_from?: string;
@@ -21665,6 +22927,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21665
22927
  cart_id: string;
21666
22928
  cart_index: number;
21667
22929
  cart_label: string;
22930
+ cart_number: string;
22931
+ cart_seq: number;
22932
+ cart_total: number;
21668
22933
  delivery_date: string;
21669
22934
  is_announced: boolean;
21670
22935
  is_controlled: boolean;
@@ -21679,12 +22944,79 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21679
22944
  task_status: string;
21680
22945
  }[];
21681
22946
  };
22947
+ logistics_cart_layout_method: {
22948
+ Args: never;
22949
+ Returns: import("./types").Json;
22950
+ };
22951
+ logistics_cart_plan_overview: {
22952
+ Args: {
22953
+ p_days?: number;
22954
+ };
22955
+ Returns: {
22956
+ cart_total: number;
22957
+ delivery_date: string;
22958
+ order_ref: string;
22959
+ plan_ready: boolean;
22960
+ reason: string;
22961
+ released: boolean;
22962
+ }[];
22963
+ };
22964
+ logistics_cart_plan_status: {
22965
+ Args: {
22966
+ p_ref: string;
22967
+ };
22968
+ Returns: import("./types").Json;
22969
+ };
22970
+ logistics_cart_seq: {
22971
+ Args: {
22972
+ p_order_uuid?: string;
22973
+ };
22974
+ Returns: {
22975
+ cart_id: string;
22976
+ cart_index: number;
22977
+ cart_number: string;
22978
+ cart_seq: number;
22979
+ cart_total: number;
22980
+ order_uuid: string;
22981
+ }[];
22982
+ };
21682
22983
  logistics_cart_slip_plan: {
21683
22984
  Args: {
21684
22985
  p_order_id: string;
21685
22986
  };
21686
22987
  Returns: import("./types").Json;
21687
22988
  };
22989
+ logistics_cart_units: {
22990
+ Args: {
22991
+ p_from?: string;
22992
+ p_to?: string;
22993
+ };
22994
+ Returns: {
22995
+ cart_id: string;
22996
+ cart_index: number;
22997
+ cart_label: string;
22998
+ cart_number: string;
22999
+ cart_seq: number;
23000
+ cart_total: number;
23001
+ delivery_date: string;
23002
+ is_announced: boolean;
23003
+ is_buffer: boolean;
23004
+ is_controlled: boolean;
23005
+ is_printed: boolean;
23006
+ is_shared: boolean;
23007
+ order_number: string;
23008
+ order_source: string;
23009
+ order_uuid: string;
23010
+ pick_date: string;
23011
+ printed_at: string;
23012
+ shifted: boolean;
23013
+ task_status: string;
23014
+ unit_buffer: string;
23015
+ unit_order_count: number;
23016
+ unit_orders: string[];
23017
+ unit_ref: string;
23018
+ }[];
23019
+ };
21688
23020
  logistics_check_order_allowed: {
21689
23021
  Args: {
21690
23022
  p_lines: import("./types").Json;
@@ -21840,7 +23172,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21840
23172
  announced_carts: number;
21841
23173
  control_carts: number;
21842
23174
  delivery_carts: number;
23175
+ duplicate_carts: number;
21843
23176
  ok: boolean;
23177
+ orphan_carts: number;
21844
23178
  orphan_tasks: number;
21845
23179
  pick_date: string;
21846
23180
  raw_carts: number;
@@ -21848,6 +23182,85 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21848
23182
  station_carts: number;
21849
23183
  }[];
21850
23184
  };
23185
+ logistics_control_scan_approve: {
23186
+ Args: {
23187
+ p_allow_reprint?: boolean;
23188
+ p_barcode: string;
23189
+ p_printer_id?: string;
23190
+ p_scanner_id?: string;
23191
+ };
23192
+ Returns: import("./types").Json;
23193
+ };
23194
+ logistics_control_scan_claim: {
23195
+ Args: {
23196
+ _lease_seconds?: number;
23197
+ _limit?: number;
23198
+ };
23199
+ Returns: {
23200
+ approved_at: string | null;
23201
+ attempts: number;
23202
+ barcode: string;
23203
+ cart_id: string;
23204
+ created_at: string;
23205
+ document_url: string | null;
23206
+ error: string | null;
23207
+ error_code: string | null;
23208
+ fulfillment_order_id: string | null;
23209
+ id: string;
23210
+ is_floriday: boolean;
23211
+ locked_until: string | null;
23212
+ order_id: string | null;
23213
+ order_number: string | null;
23214
+ print_job_id: string | null;
23215
+ printed_at: string | null;
23216
+ printer_id: string | null;
23217
+ scanner_id: string | null;
23218
+ status: string;
23219
+ updated_at: string;
23220
+ }[];
23221
+ SetofOptions: {
23222
+ from: "*";
23223
+ to: "logistics_control_scan";
23224
+ isOneToOne: false;
23225
+ isSetofReturn: true;
23226
+ };
23227
+ };
23228
+ logistics_control_scan_finish: {
23229
+ Args: {
23230
+ _document_url?: string;
23231
+ _error?: string;
23232
+ _error_code?: string;
23233
+ _fulfillment_order_id?: string;
23234
+ _id: string;
23235
+ _ok: boolean;
23236
+ _print_job_id?: string;
23237
+ _status?: string;
23238
+ };
23239
+ Returns: import("./types").Json;
23240
+ };
23241
+ logistics_control_scan_lookup: {
23242
+ Args: {
23243
+ p_barcode: string;
23244
+ };
23245
+ Returns: import("./types").Json;
23246
+ };
23247
+ logistics_control_scan_overview: {
23248
+ Args: {
23249
+ _date?: string;
23250
+ _scanner_id?: string;
23251
+ };
23252
+ Returns: import("./types").Json;
23253
+ };
23254
+ logistics_control_scan_retry: {
23255
+ Args: {
23256
+ _id: string;
23257
+ };
23258
+ Returns: import("./types").Json;
23259
+ };
23260
+ logistics_control_settings: {
23261
+ Args: never;
23262
+ Returns: import("./types").Json;
23263
+ };
21851
23264
  logistics_delay_customer_email: {
21852
23265
  Args: {
21853
23266
  p_customer: string;
@@ -21915,6 +23328,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21915
23328
  };
21916
23329
  Returns: import("./types").Json;
21917
23330
  };
23331
+ logistics_enqueue_sticker_with_slip: {
23332
+ Args: {
23333
+ _cart_id: string;
23334
+ _is_herprint: boolean;
23335
+ _printer_id: string;
23336
+ _queue_item_id: string;
23337
+ _session_id: string;
23338
+ _slip_job_id: string;
23339
+ };
23340
+ Returns: string;
23341
+ };
21918
23342
  logistics_ensure_cart_barcode: {
21919
23343
  Args: {
21920
23344
  _cart_id: string;
@@ -22056,6 +23480,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22056
23480
  };
22057
23481
  Returns: string;
22058
23482
  };
23483
+ logistics_fulfill_barcode_requests: {
23484
+ Args: {
23485
+ p_limit?: number;
23486
+ };
23487
+ Returns: import("./types").Json;
23488
+ };
23489
+ logistics_full_cart_min_layers: {
23490
+ Args: never;
23491
+ Returns: number;
23492
+ };
23493
+ logistics_full_cart_min_percentage: {
23494
+ Args: never;
23495
+ Returns: number;
23496
+ };
23497
+ logistics_is_pick_workday: {
23498
+ Args: {
23499
+ p_date: string;
23500
+ };
23501
+ Returns: boolean;
23502
+ };
22059
23503
  logistics_live_carriers: {
22060
23504
  Args: {
22061
23505
  p_order_ref: string;
@@ -22068,6 +23512,20 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22068
23512
  };
22069
23513
  Returns: number;
22070
23514
  };
23515
+ logistics_next_workday_date: {
23516
+ Args: {
23517
+ p_date: string;
23518
+ p_days?: string[];
23519
+ };
23520
+ Returns: string;
23521
+ };
23522
+ logistics_next_workday_not_past: {
23523
+ Args: {
23524
+ p_days: string[];
23525
+ p_ts: string;
23526
+ };
23527
+ Returns: string;
23528
+ };
22071
23529
  logistics_not_past: {
22072
23530
  Args: {
22073
23531
  p_ts: string;
@@ -22080,6 +23538,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22080
23538
  };
22081
23539
  Returns: number;
22082
23540
  };
23541
+ logistics_order_handled: {
23542
+ Args: {
23543
+ p_order_uuid: string;
23544
+ };
23545
+ Returns: boolean;
23546
+ };
23547
+ logistics_order_is_topick: {
23548
+ Args: {
23549
+ p_order_id: string;
23550
+ p_order_number: string;
23551
+ };
23552
+ Returns: boolean;
23553
+ };
22083
23554
  logistics_order_overview: {
22084
23555
  Args: {
22085
23556
  p_from?: string;
@@ -22105,9 +23576,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22105
23576
  };
22106
23577
  Returns: string;
22107
23578
  };
22108
- logistics_parse_pickup: {
23579
+ logistics_order_released: {
22109
23580
  Args: {
22110
- p_value: string;
23581
+ p_order_ref: string;
23582
+ };
23583
+ Returns: boolean;
23584
+ };
23585
+ logistics_parse_pickup: {
23586
+ Args: {
23587
+ p_value: string;
22111
23588
  };
22112
23589
  Returns: string;
22113
23590
  };
@@ -22127,10 +23604,37 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22127
23604
  shifted_count: number;
22128
23605
  }[];
22129
23606
  };
23607
+ logistics_pick_barcode_enabled: {
23608
+ Args: never;
23609
+ Returns: boolean;
23610
+ };
22130
23611
  logistics_pick_email_purpose: {
22131
23612
  Args: never;
22132
23613
  Returns: string;
22133
23614
  };
23615
+ logistics_pick_mode: {
23616
+ Args: never;
23617
+ Returns: import("./types").Json;
23618
+ };
23619
+ logistics_pick_start_estimate: {
23620
+ Args: {
23621
+ p_order: import("./types").Json;
23622
+ s: import("./types").Json;
23623
+ };
23624
+ Returns: string;
23625
+ };
23626
+ logistics_pick_units: {
23627
+ Args: never;
23628
+ Returns: {
23629
+ is_buffer: boolean;
23630
+ order_number: string;
23631
+ order_uuid: string;
23632
+ unit_buffer: string;
23633
+ unit_order_count: number;
23634
+ unit_orders: string[];
23635
+ unit_ref: string;
23636
+ }[];
23637
+ };
22134
23638
  logistics_plan_all: {
22135
23639
  Args: {
22136
23640
  p_user_id?: string;
@@ -22217,6 +23721,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22217
23721
  };
22218
23722
  Returns: number;
22219
23723
  };
23724
+ logistics_prune_buffer_member_queue: {
23725
+ Args: never;
23726
+ Returns: number;
23727
+ };
23728
+ logistics_prune_handled_pick_queue: {
23729
+ Args: never;
23730
+ Returns: number;
23731
+ };
22220
23732
  logistics_queue_capacity_email: {
22221
23733
  Args: {
22222
23734
  p_alert_id: string;
@@ -22249,6 +23761,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22249
23761
  Args: never;
22250
23762
  Returns: import("./types").Json;
22251
23763
  };
23764
+ logistics_refresh_pickup_moments: {
23765
+ Args: {
23766
+ p_weeks?: number;
23767
+ };
23768
+ Returns: import("./types").Json;
23769
+ };
22252
23770
  logistics_report_delay: {
22253
23771
  Args: {
22254
23772
  p_expected_date?: string;
@@ -22355,6 +23873,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22355
23873
  };
22356
23874
  Returns: string;
22357
23875
  };
23876
+ logistics_scan_resolve: {
23877
+ Args: {
23878
+ p_code: string;
23879
+ };
23880
+ Returns: import("./types").Json;
23881
+ };
22358
23882
  logistics_schedule_tasks: {
22359
23883
  Args: never;
22360
23884
  Returns: number;
@@ -22389,6 +23913,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22389
23913
  };
22390
23914
  Returns: import("./types").Json;
22391
23915
  };
23916
+ logistics_sticker_follows_slip: {
23917
+ Args: never;
23918
+ Returns: boolean;
23919
+ };
22392
23920
  logistics_supersede_stale_tasks: {
22393
23921
  Args: {
22394
23922
  p_keep: string[];
@@ -22440,6 +23968,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22440
23968
  };
22441
23969
  Returns: string;
22442
23970
  };
23971
+ logistics_write_buffer_layer_positions: {
23972
+ Args: {
23973
+ p_buffer_id: string;
23974
+ };
23975
+ Returns: number;
23976
+ };
23977
+ logistics_write_cart_layer_positions: {
23978
+ Args: {
23979
+ p_cart_id: string;
23980
+ };
23981
+ Returns: number;
23982
+ };
22443
23983
  mark_offer_clicked: {
22444
23984
  Args: {
22445
23985
  p_code: string;
@@ -22472,6 +24012,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22472
24012
  };
22473
24013
  Returns: undefined;
22474
24014
  };
24015
+ move_cart_layer_position: {
24016
+ Args: {
24017
+ p_id: string;
24018
+ p_layer: number;
24019
+ p_x: number;
24020
+ p_y: number;
24021
+ };
24022
+ Returns: undefined;
24023
+ };
22475
24024
  my_module_permissions: {
22476
24025
  Args: never;
22477
24026
  Returns: {
@@ -22543,6 +24092,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22543
24092
  };
22544
24093
  Returns: import("./types").Json;
22545
24094
  };
24095
+ order_heeft_bevestigde_karren: {
24096
+ Args: {
24097
+ p_order_id: string;
24098
+ };
24099
+ Returns: boolean;
24100
+ };
22546
24101
  order_number_prefix: {
22547
24102
  Args: {
22548
24103
  p_custom_fields?: import("./types").Json;
@@ -22578,6 +24133,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22578
24133
  online: boolean;
22579
24134
  }[];
22580
24135
  };
24136
+ pick_available_pick_days: {
24137
+ Args: {
24138
+ _max_days?: number;
24139
+ };
24140
+ Returns: {
24141
+ orders: number;
24142
+ pick_day: string;
24143
+ }[];
24144
+ };
24145
+ pick_buffer_order_ids: {
24146
+ Args: {
24147
+ _order_id: string;
24148
+ };
24149
+ Returns: string[];
24150
+ };
24151
+ pick_cart_breakdown: {
24152
+ Args: {
24153
+ _order_id: string;
24154
+ };
24155
+ Returns: import("./types").Json;
24156
+ };
22581
24157
  pick_claim_document: {
22582
24158
  Args: {
22583
24159
  _queue_item_id: string;
@@ -22631,6 +24207,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22631
24207
  pick_claim_next_document: {
22632
24208
  Args: {
22633
24209
  _country_code: string;
24210
+ _pick_day?: string;
22634
24211
  _screen_id: string;
22635
24212
  _session_id: string;
22636
24213
  _station_id: string;
@@ -22782,6 +24359,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22782
24359
  isSetofReturn: false;
22783
24360
  };
22784
24361
  };
24362
+ pick_complete_print_carts: {
24363
+ Args: {
24364
+ _cart_ids: string[];
24365
+ _queue_item_id: string;
24366
+ _session_id: string;
24367
+ };
24368
+ Returns: import("./types").Json;
24369
+ };
22785
24370
  pick_current_pick_day: {
22786
24371
  Args: never;
22787
24372
  Returns: string;
@@ -22818,6 +24403,65 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22818
24403
  };
22819
24404
  Returns: string;
22820
24405
  };
24406
+ pick_enqueue_print_job_from_cart: {
24407
+ Args: {
24408
+ _cart_id: string;
24409
+ _is_herprint: boolean;
24410
+ _printer_id: string;
24411
+ _queue_item_id: string;
24412
+ _selected_cart: import("./types").Json;
24413
+ _session_id: string;
24414
+ };
24415
+ Returns: string;
24416
+ };
24417
+ pick_mark_printed: {
24418
+ Args: {
24419
+ _queue_item_id: string;
24420
+ _reden?: string;
24421
+ _session_id: string;
24422
+ };
24423
+ Returns: {
24424
+ announced_at: string;
24425
+ assigned_user_id: string | null;
24426
+ barcode: string | null;
24427
+ cancelled_at: string | null;
24428
+ cart_count: number;
24429
+ completed_at: string | null;
24430
+ country_code: string | null;
24431
+ created_at: string;
24432
+ customer_name: string | null;
24433
+ delivery_address: string | null;
24434
+ document_number: string | null;
24435
+ document_type_id: string | null;
24436
+ due_at: string | null;
24437
+ id: string;
24438
+ is_urgent: boolean;
24439
+ line_count: number;
24440
+ order_number: string | null;
24441
+ order_type: string | null;
24442
+ payload: import("./types").Json;
24443
+ print_count: number;
24444
+ print_job_id: string | null;
24445
+ printed_at: string | null;
24446
+ printed_by: string | null;
24447
+ printed_cart_ids: import("./types").Json;
24448
+ printer_id: string | null;
24449
+ priority: number;
24450
+ reference: string | null;
24451
+ route: string | null;
24452
+ screen_id: string | null;
24453
+ station_id: string | null;
24454
+ status_id: string | null;
24455
+ updated_at: string;
24456
+ warnings: import("./types").Json;
24457
+ };
24458
+ SetofOptions: {
24459
+ from: "*";
24460
+ to: "pick_queue";
24461
+ isOneToOne: true;
24462
+ isSetofReturn: false;
24463
+ };
24464
+ };
22821
24465
  pick_order_context: {
22822
24466
  Args: {
22823
24467
  _order_id?: string;
@@ -22838,6 +24482,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22838
24482
  };
22839
24483
  Returns: import("./types").Json;
22840
24484
  };
24485
+ pick_print_jobs_status: {
24486
+ Args: {
24487
+ _job_ids: string[];
24488
+ };
24489
+ Returns: import("./types").Json[];
24490
+ };
22841
24491
  pick_print_plekken: {
22842
24492
  Args: never;
22843
24493
  Returns: {
@@ -22846,6 +24496,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22846
24496
  omschrijving: string;
22847
24497
  }[];
22848
24498
  };
24499
+ pick_queue_cart_plan: {
24500
+ Args: {
24501
+ _queue_item_id: string;
24502
+ };
24503
+ Returns: import("./types").Json;
24504
+ };
22849
24505
  pick_reference_data_status: {
22850
24506
  Args: never;
22851
24507
  Returns: import("./types").Json;
@@ -22860,6 +24516,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22860
24516
  };
22861
24517
  Returns: undefined;
22862
24518
  };
24519
+ pick_report_missing_cart_plan: {
24520
+ Args: never;
24521
+ Returns: import("./types").Json;
24522
+ };
24523
+ pick_reprint_cart: {
24524
+ Args: {
24525
+ _cart_id: string;
24526
+ _queue_item_id: string;
24527
+ _session_id: string;
24528
+ _throttle_seconds?: number;
24529
+ };
24530
+ Returns: string;
24531
+ };
22863
24532
  pick_reprint_document: {
22864
24533
  Args: {
22865
24534
  _queue_item_id: string;
@@ -22962,6 +24631,151 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22962
24631
  isSetofReturn: false;
22963
24632
  };
22964
24633
  };
24634
+ pick_reset_print_job: {
24635
+ Args: {
24636
+ _cart_id: string;
24637
+ _job_id: string;
24638
+ _queue_item_id: string;
24639
+ _session_id: string;
24640
+ };
24641
+ Returns: {
24642
+ announced_at: string;
24643
+ assigned_user_id: string | null;
24644
+ barcode: string | null;
24645
+ cancelled_at: string | null;
24646
+ cart_count: number;
24647
+ completed_at: string | null;
24648
+ country_code: string | null;
24649
+ created_at: string;
24650
+ customer_name: string | null;
24651
+ delivery_address: string | null;
24652
+ document_number: string | null;
24653
+ document_type_id: string | null;
24654
+ due_at: string | null;
24655
+ id: string;
24656
+ is_urgent: boolean;
24657
+ line_count: number;
24658
+ order_number: string | null;
24659
+ order_type: string | null;
24660
+ payload: import("./types").Json;
24661
+ print_count: number;
24662
+ print_job_id: string | null;
24663
+ printed_at: string | null;
24664
+ printed_by: string | null;
24665
+ printed_cart_ids: import("./types").Json;
24666
+ printer_id: string | null;
24667
+ priority: number;
24668
+ reference: string | null;
24669
+ route: string | null;
24670
+ screen_id: string | null;
24671
+ station_id: string | null;
24672
+ status_id: string | null;
24673
+ updated_at: string;
24674
+ warnings: import("./types").Json;
24675
+ };
24676
+ SetofOptions: {
24677
+ from: "*";
24678
+ to: "pick_queue";
24679
+ isOneToOne: true;
24680
+ isSetofReturn: false;
24681
+ };
24682
+ };
24683
+ pick_reset_print_jobs: {
24684
+ Args: {
24685
+ _cart_ids: string[];
24686
+ _job_ids: string[];
24687
+ _queue_item_id: string;
24688
+ _session_id: string;
24689
+ };
24690
+ Returns: {
24691
+ announced_at: string;
24692
+ assigned_user_id: string | null;
24693
+ barcode: string | null;
24694
+ cancelled_at: string | null;
24695
+ cart_count: number;
24696
+ completed_at: string | null;
24697
+ country_code: string | null;
24698
+ created_at: string;
24699
+ customer_name: string | null;
24700
+ delivery_address: string | null;
24701
+ document_number: string | null;
24702
+ document_type_id: string | null;
24703
+ due_at: string | null;
24704
+ id: string;
24705
+ is_urgent: boolean;
24706
+ line_count: number;
24707
+ order_number: string | null;
24708
+ order_type: string | null;
24709
+ payload: import("./types").Json;
24710
+ print_count: number;
24711
+ print_job_id: string | null;
24712
+ printed_at: string | null;
24713
+ printed_by: string | null;
24714
+ printed_cart_ids: import("./types").Json;
24715
+ printer_id: string | null;
24716
+ priority: number;
24717
+ reference: string | null;
24718
+ route: string | null;
24719
+ screen_id: string | null;
24720
+ station_id: string | null;
24721
+ status_id: string | null;
24722
+ updated_at: string;
24723
+ warnings: import("./types").Json;
24724
+ };
24725
+ SetofOptions: {
24726
+ from: "*";
24727
+ to: "pick_queue";
24728
+ isOneToOne: true;
24729
+ isSetofReturn: false;
24730
+ };
24731
+ };
24732
+ pick_restore_to_queue: {
24733
+ Args: {
24734
+ _queue_item_id: string;
24735
+ _session_id: string;
24736
+ };
24737
+ Returns: {
24738
+ announced_at: string;
24739
+ assigned_user_id: string | null;
24740
+ barcode: string | null;
24741
+ cancelled_at: string | null;
24742
+ cart_count: number;
24743
+ completed_at: string | null;
24744
+ country_code: string | null;
24745
+ created_at: string;
24746
+ customer_name: string | null;
24747
+ delivery_address: string | null;
24748
+ document_number: string | null;
24749
+ document_type_id: string | null;
24750
+ due_at: string | null;
24751
+ id: string;
24752
+ is_urgent: boolean;
24753
+ line_count: number;
24754
+ order_number: string | null;
24755
+ order_type: string | null;
24756
+ payload: import("./types").Json;
24757
+ print_count: number;
24758
+ print_job_id: string | null;
24759
+ printed_at: string | null;
24760
+ printed_by: string | null;
24761
+ printed_cart_ids: import("./types").Json;
24762
+ printer_id: string | null;
24763
+ priority: number;
24764
+ reference: string | null;
24765
+ route: string | null;
24766
+ screen_id: string | null;
24767
+ station_id: string | null;
24768
+ status_id: string | null;
24769
+ updated_at: string;
24770
+ warnings: import("./types").Json;
24771
+ };
24772
+ SetofOptions: {
24773
+ from: "*";
24774
+ to: "pick_queue";
24775
+ isOneToOne: true;
24776
+ isSetofReturn: false;
24777
+ };
24778
+ };
22965
24779
  pick_seed_reference_data: {
22966
24780
  Args: never;
22967
24781
  Returns: import("./types").Json;
@@ -23011,6 +24825,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23011
24825
  };
23012
24826
  Returns: string;
23013
24827
  };
24828
+ pick_sync_pick_day: {
24829
+ Args: {
24830
+ _day: string;
24831
+ };
24832
+ Returns: import("./types").Json;
24833
+ };
23014
24834
  pick_sync_queue_throttled: {
23015
24835
  Args: {
23016
24836
  _min_seconds?: number;
@@ -23240,6 +25060,20 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23240
25060
  };
23241
25061
  Returns: boolean;
23242
25062
  };
25063
+ release_local_pdf_job: {
25064
+ Args: {
25065
+ _job_id: string;
25066
+ _writer_id: string;
25067
+ };
25068
+ Returns: boolean;
25069
+ };
25070
+ release_print_queue_lease: {
25071
+ Args: {
25072
+ _houder: string;
25073
+ _naam: string;
25074
+ };
25075
+ Returns: boolean;
25076
+ };
23243
25077
  release_stale_order_invoice_links: {
23244
25078
  Args: {
23245
25079
  _minutes?: number;
@@ -23260,6 +25094,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23260
25094
  };
23261
25095
  Returns: import("./types").Json;
23262
25096
  };
25097
+ reset_cart_layer_positions: {
25098
+ Args: {
25099
+ p_cart_id: string;
25100
+ };
25101
+ Returns: number;
25102
+ };
23263
25103
  reset_floriday_sync_cursor: {
23264
25104
  Args: {
23265
25105
  p_connection_id: string;
@@ -23323,6 +25163,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23323
25163
  };
23324
25164
  Returns: import("./types").Json;
23325
25165
  };
25166
+ roles_without_enum_mapping: {
25167
+ Args: never;
25168
+ Returns: {
25169
+ assignment_count: number;
25170
+ id: string;
25171
+ key: string;
25172
+ name: string;
25173
+ }[];
25174
+ };
23326
25175
  ruim_print_jobs_op: {
23327
25176
  Args: {
23328
25177
  _bewaar_dagen?: number;
@@ -23337,6 +25186,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23337
25186
  Args: never;
23338
25187
  Returns: undefined;
23339
25188
  };
25189
+ run_floriday_stock_reconcile: {
25190
+ Args: never;
25191
+ Returns: undefined;
25192
+ };
23340
25193
  run_logistics_tasks_dispatch: {
23341
25194
  Args: never;
23342
25195
  Returns: undefined;
@@ -23355,18 +25208,98 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23355
25208
  };
23356
25209
  Returns: import("./types").Json;
23357
25210
  };
25211
+ scan_complete_cart: {
25212
+ Args: {
25213
+ p_allow_reprint?: boolean;
25214
+ p_cart_id: string;
25215
+ p_print?: boolean;
25216
+ p_scanner_id?: string;
25217
+ };
25218
+ Returns: import("./types").Json;
25219
+ };
23358
25220
  scan_dashboard_stats: {
23359
25221
  Args: {
23360
25222
  p_dagen?: number;
23361
25223
  };
23362
25224
  Returns: import("./types").Json;
23363
25225
  };
25226
+ scan_eindcontrole: {
25227
+ Args: {
25228
+ p_barcode: string;
25229
+ p_scanner_id?: string;
25230
+ };
25231
+ Returns: import("./types").Json;
25232
+ };
23364
25233
  scan_finish_kar: {
23365
25234
  Args: {
23366
25235
  p_kar_id: string;
23367
25236
  };
23368
25237
  Returns: import("./types").Json;
23369
25238
  };
25239
+ scan_kar_compleet: {
25240
+ Args: {
25241
+ p_allow_reprint?: boolean;
25242
+ p_sessie_id: string;
25243
+ };
25244
+ Returns: import("./types").Json;
25245
+ };
25246
+ scan_kar_regels: {
25247
+ Args: {
25248
+ p_cart_id: string;
25249
+ };
25250
+ Returns: import("./types").Json;
25251
+ };
25252
+ scan_log_code: {
25253
+ Args: {
25254
+ p_code: string;
25255
+ p_latency_ms?: number;
25256
+ p_message?: string;
25257
+ p_result: string;
25258
+ p_scanner_key?: string;
25259
+ };
25260
+ Returns: string;
25261
+ };
25262
+ scan_open_pakbonnen: {
25263
+ Args: {
25264
+ p_dagen?: number;
25265
+ };
25266
+ Returns: import("./types").Json;
25267
+ };
25268
+ scan_pakbon_lookup: {
25269
+ Args: {
25270
+ p_barcode: string;
25271
+ };
25272
+ Returns: import("./types").Json;
25273
+ };
25274
+ scan_pakbon_opnieuw: {
25275
+ Args: {
25276
+ p_barcode: string;
25277
+ p_scanner_id?: string;
25278
+ };
25279
+ Returns: import("./types").Json;
25280
+ };
25281
+ scan_pakbon_toevoegen: {
25282
+ Args: {
25283
+ p_barcode: string;
25284
+ p_medewerker?: string;
25285
+ p_regels?: import("./types").Json;
25286
+ p_scanner_id: string;
25287
+ };
25288
+ Returns: import("./types").Json;
25289
+ };
25290
+ scan_print_restpakbon: {
25291
+ Args: {
25292
+ p_printer_id?: string;
25293
+ p_restpakbon_id: string;
25294
+ };
25295
+ Returns: import("./types").Json;
25296
+ };
25297
+ scan_print_verzendbrief: {
25298
+ Args: {
25299
+ p_sessie_id: string;
25300
+ };
25301
+ Returns: import("./types").Json;
25302
+ };
23370
25303
  scan_register_item: {
23371
25304
  Args: {
23372
25305
  p_kar_id: string;
@@ -23385,6 +25318,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23385
25318
  };
23386
25319
  Returns: import("./types").Json;
23387
25320
  };
25321
+ scan_restpakbon_geprint: {
25322
+ Args: {
25323
+ p_id: string;
25324
+ p_print_job_id?: string;
25325
+ };
25326
+ Returns: undefined;
25327
+ };
25328
+ scan_sessie_annuleren: {
25329
+ Args: {
25330
+ p_sessie_id: string;
25331
+ };
25332
+ Returns: undefined;
25333
+ };
25334
+ scan_sessie_open: {
25335
+ Args: {
25336
+ p_scanner_id: string;
25337
+ };
25338
+ Returns: import("./types").Json;
25339
+ };
23388
25340
  scan_start_kar: {
23389
25341
  Args: {
23390
25342
  p_medewerker_id?: string;
@@ -23403,6 +25355,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23403
25355
  };
23404
25356
  Returns: import("./types").Json;
23405
25357
  };
25358
+ scan_verzendbrief_regels: {
25359
+ Args: {
25360
+ p_sessie_id: string;
25361
+ };
25362
+ Returns: import("./types").Json;
25363
+ };
23406
25364
  schedule_floriday_additional_services_sync: {
23407
25365
  Args: {
23408
25366
  p_apikey: string;
@@ -23718,6 +25676,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23718
25676
  };
23719
25677
  Returns: import("./types").Json;
23720
25678
  };
25679
+ swap_cart_layer_positions: {
25680
+ Args: {
25681
+ p_a: string;
25682
+ p_b: string;
25683
+ };
25684
+ Returns: undefined;
25685
+ };
23721
25686
  switch_time_log: {
23722
25687
  Args: {
23723
25688
  p_employee_id: string;
@@ -23750,6 +25715,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23750
25715
  };
23751
25716
  Returns: undefined;
23752
25717
  };
25718
+ sync_order_item_fusten: {
25719
+ Args: {
25720
+ _order_item_id: string;
25721
+ };
25722
+ Returns: undefined;
25723
+ };
23753
25724
  sync_product_group_belading: {
23754
25725
  Args: {
23755
25726
  _group_id: string;
@@ -23856,6 +25827,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23856
25827
  Args: never;
23857
25828
  Returns: string;
23858
25829
  };
25830
+ wake_print_queue: {
25831
+ Args: {
25832
+ _min_interval_ms?: number;
25833
+ };
25834
+ Returns: number;
25835
+ };
23859
25836
  werkbon_totalen: {
23860
25837
  Args: {
23861
25838
  _werkbon_id: string;
@@ -23888,10 +25865,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23888
25865
  };
23889
25866
  Returns: import("./types").Json;
23890
25867
  };
25868
+ wo_set_status: {
25869
+ Args: {
25870
+ _reason?: string;
25871
+ _status: string;
25872
+ _work_order_id: string;
25873
+ };
25874
+ Returns: import("./types").Json;
25875
+ };
23891
25876
  };
23892
25877
  Enums: {
23893
25878
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
23894
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
25879
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
23895
25880
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
23896
25881
  doc_orientation: "portrait" | "landscape";
23897
25882
  exact_env: "staging" | "live";