@flowselections/floriday-voorraad 1.0.110 → 1.0.113

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/FustenPage.d.ts.map +1 -1
  2. package/dist-lib/components/voorraad/FustenPage.js +10 -6
  3. package/dist-lib/components/voorraad/PriceStatusBadge.d.ts.map +1 -1
  4. package/dist-lib/components/voorraad/PriceStatusBadge.js +6 -1
  5. package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
  6. package/dist-lib/components/voorraad/VoorraadPage.js +8 -37
  7. package/dist-lib/hooks/useNoPriceProducts.d.ts +10 -0
  8. package/dist-lib/hooks/useNoPriceProducts.d.ts.map +1 -0
  9. package/dist-lib/hooks/useNoPriceProducts.js +56 -0
  10. package/dist-lib/hooks/useStockPushJobs.d.ts.map +1 -1
  11. package/dist-lib/hooks/useStockPushJobs.js +6 -1
  12. package/dist-lib/hooks/useStockSyncHealth.d.ts.map +1 -1
  13. package/dist-lib/hooks/useStockSyncHealth.js +2 -9
  14. package/dist-lib/hooks/useVoorraadData.d.ts.map +1 -1
  15. package/dist-lib/hooks/useVoorraadData.js +45 -24
  16. package/dist-lib/integrations/supabase/types.d.ts +818 -122
  17. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/types.js +1 -0
  19. package/dist-lib/lib/__tests__/fust-dimensions.test.d.ts +2 -0
  20. package/dist-lib/lib/__tests__/fust-dimensions.test.d.ts.map +1 -0
  21. package/dist-lib/lib/__tests__/fust-dimensions.test.js +27 -0
  22. package/dist-lib/lib/__tests__/request-guard.test.d.ts +2 -0
  23. package/dist-lib/lib/__tests__/request-guard.test.d.ts.map +1 -0
  24. package/dist-lib/lib/__tests__/request-guard.test.js +50 -0
  25. package/dist-lib/lib/fusten.d.ts +14 -3
  26. package/dist-lib/lib/fusten.d.ts.map +1 -1
  27. package/dist-lib/lib/fusten.js +38 -7
  28. package/dist-lib/lib/request-guard.d.ts +46 -0
  29. package/dist-lib/lib/request-guard.d.ts.map +1 -0
  30. package/dist-lib/lib/request-guard.js +100 -0
  31. package/package.json +1 -1
  32. package/sql/floriday-voorraad-schema.sql +186 -27
@@ -1728,13 +1728,6 @@ export type Database = {
1728
1728
  updated_at?: string;
1729
1729
  };
1730
1730
  Relationships: [
1731
- {
1732
- foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1733
- columns: ["product_id"];
1734
- isOneToOne: true;
1735
- referencedRelation: "logistics_product_dimensions";
1736
- referencedColumns: ["product_id"];
1737
- },
1738
1731
  {
1739
1732
  foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1740
1733
  columns: ["product_id"];
@@ -7984,13 +7977,6 @@ export type Database = {
7984
7977
  user_id?: string;
7985
7978
  };
7986
7979
  Relationships: [
7987
- {
7988
- foreignKeyName: "floriday_inventory_settings_product_id_fkey";
7989
- columns: ["product_id"];
7990
- isOneToOne: false;
7991
- referencedRelation: "logistics_product_dimensions";
7992
- referencedColumns: ["product_id"];
7993
- },
7994
7980
  {
7995
7981
  foreignKeyName: "floriday_inventory_settings_product_id_fkey";
7996
7982
  columns: ["product_id"];
@@ -9682,6 +9668,7 @@ export type Database = {
9682
9668
  id: string;
9683
9669
  in_use: boolean;
9684
9670
  length_mm: number | null;
9671
+ merged_into: string | null;
9685
9672
  minimum_stock: number;
9686
9673
  name: string;
9687
9674
  notes: string | null;
@@ -9703,6 +9690,7 @@ export type Database = {
9703
9690
  id?: string;
9704
9691
  in_use?: boolean;
9705
9692
  length_mm?: number | null;
9693
+ merged_into?: string | null;
9706
9694
  minimum_stock?: number;
9707
9695
  name: string;
9708
9696
  notes?: string | null;
@@ -9724,6 +9712,7 @@ export type Database = {
9724
9712
  id?: string;
9725
9713
  in_use?: boolean;
9726
9714
  length_mm?: number | null;
9715
+ merged_into?: string | null;
9727
9716
  minimum_stock?: number;
9728
9717
  name?: string;
9729
9718
  notes?: string | null;
@@ -9735,7 +9724,15 @@ export type Database = {
9735
9724
  vbn_code?: number | null;
9736
9725
  width_mm?: number | null;
9737
9726
  };
9738
- Relationships: [];
9727
+ Relationships: [
9728
+ {
9729
+ foreignKeyName: "fust_types_merged_into_fkey";
9730
+ columns: ["merged_into"];
9731
+ isOneToOne: false;
9732
+ referencedRelation: "fust_types";
9733
+ referencedColumns: ["id"];
9734
+ }
9735
+ ];
9739
9736
  };
9740
9737
  imap_accounts: {
9741
9738
  Row: {
@@ -12103,13 +12100,6 @@ export type Database = {
12103
12100
  referencedRelation: "product_categories";
12104
12101
  referencedColumns: ["id"];
12105
12102
  },
12106
- {
12107
- foreignKeyName: "local_customer_agreements_product_id_fkey";
12108
- columns: ["product_id"];
12109
- isOneToOne: false;
12110
- referencedRelation: "logistics_product_dimensions";
12111
- referencedColumns: ["product_id"];
12112
- },
12113
12103
  {
12114
12104
  foreignKeyName: "local_customer_agreements_product_id_fkey";
12115
12105
  columns: ["product_id"];
@@ -12180,13 +12170,6 @@ export type Database = {
12180
12170
  referencedRelation: "product_categories";
12181
12171
  referencedColumns: ["id"];
12182
12172
  },
12183
- {
12184
- foreignKeyName: "local_customer_price_groups_product_id_fkey";
12185
- columns: ["product_id"];
12186
- isOneToOne: false;
12187
- referencedRelation: "logistics_product_dimensions";
12188
- referencedColumns: ["product_id"];
12189
- },
12190
12173
  {
12191
12174
  foreignKeyName: "local_customer_price_groups_product_id_fkey";
12192
12175
  columns: ["product_id"];
@@ -12257,13 +12240,6 @@ export type Database = {
12257
12240
  referencedRelation: "product_categories";
12258
12241
  referencedColumns: ["id"];
12259
12242
  },
12260
- {
12261
- foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
12262
- columns: ["product_id"];
12263
- isOneToOne: false;
12264
- referencedRelation: "logistics_product_dimensions";
12265
- referencedColumns: ["product_id"];
12266
- },
12267
12243
  {
12268
12244
  foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
12269
12245
  columns: ["product_id"];
@@ -13486,6 +13462,90 @@ export type Database = {
13486
13462
  }
13487
13463
  ];
13488
13464
  };
13465
+ logistics_gegevens_bron: {
13466
+ Row: {
13467
+ bron: string;
13468
+ id: string;
13469
+ onderwerp: string;
13470
+ sleutel: string;
13471
+ toelichting: string | null;
13472
+ vastgelegd_door: string | null;
13473
+ vastgelegd_op: string;
13474
+ veld: string;
13475
+ waarde: string | null;
13476
+ };
13477
+ Insert: {
13478
+ bron: string;
13479
+ id?: string;
13480
+ onderwerp: string;
13481
+ sleutel: string;
13482
+ toelichting?: string | null;
13483
+ vastgelegd_door?: string | null;
13484
+ vastgelegd_op?: string;
13485
+ veld: string;
13486
+ waarde?: string | null;
13487
+ };
13488
+ Update: {
13489
+ bron?: string;
13490
+ id?: string;
13491
+ onderwerp?: string;
13492
+ sleutel?: string;
13493
+ toelichting?: string | null;
13494
+ vastgelegd_door?: string | null;
13495
+ vastgelegd_op?: string;
13496
+ veld?: string;
13497
+ waarde?: string | null;
13498
+ };
13499
+ Relationships: [];
13500
+ };
13501
+ logistics_index_log: {
13502
+ Row: {
13503
+ aangemaakt_at: string;
13504
+ duur_ms: number | null;
13505
+ index_naam: string;
13506
+ rijen: number | null;
13507
+ tabel: string;
13508
+ };
13509
+ Insert: {
13510
+ aangemaakt_at?: string;
13511
+ duur_ms?: number | null;
13512
+ index_naam: string;
13513
+ rijen?: number | null;
13514
+ tabel: string;
13515
+ };
13516
+ Update: {
13517
+ aangemaakt_at?: string;
13518
+ duur_ms?: number | null;
13519
+ index_naam?: string;
13520
+ rijen?: number | null;
13521
+ tabel?: string;
13522
+ };
13523
+ Relationships: [];
13524
+ };
13525
+ logistics_kick_log: {
13526
+ Row: {
13527
+ id: number;
13528
+ kicked_at: string;
13529
+ request_id: number | null;
13530
+ round_started_at: string | null;
13531
+ skipped_reason: string | null;
13532
+ };
13533
+ Insert: {
13534
+ id?: number;
13535
+ kicked_at?: string;
13536
+ request_id?: number | null;
13537
+ round_started_at?: string | null;
13538
+ skipped_reason?: string | null;
13539
+ };
13540
+ Update: {
13541
+ id?: number;
13542
+ kicked_at?: string;
13543
+ request_id?: number | null;
13544
+ round_started_at?: string | null;
13545
+ skipped_reason?: string | null;
13546
+ };
13547
+ Relationships: [];
13548
+ };
13489
13549
  logistics_layer_override_log: {
13490
13550
  Row: {
13491
13551
  cart_id: string;
@@ -14530,6 +14590,90 @@ export type Database = {
14530
14590
  }
14531
14591
  ];
14532
14592
  };
14593
+ logistics_schedule_fp: {
14594
+ Row: {
14595
+ fp: string;
14596
+ ingepland_at: string;
14597
+ order_ref: string;
14598
+ };
14599
+ Insert: {
14600
+ fp: string;
14601
+ ingepland_at?: string;
14602
+ order_ref: string;
14603
+ };
14604
+ Update: {
14605
+ fp?: string;
14606
+ ingepland_at?: string;
14607
+ order_ref?: string;
14608
+ };
14609
+ Relationships: [];
14610
+ };
14611
+ logistics_schedule_voortgang: {
14612
+ Row: {
14613
+ bijgewerkt_at: string | null;
14614
+ duur_ms: number | null;
14615
+ fouten: number;
14616
+ gestart_at: string | null;
14617
+ id: boolean;
14618
+ ingepland: number;
14619
+ klaar: boolean;
14620
+ laatste_fout: string | null;
14621
+ overgeslagen: number;
14622
+ run_id: string | null;
14623
+ totaal: number;
14624
+ verwerkt: number;
14625
+ };
14626
+ Insert: {
14627
+ bijgewerkt_at?: string | null;
14628
+ duur_ms?: number | null;
14629
+ fouten?: number;
14630
+ gestart_at?: string | null;
14631
+ id?: boolean;
14632
+ ingepland?: number;
14633
+ klaar?: boolean;
14634
+ laatste_fout?: string | null;
14635
+ overgeslagen?: number;
14636
+ run_id?: string | null;
14637
+ totaal?: number;
14638
+ verwerkt?: number;
14639
+ };
14640
+ Update: {
14641
+ bijgewerkt_at?: string | null;
14642
+ duur_ms?: number | null;
14643
+ fouten?: number;
14644
+ gestart_at?: string | null;
14645
+ id?: boolean;
14646
+ ingepland?: number;
14647
+ klaar?: boolean;
14648
+ laatste_fout?: string | null;
14649
+ overgeslagen?: number;
14650
+ run_id?: string | null;
14651
+ totaal?: number;
14652
+ verwerkt?: number;
14653
+ };
14654
+ Relationships: [];
14655
+ };
14656
+ logistics_schedule_werklijst: {
14657
+ Row: {
14658
+ order_ref: string;
14659
+ run_id: string;
14660
+ uitkomst: string | null;
14661
+ verwerkt_at: string | null;
14662
+ };
14663
+ Insert: {
14664
+ order_ref: string;
14665
+ run_id: string;
14666
+ uitkomst?: string | null;
14667
+ verwerkt_at?: string | null;
14668
+ };
14669
+ Update: {
14670
+ order_ref?: string;
14671
+ run_id?: string;
14672
+ uitkomst?: string | null;
14673
+ verwerkt_at?: string | null;
14674
+ };
14675
+ Relationships: [];
14676
+ };
14533
14677
  logistics_shipping_note_scan: {
14534
14678
  Row: {
14535
14679
  barcode: string;
@@ -15124,6 +15268,24 @@ export type Database = {
15124
15268
  };
15125
15269
  Relationships: [];
15126
15270
  };
15271
+ logistics_tick_state: {
15272
+ Row: {
15273
+ key: string;
15274
+ updated_at: string;
15275
+ value: Json;
15276
+ };
15277
+ Insert: {
15278
+ key: string;
15279
+ updated_at?: string;
15280
+ value?: Json;
15281
+ };
15282
+ Update: {
15283
+ key?: string;
15284
+ updated_at?: string;
15285
+ value?: Json;
15286
+ };
15287
+ Relationships: [];
15288
+ };
15127
15289
  logistics_time_settings: {
15128
15290
  Row: {
15129
15291
  departure_rule_since: string | null;
@@ -16042,13 +16204,6 @@ export type Database = {
16042
16204
  warnings?: string[] | null;
16043
16205
  };
16044
16206
  Relationships: [
16045
- {
16046
- foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
16047
- columns: ["product_id"];
16048
- isOneToOne: false;
16049
- referencedRelation: "logistics_product_dimensions";
16050
- referencedColumns: ["product_id"];
16051
- },
16052
16207
  {
16053
16208
  foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
16054
16209
  columns: ["product_id"];
@@ -17657,13 +17812,6 @@ export type Database = {
17657
17812
  referencedRelation: "order_items";
17658
17813
  referencedColumns: ["id"];
17659
17814
  },
17660
- {
17661
- foreignKeyName: "order_cart_items_product_id_fkey";
17662
- columns: ["product_id"];
17663
- isOneToOne: false;
17664
- referencedRelation: "logistics_product_dimensions";
17665
- referencedColumns: ["product_id"];
17666
- },
17667
17815
  {
17668
17816
  foreignKeyName: "order_cart_items_product_id_fkey";
17669
17817
  columns: ["product_id"];
@@ -18138,13 +18286,6 @@ export type Database = {
18138
18286
  referencedRelation: "orders";
18139
18287
  referencedColumns: ["id"];
18140
18288
  },
18141
- {
18142
- foreignKeyName: "order_items_product_id_fkey";
18143
- columns: ["product_id"];
18144
- isOneToOne: false;
18145
- referencedRelation: "logistics_product_dimensions";
18146
- referencedColumns: ["product_id"];
18147
- },
18148
18289
  {
18149
18290
  foreignKeyName: "order_items_product_id_fkey";
18150
18291
  columns: ["product_id"];
@@ -20723,6 +20864,7 @@ export type Database = {
20723
20864
  pdf_url: string | null;
20724
20865
  pogingen: number;
20725
20866
  printer_id: string | null;
20867
+ printer_keuze: Json | null;
20726
20868
  printnode_bericht: string | null;
20727
20869
  printnode_status: string | null;
20728
20870
  printnode_status_op: string | null;
@@ -20780,6 +20922,7 @@ export type Database = {
20780
20922
  pdf_url?: string | null;
20781
20923
  pogingen?: number;
20782
20924
  printer_id?: string | null;
20925
+ printer_keuze?: Json | null;
20783
20926
  printnode_bericht?: string | null;
20784
20927
  printnode_status?: string | null;
20785
20928
  printnode_status_op?: string | null;
@@ -20837,6 +20980,7 @@ export type Database = {
20837
20980
  pdf_url?: string | null;
20838
20981
  pogingen?: number;
20839
20982
  printer_id?: string | null;
20983
+ printer_keuze?: Json | null;
20840
20984
  printnode_bericht?: string | null;
20841
20985
  printnode_status?: string | null;
20842
20986
  printnode_status_op?: string | null;
@@ -21173,7 +21317,9 @@ export type Database = {
21173
21317
  created_at: string;
21174
21318
  dubbel_venster_minuten: number;
21175
21319
  id: string;
21320
+ tick_timeout_ms: number | null;
21176
21321
  updated_at: string;
21322
+ vervallen_fase_seconden: number | null;
21177
21323
  };
21178
21324
  Insert: {
21179
21325
  bewaar_bestanden_dagen?: number;
@@ -21181,7 +21327,9 @@ export type Database = {
21181
21327
  created_at?: string;
21182
21328
  dubbel_venster_minuten?: number;
21183
21329
  id?: string;
21330
+ tick_timeout_ms?: number | null;
21184
21331
  updated_at?: string;
21332
+ vervallen_fase_seconden?: number | null;
21185
21333
  };
21186
21334
  Update: {
21187
21335
  bewaar_bestanden_dagen?: number;
@@ -21189,7 +21337,9 @@ export type Database = {
21189
21337
  created_at?: string;
21190
21338
  dubbel_venster_minuten?: number;
21191
21339
  id?: string;
21340
+ tick_timeout_ms?: number | null;
21192
21341
  updated_at?: string;
21342
+ vervallen_fase_seconden?: number | null;
21193
21343
  };
21194
21344
  Relationships: [];
21195
21345
  };
@@ -21772,13 +21922,6 @@ export type Database = {
21772
21922
  updated_at?: string;
21773
21923
  };
21774
21924
  Relationships: [
21775
- {
21776
- foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
21777
- columns: ["parent_product_id"];
21778
- isOneToOne: false;
21779
- referencedRelation: "logistics_product_dimensions";
21780
- referencedColumns: ["product_id"];
21781
- },
21782
21925
  {
21783
21926
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
21784
21927
  columns: ["parent_product_id"];
@@ -21835,13 +21978,6 @@ export type Database = {
21835
21978
  updated_at?: string;
21836
21979
  };
21837
21980
  Relationships: [
21838
- {
21839
- foreignKeyName: "product_bom_items_component_product_id_fkey";
21840
- columns: ["component_product_id"];
21841
- isOneToOne: false;
21842
- referencedRelation: "logistics_product_dimensions";
21843
- referencedColumns: ["product_id"];
21844
- },
21845
21981
  {
21846
21982
  foreignKeyName: "product_bom_items_component_product_id_fkey";
21847
21983
  columns: ["component_product_id"];
@@ -21849,13 +21985,6 @@ export type Database = {
21849
21985
  referencedRelation: "products";
21850
21986
  referencedColumns: ["id"];
21851
21987
  },
21852
- {
21853
- foreignKeyName: "product_bom_items_parent_product_id_fkey";
21854
- columns: ["parent_product_id"];
21855
- isOneToOne: false;
21856
- referencedRelation: "logistics_product_dimensions";
21857
- referencedColumns: ["product_id"];
21858
- },
21859
21988
  {
21860
21989
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
21861
21990
  columns: ["parent_product_id"];
@@ -22036,13 +22165,6 @@ export type Database = {
22036
22165
  updated_at?: string;
22037
22166
  };
22038
22167
  Relationships: [
22039
- {
22040
- foreignKeyName: "product_groups_head_product_id_fkey";
22041
- columns: ["head_product_id"];
22042
- isOneToOne: false;
22043
- referencedRelation: "logistics_product_dimensions";
22044
- referencedColumns: ["product_id"];
22045
- },
22046
22168
  {
22047
22169
  foreignKeyName: "product_groups_head_product_id_fkey";
22048
22170
  columns: ["head_product_id"];
@@ -22118,13 +22240,6 @@ export type Database = {
22118
22240
  referencedRelation: "packages";
22119
22241
  referencedColumns: ["id"];
22120
22242
  },
22121
- {
22122
- foreignKeyName: "product_load_settings_product_id_fkey";
22123
- columns: ["product_id"];
22124
- isOneToOne: false;
22125
- referencedRelation: "logistics_product_dimensions";
22126
- referencedColumns: ["product_id"];
22127
- },
22128
22243
  {
22129
22244
  foreignKeyName: "product_load_settings_product_id_fkey";
22130
22245
  columns: ["product_id"];
@@ -22230,13 +22345,6 @@ export type Database = {
22230
22345
  referencedRelation: "fust_types";
22231
22346
  referencedColumns: ["id"];
22232
22347
  },
22233
- {
22234
- foreignKeyName: "product_packings_product_id_fkey";
22235
- columns: ["product_id"];
22236
- isOneToOne: false;
22237
- referencedRelation: "logistics_product_dimensions";
22238
- referencedColumns: ["product_id"];
22239
- },
22240
22348
  {
22241
22349
  foreignKeyName: "product_packings_product_id_fkey";
22242
22350
  columns: ["product_id"];
@@ -22296,13 +22404,6 @@ export type Database = {
22296
22404
  updated_at?: string;
22297
22405
  };
22298
22406
  Relationships: [
22299
- {
22300
- foreignKeyName: "product_suppliers_product_id_fkey";
22301
- columns: ["product_id"];
22302
- isOneToOne: false;
22303
- referencedRelation: "logistics_product_dimensions";
22304
- referencedColumns: ["product_id"];
22305
- },
22306
22407
  {
22307
22408
  foreignKeyName: "product_suppliers_product_id_fkey";
22308
22409
  columns: ["product_id"];
@@ -22348,13 +22449,6 @@ export type Database = {
22348
22449
  updated_at?: string;
22349
22450
  };
22350
22451
  Relationships: [
22351
- {
22352
- foreignKeyName: "product_tray_stickers_product_id_fkey";
22353
- columns: ["product_id"];
22354
- isOneToOne: true;
22355
- referencedRelation: "logistics_product_dimensions";
22356
- referencedColumns: ["product_id"];
22357
- },
22358
22452
  {
22359
22453
  foreignKeyName: "product_tray_stickers_product_id_fkey";
22360
22454
  columns: ["product_id"];
@@ -22977,13 +23071,6 @@ export type Database = {
22977
23071
  updated_at?: string;
22978
23072
  };
22979
23073
  Relationships: [
22980
- {
22981
- foreignKeyName: "purchase_order_items_product_id_fkey";
22982
- columns: ["product_id"];
22983
- isOneToOne: false;
22984
- referencedRelation: "logistics_product_dimensions";
22985
- referencedColumns: ["product_id"];
22986
- },
22987
23074
  {
22988
23075
  foreignKeyName: "purchase_order_items_product_id_fkey";
22989
23076
  columns: ["product_id"];
@@ -26086,6 +26173,8 @@ export type Database = {
26086
26173
  twinfield_invoice_settings: {
26087
26174
  Row: {
26088
26175
  administration_code: string | null;
26176
+ auto_invoice_config_error: string | null;
26177
+ auto_invoice_config_error_at: string | null;
26089
26178
  auto_invoice_enabled: boolean;
26090
26179
  auto_invoice_start_date: string | null;
26091
26180
  auto_invoice_trigger_statuses: string[];
@@ -26115,6 +26204,8 @@ export type Database = {
26115
26204
  };
26116
26205
  Insert: {
26117
26206
  administration_code?: string | null;
26207
+ auto_invoice_config_error?: string | null;
26208
+ auto_invoice_config_error_at?: string | null;
26118
26209
  auto_invoice_enabled?: boolean;
26119
26210
  auto_invoice_start_date?: string | null;
26120
26211
  auto_invoice_trigger_statuses?: string[];
@@ -26144,6 +26235,8 @@ export type Database = {
26144
26235
  };
26145
26236
  Update: {
26146
26237
  administration_code?: string | null;
26238
+ auto_invoice_config_error?: string | null;
26239
+ auto_invoice_config_error_at?: string | null;
26147
26240
  auto_invoice_enabled?: boolean;
26148
26241
  auto_invoice_start_date?: string | null;
26149
26242
  auto_invoice_trigger_statuses?: string[];
@@ -26737,6 +26830,7 @@ export type Database = {
26737
26830
  default_language: string | null;
26738
26831
  default_language_at: string | null;
26739
26832
  default_language_source: string | null;
26833
+ hourly_call_threshold: number;
26740
26834
  nightly_full_scan_cron: string;
26741
26835
  payment_term_min_invoices: number;
26742
26836
  payment_term_min_share: number;
@@ -26777,6 +26871,7 @@ export type Database = {
26777
26871
  default_language?: string | null;
26778
26872
  default_language_at?: string | null;
26779
26873
  default_language_source?: string | null;
26874
+ hourly_call_threshold?: number;
26780
26875
  nightly_full_scan_cron?: string;
26781
26876
  payment_term_min_invoices?: number;
26782
26877
  payment_term_min_share?: number;
@@ -26817,6 +26912,7 @@ export type Database = {
26817
26912
  default_language?: string | null;
26818
26913
  default_language_at?: string | null;
26819
26914
  default_language_source?: string | null;
26915
+ hourly_call_threshold?: number;
26820
26916
  nightly_full_scan_cron?: string;
26821
26917
  payment_term_min_invoices?: number;
26822
26918
  payment_term_min_share?: number;
@@ -27860,6 +27956,99 @@ export type Database = {
27860
27956
  };
27861
27957
  Relationships: [];
27862
27958
  };
27959
+ verkoop_engine_event_log: {
27960
+ Row: {
27961
+ created_at: string;
27962
+ event_type: string | null;
27963
+ id: string;
27964
+ ok: boolean;
27965
+ order_id: string | null;
27966
+ reason: string | null;
27967
+ user_id: string | null;
27968
+ };
27969
+ Insert: {
27970
+ created_at?: string;
27971
+ event_type?: string | null;
27972
+ id?: string;
27973
+ ok: boolean;
27974
+ order_id?: string | null;
27975
+ reason?: string | null;
27976
+ user_id?: string | null;
27977
+ };
27978
+ Update: {
27979
+ created_at?: string;
27980
+ event_type?: string | null;
27981
+ id?: string;
27982
+ ok?: boolean;
27983
+ order_id?: string | null;
27984
+ reason?: string | null;
27985
+ user_id?: string | null;
27986
+ };
27987
+ Relationships: [];
27988
+ };
27989
+ verkoop_fulfillment_index: {
27990
+ Row: {
27991
+ changed_at: string;
27992
+ delivery_note_codes: string[];
27993
+ fulfillment_id: string;
27994
+ is_deleted: boolean;
27995
+ packages: number;
27996
+ received: boolean;
27997
+ received_at: string | null;
27998
+ sales_order_id: string;
27999
+ status: string | null;
28000
+ };
28001
+ Insert: {
28002
+ changed_at?: string;
28003
+ delivery_note_codes?: string[];
28004
+ fulfillment_id: string;
28005
+ is_deleted?: boolean;
28006
+ packages?: number;
28007
+ received?: boolean;
28008
+ received_at?: string | null;
28009
+ sales_order_id: string;
28010
+ status?: string | null;
28011
+ };
28012
+ Update: {
28013
+ changed_at?: string;
28014
+ delivery_note_codes?: string[];
28015
+ fulfillment_id?: string;
28016
+ is_deleted?: boolean;
28017
+ packages?: number;
28018
+ received?: boolean;
28019
+ received_at?: string | null;
28020
+ sales_order_id?: string;
28021
+ status?: string | null;
28022
+ };
28023
+ Relationships: [];
28024
+ };
28025
+ verkoop_sync_state: {
28026
+ Row: {
28027
+ ensure_cron_at: string | null;
28028
+ full_run_at: string | null;
28029
+ key: string;
28030
+ last_seen_at: string | null;
28031
+ rebuilt_at: string | null;
28032
+ updated_at: string;
28033
+ };
28034
+ Insert: {
28035
+ ensure_cron_at?: string | null;
28036
+ full_run_at?: string | null;
28037
+ key: string;
28038
+ last_seen_at?: string | null;
28039
+ rebuilt_at?: string | null;
28040
+ updated_at?: string;
28041
+ };
28042
+ Update: {
28043
+ ensure_cron_at?: string | null;
28044
+ full_run_at?: string | null;
28045
+ key?: string;
28046
+ last_seen_at?: string | null;
28047
+ rebuilt_at?: string | null;
28048
+ updated_at?: string;
28049
+ };
28050
+ Relationships: [];
28051
+ };
27863
28052
  voorraad_buffer_state: {
27864
28053
  Row: {
27865
28054
  buffer_id: string;
@@ -30648,6 +30837,24 @@ export type Database = {
30648
30837
  };
30649
30838
  Returns: string;
30650
30839
  };
30840
+ _layouts_toegang_functie: {
30841
+ Args: {
30842
+ p_functie: string;
30843
+ p_niveau: string;
30844
+ };
30845
+ Returns: undefined;
30846
+ };
30847
+ _layouts_toegang_functie_besluit: {
30848
+ Args: {
30849
+ p_beheerder: boolean;
30850
+ p_functie: string;
30851
+ p_ingelogd: boolean;
30852
+ p_niveau: string;
30853
+ p_request_path: string;
30854
+ p_server: boolean;
30855
+ };
30856
+ Returns: string;
30857
+ };
30651
30858
  _layouts_toegang_server_of_ingelogd: {
30652
30859
  Args: {
30653
30860
  p_alleen_beheer: boolean;
@@ -30668,6 +30875,10 @@ export type Database = {
30668
30875
  };
30669
30876
  Returns: boolean;
30670
30877
  };
30878
+ _pick_printstatus_via_engine: {
30879
+ Args: never;
30880
+ Returns: boolean;
30881
+ };
30671
30882
  _pick_station_for_cart: {
30672
30883
  Args: {
30673
30884
  p_cart_id: string;
@@ -31401,6 +31612,7 @@ export type Database = {
31401
31612
  pdf_url: string | null;
31402
31613
  pogingen: number;
31403
31614
  printer_id: string | null;
31615
+ printer_keuze: Json | null;
31404
31616
  printnode_bericht: string | null;
31405
31617
  printnode_status: string | null;
31406
31618
  printnode_status_op: string | null;
@@ -31600,6 +31812,7 @@ export type Database = {
31600
31812
  pdf_url: string | null;
31601
31813
  pogingen: number;
31602
31814
  printer_id: string | null;
31815
+ printer_keuze: Json | null;
31603
31816
  printnode_bericht: string | null;
31604
31817
  printnode_status: string | null;
31605
31818
  printnode_status_op: string | null;
@@ -31669,6 +31882,7 @@ export type Database = {
31669
31882
  pdf_url: string | null;
31670
31883
  pogingen: number;
31671
31884
  printer_id: string | null;
31885
+ printer_keuze: Json | null;
31672
31886
  printnode_bericht: string | null;
31673
31887
  printnode_status: string | null;
31674
31888
  printnode_status_op: string | null;
@@ -32232,6 +32446,28 @@ export type Database = {
32232
32446
  };
32233
32447
  Returns: boolean;
32234
32448
  };
32449
+ facturatie_auto_invoice_checks: {
32450
+ Args: never;
32451
+ Returns: Json;
32452
+ };
32453
+ facturatie_auto_invoice_route_seen: {
32454
+ Args: never;
32455
+ Returns: undefined;
32456
+ };
32457
+ facturatie_auto_invoice_set_config_error: {
32458
+ Args: {
32459
+ _msg: string;
32460
+ };
32461
+ Returns: undefined;
32462
+ };
32463
+ facturatie_ensure_cron: {
32464
+ Args: never;
32465
+ Returns: string;
32466
+ };
32467
+ facturatie_ensure_runtime: {
32468
+ Args: never;
32469
+ Returns: string;
32470
+ };
32235
32471
  find_trade_item_key: {
32236
32472
  Args: {
32237
32473
  p_barcode: string;
@@ -33482,6 +33718,15 @@ export type Database = {
33482
33718
  };
33483
33719
  Returns: Json;
33484
33720
  };
33721
+ klanten_ensure_cron: {
33722
+ Args: never;
33723
+ Returns: Json;
33724
+ } | {
33725
+ Args: {
33726
+ p_alleen_bijwerken: boolean;
33727
+ };
33728
+ Returns: Json;
33729
+ };
33485
33730
  klanten_install_check: {
33486
33731
  Args: never;
33487
33732
  Returns: Json;
@@ -33610,10 +33855,23 @@ export type Database = {
33610
33855
  };
33611
33856
  Returns: Json;
33612
33857
  };
33858
+ layouts_origineel_bron: {
33859
+ Args: {
33860
+ p_documenttype: string;
33861
+ p_payload: Json;
33862
+ };
33863
+ Returns: string;
33864
+ };
33613
33865
  layouts_sticker_verkleinen: {
33614
33866
  Args: never;
33615
33867
  Returns: Json;
33616
33868
  };
33869
+ layouts_vrijgeven_vastgelopen: {
33870
+ Args: {
33871
+ p_houder: string;
33872
+ };
33873
+ Returns: number;
33874
+ };
33617
33875
  layouts_vroege_sticker_waarschuwing: {
33618
33876
  Args: {
33619
33877
  p_tot: string;
@@ -33629,6 +33887,10 @@ export type Database = {
33629
33887
  Args: never;
33630
33888
  Returns: Json;
33631
33889
  };
33890
+ layouts_zorg_voor_wachtrij_instellingen: {
33891
+ Args: never;
33892
+ Returns: Json;
33893
+ };
33632
33894
  list_medewerkers: {
33633
33895
  Args: never;
33634
33896
  Returns: {
@@ -33869,6 +34131,18 @@ export type Database = {
33869
34131
  reason_code: string;
33870
34132
  }[];
33871
34133
  };
34134
+ logistics_artikel_vbn: {
34135
+ Args: {
34136
+ p_product_id: string;
34137
+ };
34138
+ Returns: Json;
34139
+ };
34140
+ logistics_artikel_vbn_terugval: {
34141
+ Args: {
34142
+ p_product_id: string;
34143
+ };
34144
+ Returns: Json;
34145
+ };
33872
34146
  logistics_auto_send_claim: {
33873
34147
  Args: {
33874
34148
  p_limit?: number;
@@ -34886,6 +35160,36 @@ export type Database = {
34886
35160
  Args: never;
34887
35161
  Returns: Json;
34888
35162
  };
35163
+ logistics_data_gereedheid: {
35164
+ Args: {
35165
+ p_product_ids?: string[];
35166
+ };
35167
+ Returns: {
35168
+ in_open_order: boolean;
35169
+ ladingdrager: string;
35170
+ methode: string;
35171
+ ontbrekend: string[];
35172
+ product: string;
35173
+ product_id: string;
35174
+ uitleg: string;
35175
+ velden: Json;
35176
+ voorstel: Json;
35177
+ }[];
35178
+ };
35179
+ logistics_data_overnemen: {
35180
+ Args: {
35181
+ p_uitvoeren: boolean;
35182
+ };
35183
+ Returns: Json;
35184
+ };
35185
+ logistics_data_vul_in: {
35186
+ Args: {
35187
+ p_product_id: string;
35188
+ p_veld: string;
35189
+ p_waarde: number;
35190
+ };
35191
+ Returns: Json;
35192
+ };
34889
35193
  logistics_day_windows: {
34890
35194
  Args: {
34891
35195
  p_day: string;
@@ -34988,6 +35292,14 @@ export type Database = {
34988
35292
  order_item_id: string;
34989
35293
  }[];
34990
35294
  };
35295
+ logistics_dubbele_pakbonnamen: {
35296
+ Args: never;
35297
+ Returns: {
35298
+ aantal: number;
35299
+ document_number: string;
35300
+ karren: string[];
35301
+ }[];
35302
+ };
34991
35303
  logistics_emit_event: {
34992
35304
  Args: {
34993
35305
  p_event_type: string;
@@ -35029,6 +35341,10 @@ export type Database = {
35029
35341
  };
35030
35342
  Returns: string;
35031
35343
  };
35344
+ logistics_ensure_periodiek: {
35345
+ Args: never;
35346
+ Returns: Json;
35347
+ };
35032
35348
  logistics_ensure_pick_data: {
35033
35349
  Args: {
35034
35350
  p_event_id?: string;
@@ -35051,6 +35367,10 @@ export type Database = {
35051
35367
  };
35052
35368
  Returns: Json;
35053
35369
  };
35370
+ logistics_ensure_tick_settings: {
35371
+ Args: never;
35372
+ Returns: Json;
35373
+ };
35054
35374
  logistics_expand_line: {
35055
35375
  Args: {
35056
35376
  p_depth?: number;
@@ -35322,6 +35642,37 @@ export type Database = {
35322
35642
  Args: never;
35323
35643
  Returns: number;
35324
35644
  };
35645
+ logistics_fust_maten: {
35646
+ Args: never;
35647
+ Returns: {
35648
+ breedte_bron: string;
35649
+ fust_key: string;
35650
+ fust_type_id: string;
35651
+ height_mm: number;
35652
+ hoogte_bron: string;
35653
+ lengte_bron: string;
35654
+ length_mm: number;
35655
+ name: string;
35656
+ pad: string;
35657
+ vbn_code: number;
35658
+ width_mm: number;
35659
+ }[];
35660
+ };
35661
+ logistics_fust_maten_terugval: {
35662
+ Args: never;
35663
+ Returns: {
35664
+ breedte_bron: string;
35665
+ fust_key: string;
35666
+ fust_type_id: string;
35667
+ height_mm: number;
35668
+ hoogte_bron: string;
35669
+ lengte_bron: string;
35670
+ length_mm: number;
35671
+ name: string;
35672
+ vbn_code: number;
35673
+ width_mm: number;
35674
+ }[];
35675
+ };
35325
35676
  logistics_install_check: {
35326
35677
  Args: never;
35327
35678
  Returns: {
@@ -35330,6 +35681,38 @@ export type Database = {
35330
35681
  toelichting: string;
35331
35682
  }[];
35332
35683
  };
35684
+ logistics_install_check_194: {
35685
+ Args: never;
35686
+ Returns: {
35687
+ ok: boolean;
35688
+ onderdeel: string;
35689
+ toelichting: string;
35690
+ }[];
35691
+ };
35692
+ logistics_install_check_196: {
35693
+ Args: never;
35694
+ Returns: {
35695
+ controle: string;
35696
+ ok: boolean;
35697
+ toelichting: string;
35698
+ }[];
35699
+ };
35700
+ logistics_install_check_197: {
35701
+ Args: never;
35702
+ Returns: {
35703
+ controle: string;
35704
+ ok: boolean;
35705
+ toelichting: string;
35706
+ }[];
35707
+ };
35708
+ logistics_install_check_198: {
35709
+ Args: never;
35710
+ Returns: {
35711
+ controle: string;
35712
+ ok: boolean;
35713
+ toelichting: string;
35714
+ }[];
35715
+ };
35333
35716
  logistics_is_beheer: {
35334
35717
  Args: never;
35335
35718
  Returns: boolean;
@@ -35366,6 +35749,61 @@ export type Database = {
35366
35749
  };
35367
35750
  Returns: string;
35368
35751
  };
35752
+ logistics_kick_metingen: {
35753
+ Args: {
35754
+ p_limit: number;
35755
+ };
35756
+ Returns: {
35757
+ antwoord_at: string;
35758
+ fout: string;
35759
+ kicked_at: string;
35760
+ request_id: number;
35761
+ round_started_at: string;
35762
+ skipped_reason: string;
35763
+ status_code: number;
35764
+ time_out: boolean;
35765
+ wacht_tot_antwoord_ms: number;
35766
+ wacht_tot_ronde_ms: number;
35767
+ }[];
35768
+ };
35769
+ logistics_kick_pending_take: {
35770
+ Args: {
35771
+ p_since: string;
35772
+ };
35773
+ Returns: boolean;
35774
+ };
35775
+ logistics_kick_round_start: {
35776
+ Args: never;
35777
+ Returns: number;
35778
+ };
35779
+ logistics_ladingdrager_referentie: {
35780
+ Args: never;
35781
+ Returns: {
35782
+ breedte_cm: number;
35783
+ bron: string;
35784
+ floriday_code: string;
35785
+ lengte_cm: number;
35786
+ }[];
35787
+ };
35788
+ logistics_ladingdrager_voorstel_bevestigen: {
35789
+ Args: {
35790
+ p_code: string;
35791
+ };
35792
+ Returns: Json;
35793
+ };
35794
+ logistics_ladingdrager_voorstellen: {
35795
+ Args: never;
35796
+ Returns: {
35797
+ actie: string;
35798
+ bron: string;
35799
+ code: string;
35800
+ floriday_code: string;
35801
+ huidig: number;
35802
+ naam: string;
35803
+ veld: string;
35804
+ voorstel: number;
35805
+ }[];
35806
+ };
35369
35807
  logistics_layout_method_status: {
35370
35808
  Args: never;
35371
35809
  Returns: Json;
@@ -35497,6 +35935,18 @@ export type Database = {
35497
35935
  };
35498
35936
  Returns: Json;
35499
35937
  };
35938
+ logistics_order_backlog_info_many: {
35939
+ Args: {
35940
+ p_order_ids: string[];
35941
+ };
35942
+ Returns: {
35943
+ achterstand: boolean;
35944
+ dagen: number;
35945
+ info: Json;
35946
+ leverdatum: string;
35947
+ order_id: string;
35948
+ }[];
35949
+ };
35500
35950
  logistics_order_buffer_excluded: {
35501
35951
  Args: {
35502
35952
  p_order_id: string;
@@ -35555,6 +36005,21 @@ export type Database = {
35555
36005
  };
35556
36006
  Returns: string[];
35557
36007
  };
36008
+ logistics_order_date: {
36009
+ Args: {
36010
+ p: string;
36011
+ };
36012
+ Returns: {
36013
+ error: true;
36014
+ } & "Could not choose the best candidate function between: public.logistics_order_date(p => text), public.logistics_order_date(p => date). Try renaming the parameters or the function itself in the database so function overloading can be resolved";
36015
+ } | {
36016
+ Args: {
36017
+ p: string;
36018
+ };
36019
+ Returns: {
36020
+ error: true;
36021
+ } & "Could not choose the best candidate function between: public.logistics_order_date(p => text), public.logistics_order_date(p => date). Try renaming the parameters or the function itself in the database so function overloading can be resolved";
36022
+ };
35558
36023
  logistics_order_definitively_blocked: {
35559
36024
  Args: {
35560
36025
  p_order_id: string;
@@ -35656,6 +36121,12 @@ export type Database = {
35656
36121
  };
35657
36122
  Returns: boolean;
35658
36123
  };
36124
+ logistics_order_geannuleerd: {
36125
+ Args: {
36126
+ p_order_id: string;
36127
+ };
36128
+ Returns: boolean;
36129
+ };
35659
36130
  logistics_order_handled: {
35660
36131
  Args: {
35661
36132
  p_order_uuid: string;
@@ -35804,6 +36275,12 @@ export type Database = {
35804
36275
  };
35805
36276
  Returns: Json;
35806
36277
  };
36278
+ logistics_order_print_actief: {
36279
+ Args: {
36280
+ p_order_number: string;
36281
+ };
36282
+ Returns: boolean;
36283
+ };
35807
36284
  logistics_order_released: {
35808
36285
  Args: {
35809
36286
  p_order_ref: string;
@@ -35816,6 +36293,32 @@ export type Database = {
35816
36293
  };
35817
36294
  Returns: Json;
35818
36295
  };
36296
+ logistics_order_unit_carts: {
36297
+ Args: {
36298
+ p_order_ids: string[];
36299
+ };
36300
+ Returns: {
36301
+ buffer_id: string;
36302
+ cart_id: string;
36303
+ cart_number: number;
36304
+ display_seq: number;
36305
+ display_total: number;
36306
+ order_id: string;
36307
+ }[];
36308
+ };
36309
+ logistics_order_unit_carts_core: {
36310
+ Args: {
36311
+ p_order_ids: string[];
36312
+ };
36313
+ Returns: {
36314
+ buffer_id: string;
36315
+ cart_id: string;
36316
+ cart_number: number;
36317
+ display_seq: number;
36318
+ display_total: number;
36319
+ order_id: string;
36320
+ }[];
36321
+ };
35819
36322
  logistics_orphan_carts_list: {
35820
36323
  Args: never;
35821
36324
  Returns: Json;
@@ -36166,6 +36669,12 @@ export type Database = {
36166
36669
  };
36167
36670
  Returns: undefined;
36168
36671
  };
36672
+ logistics_plan_now_gate: {
36673
+ Args: {
36674
+ p_order_ids: string[];
36675
+ };
36676
+ Returns: Json;
36677
+ };
36169
36678
  logistics_plan_progress: {
36170
36679
  Args: {
36171
36680
  p_refs: string[];
@@ -36317,6 +36826,12 @@ export type Database = {
36317
36826
  unit_kind: string;
36318
36827
  }[];
36319
36828
  };
36829
+ logistics_pos_num: {
36830
+ Args: {
36831
+ p: string;
36832
+ };
36833
+ Returns: number;
36834
+ };
36320
36835
  logistics_prepare_pick_documents: {
36321
36836
  Args: {
36322
36837
  p_limit?: number;
@@ -36329,6 +36844,19 @@ export type Database = {
36329
36844
  };
36330
36845
  Returns: string;
36331
36846
  };
36847
+ logistics_print_status: {
36848
+ Args: {
36849
+ p_queue_item_ids: string[];
36850
+ };
36851
+ Returns: {
36852
+ fase: string;
36853
+ fase_gestart_op: string;
36854
+ melding: string;
36855
+ printnode_status: string;
36856
+ queue_item_id: string;
36857
+ status: string;
36858
+ }[];
36859
+ };
36332
36860
  logistics_print_via_layout: {
36333
36861
  Args: {
36334
36862
  _documentnaam: string;
@@ -36344,6 +36872,31 @@ export type Database = {
36344
36872
  };
36345
36873
  Returns: Json;
36346
36874
  };
36875
+ logistics_product_maten: {
36876
+ Args: {
36877
+ p_product_ids: string[];
36878
+ };
36879
+ Returns: {
36880
+ breedte_bron: string;
36881
+ fust_bron: string;
36882
+ fust_height_mm: number;
36883
+ fust_length_mm: number;
36884
+ fust_name: string;
36885
+ fust_type_id: string;
36886
+ fust_width_mm: number;
36887
+ height_source: string;
36888
+ hoogte_bron: string;
36889
+ lengte_bron: string;
36890
+ missing_reason: string;
36891
+ pad_artikel: string;
36892
+ pad_fust: string;
36893
+ plant_height_cm: number;
36894
+ plants_per_crate: number;
36895
+ product_id: string;
36896
+ product_name: string;
36897
+ weight_kg: number;
36898
+ }[];
36899
+ };
36347
36900
  logistics_prune_buffer_member_queue: {
36348
36901
  Args: never;
36349
36902
  Returns: number;
@@ -36461,6 +37014,10 @@ export type Database = {
36461
37014
  };
36462
37015
  Returns: Json;
36463
37016
  };
37017
+ logistics_refresh_plan_state_als_nodig: {
37018
+ Args: never;
37019
+ Returns: Json;
37020
+ };
36464
37021
  logistics_register_tick_apikey: {
36465
37022
  Args: {
36466
37023
  p_key: string;
@@ -36749,6 +37306,17 @@ export type Database = {
36749
37306
  };
36750
37307
  Returns: Json;
36751
37308
  };
37309
+ logistics_schedule_global_fp: {
37310
+ Args: never;
37311
+ Returns: string;
37312
+ };
37313
+ logistics_schedule_order_fp: {
37314
+ Args: {
37315
+ p_global: string;
37316
+ p_order_ref: string;
37317
+ };
37318
+ Returns: string;
37319
+ };
36752
37320
  logistics_schedule_tasks: {
36753
37321
  Args: never;
36754
37322
  Returns: number;
@@ -36758,6 +37326,12 @@ export type Database = {
36758
37326
  };
36759
37327
  Returns: number;
36760
37328
  };
37329
+ logistics_schedule_tasks_batch: {
37330
+ Args: {
37331
+ p_opties: Json;
37332
+ };
37333
+ Returns: Json;
37334
+ };
36761
37335
  logistics_set_components_scaled: {
36762
37336
  Args: {
36763
37337
  p_order_item_id: string;
@@ -36997,6 +37571,10 @@ export type Database = {
36997
37571
  };
36998
37572
  Returns: undefined;
36999
37573
  };
37574
+ logistics_startlijst: {
37575
+ Args: never;
37576
+ Returns: Json;
37577
+ };
37000
37578
  logistics_status_after_shipping: {
37001
37579
  Args: {
37002
37580
  p_status: string;
@@ -37087,6 +37665,12 @@ export type Database = {
37087
37665
  };
37088
37666
  Returns: number[];
37089
37667
  };
37668
+ logistics_sticker_retry: {
37669
+ Args: {
37670
+ p_id: string;
37671
+ };
37672
+ Returns: Json;
37673
+ };
37090
37674
  logistics_sticker_sync: {
37091
37675
  Args: {
37092
37676
  p_limit?: number;
@@ -37209,6 +37793,12 @@ export type Database = {
37209
37793
  Args: never;
37210
37794
  Returns: Json;
37211
37795
  };
37796
+ logistics_tick_http_log: {
37797
+ Args: {
37798
+ p_steps: Json;
37799
+ };
37800
+ Returns: undefined;
37801
+ };
37212
37802
  logistics_tick_ping: {
37213
37803
  Args: never;
37214
37804
  Returns: string;
@@ -37217,6 +37807,10 @@ export type Database = {
37217
37807
  Args: never;
37218
37808
  Returns: number;
37219
37809
  };
37810
+ logistics_tick_timeout_ms: {
37811
+ Args: never;
37812
+ Returns: number;
37813
+ };
37220
37814
  logistics_timezone_options: {
37221
37815
  Args: never;
37222
37816
  Returns: {
@@ -37448,6 +38042,13 @@ export type Database = {
37448
38042
  };
37449
38043
  Returns: boolean;
37450
38044
  };
38045
+ logistics_vbn_cm: {
38046
+ Args: {
38047
+ p_code: string;
38048
+ p_feature: string;
38049
+ };
38050
+ Returns: number;
38051
+ };
37451
38052
  logistics_verkoop_order_link: {
37452
38053
  Args: {
37453
38054
  p_order_id: string;
@@ -39357,6 +39958,10 @@ export type Database = {
39357
39958
  Args: never;
39358
39959
  Returns: Json;
39359
39960
  };
39961
+ pickschermen_missing_objects: {
39962
+ Args: never;
39963
+ Returns: string[];
39964
+ };
39360
39965
  pickstation_auto_send_status: {
39361
39966
  Args: {
39362
39967
  p_device_key: string;
@@ -39385,6 +39990,20 @@ export type Database = {
39385
39990
  };
39386
39991
  Returns: Json;
39387
39992
  };
39993
+ pickstation_cart_sticker_states: {
39994
+ Args: {
39995
+ p_cart_ids: string[];
39996
+ p_device_key: string;
39997
+ p_slug: string;
39998
+ };
39999
+ Returns: Json;
40000
+ } | {
40001
+ Args: {
40002
+ p_cart_ids: string[];
40003
+ p_slug: string;
40004
+ };
40005
+ Returns: Json;
40006
+ };
39388
40007
  pickstation_device_status: {
39389
40008
  Args: {
39390
40009
  p_device_key: string;
@@ -39577,6 +40196,20 @@ export type Database = {
39577
40196
  };
39578
40197
  Returns: Json;
39579
40198
  };
40199
+ pickstation_print_status: {
40200
+ Args: {
40201
+ p_device_key: string;
40202
+ p_queue_item_ids: string[];
40203
+ p_slug: string;
40204
+ };
40205
+ Returns: Json;
40206
+ } | {
40207
+ Args: {
40208
+ p_queue_item_ids: string[];
40209
+ p_slug: string;
40210
+ };
40211
+ Returns: Json;
40212
+ };
39580
40213
  pickstation_resolve_delivery_orders: {
39581
40214
  Args: {
39582
40215
  p_device_key: string;
@@ -41506,6 +42139,20 @@ export type Database = {
41506
42139
  };
41507
42140
  Returns: boolean;
41508
42141
  };
42142
+ twinfield_add_request_metrics: {
42143
+ Args: {
42144
+ p_bucket_hour: string;
42145
+ p_clientid_limit?: number;
42146
+ p_clientid_remaining?: number;
42147
+ p_connection_id: string;
42148
+ p_errors: number;
42149
+ p_rate_limit_limit?: number;
42150
+ p_rate_limit_remaining?: number;
42151
+ p_rate_limited: number;
42152
+ p_requests: number;
42153
+ };
42154
+ Returns: undefined;
42155
+ };
41509
42156
  twinfield_assert_caller: {
41510
42157
  Args: {
41511
42158
  p_level: string;
@@ -41561,6 +42208,14 @@ export type Database = {
41561
42208
  user_id: string;
41562
42209
  }[];
41563
42210
  };
42211
+ twinfield_cron_jobs_spec: {
42212
+ Args: never;
42213
+ Returns: {
42214
+ command: string;
42215
+ jobname: string;
42216
+ schedule: string;
42217
+ }[];
42218
+ };
41564
42219
  twinfield_cron_lock_acquire: {
41565
42220
  Args: {
41566
42221
  _job_name: string;
@@ -41582,6 +42237,10 @@ export type Database = {
41582
42237
  };
41583
42238
  Returns: Json;
41584
42239
  };
42240
+ twinfield_ensure_cron: {
42241
+ Args: never;
42242
+ Returns: Json;
42243
+ };
41585
42244
  twinfield_facturatie_assert_server: {
41586
42245
  Args: {
41587
42246
  _functie: string;
@@ -42253,6 +42912,23 @@ export type Database = {
42253
42912
  };
42254
42913
  Returns: Json;
42255
42914
  };
42915
+ verkoop_ensure_cron: {
42916
+ Args: never;
42917
+ Returns: Json;
42918
+ };
42919
+ verkoop_fulfillment_index_apply: {
42920
+ Args: {
42921
+ p_data: Json;
42922
+ p_fulfillment_id: string;
42923
+ p_is_deleted: boolean;
42924
+ p_status: string;
42925
+ };
42926
+ Returns: number;
42927
+ };
42928
+ verkoop_fulfillment_index_rebuild: {
42929
+ Args: never;
42930
+ Returns: Json;
42931
+ };
42256
42932
  verkoop_guarded_functions: {
42257
42933
  Args: never;
42258
42934
  Returns: {
@@ -42262,6 +42938,14 @@ export type Database = {
42262
42938
  sig: string;
42263
42939
  }[];
42264
42940
  };
42941
+ verkoop_health_checks: {
42942
+ Args: never;
42943
+ Returns: {
42944
+ naam: string;
42945
+ ok: boolean;
42946
+ opm: string;
42947
+ }[];
42948
+ };
42265
42949
  verkoop_insert_manual_order: {
42266
42950
  Args: {
42267
42951
  p_idempotency_key: string;
@@ -42344,6 +43028,12 @@ export type Database = {
42344
43028
  };
42345
43029
  Returns: undefined;
42346
43030
  };
43031
+ voorraad_article_vbn: {
43032
+ Args: {
43033
+ p_product_id: string;
43034
+ };
43035
+ Returns: Json;
43036
+ };
42347
43037
  voorraad_can_write: {
42348
43038
  Args: never;
42349
43039
  Returns: boolean;
@@ -42366,6 +43056,12 @@ export type Database = {
42366
43056
  };
42367
43057
  Returns: Json;
42368
43058
  };
43059
+ voorraad_correctie_1112: {
43060
+ Args: {
43061
+ p_uitvoeren?: boolean;
43062
+ };
43063
+ Returns: Json;
43064
+ };
42369
43065
  voorraad_correctie_status: {
42370
43066
  Args: {
42371
43067
  p_correctie?: string;
@@ -42669,7 +43365,7 @@ export type Database = {
42669
43365
  Enums: {
42670
43366
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
42671
43367
  app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
42672
- doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief" | "traysticker";
43368
+ doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief" | "traysticker" | "eigen_sticker";
42673
43369
  doc_orientation: "portrait" | "landscape";
42674
43370
  exact_env: "staging" | "live";
42675
43371
  exact_push_status: "pending" | "sent" | "error";
@@ -42740,7 +43436,7 @@ export declare const Constants: {
42740
43436
  readonly Enums: {
42741
43437
  readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
42742
43438
  readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie", "superadmin"];
42743
- readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon", "veilingbon", "afleverbrief", "veilingbrief", "traysticker"];
43439
+ readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon", "veilingbon", "afleverbrief", "veilingbrief", "traysticker", "eigen_sticker"];
42744
43440
  readonly doc_orientation: readonly ["portrait", "landscape"];
42745
43441
  readonly exact_env: readonly ["staging", "live"];
42746
43442
  readonly exact_push_status: readonly ["pending", "sent", "error"];