@flowselections/floriday-voorraad 1.0.21 → 1.0.23

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 (33) hide show
  1. package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
  2. package/dist-lib/components/voorraad/ArtikelWizard.js +31 -1
  3. package/dist-lib/components/voorraad/FloridayInfoCard.d.ts +12 -0
  4. package/dist-lib/components/voorraad/FloridayInfoCard.d.ts.map +1 -0
  5. package/dist-lib/components/voorraad/FloridayInfoCard.js +85 -0
  6. package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
  7. package/dist-lib/components/voorraad/VoorraadTable.js +15 -1
  8. package/dist-lib/hooks/useVoorraadData.d.ts.map +1 -1
  9. package/dist-lib/hooks/useVoorraadData.js +80 -11
  10. package/dist-lib/integrations/supabase/auth-middleware.d.ts +26 -0
  11. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  12. package/dist-lib/integrations/supabase/client.d.ts +26 -0
  13. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  14. package/dist-lib/integrations/supabase/client.server.d.ts +26 -0
  15. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  16. package/dist-lib/integrations/supabase/types.d.ts +26 -0
  17. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  18. package/dist-lib/lib/floricode-required-features.functions.d.ts +26 -0
  19. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/floriday-client.d.ts +4 -0
  21. package/dist-lib/lib/floriday-client.d.ts.map +1 -1
  22. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +26 -0
  23. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/floriday-gateway.functions.d.ts +130 -0
  25. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floriday-info.d.ts +54 -0
  27. package/dist-lib/lib/floriday-info.d.ts.map +1 -0
  28. package/dist-lib/lib/floriday-info.js +114 -0
  29. package/dist-lib/lib/floriday-warehouse.functions.d.ts +78 -0
  30. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-writes.functions.d.ts +52 -0
  32. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  33. package/package.json +1 -1
@@ -4725,6 +4725,8 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
4725
4725
  Row: {
4726
4726
  buyer_organization_id: string | null;
4727
4727
  connection_id: string;
4728
+ controlled_at: string | null;
4729
+ controlled_by: string | null;
4728
4730
  created_at: string;
4729
4731
  data: import("../integrations/supabase/types").Json;
4730
4732
  floriday_id: string;
@@ -4736,6 +4738,8 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
4736
4738
  Insert: {
4737
4739
  buyer_organization_id?: string | null;
4738
4740
  connection_id: string;
4741
+ controlled_at?: string | null;
4742
+ controlled_by?: string | null;
4739
4743
  created_at?: string;
4740
4744
  data: import("../integrations/supabase/types").Json;
4741
4745
  floriday_id: string;
@@ -4747,6 +4751,8 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
4747
4751
  Update: {
4748
4752
  buyer_organization_id?: string | null;
4749
4753
  connection_id?: string;
4754
+ controlled_at?: string | null;
4755
+ controlled_by?: string | null;
4750
4756
  created_at?: string;
4751
4757
  data?: import("../integrations/supabase/types").Json;
4752
4758
  floriday_id?: string;
@@ -7765,6 +7771,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
7765
7771
  id: string;
7766
7772
  image_url: string | null;
7767
7773
  incoming_quantity: number;
7774
+ is_layer: boolean;
7768
7775
  layers_per_cart: number;
7769
7776
  location: string;
7770
7777
  min_quantity: number;
@@ -7792,6 +7799,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
7792
7799
  id?: string;
7793
7800
  image_url?: string | null;
7794
7801
  incoming_quantity?: number;
7802
+ is_layer?: boolean;
7795
7803
  layers_per_cart?: number;
7796
7804
  location: string;
7797
7805
  min_quantity?: number;
@@ -7819,6 +7827,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
7819
7827
  id?: string;
7820
7828
  image_url?: string | null;
7821
7829
  incoming_quantity?: number;
7830
+ is_layer?: boolean;
7822
7831
  layers_per_cart?: number;
7823
7832
  location?: string;
7824
7833
  min_quantity?: number;
@@ -11333,6 +11342,13 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
11333
11342
  };
11334
11343
  Returns: undefined;
11335
11344
  };
11345
+ mark_salesorder_controlled: {
11346
+ Args: {
11347
+ p_controlled: boolean;
11348
+ p_floriday_id: string;
11349
+ };
11350
+ Returns: undefined;
11351
+ };
11336
11352
  mark_shipment_shipped: {
11337
11353
  Args: {
11338
11354
  p_shipment_id: string;
@@ -11789,6 +11805,10 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
11789
11805
  };
11790
11806
  Returns: number;
11791
11807
  };
11808
+ self_heal_floriday_links: {
11809
+ Args: never;
11810
+ Returns: number;
11811
+ };
11792
11812
  show_limit: {
11793
11813
  Args: never;
11794
11814
  Returns: number;
@@ -11811,6 +11831,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
11811
11831
  };
11812
11832
  Returns: undefined;
11813
11833
  };
11834
+ sync_product_group_belading: {
11835
+ Args: {
11836
+ _group_id: string;
11837
+ };
11838
+ Returns: undefined;
11839
+ };
11814
11840
  sync_product_packing_from_floriday_cache: {
11815
11841
  Args: {
11816
11842
  p_floriday_id: string;
@@ -16556,6 +16582,8 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
16556
16582
  Row: {
16557
16583
  buyer_organization_id: string | null;
16558
16584
  connection_id: string;
16585
+ controlled_at: string | null;
16586
+ controlled_by: string | null;
16559
16587
  created_at: string;
16560
16588
  data: import("../integrations/supabase/types").Json;
16561
16589
  floriday_id: string;
@@ -16567,6 +16595,8 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
16567
16595
  Insert: {
16568
16596
  buyer_organization_id?: string | null;
16569
16597
  connection_id: string;
16598
+ controlled_at?: string | null;
16599
+ controlled_by?: string | null;
16570
16600
  created_at?: string;
16571
16601
  data: import("../integrations/supabase/types").Json;
16572
16602
  floriday_id: string;
@@ -16578,6 +16608,8 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
16578
16608
  Update: {
16579
16609
  buyer_organization_id?: string | null;
16580
16610
  connection_id?: string;
16611
+ controlled_at?: string | null;
16612
+ controlled_by?: string | null;
16581
16613
  created_at?: string;
16582
16614
  data?: import("../integrations/supabase/types").Json;
16583
16615
  floriday_id?: string;
@@ -19596,6 +19628,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
19596
19628
  id: string;
19597
19629
  image_url: string | null;
19598
19630
  incoming_quantity: number;
19631
+ is_layer: boolean;
19599
19632
  layers_per_cart: number;
19600
19633
  location: string;
19601
19634
  min_quantity: number;
@@ -19623,6 +19656,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
19623
19656
  id?: string;
19624
19657
  image_url?: string | null;
19625
19658
  incoming_quantity?: number;
19659
+ is_layer?: boolean;
19626
19660
  layers_per_cart?: number;
19627
19661
  location: string;
19628
19662
  min_quantity?: number;
@@ -19650,6 +19684,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
19650
19684
  id?: string;
19651
19685
  image_url?: string | null;
19652
19686
  incoming_quantity?: number;
19687
+ is_layer?: boolean;
19653
19688
  layers_per_cart?: number;
19654
19689
  location?: string;
19655
19690
  min_quantity?: number;
@@ -23164,6 +23199,13 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
23164
23199
  };
23165
23200
  Returns: undefined;
23166
23201
  };
23202
+ mark_salesorder_controlled: {
23203
+ Args: {
23204
+ p_controlled: boolean;
23205
+ p_floriday_id: string;
23206
+ };
23207
+ Returns: undefined;
23208
+ };
23167
23209
  mark_shipment_shipped: {
23168
23210
  Args: {
23169
23211
  p_shipment_id: string;
@@ -23620,6 +23662,10 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
23620
23662
  };
23621
23663
  Returns: number;
23622
23664
  };
23665
+ self_heal_floriday_links: {
23666
+ Args: never;
23667
+ Returns: number;
23668
+ };
23623
23669
  show_limit: {
23624
23670
  Args: never;
23625
23671
  Returns: number;
@@ -23642,6 +23688,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
23642
23688
  };
23643
23689
  Returns: undefined;
23644
23690
  };
23691
+ sync_product_group_belading: {
23692
+ Args: {
23693
+ _group_id: string;
23694
+ };
23695
+ Returns: undefined;
23696
+ };
23645
23697
  sync_product_packing_from_floriday_cache: {
23646
23698
  Args: {
23647
23699
  p_floriday_id: string;
@@ -28387,6 +28439,8 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
28387
28439
  Row: {
28388
28440
  buyer_organization_id: string | null;
28389
28441
  connection_id: string;
28442
+ controlled_at: string | null;
28443
+ controlled_by: string | null;
28390
28444
  created_at: string;
28391
28445
  data: import("../integrations/supabase/types").Json;
28392
28446
  floriday_id: string;
@@ -28398,6 +28452,8 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
28398
28452
  Insert: {
28399
28453
  buyer_organization_id?: string | null;
28400
28454
  connection_id: string;
28455
+ controlled_at?: string | null;
28456
+ controlled_by?: string | null;
28401
28457
  created_at?: string;
28402
28458
  data: import("../integrations/supabase/types").Json;
28403
28459
  floriday_id: string;
@@ -28409,6 +28465,8 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
28409
28465
  Update: {
28410
28466
  buyer_organization_id?: string | null;
28411
28467
  connection_id?: string;
28468
+ controlled_at?: string | null;
28469
+ controlled_by?: string | null;
28412
28470
  created_at?: string;
28413
28471
  data?: import("../integrations/supabase/types").Json;
28414
28472
  floriday_id?: string;
@@ -31427,6 +31485,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
31427
31485
  id: string;
31428
31486
  image_url: string | null;
31429
31487
  incoming_quantity: number;
31488
+ is_layer: boolean;
31430
31489
  layers_per_cart: number;
31431
31490
  location: string;
31432
31491
  min_quantity: number;
@@ -31454,6 +31513,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
31454
31513
  id?: string;
31455
31514
  image_url?: string | null;
31456
31515
  incoming_quantity?: number;
31516
+ is_layer?: boolean;
31457
31517
  layers_per_cart?: number;
31458
31518
  location: string;
31459
31519
  min_quantity?: number;
@@ -31481,6 +31541,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
31481
31541
  id?: string;
31482
31542
  image_url?: string | null;
31483
31543
  incoming_quantity?: number;
31544
+ is_layer?: boolean;
31484
31545
  layers_per_cart?: number;
31485
31546
  location?: string;
31486
31547
  min_quantity?: number;
@@ -34995,6 +35056,13 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
34995
35056
  };
34996
35057
  Returns: undefined;
34997
35058
  };
35059
+ mark_salesorder_controlled: {
35060
+ Args: {
35061
+ p_controlled: boolean;
35062
+ p_floriday_id: string;
35063
+ };
35064
+ Returns: undefined;
35065
+ };
34998
35066
  mark_shipment_shipped: {
34999
35067
  Args: {
35000
35068
  p_shipment_id: string;
@@ -35451,6 +35519,10 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
35451
35519
  };
35452
35520
  Returns: number;
35453
35521
  };
35522
+ self_heal_floriday_links: {
35523
+ Args: never;
35524
+ Returns: number;
35525
+ };
35454
35526
  show_limit: {
35455
35527
  Args: never;
35456
35528
  Returns: number;
@@ -35473,6 +35545,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
35473
35545
  };
35474
35546
  Returns: undefined;
35475
35547
  };
35548
+ sync_product_group_belading: {
35549
+ Args: {
35550
+ _group_id: string;
35551
+ };
35552
+ Returns: undefined;
35553
+ };
35476
35554
  sync_product_packing_from_floriday_cache: {
35477
35555
  Args: {
35478
35556
  p_floriday_id: string;
@@ -40218,6 +40296,8 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
40218
40296
  Row: {
40219
40297
  buyer_organization_id: string | null;
40220
40298
  connection_id: string;
40299
+ controlled_at: string | null;
40300
+ controlled_by: string | null;
40221
40301
  created_at: string;
40222
40302
  data: import("../integrations/supabase/types").Json;
40223
40303
  floriday_id: string;
@@ -40229,6 +40309,8 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
40229
40309
  Insert: {
40230
40310
  buyer_organization_id?: string | null;
40231
40311
  connection_id: string;
40312
+ controlled_at?: string | null;
40313
+ controlled_by?: string | null;
40232
40314
  created_at?: string;
40233
40315
  data: import("../integrations/supabase/types").Json;
40234
40316
  floriday_id: string;
@@ -40240,6 +40322,8 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
40240
40322
  Update: {
40241
40323
  buyer_organization_id?: string | null;
40242
40324
  connection_id?: string;
40325
+ controlled_at?: string | null;
40326
+ controlled_by?: string | null;
40243
40327
  created_at?: string;
40244
40328
  data?: import("../integrations/supabase/types").Json;
40245
40329
  floriday_id?: string;
@@ -43258,6 +43342,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
43258
43342
  id: string;
43259
43343
  image_url: string | null;
43260
43344
  incoming_quantity: number;
43345
+ is_layer: boolean;
43261
43346
  layers_per_cart: number;
43262
43347
  location: string;
43263
43348
  min_quantity: number;
@@ -43285,6 +43370,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
43285
43370
  id?: string;
43286
43371
  image_url?: string | null;
43287
43372
  incoming_quantity?: number;
43373
+ is_layer?: boolean;
43288
43374
  layers_per_cart?: number;
43289
43375
  location: string;
43290
43376
  min_quantity?: number;
@@ -43312,6 +43398,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
43312
43398
  id?: string;
43313
43399
  image_url?: string | null;
43314
43400
  incoming_quantity?: number;
43401
+ is_layer?: boolean;
43315
43402
  layers_per_cart?: number;
43316
43403
  location?: string;
43317
43404
  min_quantity?: number;
@@ -46826,6 +46913,13 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
46826
46913
  };
46827
46914
  Returns: undefined;
46828
46915
  };
46916
+ mark_salesorder_controlled: {
46917
+ Args: {
46918
+ p_controlled: boolean;
46919
+ p_floriday_id: string;
46920
+ };
46921
+ Returns: undefined;
46922
+ };
46829
46923
  mark_shipment_shipped: {
46830
46924
  Args: {
46831
46925
  p_shipment_id: string;
@@ -47282,6 +47376,10 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
47282
47376
  };
47283
47377
  Returns: number;
47284
47378
  };
47379
+ self_heal_floriday_links: {
47380
+ Args: never;
47381
+ Returns: number;
47382
+ };
47285
47383
  show_limit: {
47286
47384
  Args: never;
47287
47385
  Returns: number;
@@ -47304,6 +47402,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
47304
47402
  };
47305
47403
  Returns: undefined;
47306
47404
  };
47405
+ sync_product_group_belading: {
47406
+ Args: {
47407
+ _group_id: string;
47408
+ };
47409
+ Returns: undefined;
47410
+ };
47307
47411
  sync_product_packing_from_floriday_cache: {
47308
47412
  Args: {
47309
47413
  p_floriday_id: string;
@@ -52062,6 +52166,8 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
52062
52166
  Row: {
52063
52167
  buyer_organization_id: string | null;
52064
52168
  connection_id: string;
52169
+ controlled_at: string | null;
52170
+ controlled_by: string | null;
52065
52171
  created_at: string;
52066
52172
  data: import("../integrations/supabase/types").Json;
52067
52173
  floriday_id: string;
@@ -52073,6 +52179,8 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
52073
52179
  Insert: {
52074
52180
  buyer_organization_id?: string | null;
52075
52181
  connection_id: string;
52182
+ controlled_at?: string | null;
52183
+ controlled_by?: string | null;
52076
52184
  created_at?: string;
52077
52185
  data: import("../integrations/supabase/types").Json;
52078
52186
  floriday_id: string;
@@ -52084,6 +52192,8 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
52084
52192
  Update: {
52085
52193
  buyer_organization_id?: string | null;
52086
52194
  connection_id?: string;
52195
+ controlled_at?: string | null;
52196
+ controlled_by?: string | null;
52087
52197
  created_at?: string;
52088
52198
  data?: import("../integrations/supabase/types").Json;
52089
52199
  floriday_id?: string;
@@ -55102,6 +55212,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
55102
55212
  id: string;
55103
55213
  image_url: string | null;
55104
55214
  incoming_quantity: number;
55215
+ is_layer: boolean;
55105
55216
  layers_per_cart: number;
55106
55217
  location: string;
55107
55218
  min_quantity: number;
@@ -55129,6 +55240,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
55129
55240
  id?: string;
55130
55241
  image_url?: string | null;
55131
55242
  incoming_quantity?: number;
55243
+ is_layer?: boolean;
55132
55244
  layers_per_cart?: number;
55133
55245
  location: string;
55134
55246
  min_quantity?: number;
@@ -55156,6 +55268,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
55156
55268
  id?: string;
55157
55269
  image_url?: string | null;
55158
55270
  incoming_quantity?: number;
55271
+ is_layer?: boolean;
55159
55272
  layers_per_cart?: number;
55160
55273
  location?: string;
55161
55274
  min_quantity?: number;
@@ -58670,6 +58783,13 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
58670
58783
  };
58671
58784
  Returns: undefined;
58672
58785
  };
58786
+ mark_salesorder_controlled: {
58787
+ Args: {
58788
+ p_controlled: boolean;
58789
+ p_floriday_id: string;
58790
+ };
58791
+ Returns: undefined;
58792
+ };
58673
58793
  mark_shipment_shipped: {
58674
58794
  Args: {
58675
58795
  p_shipment_id: string;
@@ -59126,6 +59246,10 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
59126
59246
  };
59127
59247
  Returns: number;
59128
59248
  };
59249
+ self_heal_floriday_links: {
59250
+ Args: never;
59251
+ Returns: number;
59252
+ };
59129
59253
  show_limit: {
59130
59254
  Args: never;
59131
59255
  Returns: number;
@@ -59148,6 +59272,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
59148
59272
  };
59149
59273
  Returns: undefined;
59150
59274
  };
59275
+ sync_product_group_belading: {
59276
+ Args: {
59277
+ _group_id: string;
59278
+ };
59279
+ Returns: undefined;
59280
+ };
59151
59281
  sync_product_packing_from_floriday_cache: {
59152
59282
  Args: {
59153
59283
  p_floriday_id: string;