@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
@@ -10088,22 +10088,31 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
10088
10088
  };
10089
10089
  logistics_floriday_push_refusals: {
10090
10090
  Row: {
10091
+ action: string | null;
10091
10092
  created_at: string;
10092
10093
  id: string;
10093
10094
  order_ref: string;
10094
10095
  reason: string;
10096
+ source_module: string | null;
10097
+ source_shell: string | null;
10095
10098
  };
10096
10099
  Insert: {
10100
+ action?: string | null;
10097
10101
  created_at?: string;
10098
10102
  id?: string;
10099
10103
  order_ref: string;
10100
10104
  reason: string;
10105
+ source_module?: string | null;
10106
+ source_shell?: string | null;
10101
10107
  };
10102
10108
  Update: {
10109
+ action?: string | null;
10103
10110
  created_at?: string;
10104
10111
  id?: string;
10105
10112
  order_ref?: string;
10106
10113
  reason?: string;
10114
+ source_module?: string | null;
10115
+ source_shell?: string | null;
10107
10116
  };
10108
10117
  Relationships: [];
10109
10118
  };
@@ -10182,6 +10191,42 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
10182
10191
  };
10183
10192
  Relationships: [];
10184
10193
  };
10194
+ logistics_floriday_status_sends: {
10195
+ Row: {
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
+ Insert: {
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
+ Update: {
10218
+ action?: string;
10219
+ created_at?: string;
10220
+ detail?: string | null;
10221
+ http_status?: number | null;
10222
+ id?: string;
10223
+ ok?: boolean;
10224
+ order_ref?: string;
10225
+ source_module?: string | null;
10226
+ source_shell?: string | null;
10227
+ };
10228
+ Relationships: [];
10229
+ };
10185
10230
  logistics_formulas: {
10186
10231
  Row: {
10187
10232
  created_at: string;
@@ -10254,6 +10299,66 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
10254
10299
  };
10255
10300
  Relationships: [];
10256
10301
  };
10302
+ logistics_opening_exceptions: {
10303
+ Row: {
10304
+ closes: string | null;
10305
+ created_at: string;
10306
+ day: string;
10307
+ id: string;
10308
+ is_closed: boolean;
10309
+ note: string | null;
10310
+ opens: string | null;
10311
+ };
10312
+ Insert: {
10313
+ closes?: string | null;
10314
+ created_at?: string;
10315
+ day: string;
10316
+ id?: string;
10317
+ is_closed?: boolean;
10318
+ note?: string | null;
10319
+ opens?: string | null;
10320
+ };
10321
+ Update: {
10322
+ closes?: string | null;
10323
+ created_at?: string;
10324
+ day?: string;
10325
+ id?: string;
10326
+ is_closed?: boolean;
10327
+ note?: string | null;
10328
+ opens?: string | null;
10329
+ };
10330
+ Relationships: [];
10331
+ };
10332
+ logistics_opening_hours: {
10333
+ Row: {
10334
+ closes: string;
10335
+ created_at: string;
10336
+ id: string;
10337
+ is_active: boolean;
10338
+ note: string | null;
10339
+ opens: string;
10340
+ weekday: number;
10341
+ };
10342
+ Insert: {
10343
+ closes: string;
10344
+ created_at?: string;
10345
+ id?: string;
10346
+ is_active?: boolean;
10347
+ note?: string | null;
10348
+ opens: string;
10349
+ weekday: number;
10350
+ };
10351
+ Update: {
10352
+ closes?: string;
10353
+ created_at?: string;
10354
+ id?: string;
10355
+ is_active?: boolean;
10356
+ note?: string | null;
10357
+ opens?: string;
10358
+ weekday?: number;
10359
+ };
10360
+ Relationships: [];
10361
+ };
10257
10362
  logistics_pickup_moments: {
10258
10363
  Row: {
10259
10364
  carrier_ref: string | null;
@@ -11046,6 +11151,24 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
11046
11151
  };
11047
11152
  Relationships: [];
11048
11153
  };
11154
+ logistics_time_settings: {
11155
+ Row: {
11156
+ id: boolean;
11157
+ timezone: string;
11158
+ updated_at: string;
11159
+ };
11160
+ Insert: {
11161
+ id?: boolean;
11162
+ timezone: string;
11163
+ updated_at?: string;
11164
+ };
11165
+ Update: {
11166
+ id?: boolean;
11167
+ timezone?: string;
11168
+ updated_at?: string;
11169
+ };
11170
+ Relationships: [];
11171
+ };
11049
11172
  logistics_variables: {
11050
11173
  Row: {
11051
11174
  created_at: string;
@@ -13436,6 +13559,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13436
13559
  customer_name: string;
13437
13560
  deleted_at: string | null;
13438
13561
  delivery_date: string | null;
13562
+ floriday_order_group_key: string | null;
13439
13563
  floriday_sales_order_id: string | null;
13440
13564
  id: string;
13441
13565
  invoice_due_at: string | null;
@@ -13463,6 +13587,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13463
13587
  customer_name?: string;
13464
13588
  deleted_at?: string | null;
13465
13589
  delivery_date?: string | null;
13590
+ floriday_order_group_key?: string | null;
13466
13591
  floriday_sales_order_id?: string | null;
13467
13592
  id?: string;
13468
13593
  invoice_due_at?: string | null;
@@ -13490,6 +13615,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13490
13615
  customer_name?: string;
13491
13616
  deleted_at?: string | null;
13492
13617
  delivery_date?: string | null;
13618
+ floriday_order_group_key?: string | null;
13493
13619
  floriday_sales_order_id?: string | null;
13494
13620
  id?: string;
13495
13621
  invoice_due_at?: string | null;
@@ -19353,6 +19479,36 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
19353
19479
  referencedColumns: ["id"];
19354
19480
  }];
19355
19481
  };
19482
+ voorraad_buffer_state: {
19483
+ Row: {
19484
+ buffer_id: string;
19485
+ buffer_key: string | null;
19486
+ closed_at: string | null;
19487
+ created_at: string;
19488
+ detached_orders: import("../integrations/supabase/types").Json;
19489
+ reason: string | null;
19490
+ updated_at: string;
19491
+ };
19492
+ Insert: {
19493
+ buffer_id: string;
19494
+ buffer_key?: string | null;
19495
+ closed_at?: string | null;
19496
+ created_at?: string;
19497
+ detached_orders?: import("../integrations/supabase/types").Json;
19498
+ reason?: string | null;
19499
+ updated_at?: string;
19500
+ };
19501
+ Update: {
19502
+ buffer_id?: string;
19503
+ buffer_key?: string | null;
19504
+ closed_at?: string | null;
19505
+ created_at?: string;
19506
+ detached_orders?: import("../integrations/supabase/types").Json;
19507
+ reason?: string | null;
19508
+ updated_at?: string;
19509
+ };
19510
+ Relationships: [];
19511
+ };
19356
19512
  voorraad_custom_fields: {
19357
19513
  Row: {
19358
19514
  created_at: string;
@@ -19395,6 +19551,36 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
19395
19551
  };
19396
19552
  Relationships: [];
19397
19553
  };
19554
+ voorraad_logistics_event_log: {
19555
+ Row: {
19556
+ created_at: string;
19557
+ event_id: string;
19558
+ event_type: string;
19559
+ order_ref: string | null;
19560
+ processed_at: string;
19561
+ result: import("../integrations/supabase/types").Json;
19562
+ updated_at: string;
19563
+ };
19564
+ Insert: {
19565
+ created_at?: string;
19566
+ event_id: string;
19567
+ event_type: string;
19568
+ order_ref?: string | null;
19569
+ processed_at?: string;
19570
+ result?: import("../integrations/supabase/types").Json;
19571
+ updated_at?: string;
19572
+ };
19573
+ Update: {
19574
+ created_at?: string;
19575
+ event_id?: string;
19576
+ event_type?: string;
19577
+ order_ref?: string | null;
19578
+ processed_at?: string;
19579
+ result?: import("../integrations/supabase/types").Json;
19580
+ updated_at?: string;
19581
+ };
19582
+ Relationships: [];
19583
+ };
19398
19584
  voorraad_media_upload_failures: {
19399
19585
  Row: {
19400
19586
  action: string;
@@ -23364,6 +23550,12 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
23364
23550
  station_carts: number;
23365
23551
  }[];
23366
23552
  };
23553
+ logistics_control_complete_cart: {
23554
+ Args: {
23555
+ p_cart_id: string;
23556
+ };
23557
+ Returns: number;
23558
+ };
23367
23559
  logistics_control_scan_approve: {
23368
23560
  Args: {
23369
23561
  p_allow_reprint?: boolean;
@@ -23443,6 +23635,15 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
23443
23635
  Args: never;
23444
23636
  Returns: import("../integrations/supabase/types").Json;
23445
23637
  };
23638
+ logistics_day_windows: {
23639
+ Args: {
23640
+ p_day: string;
23641
+ };
23642
+ Returns: {
23643
+ win_end: string;
23644
+ win_start: string;
23645
+ }[];
23646
+ };
23446
23647
  logistics_delay_customer_email: {
23447
23648
  Args: {
23448
23649
  p_customer: string;
@@ -23510,6 +23711,17 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
23510
23711
  };
23511
23712
  Returns: import("../integrations/supabase/types").Json;
23512
23713
  };
23714
+ logistics_enqueue_shipping_note_with_slip: {
23715
+ Args: {
23716
+ _cart_id: string;
23717
+ _is_herprint: boolean;
23718
+ _printer_id: string;
23719
+ _queue_item_id: string;
23720
+ _session_id: string;
23721
+ _slip_job_id: string;
23722
+ };
23723
+ Returns: string;
23724
+ };
23513
23725
  logistics_enqueue_sticker_with_slip: {
23514
23726
  Args: {
23515
23727
  _cart_id: string;
@@ -23648,6 +23860,32 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
23648
23860
  };
23649
23861
  Returns: string;
23650
23862
  };
23863
+ logistics_floriday_gate_status: {
23864
+ Args: never;
23865
+ Returns: import("../integrations/supabase/types").Json;
23866
+ };
23867
+ logistics_floriday_log_refusal: {
23868
+ Args: {
23869
+ _action?: string;
23870
+ _module?: string;
23871
+ _order_ref: string;
23872
+ _reason: string;
23873
+ _shell?: string;
23874
+ };
23875
+ Returns: undefined;
23876
+ };
23877
+ logistics_floriday_log_send: {
23878
+ Args: {
23879
+ _action: string;
23880
+ _detail?: string;
23881
+ _http_status?: number;
23882
+ _module?: string;
23883
+ _ok: boolean;
23884
+ _order_ref: string;
23885
+ _shell?: string;
23886
+ };
23887
+ Returns: undefined;
23888
+ };
23651
23889
  logistics_floriday_order_approved: {
23652
23890
  Args: {
23653
23891
  _order_ref: string;
@@ -23672,6 +23910,16 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
23672
23910
  Args: never;
23673
23911
  Returns: boolean;
23674
23912
  };
23913
+ logistics_floriday_stock_updates_enabled: {
23914
+ Args: never;
23915
+ Returns: boolean;
23916
+ };
23917
+ logistics_floriday_write_allowed: {
23918
+ Args: {
23919
+ _action: string;
23920
+ };
23921
+ Returns: boolean;
23922
+ };
23675
23923
  logistics_fulfill_barcode_requests: {
23676
23924
  Args: {
23677
23925
  p_limit?: number;
@@ -23740,6 +23988,10 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
23740
23988
  };
23741
23989
  Returns: string;
23742
23990
  };
23991
+ logistics_opening_timezone: {
23992
+ Args: never;
23993
+ Returns: string;
23994
+ };
23743
23995
  logistics_order_cart_count: {
23744
23996
  Args: {
23745
23997
  p_order_ref: string;
@@ -24131,6 +24383,10 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
24131
24383
  };
24132
24384
  Returns: string;
24133
24385
  };
24386
+ logistics_shipping_note_follows_slip: {
24387
+ Args: never;
24388
+ Returns: boolean;
24389
+ };
24134
24390
  logistics_shipping_note_from_barcode: {
24135
24391
  Args: {
24136
24392
  p_allow_reprint?: boolean;
@@ -24143,6 +24399,14 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
24143
24399
  Args: never;
24144
24400
  Returns: boolean;
24145
24401
  };
24402
+ logistics_subtract_working_minutes: {
24403
+ Args: {
24404
+ p_deadline: string;
24405
+ p_max_workdays?: number;
24406
+ p_minutes: number;
24407
+ };
24408
+ Returns: import("../integrations/supabase/types").Json;
24409
+ };
24146
24410
  logistics_supersede_stale_tasks: {
24147
24411
  Args: {
24148
24412
  p_keep: string[];
@@ -24179,6 +24443,12 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
24179
24443
  Args: never;
24180
24444
  Returns: string;
24181
24445
  };
24446
+ logistics_timezone_options: {
24447
+ Args: never;
24448
+ Returns: {
24449
+ name: string;
24450
+ }[];
24451
+ };
24182
24452
  logistics_upsert_task: {
24183
24453
  Args: {
24184
24454
  p_buffer_ref: string;
@@ -24198,6 +24468,16 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
24198
24468
  };
24199
24469
  Returns: string;
24200
24470
  };
24471
+ logistics_valid_timezone: {
24472
+ Args: {
24473
+ _tz: string;
24474
+ };
24475
+ Returns: boolean;
24476
+ };
24477
+ logistics_working_hours_status: {
24478
+ Args: never;
24479
+ Returns: import("../integrations/supabase/types").Json;
24480
+ };
24201
24481
  logistics_write_buffer_layer_positions: {
24202
24482
  Args: {
24203
24483
  p_buffer_id: string;
@@ -36235,22 +36515,31 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36235
36515
  };
36236
36516
  logistics_floriday_push_refusals: {
36237
36517
  Row: {
36518
+ action: string | null;
36238
36519
  created_at: string;
36239
36520
  id: string;
36240
36521
  order_ref: string;
36241
36522
  reason: string;
36523
+ source_module: string | null;
36524
+ source_shell: string | null;
36242
36525
  };
36243
36526
  Insert: {
36527
+ action?: string | null;
36244
36528
  created_at?: string;
36245
36529
  id?: string;
36246
36530
  order_ref: string;
36247
36531
  reason: string;
36532
+ source_module?: string | null;
36533
+ source_shell?: string | null;
36248
36534
  };
36249
36535
  Update: {
36536
+ action?: string | null;
36250
36537
  created_at?: string;
36251
36538
  id?: string;
36252
36539
  order_ref?: string;
36253
36540
  reason?: string;
36541
+ source_module?: string | null;
36542
+ source_shell?: string | null;
36254
36543
  };
36255
36544
  Relationships: [];
36256
36545
  };
@@ -36329,6 +36618,42 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36329
36618
  };
36330
36619
  Relationships: [];
36331
36620
  };
36621
+ logistics_floriday_status_sends: {
36622
+ Row: {
36623
+ action: string;
36624
+ created_at: string;
36625
+ detail: string | null;
36626
+ http_status: number | null;
36627
+ id: string;
36628
+ ok: boolean;
36629
+ order_ref: string;
36630
+ source_module: string | null;
36631
+ source_shell: string | null;
36632
+ };
36633
+ Insert: {
36634
+ action: string;
36635
+ created_at?: string;
36636
+ detail?: string | null;
36637
+ http_status?: number | null;
36638
+ id?: string;
36639
+ ok?: boolean;
36640
+ order_ref: string;
36641
+ source_module?: string | null;
36642
+ source_shell?: string | null;
36643
+ };
36644
+ Update: {
36645
+ action?: string;
36646
+ created_at?: string;
36647
+ detail?: string | null;
36648
+ http_status?: number | null;
36649
+ id?: string;
36650
+ ok?: boolean;
36651
+ order_ref?: string;
36652
+ source_module?: string | null;
36653
+ source_shell?: string | null;
36654
+ };
36655
+ Relationships: [];
36656
+ };
36332
36657
  logistics_formulas: {
36333
36658
  Row: {
36334
36659
  created_at: string;
@@ -36401,6 +36726,66 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36401
36726
  };
36402
36727
  Relationships: [];
36403
36728
  };
36729
+ logistics_opening_exceptions: {
36730
+ Row: {
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
+ Insert: {
36740
+ closes?: string | null;
36741
+ created_at?: string;
36742
+ day: string;
36743
+ id?: string;
36744
+ is_closed?: boolean;
36745
+ note?: string | null;
36746
+ opens?: string | null;
36747
+ };
36748
+ Update: {
36749
+ closes?: string | null;
36750
+ created_at?: string;
36751
+ day?: string;
36752
+ id?: string;
36753
+ is_closed?: boolean;
36754
+ note?: string | null;
36755
+ opens?: string | null;
36756
+ };
36757
+ Relationships: [];
36758
+ };
36759
+ logistics_opening_hours: {
36760
+ Row: {
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
+ Insert: {
36770
+ closes: string;
36771
+ created_at?: string;
36772
+ id?: string;
36773
+ is_active?: boolean;
36774
+ note?: string | null;
36775
+ opens: string;
36776
+ weekday: number;
36777
+ };
36778
+ Update: {
36779
+ closes?: string;
36780
+ created_at?: string;
36781
+ id?: string;
36782
+ is_active?: boolean;
36783
+ note?: string | null;
36784
+ opens?: string;
36785
+ weekday?: number;
36786
+ };
36787
+ Relationships: [];
36788
+ };
36404
36789
  logistics_pickup_moments: {
36405
36790
  Row: {
36406
36791
  carrier_ref: string | null;
@@ -37193,6 +37578,24 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
37193
37578
  };
37194
37579
  Relationships: [];
37195
37580
  };
37581
+ logistics_time_settings: {
37582
+ Row: {
37583
+ id: boolean;
37584
+ timezone: string;
37585
+ updated_at: string;
37586
+ };
37587
+ Insert: {
37588
+ id?: boolean;
37589
+ timezone: string;
37590
+ updated_at?: string;
37591
+ };
37592
+ Update: {
37593
+ id?: boolean;
37594
+ timezone?: string;
37595
+ updated_at?: string;
37596
+ };
37597
+ Relationships: [];
37598
+ };
37196
37599
  logistics_variables: {
37197
37600
  Row: {
37198
37601
  created_at: string;
@@ -39583,6 +39986,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
39583
39986
  customer_name: string;
39584
39987
  deleted_at: string | null;
39585
39988
  delivery_date: string | null;
39989
+ floriday_order_group_key: string | null;
39586
39990
  floriday_sales_order_id: string | null;
39587
39991
  id: string;
39588
39992
  invoice_due_at: string | null;
@@ -39610,6 +40014,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
39610
40014
  customer_name?: string;
39611
40015
  deleted_at?: string | null;
39612
40016
  delivery_date?: string | null;
40017
+ floriday_order_group_key?: string | null;
39613
40018
  floriday_sales_order_id?: string | null;
39614
40019
  id?: string;
39615
40020
  invoice_due_at?: string | null;
@@ -39637,6 +40042,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
39637
40042
  customer_name?: string;
39638
40043
  deleted_at?: string | null;
39639
40044
  delivery_date?: string | null;
40045
+ floriday_order_group_key?: string | null;
39640
40046
  floriday_sales_order_id?: string | null;
39641
40047
  id?: string;
39642
40048
  invoice_due_at?: string | null;
@@ -45500,6 +45906,36 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45500
45906
  referencedColumns: ["id"];
45501
45907
  }];
45502
45908
  };
45909
+ voorraad_buffer_state: {
45910
+ Row: {
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
+ Insert: {
45920
+ buffer_id: string;
45921
+ buffer_key?: string | null;
45922
+ closed_at?: string | null;
45923
+ created_at?: string;
45924
+ detached_orders?: import("../integrations/supabase/types").Json;
45925
+ reason?: string | null;
45926
+ updated_at?: string;
45927
+ };
45928
+ Update: {
45929
+ buffer_id?: string;
45930
+ buffer_key?: string | null;
45931
+ closed_at?: string | null;
45932
+ created_at?: string;
45933
+ detached_orders?: import("../integrations/supabase/types").Json;
45934
+ reason?: string | null;
45935
+ updated_at?: string;
45936
+ };
45937
+ Relationships: [];
45938
+ };
45503
45939
  voorraad_custom_fields: {
45504
45940
  Row: {
45505
45941
  created_at: string;
@@ -45542,6 +45978,36 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45542
45978
  };
45543
45979
  Relationships: [];
45544
45980
  };
45981
+ voorraad_logistics_event_log: {
45982
+ Row: {
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
+ Insert: {
45992
+ created_at?: string;
45993
+ event_id: string;
45994
+ event_type: string;
45995
+ order_ref?: string | null;
45996
+ processed_at?: string;
45997
+ result?: import("../integrations/supabase/types").Json;
45998
+ updated_at?: string;
45999
+ };
46000
+ Update: {
46001
+ created_at?: string;
46002
+ event_id?: string;
46003
+ event_type?: string;
46004
+ order_ref?: string | null;
46005
+ processed_at?: string;
46006
+ result?: import("../integrations/supabase/types").Json;
46007
+ updated_at?: string;
46008
+ };
46009
+ Relationships: [];
46010
+ };
45545
46011
  voorraad_media_upload_failures: {
45546
46012
  Row: {
45547
46013
  action: string;
@@ -49511,6 +49977,12 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
49511
49977
  station_carts: number;
49512
49978
  }[];
49513
49979
  };
49980
+ logistics_control_complete_cart: {
49981
+ Args: {
49982
+ p_cart_id: string;
49983
+ };
49984
+ Returns: number;
49985
+ };
49514
49986
  logistics_control_scan_approve: {
49515
49987
  Args: {
49516
49988
  p_allow_reprint?: boolean;
@@ -49590,6 +50062,15 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
49590
50062
  Args: never;
49591
50063
  Returns: import("../integrations/supabase/types").Json;
49592
50064
  };
50065
+ logistics_day_windows: {
50066
+ Args: {
50067
+ p_day: string;
50068
+ };
50069
+ Returns: {
50070
+ win_end: string;
50071
+ win_start: string;
50072
+ }[];
50073
+ };
49593
50074
  logistics_delay_customer_email: {
49594
50075
  Args: {
49595
50076
  p_customer: string;
@@ -49657,6 +50138,17 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
49657
50138
  };
49658
50139
  Returns: import("../integrations/supabase/types").Json;
49659
50140
  };
50141
+ logistics_enqueue_shipping_note_with_slip: {
50142
+ Args: {
50143
+ _cart_id: string;
50144
+ _is_herprint: boolean;
50145
+ _printer_id: string;
50146
+ _queue_item_id: string;
50147
+ _session_id: string;
50148
+ _slip_job_id: string;
50149
+ };
50150
+ Returns: string;
50151
+ };
49660
50152
  logistics_enqueue_sticker_with_slip: {
49661
50153
  Args: {
49662
50154
  _cart_id: string;
@@ -49795,6 +50287,32 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
49795
50287
  };
49796
50288
  Returns: string;
49797
50289
  };
50290
+ logistics_floriday_gate_status: {
50291
+ Args: never;
50292
+ Returns: import("../integrations/supabase/types").Json;
50293
+ };
50294
+ logistics_floriday_log_refusal: {
50295
+ Args: {
50296
+ _action?: string;
50297
+ _module?: string;
50298
+ _order_ref: string;
50299
+ _reason: string;
50300
+ _shell?: string;
50301
+ };
50302
+ Returns: undefined;
50303
+ };
50304
+ logistics_floriday_log_send: {
50305
+ Args: {
50306
+ _action: string;
50307
+ _detail?: string;
50308
+ _http_status?: number;
50309
+ _module?: string;
50310
+ _ok: boolean;
50311
+ _order_ref: string;
50312
+ _shell?: string;
50313
+ };
50314
+ Returns: undefined;
50315
+ };
49798
50316
  logistics_floriday_order_approved: {
49799
50317
  Args: {
49800
50318
  _order_ref: string;
@@ -49819,6 +50337,16 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
49819
50337
  Args: never;
49820
50338
  Returns: boolean;
49821
50339
  };
50340
+ logistics_floriday_stock_updates_enabled: {
50341
+ Args: never;
50342
+ Returns: boolean;
50343
+ };
50344
+ logistics_floriday_write_allowed: {
50345
+ Args: {
50346
+ _action: string;
50347
+ };
50348
+ Returns: boolean;
50349
+ };
49822
50350
  logistics_fulfill_barcode_requests: {
49823
50351
  Args: {
49824
50352
  p_limit?: number;
@@ -49887,6 +50415,10 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
49887
50415
  };
49888
50416
  Returns: string;
49889
50417
  };
50418
+ logistics_opening_timezone: {
50419
+ Args: never;
50420
+ Returns: string;
50421
+ };
49890
50422
  logistics_order_cart_count: {
49891
50423
  Args: {
49892
50424
  p_order_ref: string;
@@ -50278,6 +50810,10 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
50278
50810
  };
50279
50811
  Returns: string;
50280
50812
  };
50813
+ logistics_shipping_note_follows_slip: {
50814
+ Args: never;
50815
+ Returns: boolean;
50816
+ };
50281
50817
  logistics_shipping_note_from_barcode: {
50282
50818
  Args: {
50283
50819
  p_allow_reprint?: boolean;
@@ -50290,6 +50826,14 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
50290
50826
  Args: never;
50291
50827
  Returns: boolean;
50292
50828
  };
50829
+ logistics_subtract_working_minutes: {
50830
+ Args: {
50831
+ p_deadline: string;
50832
+ p_max_workdays?: number;
50833
+ p_minutes: number;
50834
+ };
50835
+ Returns: import("../integrations/supabase/types").Json;
50836
+ };
50293
50837
  logistics_supersede_stale_tasks: {
50294
50838
  Args: {
50295
50839
  p_keep: string[];
@@ -50326,6 +50870,12 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
50326
50870
  Args: never;
50327
50871
  Returns: string;
50328
50872
  };
50873
+ logistics_timezone_options: {
50874
+ Args: never;
50875
+ Returns: {
50876
+ name: string;
50877
+ }[];
50878
+ };
50329
50879
  logistics_upsert_task: {
50330
50880
  Args: {
50331
50881
  p_buffer_ref: string;
@@ -50345,6 +50895,16 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
50345
50895
  };
50346
50896
  Returns: string;
50347
50897
  };
50898
+ logistics_valid_timezone: {
50899
+ Args: {
50900
+ _tz: string;
50901
+ };
50902
+ Returns: boolean;
50903
+ };
50904
+ logistics_working_hours_status: {
50905
+ Args: never;
50906
+ Returns: import("../integrations/supabase/types").Json;
50907
+ };
50348
50908
  logistics_write_buffer_layer_positions: {
50349
50909
  Args: {
50350
50910
  p_buffer_id: string;