@flowselections/floriday-verkoop-module 1.0.61 → 1.0.62

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 (68) hide show
  1. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
  2. package/dist-lib/components/verkoop/VerkoopOrdersPage.js +18 -5
  3. package/dist-lib/integrations/supabase/auth-middleware.d.ts +771 -5
  4. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +771 -5
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +776 -5
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/lib/buffer-events.functions.d.ts +771 -5
  10. package/dist-lib/lib/buffer-events.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/cart-layers.functions.d.ts +3064 -0
  12. package/dist-lib/lib/cart-layers.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/cart-lock.functions.d.ts +771 -5
  14. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/cart-planning-settings.functions.d.ts +8426 -0
  16. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/cart-replan.functions.d.ts +2299 -1
  18. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/cart-replan.functions.js +8 -47
  20. package/dist-lib/lib/create-order.functions.d.ts +13022 -0
  21. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/create-order.functions.js +3 -16
  23. package/dist-lib/lib/cron/replan-carts.d.ts +1 -1
  24. package/dist-lib/lib/cron/replan-carts.d.ts.map +1 -1
  25. package/dist-lib/lib/cron/replan-carts.js +10 -15
  26. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +1532 -0
  27. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-mirror.functions.d.ts +771 -5
  29. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/floriday-public.functions.d.ts +5362 -0
  31. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/floriday-writes.functions.d.ts +1532 -0
  33. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/invoice-timing.functions.d.ts +3064 -0
  35. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/load-carriers.functions.d.ts +771 -5
  37. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/logistics-engine.functions.d.ts +3830 -0
  39. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/logistics-engine.server.d.ts.map +1 -1
  41. package/dist-lib/lib/logistics-engine.server.js +2 -9
  42. package/dist-lib/lib/logistics-stock.functions.d.ts +1532 -0
  43. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/order-addresses.functions.d.ts +771 -5
  45. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/order-buffers.functions.d.ts +2307 -3
  47. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/order-buffers.functions.js +3 -12
  49. package/dist-lib/lib/order-carrier.functions.d.ts +1532 -0
  50. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/order-fulfill.functions.d.ts +771 -5
  52. package/dist-lib/lib/order-fulfill.functions.d.ts.map +1 -1
  53. package/dist-lib/lib/order-pickup.functions.d.ts +1532 -0
  54. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  55. package/dist-lib/lib/order-shipments.functions.d.ts +3064 -0
  56. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  57. package/dist-lib/lib/product-dimensions.functions.d.ts +1532 -0
  58. package/dist-lib/lib/product-dimensions.functions.d.ts.map +1 -1
  59. package/dist-lib/lib/salesorders-list.functions.d.ts +1532 -0
  60. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  61. package/dist-lib/lib/salesorders.functions.d.ts +4623 -17
  62. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  63. package/dist-lib/lib/salesorders.functions.js +16 -21
  64. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +1532 -0
  65. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  66. package/dist-lib/lib/tradeitems.functions.d.ts +771 -5
  67. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  68. package/package.json +1 -1
@@ -2237,6 +2237,45 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
2237
2237
  };
2238
2238
  Relationships: [];
2239
2239
  };
2240
+ customer_product_stickers: {
2241
+ Row: {
2242
+ created_at: string;
2243
+ customer_key: string;
2244
+ file_name: string;
2245
+ file_path: string;
2246
+ file_size: number | null;
2247
+ id: string;
2248
+ mime_type: string | null;
2249
+ trade_item_key: string;
2250
+ updated_at: string;
2251
+ uploaded_by: string | null;
2252
+ };
2253
+ Insert: {
2254
+ created_at?: string;
2255
+ customer_key: string;
2256
+ file_name: string;
2257
+ file_path: string;
2258
+ file_size?: number | null;
2259
+ id?: string;
2260
+ mime_type?: string | null;
2261
+ trade_item_key: string;
2262
+ updated_at?: string;
2263
+ uploaded_by?: string | null;
2264
+ };
2265
+ Update: {
2266
+ created_at?: string;
2267
+ customer_key?: string;
2268
+ file_name?: string;
2269
+ file_path?: string;
2270
+ file_size?: number | null;
2271
+ id?: string;
2272
+ mime_type?: string | null;
2273
+ trade_item_key?: string;
2274
+ updated_at?: string;
2275
+ uploaded_by?: string | null;
2276
+ };
2277
+ Relationships: [];
2278
+ };
2240
2279
  customer_selected_assortment: {
2241
2280
  Row: {
2242
2281
  article_number: string | null;
@@ -2285,6 +2324,30 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
2285
2324
  referencedColumns: ["id"];
2286
2325
  }];
2287
2326
  };
2327
+ customer_sticker_settings: {
2328
+ Row: {
2329
+ created_at: string;
2330
+ customer_key: string;
2331
+ height_mm: number;
2332
+ updated_at: string;
2333
+ width_mm: number;
2334
+ };
2335
+ Insert: {
2336
+ created_at?: string;
2337
+ customer_key: string;
2338
+ height_mm?: number;
2339
+ updated_at?: string;
2340
+ width_mm?: number;
2341
+ };
2342
+ Update: {
2343
+ created_at?: string;
2344
+ customer_key?: string;
2345
+ height_mm?: number;
2346
+ updated_at?: string;
2347
+ width_mm?: number;
2348
+ };
2349
+ Relationships: [];
2350
+ };
2288
2351
  customer_trade_settings: {
2289
2352
  Row: {
2290
2353
  category: string;
@@ -5615,6 +5678,102 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
5615
5678
  referencedColumns: ["id"];
5616
5679
  }];
5617
5680
  };
5681
+ floriday_api_log: {
5682
+ Row: {
5683
+ action: string | null;
5684
+ caller: string | null;
5685
+ connection_id: string | null;
5686
+ created_at: string;
5687
+ cursor_from: number | null;
5688
+ direction: string;
5689
+ duration_ms: number | null;
5690
+ environment: string | null;
5691
+ error: string | null;
5692
+ floriday_id: string | null;
5693
+ floriday_reference: string | null;
5694
+ http_status: number;
5695
+ id: string;
5696
+ item_count: number | null;
5697
+ kind: string | null;
5698
+ local_id: string | null;
5699
+ local_reference: string | null;
5700
+ method: string;
5701
+ module: string | null;
5702
+ ok: boolean;
5703
+ path: string;
5704
+ request: import("../integrations/supabase/types").Json | null;
5705
+ resource_type: string | null;
5706
+ response: import("../integrations/supabase/types").Json | null;
5707
+ write_log_id: string | null;
5708
+ };
5709
+ Insert: {
5710
+ action?: string | null;
5711
+ caller?: string | null;
5712
+ connection_id?: string | null;
5713
+ created_at?: string;
5714
+ cursor_from?: number | null;
5715
+ direction: string;
5716
+ duration_ms?: number | null;
5717
+ environment?: string | null;
5718
+ error?: string | null;
5719
+ floriday_id?: string | null;
5720
+ floriday_reference?: string | null;
5721
+ http_status?: number;
5722
+ id?: string;
5723
+ item_count?: number | null;
5724
+ kind?: string | null;
5725
+ local_id?: string | null;
5726
+ local_reference?: string | null;
5727
+ method: string;
5728
+ module?: string | null;
5729
+ ok?: boolean;
5730
+ path: string;
5731
+ request?: import("../integrations/supabase/types").Json | null;
5732
+ resource_type?: string | null;
5733
+ response?: import("../integrations/supabase/types").Json | null;
5734
+ write_log_id?: string | null;
5735
+ };
5736
+ Update: {
5737
+ action?: string | null;
5738
+ caller?: string | null;
5739
+ connection_id?: string | null;
5740
+ created_at?: string;
5741
+ cursor_from?: number | null;
5742
+ direction?: string;
5743
+ duration_ms?: number | null;
5744
+ environment?: string | null;
5745
+ error?: string | null;
5746
+ floriday_id?: string | null;
5747
+ floriday_reference?: string | null;
5748
+ http_status?: number;
5749
+ id?: string;
5750
+ item_count?: number | null;
5751
+ kind?: string | null;
5752
+ local_id?: string | null;
5753
+ local_reference?: string | null;
5754
+ method?: string;
5755
+ module?: string | null;
5756
+ ok?: boolean;
5757
+ path?: string;
5758
+ request?: import("../integrations/supabase/types").Json | null;
5759
+ resource_type?: string | null;
5760
+ response?: import("../integrations/supabase/types").Json | null;
5761
+ write_log_id?: string | null;
5762
+ };
5763
+ Relationships: [{
5764
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5765
+ columns: ["connection_id"];
5766
+ isOneToOne: false;
5767
+ referencedRelation: "floriday_connections";
5768
+ referencedColumns: ["id"];
5769
+ }, {
5770
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5771
+ columns: ["write_log_id"];
5772
+ isOneToOne: false;
5773
+ referencedRelation: "floriday_write_log";
5774
+ referencedColumns: ["id"];
5775
+ }];
5776
+ };
5618
5777
  floriday_auction_letters_cache: {
5619
5778
  Row: {
5620
5779
  auction_letter_code: string;
@@ -5822,6 +5981,84 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
5822
5981
  referencedColumns: ["id"];
5823
5982
  }];
5824
5983
  };
5984
+ floriday_catalog_prices_cache: {
5985
+ Row: {
5986
+ connection_id: string;
5987
+ created_at: string;
5988
+ currency: string;
5989
+ id: string;
5990
+ is_deleted: boolean;
5991
+ price: number | null;
5992
+ price_group_id: string | null;
5993
+ price_group_name: string | null;
5994
+ price_type: string;
5995
+ raw: import("../integrations/supabase/types").Json | null;
5996
+ sales_unit: string | null;
5997
+ sequence_number: number;
5998
+ supplier_article_code: string | null;
5999
+ supply_line_id: string;
6000
+ synced_at: string;
6001
+ trade_item_id: string | null;
6002
+ updated_at: string;
6003
+ valid_from: string | null;
6004
+ valid_to: string | null;
6005
+ week: number | null;
6006
+ year: number | null;
6007
+ };
6008
+ Insert: {
6009
+ connection_id: string;
6010
+ created_at?: string;
6011
+ currency?: string;
6012
+ id?: string;
6013
+ is_deleted?: boolean;
6014
+ price?: number | null;
6015
+ price_group_id?: string | null;
6016
+ price_group_name?: string | null;
6017
+ price_type?: string;
6018
+ raw?: import("../integrations/supabase/types").Json | null;
6019
+ sales_unit?: string | null;
6020
+ sequence_number?: number;
6021
+ supplier_article_code?: string | null;
6022
+ supply_line_id: string;
6023
+ synced_at?: string;
6024
+ trade_item_id?: string | null;
6025
+ updated_at?: string;
6026
+ valid_from?: string | null;
6027
+ valid_to?: string | null;
6028
+ week?: number | null;
6029
+ year?: number | null;
6030
+ };
6031
+ Update: {
6032
+ connection_id?: string;
6033
+ created_at?: string;
6034
+ currency?: string;
6035
+ id?: string;
6036
+ is_deleted?: boolean;
6037
+ price?: number | null;
6038
+ price_group_id?: string | null;
6039
+ price_group_name?: string | null;
6040
+ price_type?: string;
6041
+ raw?: import("../integrations/supabase/types").Json | null;
6042
+ sales_unit?: string | null;
6043
+ sequence_number?: number;
6044
+ supplier_article_code?: string | null;
6045
+ supply_line_id?: string;
6046
+ synced_at?: string;
6047
+ trade_item_id?: string | null;
6048
+ updated_at?: string;
6049
+ valid_from?: string | null;
6050
+ valid_to?: string | null;
6051
+ week?: number | null;
6052
+ year?: number | null;
6053
+ };
6054
+ Relationships: [{
6055
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
6056
+ columns: ["connection_id"];
6057
+ isOneToOne: false;
6058
+ referencedRelation: "floriday_connections";
6059
+ referencedColumns: ["id"];
6060
+ }];
6061
+ };
5825
6062
  floriday_clock_presales_cache: {
5826
6063
  Row: {
5827
6064
  buyer_organization_id: string | null;
@@ -6737,6 +6974,69 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
6737
6974
  referencedColumns: ["id"];
6738
6975
  }];
6739
6976
  };
6977
+ floriday_link_templates: {
6978
+ Row: {
6979
+ created_at: string;
6980
+ floriday_url_template: string | null;
6981
+ is_active: boolean;
6982
+ label: string;
6983
+ local_url_template: string | null;
6984
+ resource_type: string;
6985
+ updated_at: string;
6986
+ };
6987
+ Insert: {
6988
+ created_at?: string;
6989
+ floriday_url_template?: string | null;
6990
+ is_active?: boolean;
6991
+ label: string;
6992
+ local_url_template?: string | null;
6993
+ resource_type: string;
6994
+ updated_at?: string;
6995
+ };
6996
+ Update: {
6997
+ created_at?: string;
6998
+ floriday_url_template?: string | null;
6999
+ is_active?: boolean;
7000
+ label?: string;
7001
+ local_url_template?: string | null;
7002
+ resource_type?: string;
7003
+ updated_at?: string;
7004
+ };
7005
+ Relationships: [];
7006
+ };
7007
+ floriday_log_retention: {
7008
+ Row: {
7009
+ created_at: string;
7010
+ direction: string | null;
7011
+ id: string;
7012
+ keep_failed_days: number | null;
7013
+ keep_ok_days: number | null;
7014
+ note: string | null;
7015
+ resource_type: string | null;
7016
+ updated_at: string;
7017
+ };
7018
+ Insert: {
7019
+ created_at?: string;
7020
+ direction?: string | null;
7021
+ id?: string;
7022
+ keep_failed_days?: number | null;
7023
+ keep_ok_days?: number | null;
7024
+ note?: string | null;
7025
+ resource_type?: string | null;
7026
+ updated_at?: string;
7027
+ };
7028
+ Update: {
7029
+ created_at?: string;
7030
+ direction?: string | null;
7031
+ id?: string;
7032
+ keep_failed_days?: number | null;
7033
+ keep_ok_days?: number | null;
7034
+ note?: string | null;
7035
+ resource_type?: string | null;
7036
+ updated_at?: string;
7037
+ };
7038
+ Relationships: [];
7039
+ };
6740
7040
  floriday_logistic_labels_cache: {
6741
7041
  Row: {
6742
7042
  byte_size: number | null;
@@ -10361,6 +10661,48 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
10361
10661
  };
10362
10662
  Relationships: [];
10363
10663
  };
10664
+ logistics_pick_data_requests: {
10665
+ Row: {
10666
+ actions: import("../integrations/supabase/types").Json;
10667
+ created_at: string;
10668
+ event_id: string | null;
10669
+ finished_at: string | null;
10670
+ id: string;
10671
+ missing: import("../integrations/supabase/types").Json;
10672
+ order_ref: string;
10673
+ reason: string | null;
10674
+ result: import("../integrations/supabase/types").Json | null;
10675
+ status: string;
10676
+ unit_ref: string | null;
10677
+ };
10678
+ Insert: {
10679
+ actions?: import("../integrations/supabase/types").Json;
10680
+ created_at?: string;
10681
+ event_id?: string | null;
10682
+ finished_at?: string | null;
10683
+ id?: string;
10684
+ missing?: import("../integrations/supabase/types").Json;
10685
+ order_ref: string;
10686
+ reason?: string | null;
10687
+ result?: import("../integrations/supabase/types").Json | null;
10688
+ status?: string;
10689
+ unit_ref?: string | null;
10690
+ };
10691
+ Update: {
10692
+ actions?: import("../integrations/supabase/types").Json;
10693
+ created_at?: string;
10694
+ event_id?: string | null;
10695
+ finished_at?: string | null;
10696
+ id?: string;
10697
+ missing?: import("../integrations/supabase/types").Json;
10698
+ order_ref?: string;
10699
+ reason?: string | null;
10700
+ result?: import("../integrations/supabase/types").Json | null;
10701
+ status?: string;
10702
+ unit_ref?: string | null;
10703
+ };
10704
+ Relationships: [];
10705
+ };
10364
10706
  logistics_pickup_moments: {
10365
10707
  Row: {
10366
10708
  carrier_ref: string | null;
@@ -10820,6 +11162,69 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
10820
11162
  };
10821
11163
  Relationships: [];
10822
11164
  };
11165
+ logistics_slip_shipping_note: {
11166
+ Row: {
11167
+ attempts: number;
11168
+ batch_key: string | null;
11169
+ cart_id: string | null;
11170
+ created_at: string;
11171
+ error: string | null;
11172
+ error_code: string | null;
11173
+ fulfillment_order_id: string | null;
11174
+ id: string;
11175
+ locked_until: string | null;
11176
+ next_attempt_at: string | null;
11177
+ order_id: string | null;
11178
+ order_number: string | null;
11179
+ print_job_id: string | null;
11180
+ printer_id: string | null;
11181
+ retry_class: string | null;
11182
+ slip_job_id: string;
11183
+ status: string;
11184
+ updated_at: string;
11185
+ };
11186
+ Insert: {
11187
+ attempts?: number;
11188
+ batch_key?: string | null;
11189
+ cart_id?: string | null;
11190
+ created_at?: string;
11191
+ error?: string | null;
11192
+ error_code?: string | null;
11193
+ fulfillment_order_id?: string | null;
11194
+ id?: string;
11195
+ locked_until?: string | null;
11196
+ next_attempt_at?: string | null;
11197
+ order_id?: string | null;
11198
+ order_number?: string | null;
11199
+ print_job_id?: string | null;
11200
+ printer_id?: string | null;
11201
+ retry_class?: string | null;
11202
+ slip_job_id: string;
11203
+ status?: string;
11204
+ updated_at?: string;
11205
+ };
11206
+ Update: {
11207
+ attempts?: number;
11208
+ batch_key?: string | null;
11209
+ cart_id?: string | null;
11210
+ created_at?: string;
11211
+ error?: string | null;
11212
+ error_code?: string | null;
11213
+ fulfillment_order_id?: string | null;
11214
+ id?: string;
11215
+ locked_until?: string | null;
11216
+ next_attempt_at?: string | null;
11217
+ order_id?: string | null;
11218
+ order_number?: string | null;
11219
+ print_job_id?: string | null;
11220
+ printer_id?: string | null;
11221
+ retry_class?: string | null;
11222
+ slip_job_id?: string;
11223
+ status?: string;
11224
+ updated_at?: string;
11225
+ };
11226
+ Relationships: [];
11227
+ };
10823
11228
  logistics_staff_planning: {
10824
11229
  Row: {
10825
11230
  created_at: string;
@@ -11171,6 +11576,111 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
11171
11576
  };
11172
11577
  Relationships: [];
11173
11578
  };
11579
+ logistics_trace_events: {
11580
+ Row: {
11581
+ actor: string | null;
11582
+ attempts: number;
11583
+ cart_ref: string | null;
11584
+ created_at: string;
11585
+ db_action: string | null;
11586
+ db_new: import("../integrations/supabase/types").Json | null;
11587
+ db_old: import("../integrations/supabase/types").Json | null;
11588
+ db_record: string | null;
11589
+ db_table: string | null;
11590
+ decision: string | null;
11591
+ duration_ms: number | null;
11592
+ error: string | null;
11593
+ external_action: string | null;
11594
+ external_ref: string | null;
11595
+ external_response: import("../integrations/supabase/types").Json | null;
11596
+ external_status: string | null;
11597
+ external_system: string | null;
11598
+ id: string;
11599
+ input: import("../integrations/supabase/types").Json | null;
11600
+ next_attempt_at: string | null;
11601
+ order_ref: string | null;
11602
+ order_source: string | null;
11603
+ output: import("../integrations/supabase/types").Json | null;
11604
+ phase: string;
11605
+ reads: import("../integrations/supabase/types").Json | null;
11606
+ reason: string | null;
11607
+ rule: string | null;
11608
+ slip_ref: string | null;
11609
+ status: string;
11610
+ step: string;
11611
+ trace_id: string;
11612
+ values_used: import("../integrations/supabase/types").Json | null;
11613
+ };
11614
+ Insert: {
11615
+ actor?: string | null;
11616
+ attempts?: number;
11617
+ cart_ref?: string | null;
11618
+ created_at?: string;
11619
+ db_action?: string | null;
11620
+ db_new?: import("../integrations/supabase/types").Json | null;
11621
+ db_old?: import("../integrations/supabase/types").Json | null;
11622
+ db_record?: string | null;
11623
+ db_table?: string | null;
11624
+ decision?: string | null;
11625
+ duration_ms?: number | null;
11626
+ error?: string | null;
11627
+ external_action?: string | null;
11628
+ external_ref?: string | null;
11629
+ external_response?: import("../integrations/supabase/types").Json | null;
11630
+ external_status?: string | null;
11631
+ external_system?: string | null;
11632
+ id?: string;
11633
+ input?: import("../integrations/supabase/types").Json | null;
11634
+ next_attempt_at?: string | null;
11635
+ order_ref?: string | null;
11636
+ order_source?: string | null;
11637
+ output?: import("../integrations/supabase/types").Json | null;
11638
+ phase: string;
11639
+ reads?: import("../integrations/supabase/types").Json | null;
11640
+ reason?: string | null;
11641
+ rule?: string | null;
11642
+ slip_ref?: string | null;
11643
+ status: string;
11644
+ step: string;
11645
+ trace_id?: string;
11646
+ values_used?: import("../integrations/supabase/types").Json | null;
11647
+ };
11648
+ Update: {
11649
+ actor?: string | null;
11650
+ attempts?: number;
11651
+ cart_ref?: string | null;
11652
+ created_at?: string;
11653
+ db_action?: string | null;
11654
+ db_new?: import("../integrations/supabase/types").Json | null;
11655
+ db_old?: import("../integrations/supabase/types").Json | null;
11656
+ db_record?: string | null;
11657
+ db_table?: string | null;
11658
+ decision?: string | null;
11659
+ duration_ms?: number | null;
11660
+ error?: string | null;
11661
+ external_action?: string | null;
11662
+ external_ref?: string | null;
11663
+ external_response?: import("../integrations/supabase/types").Json | null;
11664
+ external_status?: string | null;
11665
+ external_system?: string | null;
11666
+ id?: string;
11667
+ input?: import("../integrations/supabase/types").Json | null;
11668
+ next_attempt_at?: string | null;
11669
+ order_ref?: string | null;
11670
+ order_source?: string | null;
11671
+ output?: import("../integrations/supabase/types").Json | null;
11672
+ phase?: string;
11673
+ reads?: import("../integrations/supabase/types").Json | null;
11674
+ reason?: string | null;
11675
+ rule?: string | null;
11676
+ slip_ref?: string | null;
11677
+ status?: string;
11678
+ step?: string;
11679
+ trace_id?: string;
11680
+ values_used?: import("../integrations/supabase/types").Json | null;
11681
+ };
11682
+ Relationships: [];
11683
+ };
11174
11684
  logistics_variables: {
11175
11685
  Row: {
11176
11686
  created_at: string;
@@ -21743,6 +22253,15 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
21743
22253
  Args: never;
21744
22254
  Returns: boolean;
21745
22255
  };
22256
+ cancel_open_print_jobs: {
22257
+ Args: {
22258
+ _cutoff: string;
22259
+ };
22260
+ Returns: {
22261
+ extern_job_id: string;
22262
+ id: string;
22263
+ }[];
22264
+ };
21746
22265
  check_offer_product_available_stock: {
21747
22266
  Args: {
21748
22267
  p_campaign_product_id: string;
@@ -23281,6 +23800,12 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
23281
23800
  };
23282
23801
  Returns: string;
23283
23802
  };
23803
+ logistics_cart_checkin_at: {
23804
+ Args: {
23805
+ p_cart_id: string;
23806
+ };
23807
+ Returns: string;
23808
+ };
23284
23809
  logistics_cart_handled: {
23285
23810
  Args: {
23286
23811
  p_cart_index: number;
@@ -23314,10 +23839,22 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
23314
23839
  task_status: string;
23315
23840
  }[];
23316
23841
  };
23842
+ logistics_cart_is_full: {
23843
+ Args: {
23844
+ p_cart_id: string;
23845
+ };
23846
+ Returns: boolean;
23847
+ };
23317
23848
  logistics_cart_layout_method: {
23318
23849
  Args: never;
23319
23850
  Returns: import("../integrations/supabase/types").Json;
23320
23851
  };
23852
+ logistics_cart_order_refs: {
23853
+ Args: {
23854
+ p_cart_id: string;
23855
+ };
23856
+ Returns: string[];
23857
+ };
23321
23858
  logistics_cart_plan_overview: {
23322
23859
  Args: {
23323
23860
  p_days?: number;
@@ -23337,6 +23874,24 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
23337
23874
  };
23338
23875
  Returns: import("../integrations/supabase/types").Json;
23339
23876
  };
23877
+ logistics_cart_plan_status_core: {
23878
+ Args: {
23879
+ p_ref: string;
23880
+ };
23881
+ Returns: import("../integrations/supabase/types").Json;
23882
+ };
23883
+ logistics_cart_release_reason: {
23884
+ Args: {
23885
+ p_cart_id: string;
23886
+ };
23887
+ Returns: string;
23888
+ };
23889
+ logistics_cart_released: {
23890
+ Args: {
23891
+ p_cart_id: string;
23892
+ };
23893
+ Returns: boolean;
23894
+ };
23340
23895
  logistics_cart_seq: {
23341
23896
  Args: {
23342
23897
  p_order_uuid?: string;
@@ -23387,6 +23942,10 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
23387
23942
  unit_ref: string;
23388
23943
  }[];
23389
23944
  };
23945
+ logistics_carts_per_print: {
23946
+ Args: never;
23947
+ Returns: number;
23948
+ };
23390
23949
  logistics_check_order_allowed: {
23391
23950
  Args: {
23392
23951
  p_lines: import("../integrations/supabase/types").Json;
@@ -23490,6 +24049,10 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
23490
24049
  isSetofReturn: false;
23491
24050
  };
23492
24051
  };
24052
+ logistics_cleanup_orphan_print_jobs: {
24053
+ Args: never;
24054
+ Returns: import("../integrations/supabase/types").Json;
24055
+ };
23493
24056
  logistics_complete_task: {
23494
24057
  Args: {
23495
24058
  p_result?: import("../integrations/supabase/types").Json;
@@ -23741,6 +24304,20 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
23741
24304
  };
23742
24305
  Returns: string;
23743
24306
  };
24307
+ logistics_ensure_pick_data: {
24308
+ Args: {
24309
+ p_event_id?: string;
24310
+ p_missing?: import("../integrations/supabase/types").Json;
24311
+ p_ref: string;
24312
+ };
24313
+ Returns: import("../integrations/supabase/types").Json;
24314
+ };
24315
+ logistics_ensure_shipping_notes: {
24316
+ Args: {
24317
+ p_limit?: number;
24318
+ };
24319
+ Returns: import("../integrations/supabase/types").Json;
24320
+ };
23744
24321
  logistics_fail_task: {
23745
24322
  Args: {
23746
24323
  p_error: string;
@@ -23786,6 +24363,10 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
23786
24363
  isSetofReturn: false;
23787
24364
  };
23788
24365
  };
24366
+ logistics_fix_wrong_shipping_notes: {
24367
+ Args: never;
24368
+ Returns: import("../integrations/supabase/types").Json;
24369
+ };
23789
24370
  logistics_floriday_cart_plan: {
23790
24371
  Args: {
23791
24372
  p_order_id: string;
@@ -23813,6 +24394,10 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
23813
24394
  revision: number;
23814
24395
  }[];
23815
24396
  };
24397
+ logistics_floriday_delivery_note_create_enabled: {
24398
+ Args: never;
24399
+ Returns: boolean;
24400
+ };
23816
24401
  logistics_floriday_finish_push: {
23817
24402
  Args: {
23818
24403
  _error?: string;
@@ -23964,6 +24549,12 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
23964
24549
  };
23965
24550
  Returns: number;
23966
24551
  };
24552
+ logistics_merge_partial_carts: {
24553
+ Args: {
24554
+ p_limit?: number;
24555
+ };
24556
+ Returns: import("../integrations/supabase/types").Json;
24557
+ };
23967
24558
  logistics_next_workday_date: {
23968
24559
  Args: {
23969
24560
  p_date: string;
@@ -24050,6 +24641,12 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
24050
24641
  };
24051
24642
  Returns: string;
24052
24643
  };
24644
+ logistics_payload_is_floriday: {
24645
+ Args: {
24646
+ _payload: import("../integrations/supabase/types").Json;
24647
+ };
24648
+ Returns: boolean;
24649
+ };
24053
24650
  logistics_pick_agenda: {
24054
24651
  Args: {
24055
24652
  p_from?: string;
@@ -24078,6 +24675,10 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
24078
24675
  Args: never;
24079
24676
  Returns: import("../integrations/supabase/types").Json;
24080
24677
  };
24678
+ logistics_pick_partial_mode: {
24679
+ Args: never;
24680
+ Returns: string;
24681
+ };
24081
24682
  logistics_pick_start_estimate: {
24082
24683
  Args: {
24083
24684
  p_order: import("../integrations/supabase/types").Json;
@@ -24168,6 +24769,20 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
24168
24769
  Args: never;
24169
24770
  Returns: undefined;
24170
24771
  };
24772
+ logistics_plan_progress: {
24773
+ Args: {
24774
+ p_refs: string[];
24775
+ };
24776
+ Returns: {
24777
+ cart_plan_ready: boolean;
24778
+ cart_plan_reason: string;
24779
+ cart_plan_released: boolean;
24780
+ plan_progress: number;
24781
+ plan_state: string;
24782
+ plan_state_since: string;
24783
+ unit_ref: string;
24784
+ }[];
24785
+ };
24171
24786
  logistics_plan_prune: {
24172
24787
  Args: never;
24173
24788
  Returns: number;
@@ -24189,6 +24804,18 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
24189
24804
  };
24190
24805
  Returns: number;
24191
24806
  };
24807
+ logistics_plan_state_for: {
24808
+ Args: {
24809
+ p_ref: string;
24810
+ };
24811
+ Returns: import("../integrations/supabase/types").Json;
24812
+ };
24813
+ logistics_prepare_pick_documents: {
24814
+ Args: {
24815
+ p_limit?: number;
24816
+ };
24817
+ Returns: import("../integrations/supabase/types").Json;
24818
+ };
24192
24819
  logistics_prune_buffer_member_queue: {
24193
24820
  Args: never;
24194
24821
  Returns: number;
@@ -24229,18 +24856,36 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
24229
24856
  Args: never;
24230
24857
  Returns: import("../integrations/supabase/types").Json;
24231
24858
  };
24859
+ logistics_refresh_pick_queue_status: {
24860
+ Args: {
24861
+ p_ref: string;
24862
+ };
24863
+ Returns: number;
24864
+ };
24232
24865
  logistics_refresh_pickup_moments: {
24233
24866
  Args: {
24234
24867
  p_weeks?: number;
24235
24868
  };
24236
24869
  Returns: import("../integrations/supabase/types").Json;
24237
24870
  };
24871
+ logistics_refresh_plan_state: {
24872
+ Args: {
24873
+ p_limit?: number;
24874
+ };
24875
+ Returns: import("../integrations/supabase/types").Json;
24876
+ };
24238
24877
  logistics_replan_all: {
24239
24878
  Args: {
24240
24879
  p_reason?: string;
24241
24880
  };
24242
24881
  Returns: import("../integrations/supabase/types").Json;
24243
24882
  };
24883
+ logistics_replan_all_force: {
24884
+ Args: {
24885
+ p_reason?: string;
24886
+ };
24887
+ Returns: import("../integrations/supabase/types").Json;
24888
+ };
24244
24889
  logistics_report_delay: {
24245
24890
  Args: {
24246
24891
  p_expected_date?: string;
@@ -24397,6 +25042,74 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
24397
25042
  };
24398
25043
  Returns: import("../integrations/supabase/types").Json;
24399
25044
  };
25045
+ logistics_shipping_note_job_for_slip: {
25046
+ Args: {
25047
+ _slip_job_id: string;
25048
+ };
25049
+ Returns: string;
25050
+ };
25051
+ logistics_shipping_notes_wake_all: {
25052
+ Args: never;
25053
+ Returns: import("../integrations/supabase/types").Json;
25054
+ };
25055
+ logistics_slip_is_floriday: {
25056
+ Args: {
25057
+ _slip_job_id: string;
25058
+ };
25059
+ Returns: boolean;
25060
+ };
25061
+ logistics_slip_note_claim: {
25062
+ Args: {
25063
+ _lease_seconds?: number;
25064
+ _limit?: number;
25065
+ };
25066
+ Returns: {
25067
+ attempts: number;
25068
+ batch_key: string | null;
25069
+ cart_id: string | null;
25070
+ created_at: string;
25071
+ error: string | null;
25072
+ error_code: string | null;
25073
+ fulfillment_order_id: string | null;
25074
+ id: string;
25075
+ locked_until: string | null;
25076
+ next_attempt_at: string | null;
25077
+ order_id: string | null;
25078
+ order_number: string | null;
25079
+ print_job_id: string | null;
25080
+ printer_id: string | null;
25081
+ retry_class: string | null;
25082
+ slip_job_id: string;
25083
+ status: string;
25084
+ updated_at: string;
25085
+ }[];
25086
+ SetofOptions: {
25087
+ from: "*";
25088
+ to: "logistics_slip_shipping_note";
25089
+ isOneToOne: false;
25090
+ isSetofReturn: true;
25091
+ };
25092
+ };
25093
+ logistics_slip_note_finish: {
25094
+ Args: {
25095
+ _error?: string;
25096
+ _error_code?: string;
25097
+ _fulfillment_order_id?: string;
25098
+ _id: string;
25099
+ _ok: boolean;
25100
+ _print_job_id?: string;
25101
+ _status?: string;
25102
+ };
25103
+ Returns: undefined;
25104
+ };
25105
+ logistics_slip_note_keep_waiting: {
25106
+ Args: {
25107
+ _class?: string;
25108
+ _id: string;
25109
+ _reason: string;
25110
+ };
25111
+ Returns: undefined;
25112
+ };
24400
25113
  logistics_sticker_follows_slip: {
24401
25114
  Args: never;
24402
25115
  Returns: boolean;
@@ -24451,6 +25164,40 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
24451
25164
  name: string;
24452
25165
  }[];
24453
25166
  };
25167
+ logistics_trace: {
25168
+ Args: {
25169
+ p: import("../integrations/supabase/types").Json;
25170
+ };
25171
+ Returns: string;
25172
+ };
25173
+ logistics_trace_batch: {
25174
+ Args: {
25175
+ p: import("../integrations/supabase/types").Json;
25176
+ };
25177
+ Returns: number;
25178
+ };
25179
+ logistics_trace_orders: {
25180
+ Args: {
25181
+ p_limit?: number;
25182
+ p_search?: string;
25183
+ p_since?: string;
25184
+ p_status?: string;
25185
+ };
25186
+ Returns: import("../integrations/supabase/types").Json;
25187
+ };
25188
+ logistics_trace_redact: {
25189
+ Args: {
25190
+ p: import("../integrations/supabase/types").Json;
25191
+ };
25192
+ Returns: import("../integrations/supabase/types").Json;
25193
+ };
25194
+ logistics_trace_timeline: {
25195
+ Args: {
25196
+ p_limit?: number;
25197
+ p_order_ref: string;
25198
+ };
25199
+ Returns: import("../integrations/supabase/types").Json;
25200
+ };
24454
25201
  logistics_upsert_task: {
24455
25202
  Args: {
24456
25203
  p_buffer_ref: string;
@@ -25492,6 +26239,10 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
25492
26239
  };
25493
26240
  Returns: undefined;
25494
26241
  };
26242
+ prune_floriday_api_log: {
26243
+ Args: never;
26244
+ Returns: number;
26245
+ };
25495
26246
  quote_create_from_source: {
25496
26247
  Args: {
25497
26248
  _payload?: import("../integrations/supabase/types").Json;
@@ -25925,6 +26676,13 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
25925
26676
  };
25926
26677
  Returns: number;
25927
26678
  };
26679
+ schedule_floriday_catalog_prices_sync: {
26680
+ Args: {
26681
+ p_apikey: string;
26682
+ p_url: string;
26683
+ };
26684
+ Returns: number;
26685
+ };
25928
26686
  schedule_floriday_clock_presales_sync: {
25929
26687
  Args: {
25930
26688
  p_apikey: string;
@@ -26225,6 +26983,10 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
26225
26983
  };
26226
26984
  Returns: undefined;
26227
26985
  };
26986
+ sync_floriday_prices_into_price_groups: {
26987
+ Args: never;
26988
+ Returns: number;
26989
+ };
26228
26990
  sync_layer_stock: {
26229
26991
  Args: {
26230
26992
  p_product_id: string;
@@ -26357,6 +27119,10 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
26357
27119
  Args: never;
26358
27120
  Returns: string;
26359
27121
  };
27122
+ voorraad_cleanup_old_rows: {
27123
+ Args: never;
27124
+ Returns: import("../integrations/supabase/types").Json;
27125
+ };
26360
27126
  wake_print_queue: {
26361
27127
  Args: {
26362
27128
  _min_interval_ms?: number;
@@ -28659,6 +29425,45 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
28659
29425
  };
28660
29426
  Relationships: [];
28661
29427
  };
29428
+ customer_product_stickers: {
29429
+ Row: {
29430
+ created_at: string;
29431
+ customer_key: string;
29432
+ file_name: string;
29433
+ file_path: string;
29434
+ file_size: number | null;
29435
+ id: string;
29436
+ mime_type: string | null;
29437
+ trade_item_key: string;
29438
+ updated_at: string;
29439
+ uploaded_by: string | null;
29440
+ };
29441
+ Insert: {
29442
+ created_at?: string;
29443
+ customer_key: string;
29444
+ file_name: string;
29445
+ file_path: string;
29446
+ file_size?: number | null;
29447
+ id?: string;
29448
+ mime_type?: string | null;
29449
+ trade_item_key: string;
29450
+ updated_at?: string;
29451
+ uploaded_by?: string | null;
29452
+ };
29453
+ Update: {
29454
+ created_at?: string;
29455
+ customer_key?: string;
29456
+ file_name?: string;
29457
+ file_path?: string;
29458
+ file_size?: number | null;
29459
+ id?: string;
29460
+ mime_type?: string | null;
29461
+ trade_item_key?: string;
29462
+ updated_at?: string;
29463
+ uploaded_by?: string | null;
29464
+ };
29465
+ Relationships: [];
29466
+ };
28662
29467
  customer_selected_assortment: {
28663
29468
  Row: {
28664
29469
  article_number: string | null;
@@ -28707,6 +29512,30 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
28707
29512
  referencedColumns: ["id"];
28708
29513
  }];
28709
29514
  };
29515
+ customer_sticker_settings: {
29516
+ Row: {
29517
+ created_at: string;
29518
+ customer_key: string;
29519
+ height_mm: number;
29520
+ updated_at: string;
29521
+ width_mm: number;
29522
+ };
29523
+ Insert: {
29524
+ created_at?: string;
29525
+ customer_key: string;
29526
+ height_mm?: number;
29527
+ updated_at?: string;
29528
+ width_mm?: number;
29529
+ };
29530
+ Update: {
29531
+ created_at?: string;
29532
+ customer_key?: string;
29533
+ height_mm?: number;
29534
+ updated_at?: string;
29535
+ width_mm?: number;
29536
+ };
29537
+ Relationships: [];
29538
+ };
28710
29539
  customer_trade_settings: {
28711
29540
  Row: {
28712
29541
  category: string;
@@ -32037,6 +32866,102 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
32037
32866
  referencedColumns: ["id"];
32038
32867
  }];
32039
32868
  };
32869
+ floriday_api_log: {
32870
+ Row: {
32871
+ action: string | null;
32872
+ caller: string | null;
32873
+ connection_id: string | null;
32874
+ created_at: string;
32875
+ cursor_from: number | null;
32876
+ direction: string;
32877
+ duration_ms: number | null;
32878
+ environment: string | null;
32879
+ error: string | null;
32880
+ floriday_id: string | null;
32881
+ floriday_reference: string | null;
32882
+ http_status: number;
32883
+ id: string;
32884
+ item_count: number | null;
32885
+ kind: string | null;
32886
+ local_id: string | null;
32887
+ local_reference: string | null;
32888
+ method: string;
32889
+ module: string | null;
32890
+ ok: boolean;
32891
+ path: string;
32892
+ request: import("../integrations/supabase/types").Json | null;
32893
+ resource_type: string | null;
32894
+ response: import("../integrations/supabase/types").Json | null;
32895
+ write_log_id: string | null;
32896
+ };
32897
+ Insert: {
32898
+ action?: string | null;
32899
+ caller?: string | null;
32900
+ connection_id?: string | null;
32901
+ created_at?: string;
32902
+ cursor_from?: number | null;
32903
+ direction: string;
32904
+ duration_ms?: number | null;
32905
+ environment?: string | null;
32906
+ error?: string | null;
32907
+ floriday_id?: string | null;
32908
+ floriday_reference?: string | null;
32909
+ http_status?: number;
32910
+ id?: string;
32911
+ item_count?: number | null;
32912
+ kind?: string | null;
32913
+ local_id?: string | null;
32914
+ local_reference?: string | null;
32915
+ method: string;
32916
+ module?: string | null;
32917
+ ok?: boolean;
32918
+ path: string;
32919
+ request?: import("../integrations/supabase/types").Json | null;
32920
+ resource_type?: string | null;
32921
+ response?: import("../integrations/supabase/types").Json | null;
32922
+ write_log_id?: string | null;
32923
+ };
32924
+ Update: {
32925
+ action?: string | null;
32926
+ caller?: string | null;
32927
+ connection_id?: string | null;
32928
+ created_at?: string;
32929
+ cursor_from?: number | null;
32930
+ direction?: string;
32931
+ duration_ms?: number | null;
32932
+ environment?: string | null;
32933
+ error?: string | null;
32934
+ floriday_id?: string | null;
32935
+ floriday_reference?: string | null;
32936
+ http_status?: number;
32937
+ id?: string;
32938
+ item_count?: number | null;
32939
+ kind?: string | null;
32940
+ local_id?: string | null;
32941
+ local_reference?: string | null;
32942
+ method?: string;
32943
+ module?: string | null;
32944
+ ok?: boolean;
32945
+ path?: string;
32946
+ request?: import("../integrations/supabase/types").Json | null;
32947
+ resource_type?: string | null;
32948
+ response?: import("../integrations/supabase/types").Json | null;
32949
+ write_log_id?: string | null;
32950
+ };
32951
+ Relationships: [{
32952
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
32953
+ columns: ["connection_id"];
32954
+ isOneToOne: false;
32955
+ referencedRelation: "floriday_connections";
32956
+ referencedColumns: ["id"];
32957
+ }, {
32958
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
32959
+ columns: ["write_log_id"];
32960
+ isOneToOne: false;
32961
+ referencedRelation: "floriday_write_log";
32962
+ referencedColumns: ["id"];
32963
+ }];
32964
+ };
32040
32965
  floriday_auction_letters_cache: {
32041
32966
  Row: {
32042
32967
  auction_letter_code: string;
@@ -32244,6 +33169,84 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
32244
33169
  referencedColumns: ["id"];
32245
33170
  }];
32246
33171
  };
33172
+ floriday_catalog_prices_cache: {
33173
+ Row: {
33174
+ connection_id: string;
33175
+ created_at: string;
33176
+ currency: string;
33177
+ id: string;
33178
+ is_deleted: boolean;
33179
+ price: number | null;
33180
+ price_group_id: string | null;
33181
+ price_group_name: string | null;
33182
+ price_type: string;
33183
+ raw: import("../integrations/supabase/types").Json | null;
33184
+ sales_unit: string | null;
33185
+ sequence_number: number;
33186
+ supplier_article_code: string | null;
33187
+ supply_line_id: string;
33188
+ synced_at: string;
33189
+ trade_item_id: string | null;
33190
+ updated_at: string;
33191
+ valid_from: string | null;
33192
+ valid_to: string | null;
33193
+ week: number | null;
33194
+ year: number | null;
33195
+ };
33196
+ Insert: {
33197
+ connection_id: string;
33198
+ created_at?: string;
33199
+ currency?: string;
33200
+ id?: string;
33201
+ is_deleted?: boolean;
33202
+ price?: number | null;
33203
+ price_group_id?: string | null;
33204
+ price_group_name?: string | null;
33205
+ price_type?: string;
33206
+ raw?: import("../integrations/supabase/types").Json | null;
33207
+ sales_unit?: string | null;
33208
+ sequence_number?: number;
33209
+ supplier_article_code?: string | null;
33210
+ supply_line_id: string;
33211
+ synced_at?: string;
33212
+ trade_item_id?: string | null;
33213
+ updated_at?: string;
33214
+ valid_from?: string | null;
33215
+ valid_to?: string | null;
33216
+ week?: number | null;
33217
+ year?: number | null;
33218
+ };
33219
+ Update: {
33220
+ connection_id?: string;
33221
+ created_at?: string;
33222
+ currency?: string;
33223
+ id?: string;
33224
+ is_deleted?: boolean;
33225
+ price?: number | null;
33226
+ price_group_id?: string | null;
33227
+ price_group_name?: string | null;
33228
+ price_type?: string;
33229
+ raw?: import("../integrations/supabase/types").Json | null;
33230
+ sales_unit?: string | null;
33231
+ sequence_number?: number;
33232
+ supplier_article_code?: string | null;
33233
+ supply_line_id?: string;
33234
+ synced_at?: string;
33235
+ trade_item_id?: string | null;
33236
+ updated_at?: string;
33237
+ valid_from?: string | null;
33238
+ valid_to?: string | null;
33239
+ week?: number | null;
33240
+ year?: number | null;
33241
+ };
33242
+ Relationships: [{
33243
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
33244
+ columns: ["connection_id"];
33245
+ isOneToOne: false;
33246
+ referencedRelation: "floriday_connections";
33247
+ referencedColumns: ["id"];
33248
+ }];
33249
+ };
32247
33250
  floriday_clock_presales_cache: {
32248
33251
  Row: {
32249
33252
  buyer_organization_id: string | null;
@@ -33159,6 +34162,69 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
33159
34162
  referencedColumns: ["id"];
33160
34163
  }];
33161
34164
  };
34165
+ floriday_link_templates: {
34166
+ Row: {
34167
+ created_at: string;
34168
+ floriday_url_template: string | null;
34169
+ is_active: boolean;
34170
+ label: string;
34171
+ local_url_template: string | null;
34172
+ resource_type: string;
34173
+ updated_at: string;
34174
+ };
34175
+ Insert: {
34176
+ created_at?: string;
34177
+ floriday_url_template?: string | null;
34178
+ is_active?: boolean;
34179
+ label: string;
34180
+ local_url_template?: string | null;
34181
+ resource_type: string;
34182
+ updated_at?: string;
34183
+ };
34184
+ Update: {
34185
+ created_at?: string;
34186
+ floriday_url_template?: string | null;
34187
+ is_active?: boolean;
34188
+ label?: string;
34189
+ local_url_template?: string | null;
34190
+ resource_type?: string;
34191
+ updated_at?: string;
34192
+ };
34193
+ Relationships: [];
34194
+ };
34195
+ floriday_log_retention: {
34196
+ Row: {
34197
+ created_at: string;
34198
+ direction: string | null;
34199
+ id: string;
34200
+ keep_failed_days: number | null;
34201
+ keep_ok_days: number | null;
34202
+ note: string | null;
34203
+ resource_type: string | null;
34204
+ updated_at: string;
34205
+ };
34206
+ Insert: {
34207
+ created_at?: string;
34208
+ direction?: string | null;
34209
+ id?: string;
34210
+ keep_failed_days?: number | null;
34211
+ keep_ok_days?: number | null;
34212
+ note?: string | null;
34213
+ resource_type?: string | null;
34214
+ updated_at?: string;
34215
+ };
34216
+ Update: {
34217
+ created_at?: string;
34218
+ direction?: string | null;
34219
+ id?: string;
34220
+ keep_failed_days?: number | null;
34221
+ keep_ok_days?: number | null;
34222
+ note?: string | null;
34223
+ resource_type?: string | null;
34224
+ updated_at?: string;
34225
+ };
34226
+ Relationships: [];
34227
+ };
33162
34228
  floriday_logistic_labels_cache: {
33163
34229
  Row: {
33164
34230
  byte_size: number | null;
@@ -36783,6 +37849,48 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
36783
37849
  };
36784
37850
  Relationships: [];
36785
37851
  };
37852
+ logistics_pick_data_requests: {
37853
+ Row: {
37854
+ actions: import("../integrations/supabase/types").Json;
37855
+ created_at: string;
37856
+ event_id: string | null;
37857
+ finished_at: string | null;
37858
+ id: string;
37859
+ missing: import("../integrations/supabase/types").Json;
37860
+ order_ref: string;
37861
+ reason: string | null;
37862
+ result: import("../integrations/supabase/types").Json | null;
37863
+ status: string;
37864
+ unit_ref: string | null;
37865
+ };
37866
+ Insert: {
37867
+ actions?: import("../integrations/supabase/types").Json;
37868
+ created_at?: string;
37869
+ event_id?: string | null;
37870
+ finished_at?: string | null;
37871
+ id?: string;
37872
+ missing?: import("../integrations/supabase/types").Json;
37873
+ order_ref: string;
37874
+ reason?: string | null;
37875
+ result?: import("../integrations/supabase/types").Json | null;
37876
+ status?: string;
37877
+ unit_ref?: string | null;
37878
+ };
37879
+ Update: {
37880
+ actions?: import("../integrations/supabase/types").Json;
37881
+ created_at?: string;
37882
+ event_id?: string | null;
37883
+ finished_at?: string | null;
37884
+ id?: string;
37885
+ missing?: import("../integrations/supabase/types").Json;
37886
+ order_ref?: string;
37887
+ reason?: string | null;
37888
+ result?: import("../integrations/supabase/types").Json | null;
37889
+ status?: string;
37890
+ unit_ref?: string | null;
37891
+ };
37892
+ Relationships: [];
37893
+ };
36786
37894
  logistics_pickup_moments: {
36787
37895
  Row: {
36788
37896
  carrier_ref: string | null;
@@ -37242,6 +38350,69 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
37242
38350
  };
37243
38351
  Relationships: [];
37244
38352
  };
38353
+ logistics_slip_shipping_note: {
38354
+ Row: {
38355
+ attempts: number;
38356
+ batch_key: string | null;
38357
+ cart_id: string | null;
38358
+ created_at: string;
38359
+ error: string | null;
38360
+ error_code: string | null;
38361
+ fulfillment_order_id: string | null;
38362
+ id: string;
38363
+ locked_until: string | null;
38364
+ next_attempt_at: string | null;
38365
+ order_id: string | null;
38366
+ order_number: string | null;
38367
+ print_job_id: string | null;
38368
+ printer_id: string | null;
38369
+ retry_class: string | null;
38370
+ slip_job_id: string;
38371
+ status: string;
38372
+ updated_at: string;
38373
+ };
38374
+ Insert: {
38375
+ attempts?: number;
38376
+ batch_key?: string | null;
38377
+ cart_id?: string | null;
38378
+ created_at?: string;
38379
+ error?: string | null;
38380
+ error_code?: string | null;
38381
+ fulfillment_order_id?: string | null;
38382
+ id?: string;
38383
+ locked_until?: string | null;
38384
+ next_attempt_at?: string | null;
38385
+ order_id?: string | null;
38386
+ order_number?: string | null;
38387
+ print_job_id?: string | null;
38388
+ printer_id?: string | null;
38389
+ retry_class?: string | null;
38390
+ slip_job_id: string;
38391
+ status?: string;
38392
+ updated_at?: string;
38393
+ };
38394
+ Update: {
38395
+ attempts?: number;
38396
+ batch_key?: string | null;
38397
+ cart_id?: string | null;
38398
+ created_at?: string;
38399
+ error?: string | null;
38400
+ error_code?: string | null;
38401
+ fulfillment_order_id?: string | null;
38402
+ id?: string;
38403
+ locked_until?: string | null;
38404
+ next_attempt_at?: string | null;
38405
+ order_id?: string | null;
38406
+ order_number?: string | null;
38407
+ print_job_id?: string | null;
38408
+ printer_id?: string | null;
38409
+ retry_class?: string | null;
38410
+ slip_job_id?: string;
38411
+ status?: string;
38412
+ updated_at?: string;
38413
+ };
38414
+ Relationships: [];
38415
+ };
37245
38416
  logistics_staff_planning: {
37246
38417
  Row: {
37247
38418
  created_at: string;
@@ -37593,6 +38764,111 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
37593
38764
  };
37594
38765
  Relationships: [];
37595
38766
  };
38767
+ logistics_trace_events: {
38768
+ Row: {
38769
+ actor: string | null;
38770
+ attempts: number;
38771
+ cart_ref: string | null;
38772
+ created_at: string;
38773
+ db_action: string | null;
38774
+ db_new: import("../integrations/supabase/types").Json | null;
38775
+ db_old: import("../integrations/supabase/types").Json | null;
38776
+ db_record: string | null;
38777
+ db_table: string | null;
38778
+ decision: string | null;
38779
+ duration_ms: number | null;
38780
+ error: string | null;
38781
+ external_action: string | null;
38782
+ external_ref: string | null;
38783
+ external_response: import("../integrations/supabase/types").Json | null;
38784
+ external_status: string | null;
38785
+ external_system: string | null;
38786
+ id: string;
38787
+ input: import("../integrations/supabase/types").Json | null;
38788
+ next_attempt_at: string | null;
38789
+ order_ref: string | null;
38790
+ order_source: string | null;
38791
+ output: import("../integrations/supabase/types").Json | null;
38792
+ phase: string;
38793
+ reads: import("../integrations/supabase/types").Json | null;
38794
+ reason: string | null;
38795
+ rule: string | null;
38796
+ slip_ref: string | null;
38797
+ status: string;
38798
+ step: string;
38799
+ trace_id: string;
38800
+ values_used: import("../integrations/supabase/types").Json | null;
38801
+ };
38802
+ Insert: {
38803
+ actor?: string | null;
38804
+ attempts?: number;
38805
+ cart_ref?: string | null;
38806
+ created_at?: string;
38807
+ db_action?: string | null;
38808
+ db_new?: import("../integrations/supabase/types").Json | null;
38809
+ db_old?: import("../integrations/supabase/types").Json | null;
38810
+ db_record?: string | null;
38811
+ db_table?: string | null;
38812
+ decision?: string | null;
38813
+ duration_ms?: number | null;
38814
+ error?: string | null;
38815
+ external_action?: string | null;
38816
+ external_ref?: string | null;
38817
+ external_response?: import("../integrations/supabase/types").Json | null;
38818
+ external_status?: string | null;
38819
+ external_system?: string | null;
38820
+ id?: string;
38821
+ input?: import("../integrations/supabase/types").Json | null;
38822
+ next_attempt_at?: string | null;
38823
+ order_ref?: string | null;
38824
+ order_source?: string | null;
38825
+ output?: import("../integrations/supabase/types").Json | null;
38826
+ phase: string;
38827
+ reads?: import("../integrations/supabase/types").Json | null;
38828
+ reason?: string | null;
38829
+ rule?: string | null;
38830
+ slip_ref?: string | null;
38831
+ status: string;
38832
+ step: string;
38833
+ trace_id?: string;
38834
+ values_used?: import("../integrations/supabase/types").Json | null;
38835
+ };
38836
+ Update: {
38837
+ actor?: string | null;
38838
+ attempts?: number;
38839
+ cart_ref?: string | null;
38840
+ created_at?: string;
38841
+ db_action?: string | null;
38842
+ db_new?: import("../integrations/supabase/types").Json | null;
38843
+ db_old?: import("../integrations/supabase/types").Json | null;
38844
+ db_record?: string | null;
38845
+ db_table?: string | null;
38846
+ decision?: string | null;
38847
+ duration_ms?: number | null;
38848
+ error?: string | null;
38849
+ external_action?: string | null;
38850
+ external_ref?: string | null;
38851
+ external_response?: import("../integrations/supabase/types").Json | null;
38852
+ external_status?: string | null;
38853
+ external_system?: string | null;
38854
+ id?: string;
38855
+ input?: import("../integrations/supabase/types").Json | null;
38856
+ next_attempt_at?: string | null;
38857
+ order_ref?: string | null;
38858
+ order_source?: string | null;
38859
+ output?: import("../integrations/supabase/types").Json | null;
38860
+ phase?: string;
38861
+ reads?: import("../integrations/supabase/types").Json | null;
38862
+ reason?: string | null;
38863
+ rule?: string | null;
38864
+ slip_ref?: string | null;
38865
+ status?: string;
38866
+ step?: string;
38867
+ trace_id?: string;
38868
+ values_used?: import("../integrations/supabase/types").Json | null;
38869
+ };
38870
+ Relationships: [];
38871
+ };
37596
38872
  logistics_variables: {
37597
38873
  Row: {
37598
38874
  created_at: string;
@@ -48165,6 +49441,15 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
48165
49441
  Args: never;
48166
49442
  Returns: boolean;
48167
49443
  };
49444
+ cancel_open_print_jobs: {
49445
+ Args: {
49446
+ _cutoff: string;
49447
+ };
49448
+ Returns: {
49449
+ extern_job_id: string;
49450
+ id: string;
49451
+ }[];
49452
+ };
48168
49453
  check_offer_product_available_stock: {
48169
49454
  Args: {
48170
49455
  p_campaign_product_id: string;
@@ -49703,6 +50988,12 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
49703
50988
  };
49704
50989
  Returns: string;
49705
50990
  };
50991
+ logistics_cart_checkin_at: {
50992
+ Args: {
50993
+ p_cart_id: string;
50994
+ };
50995
+ Returns: string;
50996
+ };
49706
50997
  logistics_cart_handled: {
49707
50998
  Args: {
49708
50999
  p_cart_index: number;
@@ -49736,10 +51027,22 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
49736
51027
  task_status: string;
49737
51028
  }[];
49738
51029
  };
51030
+ logistics_cart_is_full: {
51031
+ Args: {
51032
+ p_cart_id: string;
51033
+ };
51034
+ Returns: boolean;
51035
+ };
49739
51036
  logistics_cart_layout_method: {
49740
51037
  Args: never;
49741
51038
  Returns: import("../integrations/supabase/types").Json;
49742
51039
  };
51040
+ logistics_cart_order_refs: {
51041
+ Args: {
51042
+ p_cart_id: string;
51043
+ };
51044
+ Returns: string[];
51045
+ };
49743
51046
  logistics_cart_plan_overview: {
49744
51047
  Args: {
49745
51048
  p_days?: number;
@@ -49759,6 +51062,24 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
49759
51062
  };
49760
51063
  Returns: import("../integrations/supabase/types").Json;
49761
51064
  };
51065
+ logistics_cart_plan_status_core: {
51066
+ Args: {
51067
+ p_ref: string;
51068
+ };
51069
+ Returns: import("../integrations/supabase/types").Json;
51070
+ };
51071
+ logistics_cart_release_reason: {
51072
+ Args: {
51073
+ p_cart_id: string;
51074
+ };
51075
+ Returns: string;
51076
+ };
51077
+ logistics_cart_released: {
51078
+ Args: {
51079
+ p_cart_id: string;
51080
+ };
51081
+ Returns: boolean;
51082
+ };
49762
51083
  logistics_cart_seq: {
49763
51084
  Args: {
49764
51085
  p_order_uuid?: string;
@@ -49809,6 +51130,10 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
49809
51130
  unit_ref: string;
49810
51131
  }[];
49811
51132
  };
51133
+ logistics_carts_per_print: {
51134
+ Args: never;
51135
+ Returns: number;
51136
+ };
49812
51137
  logistics_check_order_allowed: {
49813
51138
  Args: {
49814
51139
  p_lines: import("../integrations/supabase/types").Json;
@@ -49912,6 +51237,10 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
49912
51237
  isSetofReturn: false;
49913
51238
  };
49914
51239
  };
51240
+ logistics_cleanup_orphan_print_jobs: {
51241
+ Args: never;
51242
+ Returns: import("../integrations/supabase/types").Json;
51243
+ };
49915
51244
  logistics_complete_task: {
49916
51245
  Args: {
49917
51246
  p_result?: import("../integrations/supabase/types").Json;
@@ -50163,6 +51492,20 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
50163
51492
  };
50164
51493
  Returns: string;
50165
51494
  };
51495
+ logistics_ensure_pick_data: {
51496
+ Args: {
51497
+ p_event_id?: string;
51498
+ p_missing?: import("../integrations/supabase/types").Json;
51499
+ p_ref: string;
51500
+ };
51501
+ Returns: import("../integrations/supabase/types").Json;
51502
+ };
51503
+ logistics_ensure_shipping_notes: {
51504
+ Args: {
51505
+ p_limit?: number;
51506
+ };
51507
+ Returns: import("../integrations/supabase/types").Json;
51508
+ };
50166
51509
  logistics_fail_task: {
50167
51510
  Args: {
50168
51511
  p_error: string;
@@ -50208,6 +51551,10 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
50208
51551
  isSetofReturn: false;
50209
51552
  };
50210
51553
  };
51554
+ logistics_fix_wrong_shipping_notes: {
51555
+ Args: never;
51556
+ Returns: import("../integrations/supabase/types").Json;
51557
+ };
50211
51558
  logistics_floriday_cart_plan: {
50212
51559
  Args: {
50213
51560
  p_order_id: string;
@@ -50235,6 +51582,10 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
50235
51582
  revision: number;
50236
51583
  }[];
50237
51584
  };
51585
+ logistics_floriday_delivery_note_create_enabled: {
51586
+ Args: never;
51587
+ Returns: boolean;
51588
+ };
50238
51589
  logistics_floriday_finish_push: {
50239
51590
  Args: {
50240
51591
  _error?: string;
@@ -50386,6 +51737,12 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
50386
51737
  };
50387
51738
  Returns: number;
50388
51739
  };
51740
+ logistics_merge_partial_carts: {
51741
+ Args: {
51742
+ p_limit?: number;
51743
+ };
51744
+ Returns: import("../integrations/supabase/types").Json;
51745
+ };
50389
51746
  logistics_next_workday_date: {
50390
51747
  Args: {
50391
51748
  p_date: string;
@@ -50472,6 +51829,12 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
50472
51829
  };
50473
51830
  Returns: string;
50474
51831
  };
51832
+ logistics_payload_is_floriday: {
51833
+ Args: {
51834
+ _payload: import("../integrations/supabase/types").Json;
51835
+ };
51836
+ Returns: boolean;
51837
+ };
50475
51838
  logistics_pick_agenda: {
50476
51839
  Args: {
50477
51840
  p_from?: string;
@@ -50500,6 +51863,10 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
50500
51863
  Args: never;
50501
51864
  Returns: import("../integrations/supabase/types").Json;
50502
51865
  };
51866
+ logistics_pick_partial_mode: {
51867
+ Args: never;
51868
+ Returns: string;
51869
+ };
50503
51870
  logistics_pick_start_estimate: {
50504
51871
  Args: {
50505
51872
  p_order: import("../integrations/supabase/types").Json;
@@ -50590,6 +51957,20 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
50590
51957
  Args: never;
50591
51958
  Returns: undefined;
50592
51959
  };
51960
+ logistics_plan_progress: {
51961
+ Args: {
51962
+ p_refs: string[];
51963
+ };
51964
+ Returns: {
51965
+ cart_plan_ready: boolean;
51966
+ cart_plan_reason: string;
51967
+ cart_plan_released: boolean;
51968
+ plan_progress: number;
51969
+ plan_state: string;
51970
+ plan_state_since: string;
51971
+ unit_ref: string;
51972
+ }[];
51973
+ };
50593
51974
  logistics_plan_prune: {
50594
51975
  Args: never;
50595
51976
  Returns: number;
@@ -50611,6 +51992,18 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
50611
51992
  };
50612
51993
  Returns: number;
50613
51994
  };
51995
+ logistics_plan_state_for: {
51996
+ Args: {
51997
+ p_ref: string;
51998
+ };
51999
+ Returns: import("../integrations/supabase/types").Json;
52000
+ };
52001
+ logistics_prepare_pick_documents: {
52002
+ Args: {
52003
+ p_limit?: number;
52004
+ };
52005
+ Returns: import("../integrations/supabase/types").Json;
52006
+ };
50614
52007
  logistics_prune_buffer_member_queue: {
50615
52008
  Args: never;
50616
52009
  Returns: number;
@@ -50651,18 +52044,36 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
50651
52044
  Args: never;
50652
52045
  Returns: import("../integrations/supabase/types").Json;
50653
52046
  };
52047
+ logistics_refresh_pick_queue_status: {
52048
+ Args: {
52049
+ p_ref: string;
52050
+ };
52051
+ Returns: number;
52052
+ };
50654
52053
  logistics_refresh_pickup_moments: {
50655
52054
  Args: {
50656
52055
  p_weeks?: number;
50657
52056
  };
50658
52057
  Returns: import("../integrations/supabase/types").Json;
50659
52058
  };
52059
+ logistics_refresh_plan_state: {
52060
+ Args: {
52061
+ p_limit?: number;
52062
+ };
52063
+ Returns: import("../integrations/supabase/types").Json;
52064
+ };
50660
52065
  logistics_replan_all: {
50661
52066
  Args: {
50662
52067
  p_reason?: string;
50663
52068
  };
50664
52069
  Returns: import("../integrations/supabase/types").Json;
50665
52070
  };
52071
+ logistics_replan_all_force: {
52072
+ Args: {
52073
+ p_reason?: string;
52074
+ };
52075
+ Returns: import("../integrations/supabase/types").Json;
52076
+ };
50666
52077
  logistics_report_delay: {
50667
52078
  Args: {
50668
52079
  p_expected_date?: string;
@@ -50819,6 +52230,74 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
50819
52230
  };
50820
52231
  Returns: import("../integrations/supabase/types").Json;
50821
52232
  };
52233
+ logistics_shipping_note_job_for_slip: {
52234
+ Args: {
52235
+ _slip_job_id: string;
52236
+ };
52237
+ Returns: string;
52238
+ };
52239
+ logistics_shipping_notes_wake_all: {
52240
+ Args: never;
52241
+ Returns: import("../integrations/supabase/types").Json;
52242
+ };
52243
+ logistics_slip_is_floriday: {
52244
+ Args: {
52245
+ _slip_job_id: string;
52246
+ };
52247
+ Returns: boolean;
52248
+ };
52249
+ logistics_slip_note_claim: {
52250
+ Args: {
52251
+ _lease_seconds?: number;
52252
+ _limit?: number;
52253
+ };
52254
+ Returns: {
52255
+ attempts: number;
52256
+ batch_key: string | null;
52257
+ cart_id: string | null;
52258
+ created_at: string;
52259
+ error: string | null;
52260
+ error_code: string | null;
52261
+ fulfillment_order_id: string | null;
52262
+ id: string;
52263
+ locked_until: string | null;
52264
+ next_attempt_at: string | null;
52265
+ order_id: string | null;
52266
+ order_number: string | null;
52267
+ print_job_id: string | null;
52268
+ printer_id: string | null;
52269
+ retry_class: string | null;
52270
+ slip_job_id: string;
52271
+ status: string;
52272
+ updated_at: string;
52273
+ }[];
52274
+ SetofOptions: {
52275
+ from: "*";
52276
+ to: "logistics_slip_shipping_note";
52277
+ isOneToOne: false;
52278
+ isSetofReturn: true;
52279
+ };
52280
+ };
52281
+ logistics_slip_note_finish: {
52282
+ Args: {
52283
+ _error?: string;
52284
+ _error_code?: string;
52285
+ _fulfillment_order_id?: string;
52286
+ _id: string;
52287
+ _ok: boolean;
52288
+ _print_job_id?: string;
52289
+ _status?: string;
52290
+ };
52291
+ Returns: undefined;
52292
+ };
52293
+ logistics_slip_note_keep_waiting: {
52294
+ Args: {
52295
+ _class?: string;
52296
+ _id: string;
52297
+ _reason: string;
52298
+ };
52299
+ Returns: undefined;
52300
+ };
50822
52301
  logistics_sticker_follows_slip: {
50823
52302
  Args: never;
50824
52303
  Returns: boolean;
@@ -50873,6 +52352,40 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
50873
52352
  name: string;
50874
52353
  }[];
50875
52354
  };
52355
+ logistics_trace: {
52356
+ Args: {
52357
+ p: import("../integrations/supabase/types").Json;
52358
+ };
52359
+ Returns: string;
52360
+ };
52361
+ logistics_trace_batch: {
52362
+ Args: {
52363
+ p: import("../integrations/supabase/types").Json;
52364
+ };
52365
+ Returns: number;
52366
+ };
52367
+ logistics_trace_orders: {
52368
+ Args: {
52369
+ p_limit?: number;
52370
+ p_search?: string;
52371
+ p_since?: string;
52372
+ p_status?: string;
52373
+ };
52374
+ Returns: import("../integrations/supabase/types").Json;
52375
+ };
52376
+ logistics_trace_redact: {
52377
+ Args: {
52378
+ p: import("../integrations/supabase/types").Json;
52379
+ };
52380
+ Returns: import("../integrations/supabase/types").Json;
52381
+ };
52382
+ logistics_trace_timeline: {
52383
+ Args: {
52384
+ p_limit?: number;
52385
+ p_order_ref: string;
52386
+ };
52387
+ Returns: import("../integrations/supabase/types").Json;
52388
+ };
50876
52389
  logistics_upsert_task: {
50877
52390
  Args: {
50878
52391
  p_buffer_ref: string;
@@ -51914,6 +53427,10 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
51914
53427
  };
51915
53428
  Returns: undefined;
51916
53429
  };
53430
+ prune_floriday_api_log: {
53431
+ Args: never;
53432
+ Returns: number;
53433
+ };
51917
53434
  quote_create_from_source: {
51918
53435
  Args: {
51919
53436
  _payload?: import("../integrations/supabase/types").Json;
@@ -52347,6 +53864,13 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
52347
53864
  };
52348
53865
  Returns: number;
52349
53866
  };
53867
+ schedule_floriday_catalog_prices_sync: {
53868
+ Args: {
53869
+ p_apikey: string;
53870
+ p_url: string;
53871
+ };
53872
+ Returns: number;
53873
+ };
52350
53874
  schedule_floriday_clock_presales_sync: {
52351
53875
  Args: {
52352
53876
  p_apikey: string;
@@ -52647,6 +54171,10 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
52647
54171
  };
52648
54172
  Returns: undefined;
52649
54173
  };
54174
+ sync_floriday_prices_into_price_groups: {
54175
+ Args: never;
54176
+ Returns: number;
54177
+ };
52650
54178
  sync_layer_stock: {
52651
54179
  Args: {
52652
54180
  p_product_id: string;
@@ -52779,6 +54307,10 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
52779
54307
  Args: never;
52780
54308
  Returns: string;
52781
54309
  };
54310
+ voorraad_cleanup_old_rows: {
54311
+ Args: never;
54312
+ Returns: import("../integrations/supabase/types").Json;
54313
+ };
52782
54314
  wake_print_queue: {
52783
54315
  Args: {
52784
54316
  _min_interval_ms?: number;