@flowselections/floriday-afhandeling-module 1.0.111 → 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;
@@ -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;
@@ -15153,6 +15303,42 @@ export type Database = {
15153
15303
  };
15154
15304
  Relationships: [];
15155
15305
  };
15306
+ logistics_bel_meldingen: {
15307
+ Row: {
15308
+ created_at: string;
15309
+ id: string;
15310
+ link: string | null;
15311
+ notification_id: string | null;
15312
+ sleutel: string;
15313
+ tekst: string;
15314
+ titel: string;
15315
+ updated_at: string;
15316
+ user_id: string;
15317
+ };
15318
+ Insert: {
15319
+ created_at?: string;
15320
+ id?: string;
15321
+ link?: string | null;
15322
+ notification_id?: string | null;
15323
+ sleutel: string;
15324
+ tekst: string;
15325
+ titel: string;
15326
+ updated_at?: string;
15327
+ user_id: string;
15328
+ };
15329
+ Update: {
15330
+ created_at?: string;
15331
+ id?: string;
15332
+ link?: string | null;
15333
+ notification_id?: string | null;
15334
+ sleutel?: string;
15335
+ tekst?: string;
15336
+ titel?: string;
15337
+ updated_at?: string;
15338
+ user_id?: string;
15339
+ };
15340
+ Relationships: [];
15341
+ };
15156
15342
  logistics_belading_bevestigingen: {
15157
15343
  Row: {
15158
15344
  bevestigd_door: string | null;
@@ -16379,6 +16565,42 @@ export type Database = {
16379
16565
  };
16380
16566
  Relationships: [];
16381
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
+ };
16382
16604
  logistics_formulas: {
16383
16605
  Row: {
16384
16606
  created_at: string;
@@ -16792,7 +17014,7 @@ export type Database = {
16792
17014
  };
16793
17015
  Relationships: [];
16794
17016
  };
16795
- logistics_logboek_2026w46: {
17017
+ logistics_logboek_2026w47: {
16796
17018
  Row: {
16797
17019
  actor: string | null;
16798
17020
  attempts: number | null;
@@ -16912,7 +17134,7 @@ export type Database = {
16912
17134
  };
16913
17135
  Relationships: [];
16914
17136
  };
16915
- logistics_logboek_2026w47: {
17137
+ logistics_logboek_2026w48: {
16916
17138
  Row: {
16917
17139
  actor: string | null;
16918
17140
  attempts: number | null;
@@ -17032,7 +17254,7 @@ export type Database = {
17032
17254
  };
17033
17255
  Relationships: [];
17034
17256
  };
17035
- logistics_logboek_2026w48: {
17257
+ logistics_logboek_2026w49: {
17036
17258
  Row: {
17037
17259
  actor: string | null;
17038
17260
  attempts: number | null;
@@ -17152,7 +17374,7 @@ export type Database = {
17152
17374
  };
17153
17375
  Relationships: [];
17154
17376
  };
17155
- logistics_logboek_2026w49: {
17377
+ logistics_logboek_2026w50: {
17156
17378
  Row: {
17157
17379
  actor: string | null;
17158
17380
  attempts: number | null;
@@ -17272,7 +17494,7 @@ export type Database = {
17272
17494
  };
17273
17495
  Relationships: [];
17274
17496
  };
17275
- logistics_logboek_2026w50: {
17497
+ logistics_logboek_2026w51: {
17276
17498
  Row: {
17277
17499
  actor: string | null;
17278
17500
  attempts: number | null;
@@ -17392,7 +17614,7 @@ export type Database = {
17392
17614
  };
17393
17615
  Relationships: [];
17394
17616
  };
17395
- logistics_logboek_2026w51: {
17617
+ logistics_logboek_2026w52: {
17396
17618
  Row: {
17397
17619
  actor: string | null;
17398
17620
  attempts: number | null;
@@ -17512,7 +17734,7 @@ export type Database = {
17512
17734
  };
17513
17735
  Relationships: [];
17514
17736
  };
17515
- logistics_logboek_2026w52: {
17737
+ logistics_logboek_2026w53: {
17516
17738
  Row: {
17517
17739
  actor: string | null;
17518
17740
  attempts: number | null;
@@ -17632,7 +17854,7 @@ export type Database = {
17632
17854
  };
17633
17855
  Relationships: [];
17634
17856
  };
17635
- logistics_logboek_2026w53: {
17857
+ logistics_logboek_2027w01: {
17636
17858
  Row: {
17637
17859
  actor: string | null;
17638
17860
  attempts: number | null;
@@ -17752,7 +17974,7 @@ export type Database = {
17752
17974
  };
17753
17975
  Relationships: [];
17754
17976
  };
17755
- logistics_logboek_2027w01: {
17977
+ logistics_logboek_2027w02: {
17756
17978
  Row: {
17757
17979
  actor: string | null;
17758
17980
  attempts: number | null;
@@ -17872,7 +18094,7 @@ export type Database = {
17872
18094
  };
17873
18095
  Relationships: [];
17874
18096
  };
17875
- logistics_logboek_2027w02: {
18097
+ logistics_logboek_2027w03: {
17876
18098
  Row: {
17877
18099
  actor: string | null;
17878
18100
  attempts: number | null;
@@ -17992,7 +18214,7 @@ export type Database = {
17992
18214
  };
17993
18215
  Relationships: [];
17994
18216
  };
17995
- logistics_logboek_2027w03: {
18217
+ logistics_logboek_2027w04: {
17996
18218
  Row: {
17997
18219
  actor: string | null;
17998
18220
  attempts: number | null;
@@ -18112,7 +18334,7 @@ export type Database = {
18112
18334
  };
18113
18335
  Relationships: [];
18114
18336
  };
18115
- logistics_logboek_2027w04: {
18337
+ logistics_logboek_2027w05: {
18116
18338
  Row: {
18117
18339
  actor: string | null;
18118
18340
  attempts: number | null;
@@ -18232,7 +18454,7 @@ export type Database = {
18232
18454
  };
18233
18455
  Relationships: [];
18234
18456
  };
18235
- logistics_logboek_2027w05: {
18457
+ logistics_logboek_2027w06: {
18236
18458
  Row: {
18237
18459
  actor: string | null;
18238
18460
  attempts: number | null;
@@ -18352,7 +18574,7 @@ export type Database = {
18352
18574
  };
18353
18575
  Relationships: [];
18354
18576
  };
18355
- logistics_logboek_2027w06: {
18577
+ logistics_logboek_2027w07: {
18356
18578
  Row: {
18357
18579
  actor: string | null;
18358
18580
  attempts: number | null;
@@ -18472,7 +18694,7 @@ export type Database = {
18472
18694
  };
18473
18695
  Relationships: [];
18474
18696
  };
18475
- logistics_logboek_2027w07: {
18697
+ logistics_logboek_2027w08: {
18476
18698
  Row: {
18477
18699
  actor: string | null;
18478
18700
  attempts: number | null;
@@ -20269,6 +20491,8 @@ export type Database = {
20269
20491
  logistics_sticker_prints: {
20270
20492
  Row: {
20271
20493
  attempts: number;
20494
+ bestand_bucket: string | null;
20495
+ bestand_pad: string | null;
20272
20496
  breedte_mm: number | null;
20273
20497
  bron_id: string;
20274
20498
  cart_id: string | null;
@@ -20284,19 +20508,28 @@ export type Database = {
20284
20508
  id: string;
20285
20509
  kopieen: number;
20286
20510
  kopieen_bron: string | null;
20511
+ los_meegeven: boolean;
20512
+ na_print_akkoord_at: string | null;
20513
+ na_print_binnen: boolean;
20287
20514
  next_attempt_at: string | null;
20288
20515
  order_id: string | null;
20289
20516
  order_number: string | null;
20290
20517
  print_job_id: string | null;
20291
20518
  print_plek_id: string | null;
20292
20519
  reden: string | null;
20520
+ samengevoegd_in: string | null;
20293
20521
  soort: string;
20294
20522
  status: string;
20523
+ sticker_bron: string | null;
20295
20524
  sticker_type: string | null;
20296
20525
  updated_at: string;
20526
+ wacht_sinds: string | null;
20527
+ zonder_bestand: boolean;
20297
20528
  };
20298
20529
  Insert: {
20299
20530
  attempts?: number;
20531
+ bestand_bucket?: string | null;
20532
+ bestand_pad?: string | null;
20300
20533
  breedte_mm?: number | null;
20301
20534
  bron_id: string;
20302
20535
  cart_id?: string | null;
@@ -20312,19 +20545,28 @@ export type Database = {
20312
20545
  id?: string;
20313
20546
  kopieen?: number;
20314
20547
  kopieen_bron?: string | null;
20548
+ los_meegeven?: boolean;
20549
+ na_print_akkoord_at?: string | null;
20550
+ na_print_binnen?: boolean;
20315
20551
  next_attempt_at?: string | null;
20316
20552
  order_id?: string | null;
20317
20553
  order_number?: string | null;
20318
20554
  print_job_id?: string | null;
20319
20555
  print_plek_id?: string | null;
20320
20556
  reden?: string | null;
20557
+ samengevoegd_in?: string | null;
20321
20558
  soort: string;
20322
20559
  status?: string;
20560
+ sticker_bron?: string | null;
20323
20561
  sticker_type?: string | null;
20324
20562
  updated_at?: string;
20563
+ wacht_sinds?: string | null;
20564
+ zonder_bestand?: boolean;
20325
20565
  };
20326
20566
  Update: {
20327
20567
  attempts?: number;
20568
+ bestand_bucket?: string | null;
20569
+ bestand_pad?: string | null;
20328
20570
  breedte_mm?: number | null;
20329
20571
  bron_id?: string;
20330
20572
  cart_id?: string | null;
@@ -20340,16 +20582,23 @@ export type Database = {
20340
20582
  id?: string;
20341
20583
  kopieen?: number;
20342
20584
  kopieen_bron?: string | null;
20585
+ los_meegeven?: boolean;
20586
+ na_print_akkoord_at?: string | null;
20587
+ na_print_binnen?: boolean;
20343
20588
  next_attempt_at?: string | null;
20344
20589
  order_id?: string | null;
20345
20590
  order_number?: string | null;
20346
20591
  print_job_id?: string | null;
20347
20592
  print_plek_id?: string | null;
20348
20593
  reden?: string | null;
20594
+ samengevoegd_in?: string | null;
20349
20595
  soort?: string;
20350
20596
  status?: string;
20597
+ sticker_bron?: string | null;
20351
20598
  sticker_type?: string | null;
20352
20599
  updated_at?: string;
20600
+ wacht_sinds?: string | null;
20601
+ zonder_bestand?: boolean;
20353
20602
  };
20354
20603
  Relationships: [];
20355
20604
  };
@@ -35177,33 +35426,42 @@ export type Database = {
35177
35426
  Row: {
35178
35427
  created_at: string;
35179
35428
  fust_sticker_id: string | null;
35429
+ fust_sticker_modus: string;
35180
35430
  line_fields: Json;
35181
35431
  line_note: string | null;
35182
35432
  order_id: string;
35183
35433
  order_item_id: string;
35434
+ pot_sticker_modus: string;
35184
35435
  product_sticker_id: string | null;
35436
+ sticker_reden: string | null;
35185
35437
  updated_at: string;
35186
35438
  updated_by: string | null;
35187
35439
  };
35188
35440
  Insert: {
35189
35441
  created_at?: string;
35190
35442
  fust_sticker_id?: string | null;
35443
+ fust_sticker_modus?: string;
35191
35444
  line_fields?: Json;
35192
35445
  line_note?: string | null;
35193
35446
  order_id: string;
35194
35447
  order_item_id: string;
35448
+ pot_sticker_modus?: string;
35195
35449
  product_sticker_id?: string | null;
35450
+ sticker_reden?: string | null;
35196
35451
  updated_at?: string;
35197
35452
  updated_by?: string | null;
35198
35453
  };
35199
35454
  Update: {
35200
35455
  created_at?: string;
35201
35456
  fust_sticker_id?: string | null;
35457
+ fust_sticker_modus?: string;
35202
35458
  line_fields?: Json;
35203
35459
  line_note?: string | null;
35204
35460
  order_id?: string;
35205
35461
  order_item_id?: string;
35462
+ pot_sticker_modus?: string;
35206
35463
  product_sticker_id?: string | null;
35464
+ sticker_reden?: string | null;
35207
35465
  updated_at?: string;
35208
35466
  updated_by?: string | null;
35209
35467
  };
@@ -35350,6 +35608,56 @@ export type Database = {
35350
35608
  };
35351
35609
  Relationships: [];
35352
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
+ };
35353
35661
  voorraad_buffer_state: {
35354
35662
  Row: {
35355
35663
  buffer_id: string;
@@ -39479,6 +39787,10 @@ export type Database = {
39479
39787
  };
39480
39788
  };
39481
39789
  Functions: {
39790
+ _afh_afzender: {
39791
+ Args: never;
39792
+ Returns: Json;
39793
+ };
39482
39794
  _afh_cmr_stand: {
39483
39795
  Args: {
39484
39796
  p_code: string;
@@ -39505,6 +39817,29 @@ export type Database = {
39505
39817
  };
39506
39818
  Returns: undefined;
39507
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
+ };
39508
39843
  _arm_offer_order_retry: {
39509
39844
  Args: never;
39510
39845
  Returns: undefined;
@@ -39748,6 +40083,12 @@ export type Database = {
39748
40083
  };
39749
40084
  Returns: string;
39750
40085
  };
40086
+ _pick_verify_rows_kern: {
40087
+ Args: {
40088
+ _rows: Json;
40089
+ };
40090
+ Returns: Json;
40091
+ };
39751
40092
  _print_job_herstart: {
39752
40093
  Args: {
39753
40094
  p_bron: string;
@@ -40102,6 +40443,12 @@ export type Database = {
40102
40443
  };
40103
40444
  Returns: Json;
40104
40445
  };
40446
+ afh_afleverbrief_doorlooptijd: {
40447
+ Args: {
40448
+ p_sinds?: string;
40449
+ };
40450
+ Returns: Json;
40451
+ };
40105
40452
  afh_afleverbrief_payload: {
40106
40453
  Args: {
40107
40454
  p_cart_id: string;
@@ -40281,12 +40628,22 @@ export type Database = {
40281
40628
  };
40282
40629
  Returns: string[];
40283
40630
  };
40631
+ afh_floriday_brief_bewaking: {
40632
+ Args: never;
40633
+ Returns: Json;
40634
+ };
40284
40635
  afh_floriday_brief_binnen: {
40285
40636
  Args: {
40286
40637
  p_fulfillment_order_id: string;
40287
40638
  };
40288
40639
  Returns: Json;
40289
40640
  };
40641
+ afh_floriday_brief_doorlooptijd: {
40642
+ Args: {
40643
+ p_sinds?: string;
40644
+ };
40645
+ Returns: Json;
40646
+ };
40290
40647
  afh_floriday_brief_printen: {
40291
40648
  Args: {
40292
40649
  p_fulfillment_order_id: string;
@@ -40970,6 +41327,14 @@ export type Database = {
40970
41327
  };
40971
41328
  Returns: undefined;
40972
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
+ };
40973
41338
  boekhoud_vertaal_toegang: {
40974
41339
  Args: {
40975
41340
  p_niveau: string;
@@ -42512,6 +42877,12 @@ export type Database = {
42512
42877
  niveau: string;
42513
42878
  }[];
42514
42879
  };
42880
+ floriday_brief_nu_ophalen: {
42881
+ Args: {
42882
+ p_fulfillment_order_id: string;
42883
+ };
42884
+ Returns: Json;
42885
+ };
42515
42886
  floriday_buyer_organizations: {
42516
42887
  Args: {
42517
42888
  p_connection_id: string;
@@ -42570,6 +42941,13 @@ export type Database = {
42570
42941
  timeout_ms: number;
42571
42942
  }[];
42572
42943
  };
42944
+ floriday_cron_job_state: {
42945
+ Args: {
42946
+ p_command: string;
42947
+ p_soort: string;
42948
+ };
42949
+ Returns: string;
42950
+ };
42573
42951
  floriday_cron_key: {
42574
42952
  Args: never;
42575
42953
  Returns: string;
@@ -44142,10 +44520,28 @@ export type Database = {
44142
44520
  };
44143
44521
  Returns: Json;
44144
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
+ };
44145
44537
  klanten_stickerformaten_inventaris: {
44146
44538
  Args: never;
44147
44539
  Returns: Json;
44148
44540
  };
44541
+ klanten_stickers_sleutel_gelijkzetten: {
44542
+ Args: never;
44543
+ Returns: Json;
44544
+ };
44149
44545
  klanten_toegang: {
44150
44546
  Args: {
44151
44547
  p_niveau: string;
@@ -44243,6 +44639,14 @@ export type Database = {
44243
44639
  rijen: number;
44244
44640
  }[];
44245
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
+ };
44246
44650
  layouts_controleplek: {
44247
44651
  Args: never;
44248
44652
  Returns: Json;
@@ -44595,6 +44999,12 @@ export type Database = {
44595
44999
  };
44596
45000
  Returns: Json;
44597
45001
  };
45002
+ logistics_actie_nodig_sticker_na_print: {
45003
+ Args: {
45004
+ p_limit?: number;
45005
+ };
45006
+ Returns: Json;
45007
+ };
44598
45008
  logistics_actie_nodig_stickers: {
44599
45009
  Args: {
44600
45010
  p_limit?: number;
@@ -44629,6 +45039,12 @@ export type Database = {
44629
45039
  Args: never;
44630
45040
  Returns: string;
44631
45041
  };
45042
+ logistics_afleveropdrachten_opruimen: {
45043
+ Args: {
45044
+ p_limit?: number;
45045
+ };
45046
+ Returns: number;
45047
+ };
44632
45048
  logistics_allocation_check_changes: {
44633
45049
  Args: {
44634
45050
  p_order_item_ids?: string[];
@@ -44732,6 +45148,10 @@ export type Database = {
44732
45148
  Args: never;
44733
45149
  Returns: number;
44734
45150
  };
45151
+ logistics_archiveer_ongeprint_na_dagen: {
45152
+ Args: never;
45153
+ Returns: number;
45154
+ };
44735
45155
  logistics_artikel_letter: {
44736
45156
  Args: {
44737
45157
  p_nr: number;
@@ -44853,6 +45273,30 @@ export type Database = {
44853
45273
  Args: never;
44854
45274
  Returns: number;
44855
45275
  };
45276
+ logistics_bel_meldingen_sync: {
45277
+ Args: {
45278
+ p_limit?: number;
45279
+ };
45280
+ Returns: Json;
45281
+ };
45282
+ logistics_bel_oorzaken: {
45283
+ Args: {
45284
+ p_limit?: number;
45285
+ };
45286
+ Returns: {
45287
+ link: string;
45288
+ sleutel: string;
45289
+ soort: string;
45290
+ tekst: string;
45291
+ titel: string;
45292
+ }[];
45293
+ };
45294
+ logistics_bel_order_pad: {
45295
+ Args: {
45296
+ p_order_id: string;
45297
+ };
45298
+ Returns: string;
45299
+ };
44856
45300
  logistics_belading_bevestig: {
44857
45301
  Args: {
44858
45302
  p_order_id: string;
@@ -45592,6 +46036,12 @@ export type Database = {
45592
46036
  };
45593
46037
  Returns: string[];
45594
46038
  };
46039
+ logistics_cart_pakbon_geprint_op: {
46040
+ Args: {
46041
+ p_cart_id: string;
46042
+ };
46043
+ Returns: string;
46044
+ };
45595
46045
  logistics_cart_pick_starts_at: {
45596
46046
  Args: {
45597
46047
  p_cart_id: string;
@@ -45799,6 +46249,12 @@ export type Database = {
45799
46249
  };
45800
46250
  Returns: number;
45801
46251
  };
46252
+ logistics_cart_wacht_grens: {
46253
+ Args: {
46254
+ p_cart_id: string;
46255
+ };
46256
+ Returns: string;
46257
+ };
45802
46258
  logistics_cart_wacht_vastleggen: {
45803
46259
  Args: {
45804
46260
  p_cart_id: string;
@@ -46293,6 +46749,13 @@ export type Database = {
46293
46749
  };
46294
46750
  Returns: Json;
46295
46751
  };
46752
+ logistics_direct_wekken: {
46753
+ Args: {
46754
+ p_body?: Json;
46755
+ p_stap: string;
46756
+ };
46757
+ Returns: number;
46758
+ };
46296
46759
  logistics_document_for_order: {
46297
46760
  Args: {
46298
46761
  p_documenttype: string;
@@ -46592,6 +47055,12 @@ export type Database = {
46592
47055
  Args: never;
46593
47056
  Returns: boolean;
46594
47057
  };
47058
+ logistics_floriday_eigen_transport: {
47059
+ Args: {
47060
+ p_custom_fields: Json;
47061
+ };
47062
+ Returns: boolean;
47063
+ };
46595
47064
  logistics_floriday_finish_push: {
46596
47065
  Args: {
46597
47066
  _error?: string;
@@ -46768,6 +47237,35 @@ export type Database = {
46768
47237
  Args: never;
46769
47238
  Returns: boolean;
46770
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
+ };
46771
47269
  logistics_floriday_stock_updates_enabled: {
46772
47270
  Args: never;
46773
47271
  Returns: boolean;
@@ -47262,6 +47760,18 @@ export type Database = {
47262
47760
  };
47263
47761
  Returns: Json;
47264
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
+ };
47265
47775
  logistics_kar_svg: {
47266
47776
  Args: {
47267
47777
  p: Json;
@@ -47283,6 +47793,13 @@ export type Database = {
47283
47793
  };
47284
47794
  Returns: Json;
47285
47795
  };
47796
+ logistics_kar_tekening_kar: {
47797
+ Args: {
47798
+ p_cart_id: string;
47799
+ p_variant?: string;
47800
+ };
47801
+ Returns: Json;
47802
+ };
47286
47803
  logistics_kar_tekening_v2: {
47287
47804
  Args: {
47288
47805
  p_opties?: Json;
@@ -47299,6 +47816,12 @@ export type Database = {
47299
47816
  };
47300
47817
  Returns: string;
47301
47818
  };
47819
+ logistics_kar_telling: {
47820
+ Args: {
47821
+ p_cart_id: string;
47822
+ };
47823
+ Returns: Json;
47824
+ };
47302
47825
  logistics_kargroep_soort: {
47303
47826
  Args: {
47304
47827
  p_order_id: string;
@@ -47427,6 +47950,12 @@ export type Database = {
47427
47950
  Args: never;
47428
47951
  Returns: string;
47429
47952
  };
47953
+ logistics_laag_auto_marge: {
47954
+ Args: {
47955
+ p_limit?: number;
47956
+ };
47957
+ Returns: Json;
47958
+ };
47430
47959
  logistics_laag_bevestig: {
47431
47960
  Args: {
47432
47961
  p_berekend?: number;
@@ -47450,6 +47979,16 @@ export type Database = {
47450
47979
  Args: never;
47451
47980
  Returns: number;
47452
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
+ };
47453
47992
  logistics_laag_menging_core: {
47454
47993
  Args: never;
47455
47994
  Returns: Json;
@@ -47765,6 +48304,10 @@ export type Database = {
47765
48304
  Args: never;
47766
48305
  Returns: Json;
47767
48306
  };
48307
+ logistics_minuutronde_stand: {
48308
+ Args: never;
48309
+ Returns: Json;
48310
+ };
47768
48311
  logistics_na_goedkeuren: {
47769
48312
  Args: {
47770
48313
  p_bron?: string;
@@ -48308,6 +48851,12 @@ export type Database = {
48308
48851
  };
48309
48852
  Returns: boolean;
48310
48853
  };
48854
+ logistics_order_pakbon_geprint_op: {
48855
+ Args: {
48856
+ p_order_id: string;
48857
+ };
48858
+ Returns: string;
48859
+ };
48311
48860
  logistics_order_pick_day: {
48312
48861
  Args: {
48313
48862
  p_order_ref: string;
@@ -48463,6 +49012,12 @@ export type Database = {
48463
49012
  order_id: string;
48464
49013
  }[];
48465
49014
  };
49015
+ logistics_order_tekorten: {
49016
+ Args: {
49017
+ p_order_id: string;
49018
+ };
49019
+ Returns: Json;
49020
+ };
48466
49021
  logistics_order_tijdlijn: {
48467
49022
  Args: {
48468
49023
  p_order_id: string;
@@ -48507,6 +49062,12 @@ export type Database = {
48507
49062
  };
48508
49063
  Returns: boolean;
48509
49064
  };
49065
+ logistics_order_vrijgegeven_op: {
49066
+ Args: {
49067
+ p_order_ref: string;
49068
+ };
49069
+ Returns: string;
49070
+ };
48510
49071
  logistics_ordermomenten_bijwerken: {
48511
49072
  Args: {
48512
49073
  p_limit?: number;
@@ -49299,6 +49860,12 @@ export type Database = {
49299
49860
  tekst: string;
49300
49861
  }[];
49301
49862
  };
49863
+ logistics_product_sticker_sleutels: {
49864
+ Args: {
49865
+ p_product_id: string;
49866
+ };
49867
+ Returns: string[];
49868
+ };
49302
49869
  logistics_product_transporthoogte: {
49303
49870
  Args: {
49304
49871
  p_ladingdrager?: string;
@@ -50011,6 +50578,12 @@ export type Database = {
50011
50578
  };
50012
50579
  Returns: boolean;
50013
50580
  };
50581
+ logistics_slip_kar_telling: {
50582
+ Args: {
50583
+ p_cart: Json;
50584
+ };
50585
+ Returns: Json;
50586
+ };
50014
50587
  logistics_slip_note_claim: {
50015
50588
  Args: {
50016
50589
  _lease_seconds?: number;
@@ -50198,6 +50771,13 @@ export type Database = {
50198
50771
  Args: never;
50199
50772
  Returns: Json;
50200
50773
  };
50774
+ logistics_sticker_bucket: {
50775
+ Args: {
50776
+ p_bron: string;
50777
+ p_bucket?: string;
50778
+ };
50779
+ Returns: string;
50780
+ };
50201
50781
  logistics_sticker_cart_plek: {
50202
50782
  Args: {
50203
50783
  _cart: string;
@@ -50239,10 +50819,46 @@ export type Database = {
50239
50819
  };
50240
50820
  Returns: boolean;
50241
50821
  };
50822
+ logistics_sticker_floriday_soort: {
50823
+ Args: {
50824
+ p_type: string;
50825
+ };
50826
+ Returns: string;
50827
+ };
50242
50828
  logistics_sticker_follows_slip: {
50243
50829
  Args: never;
50244
50830
  Returns: boolean;
50245
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
+ };
50246
50862
  logistics_sticker_maten_per_dag: {
50247
50863
  Args: {
50248
50864
  p_tot: string;
@@ -50265,6 +50881,12 @@ export type Database = {
50265
50881
  };
50266
50882
  Returns: boolean;
50267
50883
  };
50884
+ logistics_sticker_nu_printen: {
50885
+ Args: {
50886
+ p_id: string;
50887
+ };
50888
+ Returns: Json;
50889
+ };
50268
50890
  logistics_sticker_order_counts: {
50269
50891
  Args: {
50270
50892
  p_order: string;
@@ -50310,6 +50932,19 @@ export type Database = {
50310
50932
  };
50311
50933
  Returns: undefined;
50312
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
+ };
50313
50948
  logistics_stock_email_klaarzetten: {
50314
50949
  Args: {
50315
50950
  p_max?: number;
@@ -50370,6 +51005,12 @@ export type Database = {
50370
51005
  };
50371
51006
  Returns: number;
50372
51007
  };
51008
+ logistics_taken_achterstand: {
51009
+ Args: {
51010
+ p_limit?: number;
51011
+ };
51012
+ Returns: Json;
51013
+ };
50373
51014
  logistics_task_open_counts: {
50374
51015
  Args: never;
50375
51016
  Returns: {
@@ -50740,6 +51381,12 @@ export type Database = {
50740
51381
  };
50741
51382
  Returns: string;
50742
51383
  };
51384
+ logistics_url_deel: {
51385
+ Args: {
51386
+ p: string;
51387
+ };
51388
+ Returns: string;
51389
+ };
50743
51390
  logistics_valid_timezone: {
50744
51391
  Args: {
50745
51392
  _tz: string;
@@ -52993,6 +53640,22 @@ export type Database = {
52993
53640
  };
52994
53641
  Returns: Json;
52995
53642
  };
53643
+ pickstation_cart_release_now: {
53644
+ Args: {
53645
+ p_cart_id: string;
53646
+ p_device_key?: string;
53647
+ p_slug: string;
53648
+ };
53649
+ Returns: Json;
53650
+ };
53651
+ pickstation_cart_release_states: {
53652
+ Args: {
53653
+ p_device_key?: string;
53654
+ p_queue_ids: string[];
53655
+ p_slug: string;
53656
+ };
53657
+ Returns: Json;
53658
+ };
52996
53659
  pickstation_cart_sticker_state: {
52997
53660
  Args: {
52998
53661
  p_cart_id: string;
@@ -53021,6 +53684,14 @@ export type Database = {
53021
53684
  };
53022
53685
  Returns: Json;
53023
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
+ };
53024
53695
  pickstation_device_status: {
53025
53696
  Args: {
53026
53697
  p_device_key: string;
@@ -53042,6 +53713,14 @@ export type Database = {
53042
53713
  };
53043
53714
  Returns: Json;
53044
53715
  };
53716
+ pickstation_document_preview: {
53717
+ Args: {
53718
+ p_device_key?: string;
53719
+ p_queue_id: string;
53720
+ p_slug: string;
53721
+ };
53722
+ Returns: Json;
53723
+ };
53045
53724
  pickstation_get_orders_raw: {
53046
53725
  Args: never;
53047
53726
  Returns: Json;
@@ -56824,6 +57503,13 @@ export type Database = {
56824
57503
  };
56825
57504
  Returns: string;
56826
57505
  };
57506
+ verkoop_stickers_voor: {
57507
+ Args: {
57508
+ p_customer_id: string;
57509
+ p_vragen: Json;
57510
+ };
57511
+ Returns: Json;
57512
+ };
56827
57513
  verkoop_sync_bewaking: {
56828
57514
  Args: never;
56829
57515
  Returns: Json;
@@ -56832,6 +57518,12 @@ export type Database = {
56832
57518
  Args: never;
56833
57519
  Returns: Json;
56834
57520
  };
57521
+ verkoop_tijdlijn_fasen: {
57522
+ Args: {
57523
+ p_order_ids: string[];
57524
+ };
57525
+ Returns: Json;
57526
+ };
56835
57527
  verlof_beoordelen: {
56836
57528
  Args: {
56837
57529
  _goedkeuren: boolean;
@@ -56931,6 +57623,15 @@ export type Database = {
56931
57623
  unit: string;
56932
57624
  }[];
56933
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
+ };
56934
57635
  voorraad_beschikbaar_v2: {
56935
57636
  Args: {
56936
57637
  p_exclude_order_id?: string;
@@ -57702,6 +58403,23 @@ export type Database = {
57702
58403
  };
57703
58404
  Returns: string[];
57704
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
+ };
57705
58423
  voorraad_stock_context_status: {
57706
58424
  Args: never;
57707
58425
  Returns: Json;