@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
@@ -691,6 +691,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
691
691
  raw: import("./types").Json;
692
692
  updated_at: string;
693
693
  valuta: string;
694
+ velden: import("./types").Json;
694
695
  };
695
696
  Insert: {
696
697
  artikelcode: string;
@@ -708,6 +709,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
708
709
  raw?: import("./types").Json;
709
710
  updated_at?: string;
710
711
  valuta?: string;
712
+ velden?: import("./types").Json;
711
713
  };
712
714
  Update: {
713
715
  artikelcode?: string;
@@ -725,6 +727,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
725
727
  raw?: import("./types").Json;
726
728
  updated_at?: string;
727
729
  valuta?: string;
730
+ velden?: import("./types").Json;
728
731
  };
729
732
  Relationships: [];
730
733
  };
@@ -1419,8 +1422,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
1419
1422
  Row: {
1420
1423
  assigned_at: string;
1421
1424
  cart_index: number;
1422
- cart_number: string;
1423
- day_seq: number;
1425
+ cart_number: string | null;
1426
+ day_seq: number | null;
1427
+ delivered_at: string | null;
1424
1428
  id: string;
1425
1429
  order_id: string;
1426
1430
  order_source: string;
@@ -1430,8 +1434,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
1430
1434
  Insert: {
1431
1435
  assigned_at?: string;
1432
1436
  cart_index: number;
1433
- cart_number: string;
1434
- day_seq: number;
1437
+ cart_number?: string | null;
1438
+ day_seq?: number | null;
1439
+ delivered_at?: string | null;
1435
1440
  id?: string;
1436
1441
  order_id: string;
1437
1442
  order_source: string;
@@ -1441,8 +1446,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
1441
1446
  Update: {
1442
1447
  assigned_at?: string;
1443
1448
  cart_index?: number;
1444
- cart_number?: string;
1445
- day_seq?: number;
1449
+ cart_number?: string | null;
1450
+ day_seq?: number | null;
1451
+ delivered_at?: string | null;
1446
1452
  id?: string;
1447
1453
  order_id?: string;
1448
1454
  order_source?: string;
@@ -1543,6 +1549,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
1543
1549
  updated_at?: string;
1544
1550
  };
1545
1551
  Relationships: [{
1552
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1553
+ columns: ["product_id"];
1554
+ isOneToOne: true;
1555
+ referencedRelation: "logistics_product_dimensions";
1556
+ referencedColumns: ["product_id"];
1557
+ }, {
1546
1558
  foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1547
1559
  columns: ["product_id"];
1548
1560
  isOneToOne: true;
@@ -7070,6 +7082,51 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
7070
7082
  };
7071
7083
  Relationships: [];
7072
7084
  };
7085
+ floriday_status_sync_queue: {
7086
+ Row: {
7087
+ attempts: number;
7088
+ created_at: string;
7089
+ error: string | null;
7090
+ floriday_sales_order_id: string;
7091
+ order_id: string;
7092
+ processed_at: string | null;
7093
+ requested_at: string;
7094
+ state: string;
7095
+ target_status: string;
7096
+ updated_at: string;
7097
+ };
7098
+ Insert: {
7099
+ attempts?: number;
7100
+ created_at?: string;
7101
+ error?: string | null;
7102
+ floriday_sales_order_id: string;
7103
+ order_id: string;
7104
+ processed_at?: string | null;
7105
+ requested_at?: string;
7106
+ state?: string;
7107
+ target_status: string;
7108
+ updated_at?: string;
7109
+ };
7110
+ Update: {
7111
+ attempts?: number;
7112
+ created_at?: string;
7113
+ error?: string | null;
7114
+ floriday_sales_order_id?: string;
7115
+ order_id?: string;
7116
+ processed_at?: string | null;
7117
+ requested_at?: string;
7118
+ state?: string;
7119
+ target_status?: string;
7120
+ updated_at?: string;
7121
+ };
7122
+ Relationships: [{
7123
+ foreignKeyName: "floriday_status_sync_queue_order_id_fkey";
7124
+ columns: ["order_id"];
7125
+ isOneToOne: true;
7126
+ referencedRelation: "orders";
7127
+ referencedColumns: ["id"];
7128
+ }];
7129
+ };
7073
7130
  floriday_sync_cursors: {
7074
7131
  Row: {
7075
7132
  connection_id: string;
@@ -8304,10 +8361,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
8304
8361
  general_email: string | null;
8305
8362
  general_phone: string | null;
8306
8363
  id: string;
8364
+ kvk_number: string | null;
8307
8365
  legacy_customer_id: string | null;
8308
8366
  name: string;
8309
8367
  segment: Database["public"]["Enums"]["itk_customer_segment"];
8310
8368
  updated_at: string;
8369
+ vat_number: string | null;
8311
8370
  };
8312
8371
  Insert: {
8313
8372
  billing_city?: string | null;
@@ -8318,10 +8377,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
8318
8377
  general_email?: string | null;
8319
8378
  general_phone?: string | null;
8320
8379
  id?: string;
8380
+ kvk_number?: string | null;
8321
8381
  legacy_customer_id?: string | null;
8322
8382
  name: string;
8323
8383
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8324
8384
  updated_at?: string;
8385
+ vat_number?: string | null;
8325
8386
  };
8326
8387
  Update: {
8327
8388
  billing_city?: string | null;
@@ -8332,10 +8393,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
8332
8393
  general_email?: string | null;
8333
8394
  general_phone?: string | null;
8334
8395
  id?: string;
8396
+ kvk_number?: string | null;
8335
8397
  legacy_customer_id?: string | null;
8336
8398
  name?: string;
8337
8399
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8338
8400
  updated_at?: string;
8401
+ vat_number?: string | null;
8339
8402
  };
8340
8403
  Relationships: [];
8341
8404
  };
@@ -8369,6 +8432,117 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
8369
8432
  };
8370
8433
  Relationships: [];
8371
8434
  };
8435
+ itk_handover_github_scan: {
8436
+ Row: {
8437
+ gescand_op: string;
8438
+ gevonden: boolean;
8439
+ melding: string | null;
8440
+ module_id: string | null;
8441
+ repo: string;
8442
+ };
8443
+ Insert: {
8444
+ gescand_op?: string;
8445
+ gevonden?: boolean;
8446
+ melding?: string | null;
8447
+ module_id?: string | null;
8448
+ repo: string;
8449
+ };
8450
+ Update: {
8451
+ gescand_op?: string;
8452
+ gevonden?: boolean;
8453
+ melding?: string | null;
8454
+ module_id?: string | null;
8455
+ repo?: string;
8456
+ };
8457
+ Relationships: [];
8458
+ };
8459
+ itk_handover_module_meta: {
8460
+ Row: {
8461
+ check_aangevraagd_op: string | null;
8462
+ check_nodig: boolean;
8463
+ check_reden: string | null;
8464
+ created_at: string;
8465
+ module_id: string;
8466
+ project_url: string | null;
8467
+ publicatie_url: string | null;
8468
+ updated_at: string;
8469
+ };
8470
+ Insert: {
8471
+ check_aangevraagd_op?: string | null;
8472
+ check_nodig?: boolean;
8473
+ check_reden?: string | null;
8474
+ created_at?: string;
8475
+ module_id: string;
8476
+ project_url?: string | null;
8477
+ publicatie_url?: string | null;
8478
+ updated_at?: string;
8479
+ };
8480
+ Update: {
8481
+ check_aangevraagd_op?: string | null;
8482
+ check_nodig?: boolean;
8483
+ check_reden?: string | null;
8484
+ created_at?: string;
8485
+ module_id?: string;
8486
+ project_url?: string | null;
8487
+ publicatie_url?: string | null;
8488
+ updated_at?: string;
8489
+ };
8490
+ Relationships: [];
8491
+ };
8492
+ itk_handover_project_modules: {
8493
+ Row: {
8494
+ created_at: string;
8495
+ id: string;
8496
+ module_id: string;
8497
+ project_id: string;
8498
+ updated_at: string;
8499
+ };
8500
+ Insert: {
8501
+ created_at?: string;
8502
+ id?: string;
8503
+ module_id: string;
8504
+ project_id: string;
8505
+ updated_at?: string;
8506
+ };
8507
+ Update: {
8508
+ created_at?: string;
8509
+ id?: string;
8510
+ module_id?: string;
8511
+ project_id?: string;
8512
+ updated_at?: string;
8513
+ };
8514
+ Relationships: [{
8515
+ foreignKeyName: "itk_handover_project_modules_project_id_fkey";
8516
+ columns: ["project_id"];
8517
+ isOneToOne: false;
8518
+ referencedRelation: "itk_handover_projecten";
8519
+ referencedColumns: ["id"];
8520
+ }];
8521
+ };
8522
+ itk_handover_projecten: {
8523
+ Row: {
8524
+ created_at: string;
8525
+ id: string;
8526
+ naam: string;
8527
+ omschrijving: string | null;
8528
+ updated_at: string;
8529
+ };
8530
+ Insert: {
8531
+ created_at?: string;
8532
+ id?: string;
8533
+ naam: string;
8534
+ omschrijving?: string | null;
8535
+ updated_at?: string;
8536
+ };
8537
+ Update: {
8538
+ created_at?: string;
8539
+ id?: string;
8540
+ naam?: string;
8541
+ omschrijving?: string | null;
8542
+ updated_at?: string;
8543
+ };
8544
+ Relationships: [];
8545
+ };
8372
8546
  itk_handover_rechten: {
8373
8547
  Row: {
8374
8548
  created_at: string;
@@ -8396,42 +8570,33 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
8396
8570
  };
8397
8571
  Relationships: [];
8398
8572
  };
8399
- itk_handover_tokens: {
8573
+ itk_module_fingerprints: {
8400
8574
  Row: {
8401
- aangemaakt_door: string | null;
8402
8575
  created_at: string;
8576
+ gemaakt_op: string;
8577
+ hash: string;
8403
8578
  id: string;
8404
- is_actief: boolean;
8405
- laatst_gebruikt_op: string | null;
8406
- label: string;
8407
8579
  module_id: string;
8408
- token_hash: string;
8580
+ payload: import("./types").Json;
8409
8581
  updated_at: string;
8410
- verloopt_op: string | null;
8411
8582
  };
8412
8583
  Insert: {
8413
- aangemaakt_door?: string | null;
8414
8584
  created_at?: string;
8585
+ gemaakt_op?: string;
8586
+ hash: string;
8415
8587
  id?: string;
8416
- is_actief?: boolean;
8417
- laatst_gebruikt_op?: string | null;
8418
- label?: string;
8419
8588
  module_id: string;
8420
- token_hash: string;
8589
+ payload?: import("./types").Json;
8421
8590
  updated_at?: string;
8422
- verloopt_op?: string | null;
8423
8591
  };
8424
8592
  Update: {
8425
- aangemaakt_door?: string | null;
8426
8593
  created_at?: string;
8594
+ gemaakt_op?: string;
8595
+ hash?: string;
8427
8596
  id?: string;
8428
- is_actief?: boolean;
8429
- laatst_gebruikt_op?: string | null;
8430
- label?: string;
8431
8597
  module_id?: string;
8432
- token_hash?: string;
8598
+ payload?: import("./types").Json;
8433
8599
  updated_at?: string;
8434
- verloopt_op?: string | null;
8435
8600
  };
8436
8601
  Relationships: [];
8437
8602
  };
@@ -8439,6 +8604,11 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
8439
8604
  Row: {
8440
8605
  bevindingen: string | null;
8441
8606
  bezit_tabellen: string[];
8607
+ bron_commit: string | null;
8608
+ bron_pad: string | null;
8609
+ bron_repo: string | null;
8610
+ bron_soort: string | null;
8611
+ bron_versie: string | null;
8442
8612
  conflicten_snapshot: import("./types").Json;
8443
8613
  contractfuncties: string[];
8444
8614
  created_at: string;
@@ -8449,6 +8619,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
8449
8619
  id: string;
8450
8620
  inhoud_md: string;
8451
8621
  is_actueel: boolean;
8622
+ is_gearchiveerd: boolean;
8623
+ laatst_gecontroleerd_op: string | null;
8452
8624
  module_id: string;
8453
8625
  module_titel: string;
8454
8626
  ontbrekende_contracten: string[];
@@ -8459,6 +8631,11 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
8459
8631
  Insert: {
8460
8632
  bevindingen?: string | null;
8461
8633
  bezit_tabellen?: string[];
8634
+ bron_commit?: string | null;
8635
+ bron_pad?: string | null;
8636
+ bron_repo?: string | null;
8637
+ bron_soort?: string | null;
8638
+ bron_versie?: string | null;
8462
8639
  conflicten_snapshot?: import("./types").Json;
8463
8640
  contractfuncties?: string[];
8464
8641
  created_at?: string;
@@ -8469,6 +8646,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
8469
8646
  id?: string;
8470
8647
  inhoud_md: string;
8471
8648
  is_actueel?: boolean;
8649
+ is_gearchiveerd?: boolean;
8650
+ laatst_gecontroleerd_op?: string | null;
8472
8651
  module_id: string;
8473
8652
  module_titel: string;
8474
8653
  ontbrekende_contracten?: string[];
@@ -8479,6 +8658,11 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
8479
8658
  Update: {
8480
8659
  bevindingen?: string | null;
8481
8660
  bezit_tabellen?: string[];
8661
+ bron_commit?: string | null;
8662
+ bron_pad?: string | null;
8663
+ bron_repo?: string | null;
8664
+ bron_soort?: string | null;
8665
+ bron_versie?: string | null;
8482
8666
  conflicten_snapshot?: import("./types").Json;
8483
8667
  contractfuncties?: string[];
8484
8668
  created_at?: string;
@@ -8489,6 +8673,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
8489
8673
  id?: string;
8490
8674
  inhoud_md?: string;
8491
8675
  is_actueel?: boolean;
8676
+ is_gearchiveerd?: boolean;
8677
+ laatst_gecontroleerd_op?: string | null;
8492
8678
  module_id?: string;
8493
8679
  module_titel?: string;
8494
8680
  ontbrekende_contracten?: string[];
@@ -8543,6 +8729,39 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
8543
8729
  };
8544
8730
  Relationships: [];
8545
8731
  };
8732
+ itk_module_wijzigingen: {
8733
+ Row: {
8734
+ created_at: string;
8735
+ geconstateerd_op: string;
8736
+ id: string;
8737
+ module_id: string;
8738
+ omschrijving: string;
8739
+ soort: string;
8740
+ updated_at: string;
8741
+ was_na_publicatie: boolean;
8742
+ };
8743
+ Insert: {
8744
+ created_at?: string;
8745
+ geconstateerd_op?: string;
8746
+ id?: string;
8747
+ module_id: string;
8748
+ omschrijving: string;
8749
+ soort: string;
8750
+ updated_at?: string;
8751
+ was_na_publicatie?: boolean;
8752
+ };
8753
+ Update: {
8754
+ created_at?: string;
8755
+ geconstateerd_op?: string;
8756
+ id?: string;
8757
+ module_id?: string;
8758
+ omschrijving?: string;
8759
+ soort?: string;
8760
+ updated_at?: string;
8761
+ was_na_publicatie?: boolean;
8762
+ };
8763
+ Relationships: [];
8764
+ };
8546
8765
  itk_offerte_events: {
8547
8766
  Row: {
8548
8767
  created_at: string;
@@ -8781,12 +9000,24 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
8781
9000
  isOneToOne: false;
8782
9001
  referencedRelation: "werkbonnen";
8783
9002
  referencedColumns: ["id"];
9003
+ }, {
9004
+ foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
9005
+ columns: ["follow_up_werkbon_id"];
9006
+ isOneToOne: false;
9007
+ referencedRelation: "wo_overview";
9008
+ referencedColumns: ["id"];
8784
9009
  }, {
8785
9010
  foreignKeyName: "itk_offertes_werkbon_id_fkey";
8786
9011
  columns: ["werkbon_id"];
8787
9012
  isOneToOne: false;
8788
9013
  referencedRelation: "werkbonnen";
8789
9014
  referencedColumns: ["id"];
9015
+ }, {
9016
+ foreignKeyName: "itk_offertes_werkbon_id_fkey";
9017
+ columns: ["werkbon_id"];
9018
+ isOneToOne: false;
9019
+ referencedRelation: "wo_overview";
9020
+ referencedColumns: ["id"];
8790
9021
  }, {
8791
9022
  foreignKeyName: "itk_offertes_work_location_id_fkey";
8792
9023
  columns: ["work_location_id"];
@@ -9087,6 +9318,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
9087
9318
  isOneToOne: false;
9088
9319
  referencedRelation: "product_categories";
9089
9320
  referencedColumns: ["id"];
9321
+ }, {
9322
+ foreignKeyName: "local_customer_agreements_product_id_fkey";
9323
+ columns: ["product_id"];
9324
+ isOneToOne: false;
9325
+ referencedRelation: "logistics_product_dimensions";
9326
+ referencedColumns: ["product_id"];
9090
9327
  }, {
9091
9328
  foreignKeyName: "local_customer_agreements_product_id_fkey";
9092
9329
  columns: ["product_id"];
@@ -9153,6 +9390,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
9153
9390
  isOneToOne: false;
9154
9391
  referencedRelation: "product_categories";
9155
9392
  referencedColumns: ["id"];
9393
+ }, {
9394
+ foreignKeyName: "local_customer_price_groups_product_id_fkey";
9395
+ columns: ["product_id"];
9396
+ isOneToOne: false;
9397
+ referencedRelation: "logistics_product_dimensions";
9398
+ referencedColumns: ["product_id"];
9156
9399
  }, {
9157
9400
  foreignKeyName: "local_customer_price_groups_product_id_fkey";
9158
9401
  columns: ["product_id"];
@@ -9219,6 +9462,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
9219
9462
  isOneToOne: false;
9220
9463
  referencedRelation: "product_categories";
9221
9464
  referencedColumns: ["id"];
9465
+ }, {
9466
+ foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9467
+ columns: ["product_id"];
9468
+ isOneToOne: false;
9469
+ referencedRelation: "logistics_product_dimensions";
9470
+ referencedColumns: ["product_id"];
9222
9471
  }, {
9223
9472
  foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9224
9473
  columns: ["product_id"];
@@ -9422,6 +9671,75 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
9422
9671
  };
9423
9672
  Relationships: [];
9424
9673
  };
9674
+ logistics_control_scan: {
9675
+ Row: {
9676
+ approved_at: string | null;
9677
+ attempts: number;
9678
+ barcode: string;
9679
+ cart_id: string;
9680
+ created_at: string;
9681
+ document_url: string | null;
9682
+ error: string | null;
9683
+ error_code: string | null;
9684
+ fulfillment_order_id: string | null;
9685
+ id: string;
9686
+ is_floriday: boolean;
9687
+ locked_until: string | null;
9688
+ order_id: string | null;
9689
+ order_number: string | null;
9690
+ print_job_id: string | null;
9691
+ printed_at: string | null;
9692
+ printer_id: string | null;
9693
+ scanner_id: string | null;
9694
+ status: string;
9695
+ updated_at: string;
9696
+ };
9697
+ Insert: {
9698
+ approved_at?: string | null;
9699
+ attempts?: number;
9700
+ barcode: string;
9701
+ cart_id: string;
9702
+ created_at?: string;
9703
+ document_url?: string | null;
9704
+ error?: string | null;
9705
+ error_code?: string | null;
9706
+ fulfillment_order_id?: string | null;
9707
+ id?: string;
9708
+ is_floriday?: boolean;
9709
+ locked_until?: string | null;
9710
+ order_id?: string | null;
9711
+ order_number?: string | null;
9712
+ print_job_id?: string | null;
9713
+ printed_at?: string | null;
9714
+ printer_id?: string | null;
9715
+ scanner_id?: string | null;
9716
+ status?: string;
9717
+ updated_at?: string;
9718
+ };
9719
+ Update: {
9720
+ approved_at?: string | null;
9721
+ attempts?: number;
9722
+ barcode?: string;
9723
+ cart_id?: string;
9724
+ created_at?: string;
9725
+ document_url?: string | null;
9726
+ error?: string | null;
9727
+ error_code?: string | null;
9728
+ fulfillment_order_id?: string | null;
9729
+ id?: string;
9730
+ is_floriday?: boolean;
9731
+ locked_until?: string | null;
9732
+ order_id?: string | null;
9733
+ order_number?: string | null;
9734
+ print_job_id?: string | null;
9735
+ printed_at?: string | null;
9736
+ printer_id?: string | null;
9737
+ scanner_id?: string | null;
9738
+ status?: string;
9739
+ updated_at?: string;
9740
+ };
9741
+ Relationships: [];
9742
+ };
9425
9743
  logistics_decisions: {
9426
9744
  Row: {
9427
9745
  created_at: string;
@@ -9707,6 +10025,24 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
9707
10025
  };
9708
10026
  Relationships: [];
9709
10027
  };
10028
+ logistics_floriday_carrier_map: {
10029
+ Row: {
10030
+ carrier_code: string;
10031
+ created_at: string;
10032
+ floriday_code: string;
10033
+ };
10034
+ Insert: {
10035
+ carrier_code: string;
10036
+ created_at?: string;
10037
+ floriday_code: string;
10038
+ };
10039
+ Update: {
10040
+ carrier_code?: string;
10041
+ created_at?: string;
10042
+ floriday_code?: string;
10043
+ };
10044
+ Relationships: [];
10045
+ };
9710
10046
  logistics_floriday_pushes: {
9711
10047
  Row: {
9712
10048
  attempts: number;
@@ -9824,20 +10160,50 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
9824
10160
  referencedColumns: ["id"];
9825
10161
  }];
9826
10162
  };
9827
- logistics_pickup_moments: {
10163
+ logistics_layer_override_log: {
9828
10164
  Row: {
9829
- carrier_ref: string | null;
10165
+ cart_id: string;
9830
10166
  created_at: string;
10167
+ details: import("./types").Json;
9831
10168
  id: string;
9832
- label: string | null;
9833
- moment_date: string;
9834
- pickup_time: string;
9835
- sequence: number;
9836
- updated_at: string;
9837
- user_id: string;
10169
+ keg_id: string | null;
10170
+ product_id: string | null;
10171
+ reason: string;
9838
10172
  };
9839
10173
  Insert: {
9840
- carrier_ref?: string | null;
10174
+ cart_id: string;
10175
+ created_at?: string;
10176
+ details?: import("./types").Json;
10177
+ id?: string;
10178
+ keg_id?: string | null;
10179
+ product_id?: string | null;
10180
+ reason: string;
10181
+ };
10182
+ Update: {
10183
+ cart_id?: string;
10184
+ created_at?: string;
10185
+ details?: import("./types").Json;
10186
+ id?: string;
10187
+ keg_id?: string | null;
10188
+ product_id?: string | null;
10189
+ reason?: string;
10190
+ };
10191
+ Relationships: [];
10192
+ };
10193
+ logistics_pickup_moments: {
10194
+ Row: {
10195
+ carrier_ref: string | null;
10196
+ created_at: string;
10197
+ id: string;
10198
+ label: string | null;
10199
+ moment_date: string;
10200
+ pickup_time: string;
10201
+ sequence: number;
10202
+ updated_at: string;
10203
+ user_id: string;
10204
+ };
10205
+ Insert: {
10206
+ carrier_ref?: string | null;
9841
10207
  created_at?: string;
9842
10208
  id?: string;
9843
10209
  label?: string | null;
@@ -11029,6 +11395,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
11029
11395
  updated_at?: string;
11030
11396
  };
11031
11397
  Relationships: [{
11398
+ foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11399
+ columns: ["product_id"];
11400
+ isOneToOne: false;
11401
+ referencedRelation: "logistics_product_dimensions";
11402
+ referencedColumns: ["product_id"];
11403
+ }, {
11032
11404
  foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11033
11405
  columns: ["product_id"];
11034
11406
  isOneToOne: false;
@@ -12335,6 +12707,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12335
12707
  order_buffers: {
12336
12708
  Row: {
12337
12709
  buffer_key: string;
12710
+ close_at: string | null;
12711
+ closed_at: string | null;
12338
12712
  created_at: string;
12339
12713
  customer_id: string | null;
12340
12714
  grouping_mode: string;
@@ -12346,6 +12720,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12346
12720
  };
12347
12721
  Insert: {
12348
12722
  buffer_key: string;
12723
+ close_at?: string | null;
12724
+ closed_at?: string | null;
12349
12725
  created_at?: string;
12350
12726
  customer_id?: string | null;
12351
12727
  grouping_mode: string;
@@ -12357,6 +12733,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12357
12733
  };
12358
12734
  Update: {
12359
12735
  buffer_key?: string;
12736
+ close_at?: string | null;
12737
+ closed_at?: string | null;
12360
12738
  created_at?: string;
12361
12739
  customer_id?: string | null;
12362
12740
  grouping_mode?: string;
@@ -12435,6 +12813,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12435
12813
  isOneToOne: false;
12436
12814
  referencedRelation: "order_items";
12437
12815
  referencedColumns: ["id"];
12816
+ }, {
12817
+ foreignKeyName: "order_cart_items_product_id_fkey";
12818
+ columns: ["product_id"];
12819
+ isOneToOne: false;
12820
+ referencedRelation: "logistics_product_dimensions";
12821
+ referencedColumns: ["product_id"];
12438
12822
  }, {
12439
12823
  foreignKeyName: "order_cart_items_product_id_fkey";
12440
12824
  columns: ["product_id"];
@@ -12443,6 +12827,93 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12443
12827
  referencedColumns: ["id"];
12444
12828
  }];
12445
12829
  };
12830
+ order_cart_layer_positions: {
12831
+ Row: {
12832
+ algorithm_version: number | null;
12833
+ cart_id: string;
12834
+ created_at: string;
12835
+ height: number;
12836
+ id: string;
12837
+ keg_id: string;
12838
+ label: string | null;
12839
+ layer: number;
12840
+ layer_height: number | null;
12841
+ layer_width: number | null;
12842
+ manual_overridden_at: string | null;
12843
+ manual_overridden_by: string | null;
12844
+ manual_override: boolean;
12845
+ order_item_id: string | null;
12846
+ original_layer: number | null;
12847
+ original_x: number | null;
12848
+ original_y: number | null;
12849
+ product_id: string | null;
12850
+ rotation: number;
12851
+ source: string | null;
12852
+ updated_at: string;
12853
+ width: number;
12854
+ x: number;
12855
+ y: number;
12856
+ };
12857
+ Insert: {
12858
+ algorithm_version?: number | null;
12859
+ cart_id: string;
12860
+ created_at?: string;
12861
+ height: number;
12862
+ id?: string;
12863
+ keg_id: string;
12864
+ label?: string | null;
12865
+ layer: number;
12866
+ layer_height?: number | null;
12867
+ layer_width?: number | null;
12868
+ manual_overridden_at?: string | null;
12869
+ manual_overridden_by?: string | null;
12870
+ manual_override?: boolean;
12871
+ order_item_id?: string | null;
12872
+ original_layer?: number | null;
12873
+ original_x?: number | null;
12874
+ original_y?: number | null;
12875
+ product_id?: string | null;
12876
+ rotation?: number;
12877
+ source?: string | null;
12878
+ updated_at?: string;
12879
+ width: number;
12880
+ x: number;
12881
+ y: number;
12882
+ };
12883
+ Update: {
12884
+ algorithm_version?: number | null;
12885
+ cart_id?: string;
12886
+ created_at?: string;
12887
+ height?: number;
12888
+ id?: string;
12889
+ keg_id?: string;
12890
+ label?: string | null;
12891
+ layer?: number;
12892
+ layer_height?: number | null;
12893
+ layer_width?: number | null;
12894
+ manual_overridden_at?: string | null;
12895
+ manual_overridden_by?: string | null;
12896
+ manual_override?: boolean;
12897
+ order_item_id?: string | null;
12898
+ original_layer?: number | null;
12899
+ original_x?: number | null;
12900
+ original_y?: number | null;
12901
+ product_id?: string | null;
12902
+ rotation?: number;
12903
+ source?: string | null;
12904
+ updated_at?: string;
12905
+ width?: number;
12906
+ x?: number;
12907
+ y?: number;
12908
+ };
12909
+ Relationships: [{
12910
+ foreignKeyName: "order_cart_layer_positions_cart_id_fkey";
12911
+ columns: ["cart_id"];
12912
+ isOneToOne: false;
12913
+ referencedRelation: "order_carts";
12914
+ referencedColumns: ["id"];
12915
+ }];
12916
+ };
12446
12917
  order_carts: {
12447
12918
  Row: {
12448
12919
  algorithm_version: number;
@@ -12465,6 +12936,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12465
12936
  pickup_locked: boolean;
12466
12937
  pickup_moment_id: string | null;
12467
12938
  source: string;
12939
+ total_carts: number | null;
12468
12940
  total_layers_used: number;
12469
12941
  updated_at: string;
12470
12942
  weight_kg: number | null;
@@ -12490,6 +12962,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12490
12962
  pickup_locked?: boolean;
12491
12963
  pickup_moment_id?: string | null;
12492
12964
  source?: string;
12965
+ total_carts?: number | null;
12493
12966
  total_layers_used?: number;
12494
12967
  updated_at?: string;
12495
12968
  weight_kg?: number | null;
@@ -12515,6 +12988,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12515
12988
  pickup_locked?: boolean;
12516
12989
  pickup_moment_id?: string | null;
12517
12990
  source?: string;
12991
+ total_carts?: number | null;
12518
12992
  total_layers_used?: number;
12519
12993
  updated_at?: string;
12520
12994
  weight_kg?: number | null;
@@ -12617,6 +13091,39 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12617
13091
  };
12618
13092
  Relationships: [];
12619
13093
  };
13094
+ order_fust_bookings: {
13095
+ Row: {
13096
+ created_at: string;
13097
+ fust_type_id: string;
13098
+ id: string;
13099
+ order_item_id: string;
13100
+ quantity: number;
13101
+ updated_at: string;
13102
+ };
13103
+ Insert: {
13104
+ created_at?: string;
13105
+ fust_type_id: string;
13106
+ id?: string;
13107
+ order_item_id: string;
13108
+ quantity?: number;
13109
+ updated_at?: string;
13110
+ };
13111
+ Update: {
13112
+ created_at?: string;
13113
+ fust_type_id?: string;
13114
+ id?: string;
13115
+ order_item_id?: string;
13116
+ quantity?: number;
13117
+ updated_at?: string;
13118
+ };
13119
+ Relationships: [{
13120
+ foreignKeyName: "order_fust_bookings_fust_type_id_fkey";
13121
+ columns: ["fust_type_id"];
13122
+ isOneToOne: false;
13123
+ referencedRelation: "fust_types";
13124
+ referencedColumns: ["id"];
13125
+ }];
13126
+ };
12620
13127
  order_invoice_links: {
12621
13128
  Row: {
12622
13129
  administration_code: string | null;
@@ -12705,6 +13212,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12705
13212
  isOneToOne: false;
12706
13213
  referencedRelation: "orders";
12707
13214
  referencedColumns: ["id"];
13215
+ }, {
13216
+ foreignKeyName: "order_items_product_id_fkey";
13217
+ columns: ["product_id"];
13218
+ isOneToOne: false;
13219
+ referencedRelation: "logistics_product_dimensions";
13220
+ referencedColumns: ["product_id"];
12708
13221
  }, {
12709
13222
  foreignKeyName: "order_items_product_id_fkey";
12710
13223
  columns: ["product_id"];
@@ -12852,6 +13365,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12852
13365
  plan_locked_at: string | null;
12853
13366
  plan_locked_ref: string | null;
12854
13367
  status: string;
13368
+ status_changed_at: string;
13369
+ status_origin: string;
13370
+ status_sync_token: string | null;
12855
13371
  total: string;
12856
13372
  updated_at: string;
12857
13373
  };
@@ -12876,6 +13392,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12876
13392
  plan_locked_at?: string | null;
12877
13393
  plan_locked_ref?: string | null;
12878
13394
  status?: string;
13395
+ status_changed_at?: string;
13396
+ status_origin?: string;
13397
+ status_sync_token?: string | null;
12879
13398
  total?: string;
12880
13399
  updated_at?: string;
12881
13400
  };
@@ -12900,6 +13419,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12900
13419
  plan_locked_at?: string | null;
12901
13420
  plan_locked_ref?: string | null;
12902
13421
  status?: string;
13422
+ status_changed_at?: string;
13423
+ status_origin?: string;
13424
+ status_sync_token?: string | null;
12903
13425
  total?: string;
12904
13426
  updated_at?: string;
12905
13427
  };
@@ -12953,6 +13475,132 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
12953
13475
  };
12954
13476
  Relationships: [];
12955
13477
  };
13478
+ pakbon_barcode_inhoud: {
13479
+ Row: {
13480
+ barcode: string;
13481
+ cart_id: string | null;
13482
+ cart_index: number | null;
13483
+ cart_label: string | null;
13484
+ cart_total: number | null;
13485
+ created_at: string;
13486
+ is_herprint: boolean;
13487
+ klant_naam: string | null;
13488
+ klant_nummer: string | null;
13489
+ layout_id: string | null;
13490
+ layout_variant: string | null;
13491
+ order_nummer: string | null;
13492
+ order_ref: string | null;
13493
+ print_job_id: string | null;
13494
+ regels: import("./types").Json;
13495
+ updated_at: string;
13496
+ };
13497
+ Insert: {
13498
+ barcode: string;
13499
+ cart_id?: string | null;
13500
+ cart_index?: number | null;
13501
+ cart_label?: string | null;
13502
+ cart_total?: number | null;
13503
+ created_at?: string;
13504
+ is_herprint?: boolean;
13505
+ klant_naam?: string | null;
13506
+ klant_nummer?: string | null;
13507
+ layout_id?: string | null;
13508
+ layout_variant?: string | null;
13509
+ order_nummer?: string | null;
13510
+ order_ref?: string | null;
13511
+ print_job_id?: string | null;
13512
+ regels?: import("./types").Json;
13513
+ updated_at?: string;
13514
+ };
13515
+ Update: {
13516
+ barcode?: string;
13517
+ cart_id?: string | null;
13518
+ cart_index?: number | null;
13519
+ cart_label?: string | null;
13520
+ cart_total?: number | null;
13521
+ created_at?: string;
13522
+ is_herprint?: boolean;
13523
+ klant_naam?: string | null;
13524
+ klant_nummer?: string | null;
13525
+ layout_id?: string | null;
13526
+ layout_variant?: string | null;
13527
+ order_nummer?: string | null;
13528
+ order_ref?: string | null;
13529
+ print_job_id?: string | null;
13530
+ regels?: import("./types").Json;
13531
+ updated_at?: string;
13532
+ };
13533
+ Relationships: [];
13534
+ };
13535
+ pakbon_barcode_verzoeken: {
13536
+ Row: {
13537
+ aangevraagd_op: string;
13538
+ barcode: string | null;
13539
+ cart_id: string | null;
13540
+ cart_index: number | null;
13541
+ cart_label: string | null;
13542
+ cart_total: number | null;
13543
+ documentnaam: string | null;
13544
+ geleverd_op: string | null;
13545
+ id: string;
13546
+ is_herprint: boolean;
13547
+ klant_naam: string | null;
13548
+ klant_nummer: string | null;
13549
+ laatst_gevraagd_op: string;
13550
+ layout_id: string | null;
13551
+ layout_variant: string | null;
13552
+ order_nummer: string | null;
13553
+ order_ref: string | null;
13554
+ print_job_id: string;
13555
+ status: string;
13556
+ updated_at: string;
13557
+ };
13558
+ Insert: {
13559
+ aangevraagd_op?: string;
13560
+ barcode?: string | null;
13561
+ cart_id?: string | null;
13562
+ cart_index?: number | null;
13563
+ cart_label?: string | null;
13564
+ cart_total?: number | null;
13565
+ documentnaam?: string | null;
13566
+ geleverd_op?: string | null;
13567
+ id?: string;
13568
+ is_herprint?: boolean;
13569
+ klant_naam?: string | null;
13570
+ klant_nummer?: string | null;
13571
+ laatst_gevraagd_op?: string;
13572
+ layout_id?: string | null;
13573
+ layout_variant?: string | null;
13574
+ order_nummer?: string | null;
13575
+ order_ref?: string | null;
13576
+ print_job_id: string;
13577
+ status?: string;
13578
+ updated_at?: string;
13579
+ };
13580
+ Update: {
13581
+ aangevraagd_op?: string;
13582
+ barcode?: string | null;
13583
+ cart_id?: string | null;
13584
+ cart_index?: number | null;
13585
+ cart_label?: string | null;
13586
+ cart_total?: number | null;
13587
+ documentnaam?: string | null;
13588
+ geleverd_op?: string | null;
13589
+ id?: string;
13590
+ is_herprint?: boolean;
13591
+ klant_naam?: string | null;
13592
+ klant_nummer?: string | null;
13593
+ laatst_gevraagd_op?: string;
13594
+ layout_id?: string | null;
13595
+ layout_variant?: string | null;
13596
+ order_nummer?: string | null;
13597
+ order_ref?: string | null;
13598
+ print_job_id?: string;
13599
+ status?: string;
13600
+ updated_at?: string;
13601
+ };
13602
+ Relationships: [];
13603
+ };
12956
13604
  pick_countries: {
12957
13605
  Row: {
12958
13606
  active: boolean;
@@ -14031,6 +14679,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14031
14679
  isOneToOne: false;
14032
14680
  referencedRelation: "werkbonnen";
14033
14681
  referencedColumns: ["id"];
14682
+ }, {
14683
+ foreignKeyName: "planning_items_werkbon_id_fkey";
14684
+ columns: ["werkbon_id"];
14685
+ isOneToOne: false;
14686
+ referencedRelation: "wo_overview";
14687
+ referencedColumns: ["id"];
14034
14688
  }];
14035
14689
  };
14036
14690
  print_agents: {
@@ -14146,12 +14800,21 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14146
14800
  };
14147
14801
  print_jobs: {
14148
14802
  Row: {
14803
+ aflever_pogingen: number;
14149
14804
  agent_id: string | null;
14805
+ artefact_bytes: number | null;
14806
+ artefact_gereed_op: string | null;
14807
+ artefact_pad: string | null;
14808
+ artefact_sha256: string | null;
14809
+ batch_id: string | null;
14150
14810
  bron_job_id: string | null;
14151
14811
  created_at: string;
14152
14812
  documentnaam: string;
14153
14813
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
14154
14814
  extern_job_id: string | null;
14815
+ fase_gestart_op: string | null;
14816
+ fase_voltooid_op: string | null;
14817
+ foutcode: string | null;
14155
14818
  foutmelding: string | null;
14156
14819
  gebruiker_id: string | null;
14157
14820
  gebruiker_naam: string;
@@ -14165,7 +14828,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14165
14828
  kopieen: number;
14166
14829
  layout_id: string | null;
14167
14830
  lokaal_opgeslagen_op: string | null;
14831
+ lokale_pdf_claim_id: string | null;
14832
+ lokale_pdf_claim_tot: string | null;
14168
14833
  lokale_pdf_fout: string | null;
14834
+ lokale_pdf_print_plek_id: string | null;
14169
14835
  lokale_pdf_status: string | null;
14170
14836
  opgepakt_op: string | null;
14171
14837
  paginas: number;
@@ -14178,16 +14844,26 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14178
14844
  resultaat_pdf_base64: string | null;
14179
14845
  status: Database["public"]["Enums"]["print_job_status"];
14180
14846
  updated_at: string;
14847
+ verwerkingsfase: string;
14181
14848
  volgende_poging: string | null;
14182
14849
  voltooid_op: string | null;
14183
14850
  };
14184
14851
  Insert: {
14852
+ aflever_pogingen?: number;
14185
14853
  agent_id?: string | null;
14854
+ artefact_bytes?: number | null;
14855
+ artefact_gereed_op?: string | null;
14856
+ artefact_pad?: string | null;
14857
+ artefact_sha256?: string | null;
14858
+ batch_id?: string | null;
14186
14859
  bron_job_id?: string | null;
14187
14860
  created_at?: string;
14188
14861
  documentnaam?: string;
14189
14862
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14190
14863
  extern_job_id?: string | null;
14864
+ fase_gestart_op?: string | null;
14865
+ fase_voltooid_op?: string | null;
14866
+ foutcode?: string | null;
14191
14867
  foutmelding?: string | null;
14192
14868
  gebruiker_id?: string | null;
14193
14869
  gebruiker_naam?: string;
@@ -14201,7 +14877,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14201
14877
  kopieen?: number;
14202
14878
  layout_id?: string | null;
14203
14879
  lokaal_opgeslagen_op?: string | null;
14880
+ lokale_pdf_claim_id?: string | null;
14881
+ lokale_pdf_claim_tot?: string | null;
14204
14882
  lokale_pdf_fout?: string | null;
14883
+ lokale_pdf_print_plek_id?: string | null;
14205
14884
  lokale_pdf_status?: string | null;
14206
14885
  opgepakt_op?: string | null;
14207
14886
  paginas?: number;
@@ -14214,16 +14893,26 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14214
14893
  resultaat_pdf_base64?: string | null;
14215
14894
  status?: Database["public"]["Enums"]["print_job_status"];
14216
14895
  updated_at?: string;
14896
+ verwerkingsfase?: string;
14217
14897
  volgende_poging?: string | null;
14218
14898
  voltooid_op?: string | null;
14219
14899
  };
14220
14900
  Update: {
14901
+ aflever_pogingen?: number;
14221
14902
  agent_id?: string | null;
14903
+ artefact_bytes?: number | null;
14904
+ artefact_gereed_op?: string | null;
14905
+ artefact_pad?: string | null;
14906
+ artefact_sha256?: string | null;
14907
+ batch_id?: string | null;
14222
14908
  bron_job_id?: string | null;
14223
14909
  created_at?: string;
14224
14910
  documentnaam?: string;
14225
14911
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14226
14912
  extern_job_id?: string | null;
14913
+ fase_gestart_op?: string | null;
14914
+ fase_voltooid_op?: string | null;
14915
+ foutcode?: string | null;
14227
14916
  foutmelding?: string | null;
14228
14917
  gebruiker_id?: string | null;
14229
14918
  gebruiker_naam?: string;
@@ -14237,7 +14926,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14237
14926
  kopieen?: number;
14238
14927
  layout_id?: string | null;
14239
14928
  lokaal_opgeslagen_op?: string | null;
14929
+ lokale_pdf_claim_id?: string | null;
14930
+ lokale_pdf_claim_tot?: string | null;
14240
14931
  lokale_pdf_fout?: string | null;
14932
+ lokale_pdf_print_plek_id?: string | null;
14241
14933
  lokale_pdf_status?: string | null;
14242
14934
  opgepakt_op?: string | null;
14243
14935
  paginas?: number;
@@ -14250,6 +14942,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14250
14942
  resultaat_pdf_base64?: string | null;
14251
14943
  status?: Database["public"]["Enums"]["print_job_status"];
14252
14944
  updated_at?: string;
14945
+ verwerkingsfase?: string;
14253
14946
  volgende_poging?: string | null;
14254
14947
  voltooid_op?: string | null;
14255
14948
  };
@@ -14265,6 +14958,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14265
14958
  isOneToOne: false;
14266
14959
  referencedRelation: "document_layouts";
14267
14960
  referencedColumns: ["id"];
14961
+ }, {
14962
+ foreignKeyName: "print_jobs_lokale_pdf_print_plek_id_fkey";
14963
+ columns: ["lokale_pdf_print_plek_id"];
14964
+ isOneToOne: false;
14965
+ referencedRelation: "print_plekken";
14966
+ referencedColumns: ["id"];
14268
14967
  }, {
14269
14968
  foreignKeyName: "print_jobs_printer_id_fkey";
14270
14969
  columns: ["printer_id"];
@@ -14399,6 +15098,30 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14399
15098
  };
14400
15099
  Relationships: [];
14401
15100
  };
15101
+ print_queue_leases: {
15102
+ Row: {
15103
+ created_at: string;
15104
+ houder: string;
15105
+ naam: string;
15106
+ updated_at: string;
15107
+ verloopt_op: string;
15108
+ };
15109
+ Insert: {
15110
+ created_at?: string;
15111
+ houder: string;
15112
+ naam: string;
15113
+ updated_at?: string;
15114
+ verloopt_op: string;
15115
+ };
15116
+ Update: {
15117
+ created_at?: string;
15118
+ houder?: string;
15119
+ naam?: string;
15120
+ updated_at?: string;
15121
+ verloopt_op?: string;
15122
+ };
15123
+ Relationships: [];
15124
+ };
14402
15125
  print_queue_runners: {
14403
15126
  Row: {
14404
15127
  actief: boolean;
@@ -14408,7 +15131,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14408
15131
  laatst_gezien: string;
14409
15132
  laatste_fout: string | null;
14410
15133
  laatste_request_id: number | null;
15134
+ laatste_wakeup: string | null;
14411
15135
  mislukte_posts: number;
15136
+ mislukte_wakeups: number;
14412
15137
  tick_sleutel: string;
14413
15138
  updated_at: string;
14414
15139
  };
@@ -14420,7 +15145,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14420
15145
  laatst_gezien?: string;
14421
15146
  laatste_fout?: string | null;
14422
15147
  laatste_request_id?: number | null;
15148
+ laatste_wakeup?: string | null;
14423
15149
  mislukte_posts?: number;
15150
+ mislukte_wakeups?: number;
14424
15151
  tick_sleutel?: string;
14425
15152
  updated_at?: string;
14426
15153
  };
@@ -14432,7 +15159,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14432
15159
  laatst_gezien?: string;
14433
15160
  laatste_fout?: string | null;
14434
15161
  laatste_request_id?: number | null;
15162
+ laatste_wakeup?: string | null;
14435
15163
  mislukte_posts?: number;
15164
+ mislukte_wakeups?: number;
14436
15165
  tick_sleutel?: string;
14437
15166
  updated_at?: string;
14438
15167
  };
@@ -14746,6 +15475,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14746
15475
  updated_at?: string;
14747
15476
  };
14748
15477
  Relationships: [{
15478
+ foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
15479
+ columns: ["parent_product_id"];
15480
+ isOneToOne: false;
15481
+ referencedRelation: "logistics_product_dimensions";
15482
+ referencedColumns: ["product_id"];
15483
+ }, {
14749
15484
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
14750
15485
  columns: ["parent_product_id"];
14751
15486
  isOneToOne: false;
@@ -14800,11 +15535,23 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14800
15535
  updated_at?: string;
14801
15536
  };
14802
15537
  Relationships: [{
15538
+ foreignKeyName: "product_bom_items_component_product_id_fkey";
15539
+ columns: ["component_product_id"];
15540
+ isOneToOne: false;
15541
+ referencedRelation: "logistics_product_dimensions";
15542
+ referencedColumns: ["product_id"];
15543
+ }, {
14803
15544
  foreignKeyName: "product_bom_items_component_product_id_fkey";
14804
15545
  columns: ["component_product_id"];
14805
15546
  isOneToOne: false;
14806
15547
  referencedRelation: "products";
14807
15548
  referencedColumns: ["id"];
15549
+ }, {
15550
+ foreignKeyName: "product_bom_items_parent_product_id_fkey";
15551
+ columns: ["parent_product_id"];
15552
+ isOneToOne: false;
15553
+ referencedRelation: "logistics_product_dimensions";
15554
+ referencedColumns: ["product_id"];
14808
15555
  }, {
14809
15556
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
14810
15557
  columns: ["parent_product_id"];
@@ -14980,6 +15727,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
14980
15727
  updated_at?: string;
14981
15728
  };
14982
15729
  Relationships: [{
15730
+ foreignKeyName: "product_groups_head_product_id_fkey";
15731
+ columns: ["head_product_id"];
15732
+ isOneToOne: false;
15733
+ referencedRelation: "logistics_product_dimensions";
15734
+ referencedColumns: ["product_id"];
15735
+ }, {
14983
15736
  foreignKeyName: "product_groups_head_product_id_fkey";
14984
15737
  columns: ["head_product_id"];
14985
15738
  isOneToOne: false;
@@ -15045,6 +15798,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
15045
15798
  isOneToOne: false;
15046
15799
  referencedRelation: "packages";
15047
15800
  referencedColumns: ["id"];
15801
+ }, {
15802
+ foreignKeyName: "product_load_settings_product_id_fkey";
15803
+ columns: ["product_id"];
15804
+ isOneToOne: false;
15805
+ referencedRelation: "logistics_product_dimensions";
15806
+ referencedColumns: ["product_id"];
15048
15807
  }, {
15049
15808
  foreignKeyName: "product_load_settings_product_id_fkey";
15050
15809
  columns: ["product_id"];
@@ -15511,6 +16270,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
15511
16270
  quantity?: number;
15512
16271
  };
15513
16272
  Relationships: [{
16273
+ foreignKeyName: "purchase_order_items_product_id_fkey";
16274
+ columns: ["product_id"];
16275
+ isOneToOne: false;
16276
+ referencedRelation: "logistics_product_dimensions";
16277
+ referencedColumns: ["product_id"];
16278
+ }, {
15514
16279
  foreignKeyName: "purchase_order_items_product_id_fkey";
15515
16280
  columns: ["product_id"];
15516
16281
  isOneToOne: false;
@@ -15830,42 +16595,138 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
15830
16595
  referencedColumns: ["id"];
15831
16596
  }];
15832
16597
  };
15833
- scan_karren: {
16598
+ scan_kar_sessie_regels: {
15834
16599
  Row: {
15835
- afgerond_op: string | null;
15836
- buffer_key: string | null;
16600
+ barcode: string;
16601
+ cart_id: string | null;
15837
16602
  created_at: string;
15838
- customer_names: string[];
15839
- device_id: string | null;
15840
- geprint: boolean;
15841
- geprint_op: string | null;
15842
16603
  id: string;
15843
- kar_nummer: string;
15844
- medewerker_id: string | null;
15845
- medewerker_naam: string | null;
15846
- naar_pickstation: boolean;
15847
- naar_pickstation_op: string | null;
16604
+ order_id: string | null;
15848
16605
  order_number: string | null;
15849
- scanner_id: string | null;
15850
- scanner_key: string;
15851
- status: string;
15852
- totaal_producten: number;
15853
- updated_at: string;
16606
+ regels: import("./types").Json;
16607
+ sessie_id: string;
16608
+ volledig: boolean;
15854
16609
  };
15855
16610
  Insert: {
15856
- afgerond_op?: string | null;
15857
- buffer_key?: string | null;
16611
+ barcode: string;
16612
+ cart_id?: string | null;
15858
16613
  created_at?: string;
15859
- customer_names?: string[];
15860
- device_id?: string | null;
15861
- geprint?: boolean;
15862
- geprint_op?: string | null;
15863
16614
  id?: string;
15864
- kar_nummer?: string;
15865
- medewerker_id?: string | null;
15866
- medewerker_naam?: string | null;
15867
- naar_pickstation?: boolean;
15868
- naar_pickstation_op?: string | null;
16615
+ order_id?: string | null;
16616
+ order_number?: string | null;
16617
+ regels?: import("./types").Json;
16618
+ sessie_id: string;
16619
+ volledig?: boolean;
16620
+ };
16621
+ Update: {
16622
+ barcode?: string;
16623
+ cart_id?: string | null;
16624
+ created_at?: string;
16625
+ id?: string;
16626
+ order_id?: string | null;
16627
+ order_number?: string | null;
16628
+ regels?: import("./types").Json;
16629
+ sessie_id?: string;
16630
+ volledig?: boolean;
16631
+ };
16632
+ Relationships: [{
16633
+ foreignKeyName: "scan_kar_sessie_regels_sessie_id_fkey";
16634
+ columns: ["sessie_id"];
16635
+ isOneToOne: false;
16636
+ referencedRelation: "scan_kar_sessies";
16637
+ referencedColumns: ["id"];
16638
+ }];
16639
+ };
16640
+ scan_kar_sessies: {
16641
+ Row: {
16642
+ afgerond_op: string | null;
16643
+ cart_id: string | null;
16644
+ cart_index: number | null;
16645
+ cart_total: number | null;
16646
+ created_at: string;
16647
+ id: string;
16648
+ klant_naam: string | null;
16649
+ medewerker_naam: string | null;
16650
+ order_id: string | null;
16651
+ order_number: string | null;
16652
+ scanner_id: string | null;
16653
+ status: string;
16654
+ updated_at: string;
16655
+ };
16656
+ Insert: {
16657
+ afgerond_op?: string | null;
16658
+ cart_id?: string | null;
16659
+ cart_index?: number | null;
16660
+ cart_total?: number | null;
16661
+ created_at?: string;
16662
+ id?: string;
16663
+ klant_naam?: string | null;
16664
+ medewerker_naam?: string | null;
16665
+ order_id?: string | null;
16666
+ order_number?: string | null;
16667
+ scanner_id?: string | null;
16668
+ status?: string;
16669
+ updated_at?: string;
16670
+ };
16671
+ Update: {
16672
+ afgerond_op?: string | null;
16673
+ cart_id?: string | null;
16674
+ cart_index?: number | null;
16675
+ cart_total?: number | null;
16676
+ created_at?: string;
16677
+ id?: string;
16678
+ klant_naam?: string | null;
16679
+ medewerker_naam?: string | null;
16680
+ order_id?: string | null;
16681
+ order_number?: string | null;
16682
+ scanner_id?: string | null;
16683
+ status?: string;
16684
+ updated_at?: string;
16685
+ };
16686
+ Relationships: [{
16687
+ foreignKeyName: "scan_kar_sessies_scanner_id_fkey";
16688
+ columns: ["scanner_id"];
16689
+ isOneToOne: false;
16690
+ referencedRelation: "scan_scanners";
16691
+ referencedColumns: ["id"];
16692
+ }];
16693
+ };
16694
+ scan_karren: {
16695
+ Row: {
16696
+ afgerond_op: string | null;
16697
+ buffer_key: string | null;
16698
+ created_at: string;
16699
+ customer_names: string[];
16700
+ device_id: string | null;
16701
+ geprint: boolean;
16702
+ geprint_op: string | null;
16703
+ id: string;
16704
+ kar_nummer: string;
16705
+ medewerker_id: string | null;
16706
+ medewerker_naam: string | null;
16707
+ naar_pickstation: boolean;
16708
+ naar_pickstation_op: string | null;
16709
+ order_number: string | null;
16710
+ scanner_id: string | null;
16711
+ scanner_key: string;
16712
+ status: string;
16713
+ totaal_producten: number;
16714
+ updated_at: string;
16715
+ };
16716
+ Insert: {
16717
+ afgerond_op?: string | null;
16718
+ buffer_key?: string | null;
16719
+ created_at?: string;
16720
+ customer_names?: string[];
16721
+ device_id?: string | null;
16722
+ geprint?: boolean;
16723
+ geprint_op?: string | null;
16724
+ id?: string;
16725
+ kar_nummer?: string;
16726
+ medewerker_id?: string | null;
16727
+ medewerker_naam?: string | null;
16728
+ naar_pickstation?: boolean;
16729
+ naar_pickstation_op?: string | null;
15869
16730
  order_number?: string | null;
15870
16731
  scanner_id?: string | null;
15871
16732
  scanner_key?: string;
@@ -16034,6 +16895,60 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
16034
16895
  };
16035
16896
  Relationships: [];
16036
16897
  };
16898
+ scan_restpakbonnen: {
16899
+ Row: {
16900
+ barcode: string;
16901
+ bron_barcode: string | null;
16902
+ cart_id: string | null;
16903
+ cart_index: number | null;
16904
+ cart_total: number | null;
16905
+ created_at: string;
16906
+ geprint_op: string | null;
16907
+ id: string;
16908
+ klant_naam: string | null;
16909
+ order_id: string | null;
16910
+ order_number: string | null;
16911
+ print_job_id: string | null;
16912
+ regels: import("./types").Json;
16913
+ updated_at: string;
16914
+ verwerkt: boolean;
16915
+ };
16916
+ Insert: {
16917
+ barcode: string;
16918
+ bron_barcode?: string | null;
16919
+ cart_id?: string | null;
16920
+ cart_index?: number | null;
16921
+ cart_total?: number | null;
16922
+ created_at?: string;
16923
+ geprint_op?: string | null;
16924
+ id?: string;
16925
+ klant_naam?: string | null;
16926
+ order_id?: string | null;
16927
+ order_number?: string | null;
16928
+ print_job_id?: string | null;
16929
+ regels?: import("./types").Json;
16930
+ updated_at?: string;
16931
+ verwerkt?: boolean;
16932
+ };
16933
+ Update: {
16934
+ barcode?: string;
16935
+ bron_barcode?: string | null;
16936
+ cart_id?: string | null;
16937
+ cart_index?: number | null;
16938
+ cart_total?: number | null;
16939
+ created_at?: string;
16940
+ geprint_op?: string | null;
16941
+ id?: string;
16942
+ klant_naam?: string | null;
16943
+ order_id?: string | null;
16944
+ order_number?: string | null;
16945
+ print_job_id?: string | null;
16946
+ regels?: import("./types").Json;
16947
+ updated_at?: string;
16948
+ verwerkt?: boolean;
16949
+ };
16950
+ Relationships: [];
16951
+ };
16037
16952
  scan_scanners: {
16038
16953
  Row: {
16039
16954
  actief: boolean;
@@ -16043,6 +16958,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
16043
16958
  naam: string;
16044
16959
  omschrijving: string | null;
16045
16960
  pincode: string | null;
16961
+ printer_id: string | null;
16046
16962
  slug: string;
16047
16963
  type: string;
16048
16964
  updated_at: string;
@@ -16057,6 +16973,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
16057
16973
  naam: string;
16058
16974
  omschrijving?: string | null;
16059
16975
  pincode?: string | null;
16976
+ printer_id?: string | null;
16060
16977
  slug: string;
16061
16978
  type?: string;
16062
16979
  updated_at?: string;
@@ -16071,6 +16988,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
16071
16988
  naam?: string;
16072
16989
  omschrijving?: string | null;
16073
16990
  pincode?: string | null;
16991
+ printer_id?: string | null;
16074
16992
  slug?: string;
16075
16993
  type?: string;
16076
16994
  updated_at?: string;
@@ -16079,6 +16997,27 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
16079
16997
  };
16080
16998
  Relationships: [];
16081
16999
  };
17000
+ shell_settings: {
17001
+ Row: {
17002
+ created_at: string;
17003
+ default_path: string | null;
17004
+ shell_id: string;
17005
+ updated_at: string;
17006
+ };
17007
+ Insert: {
17008
+ created_at?: string;
17009
+ default_path?: string | null;
17010
+ shell_id: string;
17011
+ updated_at?: string;
17012
+ };
17013
+ Update: {
17014
+ created_at?: string;
17015
+ default_path?: string | null;
17016
+ shell_id?: string;
17017
+ updated_at?: string;
17018
+ };
17019
+ Relationships: [];
17020
+ };
16082
17021
  sick_periods: {
16083
17022
  Row: {
16084
17023
  created_at: string;
@@ -16698,6 +17637,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
16698
17637
  isOneToOne: false;
16699
17638
  referencedRelation: "werkbonnen";
16700
17639
  referencedColumns: ["id"];
17640
+ }, {
17641
+ foreignKeyName: "time_logs_work_order_id_fkey";
17642
+ columns: ["work_order_id"];
17643
+ isOneToOne: false;
17644
+ referencedRelation: "wo_overview";
17645
+ referencedColumns: ["id"];
16701
17646
  }];
16702
17647
  };
16703
17648
  time_off_entries: {
@@ -17991,6 +18936,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
17991
18936
  isOneToOne: false;
17992
18937
  referencedRelation: "werkbonnen";
17993
18938
  referencedColumns: ["id"];
18939
+ }, {
18940
+ foreignKeyName: "uren_entries_werkbon_id_fkey";
18941
+ columns: ["werkbon_id"];
18942
+ isOneToOne: false;
18943
+ referencedRelation: "wo_overview";
18944
+ referencedColumns: ["id"];
17994
18945
  }];
17995
18946
  };
17996
18947
  uren_exports: {
@@ -18714,6 +19665,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
18714
19665
  isOneToOne: true;
18715
19666
  referencedRelation: "werkbonnen";
18716
19667
  referencedColumns: ["id"];
19668
+ }, {
19669
+ foreignKeyName: "werkbon_facturatie_controle_werkbon_id_fkey";
19670
+ columns: ["werkbon_id"];
19671
+ isOneToOne: true;
19672
+ referencedRelation: "wo_overview";
19673
+ referencedColumns: ["id"];
18717
19674
  }];
18718
19675
  };
18719
19676
  werkbon_facturatie_settings: {
@@ -18801,6 +19758,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
18801
19758
  isOneToOne: false;
18802
19759
  referencedRelation: "werkbonnen";
18803
19760
  referencedColumns: ["id"];
19761
+ }, {
19762
+ foreignKeyName: "werkbon_materials_werkbon_id_fkey";
19763
+ columns: ["werkbon_id"];
19764
+ isOneToOne: false;
19765
+ referencedRelation: "wo_overview";
19766
+ referencedColumns: ["id"];
18804
19767
  }];
18805
19768
  };
18806
19769
  werkbon_package_ai_rules: {
@@ -18984,6 +19947,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
18984
19947
  isOneToOne: false;
18985
19948
  referencedRelation: "werkbonnen";
18986
19949
  referencedColumns: ["id"];
19950
+ }, {
19951
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
19952
+ columns: ["werkbon_id"];
19953
+ isOneToOne: false;
19954
+ referencedRelation: "wo_overview";
19955
+ referencedColumns: ["id"];
18987
19956
  }];
18988
19957
  };
18989
19958
  werkbon_packages: {
@@ -19074,6 +20043,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
19074
20043
  isOneToOne: false;
19075
20044
  referencedRelation: "werkbonnen";
19076
20045
  referencedColumns: ["id"];
20046
+ }, {
20047
+ foreignKeyName: "werkbon_photos_werkbon_id_fkey";
20048
+ columns: ["werkbon_id"];
20049
+ isOneToOne: false;
20050
+ referencedRelation: "wo_overview";
20051
+ referencedColumns: ["id"];
19077
20052
  }];
19078
20053
  };
19079
20054
  werkbon_time_logs: {
@@ -19113,6 +20088,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
19113
20088
  isOneToOne: false;
19114
20089
  referencedRelation: "werkbonnen";
19115
20090
  referencedColumns: ["id"];
20091
+ }, {
20092
+ foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
20093
+ columns: ["werkbon_id"];
20094
+ isOneToOne: false;
20095
+ referencedRelation: "wo_overview";
20096
+ referencedColumns: ["id"];
19116
20097
  }];
19117
20098
  };
19118
20099
  werkbonnen: {
@@ -19236,6 +20217,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
19236
20217
  isOneToOne: false;
19237
20218
  referencedRelation: "werkbonnen";
19238
20219
  referencedColumns: ["id"];
20220
+ }, {
20221
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
20222
+ columns: ["parent_werkbon_id"];
20223
+ isOneToOne: false;
20224
+ referencedRelation: "wo_overview";
20225
+ referencedColumns: ["id"];
19239
20226
  }, {
19240
20227
  foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
19241
20228
  columns: ["source_mailbox_message_id"];
@@ -19704,6 +20691,24 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
19704
20691
  };
19705
20692
  Relationships: [];
19706
20693
  };
20694
+ logistics_product_dimensions: {
20695
+ Row: {
20696
+ dimension_source: string | null;
20697
+ fust_height_mm: number | null;
20698
+ fust_length_mm: number | null;
20699
+ fust_name: string | null;
20700
+ fust_source: string | null;
20701
+ fust_type_id: string | null;
20702
+ fust_width_mm: number | null;
20703
+ height_source: string | null;
20704
+ missing_reason: string | null;
20705
+ plant_height_cm: number | null;
20706
+ plants_per_crate: number | null;
20707
+ product_id: string | null;
20708
+ product_name: string | null;
20709
+ };
20710
+ Relationships: [];
20711
+ };
19707
20712
  manufacture_product_possible_stock_view: {
19708
20713
  Row: {
19709
20714
  component_count: number | null;
@@ -19741,6 +20746,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
19741
20746
  isOneToOne: false;
19742
20747
  referencedRelation: "werkbonnen";
19743
20748
  referencedColumns: ["id"];
20749
+ }, {
20750
+ foreignKeyName: "planning_items_werkbon_id_fkey";
20751
+ columns: ["werkbon_id"];
20752
+ isOneToOne: false;
20753
+ referencedRelation: "wo_overview";
20754
+ referencedColumns: ["id"];
19744
20755
  }];
19745
20756
  };
19746
20757
  product_group_stock_view: {
@@ -20202,6 +21213,81 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20202
21213
  isOneToOne: false;
20203
21214
  referencedRelation: "werkbonnen";
20204
21215
  referencedColumns: ["id"];
21216
+ }, {
21217
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
21218
+ columns: ["werkbon_id"];
21219
+ isOneToOne: false;
21220
+ referencedRelation: "wo_overview";
21221
+ referencedColumns: ["id"];
21222
+ }];
21223
+ };
21224
+ wo_overview: {
21225
+ Row: {
21226
+ assigned_user_id: string | null;
21227
+ budget_mandate_cents: number | null;
21228
+ created_at: string | null;
21229
+ customer_id: string | null;
21230
+ id: string | null;
21231
+ needs_detail_review: boolean | null;
21232
+ number: string | null;
21233
+ parent_werkbon_id: string | null;
21234
+ planning_status: string | null;
21235
+ scheduled_end_time: string | null;
21236
+ scheduled_start_time: string | null;
21237
+ source_type: string | null;
21238
+ status: string | null;
21239
+ technician_id: string | null;
21240
+ updated_at: string | null;
21241
+ work_address: string | null;
21242
+ };
21243
+ Insert: {
21244
+ assigned_user_id?: string | null;
21245
+ budget_mandate_cents?: number | null;
21246
+ created_at?: string | null;
21247
+ customer_id?: string | null;
21248
+ id?: string | null;
21249
+ needs_detail_review?: boolean | null;
21250
+ number?: string | null;
21251
+ parent_werkbon_id?: string | null;
21252
+ planning_status?: string | null;
21253
+ scheduled_end_time?: string | null;
21254
+ scheduled_start_time?: string | null;
21255
+ source_type?: string | null;
21256
+ status?: string | null;
21257
+ technician_id?: string | null;
21258
+ updated_at?: string | null;
21259
+ work_address?: string | null;
21260
+ };
21261
+ Update: {
21262
+ assigned_user_id?: string | null;
21263
+ budget_mandate_cents?: number | null;
21264
+ created_at?: string | null;
21265
+ customer_id?: string | null;
21266
+ id?: string | null;
21267
+ needs_detail_review?: boolean | null;
21268
+ number?: string | null;
21269
+ parent_werkbon_id?: string | null;
21270
+ planning_status?: string | null;
21271
+ scheduled_end_time?: string | null;
21272
+ scheduled_start_time?: string | null;
21273
+ source_type?: string | null;
21274
+ status?: string | null;
21275
+ technician_id?: string | null;
21276
+ updated_at?: string | null;
21277
+ work_address?: string | null;
21278
+ };
21279
+ Relationships: [{
21280
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21281
+ columns: ["parent_werkbon_id"];
21282
+ isOneToOne: false;
21283
+ referencedRelation: "werkbonnen";
21284
+ referencedColumns: ["id"];
21285
+ }, {
21286
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21287
+ columns: ["parent_werkbon_id"];
21288
+ isOneToOne: false;
21289
+ referencedRelation: "wo_overview";
21290
+ referencedColumns: ["id"];
20205
21291
  }];
20206
21292
  };
20207
21293
  };
@@ -20393,12 +21479,21 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20393
21479
  _max?: number;
20394
21480
  };
20395
21481
  Returns: {
21482
+ aflever_pogingen: number;
20396
21483
  agent_id: string | null;
21484
+ artefact_bytes: number | null;
21485
+ artefact_gereed_op: string | null;
21486
+ artefact_pad: string | null;
21487
+ artefact_sha256: string | null;
21488
+ batch_id: string | null;
20397
21489
  bron_job_id: string | null;
20398
21490
  created_at: string;
20399
21491
  documentnaam: string;
20400
21492
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20401
21493
  extern_job_id: string | null;
21494
+ fase_gestart_op: string | null;
21495
+ fase_voltooid_op: string | null;
21496
+ foutcode: string | null;
20402
21497
  foutmelding: string | null;
20403
21498
  gebruiker_id: string | null;
20404
21499
  gebruiker_naam: string;
@@ -20412,7 +21507,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20412
21507
  kopieen: number;
20413
21508
  layout_id: string | null;
20414
21509
  lokaal_opgeslagen_op: string | null;
21510
+ lokale_pdf_claim_id: string | null;
21511
+ lokale_pdf_claim_tot: string | null;
20415
21512
  lokale_pdf_fout: string | null;
21513
+ lokale_pdf_print_plek_id: string | null;
20416
21514
  lokale_pdf_status: string | null;
20417
21515
  opgepakt_op: string | null;
20418
21516
  paginas: number;
@@ -20425,6 +21523,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20425
21523
  resultaat_pdf_base64: string | null;
20426
21524
  status: Database["public"]["Enums"]["print_job_status"];
20427
21525
  updated_at: string;
21526
+ verwerkingsfase: string;
20428
21527
  volgende_poging: string | null;
20429
21528
  voltooid_op: string | null;
20430
21529
  }[];
@@ -20471,9 +21570,28 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20471
21570
  isSetofReturn: true;
20472
21571
  };
20473
21572
  };
20474
- claim_logistics_tasks: {
21573
+ claim_local_pdf_jobs: {
20475
21574
  Args: {
20476
- _limit?: number;
21575
+ _max?: number;
21576
+ _print_plek_id: string;
21577
+ _writer_id: string;
21578
+ };
21579
+ Returns: {
21580
+ artefact_bytes: number;
21581
+ artefact_pad: string;
21582
+ artefact_sha256: string;
21583
+ documentnaam: string;
21584
+ id: string;
21585
+ lokale_pdf_print_plek_id: string;
21586
+ lokale_pdf_status: string;
21587
+ printer_id: string;
21588
+ resultaat_pdf_base64: string;
21589
+ status: string;
21590
+ }[];
21591
+ };
21592
+ claim_logistics_tasks: {
21593
+ Args: {
21594
+ _limit?: number;
20477
21595
  _owner_module: string;
20478
21596
  _stale_minutes?: number;
20479
21597
  _task_type: string;
@@ -20524,12 +21642,21 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20524
21642
  _max?: number;
20525
21643
  };
20526
21644
  Returns: {
21645
+ aflever_pogingen: number;
20527
21646
  agent_id: string | null;
21647
+ artefact_bytes: number | null;
21648
+ artefact_gereed_op: string | null;
21649
+ artefact_pad: string | null;
21650
+ artefact_sha256: string | null;
21651
+ batch_id: string | null;
20528
21652
  bron_job_id: string | null;
20529
21653
  created_at: string;
20530
21654
  documentnaam: string;
20531
21655
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20532
21656
  extern_job_id: string | null;
21657
+ fase_gestart_op: string | null;
21658
+ fase_voltooid_op: string | null;
21659
+ foutcode: string | null;
20533
21660
  foutmelding: string | null;
20534
21661
  gebruiker_id: string | null;
20535
21662
  gebruiker_naam: string;
@@ -20543,7 +21670,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20543
21670
  kopieen: number;
20544
21671
  layout_id: string | null;
20545
21672
  lokaal_opgeslagen_op: string | null;
21673
+ lokale_pdf_claim_id: string | null;
21674
+ lokale_pdf_claim_tot: string | null;
20546
21675
  lokale_pdf_fout: string | null;
21676
+ lokale_pdf_print_plek_id: string | null;
20547
21677
  lokale_pdf_status: string | null;
20548
21678
  opgepakt_op: string | null;
20549
21679
  paginas: number;
@@ -20556,6 +21686,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20556
21686
  resultaat_pdf_base64: string | null;
20557
21687
  status: Database["public"]["Enums"]["print_job_status"];
20558
21688
  updated_at: string;
21689
+ verwerkingsfase: string;
20559
21690
  volgende_poging: string | null;
20560
21691
  voltooid_op: string | null;
20561
21692
  }[];
@@ -20572,12 +21703,21 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20572
21703
  _max?: number;
20573
21704
  };
20574
21705
  Returns: {
21706
+ aflever_pogingen: number;
20575
21707
  agent_id: string | null;
21708
+ artefact_bytes: number | null;
21709
+ artefact_gereed_op: string | null;
21710
+ artefact_pad: string | null;
21711
+ artefact_sha256: string | null;
21712
+ batch_id: string | null;
20576
21713
  bron_job_id: string | null;
20577
21714
  created_at: string;
20578
21715
  documentnaam: string;
20579
21716
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20580
21717
  extern_job_id: string | null;
21718
+ fase_gestart_op: string | null;
21719
+ fase_voltooid_op: string | null;
21720
+ foutcode: string | null;
20581
21721
  foutmelding: string | null;
20582
21722
  gebruiker_id: string | null;
20583
21723
  gebruiker_naam: string;
@@ -20591,7 +21731,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20591
21731
  kopieen: number;
20592
21732
  layout_id: string | null;
20593
21733
  lokaal_opgeslagen_op: string | null;
21734
+ lokale_pdf_claim_id: string | null;
21735
+ lokale_pdf_claim_tot: string | null;
20594
21736
  lokale_pdf_fout: string | null;
21737
+ lokale_pdf_print_plek_id: string | null;
20595
21738
  lokale_pdf_status: string | null;
20596
21739
  opgepakt_op: string | null;
20597
21740
  paginas: number;
@@ -20604,6 +21747,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20604
21747
  resultaat_pdf_base64: string | null;
20605
21748
  status: Database["public"]["Enums"]["print_job_status"];
20606
21749
  updated_at: string;
21750
+ verwerkingsfase: string;
20607
21751
  volgende_poging: string | null;
20608
21752
  voltooid_op: string | null;
20609
21753
  }[];
@@ -20614,6 +21758,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20614
21758
  isSetofReturn: true;
20615
21759
  };
20616
21760
  };
21761
+ claim_print_queue_lease: {
21762
+ Args: {
21763
+ _houder: string;
21764
+ _naam: string;
21765
+ _seconden?: number;
21766
+ };
21767
+ Returns: boolean;
21768
+ };
20617
21769
  claim_twinfield_push_batch: {
20618
21770
  Args: {
20619
21771
  _customer_id?: string;
@@ -20739,7 +21891,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20739
21891
  cart_index: number;
20740
21892
  cart_number: string;
20741
21893
  cart_number_id: string;
21894
+ cart_seq: number;
21895
+ cart_total: number;
20742
21896
  order_id: string;
21897
+ order_number: string;
20743
21898
  order_source: string;
20744
21899
  pick_date: string;
20745
21900
  printed_at: string;
@@ -20747,6 +21902,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20747
21902
  status: string;
20748
21903
  }[];
20749
21904
  };
21905
+ control_mark_carts_delivered: {
21906
+ Args: {
21907
+ p_carts: import("./types").Json;
21908
+ };
21909
+ Returns: number;
21910
+ };
20750
21911
  count_distinct_regulatory_products: {
20751
21912
  Args: never;
20752
21913
  Returns: number;
@@ -20874,6 +22035,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20874
22035
  };
20875
22036
  Returns: undefined;
20876
22037
  };
22038
+ ensure_system_roles: {
22039
+ Args: never;
22040
+ Returns: {
22041
+ action: string;
22042
+ role_key: string;
22043
+ }[];
22044
+ };
20877
22045
  ensure_trade_item_stock_row: {
20878
22046
  Args: {
20879
22047
  p_key: string;
@@ -20940,6 +22108,15 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
20940
22108
  };
20941
22109
  Returns: string;
20942
22110
  };
22111
+ finish_local_pdf_job: {
22112
+ Args: {
22113
+ _fout?: string;
22114
+ _job_id: string;
22115
+ _status: string;
22116
+ _writer_id: string;
22117
+ };
22118
+ Returns: boolean;
22119
+ };
20943
22120
  floriday_capture_stock_snapshot: {
20944
22121
  Args: never;
20945
22122
  Returns: number;
@@ -21219,6 +22396,36 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21219
22396
  Args: never;
21220
22397
  Returns: string;
21221
22398
  };
22399
+ handover_archief_lijst: {
22400
+ Args: never;
22401
+ Returns: import("./types").Json;
22402
+ };
22403
+ handover_archiveren: {
22404
+ Args: {
22405
+ _archief?: boolean;
22406
+ _module_id: string;
22407
+ };
22408
+ Returns: boolean;
22409
+ };
22410
+ handover_check_afronden: {
22411
+ Args: {
22412
+ _module_id: string;
22413
+ };
22414
+ Returns: boolean;
22415
+ };
22416
+ handover_check_markeren: {
22417
+ Args: {
22418
+ _module_ids: string[];
22419
+ _reden?: string;
22420
+ };
22421
+ Returns: number;
22422
+ };
22423
+ handover_fingerprint_maken: {
22424
+ Args: {
22425
+ _module_id?: string;
22426
+ };
22427
+ Returns: import("./types").Json;
22428
+ };
21222
22429
  handover_get: {
21223
22430
  Args: {
21224
22431
  _module_id: string;
@@ -21249,6 +22456,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21249
22456
  };
21250
22457
  Returns: boolean;
21251
22458
  };
22459
+ handover_module_meta_zetten: {
22460
+ Args: {
22461
+ _module_id: string;
22462
+ _project_url?: string;
22463
+ _publicatie_url?: string;
22464
+ };
22465
+ Returns: boolean;
22466
+ };
21252
22467
  handover_norm_naam: {
21253
22468
  Args: {
21254
22469
  _naam: string;
@@ -21269,6 +22484,23 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21269
22484
  };
21270
22485
  Returns: number;
21271
22486
  };
22487
+ handover_publish_uit_github: {
22488
+ Args: {
22489
+ _bezit_tabellen?: string[];
22490
+ _bron_soort?: string;
22491
+ _commit?: string;
22492
+ _contractfuncties?: string[];
22493
+ _inhoud_md: string;
22494
+ _module_id: string;
22495
+ _module_titel: string;
22496
+ _ontbrekende_contracten?: string[];
22497
+ _pad?: string;
22498
+ _repo?: string;
22499
+ _samenvatting?: string;
22500
+ _versie_label?: string;
22501
+ };
22502
+ Returns: import("./types").Json;
22503
+ };
21272
22504
  handover_publish_via_token: {
21273
22505
  Args: {
21274
22506
  _bevindingen?: string;
@@ -21282,7 +22514,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21282
22514
  _samenvatting?: string;
21283
22515
  _token_hash: string;
21284
22516
  };
21285
- Returns: number;
22517
+ Returns: import("./types").Json;
21286
22518
  };
21287
22519
  handover_status: {
21288
22520
  Args: never;
@@ -21294,23 +22526,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21294
22526
  };
21295
22527
  Returns: string;
21296
22528
  };
21297
- handover_token_intrekken: {
21298
- Args: {
21299
- _id: string;
21300
- };
21301
- Returns: boolean;
21302
- };
21303
- handover_token_lijst: {
21304
- Args: never;
21305
- Returns: import("./types").Json;
21306
- };
21307
- handover_token_maken: {
21308
- Args: {
21309
- _label?: string;
21310
- _module_id: string;
21311
- };
21312
- Returns: string;
21313
- };
21314
22529
  handover_update: {
21315
22530
  Args: {
21316
22531
  _bezit_tabellen?: string[];
@@ -21338,12 +22553,31 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21338
22553
  };
21339
22554
  Returns: boolean;
21340
22555
  };
22556
+ handover_versie_verwijderen: {
22557
+ Args: {
22558
+ _module_id: string;
22559
+ _versie: number;
22560
+ };
22561
+ Returns: boolean;
22562
+ };
21341
22563
  handover_versies: {
21342
22564
  Args: {
21343
22565
  _module_id: string;
21344
22566
  };
21345
22567
  Returns: import("./types").Json;
21346
22568
  };
22569
+ handover_verwijderen: {
22570
+ Args: {
22571
+ _module_id: string;
22572
+ };
22573
+ Returns: boolean;
22574
+ };
22575
+ handover_wijzigingen: {
22576
+ Args: {
22577
+ _module_id?: string;
22578
+ };
22579
+ Returns: import("./types").Json;
22580
+ };
21347
22581
  has_module_permission: {
21348
22582
  Args: {
21349
22583
  _min: string;
@@ -21678,6 +22912,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21678
22912
  };
21679
22913
  Returns: string;
21680
22914
  };
22915
+ logistics_cart_handled: {
22916
+ Args: {
22917
+ p_cart_index: number;
22918
+ p_order_id: string;
22919
+ };
22920
+ Returns: boolean;
22921
+ };
21681
22922
  logistics_cart_index: {
21682
22923
  Args: {
21683
22924
  p_from?: string;
@@ -21687,6 +22928,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21687
22928
  cart_id: string;
21688
22929
  cart_index: number;
21689
22930
  cart_label: string;
22931
+ cart_number: string;
22932
+ cart_seq: number;
22933
+ cart_total: number;
21690
22934
  delivery_date: string;
21691
22935
  is_announced: boolean;
21692
22936
  is_controlled: boolean;
@@ -21701,12 +22945,60 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21701
22945
  task_status: string;
21702
22946
  }[];
21703
22947
  };
22948
+ logistics_cart_layout_method: {
22949
+ Args: never;
22950
+ Returns: import("./types").Json;
22951
+ };
22952
+ logistics_cart_seq: {
22953
+ Args: {
22954
+ p_order_uuid?: string;
22955
+ };
22956
+ Returns: {
22957
+ cart_id: string;
22958
+ cart_index: number;
22959
+ cart_number: string;
22960
+ cart_seq: number;
22961
+ cart_total: number;
22962
+ order_uuid: string;
22963
+ }[];
22964
+ };
21704
22965
  logistics_cart_slip_plan: {
21705
22966
  Args: {
21706
22967
  p_order_id: string;
21707
22968
  };
21708
22969
  Returns: import("./types").Json;
21709
22970
  };
22971
+ logistics_cart_units: {
22972
+ Args: {
22973
+ p_from?: string;
22974
+ p_to?: string;
22975
+ };
22976
+ Returns: {
22977
+ cart_id: string;
22978
+ cart_index: number;
22979
+ cart_label: string;
22980
+ cart_number: string;
22981
+ cart_seq: number;
22982
+ cart_total: number;
22983
+ delivery_date: string;
22984
+ is_announced: boolean;
22985
+ is_buffer: boolean;
22986
+ is_controlled: boolean;
22987
+ is_printed: boolean;
22988
+ is_shared: boolean;
22989
+ order_number: string;
22990
+ order_source: string;
22991
+ order_uuid: string;
22992
+ pick_date: string;
22993
+ printed_at: string;
22994
+ shifted: boolean;
22995
+ task_status: string;
22996
+ unit_buffer: string;
22997
+ unit_order_count: number;
22998
+ unit_orders: string[];
22999
+ unit_ref: string;
23000
+ }[];
23001
+ };
21710
23002
  logistics_check_order_allowed: {
21711
23003
  Args: {
21712
23004
  p_lines: import("./types").Json;
@@ -21862,7 +23154,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21862
23154
  announced_carts: number;
21863
23155
  control_carts: number;
21864
23156
  delivery_carts: number;
23157
+ duplicate_carts: number;
21865
23158
  ok: boolean;
23159
+ orphan_carts: number;
21866
23160
  orphan_tasks: number;
21867
23161
  pick_date: string;
21868
23162
  raw_carts: number;
@@ -21870,6 +23164,85 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21870
23164
  station_carts: number;
21871
23165
  }[];
21872
23166
  };
23167
+ logistics_control_scan_approve: {
23168
+ Args: {
23169
+ p_allow_reprint?: boolean;
23170
+ p_barcode: string;
23171
+ p_printer_id?: string;
23172
+ p_scanner_id?: string;
23173
+ };
23174
+ Returns: import("./types").Json;
23175
+ };
23176
+ logistics_control_scan_claim: {
23177
+ Args: {
23178
+ _lease_seconds?: number;
23179
+ _limit?: number;
23180
+ };
23181
+ Returns: {
23182
+ approved_at: string | null;
23183
+ attempts: number;
23184
+ barcode: string;
23185
+ cart_id: string;
23186
+ created_at: string;
23187
+ document_url: string | null;
23188
+ error: string | null;
23189
+ error_code: string | null;
23190
+ fulfillment_order_id: string | null;
23191
+ id: string;
23192
+ is_floriday: boolean;
23193
+ locked_until: string | null;
23194
+ order_id: string | null;
23195
+ order_number: string | null;
23196
+ print_job_id: string | null;
23197
+ printed_at: string | null;
23198
+ printer_id: string | null;
23199
+ scanner_id: string | null;
23200
+ status: string;
23201
+ updated_at: string;
23202
+ }[];
23203
+ SetofOptions: {
23204
+ from: "*";
23205
+ to: "logistics_control_scan";
23206
+ isOneToOne: false;
23207
+ isSetofReturn: true;
23208
+ };
23209
+ };
23210
+ logistics_control_scan_finish: {
23211
+ Args: {
23212
+ _document_url?: string;
23213
+ _error?: string;
23214
+ _error_code?: string;
23215
+ _fulfillment_order_id?: string;
23216
+ _id: string;
23217
+ _ok: boolean;
23218
+ _print_job_id?: string;
23219
+ _status?: string;
23220
+ };
23221
+ Returns: import("./types").Json;
23222
+ };
23223
+ logistics_control_scan_lookup: {
23224
+ Args: {
23225
+ p_barcode: string;
23226
+ };
23227
+ Returns: import("./types").Json;
23228
+ };
23229
+ logistics_control_scan_overview: {
23230
+ Args: {
23231
+ _date?: string;
23232
+ _scanner_id?: string;
23233
+ };
23234
+ Returns: import("./types").Json;
23235
+ };
23236
+ logistics_control_scan_retry: {
23237
+ Args: {
23238
+ _id: string;
23239
+ };
23240
+ Returns: import("./types").Json;
23241
+ };
23242
+ logistics_control_settings: {
23243
+ Args: never;
23244
+ Returns: import("./types").Json;
23245
+ };
21873
23246
  logistics_delay_customer_email: {
21874
23247
  Args: {
21875
23248
  p_customer: string;
@@ -21937,6 +23310,17 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21937
23310
  };
21938
23311
  Returns: import("./types").Json;
21939
23312
  };
23313
+ logistics_enqueue_sticker_with_slip: {
23314
+ Args: {
23315
+ _cart_id: string;
23316
+ _is_herprint: boolean;
23317
+ _printer_id: string;
23318
+ _queue_item_id: string;
23319
+ _session_id: string;
23320
+ _slip_job_id: string;
23321
+ };
23322
+ Returns: string;
23323
+ };
21940
23324
  logistics_ensure_cart_barcode: {
21941
23325
  Args: {
21942
23326
  _cart_id: string;
@@ -22078,6 +23462,26 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22078
23462
  };
22079
23463
  Returns: string;
22080
23464
  };
23465
+ logistics_fulfill_barcode_requests: {
23466
+ Args: {
23467
+ p_limit?: number;
23468
+ };
23469
+ Returns: import("./types").Json;
23470
+ };
23471
+ logistics_full_cart_min_layers: {
23472
+ Args: never;
23473
+ Returns: number;
23474
+ };
23475
+ logistics_full_cart_min_percentage: {
23476
+ Args: never;
23477
+ Returns: number;
23478
+ };
23479
+ logistics_is_pick_workday: {
23480
+ Args: {
23481
+ p_date: string;
23482
+ };
23483
+ Returns: boolean;
23484
+ };
22081
23485
  logistics_live_carriers: {
22082
23486
  Args: {
22083
23487
  p_order_ref: string;
@@ -22090,6 +23494,20 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22090
23494
  };
22091
23495
  Returns: number;
22092
23496
  };
23497
+ logistics_next_workday_date: {
23498
+ Args: {
23499
+ p_date: string;
23500
+ p_days?: string[];
23501
+ };
23502
+ Returns: string;
23503
+ };
23504
+ logistics_next_workday_not_past: {
23505
+ Args: {
23506
+ p_days: string[];
23507
+ p_ts: string;
23508
+ };
23509
+ Returns: string;
23510
+ };
22093
23511
  logistics_not_past: {
22094
23512
  Args: {
22095
23513
  p_ts: string;
@@ -22102,6 +23520,19 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22102
23520
  };
22103
23521
  Returns: number;
22104
23522
  };
23523
+ logistics_order_handled: {
23524
+ Args: {
23525
+ p_order_uuid: string;
23526
+ };
23527
+ Returns: boolean;
23528
+ };
23529
+ logistics_order_is_topick: {
23530
+ Args: {
23531
+ p_order_id: string;
23532
+ p_order_number: string;
23533
+ };
23534
+ Returns: boolean;
23535
+ };
22105
23536
  logistics_order_overview: {
22106
23537
  Args: {
22107
23538
  p_from?: string;
@@ -22127,11 +23558,17 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22127
23558
  };
22128
23559
  Returns: string;
22129
23560
  };
22130
- logistics_parse_pickup: {
23561
+ logistics_order_released: {
22131
23562
  Args: {
22132
- p_value: string;
23563
+ p_order_ref: string;
22133
23564
  };
22134
- Returns: string;
23565
+ Returns: boolean;
23566
+ };
23567
+ logistics_parse_pickup: {
23568
+ Args: {
23569
+ p_value: string;
23570
+ };
23571
+ Returns: string;
22135
23572
  };
22136
23573
  logistics_pick_agenda: {
22137
23574
  Args: {
@@ -22149,10 +23586,37 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22149
23586
  shifted_count: number;
22150
23587
  }[];
22151
23588
  };
23589
+ logistics_pick_barcode_enabled: {
23590
+ Args: never;
23591
+ Returns: boolean;
23592
+ };
22152
23593
  logistics_pick_email_purpose: {
22153
23594
  Args: never;
22154
23595
  Returns: string;
22155
23596
  };
23597
+ logistics_pick_mode: {
23598
+ Args: never;
23599
+ Returns: import("./types").Json;
23600
+ };
23601
+ logistics_pick_start_estimate: {
23602
+ Args: {
23603
+ p_order: import("./types").Json;
23604
+ s: import("./types").Json;
23605
+ };
23606
+ Returns: string;
23607
+ };
23608
+ logistics_pick_units: {
23609
+ Args: never;
23610
+ Returns: {
23611
+ is_buffer: boolean;
23612
+ order_number: string;
23613
+ order_uuid: string;
23614
+ unit_buffer: string;
23615
+ unit_order_count: number;
23616
+ unit_orders: string[];
23617
+ unit_ref: string;
23618
+ }[];
23619
+ };
22156
23620
  logistics_plan_all: {
22157
23621
  Args: {
22158
23622
  p_user_id?: string;
@@ -22239,6 +23703,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22239
23703
  };
22240
23704
  Returns: number;
22241
23705
  };
23706
+ logistics_prune_buffer_member_queue: {
23707
+ Args: never;
23708
+ Returns: number;
23709
+ };
23710
+ logistics_prune_handled_pick_queue: {
23711
+ Args: never;
23712
+ Returns: number;
23713
+ };
22242
23714
  logistics_queue_capacity_email: {
22243
23715
  Args: {
22244
23716
  p_alert_id: string;
@@ -22271,6 +23743,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22271
23743
  Args: never;
22272
23744
  Returns: import("./types").Json;
22273
23745
  };
23746
+ logistics_refresh_pickup_moments: {
23747
+ Args: {
23748
+ p_weeks?: number;
23749
+ };
23750
+ Returns: import("./types").Json;
23751
+ };
22274
23752
  logistics_report_delay: {
22275
23753
  Args: {
22276
23754
  p_expected_date?: string;
@@ -22377,6 +23855,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22377
23855
  };
22378
23856
  Returns: string;
22379
23857
  };
23858
+ logistics_scan_resolve: {
23859
+ Args: {
23860
+ p_code: string;
23861
+ };
23862
+ Returns: import("./types").Json;
23863
+ };
22380
23864
  logistics_schedule_tasks: {
22381
23865
  Args: never;
22382
23866
  Returns: number;
@@ -22411,6 +23895,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22411
23895
  };
22412
23896
  Returns: import("./types").Json;
22413
23897
  };
23898
+ logistics_sticker_follows_slip: {
23899
+ Args: never;
23900
+ Returns: boolean;
23901
+ };
22414
23902
  logistics_supersede_stale_tasks: {
22415
23903
  Args: {
22416
23904
  p_keep: string[];
@@ -22462,6 +23950,18 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22462
23950
  };
22463
23951
  Returns: string;
22464
23952
  };
23953
+ logistics_write_buffer_layer_positions: {
23954
+ Args: {
23955
+ p_buffer_id: string;
23956
+ };
23957
+ Returns: number;
23958
+ };
23959
+ logistics_write_cart_layer_positions: {
23960
+ Args: {
23961
+ p_cart_id: string;
23962
+ };
23963
+ Returns: number;
23964
+ };
22465
23965
  mark_offer_clicked: {
22466
23966
  Args: {
22467
23967
  p_code: string;
@@ -22494,6 +23994,15 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22494
23994
  };
22495
23995
  Returns: undefined;
22496
23996
  };
23997
+ move_cart_layer_position: {
23998
+ Args: {
23999
+ p_id: string;
24000
+ p_layer: number;
24001
+ p_x: number;
24002
+ p_y: number;
24003
+ };
24004
+ Returns: undefined;
24005
+ };
22497
24006
  my_module_permissions: {
22498
24007
  Args: never;
22499
24008
  Returns: {
@@ -22565,6 +24074,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22565
24074
  };
22566
24075
  Returns: import("./types").Json;
22567
24076
  };
24077
+ order_heeft_bevestigde_karren: {
24078
+ Args: {
24079
+ p_order_id: string;
24080
+ };
24081
+ Returns: boolean;
24082
+ };
22568
24083
  order_number_prefix: {
22569
24084
  Args: {
22570
24085
  p_custom_fields?: import("./types").Json;
@@ -22600,6 +24115,27 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22600
24115
  online: boolean;
22601
24116
  }[];
22602
24117
  };
24118
+ pick_available_pick_days: {
24119
+ Args: {
24120
+ _max_days?: number;
24121
+ };
24122
+ Returns: {
24123
+ orders: number;
24124
+ pick_day: string;
24125
+ }[];
24126
+ };
24127
+ pick_buffer_order_ids: {
24128
+ Args: {
24129
+ _order_id: string;
24130
+ };
24131
+ Returns: string[];
24132
+ };
24133
+ pick_cart_breakdown: {
24134
+ Args: {
24135
+ _order_id: string;
24136
+ };
24137
+ Returns: import("./types").Json;
24138
+ };
22603
24139
  pick_claim_document: {
22604
24140
  Args: {
22605
24141
  _queue_item_id: string;
@@ -22653,6 +24189,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22653
24189
  pick_claim_next_document: {
22654
24190
  Args: {
22655
24191
  _country_code: string;
24192
+ _pick_day?: string;
22656
24193
  _screen_id: string;
22657
24194
  _session_id: string;
22658
24195
  _station_id: string;
@@ -22804,6 +24341,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22804
24341
  isSetofReturn: false;
22805
24342
  };
22806
24343
  };
24344
+ pick_complete_print_carts: {
24345
+ Args: {
24346
+ _cart_ids: string[];
24347
+ _queue_item_id: string;
24348
+ _session_id: string;
24349
+ };
24350
+ Returns: import("./types").Json;
24351
+ };
22807
24352
  pick_current_pick_day: {
22808
24353
  Args: never;
22809
24354
  Returns: string;
@@ -22840,6 +24385,65 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22840
24385
  };
22841
24386
  Returns: string;
22842
24387
  };
24388
+ pick_enqueue_print_job_from_cart: {
24389
+ Args: {
24390
+ _cart_id: string;
24391
+ _is_herprint: boolean;
24392
+ _printer_id: string;
24393
+ _queue_item_id: string;
24394
+ _selected_cart: import("./types").Json;
24395
+ _session_id: string;
24396
+ };
24397
+ Returns: string;
24398
+ };
24399
+ pick_mark_printed: {
24400
+ Args: {
24401
+ _queue_item_id: string;
24402
+ _reden?: string;
24403
+ _session_id: string;
24404
+ };
24405
+ Returns: {
24406
+ announced_at: string;
24407
+ assigned_user_id: string | null;
24408
+ barcode: string | null;
24409
+ cancelled_at: string | null;
24410
+ cart_count: number;
24411
+ completed_at: string | null;
24412
+ country_code: string | null;
24413
+ created_at: string;
24414
+ customer_name: string | null;
24415
+ delivery_address: string | null;
24416
+ document_number: string | null;
24417
+ document_type_id: string | null;
24418
+ due_at: string | null;
24419
+ id: string;
24420
+ is_urgent: boolean;
24421
+ line_count: number;
24422
+ order_number: string | null;
24423
+ order_type: string | null;
24424
+ payload: import("./types").Json;
24425
+ print_count: number;
24426
+ print_job_id: string | null;
24427
+ printed_at: string | null;
24428
+ printed_by: string | null;
24429
+ printed_cart_ids: import("./types").Json;
24430
+ printer_id: string | null;
24431
+ priority: number;
24432
+ reference: string | null;
24433
+ route: string | null;
24434
+ screen_id: string | null;
24435
+ station_id: string | null;
24436
+ status_id: string | null;
24437
+ updated_at: string;
24438
+ warnings: import("./types").Json;
24439
+ };
24440
+ SetofOptions: {
24441
+ from: "*";
24442
+ to: "pick_queue";
24443
+ isOneToOne: true;
24444
+ isSetofReturn: false;
24445
+ };
24446
+ };
22843
24447
  pick_order_context: {
22844
24448
  Args: {
22845
24449
  _order_id?: string;
@@ -22860,6 +24464,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22860
24464
  };
22861
24465
  Returns: import("./types").Json;
22862
24466
  };
24467
+ pick_print_jobs_status: {
24468
+ Args: {
24469
+ _job_ids: string[];
24470
+ };
24471
+ Returns: import("./types").Json[];
24472
+ };
22863
24473
  pick_print_plekken: {
22864
24474
  Args: never;
22865
24475
  Returns: {
@@ -22868,6 +24478,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22868
24478
  omschrijving: string;
22869
24479
  }[];
22870
24480
  };
24481
+ pick_queue_cart_plan: {
24482
+ Args: {
24483
+ _queue_item_id: string;
24484
+ };
24485
+ Returns: import("./types").Json;
24486
+ };
22871
24487
  pick_reference_data_status: {
22872
24488
  Args: never;
22873
24489
  Returns: import("./types").Json;
@@ -22882,6 +24498,15 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22882
24498
  };
22883
24499
  Returns: undefined;
22884
24500
  };
24501
+ pick_reprint_cart: {
24502
+ Args: {
24503
+ _cart_id: string;
24504
+ _queue_item_id: string;
24505
+ _session_id: string;
24506
+ _throttle_seconds?: number;
24507
+ };
24508
+ Returns: string;
24509
+ };
22885
24510
  pick_reprint_document: {
22886
24511
  Args: {
22887
24512
  _queue_item_id: string;
@@ -22984,6 +24609,151 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22984
24609
  isSetofReturn: false;
22985
24610
  };
22986
24611
  };
24612
+ pick_reset_print_job: {
24613
+ Args: {
24614
+ _cart_id: string;
24615
+ _job_id: string;
24616
+ _queue_item_id: string;
24617
+ _session_id: string;
24618
+ };
24619
+ Returns: {
24620
+ announced_at: string;
24621
+ assigned_user_id: string | null;
24622
+ barcode: string | null;
24623
+ cancelled_at: string | null;
24624
+ cart_count: number;
24625
+ completed_at: string | null;
24626
+ country_code: string | null;
24627
+ created_at: string;
24628
+ customer_name: string | null;
24629
+ delivery_address: string | null;
24630
+ document_number: string | null;
24631
+ document_type_id: string | null;
24632
+ due_at: string | null;
24633
+ id: string;
24634
+ is_urgent: boolean;
24635
+ line_count: number;
24636
+ order_number: string | null;
24637
+ order_type: string | null;
24638
+ payload: import("./types").Json;
24639
+ print_count: number;
24640
+ print_job_id: string | null;
24641
+ printed_at: string | null;
24642
+ printed_by: string | null;
24643
+ printed_cart_ids: import("./types").Json;
24644
+ printer_id: string | null;
24645
+ priority: number;
24646
+ reference: string | null;
24647
+ route: string | null;
24648
+ screen_id: string | null;
24649
+ station_id: string | null;
24650
+ status_id: string | null;
24651
+ updated_at: string;
24652
+ warnings: import("./types").Json;
24653
+ };
24654
+ SetofOptions: {
24655
+ from: "*";
24656
+ to: "pick_queue";
24657
+ isOneToOne: true;
24658
+ isSetofReturn: false;
24659
+ };
24660
+ };
24661
+ pick_reset_print_jobs: {
24662
+ Args: {
24663
+ _cart_ids: string[];
24664
+ _job_ids: string[];
24665
+ _queue_item_id: string;
24666
+ _session_id: string;
24667
+ };
24668
+ Returns: {
24669
+ announced_at: string;
24670
+ assigned_user_id: string | null;
24671
+ barcode: string | null;
24672
+ cancelled_at: string | null;
24673
+ cart_count: number;
24674
+ completed_at: string | null;
24675
+ country_code: string | null;
24676
+ created_at: string;
24677
+ customer_name: string | null;
24678
+ delivery_address: string | null;
24679
+ document_number: string | null;
24680
+ document_type_id: string | null;
24681
+ due_at: string | null;
24682
+ id: string;
24683
+ is_urgent: boolean;
24684
+ line_count: number;
24685
+ order_number: string | null;
24686
+ order_type: string | null;
24687
+ payload: import("./types").Json;
24688
+ print_count: number;
24689
+ print_job_id: string | null;
24690
+ printed_at: string | null;
24691
+ printed_by: string | null;
24692
+ printed_cart_ids: import("./types").Json;
24693
+ printer_id: string | null;
24694
+ priority: number;
24695
+ reference: string | null;
24696
+ route: string | null;
24697
+ screen_id: string | null;
24698
+ station_id: string | null;
24699
+ status_id: string | null;
24700
+ updated_at: string;
24701
+ warnings: import("./types").Json;
24702
+ };
24703
+ SetofOptions: {
24704
+ from: "*";
24705
+ to: "pick_queue";
24706
+ isOneToOne: true;
24707
+ isSetofReturn: false;
24708
+ };
24709
+ };
24710
+ pick_restore_to_queue: {
24711
+ Args: {
24712
+ _queue_item_id: string;
24713
+ _session_id: string;
24714
+ };
24715
+ Returns: {
24716
+ announced_at: string;
24717
+ assigned_user_id: string | null;
24718
+ barcode: string | null;
24719
+ cancelled_at: string | null;
24720
+ cart_count: number;
24721
+ completed_at: string | null;
24722
+ country_code: string | null;
24723
+ created_at: string;
24724
+ customer_name: string | null;
24725
+ delivery_address: string | null;
24726
+ document_number: string | null;
24727
+ document_type_id: string | null;
24728
+ due_at: string | null;
24729
+ id: string;
24730
+ is_urgent: boolean;
24731
+ line_count: number;
24732
+ order_number: string | null;
24733
+ order_type: string | null;
24734
+ payload: import("./types").Json;
24735
+ print_count: number;
24736
+ print_job_id: string | null;
24737
+ printed_at: string | null;
24738
+ printed_by: string | null;
24739
+ printed_cart_ids: import("./types").Json;
24740
+ printer_id: string | null;
24741
+ priority: number;
24742
+ reference: string | null;
24743
+ route: string | null;
24744
+ screen_id: string | null;
24745
+ station_id: string | null;
24746
+ status_id: string | null;
24747
+ updated_at: string;
24748
+ warnings: import("./types").Json;
24749
+ };
24750
+ SetofOptions: {
24751
+ from: "*";
24752
+ to: "pick_queue";
24753
+ isOneToOne: true;
24754
+ isSetofReturn: false;
24755
+ };
24756
+ };
22987
24757
  pick_seed_reference_data: {
22988
24758
  Args: never;
22989
24759
  Returns: import("./types").Json;
@@ -23033,6 +24803,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23033
24803
  };
23034
24804
  Returns: string;
23035
24805
  };
24806
+ pick_sync_pick_day: {
24807
+ Args: {
24808
+ _day: string;
24809
+ };
24810
+ Returns: import("./types").Json;
24811
+ };
23036
24812
  pick_sync_queue_throttled: {
23037
24813
  Args: {
23038
24814
  _min_seconds?: number;
@@ -23262,6 +25038,20 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23262
25038
  };
23263
25039
  Returns: boolean;
23264
25040
  };
25041
+ release_local_pdf_job: {
25042
+ Args: {
25043
+ _job_id: string;
25044
+ _writer_id: string;
25045
+ };
25046
+ Returns: boolean;
25047
+ };
25048
+ release_print_queue_lease: {
25049
+ Args: {
25050
+ _houder: string;
25051
+ _naam: string;
25052
+ };
25053
+ Returns: boolean;
25054
+ };
23265
25055
  release_stale_order_invoice_links: {
23266
25056
  Args: {
23267
25057
  _minutes?: number;
@@ -23282,6 +25072,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23282
25072
  };
23283
25073
  Returns: import("./types").Json;
23284
25074
  };
25075
+ reset_cart_layer_positions: {
25076
+ Args: {
25077
+ p_cart_id: string;
25078
+ };
25079
+ Returns: number;
25080
+ };
23285
25081
  reset_floriday_sync_cursor: {
23286
25082
  Args: {
23287
25083
  p_connection_id: string;
@@ -23345,6 +25141,15 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23345
25141
  };
23346
25142
  Returns: import("./types").Json;
23347
25143
  };
25144
+ roles_without_enum_mapping: {
25145
+ Args: never;
25146
+ Returns: {
25147
+ assignment_count: number;
25148
+ id: string;
25149
+ key: string;
25150
+ name: string;
25151
+ }[];
25152
+ };
23348
25153
  ruim_print_jobs_op: {
23349
25154
  Args: {
23350
25155
  _bewaar_dagen?: number;
@@ -23359,6 +25164,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23359
25164
  Args: never;
23360
25165
  Returns: undefined;
23361
25166
  };
25167
+ run_floriday_stock_reconcile: {
25168
+ Args: never;
25169
+ Returns: undefined;
25170
+ };
23362
25171
  run_logistics_tasks_dispatch: {
23363
25172
  Args: never;
23364
25173
  Returns: undefined;
@@ -23377,18 +25186,98 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23377
25186
  };
23378
25187
  Returns: import("./types").Json;
23379
25188
  };
25189
+ scan_complete_cart: {
25190
+ Args: {
25191
+ p_allow_reprint?: boolean;
25192
+ p_cart_id: string;
25193
+ p_print?: boolean;
25194
+ p_scanner_id?: string;
25195
+ };
25196
+ Returns: import("./types").Json;
25197
+ };
23380
25198
  scan_dashboard_stats: {
23381
25199
  Args: {
23382
25200
  p_dagen?: number;
23383
25201
  };
23384
25202
  Returns: import("./types").Json;
23385
25203
  };
25204
+ scan_eindcontrole: {
25205
+ Args: {
25206
+ p_barcode: string;
25207
+ p_scanner_id?: string;
25208
+ };
25209
+ Returns: import("./types").Json;
25210
+ };
23386
25211
  scan_finish_kar: {
23387
25212
  Args: {
23388
25213
  p_kar_id: string;
23389
25214
  };
23390
25215
  Returns: import("./types").Json;
23391
25216
  };
25217
+ scan_kar_compleet: {
25218
+ Args: {
25219
+ p_allow_reprint?: boolean;
25220
+ p_sessie_id: string;
25221
+ };
25222
+ Returns: import("./types").Json;
25223
+ };
25224
+ scan_kar_regels: {
25225
+ Args: {
25226
+ p_cart_id: string;
25227
+ };
25228
+ Returns: import("./types").Json;
25229
+ };
25230
+ scan_log_code: {
25231
+ Args: {
25232
+ p_code: string;
25233
+ p_latency_ms?: number;
25234
+ p_message?: string;
25235
+ p_result: string;
25236
+ p_scanner_key?: string;
25237
+ };
25238
+ Returns: string;
25239
+ };
25240
+ scan_open_pakbonnen: {
25241
+ Args: {
25242
+ p_dagen?: number;
25243
+ };
25244
+ Returns: import("./types").Json;
25245
+ };
25246
+ scan_pakbon_lookup: {
25247
+ Args: {
25248
+ p_barcode: string;
25249
+ };
25250
+ Returns: import("./types").Json;
25251
+ };
25252
+ scan_pakbon_opnieuw: {
25253
+ Args: {
25254
+ p_barcode: string;
25255
+ p_scanner_id?: string;
25256
+ };
25257
+ Returns: import("./types").Json;
25258
+ };
25259
+ scan_pakbon_toevoegen: {
25260
+ Args: {
25261
+ p_barcode: string;
25262
+ p_medewerker?: string;
25263
+ p_regels?: import("./types").Json;
25264
+ p_scanner_id: string;
25265
+ };
25266
+ Returns: import("./types").Json;
25267
+ };
25268
+ scan_print_restpakbon: {
25269
+ Args: {
25270
+ p_printer_id?: string;
25271
+ p_restpakbon_id: string;
25272
+ };
25273
+ Returns: import("./types").Json;
25274
+ };
25275
+ scan_print_verzendbrief: {
25276
+ Args: {
25277
+ p_sessie_id: string;
25278
+ };
25279
+ Returns: import("./types").Json;
25280
+ };
23392
25281
  scan_register_item: {
23393
25282
  Args: {
23394
25283
  p_kar_id: string;
@@ -23407,6 +25296,25 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23407
25296
  };
23408
25297
  Returns: import("./types").Json;
23409
25298
  };
25299
+ scan_restpakbon_geprint: {
25300
+ Args: {
25301
+ p_id: string;
25302
+ p_print_job_id?: string;
25303
+ };
25304
+ Returns: undefined;
25305
+ };
25306
+ scan_sessie_annuleren: {
25307
+ Args: {
25308
+ p_sessie_id: string;
25309
+ };
25310
+ Returns: undefined;
25311
+ };
25312
+ scan_sessie_open: {
25313
+ Args: {
25314
+ p_scanner_id: string;
25315
+ };
25316
+ Returns: import("./types").Json;
25317
+ };
23410
25318
  scan_start_kar: {
23411
25319
  Args: {
23412
25320
  p_medewerker_id?: string;
@@ -23425,6 +25333,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23425
25333
  };
23426
25334
  Returns: import("./types").Json;
23427
25335
  };
25336
+ scan_verzendbrief_regels: {
25337
+ Args: {
25338
+ p_sessie_id: string;
25339
+ };
25340
+ Returns: import("./types").Json;
25341
+ };
23428
25342
  schedule_floriday_additional_services_sync: {
23429
25343
  Args: {
23430
25344
  p_apikey: string;
@@ -23740,6 +25654,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23740
25654
  };
23741
25655
  Returns: import("./types").Json;
23742
25656
  };
25657
+ swap_cart_layer_positions: {
25658
+ Args: {
25659
+ p_a: string;
25660
+ p_b: string;
25661
+ };
25662
+ Returns: undefined;
25663
+ };
23743
25664
  switch_time_log: {
23744
25665
  Args: {
23745
25666
  p_employee_id: string;
@@ -23772,6 +25693,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23772
25693
  };
23773
25694
  Returns: undefined;
23774
25695
  };
25696
+ sync_order_item_fusten: {
25697
+ Args: {
25698
+ _order_item_id: string;
25699
+ };
25700
+ Returns: undefined;
25701
+ };
23775
25702
  sync_product_group_belading: {
23776
25703
  Args: {
23777
25704
  _group_id: string;
@@ -23878,6 +25805,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23878
25805
  Args: never;
23879
25806
  Returns: string;
23880
25807
  };
25808
+ wake_print_queue: {
25809
+ Args: {
25810
+ _min_interval_ms?: number;
25811
+ };
25812
+ Returns: number;
25813
+ };
23881
25814
  werkbon_totalen: {
23882
25815
  Args: {
23883
25816
  _werkbon_id: string;
@@ -23910,10 +25843,18 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23910
25843
  };
23911
25844
  Returns: import("./types").Json;
23912
25845
  };
25846
+ wo_set_status: {
25847
+ Args: {
25848
+ _reason?: string;
25849
+ _status: string;
25850
+ _work_order_id: string;
25851
+ };
25852
+ Returns: import("./types").Json;
25853
+ };
23913
25854
  };
23914
25855
  Enums: {
23915
25856
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
23916
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
25857
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
23917
25858
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
23918
25859
  doc_orientation: "portrait" | "landscape";
23919
25860
  exact_env: "staging" | "live";