@flowselections/scan-module 1.0.51 → 1.0.53

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.
@@ -374,6 +374,66 @@ export type Database = {
374
374
  };
375
375
  Relationships: [];
376
376
  };
377
+ afh_floriday_brief_bewaking: {
378
+ Row: {
379
+ afgesloten_at: string | null;
380
+ afgesloten_reden: string | null;
381
+ binnen_at: string | null;
382
+ binnen_tot_opdracht_ms: number | null;
383
+ created_at: string;
384
+ fulfillment_order_id: string | null;
385
+ gecontroleerd_at: string | null;
386
+ gemeld_at: string | null;
387
+ geprint_at: string | null;
388
+ melding_ids: string[];
389
+ melding_reden: string | null;
390
+ melding_weg_at: string | null;
391
+ order_id: string;
392
+ order_nummer: string | null;
393
+ print_job_id: string | null;
394
+ printopdracht_at: string | null;
395
+ updated_at: string;
396
+ };
397
+ Insert: {
398
+ afgesloten_at?: string | null;
399
+ afgesloten_reden?: string | null;
400
+ binnen_at?: string | null;
401
+ binnen_tot_opdracht_ms?: number | null;
402
+ created_at?: string;
403
+ fulfillment_order_id?: string | null;
404
+ gecontroleerd_at?: string | null;
405
+ gemeld_at?: string | null;
406
+ geprint_at?: string | null;
407
+ melding_ids?: string[];
408
+ melding_reden?: string | null;
409
+ melding_weg_at?: string | null;
410
+ order_id: string;
411
+ order_nummer?: string | null;
412
+ print_job_id?: string | null;
413
+ printopdracht_at?: string | null;
414
+ updated_at?: string;
415
+ };
416
+ Update: {
417
+ afgesloten_at?: string | null;
418
+ afgesloten_reden?: string | null;
419
+ binnen_at?: string | null;
420
+ binnen_tot_opdracht_ms?: number | null;
421
+ created_at?: string;
422
+ fulfillment_order_id?: string | null;
423
+ gecontroleerd_at?: string | null;
424
+ gemeld_at?: string | null;
425
+ geprint_at?: string | null;
426
+ melding_ids?: string[];
427
+ melding_reden?: string | null;
428
+ melding_weg_at?: string | null;
429
+ order_id?: string;
430
+ order_nummer?: string | null;
431
+ print_job_id?: string | null;
432
+ printopdracht_at?: string | null;
433
+ updated_at?: string;
434
+ };
435
+ Relationships: [];
436
+ };
377
437
  afh_levering_correcties: {
378
438
  Row: {
379
439
  cart_id: string | null;
@@ -3603,6 +3663,45 @@ export type Database = {
3603
3663
  }
3604
3664
  ];
3605
3665
  };
3666
+ customer_sticker_beleid: {
3667
+ Row: {
3668
+ beleid: string;
3669
+ created_at: string;
3670
+ customer_id: string;
3671
+ gewijzigd_door: string | null;
3672
+ updated_at: string;
3673
+ };
3674
+ Insert: {
3675
+ beleid?: string;
3676
+ created_at?: string;
3677
+ customer_id: string;
3678
+ gewijzigd_door?: string | null;
3679
+ updated_at?: string;
3680
+ };
3681
+ Update: {
3682
+ beleid?: string;
3683
+ created_at?: string;
3684
+ customer_id?: string;
3685
+ gewijzigd_door?: string | null;
3686
+ updated_at?: string;
3687
+ };
3688
+ Relationships: [
3689
+ {
3690
+ foreignKeyName: "customer_sticker_beleid_customer_id_fkey";
3691
+ columns: ["customer_id"];
3692
+ isOneToOne: true;
3693
+ referencedRelation: "customers";
3694
+ referencedColumns: ["id"];
3695
+ },
3696
+ {
3697
+ foreignKeyName: "customer_sticker_beleid_customer_id_fkey";
3698
+ columns: ["customer_id"];
3699
+ isOneToOne: true;
3700
+ referencedRelation: "klanten_selecteerbaar";
3701
+ referencedColumns: ["id"];
3702
+ }
3703
+ ];
3704
+ };
3606
3705
  customer_sticker_settings: {
3607
3706
  Row: {
3608
3707
  created_at: string;
@@ -9209,8 +9308,10 @@ export type Database = {
9209
9308
  connection_id: string;
9210
9309
  created_at: string;
9211
9310
  data: Json;
9311
+ deliver_separately: boolean | null;
9212
9312
  delivery_date_time: string | null;
9213
9313
  fetched_at: string;
9314
+ file_received_at: string | null;
9214
9315
  floriday_id: string;
9215
9316
  has_file: boolean | null;
9216
9317
  id: string;
@@ -9234,8 +9335,10 @@ export type Database = {
9234
9335
  connection_id: string;
9235
9336
  created_at?: string;
9236
9337
  data?: Json;
9338
+ deliver_separately?: boolean | null;
9237
9339
  delivery_date_time?: string | null;
9238
9340
  fetched_at?: string;
9341
+ file_received_at?: string | null;
9239
9342
  floriday_id: string;
9240
9343
  has_file?: boolean | null;
9241
9344
  id?: string;
@@ -9259,8 +9362,10 @@ export type Database = {
9259
9362
  connection_id?: string;
9260
9363
  created_at?: string;
9261
9364
  data?: Json;
9365
+ deliver_separately?: boolean | null;
9262
9366
  delivery_date_time?: string | null;
9263
9367
  fetched_at?: string;
9368
+ file_received_at?: string | null;
9264
9369
  floriday_id?: string;
9265
9370
  has_file?: boolean | null;
9266
9371
  id?: string;
@@ -14946,6 +15051,51 @@ export type Database = {
14946
15051
  };
14947
15052
  Relationships: [];
14948
15053
  };
15054
+ logistics_afleveropdrachten: {
15055
+ Row: {
15056
+ bron: string | null;
15057
+ cart_id: string;
15058
+ created_at: string;
15059
+ fout: string | null;
15060
+ id: string;
15061
+ idempotentie_sleutel: string;
15062
+ order_ids: string[];
15063
+ order_refs: string[];
15064
+ revisie: number;
15065
+ status: string;
15066
+ uitkomst: Json | null;
15067
+ updated_at: string;
15068
+ };
15069
+ Insert: {
15070
+ bron?: string | null;
15071
+ cart_id: string;
15072
+ created_at?: string;
15073
+ fout?: string | null;
15074
+ id?: string;
15075
+ idempotentie_sleutel: string;
15076
+ order_ids?: string[];
15077
+ order_refs?: string[];
15078
+ revisie?: number;
15079
+ status?: string;
15080
+ uitkomst?: Json | null;
15081
+ updated_at?: string;
15082
+ };
15083
+ Update: {
15084
+ bron?: string | null;
15085
+ cart_id?: string;
15086
+ created_at?: string;
15087
+ fout?: string | null;
15088
+ id?: string;
15089
+ idempotentie_sleutel?: string;
15090
+ order_ids?: string[];
15091
+ order_refs?: string[];
15092
+ revisie?: number;
15093
+ status?: string;
15094
+ uitkomst?: Json | null;
15095
+ updated_at?: string;
15096
+ };
15097
+ Relationships: [];
15098
+ };
14949
15099
  logistics_allocation_fingerprint: {
14950
15100
  Row: {
14951
15101
  created_at: string;
@@ -16415,6 +16565,42 @@ export type Database = {
16415
16565
  };
16416
16566
  Relationships: [];
16417
16567
  };
16568
+ logistics_floriday_sticker_handled_outbox: {
16569
+ Row: {
16570
+ aangemaakt_op: string;
16571
+ cart_id: string;
16572
+ floriday_sticker_id: string;
16573
+ id: string;
16574
+ laatste_fout: string | null;
16575
+ pogingen: number;
16576
+ status: string;
16577
+ verwerkt_op: string | null;
16578
+ volgende_poging_op: string | null;
16579
+ };
16580
+ Insert: {
16581
+ aangemaakt_op?: string;
16582
+ cart_id: string;
16583
+ floriday_sticker_id: string;
16584
+ id?: string;
16585
+ laatste_fout?: string | null;
16586
+ pogingen?: number;
16587
+ status?: string;
16588
+ verwerkt_op?: string | null;
16589
+ volgende_poging_op?: string | null;
16590
+ };
16591
+ Update: {
16592
+ aangemaakt_op?: string;
16593
+ cart_id?: string;
16594
+ floriday_sticker_id?: string;
16595
+ id?: string;
16596
+ laatste_fout?: string | null;
16597
+ pogingen?: number;
16598
+ status?: string;
16599
+ verwerkt_op?: string | null;
16600
+ volgende_poging_op?: string | null;
16601
+ };
16602
+ Relationships: [];
16603
+ };
16418
16604
  logistics_formulas: {
16419
16605
  Row: {
16420
16606
  created_at: string;
@@ -16828,7 +17014,7 @@ export type Database = {
16828
17014
  };
16829
17015
  Relationships: [];
16830
17016
  };
16831
- logistics_logboek_2026w46: {
17017
+ logistics_logboek_2026w47: {
16832
17018
  Row: {
16833
17019
  actor: string | null;
16834
17020
  attempts: number | null;
@@ -16948,7 +17134,7 @@ export type Database = {
16948
17134
  };
16949
17135
  Relationships: [];
16950
17136
  };
16951
- logistics_logboek_2026w47: {
17137
+ logistics_logboek_2026w48: {
16952
17138
  Row: {
16953
17139
  actor: string | null;
16954
17140
  attempts: number | null;
@@ -17068,7 +17254,7 @@ export type Database = {
17068
17254
  };
17069
17255
  Relationships: [];
17070
17256
  };
17071
- logistics_logboek_2026w48: {
17257
+ logistics_logboek_2026w49: {
17072
17258
  Row: {
17073
17259
  actor: string | null;
17074
17260
  attempts: number | null;
@@ -17188,7 +17374,7 @@ export type Database = {
17188
17374
  };
17189
17375
  Relationships: [];
17190
17376
  };
17191
- logistics_logboek_2026w49: {
17377
+ logistics_logboek_2026w50: {
17192
17378
  Row: {
17193
17379
  actor: string | null;
17194
17380
  attempts: number | null;
@@ -17308,7 +17494,7 @@ export type Database = {
17308
17494
  };
17309
17495
  Relationships: [];
17310
17496
  };
17311
- logistics_logboek_2026w50: {
17497
+ logistics_logboek_2026w51: {
17312
17498
  Row: {
17313
17499
  actor: string | null;
17314
17500
  attempts: number | null;
@@ -17428,7 +17614,7 @@ export type Database = {
17428
17614
  };
17429
17615
  Relationships: [];
17430
17616
  };
17431
- logistics_logboek_2026w51: {
17617
+ logistics_logboek_2026w52: {
17432
17618
  Row: {
17433
17619
  actor: string | null;
17434
17620
  attempts: number | null;
@@ -17548,7 +17734,7 @@ export type Database = {
17548
17734
  };
17549
17735
  Relationships: [];
17550
17736
  };
17551
- logistics_logboek_2026w52: {
17737
+ logistics_logboek_2026w53: {
17552
17738
  Row: {
17553
17739
  actor: string | null;
17554
17740
  attempts: number | null;
@@ -17668,7 +17854,7 @@ export type Database = {
17668
17854
  };
17669
17855
  Relationships: [];
17670
17856
  };
17671
- logistics_logboek_2026w53: {
17857
+ logistics_logboek_2027w01: {
17672
17858
  Row: {
17673
17859
  actor: string | null;
17674
17860
  attempts: number | null;
@@ -17788,7 +17974,7 @@ export type Database = {
17788
17974
  };
17789
17975
  Relationships: [];
17790
17976
  };
17791
- logistics_logboek_2027w01: {
17977
+ logistics_logboek_2027w02: {
17792
17978
  Row: {
17793
17979
  actor: string | null;
17794
17980
  attempts: number | null;
@@ -17908,7 +18094,7 @@ export type Database = {
17908
18094
  };
17909
18095
  Relationships: [];
17910
18096
  };
17911
- logistics_logboek_2027w02: {
18097
+ logistics_logboek_2027w03: {
17912
18098
  Row: {
17913
18099
  actor: string | null;
17914
18100
  attempts: number | null;
@@ -18028,7 +18214,7 @@ export type Database = {
18028
18214
  };
18029
18215
  Relationships: [];
18030
18216
  };
18031
- logistics_logboek_2027w03: {
18217
+ logistics_logboek_2027w04: {
18032
18218
  Row: {
18033
18219
  actor: string | null;
18034
18220
  attempts: number | null;
@@ -18148,7 +18334,7 @@ export type Database = {
18148
18334
  };
18149
18335
  Relationships: [];
18150
18336
  };
18151
- logistics_logboek_2027w04: {
18337
+ logistics_logboek_2027w05: {
18152
18338
  Row: {
18153
18339
  actor: string | null;
18154
18340
  attempts: number | null;
@@ -18268,7 +18454,7 @@ export type Database = {
18268
18454
  };
18269
18455
  Relationships: [];
18270
18456
  };
18271
- logistics_logboek_2027w05: {
18457
+ logistics_logboek_2027w06: {
18272
18458
  Row: {
18273
18459
  actor: string | null;
18274
18460
  attempts: number | null;
@@ -18388,7 +18574,7 @@ export type Database = {
18388
18574
  };
18389
18575
  Relationships: [];
18390
18576
  };
18391
- logistics_logboek_2027w06: {
18577
+ logistics_logboek_2027w07: {
18392
18578
  Row: {
18393
18579
  actor: string | null;
18394
18580
  attempts: number | null;
@@ -18508,7 +18694,7 @@ export type Database = {
18508
18694
  };
18509
18695
  Relationships: [];
18510
18696
  };
18511
- logistics_logboek_2027w07: {
18697
+ logistics_logboek_2027w08: {
18512
18698
  Row: {
18513
18699
  actor: string | null;
18514
18700
  attempts: number | null;
@@ -20305,6 +20491,8 @@ export type Database = {
20305
20491
  logistics_sticker_prints: {
20306
20492
  Row: {
20307
20493
  attempts: number;
20494
+ bestand_bucket: string | null;
20495
+ bestand_pad: string | null;
20308
20496
  breedte_mm: number | null;
20309
20497
  bron_id: string;
20310
20498
  cart_id: string | null;
@@ -20320,19 +20508,28 @@ export type Database = {
20320
20508
  id: string;
20321
20509
  kopieen: number;
20322
20510
  kopieen_bron: string | null;
20511
+ los_meegeven: boolean;
20512
+ na_print_akkoord_at: string | null;
20513
+ na_print_binnen: boolean;
20323
20514
  next_attempt_at: string | null;
20324
20515
  order_id: string | null;
20325
20516
  order_number: string | null;
20326
20517
  print_job_id: string | null;
20327
20518
  print_plek_id: string | null;
20328
20519
  reden: string | null;
20520
+ samengevoegd_in: string | null;
20329
20521
  soort: string;
20330
20522
  status: string;
20523
+ sticker_bron: string | null;
20331
20524
  sticker_type: string | null;
20332
20525
  updated_at: string;
20526
+ wacht_sinds: string | null;
20527
+ zonder_bestand: boolean;
20333
20528
  };
20334
20529
  Insert: {
20335
20530
  attempts?: number;
20531
+ bestand_bucket?: string | null;
20532
+ bestand_pad?: string | null;
20336
20533
  breedte_mm?: number | null;
20337
20534
  bron_id: string;
20338
20535
  cart_id?: string | null;
@@ -20348,19 +20545,28 @@ export type Database = {
20348
20545
  id?: string;
20349
20546
  kopieen?: number;
20350
20547
  kopieen_bron?: string | null;
20548
+ los_meegeven?: boolean;
20549
+ na_print_akkoord_at?: string | null;
20550
+ na_print_binnen?: boolean;
20351
20551
  next_attempt_at?: string | null;
20352
20552
  order_id?: string | null;
20353
20553
  order_number?: string | null;
20354
20554
  print_job_id?: string | null;
20355
20555
  print_plek_id?: string | null;
20356
20556
  reden?: string | null;
20557
+ samengevoegd_in?: string | null;
20357
20558
  soort: string;
20358
20559
  status?: string;
20560
+ sticker_bron?: string | null;
20359
20561
  sticker_type?: string | null;
20360
20562
  updated_at?: string;
20563
+ wacht_sinds?: string | null;
20564
+ zonder_bestand?: boolean;
20361
20565
  };
20362
20566
  Update: {
20363
20567
  attempts?: number;
20568
+ bestand_bucket?: string | null;
20569
+ bestand_pad?: string | null;
20364
20570
  breedte_mm?: number | null;
20365
20571
  bron_id?: string;
20366
20572
  cart_id?: string | null;
@@ -20376,16 +20582,23 @@ export type Database = {
20376
20582
  id?: string;
20377
20583
  kopieen?: number;
20378
20584
  kopieen_bron?: string | null;
20585
+ los_meegeven?: boolean;
20586
+ na_print_akkoord_at?: string | null;
20587
+ na_print_binnen?: boolean;
20379
20588
  next_attempt_at?: string | null;
20380
20589
  order_id?: string | null;
20381
20590
  order_number?: string | null;
20382
20591
  print_job_id?: string | null;
20383
20592
  print_plek_id?: string | null;
20384
20593
  reden?: string | null;
20594
+ samengevoegd_in?: string | null;
20385
20595
  soort?: string;
20386
20596
  status?: string;
20597
+ sticker_bron?: string | null;
20387
20598
  sticker_type?: string | null;
20388
20599
  updated_at?: string;
20600
+ wacht_sinds?: string | null;
20601
+ zonder_bestand?: boolean;
20389
20602
  };
20390
20603
  Relationships: [];
20391
20604
  };
@@ -35213,33 +35426,42 @@ export type Database = {
35213
35426
  Row: {
35214
35427
  created_at: string;
35215
35428
  fust_sticker_id: string | null;
35429
+ fust_sticker_modus: string;
35216
35430
  line_fields: Json;
35217
35431
  line_note: string | null;
35218
35432
  order_id: string;
35219
35433
  order_item_id: string;
35434
+ pot_sticker_modus: string;
35220
35435
  product_sticker_id: string | null;
35436
+ sticker_reden: string | null;
35221
35437
  updated_at: string;
35222
35438
  updated_by: string | null;
35223
35439
  };
35224
35440
  Insert: {
35225
35441
  created_at?: string;
35226
35442
  fust_sticker_id?: string | null;
35443
+ fust_sticker_modus?: string;
35227
35444
  line_fields?: Json;
35228
35445
  line_note?: string | null;
35229
35446
  order_id: string;
35230
35447
  order_item_id: string;
35448
+ pot_sticker_modus?: string;
35231
35449
  product_sticker_id?: string | null;
35450
+ sticker_reden?: string | null;
35232
35451
  updated_at?: string;
35233
35452
  updated_by?: string | null;
35234
35453
  };
35235
35454
  Update: {
35236
35455
  created_at?: string;
35237
35456
  fust_sticker_id?: string | null;
35457
+ fust_sticker_modus?: string;
35238
35458
  line_fields?: Json;
35239
35459
  line_note?: string | null;
35240
35460
  order_id?: string;
35241
35461
  order_item_id?: string;
35462
+ pot_sticker_modus?: string;
35242
35463
  product_sticker_id?: string | null;
35464
+ sticker_reden?: string | null;
35243
35465
  updated_at?: string;
35244
35466
  updated_by?: string | null;
35245
35467
  };
@@ -35386,6 +35608,56 @@ export type Database = {
35386
35608
  };
35387
35609
  Relationships: [];
35388
35610
  };
35611
+ voorraad_artikel_stickers: {
35612
+ Row: {
35613
+ bijgewerkt_op: string;
35614
+ breedte_mm: number;
35615
+ created_at: string;
35616
+ file_name: string | null;
35617
+ file_path: string;
35618
+ hoogte_mm: number;
35619
+ id: string;
35620
+ mime_type: string | null;
35621
+ product_id: string;
35622
+ soort: string;
35623
+ uploaded_by: string | null;
35624
+ };
35625
+ Insert: {
35626
+ bijgewerkt_op?: string;
35627
+ breedte_mm: number;
35628
+ created_at?: string;
35629
+ file_name?: string | null;
35630
+ file_path: string;
35631
+ hoogte_mm: number;
35632
+ id?: string;
35633
+ mime_type?: string | null;
35634
+ product_id: string;
35635
+ soort: string;
35636
+ uploaded_by?: string | null;
35637
+ };
35638
+ Update: {
35639
+ bijgewerkt_op?: string;
35640
+ breedte_mm?: number;
35641
+ created_at?: string;
35642
+ file_name?: string | null;
35643
+ file_path?: string;
35644
+ hoogte_mm?: number;
35645
+ id?: string;
35646
+ mime_type?: string | null;
35647
+ product_id?: string;
35648
+ soort?: string;
35649
+ uploaded_by?: string | null;
35650
+ };
35651
+ Relationships: [
35652
+ {
35653
+ foreignKeyName: "voorraad_artikel_stickers_product_id_fkey";
35654
+ columns: ["product_id"];
35655
+ isOneToOne: false;
35656
+ referencedRelation: "products";
35657
+ referencedColumns: ["id"];
35658
+ }
35659
+ ];
35660
+ };
35389
35661
  voorraad_buffer_state: {
35390
35662
  Row: {
35391
35663
  buffer_id: string;
@@ -39515,6 +39787,10 @@ export type Database = {
39515
39787
  };
39516
39788
  };
39517
39789
  Functions: {
39790
+ _afh_afzender: {
39791
+ Args: never;
39792
+ Returns: Json;
39793
+ };
39518
39794
  _afh_cmr_stand: {
39519
39795
  Args: {
39520
39796
  p_code: string;
@@ -39541,6 +39817,29 @@ export type Database = {
39541
39817
  };
39542
39818
  Returns: undefined;
39543
39819
  };
39820
+ _afh_documenten_order: {
39821
+ Args: {
39822
+ p_cart_id: string;
39823
+ p_order_id: string;
39824
+ };
39825
+ Returns: Json;
39826
+ };
39827
+ _afh_flo_alles_gecontroleerd: {
39828
+ Args: {
39829
+ p_order_ids: string[];
39830
+ };
39831
+ Returns: boolean;
39832
+ };
39833
+ _afh_flo_bewaking_bij: {
39834
+ Args: {
39835
+ p_binnen: string;
39836
+ p_fo: string;
39837
+ p_gecontroleerd: boolean;
39838
+ p_order_ids: string[];
39839
+ p_res: Json;
39840
+ };
39841
+ Returns: undefined;
39842
+ };
39544
39843
  _arm_offer_order_retry: {
39545
39844
  Args: never;
39546
39845
  Returns: undefined;
@@ -39784,6 +40083,12 @@ export type Database = {
39784
40083
  };
39785
40084
  Returns: string;
39786
40085
  };
40086
+ _pick_verify_rows_kern: {
40087
+ Args: {
40088
+ _rows: Json;
40089
+ };
40090
+ Returns: Json;
40091
+ };
39787
40092
  _print_job_herstart: {
39788
40093
  Args: {
39789
40094
  p_bron: string;
@@ -40138,6 +40443,12 @@ export type Database = {
40138
40443
  };
40139
40444
  Returns: Json;
40140
40445
  };
40446
+ afh_afleverbrief_doorlooptijd: {
40447
+ Args: {
40448
+ p_sinds?: string;
40449
+ };
40450
+ Returns: Json;
40451
+ };
40141
40452
  afh_afleverbrief_payload: {
40142
40453
  Args: {
40143
40454
  p_cart_id: string;
@@ -40317,12 +40628,22 @@ export type Database = {
40317
40628
  };
40318
40629
  Returns: string[];
40319
40630
  };
40631
+ afh_floriday_brief_bewaking: {
40632
+ Args: never;
40633
+ Returns: Json;
40634
+ };
40320
40635
  afh_floriday_brief_binnen: {
40321
40636
  Args: {
40322
40637
  p_fulfillment_order_id: string;
40323
40638
  };
40324
40639
  Returns: Json;
40325
40640
  };
40641
+ afh_floriday_brief_doorlooptijd: {
40642
+ Args: {
40643
+ p_sinds?: string;
40644
+ };
40645
+ Returns: Json;
40646
+ };
40326
40647
  afh_floriday_brief_printen: {
40327
40648
  Args: {
40328
40649
  p_fulfillment_order_id: string;
@@ -41006,6 +41327,14 @@ export type Database = {
41006
41327
  };
41007
41328
  Returns: undefined;
41008
41329
  };
41330
+ boekhoud_vertaal_status_lezen: {
41331
+ Args: {
41332
+ p_action?: string;
41333
+ p_entity_id: string;
41334
+ p_entity_type: string;
41335
+ };
41336
+ Returns: Json;
41337
+ };
41009
41338
  boekhoud_vertaal_toegang: {
41010
41339
  Args: {
41011
41340
  p_niveau: string;
@@ -42548,6 +42877,12 @@ export type Database = {
42548
42877
  niveau: string;
42549
42878
  }[];
42550
42879
  };
42880
+ floriday_brief_nu_ophalen: {
42881
+ Args: {
42882
+ p_fulfillment_order_id: string;
42883
+ };
42884
+ Returns: Json;
42885
+ };
42551
42886
  floriday_buyer_organizations: {
42552
42887
  Args: {
42553
42888
  p_connection_id: string;
@@ -44185,10 +44520,28 @@ export type Database = {
44185
44520
  };
44186
44521
  Returns: Json;
44187
44522
  };
44523
+ klanten_sticker_beleid: {
44524
+ Args: {
44525
+ p_customer_id: string;
44526
+ };
44527
+ Returns: string;
44528
+ };
44529
+ klanten_sticker_voor: {
44530
+ Args: {
44531
+ p_customer_id: string;
44532
+ p_product_id: string;
44533
+ p_soort?: string;
44534
+ };
44535
+ Returns: Json;
44536
+ };
44188
44537
  klanten_stickerformaten_inventaris: {
44189
44538
  Args: never;
44190
44539
  Returns: Json;
44191
44540
  };
44541
+ klanten_stickers_sleutel_gelijkzetten: {
44542
+ Args: never;
44543
+ Returns: Json;
44544
+ };
44192
44545
  klanten_toegang: {
44193
44546
  Args: {
44194
44547
  p_niveau: string;
@@ -44286,6 +44639,14 @@ export type Database = {
44286
44639
  rijen: number;
44287
44640
  }[];
44288
44641
  };
44642
+ layouts_afleverbrief_bron: {
44643
+ Args: {
44644
+ p_job_id: string;
44645
+ p_payload: Json;
44646
+ p_sleutel: string;
44647
+ };
44648
+ Returns: string;
44649
+ };
44289
44650
  layouts_controleplek: {
44290
44651
  Args: never;
44291
44652
  Returns: Json;
@@ -44638,6 +44999,12 @@ export type Database = {
44638
44999
  };
44639
45000
  Returns: Json;
44640
45001
  };
45002
+ logistics_actie_nodig_sticker_na_print: {
45003
+ Args: {
45004
+ p_limit?: number;
45005
+ };
45006
+ Returns: Json;
45007
+ };
44641
45008
  logistics_actie_nodig_stickers: {
44642
45009
  Args: {
44643
45010
  p_limit?: number;
@@ -44672,6 +45039,12 @@ export type Database = {
44672
45039
  Args: never;
44673
45040
  Returns: string;
44674
45041
  };
45042
+ logistics_afleveropdrachten_opruimen: {
45043
+ Args: {
45044
+ p_limit?: number;
45045
+ };
45046
+ Returns: number;
45047
+ };
44675
45048
  logistics_allocation_check_changes: {
44676
45049
  Args: {
44677
45050
  p_order_item_ids?: string[];
@@ -44775,6 +45148,10 @@ export type Database = {
44775
45148
  Args: never;
44776
45149
  Returns: number;
44777
45150
  };
45151
+ logistics_archiveer_ongeprint_na_dagen: {
45152
+ Args: never;
45153
+ Returns: number;
45154
+ };
44778
45155
  logistics_artikel_letter: {
44779
45156
  Args: {
44780
45157
  p_nr: number;
@@ -45659,6 +46036,12 @@ export type Database = {
45659
46036
  };
45660
46037
  Returns: string[];
45661
46038
  };
46039
+ logistics_cart_pakbon_geprint_op: {
46040
+ Args: {
46041
+ p_cart_id: string;
46042
+ };
46043
+ Returns: string;
46044
+ };
45662
46045
  logistics_cart_pick_starts_at: {
45663
46046
  Args: {
45664
46047
  p_cart_id: string;
@@ -45866,6 +46249,12 @@ export type Database = {
45866
46249
  };
45867
46250
  Returns: number;
45868
46251
  };
46252
+ logistics_cart_wacht_grens: {
46253
+ Args: {
46254
+ p_cart_id: string;
46255
+ };
46256
+ Returns: string;
46257
+ };
45869
46258
  logistics_cart_wacht_vastleggen: {
45870
46259
  Args: {
45871
46260
  p_cart_id: string;
@@ -46360,6 +46749,13 @@ export type Database = {
46360
46749
  };
46361
46750
  Returns: Json;
46362
46751
  };
46752
+ logistics_direct_wekken: {
46753
+ Args: {
46754
+ p_body?: Json;
46755
+ p_stap: string;
46756
+ };
46757
+ Returns: number;
46758
+ };
46363
46759
  logistics_document_for_order: {
46364
46760
  Args: {
46365
46761
  p_documenttype: string;
@@ -46841,6 +47237,35 @@ export type Database = {
46841
47237
  Args: never;
46842
47238
  Returns: boolean;
46843
47239
  };
47240
+ logistics_floriday_sticker_handled_claim: {
47241
+ Args: {
47242
+ p_limit?: number;
47243
+ };
47244
+ Returns: {
47245
+ floriday_sticker_id: string;
47246
+ id: string;
47247
+ }[];
47248
+ };
47249
+ logistics_floriday_sticker_handled_enqueue: {
47250
+ Args: {
47251
+ p_cart_id: string;
47252
+ };
47253
+ Returns: number;
47254
+ };
47255
+ logistics_floriday_sticker_handled_opruimen: {
47256
+ Args: {
47257
+ p_limit?: number;
47258
+ };
47259
+ Returns: number;
47260
+ };
47261
+ logistics_floriday_sticker_handled_outcome: {
47262
+ Args: {
47263
+ p_fout?: string;
47264
+ p_id: string;
47265
+ p_ok: boolean;
47266
+ };
47267
+ Returns: undefined;
47268
+ };
46844
47269
  logistics_floriday_stock_updates_enabled: {
46845
47270
  Args: never;
46846
47271
  Returns: boolean;
@@ -47335,6 +47760,18 @@ export type Database = {
47335
47760
  };
47336
47761
  Returns: Json;
47337
47762
  };
47763
+ logistics_kar_nu_vrijgeven: {
47764
+ Args: {
47765
+ p_cart_id: string;
47766
+ };
47767
+ Returns: Json;
47768
+ };
47769
+ logistics_kar_orderlijst_herstel: {
47770
+ Args: {
47771
+ p_limit?: number;
47772
+ };
47773
+ Returns: Json;
47774
+ };
47338
47775
  logistics_kar_svg: {
47339
47776
  Args: {
47340
47777
  p: Json;
@@ -47356,6 +47793,13 @@ export type Database = {
47356
47793
  };
47357
47794
  Returns: Json;
47358
47795
  };
47796
+ logistics_kar_tekening_kar: {
47797
+ Args: {
47798
+ p_cart_id: string;
47799
+ p_variant?: string;
47800
+ };
47801
+ Returns: Json;
47802
+ };
47359
47803
  logistics_kar_tekening_v2: {
47360
47804
  Args: {
47361
47805
  p_opties?: Json;
@@ -47372,6 +47816,12 @@ export type Database = {
47372
47816
  };
47373
47817
  Returns: string;
47374
47818
  };
47819
+ logistics_kar_telling: {
47820
+ Args: {
47821
+ p_cart_id: string;
47822
+ };
47823
+ Returns: Json;
47824
+ };
47375
47825
  logistics_kargroep_soort: {
47376
47826
  Args: {
47377
47827
  p_order_id: string;
@@ -47500,6 +47950,12 @@ export type Database = {
47500
47950
  Args: never;
47501
47951
  Returns: string;
47502
47952
  };
47953
+ logistics_laag_auto_marge: {
47954
+ Args: {
47955
+ p_limit?: number;
47956
+ };
47957
+ Returns: Json;
47958
+ };
47503
47959
  logistics_laag_bevestig: {
47504
47960
  Args: {
47505
47961
  p_berekend?: number;
@@ -47523,6 +47979,16 @@ export type Database = {
47523
47979
  Args: never;
47524
47980
  Returns: number;
47525
47981
  };
47982
+ logistics_laag_kies: {
47983
+ Args: {
47984
+ p_fust_sleutel: string;
47985
+ p_keuze: string;
47986
+ p_ladingdrager_code: string;
47987
+ p_order_id: string;
47988
+ p_product_id: string;
47989
+ };
47990
+ Returns: Json;
47991
+ };
47526
47992
  logistics_laag_menging_core: {
47527
47993
  Args: never;
47528
47994
  Returns: Json;
@@ -47838,6 +48304,10 @@ export type Database = {
47838
48304
  Args: never;
47839
48305
  Returns: Json;
47840
48306
  };
48307
+ logistics_minuutronde_stand: {
48308
+ Args: never;
48309
+ Returns: Json;
48310
+ };
47841
48311
  logistics_na_goedkeuren: {
47842
48312
  Args: {
47843
48313
  p_bron?: string;
@@ -48381,6 +48851,12 @@ export type Database = {
48381
48851
  };
48382
48852
  Returns: boolean;
48383
48853
  };
48854
+ logistics_order_pakbon_geprint_op: {
48855
+ Args: {
48856
+ p_order_id: string;
48857
+ };
48858
+ Returns: string;
48859
+ };
48384
48860
  logistics_order_pick_day: {
48385
48861
  Args: {
48386
48862
  p_order_ref: string;
@@ -48536,6 +49012,12 @@ export type Database = {
48536
49012
  order_id: string;
48537
49013
  }[];
48538
49014
  };
49015
+ logistics_order_tekorten: {
49016
+ Args: {
49017
+ p_order_id: string;
49018
+ };
49019
+ Returns: Json;
49020
+ };
48539
49021
  logistics_order_tijdlijn: {
48540
49022
  Args: {
48541
49023
  p_order_id: string;
@@ -48580,6 +49062,12 @@ export type Database = {
48580
49062
  };
48581
49063
  Returns: boolean;
48582
49064
  };
49065
+ logistics_order_vrijgegeven_op: {
49066
+ Args: {
49067
+ p_order_ref: string;
49068
+ };
49069
+ Returns: string;
49070
+ };
48583
49071
  logistics_ordermomenten_bijwerken: {
48584
49072
  Args: {
48585
49073
  p_limit?: number;
@@ -49372,6 +49860,12 @@ export type Database = {
49372
49860
  tekst: string;
49373
49861
  }[];
49374
49862
  };
49863
+ logistics_product_sticker_sleutels: {
49864
+ Args: {
49865
+ p_product_id: string;
49866
+ };
49867
+ Returns: string[];
49868
+ };
49375
49869
  logistics_product_transporthoogte: {
49376
49870
  Args: {
49377
49871
  p_ladingdrager?: string;
@@ -50084,6 +50578,12 @@ export type Database = {
50084
50578
  };
50085
50579
  Returns: boolean;
50086
50580
  };
50581
+ logistics_slip_kar_telling: {
50582
+ Args: {
50583
+ p_cart: Json;
50584
+ };
50585
+ Returns: Json;
50586
+ };
50087
50587
  logistics_slip_note_claim: {
50088
50588
  Args: {
50089
50589
  _lease_seconds?: number;
@@ -50271,6 +50771,13 @@ export type Database = {
50271
50771
  Args: never;
50272
50772
  Returns: Json;
50273
50773
  };
50774
+ logistics_sticker_bucket: {
50775
+ Args: {
50776
+ p_bron: string;
50777
+ p_bucket?: string;
50778
+ };
50779
+ Returns: string;
50780
+ };
50274
50781
  logistics_sticker_cart_plek: {
50275
50782
  Args: {
50276
50783
  _cart: string;
@@ -50312,10 +50819,46 @@ export type Database = {
50312
50819
  };
50313
50820
  Returns: boolean;
50314
50821
  };
50822
+ logistics_sticker_floriday_soort: {
50823
+ Args: {
50824
+ p_type: string;
50825
+ };
50826
+ Returns: string;
50827
+ };
50315
50828
  logistics_sticker_follows_slip: {
50316
50829
  Args: never;
50317
50830
  Returns: boolean;
50318
50831
  };
50832
+ logistics_sticker_instellingen: {
50833
+ Args: never;
50834
+ Returns: Json;
50835
+ };
50836
+ logistics_sticker_keuze: {
50837
+ Args: {
50838
+ p_order_item_id: string;
50839
+ };
50840
+ Returns: Json;
50841
+ };
50842
+ logistics_sticker_keuze_aanvullen: {
50843
+ Args: {
50844
+ p_limit?: number;
50845
+ };
50846
+ Returns: Json;
50847
+ };
50848
+ logistics_sticker_keuze_batch: {
50849
+ Args: {
50850
+ p_cart_id?: string;
50851
+ p_order_ids?: string[];
50852
+ };
50853
+ Returns: Json;
50854
+ };
50855
+ logistics_sticker_keuze_kern: {
50856
+ Args: {
50857
+ p_inst: Json;
50858
+ p_order_item_id: string;
50859
+ };
50860
+ Returns: Json;
50861
+ };
50319
50862
  logistics_sticker_maten_per_dag: {
50320
50863
  Args: {
50321
50864
  p_tot: string;
@@ -50338,6 +50881,12 @@ export type Database = {
50338
50881
  };
50339
50882
  Returns: boolean;
50340
50883
  };
50884
+ logistics_sticker_nu_printen: {
50885
+ Args: {
50886
+ p_id: string;
50887
+ };
50888
+ Returns: Json;
50889
+ };
50341
50890
  logistics_sticker_order_counts: {
50342
50891
  Args: {
50343
50892
  p_order: string;
@@ -50383,6 +50932,19 @@ export type Database = {
50383
50932
  };
50384
50933
  Returns: undefined;
50385
50934
  };
50935
+ logistics_stock_alert_opslaan: {
50936
+ Args: {
50937
+ p_email: boolean;
50938
+ p_emails: string[];
50939
+ p_notify: boolean;
50940
+ p_order: Database["public"]["Tables"]["orders"]["Row"];
50941
+ p_prio: number;
50942
+ p_prio_text: string;
50943
+ p_shortages: Json;
50944
+ p_user_id: string;
50945
+ };
50946
+ Returns: string;
50947
+ };
50386
50948
  logistics_stock_email_klaarzetten: {
50387
50949
  Args: {
50388
50950
  p_max?: number;
@@ -50443,6 +51005,12 @@ export type Database = {
50443
51005
  };
50444
51006
  Returns: number;
50445
51007
  };
51008
+ logistics_taken_achterstand: {
51009
+ Args: {
51010
+ p_limit?: number;
51011
+ };
51012
+ Returns: Json;
51013
+ };
50446
51014
  logistics_task_open_counts: {
50447
51015
  Args: never;
50448
51016
  Returns: {
@@ -53116,6 +53684,14 @@ export type Database = {
53116
53684
  };
53117
53685
  Returns: Json;
53118
53686
  };
53687
+ pickstation_cart_stickers: {
53688
+ Args: {
53689
+ p_cart_id: string;
53690
+ p_device_key?: string;
53691
+ p_slug: string;
53692
+ };
53693
+ Returns: Json;
53694
+ };
53119
53695
  pickstation_device_status: {
53120
53696
  Args: {
53121
53697
  p_device_key: string;
@@ -56927,6 +57503,13 @@ export type Database = {
56927
57503
  };
56928
57504
  Returns: string;
56929
57505
  };
57506
+ verkoop_stickers_voor: {
57507
+ Args: {
57508
+ p_customer_id: string;
57509
+ p_vragen: Json;
57510
+ };
57511
+ Returns: Json;
57512
+ };
56930
57513
  verkoop_sync_bewaking: {
56931
57514
  Args: never;
56932
57515
  Returns: Json;
@@ -56935,6 +57518,12 @@ export type Database = {
56935
57518
  Args: never;
56936
57519
  Returns: Json;
56937
57520
  };
57521
+ verkoop_tijdlijn_fasen: {
57522
+ Args: {
57523
+ p_order_ids: string[];
57524
+ };
57525
+ Returns: Json;
57526
+ };
56938
57527
  verlof_beoordelen: {
56939
57528
  Args: {
56940
57529
  _goedkeuren: boolean;
@@ -57034,6 +57623,15 @@ export type Database = {
57034
57623
  unit: string;
57035
57624
  }[];
57036
57625
  };
57626
+ voorraad_artikel_sticker_opslaan: {
57627
+ Args: {
57628
+ p_nieuw: Json;
57629
+ p_oud_pad: string;
57630
+ p_product_id: string;
57631
+ p_soort: string;
57632
+ };
57633
+ Returns: Json;
57634
+ };
57037
57635
  voorraad_beschikbaar_v2: {
57038
57636
  Args: {
57039
57637
  p_exclude_order_id?: string;
@@ -57805,6 +58403,23 @@ export type Database = {
57805
58403
  };
57806
58404
  Returns: string[];
57807
58405
  };
58406
+ voorraad_sticker_vlaggen: {
58407
+ Args: {
58408
+ p_product_ids: string[];
58409
+ };
58410
+ Returns: {
58411
+ fust: boolean;
58412
+ pot: boolean;
58413
+ product_id: string;
58414
+ }[];
58415
+ };
58416
+ voorraad_sticker_voor: {
58417
+ Args: {
58418
+ p_product_id: string;
58419
+ p_soort: string;
58420
+ };
58421
+ Returns: Json;
58422
+ };
57808
58423
  voorraad_stock_context_status: {
57809
58424
  Args: never;
57810
58425
  Returns: Json;