@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
@@ -10081,22 +10081,31 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
10081
10081
  };
10082
10082
  logistics_floriday_push_refusals: {
10083
10083
  Row: {
10084
+ action: string | null;
10084
10085
  created_at: string;
10085
10086
  id: string;
10086
10087
  order_ref: string;
10087
10088
  reason: string;
10089
+ source_module: string | null;
10090
+ source_shell: string | null;
10088
10091
  };
10089
10092
  Insert: {
10093
+ action?: string | null;
10090
10094
  created_at?: string;
10091
10095
  id?: string;
10092
10096
  order_ref: string;
10093
10097
  reason: string;
10098
+ source_module?: string | null;
10099
+ source_shell?: string | null;
10094
10100
  };
10095
10101
  Update: {
10102
+ action?: string | null;
10096
10103
  created_at?: string;
10097
10104
  id?: string;
10098
10105
  order_ref?: string;
10099
10106
  reason?: string;
10107
+ source_module?: string | null;
10108
+ source_shell?: string | null;
10100
10109
  };
10101
10110
  Relationships: [];
10102
10111
  };
@@ -10175,6 +10184,42 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
10175
10184
  };
10176
10185
  Relationships: [];
10177
10186
  };
10187
+ logistics_floriday_status_sends: {
10188
+ Row: {
10189
+ action: string;
10190
+ created_at: string;
10191
+ detail: string | null;
10192
+ http_status: number | null;
10193
+ id: string;
10194
+ ok: boolean;
10195
+ order_ref: string;
10196
+ source_module: string | null;
10197
+ source_shell: string | null;
10198
+ };
10199
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
10222
+ };
10178
10223
  logistics_formulas: {
10179
10224
  Row: {
10180
10225
  created_at: string;
@@ -10247,6 +10292,66 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
10247
10292
  };
10248
10293
  Relationships: [];
10249
10294
  };
10295
+ logistics_opening_exceptions: {
10296
+ Row: {
10297
+ closes: string | null;
10298
+ created_at: string;
10299
+ day: string;
10300
+ id: string;
10301
+ is_closed: boolean;
10302
+ note: string | null;
10303
+ opens: string | null;
10304
+ };
10305
+ Insert: {
10306
+ closes?: string | null;
10307
+ created_at?: string;
10308
+ day: string;
10309
+ id?: string;
10310
+ is_closed?: boolean;
10311
+ note?: string | null;
10312
+ opens?: string | null;
10313
+ };
10314
+ Update: {
10315
+ closes?: string | null;
10316
+ created_at?: string;
10317
+ day?: string;
10318
+ id?: string;
10319
+ is_closed?: boolean;
10320
+ note?: string | null;
10321
+ opens?: string | null;
10322
+ };
10323
+ Relationships: [];
10324
+ };
10325
+ logistics_opening_hours: {
10326
+ Row: {
10327
+ closes: string;
10328
+ created_at: string;
10329
+ id: string;
10330
+ is_active: boolean;
10331
+ note: string | null;
10332
+ opens: string;
10333
+ weekday: number;
10334
+ };
10335
+ Insert: {
10336
+ closes: string;
10337
+ created_at?: string;
10338
+ id?: string;
10339
+ is_active?: boolean;
10340
+ note?: string | null;
10341
+ opens: string;
10342
+ weekday: number;
10343
+ };
10344
+ Update: {
10345
+ closes?: string;
10346
+ created_at?: string;
10347
+ id?: string;
10348
+ is_active?: boolean;
10349
+ note?: string | null;
10350
+ opens?: string;
10351
+ weekday?: number;
10352
+ };
10353
+ Relationships: [];
10354
+ };
10250
10355
  logistics_pickup_moments: {
10251
10356
  Row: {
10252
10357
  carrier_ref: string | null;
@@ -11039,6 +11144,24 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
11039
11144
  };
11040
11145
  Relationships: [];
11041
11146
  };
11147
+ logistics_time_settings: {
11148
+ Row: {
11149
+ id: boolean;
11150
+ timezone: string;
11151
+ updated_at: string;
11152
+ };
11153
+ Insert: {
11154
+ id?: boolean;
11155
+ timezone: string;
11156
+ updated_at?: string;
11157
+ };
11158
+ Update: {
11159
+ id?: boolean;
11160
+ timezone?: string;
11161
+ updated_at?: string;
11162
+ };
11163
+ Relationships: [];
11164
+ };
11042
11165
  logistics_variables: {
11043
11166
  Row: {
11044
11167
  created_at: string;
@@ -13429,6 +13552,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13429
13552
  customer_name: string;
13430
13553
  deleted_at: string | null;
13431
13554
  delivery_date: string | null;
13555
+ floriday_order_group_key: string | null;
13432
13556
  floriday_sales_order_id: string | null;
13433
13557
  id: string;
13434
13558
  invoice_due_at: string | null;
@@ -13456,6 +13580,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13456
13580
  customer_name?: string;
13457
13581
  deleted_at?: string | null;
13458
13582
  delivery_date?: string | null;
13583
+ floriday_order_group_key?: string | null;
13459
13584
  floriday_sales_order_id?: string | null;
13460
13585
  id?: string;
13461
13586
  invoice_due_at?: string | null;
@@ -13483,6 +13608,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13483
13608
  customer_name?: string;
13484
13609
  deleted_at?: string | null;
13485
13610
  delivery_date?: string | null;
13611
+ floriday_order_group_key?: string | null;
13486
13612
  floriday_sales_order_id?: string | null;
13487
13613
  id?: string;
13488
13614
  invoice_due_at?: string | null;
@@ -19346,6 +19472,36 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
19346
19472
  referencedColumns: ["id"];
19347
19473
  }];
19348
19474
  };
19475
+ voorraad_buffer_state: {
19476
+ Row: {
19477
+ buffer_id: string;
19478
+ buffer_key: string | null;
19479
+ closed_at: string | null;
19480
+ created_at: string;
19481
+ detached_orders: import("../integrations/supabase/types").Json;
19482
+ reason: string | null;
19483
+ updated_at: string;
19484
+ };
19485
+ Insert: {
19486
+ buffer_id: string;
19487
+ buffer_key?: string | null;
19488
+ closed_at?: string | null;
19489
+ created_at?: string;
19490
+ detached_orders?: import("../integrations/supabase/types").Json;
19491
+ reason?: string | null;
19492
+ updated_at?: string;
19493
+ };
19494
+ Update: {
19495
+ buffer_id?: string;
19496
+ buffer_key?: string | null;
19497
+ closed_at?: string | null;
19498
+ created_at?: string;
19499
+ detached_orders?: import("../integrations/supabase/types").Json;
19500
+ reason?: string | null;
19501
+ updated_at?: string;
19502
+ };
19503
+ Relationships: [];
19504
+ };
19349
19505
  voorraad_custom_fields: {
19350
19506
  Row: {
19351
19507
  created_at: string;
@@ -19388,6 +19544,36 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
19388
19544
  };
19389
19545
  Relationships: [];
19390
19546
  };
19547
+ voorraad_logistics_event_log: {
19548
+ Row: {
19549
+ created_at: string;
19550
+ event_id: string;
19551
+ event_type: string;
19552
+ order_ref: string | null;
19553
+ processed_at: string;
19554
+ result: import("../integrations/supabase/types").Json;
19555
+ updated_at: string;
19556
+ };
19557
+ Insert: {
19558
+ created_at?: string;
19559
+ event_id: string;
19560
+ event_type: string;
19561
+ order_ref?: string | null;
19562
+ processed_at?: string;
19563
+ result?: import("../integrations/supabase/types").Json;
19564
+ updated_at?: string;
19565
+ };
19566
+ Update: {
19567
+ created_at?: string;
19568
+ event_id?: string;
19569
+ event_type?: string;
19570
+ order_ref?: string | null;
19571
+ processed_at?: string;
19572
+ result?: import("../integrations/supabase/types").Json;
19573
+ updated_at?: string;
19574
+ };
19575
+ Relationships: [];
19576
+ };
19391
19577
  voorraad_media_upload_failures: {
19392
19578
  Row: {
19393
19579
  action: string;
@@ -23357,6 +23543,12 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
23357
23543
  station_carts: number;
23358
23544
  }[];
23359
23545
  };
23546
+ logistics_control_complete_cart: {
23547
+ Args: {
23548
+ p_cart_id: string;
23549
+ };
23550
+ Returns: number;
23551
+ };
23360
23552
  logistics_control_scan_approve: {
23361
23553
  Args: {
23362
23554
  p_allow_reprint?: boolean;
@@ -23436,6 +23628,15 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
23436
23628
  Args: never;
23437
23629
  Returns: import("../integrations/supabase/types").Json;
23438
23630
  };
23631
+ logistics_day_windows: {
23632
+ Args: {
23633
+ p_day: string;
23634
+ };
23635
+ Returns: {
23636
+ win_end: string;
23637
+ win_start: string;
23638
+ }[];
23639
+ };
23439
23640
  logistics_delay_customer_email: {
23440
23641
  Args: {
23441
23642
  p_customer: string;
@@ -23503,6 +23704,17 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
23503
23704
  };
23504
23705
  Returns: import("../integrations/supabase/types").Json;
23505
23706
  };
23707
+ logistics_enqueue_shipping_note_with_slip: {
23708
+ Args: {
23709
+ _cart_id: string;
23710
+ _is_herprint: boolean;
23711
+ _printer_id: string;
23712
+ _queue_item_id: string;
23713
+ _session_id: string;
23714
+ _slip_job_id: string;
23715
+ };
23716
+ Returns: string;
23717
+ };
23506
23718
  logistics_enqueue_sticker_with_slip: {
23507
23719
  Args: {
23508
23720
  _cart_id: string;
@@ -23641,6 +23853,32 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
23641
23853
  };
23642
23854
  Returns: string;
23643
23855
  };
23856
+ logistics_floriday_gate_status: {
23857
+ Args: never;
23858
+ Returns: import("../integrations/supabase/types").Json;
23859
+ };
23860
+ logistics_floriday_log_refusal: {
23861
+ Args: {
23862
+ _action?: string;
23863
+ _module?: string;
23864
+ _order_ref: string;
23865
+ _reason: string;
23866
+ _shell?: string;
23867
+ };
23868
+ Returns: undefined;
23869
+ };
23870
+ logistics_floriday_log_send: {
23871
+ Args: {
23872
+ _action: string;
23873
+ _detail?: string;
23874
+ _http_status?: number;
23875
+ _module?: string;
23876
+ _ok: boolean;
23877
+ _order_ref: string;
23878
+ _shell?: string;
23879
+ };
23880
+ Returns: undefined;
23881
+ };
23644
23882
  logistics_floriday_order_approved: {
23645
23883
  Args: {
23646
23884
  _order_ref: string;
@@ -23665,6 +23903,16 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
23665
23903
  Args: never;
23666
23904
  Returns: boolean;
23667
23905
  };
23906
+ logistics_floriday_stock_updates_enabled: {
23907
+ Args: never;
23908
+ Returns: boolean;
23909
+ };
23910
+ logistics_floriday_write_allowed: {
23911
+ Args: {
23912
+ _action: string;
23913
+ };
23914
+ Returns: boolean;
23915
+ };
23668
23916
  logistics_fulfill_barcode_requests: {
23669
23917
  Args: {
23670
23918
  p_limit?: number;
@@ -23733,6 +23981,10 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
23733
23981
  };
23734
23982
  Returns: string;
23735
23983
  };
23984
+ logistics_opening_timezone: {
23985
+ Args: never;
23986
+ Returns: string;
23987
+ };
23736
23988
  logistics_order_cart_count: {
23737
23989
  Args: {
23738
23990
  p_order_ref: string;
@@ -24124,6 +24376,10 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
24124
24376
  };
24125
24377
  Returns: string;
24126
24378
  };
24379
+ logistics_shipping_note_follows_slip: {
24380
+ Args: never;
24381
+ Returns: boolean;
24382
+ };
24127
24383
  logistics_shipping_note_from_barcode: {
24128
24384
  Args: {
24129
24385
  p_allow_reprint?: boolean;
@@ -24136,6 +24392,14 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
24136
24392
  Args: never;
24137
24393
  Returns: boolean;
24138
24394
  };
24395
+ logistics_subtract_working_minutes: {
24396
+ Args: {
24397
+ p_deadline: string;
24398
+ p_max_workdays?: number;
24399
+ p_minutes: number;
24400
+ };
24401
+ Returns: import("../integrations/supabase/types").Json;
24402
+ };
24139
24403
  logistics_supersede_stale_tasks: {
24140
24404
  Args: {
24141
24405
  p_keep: string[];
@@ -24172,6 +24436,12 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
24172
24436
  Args: never;
24173
24437
  Returns: string;
24174
24438
  };
24439
+ logistics_timezone_options: {
24440
+ Args: never;
24441
+ Returns: {
24442
+ name: string;
24443
+ }[];
24444
+ };
24175
24445
  logistics_upsert_task: {
24176
24446
  Args: {
24177
24447
  p_buffer_ref: string;
@@ -24191,6 +24461,16 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
24191
24461
  };
24192
24462
  Returns: string;
24193
24463
  };
24464
+ logistics_valid_timezone: {
24465
+ Args: {
24466
+ _tz: string;
24467
+ };
24468
+ Returns: boolean;
24469
+ };
24470
+ logistics_working_hours_status: {
24471
+ Args: never;
24472
+ Returns: import("../integrations/supabase/types").Json;
24473
+ };
24194
24474
  logistics_write_buffer_layer_positions: {
24195
24475
  Args: {
24196
24476
  p_buffer_id: string;
@@ -36223,22 +36503,31 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36223
36503
  };
36224
36504
  logistics_floriday_push_refusals: {
36225
36505
  Row: {
36506
+ action: string | null;
36226
36507
  created_at: string;
36227
36508
  id: string;
36228
36509
  order_ref: string;
36229
36510
  reason: string;
36511
+ source_module: string | null;
36512
+ source_shell: string | null;
36230
36513
  };
36231
36514
  Insert: {
36515
+ action?: string | null;
36232
36516
  created_at?: string;
36233
36517
  id?: string;
36234
36518
  order_ref: string;
36235
36519
  reason: string;
36520
+ source_module?: string | null;
36521
+ source_shell?: string | null;
36236
36522
  };
36237
36523
  Update: {
36524
+ action?: string | null;
36238
36525
  created_at?: string;
36239
36526
  id?: string;
36240
36527
  order_ref?: string;
36241
36528
  reason?: string;
36529
+ source_module?: string | null;
36530
+ source_shell?: string | null;
36242
36531
  };
36243
36532
  Relationships: [];
36244
36533
  };
@@ -36317,6 +36606,42 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36317
36606
  };
36318
36607
  Relationships: [];
36319
36608
  };
36609
+ logistics_floriday_status_sends: {
36610
+ Row: {
36611
+ action: string;
36612
+ created_at: string;
36613
+ detail: string | null;
36614
+ http_status: number | null;
36615
+ id: string;
36616
+ ok: boolean;
36617
+ order_ref: string;
36618
+ source_module: string | null;
36619
+ source_shell: string | null;
36620
+ };
36621
+ Insert: {
36622
+ action: string;
36623
+ created_at?: string;
36624
+ detail?: string | null;
36625
+ http_status?: number | null;
36626
+ id?: string;
36627
+ ok?: boolean;
36628
+ order_ref: string;
36629
+ source_module?: string | null;
36630
+ source_shell?: string | null;
36631
+ };
36632
+ Update: {
36633
+ action?: string;
36634
+ created_at?: string;
36635
+ detail?: string | null;
36636
+ http_status?: number | null;
36637
+ id?: string;
36638
+ ok?: boolean;
36639
+ order_ref?: string;
36640
+ source_module?: string | null;
36641
+ source_shell?: string | null;
36642
+ };
36643
+ Relationships: [];
36644
+ };
36320
36645
  logistics_formulas: {
36321
36646
  Row: {
36322
36647
  created_at: string;
@@ -36389,6 +36714,66 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36389
36714
  };
36390
36715
  Relationships: [];
36391
36716
  };
36717
+ logistics_opening_exceptions: {
36718
+ Row: {
36719
+ closes: string | null;
36720
+ created_at: string;
36721
+ day: string;
36722
+ id: string;
36723
+ is_closed: boolean;
36724
+ note: string | null;
36725
+ opens: string | null;
36726
+ };
36727
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
36746
+ };
36747
+ logistics_opening_hours: {
36748
+ Row: {
36749
+ closes: string;
36750
+ created_at: string;
36751
+ id: string;
36752
+ is_active: boolean;
36753
+ note: string | null;
36754
+ opens: string;
36755
+ weekday: number;
36756
+ };
36757
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
36776
+ };
36392
36777
  logistics_pickup_moments: {
36393
36778
  Row: {
36394
36779
  carrier_ref: string | null;
@@ -37181,6 +37566,24 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
37181
37566
  };
37182
37567
  Relationships: [];
37183
37568
  };
37569
+ logistics_time_settings: {
37570
+ Row: {
37571
+ id: boolean;
37572
+ timezone: string;
37573
+ updated_at: string;
37574
+ };
37575
+ Insert: {
37576
+ id?: boolean;
37577
+ timezone: string;
37578
+ updated_at?: string;
37579
+ };
37580
+ Update: {
37581
+ id?: boolean;
37582
+ timezone?: string;
37583
+ updated_at?: string;
37584
+ };
37585
+ Relationships: [];
37586
+ };
37184
37587
  logistics_variables: {
37185
37588
  Row: {
37186
37589
  created_at: string;
@@ -39571,6 +39974,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
39571
39974
  customer_name: string;
39572
39975
  deleted_at: string | null;
39573
39976
  delivery_date: string | null;
39977
+ floriday_order_group_key: string | null;
39574
39978
  floriday_sales_order_id: string | null;
39575
39979
  id: string;
39576
39980
  invoice_due_at: string | null;
@@ -39598,6 +40002,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
39598
40002
  customer_name?: string;
39599
40003
  deleted_at?: string | null;
39600
40004
  delivery_date?: string | null;
40005
+ floriday_order_group_key?: string | null;
39601
40006
  floriday_sales_order_id?: string | null;
39602
40007
  id?: string;
39603
40008
  invoice_due_at?: string | null;
@@ -39625,6 +40030,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
39625
40030
  customer_name?: string;
39626
40031
  deleted_at?: string | null;
39627
40032
  delivery_date?: string | null;
40033
+ floriday_order_group_key?: string | null;
39628
40034
  floriday_sales_order_id?: string | null;
39629
40035
  id?: string;
39630
40036
  invoice_due_at?: string | null;
@@ -45488,6 +45894,36 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45488
45894
  referencedColumns: ["id"];
45489
45895
  }];
45490
45896
  };
45897
+ voorraad_buffer_state: {
45898
+ Row: {
45899
+ buffer_id: string;
45900
+ buffer_key: string | null;
45901
+ closed_at: string | null;
45902
+ created_at: string;
45903
+ detached_orders: import("../integrations/supabase/types").Json;
45904
+ reason: string | null;
45905
+ updated_at: string;
45906
+ };
45907
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
45926
+ };
45491
45927
  voorraad_custom_fields: {
45492
45928
  Row: {
45493
45929
  created_at: string;
@@ -45530,6 +45966,36 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45530
45966
  };
45531
45967
  Relationships: [];
45532
45968
  };
45969
+ voorraad_logistics_event_log: {
45970
+ Row: {
45971
+ created_at: string;
45972
+ event_id: string;
45973
+ event_type: string;
45974
+ order_ref: string | null;
45975
+ processed_at: string;
45976
+ result: import("../integrations/supabase/types").Json;
45977
+ updated_at: string;
45978
+ };
45979
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
45998
+ };
45533
45999
  voorraad_media_upload_failures: {
45534
46000
  Row: {
45535
46001
  action: string;
@@ -49499,6 +49965,12 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
49499
49965
  station_carts: number;
49500
49966
  }[];
49501
49967
  };
49968
+ logistics_control_complete_cart: {
49969
+ Args: {
49970
+ p_cart_id: string;
49971
+ };
49972
+ Returns: number;
49973
+ };
49502
49974
  logistics_control_scan_approve: {
49503
49975
  Args: {
49504
49976
  p_allow_reprint?: boolean;
@@ -49578,6 +50050,15 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
49578
50050
  Args: never;
49579
50051
  Returns: import("../integrations/supabase/types").Json;
49580
50052
  };
50053
+ logistics_day_windows: {
50054
+ Args: {
50055
+ p_day: string;
50056
+ };
50057
+ Returns: {
50058
+ win_end: string;
50059
+ win_start: string;
50060
+ }[];
50061
+ };
49581
50062
  logistics_delay_customer_email: {
49582
50063
  Args: {
49583
50064
  p_customer: string;
@@ -49645,6 +50126,17 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
49645
50126
  };
49646
50127
  Returns: import("../integrations/supabase/types").Json;
49647
50128
  };
50129
+ logistics_enqueue_shipping_note_with_slip: {
50130
+ Args: {
50131
+ _cart_id: string;
50132
+ _is_herprint: boolean;
50133
+ _printer_id: string;
50134
+ _queue_item_id: string;
50135
+ _session_id: string;
50136
+ _slip_job_id: string;
50137
+ };
50138
+ Returns: string;
50139
+ };
49648
50140
  logistics_enqueue_sticker_with_slip: {
49649
50141
  Args: {
49650
50142
  _cart_id: string;
@@ -49783,6 +50275,32 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
49783
50275
  };
49784
50276
  Returns: string;
49785
50277
  };
50278
+ logistics_floriday_gate_status: {
50279
+ Args: never;
50280
+ Returns: import("../integrations/supabase/types").Json;
50281
+ };
50282
+ logistics_floriday_log_refusal: {
50283
+ Args: {
50284
+ _action?: string;
50285
+ _module?: string;
50286
+ _order_ref: string;
50287
+ _reason: string;
50288
+ _shell?: string;
50289
+ };
50290
+ Returns: undefined;
50291
+ };
50292
+ logistics_floriday_log_send: {
50293
+ Args: {
50294
+ _action: string;
50295
+ _detail?: string;
50296
+ _http_status?: number;
50297
+ _module?: string;
50298
+ _ok: boolean;
50299
+ _order_ref: string;
50300
+ _shell?: string;
50301
+ };
50302
+ Returns: undefined;
50303
+ };
49786
50304
  logistics_floriday_order_approved: {
49787
50305
  Args: {
49788
50306
  _order_ref: string;
@@ -49807,6 +50325,16 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
49807
50325
  Args: never;
49808
50326
  Returns: boolean;
49809
50327
  };
50328
+ logistics_floriday_stock_updates_enabled: {
50329
+ Args: never;
50330
+ Returns: boolean;
50331
+ };
50332
+ logistics_floriday_write_allowed: {
50333
+ Args: {
50334
+ _action: string;
50335
+ };
50336
+ Returns: boolean;
50337
+ };
49810
50338
  logistics_fulfill_barcode_requests: {
49811
50339
  Args: {
49812
50340
  p_limit?: number;
@@ -49875,6 +50403,10 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
49875
50403
  };
49876
50404
  Returns: string;
49877
50405
  };
50406
+ logistics_opening_timezone: {
50407
+ Args: never;
50408
+ Returns: string;
50409
+ };
49878
50410
  logistics_order_cart_count: {
49879
50411
  Args: {
49880
50412
  p_order_ref: string;
@@ -50266,6 +50798,10 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
50266
50798
  };
50267
50799
  Returns: string;
50268
50800
  };
50801
+ logistics_shipping_note_follows_slip: {
50802
+ Args: never;
50803
+ Returns: boolean;
50804
+ };
50269
50805
  logistics_shipping_note_from_barcode: {
50270
50806
  Args: {
50271
50807
  p_allow_reprint?: boolean;
@@ -50278,6 +50814,14 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
50278
50814
  Args: never;
50279
50815
  Returns: boolean;
50280
50816
  };
50817
+ logistics_subtract_working_minutes: {
50818
+ Args: {
50819
+ p_deadline: string;
50820
+ p_max_workdays?: number;
50821
+ p_minutes: number;
50822
+ };
50823
+ Returns: import("../integrations/supabase/types").Json;
50824
+ };
50281
50825
  logistics_supersede_stale_tasks: {
50282
50826
  Args: {
50283
50827
  p_keep: string[];
@@ -50314,6 +50858,12 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
50314
50858
  Args: never;
50315
50859
  Returns: string;
50316
50860
  };
50861
+ logistics_timezone_options: {
50862
+ Args: never;
50863
+ Returns: {
50864
+ name: string;
50865
+ }[];
50866
+ };
50317
50867
  logistics_upsert_task: {
50318
50868
  Args: {
50319
50869
  p_buffer_ref: string;
@@ -50333,6 +50883,16 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
50333
50883
  };
50334
50884
  Returns: string;
50335
50885
  };
50886
+ logistics_valid_timezone: {
50887
+ Args: {
50888
+ _tz: string;
50889
+ };
50890
+ Returns: boolean;
50891
+ };
50892
+ logistics_working_hours_status: {
50893
+ Args: never;
50894
+ Returns: import("../integrations/supabase/types").Json;
50895
+ };
50336
50896
  logistics_write_buffer_layer_positions: {
50337
50897
  Args: {
50338
50898
  p_buffer_id: string;