@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
@@ -10092,22 +10092,31 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
10092
10092
  };
10093
10093
  logistics_floriday_push_refusals: {
10094
10094
  Row: {
10095
+ action: string | null;
10095
10096
  created_at: string;
10096
10097
  id: string;
10097
10098
  order_ref: string;
10098
10099
  reason: string;
10100
+ source_module: string | null;
10101
+ source_shell: string | null;
10099
10102
  };
10100
10103
  Insert: {
10104
+ action?: string | null;
10101
10105
  created_at?: string;
10102
10106
  id?: string;
10103
10107
  order_ref: string;
10104
10108
  reason: string;
10109
+ source_module?: string | null;
10110
+ source_shell?: string | null;
10105
10111
  };
10106
10112
  Update: {
10113
+ action?: string | null;
10107
10114
  created_at?: string;
10108
10115
  id?: string;
10109
10116
  order_ref?: string;
10110
10117
  reason?: string;
10118
+ source_module?: string | null;
10119
+ source_shell?: string | null;
10111
10120
  };
10112
10121
  Relationships: [];
10113
10122
  };
@@ -10186,6 +10195,42 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
10186
10195
  };
10187
10196
  Relationships: [];
10188
10197
  };
10198
+ logistics_floriday_status_sends: {
10199
+ Row: {
10200
+ action: string;
10201
+ created_at: string;
10202
+ detail: string | null;
10203
+ http_status: number | null;
10204
+ id: string;
10205
+ ok: boolean;
10206
+ order_ref: string;
10207
+ source_module: string | null;
10208
+ source_shell: string | null;
10209
+ };
10210
+ Insert: {
10211
+ action: string;
10212
+ created_at?: string;
10213
+ detail?: string | null;
10214
+ http_status?: number | null;
10215
+ id?: string;
10216
+ ok?: boolean;
10217
+ order_ref: string;
10218
+ source_module?: string | null;
10219
+ source_shell?: string | null;
10220
+ };
10221
+ Update: {
10222
+ action?: string;
10223
+ created_at?: string;
10224
+ detail?: string | null;
10225
+ http_status?: number | null;
10226
+ id?: string;
10227
+ ok?: boolean;
10228
+ order_ref?: string;
10229
+ source_module?: string | null;
10230
+ source_shell?: string | null;
10231
+ };
10232
+ Relationships: [];
10233
+ };
10189
10234
  logistics_formulas: {
10190
10235
  Row: {
10191
10236
  created_at: string;
@@ -10258,6 +10303,66 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
10258
10303
  };
10259
10304
  Relationships: [];
10260
10305
  };
10306
+ logistics_opening_exceptions: {
10307
+ Row: {
10308
+ closes: string | null;
10309
+ created_at: string;
10310
+ day: string;
10311
+ id: string;
10312
+ is_closed: boolean;
10313
+ note: string | null;
10314
+ opens: string | null;
10315
+ };
10316
+ Insert: {
10317
+ closes?: string | null;
10318
+ created_at?: string;
10319
+ day: string;
10320
+ id?: string;
10321
+ is_closed?: boolean;
10322
+ note?: string | null;
10323
+ opens?: string | null;
10324
+ };
10325
+ Update: {
10326
+ closes?: string | null;
10327
+ created_at?: string;
10328
+ day?: string;
10329
+ id?: string;
10330
+ is_closed?: boolean;
10331
+ note?: string | null;
10332
+ opens?: string | null;
10333
+ };
10334
+ Relationships: [];
10335
+ };
10336
+ logistics_opening_hours: {
10337
+ Row: {
10338
+ closes: string;
10339
+ created_at: string;
10340
+ id: string;
10341
+ is_active: boolean;
10342
+ note: string | null;
10343
+ opens: string;
10344
+ weekday: number;
10345
+ };
10346
+ Insert: {
10347
+ closes: string;
10348
+ created_at?: string;
10349
+ id?: string;
10350
+ is_active?: boolean;
10351
+ note?: string | null;
10352
+ opens: string;
10353
+ weekday: number;
10354
+ };
10355
+ Update: {
10356
+ closes?: string;
10357
+ created_at?: string;
10358
+ id?: string;
10359
+ is_active?: boolean;
10360
+ note?: string | null;
10361
+ opens?: string;
10362
+ weekday?: number;
10363
+ };
10364
+ Relationships: [];
10365
+ };
10261
10366
  logistics_pickup_moments: {
10262
10367
  Row: {
10263
10368
  carrier_ref: string | null;
@@ -11050,6 +11155,24 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
11050
11155
  };
11051
11156
  Relationships: [];
11052
11157
  };
11158
+ logistics_time_settings: {
11159
+ Row: {
11160
+ id: boolean;
11161
+ timezone: string;
11162
+ updated_at: string;
11163
+ };
11164
+ Insert: {
11165
+ id?: boolean;
11166
+ timezone: string;
11167
+ updated_at?: string;
11168
+ };
11169
+ Update: {
11170
+ id?: boolean;
11171
+ timezone?: string;
11172
+ updated_at?: string;
11173
+ };
11174
+ Relationships: [];
11175
+ };
11053
11176
  logistics_variables: {
11054
11177
  Row: {
11055
11178
  created_at: string;
@@ -13440,6 +13563,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
13440
13563
  customer_name: string;
13441
13564
  deleted_at: string | null;
13442
13565
  delivery_date: string | null;
13566
+ floriday_order_group_key: string | null;
13443
13567
  floriday_sales_order_id: string | null;
13444
13568
  id: string;
13445
13569
  invoice_due_at: string | null;
@@ -13467,6 +13591,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
13467
13591
  customer_name?: string;
13468
13592
  deleted_at?: string | null;
13469
13593
  delivery_date?: string | null;
13594
+ floriday_order_group_key?: string | null;
13470
13595
  floriday_sales_order_id?: string | null;
13471
13596
  id?: string;
13472
13597
  invoice_due_at?: string | null;
@@ -13494,6 +13619,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
13494
13619
  customer_name?: string;
13495
13620
  deleted_at?: string | null;
13496
13621
  delivery_date?: string | null;
13622
+ floriday_order_group_key?: string | null;
13497
13623
  floriday_sales_order_id?: string | null;
13498
13624
  id?: string;
13499
13625
  invoice_due_at?: string | null;
@@ -19357,6 +19483,36 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
19357
19483
  referencedColumns: ["id"];
19358
19484
  }];
19359
19485
  };
19486
+ voorraad_buffer_state: {
19487
+ Row: {
19488
+ buffer_id: string;
19489
+ buffer_key: string | null;
19490
+ closed_at: string | null;
19491
+ created_at: string;
19492
+ detached_orders: import("../integrations/supabase/types").Json;
19493
+ reason: string | null;
19494
+ updated_at: string;
19495
+ };
19496
+ Insert: {
19497
+ buffer_id: string;
19498
+ buffer_key?: string | null;
19499
+ closed_at?: string | null;
19500
+ created_at?: string;
19501
+ detached_orders?: import("../integrations/supabase/types").Json;
19502
+ reason?: string | null;
19503
+ updated_at?: string;
19504
+ };
19505
+ Update: {
19506
+ buffer_id?: string;
19507
+ buffer_key?: string | null;
19508
+ closed_at?: string | null;
19509
+ created_at?: string;
19510
+ detached_orders?: import("../integrations/supabase/types").Json;
19511
+ reason?: string | null;
19512
+ updated_at?: string;
19513
+ };
19514
+ Relationships: [];
19515
+ };
19360
19516
  voorraad_custom_fields: {
19361
19517
  Row: {
19362
19518
  created_at: string;
@@ -19399,6 +19555,36 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
19399
19555
  };
19400
19556
  Relationships: [];
19401
19557
  };
19558
+ voorraad_logistics_event_log: {
19559
+ Row: {
19560
+ created_at: string;
19561
+ event_id: string;
19562
+ event_type: string;
19563
+ order_ref: string | null;
19564
+ processed_at: string;
19565
+ result: import("../integrations/supabase/types").Json;
19566
+ updated_at: string;
19567
+ };
19568
+ Insert: {
19569
+ created_at?: string;
19570
+ event_id: string;
19571
+ event_type: string;
19572
+ order_ref?: string | null;
19573
+ processed_at?: string;
19574
+ result?: import("../integrations/supabase/types").Json;
19575
+ updated_at?: string;
19576
+ };
19577
+ Update: {
19578
+ created_at?: string;
19579
+ event_id?: string;
19580
+ event_type?: string;
19581
+ order_ref?: string | null;
19582
+ processed_at?: string;
19583
+ result?: import("../integrations/supabase/types").Json;
19584
+ updated_at?: string;
19585
+ };
19586
+ Relationships: [];
19587
+ };
19402
19588
  voorraad_media_upload_failures: {
19403
19589
  Row: {
19404
19590
  action: string;
@@ -23368,6 +23554,12 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
23368
23554
  station_carts: number;
23369
23555
  }[];
23370
23556
  };
23557
+ logistics_control_complete_cart: {
23558
+ Args: {
23559
+ p_cart_id: string;
23560
+ };
23561
+ Returns: number;
23562
+ };
23371
23563
  logistics_control_scan_approve: {
23372
23564
  Args: {
23373
23565
  p_allow_reprint?: boolean;
@@ -23447,6 +23639,15 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
23447
23639
  Args: never;
23448
23640
  Returns: import("../integrations/supabase/types").Json;
23449
23641
  };
23642
+ logistics_day_windows: {
23643
+ Args: {
23644
+ p_day: string;
23645
+ };
23646
+ Returns: {
23647
+ win_end: string;
23648
+ win_start: string;
23649
+ }[];
23650
+ };
23450
23651
  logistics_delay_customer_email: {
23451
23652
  Args: {
23452
23653
  p_customer: string;
@@ -23514,6 +23715,17 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
23514
23715
  };
23515
23716
  Returns: import("../integrations/supabase/types").Json;
23516
23717
  };
23718
+ logistics_enqueue_shipping_note_with_slip: {
23719
+ Args: {
23720
+ _cart_id: string;
23721
+ _is_herprint: boolean;
23722
+ _printer_id: string;
23723
+ _queue_item_id: string;
23724
+ _session_id: string;
23725
+ _slip_job_id: string;
23726
+ };
23727
+ Returns: string;
23728
+ };
23517
23729
  logistics_enqueue_sticker_with_slip: {
23518
23730
  Args: {
23519
23731
  _cart_id: string;
@@ -23652,6 +23864,32 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
23652
23864
  };
23653
23865
  Returns: string;
23654
23866
  };
23867
+ logistics_floriday_gate_status: {
23868
+ Args: never;
23869
+ Returns: import("../integrations/supabase/types").Json;
23870
+ };
23871
+ logistics_floriday_log_refusal: {
23872
+ Args: {
23873
+ _action?: string;
23874
+ _module?: string;
23875
+ _order_ref: string;
23876
+ _reason: string;
23877
+ _shell?: string;
23878
+ };
23879
+ Returns: undefined;
23880
+ };
23881
+ logistics_floriday_log_send: {
23882
+ Args: {
23883
+ _action: string;
23884
+ _detail?: string;
23885
+ _http_status?: number;
23886
+ _module?: string;
23887
+ _ok: boolean;
23888
+ _order_ref: string;
23889
+ _shell?: string;
23890
+ };
23891
+ Returns: undefined;
23892
+ };
23655
23893
  logistics_floriday_order_approved: {
23656
23894
  Args: {
23657
23895
  _order_ref: string;
@@ -23676,6 +23914,16 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
23676
23914
  Args: never;
23677
23915
  Returns: boolean;
23678
23916
  };
23917
+ logistics_floriday_stock_updates_enabled: {
23918
+ Args: never;
23919
+ Returns: boolean;
23920
+ };
23921
+ logistics_floriday_write_allowed: {
23922
+ Args: {
23923
+ _action: string;
23924
+ };
23925
+ Returns: boolean;
23926
+ };
23679
23927
  logistics_fulfill_barcode_requests: {
23680
23928
  Args: {
23681
23929
  p_limit?: number;
@@ -23744,6 +23992,10 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
23744
23992
  };
23745
23993
  Returns: string;
23746
23994
  };
23995
+ logistics_opening_timezone: {
23996
+ Args: never;
23997
+ Returns: string;
23998
+ };
23747
23999
  logistics_order_cart_count: {
23748
24000
  Args: {
23749
24001
  p_order_ref: string;
@@ -24135,6 +24387,10 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
24135
24387
  };
24136
24388
  Returns: string;
24137
24389
  };
24390
+ logistics_shipping_note_follows_slip: {
24391
+ Args: never;
24392
+ Returns: boolean;
24393
+ };
24138
24394
  logistics_shipping_note_from_barcode: {
24139
24395
  Args: {
24140
24396
  p_allow_reprint?: boolean;
@@ -24147,6 +24403,14 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
24147
24403
  Args: never;
24148
24404
  Returns: boolean;
24149
24405
  };
24406
+ logistics_subtract_working_minutes: {
24407
+ Args: {
24408
+ p_deadline: string;
24409
+ p_max_workdays?: number;
24410
+ p_minutes: number;
24411
+ };
24412
+ Returns: import("../integrations/supabase/types").Json;
24413
+ };
24150
24414
  logistics_supersede_stale_tasks: {
24151
24415
  Args: {
24152
24416
  p_keep: string[];
@@ -24183,6 +24447,12 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
24183
24447
  Args: never;
24184
24448
  Returns: string;
24185
24449
  };
24450
+ logistics_timezone_options: {
24451
+ Args: never;
24452
+ Returns: {
24453
+ name: string;
24454
+ }[];
24455
+ };
24186
24456
  logistics_upsert_task: {
24187
24457
  Args: {
24188
24458
  p_buffer_ref: string;
@@ -24202,6 +24472,16 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
24202
24472
  };
24203
24473
  Returns: string;
24204
24474
  };
24475
+ logistics_valid_timezone: {
24476
+ Args: {
24477
+ _tz: string;
24478
+ };
24479
+ Returns: boolean;
24480
+ };
24481
+ logistics_working_hours_status: {
24482
+ Args: never;
24483
+ Returns: import("../integrations/supabase/types").Json;
24484
+ };
24205
24485
  logistics_write_buffer_layer_positions: {
24206
24486
  Args: {
24207
24487
  p_buffer_id: string;
@@ -36231,22 +36511,31 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
36231
36511
  };
36232
36512
  logistics_floriday_push_refusals: {
36233
36513
  Row: {
36514
+ action: string | null;
36234
36515
  created_at: string;
36235
36516
  id: string;
36236
36517
  order_ref: string;
36237
36518
  reason: string;
36519
+ source_module: string | null;
36520
+ source_shell: string | null;
36238
36521
  };
36239
36522
  Insert: {
36523
+ action?: string | null;
36240
36524
  created_at?: string;
36241
36525
  id?: string;
36242
36526
  order_ref: string;
36243
36527
  reason: string;
36528
+ source_module?: string | null;
36529
+ source_shell?: string | null;
36244
36530
  };
36245
36531
  Update: {
36532
+ action?: string | null;
36246
36533
  created_at?: string;
36247
36534
  id?: string;
36248
36535
  order_ref?: string;
36249
36536
  reason?: string;
36537
+ source_module?: string | null;
36538
+ source_shell?: string | null;
36250
36539
  };
36251
36540
  Relationships: [];
36252
36541
  };
@@ -36325,6 +36614,42 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
36325
36614
  };
36326
36615
  Relationships: [];
36327
36616
  };
36617
+ logistics_floriday_status_sends: {
36618
+ Row: {
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
+ Insert: {
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
+ Update: {
36641
+ action?: string;
36642
+ created_at?: string;
36643
+ detail?: string | null;
36644
+ http_status?: number | null;
36645
+ id?: string;
36646
+ ok?: boolean;
36647
+ order_ref?: string;
36648
+ source_module?: string | null;
36649
+ source_shell?: string | null;
36650
+ };
36651
+ Relationships: [];
36652
+ };
36328
36653
  logistics_formulas: {
36329
36654
  Row: {
36330
36655
  created_at: string;
@@ -36397,6 +36722,66 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
36397
36722
  };
36398
36723
  Relationships: [];
36399
36724
  };
36725
+ logistics_opening_exceptions: {
36726
+ Row: {
36727
+ closes: string | null;
36728
+ created_at: string;
36729
+ day: string;
36730
+ id: string;
36731
+ is_closed: boolean;
36732
+ note: string | null;
36733
+ opens: string | null;
36734
+ };
36735
+ Insert: {
36736
+ closes?: string | null;
36737
+ created_at?: string;
36738
+ day: string;
36739
+ id?: string;
36740
+ is_closed?: boolean;
36741
+ note?: string | null;
36742
+ opens?: string | null;
36743
+ };
36744
+ Update: {
36745
+ closes?: string | null;
36746
+ created_at?: string;
36747
+ day?: string;
36748
+ id?: string;
36749
+ is_closed?: boolean;
36750
+ note?: string | null;
36751
+ opens?: string | null;
36752
+ };
36753
+ Relationships: [];
36754
+ };
36755
+ logistics_opening_hours: {
36756
+ Row: {
36757
+ closes: string;
36758
+ created_at: string;
36759
+ id: string;
36760
+ is_active: boolean;
36761
+ note: string | null;
36762
+ opens: string;
36763
+ weekday: number;
36764
+ };
36765
+ Insert: {
36766
+ closes: string;
36767
+ created_at?: string;
36768
+ id?: string;
36769
+ is_active?: boolean;
36770
+ note?: string | null;
36771
+ opens: string;
36772
+ weekday: number;
36773
+ };
36774
+ Update: {
36775
+ closes?: string;
36776
+ created_at?: string;
36777
+ id?: string;
36778
+ is_active?: boolean;
36779
+ note?: string | null;
36780
+ opens?: string;
36781
+ weekday?: number;
36782
+ };
36783
+ Relationships: [];
36784
+ };
36400
36785
  logistics_pickup_moments: {
36401
36786
  Row: {
36402
36787
  carrier_ref: string | null;
@@ -37189,6 +37574,24 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
37189
37574
  };
37190
37575
  Relationships: [];
37191
37576
  };
37577
+ logistics_time_settings: {
37578
+ Row: {
37579
+ id: boolean;
37580
+ timezone: string;
37581
+ updated_at: string;
37582
+ };
37583
+ Insert: {
37584
+ id?: boolean;
37585
+ timezone: string;
37586
+ updated_at?: string;
37587
+ };
37588
+ Update: {
37589
+ id?: boolean;
37590
+ timezone?: string;
37591
+ updated_at?: string;
37592
+ };
37593
+ Relationships: [];
37594
+ };
37192
37595
  logistics_variables: {
37193
37596
  Row: {
37194
37597
  created_at: string;
@@ -39579,6 +39982,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
39579
39982
  customer_name: string;
39580
39983
  deleted_at: string | null;
39581
39984
  delivery_date: string | null;
39985
+ floriday_order_group_key: string | null;
39582
39986
  floriday_sales_order_id: string | null;
39583
39987
  id: string;
39584
39988
  invoice_due_at: string | null;
@@ -39606,6 +40010,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
39606
40010
  customer_name?: string;
39607
40011
  deleted_at?: string | null;
39608
40012
  delivery_date?: string | null;
40013
+ floriday_order_group_key?: string | null;
39609
40014
  floriday_sales_order_id?: string | null;
39610
40015
  id?: string;
39611
40016
  invoice_due_at?: string | null;
@@ -39633,6 +40038,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
39633
40038
  customer_name?: string;
39634
40039
  deleted_at?: string | null;
39635
40040
  delivery_date?: string | null;
40041
+ floriday_order_group_key?: string | null;
39636
40042
  floriday_sales_order_id?: string | null;
39637
40043
  id?: string;
39638
40044
  invoice_due_at?: string | null;
@@ -45496,6 +45902,36 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
45496
45902
  referencedColumns: ["id"];
45497
45903
  }];
45498
45904
  };
45905
+ voorraad_buffer_state: {
45906
+ Row: {
45907
+ buffer_id: string;
45908
+ buffer_key: string | null;
45909
+ closed_at: string | null;
45910
+ created_at: string;
45911
+ detached_orders: import("../integrations/supabase/types").Json;
45912
+ reason: string | null;
45913
+ updated_at: string;
45914
+ };
45915
+ Insert: {
45916
+ buffer_id: string;
45917
+ buffer_key?: string | null;
45918
+ closed_at?: string | null;
45919
+ created_at?: string;
45920
+ detached_orders?: import("../integrations/supabase/types").Json;
45921
+ reason?: string | null;
45922
+ updated_at?: string;
45923
+ };
45924
+ Update: {
45925
+ buffer_id?: string;
45926
+ buffer_key?: string | null;
45927
+ closed_at?: string | null;
45928
+ created_at?: string;
45929
+ detached_orders?: import("../integrations/supabase/types").Json;
45930
+ reason?: string | null;
45931
+ updated_at?: string;
45932
+ };
45933
+ Relationships: [];
45934
+ };
45499
45935
  voorraad_custom_fields: {
45500
45936
  Row: {
45501
45937
  created_at: string;
@@ -45538,6 +45974,36 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
45538
45974
  };
45539
45975
  Relationships: [];
45540
45976
  };
45977
+ voorraad_logistics_event_log: {
45978
+ Row: {
45979
+ created_at: string;
45980
+ event_id: string;
45981
+ event_type: string;
45982
+ order_ref: string | null;
45983
+ processed_at: string;
45984
+ result: import("../integrations/supabase/types").Json;
45985
+ updated_at: string;
45986
+ };
45987
+ Insert: {
45988
+ created_at?: string;
45989
+ event_id: string;
45990
+ event_type: string;
45991
+ order_ref?: string | null;
45992
+ processed_at?: string;
45993
+ result?: import("../integrations/supabase/types").Json;
45994
+ updated_at?: string;
45995
+ };
45996
+ Update: {
45997
+ created_at?: string;
45998
+ event_id?: string;
45999
+ event_type?: string;
46000
+ order_ref?: string | null;
46001
+ processed_at?: string;
46002
+ result?: import("../integrations/supabase/types").Json;
46003
+ updated_at?: string;
46004
+ };
46005
+ Relationships: [];
46006
+ };
45541
46007
  voorraad_media_upload_failures: {
45542
46008
  Row: {
45543
46009
  action: string;
@@ -49507,6 +49973,12 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
49507
49973
  station_carts: number;
49508
49974
  }[];
49509
49975
  };
49976
+ logistics_control_complete_cart: {
49977
+ Args: {
49978
+ p_cart_id: string;
49979
+ };
49980
+ Returns: number;
49981
+ };
49510
49982
  logistics_control_scan_approve: {
49511
49983
  Args: {
49512
49984
  p_allow_reprint?: boolean;
@@ -49586,6 +50058,15 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
49586
50058
  Args: never;
49587
50059
  Returns: import("../integrations/supabase/types").Json;
49588
50060
  };
50061
+ logistics_day_windows: {
50062
+ Args: {
50063
+ p_day: string;
50064
+ };
50065
+ Returns: {
50066
+ win_end: string;
50067
+ win_start: string;
50068
+ }[];
50069
+ };
49589
50070
  logistics_delay_customer_email: {
49590
50071
  Args: {
49591
50072
  p_customer: string;
@@ -49653,6 +50134,17 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
49653
50134
  };
49654
50135
  Returns: import("../integrations/supabase/types").Json;
49655
50136
  };
50137
+ logistics_enqueue_shipping_note_with_slip: {
50138
+ Args: {
50139
+ _cart_id: string;
50140
+ _is_herprint: boolean;
50141
+ _printer_id: string;
50142
+ _queue_item_id: string;
50143
+ _session_id: string;
50144
+ _slip_job_id: string;
50145
+ };
50146
+ Returns: string;
50147
+ };
49656
50148
  logistics_enqueue_sticker_with_slip: {
49657
50149
  Args: {
49658
50150
  _cart_id: string;
@@ -49791,6 +50283,32 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
49791
50283
  };
49792
50284
  Returns: string;
49793
50285
  };
50286
+ logistics_floriday_gate_status: {
50287
+ Args: never;
50288
+ Returns: import("../integrations/supabase/types").Json;
50289
+ };
50290
+ logistics_floriday_log_refusal: {
50291
+ Args: {
50292
+ _action?: string;
50293
+ _module?: string;
50294
+ _order_ref: string;
50295
+ _reason: string;
50296
+ _shell?: string;
50297
+ };
50298
+ Returns: undefined;
50299
+ };
50300
+ logistics_floriday_log_send: {
50301
+ Args: {
50302
+ _action: string;
50303
+ _detail?: string;
50304
+ _http_status?: number;
50305
+ _module?: string;
50306
+ _ok: boolean;
50307
+ _order_ref: string;
50308
+ _shell?: string;
50309
+ };
50310
+ Returns: undefined;
50311
+ };
49794
50312
  logistics_floriday_order_approved: {
49795
50313
  Args: {
49796
50314
  _order_ref: string;
@@ -49815,6 +50333,16 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
49815
50333
  Args: never;
49816
50334
  Returns: boolean;
49817
50335
  };
50336
+ logistics_floriday_stock_updates_enabled: {
50337
+ Args: never;
50338
+ Returns: boolean;
50339
+ };
50340
+ logistics_floriday_write_allowed: {
50341
+ Args: {
50342
+ _action: string;
50343
+ };
50344
+ Returns: boolean;
50345
+ };
49818
50346
  logistics_fulfill_barcode_requests: {
49819
50347
  Args: {
49820
50348
  p_limit?: number;
@@ -49883,6 +50411,10 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
49883
50411
  };
49884
50412
  Returns: string;
49885
50413
  };
50414
+ logistics_opening_timezone: {
50415
+ Args: never;
50416
+ Returns: string;
50417
+ };
49886
50418
  logistics_order_cart_count: {
49887
50419
  Args: {
49888
50420
  p_order_ref: string;
@@ -50274,6 +50806,10 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
50274
50806
  };
50275
50807
  Returns: string;
50276
50808
  };
50809
+ logistics_shipping_note_follows_slip: {
50810
+ Args: never;
50811
+ Returns: boolean;
50812
+ };
50277
50813
  logistics_shipping_note_from_barcode: {
50278
50814
  Args: {
50279
50815
  p_allow_reprint?: boolean;
@@ -50286,6 +50822,14 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
50286
50822
  Args: never;
50287
50823
  Returns: boolean;
50288
50824
  };
50825
+ logistics_subtract_working_minutes: {
50826
+ Args: {
50827
+ p_deadline: string;
50828
+ p_max_workdays?: number;
50829
+ p_minutes: number;
50830
+ };
50831
+ Returns: import("../integrations/supabase/types").Json;
50832
+ };
50289
50833
  logistics_supersede_stale_tasks: {
50290
50834
  Args: {
50291
50835
  p_keep: string[];
@@ -50322,6 +50866,12 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
50322
50866
  Args: never;
50323
50867
  Returns: string;
50324
50868
  };
50869
+ logistics_timezone_options: {
50870
+ Args: never;
50871
+ Returns: {
50872
+ name: string;
50873
+ }[];
50874
+ };
50325
50875
  logistics_upsert_task: {
50326
50876
  Args: {
50327
50877
  p_buffer_ref: string;
@@ -50341,6 +50891,16 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
50341
50891
  };
50342
50892
  Returns: string;
50343
50893
  };
50894
+ logistics_valid_timezone: {
50895
+ Args: {
50896
+ _tz: string;
50897
+ };
50898
+ Returns: boolean;
50899
+ };
50900
+ logistics_working_hours_status: {
50901
+ Args: never;
50902
+ Returns: import("../integrations/supabase/types").Json;
50903
+ };
50344
50904
  logistics_write_buffer_layer_positions: {
50345
50905
  Args: {
50346
50906
  p_buffer_id: string;
@@ -62371,22 +62931,31 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
62371
62931
  };
62372
62932
  logistics_floriday_push_refusals: {
62373
62933
  Row: {
62934
+ action: string | null;
62374
62935
  created_at: string;
62375
62936
  id: string;
62376
62937
  order_ref: string;
62377
62938
  reason: string;
62939
+ source_module: string | null;
62940
+ source_shell: string | null;
62378
62941
  };
62379
62942
  Insert: {
62943
+ action?: string | null;
62380
62944
  created_at?: string;
62381
62945
  id?: string;
62382
62946
  order_ref: string;
62383
62947
  reason: string;
62948
+ source_module?: string | null;
62949
+ source_shell?: string | null;
62384
62950
  };
62385
62951
  Update: {
62952
+ action?: string | null;
62386
62953
  created_at?: string;
62387
62954
  id?: string;
62388
62955
  order_ref?: string;
62389
62956
  reason?: string;
62957
+ source_module?: string | null;
62958
+ source_shell?: string | null;
62390
62959
  };
62391
62960
  Relationships: [];
62392
62961
  };
@@ -62465,6 +63034,42 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
62465
63034
  };
62466
63035
  Relationships: [];
62467
63036
  };
63037
+ logistics_floriday_status_sends: {
63038
+ Row: {
63039
+ action: string;
63040
+ created_at: string;
63041
+ detail: string | null;
63042
+ http_status: number | null;
63043
+ id: string;
63044
+ ok: boolean;
63045
+ order_ref: string;
63046
+ source_module: string | null;
63047
+ source_shell: string | null;
63048
+ };
63049
+ Insert: {
63050
+ action: string;
63051
+ created_at?: string;
63052
+ detail?: string | null;
63053
+ http_status?: number | null;
63054
+ id?: string;
63055
+ ok?: boolean;
63056
+ order_ref: string;
63057
+ source_module?: string | null;
63058
+ source_shell?: string | null;
63059
+ };
63060
+ Update: {
63061
+ action?: string;
63062
+ created_at?: string;
63063
+ detail?: string | null;
63064
+ http_status?: number | null;
63065
+ id?: string;
63066
+ ok?: boolean;
63067
+ order_ref?: string;
63068
+ source_module?: string | null;
63069
+ source_shell?: string | null;
63070
+ };
63071
+ Relationships: [];
63072
+ };
62468
63073
  logistics_formulas: {
62469
63074
  Row: {
62470
63075
  created_at: string;
@@ -62537,6 +63142,66 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
62537
63142
  };
62538
63143
  Relationships: [];
62539
63144
  };
63145
+ logistics_opening_exceptions: {
63146
+ Row: {
63147
+ closes: string | null;
63148
+ created_at: string;
63149
+ day: string;
63150
+ id: string;
63151
+ is_closed: boolean;
63152
+ note: string | null;
63153
+ opens: string | null;
63154
+ };
63155
+ Insert: {
63156
+ closes?: string | null;
63157
+ created_at?: string;
63158
+ day: string;
63159
+ id?: string;
63160
+ is_closed?: boolean;
63161
+ note?: string | null;
63162
+ opens?: string | null;
63163
+ };
63164
+ Update: {
63165
+ closes?: string | null;
63166
+ created_at?: string;
63167
+ day?: string;
63168
+ id?: string;
63169
+ is_closed?: boolean;
63170
+ note?: string | null;
63171
+ opens?: string | null;
63172
+ };
63173
+ Relationships: [];
63174
+ };
63175
+ logistics_opening_hours: {
63176
+ Row: {
63177
+ closes: string;
63178
+ created_at: string;
63179
+ id: string;
63180
+ is_active: boolean;
63181
+ note: string | null;
63182
+ opens: string;
63183
+ weekday: number;
63184
+ };
63185
+ Insert: {
63186
+ closes: string;
63187
+ created_at?: string;
63188
+ id?: string;
63189
+ is_active?: boolean;
63190
+ note?: string | null;
63191
+ opens: string;
63192
+ weekday: number;
63193
+ };
63194
+ Update: {
63195
+ closes?: string;
63196
+ created_at?: string;
63197
+ id?: string;
63198
+ is_active?: boolean;
63199
+ note?: string | null;
63200
+ opens?: string;
63201
+ weekday?: number;
63202
+ };
63203
+ Relationships: [];
63204
+ };
62540
63205
  logistics_pickup_moments: {
62541
63206
  Row: {
62542
63207
  carrier_ref: string | null;
@@ -63329,6 +63994,24 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
63329
63994
  };
63330
63995
  Relationships: [];
63331
63996
  };
63997
+ logistics_time_settings: {
63998
+ Row: {
63999
+ id: boolean;
64000
+ timezone: string;
64001
+ updated_at: string;
64002
+ };
64003
+ Insert: {
64004
+ id?: boolean;
64005
+ timezone: string;
64006
+ updated_at?: string;
64007
+ };
64008
+ Update: {
64009
+ id?: boolean;
64010
+ timezone?: string;
64011
+ updated_at?: string;
64012
+ };
64013
+ Relationships: [];
64014
+ };
63332
64015
  logistics_variables: {
63333
64016
  Row: {
63334
64017
  created_at: string;
@@ -65719,6 +66402,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
65719
66402
  customer_name: string;
65720
66403
  deleted_at: string | null;
65721
66404
  delivery_date: string | null;
66405
+ floriday_order_group_key: string | null;
65722
66406
  floriday_sales_order_id: string | null;
65723
66407
  id: string;
65724
66408
  invoice_due_at: string | null;
@@ -65746,6 +66430,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
65746
66430
  customer_name?: string;
65747
66431
  deleted_at?: string | null;
65748
66432
  delivery_date?: string | null;
66433
+ floriday_order_group_key?: string | null;
65749
66434
  floriday_sales_order_id?: string | null;
65750
66435
  id?: string;
65751
66436
  invoice_due_at?: string | null;
@@ -65773,6 +66458,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
65773
66458
  customer_name?: string;
65774
66459
  deleted_at?: string | null;
65775
66460
  delivery_date?: string | null;
66461
+ floriday_order_group_key?: string | null;
65776
66462
  floriday_sales_order_id?: string | null;
65777
66463
  id?: string;
65778
66464
  invoice_due_at?: string | null;
@@ -71636,6 +72322,36 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
71636
72322
  referencedColumns: ["id"];
71637
72323
  }];
71638
72324
  };
72325
+ voorraad_buffer_state: {
72326
+ Row: {
72327
+ buffer_id: string;
72328
+ buffer_key: string | null;
72329
+ closed_at: string | null;
72330
+ created_at: string;
72331
+ detached_orders: import("../integrations/supabase/types").Json;
72332
+ reason: string | null;
72333
+ updated_at: string;
72334
+ };
72335
+ Insert: {
72336
+ buffer_id: string;
72337
+ buffer_key?: string | null;
72338
+ closed_at?: string | null;
72339
+ created_at?: string;
72340
+ detached_orders?: import("../integrations/supabase/types").Json;
72341
+ reason?: string | null;
72342
+ updated_at?: string;
72343
+ };
72344
+ Update: {
72345
+ buffer_id?: string;
72346
+ buffer_key?: string | null;
72347
+ closed_at?: string | null;
72348
+ created_at?: string;
72349
+ detached_orders?: import("../integrations/supabase/types").Json;
72350
+ reason?: string | null;
72351
+ updated_at?: string;
72352
+ };
72353
+ Relationships: [];
72354
+ };
71639
72355
  voorraad_custom_fields: {
71640
72356
  Row: {
71641
72357
  created_at: string;
@@ -71678,6 +72394,36 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
71678
72394
  };
71679
72395
  Relationships: [];
71680
72396
  };
72397
+ voorraad_logistics_event_log: {
72398
+ Row: {
72399
+ created_at: string;
72400
+ event_id: string;
72401
+ event_type: string;
72402
+ order_ref: string | null;
72403
+ processed_at: string;
72404
+ result: import("../integrations/supabase/types").Json;
72405
+ updated_at: string;
72406
+ };
72407
+ Insert: {
72408
+ created_at?: string;
72409
+ event_id: string;
72410
+ event_type: string;
72411
+ order_ref?: string | null;
72412
+ processed_at?: string;
72413
+ result?: import("../integrations/supabase/types").Json;
72414
+ updated_at?: string;
72415
+ };
72416
+ Update: {
72417
+ created_at?: string;
72418
+ event_id?: string;
72419
+ event_type?: string;
72420
+ order_ref?: string | null;
72421
+ processed_at?: string;
72422
+ result?: import("../integrations/supabase/types").Json;
72423
+ updated_at?: string;
72424
+ };
72425
+ Relationships: [];
72426
+ };
71681
72427
  voorraad_media_upload_failures: {
71682
72428
  Row: {
71683
72429
  action: string;
@@ -75647,6 +76393,12 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
75647
76393
  station_carts: number;
75648
76394
  }[];
75649
76395
  };
76396
+ logistics_control_complete_cart: {
76397
+ Args: {
76398
+ p_cart_id: string;
76399
+ };
76400
+ Returns: number;
76401
+ };
75650
76402
  logistics_control_scan_approve: {
75651
76403
  Args: {
75652
76404
  p_allow_reprint?: boolean;
@@ -75726,6 +76478,15 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
75726
76478
  Args: never;
75727
76479
  Returns: import("../integrations/supabase/types").Json;
75728
76480
  };
76481
+ logistics_day_windows: {
76482
+ Args: {
76483
+ p_day: string;
76484
+ };
76485
+ Returns: {
76486
+ win_end: string;
76487
+ win_start: string;
76488
+ }[];
76489
+ };
75729
76490
  logistics_delay_customer_email: {
75730
76491
  Args: {
75731
76492
  p_customer: string;
@@ -75793,6 +76554,17 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
75793
76554
  };
75794
76555
  Returns: import("../integrations/supabase/types").Json;
75795
76556
  };
76557
+ logistics_enqueue_shipping_note_with_slip: {
76558
+ Args: {
76559
+ _cart_id: string;
76560
+ _is_herprint: boolean;
76561
+ _printer_id: string;
76562
+ _queue_item_id: string;
76563
+ _session_id: string;
76564
+ _slip_job_id: string;
76565
+ };
76566
+ Returns: string;
76567
+ };
75796
76568
  logistics_enqueue_sticker_with_slip: {
75797
76569
  Args: {
75798
76570
  _cart_id: string;
@@ -75931,6 +76703,32 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
75931
76703
  };
75932
76704
  Returns: string;
75933
76705
  };
76706
+ logistics_floriday_gate_status: {
76707
+ Args: never;
76708
+ Returns: import("../integrations/supabase/types").Json;
76709
+ };
76710
+ logistics_floriday_log_refusal: {
76711
+ Args: {
76712
+ _action?: string;
76713
+ _module?: string;
76714
+ _order_ref: string;
76715
+ _reason: string;
76716
+ _shell?: string;
76717
+ };
76718
+ Returns: undefined;
76719
+ };
76720
+ logistics_floriday_log_send: {
76721
+ Args: {
76722
+ _action: string;
76723
+ _detail?: string;
76724
+ _http_status?: number;
76725
+ _module?: string;
76726
+ _ok: boolean;
76727
+ _order_ref: string;
76728
+ _shell?: string;
76729
+ };
76730
+ Returns: undefined;
76731
+ };
75934
76732
  logistics_floriday_order_approved: {
75935
76733
  Args: {
75936
76734
  _order_ref: string;
@@ -75955,6 +76753,16 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
75955
76753
  Args: never;
75956
76754
  Returns: boolean;
75957
76755
  };
76756
+ logistics_floriday_stock_updates_enabled: {
76757
+ Args: never;
76758
+ Returns: boolean;
76759
+ };
76760
+ logistics_floriday_write_allowed: {
76761
+ Args: {
76762
+ _action: string;
76763
+ };
76764
+ Returns: boolean;
76765
+ };
75958
76766
  logistics_fulfill_barcode_requests: {
75959
76767
  Args: {
75960
76768
  p_limit?: number;
@@ -76023,6 +76831,10 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
76023
76831
  };
76024
76832
  Returns: string;
76025
76833
  };
76834
+ logistics_opening_timezone: {
76835
+ Args: never;
76836
+ Returns: string;
76837
+ };
76026
76838
  logistics_order_cart_count: {
76027
76839
  Args: {
76028
76840
  p_order_ref: string;
@@ -76414,6 +77226,10 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
76414
77226
  };
76415
77227
  Returns: string;
76416
77228
  };
77229
+ logistics_shipping_note_follows_slip: {
77230
+ Args: never;
77231
+ Returns: boolean;
77232
+ };
76417
77233
  logistics_shipping_note_from_barcode: {
76418
77234
  Args: {
76419
77235
  p_allow_reprint?: boolean;
@@ -76426,6 +77242,14 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
76426
77242
  Args: never;
76427
77243
  Returns: boolean;
76428
77244
  };
77245
+ logistics_subtract_working_minutes: {
77246
+ Args: {
77247
+ p_deadline: string;
77248
+ p_max_workdays?: number;
77249
+ p_minutes: number;
77250
+ };
77251
+ Returns: import("../integrations/supabase/types").Json;
77252
+ };
76429
77253
  logistics_supersede_stale_tasks: {
76430
77254
  Args: {
76431
77255
  p_keep: string[];
@@ -76462,6 +77286,12 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
76462
77286
  Args: never;
76463
77287
  Returns: string;
76464
77288
  };
77289
+ logistics_timezone_options: {
77290
+ Args: never;
77291
+ Returns: {
77292
+ name: string;
77293
+ }[];
77294
+ };
76465
77295
  logistics_upsert_task: {
76466
77296
  Args: {
76467
77297
  p_buffer_ref: string;
@@ -76481,6 +77311,16 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
76481
77311
  };
76482
77312
  Returns: string;
76483
77313
  };
77314
+ logistics_valid_timezone: {
77315
+ Args: {
77316
+ _tz: string;
77317
+ };
77318
+ Returns: boolean;
77319
+ };
77320
+ logistics_working_hours_status: {
77321
+ Args: never;
77322
+ Returns: import("../integrations/supabase/types").Json;
77323
+ };
76484
77324
  logistics_write_buffer_layer_positions: {
76485
77325
  Args: {
76486
77326
  p_buffer_id: string;