@flowselections/floriday-verkoop-module 1.0.60 → 1.0.61

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 (140) hide show
  1. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts +9 -0
  2. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts.map +1 -0
  3. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.js +26 -0
  4. package/dist-lib/components/karindeling/AfmetingenTab.d.ts +6 -0
  5. package/dist-lib/components/karindeling/AfmetingenTab.d.ts.map +1 -0
  6. package/dist-lib/components/karindeling/AfmetingenTab.js +128 -0
  7. package/dist-lib/components/karindeling/KarindelingPage.d.ts +2 -0
  8. package/dist-lib/components/karindeling/KarindelingPage.d.ts.map +1 -0
  9. package/dist-lib/components/karindeling/KarindelingPage.js +102 -0
  10. package/dist-lib/components/ui/dropdown-menu.d.ts +9 -0
  11. package/dist-lib/components/ui/dropdown-menu.d.ts.map +1 -0
  12. package/dist-lib/components/ui/dropdown-menu.js +14 -0
  13. package/dist-lib/components/verkoop/AnalyticsCards.d.ts +1 -1
  14. package/dist-lib/components/verkoop/AnalyticsCards.d.ts.map +1 -1
  15. package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts +1 -1
  16. package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts.map +1 -1
  17. package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts +1 -1
  18. package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts.map +1 -1
  19. package/dist-lib/components/verkoop/CartLayersDialog.d.ts +1 -1
  20. package/dist-lib/components/verkoop/CartLayersDialog.d.ts.map +1 -1
  21. package/dist-lib/components/verkoop/CreateOrderDialog.d.ts +5 -0
  22. package/dist-lib/components/verkoop/CreateOrderDialog.d.ts.map +1 -0
  23. package/dist-lib/components/verkoop/CreateOrderDialog.js +33 -0
  24. package/dist-lib/components/verkoop/CreateOrderPage.d.ts +1 -1
  25. package/dist-lib/components/verkoop/CreateOrderPage.d.ts.map +1 -1
  26. package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts +1 -1
  27. package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts.map +1 -1
  28. package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts +1 -1
  29. package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts.map +1 -1
  30. package/dist-lib/components/verkoop/EngineBufferCard.d.ts +1 -1
  31. package/dist-lib/components/verkoop/EngineBufferCard.d.ts.map +1 -1
  32. package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts +1 -1
  33. package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts.map +1 -1
  34. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts +1 -1
  35. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
  36. package/dist-lib/components/verkoop/OrderCarrierPicker.d.ts +1 -1
  37. package/dist-lib/components/verkoop/OrderCarrierPicker.d.ts.map +1 -1
  38. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts +1 -1
  39. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts.map +1 -1
  40. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts +1 -1
  41. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts.map +1 -1
  42. package/dist-lib/components/verkoop/OrderPickupMomentPicker.d.ts +1 -1
  43. package/dist-lib/components/verkoop/OrderPickupMomentPicker.d.ts.map +1 -1
  44. package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts +1 -1
  45. package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts.map +1 -1
  46. package/dist-lib/components/verkoop/ProductDimensionsSettings.d.ts +1 -1
  47. package/dist-lib/components/verkoop/ProductDimensionsSettings.d.ts.map +1 -1
  48. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts +1 -1
  49. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts.map +1 -1
  50. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts +1 -1
  51. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
  52. package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts +1 -1
  53. package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts.map +1 -1
  54. package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts +1 -1
  55. package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts.map +1 -1
  56. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts +1 -2
  57. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  58. package/dist-lib/components/verkoop/SearchableSelect.d.ts +1 -1
  59. package/dist-lib/components/verkoop/SearchableSelect.d.ts.map +1 -1
  60. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts +1 -1
  61. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts.map +1 -1
  62. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts +1 -1
  63. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
  64. package/dist-lib/components/verkoop/WeekCalendar.d.ts +1 -1
  65. package/dist-lib/components/verkoop/WeekCalendar.d.ts.map +1 -1
  66. package/dist-lib/integrations/supabase/auth-middleware.d.ts +280 -0
  67. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  68. package/dist-lib/integrations/supabase/client.server.d.ts +280 -0
  69. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  70. package/dist-lib/integrations/supabase/types.d.ts +280 -0
  71. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  72. package/dist-lib/lib/buffer-events.functions.d.ts +280 -0
  73. package/dist-lib/lib/buffer-events.functions.d.ts.map +1 -1
  74. package/dist-lib/lib/cart-layers.functions.d.ts +1124 -36
  75. package/dist-lib/lib/cart-layers.functions.d.ts.map +1 -1
  76. package/dist-lib/lib/cart-lock.functions.d.ts +280 -0
  77. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  78. package/dist-lib/lib/cart-planning-settings.functions.d.ts +3080 -0
  79. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  80. package/dist-lib/lib/cart-replan.functions.d.ts +840 -0
  81. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  82. package/dist-lib/lib/create-order.functions.d.ts +4777 -102
  83. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  84. package/dist-lib/lib/cron/push-order-statuses.d.ts +4 -0
  85. package/dist-lib/lib/cron/push-order-statuses.d.ts.map +1 -0
  86. package/dist-lib/lib/cron/push-order-statuses.js +23 -0
  87. package/dist-lib/lib/floriday/floriday.server.d.ts +14 -0
  88. package/dist-lib/lib/floriday/floriday.server.d.ts.map +1 -0
  89. package/dist-lib/lib/floriday/floriday.server.js +92 -0
  90. package/dist-lib/lib/floriday/sales-orders.functions.d.ts +4736 -0
  91. package/dist-lib/lib/floriday/sales-orders.functions.d.ts.map +1 -0
  92. package/dist-lib/lib/floriday/sales-orders.functions.js +193 -0
  93. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +13288 -2362
  94. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  95. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +560 -0
  96. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  97. package/dist-lib/lib/floriday-mirror.functions.d.ts +280 -0
  98. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  99. package/dist-lib/lib/floriday-mirror.functions.js +282 -117
  100. package/dist-lib/lib/floriday-public.functions.d.ts +1960 -0
  101. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  102. package/dist-lib/lib/floriday-status-sync.server.d.ts +14 -0
  103. package/dist-lib/lib/floriday-status-sync.server.d.ts.map +1 -0
  104. package/dist-lib/lib/floriday-status-sync.server.js +130 -0
  105. package/dist-lib/lib/floriday-writes.functions.d.ts +560 -0
  106. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  107. package/dist-lib/lib/invoice-timing.functions.d.ts +1120 -0
  108. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  109. package/dist-lib/lib/load-carriers.functions.d.ts +280 -0
  110. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  111. package/dist-lib/lib/logistics-engine.functions.d.ts +1405 -15
  112. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  113. package/dist-lib/lib/logistics-stock.functions.d.ts +560 -0
  114. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  115. package/dist-lib/lib/order-addresses.functions.d.ts +280 -0
  116. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  117. package/dist-lib/lib/order-buffers.functions.d.ts +840 -0
  118. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  119. package/dist-lib/lib/order-carrier.functions.d.ts +560 -0
  120. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  121. package/dist-lib/lib/order-fulfill.functions.d.ts +280 -0
  122. package/dist-lib/lib/order-fulfill.functions.d.ts.map +1 -1
  123. package/dist-lib/lib/order-pickup.functions.d.ts +560 -0
  124. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  125. package/dist-lib/lib/order-shipments.functions.d.ts +1120 -0
  126. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  127. package/dist-lib/lib/product-dimensions.functions.d.ts +560 -0
  128. package/dist-lib/lib/product-dimensions.functions.d.ts.map +1 -1
  129. package/dist-lib/lib/salesorders-list.functions.d.ts +560 -0
  130. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  131. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  132. package/dist-lib/lib/salesorders-list.server.js +62 -3
  133. package/dist-lib/lib/salesorders.functions.d.ts +1680 -0
  134. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  135. package/dist-lib/lib/salesorders.functions.js +6 -1
  136. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +560 -0
  137. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  138. package/dist-lib/lib/tradeitems.functions.d.ts +280 -0
  139. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  140. package/package.json +1 -1
@@ -10078,22 +10078,31 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
10078
10078
  };
10079
10079
  logistics_floriday_push_refusals: {
10080
10080
  Row: {
10081
+ action: string | null;
10081
10082
  created_at: string;
10082
10083
  id: string;
10083
10084
  order_ref: string;
10084
10085
  reason: string;
10086
+ source_module: string | null;
10087
+ source_shell: string | null;
10085
10088
  };
10086
10089
  Insert: {
10090
+ action?: string | null;
10087
10091
  created_at?: string;
10088
10092
  id?: string;
10089
10093
  order_ref: string;
10090
10094
  reason: string;
10095
+ source_module?: string | null;
10096
+ source_shell?: string | null;
10091
10097
  };
10092
10098
  Update: {
10099
+ action?: string | null;
10093
10100
  created_at?: string;
10094
10101
  id?: string;
10095
10102
  order_ref?: string;
10096
10103
  reason?: string;
10104
+ source_module?: string | null;
10105
+ source_shell?: string | null;
10097
10106
  };
10098
10107
  Relationships: [];
10099
10108
  };
@@ -10172,6 +10181,42 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
10172
10181
  };
10173
10182
  Relationships: [];
10174
10183
  };
10184
+ logistics_floriday_status_sends: {
10185
+ Row: {
10186
+ action: string;
10187
+ created_at: string;
10188
+ detail: string | null;
10189
+ http_status: number | null;
10190
+ id: string;
10191
+ ok: boolean;
10192
+ order_ref: string;
10193
+ source_module: string | null;
10194
+ source_shell: string | null;
10195
+ };
10196
+ Insert: {
10197
+ action: string;
10198
+ created_at?: string;
10199
+ detail?: string | null;
10200
+ http_status?: number | null;
10201
+ id?: string;
10202
+ ok?: boolean;
10203
+ order_ref: string;
10204
+ source_module?: string | null;
10205
+ source_shell?: string | null;
10206
+ };
10207
+ Update: {
10208
+ action?: string;
10209
+ created_at?: string;
10210
+ detail?: string | null;
10211
+ http_status?: number | null;
10212
+ id?: string;
10213
+ ok?: boolean;
10214
+ order_ref?: string;
10215
+ source_module?: string | null;
10216
+ source_shell?: string | null;
10217
+ };
10218
+ Relationships: [];
10219
+ };
10175
10220
  logistics_formulas: {
10176
10221
  Row: {
10177
10222
  created_at: string;
@@ -10244,6 +10289,66 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
10244
10289
  };
10245
10290
  Relationships: [];
10246
10291
  };
10292
+ logistics_opening_exceptions: {
10293
+ Row: {
10294
+ closes: string | null;
10295
+ created_at: string;
10296
+ day: string;
10297
+ id: string;
10298
+ is_closed: boolean;
10299
+ note: string | null;
10300
+ opens: string | null;
10301
+ };
10302
+ Insert: {
10303
+ closes?: string | null;
10304
+ created_at?: string;
10305
+ day: string;
10306
+ id?: string;
10307
+ is_closed?: boolean;
10308
+ note?: string | null;
10309
+ opens?: string | null;
10310
+ };
10311
+ Update: {
10312
+ closes?: string | null;
10313
+ created_at?: string;
10314
+ day?: string;
10315
+ id?: string;
10316
+ is_closed?: boolean;
10317
+ note?: string | null;
10318
+ opens?: string | null;
10319
+ };
10320
+ Relationships: [];
10321
+ };
10322
+ logistics_opening_hours: {
10323
+ Row: {
10324
+ closes: string;
10325
+ created_at: string;
10326
+ id: string;
10327
+ is_active: boolean;
10328
+ note: string | null;
10329
+ opens: string;
10330
+ weekday: number;
10331
+ };
10332
+ Insert: {
10333
+ closes: string;
10334
+ created_at?: string;
10335
+ id?: string;
10336
+ is_active?: boolean;
10337
+ note?: string | null;
10338
+ opens: string;
10339
+ weekday: number;
10340
+ };
10341
+ Update: {
10342
+ closes?: string;
10343
+ created_at?: string;
10344
+ id?: string;
10345
+ is_active?: boolean;
10346
+ note?: string | null;
10347
+ opens?: string;
10348
+ weekday?: number;
10349
+ };
10350
+ Relationships: [];
10351
+ };
10247
10352
  logistics_pickup_moments: {
10248
10353
  Row: {
10249
10354
  carrier_ref: string | null;
@@ -11036,6 +11141,24 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
11036
11141
  };
11037
11142
  Relationships: [];
11038
11143
  };
11144
+ logistics_time_settings: {
11145
+ Row: {
11146
+ id: boolean;
11147
+ timezone: string;
11148
+ updated_at: string;
11149
+ };
11150
+ Insert: {
11151
+ id?: boolean;
11152
+ timezone: string;
11153
+ updated_at?: string;
11154
+ };
11155
+ Update: {
11156
+ id?: boolean;
11157
+ timezone?: string;
11158
+ updated_at?: string;
11159
+ };
11160
+ Relationships: [];
11161
+ };
11039
11162
  logistics_variables: {
11040
11163
  Row: {
11041
11164
  created_at: string;
@@ -13426,6 +13549,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
13426
13549
  customer_name: string;
13427
13550
  deleted_at: string | null;
13428
13551
  delivery_date: string | null;
13552
+ floriday_order_group_key: string | null;
13429
13553
  floriday_sales_order_id: string | null;
13430
13554
  id: string;
13431
13555
  invoice_due_at: string | null;
@@ -13453,6 +13577,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
13453
13577
  customer_name?: string;
13454
13578
  deleted_at?: string | null;
13455
13579
  delivery_date?: string | null;
13580
+ floriday_order_group_key?: string | null;
13456
13581
  floriday_sales_order_id?: string | null;
13457
13582
  id?: string;
13458
13583
  invoice_due_at?: string | null;
@@ -13480,6 +13605,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
13480
13605
  customer_name?: string;
13481
13606
  deleted_at?: string | null;
13482
13607
  delivery_date?: string | null;
13608
+ floriday_order_group_key?: string | null;
13483
13609
  floriday_sales_order_id?: string | null;
13484
13610
  id?: string;
13485
13611
  invoice_due_at?: string | null;
@@ -19343,6 +19469,36 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
19343
19469
  referencedColumns: ["id"];
19344
19470
  }];
19345
19471
  };
19472
+ voorraad_buffer_state: {
19473
+ Row: {
19474
+ buffer_id: string;
19475
+ buffer_key: string | null;
19476
+ closed_at: string | null;
19477
+ created_at: string;
19478
+ detached_orders: import("../integrations/supabase/types").Json;
19479
+ reason: string | null;
19480
+ updated_at: string;
19481
+ };
19482
+ Insert: {
19483
+ buffer_id: string;
19484
+ buffer_key?: string | null;
19485
+ closed_at?: string | null;
19486
+ created_at?: string;
19487
+ detached_orders?: import("../integrations/supabase/types").Json;
19488
+ reason?: string | null;
19489
+ updated_at?: string;
19490
+ };
19491
+ Update: {
19492
+ buffer_id?: string;
19493
+ buffer_key?: string | null;
19494
+ closed_at?: string | null;
19495
+ created_at?: string;
19496
+ detached_orders?: import("../integrations/supabase/types").Json;
19497
+ reason?: string | null;
19498
+ updated_at?: string;
19499
+ };
19500
+ Relationships: [];
19501
+ };
19346
19502
  voorraad_custom_fields: {
19347
19503
  Row: {
19348
19504
  created_at: string;
@@ -19385,6 +19541,36 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
19385
19541
  };
19386
19542
  Relationships: [];
19387
19543
  };
19544
+ voorraad_logistics_event_log: {
19545
+ Row: {
19546
+ created_at: string;
19547
+ event_id: string;
19548
+ event_type: string;
19549
+ order_ref: string | null;
19550
+ processed_at: string;
19551
+ result: import("../integrations/supabase/types").Json;
19552
+ updated_at: string;
19553
+ };
19554
+ Insert: {
19555
+ created_at?: string;
19556
+ event_id: string;
19557
+ event_type: string;
19558
+ order_ref?: string | null;
19559
+ processed_at?: string;
19560
+ result?: import("../integrations/supabase/types").Json;
19561
+ updated_at?: string;
19562
+ };
19563
+ Update: {
19564
+ created_at?: string;
19565
+ event_id?: string;
19566
+ event_type?: string;
19567
+ order_ref?: string | null;
19568
+ processed_at?: string;
19569
+ result?: import("../integrations/supabase/types").Json;
19570
+ updated_at?: string;
19571
+ };
19572
+ Relationships: [];
19573
+ };
19388
19574
  voorraad_media_upload_failures: {
19389
19575
  Row: {
19390
19576
  action: string;
@@ -23354,6 +23540,12 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
23354
23540
  station_carts: number;
23355
23541
  }[];
23356
23542
  };
23543
+ logistics_control_complete_cart: {
23544
+ Args: {
23545
+ p_cart_id: string;
23546
+ };
23547
+ Returns: number;
23548
+ };
23357
23549
  logistics_control_scan_approve: {
23358
23550
  Args: {
23359
23551
  p_allow_reprint?: boolean;
@@ -23433,6 +23625,15 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
23433
23625
  Args: never;
23434
23626
  Returns: import("../integrations/supabase/types").Json;
23435
23627
  };
23628
+ logistics_day_windows: {
23629
+ Args: {
23630
+ p_day: string;
23631
+ };
23632
+ Returns: {
23633
+ win_end: string;
23634
+ win_start: string;
23635
+ }[];
23636
+ };
23436
23637
  logistics_delay_customer_email: {
23437
23638
  Args: {
23438
23639
  p_customer: string;
@@ -23500,6 +23701,17 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
23500
23701
  };
23501
23702
  Returns: import("../integrations/supabase/types").Json;
23502
23703
  };
23704
+ logistics_enqueue_shipping_note_with_slip: {
23705
+ Args: {
23706
+ _cart_id: string;
23707
+ _is_herprint: boolean;
23708
+ _printer_id: string;
23709
+ _queue_item_id: string;
23710
+ _session_id: string;
23711
+ _slip_job_id: string;
23712
+ };
23713
+ Returns: string;
23714
+ };
23503
23715
  logistics_enqueue_sticker_with_slip: {
23504
23716
  Args: {
23505
23717
  _cart_id: string;
@@ -23638,6 +23850,32 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
23638
23850
  };
23639
23851
  Returns: string;
23640
23852
  };
23853
+ logistics_floriday_gate_status: {
23854
+ Args: never;
23855
+ Returns: import("../integrations/supabase/types").Json;
23856
+ };
23857
+ logistics_floriday_log_refusal: {
23858
+ Args: {
23859
+ _action?: string;
23860
+ _module?: string;
23861
+ _order_ref: string;
23862
+ _reason: string;
23863
+ _shell?: string;
23864
+ };
23865
+ Returns: undefined;
23866
+ };
23867
+ logistics_floriday_log_send: {
23868
+ Args: {
23869
+ _action: string;
23870
+ _detail?: string;
23871
+ _http_status?: number;
23872
+ _module?: string;
23873
+ _ok: boolean;
23874
+ _order_ref: string;
23875
+ _shell?: string;
23876
+ };
23877
+ Returns: undefined;
23878
+ };
23641
23879
  logistics_floriday_order_approved: {
23642
23880
  Args: {
23643
23881
  _order_ref: string;
@@ -23662,6 +23900,16 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
23662
23900
  Args: never;
23663
23901
  Returns: boolean;
23664
23902
  };
23903
+ logistics_floriday_stock_updates_enabled: {
23904
+ Args: never;
23905
+ Returns: boolean;
23906
+ };
23907
+ logistics_floriday_write_allowed: {
23908
+ Args: {
23909
+ _action: string;
23910
+ };
23911
+ Returns: boolean;
23912
+ };
23665
23913
  logistics_fulfill_barcode_requests: {
23666
23914
  Args: {
23667
23915
  p_limit?: number;
@@ -23730,6 +23978,10 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
23730
23978
  };
23731
23979
  Returns: string;
23732
23980
  };
23981
+ logistics_opening_timezone: {
23982
+ Args: never;
23983
+ Returns: string;
23984
+ };
23733
23985
  logistics_order_cart_count: {
23734
23986
  Args: {
23735
23987
  p_order_ref: string;
@@ -24121,6 +24373,10 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
24121
24373
  };
24122
24374
  Returns: string;
24123
24375
  };
24376
+ logistics_shipping_note_follows_slip: {
24377
+ Args: never;
24378
+ Returns: boolean;
24379
+ };
24124
24380
  logistics_shipping_note_from_barcode: {
24125
24381
  Args: {
24126
24382
  p_allow_reprint?: boolean;
@@ -24133,6 +24389,14 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
24133
24389
  Args: never;
24134
24390
  Returns: boolean;
24135
24391
  };
24392
+ logistics_subtract_working_minutes: {
24393
+ Args: {
24394
+ p_deadline: string;
24395
+ p_max_workdays?: number;
24396
+ p_minutes: number;
24397
+ };
24398
+ Returns: import("../integrations/supabase/types").Json;
24399
+ };
24136
24400
  logistics_supersede_stale_tasks: {
24137
24401
  Args: {
24138
24402
  p_keep: string[];
@@ -24169,6 +24433,12 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
24169
24433
  Args: never;
24170
24434
  Returns: string;
24171
24435
  };
24436
+ logistics_timezone_options: {
24437
+ Args: never;
24438
+ Returns: {
24439
+ name: string;
24440
+ }[];
24441
+ };
24172
24442
  logistics_upsert_task: {
24173
24443
  Args: {
24174
24444
  p_buffer_ref: string;
@@ -24188,6 +24458,16 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
24188
24458
  };
24189
24459
  Returns: string;
24190
24460
  };
24461
+ logistics_valid_timezone: {
24462
+ Args: {
24463
+ _tz: string;
24464
+ };
24465
+ Returns: boolean;
24466
+ };
24467
+ logistics_working_hours_status: {
24468
+ Args: never;
24469
+ Returns: import("../integrations/supabase/types").Json;
24470
+ };
24191
24471
  logistics_write_buffer_layer_positions: {
24192
24472
  Args: {
24193
24473
  p_buffer_id: string;
@@ -36220,22 +36500,31 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36220
36500
  };
36221
36501
  logistics_floriday_push_refusals: {
36222
36502
  Row: {
36503
+ action: string | null;
36223
36504
  created_at: string;
36224
36505
  id: string;
36225
36506
  order_ref: string;
36226
36507
  reason: string;
36508
+ source_module: string | null;
36509
+ source_shell: string | null;
36227
36510
  };
36228
36511
  Insert: {
36512
+ action?: string | null;
36229
36513
  created_at?: string;
36230
36514
  id?: string;
36231
36515
  order_ref: string;
36232
36516
  reason: string;
36517
+ source_module?: string | null;
36518
+ source_shell?: string | null;
36233
36519
  };
36234
36520
  Update: {
36521
+ action?: string | null;
36235
36522
  created_at?: string;
36236
36523
  id?: string;
36237
36524
  order_ref?: string;
36238
36525
  reason?: string;
36526
+ source_module?: string | null;
36527
+ source_shell?: string | null;
36239
36528
  };
36240
36529
  Relationships: [];
36241
36530
  };
@@ -36314,6 +36603,42 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36314
36603
  };
36315
36604
  Relationships: [];
36316
36605
  };
36606
+ logistics_floriday_status_sends: {
36607
+ Row: {
36608
+ action: string;
36609
+ created_at: string;
36610
+ detail: string | null;
36611
+ http_status: number | null;
36612
+ id: string;
36613
+ ok: boolean;
36614
+ order_ref: string;
36615
+ source_module: string | null;
36616
+ source_shell: string | null;
36617
+ };
36618
+ Insert: {
36619
+ action: string;
36620
+ created_at?: string;
36621
+ detail?: string | null;
36622
+ http_status?: number | null;
36623
+ id?: string;
36624
+ ok?: boolean;
36625
+ order_ref: string;
36626
+ source_module?: string | null;
36627
+ source_shell?: string | null;
36628
+ };
36629
+ Update: {
36630
+ action?: string;
36631
+ created_at?: string;
36632
+ detail?: string | null;
36633
+ http_status?: number | null;
36634
+ id?: string;
36635
+ ok?: boolean;
36636
+ order_ref?: string;
36637
+ source_module?: string | null;
36638
+ source_shell?: string | null;
36639
+ };
36640
+ Relationships: [];
36641
+ };
36317
36642
  logistics_formulas: {
36318
36643
  Row: {
36319
36644
  created_at: string;
@@ -36386,6 +36711,66 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36386
36711
  };
36387
36712
  Relationships: [];
36388
36713
  };
36714
+ logistics_opening_exceptions: {
36715
+ Row: {
36716
+ closes: string | null;
36717
+ created_at: string;
36718
+ day: string;
36719
+ id: string;
36720
+ is_closed: boolean;
36721
+ note: string | null;
36722
+ opens: string | null;
36723
+ };
36724
+ Insert: {
36725
+ closes?: string | null;
36726
+ created_at?: string;
36727
+ day: string;
36728
+ id?: string;
36729
+ is_closed?: boolean;
36730
+ note?: string | null;
36731
+ opens?: string | null;
36732
+ };
36733
+ Update: {
36734
+ closes?: string | null;
36735
+ created_at?: string;
36736
+ day?: string;
36737
+ id?: string;
36738
+ is_closed?: boolean;
36739
+ note?: string | null;
36740
+ opens?: string | null;
36741
+ };
36742
+ Relationships: [];
36743
+ };
36744
+ logistics_opening_hours: {
36745
+ Row: {
36746
+ closes: string;
36747
+ created_at: string;
36748
+ id: string;
36749
+ is_active: boolean;
36750
+ note: string | null;
36751
+ opens: string;
36752
+ weekday: number;
36753
+ };
36754
+ Insert: {
36755
+ closes: string;
36756
+ created_at?: string;
36757
+ id?: string;
36758
+ is_active?: boolean;
36759
+ note?: string | null;
36760
+ opens: string;
36761
+ weekday: number;
36762
+ };
36763
+ Update: {
36764
+ closes?: string;
36765
+ created_at?: string;
36766
+ id?: string;
36767
+ is_active?: boolean;
36768
+ note?: string | null;
36769
+ opens?: string;
36770
+ weekday?: number;
36771
+ };
36772
+ Relationships: [];
36773
+ };
36389
36774
  logistics_pickup_moments: {
36390
36775
  Row: {
36391
36776
  carrier_ref: string | null;
@@ -37178,6 +37563,24 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
37178
37563
  };
37179
37564
  Relationships: [];
37180
37565
  };
37566
+ logistics_time_settings: {
37567
+ Row: {
37568
+ id: boolean;
37569
+ timezone: string;
37570
+ updated_at: string;
37571
+ };
37572
+ Insert: {
37573
+ id?: boolean;
37574
+ timezone: string;
37575
+ updated_at?: string;
37576
+ };
37577
+ Update: {
37578
+ id?: boolean;
37579
+ timezone?: string;
37580
+ updated_at?: string;
37581
+ };
37582
+ Relationships: [];
37583
+ };
37181
37584
  logistics_variables: {
37182
37585
  Row: {
37183
37586
  created_at: string;
@@ -39568,6 +39971,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
39568
39971
  customer_name: string;
39569
39972
  deleted_at: string | null;
39570
39973
  delivery_date: string | null;
39974
+ floriday_order_group_key: string | null;
39571
39975
  floriday_sales_order_id: string | null;
39572
39976
  id: string;
39573
39977
  invoice_due_at: string | null;
@@ -39595,6 +39999,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
39595
39999
  customer_name?: string;
39596
40000
  deleted_at?: string | null;
39597
40001
  delivery_date?: string | null;
40002
+ floriday_order_group_key?: string | null;
39598
40003
  floriday_sales_order_id?: string | null;
39599
40004
  id?: string;
39600
40005
  invoice_due_at?: string | null;
@@ -39622,6 +40027,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
39622
40027
  customer_name?: string;
39623
40028
  deleted_at?: string | null;
39624
40029
  delivery_date?: string | null;
40030
+ floriday_order_group_key?: string | null;
39625
40031
  floriday_sales_order_id?: string | null;
39626
40032
  id?: string;
39627
40033
  invoice_due_at?: string | null;
@@ -45485,6 +45891,36 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
45485
45891
  referencedColumns: ["id"];
45486
45892
  }];
45487
45893
  };
45894
+ voorraad_buffer_state: {
45895
+ Row: {
45896
+ buffer_id: string;
45897
+ buffer_key: string | null;
45898
+ closed_at: string | null;
45899
+ created_at: string;
45900
+ detached_orders: import("../integrations/supabase/types").Json;
45901
+ reason: string | null;
45902
+ updated_at: string;
45903
+ };
45904
+ Insert: {
45905
+ buffer_id: string;
45906
+ buffer_key?: string | null;
45907
+ closed_at?: string | null;
45908
+ created_at?: string;
45909
+ detached_orders?: import("../integrations/supabase/types").Json;
45910
+ reason?: string | null;
45911
+ updated_at?: string;
45912
+ };
45913
+ Update: {
45914
+ buffer_id?: string;
45915
+ buffer_key?: string | null;
45916
+ closed_at?: string | null;
45917
+ created_at?: string;
45918
+ detached_orders?: import("../integrations/supabase/types").Json;
45919
+ reason?: string | null;
45920
+ updated_at?: string;
45921
+ };
45922
+ Relationships: [];
45923
+ };
45488
45924
  voorraad_custom_fields: {
45489
45925
  Row: {
45490
45926
  created_at: string;
@@ -45527,6 +45963,36 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
45527
45963
  };
45528
45964
  Relationships: [];
45529
45965
  };
45966
+ voorraad_logistics_event_log: {
45967
+ Row: {
45968
+ created_at: string;
45969
+ event_id: string;
45970
+ event_type: string;
45971
+ order_ref: string | null;
45972
+ processed_at: string;
45973
+ result: import("../integrations/supabase/types").Json;
45974
+ updated_at: string;
45975
+ };
45976
+ Insert: {
45977
+ created_at?: string;
45978
+ event_id: string;
45979
+ event_type: string;
45980
+ order_ref?: string | null;
45981
+ processed_at?: string;
45982
+ result?: import("../integrations/supabase/types").Json;
45983
+ updated_at?: string;
45984
+ };
45985
+ Update: {
45986
+ created_at?: string;
45987
+ event_id?: string;
45988
+ event_type?: string;
45989
+ order_ref?: string | null;
45990
+ processed_at?: string;
45991
+ result?: import("../integrations/supabase/types").Json;
45992
+ updated_at?: string;
45993
+ };
45994
+ Relationships: [];
45995
+ };
45530
45996
  voorraad_media_upload_failures: {
45531
45997
  Row: {
45532
45998
  action: string;
@@ -49496,6 +49962,12 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
49496
49962
  station_carts: number;
49497
49963
  }[];
49498
49964
  };
49965
+ logistics_control_complete_cart: {
49966
+ Args: {
49967
+ p_cart_id: string;
49968
+ };
49969
+ Returns: number;
49970
+ };
49499
49971
  logistics_control_scan_approve: {
49500
49972
  Args: {
49501
49973
  p_allow_reprint?: boolean;
@@ -49575,6 +50047,15 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
49575
50047
  Args: never;
49576
50048
  Returns: import("../integrations/supabase/types").Json;
49577
50049
  };
50050
+ logistics_day_windows: {
50051
+ Args: {
50052
+ p_day: string;
50053
+ };
50054
+ Returns: {
50055
+ win_end: string;
50056
+ win_start: string;
50057
+ }[];
50058
+ };
49578
50059
  logistics_delay_customer_email: {
49579
50060
  Args: {
49580
50061
  p_customer: string;
@@ -49642,6 +50123,17 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
49642
50123
  };
49643
50124
  Returns: import("../integrations/supabase/types").Json;
49644
50125
  };
50126
+ logistics_enqueue_shipping_note_with_slip: {
50127
+ Args: {
50128
+ _cart_id: string;
50129
+ _is_herprint: boolean;
50130
+ _printer_id: string;
50131
+ _queue_item_id: string;
50132
+ _session_id: string;
50133
+ _slip_job_id: string;
50134
+ };
50135
+ Returns: string;
50136
+ };
49645
50137
  logistics_enqueue_sticker_with_slip: {
49646
50138
  Args: {
49647
50139
  _cart_id: string;
@@ -49780,6 +50272,32 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
49780
50272
  };
49781
50273
  Returns: string;
49782
50274
  };
50275
+ logistics_floriday_gate_status: {
50276
+ Args: never;
50277
+ Returns: import("../integrations/supabase/types").Json;
50278
+ };
50279
+ logistics_floriday_log_refusal: {
50280
+ Args: {
50281
+ _action?: string;
50282
+ _module?: string;
50283
+ _order_ref: string;
50284
+ _reason: string;
50285
+ _shell?: string;
50286
+ };
50287
+ Returns: undefined;
50288
+ };
50289
+ logistics_floriday_log_send: {
50290
+ Args: {
50291
+ _action: string;
50292
+ _detail?: string;
50293
+ _http_status?: number;
50294
+ _module?: string;
50295
+ _ok: boolean;
50296
+ _order_ref: string;
50297
+ _shell?: string;
50298
+ };
50299
+ Returns: undefined;
50300
+ };
49783
50301
  logistics_floriday_order_approved: {
49784
50302
  Args: {
49785
50303
  _order_ref: string;
@@ -49804,6 +50322,16 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
49804
50322
  Args: never;
49805
50323
  Returns: boolean;
49806
50324
  };
50325
+ logistics_floriday_stock_updates_enabled: {
50326
+ Args: never;
50327
+ Returns: boolean;
50328
+ };
50329
+ logistics_floriday_write_allowed: {
50330
+ Args: {
50331
+ _action: string;
50332
+ };
50333
+ Returns: boolean;
50334
+ };
49807
50335
  logistics_fulfill_barcode_requests: {
49808
50336
  Args: {
49809
50337
  p_limit?: number;
@@ -49872,6 +50400,10 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
49872
50400
  };
49873
50401
  Returns: string;
49874
50402
  };
50403
+ logistics_opening_timezone: {
50404
+ Args: never;
50405
+ Returns: string;
50406
+ };
49875
50407
  logistics_order_cart_count: {
49876
50408
  Args: {
49877
50409
  p_order_ref: string;
@@ -50263,6 +50795,10 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
50263
50795
  };
50264
50796
  Returns: string;
50265
50797
  };
50798
+ logistics_shipping_note_follows_slip: {
50799
+ Args: never;
50800
+ Returns: boolean;
50801
+ };
50266
50802
  logistics_shipping_note_from_barcode: {
50267
50803
  Args: {
50268
50804
  p_allow_reprint?: boolean;
@@ -50275,6 +50811,14 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
50275
50811
  Args: never;
50276
50812
  Returns: boolean;
50277
50813
  };
50814
+ logistics_subtract_working_minutes: {
50815
+ Args: {
50816
+ p_deadline: string;
50817
+ p_max_workdays?: number;
50818
+ p_minutes: number;
50819
+ };
50820
+ Returns: import("../integrations/supabase/types").Json;
50821
+ };
50278
50822
  logistics_supersede_stale_tasks: {
50279
50823
  Args: {
50280
50824
  p_keep: string[];
@@ -50311,6 +50855,12 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
50311
50855
  Args: never;
50312
50856
  Returns: string;
50313
50857
  };
50858
+ logistics_timezone_options: {
50859
+ Args: never;
50860
+ Returns: {
50861
+ name: string;
50862
+ }[];
50863
+ };
50314
50864
  logistics_upsert_task: {
50315
50865
  Args: {
50316
50866
  p_buffer_ref: string;
@@ -50330,6 +50880,16 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
50330
50880
  };
50331
50881
  Returns: string;
50332
50882
  };
50883
+ logistics_valid_timezone: {
50884
+ Args: {
50885
+ _tz: string;
50886
+ };
50887
+ Returns: boolean;
50888
+ };
50889
+ logistics_working_hours_status: {
50890
+ Args: never;
50891
+ Returns: import("../integrations/supabase/types").Json;
50892
+ };
50333
50893
  logistics_write_buffer_layer_positions: {
50334
50894
  Args: {
50335
50895
  p_buffer_id: string;