@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
@@ -10087,22 +10087,31 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
10087
10087
  };
10088
10088
  logistics_floriday_push_refusals: {
10089
10089
  Row: {
10090
+ action: string | null;
10090
10091
  created_at: string;
10091
10092
  id: string;
10092
10093
  order_ref: string;
10093
10094
  reason: string;
10095
+ source_module: string | null;
10096
+ source_shell: string | null;
10094
10097
  };
10095
10098
  Insert: {
10099
+ action?: string | null;
10096
10100
  created_at?: string;
10097
10101
  id?: string;
10098
10102
  order_ref: string;
10099
10103
  reason: string;
10104
+ source_module?: string | null;
10105
+ source_shell?: string | null;
10100
10106
  };
10101
10107
  Update: {
10108
+ action?: string | null;
10102
10109
  created_at?: string;
10103
10110
  id?: string;
10104
10111
  order_ref?: string;
10105
10112
  reason?: string;
10113
+ source_module?: string | null;
10114
+ source_shell?: string | null;
10106
10115
  };
10107
10116
  Relationships: [];
10108
10117
  };
@@ -10181,6 +10190,42 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
10181
10190
  };
10182
10191
  Relationships: [];
10183
10192
  };
10193
+ logistics_floriday_status_sends: {
10194
+ Row: {
10195
+ action: string;
10196
+ created_at: string;
10197
+ detail: string | null;
10198
+ http_status: number | null;
10199
+ id: string;
10200
+ ok: boolean;
10201
+ order_ref: string;
10202
+ source_module: string | null;
10203
+ source_shell: string | null;
10204
+ };
10205
+ Insert: {
10206
+ action: string;
10207
+ created_at?: string;
10208
+ detail?: string | null;
10209
+ http_status?: number | null;
10210
+ id?: string;
10211
+ ok?: boolean;
10212
+ order_ref: string;
10213
+ source_module?: string | null;
10214
+ source_shell?: string | null;
10215
+ };
10216
+ Update: {
10217
+ action?: string;
10218
+ created_at?: string;
10219
+ detail?: string | null;
10220
+ http_status?: number | null;
10221
+ id?: string;
10222
+ ok?: boolean;
10223
+ order_ref?: string;
10224
+ source_module?: string | null;
10225
+ source_shell?: string | null;
10226
+ };
10227
+ Relationships: [];
10228
+ };
10184
10229
  logistics_formulas: {
10185
10230
  Row: {
10186
10231
  created_at: string;
@@ -10253,6 +10298,66 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
10253
10298
  };
10254
10299
  Relationships: [];
10255
10300
  };
10301
+ logistics_opening_exceptions: {
10302
+ Row: {
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
+ Insert: {
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
+ Update: {
10321
+ closes?: string | null;
10322
+ created_at?: string;
10323
+ day?: string;
10324
+ id?: string;
10325
+ is_closed?: boolean;
10326
+ note?: string | null;
10327
+ opens?: string | null;
10328
+ };
10329
+ Relationships: [];
10330
+ };
10331
+ logistics_opening_hours: {
10332
+ Row: {
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
+ Insert: {
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
+ Update: {
10351
+ closes?: string;
10352
+ created_at?: string;
10353
+ id?: string;
10354
+ is_active?: boolean;
10355
+ note?: string | null;
10356
+ opens?: string;
10357
+ weekday?: number;
10358
+ };
10359
+ Relationships: [];
10360
+ };
10256
10361
  logistics_pickup_moments: {
10257
10362
  Row: {
10258
10363
  carrier_ref: string | null;
@@ -11045,6 +11150,24 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
11045
11150
  };
11046
11151
  Relationships: [];
11047
11152
  };
11153
+ logistics_time_settings: {
11154
+ Row: {
11155
+ id: boolean;
11156
+ timezone: string;
11157
+ updated_at: string;
11158
+ };
11159
+ Insert: {
11160
+ id?: boolean;
11161
+ timezone: string;
11162
+ updated_at?: string;
11163
+ };
11164
+ Update: {
11165
+ id?: boolean;
11166
+ timezone?: string;
11167
+ updated_at?: string;
11168
+ };
11169
+ Relationships: [];
11170
+ };
11048
11171
  logistics_variables: {
11049
11172
  Row: {
11050
11173
  created_at: string;
@@ -13435,6 +13558,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
13435
13558
  customer_name: string;
13436
13559
  deleted_at: string | null;
13437
13560
  delivery_date: string | null;
13561
+ floriday_order_group_key: string | null;
13438
13562
  floriday_sales_order_id: string | null;
13439
13563
  id: string;
13440
13564
  invoice_due_at: string | null;
@@ -13462,6 +13586,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
13462
13586
  customer_name?: string;
13463
13587
  deleted_at?: string | null;
13464
13588
  delivery_date?: string | null;
13589
+ floriday_order_group_key?: string | null;
13465
13590
  floriday_sales_order_id?: string | null;
13466
13591
  id?: string;
13467
13592
  invoice_due_at?: string | null;
@@ -13489,6 +13614,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
13489
13614
  customer_name?: string;
13490
13615
  deleted_at?: string | null;
13491
13616
  delivery_date?: string | null;
13617
+ floriday_order_group_key?: string | null;
13492
13618
  floriday_sales_order_id?: string | null;
13493
13619
  id?: string;
13494
13620
  invoice_due_at?: string | null;
@@ -19352,6 +19478,36 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
19352
19478
  referencedColumns: ["id"];
19353
19479
  }];
19354
19480
  };
19481
+ voorraad_buffer_state: {
19482
+ Row: {
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
+ Insert: {
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
+ Update: {
19501
+ buffer_id?: string;
19502
+ buffer_key?: string | null;
19503
+ closed_at?: string | null;
19504
+ created_at?: string;
19505
+ detached_orders?: import("../integrations/supabase/types").Json;
19506
+ reason?: string | null;
19507
+ updated_at?: string;
19508
+ };
19509
+ Relationships: [];
19510
+ };
19355
19511
  voorraad_custom_fields: {
19356
19512
  Row: {
19357
19513
  created_at: string;
@@ -19394,6 +19550,36 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
19394
19550
  };
19395
19551
  Relationships: [];
19396
19552
  };
19553
+ voorraad_logistics_event_log: {
19554
+ Row: {
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
+ Insert: {
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
+ Update: {
19573
+ created_at?: string;
19574
+ event_id?: string;
19575
+ event_type?: string;
19576
+ order_ref?: string | null;
19577
+ processed_at?: string;
19578
+ result?: import("../integrations/supabase/types").Json;
19579
+ updated_at?: string;
19580
+ };
19581
+ Relationships: [];
19582
+ };
19397
19583
  voorraad_media_upload_failures: {
19398
19584
  Row: {
19399
19585
  action: string;
@@ -23363,6 +23549,12 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
23363
23549
  station_carts: number;
23364
23550
  }[];
23365
23551
  };
23552
+ logistics_control_complete_cart: {
23553
+ Args: {
23554
+ p_cart_id: string;
23555
+ };
23556
+ Returns: number;
23557
+ };
23366
23558
  logistics_control_scan_approve: {
23367
23559
  Args: {
23368
23560
  p_allow_reprint?: boolean;
@@ -23442,6 +23634,15 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
23442
23634
  Args: never;
23443
23635
  Returns: import("../integrations/supabase/types").Json;
23444
23636
  };
23637
+ logistics_day_windows: {
23638
+ Args: {
23639
+ p_day: string;
23640
+ };
23641
+ Returns: {
23642
+ win_end: string;
23643
+ win_start: string;
23644
+ }[];
23645
+ };
23445
23646
  logistics_delay_customer_email: {
23446
23647
  Args: {
23447
23648
  p_customer: string;
@@ -23509,6 +23710,17 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
23509
23710
  };
23510
23711
  Returns: import("../integrations/supabase/types").Json;
23511
23712
  };
23713
+ logistics_enqueue_shipping_note_with_slip: {
23714
+ Args: {
23715
+ _cart_id: string;
23716
+ _is_herprint: boolean;
23717
+ _printer_id: string;
23718
+ _queue_item_id: string;
23719
+ _session_id: string;
23720
+ _slip_job_id: string;
23721
+ };
23722
+ Returns: string;
23723
+ };
23512
23724
  logistics_enqueue_sticker_with_slip: {
23513
23725
  Args: {
23514
23726
  _cart_id: string;
@@ -23647,6 +23859,32 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
23647
23859
  };
23648
23860
  Returns: string;
23649
23861
  };
23862
+ logistics_floriday_gate_status: {
23863
+ Args: never;
23864
+ Returns: import("../integrations/supabase/types").Json;
23865
+ };
23866
+ logistics_floriday_log_refusal: {
23867
+ Args: {
23868
+ _action?: string;
23869
+ _module?: string;
23870
+ _order_ref: string;
23871
+ _reason: string;
23872
+ _shell?: string;
23873
+ };
23874
+ Returns: undefined;
23875
+ };
23876
+ logistics_floriday_log_send: {
23877
+ Args: {
23878
+ _action: string;
23879
+ _detail?: string;
23880
+ _http_status?: number;
23881
+ _module?: string;
23882
+ _ok: boolean;
23883
+ _order_ref: string;
23884
+ _shell?: string;
23885
+ };
23886
+ Returns: undefined;
23887
+ };
23650
23888
  logistics_floriday_order_approved: {
23651
23889
  Args: {
23652
23890
  _order_ref: string;
@@ -23671,6 +23909,16 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
23671
23909
  Args: never;
23672
23910
  Returns: boolean;
23673
23911
  };
23912
+ logistics_floriday_stock_updates_enabled: {
23913
+ Args: never;
23914
+ Returns: boolean;
23915
+ };
23916
+ logistics_floriday_write_allowed: {
23917
+ Args: {
23918
+ _action: string;
23919
+ };
23920
+ Returns: boolean;
23921
+ };
23674
23922
  logistics_fulfill_barcode_requests: {
23675
23923
  Args: {
23676
23924
  p_limit?: number;
@@ -23739,6 +23987,10 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
23739
23987
  };
23740
23988
  Returns: string;
23741
23989
  };
23990
+ logistics_opening_timezone: {
23991
+ Args: never;
23992
+ Returns: string;
23993
+ };
23742
23994
  logistics_order_cart_count: {
23743
23995
  Args: {
23744
23996
  p_order_ref: string;
@@ -24130,6 +24382,10 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
24130
24382
  };
24131
24383
  Returns: string;
24132
24384
  };
24385
+ logistics_shipping_note_follows_slip: {
24386
+ Args: never;
24387
+ Returns: boolean;
24388
+ };
24133
24389
  logistics_shipping_note_from_barcode: {
24134
24390
  Args: {
24135
24391
  p_allow_reprint?: boolean;
@@ -24142,6 +24398,14 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
24142
24398
  Args: never;
24143
24399
  Returns: boolean;
24144
24400
  };
24401
+ logistics_subtract_working_minutes: {
24402
+ Args: {
24403
+ p_deadline: string;
24404
+ p_max_workdays?: number;
24405
+ p_minutes: number;
24406
+ };
24407
+ Returns: import("../integrations/supabase/types").Json;
24408
+ };
24145
24409
  logistics_supersede_stale_tasks: {
24146
24410
  Args: {
24147
24411
  p_keep: string[];
@@ -24178,6 +24442,12 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
24178
24442
  Args: never;
24179
24443
  Returns: string;
24180
24444
  };
24445
+ logistics_timezone_options: {
24446
+ Args: never;
24447
+ Returns: {
24448
+ name: string;
24449
+ }[];
24450
+ };
24181
24451
  logistics_upsert_task: {
24182
24452
  Args: {
24183
24453
  p_buffer_ref: string;
@@ -24197,6 +24467,16 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
24197
24467
  };
24198
24468
  Returns: string;
24199
24469
  };
24470
+ logistics_valid_timezone: {
24471
+ Args: {
24472
+ _tz: string;
24473
+ };
24474
+ Returns: boolean;
24475
+ };
24476
+ logistics_working_hours_status: {
24477
+ Args: never;
24478
+ Returns: import("../integrations/supabase/types").Json;
24479
+ };
24200
24480
  logistics_write_buffer_layer_positions: {
24201
24481
  Args: {
24202
24482
  p_buffer_id: string;
@@ -36229,22 +36509,31 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
36229
36509
  };
36230
36510
  logistics_floriday_push_refusals: {
36231
36511
  Row: {
36512
+ action: string | null;
36232
36513
  created_at: string;
36233
36514
  id: string;
36234
36515
  order_ref: string;
36235
36516
  reason: string;
36517
+ source_module: string | null;
36518
+ source_shell: string | null;
36236
36519
  };
36237
36520
  Insert: {
36521
+ action?: string | null;
36238
36522
  created_at?: string;
36239
36523
  id?: string;
36240
36524
  order_ref: string;
36241
36525
  reason: string;
36526
+ source_module?: string | null;
36527
+ source_shell?: string | null;
36242
36528
  };
36243
36529
  Update: {
36530
+ action?: string | null;
36244
36531
  created_at?: string;
36245
36532
  id?: string;
36246
36533
  order_ref?: string;
36247
36534
  reason?: string;
36535
+ source_module?: string | null;
36536
+ source_shell?: string | null;
36248
36537
  };
36249
36538
  Relationships: [];
36250
36539
  };
@@ -36323,6 +36612,42 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
36323
36612
  };
36324
36613
  Relationships: [];
36325
36614
  };
36615
+ logistics_floriday_status_sends: {
36616
+ Row: {
36617
+ action: string;
36618
+ created_at: string;
36619
+ detail: string | null;
36620
+ http_status: number | null;
36621
+ id: string;
36622
+ ok: boolean;
36623
+ order_ref: string;
36624
+ source_module: string | null;
36625
+ source_shell: string | null;
36626
+ };
36627
+ Insert: {
36628
+ action: string;
36629
+ created_at?: string;
36630
+ detail?: string | null;
36631
+ http_status?: number | null;
36632
+ id?: string;
36633
+ ok?: boolean;
36634
+ order_ref: string;
36635
+ source_module?: string | null;
36636
+ source_shell?: string | null;
36637
+ };
36638
+ Update: {
36639
+ action?: string;
36640
+ created_at?: string;
36641
+ detail?: string | null;
36642
+ http_status?: number | null;
36643
+ id?: string;
36644
+ ok?: boolean;
36645
+ order_ref?: string;
36646
+ source_module?: string | null;
36647
+ source_shell?: string | null;
36648
+ };
36649
+ Relationships: [];
36650
+ };
36326
36651
  logistics_formulas: {
36327
36652
  Row: {
36328
36653
  created_at: string;
@@ -36395,6 +36720,66 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
36395
36720
  };
36396
36721
  Relationships: [];
36397
36722
  };
36723
+ logistics_opening_exceptions: {
36724
+ Row: {
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
+ Insert: {
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
+ Update: {
36743
+ closes?: string | null;
36744
+ created_at?: string;
36745
+ day?: string;
36746
+ id?: string;
36747
+ is_closed?: boolean;
36748
+ note?: string | null;
36749
+ opens?: string | null;
36750
+ };
36751
+ Relationships: [];
36752
+ };
36753
+ logistics_opening_hours: {
36754
+ Row: {
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
+ Insert: {
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
+ Update: {
36773
+ closes?: string;
36774
+ created_at?: string;
36775
+ id?: string;
36776
+ is_active?: boolean;
36777
+ note?: string | null;
36778
+ opens?: string;
36779
+ weekday?: number;
36780
+ };
36781
+ Relationships: [];
36782
+ };
36398
36783
  logistics_pickup_moments: {
36399
36784
  Row: {
36400
36785
  carrier_ref: string | null;
@@ -37187,6 +37572,24 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
37187
37572
  };
37188
37573
  Relationships: [];
37189
37574
  };
37575
+ logistics_time_settings: {
37576
+ Row: {
37577
+ id: boolean;
37578
+ timezone: string;
37579
+ updated_at: string;
37580
+ };
37581
+ Insert: {
37582
+ id?: boolean;
37583
+ timezone: string;
37584
+ updated_at?: string;
37585
+ };
37586
+ Update: {
37587
+ id?: boolean;
37588
+ timezone?: string;
37589
+ updated_at?: string;
37590
+ };
37591
+ Relationships: [];
37592
+ };
37190
37593
  logistics_variables: {
37191
37594
  Row: {
37192
37595
  created_at: string;
@@ -39577,6 +39980,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
39577
39980
  customer_name: string;
39578
39981
  deleted_at: string | null;
39579
39982
  delivery_date: string | null;
39983
+ floriday_order_group_key: string | null;
39580
39984
  floriday_sales_order_id: string | null;
39581
39985
  id: string;
39582
39986
  invoice_due_at: string | null;
@@ -39604,6 +40008,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
39604
40008
  customer_name?: string;
39605
40009
  deleted_at?: string | null;
39606
40010
  delivery_date?: string | null;
40011
+ floriday_order_group_key?: string | null;
39607
40012
  floriday_sales_order_id?: string | null;
39608
40013
  id?: string;
39609
40014
  invoice_due_at?: string | null;
@@ -39631,6 +40036,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
39631
40036
  customer_name?: string;
39632
40037
  deleted_at?: string | null;
39633
40038
  delivery_date?: string | null;
40039
+ floriday_order_group_key?: string | null;
39634
40040
  floriday_sales_order_id?: string | null;
39635
40041
  id?: string;
39636
40042
  invoice_due_at?: string | null;
@@ -45494,6 +45900,36 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
45494
45900
  referencedColumns: ["id"];
45495
45901
  }];
45496
45902
  };
45903
+ voorraad_buffer_state: {
45904
+ Row: {
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
+ Insert: {
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
+ Update: {
45923
+ buffer_id?: string;
45924
+ buffer_key?: string | null;
45925
+ closed_at?: string | null;
45926
+ created_at?: string;
45927
+ detached_orders?: import("../integrations/supabase/types").Json;
45928
+ reason?: string | null;
45929
+ updated_at?: string;
45930
+ };
45931
+ Relationships: [];
45932
+ };
45497
45933
  voorraad_custom_fields: {
45498
45934
  Row: {
45499
45935
  created_at: string;
@@ -45536,6 +45972,36 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
45536
45972
  };
45537
45973
  Relationships: [];
45538
45974
  };
45975
+ voorraad_logistics_event_log: {
45976
+ Row: {
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
+ Insert: {
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
+ Update: {
45995
+ created_at?: string;
45996
+ event_id?: string;
45997
+ event_type?: string;
45998
+ order_ref?: string | null;
45999
+ processed_at?: string;
46000
+ result?: import("../integrations/supabase/types").Json;
46001
+ updated_at?: string;
46002
+ };
46003
+ Relationships: [];
46004
+ };
45539
46005
  voorraad_media_upload_failures: {
45540
46006
  Row: {
45541
46007
  action: string;
@@ -49505,6 +49971,12 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
49505
49971
  station_carts: number;
49506
49972
  }[];
49507
49973
  };
49974
+ logistics_control_complete_cart: {
49975
+ Args: {
49976
+ p_cart_id: string;
49977
+ };
49978
+ Returns: number;
49979
+ };
49508
49980
  logistics_control_scan_approve: {
49509
49981
  Args: {
49510
49982
  p_allow_reprint?: boolean;
@@ -49584,6 +50056,15 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
49584
50056
  Args: never;
49585
50057
  Returns: import("../integrations/supabase/types").Json;
49586
50058
  };
50059
+ logistics_day_windows: {
50060
+ Args: {
50061
+ p_day: string;
50062
+ };
50063
+ Returns: {
50064
+ win_end: string;
50065
+ win_start: string;
50066
+ }[];
50067
+ };
49587
50068
  logistics_delay_customer_email: {
49588
50069
  Args: {
49589
50070
  p_customer: string;
@@ -49651,6 +50132,17 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
49651
50132
  };
49652
50133
  Returns: import("../integrations/supabase/types").Json;
49653
50134
  };
50135
+ logistics_enqueue_shipping_note_with_slip: {
50136
+ Args: {
50137
+ _cart_id: string;
50138
+ _is_herprint: boolean;
50139
+ _printer_id: string;
50140
+ _queue_item_id: string;
50141
+ _session_id: string;
50142
+ _slip_job_id: string;
50143
+ };
50144
+ Returns: string;
50145
+ };
49654
50146
  logistics_enqueue_sticker_with_slip: {
49655
50147
  Args: {
49656
50148
  _cart_id: string;
@@ -49789,6 +50281,32 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
49789
50281
  };
49790
50282
  Returns: string;
49791
50283
  };
50284
+ logistics_floriday_gate_status: {
50285
+ Args: never;
50286
+ Returns: import("../integrations/supabase/types").Json;
50287
+ };
50288
+ logistics_floriday_log_refusal: {
50289
+ Args: {
50290
+ _action?: string;
50291
+ _module?: string;
50292
+ _order_ref: string;
50293
+ _reason: string;
50294
+ _shell?: string;
50295
+ };
50296
+ Returns: undefined;
50297
+ };
50298
+ logistics_floriday_log_send: {
50299
+ Args: {
50300
+ _action: string;
50301
+ _detail?: string;
50302
+ _http_status?: number;
50303
+ _module?: string;
50304
+ _ok: boolean;
50305
+ _order_ref: string;
50306
+ _shell?: string;
50307
+ };
50308
+ Returns: undefined;
50309
+ };
49792
50310
  logistics_floriday_order_approved: {
49793
50311
  Args: {
49794
50312
  _order_ref: string;
@@ -49813,6 +50331,16 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
49813
50331
  Args: never;
49814
50332
  Returns: boolean;
49815
50333
  };
50334
+ logistics_floriday_stock_updates_enabled: {
50335
+ Args: never;
50336
+ Returns: boolean;
50337
+ };
50338
+ logistics_floriday_write_allowed: {
50339
+ Args: {
50340
+ _action: string;
50341
+ };
50342
+ Returns: boolean;
50343
+ };
49816
50344
  logistics_fulfill_barcode_requests: {
49817
50345
  Args: {
49818
50346
  p_limit?: number;
@@ -49881,6 +50409,10 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
49881
50409
  };
49882
50410
  Returns: string;
49883
50411
  };
50412
+ logistics_opening_timezone: {
50413
+ Args: never;
50414
+ Returns: string;
50415
+ };
49884
50416
  logistics_order_cart_count: {
49885
50417
  Args: {
49886
50418
  p_order_ref: string;
@@ -50272,6 +50804,10 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
50272
50804
  };
50273
50805
  Returns: string;
50274
50806
  };
50807
+ logistics_shipping_note_follows_slip: {
50808
+ Args: never;
50809
+ Returns: boolean;
50810
+ };
50275
50811
  logistics_shipping_note_from_barcode: {
50276
50812
  Args: {
50277
50813
  p_allow_reprint?: boolean;
@@ -50284,6 +50820,14 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
50284
50820
  Args: never;
50285
50821
  Returns: boolean;
50286
50822
  };
50823
+ logistics_subtract_working_minutes: {
50824
+ Args: {
50825
+ p_deadline: string;
50826
+ p_max_workdays?: number;
50827
+ p_minutes: number;
50828
+ };
50829
+ Returns: import("../integrations/supabase/types").Json;
50830
+ };
50287
50831
  logistics_supersede_stale_tasks: {
50288
50832
  Args: {
50289
50833
  p_keep: string[];
@@ -50320,6 +50864,12 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
50320
50864
  Args: never;
50321
50865
  Returns: string;
50322
50866
  };
50867
+ logistics_timezone_options: {
50868
+ Args: never;
50869
+ Returns: {
50870
+ name: string;
50871
+ }[];
50872
+ };
50323
50873
  logistics_upsert_task: {
50324
50874
  Args: {
50325
50875
  p_buffer_ref: string;
@@ -50339,6 +50889,16 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
50339
50889
  };
50340
50890
  Returns: string;
50341
50891
  };
50892
+ logistics_valid_timezone: {
50893
+ Args: {
50894
+ _tz: string;
50895
+ };
50896
+ Returns: boolean;
50897
+ };
50898
+ logistics_working_hours_status: {
50899
+ Args: never;
50900
+ Returns: import("../integrations/supabase/types").Json;
50901
+ };
50342
50902
  logistics_write_buffer_layer_positions: {
50343
50903
  Args: {
50344
50904
  p_buffer_id: string;
@@ -62377,22 +62937,31 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
62377
62937
  };
62378
62938
  logistics_floriday_push_refusals: {
62379
62939
  Row: {
62940
+ action: string | null;
62380
62941
  created_at: string;
62381
62942
  id: string;
62382
62943
  order_ref: string;
62383
62944
  reason: string;
62945
+ source_module: string | null;
62946
+ source_shell: string | null;
62384
62947
  };
62385
62948
  Insert: {
62949
+ action?: string | null;
62386
62950
  created_at?: string;
62387
62951
  id?: string;
62388
62952
  order_ref: string;
62389
62953
  reason: string;
62954
+ source_module?: string | null;
62955
+ source_shell?: string | null;
62390
62956
  };
62391
62957
  Update: {
62958
+ action?: string | null;
62392
62959
  created_at?: string;
62393
62960
  id?: string;
62394
62961
  order_ref?: string;
62395
62962
  reason?: string;
62963
+ source_module?: string | null;
62964
+ source_shell?: string | null;
62396
62965
  };
62397
62966
  Relationships: [];
62398
62967
  };
@@ -62471,6 +63040,42 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
62471
63040
  };
62472
63041
  Relationships: [];
62473
63042
  };
63043
+ logistics_floriday_status_sends: {
63044
+ Row: {
63045
+ action: string;
63046
+ created_at: string;
63047
+ detail: string | null;
63048
+ http_status: number | null;
63049
+ id: string;
63050
+ ok: boolean;
63051
+ order_ref: string;
63052
+ source_module: string | null;
63053
+ source_shell: string | null;
63054
+ };
63055
+ Insert: {
63056
+ action: string;
63057
+ created_at?: string;
63058
+ detail?: string | null;
63059
+ http_status?: number | null;
63060
+ id?: string;
63061
+ ok?: boolean;
63062
+ order_ref: string;
63063
+ source_module?: string | null;
63064
+ source_shell?: string | null;
63065
+ };
63066
+ Update: {
63067
+ action?: string;
63068
+ created_at?: string;
63069
+ detail?: string | null;
63070
+ http_status?: number | null;
63071
+ id?: string;
63072
+ ok?: boolean;
63073
+ order_ref?: string;
63074
+ source_module?: string | null;
63075
+ source_shell?: string | null;
63076
+ };
63077
+ Relationships: [];
63078
+ };
62474
63079
  logistics_formulas: {
62475
63080
  Row: {
62476
63081
  created_at: string;
@@ -62543,6 +63148,66 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
62543
63148
  };
62544
63149
  Relationships: [];
62545
63150
  };
63151
+ logistics_opening_exceptions: {
63152
+ Row: {
63153
+ closes: string | null;
63154
+ created_at: string;
63155
+ day: string;
63156
+ id: string;
63157
+ is_closed: boolean;
63158
+ note: string | null;
63159
+ opens: string | null;
63160
+ };
63161
+ Insert: {
63162
+ closes?: string | null;
63163
+ created_at?: string;
63164
+ day: string;
63165
+ id?: string;
63166
+ is_closed?: boolean;
63167
+ note?: string | null;
63168
+ opens?: string | null;
63169
+ };
63170
+ Update: {
63171
+ closes?: string | null;
63172
+ created_at?: string;
63173
+ day?: string;
63174
+ id?: string;
63175
+ is_closed?: boolean;
63176
+ note?: string | null;
63177
+ opens?: string | null;
63178
+ };
63179
+ Relationships: [];
63180
+ };
63181
+ logistics_opening_hours: {
63182
+ Row: {
63183
+ closes: string;
63184
+ created_at: string;
63185
+ id: string;
63186
+ is_active: boolean;
63187
+ note: string | null;
63188
+ opens: string;
63189
+ weekday: number;
63190
+ };
63191
+ Insert: {
63192
+ closes: string;
63193
+ created_at?: string;
63194
+ id?: string;
63195
+ is_active?: boolean;
63196
+ note?: string | null;
63197
+ opens: string;
63198
+ weekday: number;
63199
+ };
63200
+ Update: {
63201
+ closes?: string;
63202
+ created_at?: string;
63203
+ id?: string;
63204
+ is_active?: boolean;
63205
+ note?: string | null;
63206
+ opens?: string;
63207
+ weekday?: number;
63208
+ };
63209
+ Relationships: [];
63210
+ };
62546
63211
  logistics_pickup_moments: {
62547
63212
  Row: {
62548
63213
  carrier_ref: string | null;
@@ -63335,6 +64000,24 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
63335
64000
  };
63336
64001
  Relationships: [];
63337
64002
  };
64003
+ logistics_time_settings: {
64004
+ Row: {
64005
+ id: boolean;
64006
+ timezone: string;
64007
+ updated_at: string;
64008
+ };
64009
+ Insert: {
64010
+ id?: boolean;
64011
+ timezone: string;
64012
+ updated_at?: string;
64013
+ };
64014
+ Update: {
64015
+ id?: boolean;
64016
+ timezone?: string;
64017
+ updated_at?: string;
64018
+ };
64019
+ Relationships: [];
64020
+ };
63338
64021
  logistics_variables: {
63339
64022
  Row: {
63340
64023
  created_at: string;
@@ -65725,6 +66408,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
65725
66408
  customer_name: string;
65726
66409
  deleted_at: string | null;
65727
66410
  delivery_date: string | null;
66411
+ floriday_order_group_key: string | null;
65728
66412
  floriday_sales_order_id: string | null;
65729
66413
  id: string;
65730
66414
  invoice_due_at: string | null;
@@ -65752,6 +66436,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
65752
66436
  customer_name?: string;
65753
66437
  deleted_at?: string | null;
65754
66438
  delivery_date?: string | null;
66439
+ floriday_order_group_key?: string | null;
65755
66440
  floriday_sales_order_id?: string | null;
65756
66441
  id?: string;
65757
66442
  invoice_due_at?: string | null;
@@ -65779,6 +66464,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
65779
66464
  customer_name?: string;
65780
66465
  deleted_at?: string | null;
65781
66466
  delivery_date?: string | null;
66467
+ floriday_order_group_key?: string | null;
65782
66468
  floriday_sales_order_id?: string | null;
65783
66469
  id?: string;
65784
66470
  invoice_due_at?: string | null;
@@ -71642,6 +72328,36 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
71642
72328
  referencedColumns: ["id"];
71643
72329
  }];
71644
72330
  };
72331
+ voorraad_buffer_state: {
72332
+ Row: {
72333
+ buffer_id: string;
72334
+ buffer_key: string | null;
72335
+ closed_at: string | null;
72336
+ created_at: string;
72337
+ detached_orders: import("../integrations/supabase/types").Json;
72338
+ reason: string | null;
72339
+ updated_at: string;
72340
+ };
72341
+ Insert: {
72342
+ buffer_id: string;
72343
+ buffer_key?: string | null;
72344
+ closed_at?: string | null;
72345
+ created_at?: string;
72346
+ detached_orders?: import("../integrations/supabase/types").Json;
72347
+ reason?: string | null;
72348
+ updated_at?: string;
72349
+ };
72350
+ Update: {
72351
+ buffer_id?: string;
72352
+ buffer_key?: string | null;
72353
+ closed_at?: string | null;
72354
+ created_at?: string;
72355
+ detached_orders?: import("../integrations/supabase/types").Json;
72356
+ reason?: string | null;
72357
+ updated_at?: string;
72358
+ };
72359
+ Relationships: [];
72360
+ };
71645
72361
  voorraad_custom_fields: {
71646
72362
  Row: {
71647
72363
  created_at: string;
@@ -71684,6 +72400,36 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
71684
72400
  };
71685
72401
  Relationships: [];
71686
72402
  };
72403
+ voorraad_logistics_event_log: {
72404
+ Row: {
72405
+ created_at: string;
72406
+ event_id: string;
72407
+ event_type: string;
72408
+ order_ref: string | null;
72409
+ processed_at: string;
72410
+ result: import("../integrations/supabase/types").Json;
72411
+ updated_at: string;
72412
+ };
72413
+ Insert: {
72414
+ created_at?: string;
72415
+ event_id: string;
72416
+ event_type: string;
72417
+ order_ref?: string | null;
72418
+ processed_at?: string;
72419
+ result?: import("../integrations/supabase/types").Json;
72420
+ updated_at?: string;
72421
+ };
72422
+ Update: {
72423
+ created_at?: string;
72424
+ event_id?: string;
72425
+ event_type?: string;
72426
+ order_ref?: string | null;
72427
+ processed_at?: string;
72428
+ result?: import("../integrations/supabase/types").Json;
72429
+ updated_at?: string;
72430
+ };
72431
+ Relationships: [];
72432
+ };
71687
72433
  voorraad_media_upload_failures: {
71688
72434
  Row: {
71689
72435
  action: string;
@@ -75653,6 +76399,12 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
75653
76399
  station_carts: number;
75654
76400
  }[];
75655
76401
  };
76402
+ logistics_control_complete_cart: {
76403
+ Args: {
76404
+ p_cart_id: string;
76405
+ };
76406
+ Returns: number;
76407
+ };
75656
76408
  logistics_control_scan_approve: {
75657
76409
  Args: {
75658
76410
  p_allow_reprint?: boolean;
@@ -75732,6 +76484,15 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
75732
76484
  Args: never;
75733
76485
  Returns: import("../integrations/supabase/types").Json;
75734
76486
  };
76487
+ logistics_day_windows: {
76488
+ Args: {
76489
+ p_day: string;
76490
+ };
76491
+ Returns: {
76492
+ win_end: string;
76493
+ win_start: string;
76494
+ }[];
76495
+ };
75735
76496
  logistics_delay_customer_email: {
75736
76497
  Args: {
75737
76498
  p_customer: string;
@@ -75799,6 +76560,17 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
75799
76560
  };
75800
76561
  Returns: import("../integrations/supabase/types").Json;
75801
76562
  };
76563
+ logistics_enqueue_shipping_note_with_slip: {
76564
+ Args: {
76565
+ _cart_id: string;
76566
+ _is_herprint: boolean;
76567
+ _printer_id: string;
76568
+ _queue_item_id: string;
76569
+ _session_id: string;
76570
+ _slip_job_id: string;
76571
+ };
76572
+ Returns: string;
76573
+ };
75802
76574
  logistics_enqueue_sticker_with_slip: {
75803
76575
  Args: {
75804
76576
  _cart_id: string;
@@ -75937,6 +76709,32 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
75937
76709
  };
75938
76710
  Returns: string;
75939
76711
  };
76712
+ logistics_floriday_gate_status: {
76713
+ Args: never;
76714
+ Returns: import("../integrations/supabase/types").Json;
76715
+ };
76716
+ logistics_floriday_log_refusal: {
76717
+ Args: {
76718
+ _action?: string;
76719
+ _module?: string;
76720
+ _order_ref: string;
76721
+ _reason: string;
76722
+ _shell?: string;
76723
+ };
76724
+ Returns: undefined;
76725
+ };
76726
+ logistics_floriday_log_send: {
76727
+ Args: {
76728
+ _action: string;
76729
+ _detail?: string;
76730
+ _http_status?: number;
76731
+ _module?: string;
76732
+ _ok: boolean;
76733
+ _order_ref: string;
76734
+ _shell?: string;
76735
+ };
76736
+ Returns: undefined;
76737
+ };
75940
76738
  logistics_floriday_order_approved: {
75941
76739
  Args: {
75942
76740
  _order_ref: string;
@@ -75961,6 +76759,16 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
75961
76759
  Args: never;
75962
76760
  Returns: boolean;
75963
76761
  };
76762
+ logistics_floriday_stock_updates_enabled: {
76763
+ Args: never;
76764
+ Returns: boolean;
76765
+ };
76766
+ logistics_floriday_write_allowed: {
76767
+ Args: {
76768
+ _action: string;
76769
+ };
76770
+ Returns: boolean;
76771
+ };
75964
76772
  logistics_fulfill_barcode_requests: {
75965
76773
  Args: {
75966
76774
  p_limit?: number;
@@ -76029,6 +76837,10 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
76029
76837
  };
76030
76838
  Returns: string;
76031
76839
  };
76840
+ logistics_opening_timezone: {
76841
+ Args: never;
76842
+ Returns: string;
76843
+ };
76032
76844
  logistics_order_cart_count: {
76033
76845
  Args: {
76034
76846
  p_order_ref: string;
@@ -76420,6 +77232,10 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
76420
77232
  };
76421
77233
  Returns: string;
76422
77234
  };
77235
+ logistics_shipping_note_follows_slip: {
77236
+ Args: never;
77237
+ Returns: boolean;
77238
+ };
76423
77239
  logistics_shipping_note_from_barcode: {
76424
77240
  Args: {
76425
77241
  p_allow_reprint?: boolean;
@@ -76432,6 +77248,14 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
76432
77248
  Args: never;
76433
77249
  Returns: boolean;
76434
77250
  };
77251
+ logistics_subtract_working_minutes: {
77252
+ Args: {
77253
+ p_deadline: string;
77254
+ p_max_workdays?: number;
77255
+ p_minutes: number;
77256
+ };
77257
+ Returns: import("../integrations/supabase/types").Json;
77258
+ };
76435
77259
  logistics_supersede_stale_tasks: {
76436
77260
  Args: {
76437
77261
  p_keep: string[];
@@ -76468,6 +77292,12 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
76468
77292
  Args: never;
76469
77293
  Returns: string;
76470
77294
  };
77295
+ logistics_timezone_options: {
77296
+ Args: never;
77297
+ Returns: {
77298
+ name: string;
77299
+ }[];
77300
+ };
76471
77301
  logistics_upsert_task: {
76472
77302
  Args: {
76473
77303
  p_buffer_ref: string;
@@ -76487,6 +77317,16 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
76487
77317
  };
76488
77318
  Returns: string;
76489
77319
  };
77320
+ logistics_valid_timezone: {
77321
+ Args: {
77322
+ _tz: string;
77323
+ };
77324
+ Returns: boolean;
77325
+ };
77326
+ logistics_working_hours_status: {
77327
+ Args: never;
77328
+ Returns: import("../integrations/supabase/types").Json;
77329
+ };
76490
77330
  logistics_write_buffer_layer_positions: {
76491
77331
  Args: {
76492
77332
  p_buffer_id: string;
@@ -88543,22 +89383,31 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
88543
89383
  };
88544
89384
  logistics_floriday_push_refusals: {
88545
89385
  Row: {
89386
+ action: string | null;
88546
89387
  created_at: string;
88547
89388
  id: string;
88548
89389
  order_ref: string;
88549
89390
  reason: string;
89391
+ source_module: string | null;
89392
+ source_shell: string | null;
88550
89393
  };
88551
89394
  Insert: {
89395
+ action?: string | null;
88552
89396
  created_at?: string;
88553
89397
  id?: string;
88554
89398
  order_ref: string;
88555
89399
  reason: string;
89400
+ source_module?: string | null;
89401
+ source_shell?: string | null;
88556
89402
  };
88557
89403
  Update: {
89404
+ action?: string | null;
88558
89405
  created_at?: string;
88559
89406
  id?: string;
88560
89407
  order_ref?: string;
88561
89408
  reason?: string;
89409
+ source_module?: string | null;
89410
+ source_shell?: string | null;
88562
89411
  };
88563
89412
  Relationships: [];
88564
89413
  };
@@ -88637,6 +89486,42 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
88637
89486
  };
88638
89487
  Relationships: [];
88639
89488
  };
89489
+ logistics_floriday_status_sends: {
89490
+ Row: {
89491
+ action: string;
89492
+ created_at: string;
89493
+ detail: string | null;
89494
+ http_status: number | null;
89495
+ id: string;
89496
+ ok: boolean;
89497
+ order_ref: string;
89498
+ source_module: string | null;
89499
+ source_shell: string | null;
89500
+ };
89501
+ Insert: {
89502
+ action: string;
89503
+ created_at?: string;
89504
+ detail?: string | null;
89505
+ http_status?: number | null;
89506
+ id?: string;
89507
+ ok?: boolean;
89508
+ order_ref: string;
89509
+ source_module?: string | null;
89510
+ source_shell?: string | null;
89511
+ };
89512
+ Update: {
89513
+ action?: string;
89514
+ created_at?: string;
89515
+ detail?: string | null;
89516
+ http_status?: number | null;
89517
+ id?: string;
89518
+ ok?: boolean;
89519
+ order_ref?: string;
89520
+ source_module?: string | null;
89521
+ source_shell?: string | null;
89522
+ };
89523
+ Relationships: [];
89524
+ };
88640
89525
  logistics_formulas: {
88641
89526
  Row: {
88642
89527
  created_at: string;
@@ -88709,6 +89594,66 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
88709
89594
  };
88710
89595
  Relationships: [];
88711
89596
  };
89597
+ logistics_opening_exceptions: {
89598
+ Row: {
89599
+ closes: string | null;
89600
+ created_at: string;
89601
+ day: string;
89602
+ id: string;
89603
+ is_closed: boolean;
89604
+ note: string | null;
89605
+ opens: string | null;
89606
+ };
89607
+ Insert: {
89608
+ closes?: string | null;
89609
+ created_at?: string;
89610
+ day: string;
89611
+ id?: string;
89612
+ is_closed?: boolean;
89613
+ note?: string | null;
89614
+ opens?: string | null;
89615
+ };
89616
+ Update: {
89617
+ closes?: string | null;
89618
+ created_at?: string;
89619
+ day?: string;
89620
+ id?: string;
89621
+ is_closed?: boolean;
89622
+ note?: string | null;
89623
+ opens?: string | null;
89624
+ };
89625
+ Relationships: [];
89626
+ };
89627
+ logistics_opening_hours: {
89628
+ Row: {
89629
+ closes: string;
89630
+ created_at: string;
89631
+ id: string;
89632
+ is_active: boolean;
89633
+ note: string | null;
89634
+ opens: string;
89635
+ weekday: number;
89636
+ };
89637
+ Insert: {
89638
+ closes: string;
89639
+ created_at?: string;
89640
+ id?: string;
89641
+ is_active?: boolean;
89642
+ note?: string | null;
89643
+ opens: string;
89644
+ weekday: number;
89645
+ };
89646
+ Update: {
89647
+ closes?: string;
89648
+ created_at?: string;
89649
+ id?: string;
89650
+ is_active?: boolean;
89651
+ note?: string | null;
89652
+ opens?: string;
89653
+ weekday?: number;
89654
+ };
89655
+ Relationships: [];
89656
+ };
88712
89657
  logistics_pickup_moments: {
88713
89658
  Row: {
88714
89659
  carrier_ref: string | null;
@@ -89501,6 +90446,24 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
89501
90446
  };
89502
90447
  Relationships: [];
89503
90448
  };
90449
+ logistics_time_settings: {
90450
+ Row: {
90451
+ id: boolean;
90452
+ timezone: string;
90453
+ updated_at: string;
90454
+ };
90455
+ Insert: {
90456
+ id?: boolean;
90457
+ timezone: string;
90458
+ updated_at?: string;
90459
+ };
90460
+ Update: {
90461
+ id?: boolean;
90462
+ timezone?: string;
90463
+ updated_at?: string;
90464
+ };
90465
+ Relationships: [];
90466
+ };
89504
90467
  logistics_variables: {
89505
90468
  Row: {
89506
90469
  created_at: string;
@@ -91891,6 +92854,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
91891
92854
  customer_name: string;
91892
92855
  deleted_at: string | null;
91893
92856
  delivery_date: string | null;
92857
+ floriday_order_group_key: string | null;
91894
92858
  floriday_sales_order_id: string | null;
91895
92859
  id: string;
91896
92860
  invoice_due_at: string | null;
@@ -91918,6 +92882,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
91918
92882
  customer_name?: string;
91919
92883
  deleted_at?: string | null;
91920
92884
  delivery_date?: string | null;
92885
+ floriday_order_group_key?: string | null;
91921
92886
  floriday_sales_order_id?: string | null;
91922
92887
  id?: string;
91923
92888
  invoice_due_at?: string | null;
@@ -91945,6 +92910,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
91945
92910
  customer_name?: string;
91946
92911
  deleted_at?: string | null;
91947
92912
  delivery_date?: string | null;
92913
+ floriday_order_group_key?: string | null;
91948
92914
  floriday_sales_order_id?: string | null;
91949
92915
  id?: string;
91950
92916
  invoice_due_at?: string | null;
@@ -97808,6 +98774,36 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
97808
98774
  referencedColumns: ["id"];
97809
98775
  }];
97810
98776
  };
98777
+ voorraad_buffer_state: {
98778
+ Row: {
98779
+ buffer_id: string;
98780
+ buffer_key: string | null;
98781
+ closed_at: string | null;
98782
+ created_at: string;
98783
+ detached_orders: import("../integrations/supabase/types").Json;
98784
+ reason: string | null;
98785
+ updated_at: string;
98786
+ };
98787
+ Insert: {
98788
+ buffer_id: string;
98789
+ buffer_key?: string | null;
98790
+ closed_at?: string | null;
98791
+ created_at?: string;
98792
+ detached_orders?: import("../integrations/supabase/types").Json;
98793
+ reason?: string | null;
98794
+ updated_at?: string;
98795
+ };
98796
+ Update: {
98797
+ buffer_id?: string;
98798
+ buffer_key?: string | null;
98799
+ closed_at?: string | null;
98800
+ created_at?: string;
98801
+ detached_orders?: import("../integrations/supabase/types").Json;
98802
+ reason?: string | null;
98803
+ updated_at?: string;
98804
+ };
98805
+ Relationships: [];
98806
+ };
97811
98807
  voorraad_custom_fields: {
97812
98808
  Row: {
97813
98809
  created_at: string;
@@ -97850,6 +98846,36 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
97850
98846
  };
97851
98847
  Relationships: [];
97852
98848
  };
98849
+ voorraad_logistics_event_log: {
98850
+ Row: {
98851
+ created_at: string;
98852
+ event_id: string;
98853
+ event_type: string;
98854
+ order_ref: string | null;
98855
+ processed_at: string;
98856
+ result: import("../integrations/supabase/types").Json;
98857
+ updated_at: string;
98858
+ };
98859
+ Insert: {
98860
+ created_at?: string;
98861
+ event_id: string;
98862
+ event_type: string;
98863
+ order_ref?: string | null;
98864
+ processed_at?: string;
98865
+ result?: import("../integrations/supabase/types").Json;
98866
+ updated_at?: string;
98867
+ };
98868
+ Update: {
98869
+ created_at?: string;
98870
+ event_id?: string;
98871
+ event_type?: string;
98872
+ order_ref?: string | null;
98873
+ processed_at?: string;
98874
+ result?: import("../integrations/supabase/types").Json;
98875
+ updated_at?: string;
98876
+ };
98877
+ Relationships: [];
98878
+ };
97853
98879
  voorraad_media_upload_failures: {
97854
98880
  Row: {
97855
98881
  action: string;
@@ -101819,6 +102845,12 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
101819
102845
  station_carts: number;
101820
102846
  }[];
101821
102847
  };
102848
+ logistics_control_complete_cart: {
102849
+ Args: {
102850
+ p_cart_id: string;
102851
+ };
102852
+ Returns: number;
102853
+ };
101822
102854
  logistics_control_scan_approve: {
101823
102855
  Args: {
101824
102856
  p_allow_reprint?: boolean;
@@ -101898,6 +102930,15 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
101898
102930
  Args: never;
101899
102931
  Returns: import("../integrations/supabase/types").Json;
101900
102932
  };
102933
+ logistics_day_windows: {
102934
+ Args: {
102935
+ p_day: string;
102936
+ };
102937
+ Returns: {
102938
+ win_end: string;
102939
+ win_start: string;
102940
+ }[];
102941
+ };
101901
102942
  logistics_delay_customer_email: {
101902
102943
  Args: {
101903
102944
  p_customer: string;
@@ -101965,6 +103006,17 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
101965
103006
  };
101966
103007
  Returns: import("../integrations/supabase/types").Json;
101967
103008
  };
103009
+ logistics_enqueue_shipping_note_with_slip: {
103010
+ Args: {
103011
+ _cart_id: string;
103012
+ _is_herprint: boolean;
103013
+ _printer_id: string;
103014
+ _queue_item_id: string;
103015
+ _session_id: string;
103016
+ _slip_job_id: string;
103017
+ };
103018
+ Returns: string;
103019
+ };
101968
103020
  logistics_enqueue_sticker_with_slip: {
101969
103021
  Args: {
101970
103022
  _cart_id: string;
@@ -102103,6 +103155,32 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
102103
103155
  };
102104
103156
  Returns: string;
102105
103157
  };
103158
+ logistics_floriday_gate_status: {
103159
+ Args: never;
103160
+ Returns: import("../integrations/supabase/types").Json;
103161
+ };
103162
+ logistics_floriday_log_refusal: {
103163
+ Args: {
103164
+ _action?: string;
103165
+ _module?: string;
103166
+ _order_ref: string;
103167
+ _reason: string;
103168
+ _shell?: string;
103169
+ };
103170
+ Returns: undefined;
103171
+ };
103172
+ logistics_floriday_log_send: {
103173
+ Args: {
103174
+ _action: string;
103175
+ _detail?: string;
103176
+ _http_status?: number;
103177
+ _module?: string;
103178
+ _ok: boolean;
103179
+ _order_ref: string;
103180
+ _shell?: string;
103181
+ };
103182
+ Returns: undefined;
103183
+ };
102106
103184
  logistics_floriday_order_approved: {
102107
103185
  Args: {
102108
103186
  _order_ref: string;
@@ -102127,6 +103205,16 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
102127
103205
  Args: never;
102128
103206
  Returns: boolean;
102129
103207
  };
103208
+ logistics_floriday_stock_updates_enabled: {
103209
+ Args: never;
103210
+ Returns: boolean;
103211
+ };
103212
+ logistics_floriday_write_allowed: {
103213
+ Args: {
103214
+ _action: string;
103215
+ };
103216
+ Returns: boolean;
103217
+ };
102130
103218
  logistics_fulfill_barcode_requests: {
102131
103219
  Args: {
102132
103220
  p_limit?: number;
@@ -102195,6 +103283,10 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
102195
103283
  };
102196
103284
  Returns: string;
102197
103285
  };
103286
+ logistics_opening_timezone: {
103287
+ Args: never;
103288
+ Returns: string;
103289
+ };
102198
103290
  logistics_order_cart_count: {
102199
103291
  Args: {
102200
103292
  p_order_ref: string;
@@ -102586,6 +103678,10 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
102586
103678
  };
102587
103679
  Returns: string;
102588
103680
  };
103681
+ logistics_shipping_note_follows_slip: {
103682
+ Args: never;
103683
+ Returns: boolean;
103684
+ };
102589
103685
  logistics_shipping_note_from_barcode: {
102590
103686
  Args: {
102591
103687
  p_allow_reprint?: boolean;
@@ -102598,6 +103694,14 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
102598
103694
  Args: never;
102599
103695
  Returns: boolean;
102600
103696
  };
103697
+ logistics_subtract_working_minutes: {
103698
+ Args: {
103699
+ p_deadline: string;
103700
+ p_max_workdays?: number;
103701
+ p_minutes: number;
103702
+ };
103703
+ Returns: import("../integrations/supabase/types").Json;
103704
+ };
102601
103705
  logistics_supersede_stale_tasks: {
102602
103706
  Args: {
102603
103707
  p_keep: string[];
@@ -102634,6 +103738,12 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
102634
103738
  Args: never;
102635
103739
  Returns: string;
102636
103740
  };
103741
+ logistics_timezone_options: {
103742
+ Args: never;
103743
+ Returns: {
103744
+ name: string;
103745
+ }[];
103746
+ };
102637
103747
  logistics_upsert_task: {
102638
103748
  Args: {
102639
103749
  p_buffer_ref: string;
@@ -102653,6 +103763,16 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
102653
103763
  };
102654
103764
  Returns: string;
102655
103765
  };
103766
+ logistics_valid_timezone: {
103767
+ Args: {
103768
+ _tz: string;
103769
+ };
103770
+ Returns: boolean;
103771
+ };
103772
+ logistics_working_hours_status: {
103773
+ Args: never;
103774
+ Returns: import("../integrations/supabase/types").Json;
103775
+ };
102656
103776
  logistics_write_buffer_layer_positions: {
102657
103777
  Args: {
102658
103778
  p_buffer_id: string;
@@ -114680,22 +115800,31 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
114680
115800
  };
114681
115801
  logistics_floriday_push_refusals: {
114682
115802
  Row: {
115803
+ action: string | null;
114683
115804
  created_at: string;
114684
115805
  id: string;
114685
115806
  order_ref: string;
114686
115807
  reason: string;
115808
+ source_module: string | null;
115809
+ source_shell: string | null;
114687
115810
  };
114688
115811
  Insert: {
115812
+ action?: string | null;
114689
115813
  created_at?: string;
114690
115814
  id?: string;
114691
115815
  order_ref: string;
114692
115816
  reason: string;
115817
+ source_module?: string | null;
115818
+ source_shell?: string | null;
114693
115819
  };
114694
115820
  Update: {
115821
+ action?: string | null;
114695
115822
  created_at?: string;
114696
115823
  id?: string;
114697
115824
  order_ref?: string;
114698
115825
  reason?: string;
115826
+ source_module?: string | null;
115827
+ source_shell?: string | null;
114699
115828
  };
114700
115829
  Relationships: [];
114701
115830
  };
@@ -114774,6 +115903,42 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
114774
115903
  };
114775
115904
  Relationships: [];
114776
115905
  };
115906
+ logistics_floriday_status_sends: {
115907
+ Row: {
115908
+ action: string;
115909
+ created_at: string;
115910
+ detail: string | null;
115911
+ http_status: number | null;
115912
+ id: string;
115913
+ ok: boolean;
115914
+ order_ref: string;
115915
+ source_module: string | null;
115916
+ source_shell: string | null;
115917
+ };
115918
+ Insert: {
115919
+ action: string;
115920
+ created_at?: string;
115921
+ detail?: string | null;
115922
+ http_status?: number | null;
115923
+ id?: string;
115924
+ ok?: boolean;
115925
+ order_ref: string;
115926
+ source_module?: string | null;
115927
+ source_shell?: string | null;
115928
+ };
115929
+ Update: {
115930
+ action?: string;
115931
+ created_at?: string;
115932
+ detail?: string | null;
115933
+ http_status?: number | null;
115934
+ id?: string;
115935
+ ok?: boolean;
115936
+ order_ref?: string;
115937
+ source_module?: string | null;
115938
+ source_shell?: string | null;
115939
+ };
115940
+ Relationships: [];
115941
+ };
114777
115942
  logistics_formulas: {
114778
115943
  Row: {
114779
115944
  created_at: string;
@@ -114846,6 +116011,66 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
114846
116011
  };
114847
116012
  Relationships: [];
114848
116013
  };
116014
+ logistics_opening_exceptions: {
116015
+ Row: {
116016
+ closes: string | null;
116017
+ created_at: string;
116018
+ day: string;
116019
+ id: string;
116020
+ is_closed: boolean;
116021
+ note: string | null;
116022
+ opens: string | null;
116023
+ };
116024
+ Insert: {
116025
+ closes?: string | null;
116026
+ created_at?: string;
116027
+ day: string;
116028
+ id?: string;
116029
+ is_closed?: boolean;
116030
+ note?: string | null;
116031
+ opens?: string | null;
116032
+ };
116033
+ Update: {
116034
+ closes?: string | null;
116035
+ created_at?: string;
116036
+ day?: string;
116037
+ id?: string;
116038
+ is_closed?: boolean;
116039
+ note?: string | null;
116040
+ opens?: string | null;
116041
+ };
116042
+ Relationships: [];
116043
+ };
116044
+ logistics_opening_hours: {
116045
+ Row: {
116046
+ closes: string;
116047
+ created_at: string;
116048
+ id: string;
116049
+ is_active: boolean;
116050
+ note: string | null;
116051
+ opens: string;
116052
+ weekday: number;
116053
+ };
116054
+ Insert: {
116055
+ closes: string;
116056
+ created_at?: string;
116057
+ id?: string;
116058
+ is_active?: boolean;
116059
+ note?: string | null;
116060
+ opens: string;
116061
+ weekday: number;
116062
+ };
116063
+ Update: {
116064
+ closes?: string;
116065
+ created_at?: string;
116066
+ id?: string;
116067
+ is_active?: boolean;
116068
+ note?: string | null;
116069
+ opens?: string;
116070
+ weekday?: number;
116071
+ };
116072
+ Relationships: [];
116073
+ };
114849
116074
  logistics_pickup_moments: {
114850
116075
  Row: {
114851
116076
  carrier_ref: string | null;
@@ -115638,6 +116863,24 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
115638
116863
  };
115639
116864
  Relationships: [];
115640
116865
  };
116866
+ logistics_time_settings: {
116867
+ Row: {
116868
+ id: boolean;
116869
+ timezone: string;
116870
+ updated_at: string;
116871
+ };
116872
+ Insert: {
116873
+ id?: boolean;
116874
+ timezone: string;
116875
+ updated_at?: string;
116876
+ };
116877
+ Update: {
116878
+ id?: boolean;
116879
+ timezone?: string;
116880
+ updated_at?: string;
116881
+ };
116882
+ Relationships: [];
116883
+ };
115641
116884
  logistics_variables: {
115642
116885
  Row: {
115643
116886
  created_at: string;
@@ -118028,6 +119271,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
118028
119271
  customer_name: string;
118029
119272
  deleted_at: string | null;
118030
119273
  delivery_date: string | null;
119274
+ floriday_order_group_key: string | null;
118031
119275
  floriday_sales_order_id: string | null;
118032
119276
  id: string;
118033
119277
  invoice_due_at: string | null;
@@ -118055,6 +119299,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
118055
119299
  customer_name?: string;
118056
119300
  deleted_at?: string | null;
118057
119301
  delivery_date?: string | null;
119302
+ floriday_order_group_key?: string | null;
118058
119303
  floriday_sales_order_id?: string | null;
118059
119304
  id?: string;
118060
119305
  invoice_due_at?: string | null;
@@ -118082,6 +119327,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
118082
119327
  customer_name?: string;
118083
119328
  deleted_at?: string | null;
118084
119329
  delivery_date?: string | null;
119330
+ floriday_order_group_key?: string | null;
118085
119331
  floriday_sales_order_id?: string | null;
118086
119332
  id?: string;
118087
119333
  invoice_due_at?: string | null;
@@ -123945,6 +125191,36 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
123945
125191
  referencedColumns: ["id"];
123946
125192
  }];
123947
125193
  };
125194
+ voorraad_buffer_state: {
125195
+ Row: {
125196
+ buffer_id: string;
125197
+ buffer_key: string | null;
125198
+ closed_at: string | null;
125199
+ created_at: string;
125200
+ detached_orders: import("../integrations/supabase/types").Json;
125201
+ reason: string | null;
125202
+ updated_at: string;
125203
+ };
125204
+ Insert: {
125205
+ buffer_id: string;
125206
+ buffer_key?: string | null;
125207
+ closed_at?: string | null;
125208
+ created_at?: string;
125209
+ detached_orders?: import("../integrations/supabase/types").Json;
125210
+ reason?: string | null;
125211
+ updated_at?: string;
125212
+ };
125213
+ Update: {
125214
+ buffer_id?: string;
125215
+ buffer_key?: string | null;
125216
+ closed_at?: string | null;
125217
+ created_at?: string;
125218
+ detached_orders?: import("../integrations/supabase/types").Json;
125219
+ reason?: string | null;
125220
+ updated_at?: string;
125221
+ };
125222
+ Relationships: [];
125223
+ };
123948
125224
  voorraad_custom_fields: {
123949
125225
  Row: {
123950
125226
  created_at: string;
@@ -123987,6 +125263,36 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
123987
125263
  };
123988
125264
  Relationships: [];
123989
125265
  };
125266
+ voorraad_logistics_event_log: {
125267
+ Row: {
125268
+ created_at: string;
125269
+ event_id: string;
125270
+ event_type: string;
125271
+ order_ref: string | null;
125272
+ processed_at: string;
125273
+ result: import("../integrations/supabase/types").Json;
125274
+ updated_at: string;
125275
+ };
125276
+ Insert: {
125277
+ created_at?: string;
125278
+ event_id: string;
125279
+ event_type: string;
125280
+ order_ref?: string | null;
125281
+ processed_at?: string;
125282
+ result?: import("../integrations/supabase/types").Json;
125283
+ updated_at?: string;
125284
+ };
125285
+ Update: {
125286
+ created_at?: string;
125287
+ event_id?: string;
125288
+ event_type?: string;
125289
+ order_ref?: string | null;
125290
+ processed_at?: string;
125291
+ result?: import("../integrations/supabase/types").Json;
125292
+ updated_at?: string;
125293
+ };
125294
+ Relationships: [];
125295
+ };
123990
125296
  voorraad_media_upload_failures: {
123991
125297
  Row: {
123992
125298
  action: string;
@@ -127956,6 +129262,12 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
127956
129262
  station_carts: number;
127957
129263
  }[];
127958
129264
  };
129265
+ logistics_control_complete_cart: {
129266
+ Args: {
129267
+ p_cart_id: string;
129268
+ };
129269
+ Returns: number;
129270
+ };
127959
129271
  logistics_control_scan_approve: {
127960
129272
  Args: {
127961
129273
  p_allow_reprint?: boolean;
@@ -128035,6 +129347,15 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
128035
129347
  Args: never;
128036
129348
  Returns: import("../integrations/supabase/types").Json;
128037
129349
  };
129350
+ logistics_day_windows: {
129351
+ Args: {
129352
+ p_day: string;
129353
+ };
129354
+ Returns: {
129355
+ win_end: string;
129356
+ win_start: string;
129357
+ }[];
129358
+ };
128038
129359
  logistics_delay_customer_email: {
128039
129360
  Args: {
128040
129361
  p_customer: string;
@@ -128102,6 +129423,17 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
128102
129423
  };
128103
129424
  Returns: import("../integrations/supabase/types").Json;
128104
129425
  };
129426
+ logistics_enqueue_shipping_note_with_slip: {
129427
+ Args: {
129428
+ _cart_id: string;
129429
+ _is_herprint: boolean;
129430
+ _printer_id: string;
129431
+ _queue_item_id: string;
129432
+ _session_id: string;
129433
+ _slip_job_id: string;
129434
+ };
129435
+ Returns: string;
129436
+ };
128105
129437
  logistics_enqueue_sticker_with_slip: {
128106
129438
  Args: {
128107
129439
  _cart_id: string;
@@ -128240,6 +129572,32 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
128240
129572
  };
128241
129573
  Returns: string;
128242
129574
  };
129575
+ logistics_floriday_gate_status: {
129576
+ Args: never;
129577
+ Returns: import("../integrations/supabase/types").Json;
129578
+ };
129579
+ logistics_floriday_log_refusal: {
129580
+ Args: {
129581
+ _action?: string;
129582
+ _module?: string;
129583
+ _order_ref: string;
129584
+ _reason: string;
129585
+ _shell?: string;
129586
+ };
129587
+ Returns: undefined;
129588
+ };
129589
+ logistics_floriday_log_send: {
129590
+ Args: {
129591
+ _action: string;
129592
+ _detail?: string;
129593
+ _http_status?: number;
129594
+ _module?: string;
129595
+ _ok: boolean;
129596
+ _order_ref: string;
129597
+ _shell?: string;
129598
+ };
129599
+ Returns: undefined;
129600
+ };
128243
129601
  logistics_floriday_order_approved: {
128244
129602
  Args: {
128245
129603
  _order_ref: string;
@@ -128264,6 +129622,16 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
128264
129622
  Args: never;
128265
129623
  Returns: boolean;
128266
129624
  };
129625
+ logistics_floriday_stock_updates_enabled: {
129626
+ Args: never;
129627
+ Returns: boolean;
129628
+ };
129629
+ logistics_floriday_write_allowed: {
129630
+ Args: {
129631
+ _action: string;
129632
+ };
129633
+ Returns: boolean;
129634
+ };
128267
129635
  logistics_fulfill_barcode_requests: {
128268
129636
  Args: {
128269
129637
  p_limit?: number;
@@ -128332,6 +129700,10 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
128332
129700
  };
128333
129701
  Returns: string;
128334
129702
  };
129703
+ logistics_opening_timezone: {
129704
+ Args: never;
129705
+ Returns: string;
129706
+ };
128335
129707
  logistics_order_cart_count: {
128336
129708
  Args: {
128337
129709
  p_order_ref: string;
@@ -128723,6 +130095,10 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
128723
130095
  };
128724
130096
  Returns: string;
128725
130097
  };
130098
+ logistics_shipping_note_follows_slip: {
130099
+ Args: never;
130100
+ Returns: boolean;
130101
+ };
128726
130102
  logistics_shipping_note_from_barcode: {
128727
130103
  Args: {
128728
130104
  p_allow_reprint?: boolean;
@@ -128735,6 +130111,14 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
128735
130111
  Args: never;
128736
130112
  Returns: boolean;
128737
130113
  };
130114
+ logistics_subtract_working_minutes: {
130115
+ Args: {
130116
+ p_deadline: string;
130117
+ p_max_workdays?: number;
130118
+ p_minutes: number;
130119
+ };
130120
+ Returns: import("../integrations/supabase/types").Json;
130121
+ };
128738
130122
  logistics_supersede_stale_tasks: {
128739
130123
  Args: {
128740
130124
  p_keep: string[];
@@ -128771,6 +130155,12 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
128771
130155
  Args: never;
128772
130156
  Returns: string;
128773
130157
  };
130158
+ logistics_timezone_options: {
130159
+ Args: never;
130160
+ Returns: {
130161
+ name: string;
130162
+ }[];
130163
+ };
128774
130164
  logistics_upsert_task: {
128775
130165
  Args: {
128776
130166
  p_buffer_ref: string;
@@ -128790,6 +130180,16 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
128790
130180
  };
128791
130181
  Returns: string;
128792
130182
  };
130183
+ logistics_valid_timezone: {
130184
+ Args: {
130185
+ _tz: string;
130186
+ };
130187
+ Returns: boolean;
130188
+ };
130189
+ logistics_working_hours_status: {
130190
+ Args: never;
130191
+ Returns: import("../integrations/supabase/types").Json;
130192
+ };
128793
130193
  logistics_write_buffer_layer_positions: {
128794
130194
  Args: {
128795
130195
  p_buffer_id: string;
@@ -140832,22 +142232,31 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
140832
142232
  };
140833
142233
  logistics_floriday_push_refusals: {
140834
142234
  Row: {
142235
+ action: string | null;
140835
142236
  created_at: string;
140836
142237
  id: string;
140837
142238
  order_ref: string;
140838
142239
  reason: string;
142240
+ source_module: string | null;
142241
+ source_shell: string | null;
140839
142242
  };
140840
142243
  Insert: {
142244
+ action?: string | null;
140841
142245
  created_at?: string;
140842
142246
  id?: string;
140843
142247
  order_ref: string;
140844
142248
  reason: string;
142249
+ source_module?: string | null;
142250
+ source_shell?: string | null;
140845
142251
  };
140846
142252
  Update: {
142253
+ action?: string | null;
140847
142254
  created_at?: string;
140848
142255
  id?: string;
140849
142256
  order_ref?: string;
140850
142257
  reason?: string;
142258
+ source_module?: string | null;
142259
+ source_shell?: string | null;
140851
142260
  };
140852
142261
  Relationships: [];
140853
142262
  };
@@ -140926,6 +142335,42 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
140926
142335
  };
140927
142336
  Relationships: [];
140928
142337
  };
142338
+ logistics_floriday_status_sends: {
142339
+ Row: {
142340
+ action: string;
142341
+ created_at: string;
142342
+ detail: string | null;
142343
+ http_status: number | null;
142344
+ id: string;
142345
+ ok: boolean;
142346
+ order_ref: string;
142347
+ source_module: string | null;
142348
+ source_shell: string | null;
142349
+ };
142350
+ Insert: {
142351
+ action: string;
142352
+ created_at?: string;
142353
+ detail?: string | null;
142354
+ http_status?: number | null;
142355
+ id?: string;
142356
+ ok?: boolean;
142357
+ order_ref: string;
142358
+ source_module?: string | null;
142359
+ source_shell?: string | null;
142360
+ };
142361
+ Update: {
142362
+ action?: string;
142363
+ created_at?: string;
142364
+ detail?: string | null;
142365
+ http_status?: number | null;
142366
+ id?: string;
142367
+ ok?: boolean;
142368
+ order_ref?: string;
142369
+ source_module?: string | null;
142370
+ source_shell?: string | null;
142371
+ };
142372
+ Relationships: [];
142373
+ };
140929
142374
  logistics_formulas: {
140930
142375
  Row: {
140931
142376
  created_at: string;
@@ -140998,6 +142443,66 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
140998
142443
  };
140999
142444
  Relationships: [];
141000
142445
  };
142446
+ logistics_opening_exceptions: {
142447
+ Row: {
142448
+ closes: string | null;
142449
+ created_at: string;
142450
+ day: string;
142451
+ id: string;
142452
+ is_closed: boolean;
142453
+ note: string | null;
142454
+ opens: string | null;
142455
+ };
142456
+ Insert: {
142457
+ closes?: string | null;
142458
+ created_at?: string;
142459
+ day: string;
142460
+ id?: string;
142461
+ is_closed?: boolean;
142462
+ note?: string | null;
142463
+ opens?: string | null;
142464
+ };
142465
+ Update: {
142466
+ closes?: string | null;
142467
+ created_at?: string;
142468
+ day?: string;
142469
+ id?: string;
142470
+ is_closed?: boolean;
142471
+ note?: string | null;
142472
+ opens?: string | null;
142473
+ };
142474
+ Relationships: [];
142475
+ };
142476
+ logistics_opening_hours: {
142477
+ Row: {
142478
+ closes: string;
142479
+ created_at: string;
142480
+ id: string;
142481
+ is_active: boolean;
142482
+ note: string | null;
142483
+ opens: string;
142484
+ weekday: number;
142485
+ };
142486
+ Insert: {
142487
+ closes: string;
142488
+ created_at?: string;
142489
+ id?: string;
142490
+ is_active?: boolean;
142491
+ note?: string | null;
142492
+ opens: string;
142493
+ weekday: number;
142494
+ };
142495
+ Update: {
142496
+ closes?: string;
142497
+ created_at?: string;
142498
+ id?: string;
142499
+ is_active?: boolean;
142500
+ note?: string | null;
142501
+ opens?: string;
142502
+ weekday?: number;
142503
+ };
142504
+ Relationships: [];
142505
+ };
141001
142506
  logistics_pickup_moments: {
141002
142507
  Row: {
141003
142508
  carrier_ref: string | null;
@@ -141790,6 +143295,24 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
141790
143295
  };
141791
143296
  Relationships: [];
141792
143297
  };
143298
+ logistics_time_settings: {
143299
+ Row: {
143300
+ id: boolean;
143301
+ timezone: string;
143302
+ updated_at: string;
143303
+ };
143304
+ Insert: {
143305
+ id?: boolean;
143306
+ timezone: string;
143307
+ updated_at?: string;
143308
+ };
143309
+ Update: {
143310
+ id?: boolean;
143311
+ timezone?: string;
143312
+ updated_at?: string;
143313
+ };
143314
+ Relationships: [];
143315
+ };
141793
143316
  logistics_variables: {
141794
143317
  Row: {
141795
143318
  created_at: string;
@@ -144180,6 +145703,7 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
144180
145703
  customer_name: string;
144181
145704
  deleted_at: string | null;
144182
145705
  delivery_date: string | null;
145706
+ floriday_order_group_key: string | null;
144183
145707
  floriday_sales_order_id: string | null;
144184
145708
  id: string;
144185
145709
  invoice_due_at: string | null;
@@ -144207,6 +145731,7 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
144207
145731
  customer_name?: string;
144208
145732
  deleted_at?: string | null;
144209
145733
  delivery_date?: string | null;
145734
+ floriday_order_group_key?: string | null;
144210
145735
  floriday_sales_order_id?: string | null;
144211
145736
  id?: string;
144212
145737
  invoice_due_at?: string | null;
@@ -144234,6 +145759,7 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
144234
145759
  customer_name?: string;
144235
145760
  deleted_at?: string | null;
144236
145761
  delivery_date?: string | null;
145762
+ floriday_order_group_key?: string | null;
144237
145763
  floriday_sales_order_id?: string | null;
144238
145764
  id?: string;
144239
145765
  invoice_due_at?: string | null;
@@ -150097,6 +151623,36 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
150097
151623
  referencedColumns: ["id"];
150098
151624
  }];
150099
151625
  };
151626
+ voorraad_buffer_state: {
151627
+ Row: {
151628
+ buffer_id: string;
151629
+ buffer_key: string | null;
151630
+ closed_at: string | null;
151631
+ created_at: string;
151632
+ detached_orders: import("../integrations/supabase/types").Json;
151633
+ reason: string | null;
151634
+ updated_at: string;
151635
+ };
151636
+ Insert: {
151637
+ buffer_id: string;
151638
+ buffer_key?: string | null;
151639
+ closed_at?: string | null;
151640
+ created_at?: string;
151641
+ detached_orders?: import("../integrations/supabase/types").Json;
151642
+ reason?: string | null;
151643
+ updated_at?: string;
151644
+ };
151645
+ Update: {
151646
+ buffer_id?: string;
151647
+ buffer_key?: string | null;
151648
+ closed_at?: string | null;
151649
+ created_at?: string;
151650
+ detached_orders?: import("../integrations/supabase/types").Json;
151651
+ reason?: string | null;
151652
+ updated_at?: string;
151653
+ };
151654
+ Relationships: [];
151655
+ };
150100
151656
  voorraad_custom_fields: {
150101
151657
  Row: {
150102
151658
  created_at: string;
@@ -150139,6 +151695,36 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
150139
151695
  };
150140
151696
  Relationships: [];
150141
151697
  };
151698
+ voorraad_logistics_event_log: {
151699
+ Row: {
151700
+ created_at: string;
151701
+ event_id: string;
151702
+ event_type: string;
151703
+ order_ref: string | null;
151704
+ processed_at: string;
151705
+ result: import("../integrations/supabase/types").Json;
151706
+ updated_at: string;
151707
+ };
151708
+ Insert: {
151709
+ created_at?: string;
151710
+ event_id: string;
151711
+ event_type: string;
151712
+ order_ref?: string | null;
151713
+ processed_at?: string;
151714
+ result?: import("../integrations/supabase/types").Json;
151715
+ updated_at?: string;
151716
+ };
151717
+ Update: {
151718
+ created_at?: string;
151719
+ event_id?: string;
151720
+ event_type?: string;
151721
+ order_ref?: string | null;
151722
+ processed_at?: string;
151723
+ result?: import("../integrations/supabase/types").Json;
151724
+ updated_at?: string;
151725
+ };
151726
+ Relationships: [];
151727
+ };
150142
151728
  voorraad_media_upload_failures: {
150143
151729
  Row: {
150144
151730
  action: string;
@@ -154108,6 +155694,12 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
154108
155694
  station_carts: number;
154109
155695
  }[];
154110
155696
  };
155697
+ logistics_control_complete_cart: {
155698
+ Args: {
155699
+ p_cart_id: string;
155700
+ };
155701
+ Returns: number;
155702
+ };
154111
155703
  logistics_control_scan_approve: {
154112
155704
  Args: {
154113
155705
  p_allow_reprint?: boolean;
@@ -154187,6 +155779,15 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
154187
155779
  Args: never;
154188
155780
  Returns: import("../integrations/supabase/types").Json;
154189
155781
  };
155782
+ logistics_day_windows: {
155783
+ Args: {
155784
+ p_day: string;
155785
+ };
155786
+ Returns: {
155787
+ win_end: string;
155788
+ win_start: string;
155789
+ }[];
155790
+ };
154190
155791
  logistics_delay_customer_email: {
154191
155792
  Args: {
154192
155793
  p_customer: string;
@@ -154254,6 +155855,17 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
154254
155855
  };
154255
155856
  Returns: import("../integrations/supabase/types").Json;
154256
155857
  };
155858
+ logistics_enqueue_shipping_note_with_slip: {
155859
+ Args: {
155860
+ _cart_id: string;
155861
+ _is_herprint: boolean;
155862
+ _printer_id: string;
155863
+ _queue_item_id: string;
155864
+ _session_id: string;
155865
+ _slip_job_id: string;
155866
+ };
155867
+ Returns: string;
155868
+ };
154257
155869
  logistics_enqueue_sticker_with_slip: {
154258
155870
  Args: {
154259
155871
  _cart_id: string;
@@ -154392,6 +156004,32 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
154392
156004
  };
154393
156005
  Returns: string;
154394
156006
  };
156007
+ logistics_floriday_gate_status: {
156008
+ Args: never;
156009
+ Returns: import("../integrations/supabase/types").Json;
156010
+ };
156011
+ logistics_floriday_log_refusal: {
156012
+ Args: {
156013
+ _action?: string;
156014
+ _module?: string;
156015
+ _order_ref: string;
156016
+ _reason: string;
156017
+ _shell?: string;
156018
+ };
156019
+ Returns: undefined;
156020
+ };
156021
+ logistics_floriday_log_send: {
156022
+ Args: {
156023
+ _action: string;
156024
+ _detail?: string;
156025
+ _http_status?: number;
156026
+ _module?: string;
156027
+ _ok: boolean;
156028
+ _order_ref: string;
156029
+ _shell?: string;
156030
+ };
156031
+ Returns: undefined;
156032
+ };
154395
156033
  logistics_floriday_order_approved: {
154396
156034
  Args: {
154397
156035
  _order_ref: string;
@@ -154416,6 +156054,16 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
154416
156054
  Args: never;
154417
156055
  Returns: boolean;
154418
156056
  };
156057
+ logistics_floriday_stock_updates_enabled: {
156058
+ Args: never;
156059
+ Returns: boolean;
156060
+ };
156061
+ logistics_floriday_write_allowed: {
156062
+ Args: {
156063
+ _action: string;
156064
+ };
156065
+ Returns: boolean;
156066
+ };
154419
156067
  logistics_fulfill_barcode_requests: {
154420
156068
  Args: {
154421
156069
  p_limit?: number;
@@ -154484,6 +156132,10 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
154484
156132
  };
154485
156133
  Returns: string;
154486
156134
  };
156135
+ logistics_opening_timezone: {
156136
+ Args: never;
156137
+ Returns: string;
156138
+ };
154487
156139
  logistics_order_cart_count: {
154488
156140
  Args: {
154489
156141
  p_order_ref: string;
@@ -154875,6 +156527,10 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
154875
156527
  };
154876
156528
  Returns: string;
154877
156529
  };
156530
+ logistics_shipping_note_follows_slip: {
156531
+ Args: never;
156532
+ Returns: boolean;
156533
+ };
154878
156534
  logistics_shipping_note_from_barcode: {
154879
156535
  Args: {
154880
156536
  p_allow_reprint?: boolean;
@@ -154887,6 +156543,14 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
154887
156543
  Args: never;
154888
156544
  Returns: boolean;
154889
156545
  };
156546
+ logistics_subtract_working_minutes: {
156547
+ Args: {
156548
+ p_deadline: string;
156549
+ p_max_workdays?: number;
156550
+ p_minutes: number;
156551
+ };
156552
+ Returns: import("../integrations/supabase/types").Json;
156553
+ };
154890
156554
  logistics_supersede_stale_tasks: {
154891
156555
  Args: {
154892
156556
  p_keep: string[];
@@ -154923,6 +156587,12 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
154923
156587
  Args: never;
154924
156588
  Returns: string;
154925
156589
  };
156590
+ logistics_timezone_options: {
156591
+ Args: never;
156592
+ Returns: {
156593
+ name: string;
156594
+ }[];
156595
+ };
154926
156596
  logistics_upsert_task: {
154927
156597
  Args: {
154928
156598
  p_buffer_ref: string;
@@ -154942,6 +156612,16 @@ export declare const getFloridaySyncHealth: import("@tanstack/start-client-core"
154942
156612
  };
154943
156613
  Returns: string;
154944
156614
  };
156615
+ logistics_valid_timezone: {
156616
+ Args: {
156617
+ _tz: string;
156618
+ };
156619
+ Returns: boolean;
156620
+ };
156621
+ logistics_working_hours_status: {
156622
+ Args: never;
156623
+ Returns: import("../integrations/supabase/types").Json;
156624
+ };
154945
156625
  logistics_write_buffer_layer_positions: {
154946
156626
  Args: {
154947
156627
  p_buffer_id: string;