@flowselections/floriday-afhandeling-module 1.0.112 → 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.
@@ -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;
@@ -16460,6 +16565,42 @@ export type Database = {
16460
16565
  };
16461
16566
  Relationships: [];
16462
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
+ };
16463
16604
  logistics_formulas: {
16464
16605
  Row: {
16465
16606
  created_at: string;
@@ -16873,7 +17014,7 @@ export type Database = {
16873
17014
  };
16874
17015
  Relationships: [];
16875
17016
  };
16876
- logistics_logboek_2026w46: {
17017
+ logistics_logboek_2026w47: {
16877
17018
  Row: {
16878
17019
  actor: string | null;
16879
17020
  attempts: number | null;
@@ -16993,7 +17134,7 @@ export type Database = {
16993
17134
  };
16994
17135
  Relationships: [];
16995
17136
  };
16996
- logistics_logboek_2026w47: {
17137
+ logistics_logboek_2026w48: {
16997
17138
  Row: {
16998
17139
  actor: string | null;
16999
17140
  attempts: number | null;
@@ -17113,7 +17254,7 @@ export type Database = {
17113
17254
  };
17114
17255
  Relationships: [];
17115
17256
  };
17116
- logistics_logboek_2026w48: {
17257
+ logistics_logboek_2026w49: {
17117
17258
  Row: {
17118
17259
  actor: string | null;
17119
17260
  attempts: number | null;
@@ -17233,7 +17374,7 @@ export type Database = {
17233
17374
  };
17234
17375
  Relationships: [];
17235
17376
  };
17236
- logistics_logboek_2026w49: {
17377
+ logistics_logboek_2026w50: {
17237
17378
  Row: {
17238
17379
  actor: string | null;
17239
17380
  attempts: number | null;
@@ -17353,7 +17494,7 @@ export type Database = {
17353
17494
  };
17354
17495
  Relationships: [];
17355
17496
  };
17356
- logistics_logboek_2026w50: {
17497
+ logistics_logboek_2026w51: {
17357
17498
  Row: {
17358
17499
  actor: string | null;
17359
17500
  attempts: number | null;
@@ -17473,7 +17614,7 @@ export type Database = {
17473
17614
  };
17474
17615
  Relationships: [];
17475
17616
  };
17476
- logistics_logboek_2026w51: {
17617
+ logistics_logboek_2026w52: {
17477
17618
  Row: {
17478
17619
  actor: string | null;
17479
17620
  attempts: number | null;
@@ -17593,7 +17734,7 @@ export type Database = {
17593
17734
  };
17594
17735
  Relationships: [];
17595
17736
  };
17596
- logistics_logboek_2026w52: {
17737
+ logistics_logboek_2026w53: {
17597
17738
  Row: {
17598
17739
  actor: string | null;
17599
17740
  attempts: number | null;
@@ -17713,7 +17854,7 @@ export type Database = {
17713
17854
  };
17714
17855
  Relationships: [];
17715
17856
  };
17716
- logistics_logboek_2026w53: {
17857
+ logistics_logboek_2027w01: {
17717
17858
  Row: {
17718
17859
  actor: string | null;
17719
17860
  attempts: number | null;
@@ -17833,7 +17974,7 @@ export type Database = {
17833
17974
  };
17834
17975
  Relationships: [];
17835
17976
  };
17836
- logistics_logboek_2027w01: {
17977
+ logistics_logboek_2027w02: {
17837
17978
  Row: {
17838
17979
  actor: string | null;
17839
17980
  attempts: number | null;
@@ -17953,7 +18094,7 @@ export type Database = {
17953
18094
  };
17954
18095
  Relationships: [];
17955
18096
  };
17956
- logistics_logboek_2027w02: {
18097
+ logistics_logboek_2027w03: {
17957
18098
  Row: {
17958
18099
  actor: string | null;
17959
18100
  attempts: number | null;
@@ -18073,7 +18214,7 @@ export type Database = {
18073
18214
  };
18074
18215
  Relationships: [];
18075
18216
  };
18076
- logistics_logboek_2027w03: {
18217
+ logistics_logboek_2027w04: {
18077
18218
  Row: {
18078
18219
  actor: string | null;
18079
18220
  attempts: number | null;
@@ -18193,7 +18334,7 @@ export type Database = {
18193
18334
  };
18194
18335
  Relationships: [];
18195
18336
  };
18196
- logistics_logboek_2027w04: {
18337
+ logistics_logboek_2027w05: {
18197
18338
  Row: {
18198
18339
  actor: string | null;
18199
18340
  attempts: number | null;
@@ -18313,7 +18454,7 @@ export type Database = {
18313
18454
  };
18314
18455
  Relationships: [];
18315
18456
  };
18316
- logistics_logboek_2027w05: {
18457
+ logistics_logboek_2027w06: {
18317
18458
  Row: {
18318
18459
  actor: string | null;
18319
18460
  attempts: number | null;
@@ -18433,7 +18574,7 @@ export type Database = {
18433
18574
  };
18434
18575
  Relationships: [];
18435
18576
  };
18436
- logistics_logboek_2027w06: {
18577
+ logistics_logboek_2027w07: {
18437
18578
  Row: {
18438
18579
  actor: string | null;
18439
18580
  attempts: number | null;
@@ -18553,7 +18694,7 @@ export type Database = {
18553
18694
  };
18554
18695
  Relationships: [];
18555
18696
  };
18556
- logistics_logboek_2027w07: {
18697
+ logistics_logboek_2027w08: {
18557
18698
  Row: {
18558
18699
  actor: string | null;
18559
18700
  attempts: number | null;
@@ -20350,6 +20491,8 @@ export type Database = {
20350
20491
  logistics_sticker_prints: {
20351
20492
  Row: {
20352
20493
  attempts: number;
20494
+ bestand_bucket: string | null;
20495
+ bestand_pad: string | null;
20353
20496
  breedte_mm: number | null;
20354
20497
  bron_id: string;
20355
20498
  cart_id: string | null;
@@ -20365,6 +20508,9 @@ export type Database = {
20365
20508
  id: string;
20366
20509
  kopieen: number;
20367
20510
  kopieen_bron: string | null;
20511
+ los_meegeven: boolean;
20512
+ na_print_akkoord_at: string | null;
20513
+ na_print_binnen: boolean;
20368
20514
  next_attempt_at: string | null;
20369
20515
  order_id: string | null;
20370
20516
  order_number: string | null;
@@ -20374,11 +20520,16 @@ export type Database = {
20374
20520
  samengevoegd_in: string | null;
20375
20521
  soort: string;
20376
20522
  status: string;
20523
+ sticker_bron: string | null;
20377
20524
  sticker_type: string | null;
20378
20525
  updated_at: string;
20526
+ wacht_sinds: string | null;
20527
+ zonder_bestand: boolean;
20379
20528
  };
20380
20529
  Insert: {
20381
20530
  attempts?: number;
20531
+ bestand_bucket?: string | null;
20532
+ bestand_pad?: string | null;
20382
20533
  breedte_mm?: number | null;
20383
20534
  bron_id: string;
20384
20535
  cart_id?: string | null;
@@ -20394,6 +20545,9 @@ export type Database = {
20394
20545
  id?: string;
20395
20546
  kopieen?: number;
20396
20547
  kopieen_bron?: string | null;
20548
+ los_meegeven?: boolean;
20549
+ na_print_akkoord_at?: string | null;
20550
+ na_print_binnen?: boolean;
20397
20551
  next_attempt_at?: string | null;
20398
20552
  order_id?: string | null;
20399
20553
  order_number?: string | null;
@@ -20403,11 +20557,16 @@ export type Database = {
20403
20557
  samengevoegd_in?: string | null;
20404
20558
  soort: string;
20405
20559
  status?: string;
20560
+ sticker_bron?: string | null;
20406
20561
  sticker_type?: string | null;
20407
20562
  updated_at?: string;
20563
+ wacht_sinds?: string | null;
20564
+ zonder_bestand?: boolean;
20408
20565
  };
20409
20566
  Update: {
20410
20567
  attempts?: number;
20568
+ bestand_bucket?: string | null;
20569
+ bestand_pad?: string | null;
20411
20570
  breedte_mm?: number | null;
20412
20571
  bron_id?: string;
20413
20572
  cart_id?: string | null;
@@ -20423,6 +20582,9 @@ export type Database = {
20423
20582
  id?: string;
20424
20583
  kopieen?: number;
20425
20584
  kopieen_bron?: string | null;
20585
+ los_meegeven?: boolean;
20586
+ na_print_akkoord_at?: string | null;
20587
+ na_print_binnen?: boolean;
20426
20588
  next_attempt_at?: string | null;
20427
20589
  order_id?: string | null;
20428
20590
  order_number?: string | null;
@@ -20432,8 +20594,11 @@ export type Database = {
20432
20594
  samengevoegd_in?: string | null;
20433
20595
  soort?: string;
20434
20596
  status?: string;
20597
+ sticker_bron?: string | null;
20435
20598
  sticker_type?: string | null;
20436
20599
  updated_at?: string;
20600
+ wacht_sinds?: string | null;
20601
+ zonder_bestand?: boolean;
20437
20602
  };
20438
20603
  Relationships: [];
20439
20604
  };
@@ -35261,33 +35426,42 @@ export type Database = {
35261
35426
  Row: {
35262
35427
  created_at: string;
35263
35428
  fust_sticker_id: string | null;
35429
+ fust_sticker_modus: string;
35264
35430
  line_fields: Json;
35265
35431
  line_note: string | null;
35266
35432
  order_id: string;
35267
35433
  order_item_id: string;
35434
+ pot_sticker_modus: string;
35268
35435
  product_sticker_id: string | null;
35436
+ sticker_reden: string | null;
35269
35437
  updated_at: string;
35270
35438
  updated_by: string | null;
35271
35439
  };
35272
35440
  Insert: {
35273
35441
  created_at?: string;
35274
35442
  fust_sticker_id?: string | null;
35443
+ fust_sticker_modus?: string;
35275
35444
  line_fields?: Json;
35276
35445
  line_note?: string | null;
35277
35446
  order_id: string;
35278
35447
  order_item_id: string;
35448
+ pot_sticker_modus?: string;
35279
35449
  product_sticker_id?: string | null;
35450
+ sticker_reden?: string | null;
35280
35451
  updated_at?: string;
35281
35452
  updated_by?: string | null;
35282
35453
  };
35283
35454
  Update: {
35284
35455
  created_at?: string;
35285
35456
  fust_sticker_id?: string | null;
35457
+ fust_sticker_modus?: string;
35286
35458
  line_fields?: Json;
35287
35459
  line_note?: string | null;
35288
35460
  order_id?: string;
35289
35461
  order_item_id?: string;
35462
+ pot_sticker_modus?: string;
35290
35463
  product_sticker_id?: string | null;
35464
+ sticker_reden?: string | null;
35291
35465
  updated_at?: string;
35292
35466
  updated_by?: string | null;
35293
35467
  };
@@ -35434,6 +35608,56 @@ export type Database = {
35434
35608
  };
35435
35609
  Relationships: [];
35436
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
+ };
35437
35661
  voorraad_buffer_state: {
35438
35662
  Row: {
35439
35663
  buffer_id: string;
@@ -39600,6 +39824,22 @@ export type Database = {
39600
39824
  };
39601
39825
  Returns: Json;
39602
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
+ };
39603
39843
  _arm_offer_order_retry: {
39604
39844
  Args: never;
39605
39845
  Returns: undefined;
@@ -40388,12 +40628,22 @@ export type Database = {
40388
40628
  };
40389
40629
  Returns: string[];
40390
40630
  };
40631
+ afh_floriday_brief_bewaking: {
40632
+ Args: never;
40633
+ Returns: Json;
40634
+ };
40391
40635
  afh_floriday_brief_binnen: {
40392
40636
  Args: {
40393
40637
  p_fulfillment_order_id: string;
40394
40638
  };
40395
40639
  Returns: Json;
40396
40640
  };
40641
+ afh_floriday_brief_doorlooptijd: {
40642
+ Args: {
40643
+ p_sinds?: string;
40644
+ };
40645
+ Returns: Json;
40646
+ };
40397
40647
  afh_floriday_brief_printen: {
40398
40648
  Args: {
40399
40649
  p_fulfillment_order_id: string;
@@ -42627,6 +42877,12 @@ export type Database = {
42627
42877
  niveau: string;
42628
42878
  }[];
42629
42879
  };
42880
+ floriday_brief_nu_ophalen: {
42881
+ Args: {
42882
+ p_fulfillment_order_id: string;
42883
+ };
42884
+ Returns: Json;
42885
+ };
42630
42886
  floriday_buyer_organizations: {
42631
42887
  Args: {
42632
42888
  p_connection_id: string;
@@ -44264,6 +44520,12 @@ export type Database = {
44264
44520
  };
44265
44521
  Returns: Json;
44266
44522
  };
44523
+ klanten_sticker_beleid: {
44524
+ Args: {
44525
+ p_customer_id: string;
44526
+ };
44527
+ Returns: string;
44528
+ };
44267
44529
  klanten_sticker_voor: {
44268
44530
  Args: {
44269
44531
  p_customer_id: string;
@@ -44737,6 +44999,12 @@ export type Database = {
44737
44999
  };
44738
45000
  Returns: Json;
44739
45001
  };
45002
+ logistics_actie_nodig_sticker_na_print: {
45003
+ Args: {
45004
+ p_limit?: number;
45005
+ };
45006
+ Returns: Json;
45007
+ };
44740
45008
  logistics_actie_nodig_stickers: {
44741
45009
  Args: {
44742
45010
  p_limit?: number;
@@ -45768,6 +46036,12 @@ export type Database = {
45768
46036
  };
45769
46037
  Returns: string[];
45770
46038
  };
46039
+ logistics_cart_pakbon_geprint_op: {
46040
+ Args: {
46041
+ p_cart_id: string;
46042
+ };
46043
+ Returns: string;
46044
+ };
45771
46045
  logistics_cart_pick_starts_at: {
45772
46046
  Args: {
45773
46047
  p_cart_id: string;
@@ -46475,6 +46749,13 @@ export type Database = {
46475
46749
  };
46476
46750
  Returns: Json;
46477
46751
  };
46752
+ logistics_direct_wekken: {
46753
+ Args: {
46754
+ p_body?: Json;
46755
+ p_stap: string;
46756
+ };
46757
+ Returns: number;
46758
+ };
46478
46759
  logistics_document_for_order: {
46479
46760
  Args: {
46480
46761
  p_documenttype: string;
@@ -46956,6 +47237,35 @@ export type Database = {
46956
47237
  Args: never;
46957
47238
  Returns: boolean;
46958
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
+ };
46959
47269
  logistics_floriday_stock_updates_enabled: {
46960
47270
  Args: never;
46961
47271
  Returns: boolean;
@@ -48541,6 +48851,12 @@ export type Database = {
48541
48851
  };
48542
48852
  Returns: boolean;
48543
48853
  };
48854
+ logistics_order_pakbon_geprint_op: {
48855
+ Args: {
48856
+ p_order_id: string;
48857
+ };
48858
+ Returns: string;
48859
+ };
48544
48860
  logistics_order_pick_day: {
48545
48861
  Args: {
48546
48862
  p_order_ref: string;
@@ -48696,6 +49012,12 @@ export type Database = {
48696
49012
  order_id: string;
48697
49013
  }[];
48698
49014
  };
49015
+ logistics_order_tekorten: {
49016
+ Args: {
49017
+ p_order_id: string;
49018
+ };
49019
+ Returns: Json;
49020
+ };
48699
49021
  logistics_order_tijdlijn: {
48700
49022
  Args: {
48701
49023
  p_order_id: string;
@@ -48740,6 +49062,12 @@ export type Database = {
48740
49062
  };
48741
49063
  Returns: boolean;
48742
49064
  };
49065
+ logistics_order_vrijgegeven_op: {
49066
+ Args: {
49067
+ p_order_ref: string;
49068
+ };
49069
+ Returns: string;
49070
+ };
48743
49071
  logistics_ordermomenten_bijwerken: {
48744
49072
  Args: {
48745
49073
  p_limit?: number;
@@ -50443,6 +50771,13 @@ export type Database = {
50443
50771
  Args: never;
50444
50772
  Returns: Json;
50445
50773
  };
50774
+ logistics_sticker_bucket: {
50775
+ Args: {
50776
+ p_bron: string;
50777
+ p_bucket?: string;
50778
+ };
50779
+ Returns: string;
50780
+ };
50446
50781
  logistics_sticker_cart_plek: {
50447
50782
  Args: {
50448
50783
  _cart: string;
@@ -50484,10 +50819,46 @@ export type Database = {
50484
50819
  };
50485
50820
  Returns: boolean;
50486
50821
  };
50822
+ logistics_sticker_floriday_soort: {
50823
+ Args: {
50824
+ p_type: string;
50825
+ };
50826
+ Returns: string;
50827
+ };
50487
50828
  logistics_sticker_follows_slip: {
50488
50829
  Args: never;
50489
50830
  Returns: boolean;
50490
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
+ };
50491
50862
  logistics_sticker_maten_per_dag: {
50492
50863
  Args: {
50493
50864
  p_tot: string;
@@ -50510,6 +50881,12 @@ export type Database = {
50510
50881
  };
50511
50882
  Returns: boolean;
50512
50883
  };
50884
+ logistics_sticker_nu_printen: {
50885
+ Args: {
50886
+ p_id: string;
50887
+ };
50888
+ Returns: Json;
50889
+ };
50513
50890
  logistics_sticker_order_counts: {
50514
50891
  Args: {
50515
50892
  p_order: string;
@@ -50555,6 +50932,19 @@ export type Database = {
50555
50932
  };
50556
50933
  Returns: undefined;
50557
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
+ };
50558
50948
  logistics_stock_email_klaarzetten: {
50559
50949
  Args: {
50560
50950
  p_max?: number;
@@ -53294,6 +53684,14 @@ export type Database = {
53294
53684
  };
53295
53685
  Returns: Json;
53296
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
+ };
53297
53695
  pickstation_device_status: {
53298
53696
  Args: {
53299
53697
  p_device_key: string;
@@ -57225,6 +57623,15 @@ export type Database = {
57225
57623
  unit: string;
57226
57624
  }[];
57227
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
+ };
57228
57635
  voorraad_beschikbaar_v2: {
57229
57636
  Args: {
57230
57637
  p_exclude_order_id?: string;
@@ -57996,6 +58403,23 @@ export type Database = {
57996
58403
  };
57997
58404
  Returns: string[];
57998
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
+ };
57999
58423
  voorraad_stock_context_status: {
58000
58424
  Args: never;
58001
58425
  Returns: Json;