@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
@@ -76,9 +76,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
76
76
  pick_distribution_enabled?: boolean;
77
77
  pick_weekdays?: number[];
78
78
  signup_mail_enabled?: boolean;
79
- signup_mail_lead_minutes? /**
80
- * Primaire packing meesturen zodat Floriday de regel goed valideert.
81
- */: number;
79
+ signup_mail_lead_minutes?: number;
82
80
  signup_mail_purpose?: string;
83
81
  transport_register_days_before?: number;
84
82
  updated_at?: string;
@@ -721,6 +719,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
721
719
  raw: import("../integrations/supabase/types").Json;
722
720
  updated_at: string;
723
721
  valuta: string;
722
+ velden: import("../integrations/supabase/types").Json;
724
723
  };
725
724
  Insert: {
726
725
  artikelcode: string;
@@ -738,6 +737,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
738
737
  raw?: import("../integrations/supabase/types").Json;
739
738
  updated_at?: string;
740
739
  valuta?: string;
740
+ velden?: import("../integrations/supabase/types").Json;
741
741
  };
742
742
  Update: {
743
743
  artikelcode?: string;
@@ -755,6 +755,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
755
755
  raw?: import("../integrations/supabase/types").Json;
756
756
  updated_at?: string;
757
757
  valuta?: string;
758
+ velden?: import("../integrations/supabase/types").Json;
758
759
  };
759
760
  Relationships: [];
760
761
  };
@@ -1449,8 +1450,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
1449
1450
  Row: {
1450
1451
  assigned_at: string;
1451
1452
  cart_index: number;
1452
- cart_number: string;
1453
- day_seq: number;
1453
+ cart_number: string | null;
1454
+ day_seq: number | null;
1455
+ delivered_at: string | null;
1454
1456
  id: string;
1455
1457
  order_id: string;
1456
1458
  order_source: string;
@@ -1460,8 +1462,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
1460
1462
  Insert: {
1461
1463
  assigned_at?: string;
1462
1464
  cart_index: number;
1463
- cart_number: string;
1464
- day_seq: number;
1465
+ cart_number?: string | null;
1466
+ day_seq?: number | null;
1467
+ delivered_at?: string | null;
1465
1468
  id?: string;
1466
1469
  order_id: string;
1467
1470
  order_source: string;
@@ -1471,8 +1474,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
1471
1474
  Update: {
1472
1475
  assigned_at?: string;
1473
1476
  cart_index?: number;
1474
- cart_number?: string;
1475
- day_seq?: number;
1477
+ cart_number?: string | null;
1478
+ day_seq?: number | null;
1479
+ delivered_at?: string | null;
1476
1480
  id?: string;
1477
1481
  order_id?: string;
1478
1482
  order_source?: string;
@@ -1573,6 +1577,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
1573
1577
  updated_at?: string;
1574
1578
  };
1575
1579
  Relationships: [{
1580
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1581
+ columns: ["product_id"];
1582
+ isOneToOne: true;
1583
+ referencedRelation: "logistics_product_dimensions";
1584
+ referencedColumns: ["product_id"];
1585
+ }, {
1576
1586
  foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1577
1587
  columns: ["product_id"];
1578
1588
  isOneToOne: true;
@@ -7100,6 +7110,51 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
7100
7110
  };
7101
7111
  Relationships: [];
7102
7112
  };
7113
+ floriday_status_sync_queue: {
7114
+ Row: {
7115
+ attempts: number;
7116
+ created_at: string;
7117
+ error: string | null;
7118
+ floriday_sales_order_id: string;
7119
+ order_id: string;
7120
+ processed_at: string | null;
7121
+ requested_at: string;
7122
+ state: string;
7123
+ target_status: string;
7124
+ updated_at: string;
7125
+ };
7126
+ Insert: {
7127
+ attempts?: number;
7128
+ created_at?: string;
7129
+ error?: string | null;
7130
+ floriday_sales_order_id: string;
7131
+ order_id: string;
7132
+ processed_at?: string | null;
7133
+ requested_at?: string;
7134
+ state?: string;
7135
+ target_status: string;
7136
+ updated_at?: string;
7137
+ };
7138
+ Update: {
7139
+ attempts?: number;
7140
+ created_at?: string;
7141
+ error?: string | null;
7142
+ floriday_sales_order_id?: string;
7143
+ order_id?: string;
7144
+ processed_at?: string | null;
7145
+ requested_at?: string;
7146
+ state?: string;
7147
+ target_status?: string;
7148
+ updated_at?: string;
7149
+ };
7150
+ Relationships: [{
7151
+ foreignKeyName: "floriday_status_sync_queue_order_id_fkey";
7152
+ columns: ["order_id"];
7153
+ isOneToOne: true;
7154
+ referencedRelation: "orders";
7155
+ referencedColumns: ["id"];
7156
+ }];
7157
+ };
7103
7158
  floriday_sync_cursors: {
7104
7159
  Row: {
7105
7160
  connection_id: string;
@@ -8334,10 +8389,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8334
8389
  general_email: string | null;
8335
8390
  general_phone: string | null;
8336
8391
  id: string;
8392
+ kvk_number: string | null;
8337
8393
  legacy_customer_id: string | null;
8338
8394
  name: string;
8339
8395
  segment: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
8340
8396
  updated_at: string;
8397
+ vat_number: string | null;
8341
8398
  };
8342
8399
  Insert: {
8343
8400
  billing_city?: string | null;
@@ -8348,10 +8405,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8348
8405
  general_email?: string | null;
8349
8406
  general_phone?: string | null;
8350
8407
  id?: string;
8408
+ kvk_number?: string | null;
8351
8409
  legacy_customer_id?: string | null;
8352
8410
  name: string;
8353
8411
  segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
8354
8412
  updated_at?: string;
8413
+ vat_number?: string | null;
8355
8414
  };
8356
8415
  Update: {
8357
8416
  billing_city?: string | null;
@@ -8362,10 +8421,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8362
8421
  general_email?: string | null;
8363
8422
  general_phone?: string | null;
8364
8423
  id?: string;
8424
+ kvk_number?: string | null;
8365
8425
  legacy_customer_id?: string | null;
8366
8426
  name?: string;
8367
8427
  segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
8368
8428
  updated_at?: string;
8429
+ vat_number?: string | null;
8369
8430
  };
8370
8431
  Relationships: [];
8371
8432
  };
@@ -8399,6 +8460,117 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8399
8460
  };
8400
8461
  Relationships: [];
8401
8462
  };
8463
+ itk_handover_github_scan: {
8464
+ Row: {
8465
+ gescand_op: string;
8466
+ gevonden: boolean;
8467
+ melding: string | null;
8468
+ module_id: string | null;
8469
+ repo: string;
8470
+ };
8471
+ Insert: {
8472
+ gescand_op?: string;
8473
+ gevonden?: boolean;
8474
+ melding?: string | null;
8475
+ module_id?: string | null;
8476
+ repo: string;
8477
+ };
8478
+ Update: {
8479
+ gescand_op?: string;
8480
+ gevonden?: boolean;
8481
+ melding?: string | null;
8482
+ module_id?: string | null;
8483
+ repo?: string;
8484
+ };
8485
+ Relationships: [];
8486
+ };
8487
+ itk_handover_module_meta: {
8488
+ Row: {
8489
+ check_aangevraagd_op: string | null;
8490
+ check_nodig: boolean;
8491
+ check_reden: string | null;
8492
+ created_at: string;
8493
+ module_id: string;
8494
+ project_url: string | null;
8495
+ publicatie_url: string | null;
8496
+ updated_at: string;
8497
+ };
8498
+ Insert: {
8499
+ check_aangevraagd_op?: string | null;
8500
+ check_nodig?: boolean;
8501
+ check_reden?: string | null;
8502
+ created_at?: string;
8503
+ module_id: string;
8504
+ project_url?: string | null;
8505
+ publicatie_url?: string | null;
8506
+ updated_at?: string;
8507
+ };
8508
+ Update: {
8509
+ check_aangevraagd_op?: string | null;
8510
+ check_nodig?: boolean;
8511
+ check_reden?: string | null;
8512
+ created_at?: string;
8513
+ module_id?: string;
8514
+ project_url?: string | null;
8515
+ publicatie_url?: string | null;
8516
+ updated_at?: string;
8517
+ };
8518
+ Relationships: [];
8519
+ };
8520
+ itk_handover_project_modules: {
8521
+ Row: {
8522
+ created_at: string;
8523
+ id: string;
8524
+ module_id: string;
8525
+ project_id: string;
8526
+ updated_at: string;
8527
+ };
8528
+ Insert: {
8529
+ created_at?: string;
8530
+ id?: string;
8531
+ module_id: string;
8532
+ project_id: string;
8533
+ updated_at?: string;
8534
+ };
8535
+ Update: {
8536
+ created_at?: string;
8537
+ id?: string;
8538
+ module_id?: string;
8539
+ project_id?: string;
8540
+ updated_at?: string;
8541
+ };
8542
+ Relationships: [{
8543
+ foreignKeyName: "itk_handover_project_modules_project_id_fkey";
8544
+ columns: ["project_id"];
8545
+ isOneToOne: false;
8546
+ referencedRelation: "itk_handover_projecten";
8547
+ referencedColumns: ["id"];
8548
+ }];
8549
+ };
8550
+ itk_handover_projecten: {
8551
+ Row: {
8552
+ created_at: string;
8553
+ id: string;
8554
+ naam: string;
8555
+ omschrijving: string | null;
8556
+ updated_at: string;
8557
+ };
8558
+ Insert: {
8559
+ created_at?: string;
8560
+ id?: string;
8561
+ naam: string;
8562
+ omschrijving?: string | null;
8563
+ updated_at?: string;
8564
+ };
8565
+ Update: {
8566
+ created_at?: string;
8567
+ id?: string;
8568
+ naam?: string;
8569
+ omschrijving?: string | null;
8570
+ updated_at?: string;
8571
+ };
8572
+ Relationships: [];
8573
+ };
8402
8574
  itk_handover_rechten: {
8403
8575
  Row: {
8404
8576
  created_at: string;
@@ -8426,42 +8598,33 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8426
8598
  };
8427
8599
  Relationships: [];
8428
8600
  };
8429
- itk_handover_tokens: {
8601
+ itk_module_fingerprints: {
8430
8602
  Row: {
8431
- aangemaakt_door: string | null;
8432
8603
  created_at: string;
8604
+ gemaakt_op: string;
8605
+ hash: string;
8433
8606
  id: string;
8434
- is_actief: boolean;
8435
- laatst_gebruikt_op: string | null;
8436
- label: string;
8437
8607
  module_id: string;
8438
- token_hash: string;
8608
+ payload: import("../integrations/supabase/types").Json;
8439
8609
  updated_at: string;
8440
- verloopt_op: string | null;
8441
8610
  };
8442
8611
  Insert: {
8443
- aangemaakt_door?: string | null;
8444
8612
  created_at?: string;
8613
+ gemaakt_op?: string;
8614
+ hash: string;
8445
8615
  id?: string;
8446
- is_actief?: boolean;
8447
- laatst_gebruikt_op?: string | null;
8448
- label?: string;
8449
8616
  module_id: string;
8450
- token_hash: string;
8617
+ payload?: import("../integrations/supabase/types").Json;
8451
8618
  updated_at?: string;
8452
- verloopt_op?: string | null;
8453
8619
  };
8454
8620
  Update: {
8455
- aangemaakt_door?: string | null;
8456
8621
  created_at?: string;
8622
+ gemaakt_op?: string;
8623
+ hash?: string;
8457
8624
  id?: string;
8458
- is_actief?: boolean;
8459
- laatst_gebruikt_op?: string | null;
8460
- label?: string;
8461
8625
  module_id?: string;
8462
- token_hash?: string;
8626
+ payload?: import("../integrations/supabase/types").Json;
8463
8627
  updated_at?: string;
8464
- verloopt_op?: string | null;
8465
8628
  };
8466
8629
  Relationships: [];
8467
8630
  };
@@ -8469,6 +8632,11 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8469
8632
  Row: {
8470
8633
  bevindingen: string | null;
8471
8634
  bezit_tabellen: string[];
8635
+ bron_commit: string | null;
8636
+ bron_pad: string | null;
8637
+ bron_repo: string | null;
8638
+ bron_soort: string | null;
8639
+ bron_versie: string | null;
8472
8640
  conflicten_snapshot: import("../integrations/supabase/types").Json;
8473
8641
  contractfuncties: string[];
8474
8642
  created_at: string;
@@ -8479,6 +8647,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8479
8647
  id: string;
8480
8648
  inhoud_md: string;
8481
8649
  is_actueel: boolean;
8650
+ is_gearchiveerd: boolean;
8651
+ laatst_gecontroleerd_op: string | null;
8482
8652
  module_id: string;
8483
8653
  module_titel: string;
8484
8654
  ontbrekende_contracten: string[];
@@ -8489,6 +8659,11 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8489
8659
  Insert: {
8490
8660
  bevindingen?: string | null;
8491
8661
  bezit_tabellen?: string[];
8662
+ bron_commit?: string | null;
8663
+ bron_pad?: string | null;
8664
+ bron_repo?: string | null;
8665
+ bron_soort?: string | null;
8666
+ bron_versie?: string | null;
8492
8667
  conflicten_snapshot?: import("../integrations/supabase/types").Json;
8493
8668
  contractfuncties?: string[];
8494
8669
  created_at?: string;
@@ -8499,6 +8674,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8499
8674
  id?: string;
8500
8675
  inhoud_md: string;
8501
8676
  is_actueel?: boolean;
8677
+ is_gearchiveerd?: boolean;
8678
+ laatst_gecontroleerd_op?: string | null;
8502
8679
  module_id: string;
8503
8680
  module_titel: string;
8504
8681
  ontbrekende_contracten?: string[];
@@ -8509,6 +8686,11 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8509
8686
  Update: {
8510
8687
  bevindingen?: string | null;
8511
8688
  bezit_tabellen?: string[];
8689
+ bron_commit?: string | null;
8690
+ bron_pad?: string | null;
8691
+ bron_repo?: string | null;
8692
+ bron_soort?: string | null;
8693
+ bron_versie?: string | null;
8512
8694
  conflicten_snapshot?: import("../integrations/supabase/types").Json;
8513
8695
  contractfuncties?: string[];
8514
8696
  created_at?: string;
@@ -8519,6 +8701,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8519
8701
  id?: string;
8520
8702
  inhoud_md?: string;
8521
8703
  is_actueel?: boolean;
8704
+ is_gearchiveerd?: boolean;
8705
+ laatst_gecontroleerd_op?: string | null;
8522
8706
  module_id?: string;
8523
8707
  module_titel?: string;
8524
8708
  ontbrekende_contracten?: string[];
@@ -8573,6 +8757,39 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8573
8757
  };
8574
8758
  Relationships: [];
8575
8759
  };
8760
+ itk_module_wijzigingen: {
8761
+ Row: {
8762
+ created_at: string;
8763
+ geconstateerd_op: string;
8764
+ id: string;
8765
+ module_id: string;
8766
+ omschrijving: string;
8767
+ soort: string;
8768
+ updated_at: string;
8769
+ was_na_publicatie: boolean;
8770
+ };
8771
+ Insert: {
8772
+ created_at?: string;
8773
+ geconstateerd_op?: string;
8774
+ id?: string;
8775
+ module_id: string;
8776
+ omschrijving: string;
8777
+ soort: string;
8778
+ updated_at?: string;
8779
+ was_na_publicatie?: boolean;
8780
+ };
8781
+ Update: {
8782
+ created_at?: string;
8783
+ geconstateerd_op?: string;
8784
+ id?: string;
8785
+ module_id?: string;
8786
+ omschrijving?: string;
8787
+ soort?: string;
8788
+ updated_at?: string;
8789
+ was_na_publicatie?: boolean;
8790
+ };
8791
+ Relationships: [];
8792
+ };
8576
8793
  itk_offerte_events: {
8577
8794
  Row: {
8578
8795
  created_at: string;
@@ -8811,12 +9028,24 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8811
9028
  isOneToOne: false;
8812
9029
  referencedRelation: "werkbonnen";
8813
9030
  referencedColumns: ["id"];
9031
+ }, {
9032
+ foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
9033
+ columns: ["follow_up_werkbon_id"];
9034
+ isOneToOne: false;
9035
+ referencedRelation: "wo_overview";
9036
+ referencedColumns: ["id"];
8814
9037
  }, {
8815
9038
  foreignKeyName: "itk_offertes_werkbon_id_fkey";
8816
9039
  columns: ["werkbon_id"];
8817
9040
  isOneToOne: false;
8818
9041
  referencedRelation: "werkbonnen";
8819
9042
  referencedColumns: ["id"];
9043
+ }, {
9044
+ foreignKeyName: "itk_offertes_werkbon_id_fkey";
9045
+ columns: ["werkbon_id"];
9046
+ isOneToOne: false;
9047
+ referencedRelation: "wo_overview";
9048
+ referencedColumns: ["id"];
8820
9049
  }, {
8821
9050
  foreignKeyName: "itk_offertes_work_location_id_fkey";
8822
9051
  columns: ["work_location_id"];
@@ -9117,6 +9346,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9117
9346
  isOneToOne: false;
9118
9347
  referencedRelation: "product_categories";
9119
9348
  referencedColumns: ["id"];
9349
+ }, {
9350
+ foreignKeyName: "local_customer_agreements_product_id_fkey";
9351
+ columns: ["product_id"];
9352
+ isOneToOne: false;
9353
+ referencedRelation: "logistics_product_dimensions";
9354
+ referencedColumns: ["product_id"];
9120
9355
  }, {
9121
9356
  foreignKeyName: "local_customer_agreements_product_id_fkey";
9122
9357
  columns: ["product_id"];
@@ -9183,6 +9418,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9183
9418
  isOneToOne: false;
9184
9419
  referencedRelation: "product_categories";
9185
9420
  referencedColumns: ["id"];
9421
+ }, {
9422
+ foreignKeyName: "local_customer_price_groups_product_id_fkey";
9423
+ columns: ["product_id"];
9424
+ isOneToOne: false;
9425
+ referencedRelation: "logistics_product_dimensions";
9426
+ referencedColumns: ["product_id"];
9186
9427
  }, {
9187
9428
  foreignKeyName: "local_customer_price_groups_product_id_fkey";
9188
9429
  columns: ["product_id"];
@@ -9249,6 +9490,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9249
9490
  isOneToOne: false;
9250
9491
  referencedRelation: "product_categories";
9251
9492
  referencedColumns: ["id"];
9493
+ }, {
9494
+ foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9495
+ columns: ["product_id"];
9496
+ isOneToOne: false;
9497
+ referencedRelation: "logistics_product_dimensions";
9498
+ referencedColumns: ["product_id"];
9252
9499
  }, {
9253
9500
  foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9254
9501
  columns: ["product_id"];
@@ -9431,6 +9678,96 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9431
9678
  };
9432
9679
  Relationships: [];
9433
9680
  };
9681
+ logistics_cart_barcode: {
9682
+ Row: {
9683
+ barcode: string;
9684
+ cart_id: string;
9685
+ created_at: string;
9686
+ order_id: string | null;
9687
+ };
9688
+ Insert: {
9689
+ barcode: string;
9690
+ cart_id: string;
9691
+ created_at?: string;
9692
+ order_id?: string | null;
9693
+ };
9694
+ Update: {
9695
+ barcode?: string;
9696
+ cart_id?: string;
9697
+ created_at?: string;
9698
+ order_id?: string | null;
9699
+ };
9700
+ Relationships: [];
9701
+ };
9702
+ logistics_control_scan: {
9703
+ Row: {
9704
+ approved_at: string | null;
9705
+ attempts: number;
9706
+ barcode: string;
9707
+ cart_id: string;
9708
+ created_at: string;
9709
+ document_url: string | null;
9710
+ error: string | null;
9711
+ error_code: string | null;
9712
+ fulfillment_order_id: string | null;
9713
+ id: string;
9714
+ is_floriday: boolean;
9715
+ locked_until: string | null;
9716
+ order_id: string | null;
9717
+ order_number: string | null;
9718
+ print_job_id: string | null;
9719
+ printed_at: string | null;
9720
+ printer_id: string | null;
9721
+ scanner_id: string | null;
9722
+ status: string;
9723
+ updated_at: string;
9724
+ };
9725
+ Insert: {
9726
+ approved_at?: string | null;
9727
+ attempts?: number;
9728
+ barcode: string;
9729
+ cart_id: string;
9730
+ created_at?: string;
9731
+ document_url?: string | null;
9732
+ error?: string | null;
9733
+ error_code?: string | null;
9734
+ fulfillment_order_id?: string | null;
9735
+ id?: string;
9736
+ is_floriday?: boolean;
9737
+ locked_until?: string | null;
9738
+ order_id?: string | null;
9739
+ order_number?: string | null;
9740
+ print_job_id?: string | null;
9741
+ printed_at?: string | null;
9742
+ printer_id?: string | null;
9743
+ scanner_id?: string | null;
9744
+ status?: string;
9745
+ updated_at?: string;
9746
+ };
9747
+ Update: {
9748
+ approved_at?: string | null;
9749
+ attempts?: number;
9750
+ barcode?: string;
9751
+ cart_id?: string;
9752
+ created_at?: string;
9753
+ document_url?: string | null;
9754
+ error?: string | null;
9755
+ error_code?: string | null;
9756
+ fulfillment_order_id?: string | null;
9757
+ id?: string;
9758
+ is_floriday?: boolean;
9759
+ locked_until?: string | null;
9760
+ order_id?: string | null;
9761
+ order_number?: string | null;
9762
+ print_job_id?: string | null;
9763
+ printed_at?: string | null;
9764
+ printer_id?: string | null;
9765
+ scanner_id?: string | null;
9766
+ status?: string;
9767
+ updated_at?: string;
9768
+ };
9769
+ Relationships: [];
9770
+ };
9434
9771
  logistics_decisions: {
9435
9772
  Row: {
9436
9773
  created_at: string;
@@ -9716,11 +10053,29 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9716
10053
  };
9717
10054
  Relationships: [];
9718
10055
  };
9719
- logistics_floriday_pushes: {
10056
+ logistics_floriday_carrier_map: {
9720
10057
  Row: {
9721
- attempts: number;
10058
+ carrier_code: string;
9722
10059
  created_at: string;
9723
- first_queued_at: string;
10060
+ floriday_code: string;
10061
+ };
10062
+ Insert: {
10063
+ carrier_code: string;
10064
+ created_at?: string;
10065
+ floriday_code: string;
10066
+ };
10067
+ Update: {
10068
+ carrier_code?: string;
10069
+ created_at?: string;
10070
+ floriday_code?: string;
10071
+ };
10072
+ Relationships: [];
10073
+ };
10074
+ logistics_floriday_pushes: {
10075
+ Row: {
10076
+ attempts: number;
10077
+ created_at: string;
10078
+ first_queued_at: string;
9724
10079
  fulfillment_order_id: string | null;
9725
10080
  id: string;
9726
10081
  last_error: string | null;
@@ -9833,6 +10188,36 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9833
10188
  referencedColumns: ["id"];
9834
10189
  }];
9835
10190
  };
10191
+ logistics_layer_override_log: {
10192
+ Row: {
10193
+ cart_id: string;
10194
+ created_at: string;
10195
+ details: import("../integrations/supabase/types").Json;
10196
+ id: string;
10197
+ keg_id: string | null;
10198
+ product_id: string | null;
10199
+ reason: string;
10200
+ };
10201
+ Insert: {
10202
+ cart_id: string;
10203
+ created_at?: string;
10204
+ details?: import("../integrations/supabase/types").Json;
10205
+ id?: string;
10206
+ keg_id?: string | null;
10207
+ product_id?: string | null;
10208
+ reason: string;
10209
+ };
10210
+ Update: {
10211
+ cart_id?: string;
10212
+ created_at?: string;
10213
+ details?: import("../integrations/supabase/types").Json;
10214
+ id?: string;
10215
+ keg_id?: string | null;
10216
+ product_id?: string | null;
10217
+ reason?: string;
10218
+ };
10219
+ Relationships: [];
10220
+ };
9836
10221
  logistics_pickup_moments: {
9837
10222
  Row: {
9838
10223
  carrier_ref: string | null;
@@ -10259,6 +10644,36 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
10259
10644
  referencedColumns: ["id"];
10260
10645
  }];
10261
10646
  };
10647
+ logistics_shipping_note_scan: {
10648
+ Row: {
10649
+ barcode: string;
10650
+ cart_id: string;
10651
+ id: string;
10652
+ is_reprint: boolean;
10653
+ order_id: string | null;
10654
+ print_job_id: string | null;
10655
+ scanned_at: string;
10656
+ };
10657
+ Insert: {
10658
+ barcode: string;
10659
+ cart_id: string;
10660
+ id?: string;
10661
+ is_reprint?: boolean;
10662
+ order_id?: string | null;
10663
+ print_job_id?: string | null;
10664
+ scanned_at?: string;
10665
+ };
10666
+ Update: {
10667
+ barcode?: string;
10668
+ cart_id?: string;
10669
+ id?: string;
10670
+ is_reprint?: boolean;
10671
+ order_id?: string | null;
10672
+ print_job_id?: string | null;
10673
+ scanned_at?: string;
10674
+ };
10675
+ Relationships: [];
10676
+ };
10262
10677
  logistics_staff_planning: {
10263
10678
  Row: {
10264
10679
  created_at: string;
@@ -11008,6 +11423,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
11008
11423
  updated_at?: string;
11009
11424
  };
11010
11425
  Relationships: [{
11426
+ foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11427
+ columns: ["product_id"];
11428
+ isOneToOne: false;
11429
+ referencedRelation: "logistics_product_dimensions";
11430
+ referencedColumns: ["product_id"];
11431
+ }, {
11011
11432
  foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11012
11433
  columns: ["product_id"];
11013
11434
  isOneToOne: false;
@@ -12314,6 +12735,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12314
12735
  order_buffers: {
12315
12736
  Row: {
12316
12737
  buffer_key: string;
12738
+ close_at: string | null;
12739
+ closed_at: string | null;
12317
12740
  created_at: string;
12318
12741
  customer_id: string | null;
12319
12742
  grouping_mode: string;
@@ -12325,6 +12748,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12325
12748
  };
12326
12749
  Insert: {
12327
12750
  buffer_key: string;
12751
+ close_at?: string | null;
12752
+ closed_at?: string | null;
12328
12753
  created_at?: string;
12329
12754
  customer_id?: string | null;
12330
12755
  grouping_mode: string;
@@ -12336,6 +12761,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12336
12761
  };
12337
12762
  Update: {
12338
12763
  buffer_key?: string;
12764
+ close_at?: string | null;
12765
+ closed_at?: string | null;
12339
12766
  created_at?: string;
12340
12767
  customer_id?: string | null;
12341
12768
  grouping_mode?: string;
@@ -12352,10 +12779,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12352
12779
  boxes: number | null;
12353
12780
  cart_id: string;
12354
12781
  crates: number;
12782
+ crates_in_layer: number | null;
12355
12783
  crates_per_layer: number;
12356
12784
  created_at: string;
12357
12785
  id: string;
12358
12786
  layer_fraction: number;
12787
+ layer_index: number | null;
12359
12788
  layer_share_pct: number;
12360
12789
  layers_per_cart: number;
12361
12790
  order_item_id: string | null;
@@ -12368,10 +12797,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12368
12797
  boxes?: number | null;
12369
12798
  cart_id: string;
12370
12799
  crates: number;
12800
+ crates_in_layer?: number | null;
12371
12801
  crates_per_layer?: number;
12372
12802
  created_at?: string;
12373
12803
  id?: string;
12374
12804
  layer_fraction?: number;
12805
+ layer_index?: number | null;
12375
12806
  layer_share_pct?: number;
12376
12807
  layers_per_cart?: number;
12377
12808
  order_item_id?: string | null;
@@ -12384,10 +12815,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12384
12815
  boxes?: number | null;
12385
12816
  cart_id?: string;
12386
12817
  crates?: number;
12818
+ crates_in_layer?: number | null;
12387
12819
  crates_per_layer?: number;
12388
12820
  created_at?: string;
12389
12821
  id?: string;
12390
12822
  layer_fraction?: number;
12823
+ layer_index?: number | null;
12391
12824
  layer_share_pct?: number;
12392
12825
  layers_per_cart?: number;
12393
12826
  order_item_id?: string | null;
@@ -12408,6 +12841,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12408
12841
  isOneToOne: false;
12409
12842
  referencedRelation: "order_items";
12410
12843
  referencedColumns: ["id"];
12844
+ }, {
12845
+ foreignKeyName: "order_cart_items_product_id_fkey";
12846
+ columns: ["product_id"];
12847
+ isOneToOne: false;
12848
+ referencedRelation: "logistics_product_dimensions";
12849
+ referencedColumns: ["product_id"];
12411
12850
  }, {
12412
12851
  foreignKeyName: "order_cart_items_product_id_fkey";
12413
12852
  columns: ["product_id"];
@@ -12416,6 +12855,93 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12416
12855
  referencedColumns: ["id"];
12417
12856
  }];
12418
12857
  };
12858
+ order_cart_layer_positions: {
12859
+ Row: {
12860
+ algorithm_version: number | null;
12861
+ cart_id: string;
12862
+ created_at: string;
12863
+ height: number;
12864
+ id: string;
12865
+ keg_id: string;
12866
+ label: string | null;
12867
+ layer: number;
12868
+ layer_height: number | null;
12869
+ layer_width: number | null;
12870
+ manual_overridden_at: string | null;
12871
+ manual_overridden_by: string | null;
12872
+ manual_override: boolean;
12873
+ order_item_id: string | null;
12874
+ original_layer: number | null;
12875
+ original_x: number | null;
12876
+ original_y: number | null;
12877
+ product_id: string | null;
12878
+ rotation: number;
12879
+ source: string | null;
12880
+ updated_at: string;
12881
+ width: number;
12882
+ x: number;
12883
+ y: number;
12884
+ };
12885
+ Insert: {
12886
+ algorithm_version?: number | null;
12887
+ cart_id: string;
12888
+ created_at?: string;
12889
+ height: number;
12890
+ id?: string;
12891
+ keg_id: string;
12892
+ label?: string | null;
12893
+ layer: number;
12894
+ layer_height?: number | null;
12895
+ layer_width?: number | null;
12896
+ manual_overridden_at?: string | null;
12897
+ manual_overridden_by?: string | null;
12898
+ manual_override?: boolean;
12899
+ order_item_id?: string | null;
12900
+ original_layer?: number | null;
12901
+ original_x?: number | null;
12902
+ original_y?: number | null;
12903
+ product_id?: string | null;
12904
+ rotation?: number;
12905
+ source?: string | null;
12906
+ updated_at?: string;
12907
+ width: number;
12908
+ x: number;
12909
+ y: number;
12910
+ };
12911
+ Update: {
12912
+ algorithm_version?: number | null;
12913
+ cart_id?: string;
12914
+ created_at?: string;
12915
+ height?: number;
12916
+ id?: string;
12917
+ keg_id?: string;
12918
+ label?: string | null;
12919
+ layer?: number;
12920
+ layer_height?: number | null;
12921
+ layer_width?: number | null;
12922
+ manual_overridden_at?: string | null;
12923
+ manual_overridden_by?: string | null;
12924
+ manual_override?: boolean;
12925
+ order_item_id?: string | null;
12926
+ original_layer?: number | null;
12927
+ original_x?: number | null;
12928
+ original_y?: number | null;
12929
+ product_id?: string | null;
12930
+ rotation?: number;
12931
+ source?: string | null;
12932
+ updated_at?: string;
12933
+ width?: number;
12934
+ x?: number;
12935
+ y?: number;
12936
+ };
12937
+ Relationships: [{
12938
+ foreignKeyName: "order_cart_layer_positions_cart_id_fkey";
12939
+ columns: ["cart_id"];
12940
+ isOneToOne: false;
12941
+ referencedRelation: "order_carts";
12942
+ referencedColumns: ["id"];
12943
+ }];
12944
+ };
12419
12945
  order_carts: {
12420
12946
  Row: {
12421
12947
  algorithm_version: number;
@@ -12427,6 +12953,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12427
12953
  id: string;
12428
12954
  is_auto: boolean;
12429
12955
  is_complete: boolean;
12956
+ layout_method: string | null;
12430
12957
  max_layers: number | null;
12431
12958
  moved_at: string | null;
12432
12959
  moved_from_moment_id: string | null;
@@ -12437,6 +12964,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12437
12964
  pickup_locked: boolean;
12438
12965
  pickup_moment_id: string | null;
12439
12966
  source: string;
12967
+ total_carts: number | null;
12440
12968
  total_layers_used: number;
12441
12969
  updated_at: string;
12442
12970
  weight_kg: number | null;
@@ -12451,6 +12979,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12451
12979
  id?: string;
12452
12980
  is_auto?: boolean;
12453
12981
  is_complete?: boolean;
12982
+ layout_method?: string | null;
12454
12983
  max_layers?: number | null;
12455
12984
  moved_at?: string | null;
12456
12985
  moved_from_moment_id?: string | null;
@@ -12461,6 +12990,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12461
12990
  pickup_locked?: boolean;
12462
12991
  pickup_moment_id?: string | null;
12463
12992
  source?: string;
12993
+ total_carts?: number | null;
12464
12994
  total_layers_used?: number;
12465
12995
  updated_at?: string;
12466
12996
  weight_kg?: number | null;
@@ -12475,6 +13005,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12475
13005
  id?: string;
12476
13006
  is_auto?: boolean;
12477
13007
  is_complete?: boolean;
13008
+ layout_method?: string | null;
12478
13009
  max_layers?: number | null;
12479
13010
  moved_at?: string | null;
12480
13011
  moved_from_moment_id?: string | null;
@@ -12485,6 +13016,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12485
13016
  pickup_locked?: boolean;
12486
13017
  pickup_moment_id?: string | null;
12487
13018
  source?: string;
13019
+ total_carts?: number | null;
12488
13020
  total_layers_used?: number;
12489
13021
  updated_at?: string;
12490
13022
  weight_kg?: number | null;
@@ -12587,6 +13119,39 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12587
13119
  };
12588
13120
  Relationships: [];
12589
13121
  };
13122
+ order_fust_bookings: {
13123
+ Row: {
13124
+ created_at: string;
13125
+ fust_type_id: string;
13126
+ id: string;
13127
+ order_item_id: string;
13128
+ quantity: number;
13129
+ updated_at: string;
13130
+ };
13131
+ Insert: {
13132
+ created_at?: string;
13133
+ fust_type_id: string;
13134
+ id?: string;
13135
+ order_item_id: string;
13136
+ quantity?: number;
13137
+ updated_at?: string;
13138
+ };
13139
+ Update: {
13140
+ created_at?: string;
13141
+ fust_type_id?: string;
13142
+ id?: string;
13143
+ order_item_id?: string;
13144
+ quantity?: number;
13145
+ updated_at?: string;
13146
+ };
13147
+ Relationships: [{
13148
+ foreignKeyName: "order_fust_bookings_fust_type_id_fkey";
13149
+ columns: ["fust_type_id"];
13150
+ isOneToOne: false;
13151
+ referencedRelation: "fust_types";
13152
+ referencedColumns: ["id"];
13153
+ }];
13154
+ };
12590
13155
  order_invoice_links: {
12591
13156
  Row: {
12592
13157
  administration_code: string | null;
@@ -12675,6 +13240,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12675
13240
  isOneToOne: false;
12676
13241
  referencedRelation: "orders";
12677
13242
  referencedColumns: ["id"];
13243
+ }, {
13244
+ foreignKeyName: "order_items_product_id_fkey";
13245
+ columns: ["product_id"];
13246
+ isOneToOne: false;
13247
+ referencedRelation: "logistics_product_dimensions";
13248
+ referencedColumns: ["product_id"];
12678
13249
  }, {
12679
13250
  foreignKeyName: "order_items_product_id_fkey";
12680
13251
  columns: ["product_id"];
@@ -12822,6 +13393,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12822
13393
  plan_locked_at: string | null;
12823
13394
  plan_locked_ref: string | null;
12824
13395
  status: string;
13396
+ status_changed_at: string;
13397
+ status_origin: string;
13398
+ status_sync_token: string | null;
12825
13399
  total: string;
12826
13400
  updated_at: string;
12827
13401
  };
@@ -12846,6 +13420,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12846
13420
  plan_locked_at?: string | null;
12847
13421
  plan_locked_ref?: string | null;
12848
13422
  status?: string;
13423
+ status_changed_at?: string;
13424
+ status_origin?: string;
13425
+ status_sync_token?: string | null;
12849
13426
  total?: string;
12850
13427
  updated_at?: string;
12851
13428
  };
@@ -12870,6 +13447,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12870
13447
  plan_locked_at?: string | null;
12871
13448
  plan_locked_ref?: string | null;
12872
13449
  status?: string;
13450
+ status_changed_at?: string;
13451
+ status_origin?: string;
13452
+ status_sync_token?: string | null;
12873
13453
  total?: string;
12874
13454
  updated_at?: string;
12875
13455
  };
@@ -12923,6 +13503,132 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12923
13503
  };
12924
13504
  Relationships: [];
12925
13505
  };
13506
+ pakbon_barcode_inhoud: {
13507
+ Row: {
13508
+ barcode: string;
13509
+ cart_id: string | null;
13510
+ cart_index: number | null;
13511
+ cart_label: string | null;
13512
+ cart_total: number | null;
13513
+ created_at: string;
13514
+ is_herprint: boolean;
13515
+ klant_naam: string | null;
13516
+ klant_nummer: string | null;
13517
+ layout_id: string | null;
13518
+ layout_variant: string | null;
13519
+ order_nummer: string | null;
13520
+ order_ref: string | null;
13521
+ print_job_id: string | null;
13522
+ regels: import("../integrations/supabase/types").Json;
13523
+ updated_at: string;
13524
+ };
13525
+ Insert: {
13526
+ barcode: string;
13527
+ cart_id?: string | null;
13528
+ cart_index?: number | null;
13529
+ cart_label?: string | null;
13530
+ cart_total?: number | null;
13531
+ created_at?: string;
13532
+ is_herprint?: boolean;
13533
+ klant_naam?: string | null;
13534
+ klant_nummer?: string | null;
13535
+ layout_id?: string | null;
13536
+ layout_variant?: string | null;
13537
+ order_nummer?: string | null;
13538
+ order_ref?: string | null;
13539
+ print_job_id?: string | null;
13540
+ regels?: import("../integrations/supabase/types").Json;
13541
+ updated_at?: string;
13542
+ };
13543
+ Update: {
13544
+ barcode?: string;
13545
+ cart_id?: string | null;
13546
+ cart_index?: number | null;
13547
+ cart_label?: string | null;
13548
+ cart_total?: number | null;
13549
+ created_at?: string;
13550
+ is_herprint?: boolean;
13551
+ klant_naam?: string | null;
13552
+ klant_nummer?: string | null;
13553
+ layout_id?: string | null;
13554
+ layout_variant?: string | null;
13555
+ order_nummer?: string | null;
13556
+ order_ref?: string | null;
13557
+ print_job_id?: string | null;
13558
+ regels?: import("../integrations/supabase/types").Json;
13559
+ updated_at?: string;
13560
+ };
13561
+ Relationships: [];
13562
+ };
13563
+ pakbon_barcode_verzoeken: {
13564
+ Row: {
13565
+ aangevraagd_op: string;
13566
+ barcode: string | null;
13567
+ cart_id: string | null;
13568
+ cart_index: number | null;
13569
+ cart_label: string | null;
13570
+ cart_total: number | null;
13571
+ documentnaam: string | null;
13572
+ geleverd_op: string | null;
13573
+ id: string;
13574
+ is_herprint: boolean;
13575
+ klant_naam: string | null;
13576
+ klant_nummer: string | null;
13577
+ laatst_gevraagd_op: string;
13578
+ layout_id: string | null;
13579
+ layout_variant: string | null;
13580
+ order_nummer: string | null;
13581
+ order_ref: string | null;
13582
+ print_job_id: string;
13583
+ status: string;
13584
+ updated_at: string;
13585
+ };
13586
+ Insert: {
13587
+ aangevraagd_op?: string;
13588
+ barcode?: string | null;
13589
+ cart_id?: string | null;
13590
+ cart_index?: number | null;
13591
+ cart_label?: string | null;
13592
+ cart_total?: number | null;
13593
+ documentnaam?: string | null;
13594
+ geleverd_op?: string | null;
13595
+ id?: string;
13596
+ is_herprint?: boolean;
13597
+ klant_naam?: string | null;
13598
+ klant_nummer?: string | null;
13599
+ laatst_gevraagd_op?: string;
13600
+ layout_id?: string | null;
13601
+ layout_variant?: string | null;
13602
+ order_nummer?: string | null;
13603
+ order_ref?: string | null;
13604
+ print_job_id: string;
13605
+ status?: string;
13606
+ updated_at?: string;
13607
+ };
13608
+ Update: {
13609
+ aangevraagd_op?: string;
13610
+ barcode?: string | null;
13611
+ cart_id?: string | null;
13612
+ cart_index?: number | null;
13613
+ cart_label?: string | null;
13614
+ cart_total?: number | null;
13615
+ documentnaam?: string | null;
13616
+ geleverd_op?: string | null;
13617
+ id?: string;
13618
+ is_herprint?: boolean;
13619
+ klant_naam?: string | null;
13620
+ klant_nummer?: string | null;
13621
+ laatst_gevraagd_op?: string;
13622
+ layout_id?: string | null;
13623
+ layout_variant?: string | null;
13624
+ order_nummer?: string | null;
13625
+ order_ref?: string | null;
13626
+ print_job_id?: string;
13627
+ status?: string;
13628
+ updated_at?: string;
13629
+ };
13630
+ Relationships: [];
13631
+ };
12926
13632
  pick_countries: {
12927
13633
  Row: {
12928
13634
  active: boolean;
@@ -13080,6 +13786,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
13080
13786
  print_job_id: string | null;
13081
13787
  printed_at: string | null;
13082
13788
  printed_by: string | null;
13789
+ printed_cart_ids: import("../integrations/supabase/types").Json;
13083
13790
  printer_id: string | null;
13084
13791
  priority: number;
13085
13792
  reference: string | null;
@@ -13114,6 +13821,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
13114
13821
  print_job_id?: string | null;
13115
13822
  printed_at?: string | null;
13116
13823
  printed_by?: string | null;
13824
+ printed_cart_ids?: import("../integrations/supabase/types").Json;
13117
13825
  printer_id?: string | null;
13118
13826
  priority?: number;
13119
13827
  reference?: string | null;
@@ -13148,6 +13856,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
13148
13856
  print_job_id?: string | null;
13149
13857
  printed_at?: string | null;
13150
13858
  printed_by?: string | null;
13859
+ printed_cart_ids?: import("../integrations/supabase/types").Json;
13151
13860
  printer_id?: string | null;
13152
13861
  priority?: number;
13153
13862
  reference?: string | null;
@@ -13998,6 +14707,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
13998
14707
  isOneToOne: false;
13999
14708
  referencedRelation: "werkbonnen";
14000
14709
  referencedColumns: ["id"];
14710
+ }, {
14711
+ foreignKeyName: "planning_items_werkbon_id_fkey";
14712
+ columns: ["werkbon_id"];
14713
+ isOneToOne: false;
14714
+ referencedRelation: "wo_overview";
14715
+ referencedColumns: ["id"];
14001
14716
  }];
14002
14717
  };
14003
14718
  print_agents: {
@@ -14113,12 +14828,21 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14113
14828
  };
14114
14829
  print_jobs: {
14115
14830
  Row: {
14831
+ aflever_pogingen: number;
14116
14832
  agent_id: string | null;
14833
+ artefact_bytes: number | null;
14834
+ artefact_gereed_op: string | null;
14835
+ artefact_pad: string | null;
14836
+ artefact_sha256: string | null;
14837
+ batch_id: string | null;
14117
14838
  bron_job_id: string | null;
14118
14839
  created_at: string;
14119
14840
  documentnaam: string;
14120
14841
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
14121
14842
  extern_job_id: string | null;
14843
+ fase_gestart_op: string | null;
14844
+ fase_voltooid_op: string | null;
14845
+ foutcode: string | null;
14122
14846
  foutmelding: string | null;
14123
14847
  gebruiker_id: string | null;
14124
14848
  gebruiker_naam: string;
@@ -14132,7 +14856,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14132
14856
  kopieen: number;
14133
14857
  layout_id: string | null;
14134
14858
  lokaal_opgeslagen_op: string | null;
14859
+ lokale_pdf_claim_id: string | null;
14860
+ lokale_pdf_claim_tot: string | null;
14135
14861
  lokale_pdf_fout: string | null;
14862
+ lokale_pdf_print_plek_id: string | null;
14136
14863
  lokale_pdf_status: string | null;
14137
14864
  opgepakt_op: string | null;
14138
14865
  paginas: number;
@@ -14145,16 +14872,26 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14145
14872
  resultaat_pdf_base64: string | null;
14146
14873
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
14147
14874
  updated_at: string;
14875
+ verwerkingsfase: string;
14148
14876
  volgende_poging: string | null;
14149
14877
  voltooid_op: string | null;
14150
14878
  };
14151
14879
  Insert: {
14880
+ aflever_pogingen?: number;
14152
14881
  agent_id?: string | null;
14882
+ artefact_bytes?: number | null;
14883
+ artefact_gereed_op?: string | null;
14884
+ artefact_pad?: string | null;
14885
+ artefact_sha256?: string | null;
14886
+ batch_id?: string | null;
14153
14887
  bron_job_id?: string | null;
14154
14888
  created_at?: string;
14155
14889
  documentnaam?: string;
14156
14890
  documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
14157
14891
  extern_job_id?: string | null;
14892
+ fase_gestart_op?: string | null;
14893
+ fase_voltooid_op?: string | null;
14894
+ foutcode?: string | null;
14158
14895
  foutmelding?: string | null;
14159
14896
  gebruiker_id?: string | null;
14160
14897
  gebruiker_naam?: string;
@@ -14168,7 +14905,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14168
14905
  kopieen?: number;
14169
14906
  layout_id?: string | null;
14170
14907
  lokaal_opgeslagen_op?: string | null;
14908
+ lokale_pdf_claim_id?: string | null;
14909
+ lokale_pdf_claim_tot?: string | null;
14171
14910
  lokale_pdf_fout?: string | null;
14911
+ lokale_pdf_print_plek_id?: string | null;
14172
14912
  lokale_pdf_status?: string | null;
14173
14913
  opgepakt_op?: string | null;
14174
14914
  paginas?: number;
@@ -14181,16 +14921,26 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14181
14921
  resultaat_pdf_base64?: string | null;
14182
14922
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
14183
14923
  updated_at?: string;
14924
+ verwerkingsfase?: string;
14184
14925
  volgende_poging?: string | null;
14185
14926
  voltooid_op?: string | null;
14186
14927
  };
14187
14928
  Update: {
14929
+ aflever_pogingen?: number;
14188
14930
  agent_id?: string | null;
14931
+ artefact_bytes?: number | null;
14932
+ artefact_gereed_op?: string | null;
14933
+ artefact_pad?: string | null;
14934
+ artefact_sha256?: string | null;
14935
+ batch_id?: string | null;
14189
14936
  bron_job_id?: string | null;
14190
14937
  created_at?: string;
14191
14938
  documentnaam?: string;
14192
14939
  documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
14193
14940
  extern_job_id?: string | null;
14941
+ fase_gestart_op?: string | null;
14942
+ fase_voltooid_op?: string | null;
14943
+ foutcode?: string | null;
14194
14944
  foutmelding?: string | null;
14195
14945
  gebruiker_id?: string | null;
14196
14946
  gebruiker_naam?: string;
@@ -14204,7 +14954,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14204
14954
  kopieen?: number;
14205
14955
  layout_id?: string | null;
14206
14956
  lokaal_opgeslagen_op?: string | null;
14957
+ lokale_pdf_claim_id?: string | null;
14958
+ lokale_pdf_claim_tot?: string | null;
14207
14959
  lokale_pdf_fout?: string | null;
14960
+ lokale_pdf_print_plek_id?: string | null;
14208
14961
  lokale_pdf_status?: string | null;
14209
14962
  opgepakt_op?: string | null;
14210
14963
  paginas?: number;
@@ -14217,6 +14970,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14217
14970
  resultaat_pdf_base64?: string | null;
14218
14971
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
14219
14972
  updated_at?: string;
14973
+ verwerkingsfase?: string;
14220
14974
  volgende_poging?: string | null;
14221
14975
  voltooid_op?: string | null;
14222
14976
  };
@@ -14232,6 +14986,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14232
14986
  isOneToOne: false;
14233
14987
  referencedRelation: "document_layouts";
14234
14988
  referencedColumns: ["id"];
14989
+ }, {
14990
+ foreignKeyName: "print_jobs_lokale_pdf_print_plek_id_fkey";
14991
+ columns: ["lokale_pdf_print_plek_id"];
14992
+ isOneToOne: false;
14993
+ referencedRelation: "print_plekken";
14994
+ referencedColumns: ["id"];
14235
14995
  }, {
14236
14996
  foreignKeyName: "print_jobs_printer_id_fkey";
14237
14997
  columns: ["printer_id"];
@@ -14366,6 +15126,30 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14366
15126
  };
14367
15127
  Relationships: [];
14368
15128
  };
15129
+ print_queue_leases: {
15130
+ Row: {
15131
+ created_at: string;
15132
+ houder: string;
15133
+ naam: string;
15134
+ updated_at: string;
15135
+ verloopt_op: string;
15136
+ };
15137
+ Insert: {
15138
+ created_at?: string;
15139
+ houder: string;
15140
+ naam: string;
15141
+ updated_at?: string;
15142
+ verloopt_op: string;
15143
+ };
15144
+ Update: {
15145
+ created_at?: string;
15146
+ houder?: string;
15147
+ naam?: string;
15148
+ updated_at?: string;
15149
+ verloopt_op?: string;
15150
+ };
15151
+ Relationships: [];
15152
+ };
14369
15153
  print_queue_runners: {
14370
15154
  Row: {
14371
15155
  actief: boolean;
@@ -14375,7 +15159,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14375
15159
  laatst_gezien: string;
14376
15160
  laatste_fout: string | null;
14377
15161
  laatste_request_id: number | null;
15162
+ laatste_wakeup: string | null;
14378
15163
  mislukte_posts: number;
15164
+ mislukte_wakeups: number;
14379
15165
  tick_sleutel: string;
14380
15166
  updated_at: string;
14381
15167
  };
@@ -14387,7 +15173,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14387
15173
  laatst_gezien?: string;
14388
15174
  laatste_fout?: string | null;
14389
15175
  laatste_request_id?: number | null;
15176
+ laatste_wakeup?: string | null;
14390
15177
  mislukte_posts?: number;
15178
+ mislukte_wakeups?: number;
14391
15179
  tick_sleutel?: string;
14392
15180
  updated_at?: string;
14393
15181
  };
@@ -14399,7 +15187,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14399
15187
  laatst_gezien?: string;
14400
15188
  laatste_fout?: string | null;
14401
15189
  laatste_request_id?: number | null;
15190
+ laatste_wakeup?: string | null;
14402
15191
  mislukte_posts?: number;
15192
+ mislukte_wakeups?: number;
14403
15193
  tick_sleutel?: string;
14404
15194
  updated_at?: string;
14405
15195
  };
@@ -14713,6 +15503,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14713
15503
  updated_at?: string;
14714
15504
  };
14715
15505
  Relationships: [{
15506
+ foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
15507
+ columns: ["parent_product_id"];
15508
+ isOneToOne: false;
15509
+ referencedRelation: "logistics_product_dimensions";
15510
+ referencedColumns: ["product_id"];
15511
+ }, {
14716
15512
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
14717
15513
  columns: ["parent_product_id"];
14718
15514
  isOneToOne: false;
@@ -14767,11 +15563,23 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14767
15563
  updated_at?: string;
14768
15564
  };
14769
15565
  Relationships: [{
15566
+ foreignKeyName: "product_bom_items_component_product_id_fkey";
15567
+ columns: ["component_product_id"];
15568
+ isOneToOne: false;
15569
+ referencedRelation: "logistics_product_dimensions";
15570
+ referencedColumns: ["product_id"];
15571
+ }, {
14770
15572
  foreignKeyName: "product_bom_items_component_product_id_fkey";
14771
15573
  columns: ["component_product_id"];
14772
15574
  isOneToOne: false;
14773
15575
  referencedRelation: "products";
14774
15576
  referencedColumns: ["id"];
15577
+ }, {
15578
+ foreignKeyName: "product_bom_items_parent_product_id_fkey";
15579
+ columns: ["parent_product_id"];
15580
+ isOneToOne: false;
15581
+ referencedRelation: "logistics_product_dimensions";
15582
+ referencedColumns: ["product_id"];
14775
15583
  }, {
14776
15584
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
14777
15585
  columns: ["parent_product_id"];
@@ -14947,6 +15755,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14947
15755
  updated_at?: string;
14948
15756
  };
14949
15757
  Relationships: [{
15758
+ foreignKeyName: "product_groups_head_product_id_fkey";
15759
+ columns: ["head_product_id"];
15760
+ isOneToOne: false;
15761
+ referencedRelation: "logistics_product_dimensions";
15762
+ referencedColumns: ["product_id"];
15763
+ }, {
14950
15764
  foreignKeyName: "product_groups_head_product_id_fkey";
14951
15765
  columns: ["head_product_id"];
14952
15766
  isOneToOne: false;
@@ -15012,6 +15826,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15012
15826
  isOneToOne: false;
15013
15827
  referencedRelation: "packages";
15014
15828
  referencedColumns: ["id"];
15829
+ }, {
15830
+ foreignKeyName: "product_load_settings_product_id_fkey";
15831
+ columns: ["product_id"];
15832
+ isOneToOne: false;
15833
+ referencedRelation: "logistics_product_dimensions";
15834
+ referencedColumns: ["product_id"];
15015
15835
  }, {
15016
15836
  foreignKeyName: "product_load_settings_product_id_fkey";
15017
15837
  columns: ["product_id"];
@@ -15062,6 +15882,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15062
15882
  created_at: string;
15063
15883
  custom_fields: import("../integrations/supabase/types").Json;
15064
15884
  floriday_trade_item_id: string | null;
15885
+ fust_type_id: string | null;
15065
15886
  id: string;
15066
15887
  image_url: string | null;
15067
15888
  incoming_quantity: number;
@@ -15069,6 +15890,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15069
15890
  layers_per_cart: number;
15070
15891
  location: string;
15071
15892
  min_quantity: number;
15893
+ plant_height_cm: number | null;
15072
15894
  plants_per_crate: number;
15073
15895
  product: string;
15074
15896
  product_type: string;
@@ -15088,6 +15910,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15088
15910
  created_at?: string;
15089
15911
  custom_fields?: import("../integrations/supabase/types").Json;
15090
15912
  floriday_trade_item_id?: string | null;
15913
+ fust_type_id?: string | null;
15091
15914
  id?: string;
15092
15915
  image_url?: string | null;
15093
15916
  incoming_quantity?: number;
@@ -15095,6 +15918,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15095
15918
  layers_per_cart?: number;
15096
15919
  location: string;
15097
15920
  min_quantity?: number;
15921
+ plant_height_cm?: number | null;
15098
15922
  plants_per_crate?: number;
15099
15923
  product: string;
15100
15924
  product_type?: string;
@@ -15114,6 +15938,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15114
15938
  created_at?: string;
15115
15939
  custom_fields?: import("../integrations/supabase/types").Json;
15116
15940
  floriday_trade_item_id?: string | null;
15941
+ fust_type_id?: string | null;
15117
15942
  id?: string;
15118
15943
  image_url?: string | null;
15119
15944
  incoming_quantity?: number;
@@ -15121,6 +15946,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15121
15946
  layers_per_cart?: number;
15122
15947
  location?: string;
15123
15948
  min_quantity?: number;
15949
+ plant_height_cm?: number | null;
15124
15950
  plants_per_crate?: number;
15125
15951
  product?: string;
15126
15952
  product_type?: string;
@@ -15132,7 +15958,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15132
15958
  updated_at?: string;
15133
15959
  weight?: string | null;
15134
15960
  };
15135
- Relationships: [];
15961
+ Relationships: [{
15962
+ foreignKeyName: "products_fust_type_id_fkey";
15963
+ columns: ["fust_type_id"];
15964
+ isOneToOne: false;
15965
+ referencedRelation: "fust_types";
15966
+ referencedColumns: ["id"];
15967
+ }];
15136
15968
  };
15137
15969
  profile_modules: {
15138
15970
  Row: {
@@ -15466,6 +16298,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15466
16298
  quantity?: number;
15467
16299
  };
15468
16300
  Relationships: [{
16301
+ foreignKeyName: "purchase_order_items_product_id_fkey";
16302
+ columns: ["product_id"];
16303
+ isOneToOne: false;
16304
+ referencedRelation: "logistics_product_dimensions";
16305
+ referencedColumns: ["product_id"];
16306
+ }, {
15469
16307
  foreignKeyName: "purchase_order_items_product_id_fkey";
15470
16308
  columns: ["product_id"];
15471
16309
  isOneToOne: false;
@@ -15785,6 +16623,102 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15785
16623
  referencedColumns: ["id"];
15786
16624
  }];
15787
16625
  };
16626
+ scan_kar_sessie_regels: {
16627
+ Row: {
16628
+ barcode: string;
16629
+ cart_id: string | null;
16630
+ created_at: string;
16631
+ id: string;
16632
+ order_id: string | null;
16633
+ order_number: string | null;
16634
+ regels: import("../integrations/supabase/types").Json;
16635
+ sessie_id: string;
16636
+ volledig: boolean;
16637
+ };
16638
+ Insert: {
16639
+ barcode: string;
16640
+ cart_id?: string | null;
16641
+ created_at?: string;
16642
+ id?: string;
16643
+ order_id?: string | null;
16644
+ order_number?: string | null;
16645
+ regels?: import("../integrations/supabase/types").Json;
16646
+ sessie_id: string;
16647
+ volledig?: boolean;
16648
+ };
16649
+ Update: {
16650
+ barcode?: string;
16651
+ cart_id?: string | null;
16652
+ created_at?: string;
16653
+ id?: string;
16654
+ order_id?: string | null;
16655
+ order_number?: string | null;
16656
+ regels?: import("../integrations/supabase/types").Json;
16657
+ sessie_id?: string;
16658
+ volledig?: boolean;
16659
+ };
16660
+ Relationships: [{
16661
+ foreignKeyName: "scan_kar_sessie_regels_sessie_id_fkey";
16662
+ columns: ["sessie_id"];
16663
+ isOneToOne: false;
16664
+ referencedRelation: "scan_kar_sessies";
16665
+ referencedColumns: ["id"];
16666
+ }];
16667
+ };
16668
+ scan_kar_sessies: {
16669
+ Row: {
16670
+ afgerond_op: string | null;
16671
+ cart_id: string | null;
16672
+ cart_index: number | null;
16673
+ cart_total: number | null;
16674
+ created_at: string;
16675
+ id: string;
16676
+ klant_naam: string | null;
16677
+ medewerker_naam: string | null;
16678
+ order_id: string | null;
16679
+ order_number: string | null;
16680
+ scanner_id: string | null;
16681
+ status: string;
16682
+ updated_at: string;
16683
+ };
16684
+ Insert: {
16685
+ afgerond_op?: string | null;
16686
+ cart_id?: string | null;
16687
+ cart_index?: number | null;
16688
+ cart_total?: number | null;
16689
+ created_at?: string;
16690
+ id?: string;
16691
+ klant_naam?: string | null;
16692
+ medewerker_naam?: string | null;
16693
+ order_id?: string | null;
16694
+ order_number?: string | null;
16695
+ scanner_id?: string | null;
16696
+ status?: string;
16697
+ updated_at?: string;
16698
+ };
16699
+ Update: {
16700
+ afgerond_op?: string | null;
16701
+ cart_id?: string | null;
16702
+ cart_index?: number | null;
16703
+ cart_total?: number | null;
16704
+ created_at?: string;
16705
+ id?: string;
16706
+ klant_naam?: string | null;
16707
+ medewerker_naam?: string | null;
16708
+ order_id?: string | null;
16709
+ order_number?: string | null;
16710
+ scanner_id?: string | null;
16711
+ status?: string;
16712
+ updated_at?: string;
16713
+ };
16714
+ Relationships: [{
16715
+ foreignKeyName: "scan_kar_sessies_scanner_id_fkey";
16716
+ columns: ["scanner_id"];
16717
+ isOneToOne: false;
16718
+ referencedRelation: "scan_scanners";
16719
+ referencedColumns: ["id"];
16720
+ }];
16721
+ };
15788
16722
  scan_karren: {
15789
16723
  Row: {
15790
16724
  afgerond_op: string | null;
@@ -15989,6 +16923,60 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15989
16923
  };
15990
16924
  Relationships: [];
15991
16925
  };
16926
+ scan_restpakbonnen: {
16927
+ Row: {
16928
+ barcode: string;
16929
+ bron_barcode: string | null;
16930
+ cart_id: string | null;
16931
+ cart_index: number | null;
16932
+ cart_total: number | null;
16933
+ created_at: string;
16934
+ geprint_op: string | null;
16935
+ id: string;
16936
+ klant_naam: string | null;
16937
+ order_id: string | null;
16938
+ order_number: string | null;
16939
+ print_job_id: string | null;
16940
+ regels: import("../integrations/supabase/types").Json;
16941
+ updated_at: string;
16942
+ verwerkt: boolean;
16943
+ };
16944
+ Insert: {
16945
+ barcode: string;
16946
+ bron_barcode?: string | null;
16947
+ cart_id?: string | null;
16948
+ cart_index?: number | null;
16949
+ cart_total?: number | null;
16950
+ created_at?: string;
16951
+ geprint_op?: string | null;
16952
+ id?: string;
16953
+ klant_naam?: string | null;
16954
+ order_id?: string | null;
16955
+ order_number?: string | null;
16956
+ print_job_id?: string | null;
16957
+ regels?: import("../integrations/supabase/types").Json;
16958
+ updated_at?: string;
16959
+ verwerkt?: boolean;
16960
+ };
16961
+ Update: {
16962
+ barcode?: string;
16963
+ bron_barcode?: string | null;
16964
+ cart_id?: string | null;
16965
+ cart_index?: number | null;
16966
+ cart_total?: number | null;
16967
+ created_at?: string;
16968
+ geprint_op?: string | null;
16969
+ id?: string;
16970
+ klant_naam?: string | null;
16971
+ order_id?: string | null;
16972
+ order_number?: string | null;
16973
+ print_job_id?: string | null;
16974
+ regels?: import("../integrations/supabase/types").Json;
16975
+ updated_at?: string;
16976
+ verwerkt?: boolean;
16977
+ };
16978
+ Relationships: [];
16979
+ };
15992
16980
  scan_scanners: {
15993
16981
  Row: {
15994
16982
  actief: boolean;
@@ -15998,6 +16986,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15998
16986
  naam: string;
15999
16987
  omschrijving: string | null;
16000
16988
  pincode: string | null;
16989
+ printer_id: string | null;
16001
16990
  slug: string;
16002
16991
  type: string;
16003
16992
  updated_at: string;
@@ -16012,6 +17001,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
16012
17001
  naam: string;
16013
17002
  omschrijving?: string | null;
16014
17003
  pincode?: string | null;
17004
+ printer_id?: string | null;
16015
17005
  slug: string;
16016
17006
  type?: string;
16017
17007
  updated_at?: string;
@@ -16026,6 +17016,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
16026
17016
  naam?: string;
16027
17017
  omschrijving?: string | null;
16028
17018
  pincode?: string | null;
17019
+ printer_id?: string | null;
16029
17020
  slug?: string;
16030
17021
  type?: string;
16031
17022
  updated_at?: string;
@@ -16034,6 +17025,27 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
16034
17025
  };
16035
17026
  Relationships: [];
16036
17027
  };
17028
+ shell_settings: {
17029
+ Row: {
17030
+ created_at: string;
17031
+ default_path: string | null;
17032
+ shell_id: string;
17033
+ updated_at: string;
17034
+ };
17035
+ Insert: {
17036
+ created_at?: string;
17037
+ default_path?: string | null;
17038
+ shell_id: string;
17039
+ updated_at?: string;
17040
+ };
17041
+ Update: {
17042
+ created_at?: string;
17043
+ default_path?: string | null;
17044
+ shell_id?: string;
17045
+ updated_at?: string;
17046
+ };
17047
+ Relationships: [];
17048
+ };
16037
17049
  sick_periods: {
16038
17050
  Row: {
16039
17051
  created_at: string;
@@ -16653,6 +17665,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
16653
17665
  isOneToOne: false;
16654
17666
  referencedRelation: "werkbonnen";
16655
17667
  referencedColumns: ["id"];
17668
+ }, {
17669
+ foreignKeyName: "time_logs_work_order_id_fkey";
17670
+ columns: ["work_order_id"];
17671
+ isOneToOne: false;
17672
+ referencedRelation: "wo_overview";
17673
+ referencedColumns: ["id"];
16656
17674
  }];
16657
17675
  };
16658
17676
  time_off_entries: {
@@ -17946,6 +18964,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
17946
18964
  isOneToOne: false;
17947
18965
  referencedRelation: "werkbonnen";
17948
18966
  referencedColumns: ["id"];
18967
+ }, {
18968
+ foreignKeyName: "uren_entries_werkbon_id_fkey";
18969
+ columns: ["werkbon_id"];
18970
+ isOneToOne: false;
18971
+ referencedRelation: "wo_overview";
18972
+ referencedColumns: ["id"];
17949
18973
  }];
17950
18974
  };
17951
18975
  uren_exports: {
@@ -18669,6 +19693,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
18669
19693
  isOneToOne: true;
18670
19694
  referencedRelation: "werkbonnen";
18671
19695
  referencedColumns: ["id"];
19696
+ }, {
19697
+ foreignKeyName: "werkbon_facturatie_controle_werkbon_id_fkey";
19698
+ columns: ["werkbon_id"];
19699
+ isOneToOne: true;
19700
+ referencedRelation: "wo_overview";
19701
+ referencedColumns: ["id"];
18672
19702
  }];
18673
19703
  };
18674
19704
  werkbon_facturatie_settings: {
@@ -18756,6 +19786,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
18756
19786
  isOneToOne: false;
18757
19787
  referencedRelation: "werkbonnen";
18758
19788
  referencedColumns: ["id"];
19789
+ }, {
19790
+ foreignKeyName: "werkbon_materials_werkbon_id_fkey";
19791
+ columns: ["werkbon_id"];
19792
+ isOneToOne: false;
19793
+ referencedRelation: "wo_overview";
19794
+ referencedColumns: ["id"];
18759
19795
  }];
18760
19796
  };
18761
19797
  werkbon_package_ai_rules: {
@@ -18939,6 +19975,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
18939
19975
  isOneToOne: false;
18940
19976
  referencedRelation: "werkbonnen";
18941
19977
  referencedColumns: ["id"];
19978
+ }, {
19979
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
19980
+ columns: ["werkbon_id"];
19981
+ isOneToOne: false;
19982
+ referencedRelation: "wo_overview";
19983
+ referencedColumns: ["id"];
18942
19984
  }];
18943
19985
  };
18944
19986
  werkbon_packages: {
@@ -19029,6 +20071,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19029
20071
  isOneToOne: false;
19030
20072
  referencedRelation: "werkbonnen";
19031
20073
  referencedColumns: ["id"];
20074
+ }, {
20075
+ foreignKeyName: "werkbon_photos_werkbon_id_fkey";
20076
+ columns: ["werkbon_id"];
20077
+ isOneToOne: false;
20078
+ referencedRelation: "wo_overview";
20079
+ referencedColumns: ["id"];
19032
20080
  }];
19033
20081
  };
19034
20082
  werkbon_time_logs: {
@@ -19068,6 +20116,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19068
20116
  isOneToOne: false;
19069
20117
  referencedRelation: "werkbonnen";
19070
20118
  referencedColumns: ["id"];
20119
+ }, {
20120
+ foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
20121
+ columns: ["werkbon_id"];
20122
+ isOneToOne: false;
20123
+ referencedRelation: "wo_overview";
20124
+ referencedColumns: ["id"];
19071
20125
  }];
19072
20126
  };
19073
20127
  werkbonnen: {
@@ -19191,6 +20245,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19191
20245
  isOneToOne: false;
19192
20246
  referencedRelation: "werkbonnen";
19193
20247
  referencedColumns: ["id"];
20248
+ }, {
20249
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
20250
+ columns: ["parent_werkbon_id"];
20251
+ isOneToOne: false;
20252
+ referencedRelation: "wo_overview";
20253
+ referencedColumns: ["id"];
19194
20254
  }, {
19195
20255
  foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
19196
20256
  columns: ["source_mailbox_message_id"];
@@ -19659,6 +20719,24 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19659
20719
  };
19660
20720
  Relationships: [];
19661
20721
  };
20722
+ logistics_product_dimensions: {
20723
+ Row: {
20724
+ dimension_source: string | null;
20725
+ fust_height_mm: number | null;
20726
+ fust_length_mm: number | null;
20727
+ fust_name: string | null;
20728
+ fust_source: string | null;
20729
+ fust_type_id: string | null;
20730
+ fust_width_mm: number | null;
20731
+ height_source: string | null;
20732
+ missing_reason: string | null;
20733
+ plant_height_cm: number | null;
20734
+ plants_per_crate: number | null;
20735
+ product_id: string | null;
20736
+ product_name: string | null;
20737
+ };
20738
+ Relationships: [];
20739
+ };
19662
20740
  manufacture_product_possible_stock_view: {
19663
20741
  Row: {
19664
20742
  component_count: number | null;
@@ -19696,6 +20774,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19696
20774
  isOneToOne: false;
19697
20775
  referencedRelation: "werkbonnen";
19698
20776
  referencedColumns: ["id"];
20777
+ }, {
20778
+ foreignKeyName: "planning_items_werkbon_id_fkey";
20779
+ columns: ["werkbon_id"];
20780
+ isOneToOne: false;
20781
+ referencedRelation: "wo_overview";
20782
+ referencedColumns: ["id"];
19699
20783
  }];
19700
20784
  };
19701
20785
  product_group_stock_view: {
@@ -20157,6 +21241,81 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20157
21241
  isOneToOne: false;
20158
21242
  referencedRelation: "werkbonnen";
20159
21243
  referencedColumns: ["id"];
21244
+ }, {
21245
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
21246
+ columns: ["werkbon_id"];
21247
+ isOneToOne: false;
21248
+ referencedRelation: "wo_overview";
21249
+ referencedColumns: ["id"];
21250
+ }];
21251
+ };
21252
+ wo_overview: {
21253
+ Row: {
21254
+ assigned_user_id: string | null;
21255
+ budget_mandate_cents: number | null;
21256
+ created_at: string | null;
21257
+ customer_id: string | null;
21258
+ id: string | null;
21259
+ needs_detail_review: boolean | null;
21260
+ number: string | null;
21261
+ parent_werkbon_id: string | null;
21262
+ planning_status: string | null;
21263
+ scheduled_end_time: string | null;
21264
+ scheduled_start_time: string | null;
21265
+ source_type: string | null;
21266
+ status: string | null;
21267
+ technician_id: string | null;
21268
+ updated_at: string | null;
21269
+ work_address: string | null;
21270
+ };
21271
+ Insert: {
21272
+ assigned_user_id?: string | null;
21273
+ budget_mandate_cents?: number | null;
21274
+ created_at?: string | null;
21275
+ customer_id?: string | null;
21276
+ id?: string | null;
21277
+ needs_detail_review?: boolean | null;
21278
+ number?: string | null;
21279
+ parent_werkbon_id?: string | null;
21280
+ planning_status?: string | null;
21281
+ scheduled_end_time?: string | null;
21282
+ scheduled_start_time?: string | null;
21283
+ source_type?: string | null;
21284
+ status?: string | null;
21285
+ technician_id?: string | null;
21286
+ updated_at?: string | null;
21287
+ work_address?: string | null;
21288
+ };
21289
+ Update: {
21290
+ assigned_user_id?: string | null;
21291
+ budget_mandate_cents?: number | null;
21292
+ created_at?: string | null;
21293
+ customer_id?: string | null;
21294
+ id?: string | null;
21295
+ needs_detail_review?: boolean | null;
21296
+ number?: string | null;
21297
+ parent_werkbon_id?: string | null;
21298
+ planning_status?: string | null;
21299
+ scheduled_end_time?: string | null;
21300
+ scheduled_start_time?: string | null;
21301
+ source_type?: string | null;
21302
+ status?: string | null;
21303
+ technician_id?: string | null;
21304
+ updated_at?: string | null;
21305
+ work_address?: string | null;
21306
+ };
21307
+ Relationships: [{
21308
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21309
+ columns: ["parent_werkbon_id"];
21310
+ isOneToOne: false;
21311
+ referencedRelation: "werkbonnen";
21312
+ referencedColumns: ["id"];
21313
+ }, {
21314
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21315
+ columns: ["parent_werkbon_id"];
21316
+ isOneToOne: false;
21317
+ referencedRelation: "wo_overview";
21318
+ referencedColumns: ["id"];
20160
21319
  }];
20161
21320
  };
20162
21321
  };
@@ -20348,12 +21507,21 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20348
21507
  _max?: number;
20349
21508
  };
20350
21509
  Returns: {
21510
+ aflever_pogingen: number;
20351
21511
  agent_id: string | null;
21512
+ artefact_bytes: number | null;
21513
+ artefact_gereed_op: string | null;
21514
+ artefact_pad: string | null;
21515
+ artefact_sha256: string | null;
21516
+ batch_id: string | null;
20352
21517
  bron_job_id: string | null;
20353
21518
  created_at: string;
20354
21519
  documentnaam: string;
20355
21520
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20356
21521
  extern_job_id: string | null;
21522
+ fase_gestart_op: string | null;
21523
+ fase_voltooid_op: string | null;
21524
+ foutcode: string | null;
20357
21525
  foutmelding: string | null;
20358
21526
  gebruiker_id: string | null;
20359
21527
  gebruiker_naam: string;
@@ -20367,7 +21535,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20367
21535
  kopieen: number;
20368
21536
  layout_id: string | null;
20369
21537
  lokaal_opgeslagen_op: string | null;
21538
+ lokale_pdf_claim_id: string | null;
21539
+ lokale_pdf_claim_tot: string | null;
20370
21540
  lokale_pdf_fout: string | null;
21541
+ lokale_pdf_print_plek_id: string | null;
20371
21542
  lokale_pdf_status: string | null;
20372
21543
  opgepakt_op: string | null;
20373
21544
  paginas: number;
@@ -20380,6 +21551,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20380
21551
  resultaat_pdf_base64: string | null;
20381
21552
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20382
21553
  updated_at: string;
21554
+ verwerkingsfase: string;
20383
21555
  volgende_poging: string | null;
20384
21556
  voltooid_op: string | null;
20385
21557
  }[];
@@ -20426,6 +21598,25 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20426
21598
  isSetofReturn: true;
20427
21599
  };
20428
21600
  };
21601
+ claim_local_pdf_jobs: {
21602
+ Args: {
21603
+ _max?: number;
21604
+ _print_plek_id: string;
21605
+ _writer_id: string;
21606
+ };
21607
+ Returns: {
21608
+ artefact_bytes: number;
21609
+ artefact_pad: string;
21610
+ artefact_sha256: string;
21611
+ documentnaam: string;
21612
+ id: string;
21613
+ lokale_pdf_print_plek_id: string;
21614
+ lokale_pdf_status: string;
21615
+ printer_id: string;
21616
+ resultaat_pdf_base64: string;
21617
+ status: string;
21618
+ }[];
21619
+ };
20429
21620
  claim_logistics_tasks: {
20430
21621
  Args: {
20431
21622
  _limit?: number;
@@ -20479,12 +21670,21 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20479
21670
  _max?: number;
20480
21671
  };
20481
21672
  Returns: {
21673
+ aflever_pogingen: number;
20482
21674
  agent_id: string | null;
21675
+ artefact_bytes: number | null;
21676
+ artefact_gereed_op: string | null;
21677
+ artefact_pad: string | null;
21678
+ artefact_sha256: string | null;
21679
+ batch_id: string | null;
20483
21680
  bron_job_id: string | null;
20484
21681
  created_at: string;
20485
21682
  documentnaam: string;
20486
21683
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20487
21684
  extern_job_id: string | null;
21685
+ fase_gestart_op: string | null;
21686
+ fase_voltooid_op: string | null;
21687
+ foutcode: string | null;
20488
21688
  foutmelding: string | null;
20489
21689
  gebruiker_id: string | null;
20490
21690
  gebruiker_naam: string;
@@ -20498,7 +21698,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20498
21698
  kopieen: number;
20499
21699
  layout_id: string | null;
20500
21700
  lokaal_opgeslagen_op: string | null;
21701
+ lokale_pdf_claim_id: string | null;
21702
+ lokale_pdf_claim_tot: string | null;
20501
21703
  lokale_pdf_fout: string | null;
21704
+ lokale_pdf_print_plek_id: string | null;
20502
21705
  lokale_pdf_status: string | null;
20503
21706
  opgepakt_op: string | null;
20504
21707
  paginas: number;
@@ -20511,6 +21714,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20511
21714
  resultaat_pdf_base64: string | null;
20512
21715
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20513
21716
  updated_at: string;
21717
+ verwerkingsfase: string;
20514
21718
  volgende_poging: string | null;
20515
21719
  voltooid_op: string | null;
20516
21720
  }[];
@@ -20527,12 +21731,21 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20527
21731
  _max?: number;
20528
21732
  };
20529
21733
  Returns: {
21734
+ aflever_pogingen: number;
20530
21735
  agent_id: string | null;
21736
+ artefact_bytes: number | null;
21737
+ artefact_gereed_op: string | null;
21738
+ artefact_pad: string | null;
21739
+ artefact_sha256: string | null;
21740
+ batch_id: string | null;
20531
21741
  bron_job_id: string | null;
20532
21742
  created_at: string;
20533
21743
  documentnaam: string;
20534
21744
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20535
21745
  extern_job_id: string | null;
21746
+ fase_gestart_op: string | null;
21747
+ fase_voltooid_op: string | null;
21748
+ foutcode: string | null;
20536
21749
  foutmelding: string | null;
20537
21750
  gebruiker_id: string | null;
20538
21751
  gebruiker_naam: string;
@@ -20546,7 +21759,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20546
21759
  kopieen: number;
20547
21760
  layout_id: string | null;
20548
21761
  lokaal_opgeslagen_op: string | null;
21762
+ lokale_pdf_claim_id: string | null;
21763
+ lokale_pdf_claim_tot: string | null;
20549
21764
  lokale_pdf_fout: string | null;
21765
+ lokale_pdf_print_plek_id: string | null;
20550
21766
  lokale_pdf_status: string | null;
20551
21767
  opgepakt_op: string | null;
20552
21768
  paginas: number;
@@ -20559,6 +21775,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20559
21775
  resultaat_pdf_base64: string | null;
20560
21776
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20561
21777
  updated_at: string;
21778
+ verwerkingsfase: string;
20562
21779
  volgende_poging: string | null;
20563
21780
  voltooid_op: string | null;
20564
21781
  }[];
@@ -20569,6 +21786,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20569
21786
  isSetofReturn: true;
20570
21787
  };
20571
21788
  };
21789
+ claim_print_queue_lease: {
21790
+ Args: {
21791
+ _houder: string;
21792
+ _naam: string;
21793
+ _seconden?: number;
21794
+ };
21795
+ Returns: boolean;
21796
+ };
20572
21797
  claim_twinfield_push_batch: {
20573
21798
  Args: {
20574
21799
  _customer_id?: string;
@@ -20694,7 +21919,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20694
21919
  cart_index: number;
20695
21920
  cart_number: string;
20696
21921
  cart_number_id: string;
21922
+ cart_seq: number;
21923
+ cart_total: number;
20697
21924
  order_id: string;
21925
+ order_number: string;
20698
21926
  order_source: string;
20699
21927
  pick_date: string;
20700
21928
  printed_at: string;
@@ -20702,8 +21930,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20702
21930
  status: string;
20703
21931
  }[];
20704
21932
  };
20705
- count_distinct_regulatory_products: {
20706
- Args: never;
21933
+ control_mark_carts_delivered: {
21934
+ Args: {
21935
+ p_carts: import("../integrations/supabase/types").Json;
21936
+ };
21937
+ Returns: number;
21938
+ };
21939
+ count_distinct_regulatory_products: {
21940
+ Args: never;
20707
21941
  Returns: number;
20708
21942
  };
20709
21943
  current_monteur_id: {
@@ -20829,6 +22063,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20829
22063
  };
20830
22064
  Returns: undefined;
20831
22065
  };
22066
+ ensure_system_roles: {
22067
+ Args: never;
22068
+ Returns: {
22069
+ action: string;
22070
+ role_key: string;
22071
+ }[];
22072
+ };
20832
22073
  ensure_trade_item_stock_row: {
20833
22074
  Args: {
20834
22075
  p_key: string;
@@ -20895,6 +22136,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20895
22136
  };
20896
22137
  Returns: string;
20897
22138
  };
22139
+ finish_local_pdf_job: {
22140
+ Args: {
22141
+ _fout?: string;
22142
+ _job_id: string;
22143
+ _status: string;
22144
+ _writer_id: string;
22145
+ };
22146
+ Returns: boolean;
22147
+ };
20898
22148
  floriday_capture_stock_snapshot: {
20899
22149
  Args: never;
20900
22150
  Returns: number;
@@ -21174,6 +22424,36 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21174
22424
  Args: never;
21175
22425
  Returns: string;
21176
22426
  };
22427
+ handover_archief_lijst: {
22428
+ Args: never;
22429
+ Returns: import("../integrations/supabase/types").Json;
22430
+ };
22431
+ handover_archiveren: {
22432
+ Args: {
22433
+ _archief?: boolean;
22434
+ _module_id: string;
22435
+ };
22436
+ Returns: boolean;
22437
+ };
22438
+ handover_check_afronden: {
22439
+ Args: {
22440
+ _module_id: string;
22441
+ };
22442
+ Returns: boolean;
22443
+ };
22444
+ handover_check_markeren: {
22445
+ Args: {
22446
+ _module_ids: string[];
22447
+ _reden?: string;
22448
+ };
22449
+ Returns: number;
22450
+ };
22451
+ handover_fingerprint_maken: {
22452
+ Args: {
22453
+ _module_id?: string;
22454
+ };
22455
+ Returns: import("../integrations/supabase/types").Json;
22456
+ };
21177
22457
  handover_get: {
21178
22458
  Args: {
21179
22459
  _module_id: string;
@@ -21204,6 +22484,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21204
22484
  };
21205
22485
  Returns: boolean;
21206
22486
  };
22487
+ handover_module_meta_zetten: {
22488
+ Args: {
22489
+ _module_id: string;
22490
+ _project_url?: string;
22491
+ _publicatie_url?: string;
22492
+ };
22493
+ Returns: boolean;
22494
+ };
21207
22495
  handover_norm_naam: {
21208
22496
  Args: {
21209
22497
  _naam: string;
@@ -21224,6 +22512,23 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21224
22512
  };
21225
22513
  Returns: number;
21226
22514
  };
22515
+ handover_publish_uit_github: {
22516
+ Args: {
22517
+ _bezit_tabellen?: string[];
22518
+ _bron_soort?: string;
22519
+ _commit?: string;
22520
+ _contractfuncties?: string[];
22521
+ _inhoud_md: string;
22522
+ _module_id: string;
22523
+ _module_titel: string;
22524
+ _ontbrekende_contracten?: string[];
22525
+ _pad?: string;
22526
+ _repo?: string;
22527
+ _samenvatting?: string;
22528
+ _versie_label?: string;
22529
+ };
22530
+ Returns: import("../integrations/supabase/types").Json;
22531
+ };
21227
22532
  handover_publish_via_token: {
21228
22533
  Args: {
21229
22534
  _bevindingen?: string;
@@ -21237,7 +22542,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21237
22542
  _samenvatting?: string;
21238
22543
  _token_hash: string;
21239
22544
  };
21240
- Returns: number;
22545
+ Returns: import("../integrations/supabase/types").Json;
21241
22546
  };
21242
22547
  handover_status: {
21243
22548
  Args: never;
@@ -21249,23 +22554,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21249
22554
  };
21250
22555
  Returns: string;
21251
22556
  };
21252
- handover_token_intrekken: {
21253
- Args: {
21254
- _id: string;
21255
- };
21256
- Returns: boolean;
21257
- };
21258
- handover_token_lijst: {
21259
- Args: never;
21260
- Returns: import("../integrations/supabase/types").Json;
21261
- };
21262
- handover_token_maken: {
21263
- Args: {
21264
- _label?: string;
21265
- _module_id: string;
21266
- };
21267
- Returns: string;
21268
- };
21269
22557
  handover_update: {
21270
22558
  Args: {
21271
22559
  _bezit_tabellen?: string[];
@@ -21293,12 +22581,31 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21293
22581
  };
21294
22582
  Returns: boolean;
21295
22583
  };
22584
+ handover_versie_verwijderen: {
22585
+ Args: {
22586
+ _module_id: string;
22587
+ _versie: number;
22588
+ };
22589
+ Returns: boolean;
22590
+ };
21296
22591
  handover_versies: {
21297
22592
  Args: {
21298
22593
  _module_id: string;
21299
22594
  };
21300
22595
  Returns: import("../integrations/supabase/types").Json;
21301
22596
  };
22597
+ handover_verwijderen: {
22598
+ Args: {
22599
+ _module_id: string;
22600
+ };
22601
+ Returns: boolean;
22602
+ };
22603
+ handover_wijzigingen: {
22604
+ Args: {
22605
+ _module_id?: string;
22606
+ };
22607
+ Returns: import("../integrations/supabase/types").Json;
22608
+ };
21302
22609
  has_module_permission: {
21303
22610
  Args: {
21304
22611
  _min: string;
@@ -21561,6 +22868,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21561
22868
  };
21562
22869
  Returns: boolean;
21563
22870
  };
22871
+ logistics_barcode_lookup: {
22872
+ Args: {
22873
+ p_barcode: string;
22874
+ };
22875
+ Returns: import("../integrations/supabase/types").Json;
22876
+ };
21564
22877
  logistics_buffer_criteria: {
21565
22878
  Args: {
21566
22879
  p_settings: import("../integrations/supabase/types").Json;
@@ -21621,6 +22934,19 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21621
22934
  };
21622
22935
  Returns: number;
21623
22936
  };
22937
+ logistics_cart_barcode_value: {
22938
+ Args: {
22939
+ _cart_id: string;
22940
+ };
22941
+ Returns: string;
22942
+ };
22943
+ logistics_cart_handled: {
22944
+ Args: {
22945
+ p_cart_index: number;
22946
+ p_order_id: string;
22947
+ };
22948
+ Returns: boolean;
22949
+ };
21624
22950
  logistics_cart_index: {
21625
22951
  Args: {
21626
22952
  p_from?: string;
@@ -21630,6 +22956,63 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21630
22956
  cart_id: string;
21631
22957
  cart_index: number;
21632
22958
  cart_label: string;
22959
+ cart_number: string;
22960
+ cart_seq: number;
22961
+ cart_total: number;
22962
+ delivery_date: string;
22963
+ is_announced: boolean;
22964
+ is_controlled: boolean;
22965
+ is_printed: boolean;
22966
+ is_shared: boolean;
22967
+ order_number: string;
22968
+ order_source: string;
22969
+ order_uuid: string;
22970
+ pick_date: string;
22971
+ printed_at: string;
22972
+ shifted: boolean;
22973
+ task_status: string;
22974
+ }[];
22975
+ };
22976
+ logistics_cart_layout_method: {
22977
+ Args: never;
22978
+ Returns: import("../integrations/supabase/types").Json;
22979
+ };
22980
+ logistics_cart_seq: {
22981
+ Args: {
22982
+ p_order_uuid?: string;
22983
+ };
22984
+ Returns: {
22985
+ cart_id: string;
22986
+ cart_index: number;
22987
+ cart_number: string;
22988
+ cart_seq: number;
22989
+ cart_total: number;
22990
+ order_uuid: string;
22991
+ }[];
22992
+ };
22993
+ logistics_cart_slip_plan: {
22994
+ Args: {
22995
+ p_order_id: string;
22996
+ };
22997
+ Returns: import("../integrations/supabase/types").Json;
22998
+ };
22999
+ logistics_cart_units: {
23000
+ Args: {
23001
+ p_from?: string;
23002
+ p_to?: string;
23003
+ };
23004
+ Returns: {
23005
+ cart_id: string;
23006
+ cart_index: number;
23007
+ cart_label: string;
23008
+ cart_number: string;
23009
+ cart_seq: number;
23010
+ cart_total: number;
23011
+ delivery_date: string;
23012
+ is_announced: boolean;
23013
+ is_buffer: boolean;
23014
+ is_controlled: boolean;
23015
+ is_printed: boolean;
21633
23016
  is_shared: boolean;
21634
23017
  order_number: string;
21635
23018
  order_source: string;
@@ -21638,6 +23021,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21638
23021
  printed_at: string;
21639
23022
  shifted: boolean;
21640
23023
  task_status: string;
23024
+ unit_buffer: string;
23025
+ unit_order_count: number;
23026
+ unit_orders: string[];
23027
+ unit_ref: string;
21641
23028
  }[];
21642
23029
  };
21643
23030
  logistics_check_order_allowed: {
@@ -21792,12 +23179,97 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21792
23179
  Args: never;
21793
23180
  Returns: {
21794
23181
  agenda_carts: number;
23182
+ announced_carts: number;
21795
23183
  control_carts: number;
23184
+ delivery_carts: number;
23185
+ duplicate_carts: number;
21796
23186
  ok: boolean;
23187
+ orphan_carts: number;
21797
23188
  orphan_tasks: number;
21798
23189
  pick_date: string;
21799
23190
  raw_carts: number;
23191
+ sales_carts: number;
23192
+ station_carts: number;
23193
+ }[];
23194
+ };
23195
+ logistics_control_scan_approve: {
23196
+ Args: {
23197
+ p_allow_reprint?: boolean;
23198
+ p_barcode: string;
23199
+ p_printer_id?: string;
23200
+ p_scanner_id?: string;
23201
+ };
23202
+ Returns: import("../integrations/supabase/types").Json;
23203
+ };
23204
+ logistics_control_scan_claim: {
23205
+ Args: {
23206
+ _lease_seconds?: number;
23207
+ _limit?: number;
23208
+ };
23209
+ Returns: {
23210
+ approved_at: string | null;
23211
+ attempts: number;
23212
+ barcode: string;
23213
+ cart_id: string;
23214
+ created_at: string;
23215
+ document_url: string | null;
23216
+ error: string | null;
23217
+ error_code: string | null;
23218
+ fulfillment_order_id: string | null;
23219
+ id: string;
23220
+ is_floriday: boolean;
23221
+ locked_until: string | null;
23222
+ order_id: string | null;
23223
+ order_number: string | null;
23224
+ print_job_id: string | null;
23225
+ printed_at: string | null;
23226
+ printer_id: string | null;
23227
+ scanner_id: string | null;
23228
+ status: string;
23229
+ updated_at: string;
21800
23230
  }[];
23231
+ SetofOptions: {
23232
+ from: "*";
23233
+ to: "logistics_control_scan";
23234
+ isOneToOne: false;
23235
+ isSetofReturn: true;
23236
+ };
23237
+ };
23238
+ logistics_control_scan_finish: {
23239
+ Args: {
23240
+ _document_url?: string;
23241
+ _error?: string;
23242
+ _error_code?: string;
23243
+ _fulfillment_order_id?: string;
23244
+ _id: string;
23245
+ _ok: boolean;
23246
+ _print_job_id?: string;
23247
+ _status?: string;
23248
+ };
23249
+ Returns: import("../integrations/supabase/types").Json;
23250
+ };
23251
+ logistics_control_scan_lookup: {
23252
+ Args: {
23253
+ p_barcode: string;
23254
+ };
23255
+ Returns: import("../integrations/supabase/types").Json;
23256
+ };
23257
+ logistics_control_scan_overview: {
23258
+ Args: {
23259
+ _date?: string;
23260
+ _scanner_id?: string;
23261
+ };
23262
+ Returns: import("../integrations/supabase/types").Json;
23263
+ };
23264
+ logistics_control_scan_retry: {
23265
+ Args: {
23266
+ _id: string;
23267
+ };
23268
+ Returns: import("../integrations/supabase/types").Json;
23269
+ };
23270
+ logistics_control_settings: {
23271
+ Args: never;
23272
+ Returns: import("../integrations/supabase/types").Json;
21801
23273
  };
21802
23274
  logistics_delay_customer_email: {
21803
23275
  Args: {
@@ -21812,12 +23284,35 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21812
23284
  subject: string;
21813
23285
  }[];
21814
23286
  };
23287
+ logistics_delivery_agenda: {
23288
+ Args: {
23289
+ p_from?: string;
23290
+ p_to?: string;
23291
+ };
23292
+ Returns: {
23293
+ announced_count: number;
23294
+ cart_count: number;
23295
+ controlled_count: number;
23296
+ delivery_date: string;
23297
+ order_count: number;
23298
+ orders: import("../integrations/supabase/types").Json;
23299
+ plant_count: number;
23300
+ printed_count: number;
23301
+ }[];
23302
+ };
21815
23303
  logistics_document_layout: {
21816
23304
  Args: {
21817
23305
  _document_code: string;
21818
23306
  };
21819
23307
  Returns: import("../integrations/supabase/types").Json;
21820
23308
  };
23309
+ logistics_document_layout_v2: {
23310
+ Args: {
23311
+ _document_code: string;
23312
+ _is_partial?: boolean;
23313
+ };
23314
+ Returns: import("../integrations/supabase/types").Json;
23315
+ };
21821
23316
  logistics_document_station: {
21822
23317
  Args: {
21823
23318
  _document_code: string;
@@ -21843,6 +23338,23 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21843
23338
  };
21844
23339
  Returns: import("../integrations/supabase/types").Json;
21845
23340
  };
23341
+ logistics_enqueue_sticker_with_slip: {
23342
+ Args: {
23343
+ _cart_id: string;
23344
+ _is_herprint: boolean;
23345
+ _printer_id: string;
23346
+ _queue_item_id: string;
23347
+ _session_id: string;
23348
+ _slip_job_id: string;
23349
+ };
23350
+ Returns: string;
23351
+ };
23352
+ logistics_ensure_cart_barcode: {
23353
+ Args: {
23354
+ _cart_id: string;
23355
+ };
23356
+ Returns: string;
23357
+ };
21846
23358
  logistics_fail_task: {
21847
23359
  Args: {
21848
23360
  p_error: string;
@@ -21978,6 +23490,26 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21978
23490
  };
21979
23491
  Returns: string;
21980
23492
  };
23493
+ logistics_fulfill_barcode_requests: {
23494
+ Args: {
23495
+ p_limit?: number;
23496
+ };
23497
+ Returns: import("../integrations/supabase/types").Json;
23498
+ };
23499
+ logistics_full_cart_min_layers: {
23500
+ Args: never;
23501
+ Returns: number;
23502
+ };
23503
+ logistics_full_cart_min_percentage: {
23504
+ Args: never;
23505
+ Returns: number;
23506
+ };
23507
+ logistics_is_pick_workday: {
23508
+ Args: {
23509
+ p_date: string;
23510
+ };
23511
+ Returns: boolean;
23512
+ };
21981
23513
  logistics_live_carriers: {
21982
23514
  Args: {
21983
23515
  p_order_ref: string;
@@ -21990,6 +23522,20 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21990
23522
  };
21991
23523
  Returns: number;
21992
23524
  };
23525
+ logistics_next_workday_date: {
23526
+ Args: {
23527
+ p_date: string;
23528
+ p_days?: string[];
23529
+ };
23530
+ Returns: string;
23531
+ };
23532
+ logistics_next_workday_not_past: {
23533
+ Args: {
23534
+ p_days: string[];
23535
+ p_ts: string;
23536
+ };
23537
+ Returns: string;
23538
+ };
21993
23539
  logistics_not_past: {
21994
23540
  Args: {
21995
23541
  p_ts: string;
@@ -22002,6 +23548,19 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22002
23548
  };
22003
23549
  Returns: number;
22004
23550
  };
23551
+ logistics_order_handled: {
23552
+ Args: {
23553
+ p_order_uuid: string;
23554
+ };
23555
+ Returns: boolean;
23556
+ };
23557
+ logistics_order_is_topick: {
23558
+ Args: {
23559
+ p_order_id: string;
23560
+ p_order_number: string;
23561
+ };
23562
+ Returns: boolean;
23563
+ };
22005
23564
  logistics_order_overview: {
22006
23565
  Args: {
22007
23566
  p_from?: string;
@@ -22027,6 +23586,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22027
23586
  };
22028
23587
  Returns: string;
22029
23588
  };
23589
+ logistics_order_released: {
23590
+ Args: {
23591
+ p_order_ref: string;
23592
+ };
23593
+ Returns: boolean;
23594
+ };
22030
23595
  logistics_parse_pickup: {
22031
23596
  Args: {
22032
23597
  p_value: string;
@@ -22049,10 +23614,37 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22049
23614
  shifted_count: number;
22050
23615
  }[];
22051
23616
  };
23617
+ logistics_pick_barcode_enabled: {
23618
+ Args: never;
23619
+ Returns: boolean;
23620
+ };
22052
23621
  logistics_pick_email_purpose: {
22053
23622
  Args: never;
22054
23623
  Returns: string;
22055
23624
  };
23625
+ logistics_pick_mode: {
23626
+ Args: never;
23627
+ Returns: import("../integrations/supabase/types").Json;
23628
+ };
23629
+ logistics_pick_start_estimate: {
23630
+ Args: {
23631
+ p_order: import("../integrations/supabase/types").Json;
23632
+ s: import("../integrations/supabase/types").Json;
23633
+ };
23634
+ Returns: string;
23635
+ };
23636
+ logistics_pick_units: {
23637
+ Args: never;
23638
+ Returns: {
23639
+ is_buffer: boolean;
23640
+ order_number: string;
23641
+ order_uuid: string;
23642
+ unit_buffer: string;
23643
+ unit_order_count: number;
23644
+ unit_orders: string[];
23645
+ unit_ref: string;
23646
+ }[];
23647
+ };
22056
23648
  logistics_plan_all: {
22057
23649
  Args: {
22058
23650
  p_user_id?: string;
@@ -22139,6 +23731,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22139
23731
  };
22140
23732
  Returns: number;
22141
23733
  };
23734
+ logistics_prune_buffer_member_queue: {
23735
+ Args: never;
23736
+ Returns: number;
23737
+ };
23738
+ logistics_prune_handled_pick_queue: {
23739
+ Args: never;
23740
+ Returns: number;
23741
+ };
22142
23742
  logistics_queue_capacity_email: {
22143
23743
  Args: {
22144
23744
  p_alert_id: string;
@@ -22171,6 +23771,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22171
23771
  Args: never;
22172
23772
  Returns: import("../integrations/supabase/types").Json;
22173
23773
  };
23774
+ logistics_refresh_pickup_moments: {
23775
+ Args: {
23776
+ p_weeks?: number;
23777
+ };
23778
+ Returns: import("../integrations/supabase/types").Json;
23779
+ };
22174
23780
  logistics_report_delay: {
22175
23781
  Args: {
22176
23782
  p_expected_date?: string;
@@ -22277,6 +23883,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22277
23883
  };
22278
23884
  Returns: string;
22279
23885
  };
23886
+ logistics_scan_resolve: {
23887
+ Args: {
23888
+ p_code: string;
23889
+ };
23890
+ Returns: import("../integrations/supabase/types").Json;
23891
+ };
22280
23892
  logistics_schedule_tasks: {
22281
23893
  Args: never;
22282
23894
  Returns: number;
@@ -22303,6 +23915,18 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22303
23915
  };
22304
23916
  Returns: string;
22305
23917
  };
23918
+ logistics_shipping_note_from_barcode: {
23919
+ Args: {
23920
+ p_allow_reprint?: boolean;
23921
+ p_barcode: string;
23922
+ p_station_id?: string;
23923
+ };
23924
+ Returns: import("../integrations/supabase/types").Json;
23925
+ };
23926
+ logistics_sticker_follows_slip: {
23927
+ Args: never;
23928
+ Returns: boolean;
23929
+ };
22306
23930
  logistics_supersede_stale_tasks: {
22307
23931
  Args: {
22308
23932
  p_keep: string[];
@@ -22354,6 +23978,18 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22354
23978
  };
22355
23979
  Returns: string;
22356
23980
  };
23981
+ logistics_write_buffer_layer_positions: {
23982
+ Args: {
23983
+ p_buffer_id: string;
23984
+ };
23985
+ Returns: number;
23986
+ };
23987
+ logistics_write_cart_layer_positions: {
23988
+ Args: {
23989
+ p_cart_id: string;
23990
+ };
23991
+ Returns: number;
23992
+ };
22357
23993
  mark_offer_clicked: {
22358
23994
  Args: {
22359
23995
  p_code: string;
@@ -22386,6 +24022,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22386
24022
  };
22387
24023
  Returns: undefined;
22388
24024
  };
24025
+ move_cart_layer_position: {
24026
+ Args: {
24027
+ p_id: string;
24028
+ p_layer: number;
24029
+ p_x: number;
24030
+ p_y: number;
24031
+ };
24032
+ Returns: undefined;
24033
+ };
22389
24034
  my_module_permissions: {
22390
24035
  Args: never;
22391
24036
  Returns: {
@@ -22492,6 +24137,21 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22492
24137
  online: boolean;
22493
24138
  }[];
22494
24139
  };
24140
+ pick_available_pick_days: {
24141
+ Args: {
24142
+ _max_days?: number;
24143
+ };
24144
+ Returns: {
24145
+ orders: number;
24146
+ pick_day: string;
24147
+ }[];
24148
+ };
24149
+ pick_cart_breakdown: {
24150
+ Args: {
24151
+ _order_id: string;
24152
+ };
24153
+ Returns: import("../integrations/supabase/types").Json;
24154
+ };
22495
24155
  pick_claim_document: {
22496
24156
  Args: {
22497
24157
  _queue_item_id: string;
@@ -22524,6 +24184,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22524
24184
  print_job_id: string | null;
22525
24185
  printed_at: string | null;
22526
24186
  printed_by: string | null;
24187
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22527
24188
  printer_id: string | null;
22528
24189
  priority: number;
22529
24190
  reference: string | null;
@@ -22573,6 +24234,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22573
24234
  print_job_id: string | null;
22574
24235
  printed_at: string | null;
22575
24236
  printed_by: string | null;
24237
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22576
24238
  printer_id: string | null;
22577
24239
  priority: number;
22578
24240
  reference: string | null;
@@ -22627,6 +24289,56 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22627
24289
  print_job_id: string | null;
22628
24290
  printed_at: string | null;
22629
24291
  printed_by: string | null;
24292
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24293
+ printer_id: string | null;
24294
+ priority: number;
24295
+ reference: string | null;
24296
+ route: string | null;
24297
+ screen_id: string | null;
24298
+ station_id: string | null;
24299
+ status_id: string | null;
24300
+ updated_at: string;
24301
+ warnings: import("../integrations/supabase/types").Json;
24302
+ };
24303
+ SetofOptions: {
24304
+ from: "*";
24305
+ to: "pick_queue";
24306
+ isOneToOne: true;
24307
+ isSetofReturn: false;
24308
+ };
24309
+ };
24310
+ pick_complete_print_cart: {
24311
+ Args: {
24312
+ _cart_id: string;
24313
+ _printer_id: string;
24314
+ _queue_item_id: string;
24315
+ _session_id: string;
24316
+ };
24317
+ Returns: {
24318
+ announced_at: string;
24319
+ assigned_user_id: string | null;
24320
+ barcode: string | null;
24321
+ cancelled_at: string | null;
24322
+ cart_count: number;
24323
+ completed_at: string | null;
24324
+ country_code: string | null;
24325
+ created_at: string;
24326
+ customer_name: string | null;
24327
+ delivery_address: string | null;
24328
+ document_number: string | null;
24329
+ document_type_id: string | null;
24330
+ due_at: string | null;
24331
+ id: string;
24332
+ is_urgent: boolean;
24333
+ line_count: number;
24334
+ order_number: string | null;
24335
+ order_type: string | null;
24336
+ payload: import("../integrations/supabase/types").Json;
24337
+ print_count: number;
24338
+ print_job_id: string | null;
24339
+ printed_at: string | null;
24340
+ printed_by: string | null;
24341
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22630
24342
  printer_id: string | null;
22631
24343
  priority: number;
22632
24344
  reference: string | null;
@@ -22644,6 +24356,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22644
24356
  isSetofReturn: false;
22645
24357
  };
22646
24358
  };
24359
+ pick_complete_print_carts: {
24360
+ Args: {
24361
+ _cart_ids: string[];
24362
+ _queue_item_id: string;
24363
+ _session_id: string;
24364
+ };
24365
+ Returns: import("../integrations/supabase/types").Json;
24366
+ };
22647
24367
  pick_current_pick_day: {
22648
24368
  Args: never;
22649
24369
  Returns: string;
@@ -22670,6 +24390,74 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22670
24390
  _session_id?: string;
22671
24391
  };
22672
24392
  Returns: string;
24393
+ } | {
24394
+ Args: {
24395
+ _cart_id: string;
24396
+ _is_herprint: boolean;
24397
+ _printer_id: string;
24398
+ _queue_item_id: string;
24399
+ _session_id: string;
24400
+ };
24401
+ Returns: string;
24402
+ };
24403
+ pick_enqueue_print_job_from_cart: {
24404
+ Args: {
24405
+ _cart_id: string;
24406
+ _is_herprint: boolean;
24407
+ _printer_id: string;
24408
+ _queue_item_id: string;
24409
+ _selected_cart: import("../integrations/supabase/types").Json;
24410
+ _session_id: string;
24411
+ };
24412
+ Returns: string;
24413
+ };
24414
+ pick_mark_printed: {
24415
+ Args: {
24416
+ _queue_item_id: string;
24417
+ _reden?: string;
24418
+ _session_id: string;
24419
+ };
24420
+ Returns: {
24421
+ announced_at: string;
24422
+ assigned_user_id: string | null;
24423
+ barcode: string | null;
24424
+ cancelled_at: string | null;
24425
+ cart_count: number;
24426
+ completed_at: string | null;
24427
+ country_code: string | null;
24428
+ created_at: string;
24429
+ customer_name: string | null;
24430
+ delivery_address: string | null;
24431
+ document_number: string | null;
24432
+ document_type_id: string | null;
24433
+ due_at: string | null;
24434
+ id: string;
24435
+ is_urgent: boolean;
24436
+ line_count: number;
24437
+ order_number: string | null;
24438
+ order_type: string | null;
24439
+ payload: import("../integrations/supabase/types").Json;
24440
+ print_count: number;
24441
+ print_job_id: string | null;
24442
+ printed_at: string | null;
24443
+ printed_by: string | null;
24444
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24445
+ printer_id: string | null;
24446
+ priority: number;
24447
+ reference: string | null;
24448
+ route: string | null;
24449
+ screen_id: string | null;
24450
+ station_id: string | null;
24451
+ status_id: string | null;
24452
+ updated_at: string;
24453
+ warnings: import("../integrations/supabase/types").Json;
24454
+ };
24455
+ SetofOptions: {
24456
+ from: "*";
24457
+ to: "pick_queue";
24458
+ isOneToOne: true;
24459
+ isSetofReturn: false;
24460
+ };
22673
24461
  };
22674
24462
  pick_order_context: {
22675
24463
  Args: {
@@ -22691,6 +24479,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22691
24479
  };
22692
24480
  Returns: import("../integrations/supabase/types").Json;
22693
24481
  };
24482
+ pick_print_jobs_status: {
24483
+ Args: {
24484
+ _job_ids: string[];
24485
+ };
24486
+ Returns: import("../integrations/supabase/types").Json[];
24487
+ };
22694
24488
  pick_print_plekken: {
22695
24489
  Args: never;
22696
24490
  Returns: {
@@ -22713,6 +24507,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22713
24507
  };
22714
24508
  Returns: undefined;
22715
24509
  };
24510
+ pick_reprint_cart: {
24511
+ Args: {
24512
+ _cart_id: string;
24513
+ _queue_item_id: string;
24514
+ _session_id: string;
24515
+ _throttle_seconds?: number;
24516
+ };
24517
+ Returns: string;
24518
+ };
22716
24519
  pick_reprint_document: {
22717
24520
  Args: {
22718
24521
  _queue_item_id: string;
@@ -22750,6 +24553,199 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22750
24553
  print_job_id: string | null;
22751
24554
  printed_at: string | null;
22752
24555
  printed_by: string | null;
24556
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24557
+ printer_id: string | null;
24558
+ priority: number;
24559
+ reference: string | null;
24560
+ route: string | null;
24561
+ screen_id: string | null;
24562
+ station_id: string | null;
24563
+ status_id: string | null;
24564
+ updated_at: string;
24565
+ warnings: import("../integrations/supabase/types").Json;
24566
+ };
24567
+ SetofOptions: {
24568
+ from: "*";
24569
+ to: "pick_queue";
24570
+ isOneToOne: true;
24571
+ isSetofReturn: false;
24572
+ };
24573
+ } | {
24574
+ Args: {
24575
+ _cart_id?: string;
24576
+ _queue_item_id: string;
24577
+ _session_id: string;
24578
+ };
24579
+ Returns: {
24580
+ announced_at: string;
24581
+ assigned_user_id: string | null;
24582
+ barcode: string | null;
24583
+ cancelled_at: string | null;
24584
+ cart_count: number;
24585
+ completed_at: string | null;
24586
+ country_code: string | null;
24587
+ created_at: string;
24588
+ customer_name: string | null;
24589
+ delivery_address: string | null;
24590
+ document_number: string | null;
24591
+ document_type_id: string | null;
24592
+ due_at: string | null;
24593
+ id: string;
24594
+ is_urgent: boolean;
24595
+ line_count: number;
24596
+ order_number: string | null;
24597
+ order_type: string | null;
24598
+ payload: import("../integrations/supabase/types").Json;
24599
+ print_count: number;
24600
+ print_job_id: string | null;
24601
+ printed_at: string | null;
24602
+ printed_by: string | null;
24603
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24604
+ printer_id: string | null;
24605
+ priority: number;
24606
+ reference: string | null;
24607
+ route: string | null;
24608
+ screen_id: string | null;
24609
+ station_id: string | null;
24610
+ status_id: string | null;
24611
+ updated_at: string;
24612
+ warnings: import("../integrations/supabase/types").Json;
24613
+ };
24614
+ SetofOptions: {
24615
+ from: "*";
24616
+ to: "pick_queue";
24617
+ isOneToOne: true;
24618
+ isSetofReturn: false;
24619
+ };
24620
+ };
24621
+ pick_reset_print_job: {
24622
+ Args: {
24623
+ _cart_id: string;
24624
+ _job_id: string;
24625
+ _queue_item_id: string;
24626
+ _session_id: string;
24627
+ };
24628
+ Returns: {
24629
+ announced_at: string;
24630
+ assigned_user_id: string | null;
24631
+ barcode: string | null;
24632
+ cancelled_at: string | null;
24633
+ cart_count: number;
24634
+ completed_at: string | null;
24635
+ country_code: string | null;
24636
+ created_at: string;
24637
+ customer_name: string | null;
24638
+ delivery_address: string | null;
24639
+ document_number: string | null;
24640
+ document_type_id: string | null;
24641
+ due_at: string | null;
24642
+ id: string;
24643
+ is_urgent: boolean;
24644
+ line_count: number;
24645
+ order_number: string | null;
24646
+ order_type: string | null;
24647
+ payload: import("../integrations/supabase/types").Json;
24648
+ print_count: number;
24649
+ print_job_id: string | null;
24650
+ printed_at: string | null;
24651
+ printed_by: string | null;
24652
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24653
+ printer_id: string | null;
24654
+ priority: number;
24655
+ reference: string | null;
24656
+ route: string | null;
24657
+ screen_id: string | null;
24658
+ station_id: string | null;
24659
+ status_id: string | null;
24660
+ updated_at: string;
24661
+ warnings: import("../integrations/supabase/types").Json;
24662
+ };
24663
+ SetofOptions: {
24664
+ from: "*";
24665
+ to: "pick_queue";
24666
+ isOneToOne: true;
24667
+ isSetofReturn: false;
24668
+ };
24669
+ };
24670
+ pick_reset_print_jobs: {
24671
+ Args: {
24672
+ _cart_ids: string[];
24673
+ _job_ids: string[];
24674
+ _queue_item_id: string;
24675
+ _session_id: string;
24676
+ };
24677
+ Returns: {
24678
+ announced_at: string;
24679
+ assigned_user_id: string | null;
24680
+ barcode: string | null;
24681
+ cancelled_at: string | null;
24682
+ cart_count: number;
24683
+ completed_at: string | null;
24684
+ country_code: string | null;
24685
+ created_at: string;
24686
+ customer_name: string | null;
24687
+ delivery_address: string | null;
24688
+ document_number: string | null;
24689
+ document_type_id: string | null;
24690
+ due_at: string | null;
24691
+ id: string;
24692
+ is_urgent: boolean;
24693
+ line_count: number;
24694
+ order_number: string | null;
24695
+ order_type: string | null;
24696
+ payload: import("../integrations/supabase/types").Json;
24697
+ print_count: number;
24698
+ print_job_id: string | null;
24699
+ printed_at: string | null;
24700
+ printed_by: string | null;
24701
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24702
+ printer_id: string | null;
24703
+ priority: number;
24704
+ reference: string | null;
24705
+ route: string | null;
24706
+ screen_id: string | null;
24707
+ station_id: string | null;
24708
+ status_id: string | null;
24709
+ updated_at: string;
24710
+ warnings: import("../integrations/supabase/types").Json;
24711
+ };
24712
+ SetofOptions: {
24713
+ from: "*";
24714
+ to: "pick_queue";
24715
+ isOneToOne: true;
24716
+ isSetofReturn: false;
24717
+ };
24718
+ };
24719
+ pick_restore_to_queue: {
24720
+ Args: {
24721
+ _queue_item_id: string;
24722
+ _session_id: string;
24723
+ };
24724
+ Returns: {
24725
+ announced_at: string;
24726
+ assigned_user_id: string | null;
24727
+ barcode: string | null;
24728
+ cancelled_at: string | null;
24729
+ cart_count: number;
24730
+ completed_at: string | null;
24731
+ country_code: string | null;
24732
+ created_at: string;
24733
+ customer_name: string | null;
24734
+ delivery_address: string | null;
24735
+ document_number: string | null;
24736
+ document_type_id: string | null;
24737
+ due_at: string | null;
24738
+ id: string;
24739
+ is_urgent: boolean;
24740
+ line_count: number;
24741
+ order_number: string | null;
24742
+ order_type: string | null;
24743
+ payload: import("../integrations/supabase/types").Json;
24744
+ print_count: number;
24745
+ print_job_id: string | null;
24746
+ printed_at: string | null;
24747
+ printed_by: string | null;
24748
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22753
24749
  printer_id: string | null;
22754
24750
  priority: number;
22755
24751
  reference: string | null;
@@ -22816,6 +24812,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22816
24812
  };
22817
24813
  Returns: string;
22818
24814
  };
24815
+ pick_sync_pick_day: {
24816
+ Args: {
24817
+ _day: string;
24818
+ };
24819
+ Returns: import("../integrations/supabase/types").Json;
24820
+ };
22819
24821
  pick_sync_queue_throttled: {
22820
24822
  Args: {
22821
24823
  _min_seconds?: number;
@@ -23045,6 +25047,20 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23045
25047
  };
23046
25048
  Returns: boolean;
23047
25049
  };
25050
+ release_local_pdf_job: {
25051
+ Args: {
25052
+ _job_id: string;
25053
+ _writer_id: string;
25054
+ };
25055
+ Returns: boolean;
25056
+ };
25057
+ release_print_queue_lease: {
25058
+ Args: {
25059
+ _houder: string;
25060
+ _naam: string;
25061
+ };
25062
+ Returns: boolean;
25063
+ };
23048
25064
  release_stale_order_invoice_links: {
23049
25065
  Args: {
23050
25066
  _minutes?: number;
@@ -23065,6 +25081,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23065
25081
  };
23066
25082
  Returns: import("../integrations/supabase/types").Json;
23067
25083
  };
25084
+ reset_cart_layer_positions: {
25085
+ Args: {
25086
+ p_cart_id: string;
25087
+ };
25088
+ Returns: number;
25089
+ };
23068
25090
  reset_floriday_sync_cursor: {
23069
25091
  Args: {
23070
25092
  p_connection_id: string;
@@ -23128,6 +25150,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23128
25150
  };
23129
25151
  Returns: import("../integrations/supabase/types").Json;
23130
25152
  };
25153
+ roles_without_enum_mapping: {
25154
+ Args: never;
25155
+ Returns: {
25156
+ assignment_count: number;
25157
+ id: string;
25158
+ key: string;
25159
+ name: string;
25160
+ }[];
25161
+ };
23131
25162
  ruim_print_jobs_op: {
23132
25163
  Args: {
23133
25164
  _bewaar_dagen?: number;
@@ -23142,6 +25173,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23142
25173
  Args: never;
23143
25174
  Returns: undefined;
23144
25175
  };
25176
+ run_floriday_stock_reconcile: {
25177
+ Args: never;
25178
+ Returns: undefined;
25179
+ };
23145
25180
  run_logistics_tasks_dispatch: {
23146
25181
  Args: never;
23147
25182
  Returns: undefined;
@@ -23160,18 +25195,88 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23160
25195
  };
23161
25196
  Returns: import("../integrations/supabase/types").Json;
23162
25197
  };
25198
+ scan_complete_cart: {
25199
+ Args: {
25200
+ p_allow_reprint?: boolean;
25201
+ p_cart_id: string;
25202
+ p_print?: boolean;
25203
+ p_scanner_id?: string;
25204
+ };
25205
+ Returns: import("../integrations/supabase/types").Json;
25206
+ };
23163
25207
  scan_dashboard_stats: {
23164
25208
  Args: {
23165
25209
  p_dagen?: number;
23166
25210
  };
23167
25211
  Returns: import("../integrations/supabase/types").Json;
23168
25212
  };
25213
+ scan_eindcontrole: {
25214
+ Args: {
25215
+ p_barcode: string;
25216
+ p_scanner_id?: string;
25217
+ };
25218
+ Returns: import("../integrations/supabase/types").Json;
25219
+ };
23169
25220
  scan_finish_kar: {
23170
25221
  Args: {
23171
25222
  p_kar_id: string;
23172
25223
  };
23173
25224
  Returns: import("../integrations/supabase/types").Json;
23174
25225
  };
25226
+ scan_kar_compleet: {
25227
+ Args: {
25228
+ p_allow_reprint?: boolean;
25229
+ p_sessie_id: string;
25230
+ };
25231
+ Returns: import("../integrations/supabase/types").Json;
25232
+ };
25233
+ scan_kar_regels: {
25234
+ Args: {
25235
+ p_cart_id: string;
25236
+ };
25237
+ Returns: import("../integrations/supabase/types").Json;
25238
+ };
25239
+ scan_open_pakbonnen: {
25240
+ Args: {
25241
+ p_dagen?: number;
25242
+ };
25243
+ Returns: import("../integrations/supabase/types").Json;
25244
+ };
25245
+ scan_pakbon_lookup: {
25246
+ Args: {
25247
+ p_barcode: string;
25248
+ };
25249
+ Returns: import("../integrations/supabase/types").Json;
25250
+ };
25251
+ scan_pakbon_opnieuw: {
25252
+ Args: {
25253
+ p_barcode: string;
25254
+ p_scanner_id?: string;
25255
+ };
25256
+ Returns: import("../integrations/supabase/types").Json;
25257
+ };
25258
+ scan_pakbon_toevoegen: {
25259
+ Args: {
25260
+ p_barcode: string;
25261
+ p_medewerker?: string;
25262
+ p_regels?: import("../integrations/supabase/types").Json;
25263
+ p_scanner_id: string;
25264
+ };
25265
+ Returns: import("../integrations/supabase/types").Json;
25266
+ };
25267
+ scan_print_restpakbon: {
25268
+ Args: {
25269
+ p_printer_id?: string;
25270
+ p_restpakbon_id: string;
25271
+ };
25272
+ Returns: import("../integrations/supabase/types").Json;
25273
+ };
25274
+ scan_print_verzendbrief: {
25275
+ Args: {
25276
+ p_sessie_id: string;
25277
+ };
25278
+ Returns: import("../integrations/supabase/types").Json;
25279
+ };
23175
25280
  scan_register_item: {
23176
25281
  Args: {
23177
25282
  p_kar_id: string;
@@ -23190,6 +25295,25 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23190
25295
  };
23191
25296
  Returns: import("../integrations/supabase/types").Json;
23192
25297
  };
25298
+ scan_restpakbon_geprint: {
25299
+ Args: {
25300
+ p_id: string;
25301
+ p_print_job_id?: string;
25302
+ };
25303
+ Returns: undefined;
25304
+ };
25305
+ scan_sessie_annuleren: {
25306
+ Args: {
25307
+ p_sessie_id: string;
25308
+ };
25309
+ Returns: undefined;
25310
+ };
25311
+ scan_sessie_open: {
25312
+ Args: {
25313
+ p_scanner_id: string;
25314
+ };
25315
+ Returns: import("../integrations/supabase/types").Json;
25316
+ };
23193
25317
  scan_start_kar: {
23194
25318
  Args: {
23195
25319
  p_medewerker_id?: string;
@@ -23208,6 +25332,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23208
25332
  };
23209
25333
  Returns: import("../integrations/supabase/types").Json;
23210
25334
  };
25335
+ scan_verzendbrief_regels: {
25336
+ Args: {
25337
+ p_sessie_id: string;
25338
+ };
25339
+ Returns: import("../integrations/supabase/types").Json;
25340
+ };
23211
25341
  schedule_floriday_additional_services_sync: {
23212
25342
  Args: {
23213
25343
  p_apikey: string;
@@ -23523,6 +25653,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23523
25653
  };
23524
25654
  Returns: import("../integrations/supabase/types").Json;
23525
25655
  };
25656
+ swap_cart_layer_positions: {
25657
+ Args: {
25658
+ p_a: string;
25659
+ p_b: string;
25660
+ };
25661
+ Returns: undefined;
25662
+ };
23526
25663
  switch_time_log: {
23527
25664
  Args: {
23528
25665
  p_employee_id: string;
@@ -23555,6 +25692,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23555
25692
  };
23556
25693
  Returns: undefined;
23557
25694
  };
25695
+ sync_order_item_fusten: {
25696
+ Args: {
25697
+ _order_item_id: string;
25698
+ };
25699
+ Returns: undefined;
25700
+ };
23558
25701
  sync_product_group_belading: {
23559
25702
  Args: {
23560
25703
  _group_id: string;
@@ -23661,6 +25804,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23661
25804
  Args: never;
23662
25805
  Returns: string;
23663
25806
  };
25807
+ wake_print_queue: {
25808
+ Args: {
25809
+ _min_interval_ms?: number;
25810
+ };
25811
+ Returns: number;
25812
+ };
23664
25813
  werkbon_totalen: {
23665
25814
  Args: {
23666
25815
  _werkbon_id: string;
@@ -23693,10 +25842,18 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23693
25842
  };
23694
25843
  Returns: import("../integrations/supabase/types").Json;
23695
25844
  };
25845
+ wo_set_status: {
25846
+ Args: {
25847
+ _reason?: string;
25848
+ _status: string;
25849
+ _work_order_id: string;
25850
+ };
25851
+ Returns: import("../integrations/supabase/types").Json;
25852
+ };
23696
25853
  };
23697
25854
  Enums: {
23698
25855
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
23699
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
25856
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
23700
25857
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
23701
25858
  doc_orientation: "portrait" | "landscape";
23702
25859
  exact_env: "staging" | "live";