@flowselections/floriday-voorraad 1.0.87 → 1.0.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist-lib/components/voorraad/FloridayTakeoverPanel.d.ts.map +1 -1
  2. package/dist-lib/components/voorraad/FloridayTakeoverPanel.js +21 -8
  3. package/dist-lib/components/voorraad/InventoryStatusBadge.d.ts.map +1 -1
  4. package/dist-lib/components/voorraad/InventoryStatusBadge.js +7 -0
  5. package/dist-lib/hooks/useInventorySettings.d.ts +3 -0
  6. package/dist-lib/hooks/useInventorySettings.d.ts.map +1 -1
  7. package/dist-lib/hooks/useInventorySettings.js +1 -1
  8. package/dist-lib/hooks-entry.d.ts +1 -0
  9. package/dist-lib/hooks-entry.d.ts.map +1 -1
  10. package/dist-lib/hooks-entry.js +1 -0
  11. package/dist-lib/integrations/supabase/types.d.ts +307 -15
  12. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  13. package/dist-lib/lib/__tests__/floriday-customer-offers.test.d.ts +2 -0
  14. package/dist-lib/lib/__tests__/floriday-customer-offers.test.d.ts.map +1 -0
  15. package/dist-lib/lib/__tests__/floriday-customer-offers.test.js +36 -0
  16. package/dist-lib/lib/floriday-customer-offers.d.ts +25 -0
  17. package/dist-lib/lib/floriday-customer-offers.d.ts.map +1 -0
  18. package/dist-lib/lib/floriday-customer-offers.js +49 -0
  19. package/dist-lib/lib/floriday-takeover-core.d.ts +71 -0
  20. package/dist-lib/lib/floriday-takeover-core.d.ts.map +1 -0
  21. package/dist-lib/lib/floriday-takeover-core.js +196 -0
  22. package/dist-lib/lib/floriday-takeover.functions.d.ts +5 -49
  23. package/dist-lib/lib/floriday-takeover.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/floriday-takeover.functions.js +3 -219
  25. package/dist-lib/server-hooks/floriday-follow.d.ts +3 -0
  26. package/dist-lib/server-hooks/floriday-follow.d.ts.map +1 -0
  27. package/dist-lib/server-hooks/floriday-follow.js +46 -0
  28. package/dist-lib/server-hooks/guard.d.ts.map +1 -1
  29. package/dist-lib/server-hooks/guard.js +6 -1
  30. package/package.json +16 -2
  31. package/sql/AGENTS.md +3 -0
  32. package/sql/floriday-voorraad-schema.sql +8194 -0
@@ -606,24 +606,36 @@ export type Database = {
606
606
  ai_modules: {
607
607
  Row: {
608
608
  ai_enabled: boolean;
609
+ ai_source: string;
609
610
  created_at: string;
611
+ declared_ai: boolean;
610
612
  id: string;
613
+ is_in_use: boolean;
614
+ last_declared_at: string | null;
611
615
  module_key: string;
612
616
  module_name: string;
613
617
  updated_at: string;
614
618
  };
615
619
  Insert: {
616
620
  ai_enabled?: boolean;
621
+ ai_source?: string;
617
622
  created_at?: string;
623
+ declared_ai?: boolean;
618
624
  id?: string;
625
+ is_in_use?: boolean;
626
+ last_declared_at?: string | null;
619
627
  module_key: string;
620
628
  module_name: string;
621
629
  updated_at?: string;
622
630
  };
623
631
  Update: {
624
632
  ai_enabled?: boolean;
633
+ ai_source?: string;
625
634
  created_at?: string;
635
+ declared_ai?: boolean;
626
636
  id?: string;
637
+ is_in_use?: boolean;
638
+ last_declared_at?: string | null;
627
639
  module_key?: string;
628
640
  module_name?: string;
629
641
  updated_at?: string;
@@ -2235,6 +2247,50 @@ export type Database = {
2235
2247
  }
2236
2248
  ];
2237
2249
  };
2250
+ customer_match_suggestions: {
2251
+ Row: {
2252
+ created_at: string;
2253
+ customer_id: string;
2254
+ decided_at: string | null;
2255
+ decided_by: string | null;
2256
+ floriday_organization_id: string;
2257
+ id: string;
2258
+ reason: string;
2259
+ status: string;
2260
+ updated_at: string;
2261
+ };
2262
+ Insert: {
2263
+ created_at?: string;
2264
+ customer_id: string;
2265
+ decided_at?: string | null;
2266
+ decided_by?: string | null;
2267
+ floriday_organization_id: string;
2268
+ id?: string;
2269
+ reason: string;
2270
+ status?: string;
2271
+ updated_at?: string;
2272
+ };
2273
+ Update: {
2274
+ created_at?: string;
2275
+ customer_id?: string;
2276
+ decided_at?: string | null;
2277
+ decided_by?: string | null;
2278
+ floriday_organization_id?: string;
2279
+ id?: string;
2280
+ reason?: string;
2281
+ status?: string;
2282
+ updated_at?: string;
2283
+ };
2284
+ Relationships: [
2285
+ {
2286
+ foreignKeyName: "customer_match_suggestions_customer_id_fkey";
2287
+ columns: ["customer_id"];
2288
+ isOneToOne: false;
2289
+ referencedRelation: "customers";
2290
+ referencedColumns: ["id"];
2291
+ }
2292
+ ];
2293
+ };
2238
2294
  customer_notes: {
2239
2295
  Row: {
2240
2296
  created_at: string;
@@ -3770,6 +3826,8 @@ export type Database = {
3770
3826
  orientatie: Database["public"]["Enums"]["doc_orientation"];
3771
3827
  page_settings: Json;
3772
3828
  papierformaat: string;
3829
+ standaard_sleutel: string | null;
3830
+ standaard_versie: number | null;
3773
3831
  systeem: boolean;
3774
3832
  thumbnail_url: string | null;
3775
3833
  updated_at: string;
@@ -3795,6 +3853,8 @@ export type Database = {
3795
3853
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3796
3854
  page_settings?: Json;
3797
3855
  papierformaat?: string;
3856
+ standaard_sleutel?: string | null;
3857
+ standaard_versie?: number | null;
3798
3858
  systeem?: boolean;
3799
3859
  thumbnail_url?: string | null;
3800
3860
  updated_at?: string;
@@ -3820,6 +3880,8 @@ export type Database = {
3820
3880
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3821
3881
  page_settings?: Json;
3822
3882
  papierformaat?: string;
3883
+ standaard_sleutel?: string | null;
3884
+ standaard_versie?: number | null;
3823
3885
  systeem?: boolean;
3824
3886
  thumbnail_url?: string | null;
3825
3887
  updated_at?: string;
@@ -6766,7 +6828,11 @@ export type Database = {
6766
6828
  id: string;
6767
6829
  is_active: boolean;
6768
6830
  label: string;
6831
+ organization_fetched_at: string | null;
6832
+ organization_id: string | null;
6833
+ organization_mailing_address: Json | null;
6769
6834
  organization_name: string | null;
6835
+ organization_physical_address: Json | null;
6770
6836
  preferred_warehouse_id: string | null;
6771
6837
  preferred_warehouse_name: string | null;
6772
6838
  read_only: boolean;
@@ -6784,7 +6850,11 @@ export type Database = {
6784
6850
  id?: string;
6785
6851
  is_active?: boolean;
6786
6852
  label?: string;
6853
+ organization_fetched_at?: string | null;
6854
+ organization_id?: string | null;
6855
+ organization_mailing_address?: Json | null;
6787
6856
  organization_name?: string | null;
6857
+ organization_physical_address?: Json | null;
6788
6858
  preferred_warehouse_id?: string | null;
6789
6859
  preferred_warehouse_name?: string | null;
6790
6860
  read_only?: boolean;
@@ -6802,7 +6872,11 @@ export type Database = {
6802
6872
  id?: string;
6803
6873
  is_active?: boolean;
6804
6874
  label?: string;
6875
+ organization_fetched_at?: string | null;
6876
+ organization_id?: string | null;
6877
+ organization_mailing_address?: Json | null;
6805
6878
  organization_name?: string | null;
6879
+ organization_physical_address?: Json | null;
6806
6880
  preferred_warehouse_id?: string | null;
6807
6881
  preferred_warehouse_name?: string | null;
6808
6882
  read_only?: boolean;
@@ -7666,6 +7740,8 @@ export type Database = {
7666
7740
  fixed_quantity: number | null;
7667
7741
  floriday_offer_forms: Json | null;
7668
7742
  floriday_trade_item_id: string | null;
7743
+ follow_floriday_at: string | null;
7744
+ follow_floriday_result: string | null;
7669
7745
  id: string;
7670
7746
  last_confirmed_at: string | null;
7671
7747
  last_enqueued_at: string | null;
@@ -7702,6 +7778,8 @@ export type Database = {
7702
7778
  fixed_quantity?: number | null;
7703
7779
  floriday_offer_forms?: Json | null;
7704
7780
  floriday_trade_item_id?: string | null;
7781
+ follow_floriday_at?: string | null;
7782
+ follow_floriday_result?: string | null;
7705
7783
  id?: string;
7706
7784
  last_confirmed_at?: string | null;
7707
7785
  last_enqueued_at?: string | null;
@@ -7738,6 +7816,8 @@ export type Database = {
7738
7816
  fixed_quantity?: number | null;
7739
7817
  floriday_offer_forms?: Json | null;
7740
7818
  floriday_trade_item_id?: string | null;
7819
+ follow_floriday_at?: string | null;
7820
+ follow_floriday_result?: string | null;
7741
7821
  id?: string;
7742
7822
  last_confirmed_at?: string | null;
7743
7823
  last_enqueued_at?: string | null;
@@ -11364,6 +11444,36 @@ export type Database = {
11364
11444
  };
11365
11445
  Relationships: [];
11366
11446
  };
11447
+ layout_auto_acties: {
11448
+ Row: {
11449
+ actie: string;
11450
+ created_at: string;
11451
+ detail: string;
11452
+ documenttype: string | null;
11453
+ id: string;
11454
+ layout_id: string | null;
11455
+ printer_id: string | null;
11456
+ };
11457
+ Insert: {
11458
+ actie: string;
11459
+ created_at?: string;
11460
+ detail?: string;
11461
+ documenttype?: string | null;
11462
+ id?: string;
11463
+ layout_id?: string | null;
11464
+ printer_id?: string | null;
11465
+ };
11466
+ Update: {
11467
+ actie?: string;
11468
+ created_at?: string;
11469
+ detail?: string;
11470
+ documenttype?: string | null;
11471
+ id?: string;
11472
+ layout_id?: string | null;
11473
+ printer_id?: string | null;
11474
+ };
11475
+ Relationships: [];
11476
+ };
11367
11477
  layout_logos: {
11368
11478
  Row: {
11369
11479
  bestand_url: string;
@@ -11421,6 +11531,51 @@ export type Database = {
11421
11531
  };
11422
11532
  Relationships: [];
11423
11533
  };
11534
+ layout_standaarden: {
11535
+ Row: {
11536
+ breedte_mm: number;
11537
+ config: Json;
11538
+ created_at: string;
11539
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
11540
+ hoogte_mm: number;
11541
+ naam: string;
11542
+ omschrijving: string;
11543
+ page_settings: Json;
11544
+ papierformaat: string;
11545
+ sleutel: string;
11546
+ updated_at: string;
11547
+ versie: number;
11548
+ };
11549
+ Insert: {
11550
+ breedte_mm?: number;
11551
+ config?: Json;
11552
+ created_at?: string;
11553
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
11554
+ hoogte_mm?: number;
11555
+ naam: string;
11556
+ omschrijving?: string;
11557
+ page_settings?: Json;
11558
+ papierformaat?: string;
11559
+ sleutel: string;
11560
+ updated_at?: string;
11561
+ versie: number;
11562
+ };
11563
+ Update: {
11564
+ breedte_mm?: number;
11565
+ config?: Json;
11566
+ created_at?: string;
11567
+ documenttype?: Database["public"]["Enums"]["doc_layout_type"];
11568
+ hoogte_mm?: number;
11569
+ naam?: string;
11570
+ omschrijving?: string;
11571
+ page_settings?: Json;
11572
+ papierformaat?: string;
11573
+ sleutel?: string;
11574
+ updated_at?: string;
11575
+ versie?: number;
11576
+ };
11577
+ Relationships: [];
11578
+ };
11424
11579
  leave_requests: {
11425
11580
  Row: {
11426
11581
  cancellation_requested_at: string | null;
@@ -15544,7 +15699,7 @@ export type Database = {
15544
15699
  name: string;
15545
15700
  produced_stock: number;
15546
15701
  product_code: string;
15547
- tenant_id: string;
15702
+ tenant_id: string | null;
15548
15703
  updated_at: string;
15549
15704
  };
15550
15705
  Insert: {
@@ -15555,7 +15710,7 @@ export type Database = {
15555
15710
  name: string;
15556
15711
  produced_stock?: number;
15557
15712
  product_code: string;
15558
- tenant_id: string;
15713
+ tenant_id?: string | null;
15559
15714
  updated_at?: string;
15560
15715
  };
15561
15716
  Update: {
@@ -15566,7 +15721,7 @@ export type Database = {
15566
15721
  name?: string;
15567
15722
  produced_stock?: number;
15568
15723
  product_code?: string;
15569
- tenant_id?: string;
15724
+ tenant_id?: string | null;
15570
15725
  updated_at?: string;
15571
15726
  };
15572
15727
  Relationships: [];
@@ -17361,6 +17516,7 @@ export type Database = {
17361
17516
  created_at: string;
17362
17517
  id: string;
17363
17518
  layers_per_cart: number | null;
17519
+ needs_sticker: boolean;
17364
17520
  order_id: string;
17365
17521
  packing_locked_at: string | null;
17366
17522
  packing_locked_by: string | null;
@@ -17380,6 +17536,7 @@ export type Database = {
17380
17536
  created_at?: string;
17381
17537
  id?: string;
17382
17538
  layers_per_cart?: number | null;
17539
+ needs_sticker?: boolean;
17383
17540
  order_id: string;
17384
17541
  packing_locked_at?: string | null;
17385
17542
  packing_locked_by?: string | null;
@@ -17399,6 +17556,7 @@ export type Database = {
17399
17556
  created_at?: string;
17400
17557
  id?: string;
17401
17558
  layers_per_cart?: number | null;
17559
+ needs_sticker?: boolean;
17402
17560
  order_id?: string;
17403
17561
  packing_locked_at?: string | null;
17404
17562
  packing_locked_by?: string | null;
@@ -20855,7 +21013,7 @@ export type Database = {
20855
21013
  parent_trade_item_floriday_id: string | null;
20856
21014
  quantity: number;
20857
21015
  sort_order: number;
20858
- tenant_id: string;
21016
+ tenant_id: string | null;
20859
21017
  unit: string;
20860
21018
  updated_at: string;
20861
21019
  };
@@ -20868,7 +21026,7 @@ export type Database = {
20868
21026
  parent_trade_item_floriday_id?: string | null;
20869
21027
  quantity?: number;
20870
21028
  sort_order?: number;
20871
- tenant_id: string;
21029
+ tenant_id?: string | null;
20872
21030
  unit?: string;
20873
21031
  updated_at?: string;
20874
21032
  };
@@ -20881,7 +21039,7 @@ export type Database = {
20881
21039
  parent_trade_item_floriday_id?: string | null;
20882
21040
  quantity?: number;
20883
21041
  sort_order?: number;
20884
- tenant_id?: string;
21042
+ tenant_id?: string | null;
20885
21043
  unit?: string;
20886
21044
  updated_at?: string;
20887
21045
  };
@@ -20914,7 +21072,7 @@ export type Database = {
20914
21072
  parent_trade_item_floriday_id: string | null;
20915
21073
  quantity: number;
20916
21074
  sort_order: number;
20917
- tenant_id: string;
21075
+ tenant_id: string | null;
20918
21076
  unit: string;
20919
21077
  updated_at: string;
20920
21078
  };
@@ -20929,7 +21087,7 @@ export type Database = {
20929
21087
  parent_trade_item_floriday_id?: string | null;
20930
21088
  quantity?: number;
20931
21089
  sort_order?: number;
20932
- tenant_id: string;
21090
+ tenant_id?: string | null;
20933
21091
  unit?: string;
20934
21092
  updated_at?: string;
20935
21093
  };
@@ -20944,7 +21102,7 @@ export type Database = {
20944
21102
  parent_trade_item_floriday_id?: string | null;
20945
21103
  quantity?: number;
20946
21104
  sort_order?: number;
20947
- tenant_id?: string;
21105
+ tenant_id?: string | null;
20948
21106
  unit?: string;
20949
21107
  updated_at?: string;
20950
21108
  };
@@ -21124,7 +21282,7 @@ export type Database = {
21124
21282
  id: string;
21125
21283
  is_active: boolean;
21126
21284
  name: string;
21127
- tenant_id: string;
21285
+ tenant_id: string | null;
21128
21286
  updated_at: string;
21129
21287
  };
21130
21288
  Insert: {
@@ -21135,7 +21293,7 @@ export type Database = {
21135
21293
  id?: string;
21136
21294
  is_active?: boolean;
21137
21295
  name: string;
21138
- tenant_id: string;
21296
+ tenant_id?: string | null;
21139
21297
  updated_at?: string;
21140
21298
  };
21141
21299
  Update: {
@@ -21146,7 +21304,7 @@ export type Database = {
21146
21304
  id?: string;
21147
21305
  is_active?: boolean;
21148
21306
  name?: string;
21149
- tenant_id?: string;
21307
+ tenant_id?: string | null;
21150
21308
  updated_at?: string;
21151
21309
  };
21152
21310
  Relationships: [
@@ -21181,7 +21339,7 @@ export type Database = {
21181
21339
  packages_per_layer: number | null;
21182
21340
  packing_configuration_id: string;
21183
21341
  product_id: string | null;
21184
- tenant_id: string;
21342
+ tenant_id: string | null;
21185
21343
  trade_item_floriday_id: string | null;
21186
21344
  units_per_package: number | null;
21187
21345
  updated_at: string;
@@ -21200,7 +21358,7 @@ export type Database = {
21200
21358
  packages_per_layer?: number | null;
21201
21359
  packing_configuration_id?: string;
21202
21360
  product_id?: string | null;
21203
- tenant_id: string;
21361
+ tenant_id?: string | null;
21204
21362
  trade_item_floriday_id?: string | null;
21205
21363
  units_per_package?: number | null;
21206
21364
  updated_at?: string;
@@ -21219,7 +21377,7 @@ export type Database = {
21219
21377
  packages_per_layer?: number | null;
21220
21378
  packing_configuration_id?: string;
21221
21379
  product_id?: string | null;
21222
- tenant_id?: string;
21380
+ tenant_id?: string | null;
21223
21381
  trade_item_floriday_id?: string | null;
21224
21382
  units_per_package?: number | null;
21225
21383
  updated_at?: string;
@@ -29319,6 +29477,10 @@ export type Database = {
29319
29477
  };
29320
29478
  Returns: string[][];
29321
29479
  };
29480
+ _layout_is_beheerder: {
29481
+ Args: never;
29482
+ Returns: boolean;
29483
+ };
29322
29484
  _migrate_rewrite_stock_key: {
29323
29485
  Args: {
29324
29486
  _from_key: string;
@@ -29534,6 +29696,26 @@ export type Database = {
29534
29696
  Args: never;
29535
29697
  Returns: Json;
29536
29698
  };
29699
+ ai_is_admin: {
29700
+ Args: {
29701
+ _uid: string;
29702
+ };
29703
+ Returns: boolean;
29704
+ };
29705
+ ai_register_consumers: {
29706
+ Args: {
29707
+ _full_list?: boolean;
29708
+ _modules: Json;
29709
+ _source?: string;
29710
+ };
29711
+ Returns: Json;
29712
+ };
29713
+ ai_register_runtime_consumer: {
29714
+ Args: {
29715
+ _module_key: string;
29716
+ };
29717
+ Returns: boolean;
29718
+ };
29537
29719
  ai_usage_by_module: {
29538
29720
  Args: {
29539
29721
  _from: string;
@@ -30646,6 +30828,18 @@ export type Database = {
30646
30828
  Args: never;
30647
30829
  Returns: undefined;
30648
30830
  };
30831
+ floriday_customer_candidates: {
30832
+ Args: never;
30833
+ Returns: {
30834
+ in_cache: boolean;
30835
+ organization_id: string;
30836
+ reason: string;
30837
+ }[];
30838
+ };
30839
+ floriday_customer_promotion_preview: {
30840
+ Args: never;
30841
+ Returns: Json;
30842
+ };
30649
30843
  floriday_default_owner: {
30650
30844
  Args: {
30651
30845
  p_connection_id: string;
@@ -30682,6 +30876,19 @@ export type Database = {
30682
30876
  source_id: string;
30683
30877
  }[];
30684
30878
  };
30879
+ floriday_eigen_organisatie: {
30880
+ Args: never;
30881
+ Returns: {
30882
+ adres: string;
30883
+ gln: string;
30884
+ land: string;
30885
+ naam: string;
30886
+ opgehaald_op: string;
30887
+ organisatie_id: string;
30888
+ plaats: string;
30889
+ postcode: string;
30890
+ }[];
30891
+ };
30685
30892
  floriday_erp_leading_preview: {
30686
30893
  Args: {
30687
30894
  p_connection_id: string;
@@ -30706,6 +30913,13 @@ export type Database = {
30706
30913
  Args: never;
30707
30914
  Returns: number;
30708
30915
  };
30916
+ floriday_follow_apply: {
30917
+ Args: {
30918
+ p_connection_id: string;
30919
+ p_items: Json;
30920
+ };
30921
+ Returns: Json;
30922
+ };
30709
30923
  floriday_ingest_sales_orders: {
30710
30924
  Args: {
30711
30925
  p_limit?: number;
@@ -31657,6 +31871,10 @@ export type Database = {
31657
31871
  };
31658
31872
  Returns: boolean;
31659
31873
  };
31874
+ klanten_install_check: {
31875
+ Args: never;
31876
+ Returns: Json;
31877
+ };
31660
31878
  layout_print_document: {
31661
31879
  Args: {
31662
31880
  _documentnaam: string;
@@ -31683,6 +31901,18 @@ export type Database = {
31683
31901
  status: string;
31684
31902
  }[];
31685
31903
  };
31904
+ layout_standaard_overnemen: {
31905
+ Args: {
31906
+ _layout_id: string;
31907
+ };
31908
+ Returns: Json;
31909
+ };
31910
+ layout_versie_terugzetten: {
31911
+ Args: {
31912
+ _versie_id: string;
31913
+ };
31914
+ Returns: number;
31915
+ };
31686
31916
  layout_verwijzing_omzetten: {
31687
31917
  Args: {
31688
31918
  _nieuw: string;
@@ -31696,6 +31926,10 @@ export type Database = {
31696
31926
  Args: never;
31697
31927
  Returns: Json;
31698
31928
  };
31929
+ layout_zorg_systeemlayouts: {
31930
+ Args: never;
31931
+ Returns: number;
31932
+ };
31699
31933
  list_medewerkers: {
31700
31934
  Args: never;
31701
31935
  Returns: {
@@ -32869,6 +33103,10 @@ export type Database = {
32869
33103
  };
32870
33104
  Returns: Json;
32871
33105
  };
33106
+ logistics_ensure_runtime_defaults: {
33107
+ Args: never;
33108
+ Returns: undefined;
33109
+ };
32872
33110
  logistics_ensure_shipping_notes: {
32873
33111
  Args: {
32874
33112
  p_limit?: number;
@@ -34165,6 +34403,12 @@ export type Database = {
34165
34403
  };
34166
34404
  Returns: Json;
34167
34405
  };
34406
+ logistics_register_tick_apikey: {
34407
+ Args: {
34408
+ p_key: string;
34409
+ };
34410
+ Returns: Json;
34411
+ };
34168
34412
  logistics_replan_all: {
34169
34413
  Args: {
34170
34414
  p_reason?: string;
@@ -36396,6 +36640,17 @@ export type Database = {
36396
36640
  };
36397
36641
  Returns: string;
36398
36642
  };
36643
+ productontwerp_can_write: {
36644
+ Args: never;
36645
+ Returns: boolean;
36646
+ };
36647
+ productontwerp_create_missing_products: {
36648
+ Args: {
36649
+ p_items: Json;
36650
+ p_run_id: string;
36651
+ };
36652
+ Returns: Json;
36653
+ };
36399
36654
  productontwerp_export: {
36400
36655
  Args: never;
36401
36656
  Returns: Json;
@@ -36407,12 +36662,38 @@ export type Database = {
36407
36662
  };
36408
36663
  Returns: Json;
36409
36664
  };
36665
+ productontwerp_nl_error: {
36666
+ Args: {
36667
+ p_detail: string;
36668
+ p_msg: string;
36669
+ p_state: string;
36670
+ };
36671
+ Returns: string;
36672
+ };
36410
36673
  productontwerp_product_ref: {
36411
36674
  Args: {
36412
36675
  p_id: string;
36413
36676
  };
36414
36677
  Returns: Json;
36415
36678
  };
36679
+ productontwerp_queue_count: {
36680
+ Args: never;
36681
+ Returns: number;
36682
+ };
36683
+ productontwerp_rollback_created_products: {
36684
+ Args: {
36685
+ p_run_id: string;
36686
+ };
36687
+ Returns: Json;
36688
+ };
36689
+ productontwerp_unique_group_name: {
36690
+ Args: {
36691
+ p_article: string;
36692
+ p_base: string;
36693
+ p_used: string[];
36694
+ };
36695
+ Returns: string;
36696
+ };
36416
36697
  promote_floriday_customer: {
36417
36698
  Args: {
36418
36699
  _org_id: string;
@@ -36764,6 +37045,10 @@ export type Database = {
36764
37045
  Args: never;
36765
37046
  Returns: undefined;
36766
37047
  };
37048
+ run_floriday_follow: {
37049
+ Args: never;
37050
+ Returns: undefined;
37051
+ };
36767
37052
  run_floriday_stock_queue_process: {
36768
37053
  Args: never;
36769
37054
  Returns: undefined;
@@ -38282,6 +38567,13 @@ export type Database = {
38282
38567
  Args: never;
38283
38568
  Returns: boolean;
38284
38569
  };
38570
+ voorraad_schema_ddl: {
38571
+ Args: {
38572
+ p_functions: string[];
38573
+ p_tables: string[];
38574
+ };
38575
+ Returns: string;
38576
+ };
38285
38577
  voorraad_week_is_past: {
38286
38578
  Args: {
38287
38579
  p_week: number;