@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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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 listLogisticLabelsForOrder: import("@tanstack/start-client-
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;
@@ -36232,22 +36512,31 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
36232
36512
  };
36233
36513
  logistics_floriday_push_refusals: {
36234
36514
  Row: {
36515
+ action: string | null;
36235
36516
  created_at: string;
36236
36517
  id: string;
36237
36518
  order_ref: string;
36238
36519
  reason: string;
36520
+ source_module: string | null;
36521
+ source_shell: string | null;
36239
36522
  };
36240
36523
  Insert: {
36524
+ action?: string | null;
36241
36525
  created_at?: string;
36242
36526
  id?: string;
36243
36527
  order_ref: string;
36244
36528
  reason: string;
36529
+ source_module?: string | null;
36530
+ source_shell?: string | null;
36245
36531
  };
36246
36532
  Update: {
36533
+ action?: string | null;
36247
36534
  created_at?: string;
36248
36535
  id?: string;
36249
36536
  order_ref?: string;
36250
36537
  reason?: string;
36538
+ source_module?: string | null;
36539
+ source_shell?: string | null;
36251
36540
  };
36252
36541
  Relationships: [];
36253
36542
  };
@@ -36326,6 +36615,42 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
36326
36615
  };
36327
36616
  Relationships: [];
36328
36617
  };
36618
+ logistics_floriday_status_sends: {
36619
+ Row: {
36620
+ action: string;
36621
+ created_at: string;
36622
+ detail: string | null;
36623
+ http_status: number | null;
36624
+ id: string;
36625
+ ok: boolean;
36626
+ order_ref: string;
36627
+ source_module: string | null;
36628
+ source_shell: string | null;
36629
+ };
36630
+ Insert: {
36631
+ action: string;
36632
+ created_at?: string;
36633
+ detail?: string | null;
36634
+ http_status?: number | null;
36635
+ id?: string;
36636
+ ok?: boolean;
36637
+ order_ref: string;
36638
+ source_module?: string | null;
36639
+ source_shell?: string | null;
36640
+ };
36641
+ Update: {
36642
+ action?: string;
36643
+ created_at?: string;
36644
+ detail?: string | null;
36645
+ http_status?: number | null;
36646
+ id?: string;
36647
+ ok?: boolean;
36648
+ order_ref?: string;
36649
+ source_module?: string | null;
36650
+ source_shell?: string | null;
36651
+ };
36652
+ Relationships: [];
36653
+ };
36329
36654
  logistics_formulas: {
36330
36655
  Row: {
36331
36656
  created_at: string;
@@ -36398,6 +36723,66 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
36398
36723
  };
36399
36724
  Relationships: [];
36400
36725
  };
36726
+ logistics_opening_exceptions: {
36727
+ Row: {
36728
+ closes: string | null;
36729
+ created_at: string;
36730
+ day: string;
36731
+ id: string;
36732
+ is_closed: boolean;
36733
+ note: string | null;
36734
+ opens: string | null;
36735
+ };
36736
+ Insert: {
36737
+ closes?: string | null;
36738
+ created_at?: string;
36739
+ day: string;
36740
+ id?: string;
36741
+ is_closed?: boolean;
36742
+ note?: string | null;
36743
+ opens?: string | null;
36744
+ };
36745
+ Update: {
36746
+ closes?: string | null;
36747
+ created_at?: string;
36748
+ day?: string;
36749
+ id?: string;
36750
+ is_closed?: boolean;
36751
+ note?: string | null;
36752
+ opens?: string | null;
36753
+ };
36754
+ Relationships: [];
36755
+ };
36756
+ logistics_opening_hours: {
36757
+ Row: {
36758
+ closes: string;
36759
+ created_at: string;
36760
+ id: string;
36761
+ is_active: boolean;
36762
+ note: string | null;
36763
+ opens: string;
36764
+ weekday: number;
36765
+ };
36766
+ Insert: {
36767
+ closes: string;
36768
+ created_at?: string;
36769
+ id?: string;
36770
+ is_active?: boolean;
36771
+ note?: string | null;
36772
+ opens: string;
36773
+ weekday: number;
36774
+ };
36775
+ Update: {
36776
+ closes?: string;
36777
+ created_at?: string;
36778
+ id?: string;
36779
+ is_active?: boolean;
36780
+ note?: string | null;
36781
+ opens?: string;
36782
+ weekday?: number;
36783
+ };
36784
+ Relationships: [];
36785
+ };
36401
36786
  logistics_pickup_moments: {
36402
36787
  Row: {
36403
36788
  carrier_ref: string | null;
@@ -37190,6 +37575,24 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
37190
37575
  };
37191
37576
  Relationships: [];
37192
37577
  };
37578
+ logistics_time_settings: {
37579
+ Row: {
37580
+ id: boolean;
37581
+ timezone: string;
37582
+ updated_at: string;
37583
+ };
37584
+ Insert: {
37585
+ id?: boolean;
37586
+ timezone: string;
37587
+ updated_at?: string;
37588
+ };
37589
+ Update: {
37590
+ id?: boolean;
37591
+ timezone?: string;
37592
+ updated_at?: string;
37593
+ };
37594
+ Relationships: [];
37595
+ };
37193
37596
  logistics_variables: {
37194
37597
  Row: {
37195
37598
  created_at: string;
@@ -39580,6 +39983,7 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
39580
39983
  customer_name: string;
39581
39984
  deleted_at: string | null;
39582
39985
  delivery_date: string | null;
39986
+ floriday_order_group_key: string | null;
39583
39987
  floriday_sales_order_id: string | null;
39584
39988
  id: string;
39585
39989
  invoice_due_at: string | null;
@@ -39607,6 +40011,7 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
39607
40011
  customer_name?: string;
39608
40012
  deleted_at?: string | null;
39609
40013
  delivery_date?: string | null;
40014
+ floriday_order_group_key?: string | null;
39610
40015
  floriday_sales_order_id?: string | null;
39611
40016
  id?: string;
39612
40017
  invoice_due_at?: string | null;
@@ -39634,6 +40039,7 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
39634
40039
  customer_name?: string;
39635
40040
  deleted_at?: string | null;
39636
40041
  delivery_date?: string | null;
40042
+ floriday_order_group_key?: string | null;
39637
40043
  floriday_sales_order_id?: string | null;
39638
40044
  id?: string;
39639
40045
  invoice_due_at?: string | null;
@@ -45497,6 +45903,36 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
45497
45903
  referencedColumns: ["id"];
45498
45904
  }];
45499
45905
  };
45906
+ voorraad_buffer_state: {
45907
+ Row: {
45908
+ buffer_id: string;
45909
+ buffer_key: string | null;
45910
+ closed_at: string | null;
45911
+ created_at: string;
45912
+ detached_orders: import("../integrations/supabase/types").Json;
45913
+ reason: string | null;
45914
+ updated_at: string;
45915
+ };
45916
+ Insert: {
45917
+ buffer_id: string;
45918
+ buffer_key?: string | null;
45919
+ closed_at?: string | null;
45920
+ created_at?: string;
45921
+ detached_orders?: import("../integrations/supabase/types").Json;
45922
+ reason?: string | null;
45923
+ updated_at?: string;
45924
+ };
45925
+ Update: {
45926
+ buffer_id?: string;
45927
+ buffer_key?: string | null;
45928
+ closed_at?: string | null;
45929
+ created_at?: string;
45930
+ detached_orders?: import("../integrations/supabase/types").Json;
45931
+ reason?: string | null;
45932
+ updated_at?: string;
45933
+ };
45934
+ Relationships: [];
45935
+ };
45500
45936
  voorraad_custom_fields: {
45501
45937
  Row: {
45502
45938
  created_at: string;
@@ -45539,6 +45975,36 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
45539
45975
  };
45540
45976
  Relationships: [];
45541
45977
  };
45978
+ voorraad_logistics_event_log: {
45979
+ Row: {
45980
+ created_at: string;
45981
+ event_id: string;
45982
+ event_type: string;
45983
+ order_ref: string | null;
45984
+ processed_at: string;
45985
+ result: import("../integrations/supabase/types").Json;
45986
+ updated_at: string;
45987
+ };
45988
+ Insert: {
45989
+ created_at?: string;
45990
+ event_id: string;
45991
+ event_type: string;
45992
+ order_ref?: string | null;
45993
+ processed_at?: string;
45994
+ result?: import("../integrations/supabase/types").Json;
45995
+ updated_at?: string;
45996
+ };
45997
+ Update: {
45998
+ created_at?: string;
45999
+ event_id?: string;
46000
+ event_type?: string;
46001
+ order_ref?: string | null;
46002
+ processed_at?: string;
46003
+ result?: import("../integrations/supabase/types").Json;
46004
+ updated_at?: string;
46005
+ };
46006
+ Relationships: [];
46007
+ };
45542
46008
  voorraad_media_upload_failures: {
45543
46009
  Row: {
45544
46010
  action: string;
@@ -49508,6 +49974,12 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
49508
49974
  station_carts: number;
49509
49975
  }[];
49510
49976
  };
49977
+ logistics_control_complete_cart: {
49978
+ Args: {
49979
+ p_cart_id: string;
49980
+ };
49981
+ Returns: number;
49982
+ };
49511
49983
  logistics_control_scan_approve: {
49512
49984
  Args: {
49513
49985
  p_allow_reprint?: boolean;
@@ -49587,6 +50059,15 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
49587
50059
  Args: never;
49588
50060
  Returns: import("../integrations/supabase/types").Json;
49589
50061
  };
50062
+ logistics_day_windows: {
50063
+ Args: {
50064
+ p_day: string;
50065
+ };
50066
+ Returns: {
50067
+ win_end: string;
50068
+ win_start: string;
50069
+ }[];
50070
+ };
49590
50071
  logistics_delay_customer_email: {
49591
50072
  Args: {
49592
50073
  p_customer: string;
@@ -49654,6 +50135,17 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
49654
50135
  };
49655
50136
  Returns: import("../integrations/supabase/types").Json;
49656
50137
  };
50138
+ logistics_enqueue_shipping_note_with_slip: {
50139
+ Args: {
50140
+ _cart_id: string;
50141
+ _is_herprint: boolean;
50142
+ _printer_id: string;
50143
+ _queue_item_id: string;
50144
+ _session_id: string;
50145
+ _slip_job_id: string;
50146
+ };
50147
+ Returns: string;
50148
+ };
49657
50149
  logistics_enqueue_sticker_with_slip: {
49658
50150
  Args: {
49659
50151
  _cart_id: string;
@@ -49792,6 +50284,32 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
49792
50284
  };
49793
50285
  Returns: string;
49794
50286
  };
50287
+ logistics_floriday_gate_status: {
50288
+ Args: never;
50289
+ Returns: import("../integrations/supabase/types").Json;
50290
+ };
50291
+ logistics_floriday_log_refusal: {
50292
+ Args: {
50293
+ _action?: string;
50294
+ _module?: string;
50295
+ _order_ref: string;
50296
+ _reason: string;
50297
+ _shell?: string;
50298
+ };
50299
+ Returns: undefined;
50300
+ };
50301
+ logistics_floriday_log_send: {
50302
+ Args: {
50303
+ _action: string;
50304
+ _detail?: string;
50305
+ _http_status?: number;
50306
+ _module?: string;
50307
+ _ok: boolean;
50308
+ _order_ref: string;
50309
+ _shell?: string;
50310
+ };
50311
+ Returns: undefined;
50312
+ };
49795
50313
  logistics_floriday_order_approved: {
49796
50314
  Args: {
49797
50315
  _order_ref: string;
@@ -49816,6 +50334,16 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
49816
50334
  Args: never;
49817
50335
  Returns: boolean;
49818
50336
  };
50337
+ logistics_floriday_stock_updates_enabled: {
50338
+ Args: never;
50339
+ Returns: boolean;
50340
+ };
50341
+ logistics_floriday_write_allowed: {
50342
+ Args: {
50343
+ _action: string;
50344
+ };
50345
+ Returns: boolean;
50346
+ };
49819
50347
  logistics_fulfill_barcode_requests: {
49820
50348
  Args: {
49821
50349
  p_limit?: number;
@@ -49884,6 +50412,10 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
49884
50412
  };
49885
50413
  Returns: string;
49886
50414
  };
50415
+ logistics_opening_timezone: {
50416
+ Args: never;
50417
+ Returns: string;
50418
+ };
49887
50419
  logistics_order_cart_count: {
49888
50420
  Args: {
49889
50421
  p_order_ref: string;
@@ -50275,6 +50807,10 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
50275
50807
  };
50276
50808
  Returns: string;
50277
50809
  };
50810
+ logistics_shipping_note_follows_slip: {
50811
+ Args: never;
50812
+ Returns: boolean;
50813
+ };
50278
50814
  logistics_shipping_note_from_barcode: {
50279
50815
  Args: {
50280
50816
  p_allow_reprint?: boolean;
@@ -50287,6 +50823,14 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
50287
50823
  Args: never;
50288
50824
  Returns: boolean;
50289
50825
  };
50826
+ logistics_subtract_working_minutes: {
50827
+ Args: {
50828
+ p_deadline: string;
50829
+ p_max_workdays?: number;
50830
+ p_minutes: number;
50831
+ };
50832
+ Returns: import("../integrations/supabase/types").Json;
50833
+ };
50290
50834
  logistics_supersede_stale_tasks: {
50291
50835
  Args: {
50292
50836
  p_keep: string[];
@@ -50323,6 +50867,12 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
50323
50867
  Args: never;
50324
50868
  Returns: string;
50325
50869
  };
50870
+ logistics_timezone_options: {
50871
+ Args: never;
50872
+ Returns: {
50873
+ name: string;
50874
+ }[];
50875
+ };
50326
50876
  logistics_upsert_task: {
50327
50877
  Args: {
50328
50878
  p_buffer_ref: string;
@@ -50342,6 +50892,16 @@ export declare const registerDeliveryNote: import("@tanstack/start-client-core")
50342
50892
  };
50343
50893
  Returns: string;
50344
50894
  };
50895
+ logistics_valid_timezone: {
50896
+ Args: {
50897
+ _tz: string;
50898
+ };
50899
+ Returns: boolean;
50900
+ };
50901
+ logistics_working_hours_status: {
50902
+ Args: never;
50903
+ Returns: import("../integrations/supabase/types").Json;
50904
+ };
50345
50905
  logistics_write_buffer_layer_positions: {
50346
50906
  Args: {
50347
50907
  p_buffer_id: string;