@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
@@ -10077,22 +10077,31 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
10077
10077
  };
10078
10078
  logistics_floriday_push_refusals: {
10079
10079
  Row: {
10080
+ action: string | null;
10080
10081
  created_at: string;
10081
10082
  id: string;
10082
10083
  order_ref: string;
10083
10084
  reason: string;
10085
+ source_module: string | null;
10086
+ source_shell: string | null;
10084
10087
  };
10085
10088
  Insert: {
10089
+ action?: string | null;
10086
10090
  created_at?: string;
10087
10091
  id?: string;
10088
10092
  order_ref: string;
10089
10093
  reason: string;
10094
+ source_module?: string | null;
10095
+ source_shell?: string | null;
10090
10096
  };
10091
10097
  Update: {
10098
+ action?: string | null;
10092
10099
  created_at?: string;
10093
10100
  id?: string;
10094
10101
  order_ref?: string;
10095
10102
  reason?: string;
10103
+ source_module?: string | null;
10104
+ source_shell?: string | null;
10096
10105
  };
10097
10106
  Relationships: [];
10098
10107
  };
@@ -10171,6 +10180,42 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
10171
10180
  };
10172
10181
  Relationships: [];
10173
10182
  };
10183
+ logistics_floriday_status_sends: {
10184
+ Row: {
10185
+ action: string;
10186
+ created_at: string;
10187
+ detail: string | null;
10188
+ http_status: number | null;
10189
+ id: string;
10190
+ ok: boolean;
10191
+ order_ref: string;
10192
+ source_module: string | null;
10193
+ source_shell: string | null;
10194
+ };
10195
+ Insert: {
10196
+ action: string;
10197
+ created_at?: string;
10198
+ detail?: string | null;
10199
+ http_status?: number | null;
10200
+ id?: string;
10201
+ ok?: boolean;
10202
+ order_ref: string;
10203
+ source_module?: string | null;
10204
+ source_shell?: string | null;
10205
+ };
10206
+ Update: {
10207
+ action?: string;
10208
+ created_at?: string;
10209
+ detail?: string | null;
10210
+ http_status?: number | null;
10211
+ id?: string;
10212
+ ok?: boolean;
10213
+ order_ref?: string;
10214
+ source_module?: string | null;
10215
+ source_shell?: string | null;
10216
+ };
10217
+ Relationships: [];
10218
+ };
10174
10219
  logistics_formulas: {
10175
10220
  Row: {
10176
10221
  created_at: string;
@@ -10243,6 +10288,66 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
10243
10288
  };
10244
10289
  Relationships: [];
10245
10290
  };
10291
+ logistics_opening_exceptions: {
10292
+ Row: {
10293
+ closes: string | null;
10294
+ created_at: string;
10295
+ day: string;
10296
+ id: string;
10297
+ is_closed: boolean;
10298
+ note: string | null;
10299
+ opens: string | null;
10300
+ };
10301
+ Insert: {
10302
+ closes?: string | null;
10303
+ created_at?: string;
10304
+ day: string;
10305
+ id?: string;
10306
+ is_closed?: boolean;
10307
+ note?: string | null;
10308
+ opens?: string | null;
10309
+ };
10310
+ Update: {
10311
+ closes?: string | null;
10312
+ created_at?: string;
10313
+ day?: string;
10314
+ id?: string;
10315
+ is_closed?: boolean;
10316
+ note?: string | null;
10317
+ opens?: string | null;
10318
+ };
10319
+ Relationships: [];
10320
+ };
10321
+ logistics_opening_hours: {
10322
+ Row: {
10323
+ closes: string;
10324
+ created_at: string;
10325
+ id: string;
10326
+ is_active: boolean;
10327
+ note: string | null;
10328
+ opens: string;
10329
+ weekday: number;
10330
+ };
10331
+ Insert: {
10332
+ closes: string;
10333
+ created_at?: string;
10334
+ id?: string;
10335
+ is_active?: boolean;
10336
+ note?: string | null;
10337
+ opens: string;
10338
+ weekday: number;
10339
+ };
10340
+ Update: {
10341
+ closes?: string;
10342
+ created_at?: string;
10343
+ id?: string;
10344
+ is_active?: boolean;
10345
+ note?: string | null;
10346
+ opens?: string;
10347
+ weekday?: number;
10348
+ };
10349
+ Relationships: [];
10350
+ };
10246
10351
  logistics_pickup_moments: {
10247
10352
  Row: {
10248
10353
  carrier_ref: string | null;
@@ -11035,6 +11140,24 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
11035
11140
  };
11036
11141
  Relationships: [];
11037
11142
  };
11143
+ logistics_time_settings: {
11144
+ Row: {
11145
+ id: boolean;
11146
+ timezone: string;
11147
+ updated_at: string;
11148
+ };
11149
+ Insert: {
11150
+ id?: boolean;
11151
+ timezone: string;
11152
+ updated_at?: string;
11153
+ };
11154
+ Update: {
11155
+ id?: boolean;
11156
+ timezone?: string;
11157
+ updated_at?: string;
11158
+ };
11159
+ Relationships: [];
11160
+ };
11038
11161
  logistics_variables: {
11039
11162
  Row: {
11040
11163
  created_at: string;
@@ -13425,6 +13548,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
13425
13548
  customer_name: string;
13426
13549
  deleted_at: string | null;
13427
13550
  delivery_date: string | null;
13551
+ floriday_order_group_key: string | null;
13428
13552
  floriday_sales_order_id: string | null;
13429
13553
  id: string;
13430
13554
  invoice_due_at: string | null;
@@ -13452,6 +13576,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
13452
13576
  customer_name?: string;
13453
13577
  deleted_at?: string | null;
13454
13578
  delivery_date?: string | null;
13579
+ floriday_order_group_key?: string | null;
13455
13580
  floriday_sales_order_id?: string | null;
13456
13581
  id?: string;
13457
13582
  invoice_due_at?: string | null;
@@ -13479,6 +13604,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
13479
13604
  customer_name?: string;
13480
13605
  deleted_at?: string | null;
13481
13606
  delivery_date?: string | null;
13607
+ floriday_order_group_key?: string | null;
13482
13608
  floriday_sales_order_id?: string | null;
13483
13609
  id?: string;
13484
13610
  invoice_due_at?: string | null;
@@ -19342,6 +19468,36 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
19342
19468
  referencedColumns: ["id"];
19343
19469
  }];
19344
19470
  };
19471
+ voorraad_buffer_state: {
19472
+ Row: {
19473
+ buffer_id: string;
19474
+ buffer_key: string | null;
19475
+ closed_at: string | null;
19476
+ created_at: string;
19477
+ detached_orders: import("../integrations/supabase/types").Json;
19478
+ reason: string | null;
19479
+ updated_at: string;
19480
+ };
19481
+ Insert: {
19482
+ buffer_id: string;
19483
+ buffer_key?: string | null;
19484
+ closed_at?: string | null;
19485
+ created_at?: string;
19486
+ detached_orders?: import("../integrations/supabase/types").Json;
19487
+ reason?: string | null;
19488
+ updated_at?: string;
19489
+ };
19490
+ Update: {
19491
+ buffer_id?: string;
19492
+ buffer_key?: string | null;
19493
+ closed_at?: string | null;
19494
+ created_at?: string;
19495
+ detached_orders?: import("../integrations/supabase/types").Json;
19496
+ reason?: string | null;
19497
+ updated_at?: string;
19498
+ };
19499
+ Relationships: [];
19500
+ };
19345
19501
  voorraad_custom_fields: {
19346
19502
  Row: {
19347
19503
  created_at: string;
@@ -19384,6 +19540,36 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
19384
19540
  };
19385
19541
  Relationships: [];
19386
19542
  };
19543
+ voorraad_logistics_event_log: {
19544
+ Row: {
19545
+ created_at: string;
19546
+ event_id: string;
19547
+ event_type: string;
19548
+ order_ref: string | null;
19549
+ processed_at: string;
19550
+ result: import("../integrations/supabase/types").Json;
19551
+ updated_at: string;
19552
+ };
19553
+ Insert: {
19554
+ created_at?: string;
19555
+ event_id: string;
19556
+ event_type: string;
19557
+ order_ref?: string | null;
19558
+ processed_at?: string;
19559
+ result?: import("../integrations/supabase/types").Json;
19560
+ updated_at?: string;
19561
+ };
19562
+ Update: {
19563
+ created_at?: string;
19564
+ event_id?: string;
19565
+ event_type?: string;
19566
+ order_ref?: string | null;
19567
+ processed_at?: string;
19568
+ result?: import("../integrations/supabase/types").Json;
19569
+ updated_at?: string;
19570
+ };
19571
+ Relationships: [];
19572
+ };
19387
19573
  voorraad_media_upload_failures: {
19388
19574
  Row: {
19389
19575
  action: string;
@@ -23353,6 +23539,12 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
23353
23539
  station_carts: number;
23354
23540
  }[];
23355
23541
  };
23542
+ logistics_control_complete_cart: {
23543
+ Args: {
23544
+ p_cart_id: string;
23545
+ };
23546
+ Returns: number;
23547
+ };
23356
23548
  logistics_control_scan_approve: {
23357
23549
  Args: {
23358
23550
  p_allow_reprint?: boolean;
@@ -23432,6 +23624,15 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
23432
23624
  Args: never;
23433
23625
  Returns: import("../integrations/supabase/types").Json;
23434
23626
  };
23627
+ logistics_day_windows: {
23628
+ Args: {
23629
+ p_day: string;
23630
+ };
23631
+ Returns: {
23632
+ win_end: string;
23633
+ win_start: string;
23634
+ }[];
23635
+ };
23435
23636
  logistics_delay_customer_email: {
23436
23637
  Args: {
23437
23638
  p_customer: string;
@@ -23499,6 +23700,17 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
23499
23700
  };
23500
23701
  Returns: import("../integrations/supabase/types").Json;
23501
23702
  };
23703
+ logistics_enqueue_shipping_note_with_slip: {
23704
+ Args: {
23705
+ _cart_id: string;
23706
+ _is_herprint: boolean;
23707
+ _printer_id: string;
23708
+ _queue_item_id: string;
23709
+ _session_id: string;
23710
+ _slip_job_id: string;
23711
+ };
23712
+ Returns: string;
23713
+ };
23502
23714
  logistics_enqueue_sticker_with_slip: {
23503
23715
  Args: {
23504
23716
  _cart_id: string;
@@ -23637,6 +23849,32 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
23637
23849
  };
23638
23850
  Returns: string;
23639
23851
  };
23852
+ logistics_floriday_gate_status: {
23853
+ Args: never;
23854
+ Returns: import("../integrations/supabase/types").Json;
23855
+ };
23856
+ logistics_floriday_log_refusal: {
23857
+ Args: {
23858
+ _action?: string;
23859
+ _module?: string;
23860
+ _order_ref: string;
23861
+ _reason: string;
23862
+ _shell?: string;
23863
+ };
23864
+ Returns: undefined;
23865
+ };
23866
+ logistics_floriday_log_send: {
23867
+ Args: {
23868
+ _action: string;
23869
+ _detail?: string;
23870
+ _http_status?: number;
23871
+ _module?: string;
23872
+ _ok: boolean;
23873
+ _order_ref: string;
23874
+ _shell?: string;
23875
+ };
23876
+ Returns: undefined;
23877
+ };
23640
23878
  logistics_floriday_order_approved: {
23641
23879
  Args: {
23642
23880
  _order_ref: string;
@@ -23661,6 +23899,16 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
23661
23899
  Args: never;
23662
23900
  Returns: boolean;
23663
23901
  };
23902
+ logistics_floriday_stock_updates_enabled: {
23903
+ Args: never;
23904
+ Returns: boolean;
23905
+ };
23906
+ logistics_floriday_write_allowed: {
23907
+ Args: {
23908
+ _action: string;
23909
+ };
23910
+ Returns: boolean;
23911
+ };
23664
23912
  logistics_fulfill_barcode_requests: {
23665
23913
  Args: {
23666
23914
  p_limit?: number;
@@ -23729,6 +23977,10 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
23729
23977
  };
23730
23978
  Returns: string;
23731
23979
  };
23980
+ logistics_opening_timezone: {
23981
+ Args: never;
23982
+ Returns: string;
23983
+ };
23732
23984
  logistics_order_cart_count: {
23733
23985
  Args: {
23734
23986
  p_order_ref: string;
@@ -24120,6 +24372,10 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
24120
24372
  };
24121
24373
  Returns: string;
24122
24374
  };
24375
+ logistics_shipping_note_follows_slip: {
24376
+ Args: never;
24377
+ Returns: boolean;
24378
+ };
24123
24379
  logistics_shipping_note_from_barcode: {
24124
24380
  Args: {
24125
24381
  p_allow_reprint?: boolean;
@@ -24132,6 +24388,14 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
24132
24388
  Args: never;
24133
24389
  Returns: boolean;
24134
24390
  };
24391
+ logistics_subtract_working_minutes: {
24392
+ Args: {
24393
+ p_deadline: string;
24394
+ p_max_workdays?: number;
24395
+ p_minutes: number;
24396
+ };
24397
+ Returns: import("../integrations/supabase/types").Json;
24398
+ };
24135
24399
  logistics_supersede_stale_tasks: {
24136
24400
  Args: {
24137
24401
  p_keep: string[];
@@ -24168,6 +24432,12 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
24168
24432
  Args: never;
24169
24433
  Returns: string;
24170
24434
  };
24435
+ logistics_timezone_options: {
24436
+ Args: never;
24437
+ Returns: {
24438
+ name: string;
24439
+ }[];
24440
+ };
24171
24441
  logistics_upsert_task: {
24172
24442
  Args: {
24173
24443
  p_buffer_ref: string;
@@ -24187,6 +24457,16 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
24187
24457
  };
24188
24458
  Returns: string;
24189
24459
  };
24460
+ logistics_valid_timezone: {
24461
+ Args: {
24462
+ _tz: string;
24463
+ };
24464
+ Returns: boolean;
24465
+ };
24466
+ logistics_working_hours_status: {
24467
+ Args: never;
24468
+ Returns: import("../integrations/supabase/types").Json;
24469
+ };
24190
24470
  logistics_write_buffer_layer_positions: {
24191
24471
  Args: {
24192
24472
  p_buffer_id: string;
@@ -36222,22 +36502,31 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
36222
36502
  };
36223
36503
  logistics_floriday_push_refusals: {
36224
36504
  Row: {
36505
+ action: string | null;
36225
36506
  created_at: string;
36226
36507
  id: string;
36227
36508
  order_ref: string;
36228
36509
  reason: string;
36510
+ source_module: string | null;
36511
+ source_shell: string | null;
36229
36512
  };
36230
36513
  Insert: {
36514
+ action?: string | null;
36231
36515
  created_at?: string;
36232
36516
  id?: string;
36233
36517
  order_ref: string;
36234
36518
  reason: string;
36519
+ source_module?: string | null;
36520
+ source_shell?: string | null;
36235
36521
  };
36236
36522
  Update: {
36523
+ action?: string | null;
36237
36524
  created_at?: string;
36238
36525
  id?: string;
36239
36526
  order_ref?: string;
36240
36527
  reason?: string;
36528
+ source_module?: string | null;
36529
+ source_shell?: string | null;
36241
36530
  };
36242
36531
  Relationships: [];
36243
36532
  };
@@ -36316,6 +36605,42 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
36316
36605
  };
36317
36606
  Relationships: [];
36318
36607
  };
36608
+ logistics_floriday_status_sends: {
36609
+ Row: {
36610
+ action: string;
36611
+ created_at: string;
36612
+ detail: string | null;
36613
+ http_status: number | null;
36614
+ id: string;
36615
+ ok: boolean;
36616
+ order_ref: string;
36617
+ source_module: string | null;
36618
+ source_shell: string | null;
36619
+ };
36620
+ Insert: {
36621
+ action: string;
36622
+ created_at?: string;
36623
+ detail?: string | null;
36624
+ http_status?: number | null;
36625
+ id?: string;
36626
+ ok?: boolean;
36627
+ order_ref: string;
36628
+ source_module?: string | null;
36629
+ source_shell?: string | null;
36630
+ };
36631
+ Update: {
36632
+ action?: string;
36633
+ created_at?: string;
36634
+ detail?: string | null;
36635
+ http_status?: number | null;
36636
+ id?: string;
36637
+ ok?: boolean;
36638
+ order_ref?: string;
36639
+ source_module?: string | null;
36640
+ source_shell?: string | null;
36641
+ };
36642
+ Relationships: [];
36643
+ };
36319
36644
  logistics_formulas: {
36320
36645
  Row: {
36321
36646
  created_at: string;
@@ -36388,6 +36713,66 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
36388
36713
  };
36389
36714
  Relationships: [];
36390
36715
  };
36716
+ logistics_opening_exceptions: {
36717
+ Row: {
36718
+ closes: string | null;
36719
+ created_at: string;
36720
+ day: string;
36721
+ id: string;
36722
+ is_closed: boolean;
36723
+ note: string | null;
36724
+ opens: string | null;
36725
+ };
36726
+ Insert: {
36727
+ closes?: string | null;
36728
+ created_at?: string;
36729
+ day: string;
36730
+ id?: string;
36731
+ is_closed?: boolean;
36732
+ note?: string | null;
36733
+ opens?: string | null;
36734
+ };
36735
+ Update: {
36736
+ closes?: string | null;
36737
+ created_at?: string;
36738
+ day?: string;
36739
+ id?: string;
36740
+ is_closed?: boolean;
36741
+ note?: string | null;
36742
+ opens?: string | null;
36743
+ };
36744
+ Relationships: [];
36745
+ };
36746
+ logistics_opening_hours: {
36747
+ Row: {
36748
+ closes: string;
36749
+ created_at: string;
36750
+ id: string;
36751
+ is_active: boolean;
36752
+ note: string | null;
36753
+ opens: string;
36754
+ weekday: number;
36755
+ };
36756
+ Insert: {
36757
+ closes: string;
36758
+ created_at?: string;
36759
+ id?: string;
36760
+ is_active?: boolean;
36761
+ note?: string | null;
36762
+ opens: string;
36763
+ weekday: number;
36764
+ };
36765
+ Update: {
36766
+ closes?: string;
36767
+ created_at?: string;
36768
+ id?: string;
36769
+ is_active?: boolean;
36770
+ note?: string | null;
36771
+ opens?: string;
36772
+ weekday?: number;
36773
+ };
36774
+ Relationships: [];
36775
+ };
36391
36776
  logistics_pickup_moments: {
36392
36777
  Row: {
36393
36778
  carrier_ref: string | null;
@@ -37180,6 +37565,24 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
37180
37565
  };
37181
37566
  Relationships: [];
37182
37567
  };
37568
+ logistics_time_settings: {
37569
+ Row: {
37570
+ id: boolean;
37571
+ timezone: string;
37572
+ updated_at: string;
37573
+ };
37574
+ Insert: {
37575
+ id?: boolean;
37576
+ timezone: string;
37577
+ updated_at?: string;
37578
+ };
37579
+ Update: {
37580
+ id?: boolean;
37581
+ timezone?: string;
37582
+ updated_at?: string;
37583
+ };
37584
+ Relationships: [];
37585
+ };
37183
37586
  logistics_variables: {
37184
37587
  Row: {
37185
37588
  created_at: string;
@@ -39570,6 +39973,7 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
39570
39973
  customer_name: string;
39571
39974
  deleted_at: string | null;
39572
39975
  delivery_date: string | null;
39976
+ floriday_order_group_key: string | null;
39573
39977
  floriday_sales_order_id: string | null;
39574
39978
  id: string;
39575
39979
  invoice_due_at: string | null;
@@ -39597,6 +40001,7 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
39597
40001
  customer_name?: string;
39598
40002
  deleted_at?: string | null;
39599
40003
  delivery_date?: string | null;
40004
+ floriday_order_group_key?: string | null;
39600
40005
  floriday_sales_order_id?: string | null;
39601
40006
  id?: string;
39602
40007
  invoice_due_at?: string | null;
@@ -39624,6 +40029,7 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
39624
40029
  customer_name?: string;
39625
40030
  deleted_at?: string | null;
39626
40031
  delivery_date?: string | null;
40032
+ floriday_order_group_key?: string | null;
39627
40033
  floriday_sales_order_id?: string | null;
39628
40034
  id?: string;
39629
40035
  invoice_due_at?: string | null;
@@ -45487,6 +45893,36 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
45487
45893
  referencedColumns: ["id"];
45488
45894
  }];
45489
45895
  };
45896
+ voorraad_buffer_state: {
45897
+ Row: {
45898
+ buffer_id: string;
45899
+ buffer_key: string | null;
45900
+ closed_at: string | null;
45901
+ created_at: string;
45902
+ detached_orders: import("../integrations/supabase/types").Json;
45903
+ reason: string | null;
45904
+ updated_at: string;
45905
+ };
45906
+ Insert: {
45907
+ buffer_id: string;
45908
+ buffer_key?: string | null;
45909
+ closed_at?: string | null;
45910
+ created_at?: string;
45911
+ detached_orders?: import("../integrations/supabase/types").Json;
45912
+ reason?: string | null;
45913
+ updated_at?: string;
45914
+ };
45915
+ Update: {
45916
+ buffer_id?: string;
45917
+ buffer_key?: string | null;
45918
+ closed_at?: string | null;
45919
+ created_at?: string;
45920
+ detached_orders?: import("../integrations/supabase/types").Json;
45921
+ reason?: string | null;
45922
+ updated_at?: string;
45923
+ };
45924
+ Relationships: [];
45925
+ };
45490
45926
  voorraad_custom_fields: {
45491
45927
  Row: {
45492
45928
  created_at: string;
@@ -45529,6 +45965,36 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
45529
45965
  };
45530
45966
  Relationships: [];
45531
45967
  };
45968
+ voorraad_logistics_event_log: {
45969
+ Row: {
45970
+ created_at: string;
45971
+ event_id: string;
45972
+ event_type: string;
45973
+ order_ref: string | null;
45974
+ processed_at: string;
45975
+ result: import("../integrations/supabase/types").Json;
45976
+ updated_at: string;
45977
+ };
45978
+ Insert: {
45979
+ created_at?: string;
45980
+ event_id: string;
45981
+ event_type: string;
45982
+ order_ref?: string | null;
45983
+ processed_at?: string;
45984
+ result?: import("../integrations/supabase/types").Json;
45985
+ updated_at?: string;
45986
+ };
45987
+ Update: {
45988
+ created_at?: string;
45989
+ event_id?: string;
45990
+ event_type?: string;
45991
+ order_ref?: string | null;
45992
+ processed_at?: string;
45993
+ result?: import("../integrations/supabase/types").Json;
45994
+ updated_at?: string;
45995
+ };
45996
+ Relationships: [];
45997
+ };
45532
45998
  voorraad_media_upload_failures: {
45533
45999
  Row: {
45534
46000
  action: string;
@@ -49498,6 +49964,12 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
49498
49964
  station_carts: number;
49499
49965
  }[];
49500
49966
  };
49967
+ logistics_control_complete_cart: {
49968
+ Args: {
49969
+ p_cart_id: string;
49970
+ };
49971
+ Returns: number;
49972
+ };
49501
49973
  logistics_control_scan_approve: {
49502
49974
  Args: {
49503
49975
  p_allow_reprint?: boolean;
@@ -49577,6 +50049,15 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
49577
50049
  Args: never;
49578
50050
  Returns: import("../integrations/supabase/types").Json;
49579
50051
  };
50052
+ logistics_day_windows: {
50053
+ Args: {
50054
+ p_day: string;
50055
+ };
50056
+ Returns: {
50057
+ win_end: string;
50058
+ win_start: string;
50059
+ }[];
50060
+ };
49580
50061
  logistics_delay_customer_email: {
49581
50062
  Args: {
49582
50063
  p_customer: string;
@@ -49644,6 +50125,17 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
49644
50125
  };
49645
50126
  Returns: import("../integrations/supabase/types").Json;
49646
50127
  };
50128
+ logistics_enqueue_shipping_note_with_slip: {
50129
+ Args: {
50130
+ _cart_id: string;
50131
+ _is_herprint: boolean;
50132
+ _printer_id: string;
50133
+ _queue_item_id: string;
50134
+ _session_id: string;
50135
+ _slip_job_id: string;
50136
+ };
50137
+ Returns: string;
50138
+ };
49647
50139
  logistics_enqueue_sticker_with_slip: {
49648
50140
  Args: {
49649
50141
  _cart_id: string;
@@ -49782,6 +50274,32 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
49782
50274
  };
49783
50275
  Returns: string;
49784
50276
  };
50277
+ logistics_floriday_gate_status: {
50278
+ Args: never;
50279
+ Returns: import("../integrations/supabase/types").Json;
50280
+ };
50281
+ logistics_floriday_log_refusal: {
50282
+ Args: {
50283
+ _action?: string;
50284
+ _module?: string;
50285
+ _order_ref: string;
50286
+ _reason: string;
50287
+ _shell?: string;
50288
+ };
50289
+ Returns: undefined;
50290
+ };
50291
+ logistics_floriday_log_send: {
50292
+ Args: {
50293
+ _action: string;
50294
+ _detail?: string;
50295
+ _http_status?: number;
50296
+ _module?: string;
50297
+ _ok: boolean;
50298
+ _order_ref: string;
50299
+ _shell?: string;
50300
+ };
50301
+ Returns: undefined;
50302
+ };
49785
50303
  logistics_floriday_order_approved: {
49786
50304
  Args: {
49787
50305
  _order_ref: string;
@@ -49806,6 +50324,16 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
49806
50324
  Args: never;
49807
50325
  Returns: boolean;
49808
50326
  };
50327
+ logistics_floriday_stock_updates_enabled: {
50328
+ Args: never;
50329
+ Returns: boolean;
50330
+ };
50331
+ logistics_floriday_write_allowed: {
50332
+ Args: {
50333
+ _action: string;
50334
+ };
50335
+ Returns: boolean;
50336
+ };
49809
50337
  logistics_fulfill_barcode_requests: {
49810
50338
  Args: {
49811
50339
  p_limit?: number;
@@ -49874,6 +50402,10 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
49874
50402
  };
49875
50403
  Returns: string;
49876
50404
  };
50405
+ logistics_opening_timezone: {
50406
+ Args: never;
50407
+ Returns: string;
50408
+ };
49877
50409
  logistics_order_cart_count: {
49878
50410
  Args: {
49879
50411
  p_order_ref: string;
@@ -50265,6 +50797,10 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
50265
50797
  };
50266
50798
  Returns: string;
50267
50799
  };
50800
+ logistics_shipping_note_follows_slip: {
50801
+ Args: never;
50802
+ Returns: boolean;
50803
+ };
50268
50804
  logistics_shipping_note_from_barcode: {
50269
50805
  Args: {
50270
50806
  p_allow_reprint?: boolean;
@@ -50277,6 +50813,14 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
50277
50813
  Args: never;
50278
50814
  Returns: boolean;
50279
50815
  };
50816
+ logistics_subtract_working_minutes: {
50817
+ Args: {
50818
+ p_deadline: string;
50819
+ p_max_workdays?: number;
50820
+ p_minutes: number;
50821
+ };
50822
+ Returns: import("../integrations/supabase/types").Json;
50823
+ };
50280
50824
  logistics_supersede_stale_tasks: {
50281
50825
  Args: {
50282
50826
  p_keep: string[];
@@ -50313,6 +50857,12 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
50313
50857
  Args: never;
50314
50858
  Returns: string;
50315
50859
  };
50860
+ logistics_timezone_options: {
50861
+ Args: never;
50862
+ Returns: {
50863
+ name: string;
50864
+ }[];
50865
+ };
50316
50866
  logistics_upsert_task: {
50317
50867
  Args: {
50318
50868
  p_buffer_ref: string;
@@ -50332,6 +50882,16 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
50332
50882
  };
50333
50883
  Returns: string;
50334
50884
  };
50885
+ logistics_valid_timezone: {
50886
+ Args: {
50887
+ _tz: string;
50888
+ };
50889
+ Returns: boolean;
50890
+ };
50891
+ logistics_working_hours_status: {
50892
+ Args: never;
50893
+ Returns: import("../integrations/supabase/types").Json;
50894
+ };
50335
50895
  logistics_write_buffer_layer_positions: {
50336
50896
  Args: {
50337
50897
  p_buffer_id: string;