@flowselections/floriday-afhandeling-module 1.0.42 → 1.0.43

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 (92) hide show
  1. package/dist-lib/components/afhandeling/AutoProcessStatus.d.ts +3 -1
  2. package/dist-lib/components/afhandeling/AutoProcessStatus.d.ts.map +1 -1
  3. package/dist-lib/components/afhandeling/AutoProcessStatus.js +36 -3
  4. package/dist-lib/components/afhandeling/ControleLijstPrint.js +54 -54
  5. package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
  6. package/dist-lib/components/afhandeling/ControlePage.js +23 -25
  7. package/dist-lib/components/afhandeling/DagDetailDialog.d.ts +1 -1
  8. package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
  9. package/dist-lib/components/afhandeling/DagDetailDialog.js +410 -121
  10. package/dist-lib/components/afhandeling/PickAgendaView.d.ts.map +1 -1
  11. package/dist-lib/components/afhandeling/PickAgendaView.js +4 -4
  12. package/dist-lib/components/afhandeling/PickingPage.d.ts.map +1 -1
  13. package/dist-lib/components/afhandeling/PickingPage.js +1 -1
  14. package/dist-lib/components/afhandeling/ScanControleView.d.ts +2 -0
  15. package/dist-lib/components/afhandeling/ScanControleView.d.ts.map +1 -0
  16. package/dist-lib/components/afhandeling/ScanControleView.js +158 -0
  17. package/dist-lib/components/afhandeling/VervoerdersPage.js +1 -1
  18. package/dist-lib/components/afhandeling/VerzetOrderDialog.js +1 -1
  19. package/dist-lib/components/afhandeling/WeekAgendaView.js +1 -1
  20. package/dist-lib/components/pickstation/PakbonTemplate.js +70 -70
  21. package/dist-lib/hooks/useCartIndex.d.ts.map +1 -1
  22. package/dist-lib/hooks/useCartIndex.js +6 -1
  23. package/dist-lib/hooks/useEngineTasks.js +1 -1
  24. package/dist-lib/hooks/useKnownOrders.d.ts +11 -0
  25. package/dist-lib/hooks/useKnownOrders.d.ts.map +1 -0
  26. package/dist-lib/hooks/useKnownOrders.js +54 -0
  27. package/dist-lib/hooks/useOrderBuffers.d.ts +17 -0
  28. package/dist-lib/hooks/useOrderBuffers.d.ts.map +1 -0
  29. package/dist-lib/hooks/useOrderBuffers.js +53 -0
  30. package/dist-lib/hooks/useOrderPickDates.d.ts +10 -0
  31. package/dist-lib/hooks/useOrderPickDates.d.ts.map +1 -0
  32. package/dist-lib/hooks/useOrderPickDates.js +62 -0
  33. package/dist-lib/hooks/useOrderPlanning.d.ts +1 -3
  34. package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
  35. package/dist-lib/hooks/useOrderPlanning.js +9 -13
  36. package/dist-lib/hooks/usePickAgenda.d.ts +0 -5
  37. package/dist-lib/hooks/usePickAgenda.d.ts.map +1 -1
  38. package/dist-lib/hooks/usePickAgenda.js +62 -9
  39. package/dist-lib/hooks/usePickMode.d.ts +10 -0
  40. package/dist-lib/hooks/usePickMode.d.ts.map +1 -0
  41. package/dist-lib/hooks/usePickMode.js +31 -0
  42. package/dist-lib/index.d.ts +2 -0
  43. package/dist-lib/index.d.ts.map +1 -1
  44. package/dist-lib/index.js +19 -6
  45. package/dist-lib/integrations/supabase/auth-middleware.d.ts +2027 -86
  46. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  47. package/dist-lib/integrations/supabase/client.server.d.ts +2027 -86
  48. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  49. package/dist-lib/integrations/supabase/client.server.js +1 -1
  50. package/dist-lib/integrations/supabase/moduleClient.d.ts +2027 -86
  51. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  52. package/dist-lib/integrations/supabase/types.d.ts +2097 -114
  53. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  54. package/dist-lib/integrations/supabase/types.js +1 -0
  55. package/dist-lib/lib/afhandelingSettings.functions.d.ts +4018 -140
  56. package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
  57. package/dist-lib/lib/carrierSignupMail.server.js +26 -26
  58. package/dist-lib/lib/carriers.functions.d.ts +10072 -367
  59. package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
  60. package/dist-lib/lib/cartAssignments.functions.d.ts +10072 -367
  61. package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/cartControl.functions.d.ts +45879 -579
  63. package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/cartControl.functions.js +134 -10
  65. package/dist-lib/lib/deliveryNote.functions.d.ts +25891 -0
  66. package/dist-lib/lib/deliveryNote.functions.d.ts.map +1 -0
  67. package/dist-lib/lib/deliveryNote.functions.js +32 -0
  68. package/dist-lib/lib/engineLayouts.functions.d.ts +25889 -0
  69. package/dist-lib/lib/engineLayouts.functions.d.ts.map +1 -0
  70. package/dist-lib/lib/engineLayouts.functions.js +42 -0
  71. package/dist-lib/lib/floriday.functions.d.ts +27885 -52
  72. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  73. package/dist-lib/lib/floriday.functions.js +118 -343
  74. package/dist-lib/lib/logisticsEngine/reschedule.d.ts +17 -0
  75. package/dist-lib/lib/logisticsEngine/reschedule.d.ts.map +1 -1
  76. package/dist-lib/lib/logisticsEngine/reschedule.js +63 -0
  77. package/dist-lib/lib/orderFulfilment.functions.d.ts +25891 -0
  78. package/dist-lib/lib/orderFulfilment.functions.d.ts.map +1 -0
  79. package/dist-lib/lib/orderFulfilment.functions.js +35 -0
  80. package/dist-lib/lib/orderStatus.d.ts +10 -0
  81. package/dist-lib/lib/orderStatus.d.ts.map +1 -0
  82. package/dist-lib/lib/orderStatus.js +81 -0
  83. package/dist-lib/lib/pickDates.functions.d.ts +25896 -0
  84. package/dist-lib/lib/pickDates.functions.d.ts.map +1 -0
  85. package/dist-lib/lib/pickDates.functions.js +56 -0
  86. package/dist-lib/lib/pickMode.d.ts +14 -0
  87. package/dist-lib/lib/pickMode.d.ts.map +1 -0
  88. package/dist-lib/lib/pickMode.js +103 -0
  89. package/dist-lib/lib/printing.d.ts +3 -1
  90. package/dist-lib/lib/printing.d.ts.map +1 -1
  91. package/dist-lib/lib/printing.js +1 -0
  92. 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;
@@ -12434,6 +12812,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12434
12812
  isOneToOne: false;
12435
12813
  referencedRelation: "order_items";
12436
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"];
12437
12821
  }, {
12438
12822
  foreignKeyName: "order_cart_items_product_id_fkey";
12439
12823
  columns: ["product_id"];
@@ -12442,6 +12826,93 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12442
12826
  referencedColumns: ["id"];
12443
12827
  }];
12444
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
+ };
12445
12916
  order_carts: {
12446
12917
  Row: {
12447
12918
  algorithm_version: number;
@@ -12464,6 +12935,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12464
12935
  pickup_locked: boolean;
12465
12936
  pickup_moment_id: string | null;
12466
12937
  source: string;
12938
+ total_carts: number | null;
12467
12939
  total_layers_used: number;
12468
12940
  updated_at: string;
12469
12941
  weight_kg: number | null;
@@ -12489,6 +12961,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12489
12961
  pickup_locked?: boolean;
12490
12962
  pickup_moment_id?: string | null;
12491
12963
  source?: string;
12964
+ total_carts?: number | null;
12492
12965
  total_layers_used?: number;
12493
12966
  updated_at?: string;
12494
12967
  weight_kg?: number | null;
@@ -12514,6 +12987,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12514
12987
  pickup_locked?: boolean;
12515
12988
  pickup_moment_id?: string | null;
12516
12989
  source?: string;
12990
+ total_carts?: number | null;
12517
12991
  total_layers_used?: number;
12518
12992
  updated_at?: string;
12519
12993
  weight_kg?: number | null;
@@ -12616,6 +13090,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12616
13090
  };
12617
13091
  Relationships: [];
12618
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
+ };
12619
13126
  order_invoice_links: {
12620
13127
  Row: {
12621
13128
  administration_code: string | null;
@@ -12704,6 +13211,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12704
13211
  isOneToOne: false;
12705
13212
  referencedRelation: "orders";
12706
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"];
12707
13220
  }, {
12708
13221
  foreignKeyName: "order_items_product_id_fkey";
12709
13222
  columns: ["product_id"];
@@ -12851,6 +13364,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12851
13364
  plan_locked_at: string | null;
12852
13365
  plan_locked_ref: string | null;
12853
13366
  status: string;
13367
+ status_changed_at: string;
13368
+ status_origin: string;
13369
+ status_sync_token: string | null;
12854
13370
  total: string;
12855
13371
  updated_at: string;
12856
13372
  };
@@ -12875,6 +13391,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12875
13391
  plan_locked_at?: string | null;
12876
13392
  plan_locked_ref?: string | null;
12877
13393
  status?: string;
13394
+ status_changed_at?: string;
13395
+ status_origin?: string;
13396
+ status_sync_token?: string | null;
12878
13397
  total?: string;
12879
13398
  updated_at?: string;
12880
13399
  };
@@ -12899,6 +13418,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12899
13418
  plan_locked_at?: string | null;
12900
13419
  plan_locked_ref?: string | null;
12901
13420
  status?: string;
13421
+ status_changed_at?: string;
13422
+ status_origin?: string;
13423
+ status_sync_token?: string | null;
12902
13424
  total?: string;
12903
13425
  updated_at?: string;
12904
13426
  };
@@ -12952,6 +13474,132 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12952
13474
  };
12953
13475
  Relationships: [];
12954
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
+ };
12955
13603
  pick_countries: {
12956
13604
  Row: {
12957
13605
  active: boolean;
@@ -14030,6 +14678,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14030
14678
  isOneToOne: false;
14031
14679
  referencedRelation: "werkbonnen";
14032
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"];
14033
14687
  }];
14034
14688
  };
14035
14689
  print_agents: {
@@ -14145,12 +14799,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14145
14799
  };
14146
14800
  print_jobs: {
14147
14801
  Row: {
14802
+ aflever_pogingen: number;
14148
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;
14149
14809
  bron_job_id: string | null;
14150
14810
  created_at: string;
14151
14811
  documentnaam: string;
14152
14812
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
14153
14813
  extern_job_id: string | null;
14814
+ fase_gestart_op: string | null;
14815
+ fase_voltooid_op: string | null;
14816
+ foutcode: string | null;
14154
14817
  foutmelding: string | null;
14155
14818
  gebruiker_id: string | null;
14156
14819
  gebruiker_naam: string;
@@ -14164,7 +14827,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14164
14827
  kopieen: number;
14165
14828
  layout_id: string | null;
14166
14829
  lokaal_opgeslagen_op: string | null;
14830
+ lokale_pdf_claim_id: string | null;
14831
+ lokale_pdf_claim_tot: string | null;
14167
14832
  lokale_pdf_fout: string | null;
14833
+ lokale_pdf_print_plek_id: string | null;
14168
14834
  lokale_pdf_status: string | null;
14169
14835
  opgepakt_op: string | null;
14170
14836
  paginas: number;
@@ -14177,16 +14843,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14177
14843
  resultaat_pdf_base64: string | null;
14178
14844
  status: Database["public"]["Enums"]["print_job_status"];
14179
14845
  updated_at: string;
14846
+ verwerkingsfase: string;
14180
14847
  volgende_poging: string | null;
14181
14848
  voltooid_op: string | null;
14182
14849
  };
14183
14850
  Insert: {
14851
+ aflever_pogingen?: number;
14184
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;
14185
14858
  bron_job_id?: string | null;
14186
14859
  created_at?: string;
14187
14860
  documentnaam?: string;
14188
14861
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14189
14862
  extern_job_id?: string | null;
14863
+ fase_gestart_op?: string | null;
14864
+ fase_voltooid_op?: string | null;
14865
+ foutcode?: string | null;
14190
14866
  foutmelding?: string | null;
14191
14867
  gebruiker_id?: string | null;
14192
14868
  gebruiker_naam?: string;
@@ -14200,7 +14876,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14200
14876
  kopieen?: number;
14201
14877
  layout_id?: string | null;
14202
14878
  lokaal_opgeslagen_op?: string | null;
14879
+ lokale_pdf_claim_id?: string | null;
14880
+ lokale_pdf_claim_tot?: string | null;
14203
14881
  lokale_pdf_fout?: string | null;
14882
+ lokale_pdf_print_plek_id?: string | null;
14204
14883
  lokale_pdf_status?: string | null;
14205
14884
  opgepakt_op?: string | null;
14206
14885
  paginas?: number;
@@ -14213,16 +14892,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14213
14892
  resultaat_pdf_base64?: string | null;
14214
14893
  status?: Database["public"]["Enums"]["print_job_status"];
14215
14894
  updated_at?: string;
14895
+ verwerkingsfase?: string;
14216
14896
  volgende_poging?: string | null;
14217
14897
  voltooid_op?: string | null;
14218
14898
  };
14219
14899
  Update: {
14900
+ aflever_pogingen?: number;
14220
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;
14221
14907
  bron_job_id?: string | null;
14222
14908
  created_at?: string;
14223
14909
  documentnaam?: string;
14224
14910
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14225
14911
  extern_job_id?: string | null;
14912
+ fase_gestart_op?: string | null;
14913
+ fase_voltooid_op?: string | null;
14914
+ foutcode?: string | null;
14226
14915
  foutmelding?: string | null;
14227
14916
  gebruiker_id?: string | null;
14228
14917
  gebruiker_naam?: string;
@@ -14236,7 +14925,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14236
14925
  kopieen?: number;
14237
14926
  layout_id?: string | null;
14238
14927
  lokaal_opgeslagen_op?: string | null;
14928
+ lokale_pdf_claim_id?: string | null;
14929
+ lokale_pdf_claim_tot?: string | null;
14239
14930
  lokale_pdf_fout?: string | null;
14931
+ lokale_pdf_print_plek_id?: string | null;
14240
14932
  lokale_pdf_status?: string | null;
14241
14933
  opgepakt_op?: string | null;
14242
14934
  paginas?: number;
@@ -14249,6 +14941,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14249
14941
  resultaat_pdf_base64?: string | null;
14250
14942
  status?: Database["public"]["Enums"]["print_job_status"];
14251
14943
  updated_at?: string;
14944
+ verwerkingsfase?: string;
14252
14945
  volgende_poging?: string | null;
14253
14946
  voltooid_op?: string | null;
14254
14947
  };
@@ -14264,6 +14957,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14264
14957
  isOneToOne: false;
14265
14958
  referencedRelation: "document_layouts";
14266
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"];
14267
14966
  }, {
14268
14967
  foreignKeyName: "print_jobs_printer_id_fkey";
14269
14968
  columns: ["printer_id"];
@@ -14398,6 +15097,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14398
15097
  };
14399
15098
  Relationships: [];
14400
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
+ };
14401
15124
  print_queue_runners: {
14402
15125
  Row: {
14403
15126
  actief: boolean;
@@ -14407,7 +15130,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14407
15130
  laatst_gezien: string;
14408
15131
  laatste_fout: string | null;
14409
15132
  laatste_request_id: number | null;
15133
+ laatste_wakeup: string | null;
14410
15134
  mislukte_posts: number;
15135
+ mislukte_wakeups: number;
14411
15136
  tick_sleutel: string;
14412
15137
  updated_at: string;
14413
15138
  };
@@ -14419,7 +15144,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14419
15144
  laatst_gezien?: string;
14420
15145
  laatste_fout?: string | null;
14421
15146
  laatste_request_id?: number | null;
15147
+ laatste_wakeup?: string | null;
14422
15148
  mislukte_posts?: number;
15149
+ mislukte_wakeups?: number;
14423
15150
  tick_sleutel?: string;
14424
15151
  updated_at?: string;
14425
15152
  };
@@ -14431,7 +15158,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14431
15158
  laatst_gezien?: string;
14432
15159
  laatste_fout?: string | null;
14433
15160
  laatste_request_id?: number | null;
15161
+ laatste_wakeup?: string | null;
14434
15162
  mislukte_posts?: number;
15163
+ mislukte_wakeups?: number;
14435
15164
  tick_sleutel?: string;
14436
15165
  updated_at?: string;
14437
15166
  };
@@ -14745,6 +15474,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14745
15474
  updated_at?: string;
14746
15475
  };
14747
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
+ }, {
14748
15483
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
14749
15484
  columns: ["parent_product_id"];
14750
15485
  isOneToOne: false;
@@ -14799,11 +15534,23 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14799
15534
  updated_at?: string;
14800
15535
  };
14801
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
+ }, {
14802
15543
  foreignKeyName: "product_bom_items_component_product_id_fkey";
14803
15544
  columns: ["component_product_id"];
14804
15545
  isOneToOne: false;
14805
15546
  referencedRelation: "products";
14806
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"];
14807
15554
  }, {
14808
15555
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
14809
15556
  columns: ["parent_product_id"];
@@ -14979,6 +15726,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14979
15726
  updated_at?: string;
14980
15727
  };
14981
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
+ }, {
14982
15735
  foreignKeyName: "product_groups_head_product_id_fkey";
14983
15736
  columns: ["head_product_id"];
14984
15737
  isOneToOne: false;
@@ -15044,6 +15797,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15044
15797
  isOneToOne: false;
15045
15798
  referencedRelation: "packages";
15046
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"];
15047
15806
  }, {
15048
15807
  foreignKeyName: "product_load_settings_product_id_fkey";
15049
15808
  columns: ["product_id"];
@@ -15510,6 +16269,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15510
16269
  quantity?: number;
15511
16270
  };
15512
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
+ }, {
15513
16278
  foreignKeyName: "purchase_order_items_product_id_fkey";
15514
16279
  columns: ["product_id"];
15515
16280
  isOneToOne: false;
@@ -15829,42 +16594,138 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15829
16594
  referencedColumns: ["id"];
15830
16595
  }];
15831
16596
  };
15832
- scan_karren: {
16597
+ scan_kar_sessie_regels: {
15833
16598
  Row: {
15834
- afgerond_op: string | null;
15835
- buffer_key: string | null;
16599
+ barcode: string;
16600
+ cart_id: string | null;
15836
16601
  created_at: string;
15837
- customer_names: string[];
15838
- device_id: string | null;
15839
- geprint: boolean;
15840
- geprint_op: string | null;
15841
16602
  id: string;
15842
- kar_nummer: string;
15843
- medewerker_id: string | null;
15844
- medewerker_naam: string | null;
15845
- naar_pickstation: boolean;
15846
- naar_pickstation_op: string | null;
16603
+ order_id: string | null;
15847
16604
  order_number: string | null;
15848
- scanner_id: string | null;
15849
- scanner_key: string;
15850
- status: string;
15851
- totaal_producten: number;
15852
- updated_at: string;
16605
+ regels: import("./types").Json;
16606
+ sessie_id: string;
16607
+ volledig: boolean;
15853
16608
  };
15854
16609
  Insert: {
15855
- afgerond_op?: string | null;
15856
- buffer_key?: string | null;
16610
+ barcode: string;
16611
+ cart_id?: string | null;
15857
16612
  created_at?: string;
15858
- customer_names?: string[];
15859
- device_id?: string | null;
15860
- geprint?: boolean;
15861
- geprint_op?: string | null;
15862
16613
  id?: string;
15863
- kar_nummer?: string;
15864
- medewerker_id?: string | null;
15865
- medewerker_naam?: string | null;
15866
- naar_pickstation?: boolean;
15867
- naar_pickstation_op?: string | null;
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;
16721
+ geprint?: boolean;
16722
+ geprint_op?: string | null;
16723
+ id?: string;
16724
+ kar_nummer?: string;
16725
+ medewerker_id?: string | null;
16726
+ medewerker_naam?: string | null;
16727
+ naar_pickstation?: boolean;
16728
+ naar_pickstation_op?: string | null;
15868
16729
  order_number?: string | null;
15869
16730
  scanner_id?: string | null;
15870
16731
  scanner_key?: string;
@@ -16033,6 +16894,60 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16033
16894
  };
16034
16895
  Relationships: [];
16035
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
+ };
16036
16951
  scan_scanners: {
16037
16952
  Row: {
16038
16953
  actief: boolean;
@@ -16042,6 +16957,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16042
16957
  naam: string;
16043
16958
  omschrijving: string | null;
16044
16959
  pincode: string | null;
16960
+ printer_id: string | null;
16045
16961
  slug: string;
16046
16962
  type: string;
16047
16963
  updated_at: string;
@@ -16056,6 +16972,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16056
16972
  naam: string;
16057
16973
  omschrijving?: string | null;
16058
16974
  pincode?: string | null;
16975
+ printer_id?: string | null;
16059
16976
  slug: string;
16060
16977
  type?: string;
16061
16978
  updated_at?: string;
@@ -16070,6 +16987,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16070
16987
  naam?: string;
16071
16988
  omschrijving?: string | null;
16072
16989
  pincode?: string | null;
16990
+ printer_id?: string | null;
16073
16991
  slug?: string;
16074
16992
  type?: string;
16075
16993
  updated_at?: string;
@@ -16078,6 +16996,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16078
16996
  };
16079
16997
  Relationships: [];
16080
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
+ };
16081
17020
  sick_periods: {
16082
17021
  Row: {
16083
17022
  created_at: string;
@@ -16697,6 +17636,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16697
17636
  isOneToOne: false;
16698
17637
  referencedRelation: "werkbonnen";
16699
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"];
16700
17645
  }];
16701
17646
  };
16702
17647
  time_off_entries: {
@@ -17990,6 +18935,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
17990
18935
  isOneToOne: false;
17991
18936
  referencedRelation: "werkbonnen";
17992
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"];
17993
18944
  }];
17994
18945
  };
17995
18946
  uren_exports: {
@@ -18713,6 +19664,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18713
19664
  isOneToOne: true;
18714
19665
  referencedRelation: "werkbonnen";
18715
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"];
18716
19673
  }];
18717
19674
  };
18718
19675
  werkbon_facturatie_settings: {
@@ -18800,6 +19757,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18800
19757
  isOneToOne: false;
18801
19758
  referencedRelation: "werkbonnen";
18802
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"];
18803
19766
  }];
18804
19767
  };
18805
19768
  werkbon_package_ai_rules: {
@@ -18983,6 +19946,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18983
19946
  isOneToOne: false;
18984
19947
  referencedRelation: "werkbonnen";
18985
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"];
18986
19955
  }];
18987
19956
  };
18988
19957
  werkbon_packages: {
@@ -19073,6 +20042,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19073
20042
  isOneToOne: false;
19074
20043
  referencedRelation: "werkbonnen";
19075
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"];
19076
20051
  }];
19077
20052
  };
19078
20053
  werkbon_time_logs: {
@@ -19112,6 +20087,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19112
20087
  isOneToOne: false;
19113
20088
  referencedRelation: "werkbonnen";
19114
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"];
19115
20096
  }];
19116
20097
  };
19117
20098
  werkbonnen: {
@@ -19235,6 +20216,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19235
20216
  isOneToOne: false;
19236
20217
  referencedRelation: "werkbonnen";
19237
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"];
19238
20225
  }, {
19239
20226
  foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
19240
20227
  columns: ["source_mailbox_message_id"];
@@ -19703,6 +20690,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19703
20690
  };
19704
20691
  Relationships: [];
19705
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
+ };
19706
20711
  manufacture_product_possible_stock_view: {
19707
20712
  Row: {
19708
20713
  component_count: number | null;
@@ -19740,6 +20745,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19740
20745
  isOneToOne: false;
19741
20746
  referencedRelation: "werkbonnen";
19742
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"];
19743
20754
  }];
19744
20755
  };
19745
20756
  product_group_stock_view: {
@@ -20201,6 +21212,81 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20201
21212
  isOneToOne: false;
20202
21213
  referencedRelation: "werkbonnen";
20203
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"];
20204
21290
  }];
20205
21291
  };
20206
21292
  };
@@ -20392,12 +21478,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20392
21478
  _max?: number;
20393
21479
  };
20394
21480
  Returns: {
21481
+ aflever_pogingen: number;
20395
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;
20396
21488
  bron_job_id: string | null;
20397
21489
  created_at: string;
20398
21490
  documentnaam: string;
20399
21491
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20400
21492
  extern_job_id: string | null;
21493
+ fase_gestart_op: string | null;
21494
+ fase_voltooid_op: string | null;
21495
+ foutcode: string | null;
20401
21496
  foutmelding: string | null;
20402
21497
  gebruiker_id: string | null;
20403
21498
  gebruiker_naam: string;
@@ -20411,7 +21506,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20411
21506
  kopieen: number;
20412
21507
  layout_id: string | null;
20413
21508
  lokaal_opgeslagen_op: string | null;
21509
+ lokale_pdf_claim_id: string | null;
21510
+ lokale_pdf_claim_tot: string | null;
20414
21511
  lokale_pdf_fout: string | null;
21512
+ lokale_pdf_print_plek_id: string | null;
20415
21513
  lokale_pdf_status: string | null;
20416
21514
  opgepakt_op: string | null;
20417
21515
  paginas: number;
@@ -20424,6 +21522,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20424
21522
  resultaat_pdf_base64: string | null;
20425
21523
  status: Database["public"]["Enums"]["print_job_status"];
20426
21524
  updated_at: string;
21525
+ verwerkingsfase: string;
20427
21526
  volgende_poging: string | null;
20428
21527
  voltooid_op: string | null;
20429
21528
  }[];
@@ -20470,9 +21569,28 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20470
21569
  isSetofReturn: true;
20471
21570
  };
20472
21571
  };
20473
- claim_logistics_tasks: {
21572
+ claim_local_pdf_jobs: {
20474
21573
  Args: {
20475
- _limit?: number;
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
+ };
21591
+ claim_logistics_tasks: {
21592
+ Args: {
21593
+ _limit?: number;
20476
21594
  _owner_module: string;
20477
21595
  _stale_minutes?: number;
20478
21596
  _task_type: string;
@@ -20523,12 +21641,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20523
21641
  _max?: number;
20524
21642
  };
20525
21643
  Returns: {
21644
+ aflever_pogingen: number;
20526
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;
20527
21651
  bron_job_id: string | null;
20528
21652
  created_at: string;
20529
21653
  documentnaam: string;
20530
21654
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20531
21655
  extern_job_id: string | null;
21656
+ fase_gestart_op: string | null;
21657
+ fase_voltooid_op: string | null;
21658
+ foutcode: string | null;
20532
21659
  foutmelding: string | null;
20533
21660
  gebruiker_id: string | null;
20534
21661
  gebruiker_naam: string;
@@ -20542,7 +21669,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20542
21669
  kopieen: number;
20543
21670
  layout_id: string | null;
20544
21671
  lokaal_opgeslagen_op: string | null;
21672
+ lokale_pdf_claim_id: string | null;
21673
+ lokale_pdf_claim_tot: string | null;
20545
21674
  lokale_pdf_fout: string | null;
21675
+ lokale_pdf_print_plek_id: string | null;
20546
21676
  lokale_pdf_status: string | null;
20547
21677
  opgepakt_op: string | null;
20548
21678
  paginas: number;
@@ -20555,6 +21685,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20555
21685
  resultaat_pdf_base64: string | null;
20556
21686
  status: Database["public"]["Enums"]["print_job_status"];
20557
21687
  updated_at: string;
21688
+ verwerkingsfase: string;
20558
21689
  volgende_poging: string | null;
20559
21690
  voltooid_op: string | null;
20560
21691
  }[];
@@ -20571,12 +21702,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20571
21702
  _max?: number;
20572
21703
  };
20573
21704
  Returns: {
21705
+ aflever_pogingen: number;
20574
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;
20575
21712
  bron_job_id: string | null;
20576
21713
  created_at: string;
20577
21714
  documentnaam: string;
20578
21715
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20579
21716
  extern_job_id: string | null;
21717
+ fase_gestart_op: string | null;
21718
+ fase_voltooid_op: string | null;
21719
+ foutcode: string | null;
20580
21720
  foutmelding: string | null;
20581
21721
  gebruiker_id: string | null;
20582
21722
  gebruiker_naam: string;
@@ -20590,7 +21730,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20590
21730
  kopieen: number;
20591
21731
  layout_id: string | null;
20592
21732
  lokaal_opgeslagen_op: string | null;
21733
+ lokale_pdf_claim_id: string | null;
21734
+ lokale_pdf_claim_tot: string | null;
20593
21735
  lokale_pdf_fout: string | null;
21736
+ lokale_pdf_print_plek_id: string | null;
20594
21737
  lokale_pdf_status: string | null;
20595
21738
  opgepakt_op: string | null;
20596
21739
  paginas: number;
@@ -20603,6 +21746,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20603
21746
  resultaat_pdf_base64: string | null;
20604
21747
  status: Database["public"]["Enums"]["print_job_status"];
20605
21748
  updated_at: string;
21749
+ verwerkingsfase: string;
20606
21750
  volgende_poging: string | null;
20607
21751
  voltooid_op: string | null;
20608
21752
  }[];
@@ -20613,6 +21757,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20613
21757
  isSetofReturn: true;
20614
21758
  };
20615
21759
  };
21760
+ claim_print_queue_lease: {
21761
+ Args: {
21762
+ _houder: string;
21763
+ _naam: string;
21764
+ _seconden?: number;
21765
+ };
21766
+ Returns: boolean;
21767
+ };
20616
21768
  claim_twinfield_push_batch: {
20617
21769
  Args: {
20618
21770
  _customer_id?: string;
@@ -20738,7 +21890,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20738
21890
  cart_index: number;
20739
21891
  cart_number: string;
20740
21892
  cart_number_id: string;
21893
+ cart_seq: number;
21894
+ cart_total: number;
20741
21895
  order_id: string;
21896
+ order_number: string;
20742
21897
  order_source: string;
20743
21898
  pick_date: string;
20744
21899
  printed_at: string;
@@ -20746,6 +21901,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20746
21901
  status: string;
20747
21902
  }[];
20748
21903
  };
21904
+ control_mark_carts_delivered: {
21905
+ Args: {
21906
+ p_carts: import("./types").Json;
21907
+ };
21908
+ Returns: number;
21909
+ };
20749
21910
  count_distinct_regulatory_products: {
20750
21911
  Args: never;
20751
21912
  Returns: number;
@@ -20873,6 +22034,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20873
22034
  };
20874
22035
  Returns: undefined;
20875
22036
  };
22037
+ ensure_system_roles: {
22038
+ Args: never;
22039
+ Returns: {
22040
+ action: string;
22041
+ role_key: string;
22042
+ }[];
22043
+ };
20876
22044
  ensure_trade_item_stock_row: {
20877
22045
  Args: {
20878
22046
  p_key: string;
@@ -20939,6 +22107,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20939
22107
  };
20940
22108
  Returns: string;
20941
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
+ };
20942
22119
  floriday_capture_stock_snapshot: {
20943
22120
  Args: never;
20944
22121
  Returns: number;
@@ -21218,6 +22395,36 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21218
22395
  Args: never;
21219
22396
  Returns: string;
21220
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
+ };
21221
22428
  handover_get: {
21222
22429
  Args: {
21223
22430
  _module_id: string;
@@ -21248,6 +22455,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21248
22455
  };
21249
22456
  Returns: boolean;
21250
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
+ };
21251
22466
  handover_norm_naam: {
21252
22467
  Args: {
21253
22468
  _naam: string;
@@ -21268,6 +22483,23 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21268
22483
  };
21269
22484
  Returns: number;
21270
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
+ };
21271
22503
  handover_publish_via_token: {
21272
22504
  Args: {
21273
22505
  _bevindingen?: string;
@@ -21281,7 +22513,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21281
22513
  _samenvatting?: string;
21282
22514
  _token_hash: string;
21283
22515
  };
21284
- Returns: number;
22516
+ Returns: import("./types").Json;
21285
22517
  };
21286
22518
  handover_status: {
21287
22519
  Args: never;
@@ -21293,23 +22525,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21293
22525
  };
21294
22526
  Returns: string;
21295
22527
  };
21296
- handover_token_intrekken: {
21297
- Args: {
21298
- _id: string;
21299
- };
21300
- Returns: boolean;
21301
- };
21302
- handover_token_lijst: {
21303
- Args: never;
21304
- Returns: import("./types").Json;
21305
- };
21306
- handover_token_maken: {
21307
- Args: {
21308
- _label?: string;
21309
- _module_id: string;
21310
- };
21311
- Returns: string;
21312
- };
21313
22528
  handover_update: {
21314
22529
  Args: {
21315
22530
  _bezit_tabellen?: string[];
@@ -21337,12 +22552,31 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21337
22552
  };
21338
22553
  Returns: boolean;
21339
22554
  };
22555
+ handover_versie_verwijderen: {
22556
+ Args: {
22557
+ _module_id: string;
22558
+ _versie: number;
22559
+ };
22560
+ Returns: boolean;
22561
+ };
21340
22562
  handover_versies: {
21341
22563
  Args: {
21342
22564
  _module_id: string;
21343
22565
  };
21344
22566
  Returns: import("./types").Json;
21345
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
+ };
21346
22580
  has_module_permission: {
21347
22581
  Args: {
21348
22582
  _min: string;
@@ -21677,6 +22911,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21677
22911
  };
21678
22912
  Returns: string;
21679
22913
  };
22914
+ logistics_cart_handled: {
22915
+ Args: {
22916
+ p_cart_index: number;
22917
+ p_order_id: string;
22918
+ };
22919
+ Returns: boolean;
22920
+ };
21680
22921
  logistics_cart_index: {
21681
22922
  Args: {
21682
22923
  p_from?: string;
@@ -21686,6 +22927,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21686
22927
  cart_id: string;
21687
22928
  cart_index: number;
21688
22929
  cart_label: string;
22930
+ cart_number: string;
22931
+ cart_seq: number;
22932
+ cart_total: number;
21689
22933
  delivery_date: string;
21690
22934
  is_announced: boolean;
21691
22935
  is_controlled: boolean;
@@ -21700,12 +22944,60 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21700
22944
  task_status: string;
21701
22945
  }[];
21702
22946
  };
22947
+ logistics_cart_layout_method: {
22948
+ Args: never;
22949
+ Returns: import("./types").Json;
22950
+ };
22951
+ logistics_cart_seq: {
22952
+ Args: {
22953
+ p_order_uuid?: string;
22954
+ };
22955
+ Returns: {
22956
+ cart_id: string;
22957
+ cart_index: number;
22958
+ cart_number: string;
22959
+ cart_seq: number;
22960
+ cart_total: number;
22961
+ order_uuid: string;
22962
+ }[];
22963
+ };
21703
22964
  logistics_cart_slip_plan: {
21704
22965
  Args: {
21705
22966
  p_order_id: string;
21706
22967
  };
21707
22968
  Returns: import("./types").Json;
21708
22969
  };
22970
+ logistics_cart_units: {
22971
+ Args: {
22972
+ p_from?: string;
22973
+ p_to?: string;
22974
+ };
22975
+ Returns: {
22976
+ cart_id: string;
22977
+ cart_index: number;
22978
+ cart_label: string;
22979
+ cart_number: string;
22980
+ cart_seq: number;
22981
+ cart_total: number;
22982
+ delivery_date: string;
22983
+ is_announced: boolean;
22984
+ is_buffer: boolean;
22985
+ is_controlled: boolean;
22986
+ is_printed: boolean;
22987
+ is_shared: boolean;
22988
+ order_number: string;
22989
+ order_source: string;
22990
+ order_uuid: string;
22991
+ pick_date: string;
22992
+ printed_at: string;
22993
+ shifted: boolean;
22994
+ task_status: string;
22995
+ unit_buffer: string;
22996
+ unit_order_count: number;
22997
+ unit_orders: string[];
22998
+ unit_ref: string;
22999
+ }[];
23000
+ };
21709
23001
  logistics_check_order_allowed: {
21710
23002
  Args: {
21711
23003
  p_lines: import("./types").Json;
@@ -21861,7 +23153,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21861
23153
  announced_carts: number;
21862
23154
  control_carts: number;
21863
23155
  delivery_carts: number;
23156
+ duplicate_carts: number;
21864
23157
  ok: boolean;
23158
+ orphan_carts: number;
21865
23159
  orphan_tasks: number;
21866
23160
  pick_date: string;
21867
23161
  raw_carts: number;
@@ -21869,6 +23163,85 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21869
23163
  station_carts: number;
21870
23164
  }[];
21871
23165
  };
23166
+ logistics_control_scan_approve: {
23167
+ Args: {
23168
+ p_allow_reprint?: boolean;
23169
+ p_barcode: string;
23170
+ p_printer_id?: string;
23171
+ p_scanner_id?: string;
23172
+ };
23173
+ Returns: import("./types").Json;
23174
+ };
23175
+ logistics_control_scan_claim: {
23176
+ Args: {
23177
+ _lease_seconds?: number;
23178
+ _limit?: number;
23179
+ };
23180
+ Returns: {
23181
+ approved_at: string | null;
23182
+ attempts: number;
23183
+ barcode: string;
23184
+ cart_id: string;
23185
+ created_at: string;
23186
+ document_url: string | null;
23187
+ error: string | null;
23188
+ error_code: string | null;
23189
+ fulfillment_order_id: string | null;
23190
+ id: string;
23191
+ is_floriday: boolean;
23192
+ locked_until: string | null;
23193
+ order_id: string | null;
23194
+ order_number: string | null;
23195
+ print_job_id: string | null;
23196
+ printed_at: string | null;
23197
+ printer_id: string | null;
23198
+ scanner_id: string | null;
23199
+ status: string;
23200
+ updated_at: string;
23201
+ }[];
23202
+ SetofOptions: {
23203
+ from: "*";
23204
+ to: "logistics_control_scan";
23205
+ isOneToOne: false;
23206
+ isSetofReturn: true;
23207
+ };
23208
+ };
23209
+ logistics_control_scan_finish: {
23210
+ Args: {
23211
+ _document_url?: string;
23212
+ _error?: string;
23213
+ _error_code?: string;
23214
+ _fulfillment_order_id?: string;
23215
+ _id: string;
23216
+ _ok: boolean;
23217
+ _print_job_id?: string;
23218
+ _status?: string;
23219
+ };
23220
+ Returns: import("./types").Json;
23221
+ };
23222
+ logistics_control_scan_lookup: {
23223
+ Args: {
23224
+ p_barcode: string;
23225
+ };
23226
+ Returns: import("./types").Json;
23227
+ };
23228
+ logistics_control_scan_overview: {
23229
+ Args: {
23230
+ _date?: string;
23231
+ _scanner_id?: string;
23232
+ };
23233
+ Returns: import("./types").Json;
23234
+ };
23235
+ logistics_control_scan_retry: {
23236
+ Args: {
23237
+ _id: string;
23238
+ };
23239
+ Returns: import("./types").Json;
23240
+ };
23241
+ logistics_control_settings: {
23242
+ Args: never;
23243
+ Returns: import("./types").Json;
23244
+ };
21872
23245
  logistics_delay_customer_email: {
21873
23246
  Args: {
21874
23247
  p_customer: string;
@@ -21936,6 +23309,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21936
23309
  };
21937
23310
  Returns: import("./types").Json;
21938
23311
  };
23312
+ logistics_enqueue_sticker_with_slip: {
23313
+ Args: {
23314
+ _cart_id: string;
23315
+ _is_herprint: boolean;
23316
+ _printer_id: string;
23317
+ _queue_item_id: string;
23318
+ _session_id: string;
23319
+ _slip_job_id: string;
23320
+ };
23321
+ Returns: string;
23322
+ };
21939
23323
  logistics_ensure_cart_barcode: {
21940
23324
  Args: {
21941
23325
  _cart_id: string;
@@ -22077,6 +23461,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22077
23461
  };
22078
23462
  Returns: string;
22079
23463
  };
23464
+ logistics_fulfill_barcode_requests: {
23465
+ Args: {
23466
+ p_limit?: number;
23467
+ };
23468
+ Returns: import("./types").Json;
23469
+ };
23470
+ logistics_full_cart_min_layers: {
23471
+ Args: never;
23472
+ Returns: number;
23473
+ };
23474
+ logistics_full_cart_min_percentage: {
23475
+ Args: never;
23476
+ Returns: number;
23477
+ };
23478
+ logistics_is_pick_workday: {
23479
+ Args: {
23480
+ p_date: string;
23481
+ };
23482
+ Returns: boolean;
23483
+ };
22080
23484
  logistics_live_carriers: {
22081
23485
  Args: {
22082
23486
  p_order_ref: string;
@@ -22089,6 +23493,20 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22089
23493
  };
22090
23494
  Returns: number;
22091
23495
  };
23496
+ logistics_next_workday_date: {
23497
+ Args: {
23498
+ p_date: string;
23499
+ p_days?: string[];
23500
+ };
23501
+ Returns: string;
23502
+ };
23503
+ logistics_next_workday_not_past: {
23504
+ Args: {
23505
+ p_days: string[];
23506
+ p_ts: string;
23507
+ };
23508
+ Returns: string;
23509
+ };
22092
23510
  logistics_not_past: {
22093
23511
  Args: {
22094
23512
  p_ts: string;
@@ -22101,6 +23519,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22101
23519
  };
22102
23520
  Returns: number;
22103
23521
  };
23522
+ logistics_order_handled: {
23523
+ Args: {
23524
+ p_order_uuid: string;
23525
+ };
23526
+ Returns: boolean;
23527
+ };
23528
+ logistics_order_is_topick: {
23529
+ Args: {
23530
+ p_order_id: string;
23531
+ p_order_number: string;
23532
+ };
23533
+ Returns: boolean;
23534
+ };
22104
23535
  logistics_order_overview: {
22105
23536
  Args: {
22106
23537
  p_from?: string;
@@ -22126,11 +23557,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22126
23557
  };
22127
23558
  Returns: string;
22128
23559
  };
22129
- logistics_parse_pickup: {
23560
+ logistics_order_released: {
22130
23561
  Args: {
22131
- p_value: string;
23562
+ p_order_ref: string;
22132
23563
  };
22133
- Returns: string;
23564
+ Returns: boolean;
23565
+ };
23566
+ logistics_parse_pickup: {
23567
+ Args: {
23568
+ p_value: string;
23569
+ };
23570
+ Returns: string;
22134
23571
  };
22135
23572
  logistics_pick_agenda: {
22136
23573
  Args: {
@@ -22148,10 +23585,37 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22148
23585
  shifted_count: number;
22149
23586
  }[];
22150
23587
  };
23588
+ logistics_pick_barcode_enabled: {
23589
+ Args: never;
23590
+ Returns: boolean;
23591
+ };
22151
23592
  logistics_pick_email_purpose: {
22152
23593
  Args: never;
22153
23594
  Returns: string;
22154
23595
  };
23596
+ logistics_pick_mode: {
23597
+ Args: never;
23598
+ Returns: import("./types").Json;
23599
+ };
23600
+ logistics_pick_start_estimate: {
23601
+ Args: {
23602
+ p_order: import("./types").Json;
23603
+ s: import("./types").Json;
23604
+ };
23605
+ Returns: string;
23606
+ };
23607
+ logistics_pick_units: {
23608
+ Args: never;
23609
+ Returns: {
23610
+ is_buffer: boolean;
23611
+ order_number: string;
23612
+ order_uuid: string;
23613
+ unit_buffer: string;
23614
+ unit_order_count: number;
23615
+ unit_orders: string[];
23616
+ unit_ref: string;
23617
+ }[];
23618
+ };
22155
23619
  logistics_plan_all: {
22156
23620
  Args: {
22157
23621
  p_user_id?: string;
@@ -22238,6 +23702,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22238
23702
  };
22239
23703
  Returns: number;
22240
23704
  };
23705
+ logistics_prune_buffer_member_queue: {
23706
+ Args: never;
23707
+ Returns: number;
23708
+ };
23709
+ logistics_prune_handled_pick_queue: {
23710
+ Args: never;
23711
+ Returns: number;
23712
+ };
22241
23713
  logistics_queue_capacity_email: {
22242
23714
  Args: {
22243
23715
  p_alert_id: string;
@@ -22270,6 +23742,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22270
23742
  Args: never;
22271
23743
  Returns: import("./types").Json;
22272
23744
  };
23745
+ logistics_refresh_pickup_moments: {
23746
+ Args: {
23747
+ p_weeks?: number;
23748
+ };
23749
+ Returns: import("./types").Json;
23750
+ };
22273
23751
  logistics_report_delay: {
22274
23752
  Args: {
22275
23753
  p_expected_date?: string;
@@ -22376,6 +23854,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22376
23854
  };
22377
23855
  Returns: string;
22378
23856
  };
23857
+ logistics_scan_resolve: {
23858
+ Args: {
23859
+ p_code: string;
23860
+ };
23861
+ Returns: import("./types").Json;
23862
+ };
22379
23863
  logistics_schedule_tasks: {
22380
23864
  Args: never;
22381
23865
  Returns: number;
@@ -22410,6 +23894,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22410
23894
  };
22411
23895
  Returns: import("./types").Json;
22412
23896
  };
23897
+ logistics_sticker_follows_slip: {
23898
+ Args: never;
23899
+ Returns: boolean;
23900
+ };
22413
23901
  logistics_supersede_stale_tasks: {
22414
23902
  Args: {
22415
23903
  p_keep: string[];
@@ -22461,6 +23949,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22461
23949
  };
22462
23950
  Returns: string;
22463
23951
  };
23952
+ logistics_write_buffer_layer_positions: {
23953
+ Args: {
23954
+ p_buffer_id: string;
23955
+ };
23956
+ Returns: number;
23957
+ };
23958
+ logistics_write_cart_layer_positions: {
23959
+ Args: {
23960
+ p_cart_id: string;
23961
+ };
23962
+ Returns: number;
23963
+ };
22464
23964
  mark_offer_clicked: {
22465
23965
  Args: {
22466
23966
  p_code: string;
@@ -22493,6 +23993,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22493
23993
  };
22494
23994
  Returns: undefined;
22495
23995
  };
23996
+ move_cart_layer_position: {
23997
+ Args: {
23998
+ p_id: string;
23999
+ p_layer: number;
24000
+ p_x: number;
24001
+ p_y: number;
24002
+ };
24003
+ Returns: undefined;
24004
+ };
22496
24005
  my_module_permissions: {
22497
24006
  Args: never;
22498
24007
  Returns: {
@@ -22564,6 +24073,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22564
24073
  };
22565
24074
  Returns: import("./types").Json;
22566
24075
  };
24076
+ order_heeft_bevestigde_karren: {
24077
+ Args: {
24078
+ p_order_id: string;
24079
+ };
24080
+ Returns: boolean;
24081
+ };
22567
24082
  order_number_prefix: {
22568
24083
  Args: {
22569
24084
  p_custom_fields?: import("./types").Json;
@@ -22599,6 +24114,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22599
24114
  online: boolean;
22600
24115
  }[];
22601
24116
  };
24117
+ pick_available_pick_days: {
24118
+ Args: {
24119
+ _max_days?: number;
24120
+ };
24121
+ Returns: {
24122
+ orders: number;
24123
+ pick_day: string;
24124
+ }[];
24125
+ };
24126
+ pick_buffer_order_ids: {
24127
+ Args: {
24128
+ _order_id: string;
24129
+ };
24130
+ Returns: string[];
24131
+ };
24132
+ pick_cart_breakdown: {
24133
+ Args: {
24134
+ _order_id: string;
24135
+ };
24136
+ Returns: import("./types").Json;
24137
+ };
22602
24138
  pick_claim_document: {
22603
24139
  Args: {
22604
24140
  _queue_item_id: string;
@@ -22652,6 +24188,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22652
24188
  pick_claim_next_document: {
22653
24189
  Args: {
22654
24190
  _country_code: string;
24191
+ _pick_day?: string;
22655
24192
  _screen_id: string;
22656
24193
  _session_id: string;
22657
24194
  _station_id: string;
@@ -22803,6 +24340,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22803
24340
  isSetofReturn: false;
22804
24341
  };
22805
24342
  };
24343
+ pick_complete_print_carts: {
24344
+ Args: {
24345
+ _cart_ids: string[];
24346
+ _queue_item_id: string;
24347
+ _session_id: string;
24348
+ };
24349
+ Returns: import("./types").Json;
24350
+ };
22806
24351
  pick_current_pick_day: {
22807
24352
  Args: never;
22808
24353
  Returns: string;
@@ -22839,6 +24384,65 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22839
24384
  };
22840
24385
  Returns: string;
22841
24386
  };
24387
+ pick_enqueue_print_job_from_cart: {
24388
+ Args: {
24389
+ _cart_id: string;
24390
+ _is_herprint: boolean;
24391
+ _printer_id: string;
24392
+ _queue_item_id: string;
24393
+ _selected_cart: import("./types").Json;
24394
+ _session_id: string;
24395
+ };
24396
+ Returns: string;
24397
+ };
24398
+ pick_mark_printed: {
24399
+ Args: {
24400
+ _queue_item_id: string;
24401
+ _reden?: string;
24402
+ _session_id: string;
24403
+ };
24404
+ Returns: {
24405
+ announced_at: string;
24406
+ assigned_user_id: string | null;
24407
+ barcode: string | null;
24408
+ cancelled_at: string | null;
24409
+ cart_count: number;
24410
+ completed_at: string | null;
24411
+ country_code: string | null;
24412
+ created_at: string;
24413
+ customer_name: string | null;
24414
+ delivery_address: string | null;
24415
+ document_number: string | null;
24416
+ document_type_id: string | null;
24417
+ due_at: string | null;
24418
+ id: string;
24419
+ is_urgent: boolean;
24420
+ line_count: number;
24421
+ order_number: string | null;
24422
+ order_type: string | null;
24423
+ payload: import("./types").Json;
24424
+ print_count: number;
24425
+ print_job_id: string | null;
24426
+ printed_at: string | null;
24427
+ printed_by: string | null;
24428
+ printed_cart_ids: import("./types").Json;
24429
+ printer_id: string | null;
24430
+ priority: number;
24431
+ reference: string | null;
24432
+ route: string | null;
24433
+ screen_id: string | null;
24434
+ station_id: string | null;
24435
+ status_id: string | null;
24436
+ updated_at: string;
24437
+ warnings: import("./types").Json;
24438
+ };
24439
+ SetofOptions: {
24440
+ from: "*";
24441
+ to: "pick_queue";
24442
+ isOneToOne: true;
24443
+ isSetofReturn: false;
24444
+ };
24445
+ };
22842
24446
  pick_order_context: {
22843
24447
  Args: {
22844
24448
  _order_id?: string;
@@ -22859,6 +24463,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22859
24463
  };
22860
24464
  Returns: import("./types").Json;
22861
24465
  };
24466
+ pick_print_jobs_status: {
24467
+ Args: {
24468
+ _job_ids: string[];
24469
+ };
24470
+ Returns: import("./types").Json[];
24471
+ };
22862
24472
  pick_print_plekken: {
22863
24473
  Args: never;
22864
24474
  Returns: {
@@ -22867,6 +24477,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22867
24477
  omschrijving: string;
22868
24478
  }[];
22869
24479
  };
24480
+ pick_queue_cart_plan: {
24481
+ Args: {
24482
+ _queue_item_id: string;
24483
+ };
24484
+ Returns: import("./types").Json;
24485
+ };
22870
24486
  pick_reference_data_status: {
22871
24487
  Args: never;
22872
24488
  Returns: import("./types").Json;
@@ -22881,6 +24497,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22881
24497
  };
22882
24498
  Returns: undefined;
22883
24499
  };
24500
+ pick_reprint_cart: {
24501
+ Args: {
24502
+ _cart_id: string;
24503
+ _queue_item_id: string;
24504
+ _session_id: string;
24505
+ _throttle_seconds?: number;
24506
+ };
24507
+ Returns: string;
24508
+ };
22884
24509
  pick_reprint_document: {
22885
24510
  Args: {
22886
24511
  _queue_item_id: string;
@@ -22983,6 +24608,151 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22983
24608
  isSetofReturn: false;
22984
24609
  };
22985
24610
  };
24611
+ pick_reset_print_job: {
24612
+ Args: {
24613
+ _cart_id: string;
24614
+ _job_id: string;
24615
+ _queue_item_id: string;
24616
+ _session_id: string;
24617
+ };
24618
+ Returns: {
24619
+ announced_at: string;
24620
+ assigned_user_id: string | null;
24621
+ barcode: string | null;
24622
+ cancelled_at: string | null;
24623
+ cart_count: number;
24624
+ completed_at: string | null;
24625
+ country_code: string | null;
24626
+ created_at: string;
24627
+ customer_name: string | null;
24628
+ delivery_address: string | null;
24629
+ document_number: string | null;
24630
+ document_type_id: string | null;
24631
+ due_at: string | null;
24632
+ id: string;
24633
+ is_urgent: boolean;
24634
+ line_count: number;
24635
+ order_number: string | null;
24636
+ order_type: string | null;
24637
+ payload: import("./types").Json;
24638
+ print_count: number;
24639
+ print_job_id: string | null;
24640
+ printed_at: string | null;
24641
+ printed_by: string | null;
24642
+ printed_cart_ids: import("./types").Json;
24643
+ printer_id: string | null;
24644
+ priority: number;
24645
+ reference: string | null;
24646
+ route: string | null;
24647
+ screen_id: string | null;
24648
+ station_id: string | null;
24649
+ status_id: string | null;
24650
+ updated_at: string;
24651
+ warnings: import("./types").Json;
24652
+ };
24653
+ SetofOptions: {
24654
+ from: "*";
24655
+ to: "pick_queue";
24656
+ isOneToOne: true;
24657
+ isSetofReturn: false;
24658
+ };
24659
+ };
24660
+ pick_reset_print_jobs: {
24661
+ Args: {
24662
+ _cart_ids: string[];
24663
+ _job_ids: string[];
24664
+ _queue_item_id: string;
24665
+ _session_id: string;
24666
+ };
24667
+ Returns: {
24668
+ announced_at: string;
24669
+ assigned_user_id: string | null;
24670
+ barcode: string | null;
24671
+ cancelled_at: string | null;
24672
+ cart_count: number;
24673
+ completed_at: string | null;
24674
+ country_code: string | null;
24675
+ created_at: string;
24676
+ customer_name: string | null;
24677
+ delivery_address: string | null;
24678
+ document_number: string | null;
24679
+ document_type_id: string | null;
24680
+ due_at: string | null;
24681
+ id: string;
24682
+ is_urgent: boolean;
24683
+ line_count: number;
24684
+ order_number: string | null;
24685
+ order_type: string | null;
24686
+ payload: import("./types").Json;
24687
+ print_count: number;
24688
+ print_job_id: string | null;
24689
+ printed_at: string | null;
24690
+ printed_by: string | null;
24691
+ printed_cart_ids: import("./types").Json;
24692
+ printer_id: string | null;
24693
+ priority: number;
24694
+ reference: string | null;
24695
+ route: string | null;
24696
+ screen_id: string | null;
24697
+ station_id: string | null;
24698
+ status_id: string | null;
24699
+ updated_at: string;
24700
+ warnings: import("./types").Json;
24701
+ };
24702
+ SetofOptions: {
24703
+ from: "*";
24704
+ to: "pick_queue";
24705
+ isOneToOne: true;
24706
+ isSetofReturn: false;
24707
+ };
24708
+ };
24709
+ pick_restore_to_queue: {
24710
+ Args: {
24711
+ _queue_item_id: string;
24712
+ _session_id: string;
24713
+ };
24714
+ Returns: {
24715
+ announced_at: string;
24716
+ assigned_user_id: string | null;
24717
+ barcode: string | null;
24718
+ cancelled_at: string | null;
24719
+ cart_count: number;
24720
+ completed_at: string | null;
24721
+ country_code: string | null;
24722
+ created_at: string;
24723
+ customer_name: string | null;
24724
+ delivery_address: string | null;
24725
+ document_number: string | null;
24726
+ document_type_id: string | null;
24727
+ due_at: string | null;
24728
+ id: string;
24729
+ is_urgent: boolean;
24730
+ line_count: number;
24731
+ order_number: string | null;
24732
+ order_type: string | null;
24733
+ payload: import("./types").Json;
24734
+ print_count: number;
24735
+ print_job_id: string | null;
24736
+ printed_at: string | null;
24737
+ printed_by: string | null;
24738
+ printed_cart_ids: import("./types").Json;
24739
+ printer_id: string | null;
24740
+ priority: number;
24741
+ reference: string | null;
24742
+ route: string | null;
24743
+ screen_id: string | null;
24744
+ station_id: string | null;
24745
+ status_id: string | null;
24746
+ updated_at: string;
24747
+ warnings: import("./types").Json;
24748
+ };
24749
+ SetofOptions: {
24750
+ from: "*";
24751
+ to: "pick_queue";
24752
+ isOneToOne: true;
24753
+ isSetofReturn: false;
24754
+ };
24755
+ };
22986
24756
  pick_seed_reference_data: {
22987
24757
  Args: never;
22988
24758
  Returns: import("./types").Json;
@@ -23032,6 +24802,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23032
24802
  };
23033
24803
  Returns: string;
23034
24804
  };
24805
+ pick_sync_pick_day: {
24806
+ Args: {
24807
+ _day: string;
24808
+ };
24809
+ Returns: import("./types").Json;
24810
+ };
23035
24811
  pick_sync_queue_throttled: {
23036
24812
  Args: {
23037
24813
  _min_seconds?: number;
@@ -23261,6 +25037,20 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23261
25037
  };
23262
25038
  Returns: boolean;
23263
25039
  };
25040
+ release_local_pdf_job: {
25041
+ Args: {
25042
+ _job_id: string;
25043
+ _writer_id: string;
25044
+ };
25045
+ Returns: boolean;
25046
+ };
25047
+ release_print_queue_lease: {
25048
+ Args: {
25049
+ _houder: string;
25050
+ _naam: string;
25051
+ };
25052
+ Returns: boolean;
25053
+ };
23264
25054
  release_stale_order_invoice_links: {
23265
25055
  Args: {
23266
25056
  _minutes?: number;
@@ -23281,6 +25071,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23281
25071
  };
23282
25072
  Returns: import("./types").Json;
23283
25073
  };
25074
+ reset_cart_layer_positions: {
25075
+ Args: {
25076
+ p_cart_id: string;
25077
+ };
25078
+ Returns: number;
25079
+ };
23284
25080
  reset_floriday_sync_cursor: {
23285
25081
  Args: {
23286
25082
  p_connection_id: string;
@@ -23344,6 +25140,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23344
25140
  };
23345
25141
  Returns: import("./types").Json;
23346
25142
  };
25143
+ roles_without_enum_mapping: {
25144
+ Args: never;
25145
+ Returns: {
25146
+ assignment_count: number;
25147
+ id: string;
25148
+ key: string;
25149
+ name: string;
25150
+ }[];
25151
+ };
23347
25152
  ruim_print_jobs_op: {
23348
25153
  Args: {
23349
25154
  _bewaar_dagen?: number;
@@ -23358,6 +25163,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23358
25163
  Args: never;
23359
25164
  Returns: undefined;
23360
25165
  };
25166
+ run_floriday_stock_reconcile: {
25167
+ Args: never;
25168
+ Returns: undefined;
25169
+ };
23361
25170
  run_logistics_tasks_dispatch: {
23362
25171
  Args: never;
23363
25172
  Returns: undefined;
@@ -23376,18 +25185,98 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23376
25185
  };
23377
25186
  Returns: import("./types").Json;
23378
25187
  };
25188
+ scan_complete_cart: {
25189
+ Args: {
25190
+ p_allow_reprint?: boolean;
25191
+ p_cart_id: string;
25192
+ p_print?: boolean;
25193
+ p_scanner_id?: string;
25194
+ };
25195
+ Returns: import("./types").Json;
25196
+ };
23379
25197
  scan_dashboard_stats: {
23380
25198
  Args: {
23381
25199
  p_dagen?: number;
23382
25200
  };
23383
25201
  Returns: import("./types").Json;
23384
25202
  };
25203
+ scan_eindcontrole: {
25204
+ Args: {
25205
+ p_barcode: string;
25206
+ p_scanner_id?: string;
25207
+ };
25208
+ Returns: import("./types").Json;
25209
+ };
23385
25210
  scan_finish_kar: {
23386
25211
  Args: {
23387
25212
  p_kar_id: string;
23388
25213
  };
23389
25214
  Returns: import("./types").Json;
23390
25215
  };
25216
+ scan_kar_compleet: {
25217
+ Args: {
25218
+ p_allow_reprint?: boolean;
25219
+ p_sessie_id: string;
25220
+ };
25221
+ Returns: import("./types").Json;
25222
+ };
25223
+ scan_kar_regels: {
25224
+ Args: {
25225
+ p_cart_id: string;
25226
+ };
25227
+ Returns: import("./types").Json;
25228
+ };
25229
+ scan_log_code: {
25230
+ Args: {
25231
+ p_code: string;
25232
+ p_latency_ms?: number;
25233
+ p_message?: string;
25234
+ p_result: string;
25235
+ p_scanner_key?: string;
25236
+ };
25237
+ Returns: string;
25238
+ };
25239
+ scan_open_pakbonnen: {
25240
+ Args: {
25241
+ p_dagen?: number;
25242
+ };
25243
+ Returns: import("./types").Json;
25244
+ };
25245
+ scan_pakbon_lookup: {
25246
+ Args: {
25247
+ p_barcode: string;
25248
+ };
25249
+ Returns: import("./types").Json;
25250
+ };
25251
+ scan_pakbon_opnieuw: {
25252
+ Args: {
25253
+ p_barcode: string;
25254
+ p_scanner_id?: string;
25255
+ };
25256
+ Returns: import("./types").Json;
25257
+ };
25258
+ scan_pakbon_toevoegen: {
25259
+ Args: {
25260
+ p_barcode: string;
25261
+ p_medewerker?: string;
25262
+ p_regels?: import("./types").Json;
25263
+ p_scanner_id: string;
25264
+ };
25265
+ Returns: import("./types").Json;
25266
+ };
25267
+ scan_print_restpakbon: {
25268
+ Args: {
25269
+ p_printer_id?: string;
25270
+ p_restpakbon_id: string;
25271
+ };
25272
+ Returns: import("./types").Json;
25273
+ };
25274
+ scan_print_verzendbrief: {
25275
+ Args: {
25276
+ p_sessie_id: string;
25277
+ };
25278
+ Returns: import("./types").Json;
25279
+ };
23391
25280
  scan_register_item: {
23392
25281
  Args: {
23393
25282
  p_kar_id: string;
@@ -23406,6 +25295,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23406
25295
  };
23407
25296
  Returns: import("./types").Json;
23408
25297
  };
25298
+ scan_restpakbon_geprint: {
25299
+ Args: {
25300
+ p_id: string;
25301
+ p_print_job_id?: string;
25302
+ };
25303
+ Returns: undefined;
25304
+ };
25305
+ scan_sessie_annuleren: {
25306
+ Args: {
25307
+ p_sessie_id: string;
25308
+ };
25309
+ Returns: undefined;
25310
+ };
25311
+ scan_sessie_open: {
25312
+ Args: {
25313
+ p_scanner_id: string;
25314
+ };
25315
+ Returns: import("./types").Json;
25316
+ };
23409
25317
  scan_start_kar: {
23410
25318
  Args: {
23411
25319
  p_medewerker_id?: string;
@@ -23424,6 +25332,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23424
25332
  };
23425
25333
  Returns: import("./types").Json;
23426
25334
  };
25335
+ scan_verzendbrief_regels: {
25336
+ Args: {
25337
+ p_sessie_id: string;
25338
+ };
25339
+ Returns: import("./types").Json;
25340
+ };
23427
25341
  schedule_floriday_additional_services_sync: {
23428
25342
  Args: {
23429
25343
  p_apikey: string;
@@ -23739,6 +25653,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23739
25653
  };
23740
25654
  Returns: import("./types").Json;
23741
25655
  };
25656
+ swap_cart_layer_positions: {
25657
+ Args: {
25658
+ p_a: string;
25659
+ p_b: string;
25660
+ };
25661
+ Returns: undefined;
25662
+ };
23742
25663
  switch_time_log: {
23743
25664
  Args: {
23744
25665
  p_employee_id: string;
@@ -23771,6 +25692,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23771
25692
  };
23772
25693
  Returns: undefined;
23773
25694
  };
25695
+ sync_order_item_fusten: {
25696
+ Args: {
25697
+ _order_item_id: string;
25698
+ };
25699
+ Returns: undefined;
25700
+ };
23774
25701
  sync_product_group_belading: {
23775
25702
  Args: {
23776
25703
  _group_id: string;
@@ -23877,6 +25804,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23877
25804
  Args: never;
23878
25805
  Returns: string;
23879
25806
  };
25807
+ wake_print_queue: {
25808
+ Args: {
25809
+ _min_interval_ms?: number;
25810
+ };
25811
+ Returns: number;
25812
+ };
23880
25813
  werkbon_totalen: {
23881
25814
  Args: {
23882
25815
  _werkbon_id: string;
@@ -23909,10 +25842,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23909
25842
  };
23910
25843
  Returns: import("./types").Json;
23911
25844
  };
25845
+ wo_set_status: {
25846
+ Args: {
25847
+ _reason?: string;
25848
+ _status: string;
25849
+ _work_order_id: string;
25850
+ };
25851
+ Returns: import("./types").Json;
25852
+ };
23912
25853
  };
23913
25854
  Enums: {
23914
25855
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
23915
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
25856
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
23916
25857
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
23917
25858
  doc_orientation: "portrait" | "landscape";
23918
25859
  exact_env: "staging" | "live";