@flowselections/floriday-verkoop-module 1.0.20 → 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 (50) 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 +16 -0
  12. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  13. package/dist-lib/integrations/supabase/client.d.ts +16 -0
  14. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/client.server.d.ts +16 -0
  16. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  17. package/dist-lib/integrations/supabase/types.d.ts +16 -0
  18. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  19. package/dist-lib/lib/cart-lock.functions.d.ts +16 -0
  20. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/cart-replan.functions.d.ts +32 -0
  22. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/create-order.functions.d.ts +192 -0
  24. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +48 -0
  26. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +16 -0
  28. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/floriday-public.functions.d.ts +115 -0
  30. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-public.functions.js +114 -38
  32. package/dist-lib/lib/floriday-writes.functions.d.ts +80 -0
  33. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/order-shipments.functions.d.ts +64 -0
  35. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/salesorders-mapping.d.ts +2 -0
  37. package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
  38. package/dist-lib/lib/salesorders-mapping.js +8 -1
  39. package/dist-lib/lib/salesorders.functions.d.ts +23767 -0
  40. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/salesorders.functions.js +181 -0
  42. package/dist-lib/lib/tradeitems.functions.d.ts +16 -0
  43. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/useSalesOrderDetailQuery.d.ts +2 -0
  45. package/dist-lib/lib/useSalesOrderDetailQuery.d.ts.map +1 -0
  46. package/dist-lib/lib/useSalesOrderDetailQuery.js +50 -0
  47. package/dist-lib/lib/useSalesOrdersQuery.d.ts +2 -2
  48. package/dist-lib/lib/useSalesOrdersQuery.d.ts.map +1 -1
  49. package/dist-lib/lib/useSalesOrdersQuery.js +103 -9
  50. 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;
@@ -16543,6 +16559,8 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
16543
16559
  Row: {
16544
16560
  buyer_organization_id: string | null;
16545
16561
  connection_id: string;
16562
+ controlled_at: string | null;
16563
+ controlled_by: string | null;
16546
16564
  created_at: string;
16547
16565
  data: import("../integrations/supabase/types").Json;
16548
16566
  floriday_id: string;
@@ -16554,6 +16572,8 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
16554
16572
  Insert: {
16555
16573
  buyer_organization_id?: string | null;
16556
16574
  connection_id: string;
16575
+ controlled_at?: string | null;
16576
+ controlled_by?: string | null;
16557
16577
  created_at?: string;
16558
16578
  data: import("../integrations/supabase/types").Json;
16559
16579
  floriday_id: string;
@@ -16565,6 +16585,8 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
16565
16585
  Update: {
16566
16586
  buyer_organization_id?: string | null;
16567
16587
  connection_id?: string;
16588
+ controlled_at?: string | null;
16589
+ controlled_by?: string | null;
16568
16590
  created_at?: string;
16569
16591
  data?: import("../integrations/supabase/types").Json;
16570
16592
  floriday_id?: string;
@@ -19583,6 +19605,7 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
19583
19605
  id: string;
19584
19606
  image_url: string | null;
19585
19607
  incoming_quantity: number;
19608
+ is_layer: boolean;
19586
19609
  layers_per_cart: number;
19587
19610
  location: string;
19588
19611
  min_quantity: number;
@@ -19610,6 +19633,7 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
19610
19633
  id?: string;
19611
19634
  image_url?: string | null;
19612
19635
  incoming_quantity?: number;
19636
+ is_layer?: boolean;
19613
19637
  layers_per_cart?: number;
19614
19638
  location: string;
19615
19639
  min_quantity?: number;
@@ -19637,6 +19661,7 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
19637
19661
  id?: string;
19638
19662
  image_url?: string | null;
19639
19663
  incoming_quantity?: number;
19664
+ is_layer?: boolean;
19640
19665
  layers_per_cart?: number;
19641
19666
  location?: string;
19642
19667
  min_quantity?: number;
@@ -23151,6 +23176,13 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
23151
23176
  };
23152
23177
  Returns: undefined;
23153
23178
  };
23179
+ mark_salesorder_controlled: {
23180
+ Args: {
23181
+ p_controlled: boolean;
23182
+ p_floriday_id: string;
23183
+ };
23184
+ Returns: undefined;
23185
+ };
23154
23186
  mark_shipment_shipped: {
23155
23187
  Args: {
23156
23188
  p_shipment_id: string;
@@ -28396,6 +28428,8 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
28396
28428
  Row: {
28397
28429
  buyer_organization_id: string | null;
28398
28430
  connection_id: string;
28431
+ controlled_at: string | null;
28432
+ controlled_by: string | null;
28399
28433
  created_at: string;
28400
28434
  data: import("../integrations/supabase/types").Json;
28401
28435
  floriday_id: string;
@@ -28407,6 +28441,8 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
28407
28441
  Insert: {
28408
28442
  buyer_organization_id?: string | null;
28409
28443
  connection_id: string;
28444
+ controlled_at?: string | null;
28445
+ controlled_by?: string | null;
28410
28446
  created_at?: string;
28411
28447
  data: import("../integrations/supabase/types").Json;
28412
28448
  floriday_id: string;
@@ -28418,6 +28454,8 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
28418
28454
  Update: {
28419
28455
  buyer_organization_id?: string | null;
28420
28456
  connection_id?: string;
28457
+ controlled_at?: string | null;
28458
+ controlled_by?: string | null;
28421
28459
  created_at?: string;
28422
28460
  data?: import("../integrations/supabase/types").Json;
28423
28461
  floriday_id?: string;
@@ -31436,6 +31474,7 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
31436
31474
  id: string;
31437
31475
  image_url: string | null;
31438
31476
  incoming_quantity: number;
31477
+ is_layer: boolean;
31439
31478
  layers_per_cart: number;
31440
31479
  location: string;
31441
31480
  min_quantity: number;
@@ -31463,6 +31502,7 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
31463
31502
  id?: string;
31464
31503
  image_url?: string | null;
31465
31504
  incoming_quantity?: number;
31505
+ is_layer?: boolean;
31466
31506
  layers_per_cart?: number;
31467
31507
  location: string;
31468
31508
  min_quantity?: number;
@@ -31490,6 +31530,7 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
31490
31530
  id?: string;
31491
31531
  image_url?: string | null;
31492
31532
  incoming_quantity?: number;
31533
+ is_layer?: boolean;
31493
31534
  layers_per_cart?: number;
31494
31535
  location?: string;
31495
31536
  min_quantity?: number;
@@ -35004,6 +35045,13 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
35004
35045
  };
35005
35046
  Returns: undefined;
35006
35047
  };
35048
+ mark_salesorder_controlled: {
35049
+ Args: {
35050
+ p_controlled: boolean;
35051
+ p_floriday_id: string;
35052
+ };
35053
+ Returns: undefined;
35054
+ };
35007
35055
  mark_shipment_shipped: {
35008
35056
  Args: {
35009
35057
  p_shipment_id: string;
@@ -40253,6 +40301,8 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
40253
40301
  Row: {
40254
40302
  buyer_organization_id: string | null;
40255
40303
  connection_id: string;
40304
+ controlled_at: string | null;
40305
+ controlled_by: string | null;
40256
40306
  created_at: string;
40257
40307
  data: import("../integrations/supabase/types").Json;
40258
40308
  floriday_id: string;
@@ -40264,6 +40314,8 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
40264
40314
  Insert: {
40265
40315
  buyer_organization_id?: string | null;
40266
40316
  connection_id: string;
40317
+ controlled_at?: string | null;
40318
+ controlled_by?: string | null;
40267
40319
  created_at?: string;
40268
40320
  data: import("../integrations/supabase/types").Json;
40269
40321
  floriday_id: string;
@@ -40275,6 +40327,8 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
40275
40327
  Update: {
40276
40328
  buyer_organization_id?: string | null;
40277
40329
  connection_id?: string;
40330
+ controlled_at?: string | null;
40331
+ controlled_by?: string | null;
40278
40332
  created_at?: string;
40279
40333
  data?: import("../integrations/supabase/types").Json;
40280
40334
  floriday_id?: string;
@@ -43293,6 +43347,7 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
43293
43347
  id: string;
43294
43348
  image_url: string | null;
43295
43349
  incoming_quantity: number;
43350
+ is_layer: boolean;
43296
43351
  layers_per_cart: number;
43297
43352
  location: string;
43298
43353
  min_quantity: number;
@@ -43320,6 +43375,7 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
43320
43375
  id?: string;
43321
43376
  image_url?: string | null;
43322
43377
  incoming_quantity?: number;
43378
+ is_layer?: boolean;
43323
43379
  layers_per_cart?: number;
43324
43380
  location: string;
43325
43381
  min_quantity?: number;
@@ -43347,6 +43403,7 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
43347
43403
  id?: string;
43348
43404
  image_url?: string | null;
43349
43405
  incoming_quantity?: number;
43406
+ is_layer?: boolean;
43350
43407
  layers_per_cart?: number;
43351
43408
  location?: string;
43352
43409
  min_quantity?: number;
@@ -46861,6 +46918,13 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
46861
46918
  };
46862
46919
  Returns: undefined;
46863
46920
  };
46921
+ mark_salesorder_controlled: {
46922
+ Args: {
46923
+ p_controlled: boolean;
46924
+ p_floriday_id: string;
46925
+ };
46926
+ Returns: undefined;
46927
+ };
46864
46928
  mark_shipment_shipped: {
46865
46929
  Args: {
46866
46930
  p_shipment_id: string;
@@ -52095,6 +52159,8 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
52095
52159
  Row: {
52096
52160
  buyer_organization_id: string | null;
52097
52161
  connection_id: string;
52162
+ controlled_at: string | null;
52163
+ controlled_by: string | null;
52098
52164
  created_at: string;
52099
52165
  data: import("../integrations/supabase/types").Json;
52100
52166
  floriday_id: string;
@@ -52106,6 +52172,8 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
52106
52172
  Insert: {
52107
52173
  buyer_organization_id?: string | null;
52108
52174
  connection_id: string;
52175
+ controlled_at?: string | null;
52176
+ controlled_by?: string | null;
52109
52177
  created_at?: string;
52110
52178
  data: import("../integrations/supabase/types").Json;
52111
52179
  floriday_id: string;
@@ -52117,6 +52185,8 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
52117
52185
  Update: {
52118
52186
  buyer_organization_id?: string | null;
52119
52187
  connection_id?: string;
52188
+ controlled_at?: string | null;
52189
+ controlled_by?: string | null;
52120
52190
  created_at?: string;
52121
52191
  data?: import("../integrations/supabase/types").Json;
52122
52192
  floriday_id?: string;
@@ -55135,6 +55205,7 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
55135
55205
  id: string;
55136
55206
  image_url: string | null;
55137
55207
  incoming_quantity: number;
55208
+ is_layer: boolean;
55138
55209
  layers_per_cart: number;
55139
55210
  location: string;
55140
55211
  min_quantity: number;
@@ -55162,6 +55233,7 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
55162
55233
  id?: string;
55163
55234
  image_url?: string | null;
55164
55235
  incoming_quantity?: number;
55236
+ is_layer?: boolean;
55165
55237
  layers_per_cart?: number;
55166
55238
  location: string;
55167
55239
  min_quantity?: number;
@@ -55189,6 +55261,7 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
55189
55261
  id?: string;
55190
55262
  image_url?: string | null;
55191
55263
  incoming_quantity?: number;
55264
+ is_layer?: boolean;
55192
55265
  layers_per_cart?: number;
55193
55266
  location?: string;
55194
55267
  min_quantity?: number;
@@ -58703,6 +58776,13 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
58703
58776
  };
58704
58777
  Returns: undefined;
58705
58778
  };
58779
+ mark_salesorder_controlled: {
58780
+ Args: {
58781
+ p_controlled: boolean;
58782
+ p_floriday_id: string;
58783
+ };
58784
+ Returns: undefined;
58785
+ };
58706
58786
  mark_shipment_shipped: {
58707
58787
  Args: {
58708
58788
  p_shipment_id: string;
@@ -63940,6 +64020,8 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
63940
64020
  Row: {
63941
64021
  buyer_organization_id: string | null;
63942
64022
  connection_id: string;
64023
+ controlled_at: string | null;
64024
+ controlled_by: string | null;
63943
64025
  created_at: string;
63944
64026
  data: import("../integrations/supabase/types").Json;
63945
64027
  floriday_id: string;
@@ -63951,6 +64033,8 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
63951
64033
  Insert: {
63952
64034
  buyer_organization_id?: string | null;
63953
64035
  connection_id: string;
64036
+ controlled_at?: string | null;
64037
+ controlled_by?: string | null;
63954
64038
  created_at?: string;
63955
64039
  data: import("../integrations/supabase/types").Json;
63956
64040
  floriday_id: string;
@@ -63962,6 +64046,8 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
63962
64046
  Update: {
63963
64047
  buyer_organization_id?: string | null;
63964
64048
  connection_id?: string;
64049
+ controlled_at?: string | null;
64050
+ controlled_by?: string | null;
63965
64051
  created_at?: string;
63966
64052
  data?: import("../integrations/supabase/types").Json;
63967
64053
  floriday_id?: string;
@@ -66980,6 +67066,7 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
66980
67066
  id: string;
66981
67067
  image_url: string | null;
66982
67068
  incoming_quantity: number;
67069
+ is_layer: boolean;
66983
67070
  layers_per_cart: number;
66984
67071
  location: string;
66985
67072
  min_quantity: number;
@@ -67007,6 +67094,7 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
67007
67094
  id?: string;
67008
67095
  image_url?: string | null;
67009
67096
  incoming_quantity?: number;
67097
+ is_layer?: boolean;
67010
67098
  layers_per_cart?: number;
67011
67099
  location: string;
67012
67100
  min_quantity?: number;
@@ -67034,6 +67122,7 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
67034
67122
  id?: string;
67035
67123
  image_url?: string | null;
67036
67124
  incoming_quantity?: number;
67125
+ is_layer?: boolean;
67037
67126
  layers_per_cart?: number;
67038
67127
  location?: string;
67039
67128
  min_quantity?: number;
@@ -70548,6 +70637,13 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
70548
70637
  };
70549
70638
  Returns: undefined;
70550
70639
  };
70640
+ mark_salesorder_controlled: {
70641
+ Args: {
70642
+ p_controlled: boolean;
70643
+ p_floriday_id: string;
70644
+ };
70645
+ Returns: undefined;
70646
+ };
70551
70647
  mark_shipment_shipped: {
70552
70648
  Args: {
70553
70649
  p_shipment_id: string;
@@ -75779,6 +75875,8 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
75779
75875
  Row: {
75780
75876
  buyer_organization_id: string | null;
75781
75877
  connection_id: string;
75878
+ controlled_at: string | null;
75879
+ controlled_by: string | null;
75782
75880
  created_at: string;
75783
75881
  data: import("../integrations/supabase/types").Json;
75784
75882
  floriday_id: string;
@@ -75790,6 +75888,8 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
75790
75888
  Insert: {
75791
75889
  buyer_organization_id?: string | null;
75792
75890
  connection_id: string;
75891
+ controlled_at?: string | null;
75892
+ controlled_by?: string | null;
75793
75893
  created_at?: string;
75794
75894
  data: import("../integrations/supabase/types").Json;
75795
75895
  floriday_id: string;
@@ -75801,6 +75901,8 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
75801
75901
  Update: {
75802
75902
  buyer_organization_id?: string | null;
75803
75903
  connection_id?: string;
75904
+ controlled_at?: string | null;
75905
+ controlled_by?: string | null;
75804
75906
  created_at?: string;
75805
75907
  data?: import("../integrations/supabase/types").Json;
75806
75908
  floriday_id?: string;
@@ -78819,6 +78921,7 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
78819
78921
  id: string;
78820
78922
  image_url: string | null;
78821
78923
  incoming_quantity: number;
78924
+ is_layer: boolean;
78822
78925
  layers_per_cart: number;
78823
78926
  location: string;
78824
78927
  min_quantity: number;
@@ -78846,6 +78949,7 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
78846
78949
  id?: string;
78847
78950
  image_url?: string | null;
78848
78951
  incoming_quantity?: number;
78952
+ is_layer?: boolean;
78849
78953
  layers_per_cart?: number;
78850
78954
  location: string;
78851
78955
  min_quantity?: number;
@@ -78873,6 +78977,7 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
78873
78977
  id?: string;
78874
78978
  image_url?: string | null;
78875
78979
  incoming_quantity?: number;
78980
+ is_layer?: boolean;
78876
78981
  layers_per_cart?: number;
78877
78982
  location?: string;
78878
78983
  min_quantity?: number;
@@ -82387,6 +82492,13 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
82387
82492
  };
82388
82493
  Returns: undefined;
82389
82494
  };
82495
+ mark_salesorder_controlled: {
82496
+ Args: {
82497
+ p_controlled: boolean;
82498
+ p_floriday_id: string;
82499
+ };
82500
+ Returns: undefined;
82501
+ };
82390
82502
  mark_shipment_shipped: {
82391
82503
  Args: {
82392
82504
  p_shipment_id: string;
@@ -87639,6 +87751,8 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
87639
87751
  Row: {
87640
87752
  buyer_organization_id: string | null;
87641
87753
  connection_id: string;
87754
+ controlled_at: string | null;
87755
+ controlled_by: string | null;
87642
87756
  created_at: string;
87643
87757
  data: import("../integrations/supabase/types").Json;
87644
87758
  floriday_id: string;
@@ -87650,6 +87764,8 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
87650
87764
  Insert: {
87651
87765
  buyer_organization_id?: string | null;
87652
87766
  connection_id: string;
87767
+ controlled_at?: string | null;
87768
+ controlled_by?: string | null;
87653
87769
  created_at?: string;
87654
87770
  data: import("../integrations/supabase/types").Json;
87655
87771
  floriday_id: string;
@@ -87661,6 +87777,8 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
87661
87777
  Update: {
87662
87778
  buyer_organization_id?: string | null;
87663
87779
  connection_id?: string;
87780
+ controlled_at?: string | null;
87781
+ controlled_by?: string | null;
87664
87782
  created_at?: string;
87665
87783
  data?: import("../integrations/supabase/types").Json;
87666
87784
  floriday_id?: string;
@@ -90679,6 +90797,7 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
90679
90797
  id: string;
90680
90798
  image_url: string | null;
90681
90799
  incoming_quantity: number;
90800
+ is_layer: boolean;
90682
90801
  layers_per_cart: number;
90683
90802
  location: string;
90684
90803
  min_quantity: number;
@@ -90706,6 +90825,7 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
90706
90825
  id?: string;
90707
90826
  image_url?: string | null;
90708
90827
  incoming_quantity?: number;
90828
+ is_layer?: boolean;
90709
90829
  layers_per_cart?: number;
90710
90830
  location: string;
90711
90831
  min_quantity?: number;
@@ -90733,6 +90853,7 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
90733
90853
  id?: string;
90734
90854
  image_url?: string | null;
90735
90855
  incoming_quantity?: number;
90856
+ is_layer?: boolean;
90736
90857
  layers_per_cart?: number;
90737
90858
  location?: string;
90738
90859
  min_quantity?: number;
@@ -94247,6 +94368,13 @@ export declare const deleteLocalOrder: import("@tanstack/start-client-core").Opt
94247
94368
  };
94248
94369
  Returns: undefined;
94249
94370
  };
94371
+ mark_salesorder_controlled: {
94372
+ Args: {
94373
+ p_controlled: boolean;
94374
+ p_floriday_id: string;
94375
+ };
94376
+ Returns: undefined;
94377
+ };
94250
94378
  mark_shipment_shipped: {
94251
94379
  Args: {
94252
94380
  p_shipment_id: string;
@@ -99482,6 +99610,8 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
99482
99610
  Row: {
99483
99611
  buyer_organization_id: string | null;
99484
99612
  connection_id: string;
99613
+ controlled_at: string | null;
99614
+ controlled_by: string | null;
99485
99615
  created_at: string;
99486
99616
  data: import("../integrations/supabase/types").Json;
99487
99617
  floriday_id: string;
@@ -99493,6 +99623,8 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
99493
99623
  Insert: {
99494
99624
  buyer_organization_id?: string | null;
99495
99625
  connection_id: string;
99626
+ controlled_at?: string | null;
99627
+ controlled_by?: string | null;
99496
99628
  created_at?: string;
99497
99629
  data: import("../integrations/supabase/types").Json;
99498
99630
  floriday_id: string;
@@ -99504,6 +99636,8 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
99504
99636
  Update: {
99505
99637
  buyer_organization_id?: string | null;
99506
99638
  connection_id?: string;
99639
+ controlled_at?: string | null;
99640
+ controlled_by?: string | null;
99507
99641
  created_at?: string;
99508
99642
  data?: import("../integrations/supabase/types").Json;
99509
99643
  floriday_id?: string;
@@ -102522,6 +102656,7 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
102522
102656
  id: string;
102523
102657
  image_url: string | null;
102524
102658
  incoming_quantity: number;
102659
+ is_layer: boolean;
102525
102660
  layers_per_cart: number;
102526
102661
  location: string;
102527
102662
  min_quantity: number;
@@ -102549,6 +102684,7 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
102549
102684
  id?: string;
102550
102685
  image_url?: string | null;
102551
102686
  incoming_quantity?: number;
102687
+ is_layer?: boolean;
102552
102688
  layers_per_cart?: number;
102553
102689
  location: string;
102554
102690
  min_quantity?: number;
@@ -102576,6 +102712,7 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
102576
102712
  id?: string;
102577
102713
  image_url?: string | null;
102578
102714
  incoming_quantity?: number;
102715
+ is_layer?: boolean;
102579
102716
  layers_per_cart?: number;
102580
102717
  location?: string;
102581
102718
  min_quantity?: number;
@@ -106090,6 +106227,13 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
106090
106227
  };
106091
106228
  Returns: undefined;
106092
106229
  };
106230
+ mark_salesorder_controlled: {
106231
+ Args: {
106232
+ p_controlled: boolean;
106233
+ p_floriday_id: string;
106234
+ };
106235
+ Returns: undefined;
106236
+ };
106093
106237
  mark_shipment_shipped: {
106094
106238
  Args: {
106095
106239
  p_shipment_id: string;
@@ -111345,6 +111489,8 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
111345
111489
  Row: {
111346
111490
  buyer_organization_id: string | null;
111347
111491
  connection_id: string;
111492
+ controlled_at: string | null;
111493
+ controlled_by: string | null;
111348
111494
  created_at: string;
111349
111495
  data: import("../integrations/supabase/types").Json;
111350
111496
  floriday_id: string;
@@ -111356,6 +111502,8 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
111356
111502
  Insert: {
111357
111503
  buyer_organization_id?: string | null;
111358
111504
  connection_id: string;
111505
+ controlled_at?: string | null;
111506
+ controlled_by?: string | null;
111359
111507
  created_at?: string;
111360
111508
  data: import("../integrations/supabase/types").Json;
111361
111509
  floriday_id: string;
@@ -111367,6 +111515,8 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
111367
111515
  Update: {
111368
111516
  buyer_organization_id?: string | null;
111369
111517
  connection_id?: string;
111518
+ controlled_at?: string | null;
111519
+ controlled_by?: string | null;
111370
111520
  created_at?: string;
111371
111521
  data?: import("../integrations/supabase/types").Json;
111372
111522
  floriday_id?: string;
@@ -114385,6 +114535,7 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
114385
114535
  id: string;
114386
114536
  image_url: string | null;
114387
114537
  incoming_quantity: number;
114538
+ is_layer: boolean;
114388
114539
  layers_per_cart: number;
114389
114540
  location: string;
114390
114541
  min_quantity: number;
@@ -114412,6 +114563,7 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
114412
114563
  id?: string;
114413
114564
  image_url?: string | null;
114414
114565
  incoming_quantity?: number;
114566
+ is_layer?: boolean;
114415
114567
  layers_per_cart?: number;
114416
114568
  location: string;
114417
114569
  min_quantity?: number;
@@ -114439,6 +114591,7 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
114439
114591
  id?: string;
114440
114592
  image_url?: string | null;
114441
114593
  incoming_quantity?: number;
114594
+ is_layer?: boolean;
114442
114595
  layers_per_cart?: number;
114443
114596
  location?: string;
114444
114597
  min_quantity?: number;
@@ -117953,6 +118106,13 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
117953
118106
  };
117954
118107
  Returns: undefined;
117955
118108
  };
118109
+ mark_salesorder_controlled: {
118110
+ Args: {
118111
+ p_controlled: boolean;
118112
+ p_floriday_id: string;
118113
+ };
118114
+ Returns: undefined;
118115
+ };
117956
118116
  mark_shipment_shipped: {
117957
118117
  Args: {
117958
118118
  p_shipment_id: string;
@@ -123198,6 +123358,8 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
123198
123358
  Row: {
123199
123359
  buyer_organization_id: string | null;
123200
123360
  connection_id: string;
123361
+ controlled_at: string | null;
123362
+ controlled_by: string | null;
123201
123363
  created_at: string;
123202
123364
  data: import("../integrations/supabase/types").Json;
123203
123365
  floriday_id: string;
@@ -123209,6 +123371,8 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
123209
123371
  Insert: {
123210
123372
  buyer_organization_id?: string | null;
123211
123373
  connection_id: string;
123374
+ controlled_at?: string | null;
123375
+ controlled_by?: string | null;
123212
123376
  created_at?: string;
123213
123377
  data: import("../integrations/supabase/types").Json;
123214
123378
  floriday_id: string;
@@ -123220,6 +123384,8 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
123220
123384
  Update: {
123221
123385
  buyer_organization_id?: string | null;
123222
123386
  connection_id?: string;
123387
+ controlled_at?: string | null;
123388
+ controlled_by?: string | null;
123223
123389
  created_at?: string;
123224
123390
  data?: import("../integrations/supabase/types").Json;
123225
123391
  floriday_id?: string;
@@ -126238,6 +126404,7 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
126238
126404
  id: string;
126239
126405
  image_url: string | null;
126240
126406
  incoming_quantity: number;
126407
+ is_layer: boolean;
126241
126408
  layers_per_cart: number;
126242
126409
  location: string;
126243
126410
  min_quantity: number;
@@ -126265,6 +126432,7 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
126265
126432
  id?: string;
126266
126433
  image_url?: string | null;
126267
126434
  incoming_quantity?: number;
126435
+ is_layer?: boolean;
126268
126436
  layers_per_cart?: number;
126269
126437
  location: string;
126270
126438
  min_quantity?: number;
@@ -126292,6 +126460,7 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
126292
126460
  id?: string;
126293
126461
  image_url?: string | null;
126294
126462
  incoming_quantity?: number;
126463
+ is_layer?: boolean;
126295
126464
  layers_per_cart?: number;
126296
126465
  location?: string;
126297
126466
  min_quantity?: number;
@@ -129806,6 +129975,13 @@ export declare const getLocalOrderForEdit: import("@tanstack/start-client-core")
129806
129975
  };
129807
129976
  Returns: undefined;
129808
129977
  };
129978
+ mark_salesorder_controlled: {
129979
+ Args: {
129980
+ p_controlled: boolean;
129981
+ p_floriday_id: string;
129982
+ };
129983
+ Returns: undefined;
129984
+ };
129809
129985
  mark_shipment_shipped: {
129810
129986
  Args: {
129811
129987
  p_shipment_id: string;
@@ -135054,6 +135230,8 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
135054
135230
  Row: {
135055
135231
  buyer_organization_id: string | null;
135056
135232
  connection_id: string;
135233
+ controlled_at: string | null;
135234
+ controlled_by: string | null;
135057
135235
  created_at: string;
135058
135236
  data: import("../integrations/supabase/types").Json;
135059
135237
  floriday_id: string;
@@ -135065,6 +135243,8 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
135065
135243
  Insert: {
135066
135244
  buyer_organization_id?: string | null;
135067
135245
  connection_id: string;
135246
+ controlled_at?: string | null;
135247
+ controlled_by?: string | null;
135068
135248
  created_at?: string;
135069
135249
  data: import("../integrations/supabase/types").Json;
135070
135250
  floriday_id: string;
@@ -135076,6 +135256,8 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
135076
135256
  Update: {
135077
135257
  buyer_organization_id?: string | null;
135078
135258
  connection_id?: string;
135259
+ controlled_at?: string | null;
135260
+ controlled_by?: string | null;
135079
135261
  created_at?: string;
135080
135262
  data?: import("../integrations/supabase/types").Json;
135081
135263
  floriday_id?: string;
@@ -138094,6 +138276,7 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
138094
138276
  id: string;
138095
138277
  image_url: string | null;
138096
138278
  incoming_quantity: number;
138279
+ is_layer: boolean;
138097
138280
  layers_per_cart: number;
138098
138281
  location: string;
138099
138282
  min_quantity: number;
@@ -138121,6 +138304,7 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
138121
138304
  id?: string;
138122
138305
  image_url?: string | null;
138123
138306
  incoming_quantity?: number;
138307
+ is_layer?: boolean;
138124
138308
  layers_per_cart?: number;
138125
138309
  location: string;
138126
138310
  min_quantity?: number;
@@ -138148,6 +138332,7 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
138148
138332
  id?: string;
138149
138333
  image_url?: string | null;
138150
138334
  incoming_quantity?: number;
138335
+ is_layer?: boolean;
138151
138336
  layers_per_cart?: number;
138152
138337
  location?: string;
138153
138338
  min_quantity?: number;
@@ -141662,6 +141847,13 @@ export declare const updateLocalOrder: import("@tanstack/start-client-core").Opt
141662
141847
  };
141663
141848
  Returns: undefined;
141664
141849
  };
141850
+ mark_salesorder_controlled: {
141851
+ Args: {
141852
+ p_controlled: boolean;
141853
+ p_floriday_id: string;
141854
+ };
141855
+ Returns: undefined;
141856
+ };
141665
141857
  mark_shipment_shipped: {
141666
141858
  Args: {
141667
141859
  p_shipment_id: string;