@flowselections/floriday-verkoop-module 1.0.18 → 1.0.20

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 (32) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +62 -0
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.d.ts +62 -0
  4. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +62 -0
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +62 -0
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/lib/cart-lock.functions.d.ts +62 -0
  10. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/cart-replan.functions.d.ts +124 -0
  12. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/create-order.functions.d.ts +744 -0
  14. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/create-order.functions.js +63 -44
  16. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +186 -0
  17. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +62 -0
  19. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/floriday-public.functions.d.ts +434 -0
  21. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/floriday-writes.functions.d.ts +310 -0
  23. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/order-shipments.functions.d.ts +248 -0
  25. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/salesorders.functions.d.ts +186 -0
  27. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/tradeitems.functions.d.ts +62 -0
  29. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/useSalesOrdersQuery.d.ts.map +1 -1
  31. package/dist-lib/lib/useSalesOrdersQuery.js +62 -3
  32. package/package.json +1 -1
@@ -7693,6 +7693,39 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
7693
7693
  referencedColumns: ["id"];
7694
7694
  }];
7695
7695
  };
7696
+ product_merge_log: {
7697
+ Row: {
7698
+ canonical_product_id: string | null;
7699
+ id: string;
7700
+ merged_at: string;
7701
+ merged_from_id: string;
7702
+ notes: string | null;
7703
+ snapshot: import("../integrations/supabase/types").Json;
7704
+ source_table: string;
7705
+ status: string;
7706
+ };
7707
+ Insert: {
7708
+ canonical_product_id?: string | null;
7709
+ id?: string;
7710
+ merged_at?: string;
7711
+ merged_from_id: string;
7712
+ notes?: string | null;
7713
+ snapshot?: import("../integrations/supabase/types").Json;
7714
+ source_table: string;
7715
+ status?: string;
7716
+ };
7717
+ Update: {
7718
+ canonical_product_id?: string | null;
7719
+ id?: string;
7720
+ merged_at?: string;
7721
+ merged_from_id?: string;
7722
+ notes?: string | null;
7723
+ snapshot?: import("../integrations/supabase/types").Json;
7724
+ source_table?: string;
7725
+ status?: string;
7726
+ };
7727
+ Relationships: [];
7728
+ };
7696
7729
  products: {
7697
7730
  Row: {
7698
7731
  article_number: string | null;
@@ -7701,6 +7734,9 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
7701
7734
  crates_per_layer: number;
7702
7735
  created_at: string;
7703
7736
  custom_fields: import("../integrations/supabase/types").Json;
7737
+ floriday_active: boolean;
7738
+ floriday_payload: import("../integrations/supabase/types").Json;
7739
+ floriday_trade_item_id: string | null;
7704
7740
  id: string;
7705
7741
  image_url: string | null;
7706
7742
  incoming_quantity: number;
@@ -7725,6 +7761,9 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
7725
7761
  crates_per_layer?: number;
7726
7762
  created_at?: string;
7727
7763
  custom_fields?: import("../integrations/supabase/types").Json;
7764
+ floriday_active?: boolean;
7765
+ floriday_payload?: import("../integrations/supabase/types").Json;
7766
+ floriday_trade_item_id?: string | null;
7728
7767
  id?: string;
7729
7768
  image_url?: string | null;
7730
7769
  incoming_quantity?: number;
@@ -7749,6 +7788,9 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
7749
7788
  crates_per_layer?: number;
7750
7789
  created_at?: string;
7751
7790
  custom_fields?: import("../integrations/supabase/types").Json;
7791
+ floriday_active?: boolean;
7792
+ floriday_payload?: import("../integrations/supabase/types").Json;
7793
+ floriday_trade_item_id?: string | null;
7752
7794
  id?: string;
7753
7795
  image_url?: string | null;
7754
7796
  incoming_quantity?: number;
@@ -10707,6 +10749,13 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
10707
10749
  };
10708
10750
  Returns: number;
10709
10751
  };
10752
+ _migrate_rewrite_stock_key: {
10753
+ Args: {
10754
+ _from_key: string;
10755
+ _to_key: string;
10756
+ };
10757
+ Returns: undefined;
10758
+ };
10710
10759
  afh_city_code: {
10711
10760
  Args: {
10712
10761
  _city: string;
@@ -11265,6 +11314,13 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
11265
11314
  };
11266
11315
  Returns: undefined;
11267
11316
  };
11317
+ merge_products: {
11318
+ Args: {
11319
+ _canonical: string;
11320
+ _loser: string;
11321
+ };
11322
+ Returns: undefined;
11323
+ };
11268
11324
  next_manufacture_partij: {
11269
11325
  Args: {
11270
11326
  _tenant_id: string;
@@ -11730,6 +11786,12 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
11730
11786
  };
11731
11787
  Returns: undefined;
11732
11788
  };
11789
+ sync_product_group_belading: {
11790
+ Args: {
11791
+ _group_id: string;
11792
+ };
11793
+ Returns: undefined;
11794
+ };
11733
11795
  sync_product_packing_from_floriday_cache: {
11734
11796
  Args: {
11735
11797
  p_floriday_id: string;
@@ -19474,6 +19536,39 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
19474
19536
  referencedColumns: ["id"];
19475
19537
  }];
19476
19538
  };
19539
+ product_merge_log: {
19540
+ Row: {
19541
+ canonical_product_id: string | null;
19542
+ id: string;
19543
+ merged_at: string;
19544
+ merged_from_id: string;
19545
+ notes: string | null;
19546
+ snapshot: import("../integrations/supabase/types").Json;
19547
+ source_table: string;
19548
+ status: string;
19549
+ };
19550
+ Insert: {
19551
+ canonical_product_id?: string | null;
19552
+ id?: string;
19553
+ merged_at?: string;
19554
+ merged_from_id: string;
19555
+ notes?: string | null;
19556
+ snapshot?: import("../integrations/supabase/types").Json;
19557
+ source_table: string;
19558
+ status?: string;
19559
+ };
19560
+ Update: {
19561
+ canonical_product_id?: string | null;
19562
+ id?: string;
19563
+ merged_at?: string;
19564
+ merged_from_id?: string;
19565
+ notes?: string | null;
19566
+ snapshot?: import("../integrations/supabase/types").Json;
19567
+ source_table?: string;
19568
+ status?: string;
19569
+ };
19570
+ Relationships: [];
19571
+ };
19477
19572
  products: {
19478
19573
  Row: {
19479
19574
  article_number: string | null;
@@ -19482,6 +19577,9 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
19482
19577
  crates_per_layer: number;
19483
19578
  created_at: string;
19484
19579
  custom_fields: import("../integrations/supabase/types").Json;
19580
+ floriday_active: boolean;
19581
+ floriday_payload: import("../integrations/supabase/types").Json;
19582
+ floriday_trade_item_id: string | null;
19485
19583
  id: string;
19486
19584
  image_url: string | null;
19487
19585
  incoming_quantity: number;
@@ -19506,6 +19604,9 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
19506
19604
  crates_per_layer?: number;
19507
19605
  created_at?: string;
19508
19606
  custom_fields?: import("../integrations/supabase/types").Json;
19607
+ floriday_active?: boolean;
19608
+ floriday_payload?: import("../integrations/supabase/types").Json;
19609
+ floriday_trade_item_id?: string | null;
19509
19610
  id?: string;
19510
19611
  image_url?: string | null;
19511
19612
  incoming_quantity?: number;
@@ -19530,6 +19631,9 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
19530
19631
  crates_per_layer?: number;
19531
19632
  created_at?: string;
19532
19633
  custom_fields?: import("../integrations/supabase/types").Json;
19634
+ floriday_active?: boolean;
19635
+ floriday_payload?: import("../integrations/supabase/types").Json;
19636
+ floriday_trade_item_id?: string | null;
19533
19637
  id?: string;
19534
19638
  image_url?: string | null;
19535
19639
  incoming_quantity?: number;
@@ -22488,6 +22592,13 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
22488
22592
  };
22489
22593
  Returns: number;
22490
22594
  };
22595
+ _migrate_rewrite_stock_key: {
22596
+ Args: {
22597
+ _from_key: string;
22598
+ _to_key: string;
22599
+ };
22600
+ Returns: undefined;
22601
+ };
22491
22602
  afh_city_code: {
22492
22603
  Args: {
22493
22604
  _city: string;
@@ -23046,6 +23157,13 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
23046
23157
  };
23047
23158
  Returns: undefined;
23048
23159
  };
23160
+ merge_products: {
23161
+ Args: {
23162
+ _canonical: string;
23163
+ _loser: string;
23164
+ };
23165
+ Returns: undefined;
23166
+ };
23049
23167
  next_manufacture_partij: {
23050
23168
  Args: {
23051
23169
  _tenant_id: string;
@@ -23511,6 +23629,12 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
23511
23629
  };
23512
23630
  Returns: undefined;
23513
23631
  };
23632
+ sync_product_group_belading: {
23633
+ Args: {
23634
+ _group_id: string;
23635
+ };
23636
+ Returns: undefined;
23637
+ };
23514
23638
  sync_product_packing_from_floriday_cache: {
23515
23639
  Args: {
23516
23640
  p_floriday_id: string;
@@ -31265,6 +31389,39 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
31265
31389
  referencedColumns: ["id"];
31266
31390
  }];
31267
31391
  };
31392
+ product_merge_log: {
31393
+ Row: {
31394
+ canonical_product_id: string | null;
31395
+ id: string;
31396
+ merged_at: string;
31397
+ merged_from_id: string;
31398
+ notes: string | null;
31399
+ snapshot: import("../integrations/supabase/types").Json;
31400
+ source_table: string;
31401
+ status: string;
31402
+ };
31403
+ Insert: {
31404
+ canonical_product_id?: string | null;
31405
+ id?: string;
31406
+ merged_at?: string;
31407
+ merged_from_id: string;
31408
+ notes?: string | null;
31409
+ snapshot?: import("../integrations/supabase/types").Json;
31410
+ source_table: string;
31411
+ status?: string;
31412
+ };
31413
+ Update: {
31414
+ canonical_product_id?: string | null;
31415
+ id?: string;
31416
+ merged_at?: string;
31417
+ merged_from_id?: string;
31418
+ notes?: string | null;
31419
+ snapshot?: import("../integrations/supabase/types").Json;
31420
+ source_table?: string;
31421
+ status?: string;
31422
+ };
31423
+ Relationships: [];
31424
+ };
31268
31425
  products: {
31269
31426
  Row: {
31270
31427
  article_number: string | null;
@@ -31273,6 +31430,9 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
31273
31430
  crates_per_layer: number;
31274
31431
  created_at: string;
31275
31432
  custom_fields: import("../integrations/supabase/types").Json;
31433
+ floriday_active: boolean;
31434
+ floriday_payload: import("../integrations/supabase/types").Json;
31435
+ floriday_trade_item_id: string | null;
31276
31436
  id: string;
31277
31437
  image_url: string | null;
31278
31438
  incoming_quantity: number;
@@ -31297,6 +31457,9 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
31297
31457
  crates_per_layer?: number;
31298
31458
  created_at?: string;
31299
31459
  custom_fields?: import("../integrations/supabase/types").Json;
31460
+ floriday_active?: boolean;
31461
+ floriday_payload?: import("../integrations/supabase/types").Json;
31462
+ floriday_trade_item_id?: string | null;
31300
31463
  id?: string;
31301
31464
  image_url?: string | null;
31302
31465
  incoming_quantity?: number;
@@ -31321,6 +31484,9 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
31321
31484
  crates_per_layer?: number;
31322
31485
  created_at?: string;
31323
31486
  custom_fields?: import("../integrations/supabase/types").Json;
31487
+ floriday_active?: boolean;
31488
+ floriday_payload?: import("../integrations/supabase/types").Json;
31489
+ floriday_trade_item_id?: string | null;
31324
31490
  id?: string;
31325
31491
  image_url?: string | null;
31326
31492
  incoming_quantity?: number;
@@ -34279,6 +34445,13 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
34279
34445
  };
34280
34446
  Returns: number;
34281
34447
  };
34448
+ _migrate_rewrite_stock_key: {
34449
+ Args: {
34450
+ _from_key: string;
34451
+ _to_key: string;
34452
+ };
34453
+ Returns: undefined;
34454
+ };
34282
34455
  afh_city_code: {
34283
34456
  Args: {
34284
34457
  _city: string;
@@ -34837,6 +35010,13 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
34837
35010
  };
34838
35011
  Returns: undefined;
34839
35012
  };
35013
+ merge_products: {
35014
+ Args: {
35015
+ _canonical: string;
35016
+ _loser: string;
35017
+ };
35018
+ Returns: undefined;
35019
+ };
34840
35020
  next_manufacture_partij: {
34841
35021
  Args: {
34842
35022
  _tenant_id: string;
@@ -35302,6 +35482,12 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
35302
35482
  };
35303
35483
  Returns: undefined;
35304
35484
  };
35485
+ sync_product_group_belading: {
35486
+ Args: {
35487
+ _group_id: string;
35488
+ };
35489
+ Returns: undefined;
35490
+ };
35305
35491
  sync_product_packing_from_floriday_cache: {
35306
35492
  Args: {
35307
35493
  p_floriday_id: string;
@@ -43060,6 +43246,39 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
43060
43246
  referencedColumns: ["id"];
43061
43247
  }];
43062
43248
  };
43249
+ product_merge_log: {
43250
+ Row: {
43251
+ canonical_product_id: string | null;
43252
+ id: string;
43253
+ merged_at: string;
43254
+ merged_from_id: string;
43255
+ notes: string | null;
43256
+ snapshot: import("../integrations/supabase/types").Json;
43257
+ source_table: string;
43258
+ status: string;
43259
+ };
43260
+ Insert: {
43261
+ canonical_product_id?: string | null;
43262
+ id?: string;
43263
+ merged_at?: string;
43264
+ merged_from_id: string;
43265
+ notes?: string | null;
43266
+ snapshot?: import("../integrations/supabase/types").Json;
43267
+ source_table: string;
43268
+ status?: string;
43269
+ };
43270
+ Update: {
43271
+ canonical_product_id?: string | null;
43272
+ id?: string;
43273
+ merged_at?: string;
43274
+ merged_from_id?: string;
43275
+ notes?: string | null;
43276
+ snapshot?: import("../integrations/supabase/types").Json;
43277
+ source_table?: string;
43278
+ status?: string;
43279
+ };
43280
+ Relationships: [];
43281
+ };
43063
43282
  products: {
43064
43283
  Row: {
43065
43284
  article_number: string | null;
@@ -43068,6 +43287,9 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
43068
43287
  crates_per_layer: number;
43069
43288
  created_at: string;
43070
43289
  custom_fields: import("../integrations/supabase/types").Json;
43290
+ floriday_active: boolean;
43291
+ floriday_payload: import("../integrations/supabase/types").Json;
43292
+ floriday_trade_item_id: string | null;
43071
43293
  id: string;
43072
43294
  image_url: string | null;
43073
43295
  incoming_quantity: number;
@@ -43092,6 +43314,9 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
43092
43314
  crates_per_layer?: number;
43093
43315
  created_at?: string;
43094
43316
  custom_fields?: import("../integrations/supabase/types").Json;
43317
+ floriday_active?: boolean;
43318
+ floriday_payload?: import("../integrations/supabase/types").Json;
43319
+ floriday_trade_item_id?: string | null;
43095
43320
  id?: string;
43096
43321
  image_url?: string | null;
43097
43322
  incoming_quantity?: number;
@@ -43116,6 +43341,9 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
43116
43341
  crates_per_layer?: number;
43117
43342
  created_at?: string;
43118
43343
  custom_fields?: import("../integrations/supabase/types").Json;
43344
+ floriday_active?: boolean;
43345
+ floriday_payload?: import("../integrations/supabase/types").Json;
43346
+ floriday_trade_item_id?: string | null;
43119
43347
  id?: string;
43120
43348
  image_url?: string | null;
43121
43349
  incoming_quantity?: number;
@@ -46074,6 +46302,13 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
46074
46302
  };
46075
46303
  Returns: number;
46076
46304
  };
46305
+ _migrate_rewrite_stock_key: {
46306
+ Args: {
46307
+ _from_key: string;
46308
+ _to_key: string;
46309
+ };
46310
+ Returns: undefined;
46311
+ };
46077
46312
  afh_city_code: {
46078
46313
  Args: {
46079
46314
  _city: string;
@@ -46632,6 +46867,13 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
46632
46867
  };
46633
46868
  Returns: undefined;
46634
46869
  };
46870
+ merge_products: {
46871
+ Args: {
46872
+ _canonical: string;
46873
+ _loser: string;
46874
+ };
46875
+ Returns: undefined;
46876
+ };
46635
46877
  next_manufacture_partij: {
46636
46878
  Args: {
46637
46879
  _tenant_id: string;
@@ -47097,6 +47339,12 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
47097
47339
  };
47098
47340
  Returns: undefined;
47099
47341
  };
47342
+ sync_product_group_belading: {
47343
+ Args: {
47344
+ _group_id: string;
47345
+ };
47346
+ Returns: undefined;
47347
+ };
47100
47348
  sync_product_packing_from_floriday_cache: {
47101
47349
  Args: {
47102
47350
  p_floriday_id: string;
@@ -54840,6 +55088,39 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
54840
55088
  referencedColumns: ["id"];
54841
55089
  }];
54842
55090
  };
55091
+ product_merge_log: {
55092
+ Row: {
55093
+ canonical_product_id: string | null;
55094
+ id: string;
55095
+ merged_at: string;
55096
+ merged_from_id: string;
55097
+ notes: string | null;
55098
+ snapshot: import("../integrations/supabase/types").Json;
55099
+ source_table: string;
55100
+ status: string;
55101
+ };
55102
+ Insert: {
55103
+ canonical_product_id?: string | null;
55104
+ id?: string;
55105
+ merged_at?: string;
55106
+ merged_from_id: string;
55107
+ notes?: string | null;
55108
+ snapshot?: import("../integrations/supabase/types").Json;
55109
+ source_table: string;
55110
+ status?: string;
55111
+ };
55112
+ Update: {
55113
+ canonical_product_id?: string | null;
55114
+ id?: string;
55115
+ merged_at?: string;
55116
+ merged_from_id?: string;
55117
+ notes?: string | null;
55118
+ snapshot?: import("../integrations/supabase/types").Json;
55119
+ source_table?: string;
55120
+ status?: string;
55121
+ };
55122
+ Relationships: [];
55123
+ };
54843
55124
  products: {
54844
55125
  Row: {
54845
55126
  article_number: string | null;
@@ -54848,6 +55129,9 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
54848
55129
  crates_per_layer: number;
54849
55130
  created_at: string;
54850
55131
  custom_fields: import("../integrations/supabase/types").Json;
55132
+ floriday_active: boolean;
55133
+ floriday_payload: import("../integrations/supabase/types").Json;
55134
+ floriday_trade_item_id: string | null;
54851
55135
  id: string;
54852
55136
  image_url: string | null;
54853
55137
  incoming_quantity: number;
@@ -54872,6 +55156,9 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
54872
55156
  crates_per_layer?: number;
54873
55157
  created_at?: string;
54874
55158
  custom_fields?: import("../integrations/supabase/types").Json;
55159
+ floriday_active?: boolean;
55160
+ floriday_payload?: import("../integrations/supabase/types").Json;
55161
+ floriday_trade_item_id?: string | null;
54875
55162
  id?: string;
54876
55163
  image_url?: string | null;
54877
55164
  incoming_quantity?: number;
@@ -54896,6 +55183,9 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
54896
55183
  crates_per_layer?: number;
54897
55184
  created_at?: string;
54898
55185
  custom_fields?: import("../integrations/supabase/types").Json;
55186
+ floriday_active?: boolean;
55187
+ floriday_payload?: import("../integrations/supabase/types").Json;
55188
+ floriday_trade_item_id?: string | null;
54899
55189
  id?: string;
54900
55190
  image_url?: string | null;
54901
55191
  incoming_quantity?: number;
@@ -57854,6 +58144,13 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
57854
58144
  };
57855
58145
  Returns: number;
57856
58146
  };
58147
+ _migrate_rewrite_stock_key: {
58148
+ Args: {
58149
+ _from_key: string;
58150
+ _to_key: string;
58151
+ };
58152
+ Returns: undefined;
58153
+ };
57857
58154
  afh_city_code: {
57858
58155
  Args: {
57859
58156
  _city: string;
@@ -58412,6 +58709,13 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
58412
58709
  };
58413
58710
  Returns: undefined;
58414
58711
  };
58712
+ merge_products: {
58713
+ Args: {
58714
+ _canonical: string;
58715
+ _loser: string;
58716
+ };
58717
+ Returns: undefined;
58718
+ };
58415
58719
  next_manufacture_partij: {
58416
58720
  Args: {
58417
58721
  _tenant_id: string;
@@ -58877,6 +59181,12 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
58877
59181
  };
58878
59182
  Returns: undefined;
58879
59183
  };
59184
+ sync_product_group_belading: {
59185
+ Args: {
59186
+ _group_id: string;
59187
+ };
59188
+ Returns: undefined;
59189
+ };
58880
59190
  sync_product_packing_from_floriday_cache: {
58881
59191
  Args: {
58882
59192
  p_floriday_id: string;
@@ -66623,6 +66933,39 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
66623
66933
  referencedColumns: ["id"];
66624
66934
  }];
66625
66935
  };
66936
+ product_merge_log: {
66937
+ Row: {
66938
+ canonical_product_id: string | null;
66939
+ id: string;
66940
+ merged_at: string;
66941
+ merged_from_id: string;
66942
+ notes: string | null;
66943
+ snapshot: import("../integrations/supabase/types").Json;
66944
+ source_table: string;
66945
+ status: string;
66946
+ };
66947
+ Insert: {
66948
+ canonical_product_id?: string | null;
66949
+ id?: string;
66950
+ merged_at?: string;
66951
+ merged_from_id: string;
66952
+ notes?: string | null;
66953
+ snapshot?: import("../integrations/supabase/types").Json;
66954
+ source_table: string;
66955
+ status?: string;
66956
+ };
66957
+ Update: {
66958
+ canonical_product_id?: string | null;
66959
+ id?: string;
66960
+ merged_at?: string;
66961
+ merged_from_id?: string;
66962
+ notes?: string | null;
66963
+ snapshot?: import("../integrations/supabase/types").Json;
66964
+ source_table?: string;
66965
+ status?: string;
66966
+ };
66967
+ Relationships: [];
66968
+ };
66626
66969
  products: {
66627
66970
  Row: {
66628
66971
  article_number: string | null;
@@ -66631,6 +66974,9 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
66631
66974
  crates_per_layer: number;
66632
66975
  created_at: string;
66633
66976
  custom_fields: import("../integrations/supabase/types").Json;
66977
+ floriday_active: boolean;
66978
+ floriday_payload: import("../integrations/supabase/types").Json;
66979
+ floriday_trade_item_id: string | null;
66634
66980
  id: string;
66635
66981
  image_url: string | null;
66636
66982
  incoming_quantity: number;
@@ -66655,6 +67001,9 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
66655
67001
  crates_per_layer?: number;
66656
67002
  created_at?: string;
66657
67003
  custom_fields?: import("../integrations/supabase/types").Json;
67004
+ floriday_active?: boolean;
67005
+ floriday_payload?: import("../integrations/supabase/types").Json;
67006
+ floriday_trade_item_id?: string | null;
66658
67007
  id?: string;
66659
67008
  image_url?: string | null;
66660
67009
  incoming_quantity?: number;
@@ -66679,6 +67028,9 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
66679
67028
  crates_per_layer?: number;
66680
67029
  created_at?: string;
66681
67030
  custom_fields?: import("../integrations/supabase/types").Json;
67031
+ floriday_active?: boolean;
67032
+ floriday_payload?: import("../integrations/supabase/types").Json;
67033
+ floriday_trade_item_id?: string | null;
66682
67034
  id?: string;
66683
67035
  image_url?: string | null;
66684
67036
  incoming_quantity?: number;
@@ -69637,6 +69989,13 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
69637
69989
  };
69638
69990
  Returns: number;
69639
69991
  };
69992
+ _migrate_rewrite_stock_key: {
69993
+ Args: {
69994
+ _from_key: string;
69995
+ _to_key: string;
69996
+ };
69997
+ Returns: undefined;
69998
+ };
69640
69999
  afh_city_code: {
69641
70000
  Args: {
69642
70001
  _city: string;
@@ -70195,6 +70554,13 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
70195
70554
  };
70196
70555
  Returns: undefined;
70197
70556
  };
70557
+ merge_products: {
70558
+ Args: {
70559
+ _canonical: string;
70560
+ _loser: string;
70561
+ };
70562
+ Returns: undefined;
70563
+ };
70198
70564
  next_manufacture_partij: {
70199
70565
  Args: {
70200
70566
  _tenant_id: string;
@@ -70660,6 +71026,12 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
70660
71026
  };
70661
71027
  Returns: undefined;
70662
71028
  };
71029
+ sync_product_group_belading: {
71030
+ Args: {
71031
+ _group_id: string;
71032
+ };
71033
+ Returns: undefined;
71034
+ };
70663
71035
  sync_product_packing_from_floriday_cache: {
70664
71036
  Args: {
70665
71037
  p_floriday_id: string;
@@ -78400,6 +78772,39 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
78400
78772
  referencedColumns: ["id"];
78401
78773
  }];
78402
78774
  };
78775
+ product_merge_log: {
78776
+ Row: {
78777
+ canonical_product_id: string | null;
78778
+ id: string;
78779
+ merged_at: string;
78780
+ merged_from_id: string;
78781
+ notes: string | null;
78782
+ snapshot: import("../integrations/supabase/types").Json;
78783
+ source_table: string;
78784
+ status: string;
78785
+ };
78786
+ Insert: {
78787
+ canonical_product_id?: string | null;
78788
+ id?: string;
78789
+ merged_at?: string;
78790
+ merged_from_id: string;
78791
+ notes?: string | null;
78792
+ snapshot?: import("../integrations/supabase/types").Json;
78793
+ source_table: string;
78794
+ status?: string;
78795
+ };
78796
+ Update: {
78797
+ canonical_product_id?: string | null;
78798
+ id?: string;
78799
+ merged_at?: string;
78800
+ merged_from_id?: string;
78801
+ notes?: string | null;
78802
+ snapshot?: import("../integrations/supabase/types").Json;
78803
+ source_table?: string;
78804
+ status?: string;
78805
+ };
78806
+ Relationships: [];
78807
+ };
78403
78808
  products: {
78404
78809
  Row: {
78405
78810
  article_number: string | null;
@@ -78408,6 +78813,9 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
78408
78813
  crates_per_layer: number;
78409
78814
  created_at: string;
78410
78815
  custom_fields: import("../integrations/supabase/types").Json;
78816
+ floriday_active: boolean;
78817
+ floriday_payload: import("../integrations/supabase/types").Json;
78818
+ floriday_trade_item_id: string | null;
78411
78819
  id: string;
78412
78820
  image_url: string | null;
78413
78821
  incoming_quantity: number;
@@ -78432,6 +78840,9 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
78432
78840
  crates_per_layer?: number;
78433
78841
  created_at?: string;
78434
78842
  custom_fields?: import("../integrations/supabase/types").Json;
78843
+ floriday_active?: boolean;
78844
+ floriday_payload?: import("../integrations/supabase/types").Json;
78845
+ floriday_trade_item_id?: string | null;
78435
78846
  id?: string;
78436
78847
  image_url?: string | null;
78437
78848
  incoming_quantity?: number;
@@ -78456,6 +78867,9 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
78456
78867
  crates_per_layer?: number;
78457
78868
  created_at?: string;
78458
78869
  custom_fields?: import("../integrations/supabase/types").Json;
78870
+ floriday_active?: boolean;
78871
+ floriday_payload?: import("../integrations/supabase/types").Json;
78872
+ floriday_trade_item_id?: string | null;
78459
78873
  id?: string;
78460
78874
  image_url?: string | null;
78461
78875
  incoming_quantity?: number;
@@ -81414,6 +81828,13 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
81414
81828
  };
81415
81829
  Returns: number;
81416
81830
  };
81831
+ _migrate_rewrite_stock_key: {
81832
+ Args: {
81833
+ _from_key: string;
81834
+ _to_key: string;
81835
+ };
81836
+ Returns: undefined;
81837
+ };
81417
81838
  afh_city_code: {
81418
81839
  Args: {
81419
81840
  _city: string;
@@ -81972,6 +82393,13 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
81972
82393
  };
81973
82394
  Returns: undefined;
81974
82395
  };
82396
+ merge_products: {
82397
+ Args: {
82398
+ _canonical: string;
82399
+ _loser: string;
82400
+ };
82401
+ Returns: undefined;
82402
+ };
81975
82403
  next_manufacture_partij: {
81976
82404
  Args: {
81977
82405
  _tenant_id: string;
@@ -82437,6 +82865,12 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
82437
82865
  };
82438
82866
  Returns: undefined;
82439
82867
  };
82868
+ sync_product_group_belading: {
82869
+ Args: {
82870
+ _group_id: string;
82871
+ };
82872
+ Returns: undefined;
82873
+ };
82440
82874
  sync_product_packing_from_floriday_cache: {
82441
82875
  Args: {
82442
82876
  p_floriday_id: string;
@@ -90198,6 +90632,39 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
90198
90632
  referencedColumns: ["id"];
90199
90633
  }];
90200
90634
  };
90635
+ product_merge_log: {
90636
+ Row: {
90637
+ canonical_product_id: string | null;
90638
+ id: string;
90639
+ merged_at: string;
90640
+ merged_from_id: string;
90641
+ notes: string | null;
90642
+ snapshot: import("../integrations/supabase/types").Json;
90643
+ source_table: string;
90644
+ status: string;
90645
+ };
90646
+ Insert: {
90647
+ canonical_product_id?: string | null;
90648
+ id?: string;
90649
+ merged_at?: string;
90650
+ merged_from_id: string;
90651
+ notes?: string | null;
90652
+ snapshot?: import("../integrations/supabase/types").Json;
90653
+ source_table: string;
90654
+ status?: string;
90655
+ };
90656
+ Update: {
90657
+ canonical_product_id?: string | null;
90658
+ id?: string;
90659
+ merged_at?: string;
90660
+ merged_from_id?: string;
90661
+ notes?: string | null;
90662
+ snapshot?: import("../integrations/supabase/types").Json;
90663
+ source_table?: string;
90664
+ status?: string;
90665
+ };
90666
+ Relationships: [];
90667
+ };
90201
90668
  products: {
90202
90669
  Row: {
90203
90670
  article_number: string | null;
@@ -90206,6 +90673,9 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
90206
90673
  crates_per_layer: number;
90207
90674
  created_at: string;
90208
90675
  custom_fields: import("../integrations/supabase/types").Json;
90676
+ floriday_active: boolean;
90677
+ floriday_payload: import("../integrations/supabase/types").Json;
90678
+ floriday_trade_item_id: string | null;
90209
90679
  id: string;
90210
90680
  image_url: string | null;
90211
90681
  incoming_quantity: number;
@@ -90230,6 +90700,9 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
90230
90700
  crates_per_layer?: number;
90231
90701
  created_at?: string;
90232
90702
  custom_fields?: import("../integrations/supabase/types").Json;
90703
+ floriday_active?: boolean;
90704
+ floriday_payload?: import("../integrations/supabase/types").Json;
90705
+ floriday_trade_item_id?: string | null;
90233
90706
  id?: string;
90234
90707
  image_url?: string | null;
90235
90708
  incoming_quantity?: number;
@@ -90254,6 +90727,9 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
90254
90727
  crates_per_layer?: number;
90255
90728
  created_at?: string;
90256
90729
  custom_fields?: import("../integrations/supabase/types").Json;
90730
+ floriday_active?: boolean;
90731
+ floriday_payload?: import("../integrations/supabase/types").Json;
90732
+ floriday_trade_item_id?: string | null;
90257
90733
  id?: string;
90258
90734
  image_url?: string | null;
90259
90735
  incoming_quantity?: number;
@@ -93212,6 +93688,13 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
93212
93688
  };
93213
93689
  Returns: number;
93214
93690
  };
93691
+ _migrate_rewrite_stock_key: {
93692
+ Args: {
93693
+ _from_key: string;
93694
+ _to_key: string;
93695
+ };
93696
+ Returns: undefined;
93697
+ };
93215
93698
  afh_city_code: {
93216
93699
  Args: {
93217
93700
  _city: string;
@@ -93770,6 +94253,13 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
93770
94253
  };
93771
94254
  Returns: undefined;
93772
94255
  };
94256
+ merge_products: {
94257
+ Args: {
94258
+ _canonical: string;
94259
+ _loser: string;
94260
+ };
94261
+ Returns: undefined;
94262
+ };
93773
94263
  next_manufacture_partij: {
93774
94264
  Args: {
93775
94265
  _tenant_id: string;
@@ -94235,6 +94725,12 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
94235
94725
  };
94236
94726
  Returns: undefined;
94237
94727
  };
94728
+ sync_product_group_belading: {
94729
+ Args: {
94730
+ _group_id: string;
94731
+ };
94732
+ Returns: undefined;
94733
+ };
94238
94734
  sync_product_packing_from_floriday_cache: {
94239
94735
  Args: {
94240
94736
  p_floriday_id: string;
@@ -101979,6 +102475,39 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
101979
102475
  referencedColumns: ["id"];
101980
102476
  }];
101981
102477
  };
102478
+ product_merge_log: {
102479
+ Row: {
102480
+ canonical_product_id: string | null;
102481
+ id: string;
102482
+ merged_at: string;
102483
+ merged_from_id: string;
102484
+ notes: string | null;
102485
+ snapshot: import("../integrations/supabase/types").Json;
102486
+ source_table: string;
102487
+ status: string;
102488
+ };
102489
+ Insert: {
102490
+ canonical_product_id?: string | null;
102491
+ id?: string;
102492
+ merged_at?: string;
102493
+ merged_from_id: string;
102494
+ notes?: string | null;
102495
+ snapshot?: import("../integrations/supabase/types").Json;
102496
+ source_table: string;
102497
+ status?: string;
102498
+ };
102499
+ Update: {
102500
+ canonical_product_id?: string | null;
102501
+ id?: string;
102502
+ merged_at?: string;
102503
+ merged_from_id?: string;
102504
+ notes?: string | null;
102505
+ snapshot?: import("../integrations/supabase/types").Json;
102506
+ source_table?: string;
102507
+ status?: string;
102508
+ };
102509
+ Relationships: [];
102510
+ };
101982
102511
  products: {
101983
102512
  Row: {
101984
102513
  article_number: string | null;
@@ -101987,6 +102516,9 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
101987
102516
  crates_per_layer: number;
101988
102517
  created_at: string;
101989
102518
  custom_fields: import("../integrations/supabase/types").Json;
102519
+ floriday_active: boolean;
102520
+ floriday_payload: import("../integrations/supabase/types").Json;
102521
+ floriday_trade_item_id: string | null;
101990
102522
  id: string;
101991
102523
  image_url: string | null;
101992
102524
  incoming_quantity: number;
@@ -102011,6 +102543,9 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
102011
102543
  crates_per_layer?: number;
102012
102544
  created_at?: string;
102013
102545
  custom_fields?: import("../integrations/supabase/types").Json;
102546
+ floriday_active?: boolean;
102547
+ floriday_payload?: import("../integrations/supabase/types").Json;
102548
+ floriday_trade_item_id?: string | null;
102014
102549
  id?: string;
102015
102550
  image_url?: string | null;
102016
102551
  incoming_quantity?: number;
@@ -102035,6 +102570,9 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
102035
102570
  crates_per_layer?: number;
102036
102571
  created_at?: string;
102037
102572
  custom_fields?: import("../integrations/supabase/types").Json;
102573
+ floriday_active?: boolean;
102574
+ floriday_payload?: import("../integrations/supabase/types").Json;
102575
+ floriday_trade_item_id?: string | null;
102038
102576
  id?: string;
102039
102577
  image_url?: string | null;
102040
102578
  incoming_quantity?: number;
@@ -104993,6 +105531,13 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
104993
105531
  };
104994
105532
  Returns: number;
104995
105533
  };
105534
+ _migrate_rewrite_stock_key: {
105535
+ Args: {
105536
+ _from_key: string;
105537
+ _to_key: string;
105538
+ };
105539
+ Returns: undefined;
105540
+ };
104996
105541
  afh_city_code: {
104997
105542
  Args: {
104998
105543
  _city: string;
@@ -105551,6 +106096,13 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
105551
106096
  };
105552
106097
  Returns: undefined;
105553
106098
  };
106099
+ merge_products: {
106100
+ Args: {
106101
+ _canonical: string;
106102
+ _loser: string;
106103
+ };
106104
+ Returns: undefined;
106105
+ };
105554
106106
  next_manufacture_partij: {
105555
106107
  Args: {
105556
106108
  _tenant_id: string;
@@ -106016,6 +106568,12 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
106016
106568
  };
106017
106569
  Returns: undefined;
106018
106570
  };
106571
+ sync_product_group_belading: {
106572
+ Args: {
106573
+ _group_id: string;
106574
+ };
106575
+ Returns: undefined;
106576
+ };
106019
106577
  sync_product_packing_from_floriday_cache: {
106020
106578
  Args: {
106021
106579
  p_floriday_id: string;
@@ -113780,6 +114338,39 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
113780
114338
  referencedColumns: ["id"];
113781
114339
  }];
113782
114340
  };
114341
+ product_merge_log: {
114342
+ Row: {
114343
+ canonical_product_id: string | null;
114344
+ id: string;
114345
+ merged_at: string;
114346
+ merged_from_id: string;
114347
+ notes: string | null;
114348
+ snapshot: import("../integrations/supabase/types").Json;
114349
+ source_table: string;
114350
+ status: string;
114351
+ };
114352
+ Insert: {
114353
+ canonical_product_id?: string | null;
114354
+ id?: string;
114355
+ merged_at?: string;
114356
+ merged_from_id: string;
114357
+ notes?: string | null;
114358
+ snapshot?: import("../integrations/supabase/types").Json;
114359
+ source_table: string;
114360
+ status?: string;
114361
+ };
114362
+ Update: {
114363
+ canonical_product_id?: string | null;
114364
+ id?: string;
114365
+ merged_at?: string;
114366
+ merged_from_id?: string;
114367
+ notes?: string | null;
114368
+ snapshot?: import("../integrations/supabase/types").Json;
114369
+ source_table?: string;
114370
+ status?: string;
114371
+ };
114372
+ Relationships: [];
114373
+ };
113783
114374
  products: {
113784
114375
  Row: {
113785
114376
  article_number: string | null;
@@ -113788,6 +114379,9 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
113788
114379
  crates_per_layer: number;
113789
114380
  created_at: string;
113790
114381
  custom_fields: import("../integrations/supabase/types").Json;
114382
+ floriday_active: boolean;
114383
+ floriday_payload: import("../integrations/supabase/types").Json;
114384
+ floriday_trade_item_id: string | null;
113791
114385
  id: string;
113792
114386
  image_url: string | null;
113793
114387
  incoming_quantity: number;
@@ -113812,6 +114406,9 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
113812
114406
  crates_per_layer?: number;
113813
114407
  created_at?: string;
113814
114408
  custom_fields?: import("../integrations/supabase/types").Json;
114409
+ floriday_active?: boolean;
114410
+ floriday_payload?: import("../integrations/supabase/types").Json;
114411
+ floriday_trade_item_id?: string | null;
113815
114412
  id?: string;
113816
114413
  image_url?: string | null;
113817
114414
  incoming_quantity?: number;
@@ -113836,6 +114433,9 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
113836
114433
  crates_per_layer?: number;
113837
114434
  created_at?: string;
113838
114435
  custom_fields?: import("../integrations/supabase/types").Json;
114436
+ floriday_active?: boolean;
114437
+ floriday_payload?: import("../integrations/supabase/types").Json;
114438
+ floriday_trade_item_id?: string | null;
113839
114439
  id?: string;
113840
114440
  image_url?: string | null;
113841
114441
  incoming_quantity?: number;
@@ -116794,6 +117394,13 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
116794
117394
  };
116795
117395
  Returns: number;
116796
117396
  };
117397
+ _migrate_rewrite_stock_key: {
117398
+ Args: {
117399
+ _from_key: string;
117400
+ _to_key: string;
117401
+ };
117402
+ Returns: undefined;
117403
+ };
116797
117404
  afh_city_code: {
116798
117405
  Args: {
116799
117406
  _city: string;
@@ -117352,6 +117959,13 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
117352
117959
  };
117353
117960
  Returns: undefined;
117354
117961
  };
117962
+ merge_products: {
117963
+ Args: {
117964
+ _canonical: string;
117965
+ _loser: string;
117966
+ };
117967
+ Returns: undefined;
117968
+ };
117355
117969
  next_manufacture_partij: {
117356
117970
  Args: {
117357
117971
  _tenant_id: string;
@@ -117817,6 +118431,12 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
117817
118431
  };
117818
118432
  Returns: undefined;
117819
118433
  };
118434
+ sync_product_group_belading: {
118435
+ Args: {
118436
+ _group_id: string;
118437
+ };
118438
+ Returns: undefined;
118439
+ };
117820
118440
  sync_product_packing_from_floriday_cache: {
117821
118441
  Args: {
117822
118442
  p_floriday_id: string;
@@ -125571,6 +126191,39 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
125571
126191
  referencedColumns: ["id"];
125572
126192
  }];
125573
126193
  };
126194
+ product_merge_log: {
126195
+ Row: {
126196
+ canonical_product_id: string | null;
126197
+ id: string;
126198
+ merged_at: string;
126199
+ merged_from_id: string;
126200
+ notes: string | null;
126201
+ snapshot: import("../integrations/supabase/types").Json;
126202
+ source_table: string;
126203
+ status: string;
126204
+ };
126205
+ Insert: {
126206
+ canonical_product_id?: string | null;
126207
+ id?: string;
126208
+ merged_at?: string;
126209
+ merged_from_id: string;
126210
+ notes?: string | null;
126211
+ snapshot?: import("../integrations/supabase/types").Json;
126212
+ source_table: string;
126213
+ status?: string;
126214
+ };
126215
+ Update: {
126216
+ canonical_product_id?: string | null;
126217
+ id?: string;
126218
+ merged_at?: string;
126219
+ merged_from_id?: string;
126220
+ notes?: string | null;
126221
+ snapshot?: import("../integrations/supabase/types").Json;
126222
+ source_table?: string;
126223
+ status?: string;
126224
+ };
126225
+ Relationships: [];
126226
+ };
125574
126227
  products: {
125575
126228
  Row: {
125576
126229
  article_number: string | null;
@@ -125579,6 +126232,9 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
125579
126232
  crates_per_layer: number;
125580
126233
  created_at: string;
125581
126234
  custom_fields: import("../integrations/supabase/types").Json;
126235
+ floriday_active: boolean;
126236
+ floriday_payload: import("../integrations/supabase/types").Json;
126237
+ floriday_trade_item_id: string | null;
125582
126238
  id: string;
125583
126239
  image_url: string | null;
125584
126240
  incoming_quantity: number;
@@ -125603,6 +126259,9 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
125603
126259
  crates_per_layer?: number;
125604
126260
  created_at?: string;
125605
126261
  custom_fields?: import("../integrations/supabase/types").Json;
126262
+ floriday_active?: boolean;
126263
+ floriday_payload?: import("../integrations/supabase/types").Json;
126264
+ floriday_trade_item_id?: string | null;
125606
126265
  id?: string;
125607
126266
  image_url?: string | null;
125608
126267
  incoming_quantity?: number;
@@ -125627,6 +126286,9 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
125627
126286
  crates_per_layer?: number;
125628
126287
  created_at?: string;
125629
126288
  custom_fields?: import("../integrations/supabase/types").Json;
126289
+ floriday_active?: boolean;
126290
+ floriday_payload?: import("../integrations/supabase/types").Json;
126291
+ floriday_trade_item_id?: string | null;
125630
126292
  id?: string;
125631
126293
  image_url?: string | null;
125632
126294
  incoming_quantity?: number;
@@ -128585,6 +129247,13 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
128585
129247
  };
128586
129248
  Returns: number;
128587
129249
  };
129250
+ _migrate_rewrite_stock_key: {
129251
+ Args: {
129252
+ _from_key: string;
129253
+ _to_key: string;
129254
+ };
129255
+ Returns: undefined;
129256
+ };
128588
129257
  afh_city_code: {
128589
129258
  Args: {
128590
129259
  _city: string;
@@ -129143,6 +129812,13 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
129143
129812
  };
129144
129813
  Returns: undefined;
129145
129814
  };
129815
+ merge_products: {
129816
+ Args: {
129817
+ _canonical: string;
129818
+ _loser: string;
129819
+ };
129820
+ Returns: undefined;
129821
+ };
129146
129822
  next_manufacture_partij: {
129147
129823
  Args: {
129148
129824
  _tenant_id: string;
@@ -129608,6 +130284,12 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
129608
130284
  };
129609
130285
  Returns: undefined;
129610
130286
  };
130287
+ sync_product_group_belading: {
130288
+ Args: {
130289
+ _group_id: string;
130290
+ };
130291
+ Returns: undefined;
130292
+ };
129611
130293
  sync_product_packing_from_floriday_cache: {
129612
130294
  Args: {
129613
130295
  p_floriday_id: string;
@@ -137365,6 +138047,39 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
137365
138047
  referencedColumns: ["id"];
137366
138048
  }];
137367
138049
  };
138050
+ product_merge_log: {
138051
+ Row: {
138052
+ canonical_product_id: string | null;
138053
+ id: string;
138054
+ merged_at: string;
138055
+ merged_from_id: string;
138056
+ notes: string | null;
138057
+ snapshot: import("../integrations/supabase/types").Json;
138058
+ source_table: string;
138059
+ status: string;
138060
+ };
138061
+ Insert: {
138062
+ canonical_product_id?: string | null;
138063
+ id?: string;
138064
+ merged_at?: string;
138065
+ merged_from_id: string;
138066
+ notes?: string | null;
138067
+ snapshot?: import("../integrations/supabase/types").Json;
138068
+ source_table: string;
138069
+ status?: string;
138070
+ };
138071
+ Update: {
138072
+ canonical_product_id?: string | null;
138073
+ id?: string;
138074
+ merged_at?: string;
138075
+ merged_from_id?: string;
138076
+ notes?: string | null;
138077
+ snapshot?: import("../integrations/supabase/types").Json;
138078
+ source_table?: string;
138079
+ status?: string;
138080
+ };
138081
+ Relationships: [];
138082
+ };
137368
138083
  products: {
137369
138084
  Row: {
137370
138085
  article_number: string | null;
@@ -137373,6 +138088,9 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
137373
138088
  crates_per_layer: number;
137374
138089
  created_at: string;
137375
138090
  custom_fields: import("../integrations/supabase/types").Json;
138091
+ floriday_active: boolean;
138092
+ floriday_payload: import("../integrations/supabase/types").Json;
138093
+ floriday_trade_item_id: string | null;
137376
138094
  id: string;
137377
138095
  image_url: string | null;
137378
138096
  incoming_quantity: number;
@@ -137397,6 +138115,9 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
137397
138115
  crates_per_layer?: number;
137398
138116
  created_at?: string;
137399
138117
  custom_fields?: import("../integrations/supabase/types").Json;
138118
+ floriday_active?: boolean;
138119
+ floriday_payload?: import("../integrations/supabase/types").Json;
138120
+ floriday_trade_item_id?: string | null;
137400
138121
  id?: string;
137401
138122
  image_url?: string | null;
137402
138123
  incoming_quantity?: number;
@@ -137421,6 +138142,9 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
137421
138142
  crates_per_layer?: number;
137422
138143
  created_at?: string;
137423
138144
  custom_fields?: import("../integrations/supabase/types").Json;
138145
+ floriday_active?: boolean;
138146
+ floriday_payload?: import("../integrations/supabase/types").Json;
138147
+ floriday_trade_item_id?: string | null;
137424
138148
  id?: string;
137425
138149
  image_url?: string | null;
137426
138150
  incoming_quantity?: number;
@@ -140379,6 +141103,13 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
140379
141103
  };
140380
141104
  Returns: number;
140381
141105
  };
141106
+ _migrate_rewrite_stock_key: {
141107
+ Args: {
141108
+ _from_key: string;
141109
+ _to_key: string;
141110
+ };
141111
+ Returns: undefined;
141112
+ };
140382
141113
  afh_city_code: {
140383
141114
  Args: {
140384
141115
  _city: string;
@@ -140937,6 +141668,13 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
140937
141668
  };
140938
141669
  Returns: undefined;
140939
141670
  };
141671
+ merge_products: {
141672
+ Args: {
141673
+ _canonical: string;
141674
+ _loser: string;
141675
+ };
141676
+ Returns: undefined;
141677
+ };
140940
141678
  next_manufacture_partij: {
140941
141679
  Args: {
140942
141680
  _tenant_id: string;
@@ -141402,6 +142140,12 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
141402
142140
  };
141403
142141
  Returns: undefined;
141404
142142
  };
142143
+ sync_product_group_belading: {
142144
+ Args: {
142145
+ _group_id: string;
142146
+ };
142147
+ Returns: undefined;
142148
+ };
141405
142149
  sync_product_packing_from_floriday_cache: {
141406
142150
  Args: {
141407
142151
  p_floriday_id: string;