@flowselections/floriday-voorraad 1.0.39 → 1.0.40

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 (113) hide show
  1. package/dist-lib/components/TemplatePage.d.ts +1 -1
  2. package/dist-lib/components/TemplatePage.d.ts.map +1 -1
  3. package/dist-lib/components/settings/VoorraadSettingsCard.d.ts +2 -0
  4. package/dist-lib/components/settings/VoorraadSettingsCard.d.ts.map +1 -0
  5. package/dist-lib/components/settings/VoorraadSettingsCard.js +39 -0
  6. package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts +1 -1
  7. package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts.map +1 -1
  8. package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts +1 -1
  9. package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts.map +1 -1
  10. package/dist-lib/components/voorraad/ArtikelWizard.d.ts +1 -1
  11. package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
  12. package/dist-lib/components/voorraad/ArtikelWizard.js +34 -3
  13. package/dist-lib/components/voorraad/ConnectionBadge.d.ts +1 -1
  14. package/dist-lib/components/voorraad/ConnectionBadge.d.ts.map +1 -1
  15. package/dist-lib/components/voorraad/ConnectionPicker.d.ts +8 -0
  16. package/dist-lib/components/voorraad/ConnectionPicker.d.ts.map +1 -0
  17. package/dist-lib/components/voorraad/ConnectionPicker.js +8 -0
  18. package/dist-lib/components/voorraad/EditArtikelPage.d.ts +1 -1
  19. package/dist-lib/components/voorraad/EditArtikelPage.d.ts.map +1 -1
  20. package/dist-lib/components/voorraad/ExcelExportButton.d.ts +1 -1
  21. package/dist-lib/components/voorraad/ExcelExportButton.d.ts.map +1 -1
  22. package/dist-lib/components/voorraad/FloridayInfoCard.d.ts +1 -1
  23. package/dist-lib/components/voorraad/FloridayInfoCard.d.ts.map +1 -1
  24. package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts +1 -1
  25. package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts.map +1 -1
  26. package/dist-lib/components/voorraad/FustenPage.d.ts +1 -1
  27. package/dist-lib/components/voorraad/FustenPage.d.ts.map +1 -1
  28. package/dist-lib/components/voorraad/FustenPage.js +7 -1
  29. package/dist-lib/components/voorraad/InventorySettingsDrawer.d.ts +1 -1
  30. package/dist-lib/components/voorraad/InventorySettingsDrawer.d.ts.map +1 -1
  31. package/dist-lib/components/voorraad/InventoryStatusBadge.d.ts +1 -1
  32. package/dist-lib/components/voorraad/InventoryStatusBadge.d.ts.map +1 -1
  33. package/dist-lib/components/voorraad/ModuleHealthCard.d.ts +1 -1
  34. package/dist-lib/components/voorraad/ModuleHealthCard.d.ts.map +1 -1
  35. package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts +1 -1
  36. package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts.map +1 -1
  37. package/dist-lib/components/voorraad/OrderHistoryCard.d.ts +1 -1
  38. package/dist-lib/components/voorraad/OrderHistoryCard.d.ts.map +1 -1
  39. package/dist-lib/components/voorraad/PriceStatusBadge.d.ts +1 -1
  40. package/dist-lib/components/voorraad/PriceStatusBadge.d.ts.map +1 -1
  41. package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts +1 -1
  42. package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts.map +1 -1
  43. package/dist-lib/components/voorraad/ProductLinkCard.d.ts +1 -1
  44. package/dist-lib/components/voorraad/ProductLinkCard.d.ts.map +1 -1
  45. package/dist-lib/components/voorraad/PublicatiesPage.d.ts +1 -1
  46. package/dist-lib/components/voorraad/PublicatiesPage.d.ts.map +1 -1
  47. package/dist-lib/components/voorraad/PublishProgressCard.d.ts +1 -1
  48. package/dist-lib/components/voorraad/PublishProgressCard.d.ts.map +1 -1
  49. package/dist-lib/components/voorraad/PublishReadinessCard.d.ts +1 -1
  50. package/dist-lib/components/voorraad/PublishReadinessCard.d.ts.map +1 -1
  51. package/dist-lib/components/voorraad/StepSamenstelling.d.ts +1 -1
  52. package/dist-lib/components/voorraad/StepSamenstelling.d.ts.map +1 -1
  53. package/dist-lib/components/voorraad/StockBulkButtons.d.ts +1 -1
  54. package/dist-lib/components/voorraad/StockBulkButtons.d.ts.map +1 -1
  55. package/dist-lib/components/voorraad/StockHistoryChart.d.ts +1 -1
  56. package/dist-lib/components/voorraad/StockHistoryChart.d.ts.map +1 -1
  57. package/dist-lib/components/voorraad/StockPushMonitor.d.ts +1 -1
  58. package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
  59. package/dist-lib/components/voorraad/StockSyncStatus.d.ts +1 -1
  60. package/dist-lib/components/voorraad/StockSyncStatus.d.ts.map +1 -1
  61. package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts +1 -1
  62. package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts.map +1 -1
  63. package/dist-lib/components/voorraad/ValidationPage.d.ts +1 -1
  64. package/dist-lib/components/voorraad/ValidationPage.d.ts.map +1 -1
  65. package/dist-lib/components/voorraad/VoorraadDashboard.d.ts +1 -1
  66. package/dist-lib/components/voorraad/VoorraadDashboard.d.ts.map +1 -1
  67. package/dist-lib/components/voorraad/VoorraadPage.d.ts +1 -1
  68. package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
  69. package/dist-lib/components/voorraad/VoorraadPagination.d.ts +1 -1
  70. package/dist-lib/components/voorraad/VoorraadPagination.d.ts.map +1 -1
  71. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts +1 -1
  72. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
  73. package/dist-lib/components/voorraad/VoorraadTable.d.ts +1 -1
  74. package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
  75. package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts +1 -1
  76. package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts.map +1 -1
  77. package/dist-lib/hooks/useTradeItemStock.d.ts.map +1 -1
  78. package/dist-lib/hooks/useTradeItemStock.js +1 -0
  79. package/dist-lib/integrations/supabase/auth-middleware.d.ts +2217 -58
  80. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  81. package/dist-lib/integrations/supabase/client.d.ts +2217 -58
  82. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  83. package/dist-lib/integrations/supabase/client.js +1 -1
  84. package/dist-lib/integrations/supabase/client.server.d.ts +2217 -58
  85. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  86. package/dist-lib/integrations/supabase/client.server.js +1 -1
  87. package/dist-lib/integrations/supabase/types.d.ts +2431 -228
  88. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  89. package/dist-lib/integrations/supabase/types.js +1 -0
  90. package/dist-lib/lib/floricode-required-features.functions.d.ts +2216 -51
  91. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  92. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +2210 -53
  93. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  94. package/dist-lib/lib/floriday-env.functions.d.ts +4529 -211
  95. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  96. package/dist-lib/lib/floriday-gateway.functions.d.ts +13345 -391
  97. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  98. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +4529 -211
  99. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  100. package/dist-lib/lib/floriday-warehouse.functions.d.ts +6733 -256
  101. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  102. package/dist-lib/lib/floriday-writes.functions.d.ts +4529 -211
  103. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  104. package/dist-lib/lib/fusten.d.ts +1 -0
  105. package/dist-lib/lib/fusten.d.ts.map +1 -1
  106. package/dist-lib/lib/fusten.js +1 -1
  107. package/dist-lib/lib/inventory-settings.functions.d.ts +4529 -211
  108. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  109. package/dist-lib/lib/module-health.functions.d.ts +4529 -211
  110. package/dist-lib/lib/module-health.functions.d.ts.map +1 -1
  111. package/dist-lib/lib/stock-sync.functions.d.ts +4529 -211
  112. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  113. package/package.json +1 -1
@@ -690,6 +690,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
690
690
  raw: import("./types").Json;
691
691
  updated_at: string;
692
692
  valuta: string;
693
+ velden: import("./types").Json;
693
694
  };
694
695
  Insert: {
695
696
  artikelcode: string;
@@ -707,6 +708,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
707
708
  raw?: import("./types").Json;
708
709
  updated_at?: string;
709
710
  valuta?: string;
711
+ velden?: import("./types").Json;
710
712
  };
711
713
  Update: {
712
714
  artikelcode?: string;
@@ -724,6 +726,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
724
726
  raw?: import("./types").Json;
725
727
  updated_at?: string;
726
728
  valuta?: string;
729
+ velden?: import("./types").Json;
727
730
  };
728
731
  Relationships: [];
729
732
  };
@@ -1418,8 +1421,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
1418
1421
  Row: {
1419
1422
  assigned_at: string;
1420
1423
  cart_index: number;
1421
- cart_number: string;
1422
- day_seq: number;
1424
+ cart_number: string | null;
1425
+ day_seq: number | null;
1426
+ delivered_at: string | null;
1423
1427
  id: string;
1424
1428
  order_id: string;
1425
1429
  order_source: string;
@@ -1429,8 +1433,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
1429
1433
  Insert: {
1430
1434
  assigned_at?: string;
1431
1435
  cart_index: number;
1432
- cart_number: string;
1433
- day_seq: number;
1436
+ cart_number?: string | null;
1437
+ day_seq?: number | null;
1438
+ delivered_at?: string | null;
1434
1439
  id?: string;
1435
1440
  order_id: string;
1436
1441
  order_source: string;
@@ -1440,8 +1445,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
1440
1445
  Update: {
1441
1446
  assigned_at?: string;
1442
1447
  cart_index?: number;
1443
- cart_number?: string;
1444
- day_seq?: number;
1448
+ cart_number?: string | null;
1449
+ day_seq?: number | null;
1450
+ delivered_at?: string | null;
1445
1451
  id?: string;
1446
1452
  order_id?: string;
1447
1453
  order_source?: string;
@@ -1542,6 +1548,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
1542
1548
  updated_at?: string;
1543
1549
  };
1544
1550
  Relationships: [{
1551
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1552
+ columns: ["product_id"];
1553
+ isOneToOne: true;
1554
+ referencedRelation: "logistics_product_dimensions";
1555
+ referencedColumns: ["product_id"];
1556
+ }, {
1545
1557
  foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1546
1558
  columns: ["product_id"];
1547
1559
  isOneToOne: true;
@@ -7069,6 +7081,51 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
7069
7081
  };
7070
7082
  Relationships: [];
7071
7083
  };
7084
+ floriday_status_sync_queue: {
7085
+ Row: {
7086
+ attempts: number;
7087
+ created_at: string;
7088
+ error: string | null;
7089
+ floriday_sales_order_id: string;
7090
+ order_id: string;
7091
+ processed_at: string | null;
7092
+ requested_at: string;
7093
+ state: string;
7094
+ target_status: string;
7095
+ updated_at: string;
7096
+ };
7097
+ Insert: {
7098
+ attempts?: number;
7099
+ created_at?: string;
7100
+ error?: string | null;
7101
+ floriday_sales_order_id: string;
7102
+ order_id: string;
7103
+ processed_at?: string | null;
7104
+ requested_at?: string;
7105
+ state?: string;
7106
+ target_status: string;
7107
+ updated_at?: string;
7108
+ };
7109
+ Update: {
7110
+ attempts?: number;
7111
+ created_at?: string;
7112
+ error?: string | null;
7113
+ floriday_sales_order_id?: string;
7114
+ order_id?: string;
7115
+ processed_at?: string | null;
7116
+ requested_at?: string;
7117
+ state?: string;
7118
+ target_status?: string;
7119
+ updated_at?: string;
7120
+ };
7121
+ Relationships: [{
7122
+ foreignKeyName: "floriday_status_sync_queue_order_id_fkey";
7123
+ columns: ["order_id"];
7124
+ isOneToOne: true;
7125
+ referencedRelation: "orders";
7126
+ referencedColumns: ["id"];
7127
+ }];
7128
+ };
7072
7129
  floriday_sync_cursors: {
7073
7130
  Row: {
7074
7131
  connection_id: string;
@@ -8303,10 +8360,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8303
8360
  general_email: string | null;
8304
8361
  general_phone: string | null;
8305
8362
  id: string;
8363
+ kvk_number: string | null;
8306
8364
  legacy_customer_id: string | null;
8307
8365
  name: string;
8308
8366
  segment: Database["public"]["Enums"]["itk_customer_segment"];
8309
8367
  updated_at: string;
8368
+ vat_number: string | null;
8310
8369
  };
8311
8370
  Insert: {
8312
8371
  billing_city?: string | null;
@@ -8317,10 +8376,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8317
8376
  general_email?: string | null;
8318
8377
  general_phone?: string | null;
8319
8378
  id?: string;
8379
+ kvk_number?: string | null;
8320
8380
  legacy_customer_id?: string | null;
8321
8381
  name: string;
8322
8382
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8323
8383
  updated_at?: string;
8384
+ vat_number?: string | null;
8324
8385
  };
8325
8386
  Update: {
8326
8387
  billing_city?: string | null;
@@ -8331,10 +8392,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8331
8392
  general_email?: string | null;
8332
8393
  general_phone?: string | null;
8333
8394
  id?: string;
8395
+ kvk_number?: string | null;
8334
8396
  legacy_customer_id?: string | null;
8335
8397
  name?: string;
8336
8398
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8337
8399
  updated_at?: string;
8400
+ vat_number?: string | null;
8338
8401
  };
8339
8402
  Relationships: [];
8340
8403
  };
@@ -8368,6 +8431,117 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8368
8431
  };
8369
8432
  Relationships: [];
8370
8433
  };
8434
+ itk_handover_github_scan: {
8435
+ Row: {
8436
+ gescand_op: string;
8437
+ gevonden: boolean;
8438
+ melding: string | null;
8439
+ module_id: string | null;
8440
+ repo: string;
8441
+ };
8442
+ Insert: {
8443
+ gescand_op?: string;
8444
+ gevonden?: boolean;
8445
+ melding?: string | null;
8446
+ module_id?: string | null;
8447
+ repo: string;
8448
+ };
8449
+ Update: {
8450
+ gescand_op?: string;
8451
+ gevonden?: boolean;
8452
+ melding?: string | null;
8453
+ module_id?: string | null;
8454
+ repo?: string;
8455
+ };
8456
+ Relationships: [];
8457
+ };
8458
+ itk_handover_module_meta: {
8459
+ Row: {
8460
+ check_aangevraagd_op: string | null;
8461
+ check_nodig: boolean;
8462
+ check_reden: string | null;
8463
+ created_at: string;
8464
+ module_id: string;
8465
+ project_url: string | null;
8466
+ publicatie_url: string | null;
8467
+ updated_at: string;
8468
+ };
8469
+ Insert: {
8470
+ check_aangevraagd_op?: string | null;
8471
+ check_nodig?: boolean;
8472
+ check_reden?: string | null;
8473
+ created_at?: string;
8474
+ module_id: string;
8475
+ project_url?: string | null;
8476
+ publicatie_url?: string | null;
8477
+ updated_at?: string;
8478
+ };
8479
+ Update: {
8480
+ check_aangevraagd_op?: string | null;
8481
+ check_nodig?: boolean;
8482
+ check_reden?: string | null;
8483
+ created_at?: string;
8484
+ module_id?: string;
8485
+ project_url?: string | null;
8486
+ publicatie_url?: string | null;
8487
+ updated_at?: string;
8488
+ };
8489
+ Relationships: [];
8490
+ };
8491
+ itk_handover_project_modules: {
8492
+ Row: {
8493
+ created_at: string;
8494
+ id: string;
8495
+ module_id: string;
8496
+ project_id: string;
8497
+ updated_at: string;
8498
+ };
8499
+ Insert: {
8500
+ created_at?: string;
8501
+ id?: string;
8502
+ module_id: string;
8503
+ project_id: string;
8504
+ updated_at?: string;
8505
+ };
8506
+ Update: {
8507
+ created_at?: string;
8508
+ id?: string;
8509
+ module_id?: string;
8510
+ project_id?: string;
8511
+ updated_at?: string;
8512
+ };
8513
+ Relationships: [{
8514
+ foreignKeyName: "itk_handover_project_modules_project_id_fkey";
8515
+ columns: ["project_id"];
8516
+ isOneToOne: false;
8517
+ referencedRelation: "itk_handover_projecten";
8518
+ referencedColumns: ["id"];
8519
+ }];
8520
+ };
8521
+ itk_handover_projecten: {
8522
+ Row: {
8523
+ created_at: string;
8524
+ id: string;
8525
+ naam: string;
8526
+ omschrijving: string | null;
8527
+ updated_at: string;
8528
+ };
8529
+ Insert: {
8530
+ created_at?: string;
8531
+ id?: string;
8532
+ naam: string;
8533
+ omschrijving?: string | null;
8534
+ updated_at?: string;
8535
+ };
8536
+ Update: {
8537
+ created_at?: string;
8538
+ id?: string;
8539
+ naam?: string;
8540
+ omschrijving?: string | null;
8541
+ updated_at?: string;
8542
+ };
8543
+ Relationships: [];
8544
+ };
8371
8545
  itk_handover_rechten: {
8372
8546
  Row: {
8373
8547
  created_at: string;
@@ -8395,42 +8569,33 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8395
8569
  };
8396
8570
  Relationships: [];
8397
8571
  };
8398
- itk_handover_tokens: {
8572
+ itk_module_fingerprints: {
8399
8573
  Row: {
8400
- aangemaakt_door: string | null;
8401
8574
  created_at: string;
8575
+ gemaakt_op: string;
8576
+ hash: string;
8402
8577
  id: string;
8403
- is_actief: boolean;
8404
- laatst_gebruikt_op: string | null;
8405
- label: string;
8406
8578
  module_id: string;
8407
- token_hash: string;
8579
+ payload: import("./types").Json;
8408
8580
  updated_at: string;
8409
- verloopt_op: string | null;
8410
8581
  };
8411
8582
  Insert: {
8412
- aangemaakt_door?: string | null;
8413
8583
  created_at?: string;
8584
+ gemaakt_op?: string;
8585
+ hash: string;
8414
8586
  id?: string;
8415
- is_actief?: boolean;
8416
- laatst_gebruikt_op?: string | null;
8417
- label?: string;
8418
8587
  module_id: string;
8419
- token_hash: string;
8588
+ payload?: import("./types").Json;
8420
8589
  updated_at?: string;
8421
- verloopt_op?: string | null;
8422
8590
  };
8423
8591
  Update: {
8424
- aangemaakt_door?: string | null;
8425
8592
  created_at?: string;
8593
+ gemaakt_op?: string;
8594
+ hash?: string;
8426
8595
  id?: string;
8427
- is_actief?: boolean;
8428
- laatst_gebruikt_op?: string | null;
8429
- label?: string;
8430
8596
  module_id?: string;
8431
- token_hash?: string;
8597
+ payload?: import("./types").Json;
8432
8598
  updated_at?: string;
8433
- verloopt_op?: string | null;
8434
8599
  };
8435
8600
  Relationships: [];
8436
8601
  };
@@ -8438,6 +8603,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8438
8603
  Row: {
8439
8604
  bevindingen: string | null;
8440
8605
  bezit_tabellen: string[];
8606
+ bron_commit: string | null;
8607
+ bron_pad: string | null;
8608
+ bron_repo: string | null;
8609
+ bron_soort: string | null;
8610
+ bron_versie: string | null;
8441
8611
  conflicten_snapshot: import("./types").Json;
8442
8612
  contractfuncties: string[];
8443
8613
  created_at: string;
@@ -8448,6 +8618,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8448
8618
  id: string;
8449
8619
  inhoud_md: string;
8450
8620
  is_actueel: boolean;
8621
+ is_gearchiveerd: boolean;
8622
+ laatst_gecontroleerd_op: string | null;
8451
8623
  module_id: string;
8452
8624
  module_titel: string;
8453
8625
  ontbrekende_contracten: string[];
@@ -8458,6 +8630,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8458
8630
  Insert: {
8459
8631
  bevindingen?: string | null;
8460
8632
  bezit_tabellen?: string[];
8633
+ bron_commit?: string | null;
8634
+ bron_pad?: string | null;
8635
+ bron_repo?: string | null;
8636
+ bron_soort?: string | null;
8637
+ bron_versie?: string | null;
8461
8638
  conflicten_snapshot?: import("./types").Json;
8462
8639
  contractfuncties?: string[];
8463
8640
  created_at?: string;
@@ -8468,6 +8645,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8468
8645
  id?: string;
8469
8646
  inhoud_md: string;
8470
8647
  is_actueel?: boolean;
8648
+ is_gearchiveerd?: boolean;
8649
+ laatst_gecontroleerd_op?: string | null;
8471
8650
  module_id: string;
8472
8651
  module_titel: string;
8473
8652
  ontbrekende_contracten?: string[];
@@ -8478,6 +8657,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8478
8657
  Update: {
8479
8658
  bevindingen?: string | null;
8480
8659
  bezit_tabellen?: string[];
8660
+ bron_commit?: string | null;
8661
+ bron_pad?: string | null;
8662
+ bron_repo?: string | null;
8663
+ bron_soort?: string | null;
8664
+ bron_versie?: string | null;
8481
8665
  conflicten_snapshot?: import("./types").Json;
8482
8666
  contractfuncties?: string[];
8483
8667
  created_at?: string;
@@ -8488,6 +8672,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8488
8672
  id?: string;
8489
8673
  inhoud_md?: string;
8490
8674
  is_actueel?: boolean;
8675
+ is_gearchiveerd?: boolean;
8676
+ laatst_gecontroleerd_op?: string | null;
8491
8677
  module_id?: string;
8492
8678
  module_titel?: string;
8493
8679
  ontbrekende_contracten?: string[];
@@ -8542,6 +8728,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8542
8728
  };
8543
8729
  Relationships: [];
8544
8730
  };
8731
+ itk_module_wijzigingen: {
8732
+ Row: {
8733
+ created_at: string;
8734
+ geconstateerd_op: string;
8735
+ id: string;
8736
+ module_id: string;
8737
+ omschrijving: string;
8738
+ soort: string;
8739
+ updated_at: string;
8740
+ was_na_publicatie: boolean;
8741
+ };
8742
+ Insert: {
8743
+ created_at?: string;
8744
+ geconstateerd_op?: string;
8745
+ id?: string;
8746
+ module_id: string;
8747
+ omschrijving: string;
8748
+ soort: string;
8749
+ updated_at?: string;
8750
+ was_na_publicatie?: boolean;
8751
+ };
8752
+ Update: {
8753
+ created_at?: string;
8754
+ geconstateerd_op?: string;
8755
+ id?: string;
8756
+ module_id?: string;
8757
+ omschrijving?: string;
8758
+ soort?: string;
8759
+ updated_at?: string;
8760
+ was_na_publicatie?: boolean;
8761
+ };
8762
+ Relationships: [];
8763
+ };
8545
8764
  itk_offerte_events: {
8546
8765
  Row: {
8547
8766
  created_at: string;
@@ -8780,12 +8999,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8780
8999
  isOneToOne: false;
8781
9000
  referencedRelation: "werkbonnen";
8782
9001
  referencedColumns: ["id"];
9002
+ }, {
9003
+ foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
9004
+ columns: ["follow_up_werkbon_id"];
9005
+ isOneToOne: false;
9006
+ referencedRelation: "wo_overview";
9007
+ referencedColumns: ["id"];
8783
9008
  }, {
8784
9009
  foreignKeyName: "itk_offertes_werkbon_id_fkey";
8785
9010
  columns: ["werkbon_id"];
8786
9011
  isOneToOne: false;
8787
9012
  referencedRelation: "werkbonnen";
8788
9013
  referencedColumns: ["id"];
9014
+ }, {
9015
+ foreignKeyName: "itk_offertes_werkbon_id_fkey";
9016
+ columns: ["werkbon_id"];
9017
+ isOneToOne: false;
9018
+ referencedRelation: "wo_overview";
9019
+ referencedColumns: ["id"];
8789
9020
  }, {
8790
9021
  foreignKeyName: "itk_offertes_work_location_id_fkey";
8791
9022
  columns: ["work_location_id"];
@@ -9086,6 +9317,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9086
9317
  isOneToOne: false;
9087
9318
  referencedRelation: "product_categories";
9088
9319
  referencedColumns: ["id"];
9320
+ }, {
9321
+ foreignKeyName: "local_customer_agreements_product_id_fkey";
9322
+ columns: ["product_id"];
9323
+ isOneToOne: false;
9324
+ referencedRelation: "logistics_product_dimensions";
9325
+ referencedColumns: ["product_id"];
9089
9326
  }, {
9090
9327
  foreignKeyName: "local_customer_agreements_product_id_fkey";
9091
9328
  columns: ["product_id"];
@@ -9152,6 +9389,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9152
9389
  isOneToOne: false;
9153
9390
  referencedRelation: "product_categories";
9154
9391
  referencedColumns: ["id"];
9392
+ }, {
9393
+ foreignKeyName: "local_customer_price_groups_product_id_fkey";
9394
+ columns: ["product_id"];
9395
+ isOneToOne: false;
9396
+ referencedRelation: "logistics_product_dimensions";
9397
+ referencedColumns: ["product_id"];
9155
9398
  }, {
9156
9399
  foreignKeyName: "local_customer_price_groups_product_id_fkey";
9157
9400
  columns: ["product_id"];
@@ -9218,6 +9461,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9218
9461
  isOneToOne: false;
9219
9462
  referencedRelation: "product_categories";
9220
9463
  referencedColumns: ["id"];
9464
+ }, {
9465
+ foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9466
+ columns: ["product_id"];
9467
+ isOneToOne: false;
9468
+ referencedRelation: "logistics_product_dimensions";
9469
+ referencedColumns: ["product_id"];
9221
9470
  }, {
9222
9471
  foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9223
9472
  columns: ["product_id"];
@@ -9400,6 +9649,96 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9400
9649
  };
9401
9650
  Relationships: [];
9402
9651
  };
9652
+ logistics_cart_barcode: {
9653
+ Row: {
9654
+ barcode: string;
9655
+ cart_id: string;
9656
+ created_at: string;
9657
+ order_id: string | null;
9658
+ };
9659
+ Insert: {
9660
+ barcode: string;
9661
+ cart_id: string;
9662
+ created_at?: string;
9663
+ order_id?: string | null;
9664
+ };
9665
+ Update: {
9666
+ barcode?: string;
9667
+ cart_id?: string;
9668
+ created_at?: string;
9669
+ order_id?: string | null;
9670
+ };
9671
+ Relationships: [];
9672
+ };
9673
+ logistics_control_scan: {
9674
+ Row: {
9675
+ approved_at: string | null;
9676
+ attempts: number;
9677
+ barcode: string;
9678
+ cart_id: string;
9679
+ created_at: string;
9680
+ document_url: string | null;
9681
+ error: string | null;
9682
+ error_code: string | null;
9683
+ fulfillment_order_id: string | null;
9684
+ id: string;
9685
+ is_floriday: boolean;
9686
+ locked_until: string | null;
9687
+ order_id: string | null;
9688
+ order_number: string | null;
9689
+ print_job_id: string | null;
9690
+ printed_at: string | null;
9691
+ printer_id: string | null;
9692
+ scanner_id: string | null;
9693
+ status: string;
9694
+ updated_at: string;
9695
+ };
9696
+ Insert: {
9697
+ approved_at?: string | null;
9698
+ attempts?: number;
9699
+ barcode: string;
9700
+ cart_id: string;
9701
+ created_at?: string;
9702
+ document_url?: string | null;
9703
+ error?: string | null;
9704
+ error_code?: string | null;
9705
+ fulfillment_order_id?: string | null;
9706
+ id?: string;
9707
+ is_floriday?: boolean;
9708
+ locked_until?: string | null;
9709
+ order_id?: string | null;
9710
+ order_number?: string | null;
9711
+ print_job_id?: string | null;
9712
+ printed_at?: string | null;
9713
+ printer_id?: string | null;
9714
+ scanner_id?: string | null;
9715
+ status?: string;
9716
+ updated_at?: string;
9717
+ };
9718
+ Update: {
9719
+ approved_at?: string | null;
9720
+ attempts?: number;
9721
+ barcode?: string;
9722
+ cart_id?: string;
9723
+ created_at?: string;
9724
+ document_url?: string | null;
9725
+ error?: string | null;
9726
+ error_code?: string | null;
9727
+ fulfillment_order_id?: string | null;
9728
+ id?: string;
9729
+ is_floriday?: boolean;
9730
+ locked_until?: string | null;
9731
+ order_id?: string | null;
9732
+ order_number?: string | null;
9733
+ print_job_id?: string | null;
9734
+ printed_at?: string | null;
9735
+ printer_id?: string | null;
9736
+ scanner_id?: string | null;
9737
+ status?: string;
9738
+ updated_at?: string;
9739
+ };
9740
+ Relationships: [];
9741
+ };
9403
9742
  logistics_decisions: {
9404
9743
  Row: {
9405
9744
  created_at: string;
@@ -9685,12 +10024,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9685
10024
  };
9686
10025
  Relationships: [];
9687
10026
  };
9688
- logistics_floriday_pushes: {
10027
+ logistics_floriday_carrier_map: {
9689
10028
  Row: {
9690
- attempts: number;
10029
+ carrier_code: string;
9691
10030
  created_at: string;
9692
- first_queued_at: string;
9693
- fulfillment_order_id: string | null;
10031
+ floriday_code: string;
10032
+ };
10033
+ Insert: {
10034
+ carrier_code: string;
10035
+ created_at?: string;
10036
+ floriday_code: string;
10037
+ };
10038
+ Update: {
10039
+ carrier_code?: string;
10040
+ created_at?: string;
10041
+ floriday_code?: string;
10042
+ };
10043
+ Relationships: [];
10044
+ };
10045
+ logistics_floriday_pushes: {
10046
+ Row: {
10047
+ attempts: number;
10048
+ created_at: string;
10049
+ first_queued_at: string;
10050
+ fulfillment_order_id: string | null;
9694
10051
  id: string;
9695
10052
  last_error: string | null;
9696
10053
  last_error_at: string | null;
@@ -9802,6 +10159,36 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9802
10159
  referencedColumns: ["id"];
9803
10160
  }];
9804
10161
  };
10162
+ logistics_layer_override_log: {
10163
+ Row: {
10164
+ cart_id: string;
10165
+ created_at: string;
10166
+ details: import("./types").Json;
10167
+ id: string;
10168
+ keg_id: string | null;
10169
+ product_id: string | null;
10170
+ reason: string;
10171
+ };
10172
+ Insert: {
10173
+ cart_id: string;
10174
+ created_at?: string;
10175
+ details?: import("./types").Json;
10176
+ id?: string;
10177
+ keg_id?: string | null;
10178
+ product_id?: string | null;
10179
+ reason: string;
10180
+ };
10181
+ Update: {
10182
+ cart_id?: string;
10183
+ created_at?: string;
10184
+ details?: import("./types").Json;
10185
+ id?: string;
10186
+ keg_id?: string | null;
10187
+ product_id?: string | null;
10188
+ reason?: string;
10189
+ };
10190
+ Relationships: [];
10191
+ };
9805
10192
  logistics_pickup_moments: {
9806
10193
  Row: {
9807
10194
  carrier_ref: string | null;
@@ -10228,6 +10615,36 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10228
10615
  referencedColumns: ["id"];
10229
10616
  }];
10230
10617
  };
10618
+ logistics_shipping_note_scan: {
10619
+ Row: {
10620
+ barcode: string;
10621
+ cart_id: string;
10622
+ id: string;
10623
+ is_reprint: boolean;
10624
+ order_id: string | null;
10625
+ print_job_id: string | null;
10626
+ scanned_at: string;
10627
+ };
10628
+ Insert: {
10629
+ barcode: string;
10630
+ cart_id: string;
10631
+ id?: string;
10632
+ is_reprint?: boolean;
10633
+ order_id?: string | null;
10634
+ print_job_id?: string | null;
10635
+ scanned_at?: string;
10636
+ };
10637
+ Update: {
10638
+ barcode?: string;
10639
+ cart_id?: string;
10640
+ id?: string;
10641
+ is_reprint?: boolean;
10642
+ order_id?: string | null;
10643
+ print_job_id?: string | null;
10644
+ scanned_at?: string;
10645
+ };
10646
+ Relationships: [];
10647
+ };
10231
10648
  logistics_staff_planning: {
10232
10649
  Row: {
10233
10650
  created_at: string;
@@ -10977,6 +11394,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10977
11394
  updated_at?: string;
10978
11395
  };
10979
11396
  Relationships: [{
11397
+ foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11398
+ columns: ["product_id"];
11399
+ isOneToOne: false;
11400
+ referencedRelation: "logistics_product_dimensions";
11401
+ referencedColumns: ["product_id"];
11402
+ }, {
10980
11403
  foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
10981
11404
  columns: ["product_id"];
10982
11405
  isOneToOne: false;
@@ -12283,6 +12706,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12283
12706
  order_buffers: {
12284
12707
  Row: {
12285
12708
  buffer_key: string;
12709
+ close_at: string | null;
12710
+ closed_at: string | null;
12286
12711
  created_at: string;
12287
12712
  customer_id: string | null;
12288
12713
  grouping_mode: string;
@@ -12294,6 +12719,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12294
12719
  };
12295
12720
  Insert: {
12296
12721
  buffer_key: string;
12722
+ close_at?: string | null;
12723
+ closed_at?: string | null;
12297
12724
  created_at?: string;
12298
12725
  customer_id?: string | null;
12299
12726
  grouping_mode: string;
@@ -12305,6 +12732,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12305
12732
  };
12306
12733
  Update: {
12307
12734
  buffer_key?: string;
12735
+ close_at?: string | null;
12736
+ closed_at?: string | null;
12308
12737
  created_at?: string;
12309
12738
  customer_id?: string | null;
12310
12739
  grouping_mode?: string;
@@ -12321,10 +12750,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12321
12750
  boxes: number | null;
12322
12751
  cart_id: string;
12323
12752
  crates: number;
12753
+ crates_in_layer: number | null;
12324
12754
  crates_per_layer: number;
12325
12755
  created_at: string;
12326
12756
  id: string;
12327
12757
  layer_fraction: number;
12758
+ layer_index: number | null;
12328
12759
  layer_share_pct: number;
12329
12760
  layers_per_cart: number;
12330
12761
  order_item_id: string | null;
@@ -12337,10 +12768,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12337
12768
  boxes?: number | null;
12338
12769
  cart_id: string;
12339
12770
  crates: number;
12771
+ crates_in_layer?: number | null;
12340
12772
  crates_per_layer?: number;
12341
12773
  created_at?: string;
12342
12774
  id?: string;
12343
12775
  layer_fraction?: number;
12776
+ layer_index?: number | null;
12344
12777
  layer_share_pct?: number;
12345
12778
  layers_per_cart?: number;
12346
12779
  order_item_id?: string | null;
@@ -12353,10 +12786,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12353
12786
  boxes?: number | null;
12354
12787
  cart_id?: string;
12355
12788
  crates?: number;
12789
+ crates_in_layer?: number | null;
12356
12790
  crates_per_layer?: number;
12357
12791
  created_at?: string;
12358
12792
  id?: string;
12359
12793
  layer_fraction?: number;
12794
+ layer_index?: number | null;
12360
12795
  layer_share_pct?: number;
12361
12796
  layers_per_cart?: number;
12362
12797
  order_item_id?: string | null;
@@ -12377,6 +12812,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12377
12812
  isOneToOne: false;
12378
12813
  referencedRelation: "order_items";
12379
12814
  referencedColumns: ["id"];
12815
+ }, {
12816
+ foreignKeyName: "order_cart_items_product_id_fkey";
12817
+ columns: ["product_id"];
12818
+ isOneToOne: false;
12819
+ referencedRelation: "logistics_product_dimensions";
12820
+ referencedColumns: ["product_id"];
12380
12821
  }, {
12381
12822
  foreignKeyName: "order_cart_items_product_id_fkey";
12382
12823
  columns: ["product_id"];
@@ -12385,6 +12826,93 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12385
12826
  referencedColumns: ["id"];
12386
12827
  }];
12387
12828
  };
12829
+ order_cart_layer_positions: {
12830
+ Row: {
12831
+ algorithm_version: number | null;
12832
+ cart_id: string;
12833
+ created_at: string;
12834
+ height: number;
12835
+ id: string;
12836
+ keg_id: string;
12837
+ label: string | null;
12838
+ layer: number;
12839
+ layer_height: number | null;
12840
+ layer_width: number | null;
12841
+ manual_overridden_at: string | null;
12842
+ manual_overridden_by: string | null;
12843
+ manual_override: boolean;
12844
+ order_item_id: string | null;
12845
+ original_layer: number | null;
12846
+ original_x: number | null;
12847
+ original_y: number | null;
12848
+ product_id: string | null;
12849
+ rotation: number;
12850
+ source: string | null;
12851
+ updated_at: string;
12852
+ width: number;
12853
+ x: number;
12854
+ y: number;
12855
+ };
12856
+ Insert: {
12857
+ algorithm_version?: number | null;
12858
+ cart_id: string;
12859
+ created_at?: string;
12860
+ height: number;
12861
+ id?: string;
12862
+ keg_id: string;
12863
+ label?: string | null;
12864
+ layer: number;
12865
+ layer_height?: number | null;
12866
+ layer_width?: number | null;
12867
+ manual_overridden_at?: string | null;
12868
+ manual_overridden_by?: string | null;
12869
+ manual_override?: boolean;
12870
+ order_item_id?: string | null;
12871
+ original_layer?: number | null;
12872
+ original_x?: number | null;
12873
+ original_y?: number | null;
12874
+ product_id?: string | null;
12875
+ rotation?: number;
12876
+ source?: string | null;
12877
+ updated_at?: string;
12878
+ width: number;
12879
+ x: number;
12880
+ y: number;
12881
+ };
12882
+ Update: {
12883
+ algorithm_version?: number | null;
12884
+ cart_id?: string;
12885
+ created_at?: string;
12886
+ height?: number;
12887
+ id?: string;
12888
+ keg_id?: string;
12889
+ label?: string | null;
12890
+ layer?: number;
12891
+ layer_height?: number | null;
12892
+ layer_width?: number | null;
12893
+ manual_overridden_at?: string | null;
12894
+ manual_overridden_by?: string | null;
12895
+ manual_override?: boolean;
12896
+ order_item_id?: string | null;
12897
+ original_layer?: number | null;
12898
+ original_x?: number | null;
12899
+ original_y?: number | null;
12900
+ product_id?: string | null;
12901
+ rotation?: number;
12902
+ source?: string | null;
12903
+ updated_at?: string;
12904
+ width?: number;
12905
+ x?: number;
12906
+ y?: number;
12907
+ };
12908
+ Relationships: [{
12909
+ foreignKeyName: "order_cart_layer_positions_cart_id_fkey";
12910
+ columns: ["cart_id"];
12911
+ isOneToOne: false;
12912
+ referencedRelation: "order_carts";
12913
+ referencedColumns: ["id"];
12914
+ }];
12915
+ };
12388
12916
  order_carts: {
12389
12917
  Row: {
12390
12918
  algorithm_version: number;
@@ -12396,6 +12924,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12396
12924
  id: string;
12397
12925
  is_auto: boolean;
12398
12926
  is_complete: boolean;
12927
+ layout_method: string | null;
12399
12928
  max_layers: number | null;
12400
12929
  moved_at: string | null;
12401
12930
  moved_from_moment_id: string | null;
@@ -12406,6 +12935,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12406
12935
  pickup_locked: boolean;
12407
12936
  pickup_moment_id: string | null;
12408
12937
  source: string;
12938
+ total_carts: number | null;
12409
12939
  total_layers_used: number;
12410
12940
  updated_at: string;
12411
12941
  weight_kg: number | null;
@@ -12420,6 +12950,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12420
12950
  id?: string;
12421
12951
  is_auto?: boolean;
12422
12952
  is_complete?: boolean;
12953
+ layout_method?: string | null;
12423
12954
  max_layers?: number | null;
12424
12955
  moved_at?: string | null;
12425
12956
  moved_from_moment_id?: string | null;
@@ -12430,6 +12961,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12430
12961
  pickup_locked?: boolean;
12431
12962
  pickup_moment_id?: string | null;
12432
12963
  source?: string;
12964
+ total_carts?: number | null;
12433
12965
  total_layers_used?: number;
12434
12966
  updated_at?: string;
12435
12967
  weight_kg?: number | null;
@@ -12444,6 +12976,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12444
12976
  id?: string;
12445
12977
  is_auto?: boolean;
12446
12978
  is_complete?: boolean;
12979
+ layout_method?: string | null;
12447
12980
  max_layers?: number | null;
12448
12981
  moved_at?: string | null;
12449
12982
  moved_from_moment_id?: string | null;
@@ -12454,6 +12987,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12454
12987
  pickup_locked?: boolean;
12455
12988
  pickup_moment_id?: string | null;
12456
12989
  source?: string;
12990
+ total_carts?: number | null;
12457
12991
  total_layers_used?: number;
12458
12992
  updated_at?: string;
12459
12993
  weight_kg?: number | null;
@@ -12556,6 +13090,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12556
13090
  };
12557
13091
  Relationships: [];
12558
13092
  };
13093
+ order_fust_bookings: {
13094
+ Row: {
13095
+ created_at: string;
13096
+ fust_type_id: string;
13097
+ id: string;
13098
+ order_item_id: string;
13099
+ quantity: number;
13100
+ updated_at: string;
13101
+ };
13102
+ Insert: {
13103
+ created_at?: string;
13104
+ fust_type_id: string;
13105
+ id?: string;
13106
+ order_item_id: string;
13107
+ quantity?: number;
13108
+ updated_at?: string;
13109
+ };
13110
+ Update: {
13111
+ created_at?: string;
13112
+ fust_type_id?: string;
13113
+ id?: string;
13114
+ order_item_id?: string;
13115
+ quantity?: number;
13116
+ updated_at?: string;
13117
+ };
13118
+ Relationships: [{
13119
+ foreignKeyName: "order_fust_bookings_fust_type_id_fkey";
13120
+ columns: ["fust_type_id"];
13121
+ isOneToOne: false;
13122
+ referencedRelation: "fust_types";
13123
+ referencedColumns: ["id"];
13124
+ }];
13125
+ };
12559
13126
  order_invoice_links: {
12560
13127
  Row: {
12561
13128
  administration_code: string | null;
@@ -12644,6 +13211,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12644
13211
  isOneToOne: false;
12645
13212
  referencedRelation: "orders";
12646
13213
  referencedColumns: ["id"];
13214
+ }, {
13215
+ foreignKeyName: "order_items_product_id_fkey";
13216
+ columns: ["product_id"];
13217
+ isOneToOne: false;
13218
+ referencedRelation: "logistics_product_dimensions";
13219
+ referencedColumns: ["product_id"];
12647
13220
  }, {
12648
13221
  foreignKeyName: "order_items_product_id_fkey";
12649
13222
  columns: ["product_id"];
@@ -12791,6 +13364,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12791
13364
  plan_locked_at: string | null;
12792
13365
  plan_locked_ref: string | null;
12793
13366
  status: string;
13367
+ status_changed_at: string;
13368
+ status_origin: string;
13369
+ status_sync_token: string | null;
12794
13370
  total: string;
12795
13371
  updated_at: string;
12796
13372
  };
@@ -12815,6 +13391,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12815
13391
  plan_locked_at?: string | null;
12816
13392
  plan_locked_ref?: string | null;
12817
13393
  status?: string;
13394
+ status_changed_at?: string;
13395
+ status_origin?: string;
13396
+ status_sync_token?: string | null;
12818
13397
  total?: string;
12819
13398
  updated_at?: string;
12820
13399
  };
@@ -12839,6 +13418,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12839
13418
  plan_locked_at?: string | null;
12840
13419
  plan_locked_ref?: string | null;
12841
13420
  status?: string;
13421
+ status_changed_at?: string;
13422
+ status_origin?: string;
13423
+ status_sync_token?: string | null;
12842
13424
  total?: string;
12843
13425
  updated_at?: string;
12844
13426
  };
@@ -12892,6 +13474,132 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12892
13474
  };
12893
13475
  Relationships: [];
12894
13476
  };
13477
+ pakbon_barcode_inhoud: {
13478
+ Row: {
13479
+ barcode: string;
13480
+ cart_id: string | null;
13481
+ cart_index: number | null;
13482
+ cart_label: string | null;
13483
+ cart_total: number | null;
13484
+ created_at: string;
13485
+ is_herprint: boolean;
13486
+ klant_naam: string | null;
13487
+ klant_nummer: string | null;
13488
+ layout_id: string | null;
13489
+ layout_variant: string | null;
13490
+ order_nummer: string | null;
13491
+ order_ref: string | null;
13492
+ print_job_id: string | null;
13493
+ regels: import("./types").Json;
13494
+ updated_at: string;
13495
+ };
13496
+ Insert: {
13497
+ barcode: string;
13498
+ cart_id?: string | null;
13499
+ cart_index?: number | null;
13500
+ cart_label?: string | null;
13501
+ cart_total?: number | null;
13502
+ created_at?: string;
13503
+ is_herprint?: boolean;
13504
+ klant_naam?: string | null;
13505
+ klant_nummer?: string | null;
13506
+ layout_id?: string | null;
13507
+ layout_variant?: string | null;
13508
+ order_nummer?: string | null;
13509
+ order_ref?: string | null;
13510
+ print_job_id?: string | null;
13511
+ regels?: import("./types").Json;
13512
+ updated_at?: string;
13513
+ };
13514
+ Update: {
13515
+ barcode?: string;
13516
+ cart_id?: string | null;
13517
+ cart_index?: number | null;
13518
+ cart_label?: string | null;
13519
+ cart_total?: number | null;
13520
+ created_at?: string;
13521
+ is_herprint?: boolean;
13522
+ klant_naam?: string | null;
13523
+ klant_nummer?: string | null;
13524
+ layout_id?: string | null;
13525
+ layout_variant?: string | null;
13526
+ order_nummer?: string | null;
13527
+ order_ref?: string | null;
13528
+ print_job_id?: string | null;
13529
+ regels?: import("./types").Json;
13530
+ updated_at?: string;
13531
+ };
13532
+ Relationships: [];
13533
+ };
13534
+ pakbon_barcode_verzoeken: {
13535
+ Row: {
13536
+ aangevraagd_op: string;
13537
+ barcode: string | null;
13538
+ cart_id: string | null;
13539
+ cart_index: number | null;
13540
+ cart_label: string | null;
13541
+ cart_total: number | null;
13542
+ documentnaam: string | null;
13543
+ geleverd_op: string | null;
13544
+ id: string;
13545
+ is_herprint: boolean;
13546
+ klant_naam: string | null;
13547
+ klant_nummer: string | null;
13548
+ laatst_gevraagd_op: string;
13549
+ layout_id: string | null;
13550
+ layout_variant: string | null;
13551
+ order_nummer: string | null;
13552
+ order_ref: string | null;
13553
+ print_job_id: string;
13554
+ status: string;
13555
+ updated_at: string;
13556
+ };
13557
+ Insert: {
13558
+ aangevraagd_op?: string;
13559
+ barcode?: string | null;
13560
+ cart_id?: string | null;
13561
+ cart_index?: number | null;
13562
+ cart_label?: string | null;
13563
+ cart_total?: number | null;
13564
+ documentnaam?: string | null;
13565
+ geleverd_op?: string | null;
13566
+ id?: string;
13567
+ is_herprint?: boolean;
13568
+ klant_naam?: string | null;
13569
+ klant_nummer?: string | null;
13570
+ laatst_gevraagd_op?: string;
13571
+ layout_id?: string | null;
13572
+ layout_variant?: string | null;
13573
+ order_nummer?: string | null;
13574
+ order_ref?: string | null;
13575
+ print_job_id: string;
13576
+ status?: string;
13577
+ updated_at?: string;
13578
+ };
13579
+ Update: {
13580
+ aangevraagd_op?: string;
13581
+ barcode?: string | null;
13582
+ cart_id?: string | null;
13583
+ cart_index?: number | null;
13584
+ cart_label?: string | null;
13585
+ cart_total?: number | null;
13586
+ documentnaam?: string | null;
13587
+ geleverd_op?: string | null;
13588
+ id?: string;
13589
+ is_herprint?: boolean;
13590
+ klant_naam?: string | null;
13591
+ klant_nummer?: string | null;
13592
+ laatst_gevraagd_op?: string;
13593
+ layout_id?: string | null;
13594
+ layout_variant?: string | null;
13595
+ order_nummer?: string | null;
13596
+ order_ref?: string | null;
13597
+ print_job_id?: string;
13598
+ status?: string;
13599
+ updated_at?: string;
13600
+ };
13601
+ Relationships: [];
13602
+ };
12895
13603
  pick_countries: {
12896
13604
  Row: {
12897
13605
  active: boolean;
@@ -13049,6 +13757,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13049
13757
  print_job_id: string | null;
13050
13758
  printed_at: string | null;
13051
13759
  printed_by: string | null;
13760
+ printed_cart_ids: import("./types").Json;
13052
13761
  printer_id: string | null;
13053
13762
  priority: number;
13054
13763
  reference: string | null;
@@ -13083,6 +13792,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13083
13792
  print_job_id?: string | null;
13084
13793
  printed_at?: string | null;
13085
13794
  printed_by?: string | null;
13795
+ printed_cart_ids?: import("./types").Json;
13086
13796
  printer_id?: string | null;
13087
13797
  priority?: number;
13088
13798
  reference?: string | null;
@@ -13117,6 +13827,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13117
13827
  print_job_id?: string | null;
13118
13828
  printed_at?: string | null;
13119
13829
  printed_by?: string | null;
13830
+ printed_cart_ids?: import("./types").Json;
13120
13831
  printer_id?: string | null;
13121
13832
  priority?: number;
13122
13833
  reference?: string | null;
@@ -13967,6 +14678,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13967
14678
  isOneToOne: false;
13968
14679
  referencedRelation: "werkbonnen";
13969
14680
  referencedColumns: ["id"];
14681
+ }, {
14682
+ foreignKeyName: "planning_items_werkbon_id_fkey";
14683
+ columns: ["werkbon_id"];
14684
+ isOneToOne: false;
14685
+ referencedRelation: "wo_overview";
14686
+ referencedColumns: ["id"];
13970
14687
  }];
13971
14688
  };
13972
14689
  print_agents: {
@@ -14082,12 +14799,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14082
14799
  };
14083
14800
  print_jobs: {
14084
14801
  Row: {
14802
+ aflever_pogingen: number;
14085
14803
  agent_id: string | null;
14804
+ artefact_bytes: number | null;
14805
+ artefact_gereed_op: string | null;
14806
+ artefact_pad: string | null;
14807
+ artefact_sha256: string | null;
14808
+ batch_id: string | null;
14086
14809
  bron_job_id: string | null;
14087
14810
  created_at: string;
14088
14811
  documentnaam: string;
14089
14812
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
14090
14813
  extern_job_id: string | null;
14814
+ fase_gestart_op: string | null;
14815
+ fase_voltooid_op: string | null;
14816
+ foutcode: string | null;
14091
14817
  foutmelding: string | null;
14092
14818
  gebruiker_id: string | null;
14093
14819
  gebruiker_naam: string;
@@ -14101,7 +14827,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14101
14827
  kopieen: number;
14102
14828
  layout_id: string | null;
14103
14829
  lokaal_opgeslagen_op: string | null;
14830
+ lokale_pdf_claim_id: string | null;
14831
+ lokale_pdf_claim_tot: string | null;
14104
14832
  lokale_pdf_fout: string | null;
14833
+ lokale_pdf_print_plek_id: string | null;
14105
14834
  lokale_pdf_status: string | null;
14106
14835
  opgepakt_op: string | null;
14107
14836
  paginas: number;
@@ -14114,16 +14843,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14114
14843
  resultaat_pdf_base64: string | null;
14115
14844
  status: Database["public"]["Enums"]["print_job_status"];
14116
14845
  updated_at: string;
14846
+ verwerkingsfase: string;
14117
14847
  volgende_poging: string | null;
14118
14848
  voltooid_op: string | null;
14119
14849
  };
14120
14850
  Insert: {
14851
+ aflever_pogingen?: number;
14121
14852
  agent_id?: string | null;
14853
+ artefact_bytes?: number | null;
14854
+ artefact_gereed_op?: string | null;
14855
+ artefact_pad?: string | null;
14856
+ artefact_sha256?: string | null;
14857
+ batch_id?: string | null;
14122
14858
  bron_job_id?: string | null;
14123
14859
  created_at?: string;
14124
14860
  documentnaam?: string;
14125
14861
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14126
14862
  extern_job_id?: string | null;
14863
+ fase_gestart_op?: string | null;
14864
+ fase_voltooid_op?: string | null;
14865
+ foutcode?: string | null;
14127
14866
  foutmelding?: string | null;
14128
14867
  gebruiker_id?: string | null;
14129
14868
  gebruiker_naam?: string;
@@ -14137,7 +14876,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14137
14876
  kopieen?: number;
14138
14877
  layout_id?: string | null;
14139
14878
  lokaal_opgeslagen_op?: string | null;
14879
+ lokale_pdf_claim_id?: string | null;
14880
+ lokale_pdf_claim_tot?: string | null;
14140
14881
  lokale_pdf_fout?: string | null;
14882
+ lokale_pdf_print_plek_id?: string | null;
14141
14883
  lokale_pdf_status?: string | null;
14142
14884
  opgepakt_op?: string | null;
14143
14885
  paginas?: number;
@@ -14150,16 +14892,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14150
14892
  resultaat_pdf_base64?: string | null;
14151
14893
  status?: Database["public"]["Enums"]["print_job_status"];
14152
14894
  updated_at?: string;
14895
+ verwerkingsfase?: string;
14153
14896
  volgende_poging?: string | null;
14154
14897
  voltooid_op?: string | null;
14155
14898
  };
14156
14899
  Update: {
14900
+ aflever_pogingen?: number;
14157
14901
  agent_id?: string | null;
14902
+ artefact_bytes?: number | null;
14903
+ artefact_gereed_op?: string | null;
14904
+ artefact_pad?: string | null;
14905
+ artefact_sha256?: string | null;
14906
+ batch_id?: string | null;
14158
14907
  bron_job_id?: string | null;
14159
14908
  created_at?: string;
14160
14909
  documentnaam?: string;
14161
14910
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14162
14911
  extern_job_id?: string | null;
14912
+ fase_gestart_op?: string | null;
14913
+ fase_voltooid_op?: string | null;
14914
+ foutcode?: string | null;
14163
14915
  foutmelding?: string | null;
14164
14916
  gebruiker_id?: string | null;
14165
14917
  gebruiker_naam?: string;
@@ -14173,7 +14925,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14173
14925
  kopieen?: number;
14174
14926
  layout_id?: string | null;
14175
14927
  lokaal_opgeslagen_op?: string | null;
14928
+ lokale_pdf_claim_id?: string | null;
14929
+ lokale_pdf_claim_tot?: string | null;
14176
14930
  lokale_pdf_fout?: string | null;
14931
+ lokale_pdf_print_plek_id?: string | null;
14177
14932
  lokale_pdf_status?: string | null;
14178
14933
  opgepakt_op?: string | null;
14179
14934
  paginas?: number;
@@ -14186,6 +14941,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14186
14941
  resultaat_pdf_base64?: string | null;
14187
14942
  status?: Database["public"]["Enums"]["print_job_status"];
14188
14943
  updated_at?: string;
14944
+ verwerkingsfase?: string;
14189
14945
  volgende_poging?: string | null;
14190
14946
  voltooid_op?: string | null;
14191
14947
  };
@@ -14201,6 +14957,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14201
14957
  isOneToOne: false;
14202
14958
  referencedRelation: "document_layouts";
14203
14959
  referencedColumns: ["id"];
14960
+ }, {
14961
+ foreignKeyName: "print_jobs_lokale_pdf_print_plek_id_fkey";
14962
+ columns: ["lokale_pdf_print_plek_id"];
14963
+ isOneToOne: false;
14964
+ referencedRelation: "print_plekken";
14965
+ referencedColumns: ["id"];
14204
14966
  }, {
14205
14967
  foreignKeyName: "print_jobs_printer_id_fkey";
14206
14968
  columns: ["printer_id"];
@@ -14335,6 +15097,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14335
15097
  };
14336
15098
  Relationships: [];
14337
15099
  };
15100
+ print_queue_leases: {
15101
+ Row: {
15102
+ created_at: string;
15103
+ houder: string;
15104
+ naam: string;
15105
+ updated_at: string;
15106
+ verloopt_op: string;
15107
+ };
15108
+ Insert: {
15109
+ created_at?: string;
15110
+ houder: string;
15111
+ naam: string;
15112
+ updated_at?: string;
15113
+ verloopt_op: string;
15114
+ };
15115
+ Update: {
15116
+ created_at?: string;
15117
+ houder?: string;
15118
+ naam?: string;
15119
+ updated_at?: string;
15120
+ verloopt_op?: string;
15121
+ };
15122
+ Relationships: [];
15123
+ };
14338
15124
  print_queue_runners: {
14339
15125
  Row: {
14340
15126
  actief: boolean;
@@ -14344,7 +15130,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14344
15130
  laatst_gezien: string;
14345
15131
  laatste_fout: string | null;
14346
15132
  laatste_request_id: number | null;
15133
+ laatste_wakeup: string | null;
14347
15134
  mislukte_posts: number;
15135
+ mislukte_wakeups: number;
14348
15136
  tick_sleutel: string;
14349
15137
  updated_at: string;
14350
15138
  };
@@ -14356,7 +15144,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14356
15144
  laatst_gezien?: string;
14357
15145
  laatste_fout?: string | null;
14358
15146
  laatste_request_id?: number | null;
15147
+ laatste_wakeup?: string | null;
14359
15148
  mislukte_posts?: number;
15149
+ mislukte_wakeups?: number;
14360
15150
  tick_sleutel?: string;
14361
15151
  updated_at?: string;
14362
15152
  };
@@ -14368,7 +15158,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14368
15158
  laatst_gezien?: string;
14369
15159
  laatste_fout?: string | null;
14370
15160
  laatste_request_id?: number | null;
15161
+ laatste_wakeup?: string | null;
14371
15162
  mislukte_posts?: number;
15163
+ mislukte_wakeups?: number;
14372
15164
  tick_sleutel?: string;
14373
15165
  updated_at?: string;
14374
15166
  };
@@ -14682,6 +15474,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14682
15474
  updated_at?: string;
14683
15475
  };
14684
15476
  Relationships: [{
15477
+ foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
15478
+ columns: ["parent_product_id"];
15479
+ isOneToOne: false;
15480
+ referencedRelation: "logistics_product_dimensions";
15481
+ referencedColumns: ["product_id"];
15482
+ }, {
14685
15483
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
14686
15484
  columns: ["parent_product_id"];
14687
15485
  isOneToOne: false;
@@ -14736,11 +15534,23 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14736
15534
  updated_at?: string;
14737
15535
  };
14738
15536
  Relationships: [{
15537
+ foreignKeyName: "product_bom_items_component_product_id_fkey";
15538
+ columns: ["component_product_id"];
15539
+ isOneToOne: false;
15540
+ referencedRelation: "logistics_product_dimensions";
15541
+ referencedColumns: ["product_id"];
15542
+ }, {
14739
15543
  foreignKeyName: "product_bom_items_component_product_id_fkey";
14740
15544
  columns: ["component_product_id"];
14741
15545
  isOneToOne: false;
14742
15546
  referencedRelation: "products";
14743
15547
  referencedColumns: ["id"];
15548
+ }, {
15549
+ foreignKeyName: "product_bom_items_parent_product_id_fkey";
15550
+ columns: ["parent_product_id"];
15551
+ isOneToOne: false;
15552
+ referencedRelation: "logistics_product_dimensions";
15553
+ referencedColumns: ["product_id"];
14744
15554
  }, {
14745
15555
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
14746
15556
  columns: ["parent_product_id"];
@@ -14916,6 +15726,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14916
15726
  updated_at?: string;
14917
15727
  };
14918
15728
  Relationships: [{
15729
+ foreignKeyName: "product_groups_head_product_id_fkey";
15730
+ columns: ["head_product_id"];
15731
+ isOneToOne: false;
15732
+ referencedRelation: "logistics_product_dimensions";
15733
+ referencedColumns: ["product_id"];
15734
+ }, {
14919
15735
  foreignKeyName: "product_groups_head_product_id_fkey";
14920
15736
  columns: ["head_product_id"];
14921
15737
  isOneToOne: false;
@@ -14985,9 +15801,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14985
15801
  foreignKeyName: "product_load_settings_product_id_fkey";
14986
15802
  columns: ["product_id"];
14987
15803
  isOneToOne: false;
14988
- referencedRelation: "products";
14989
- referencedColumns: ["id"];
14990
- }];
15804
+ referencedRelation: "logistics_product_dimensions";
15805
+ referencedColumns: ["product_id"];
15806
+ }, {
15807
+ foreignKeyName: "product_load_settings_product_id_fkey";
15808
+ columns: ["product_id"];
15809
+ isOneToOne: false;
15810
+ referencedRelation: "products";
15811
+ referencedColumns: ["id"];
15812
+ }];
14991
15813
  };
14992
15814
  product_merge_log: {
14993
15815
  Row: {
@@ -15031,6 +15853,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15031
15853
  created_at: string;
15032
15854
  custom_fields: import("./types").Json;
15033
15855
  floriday_trade_item_id: string | null;
15856
+ fust_type_id: string | null;
15034
15857
  id: string;
15035
15858
  image_url: string | null;
15036
15859
  incoming_quantity: number;
@@ -15038,6 +15861,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15038
15861
  layers_per_cart: number;
15039
15862
  location: string;
15040
15863
  min_quantity: number;
15864
+ plant_height_cm: number | null;
15041
15865
  plants_per_crate: number;
15042
15866
  product: string;
15043
15867
  product_type: string;
@@ -15057,6 +15881,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15057
15881
  created_at?: string;
15058
15882
  custom_fields?: import("./types").Json;
15059
15883
  floriday_trade_item_id?: string | null;
15884
+ fust_type_id?: string | null;
15060
15885
  id?: string;
15061
15886
  image_url?: string | null;
15062
15887
  incoming_quantity?: number;
@@ -15064,6 +15889,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15064
15889
  layers_per_cart?: number;
15065
15890
  location: string;
15066
15891
  min_quantity?: number;
15892
+ plant_height_cm?: number | null;
15067
15893
  plants_per_crate?: number;
15068
15894
  product: string;
15069
15895
  product_type?: string;
@@ -15083,6 +15909,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15083
15909
  created_at?: string;
15084
15910
  custom_fields?: import("./types").Json;
15085
15911
  floriday_trade_item_id?: string | null;
15912
+ fust_type_id?: string | null;
15086
15913
  id?: string;
15087
15914
  image_url?: string | null;
15088
15915
  incoming_quantity?: number;
@@ -15090,6 +15917,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15090
15917
  layers_per_cart?: number;
15091
15918
  location?: string;
15092
15919
  min_quantity?: number;
15920
+ plant_height_cm?: number | null;
15093
15921
  plants_per_crate?: number;
15094
15922
  product?: string;
15095
15923
  product_type?: string;
@@ -15101,7 +15929,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15101
15929
  updated_at?: string;
15102
15930
  weight?: string | null;
15103
15931
  };
15104
- Relationships: [];
15932
+ Relationships: [{
15933
+ foreignKeyName: "products_fust_type_id_fkey";
15934
+ columns: ["fust_type_id"];
15935
+ isOneToOne: false;
15936
+ referencedRelation: "fust_types";
15937
+ referencedColumns: ["id"];
15938
+ }];
15105
15939
  };
15106
15940
  profile_modules: {
15107
15941
  Row: {
@@ -15435,6 +16269,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15435
16269
  quantity?: number;
15436
16270
  };
15437
16271
  Relationships: [{
16272
+ foreignKeyName: "purchase_order_items_product_id_fkey";
16273
+ columns: ["product_id"];
16274
+ isOneToOne: false;
16275
+ referencedRelation: "logistics_product_dimensions";
16276
+ referencedColumns: ["product_id"];
16277
+ }, {
15438
16278
  foreignKeyName: "purchase_order_items_product_id_fkey";
15439
16279
  columns: ["product_id"];
15440
16280
  isOneToOne: false;
@@ -15754,6 +16594,102 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15754
16594
  referencedColumns: ["id"];
15755
16595
  }];
15756
16596
  };
16597
+ scan_kar_sessie_regels: {
16598
+ Row: {
16599
+ barcode: string;
16600
+ cart_id: string | null;
16601
+ created_at: string;
16602
+ id: string;
16603
+ order_id: string | null;
16604
+ order_number: string | null;
16605
+ regels: import("./types").Json;
16606
+ sessie_id: string;
16607
+ volledig: boolean;
16608
+ };
16609
+ Insert: {
16610
+ barcode: string;
16611
+ cart_id?: string | null;
16612
+ created_at?: string;
16613
+ id?: string;
16614
+ order_id?: string | null;
16615
+ order_number?: string | null;
16616
+ regels?: import("./types").Json;
16617
+ sessie_id: string;
16618
+ volledig?: boolean;
16619
+ };
16620
+ Update: {
16621
+ barcode?: string;
16622
+ cart_id?: string | null;
16623
+ created_at?: string;
16624
+ id?: string;
16625
+ order_id?: string | null;
16626
+ order_number?: string | null;
16627
+ regels?: import("./types").Json;
16628
+ sessie_id?: string;
16629
+ volledig?: boolean;
16630
+ };
16631
+ Relationships: [{
16632
+ foreignKeyName: "scan_kar_sessie_regels_sessie_id_fkey";
16633
+ columns: ["sessie_id"];
16634
+ isOneToOne: false;
16635
+ referencedRelation: "scan_kar_sessies";
16636
+ referencedColumns: ["id"];
16637
+ }];
16638
+ };
16639
+ scan_kar_sessies: {
16640
+ Row: {
16641
+ afgerond_op: string | null;
16642
+ cart_id: string | null;
16643
+ cart_index: number | null;
16644
+ cart_total: number | null;
16645
+ created_at: string;
16646
+ id: string;
16647
+ klant_naam: string | null;
16648
+ medewerker_naam: string | null;
16649
+ order_id: string | null;
16650
+ order_number: string | null;
16651
+ scanner_id: string | null;
16652
+ status: string;
16653
+ updated_at: string;
16654
+ };
16655
+ Insert: {
16656
+ afgerond_op?: string | null;
16657
+ cart_id?: string | null;
16658
+ cart_index?: number | null;
16659
+ cart_total?: number | null;
16660
+ created_at?: string;
16661
+ id?: string;
16662
+ klant_naam?: string | null;
16663
+ medewerker_naam?: string | null;
16664
+ order_id?: string | null;
16665
+ order_number?: string | null;
16666
+ scanner_id?: string | null;
16667
+ status?: string;
16668
+ updated_at?: string;
16669
+ };
16670
+ Update: {
16671
+ afgerond_op?: string | null;
16672
+ cart_id?: string | null;
16673
+ cart_index?: number | null;
16674
+ cart_total?: number | null;
16675
+ created_at?: string;
16676
+ id?: string;
16677
+ klant_naam?: string | null;
16678
+ medewerker_naam?: string | null;
16679
+ order_id?: string | null;
16680
+ order_number?: string | null;
16681
+ scanner_id?: string | null;
16682
+ status?: string;
16683
+ updated_at?: string;
16684
+ };
16685
+ Relationships: [{
16686
+ foreignKeyName: "scan_kar_sessies_scanner_id_fkey";
16687
+ columns: ["scanner_id"];
16688
+ isOneToOne: false;
16689
+ referencedRelation: "scan_scanners";
16690
+ referencedColumns: ["id"];
16691
+ }];
16692
+ };
15757
16693
  scan_karren: {
15758
16694
  Row: {
15759
16695
  afgerond_op: string | null;
@@ -15958,6 +16894,60 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15958
16894
  };
15959
16895
  Relationships: [];
15960
16896
  };
16897
+ scan_restpakbonnen: {
16898
+ Row: {
16899
+ barcode: string;
16900
+ bron_barcode: string | null;
16901
+ cart_id: string | null;
16902
+ cart_index: number | null;
16903
+ cart_total: number | null;
16904
+ created_at: string;
16905
+ geprint_op: string | null;
16906
+ id: string;
16907
+ klant_naam: string | null;
16908
+ order_id: string | null;
16909
+ order_number: string | null;
16910
+ print_job_id: string | null;
16911
+ regels: import("./types").Json;
16912
+ updated_at: string;
16913
+ verwerkt: boolean;
16914
+ };
16915
+ Insert: {
16916
+ barcode: string;
16917
+ bron_barcode?: string | null;
16918
+ cart_id?: string | null;
16919
+ cart_index?: number | null;
16920
+ cart_total?: number | null;
16921
+ created_at?: string;
16922
+ geprint_op?: string | null;
16923
+ id?: string;
16924
+ klant_naam?: string | null;
16925
+ order_id?: string | null;
16926
+ order_number?: string | null;
16927
+ print_job_id?: string | null;
16928
+ regels?: import("./types").Json;
16929
+ updated_at?: string;
16930
+ verwerkt?: boolean;
16931
+ };
16932
+ Update: {
16933
+ barcode?: string;
16934
+ bron_barcode?: string | null;
16935
+ cart_id?: string | null;
16936
+ cart_index?: number | null;
16937
+ cart_total?: number | null;
16938
+ created_at?: string;
16939
+ geprint_op?: string | null;
16940
+ id?: string;
16941
+ klant_naam?: string | null;
16942
+ order_id?: string | null;
16943
+ order_number?: string | null;
16944
+ print_job_id?: string | null;
16945
+ regels?: import("./types").Json;
16946
+ updated_at?: string;
16947
+ verwerkt?: boolean;
16948
+ };
16949
+ Relationships: [];
16950
+ };
15961
16951
  scan_scanners: {
15962
16952
  Row: {
15963
16953
  actief: boolean;
@@ -15967,6 +16957,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15967
16957
  naam: string;
15968
16958
  omschrijving: string | null;
15969
16959
  pincode: string | null;
16960
+ printer_id: string | null;
15970
16961
  slug: string;
15971
16962
  type: string;
15972
16963
  updated_at: string;
@@ -15981,6 +16972,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15981
16972
  naam: string;
15982
16973
  omschrijving?: string | null;
15983
16974
  pincode?: string | null;
16975
+ printer_id?: string | null;
15984
16976
  slug: string;
15985
16977
  type?: string;
15986
16978
  updated_at?: string;
@@ -15995,6 +16987,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15995
16987
  naam?: string;
15996
16988
  omschrijving?: string | null;
15997
16989
  pincode?: string | null;
16990
+ printer_id?: string | null;
15998
16991
  slug?: string;
15999
16992
  type?: string;
16000
16993
  updated_at?: string;
@@ -16003,6 +16996,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16003
16996
  };
16004
16997
  Relationships: [];
16005
16998
  };
16999
+ shell_settings: {
17000
+ Row: {
17001
+ created_at: string;
17002
+ default_path: string | null;
17003
+ shell_id: string;
17004
+ updated_at: string;
17005
+ };
17006
+ Insert: {
17007
+ created_at?: string;
17008
+ default_path?: string | null;
17009
+ shell_id: string;
17010
+ updated_at?: string;
17011
+ };
17012
+ Update: {
17013
+ created_at?: string;
17014
+ default_path?: string | null;
17015
+ shell_id?: string;
17016
+ updated_at?: string;
17017
+ };
17018
+ Relationships: [];
17019
+ };
16006
17020
  sick_periods: {
16007
17021
  Row: {
16008
17022
  created_at: string;
@@ -16622,6 +17636,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16622
17636
  isOneToOne: false;
16623
17637
  referencedRelation: "werkbonnen";
16624
17638
  referencedColumns: ["id"];
17639
+ }, {
17640
+ foreignKeyName: "time_logs_work_order_id_fkey";
17641
+ columns: ["work_order_id"];
17642
+ isOneToOne: false;
17643
+ referencedRelation: "wo_overview";
17644
+ referencedColumns: ["id"];
16625
17645
  }];
16626
17646
  };
16627
17647
  time_off_entries: {
@@ -17915,6 +18935,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
17915
18935
  isOneToOne: false;
17916
18936
  referencedRelation: "werkbonnen";
17917
18937
  referencedColumns: ["id"];
18938
+ }, {
18939
+ foreignKeyName: "uren_entries_werkbon_id_fkey";
18940
+ columns: ["werkbon_id"];
18941
+ isOneToOne: false;
18942
+ referencedRelation: "wo_overview";
18943
+ referencedColumns: ["id"];
17918
18944
  }];
17919
18945
  };
17920
18946
  uren_exports: {
@@ -18638,6 +19664,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18638
19664
  isOneToOne: true;
18639
19665
  referencedRelation: "werkbonnen";
18640
19666
  referencedColumns: ["id"];
19667
+ }, {
19668
+ foreignKeyName: "werkbon_facturatie_controle_werkbon_id_fkey";
19669
+ columns: ["werkbon_id"];
19670
+ isOneToOne: true;
19671
+ referencedRelation: "wo_overview";
19672
+ referencedColumns: ["id"];
18641
19673
  }];
18642
19674
  };
18643
19675
  werkbon_facturatie_settings: {
@@ -18725,6 +19757,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18725
19757
  isOneToOne: false;
18726
19758
  referencedRelation: "werkbonnen";
18727
19759
  referencedColumns: ["id"];
19760
+ }, {
19761
+ foreignKeyName: "werkbon_materials_werkbon_id_fkey";
19762
+ columns: ["werkbon_id"];
19763
+ isOneToOne: false;
19764
+ referencedRelation: "wo_overview";
19765
+ referencedColumns: ["id"];
18728
19766
  }];
18729
19767
  };
18730
19768
  werkbon_package_ai_rules: {
@@ -18908,6 +19946,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18908
19946
  isOneToOne: false;
18909
19947
  referencedRelation: "werkbonnen";
18910
19948
  referencedColumns: ["id"];
19949
+ }, {
19950
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
19951
+ columns: ["werkbon_id"];
19952
+ isOneToOne: false;
19953
+ referencedRelation: "wo_overview";
19954
+ referencedColumns: ["id"];
18911
19955
  }];
18912
19956
  };
18913
19957
  werkbon_packages: {
@@ -18998,6 +20042,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18998
20042
  isOneToOne: false;
18999
20043
  referencedRelation: "werkbonnen";
19000
20044
  referencedColumns: ["id"];
20045
+ }, {
20046
+ foreignKeyName: "werkbon_photos_werkbon_id_fkey";
20047
+ columns: ["werkbon_id"];
20048
+ isOneToOne: false;
20049
+ referencedRelation: "wo_overview";
20050
+ referencedColumns: ["id"];
19001
20051
  }];
19002
20052
  };
19003
20053
  werkbon_time_logs: {
@@ -19037,6 +20087,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19037
20087
  isOneToOne: false;
19038
20088
  referencedRelation: "werkbonnen";
19039
20089
  referencedColumns: ["id"];
20090
+ }, {
20091
+ foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
20092
+ columns: ["werkbon_id"];
20093
+ isOneToOne: false;
20094
+ referencedRelation: "wo_overview";
20095
+ referencedColumns: ["id"];
19040
20096
  }];
19041
20097
  };
19042
20098
  werkbonnen: {
@@ -19160,6 +20216,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19160
20216
  isOneToOne: false;
19161
20217
  referencedRelation: "werkbonnen";
19162
20218
  referencedColumns: ["id"];
20219
+ }, {
20220
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
20221
+ columns: ["parent_werkbon_id"];
20222
+ isOneToOne: false;
20223
+ referencedRelation: "wo_overview";
20224
+ referencedColumns: ["id"];
19163
20225
  }, {
19164
20226
  foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
19165
20227
  columns: ["source_mailbox_message_id"];
@@ -19628,6 +20690,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19628
20690
  };
19629
20691
  Relationships: [];
19630
20692
  };
20693
+ logistics_product_dimensions: {
20694
+ Row: {
20695
+ dimension_source: string | null;
20696
+ fust_height_mm: number | null;
20697
+ fust_length_mm: number | null;
20698
+ fust_name: string | null;
20699
+ fust_source: string | null;
20700
+ fust_type_id: string | null;
20701
+ fust_width_mm: number | null;
20702
+ height_source: string | null;
20703
+ missing_reason: string | null;
20704
+ plant_height_cm: number | null;
20705
+ plants_per_crate: number | null;
20706
+ product_id: string | null;
20707
+ product_name: string | null;
20708
+ };
20709
+ Relationships: [];
20710
+ };
19631
20711
  manufacture_product_possible_stock_view: {
19632
20712
  Row: {
19633
20713
  component_count: number | null;
@@ -19665,6 +20745,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19665
20745
  isOneToOne: false;
19666
20746
  referencedRelation: "werkbonnen";
19667
20747
  referencedColumns: ["id"];
20748
+ }, {
20749
+ foreignKeyName: "planning_items_werkbon_id_fkey";
20750
+ columns: ["werkbon_id"];
20751
+ isOneToOne: false;
20752
+ referencedRelation: "wo_overview";
20753
+ referencedColumns: ["id"];
19668
20754
  }];
19669
20755
  };
19670
20756
  product_group_stock_view: {
@@ -20126,6 +21212,81 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20126
21212
  isOneToOne: false;
20127
21213
  referencedRelation: "werkbonnen";
20128
21214
  referencedColumns: ["id"];
21215
+ }, {
21216
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
21217
+ columns: ["werkbon_id"];
21218
+ isOneToOne: false;
21219
+ referencedRelation: "wo_overview";
21220
+ referencedColumns: ["id"];
21221
+ }];
21222
+ };
21223
+ wo_overview: {
21224
+ Row: {
21225
+ assigned_user_id: string | null;
21226
+ budget_mandate_cents: number | null;
21227
+ created_at: string | null;
21228
+ customer_id: string | null;
21229
+ id: string | null;
21230
+ needs_detail_review: boolean | null;
21231
+ number: string | null;
21232
+ parent_werkbon_id: string | null;
21233
+ planning_status: string | null;
21234
+ scheduled_end_time: string | null;
21235
+ scheduled_start_time: string | null;
21236
+ source_type: string | null;
21237
+ status: string | null;
21238
+ technician_id: string | null;
21239
+ updated_at: string | null;
21240
+ work_address: string | null;
21241
+ };
21242
+ Insert: {
21243
+ assigned_user_id?: string | null;
21244
+ budget_mandate_cents?: number | null;
21245
+ created_at?: string | null;
21246
+ customer_id?: string | null;
21247
+ id?: string | null;
21248
+ needs_detail_review?: boolean | null;
21249
+ number?: string | null;
21250
+ parent_werkbon_id?: string | null;
21251
+ planning_status?: string | null;
21252
+ scheduled_end_time?: string | null;
21253
+ scheduled_start_time?: string | null;
21254
+ source_type?: string | null;
21255
+ status?: string | null;
21256
+ technician_id?: string | null;
21257
+ updated_at?: string | null;
21258
+ work_address?: string | null;
21259
+ };
21260
+ Update: {
21261
+ assigned_user_id?: string | null;
21262
+ budget_mandate_cents?: number | null;
21263
+ created_at?: string | null;
21264
+ customer_id?: string | null;
21265
+ id?: string | null;
21266
+ needs_detail_review?: boolean | null;
21267
+ number?: string | null;
21268
+ parent_werkbon_id?: string | null;
21269
+ planning_status?: string | null;
21270
+ scheduled_end_time?: string | null;
21271
+ scheduled_start_time?: string | null;
21272
+ source_type?: string | null;
21273
+ status?: string | null;
21274
+ technician_id?: string | null;
21275
+ updated_at?: string | null;
21276
+ work_address?: string | null;
21277
+ };
21278
+ Relationships: [{
21279
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21280
+ columns: ["parent_werkbon_id"];
21281
+ isOneToOne: false;
21282
+ referencedRelation: "werkbonnen";
21283
+ referencedColumns: ["id"];
21284
+ }, {
21285
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21286
+ columns: ["parent_werkbon_id"];
21287
+ isOneToOne: false;
21288
+ referencedRelation: "wo_overview";
21289
+ referencedColumns: ["id"];
20129
21290
  }];
20130
21291
  };
20131
21292
  };
@@ -20317,12 +21478,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20317
21478
  _max?: number;
20318
21479
  };
20319
21480
  Returns: {
21481
+ aflever_pogingen: number;
20320
21482
  agent_id: string | null;
21483
+ artefact_bytes: number | null;
21484
+ artefact_gereed_op: string | null;
21485
+ artefact_pad: string | null;
21486
+ artefact_sha256: string | null;
21487
+ batch_id: string | null;
20321
21488
  bron_job_id: string | null;
20322
21489
  created_at: string;
20323
21490
  documentnaam: string;
20324
21491
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20325
21492
  extern_job_id: string | null;
21493
+ fase_gestart_op: string | null;
21494
+ fase_voltooid_op: string | null;
21495
+ foutcode: string | null;
20326
21496
  foutmelding: string | null;
20327
21497
  gebruiker_id: string | null;
20328
21498
  gebruiker_naam: string;
@@ -20336,7 +21506,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20336
21506
  kopieen: number;
20337
21507
  layout_id: string | null;
20338
21508
  lokaal_opgeslagen_op: string | null;
21509
+ lokale_pdf_claim_id: string | null;
21510
+ lokale_pdf_claim_tot: string | null;
20339
21511
  lokale_pdf_fout: string | null;
21512
+ lokale_pdf_print_plek_id: string | null;
20340
21513
  lokale_pdf_status: string | null;
20341
21514
  opgepakt_op: string | null;
20342
21515
  paginas: number;
@@ -20349,6 +21522,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20349
21522
  resultaat_pdf_base64: string | null;
20350
21523
  status: Database["public"]["Enums"]["print_job_status"];
20351
21524
  updated_at: string;
21525
+ verwerkingsfase: string;
20352
21526
  volgende_poging: string | null;
20353
21527
  voltooid_op: string | null;
20354
21528
  }[];
@@ -20395,6 +21569,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20395
21569
  isSetofReturn: true;
20396
21570
  };
20397
21571
  };
21572
+ claim_local_pdf_jobs: {
21573
+ Args: {
21574
+ _max?: number;
21575
+ _print_plek_id: string;
21576
+ _writer_id: string;
21577
+ };
21578
+ Returns: {
21579
+ artefact_bytes: number;
21580
+ artefact_pad: string;
21581
+ artefact_sha256: string;
21582
+ documentnaam: string;
21583
+ id: string;
21584
+ lokale_pdf_print_plek_id: string;
21585
+ lokale_pdf_status: string;
21586
+ printer_id: string;
21587
+ resultaat_pdf_base64: string;
21588
+ status: string;
21589
+ }[];
21590
+ };
20398
21591
  claim_logistics_tasks: {
20399
21592
  Args: {
20400
21593
  _limit?: number;
@@ -20448,12 +21641,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20448
21641
  _max?: number;
20449
21642
  };
20450
21643
  Returns: {
21644
+ aflever_pogingen: number;
20451
21645
  agent_id: string | null;
21646
+ artefact_bytes: number | null;
21647
+ artefact_gereed_op: string | null;
21648
+ artefact_pad: string | null;
21649
+ artefact_sha256: string | null;
21650
+ batch_id: string | null;
20452
21651
  bron_job_id: string | null;
20453
21652
  created_at: string;
20454
21653
  documentnaam: string;
20455
21654
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20456
21655
  extern_job_id: string | null;
21656
+ fase_gestart_op: string | null;
21657
+ fase_voltooid_op: string | null;
21658
+ foutcode: string | null;
20457
21659
  foutmelding: string | null;
20458
21660
  gebruiker_id: string | null;
20459
21661
  gebruiker_naam: string;
@@ -20467,7 +21669,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20467
21669
  kopieen: number;
20468
21670
  layout_id: string | null;
20469
21671
  lokaal_opgeslagen_op: string | null;
21672
+ lokale_pdf_claim_id: string | null;
21673
+ lokale_pdf_claim_tot: string | null;
20470
21674
  lokale_pdf_fout: string | null;
21675
+ lokale_pdf_print_plek_id: string | null;
20471
21676
  lokale_pdf_status: string | null;
20472
21677
  opgepakt_op: string | null;
20473
21678
  paginas: number;
@@ -20480,6 +21685,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20480
21685
  resultaat_pdf_base64: string | null;
20481
21686
  status: Database["public"]["Enums"]["print_job_status"];
20482
21687
  updated_at: string;
21688
+ verwerkingsfase: string;
20483
21689
  volgende_poging: string | null;
20484
21690
  voltooid_op: string | null;
20485
21691
  }[];
@@ -20496,12 +21702,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20496
21702
  _max?: number;
20497
21703
  };
20498
21704
  Returns: {
21705
+ aflever_pogingen: number;
20499
21706
  agent_id: string | null;
21707
+ artefact_bytes: number | null;
21708
+ artefact_gereed_op: string | null;
21709
+ artefact_pad: string | null;
21710
+ artefact_sha256: string | null;
21711
+ batch_id: string | null;
20500
21712
  bron_job_id: string | null;
20501
21713
  created_at: string;
20502
21714
  documentnaam: string;
20503
21715
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20504
21716
  extern_job_id: string | null;
21717
+ fase_gestart_op: string | null;
21718
+ fase_voltooid_op: string | null;
21719
+ foutcode: string | null;
20505
21720
  foutmelding: string | null;
20506
21721
  gebruiker_id: string | null;
20507
21722
  gebruiker_naam: string;
@@ -20515,7 +21730,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20515
21730
  kopieen: number;
20516
21731
  layout_id: string | null;
20517
21732
  lokaal_opgeslagen_op: string | null;
21733
+ lokale_pdf_claim_id: string | null;
21734
+ lokale_pdf_claim_tot: string | null;
20518
21735
  lokale_pdf_fout: string | null;
21736
+ lokale_pdf_print_plek_id: string | null;
20519
21737
  lokale_pdf_status: string | null;
20520
21738
  opgepakt_op: string | null;
20521
21739
  paginas: number;
@@ -20528,6 +21746,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20528
21746
  resultaat_pdf_base64: string | null;
20529
21747
  status: Database["public"]["Enums"]["print_job_status"];
20530
21748
  updated_at: string;
21749
+ verwerkingsfase: string;
20531
21750
  volgende_poging: string | null;
20532
21751
  voltooid_op: string | null;
20533
21752
  }[];
@@ -20538,7 +21757,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20538
21757
  isSetofReturn: true;
20539
21758
  };
20540
21759
  };
20541
- claim_twinfield_push_batch: {
21760
+ claim_print_queue_lease: {
21761
+ Args: {
21762
+ _houder: string;
21763
+ _naam: string;
21764
+ _seconden?: number;
21765
+ };
21766
+ Returns: boolean;
21767
+ };
21768
+ claim_twinfield_push_batch: {
20542
21769
  Args: {
20543
21770
  _customer_id?: string;
20544
21771
  _limit?: number;
@@ -20663,7 +21890,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20663
21890
  cart_index: number;
20664
21891
  cart_number: string;
20665
21892
  cart_number_id: string;
21893
+ cart_seq: number;
21894
+ cart_total: number;
20666
21895
  order_id: string;
21896
+ order_number: string;
20667
21897
  order_source: string;
20668
21898
  pick_date: string;
20669
21899
  printed_at: string;
@@ -20671,6 +21901,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20671
21901
  status: string;
20672
21902
  }[];
20673
21903
  };
21904
+ control_mark_carts_delivered: {
21905
+ Args: {
21906
+ p_carts: import("./types").Json;
21907
+ };
21908
+ Returns: number;
21909
+ };
20674
21910
  count_distinct_regulatory_products: {
20675
21911
  Args: never;
20676
21912
  Returns: number;
@@ -20798,6 +22034,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20798
22034
  };
20799
22035
  Returns: undefined;
20800
22036
  };
22037
+ ensure_system_roles: {
22038
+ Args: never;
22039
+ Returns: {
22040
+ action: string;
22041
+ role_key: string;
22042
+ }[];
22043
+ };
20801
22044
  ensure_trade_item_stock_row: {
20802
22045
  Args: {
20803
22046
  p_key: string;
@@ -20864,6 +22107,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20864
22107
  };
20865
22108
  Returns: string;
20866
22109
  };
22110
+ finish_local_pdf_job: {
22111
+ Args: {
22112
+ _fout?: string;
22113
+ _job_id: string;
22114
+ _status: string;
22115
+ _writer_id: string;
22116
+ };
22117
+ Returns: boolean;
22118
+ };
20867
22119
  floriday_capture_stock_snapshot: {
20868
22120
  Args: never;
20869
22121
  Returns: number;
@@ -21143,6 +22395,36 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21143
22395
  Args: never;
21144
22396
  Returns: string;
21145
22397
  };
22398
+ handover_archief_lijst: {
22399
+ Args: never;
22400
+ Returns: import("./types").Json;
22401
+ };
22402
+ handover_archiveren: {
22403
+ Args: {
22404
+ _archief?: boolean;
22405
+ _module_id: string;
22406
+ };
22407
+ Returns: boolean;
22408
+ };
22409
+ handover_check_afronden: {
22410
+ Args: {
22411
+ _module_id: string;
22412
+ };
22413
+ Returns: boolean;
22414
+ };
22415
+ handover_check_markeren: {
22416
+ Args: {
22417
+ _module_ids: string[];
22418
+ _reden?: string;
22419
+ };
22420
+ Returns: number;
22421
+ };
22422
+ handover_fingerprint_maken: {
22423
+ Args: {
22424
+ _module_id?: string;
22425
+ };
22426
+ Returns: import("./types").Json;
22427
+ };
21146
22428
  handover_get: {
21147
22429
  Args: {
21148
22430
  _module_id: string;
@@ -21173,6 +22455,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21173
22455
  };
21174
22456
  Returns: boolean;
21175
22457
  };
22458
+ handover_module_meta_zetten: {
22459
+ Args: {
22460
+ _module_id: string;
22461
+ _project_url?: string;
22462
+ _publicatie_url?: string;
22463
+ };
22464
+ Returns: boolean;
22465
+ };
21176
22466
  handover_norm_naam: {
21177
22467
  Args: {
21178
22468
  _naam: string;
@@ -21193,6 +22483,23 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21193
22483
  };
21194
22484
  Returns: number;
21195
22485
  };
22486
+ handover_publish_uit_github: {
22487
+ Args: {
22488
+ _bezit_tabellen?: string[];
22489
+ _bron_soort?: string;
22490
+ _commit?: string;
22491
+ _contractfuncties?: string[];
22492
+ _inhoud_md: string;
22493
+ _module_id: string;
22494
+ _module_titel: string;
22495
+ _ontbrekende_contracten?: string[];
22496
+ _pad?: string;
22497
+ _repo?: string;
22498
+ _samenvatting?: string;
22499
+ _versie_label?: string;
22500
+ };
22501
+ Returns: import("./types").Json;
22502
+ };
21196
22503
  handover_publish_via_token: {
21197
22504
  Args: {
21198
22505
  _bevindingen?: string;
@@ -21206,7 +22513,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21206
22513
  _samenvatting?: string;
21207
22514
  _token_hash: string;
21208
22515
  };
21209
- Returns: number;
22516
+ Returns: import("./types").Json;
21210
22517
  };
21211
22518
  handover_status: {
21212
22519
  Args: never;
@@ -21218,23 +22525,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21218
22525
  };
21219
22526
  Returns: string;
21220
22527
  };
21221
- handover_token_intrekken: {
21222
- Args: {
21223
- _id: string;
21224
- };
21225
- Returns: boolean;
21226
- };
21227
- handover_token_lijst: {
21228
- Args: never;
21229
- Returns: import("./types").Json;
21230
- };
21231
- handover_token_maken: {
21232
- Args: {
21233
- _label?: string;
21234
- _module_id: string;
21235
- };
21236
- Returns: string;
21237
- };
21238
22528
  handover_update: {
21239
22529
  Args: {
21240
22530
  _bezit_tabellen?: string[];
@@ -21262,12 +22552,31 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21262
22552
  };
21263
22553
  Returns: boolean;
21264
22554
  };
22555
+ handover_versie_verwijderen: {
22556
+ Args: {
22557
+ _module_id: string;
22558
+ _versie: number;
22559
+ };
22560
+ Returns: boolean;
22561
+ };
21265
22562
  handover_versies: {
21266
22563
  Args: {
21267
22564
  _module_id: string;
21268
22565
  };
21269
22566
  Returns: import("./types").Json;
21270
22567
  };
22568
+ handover_verwijderen: {
22569
+ Args: {
22570
+ _module_id: string;
22571
+ };
22572
+ Returns: boolean;
22573
+ };
22574
+ handover_wijzigingen: {
22575
+ Args: {
22576
+ _module_id?: string;
22577
+ };
22578
+ Returns: import("./types").Json;
22579
+ };
21271
22580
  has_module_permission: {
21272
22581
  Args: {
21273
22582
  _min: string;
@@ -21530,6 +22839,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21530
22839
  };
21531
22840
  Returns: boolean;
21532
22841
  };
22842
+ logistics_barcode_lookup: {
22843
+ Args: {
22844
+ p_barcode: string;
22845
+ };
22846
+ Returns: import("./types").Json;
22847
+ };
21533
22848
  logistics_buffer_criteria: {
21534
22849
  Args: {
21535
22850
  p_settings: import("./types").Json;
@@ -21590,6 +22905,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21590
22905
  };
21591
22906
  Returns: number;
21592
22907
  };
22908
+ logistics_cart_barcode_value: {
22909
+ Args: {
22910
+ _cart_id: string;
22911
+ };
22912
+ Returns: string;
22913
+ };
22914
+ logistics_cart_handled: {
22915
+ Args: {
22916
+ p_cart_index: number;
22917
+ p_order_id: string;
22918
+ };
22919
+ Returns: boolean;
22920
+ };
21593
22921
  logistics_cart_index: {
21594
22922
  Args: {
21595
22923
  p_from?: string;
@@ -21599,6 +22927,63 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21599
22927
  cart_id: string;
21600
22928
  cart_index: number;
21601
22929
  cart_label: string;
22930
+ cart_number: string;
22931
+ cart_seq: number;
22932
+ cart_total: number;
22933
+ delivery_date: string;
22934
+ is_announced: boolean;
22935
+ is_controlled: boolean;
22936
+ is_printed: boolean;
22937
+ is_shared: boolean;
22938
+ order_number: string;
22939
+ order_source: string;
22940
+ order_uuid: string;
22941
+ pick_date: string;
22942
+ printed_at: string;
22943
+ shifted: boolean;
22944
+ task_status: string;
22945
+ }[];
22946
+ };
22947
+ logistics_cart_layout_method: {
22948
+ Args: never;
22949
+ Returns: import("./types").Json;
22950
+ };
22951
+ logistics_cart_seq: {
22952
+ Args: {
22953
+ p_order_uuid?: string;
22954
+ };
22955
+ Returns: {
22956
+ cart_id: string;
22957
+ cart_index: number;
22958
+ cart_number: string;
22959
+ cart_seq: number;
22960
+ cart_total: number;
22961
+ order_uuid: string;
22962
+ }[];
22963
+ };
22964
+ logistics_cart_slip_plan: {
22965
+ Args: {
22966
+ p_order_id: string;
22967
+ };
22968
+ Returns: import("./types").Json;
22969
+ };
22970
+ logistics_cart_units: {
22971
+ Args: {
22972
+ p_from?: string;
22973
+ p_to?: string;
22974
+ };
22975
+ Returns: {
22976
+ cart_id: string;
22977
+ cart_index: number;
22978
+ cart_label: string;
22979
+ cart_number: string;
22980
+ cart_seq: number;
22981
+ cart_total: number;
22982
+ delivery_date: string;
22983
+ is_announced: boolean;
22984
+ is_buffer: boolean;
22985
+ is_controlled: boolean;
22986
+ is_printed: boolean;
21602
22987
  is_shared: boolean;
21603
22988
  order_number: string;
21604
22989
  order_source: string;
@@ -21607,6 +22992,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21607
22992
  printed_at: string;
21608
22993
  shifted: boolean;
21609
22994
  task_status: string;
22995
+ unit_buffer: string;
22996
+ unit_order_count: number;
22997
+ unit_orders: string[];
22998
+ unit_ref: string;
21610
22999
  }[];
21611
23000
  };
21612
23001
  logistics_check_order_allowed: {
@@ -21761,12 +23150,97 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21761
23150
  Args: never;
21762
23151
  Returns: {
21763
23152
  agenda_carts: number;
23153
+ announced_carts: number;
21764
23154
  control_carts: number;
23155
+ delivery_carts: number;
23156
+ duplicate_carts: number;
21765
23157
  ok: boolean;
23158
+ orphan_carts: number;
21766
23159
  orphan_tasks: number;
21767
23160
  pick_date: string;
21768
23161
  raw_carts: number;
23162
+ sales_carts: number;
23163
+ station_carts: number;
23164
+ }[];
23165
+ };
23166
+ logistics_control_scan_approve: {
23167
+ Args: {
23168
+ p_allow_reprint?: boolean;
23169
+ p_barcode: string;
23170
+ p_printer_id?: string;
23171
+ p_scanner_id?: string;
23172
+ };
23173
+ Returns: import("./types").Json;
23174
+ };
23175
+ logistics_control_scan_claim: {
23176
+ Args: {
23177
+ _lease_seconds?: number;
23178
+ _limit?: number;
23179
+ };
23180
+ Returns: {
23181
+ approved_at: string | null;
23182
+ attempts: number;
23183
+ barcode: string;
23184
+ cart_id: string;
23185
+ created_at: string;
23186
+ document_url: string | null;
23187
+ error: string | null;
23188
+ error_code: string | null;
23189
+ fulfillment_order_id: string | null;
23190
+ id: string;
23191
+ is_floriday: boolean;
23192
+ locked_until: string | null;
23193
+ order_id: string | null;
23194
+ order_number: string | null;
23195
+ print_job_id: string | null;
23196
+ printed_at: string | null;
23197
+ printer_id: string | null;
23198
+ scanner_id: string | null;
23199
+ status: string;
23200
+ updated_at: string;
21769
23201
  }[];
23202
+ SetofOptions: {
23203
+ from: "*";
23204
+ to: "logistics_control_scan";
23205
+ isOneToOne: false;
23206
+ isSetofReturn: true;
23207
+ };
23208
+ };
23209
+ logistics_control_scan_finish: {
23210
+ Args: {
23211
+ _document_url?: string;
23212
+ _error?: string;
23213
+ _error_code?: string;
23214
+ _fulfillment_order_id?: string;
23215
+ _id: string;
23216
+ _ok: boolean;
23217
+ _print_job_id?: string;
23218
+ _status?: string;
23219
+ };
23220
+ Returns: import("./types").Json;
23221
+ };
23222
+ logistics_control_scan_lookup: {
23223
+ Args: {
23224
+ p_barcode: string;
23225
+ };
23226
+ Returns: import("./types").Json;
23227
+ };
23228
+ logistics_control_scan_overview: {
23229
+ Args: {
23230
+ _date?: string;
23231
+ _scanner_id?: string;
23232
+ };
23233
+ Returns: import("./types").Json;
23234
+ };
23235
+ logistics_control_scan_retry: {
23236
+ Args: {
23237
+ _id: string;
23238
+ };
23239
+ Returns: import("./types").Json;
23240
+ };
23241
+ logistics_control_settings: {
23242
+ Args: never;
23243
+ Returns: import("./types").Json;
21770
23244
  };
21771
23245
  logistics_delay_customer_email: {
21772
23246
  Args: {
@@ -21781,12 +23255,35 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21781
23255
  subject: string;
21782
23256
  }[];
21783
23257
  };
23258
+ logistics_delivery_agenda: {
23259
+ Args: {
23260
+ p_from?: string;
23261
+ p_to?: string;
23262
+ };
23263
+ Returns: {
23264
+ announced_count: number;
23265
+ cart_count: number;
23266
+ controlled_count: number;
23267
+ delivery_date: string;
23268
+ order_count: number;
23269
+ orders: import("./types").Json;
23270
+ plant_count: number;
23271
+ printed_count: number;
23272
+ }[];
23273
+ };
21784
23274
  logistics_document_layout: {
21785
23275
  Args: {
21786
23276
  _document_code: string;
21787
23277
  };
21788
23278
  Returns: import("./types").Json;
21789
23279
  };
23280
+ logistics_document_layout_v2: {
23281
+ Args: {
23282
+ _document_code: string;
23283
+ _is_partial?: boolean;
23284
+ };
23285
+ Returns: import("./types").Json;
23286
+ };
21790
23287
  logistics_document_station: {
21791
23288
  Args: {
21792
23289
  _document_code: string;
@@ -21812,6 +23309,23 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21812
23309
  };
21813
23310
  Returns: import("./types").Json;
21814
23311
  };
23312
+ logistics_enqueue_sticker_with_slip: {
23313
+ Args: {
23314
+ _cart_id: string;
23315
+ _is_herprint: boolean;
23316
+ _printer_id: string;
23317
+ _queue_item_id: string;
23318
+ _session_id: string;
23319
+ _slip_job_id: string;
23320
+ };
23321
+ Returns: string;
23322
+ };
23323
+ logistics_ensure_cart_barcode: {
23324
+ Args: {
23325
+ _cart_id: string;
23326
+ };
23327
+ Returns: string;
23328
+ };
21815
23329
  logistics_fail_task: {
21816
23330
  Args: {
21817
23331
  p_error: string;
@@ -21947,6 +23461,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21947
23461
  };
21948
23462
  Returns: string;
21949
23463
  };
23464
+ logistics_fulfill_barcode_requests: {
23465
+ Args: {
23466
+ p_limit?: number;
23467
+ };
23468
+ Returns: import("./types").Json;
23469
+ };
23470
+ logistics_full_cart_min_layers: {
23471
+ Args: never;
23472
+ Returns: number;
23473
+ };
23474
+ logistics_full_cart_min_percentage: {
23475
+ Args: never;
23476
+ Returns: number;
23477
+ };
23478
+ logistics_is_pick_workday: {
23479
+ Args: {
23480
+ p_date: string;
23481
+ };
23482
+ Returns: boolean;
23483
+ };
21950
23484
  logistics_live_carriers: {
21951
23485
  Args: {
21952
23486
  p_order_ref: string;
@@ -21959,18 +23493,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21959
23493
  };
21960
23494
  Returns: number;
21961
23495
  };
21962
- logistics_not_past: {
23496
+ logistics_next_workday_date: {
21963
23497
  Args: {
21964
- p_ts: string;
23498
+ p_date: string;
23499
+ p_days?: string[];
21965
23500
  };
21966
23501
  Returns: string;
21967
23502
  };
21968
- logistics_order_cart_count: {
23503
+ logistics_next_workday_not_past: {
21969
23504
  Args: {
21970
- p_order_ref: string;
21971
- };
23505
+ p_days: string[];
23506
+ p_ts: string;
23507
+ };
23508
+ Returns: string;
23509
+ };
23510
+ logistics_not_past: {
23511
+ Args: {
23512
+ p_ts: string;
23513
+ };
23514
+ Returns: string;
23515
+ };
23516
+ logistics_order_cart_count: {
23517
+ Args: {
23518
+ p_order_ref: string;
23519
+ };
21972
23520
  Returns: number;
21973
23521
  };
23522
+ logistics_order_handled: {
23523
+ Args: {
23524
+ p_order_uuid: string;
23525
+ };
23526
+ Returns: boolean;
23527
+ };
23528
+ logistics_order_is_topick: {
23529
+ Args: {
23530
+ p_order_id: string;
23531
+ p_order_number: string;
23532
+ };
23533
+ Returns: boolean;
23534
+ };
21974
23535
  logistics_order_overview: {
21975
23536
  Args: {
21976
23537
  p_from?: string;
@@ -21996,6 +23557,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21996
23557
  };
21997
23558
  Returns: string;
21998
23559
  };
23560
+ logistics_order_released: {
23561
+ Args: {
23562
+ p_order_ref: string;
23563
+ };
23564
+ Returns: boolean;
23565
+ };
21999
23566
  logistics_parse_pickup: {
22000
23567
  Args: {
22001
23568
  p_value: string;
@@ -22018,10 +23585,37 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22018
23585
  shifted_count: number;
22019
23586
  }[];
22020
23587
  };
23588
+ logistics_pick_barcode_enabled: {
23589
+ Args: never;
23590
+ Returns: boolean;
23591
+ };
22021
23592
  logistics_pick_email_purpose: {
22022
23593
  Args: never;
22023
23594
  Returns: string;
22024
23595
  };
23596
+ logistics_pick_mode: {
23597
+ Args: never;
23598
+ Returns: import("./types").Json;
23599
+ };
23600
+ logistics_pick_start_estimate: {
23601
+ Args: {
23602
+ p_order: import("./types").Json;
23603
+ s: import("./types").Json;
23604
+ };
23605
+ Returns: string;
23606
+ };
23607
+ logistics_pick_units: {
23608
+ Args: never;
23609
+ Returns: {
23610
+ is_buffer: boolean;
23611
+ order_number: string;
23612
+ order_uuid: string;
23613
+ unit_buffer: string;
23614
+ unit_order_count: number;
23615
+ unit_orders: string[];
23616
+ unit_ref: string;
23617
+ }[];
23618
+ };
22025
23619
  logistics_plan_all: {
22026
23620
  Args: {
22027
23621
  p_user_id?: string;
@@ -22108,6 +23702,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22108
23702
  };
22109
23703
  Returns: number;
22110
23704
  };
23705
+ logistics_prune_buffer_member_queue: {
23706
+ Args: never;
23707
+ Returns: number;
23708
+ };
23709
+ logistics_prune_handled_pick_queue: {
23710
+ Args: never;
23711
+ Returns: number;
23712
+ };
22111
23713
  logistics_queue_capacity_email: {
22112
23714
  Args: {
22113
23715
  p_alert_id: string;
@@ -22140,6 +23742,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22140
23742
  Args: never;
22141
23743
  Returns: import("./types").Json;
22142
23744
  };
23745
+ logistics_refresh_pickup_moments: {
23746
+ Args: {
23747
+ p_weeks?: number;
23748
+ };
23749
+ Returns: import("./types").Json;
23750
+ };
22143
23751
  logistics_report_delay: {
22144
23752
  Args: {
22145
23753
  p_expected_date?: string;
@@ -22246,6 +23854,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22246
23854
  };
22247
23855
  Returns: string;
22248
23856
  };
23857
+ logistics_scan_resolve: {
23858
+ Args: {
23859
+ p_code: string;
23860
+ };
23861
+ Returns: import("./types").Json;
23862
+ };
22249
23863
  logistics_schedule_tasks: {
22250
23864
  Args: never;
22251
23865
  Returns: number;
@@ -22272,6 +23886,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22272
23886
  };
22273
23887
  Returns: string;
22274
23888
  };
23889
+ logistics_shipping_note_from_barcode: {
23890
+ Args: {
23891
+ p_allow_reprint?: boolean;
23892
+ p_barcode: string;
23893
+ p_station_id?: string;
23894
+ };
23895
+ Returns: import("./types").Json;
23896
+ };
23897
+ logistics_sticker_follows_slip: {
23898
+ Args: never;
23899
+ Returns: boolean;
23900
+ };
22275
23901
  logistics_supersede_stale_tasks: {
22276
23902
  Args: {
22277
23903
  p_keep: string[];
@@ -22323,6 +23949,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22323
23949
  };
22324
23950
  Returns: string;
22325
23951
  };
23952
+ logistics_write_buffer_layer_positions: {
23953
+ Args: {
23954
+ p_buffer_id: string;
23955
+ };
23956
+ Returns: number;
23957
+ };
23958
+ logistics_write_cart_layer_positions: {
23959
+ Args: {
23960
+ p_cart_id: string;
23961
+ };
23962
+ Returns: number;
23963
+ };
22326
23964
  mark_offer_clicked: {
22327
23965
  Args: {
22328
23966
  p_code: string;
@@ -22355,6 +23993,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22355
23993
  };
22356
23994
  Returns: undefined;
22357
23995
  };
23996
+ move_cart_layer_position: {
23997
+ Args: {
23998
+ p_id: string;
23999
+ p_layer: number;
24000
+ p_x: number;
24001
+ p_y: number;
24002
+ };
24003
+ Returns: undefined;
24004
+ };
22358
24005
  my_module_permissions: {
22359
24006
  Args: never;
22360
24007
  Returns: {
@@ -22461,6 +24108,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22461
24108
  online: boolean;
22462
24109
  }[];
22463
24110
  };
24111
+ pick_available_pick_days: {
24112
+ Args: {
24113
+ _max_days?: number;
24114
+ };
24115
+ Returns: {
24116
+ orders: number;
24117
+ pick_day: string;
24118
+ }[];
24119
+ };
24120
+ pick_cart_breakdown: {
24121
+ Args: {
24122
+ _order_id: string;
24123
+ };
24124
+ Returns: import("./types").Json;
24125
+ };
22464
24126
  pick_claim_document: {
22465
24127
  Args: {
22466
24128
  _queue_item_id: string;
@@ -22493,6 +24155,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22493
24155
  print_job_id: string | null;
22494
24156
  printed_at: string | null;
22495
24157
  printed_by: string | null;
24158
+ printed_cart_ids: import("./types").Json;
22496
24159
  printer_id: string | null;
22497
24160
  priority: number;
22498
24161
  reference: string | null;
@@ -22542,6 +24205,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22542
24205
  print_job_id: string | null;
22543
24206
  printed_at: string | null;
22544
24207
  printed_by: string | null;
24208
+ printed_cart_ids: import("./types").Json;
22545
24209
  printer_id: string | null;
22546
24210
  priority: number;
22547
24211
  reference: string | null;
@@ -22596,6 +24260,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22596
24260
  print_job_id: string | null;
22597
24261
  printed_at: string | null;
22598
24262
  printed_by: string | null;
24263
+ printed_cart_ids: import("./types").Json;
22599
24264
  printer_id: string | null;
22600
24265
  priority: number;
22601
24266
  reference: string | null;
@@ -22613,6 +24278,63 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22613
24278
  isSetofReturn: false;
22614
24279
  };
22615
24280
  };
24281
+ pick_complete_print_cart: {
24282
+ Args: {
24283
+ _cart_id: string;
24284
+ _printer_id: string;
24285
+ _queue_item_id: string;
24286
+ _session_id: string;
24287
+ };
24288
+ Returns: {
24289
+ announced_at: string;
24290
+ assigned_user_id: string | null;
24291
+ barcode: string | null;
24292
+ cancelled_at: string | null;
24293
+ cart_count: number;
24294
+ completed_at: string | null;
24295
+ country_code: string | null;
24296
+ created_at: string;
24297
+ customer_name: string | null;
24298
+ delivery_address: string | null;
24299
+ document_number: string | null;
24300
+ document_type_id: string | null;
24301
+ due_at: string | null;
24302
+ id: string;
24303
+ is_urgent: boolean;
24304
+ line_count: number;
24305
+ order_number: string | null;
24306
+ order_type: string | null;
24307
+ payload: import("./types").Json;
24308
+ print_count: number;
24309
+ print_job_id: string | null;
24310
+ printed_at: string | null;
24311
+ printed_by: string | null;
24312
+ printed_cart_ids: import("./types").Json;
24313
+ printer_id: string | null;
24314
+ priority: number;
24315
+ reference: string | null;
24316
+ route: string | null;
24317
+ screen_id: string | null;
24318
+ station_id: string | null;
24319
+ status_id: string | null;
24320
+ updated_at: string;
24321
+ warnings: import("./types").Json;
24322
+ };
24323
+ SetofOptions: {
24324
+ from: "*";
24325
+ to: "pick_queue";
24326
+ isOneToOne: true;
24327
+ isSetofReturn: false;
24328
+ };
24329
+ };
24330
+ pick_complete_print_carts: {
24331
+ Args: {
24332
+ _cart_ids: string[];
24333
+ _queue_item_id: string;
24334
+ _session_id: string;
24335
+ };
24336
+ Returns: import("./types").Json;
24337
+ };
22616
24338
  pick_current_pick_day: {
22617
24339
  Args: never;
22618
24340
  Returns: string;
@@ -22639,6 +24361,74 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22639
24361
  _session_id?: string;
22640
24362
  };
22641
24363
  Returns: string;
24364
+ } | {
24365
+ Args: {
24366
+ _cart_id: string;
24367
+ _is_herprint: boolean;
24368
+ _printer_id: string;
24369
+ _queue_item_id: string;
24370
+ _session_id: string;
24371
+ };
24372
+ Returns: string;
24373
+ };
24374
+ pick_enqueue_print_job_from_cart: {
24375
+ Args: {
24376
+ _cart_id: string;
24377
+ _is_herprint: boolean;
24378
+ _printer_id: string;
24379
+ _queue_item_id: string;
24380
+ _selected_cart: import("./types").Json;
24381
+ _session_id: string;
24382
+ };
24383
+ Returns: string;
24384
+ };
24385
+ pick_mark_printed: {
24386
+ Args: {
24387
+ _queue_item_id: string;
24388
+ _reden?: string;
24389
+ _session_id: string;
24390
+ };
24391
+ Returns: {
24392
+ announced_at: string;
24393
+ assigned_user_id: string | null;
24394
+ barcode: string | null;
24395
+ cancelled_at: string | null;
24396
+ cart_count: number;
24397
+ completed_at: string | null;
24398
+ country_code: string | null;
24399
+ created_at: string;
24400
+ customer_name: string | null;
24401
+ delivery_address: string | null;
24402
+ document_number: string | null;
24403
+ document_type_id: string | null;
24404
+ due_at: string | null;
24405
+ id: string;
24406
+ is_urgent: boolean;
24407
+ line_count: number;
24408
+ order_number: string | null;
24409
+ order_type: string | null;
24410
+ payload: import("./types").Json;
24411
+ print_count: number;
24412
+ print_job_id: string | null;
24413
+ printed_at: string | null;
24414
+ printed_by: string | null;
24415
+ printed_cart_ids: import("./types").Json;
24416
+ printer_id: string | null;
24417
+ priority: number;
24418
+ reference: string | null;
24419
+ route: string | null;
24420
+ screen_id: string | null;
24421
+ station_id: string | null;
24422
+ status_id: string | null;
24423
+ updated_at: string;
24424
+ warnings: import("./types").Json;
24425
+ };
24426
+ SetofOptions: {
24427
+ from: "*";
24428
+ to: "pick_queue";
24429
+ isOneToOne: true;
24430
+ isSetofReturn: false;
24431
+ };
22642
24432
  };
22643
24433
  pick_order_context: {
22644
24434
  Args: {
@@ -22660,6 +24450,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22660
24450
  };
22661
24451
  Returns: import("./types").Json;
22662
24452
  };
24453
+ pick_print_jobs_status: {
24454
+ Args: {
24455
+ _job_ids: string[];
24456
+ };
24457
+ Returns: import("./types").Json[];
24458
+ };
22663
24459
  pick_print_plekken: {
22664
24460
  Args: never;
22665
24461
  Returns: {
@@ -22682,6 +24478,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22682
24478
  };
22683
24479
  Returns: undefined;
22684
24480
  };
24481
+ pick_reprint_cart: {
24482
+ Args: {
24483
+ _cart_id: string;
24484
+ _queue_item_id: string;
24485
+ _session_id: string;
24486
+ _throttle_seconds?: number;
24487
+ };
24488
+ Returns: string;
24489
+ };
22685
24490
  pick_reprint_document: {
22686
24491
  Args: {
22687
24492
  _queue_item_id: string;
@@ -22719,6 +24524,199 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22719
24524
  print_job_id: string | null;
22720
24525
  printed_at: string | null;
22721
24526
  printed_by: string | null;
24527
+ printed_cart_ids: import("./types").Json;
24528
+ printer_id: string | null;
24529
+ priority: number;
24530
+ reference: string | null;
24531
+ route: string | null;
24532
+ screen_id: string | null;
24533
+ station_id: string | null;
24534
+ status_id: string | null;
24535
+ updated_at: string;
24536
+ warnings: import("./types").Json;
24537
+ };
24538
+ SetofOptions: {
24539
+ from: "*";
24540
+ to: "pick_queue";
24541
+ isOneToOne: true;
24542
+ isSetofReturn: false;
24543
+ };
24544
+ } | {
24545
+ Args: {
24546
+ _cart_id?: string;
24547
+ _queue_item_id: string;
24548
+ _session_id: string;
24549
+ };
24550
+ Returns: {
24551
+ announced_at: string;
24552
+ assigned_user_id: string | null;
24553
+ barcode: string | null;
24554
+ cancelled_at: string | null;
24555
+ cart_count: number;
24556
+ completed_at: string | null;
24557
+ country_code: string | null;
24558
+ created_at: string;
24559
+ customer_name: string | null;
24560
+ delivery_address: string | null;
24561
+ document_number: string | null;
24562
+ document_type_id: string | null;
24563
+ due_at: string | null;
24564
+ id: string;
24565
+ is_urgent: boolean;
24566
+ line_count: number;
24567
+ order_number: string | null;
24568
+ order_type: string | null;
24569
+ payload: import("./types").Json;
24570
+ print_count: number;
24571
+ print_job_id: string | null;
24572
+ printed_at: string | null;
24573
+ printed_by: string | null;
24574
+ printed_cart_ids: import("./types").Json;
24575
+ printer_id: string | null;
24576
+ priority: number;
24577
+ reference: string | null;
24578
+ route: string | null;
24579
+ screen_id: string | null;
24580
+ station_id: string | null;
24581
+ status_id: string | null;
24582
+ updated_at: string;
24583
+ warnings: import("./types").Json;
24584
+ };
24585
+ SetofOptions: {
24586
+ from: "*";
24587
+ to: "pick_queue";
24588
+ isOneToOne: true;
24589
+ isSetofReturn: false;
24590
+ };
24591
+ };
24592
+ pick_reset_print_job: {
24593
+ Args: {
24594
+ _cart_id: string;
24595
+ _job_id: string;
24596
+ _queue_item_id: string;
24597
+ _session_id: string;
24598
+ };
24599
+ Returns: {
24600
+ announced_at: string;
24601
+ assigned_user_id: string | null;
24602
+ barcode: string | null;
24603
+ cancelled_at: string | null;
24604
+ cart_count: number;
24605
+ completed_at: string | null;
24606
+ country_code: string | null;
24607
+ created_at: string;
24608
+ customer_name: string | null;
24609
+ delivery_address: string | null;
24610
+ document_number: string | null;
24611
+ document_type_id: string | null;
24612
+ due_at: string | null;
24613
+ id: string;
24614
+ is_urgent: boolean;
24615
+ line_count: number;
24616
+ order_number: string | null;
24617
+ order_type: string | null;
24618
+ payload: import("./types").Json;
24619
+ print_count: number;
24620
+ print_job_id: string | null;
24621
+ printed_at: string | null;
24622
+ printed_by: string | null;
24623
+ printed_cart_ids: import("./types").Json;
24624
+ printer_id: string | null;
24625
+ priority: number;
24626
+ reference: string | null;
24627
+ route: string | null;
24628
+ screen_id: string | null;
24629
+ station_id: string | null;
24630
+ status_id: string | null;
24631
+ updated_at: string;
24632
+ warnings: import("./types").Json;
24633
+ };
24634
+ SetofOptions: {
24635
+ from: "*";
24636
+ to: "pick_queue";
24637
+ isOneToOne: true;
24638
+ isSetofReturn: false;
24639
+ };
24640
+ };
24641
+ pick_reset_print_jobs: {
24642
+ Args: {
24643
+ _cart_ids: string[];
24644
+ _job_ids: string[];
24645
+ _queue_item_id: string;
24646
+ _session_id: string;
24647
+ };
24648
+ Returns: {
24649
+ announced_at: string;
24650
+ assigned_user_id: string | null;
24651
+ barcode: string | null;
24652
+ cancelled_at: string | null;
24653
+ cart_count: number;
24654
+ completed_at: string | null;
24655
+ country_code: string | null;
24656
+ created_at: string;
24657
+ customer_name: string | null;
24658
+ delivery_address: string | null;
24659
+ document_number: string | null;
24660
+ document_type_id: string | null;
24661
+ due_at: string | null;
24662
+ id: string;
24663
+ is_urgent: boolean;
24664
+ line_count: number;
24665
+ order_number: string | null;
24666
+ order_type: string | null;
24667
+ payload: import("./types").Json;
24668
+ print_count: number;
24669
+ print_job_id: string | null;
24670
+ printed_at: string | null;
24671
+ printed_by: string | null;
24672
+ printed_cart_ids: import("./types").Json;
24673
+ printer_id: string | null;
24674
+ priority: number;
24675
+ reference: string | null;
24676
+ route: string | null;
24677
+ screen_id: string | null;
24678
+ station_id: string | null;
24679
+ status_id: string | null;
24680
+ updated_at: string;
24681
+ warnings: import("./types").Json;
24682
+ };
24683
+ SetofOptions: {
24684
+ from: "*";
24685
+ to: "pick_queue";
24686
+ isOneToOne: true;
24687
+ isSetofReturn: false;
24688
+ };
24689
+ };
24690
+ pick_restore_to_queue: {
24691
+ Args: {
24692
+ _queue_item_id: string;
24693
+ _session_id: string;
24694
+ };
24695
+ Returns: {
24696
+ announced_at: string;
24697
+ assigned_user_id: string | null;
24698
+ barcode: string | null;
24699
+ cancelled_at: string | null;
24700
+ cart_count: number;
24701
+ completed_at: string | null;
24702
+ country_code: string | null;
24703
+ created_at: string;
24704
+ customer_name: string | null;
24705
+ delivery_address: string | null;
24706
+ document_number: string | null;
24707
+ document_type_id: string | null;
24708
+ due_at: string | null;
24709
+ id: string;
24710
+ is_urgent: boolean;
24711
+ line_count: number;
24712
+ order_number: string | null;
24713
+ order_type: string | null;
24714
+ payload: import("./types").Json;
24715
+ print_count: number;
24716
+ print_job_id: string | null;
24717
+ printed_at: string | null;
24718
+ printed_by: string | null;
24719
+ printed_cart_ids: import("./types").Json;
22722
24720
  printer_id: string | null;
22723
24721
  priority: number;
22724
24722
  reference: string | null;
@@ -22785,6 +24783,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22785
24783
  };
22786
24784
  Returns: string;
22787
24785
  };
24786
+ pick_sync_pick_day: {
24787
+ Args: {
24788
+ _day: string;
24789
+ };
24790
+ Returns: import("./types").Json;
24791
+ };
22788
24792
  pick_sync_queue_throttled: {
22789
24793
  Args: {
22790
24794
  _min_seconds?: number;
@@ -23014,6 +25018,20 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23014
25018
  };
23015
25019
  Returns: boolean;
23016
25020
  };
25021
+ release_local_pdf_job: {
25022
+ Args: {
25023
+ _job_id: string;
25024
+ _writer_id: string;
25025
+ };
25026
+ Returns: boolean;
25027
+ };
25028
+ release_print_queue_lease: {
25029
+ Args: {
25030
+ _houder: string;
25031
+ _naam: string;
25032
+ };
25033
+ Returns: boolean;
25034
+ };
23017
25035
  release_stale_order_invoice_links: {
23018
25036
  Args: {
23019
25037
  _minutes?: number;
@@ -23034,6 +25052,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23034
25052
  };
23035
25053
  Returns: import("./types").Json;
23036
25054
  };
25055
+ reset_cart_layer_positions: {
25056
+ Args: {
25057
+ p_cart_id: string;
25058
+ };
25059
+ Returns: number;
25060
+ };
23037
25061
  reset_floriday_sync_cursor: {
23038
25062
  Args: {
23039
25063
  p_connection_id: string;
@@ -23097,6 +25121,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23097
25121
  };
23098
25122
  Returns: import("./types").Json;
23099
25123
  };
25124
+ roles_without_enum_mapping: {
25125
+ Args: never;
25126
+ Returns: {
25127
+ assignment_count: number;
25128
+ id: string;
25129
+ key: string;
25130
+ name: string;
25131
+ }[];
25132
+ };
23100
25133
  ruim_print_jobs_op: {
23101
25134
  Args: {
23102
25135
  _bewaar_dagen?: number;
@@ -23111,6 +25144,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23111
25144
  Args: never;
23112
25145
  Returns: undefined;
23113
25146
  };
25147
+ run_floriday_stock_reconcile: {
25148
+ Args: never;
25149
+ Returns: undefined;
25150
+ };
23114
25151
  run_logistics_tasks_dispatch: {
23115
25152
  Args: never;
23116
25153
  Returns: undefined;
@@ -23129,18 +25166,88 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23129
25166
  };
23130
25167
  Returns: import("./types").Json;
23131
25168
  };
25169
+ scan_complete_cart: {
25170
+ Args: {
25171
+ p_allow_reprint?: boolean;
25172
+ p_cart_id: string;
25173
+ p_print?: boolean;
25174
+ p_scanner_id?: string;
25175
+ };
25176
+ Returns: import("./types").Json;
25177
+ };
23132
25178
  scan_dashboard_stats: {
23133
25179
  Args: {
23134
25180
  p_dagen?: number;
23135
25181
  };
23136
25182
  Returns: import("./types").Json;
23137
25183
  };
25184
+ scan_eindcontrole: {
25185
+ Args: {
25186
+ p_barcode: string;
25187
+ p_scanner_id?: string;
25188
+ };
25189
+ Returns: import("./types").Json;
25190
+ };
23138
25191
  scan_finish_kar: {
23139
25192
  Args: {
23140
25193
  p_kar_id: string;
23141
25194
  };
23142
25195
  Returns: import("./types").Json;
23143
25196
  };
25197
+ scan_kar_compleet: {
25198
+ Args: {
25199
+ p_allow_reprint?: boolean;
25200
+ p_sessie_id: string;
25201
+ };
25202
+ Returns: import("./types").Json;
25203
+ };
25204
+ scan_kar_regels: {
25205
+ Args: {
25206
+ p_cart_id: string;
25207
+ };
25208
+ Returns: import("./types").Json;
25209
+ };
25210
+ scan_open_pakbonnen: {
25211
+ Args: {
25212
+ p_dagen?: number;
25213
+ };
25214
+ Returns: import("./types").Json;
25215
+ };
25216
+ scan_pakbon_lookup: {
25217
+ Args: {
25218
+ p_barcode: string;
25219
+ };
25220
+ Returns: import("./types").Json;
25221
+ };
25222
+ scan_pakbon_opnieuw: {
25223
+ Args: {
25224
+ p_barcode: string;
25225
+ p_scanner_id?: string;
25226
+ };
25227
+ Returns: import("./types").Json;
25228
+ };
25229
+ scan_pakbon_toevoegen: {
25230
+ Args: {
25231
+ p_barcode: string;
25232
+ p_medewerker?: string;
25233
+ p_regels?: import("./types").Json;
25234
+ p_scanner_id: string;
25235
+ };
25236
+ Returns: import("./types").Json;
25237
+ };
25238
+ scan_print_restpakbon: {
25239
+ Args: {
25240
+ p_printer_id?: string;
25241
+ p_restpakbon_id: string;
25242
+ };
25243
+ Returns: import("./types").Json;
25244
+ };
25245
+ scan_print_verzendbrief: {
25246
+ Args: {
25247
+ p_sessie_id: string;
25248
+ };
25249
+ Returns: import("./types").Json;
25250
+ };
23144
25251
  scan_register_item: {
23145
25252
  Args: {
23146
25253
  p_kar_id: string;
@@ -23159,6 +25266,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23159
25266
  };
23160
25267
  Returns: import("./types").Json;
23161
25268
  };
25269
+ scan_restpakbon_geprint: {
25270
+ Args: {
25271
+ p_id: string;
25272
+ p_print_job_id?: string;
25273
+ };
25274
+ Returns: undefined;
25275
+ };
25276
+ scan_sessie_annuleren: {
25277
+ Args: {
25278
+ p_sessie_id: string;
25279
+ };
25280
+ Returns: undefined;
25281
+ };
25282
+ scan_sessie_open: {
25283
+ Args: {
25284
+ p_scanner_id: string;
25285
+ };
25286
+ Returns: import("./types").Json;
25287
+ };
23162
25288
  scan_start_kar: {
23163
25289
  Args: {
23164
25290
  p_medewerker_id?: string;
@@ -23177,6 +25303,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23177
25303
  };
23178
25304
  Returns: import("./types").Json;
23179
25305
  };
25306
+ scan_verzendbrief_regels: {
25307
+ Args: {
25308
+ p_sessie_id: string;
25309
+ };
25310
+ Returns: import("./types").Json;
25311
+ };
23180
25312
  schedule_floriday_additional_services_sync: {
23181
25313
  Args: {
23182
25314
  p_apikey: string;
@@ -23492,6 +25624,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23492
25624
  };
23493
25625
  Returns: import("./types").Json;
23494
25626
  };
25627
+ swap_cart_layer_positions: {
25628
+ Args: {
25629
+ p_a: string;
25630
+ p_b: string;
25631
+ };
25632
+ Returns: undefined;
25633
+ };
23495
25634
  switch_time_log: {
23496
25635
  Args: {
23497
25636
  p_employee_id: string;
@@ -23524,6 +25663,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23524
25663
  };
23525
25664
  Returns: undefined;
23526
25665
  };
25666
+ sync_order_item_fusten: {
25667
+ Args: {
25668
+ _order_item_id: string;
25669
+ };
25670
+ Returns: undefined;
25671
+ };
23527
25672
  sync_product_group_belading: {
23528
25673
  Args: {
23529
25674
  _group_id: string;
@@ -23630,6 +25775,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23630
25775
  Args: never;
23631
25776
  Returns: string;
23632
25777
  };
25778
+ wake_print_queue: {
25779
+ Args: {
25780
+ _min_interval_ms?: number;
25781
+ };
25782
+ Returns: number;
25783
+ };
23633
25784
  werkbon_totalen: {
23634
25785
  Args: {
23635
25786
  _werkbon_id: string;
@@ -23662,10 +25813,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23662
25813
  };
23663
25814
  Returns: import("./types").Json;
23664
25815
  };
25816
+ wo_set_status: {
25817
+ Args: {
25818
+ _reason?: string;
25819
+ _status: string;
25820
+ _work_order_id: string;
25821
+ };
25822
+ Returns: import("./types").Json;
25823
+ };
23665
25824
  };
23666
25825
  Enums: {
23667
25826
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
23668
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
25827
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
23669
25828
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
23670
25829
  doc_orientation: "portrait" | "landscape";
23671
25830
  exact_env: "staging" | "live";