@flowselections/floriday-verkoop-module 1.0.60 → 1.0.61

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