@flowselections/floriday-verkoop-module 1.0.60 → 1.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts +9 -0
  2. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts.map +1 -0
  3. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.js +26 -0
  4. package/dist-lib/components/karindeling/AfmetingenTab.d.ts +6 -0
  5. package/dist-lib/components/karindeling/AfmetingenTab.d.ts.map +1 -0
  6. package/dist-lib/components/karindeling/AfmetingenTab.js +128 -0
  7. package/dist-lib/components/karindeling/KarindelingPage.d.ts +2 -0
  8. package/dist-lib/components/karindeling/KarindelingPage.d.ts.map +1 -0
  9. package/dist-lib/components/karindeling/KarindelingPage.js +102 -0
  10. package/dist-lib/components/ui/dropdown-menu.d.ts +9 -0
  11. package/dist-lib/components/ui/dropdown-menu.d.ts.map +1 -0
  12. package/dist-lib/components/ui/dropdown-menu.js +14 -0
  13. package/dist-lib/components/verkoop/AnalyticsCards.d.ts +1 -1
  14. package/dist-lib/components/verkoop/AnalyticsCards.d.ts.map +1 -1
  15. package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts +1 -1
  16. package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts.map +1 -1
  17. package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts +1 -1
  18. package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts.map +1 -1
  19. package/dist-lib/components/verkoop/CartLayersDialog.d.ts +1 -1
  20. package/dist-lib/components/verkoop/CartLayersDialog.d.ts.map +1 -1
  21. package/dist-lib/components/verkoop/CreateOrderDialog.d.ts +5 -0
  22. package/dist-lib/components/verkoop/CreateOrderDialog.d.ts.map +1 -0
  23. package/dist-lib/components/verkoop/CreateOrderDialog.js +33 -0
  24. package/dist-lib/components/verkoop/CreateOrderPage.d.ts +1 -1
  25. package/dist-lib/components/verkoop/CreateOrderPage.d.ts.map +1 -1
  26. package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts +1 -1
  27. package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts.map +1 -1
  28. package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts +1 -1
  29. package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts.map +1 -1
  30. package/dist-lib/components/verkoop/EngineBufferCard.d.ts +1 -1
  31. package/dist-lib/components/verkoop/EngineBufferCard.d.ts.map +1 -1
  32. package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts +1 -1
  33. package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts.map +1 -1
  34. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts +1 -1
  35. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
  36. package/dist-lib/components/verkoop/OrderCarrierPicker.d.ts +1 -1
  37. package/dist-lib/components/verkoop/OrderCarrierPicker.d.ts.map +1 -1
  38. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts +1 -1
  39. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts.map +1 -1
  40. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts +1 -1
  41. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts.map +1 -1
  42. package/dist-lib/components/verkoop/OrderPickupMomentPicker.d.ts +1 -1
  43. package/dist-lib/components/verkoop/OrderPickupMomentPicker.d.ts.map +1 -1
  44. package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts +1 -1
  45. package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts.map +1 -1
  46. package/dist-lib/components/verkoop/ProductDimensionsSettings.d.ts +1 -1
  47. package/dist-lib/components/verkoop/ProductDimensionsSettings.d.ts.map +1 -1
  48. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts +1 -1
  49. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts.map +1 -1
  50. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts +1 -1
  51. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
  52. package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts +1 -1
  53. package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts.map +1 -1
  54. package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts +1 -1
  55. package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts.map +1 -1
  56. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts +1 -2
  57. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  58. package/dist-lib/components/verkoop/SearchableSelect.d.ts +1 -1
  59. package/dist-lib/components/verkoop/SearchableSelect.d.ts.map +1 -1
  60. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts +1 -1
  61. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts.map +1 -1
  62. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts +1 -1
  63. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
  64. package/dist-lib/components/verkoop/WeekCalendar.d.ts +1 -1
  65. package/dist-lib/components/verkoop/WeekCalendar.d.ts.map +1 -1
  66. package/dist-lib/integrations/supabase/auth-middleware.d.ts +280 -0
  67. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  68. package/dist-lib/integrations/supabase/client.server.d.ts +280 -0
  69. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  70. package/dist-lib/integrations/supabase/types.d.ts +280 -0
  71. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  72. package/dist-lib/lib/buffer-events.functions.d.ts +280 -0
  73. package/dist-lib/lib/buffer-events.functions.d.ts.map +1 -1
  74. package/dist-lib/lib/cart-layers.functions.d.ts +1124 -36
  75. package/dist-lib/lib/cart-layers.functions.d.ts.map +1 -1
  76. package/dist-lib/lib/cart-lock.functions.d.ts +280 -0
  77. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  78. package/dist-lib/lib/cart-planning-settings.functions.d.ts +3080 -0
  79. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  80. package/dist-lib/lib/cart-replan.functions.d.ts +840 -0
  81. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  82. package/dist-lib/lib/create-order.functions.d.ts +4777 -102
  83. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  84. package/dist-lib/lib/cron/push-order-statuses.d.ts +4 -0
  85. package/dist-lib/lib/cron/push-order-statuses.d.ts.map +1 -0
  86. package/dist-lib/lib/cron/push-order-statuses.js +23 -0
  87. package/dist-lib/lib/floriday/floriday.server.d.ts +14 -0
  88. package/dist-lib/lib/floriday/floriday.server.d.ts.map +1 -0
  89. package/dist-lib/lib/floriday/floriday.server.js +92 -0
  90. package/dist-lib/lib/floriday/sales-orders.functions.d.ts +4736 -0
  91. package/dist-lib/lib/floriday/sales-orders.functions.d.ts.map +1 -0
  92. package/dist-lib/lib/floriday/sales-orders.functions.js +193 -0
  93. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +13288 -2362
  94. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  95. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +560 -0
  96. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  97. package/dist-lib/lib/floriday-mirror.functions.d.ts +280 -0
  98. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  99. package/dist-lib/lib/floriday-mirror.functions.js +282 -117
  100. package/dist-lib/lib/floriday-public.functions.d.ts +1960 -0
  101. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  102. package/dist-lib/lib/floriday-status-sync.server.d.ts +14 -0
  103. package/dist-lib/lib/floriday-status-sync.server.d.ts.map +1 -0
  104. package/dist-lib/lib/floriday-status-sync.server.js +130 -0
  105. package/dist-lib/lib/floriday-writes.functions.d.ts +560 -0
  106. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  107. package/dist-lib/lib/invoice-timing.functions.d.ts +1120 -0
  108. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  109. package/dist-lib/lib/load-carriers.functions.d.ts +280 -0
  110. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  111. package/dist-lib/lib/logistics-engine.functions.d.ts +1405 -15
  112. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  113. package/dist-lib/lib/logistics-stock.functions.d.ts +560 -0
  114. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  115. package/dist-lib/lib/order-addresses.functions.d.ts +280 -0
  116. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  117. package/dist-lib/lib/order-buffers.functions.d.ts +840 -0
  118. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  119. package/dist-lib/lib/order-carrier.functions.d.ts +560 -0
  120. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  121. package/dist-lib/lib/order-fulfill.functions.d.ts +280 -0
  122. package/dist-lib/lib/order-fulfill.functions.d.ts.map +1 -1
  123. package/dist-lib/lib/order-pickup.functions.d.ts +560 -0
  124. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  125. package/dist-lib/lib/order-shipments.functions.d.ts +1120 -0
  126. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  127. package/dist-lib/lib/product-dimensions.functions.d.ts +560 -0
  128. package/dist-lib/lib/product-dimensions.functions.d.ts.map +1 -1
  129. package/dist-lib/lib/salesorders-list.functions.d.ts +560 -0
  130. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  131. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  132. package/dist-lib/lib/salesorders-list.server.js +62 -3
  133. package/dist-lib/lib/salesorders.functions.d.ts +1680 -0
  134. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  135. package/dist-lib/lib/salesorders.functions.js +6 -1
  136. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +560 -0
  137. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  138. package/dist-lib/lib/tradeitems.functions.d.ts +280 -0
  139. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  140. package/package.json +1 -1
@@ -10092,22 +10092,31 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
10092
10092
  };
10093
10093
  logistics_floriday_push_refusals: {
10094
10094
  Row: {
10095
+ action: string | null;
10095
10096
  created_at: string;
10096
10097
  id: string;
10097
10098
  order_ref: string;
10098
10099
  reason: string;
10100
+ source_module: string | null;
10101
+ source_shell: string | null;
10099
10102
  };
10100
10103
  Insert: {
10104
+ action?: string | null;
10101
10105
  created_at?: string;
10102
10106
  id?: string;
10103
10107
  order_ref: string;
10104
10108
  reason: string;
10109
+ source_module?: string | null;
10110
+ source_shell?: string | null;
10105
10111
  };
10106
10112
  Update: {
10113
+ action?: string | null;
10107
10114
  created_at?: string;
10108
10115
  id?: string;
10109
10116
  order_ref?: string;
10110
10117
  reason?: string;
10118
+ source_module?: string | null;
10119
+ source_shell?: string | null;
10111
10120
  };
10112
10121
  Relationships: [];
10113
10122
  };
@@ -10186,6 +10195,42 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
10186
10195
  };
10187
10196
  Relationships: [];
10188
10197
  };
10198
+ logistics_floriday_status_sends: {
10199
+ Row: {
10200
+ action: string;
10201
+ created_at: string;
10202
+ detail: string | null;
10203
+ http_status: number | null;
10204
+ id: string;
10205
+ ok: boolean;
10206
+ order_ref: string;
10207
+ source_module: string | null;
10208
+ source_shell: string | null;
10209
+ };
10210
+ Insert: {
10211
+ action: string;
10212
+ created_at?: string;
10213
+ detail?: string | null;
10214
+ http_status?: number | null;
10215
+ id?: string;
10216
+ ok?: boolean;
10217
+ order_ref: string;
10218
+ source_module?: string | null;
10219
+ source_shell?: string | null;
10220
+ };
10221
+ Update: {
10222
+ action?: string;
10223
+ created_at?: string;
10224
+ detail?: string | null;
10225
+ http_status?: number | null;
10226
+ id?: string;
10227
+ ok?: boolean;
10228
+ order_ref?: string;
10229
+ source_module?: string | null;
10230
+ source_shell?: string | null;
10231
+ };
10232
+ Relationships: [];
10233
+ };
10189
10234
  logistics_formulas: {
10190
10235
  Row: {
10191
10236
  created_at: string;
@@ -10258,6 +10303,66 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
10258
10303
  };
10259
10304
  Relationships: [];
10260
10305
  };
10306
+ logistics_opening_exceptions: {
10307
+ Row: {
10308
+ closes: string | null;
10309
+ created_at: string;
10310
+ day: string;
10311
+ id: string;
10312
+ is_closed: boolean;
10313
+ note: string | null;
10314
+ opens: string | null;
10315
+ };
10316
+ Insert: {
10317
+ closes?: string | null;
10318
+ created_at?: string;
10319
+ day: string;
10320
+ id?: string;
10321
+ is_closed?: boolean;
10322
+ note?: string | null;
10323
+ opens?: string | null;
10324
+ };
10325
+ Update: {
10326
+ closes?: string | null;
10327
+ created_at?: string;
10328
+ day?: string;
10329
+ id?: string;
10330
+ is_closed?: boolean;
10331
+ note?: string | null;
10332
+ opens?: string | null;
10333
+ };
10334
+ Relationships: [];
10335
+ };
10336
+ logistics_opening_hours: {
10337
+ Row: {
10338
+ closes: string;
10339
+ created_at: string;
10340
+ id: string;
10341
+ is_active: boolean;
10342
+ note: string | null;
10343
+ opens: string;
10344
+ weekday: number;
10345
+ };
10346
+ Insert: {
10347
+ closes: string;
10348
+ created_at?: string;
10349
+ id?: string;
10350
+ is_active?: boolean;
10351
+ note?: string | null;
10352
+ opens: string;
10353
+ weekday: number;
10354
+ };
10355
+ Update: {
10356
+ closes?: string;
10357
+ created_at?: string;
10358
+ id?: string;
10359
+ is_active?: boolean;
10360
+ note?: string | null;
10361
+ opens?: string;
10362
+ weekday?: number;
10363
+ };
10364
+ Relationships: [];
10365
+ };
10261
10366
  logistics_pickup_moments: {
10262
10367
  Row: {
10263
10368
  carrier_ref: string | null;
@@ -11050,6 +11155,24 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
11050
11155
  };
11051
11156
  Relationships: [];
11052
11157
  };
11158
+ logistics_time_settings: {
11159
+ Row: {
11160
+ id: boolean;
11161
+ timezone: string;
11162
+ updated_at: string;
11163
+ };
11164
+ Insert: {
11165
+ id?: boolean;
11166
+ timezone: string;
11167
+ updated_at?: string;
11168
+ };
11169
+ Update: {
11170
+ id?: boolean;
11171
+ timezone?: string;
11172
+ updated_at?: string;
11173
+ };
11174
+ Relationships: [];
11175
+ };
11053
11176
  logistics_variables: {
11054
11177
  Row: {
11055
11178
  created_at: string;
@@ -13440,6 +13563,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13440
13563
  customer_name: string;
13441
13564
  deleted_at: string | null;
13442
13565
  delivery_date: string | null;
13566
+ floriday_order_group_key: string | null;
13443
13567
  floriday_sales_order_id: string | null;
13444
13568
  id: string;
13445
13569
  invoice_due_at: string | null;
@@ -13467,6 +13591,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13467
13591
  customer_name?: string;
13468
13592
  deleted_at?: string | null;
13469
13593
  delivery_date?: string | null;
13594
+ floriday_order_group_key?: string | null;
13470
13595
  floriday_sales_order_id?: string | null;
13471
13596
  id?: string;
13472
13597
  invoice_due_at?: string | null;
@@ -13494,6 +13619,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13494
13619
  customer_name?: string;
13495
13620
  deleted_at?: string | null;
13496
13621
  delivery_date?: string | null;
13622
+ floriday_order_group_key?: string | null;
13497
13623
  floriday_sales_order_id?: string | null;
13498
13624
  id?: string;
13499
13625
  invoice_due_at?: string | null;
@@ -19357,6 +19483,36 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
19357
19483
  referencedColumns: ["id"];
19358
19484
  }];
19359
19485
  };
19486
+ voorraad_buffer_state: {
19487
+ Row: {
19488
+ buffer_id: string;
19489
+ buffer_key: string | null;
19490
+ closed_at: string | null;
19491
+ created_at: string;
19492
+ detached_orders: import("../integrations/supabase/types").Json;
19493
+ reason: string | null;
19494
+ updated_at: string;
19495
+ };
19496
+ Insert: {
19497
+ buffer_id: string;
19498
+ buffer_key?: string | null;
19499
+ closed_at?: string | null;
19500
+ created_at?: string;
19501
+ detached_orders?: import("../integrations/supabase/types").Json;
19502
+ reason?: string | null;
19503
+ updated_at?: string;
19504
+ };
19505
+ Update: {
19506
+ buffer_id?: string;
19507
+ buffer_key?: string | null;
19508
+ closed_at?: string | null;
19509
+ created_at?: string;
19510
+ detached_orders?: import("../integrations/supabase/types").Json;
19511
+ reason?: string | null;
19512
+ updated_at?: string;
19513
+ };
19514
+ Relationships: [];
19515
+ };
19360
19516
  voorraad_custom_fields: {
19361
19517
  Row: {
19362
19518
  created_at: string;
@@ -19399,6 +19555,36 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
19399
19555
  };
19400
19556
  Relationships: [];
19401
19557
  };
19558
+ voorraad_logistics_event_log: {
19559
+ Row: {
19560
+ created_at: string;
19561
+ event_id: string;
19562
+ event_type: string;
19563
+ order_ref: string | null;
19564
+ processed_at: string;
19565
+ result: import("../integrations/supabase/types").Json;
19566
+ updated_at: string;
19567
+ };
19568
+ Insert: {
19569
+ created_at?: string;
19570
+ event_id: string;
19571
+ event_type: string;
19572
+ order_ref?: string | null;
19573
+ processed_at?: string;
19574
+ result?: import("../integrations/supabase/types").Json;
19575
+ updated_at?: string;
19576
+ };
19577
+ Update: {
19578
+ created_at?: string;
19579
+ event_id?: string;
19580
+ event_type?: string;
19581
+ order_ref?: string | null;
19582
+ processed_at?: string;
19583
+ result?: import("../integrations/supabase/types").Json;
19584
+ updated_at?: string;
19585
+ };
19586
+ Relationships: [];
19587
+ };
19402
19588
  voorraad_media_upload_failures: {
19403
19589
  Row: {
19404
19590
  action: string;
@@ -23368,6 +23554,12 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
23368
23554
  station_carts: number;
23369
23555
  }[];
23370
23556
  };
23557
+ logistics_control_complete_cart: {
23558
+ Args: {
23559
+ p_cart_id: string;
23560
+ };
23561
+ Returns: number;
23562
+ };
23371
23563
  logistics_control_scan_approve: {
23372
23564
  Args: {
23373
23565
  p_allow_reprint?: boolean;
@@ -23447,6 +23639,15 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
23447
23639
  Args: never;
23448
23640
  Returns: import("../integrations/supabase/types").Json;
23449
23641
  };
23642
+ logistics_day_windows: {
23643
+ Args: {
23644
+ p_day: string;
23645
+ };
23646
+ Returns: {
23647
+ win_end: string;
23648
+ win_start: string;
23649
+ }[];
23650
+ };
23450
23651
  logistics_delay_customer_email: {
23451
23652
  Args: {
23452
23653
  p_customer: string;
@@ -23514,6 +23715,17 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
23514
23715
  };
23515
23716
  Returns: import("../integrations/supabase/types").Json;
23516
23717
  };
23718
+ logistics_enqueue_shipping_note_with_slip: {
23719
+ Args: {
23720
+ _cart_id: string;
23721
+ _is_herprint: boolean;
23722
+ _printer_id: string;
23723
+ _queue_item_id: string;
23724
+ _session_id: string;
23725
+ _slip_job_id: string;
23726
+ };
23727
+ Returns: string;
23728
+ };
23517
23729
  logistics_enqueue_sticker_with_slip: {
23518
23730
  Args: {
23519
23731
  _cart_id: string;
@@ -23652,6 +23864,32 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
23652
23864
  };
23653
23865
  Returns: string;
23654
23866
  };
23867
+ logistics_floriday_gate_status: {
23868
+ Args: never;
23869
+ Returns: import("../integrations/supabase/types").Json;
23870
+ };
23871
+ logistics_floriday_log_refusal: {
23872
+ Args: {
23873
+ _action?: string;
23874
+ _module?: string;
23875
+ _order_ref: string;
23876
+ _reason: string;
23877
+ _shell?: string;
23878
+ };
23879
+ Returns: undefined;
23880
+ };
23881
+ logistics_floriday_log_send: {
23882
+ Args: {
23883
+ _action: string;
23884
+ _detail?: string;
23885
+ _http_status?: number;
23886
+ _module?: string;
23887
+ _ok: boolean;
23888
+ _order_ref: string;
23889
+ _shell?: string;
23890
+ };
23891
+ Returns: undefined;
23892
+ };
23655
23893
  logistics_floriday_order_approved: {
23656
23894
  Args: {
23657
23895
  _order_ref: string;
@@ -23676,6 +23914,16 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
23676
23914
  Args: never;
23677
23915
  Returns: boolean;
23678
23916
  };
23917
+ logistics_floriday_stock_updates_enabled: {
23918
+ Args: never;
23919
+ Returns: boolean;
23920
+ };
23921
+ logistics_floriday_write_allowed: {
23922
+ Args: {
23923
+ _action: string;
23924
+ };
23925
+ Returns: boolean;
23926
+ };
23679
23927
  logistics_fulfill_barcode_requests: {
23680
23928
  Args: {
23681
23929
  p_limit?: number;
@@ -23744,6 +23992,10 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
23744
23992
  };
23745
23993
  Returns: string;
23746
23994
  };
23995
+ logistics_opening_timezone: {
23996
+ Args: never;
23997
+ Returns: string;
23998
+ };
23747
23999
  logistics_order_cart_count: {
23748
24000
  Args: {
23749
24001
  p_order_ref: string;
@@ -24135,6 +24387,10 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
24135
24387
  };
24136
24388
  Returns: string;
24137
24389
  };
24390
+ logistics_shipping_note_follows_slip: {
24391
+ Args: never;
24392
+ Returns: boolean;
24393
+ };
24138
24394
  logistics_shipping_note_from_barcode: {
24139
24395
  Args: {
24140
24396
  p_allow_reprint?: boolean;
@@ -24147,6 +24403,14 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
24147
24403
  Args: never;
24148
24404
  Returns: boolean;
24149
24405
  };
24406
+ logistics_subtract_working_minutes: {
24407
+ Args: {
24408
+ p_deadline: string;
24409
+ p_max_workdays?: number;
24410
+ p_minutes: number;
24411
+ };
24412
+ Returns: import("../integrations/supabase/types").Json;
24413
+ };
24150
24414
  logistics_supersede_stale_tasks: {
24151
24415
  Args: {
24152
24416
  p_keep: string[];
@@ -24183,6 +24447,12 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
24183
24447
  Args: never;
24184
24448
  Returns: string;
24185
24449
  };
24450
+ logistics_timezone_options: {
24451
+ Args: never;
24452
+ Returns: {
24453
+ name: string;
24454
+ }[];
24455
+ };
24186
24456
  logistics_upsert_task: {
24187
24457
  Args: {
24188
24458
  p_buffer_ref: string;
@@ -24202,6 +24472,16 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
24202
24472
  };
24203
24473
  Returns: string;
24204
24474
  };
24475
+ logistics_valid_timezone: {
24476
+ Args: {
24477
+ _tz: string;
24478
+ };
24479
+ Returns: boolean;
24480
+ };
24481
+ logistics_working_hours_status: {
24482
+ Args: never;
24483
+ Returns: import("../integrations/supabase/types").Json;
24484
+ };
24205
24485
  logistics_write_buffer_layer_positions: {
24206
24486
  Args: {
24207
24487
  p_buffer_id: string;
@@ -36227,22 +36507,31 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36227
36507
  };
36228
36508
  logistics_floriday_push_refusals: {
36229
36509
  Row: {
36510
+ action: string | null;
36230
36511
  created_at: string;
36231
36512
  id: string;
36232
36513
  order_ref: string;
36233
36514
  reason: string;
36515
+ source_module: string | null;
36516
+ source_shell: string | null;
36234
36517
  };
36235
36518
  Insert: {
36519
+ action?: string | null;
36236
36520
  created_at?: string;
36237
36521
  id?: string;
36238
36522
  order_ref: string;
36239
36523
  reason: string;
36524
+ source_module?: string | null;
36525
+ source_shell?: string | null;
36240
36526
  };
36241
36527
  Update: {
36528
+ action?: string | null;
36242
36529
  created_at?: string;
36243
36530
  id?: string;
36244
36531
  order_ref?: string;
36245
36532
  reason?: string;
36533
+ source_module?: string | null;
36534
+ source_shell?: string | null;
36246
36535
  };
36247
36536
  Relationships: [];
36248
36537
  };
@@ -36321,6 +36610,42 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36321
36610
  };
36322
36611
  Relationships: [];
36323
36612
  };
36613
+ logistics_floriday_status_sends: {
36614
+ Row: {
36615
+ action: string;
36616
+ created_at: string;
36617
+ detail: string | null;
36618
+ http_status: number | null;
36619
+ id: string;
36620
+ ok: boolean;
36621
+ order_ref: string;
36622
+ source_module: string | null;
36623
+ source_shell: string | null;
36624
+ };
36625
+ Insert: {
36626
+ action: string;
36627
+ created_at?: string;
36628
+ detail?: string | null;
36629
+ http_status?: number | null;
36630
+ id?: string;
36631
+ ok?: boolean;
36632
+ order_ref: string;
36633
+ source_module?: string | null;
36634
+ source_shell?: string | null;
36635
+ };
36636
+ Update: {
36637
+ action?: string;
36638
+ created_at?: string;
36639
+ detail?: string | null;
36640
+ http_status?: number | null;
36641
+ id?: string;
36642
+ ok?: boolean;
36643
+ order_ref?: string;
36644
+ source_module?: string | null;
36645
+ source_shell?: string | null;
36646
+ };
36647
+ Relationships: [];
36648
+ };
36324
36649
  logistics_formulas: {
36325
36650
  Row: {
36326
36651
  created_at: string;
@@ -36393,6 +36718,66 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36393
36718
  };
36394
36719
  Relationships: [];
36395
36720
  };
36721
+ logistics_opening_exceptions: {
36722
+ Row: {
36723
+ closes: string | null;
36724
+ created_at: string;
36725
+ day: string;
36726
+ id: string;
36727
+ is_closed: boolean;
36728
+ note: string | null;
36729
+ opens: string | null;
36730
+ };
36731
+ Insert: {
36732
+ closes?: string | null;
36733
+ created_at?: string;
36734
+ day: string;
36735
+ id?: string;
36736
+ is_closed?: boolean;
36737
+ note?: string | null;
36738
+ opens?: string | null;
36739
+ };
36740
+ Update: {
36741
+ closes?: string | null;
36742
+ created_at?: string;
36743
+ day?: string;
36744
+ id?: string;
36745
+ is_closed?: boolean;
36746
+ note?: string | null;
36747
+ opens?: string | null;
36748
+ };
36749
+ Relationships: [];
36750
+ };
36751
+ logistics_opening_hours: {
36752
+ Row: {
36753
+ closes: string;
36754
+ created_at: string;
36755
+ id: string;
36756
+ is_active: boolean;
36757
+ note: string | null;
36758
+ opens: string;
36759
+ weekday: number;
36760
+ };
36761
+ Insert: {
36762
+ closes: string;
36763
+ created_at?: string;
36764
+ id?: string;
36765
+ is_active?: boolean;
36766
+ note?: string | null;
36767
+ opens: string;
36768
+ weekday: number;
36769
+ };
36770
+ Update: {
36771
+ closes?: string;
36772
+ created_at?: string;
36773
+ id?: string;
36774
+ is_active?: boolean;
36775
+ note?: string | null;
36776
+ opens?: string;
36777
+ weekday?: number;
36778
+ };
36779
+ Relationships: [];
36780
+ };
36396
36781
  logistics_pickup_moments: {
36397
36782
  Row: {
36398
36783
  carrier_ref: string | null;
@@ -37185,6 +37570,24 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
37185
37570
  };
37186
37571
  Relationships: [];
37187
37572
  };
37573
+ logistics_time_settings: {
37574
+ Row: {
37575
+ id: boolean;
37576
+ timezone: string;
37577
+ updated_at: string;
37578
+ };
37579
+ Insert: {
37580
+ id?: boolean;
37581
+ timezone: string;
37582
+ updated_at?: string;
37583
+ };
37584
+ Update: {
37585
+ id?: boolean;
37586
+ timezone?: string;
37587
+ updated_at?: string;
37588
+ };
37589
+ Relationships: [];
37590
+ };
37188
37591
  logistics_variables: {
37189
37592
  Row: {
37190
37593
  created_at: string;
@@ -39575,6 +39978,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
39575
39978
  customer_name: string;
39576
39979
  deleted_at: string | null;
39577
39980
  delivery_date: string | null;
39981
+ floriday_order_group_key: string | null;
39578
39982
  floriday_sales_order_id: string | null;
39579
39983
  id: string;
39580
39984
  invoice_due_at: string | null;
@@ -39602,6 +40006,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
39602
40006
  customer_name?: string;
39603
40007
  deleted_at?: string | null;
39604
40008
  delivery_date?: string | null;
40009
+ floriday_order_group_key?: string | null;
39605
40010
  floriday_sales_order_id?: string | null;
39606
40011
  id?: string;
39607
40012
  invoice_due_at?: string | null;
@@ -39629,6 +40034,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
39629
40034
  customer_name?: string;
39630
40035
  deleted_at?: string | null;
39631
40036
  delivery_date?: string | null;
40037
+ floriday_order_group_key?: string | null;
39632
40038
  floriday_sales_order_id?: string | null;
39633
40039
  id?: string;
39634
40040
  invoice_due_at?: string | null;
@@ -45492,6 +45898,36 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45492
45898
  referencedColumns: ["id"];
45493
45899
  }];
45494
45900
  };
45901
+ voorraad_buffer_state: {
45902
+ Row: {
45903
+ buffer_id: string;
45904
+ buffer_key: string | null;
45905
+ closed_at: string | null;
45906
+ created_at: string;
45907
+ detached_orders: import("../integrations/supabase/types").Json;
45908
+ reason: string | null;
45909
+ updated_at: string;
45910
+ };
45911
+ Insert: {
45912
+ buffer_id: string;
45913
+ buffer_key?: string | null;
45914
+ closed_at?: string | null;
45915
+ created_at?: string;
45916
+ detached_orders?: import("../integrations/supabase/types").Json;
45917
+ reason?: string | null;
45918
+ updated_at?: string;
45919
+ };
45920
+ Update: {
45921
+ buffer_id?: string;
45922
+ buffer_key?: string | null;
45923
+ closed_at?: string | null;
45924
+ created_at?: string;
45925
+ detached_orders?: import("../integrations/supabase/types").Json;
45926
+ reason?: string | null;
45927
+ updated_at?: string;
45928
+ };
45929
+ Relationships: [];
45930
+ };
45495
45931
  voorraad_custom_fields: {
45496
45932
  Row: {
45497
45933
  created_at: string;
@@ -45534,6 +45970,36 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45534
45970
  };
45535
45971
  Relationships: [];
45536
45972
  };
45973
+ voorraad_logistics_event_log: {
45974
+ Row: {
45975
+ created_at: string;
45976
+ event_id: string;
45977
+ event_type: string;
45978
+ order_ref: string | null;
45979
+ processed_at: string;
45980
+ result: import("../integrations/supabase/types").Json;
45981
+ updated_at: string;
45982
+ };
45983
+ Insert: {
45984
+ created_at?: string;
45985
+ event_id: string;
45986
+ event_type: string;
45987
+ order_ref?: string | null;
45988
+ processed_at?: string;
45989
+ result?: import("../integrations/supabase/types").Json;
45990
+ updated_at?: string;
45991
+ };
45992
+ Update: {
45993
+ created_at?: string;
45994
+ event_id?: string;
45995
+ event_type?: string;
45996
+ order_ref?: string | null;
45997
+ processed_at?: string;
45998
+ result?: import("../integrations/supabase/types").Json;
45999
+ updated_at?: string;
46000
+ };
46001
+ Relationships: [];
46002
+ };
45537
46003
  voorraad_media_upload_failures: {
45538
46004
  Row: {
45539
46005
  action: string;
@@ -49503,6 +49969,12 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
49503
49969
  station_carts: number;
49504
49970
  }[];
49505
49971
  };
49972
+ logistics_control_complete_cart: {
49973
+ Args: {
49974
+ p_cart_id: string;
49975
+ };
49976
+ Returns: number;
49977
+ };
49506
49978
  logistics_control_scan_approve: {
49507
49979
  Args: {
49508
49980
  p_allow_reprint?: boolean;
@@ -49582,6 +50054,15 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
49582
50054
  Args: never;
49583
50055
  Returns: import("../integrations/supabase/types").Json;
49584
50056
  };
50057
+ logistics_day_windows: {
50058
+ Args: {
50059
+ p_day: string;
50060
+ };
50061
+ Returns: {
50062
+ win_end: string;
50063
+ win_start: string;
50064
+ }[];
50065
+ };
49585
50066
  logistics_delay_customer_email: {
49586
50067
  Args: {
49587
50068
  p_customer: string;
@@ -49649,6 +50130,17 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
49649
50130
  };
49650
50131
  Returns: import("../integrations/supabase/types").Json;
49651
50132
  };
50133
+ logistics_enqueue_shipping_note_with_slip: {
50134
+ Args: {
50135
+ _cart_id: string;
50136
+ _is_herprint: boolean;
50137
+ _printer_id: string;
50138
+ _queue_item_id: string;
50139
+ _session_id: string;
50140
+ _slip_job_id: string;
50141
+ };
50142
+ Returns: string;
50143
+ };
49652
50144
  logistics_enqueue_sticker_with_slip: {
49653
50145
  Args: {
49654
50146
  _cart_id: string;
@@ -49787,6 +50279,32 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
49787
50279
  };
49788
50280
  Returns: string;
49789
50281
  };
50282
+ logistics_floriday_gate_status: {
50283
+ Args: never;
50284
+ Returns: import("../integrations/supabase/types").Json;
50285
+ };
50286
+ logistics_floriday_log_refusal: {
50287
+ Args: {
50288
+ _action?: string;
50289
+ _module?: string;
50290
+ _order_ref: string;
50291
+ _reason: string;
50292
+ _shell?: string;
50293
+ };
50294
+ Returns: undefined;
50295
+ };
50296
+ logistics_floriday_log_send: {
50297
+ Args: {
50298
+ _action: string;
50299
+ _detail?: string;
50300
+ _http_status?: number;
50301
+ _module?: string;
50302
+ _ok: boolean;
50303
+ _order_ref: string;
50304
+ _shell?: string;
50305
+ };
50306
+ Returns: undefined;
50307
+ };
49790
50308
  logistics_floriday_order_approved: {
49791
50309
  Args: {
49792
50310
  _order_ref: string;
@@ -49811,6 +50329,16 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
49811
50329
  Args: never;
49812
50330
  Returns: boolean;
49813
50331
  };
50332
+ logistics_floriday_stock_updates_enabled: {
50333
+ Args: never;
50334
+ Returns: boolean;
50335
+ };
50336
+ logistics_floriday_write_allowed: {
50337
+ Args: {
50338
+ _action: string;
50339
+ };
50340
+ Returns: boolean;
50341
+ };
49814
50342
  logistics_fulfill_barcode_requests: {
49815
50343
  Args: {
49816
50344
  p_limit?: number;
@@ -49879,6 +50407,10 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
49879
50407
  };
49880
50408
  Returns: string;
49881
50409
  };
50410
+ logistics_opening_timezone: {
50411
+ Args: never;
50412
+ Returns: string;
50413
+ };
49882
50414
  logistics_order_cart_count: {
49883
50415
  Args: {
49884
50416
  p_order_ref: string;
@@ -50270,6 +50802,10 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
50270
50802
  };
50271
50803
  Returns: string;
50272
50804
  };
50805
+ logistics_shipping_note_follows_slip: {
50806
+ Args: never;
50807
+ Returns: boolean;
50808
+ };
50273
50809
  logistics_shipping_note_from_barcode: {
50274
50810
  Args: {
50275
50811
  p_allow_reprint?: boolean;
@@ -50282,6 +50818,14 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
50282
50818
  Args: never;
50283
50819
  Returns: boolean;
50284
50820
  };
50821
+ logistics_subtract_working_minutes: {
50822
+ Args: {
50823
+ p_deadline: string;
50824
+ p_max_workdays?: number;
50825
+ p_minutes: number;
50826
+ };
50827
+ Returns: import("../integrations/supabase/types").Json;
50828
+ };
50285
50829
  logistics_supersede_stale_tasks: {
50286
50830
  Args: {
50287
50831
  p_keep: string[];
@@ -50318,6 +50862,12 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
50318
50862
  Args: never;
50319
50863
  Returns: string;
50320
50864
  };
50865
+ logistics_timezone_options: {
50866
+ Args: never;
50867
+ Returns: {
50868
+ name: string;
50869
+ }[];
50870
+ };
50321
50871
  logistics_upsert_task: {
50322
50872
  Args: {
50323
50873
  p_buffer_ref: string;
@@ -50337,6 +50887,16 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
50337
50887
  };
50338
50888
  Returns: string;
50339
50889
  };
50890
+ logistics_valid_timezone: {
50891
+ Args: {
50892
+ _tz: string;
50893
+ };
50894
+ Returns: boolean;
50895
+ };
50896
+ logistics_working_hours_status: {
50897
+ Args: never;
50898
+ Returns: import("../integrations/supabase/types").Json;
50899
+ };
50340
50900
  logistics_write_buffer_layer_positions: {
50341
50901
  Args: {
50342
50902
  p_buffer_id: string;