@flowselections/floriday-verkoop-module 1.0.19 → 1.0.21

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 (51) hide show
  1. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts +6 -0
  2. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts.map +1 -0
  3. package/dist-lib/components/verkoop/OrderControlStatusCard.js +41 -0
  4. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts.map +1 -1
  5. package/dist-lib/components/verkoop/SalesOrderDetailPage.js +20 -5
  6. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
  7. package/dist-lib/components/verkoop/SalesOrderDetailView.js +2 -1
  8. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  9. package/dist-lib/components/verkoop/SalesOrdersTable.js +4 -1
  10. package/dist-lib/components/verkoop/VerkoopOrdersPage.js +1 -1
  11. package/dist-lib/integrations/supabase/auth-middleware.d.ts +22 -0
  12. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  13. package/dist-lib/integrations/supabase/client.d.ts +22 -0
  14. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/client.server.d.ts +22 -0
  16. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  17. package/dist-lib/integrations/supabase/types.d.ts +22 -0
  18. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  19. package/dist-lib/lib/cart-lock.functions.d.ts +22 -0
  20. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/cart-replan.functions.d.ts +44 -0
  22. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/create-order.functions.d.ts +264 -0
  24. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/create-order.functions.js +34 -25
  26. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +66 -0
  27. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +22 -0
  29. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/floriday-public.functions.d.ts +157 -0
  31. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/floriday-public.functions.js +114 -38
  33. package/dist-lib/lib/floriday-writes.functions.d.ts +110 -0
  34. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/order-shipments.functions.d.ts +88 -0
  36. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/salesorders-mapping.d.ts +2 -0
  38. package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
  39. package/dist-lib/lib/salesorders-mapping.js +8 -1
  40. package/dist-lib/lib/salesorders.functions.d.ts +23785 -0
  41. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/salesorders.functions.js +181 -0
  43. package/dist-lib/lib/tradeitems.functions.d.ts +22 -0
  44. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/useSalesOrderDetailQuery.d.ts +2 -0
  46. package/dist-lib/lib/useSalesOrderDetailQuery.d.ts.map +1 -0
  47. package/dist-lib/lib/useSalesOrderDetailQuery.js +50 -0
  48. package/dist-lib/lib/useSalesOrdersQuery.d.ts +2 -2
  49. package/dist-lib/lib/useSalesOrdersQuery.d.ts.map +1 -1
  50. package/dist-lib/lib/useSalesOrdersQuery.js +165 -12
  51. package/package.json +1 -1
@@ -4700,6 +4700,8 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
4700
4700
  Row: {
4701
4701
  buyer_organization_id: string | null;
4702
4702
  connection_id: string;
4703
+ controlled_at: string | null;
4704
+ controlled_by: string | null;
4703
4705
  created_at: string;
4704
4706
  data: import("../integrations/supabase/types").Json;
4705
4707
  floriday_id: string;
@@ -4711,6 +4713,8 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
4711
4713
  Insert: {
4712
4714
  buyer_organization_id?: string | null;
4713
4715
  connection_id: string;
4716
+ controlled_at?: string | null;
4717
+ controlled_by?: string | null;
4714
4718
  created_at?: string;
4715
4719
  data: import("../integrations/supabase/types").Json;
4716
4720
  floriday_id: string;
@@ -4722,6 +4726,8 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
4722
4726
  Update: {
4723
4727
  buyer_organization_id?: string | null;
4724
4728
  connection_id?: string;
4729
+ controlled_at?: string | null;
4730
+ controlled_by?: string | null;
4725
4731
  created_at?: string;
4726
4732
  data?: import("../integrations/supabase/types").Json;
4727
4733
  floriday_id?: string;
@@ -7740,6 +7746,7 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
7740
7746
  id: string;
7741
7747
  image_url: string | null;
7742
7748
  incoming_quantity: number;
7749
+ is_layer: boolean;
7743
7750
  layers_per_cart: number;
7744
7751
  location: string;
7745
7752
  min_quantity: number;
@@ -7767,6 +7774,7 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
7767
7774
  id?: string;
7768
7775
  image_url?: string | null;
7769
7776
  incoming_quantity?: number;
7777
+ is_layer?: boolean;
7770
7778
  layers_per_cart?: number;
7771
7779
  location: string;
7772
7780
  min_quantity?: number;
@@ -7794,6 +7802,7 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
7794
7802
  id?: string;
7795
7803
  image_url?: string | null;
7796
7804
  incoming_quantity?: number;
7805
+ is_layer?: boolean;
7797
7806
  layers_per_cart?: number;
7798
7807
  location?: string;
7799
7808
  min_quantity?: number;
@@ -11308,6 +11317,13 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
11308
11317
  };
11309
11318
  Returns: undefined;
11310
11319
  };
11320
+ mark_salesorder_controlled: {
11321
+ Args: {
11322
+ p_controlled: boolean;
11323
+ p_floriday_id: string;
11324
+ };
11325
+ Returns: undefined;
11326
+ };
11311
11327
  mark_shipment_shipped: {
11312
11328
  Args: {
11313
11329
  p_shipment_id: string;
@@ -11786,6 +11802,12 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
11786
11802
  };
11787
11803
  Returns: undefined;
11788
11804
  };
11805
+ sync_product_group_belading: {
11806
+ Args: {
11807
+ _group_id: string;
11808
+ };
11809
+ Returns: undefined;
11810
+ };
11789
11811
  sync_product_packing_from_floriday_cache: {
11790
11812
  Args: {
11791
11813
  p_floriday_id: string;
@@ -16537,6 +16559,8 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
16537
16559
  Row: {
16538
16560
  buyer_organization_id: string | null;
16539
16561
  connection_id: string;
16562
+ controlled_at: string | null;
16563
+ controlled_by: string | null;
16540
16564
  created_at: string;
16541
16565
  data: import("../integrations/supabase/types").Json;
16542
16566
  floriday_id: string;
@@ -16548,6 +16572,8 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
16548
16572
  Insert: {
16549
16573
  buyer_organization_id?: string | null;
16550
16574
  connection_id: string;
16575
+ controlled_at?: string | null;
16576
+ controlled_by?: string | null;
16551
16577
  created_at?: string;
16552
16578
  data: import("../integrations/supabase/types").Json;
16553
16579
  floriday_id: string;
@@ -16559,6 +16585,8 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
16559
16585
  Update: {
16560
16586
  buyer_organization_id?: string | null;
16561
16587
  connection_id?: string;
16588
+ controlled_at?: string | null;
16589
+ controlled_by?: string | null;
16562
16590
  created_at?: string;
16563
16591
  data?: import("../integrations/supabase/types").Json;
16564
16592
  floriday_id?: string;
@@ -19577,6 +19605,7 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
19577
19605
  id: string;
19578
19606
  image_url: string | null;
19579
19607
  incoming_quantity: number;
19608
+ is_layer: boolean;
19580
19609
  layers_per_cart: number;
19581
19610
  location: string;
19582
19611
  min_quantity: number;
@@ -19604,6 +19633,7 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
19604
19633
  id?: string;
19605
19634
  image_url?: string | null;
19606
19635
  incoming_quantity?: number;
19636
+ is_layer?: boolean;
19607
19637
  layers_per_cart?: number;
19608
19638
  location: string;
19609
19639
  min_quantity?: number;
@@ -19631,6 +19661,7 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
19631
19661
  id?: string;
19632
19662
  image_url?: string | null;
19633
19663
  incoming_quantity?: number;
19664
+ is_layer?: boolean;
19634
19665
  layers_per_cart?: number;
19635
19666
  location?: string;
19636
19667
  min_quantity?: number;
@@ -23145,6 +23176,13 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
23145
23176
  };
23146
23177
  Returns: undefined;
23147
23178
  };
23179
+ mark_salesorder_controlled: {
23180
+ Args: {
23181
+ p_controlled: boolean;
23182
+ p_floriday_id: string;
23183
+ };
23184
+ Returns: undefined;
23185
+ };
23148
23186
  mark_shipment_shipped: {
23149
23187
  Args: {
23150
23188
  p_shipment_id: string;
@@ -23623,6 +23661,12 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
23623
23661
  };
23624
23662
  Returns: undefined;
23625
23663
  };
23664
+ sync_product_group_belading: {
23665
+ Args: {
23666
+ _group_id: string;
23667
+ };
23668
+ Returns: undefined;
23669
+ };
23626
23670
  sync_product_packing_from_floriday_cache: {
23627
23671
  Args: {
23628
23672
  p_floriday_id: string;
@@ -28384,6 +28428,8 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
28384
28428
  Row: {
28385
28429
  buyer_organization_id: string | null;
28386
28430
  connection_id: string;
28431
+ controlled_at: string | null;
28432
+ controlled_by: string | null;
28387
28433
  created_at: string;
28388
28434
  data: import("../integrations/supabase/types").Json;
28389
28435
  floriday_id: string;
@@ -28395,6 +28441,8 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
28395
28441
  Insert: {
28396
28442
  buyer_organization_id?: string | null;
28397
28443
  connection_id: string;
28444
+ controlled_at?: string | null;
28445
+ controlled_by?: string | null;
28398
28446
  created_at?: string;
28399
28447
  data: import("../integrations/supabase/types").Json;
28400
28448
  floriday_id: string;
@@ -28406,6 +28454,8 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
28406
28454
  Update: {
28407
28455
  buyer_organization_id?: string | null;
28408
28456
  connection_id?: string;
28457
+ controlled_at?: string | null;
28458
+ controlled_by?: string | null;
28409
28459
  created_at?: string;
28410
28460
  data?: import("../integrations/supabase/types").Json;
28411
28461
  floriday_id?: string;
@@ -31424,6 +31474,7 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
31424
31474
  id: string;
31425
31475
  image_url: string | null;
31426
31476
  incoming_quantity: number;
31477
+ is_layer: boolean;
31427
31478
  layers_per_cart: number;
31428
31479
  location: string;
31429
31480
  min_quantity: number;
@@ -31451,6 +31502,7 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
31451
31502
  id?: string;
31452
31503
  image_url?: string | null;
31453
31504
  incoming_quantity?: number;
31505
+ is_layer?: boolean;
31454
31506
  layers_per_cart?: number;
31455
31507
  location: string;
31456
31508
  min_quantity?: number;
@@ -31478,6 +31530,7 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
31478
31530
  id?: string;
31479
31531
  image_url?: string | null;
31480
31532
  incoming_quantity?: number;
31533
+ is_layer?: boolean;
31481
31534
  layers_per_cart?: number;
31482
31535
  location?: string;
31483
31536
  min_quantity?: number;
@@ -34992,6 +35045,13 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
34992
35045
  };
34993
35046
  Returns: undefined;
34994
35047
  };
35048
+ mark_salesorder_controlled: {
35049
+ Args: {
35050
+ p_controlled: boolean;
35051
+ p_floriday_id: string;
35052
+ };
35053
+ Returns: undefined;
35054
+ };
34995
35055
  mark_shipment_shipped: {
34996
35056
  Args: {
34997
35057
  p_shipment_id: string;
@@ -35470,6 +35530,12 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
35470
35530
  };
35471
35531
  Returns: undefined;
35472
35532
  };
35533
+ sync_product_group_belading: {
35534
+ Args: {
35535
+ _group_id: string;
35536
+ };
35537
+ Returns: undefined;
35538
+ };
35473
35539
  sync_product_packing_from_floriday_cache: {
35474
35540
  Args: {
35475
35541
  p_floriday_id: string;
@@ -40235,6 +40301,8 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
40235
40301
  Row: {
40236
40302
  buyer_organization_id: string | null;
40237
40303
  connection_id: string;
40304
+ controlled_at: string | null;
40305
+ controlled_by: string | null;
40238
40306
  created_at: string;
40239
40307
  data: import("../integrations/supabase/types").Json;
40240
40308
  floriday_id: string;
@@ -40246,6 +40314,8 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
40246
40314
  Insert: {
40247
40315
  buyer_organization_id?: string | null;
40248
40316
  connection_id: string;
40317
+ controlled_at?: string | null;
40318
+ controlled_by?: string | null;
40249
40319
  created_at?: string;
40250
40320
  data: import("../integrations/supabase/types").Json;
40251
40321
  floriday_id: string;
@@ -40257,6 +40327,8 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
40257
40327
  Update: {
40258
40328
  buyer_organization_id?: string | null;
40259
40329
  connection_id?: string;
40330
+ controlled_at?: string | null;
40331
+ controlled_by?: string | null;
40260
40332
  created_at?: string;
40261
40333
  data?: import("../integrations/supabase/types").Json;
40262
40334
  floriday_id?: string;
@@ -43275,6 +43347,7 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
43275
43347
  id: string;
43276
43348
  image_url: string | null;
43277
43349
  incoming_quantity: number;
43350
+ is_layer: boolean;
43278
43351
  layers_per_cart: number;
43279
43352
  location: string;
43280
43353
  min_quantity: number;
@@ -43302,6 +43375,7 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
43302
43375
  id?: string;
43303
43376
  image_url?: string | null;
43304
43377
  incoming_quantity?: number;
43378
+ is_layer?: boolean;
43305
43379
  layers_per_cart?: number;
43306
43380
  location: string;
43307
43381
  min_quantity?: number;
@@ -43329,6 +43403,7 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
43329
43403
  id?: string;
43330
43404
  image_url?: string | null;
43331
43405
  incoming_quantity?: number;
43406
+ is_layer?: boolean;
43332
43407
  layers_per_cart?: number;
43333
43408
  location?: string;
43334
43409
  min_quantity?: number;
@@ -46843,6 +46918,13 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
46843
46918
  };
46844
46919
  Returns: undefined;
46845
46920
  };
46921
+ mark_salesorder_controlled: {
46922
+ Args: {
46923
+ p_controlled: boolean;
46924
+ p_floriday_id: string;
46925
+ };
46926
+ Returns: undefined;
46927
+ };
46846
46928
  mark_shipment_shipped: {
46847
46929
  Args: {
46848
46930
  p_shipment_id: string;
@@ -47321,6 +47403,12 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
47321
47403
  };
47322
47404
  Returns: undefined;
47323
47405
  };
47406
+ sync_product_group_belading: {
47407
+ Args: {
47408
+ _group_id: string;
47409
+ };
47410
+ Returns: undefined;
47411
+ };
47324
47412
  sync_product_packing_from_floriday_cache: {
47325
47413
  Args: {
47326
47414
  p_floriday_id: string;
@@ -52071,6 +52159,8 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
52071
52159
  Row: {
52072
52160
  buyer_organization_id: string | null;
52073
52161
  connection_id: string;
52162
+ controlled_at: string | null;
52163
+ controlled_by: string | null;
52074
52164
  created_at: string;
52075
52165
  data: import("../integrations/supabase/types").Json;
52076
52166
  floriday_id: string;
@@ -52082,6 +52172,8 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
52082
52172
  Insert: {
52083
52173
  buyer_organization_id?: string | null;
52084
52174
  connection_id: string;
52175
+ controlled_at?: string | null;
52176
+ controlled_by?: string | null;
52085
52177
  created_at?: string;
52086
52178
  data: import("../integrations/supabase/types").Json;
52087
52179
  floriday_id: string;
@@ -52093,6 +52185,8 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
52093
52185
  Update: {
52094
52186
  buyer_organization_id?: string | null;
52095
52187
  connection_id?: string;
52188
+ controlled_at?: string | null;
52189
+ controlled_by?: string | null;
52096
52190
  created_at?: string;
52097
52191
  data?: import("../integrations/supabase/types").Json;
52098
52192
  floriday_id?: string;
@@ -55111,6 +55205,7 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
55111
55205
  id: string;
55112
55206
  image_url: string | null;
55113
55207
  incoming_quantity: number;
55208
+ is_layer: boolean;
55114
55209
  layers_per_cart: number;
55115
55210
  location: string;
55116
55211
  min_quantity: number;
@@ -55138,6 +55233,7 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
55138
55233
  id?: string;
55139
55234
  image_url?: string | null;
55140
55235
  incoming_quantity?: number;
55236
+ is_layer?: boolean;
55141
55237
  layers_per_cart?: number;
55142
55238
  location: string;
55143
55239
  min_quantity?: number;
@@ -55165,6 +55261,7 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
55165
55261
  id?: string;
55166
55262
  image_url?: string | null;
55167
55263
  incoming_quantity?: number;
55264
+ is_layer?: boolean;
55168
55265
  layers_per_cart?: number;
55169
55266
  location?: string;
55170
55267
  min_quantity?: number;
@@ -58679,6 +58776,13 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
58679
58776
  };
58680
58777
  Returns: undefined;
58681
58778
  };
58779
+ mark_salesorder_controlled: {
58780
+ Args: {
58781
+ p_controlled: boolean;
58782
+ p_floriday_id: string;
58783
+ };
58784
+ Returns: undefined;
58785
+ };
58682
58786
  mark_shipment_shipped: {
58683
58787
  Args: {
58684
58788
  p_shipment_id: string;
@@ -59157,6 +59261,12 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
59157
59261
  };
59158
59262
  Returns: undefined;
59159
59263
  };
59264
+ sync_product_group_belading: {
59265
+ Args: {
59266
+ _group_id: string;
59267
+ };
59268
+ Returns: undefined;
59269
+ };
59160
59270
  sync_product_packing_from_floriday_cache: {
59161
59271
  Args: {
59162
59272
  p_floriday_id: string;
@@ -63910,6 +64020,8 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
63910
64020
  Row: {
63911
64021
  buyer_organization_id: string | null;
63912
64022
  connection_id: string;
64023
+ controlled_at: string | null;
64024
+ controlled_by: string | null;
63913
64025
  created_at: string;
63914
64026
  data: import("../integrations/supabase/types").Json;
63915
64027
  floriday_id: string;
@@ -63921,6 +64033,8 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
63921
64033
  Insert: {
63922
64034
  buyer_organization_id?: string | null;
63923
64035
  connection_id: string;
64036
+ controlled_at?: string | null;
64037
+ controlled_by?: string | null;
63924
64038
  created_at?: string;
63925
64039
  data: import("../integrations/supabase/types").Json;
63926
64040
  floriday_id: string;
@@ -63932,6 +64046,8 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
63932
64046
  Update: {
63933
64047
  buyer_organization_id?: string | null;
63934
64048
  connection_id?: string;
64049
+ controlled_at?: string | null;
64050
+ controlled_by?: string | null;
63935
64051
  created_at?: string;
63936
64052
  data?: import("../integrations/supabase/types").Json;
63937
64053
  floriday_id?: string;
@@ -66950,6 +67066,7 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
66950
67066
  id: string;
66951
67067
  image_url: string | null;
66952
67068
  incoming_quantity: number;
67069
+ is_layer: boolean;
66953
67070
  layers_per_cart: number;
66954
67071
  location: string;
66955
67072
  min_quantity: number;
@@ -66977,6 +67094,7 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
66977
67094
  id?: string;
66978
67095
  image_url?: string | null;
66979
67096
  incoming_quantity?: number;
67097
+ is_layer?: boolean;
66980
67098
  layers_per_cart?: number;
66981
67099
  location: string;
66982
67100
  min_quantity?: number;
@@ -67004,6 +67122,7 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
67004
67122
  id?: string;
67005
67123
  image_url?: string | null;
67006
67124
  incoming_quantity?: number;
67125
+ is_layer?: boolean;
67007
67126
  layers_per_cart?: number;
67008
67127
  location?: string;
67009
67128
  min_quantity?: number;
@@ -70518,6 +70637,13 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
70518
70637
  };
70519
70638
  Returns: undefined;
70520
70639
  };
70640
+ mark_salesorder_controlled: {
70641
+ Args: {
70642
+ p_controlled: boolean;
70643
+ p_floriday_id: string;
70644
+ };
70645
+ Returns: undefined;
70646
+ };
70521
70647
  mark_shipment_shipped: {
70522
70648
  Args: {
70523
70649
  p_shipment_id: string;
@@ -70996,6 +71122,12 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
70996
71122
  };
70997
71123
  Returns: undefined;
70998
71124
  };
71125
+ sync_product_group_belading: {
71126
+ Args: {
71127
+ _group_id: string;
71128
+ };
71129
+ Returns: undefined;
71130
+ };
70999
71131
  sync_product_packing_from_floriday_cache: {
71000
71132
  Args: {
71001
71133
  p_floriday_id: string;
@@ -75743,6 +75875,8 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
75743
75875
  Row: {
75744
75876
  buyer_organization_id: string | null;
75745
75877
  connection_id: string;
75878
+ controlled_at: string | null;
75879
+ controlled_by: string | null;
75746
75880
  created_at: string;
75747
75881
  data: import("../integrations/supabase/types").Json;
75748
75882
  floriday_id: string;
@@ -75754,6 +75888,8 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
75754
75888
  Insert: {
75755
75889
  buyer_organization_id?: string | null;
75756
75890
  connection_id: string;
75891
+ controlled_at?: string | null;
75892
+ controlled_by?: string | null;
75757
75893
  created_at?: string;
75758
75894
  data: import("../integrations/supabase/types").Json;
75759
75895
  floriday_id: string;
@@ -75765,6 +75901,8 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
75765
75901
  Update: {
75766
75902
  buyer_organization_id?: string | null;
75767
75903
  connection_id?: string;
75904
+ controlled_at?: string | null;
75905
+ controlled_by?: string | null;
75768
75906
  created_at?: string;
75769
75907
  data?: import("../integrations/supabase/types").Json;
75770
75908
  floriday_id?: string;
@@ -78783,6 +78921,7 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
78783
78921
  id: string;
78784
78922
  image_url: string | null;
78785
78923
  incoming_quantity: number;
78924
+ is_layer: boolean;
78786
78925
  layers_per_cart: number;
78787
78926
  location: string;
78788
78927
  min_quantity: number;
@@ -78810,6 +78949,7 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
78810
78949
  id?: string;
78811
78950
  image_url?: string | null;
78812
78951
  incoming_quantity?: number;
78952
+ is_layer?: boolean;
78813
78953
  layers_per_cart?: number;
78814
78954
  location: string;
78815
78955
  min_quantity?: number;
@@ -78837,6 +78977,7 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
78837
78977
  id?: string;
78838
78978
  image_url?: string | null;
78839
78979
  incoming_quantity?: number;
78980
+ is_layer?: boolean;
78840
78981
  layers_per_cart?: number;
78841
78982
  location?: string;
78842
78983
  min_quantity?: number;
@@ -82351,6 +82492,13 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
82351
82492
  };
82352
82493
  Returns: undefined;
82353
82494
  };
82495
+ mark_salesorder_controlled: {
82496
+ Args: {
82497
+ p_controlled: boolean;
82498
+ p_floriday_id: string;
82499
+ };
82500
+ Returns: undefined;
82501
+ };
82354
82502
  mark_shipment_shipped: {
82355
82503
  Args: {
82356
82504
  p_shipment_id: string;
@@ -82829,6 +82977,12 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
82829
82977
  };
82830
82978
  Returns: undefined;
82831
82979
  };
82980
+ sync_product_group_belading: {
82981
+ Args: {
82982
+ _group_id: string;
82983
+ };
82984
+ Returns: undefined;
82985
+ };
82832
82986
  sync_product_packing_from_floriday_cache: {
82833
82987
  Args: {
82834
82988
  p_floriday_id: string;
@@ -87597,6 +87751,8 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
87597
87751
  Row: {
87598
87752
  buyer_organization_id: string | null;
87599
87753
  connection_id: string;
87754
+ controlled_at: string | null;
87755
+ controlled_by: string | null;
87600
87756
  created_at: string;
87601
87757
  data: import("../integrations/supabase/types").Json;
87602
87758
  floriday_id: string;
@@ -87608,6 +87764,8 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
87608
87764
  Insert: {
87609
87765
  buyer_organization_id?: string | null;
87610
87766
  connection_id: string;
87767
+ controlled_at?: string | null;
87768
+ controlled_by?: string | null;
87611
87769
  created_at?: string;
87612
87770
  data: import("../integrations/supabase/types").Json;
87613
87771
  floriday_id: string;
@@ -87619,6 +87777,8 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
87619
87777
  Update: {
87620
87778
  buyer_organization_id?: string | null;
87621
87779
  connection_id?: string;
87780
+ controlled_at?: string | null;
87781
+ controlled_by?: string | null;
87622
87782
  created_at?: string;
87623
87783
  data?: import("../integrations/supabase/types").Json;
87624
87784
  floriday_id?: string;
@@ -90637,6 +90797,7 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
90637
90797
  id: string;
90638
90798
  image_url: string | null;
90639
90799
  incoming_quantity: number;
90800
+ is_layer: boolean;
90640
90801
  layers_per_cart: number;
90641
90802
  location: string;
90642
90803
  min_quantity: number;
@@ -90664,6 +90825,7 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
90664
90825
  id?: string;
90665
90826
  image_url?: string | null;
90666
90827
  incoming_quantity?: number;
90828
+ is_layer?: boolean;
90667
90829
  layers_per_cart?: number;
90668
90830
  location: string;
90669
90831
  min_quantity?: number;
@@ -90691,6 +90853,7 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
90691
90853
  id?: string;
90692
90854
  image_url?: string | null;
90693
90855
  incoming_quantity?: number;
90856
+ is_layer?: boolean;
90694
90857
  layers_per_cart?: number;
90695
90858
  location?: string;
90696
90859
  min_quantity?: number;
@@ -94205,6 +94368,13 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
94205
94368
  };
94206
94369
  Returns: undefined;
94207
94370
  };
94371
+ mark_salesorder_controlled: {
94372
+ Args: {
94373
+ p_controlled: boolean;
94374
+ p_floriday_id: string;
94375
+ };
94376
+ Returns: undefined;
94377
+ };
94208
94378
  mark_shipment_shipped: {
94209
94379
  Args: {
94210
94380
  p_shipment_id: string;
@@ -94683,6 +94853,12 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
94683
94853
  };
94684
94854
  Returns: undefined;
94685
94855
  };
94856
+ sync_product_group_belading: {
94857
+ Args: {
94858
+ _group_id: string;
94859
+ };
94860
+ Returns: undefined;
94861
+ };
94686
94862
  sync_product_packing_from_floriday_cache: {
94687
94863
  Args: {
94688
94864
  p_floriday_id: string;
@@ -99434,6 +99610,8 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
99434
99610
  Row: {
99435
99611
  buyer_organization_id: string | null;
99436
99612
  connection_id: string;
99613
+ controlled_at: string | null;
99614
+ controlled_by: string | null;
99437
99615
  created_at: string;
99438
99616
  data: import("../integrations/supabase/types").Json;
99439
99617
  floriday_id: string;
@@ -99445,6 +99623,8 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
99445
99623
  Insert: {
99446
99624
  buyer_organization_id?: string | null;
99447
99625
  connection_id: string;
99626
+ controlled_at?: string | null;
99627
+ controlled_by?: string | null;
99448
99628
  created_at?: string;
99449
99629
  data: import("../integrations/supabase/types").Json;
99450
99630
  floriday_id: string;
@@ -99456,6 +99636,8 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
99456
99636
  Update: {
99457
99637
  buyer_organization_id?: string | null;
99458
99638
  connection_id?: string;
99639
+ controlled_at?: string | null;
99640
+ controlled_by?: string | null;
99459
99641
  created_at?: string;
99460
99642
  data?: import("../integrations/supabase/types").Json;
99461
99643
  floriday_id?: string;
@@ -102474,6 +102656,7 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
102474
102656
  id: string;
102475
102657
  image_url: string | null;
102476
102658
  incoming_quantity: number;
102659
+ is_layer: boolean;
102477
102660
  layers_per_cart: number;
102478
102661
  location: string;
102479
102662
  min_quantity: number;
@@ -102501,6 +102684,7 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
102501
102684
  id?: string;
102502
102685
  image_url?: string | null;
102503
102686
  incoming_quantity?: number;
102687
+ is_layer?: boolean;
102504
102688
  layers_per_cart?: number;
102505
102689
  location: string;
102506
102690
  min_quantity?: number;
@@ -102528,6 +102712,7 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
102528
102712
  id?: string;
102529
102713
  image_url?: string | null;
102530
102714
  incoming_quantity?: number;
102715
+ is_layer?: boolean;
102531
102716
  layers_per_cart?: number;
102532
102717
  location?: string;
102533
102718
  min_quantity?: number;
@@ -106042,6 +106227,13 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
106042
106227
  };
106043
106228
  Returns: undefined;
106044
106229
  };
106230
+ mark_salesorder_controlled: {
106231
+ Args: {
106232
+ p_controlled: boolean;
106233
+ p_floriday_id: string;
106234
+ };
106235
+ Returns: undefined;
106236
+ };
106045
106237
  mark_shipment_shipped: {
106046
106238
  Args: {
106047
106239
  p_shipment_id: string;
@@ -106520,6 +106712,12 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
106520
106712
  };
106521
106713
  Returns: undefined;
106522
106714
  };
106715
+ sync_product_group_belading: {
106716
+ Args: {
106717
+ _group_id: string;
106718
+ };
106719
+ Returns: undefined;
106720
+ };
106523
106721
  sync_product_packing_from_floriday_cache: {
106524
106722
  Args: {
106525
106723
  p_floriday_id: string;
@@ -111291,6 +111489,8 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
111291
111489
  Row: {
111292
111490
  buyer_organization_id: string | null;
111293
111491
  connection_id: string;
111492
+ controlled_at: string | null;
111493
+ controlled_by: string | null;
111294
111494
  created_at: string;
111295
111495
  data: import("../integrations/supabase/types").Json;
111296
111496
  floriday_id: string;
@@ -111302,6 +111502,8 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
111302
111502
  Insert: {
111303
111503
  buyer_organization_id?: string | null;
111304
111504
  connection_id: string;
111505
+ controlled_at?: string | null;
111506
+ controlled_by?: string | null;
111305
111507
  created_at?: string;
111306
111508
  data: import("../integrations/supabase/types").Json;
111307
111509
  floriday_id: string;
@@ -111313,6 +111515,8 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
111313
111515
  Update: {
111314
111516
  buyer_organization_id?: string | null;
111315
111517
  connection_id?: string;
111518
+ controlled_at?: string | null;
111519
+ controlled_by?: string | null;
111316
111520
  created_at?: string;
111317
111521
  data?: import("../integrations/supabase/types").Json;
111318
111522
  floriday_id?: string;
@@ -114331,6 +114535,7 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
114331
114535
  id: string;
114332
114536
  image_url: string | null;
114333
114537
  incoming_quantity: number;
114538
+ is_layer: boolean;
114334
114539
  layers_per_cart: number;
114335
114540
  location: string;
114336
114541
  min_quantity: number;
@@ -114358,6 +114563,7 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
114358
114563
  id?: string;
114359
114564
  image_url?: string | null;
114360
114565
  incoming_quantity?: number;
114566
+ is_layer?: boolean;
114361
114567
  layers_per_cart?: number;
114362
114568
  location: string;
114363
114569
  min_quantity?: number;
@@ -114385,6 +114591,7 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
114385
114591
  id?: string;
114386
114592
  image_url?: string | null;
114387
114593
  incoming_quantity?: number;
114594
+ is_layer?: boolean;
114388
114595
  layers_per_cart?: number;
114389
114596
  location?: string;
114390
114597
  min_quantity?: number;
@@ -117899,6 +118106,13 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
117899
118106
  };
117900
118107
  Returns: undefined;
117901
118108
  };
118109
+ mark_salesorder_controlled: {
118110
+ Args: {
118111
+ p_controlled: boolean;
118112
+ p_floriday_id: string;
118113
+ };
118114
+ Returns: undefined;
118115
+ };
117902
118116
  mark_shipment_shipped: {
117903
118117
  Args: {
117904
118118
  p_shipment_id: string;
@@ -118377,6 +118591,12 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
118377
118591
  };
118378
118592
  Returns: undefined;
118379
118593
  };
118594
+ sync_product_group_belading: {
118595
+ Args: {
118596
+ _group_id: string;
118597
+ };
118598
+ Returns: undefined;
118599
+ };
118380
118600
  sync_product_packing_from_floriday_cache: {
118381
118601
  Args: {
118382
118602
  p_floriday_id: string;
@@ -123138,6 +123358,8 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
123138
123358
  Row: {
123139
123359
  buyer_organization_id: string | null;
123140
123360
  connection_id: string;
123361
+ controlled_at: string | null;
123362
+ controlled_by: string | null;
123141
123363
  created_at: string;
123142
123364
  data: import("../integrations/supabase/types").Json;
123143
123365
  floriday_id: string;
@@ -123149,6 +123371,8 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
123149
123371
  Insert: {
123150
123372
  buyer_organization_id?: string | null;
123151
123373
  connection_id: string;
123374
+ controlled_at?: string | null;
123375
+ controlled_by?: string | null;
123152
123376
  created_at?: string;
123153
123377
  data: import("../integrations/supabase/types").Json;
123154
123378
  floriday_id: string;
@@ -123160,6 +123384,8 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
123160
123384
  Update: {
123161
123385
  buyer_organization_id?: string | null;
123162
123386
  connection_id?: string;
123387
+ controlled_at?: string | null;
123388
+ controlled_by?: string | null;
123163
123389
  created_at?: string;
123164
123390
  data?: import("../integrations/supabase/types").Json;
123165
123391
  floriday_id?: string;
@@ -126178,6 +126404,7 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
126178
126404
  id: string;
126179
126405
  image_url: string | null;
126180
126406
  incoming_quantity: number;
126407
+ is_layer: boolean;
126181
126408
  layers_per_cart: number;
126182
126409
  location: string;
126183
126410
  min_quantity: number;
@@ -126205,6 +126432,7 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
126205
126432
  id?: string;
126206
126433
  image_url?: string | null;
126207
126434
  incoming_quantity?: number;
126435
+ is_layer?: boolean;
126208
126436
  layers_per_cart?: number;
126209
126437
  location: string;
126210
126438
  min_quantity?: number;
@@ -126232,6 +126460,7 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
126232
126460
  id?: string;
126233
126461
  image_url?: string | null;
126234
126462
  incoming_quantity?: number;
126463
+ is_layer?: boolean;
126235
126464
  layers_per_cart?: number;
126236
126465
  location?: string;
126237
126466
  min_quantity?: number;
@@ -129746,6 +129975,13 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
129746
129975
  };
129747
129976
  Returns: undefined;
129748
129977
  };
129978
+ mark_salesorder_controlled: {
129979
+ Args: {
129980
+ p_controlled: boolean;
129981
+ p_floriday_id: string;
129982
+ };
129983
+ Returns: undefined;
129984
+ };
129749
129985
  mark_shipment_shipped: {
129750
129986
  Args: {
129751
129987
  p_shipment_id: string;
@@ -130224,6 +130460,12 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
130224
130460
  };
130225
130461
  Returns: undefined;
130226
130462
  };
130463
+ sync_product_group_belading: {
130464
+ Args: {
130465
+ _group_id: string;
130466
+ };
130467
+ Returns: undefined;
130468
+ };
130227
130469
  sync_product_packing_from_floriday_cache: {
130228
130470
  Args: {
130229
130471
  p_floriday_id: string;
@@ -134988,6 +135230,8 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
134988
135230
  Row: {
134989
135231
  buyer_organization_id: string | null;
134990
135232
  connection_id: string;
135233
+ controlled_at: string | null;
135234
+ controlled_by: string | null;
134991
135235
  created_at: string;
134992
135236
  data: import("../integrations/supabase/types").Json;
134993
135237
  floriday_id: string;
@@ -134999,6 +135243,8 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
134999
135243
  Insert: {
135000
135244
  buyer_organization_id?: string | null;
135001
135245
  connection_id: string;
135246
+ controlled_at?: string | null;
135247
+ controlled_by?: string | null;
135002
135248
  created_at?: string;
135003
135249
  data: import("../integrations/supabase/types").Json;
135004
135250
  floriday_id: string;
@@ -135010,6 +135256,8 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
135010
135256
  Update: {
135011
135257
  buyer_organization_id?: string | null;
135012
135258
  connection_id?: string;
135259
+ controlled_at?: string | null;
135260
+ controlled_by?: string | null;
135013
135261
  created_at?: string;
135014
135262
  data?: import("../integrations/supabase/types").Json;
135015
135263
  floriday_id?: string;
@@ -138028,6 +138276,7 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
138028
138276
  id: string;
138029
138277
  image_url: string | null;
138030
138278
  incoming_quantity: number;
138279
+ is_layer: boolean;
138031
138280
  layers_per_cart: number;
138032
138281
  location: string;
138033
138282
  min_quantity: number;
@@ -138055,6 +138304,7 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
138055
138304
  id?: string;
138056
138305
  image_url?: string | null;
138057
138306
  incoming_quantity?: number;
138307
+ is_layer?: boolean;
138058
138308
  layers_per_cart?: number;
138059
138309
  location: string;
138060
138310
  min_quantity?: number;
@@ -138082,6 +138332,7 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
138082
138332
  id?: string;
138083
138333
  image_url?: string | null;
138084
138334
  incoming_quantity?: number;
138335
+ is_layer?: boolean;
138085
138336
  layers_per_cart?: number;
138086
138337
  location?: string;
138087
138338
  min_quantity?: number;
@@ -141596,6 +141847,13 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
141596
141847
  };
141597
141848
  Returns: undefined;
141598
141849
  };
141850
+ mark_salesorder_controlled: {
141851
+ Args: {
141852
+ p_controlled: boolean;
141853
+ p_floriday_id: string;
141854
+ };
141855
+ Returns: undefined;
141856
+ };
141599
141857
  mark_shipment_shipped: {
141600
141858
  Args: {
141601
141859
  p_shipment_id: string;
@@ -142074,6 +142332,12 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
142074
142332
  };
142075
142333
  Returns: undefined;
142076
142334
  };
142335
+ sync_product_group_belading: {
142336
+ Args: {
142337
+ _group_id: string;
142338
+ };
142339
+ Returns: undefined;
142340
+ };
142077
142341
  sync_product_packing_from_floriday_cache: {
142078
142342
  Args: {
142079
142343
  p_floriday_id: string;