@flowselections/floriday-klanten-module 1.0.103 → 1.0.104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist-lib/components/klanten/CustomerStickerFormatDialog.d.ts.map +1 -1
  2. package/dist-lib/components/klanten/CustomerStickerFormatDialog.js +12 -9
  3. package/dist-lib/components/klanten/KlantDetail.d.ts.map +1 -1
  4. package/dist-lib/components/klanten/KlantDetail.js +4 -3
  5. package/dist-lib/components/klanten/KlantExtraVeldenCard.d.ts +5 -0
  6. package/dist-lib/components/klanten/KlantExtraVeldenCard.d.ts.map +1 -0
  7. package/dist-lib/components/klanten/KlantExtraVeldenCard.js +48 -0
  8. package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
  9. package/dist-lib/components/klanten/KlantenOverzicht.js +7 -5
  10. package/dist-lib/components/klanten/StickerFormaatKeuze.d.ts +16 -0
  11. package/dist-lib/components/klanten/StickerFormaatKeuze.d.ts.map +1 -0
  12. package/dist-lib/components/klanten/StickerFormaatKeuze.js +25 -0
  13. package/dist-lib/components/klanten/StickerSizeLine.d.ts +1 -1
  14. package/dist-lib/components/klanten/StickerSizeLine.d.ts.map +1 -1
  15. package/dist-lib/components/klanten/StickerSizeLine.js +19 -17
  16. package/dist-lib/components/klanten/pricegroups/CustomerPickerDialog.d.ts.map +1 -1
  17. package/dist-lib/components/klanten/pricegroups/CustomerPickerDialog.js +13 -1
  18. package/dist-lib/components/settings/CustomerFieldsCard.d.ts.map +1 -1
  19. package/dist-lib/components/settings/CustomerFieldsCard.js +2 -21
  20. package/dist-lib/components/settings/ExtraVeldenBeheer.d.ts +3 -0
  21. package/dist-lib/components/settings/ExtraVeldenBeheer.d.ts.map +1 -0
  22. package/dist-lib/components/settings/ExtraVeldenBeheer.js +61 -0
  23. package/dist-lib/index.d.ts +2 -1
  24. package/dist-lib/index.d.ts.map +1 -1
  25. package/dist-lib/index.js +1 -1
  26. package/dist-lib/integrations/supabase/types.d.ts +2682 -2
  27. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  28. package/dist-lib/integrations/supabase/types.js +1 -0
  29. package/dist-lib/lib/customer-archief.d.ts +12 -0
  30. package/dist-lib/lib/customer-archief.d.ts.map +1 -1
  31. package/dist-lib/lib/customer-archief.functions.js +2 -2
  32. package/dist-lib/lib/customer-archief.js +14 -0
  33. package/dist-lib/lib/customer-stickers.functions.d.ts +12 -0
  34. package/dist-lib/lib/customer-stickers.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/customer-stickers.functions.js +45 -0
  36. package/dist-lib/lib/extra-velden.d.ts +32 -0
  37. package/dist-lib/lib/extra-velden.d.ts.map +1 -0
  38. package/dist-lib/lib/extra-velden.functions.d.ts +69 -0
  39. package/dist-lib/lib/extra-velden.functions.d.ts.map +1 -0
  40. package/dist-lib/lib/extra-velden.functions.js +103 -0
  41. package/dist-lib/lib/extra-velden.js +39 -0
  42. package/dist-lib/lib/server-routes/twinfield-run-queue.server.d.ts +1 -1
  43. package/dist-lib/lib/server-routes/twinfield-run-queue.server.d.ts.map +1 -1
  44. package/dist-lib/lib/server-routes/twinfield-run-queue.server.js +6 -3
  45. package/dist-lib/lib/sticker-formaten.d.ts +46 -0
  46. package/dist-lib/lib/sticker-formaten.d.ts.map +1 -0
  47. package/dist-lib/lib/sticker-formaten.js +75 -0
  48. package/dist-lib/lib/twinfield-queue-admin.functions.d.ts +1 -1
  49. package/dist-lib/lib/twinfield-queue-admin.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/twinfield-queue-admin.functions.js +1 -1
  51. package/package.json +19 -3
  52. package/schema/klanten.sql +441 -78
@@ -338,6 +338,99 @@ export type Database = {
338
338
  };
339
339
  Relationships: [];
340
340
  };
341
+ afh_cmr_stand: {
342
+ Row: {
343
+ code: string;
344
+ created_at: string;
345
+ kargroep: string;
346
+ melding: string;
347
+ opgelost_at: string | null;
348
+ order_id: string;
349
+ order_ids: string[];
350
+ sinds: string;
351
+ updated_at: string;
352
+ };
353
+ Insert: {
354
+ code: string;
355
+ created_at?: string;
356
+ kargroep: string;
357
+ melding: string;
358
+ opgelost_at?: string | null;
359
+ order_id: string;
360
+ order_ids?: string[];
361
+ sinds?: string;
362
+ updated_at?: string;
363
+ };
364
+ Update: {
365
+ code?: string;
366
+ created_at?: string;
367
+ kargroep?: string;
368
+ melding?: string;
369
+ opgelost_at?: string | null;
370
+ order_id?: string;
371
+ order_ids?: string[];
372
+ sinds?: string;
373
+ updated_at?: string;
374
+ };
375
+ Relationships: [];
376
+ };
377
+ afh_levering_correcties: {
378
+ Row: {
379
+ cart_id: string | null;
380
+ created_at: string;
381
+ door: string | null;
382
+ door_naam: string | null;
383
+ doorvoer: Json;
384
+ fase: string;
385
+ id: string;
386
+ is_floriday: boolean;
387
+ nieuw: Json;
388
+ order_id: string;
389
+ order_item_id: string | null;
390
+ oud: Json;
391
+ reden: string;
392
+ soort: string;
393
+ toelichting: string | null;
394
+ updated_at: string;
395
+ };
396
+ Insert: {
397
+ cart_id?: string | null;
398
+ created_at?: string;
399
+ door?: string | null;
400
+ door_naam?: string | null;
401
+ doorvoer?: Json;
402
+ fase?: string;
403
+ id?: string;
404
+ is_floriday?: boolean;
405
+ nieuw?: Json;
406
+ order_id: string;
407
+ order_item_id?: string | null;
408
+ oud?: Json;
409
+ reden: string;
410
+ soort: string;
411
+ toelichting?: string | null;
412
+ updated_at?: string;
413
+ };
414
+ Update: {
415
+ cart_id?: string | null;
416
+ created_at?: string;
417
+ door?: string | null;
418
+ door_naam?: string | null;
419
+ doorvoer?: Json;
420
+ fase?: string;
421
+ id?: string;
422
+ is_floriday?: boolean;
423
+ nieuw?: Json;
424
+ order_id?: string;
425
+ order_item_id?: string | null;
426
+ oud?: Json;
427
+ reden?: string;
428
+ soort?: string;
429
+ toelichting?: string | null;
430
+ updated_at?: string;
431
+ };
432
+ Relationships: [];
433
+ };
341
434
  afh_shell_settings: {
342
435
  Row: {
343
436
  changed_at: string | null;
@@ -2505,6 +2598,13 @@ export type Database = {
2505
2598
  isOneToOne: true;
2506
2599
  referencedRelation: "customers";
2507
2600
  referencedColumns: ["id"];
2601
+ },
2602
+ {
2603
+ foreignKeyName: "customer_archief_customer_id_fkey";
2604
+ columns: ["customer_id"];
2605
+ isOneToOne: true;
2606
+ referencedRelation: "klanten_selecteerbaar";
2607
+ referencedColumns: ["id"];
2508
2608
  }
2509
2609
  ];
2510
2610
  };
@@ -2553,6 +2653,13 @@ export type Database = {
2553
2653
  referencedRelation: "customers";
2554
2654
  referencedColumns: ["id"];
2555
2655
  },
2656
+ {
2657
+ foreignKeyName: "customer_article_aliases_customer_id_fkey";
2658
+ columns: ["customer_id"];
2659
+ isOneToOne: false;
2660
+ referencedRelation: "klanten_selecteerbaar";
2661
+ referencedColumns: ["id"];
2662
+ },
2556
2663
  {
2557
2664
  foreignKeyName: "customer_article_aliases_product_id_fkey";
2558
2665
  columns: ["product_id"];
@@ -2675,6 +2782,13 @@ export type Database = {
2675
2782
  isOneToOne: false;
2676
2783
  referencedRelation: "customers";
2677
2784
  referencedColumns: ["id"];
2785
+ },
2786
+ {
2787
+ foreignKeyName: "customer_contacts_customer_id_fkey";
2788
+ columns: ["customer_id"];
2789
+ isOneToOne: false;
2790
+ referencedRelation: "klanten_selecteerbaar";
2791
+ referencedColumns: ["id"];
2678
2792
  }
2679
2793
  ];
2680
2794
  };
@@ -2720,6 +2834,13 @@ export type Database = {
2720
2834
  referencedRelation: "customers";
2721
2835
  referencedColumns: ["id"];
2722
2836
  },
2837
+ {
2838
+ foreignKeyName: "customer_delivery_location_glns_customer_id_fkey";
2839
+ columns: ["customer_id"];
2840
+ isOneToOne: false;
2841
+ referencedRelation: "klanten_selecteerbaar";
2842
+ referencedColumns: ["id"];
2843
+ },
2723
2844
  {
2724
2845
  foreignKeyName: "customer_delivery_location_glns_location_id_fkey";
2725
2846
  columns: ["location_id"];
@@ -2764,6 +2885,13 @@ export type Database = {
2764
2885
  isOneToOne: false;
2765
2886
  referencedRelation: "customers";
2766
2887
  referencedColumns: ["id"];
2888
+ },
2889
+ {
2890
+ foreignKeyName: "customer_delivery_location_ignored_customer_id_fkey";
2891
+ columns: ["customer_id"];
2892
+ isOneToOne: false;
2893
+ referencedRelation: "klanten_selecteerbaar";
2894
+ referencedColumns: ["id"];
2767
2895
  }
2768
2896
  ];
2769
2897
  };
@@ -2854,9 +2982,98 @@ export type Database = {
2854
2982
  isOneToOne: false;
2855
2983
  referencedRelation: "customers";
2856
2984
  referencedColumns: ["id"];
2985
+ },
2986
+ {
2987
+ foreignKeyName: "customer_delivery_locations_customer_id_fkey";
2988
+ columns: ["customer_id"];
2989
+ isOneToOne: false;
2990
+ referencedRelation: "klanten_selecteerbaar";
2991
+ referencedColumns: ["id"];
2992
+ }
2993
+ ];
2994
+ };
2995
+ customer_extra_veld_waarden: {
2996
+ Row: {
2997
+ created_at: string;
2998
+ customer_id: string;
2999
+ id: string;
3000
+ updated_at: string;
3001
+ veld_id: string;
3002
+ waarde: string;
3003
+ };
3004
+ Insert: {
3005
+ created_at?: string;
3006
+ customer_id: string;
3007
+ id?: string;
3008
+ updated_at?: string;
3009
+ veld_id: string;
3010
+ waarde: string;
3011
+ };
3012
+ Update: {
3013
+ created_at?: string;
3014
+ customer_id?: string;
3015
+ id?: string;
3016
+ updated_at?: string;
3017
+ veld_id?: string;
3018
+ waarde?: string;
3019
+ };
3020
+ Relationships: [
3021
+ {
3022
+ foreignKeyName: "customer_extra_veld_waarden_customer_id_fkey";
3023
+ columns: ["customer_id"];
3024
+ isOneToOne: false;
3025
+ referencedRelation: "customers";
3026
+ referencedColumns: ["id"];
3027
+ },
3028
+ {
3029
+ foreignKeyName: "customer_extra_veld_waarden_customer_id_fkey";
3030
+ columns: ["customer_id"];
3031
+ isOneToOne: false;
3032
+ referencedRelation: "klanten_selecteerbaar";
3033
+ referencedColumns: ["id"];
3034
+ },
3035
+ {
3036
+ foreignKeyName: "customer_extra_veld_waarden_veld_id_fkey";
3037
+ columns: ["veld_id"];
3038
+ isOneToOne: false;
3039
+ referencedRelation: "customer_extra_velden";
3040
+ referencedColumns: ["id"];
2857
3041
  }
2858
3042
  ];
2859
3043
  };
3044
+ customer_extra_velden: {
3045
+ Row: {
3046
+ created_at: string;
3047
+ id: string;
3048
+ label: string;
3049
+ opties: string[];
3050
+ updated_at: string;
3051
+ veld_key: string;
3052
+ veld_type: string;
3053
+ volgorde: number;
3054
+ };
3055
+ Insert: {
3056
+ created_at?: string;
3057
+ id?: string;
3058
+ label: string;
3059
+ opties?: string[];
3060
+ updated_at?: string;
3061
+ veld_key: string;
3062
+ veld_type?: string;
3063
+ volgorde?: number;
3064
+ };
3065
+ Update: {
3066
+ created_at?: string;
3067
+ id?: string;
3068
+ label?: string;
3069
+ opties?: string[];
3070
+ updated_at?: string;
3071
+ veld_key?: string;
3072
+ veld_type?: string;
3073
+ volgorde?: number;
3074
+ };
3075
+ Relationships: [];
3076
+ };
2860
3077
  customer_field_options: {
2861
3078
  Row: {
2862
3079
  created_at: string;
@@ -3015,6 +3232,13 @@ export type Database = {
3015
3232
  referencedRelation: "customers";
3016
3233
  referencedColumns: ["id"];
3017
3234
  },
3235
+ {
3236
+ foreignKeyName: "customer_logistics_exceptions_customer_id_fkey";
3237
+ columns: ["customer_id"];
3238
+ isOneToOne: false;
3239
+ referencedRelation: "klanten_selecteerbaar";
3240
+ referencedColumns: ["id"];
3241
+ },
3018
3242
  {
3019
3243
  foreignKeyName: "customer_logistics_exceptions_location_fkey";
3020
3244
  columns: ["delivery_location_id"];
@@ -3100,6 +3324,13 @@ export type Database = {
3100
3324
  isOneToOne: false;
3101
3325
  referencedRelation: "customers";
3102
3326
  referencedColumns: ["id"];
3327
+ },
3328
+ {
3329
+ foreignKeyName: "customer_match_suggestions_customer_id_fkey";
3330
+ columns: ["customer_id"];
3331
+ isOneToOne: false;
3332
+ referencedRelation: "klanten_selecteerbaar";
3333
+ referencedColumns: ["id"];
3103
3334
  }
3104
3335
  ];
3105
3336
  };
@@ -3135,6 +3366,13 @@ export type Database = {
3135
3366
  isOneToOne: true;
3136
3367
  referencedRelation: "customers";
3137
3368
  referencedColumns: ["id"];
3369
+ },
3370
+ {
3371
+ foreignKeyName: "customer_notes_customer_id_fkey";
3372
+ columns: ["customer_id"];
3373
+ isOneToOne: true;
3374
+ referencedRelation: "klanten_selecteerbaar";
3375
+ referencedColumns: ["id"];
3138
3376
  }
3139
3377
  ];
3140
3378
  };
@@ -3352,6 +3590,13 @@ export type Database = {
3352
3590
  isOneToOne: false;
3353
3591
  referencedRelation: "customers";
3354
3592
  referencedColumns: ["id"];
3593
+ },
3594
+ {
3595
+ foreignKeyName: "customer_selected_assortment_customer_id_fkey";
3596
+ columns: ["customer_id"];
3597
+ isOneToOne: false;
3598
+ referencedRelation: "klanten_selecteerbaar";
3599
+ referencedColumns: ["id"];
3355
3600
  }
3356
3601
  ];
3357
3602
  };
@@ -3426,6 +3671,13 @@ export type Database = {
3426
3671
  isOneToOne: false;
3427
3672
  referencedRelation: "customers";
3428
3673
  referencedColumns: ["id"];
3674
+ },
3675
+ {
3676
+ foreignKeyName: "customer_trade_settings_customer_id_fkey";
3677
+ columns: ["customer_id"];
3678
+ isOneToOne: false;
3679
+ referencedRelation: "klanten_selecteerbaar";
3680
+ referencedColumns: ["id"];
3429
3681
  }
3430
3682
  ];
3431
3683
  };
@@ -7365,6 +7617,36 @@ export type Database = {
7365
7617
  };
7366
7618
  Relationships: [];
7367
7619
  };
7620
+ facturatie_vies_checks: {
7621
+ Row: {
7622
+ checked_at: string;
7623
+ country_code: string;
7624
+ created_at: string;
7625
+ successful_at: string | null;
7626
+ updated_at: string;
7627
+ valid: boolean;
7628
+ vat_number: string;
7629
+ };
7630
+ Insert: {
7631
+ checked_at?: string;
7632
+ country_code: string;
7633
+ created_at?: string;
7634
+ successful_at?: string | null;
7635
+ updated_at?: string;
7636
+ valid: boolean;
7637
+ vat_number: string;
7638
+ };
7639
+ Update: {
7640
+ checked_at?: string;
7641
+ country_code?: string;
7642
+ created_at?: string;
7643
+ successful_at?: string | null;
7644
+ updated_at?: string;
7645
+ valid?: boolean;
7646
+ vat_number?: string;
7647
+ };
7648
+ Relationships: [];
7649
+ };
7368
7650
  floricode_connection_settings: {
7369
7651
  Row: {
7370
7652
  catalog_key: string | null;
@@ -7580,6 +7862,57 @@ export type Database = {
7580
7862
  }
7581
7863
  ];
7582
7864
  };
7865
+ floriday_afleveringen_verzoeken: {
7866
+ Row: {
7867
+ aangevraagd_door: string | null;
7868
+ artikelen_opgehaald: number;
7869
+ connection_id: string;
7870
+ created_at: string;
7871
+ cursor_seq: number;
7872
+ doel_seq: number | null;
7873
+ id: string;
7874
+ melding: string | null;
7875
+ opgehaald: number;
7876
+ pogingen: number;
7877
+ status: string;
7878
+ tot: string;
7879
+ updated_at: string;
7880
+ van: string;
7881
+ };
7882
+ Insert: {
7883
+ aangevraagd_door?: string | null;
7884
+ artikelen_opgehaald?: number;
7885
+ connection_id: string;
7886
+ created_at?: string;
7887
+ cursor_seq?: number;
7888
+ doel_seq?: number | null;
7889
+ id?: string;
7890
+ melding?: string | null;
7891
+ opgehaald?: number;
7892
+ pogingen?: number;
7893
+ status?: string;
7894
+ tot: string;
7895
+ updated_at?: string;
7896
+ van: string;
7897
+ };
7898
+ Update: {
7899
+ aangevraagd_door?: string | null;
7900
+ artikelen_opgehaald?: number;
7901
+ connection_id?: string;
7902
+ created_at?: string;
7903
+ cursor_seq?: number;
7904
+ doel_seq?: number | null;
7905
+ id?: string;
7906
+ melding?: string | null;
7907
+ opgehaald?: number;
7908
+ pogingen?: number;
7909
+ status?: string;
7910
+ tot?: string;
7911
+ updated_at?: string;
7912
+ van?: string;
7913
+ };
7914
+ Relationships: [];
7915
+ };
7583
7916
  floriday_agreement_calloffs_cache: {
7584
7917
  Row: {
7585
7918
  agreement_id: string | null;
@@ -9278,6 +9611,69 @@ export type Database = {
9278
9611
  }
9279
9612
  ];
9280
9613
  };
9614
+ floriday_fulfillment_corrections: {
9615
+ Row: {
9616
+ body: Json | null;
9617
+ connection_id: string;
9618
+ correction_id: string;
9619
+ created_at: string;
9620
+ creditering_melding: string | null;
9621
+ door: string | null;
9622
+ floriday_reden: string | null;
9623
+ floriday_status: string | null;
9624
+ fulfillment_order_id: string;
9625
+ id: string;
9626
+ idempotency_key: string;
9627
+ nieuw: Json | null;
9628
+ oud: Json | null;
9629
+ pogingen: number;
9630
+ reden: string | null;
9631
+ soort: string;
9632
+ status: string;
9633
+ updated_at: string;
9634
+ };
9635
+ Insert: {
9636
+ body?: Json | null;
9637
+ connection_id: string;
9638
+ correction_id: string;
9639
+ created_at?: string;
9640
+ creditering_melding?: string | null;
9641
+ door?: string | null;
9642
+ floriday_reden?: string | null;
9643
+ floriday_status?: string | null;
9644
+ fulfillment_order_id: string;
9645
+ id?: string;
9646
+ idempotency_key: string;
9647
+ nieuw?: Json | null;
9648
+ oud?: Json | null;
9649
+ pogingen?: number;
9650
+ reden?: string | null;
9651
+ soort: string;
9652
+ status?: string;
9653
+ updated_at?: string;
9654
+ };
9655
+ Update: {
9656
+ body?: Json | null;
9657
+ connection_id?: string;
9658
+ correction_id?: string;
9659
+ created_at?: string;
9660
+ creditering_melding?: string | null;
9661
+ door?: string | null;
9662
+ floriday_reden?: string | null;
9663
+ floriday_status?: string | null;
9664
+ fulfillment_order_id?: string;
9665
+ id?: string;
9666
+ idempotency_key?: string;
9667
+ nieuw?: Json | null;
9668
+ oud?: Json | null;
9669
+ pogingen?: number;
9670
+ reden?: string | null;
9671
+ soort?: string;
9672
+ status?: string;
9673
+ updated_at?: string;
9674
+ };
9675
+ Relationships: [];
9676
+ };
9281
9677
  floriday_fulfillment_orders_cache: {
9282
9678
  Row: {
9283
9679
  auction_date: string | null;
@@ -10135,6 +10531,72 @@ export type Database = {
10135
10531
  };
10136
10532
  Relationships: [];
10137
10533
  };
10534
+ floriday_sales_order_corrections: {
10535
+ Row: {
10536
+ besluit: string | null;
10537
+ besluit_at: string | null;
10538
+ besluit_door: string | null;
10539
+ besluit_fout: string | null;
10540
+ connection_id: string;
10541
+ created_at: string;
10542
+ customer_organization_id: string | null;
10543
+ data: Json | null;
10544
+ dringend_gemeld_at: string | null;
10545
+ expires_at: string | null;
10546
+ fetched_at: string;
10547
+ floriday_id: string;
10548
+ gemeld_at: string | null;
10549
+ id: string;
10550
+ is_cancel_request: boolean;
10551
+ sales_order_id: string | null;
10552
+ sequence_number: number;
10553
+ status: string | null;
10554
+ updated_at: string;
10555
+ };
10556
+ Insert: {
10557
+ besluit?: string | null;
10558
+ besluit_at?: string | null;
10559
+ besluit_door?: string | null;
10560
+ besluit_fout?: string | null;
10561
+ connection_id: string;
10562
+ created_at?: string;
10563
+ customer_organization_id?: string | null;
10564
+ data?: Json | null;
10565
+ dringend_gemeld_at?: string | null;
10566
+ expires_at?: string | null;
10567
+ fetched_at?: string;
10568
+ floriday_id: string;
10569
+ gemeld_at?: string | null;
10570
+ id?: string;
10571
+ is_cancel_request?: boolean;
10572
+ sales_order_id?: string | null;
10573
+ sequence_number?: number;
10574
+ status?: string | null;
10575
+ updated_at?: string;
10576
+ };
10577
+ Update: {
10578
+ besluit?: string | null;
10579
+ besluit_at?: string | null;
10580
+ besluit_door?: string | null;
10581
+ besluit_fout?: string | null;
10582
+ connection_id?: string;
10583
+ created_at?: string;
10584
+ customer_organization_id?: string | null;
10585
+ data?: Json | null;
10586
+ dringend_gemeld_at?: string | null;
10587
+ expires_at?: string | null;
10588
+ fetched_at?: string;
10589
+ floriday_id?: string;
10590
+ gemeld_at?: string | null;
10591
+ id?: string;
10592
+ is_cancel_request?: boolean;
10593
+ sales_order_id?: string | null;
10594
+ sequence_number?: number;
10595
+ status?: string | null;
10596
+ updated_at?: string;
10597
+ };
10598
+ Relationships: [];
10599
+ };
10138
10600
  floriday_sales_order_ingest: {
10139
10601
  Row: {
10140
10602
  connection_id: string;
@@ -10517,6 +10979,162 @@ export type Database = {
10517
10979
  };
10518
10980
  Relationships: [];
10519
10981
  };
10982
+ floriday_terugkoppelingen: {
10983
+ Row: {
10984
+ aangeboden_at: string;
10985
+ besluit_at: string | null;
10986
+ body: Json | null;
10987
+ caller: string | null;
10988
+ connection_id: string;
10989
+ created_at: string;
10990
+ delivery_order_id: string;
10991
+ fout: string | null;
10992
+ fulfillment_order_id: string | null;
10993
+ id: string;
10994
+ order_id: string | null;
10995
+ order_ref: string | null;
10996
+ pogingen: number;
10997
+ stand: string | null;
10998
+ status: string;
10999
+ uitkomst: Json | null;
11000
+ updated_at: string;
11001
+ verstuurd_at: string | null;
11002
+ vraag_id: string | null;
11003
+ };
11004
+ Insert: {
11005
+ aangeboden_at?: string;
11006
+ besluit_at?: string | null;
11007
+ body?: Json | null;
11008
+ caller?: string | null;
11009
+ connection_id: string;
11010
+ created_at?: string;
11011
+ delivery_order_id: string;
11012
+ fout?: string | null;
11013
+ fulfillment_order_id?: string | null;
11014
+ id?: string;
11015
+ order_id?: string | null;
11016
+ order_ref?: string | null;
11017
+ pogingen?: number;
11018
+ stand?: string | null;
11019
+ status?: string;
11020
+ uitkomst?: Json | null;
11021
+ updated_at?: string;
11022
+ verstuurd_at?: string | null;
11023
+ vraag_id?: string | null;
11024
+ };
11025
+ Update: {
11026
+ aangeboden_at?: string;
11027
+ besluit_at?: string | null;
11028
+ body?: Json | null;
11029
+ caller?: string | null;
11030
+ connection_id?: string;
11031
+ created_at?: string;
11032
+ delivery_order_id?: string;
11033
+ fout?: string | null;
11034
+ fulfillment_order_id?: string | null;
11035
+ id?: string;
11036
+ order_id?: string | null;
11037
+ order_ref?: string | null;
11038
+ pogingen?: number;
11039
+ stand?: string | null;
11040
+ status?: string;
11041
+ uitkomst?: Json | null;
11042
+ updated_at?: string;
11043
+ verstuurd_at?: string | null;
11044
+ vraag_id?: string | null;
11045
+ };
11046
+ Relationships: [];
11047
+ };
11048
+ floriday_toets_afleveropdrachten: {
11049
+ Row: {
11050
+ auction_date: string | null;
11051
+ connection_id: string;
11052
+ data: Json | null;
11053
+ delivery_order_id: string | null;
11054
+ despatch_warehouse_id: string | null;
11055
+ destination_warehouse_id: string | null;
11056
+ fetched_at: string;
11057
+ floriday_id: string;
11058
+ id: string;
11059
+ is_deleted: boolean;
11060
+ latest_delivery_at: string | null;
11061
+ load_carrier_type: string | null;
11062
+ one_label_only: boolean | null;
11063
+ sequence_number: number | null;
11064
+ status: string | null;
11065
+ verzoek_id: string | null;
11066
+ };
11067
+ Insert: {
11068
+ auction_date?: string | null;
11069
+ connection_id: string;
11070
+ data?: Json | null;
11071
+ delivery_order_id?: string | null;
11072
+ despatch_warehouse_id?: string | null;
11073
+ destination_warehouse_id?: string | null;
11074
+ fetched_at?: string;
11075
+ floriday_id: string;
11076
+ id?: string;
11077
+ is_deleted?: boolean;
11078
+ latest_delivery_at?: string | null;
11079
+ load_carrier_type?: string | null;
11080
+ one_label_only?: boolean | null;
11081
+ sequence_number?: number | null;
11082
+ status?: string | null;
11083
+ verzoek_id?: string | null;
11084
+ };
11085
+ Update: {
11086
+ auction_date?: string | null;
11087
+ connection_id?: string;
11088
+ data?: Json | null;
11089
+ delivery_order_id?: string | null;
11090
+ despatch_warehouse_id?: string | null;
11091
+ destination_warehouse_id?: string | null;
11092
+ fetched_at?: string;
11093
+ floriday_id?: string;
11094
+ id?: string;
11095
+ is_deleted?: boolean;
11096
+ latest_delivery_at?: string | null;
11097
+ load_carrier_type?: string | null;
11098
+ one_label_only?: boolean | null;
11099
+ sequence_number?: number | null;
11100
+ status?: string | null;
11101
+ verzoek_id?: string | null;
11102
+ };
11103
+ Relationships: [];
11104
+ };
11105
+ floriday_toets_handelsartikelen: {
11106
+ Row: {
11107
+ connection_id: string;
11108
+ data: Json | null;
11109
+ fetched_at: string;
11110
+ floriday_id: string;
11111
+ id: string;
11112
+ is_deleted: boolean;
11113
+ sequence_number: number | null;
11114
+ verzoek_id: string | null;
11115
+ };
11116
+ Insert: {
11117
+ connection_id: string;
11118
+ data?: Json | null;
11119
+ fetched_at?: string;
11120
+ floriday_id: string;
11121
+ id?: string;
11122
+ is_deleted?: boolean;
11123
+ sequence_number?: number | null;
11124
+ verzoek_id?: string | null;
11125
+ };
11126
+ Update: {
11127
+ connection_id?: string;
11128
+ data?: Json | null;
11129
+ fetched_at?: string;
11130
+ floriday_id?: string;
11131
+ id?: string;
11132
+ is_deleted?: boolean;
11133
+ sequence_number?: number | null;
11134
+ verzoek_id?: string | null;
11135
+ };
11136
+ Relationships: [];
11137
+ };
10520
11138
  floriday_token_refresh_log: {
10521
11139
  Row: {
10522
11140
  attempted_at: string;
@@ -13642,6 +14260,54 @@ export type Database = {
13642
14260
  };
13643
14261
  Relationships: [];
13644
14262
  };
14263
+ klanten_ververs_log: {
14264
+ Row: {
14265
+ bron: string;
14266
+ created_at: string;
14267
+ duur_ms: number | null;
14268
+ id: number;
14269
+ melding: string | null;
14270
+ status: string;
14271
+ verzoeken: number;
14272
+ };
14273
+ Insert: {
14274
+ bron: string;
14275
+ created_at?: string;
14276
+ duur_ms?: number | null;
14277
+ id?: number;
14278
+ melding?: string | null;
14279
+ status: string;
14280
+ verzoeken?: number;
14281
+ };
14282
+ Update: {
14283
+ bron?: string;
14284
+ created_at?: string;
14285
+ duur_ms?: number | null;
14286
+ id?: number;
14287
+ melding?: string | null;
14288
+ status?: string;
14289
+ verzoeken?: number;
14290
+ };
14291
+ Relationships: [];
14292
+ };
14293
+ klanten_ververs_vlag: {
14294
+ Row: {
14295
+ bron: string;
14296
+ created_at: string;
14297
+ id: number;
14298
+ };
14299
+ Insert: {
14300
+ bron: string;
14301
+ created_at?: string;
14302
+ id?: number;
14303
+ };
14304
+ Update: {
14305
+ bron?: string;
14306
+ created_at?: string;
14307
+ id?: number;
14308
+ };
14309
+ Relationships: [];
14310
+ };
13645
14311
  layout_auto_acties: {
13646
14312
  Row: {
13647
14313
  actie: string;
@@ -13818,6 +14484,36 @@ export type Database = {
13818
14484
  };
13819
14485
  Relationships: [];
13820
14486
  };
14487
+ layouts_documentsoort_alias: {
14488
+ Row: {
14489
+ bron: string;
14490
+ bron_waarde: string;
14491
+ created_at: string;
14492
+ documentsoort: string;
14493
+ id: string;
14494
+ opmerking: string | null;
14495
+ updated_at: string;
14496
+ };
14497
+ Insert: {
14498
+ bron: string;
14499
+ bron_waarde: string;
14500
+ created_at?: string;
14501
+ documentsoort: string;
14502
+ id?: string;
14503
+ opmerking?: string | null;
14504
+ updated_at?: string;
14505
+ };
14506
+ Update: {
14507
+ bron?: string;
14508
+ bron_waarde?: string;
14509
+ created_at?: string;
14510
+ documentsoort?: string;
14511
+ id?: string;
14512
+ opmerking?: string | null;
14513
+ updated_at?: string;
14514
+ };
14515
+ Relationships: [];
14516
+ };
13821
14517
  leave_requests: {
13822
14518
  Row: {
13823
14519
  cancellation_requested_at: string | null;
@@ -14046,6 +14742,13 @@ export type Database = {
14046
14742
  referencedRelation: "customers";
14047
14743
  referencedColumns: ["id"];
14048
14744
  },
14745
+ {
14746
+ foreignKeyName: "local_customer_agreements_customer_id_fkey";
14747
+ columns: ["customer_id"];
14748
+ isOneToOne: false;
14749
+ referencedRelation: "klanten_selecteerbaar";
14750
+ referencedColumns: ["id"];
14751
+ },
14049
14752
  {
14050
14753
  foreignKeyName: "local_customer_agreements_product_category_id_fkey";
14051
14754
  columns: ["product_category_id"];
@@ -14116,6 +14819,13 @@ export type Database = {
14116
14819
  referencedRelation: "customers";
14117
14820
  referencedColumns: ["id"];
14118
14821
  },
14822
+ {
14823
+ foreignKeyName: "local_customer_price_groups_customer_id_fkey";
14824
+ columns: ["customer_id"];
14825
+ isOneToOne: false;
14826
+ referencedRelation: "klanten_selecteerbaar";
14827
+ referencedColumns: ["id"];
14828
+ },
14119
14829
  {
14120
14830
  foreignKeyName: "local_customer_price_groups_product_category_id_fkey";
14121
14831
  columns: ["product_category_id"];
@@ -14186,6 +14896,13 @@ export type Database = {
14186
14896
  referencedRelation: "customers";
14187
14897
  referencedColumns: ["id"];
14188
14898
  },
14899
+ {
14900
+ foreignKeyName: "local_customer_sales_strategies_customer_id_fkey";
14901
+ columns: ["customer_id"];
14902
+ isOneToOne: false;
14903
+ referencedRelation: "klanten_selecteerbaar";
14904
+ referencedColumns: ["id"];
14905
+ },
14189
14906
  {
14190
14907
  foreignKeyName: "local_customer_sales_strategies_product_category_id_fkey";
14191
14908
  columns: ["product_category_id"];
@@ -14532,6 +15249,84 @@ export type Database = {
14532
15249
  };
14533
15250
  Relationships: [];
14534
15251
  };
15252
+ logistics_beslismoment_gelogd: {
15253
+ Row: {
15254
+ actie: string;
15255
+ created_at: string;
15256
+ moment: string;
15257
+ sleutel: string;
15258
+ updated_at: string;
15259
+ };
15260
+ Insert: {
15261
+ actie: string;
15262
+ created_at?: string;
15263
+ moment: string;
15264
+ sleutel: string;
15265
+ updated_at?: string;
15266
+ };
15267
+ Update: {
15268
+ actie?: string;
15269
+ created_at?: string;
15270
+ moment?: string;
15271
+ sleutel?: string;
15272
+ updated_at?: string;
15273
+ };
15274
+ Relationships: [];
15275
+ };
15276
+ logistics_beslismoment_vragen: {
15277
+ Row: {
15278
+ besluit_at: string | null;
15279
+ besluit_door: string | null;
15280
+ besluit_door_naam: string | null;
15281
+ cart_id: string | null;
15282
+ created_at: string;
15283
+ id: string;
15284
+ moment: string;
15285
+ order_id: string | null;
15286
+ sleutel: string;
15287
+ status: string;
15288
+ uitkomst: Json | null;
15289
+ updated_at: string;
15290
+ voorstel: Json | null;
15291
+ vraag: string;
15292
+ waarom: string | null;
15293
+ };
15294
+ Insert: {
15295
+ besluit_at?: string | null;
15296
+ besluit_door?: string | null;
15297
+ besluit_door_naam?: string | null;
15298
+ cart_id?: string | null;
15299
+ created_at?: string;
15300
+ id?: string;
15301
+ moment: string;
15302
+ order_id?: string | null;
15303
+ sleutel: string;
15304
+ status?: string;
15305
+ uitkomst?: Json | null;
15306
+ updated_at?: string;
15307
+ voorstel?: Json | null;
15308
+ vraag: string;
15309
+ waarom?: string | null;
15310
+ };
15311
+ Update: {
15312
+ besluit_at?: string | null;
15313
+ besluit_door?: string | null;
15314
+ besluit_door_naam?: string | null;
15315
+ cart_id?: string | null;
15316
+ created_at?: string;
15317
+ id?: string;
15318
+ moment?: string;
15319
+ order_id?: string | null;
15320
+ sleutel?: string;
15321
+ status?: string;
15322
+ uitkomst?: Json | null;
15323
+ updated_at?: string;
15324
+ voorstel?: Json | null;
15325
+ vraag?: string;
15326
+ waarom?: string | null;
15327
+ };
15328
+ Relationships: [];
15329
+ };
14535
15330
  logistics_capacity_alerts: {
14536
15331
  Row: {
14537
15332
  available_minutes: number;
@@ -14834,6 +15629,78 @@ export type Database = {
14834
15629
  };
14835
15630
  Relationships: [];
14836
15631
  };
15632
+ logistics_cart_wacht_vast: {
15633
+ Row: {
15634
+ bron: string;
15635
+ cart_id: string;
15636
+ vastgelegd_at: string;
15637
+ wacht_tot: string | null;
15638
+ };
15639
+ Insert: {
15640
+ bron: string;
15641
+ cart_id: string;
15642
+ vastgelegd_at?: string;
15643
+ wacht_tot?: string | null;
15644
+ };
15645
+ Update: {
15646
+ bron?: string;
15647
+ cart_id?: string;
15648
+ vastgelegd_at?: string;
15649
+ wacht_tot?: string | null;
15650
+ };
15651
+ Relationships: [];
15652
+ };
15653
+ logistics_control_afwijking_meldingen: {
15654
+ Row: {
15655
+ barcode: string | null;
15656
+ cart_id: string;
15657
+ created_at: string;
15658
+ gemeld_at: string;
15659
+ gemeld_door: string | null;
15660
+ gemeld_door_naam: string | null;
15661
+ id: string;
15662
+ opgelost_at: string | null;
15663
+ opgelost_door: string | null;
15664
+ opgelost_reden: string | null;
15665
+ order_id: string | null;
15666
+ reden: string | null;
15667
+ stand: string;
15668
+ updated_at: string;
15669
+ };
15670
+ Insert: {
15671
+ barcode?: string | null;
15672
+ cart_id: string;
15673
+ created_at?: string;
15674
+ gemeld_at?: string;
15675
+ gemeld_door?: string | null;
15676
+ gemeld_door_naam?: string | null;
15677
+ id?: string;
15678
+ opgelost_at?: string | null;
15679
+ opgelost_door?: string | null;
15680
+ opgelost_reden?: string | null;
15681
+ order_id?: string | null;
15682
+ reden?: string | null;
15683
+ stand: string;
15684
+ updated_at?: string;
15685
+ };
15686
+ Update: {
15687
+ barcode?: string | null;
15688
+ cart_id?: string;
15689
+ created_at?: string;
15690
+ gemeld_at?: string;
15691
+ gemeld_door?: string | null;
15692
+ gemeld_door_naam?: string | null;
15693
+ id?: string;
15694
+ opgelost_at?: string | null;
15695
+ opgelost_door?: string | null;
15696
+ opgelost_reden?: string | null;
15697
+ order_id?: string | null;
15698
+ reden?: string | null;
15699
+ stand?: string;
15700
+ updated_at?: string;
15701
+ };
15702
+ Relationships: [];
15703
+ };
14837
15704
  logistics_control_scan: {
14838
15705
  Row: {
14839
15706
  approved_at: string | null;
@@ -15305,6 +16172,69 @@ export type Database = {
15305
16172
  };
15306
16173
  Relationships: [];
15307
16174
  };
16175
+ logistics_floriday_herprint: {
16176
+ Row: {
16177
+ aangevraagd_door: string | null;
16178
+ aangevraagd_door_naam: string | null;
16179
+ antwoord: Json | null;
16180
+ created_at: string;
16181
+ document_version_id: string | null;
16182
+ fulfillment_order_id: string;
16183
+ id: string;
16184
+ idempotentie_sleutel: string | null;
16185
+ kopieen: number;
16186
+ locked_until: string | null;
16187
+ order_id: string | null;
16188
+ order_number: string | null;
16189
+ pogingen: number;
16190
+ print_plek_id: string | null;
16191
+ reden: string | null;
16192
+ status: string;
16193
+ updated_at: string;
16194
+ volgende_poging_at: string;
16195
+ };
16196
+ Insert: {
16197
+ aangevraagd_door?: string | null;
16198
+ aangevraagd_door_naam?: string | null;
16199
+ antwoord?: Json | null;
16200
+ created_at?: string;
16201
+ document_version_id?: string | null;
16202
+ fulfillment_order_id: string;
16203
+ id?: string;
16204
+ idempotentie_sleutel?: string | null;
16205
+ kopieen?: number;
16206
+ locked_until?: string | null;
16207
+ order_id?: string | null;
16208
+ order_number?: string | null;
16209
+ pogingen?: number;
16210
+ print_plek_id?: string | null;
16211
+ reden?: string | null;
16212
+ status?: string;
16213
+ updated_at?: string;
16214
+ volgende_poging_at?: string;
16215
+ };
16216
+ Update: {
16217
+ aangevraagd_door?: string | null;
16218
+ aangevraagd_door_naam?: string | null;
16219
+ antwoord?: Json | null;
16220
+ created_at?: string;
16221
+ document_version_id?: string | null;
16222
+ fulfillment_order_id?: string;
16223
+ id?: string;
16224
+ idempotentie_sleutel?: string | null;
16225
+ kopieen?: number;
16226
+ locked_until?: string | null;
16227
+ order_id?: string | null;
16228
+ order_number?: string | null;
16229
+ pogingen?: number;
16230
+ print_plek_id?: string | null;
16231
+ reden?: string | null;
16232
+ status?: string;
16233
+ updated_at?: string;
16234
+ volgende_poging_at?: string;
16235
+ };
16236
+ Relationships: [];
16237
+ };
15308
16238
  logistics_floriday_push_refusals: {
15309
16239
  Row: {
15310
16240
  action: string | null;
@@ -15526,6 +16456,39 @@ export type Database = {
15526
16456
  };
15527
16457
  Relationships: [];
15528
16458
  };
16459
+ logistics_gewijzigd_na_print_besluit: {
16460
+ Row: {
16461
+ besluit: string;
16462
+ created_at: string;
16463
+ door: string | null;
16464
+ door_naam: string | null;
16465
+ id: string;
16466
+ order_id: string;
16467
+ signaal: string;
16468
+ updated_at: string;
16469
+ };
16470
+ Insert: {
16471
+ besluit: string;
16472
+ created_at?: string;
16473
+ door?: string | null;
16474
+ door_naam?: string | null;
16475
+ id?: string;
16476
+ order_id: string;
16477
+ signaal: string;
16478
+ updated_at?: string;
16479
+ };
16480
+ Update: {
16481
+ besluit?: string;
16482
+ created_at?: string;
16483
+ door?: string | null;
16484
+ door_naam?: string | null;
16485
+ id?: string;
16486
+ order_id?: string;
16487
+ signaal?: string;
16488
+ updated_at?: string;
16489
+ };
16490
+ Relationships: [];
16491
+ };
15529
16492
  logistics_index_log: {
15530
16493
  Row: {
15531
16494
  aangemaakt_at: string;
@@ -17716,6 +18679,39 @@ export type Database = {
17716
18679
  };
17717
18680
  Relationships: [];
17718
18681
  };
18682
+ logistics_niet_afgemeld_archief: {
18683
+ Row: {
18684
+ created_at: string;
18685
+ door: string;
18686
+ gearchiveerd_at: string;
18687
+ leverdag: string | null;
18688
+ order_id: string;
18689
+ reden: string;
18690
+ status_bij_archiveren: string | null;
18691
+ updated_at: string;
18692
+ };
18693
+ Insert: {
18694
+ created_at?: string;
18695
+ door?: string;
18696
+ gearchiveerd_at?: string;
18697
+ leverdag?: string | null;
18698
+ order_id: string;
18699
+ reden: string;
18700
+ status_bij_archiveren?: string | null;
18701
+ updated_at?: string;
18702
+ };
18703
+ Update: {
18704
+ created_at?: string;
18705
+ door?: string;
18706
+ gearchiveerd_at?: string;
18707
+ leverdag?: string | null;
18708
+ order_id?: string;
18709
+ reden?: string;
18710
+ status_bij_archiveren?: string | null;
18711
+ updated_at?: string;
18712
+ };
18713
+ Relationships: [];
18714
+ };
17719
18715
  logistics_opening_exceptions: {
17720
18716
  Row: {
17721
18717
  closes: string | null;
@@ -18018,6 +19014,45 @@ export type Database = {
18018
19014
  }
18019
19015
  ];
18020
19016
  };
19017
+ logistics_order_signalen: {
19018
+ Row: {
19019
+ created_at: string;
19020
+ id: number;
19021
+ order_id: string;
19022
+ reden: string;
19023
+ };
19024
+ Insert: {
19025
+ created_at?: string;
19026
+ id?: never;
19027
+ order_id: string;
19028
+ reden: string;
19029
+ };
19030
+ Update: {
19031
+ created_at?: string;
19032
+ id?: never;
19033
+ order_id?: string;
19034
+ reden?: string;
19035
+ };
19036
+ Relationships: [];
19037
+ };
19038
+ logistics_order_spoed: {
19039
+ Row: {
19040
+ order_id: string;
19041
+ reden: string;
19042
+ vastgelegd_at: string;
19043
+ };
19044
+ Insert: {
19045
+ order_id: string;
19046
+ reden: string;
19047
+ vastgelegd_at?: string;
19048
+ };
19049
+ Update: {
19050
+ order_id?: string;
19051
+ reden?: string;
19052
+ vastgelegd_at?: string;
19053
+ };
19054
+ Relationships: [];
19055
+ };
18021
19056
  logistics_order_sticker_warnings: {
18022
19057
  Row: {
18023
19058
  benodigd_breedte_mm: number | null;
@@ -19731,6 +20766,7 @@ export type Database = {
19731
20766
  };
19732
20767
  logistics_toets_leveringen: {
19733
20768
  Row: {
20769
+ artikelen: Json | null;
19734
20770
  berekend_op: string | null;
19735
20771
  bestemming: string | null;
19736
20772
  floriday: Json;
@@ -19739,6 +20775,7 @@ export type Database = {
19739
20775
  kern: Json | null;
19740
20776
  kern_karren: number | null;
19741
20777
  leverdatum: string | null;
20778
+ niet_te_beoordelen_reden: string | null;
19742
20779
  run_id: string;
19743
20780
  soort: string | null;
19744
20781
  status: string;
@@ -19746,6 +20783,7 @@ export type Database = {
19746
20783
  zoektekst: string | null;
19747
20784
  };
19748
20785
  Insert: {
20786
+ artikelen?: Json | null;
19749
20787
  berekend_op?: string | null;
19750
20788
  bestemming?: string | null;
19751
20789
  floriday?: Json;
@@ -19754,6 +20792,7 @@ export type Database = {
19754
20792
  kern?: Json | null;
19755
20793
  kern_karren?: number | null;
19756
20794
  leverdatum?: string | null;
20795
+ niet_te_beoordelen_reden?: string | null;
19757
20796
  run_id: string;
19758
20797
  soort?: string | null;
19759
20798
  status?: string;
@@ -19761,6 +20800,7 @@ export type Database = {
19761
20800
  zoektekst?: string | null;
19762
20801
  };
19763
20802
  Update: {
20803
+ artikelen?: Json | null;
19764
20804
  berekend_op?: string | null;
19765
20805
  bestemming?: string | null;
19766
20806
  floriday?: Json;
@@ -19769,6 +20809,7 @@ export type Database = {
19769
20809
  kern?: Json | null;
19770
20810
  kern_karren?: number | null;
19771
20811
  leverdatum?: string | null;
20812
+ niet_te_beoordelen_reden?: string | null;
19772
20813
  run_id?: string;
19773
20814
  soort?: string | null;
19774
20815
  status?: string;
@@ -19788,6 +20829,7 @@ export type Database = {
19788
20829
  logistics_toets_runs: {
19789
20830
  Row: {
19790
20831
  afgerond_op: string | null;
20832
+ bron: string | null;
19791
20833
  gestart_door: string | null;
19792
20834
  gestart_door_naam: string | null;
19793
20835
  gestart_op: string;
@@ -19807,6 +20849,7 @@ export type Database = {
19807
20849
  };
19808
20850
  Insert: {
19809
20851
  afgerond_op?: string | null;
20852
+ bron?: string | null;
19810
20853
  gestart_door?: string | null;
19811
20854
  gestart_door_naam?: string | null;
19812
20855
  gestart_op?: string;
@@ -19826,6 +20869,7 @@ export type Database = {
19826
20869
  };
19827
20870
  Update: {
19828
20871
  afgerond_op?: string | null;
20872
+ bron?: string | null;
19829
20873
  gestart_door?: string | null;
19830
20874
  gestart_door_naam?: string | null;
19831
20875
  gestart_op?: string;
@@ -20124,6 +21168,21 @@ export type Database = {
20124
21168
  };
20125
21169
  Relationships: [];
20126
21170
  };
21171
+ logistics_wek_order: {
21172
+ Row: {
21173
+ laatst_at: string;
21174
+ order_id: string;
21175
+ };
21176
+ Insert: {
21177
+ laatst_at?: string;
21178
+ order_id: string;
21179
+ };
21180
+ Update: {
21181
+ laatst_at?: string;
21182
+ order_id?: string;
21183
+ };
21184
+ Relationships: [];
21185
+ };
20127
21186
  logistics_werker_stand: {
20128
21187
  Row: {
20129
21188
  bijgewerkt_op: string;
@@ -20315,6 +21374,7 @@ export type Database = {
20315
21374
  };
20316
21375
  mailbox_filter_settings: {
20317
21376
  Row: {
21377
+ afroep_reservering_aan: boolean;
20318
21378
  analyze_unknown_with_signals: boolean;
20319
21379
  conf_green: number;
20320
21380
  conf_orange: number;
@@ -20341,6 +21401,7 @@ export type Database = {
20341
21401
  updated_at: string;
20342
21402
  };
20343
21403
  Insert: {
21404
+ afroep_reservering_aan?: boolean;
20344
21405
  analyze_unknown_with_signals?: boolean;
20345
21406
  conf_green?: number;
20346
21407
  conf_orange?: number;
@@ -20367,6 +21428,7 @@ export type Database = {
20367
21428
  updated_at?: string;
20368
21429
  };
20369
21430
  Update: {
21431
+ afroep_reservering_aan?: boolean;
20370
21432
  analyze_unknown_with_signals?: boolean;
20371
21433
  conf_green?: number;
20372
21434
  conf_orange?: number;
@@ -20495,6 +21557,13 @@ export type Database = {
20495
21557
  isOneToOne: false;
20496
21558
  referencedRelation: "customers";
20497
21559
  referencedColumns: ["id"];
21560
+ },
21561
+ {
21562
+ foreignKeyName: "mailbox_learned_customers_customer_id_fkey";
21563
+ columns: ["customer_id"];
21564
+ isOneToOne: false;
21565
+ referencedRelation: "klanten_selecteerbaar";
21566
+ referencedColumns: ["id"];
20498
21567
  }
20499
21568
  ];
20500
21569
  };
@@ -20631,6 +21700,7 @@ export type Database = {
20631
21700
  notes: string | null;
20632
21701
  order_number: string | null;
20633
21702
  parsed_payload: Json | null;
21703
+ reservation_calloff_result: Json | null;
20634
21704
  reviewed_at: string | null;
20635
21705
  reviewed_by: string | null;
20636
21706
  status: string;
@@ -20650,6 +21720,7 @@ export type Database = {
20650
21720
  notes?: string | null;
20651
21721
  order_number?: string | null;
20652
21722
  parsed_payload?: Json | null;
21723
+ reservation_calloff_result?: Json | null;
20653
21724
  reviewed_at?: string | null;
20654
21725
  reviewed_by?: string | null;
20655
21726
  status?: string;
@@ -20669,6 +21740,7 @@ export type Database = {
20669
21740
  notes?: string | null;
20670
21741
  order_number?: string | null;
20671
21742
  parsed_payload?: Json | null;
21743
+ reservation_calloff_result?: Json | null;
20672
21744
  reviewed_at?: string | null;
20673
21745
  reviewed_by?: string | null;
20674
21746
  status?: string;
@@ -20689,6 +21761,13 @@ export type Database = {
20689
21761
  referencedRelation: "customers";
20690
21762
  referencedColumns: ["id"];
20691
21763
  },
21764
+ {
21765
+ foreignKeyName: "mailbox_order_proposals_matched_customer_id_fkey";
21766
+ columns: ["matched_customer_id"];
21767
+ isOneToOne: false;
21768
+ referencedRelation: "klanten_selecteerbaar";
21769
+ referencedColumns: ["id"];
21770
+ },
20692
21771
  {
20693
21772
  foreignKeyName: "mailbox_order_proposals_message_id_fkey";
20694
21773
  columns: ["message_id"];
@@ -22232,6 +23311,13 @@ export type Database = {
22232
23311
  referencedRelation: "customers";
22233
23312
  referencedColumns: ["id"];
22234
23313
  },
23314
+ {
23315
+ foreignKeyName: "offer_orders_customer_id_fkey";
23316
+ columns: ["customer_id"];
23317
+ isOneToOne: false;
23318
+ referencedRelation: "klanten_selecteerbaar";
23319
+ referencedColumns: ["id"];
23320
+ },
22235
23321
  {
22236
23322
  foreignKeyName: "offer_orders_order_id_fkey";
22237
23323
  columns: ["order_id"];
@@ -22312,6 +23398,13 @@ export type Database = {
22312
23398
  isOneToOne: false;
22313
23399
  referencedRelation: "customers";
22314
23400
  referencedColumns: ["id"];
23401
+ },
23402
+ {
23403
+ foreignKeyName: "offer_recipients_customer_id_fkey";
23404
+ columns: ["customer_id"];
23405
+ isOneToOne: false;
23406
+ referencedRelation: "klanten_selecteerbaar";
23407
+ referencedColumns: ["id"];
22315
23408
  }
22316
23409
  ];
22317
23410
  };
@@ -23315,6 +24408,13 @@ export type Database = {
23315
24408
  isOneToOne: false;
23316
24409
  referencedRelation: "customers";
23317
24410
  referencedColumns: ["id"];
24411
+ },
24412
+ {
24413
+ foreignKeyName: "orders_customer_id_fkey";
24414
+ columns: ["customer_id"];
24415
+ isOneToOne: false;
24416
+ referencedRelation: "klanten_selecteerbaar";
24417
+ referencedColumns: ["id"];
23318
24418
  }
23319
24419
  ];
23320
24420
  };
@@ -26184,6 +27284,7 @@ export type Database = {
26184
27284
  actief: boolean;
26185
27285
  created_at: string;
26186
27286
  id: string;
27287
+ is_controleplek: boolean | null;
26187
27288
  naam: string;
26188
27289
  omschrijving: string | null;
26189
27290
  updated_at: string;
@@ -26194,6 +27295,7 @@ export type Database = {
26194
27295
  actief?: boolean;
26195
27296
  created_at?: string;
26196
27297
  id?: string;
27298
+ is_controleplek?: boolean | null;
26197
27299
  naam: string;
26198
27300
  omschrijving?: string | null;
26199
27301
  updated_at?: string;
@@ -26204,6 +27306,7 @@ export type Database = {
26204
27306
  actief?: boolean;
26205
27307
  created_at?: string;
26206
27308
  id?: string;
27309
+ is_controleplek?: boolean | null;
26207
27310
  naam?: string;
26208
27311
  omschrijving?: string | null;
26209
27312
  updated_at?: string;
@@ -31909,6 +33012,13 @@ export type Database = {
31909
33012
  isOneToOne: false;
31910
33013
  referencedRelation: "customers";
31911
33014
  referencedColumns: ["id"];
33015
+ },
33016
+ {
33017
+ foreignKeyName: "twinfield_push_queue_customer_id_fkey";
33018
+ columns: ["customer_id"];
33019
+ isOneToOne: false;
33020
+ referencedRelation: "klanten_selecteerbaar";
33021
+ referencedColumns: ["id"];
31912
33022
  }
31913
33023
  ];
31914
33024
  };
@@ -34060,6 +35170,42 @@ export type Database = {
34060
35170
  };
34061
35171
  Relationships: [];
34062
35172
  };
35173
+ verkoop_orderregel_extra: {
35174
+ Row: {
35175
+ created_at: string;
35176
+ fust_sticker_id: string | null;
35177
+ line_fields: Json;
35178
+ line_note: string | null;
35179
+ order_id: string;
35180
+ order_item_id: string;
35181
+ product_sticker_id: string | null;
35182
+ updated_at: string;
35183
+ updated_by: string | null;
35184
+ };
35185
+ Insert: {
35186
+ created_at?: string;
35187
+ fust_sticker_id?: string | null;
35188
+ line_fields?: Json;
35189
+ line_note?: string | null;
35190
+ order_id: string;
35191
+ order_item_id: string;
35192
+ product_sticker_id?: string | null;
35193
+ updated_at?: string;
35194
+ updated_by?: string | null;
35195
+ };
35196
+ Update: {
35197
+ created_at?: string;
35198
+ fust_sticker_id?: string | null;
35199
+ line_fields?: Json;
35200
+ line_note?: string | null;
35201
+ order_id?: string;
35202
+ order_item_id?: string;
35203
+ product_sticker_id?: string | null;
35204
+ updated_at?: string;
35205
+ updated_by?: string | null;
35206
+ };
35207
+ Relationships: [];
35208
+ };
34063
35209
  verkoop_pickup_locations: {
34064
35210
  Row: {
34065
35211
  address_line: string | null;
@@ -34102,6 +35248,48 @@ export type Database = {
34102
35248
  };
34103
35249
  Relationships: [];
34104
35250
  };
35251
+ verkoop_reservering_afroep: {
35252
+ Row: {
35253
+ created_at: string;
35254
+ created_by: string | null;
35255
+ id: string;
35256
+ order_id: string;
35257
+ regels: Json;
35258
+ reservering_id: string;
35259
+ };
35260
+ Insert: {
35261
+ created_at?: string;
35262
+ created_by?: string | null;
35263
+ id?: string;
35264
+ order_id: string;
35265
+ regels?: Json;
35266
+ reservering_id: string;
35267
+ };
35268
+ Update: {
35269
+ created_at?: string;
35270
+ created_by?: string | null;
35271
+ id?: string;
35272
+ order_id?: string;
35273
+ regels?: Json;
35274
+ reservering_id?: string;
35275
+ };
35276
+ Relationships: [
35277
+ {
35278
+ foreignKeyName: "verkoop_reservering_afroep_order_id_fkey";
35279
+ columns: ["order_id"];
35280
+ isOneToOne: false;
35281
+ referencedRelation: "orders";
35282
+ referencedColumns: ["id"];
35283
+ },
35284
+ {
35285
+ foreignKeyName: "verkoop_reservering_afroep_reservering_id_fkey";
35286
+ columns: ["reservering_id"];
35287
+ isOneToOne: false;
35288
+ referencedRelation: "orders";
35289
+ referencedColumns: ["id"];
35290
+ }
35291
+ ];
35292
+ };
34105
35293
  verkoop_sync_state: {
34106
35294
  Row: {
34107
35295
  details: Json | null;
@@ -35228,6 +36416,30 @@ export type Database = {
35228
36416
  };
35229
36417
  Relationships: [];
35230
36418
  };
36419
+ voorraad_taak_stand: {
36420
+ Row: {
36421
+ laatste_at: string;
36422
+ laatste_fout: string | null;
36423
+ resultaat: Json;
36424
+ taak: string;
36425
+ updated_at: string;
36426
+ };
36427
+ Insert: {
36428
+ laatste_at?: string;
36429
+ laatste_fout?: string | null;
36430
+ resultaat?: Json;
36431
+ taak: string;
36432
+ updated_at?: string;
36433
+ };
36434
+ Update: {
36435
+ laatste_at?: string;
36436
+ laatste_fout?: string | null;
36437
+ resultaat?: Json;
36438
+ taak?: string;
36439
+ updated_at?: string;
36440
+ };
36441
+ Relationships: [];
36442
+ };
35231
36443
  voorraad_telmoment: {
35232
36444
  Row: {
35233
36445
  created_at: string;
@@ -37252,6 +38464,296 @@ export type Database = {
37252
38464
  };
37253
38465
  Relationships: [];
37254
38466
  };
38467
+ klanten_selecteerbaar: {
38468
+ Row: {
38469
+ address: string | null;
38470
+ address_line1: string | null;
38471
+ address_line2: string | null;
38472
+ address_type: string | null;
38473
+ attention_to: string | null;
38474
+ bank_account_holder: string | null;
38475
+ bank_account_number: string | null;
38476
+ bank_address_line1: string | null;
38477
+ bank_address_line2: string | null;
38478
+ bank_bic: string | null;
38479
+ bank_city: string | null;
38480
+ bank_country: string | null;
38481
+ bank_house_number: string | null;
38482
+ bank_iban: string | null;
38483
+ bank_name: string | null;
38484
+ bank_national_code: string | null;
38485
+ bank_postal_code: string | null;
38486
+ bank_state: string | null;
38487
+ billing_email: string | null;
38488
+ bio: string | null;
38489
+ blocked: boolean | null;
38490
+ blocked_locked: boolean | null;
38491
+ blocked_modified: string | null;
38492
+ city: string | null;
38493
+ coc_number: string | null;
38494
+ commercial_name: string | null;
38495
+ company_name: string | null;
38496
+ connection_status: string | null;
38497
+ contact_person: string | null;
38498
+ country: string | null;
38499
+ created_at: string | null;
38500
+ credit_limit: number | null;
38501
+ credit_manager: string | null;
38502
+ credit_manager_name: string | null;
38503
+ credit_manager_shortname: string | null;
38504
+ custom_fields: Json | null;
38505
+ customer_class: string | null;
38506
+ customer_number: string | null;
38507
+ default_carrier_id: string | null;
38508
+ discount_days: number | null;
38509
+ discount_percentage: number | null;
38510
+ discount_surcharge: string | null;
38511
+ e_invoicing: boolean | null;
38512
+ email: string | null;
38513
+ external_id: string | null;
38514
+ fax: string | null;
38515
+ floriday_connection_id: string | null;
38516
+ floriday_organization_id: string | null;
38517
+ floriday_raw: Json | null;
38518
+ gln: string | null;
38519
+ house_number: string | null;
38520
+ icp_country_code: string | null;
38521
+ id: string | null;
38522
+ invoice_send_as: string | null;
38523
+ is_active: boolean | null;
38524
+ language: string | null;
38525
+ last_synced_at: string | null;
38526
+ ledger_account: string | null;
38527
+ logo_url: string | null;
38528
+ markets: string[] | null;
38529
+ notes: string | null;
38530
+ organization_type: string | null;
38531
+ payment_methods: string[] | null;
38532
+ payment_spec_method: string | null;
38533
+ payment_term_days: number | null;
38534
+ phone: string | null;
38535
+ postal_code: string | null;
38536
+ product_groups: string[] | null;
38537
+ reminder_email: string | null;
38538
+ segments: string[] | null;
38539
+ send_reminder: string | null;
38540
+ source: string | null;
38541
+ street: string | null;
38542
+ sync_error: string | null;
38543
+ sync_status: string | null;
38544
+ trade_forms: string[] | null;
38545
+ twinfield_base_snapshot: Json | null;
38546
+ twinfield_base_version: number | null;
38547
+ twinfield_code: string | null;
38548
+ twinfield_create_on_insert: boolean | null;
38549
+ twinfield_last_hash: string | null;
38550
+ twinfield_missing_since: string | null;
38551
+ twinfield_present: boolean | null;
38552
+ twinfield_sync_error: string | null;
38553
+ twinfield_synced_at: string | null;
38554
+ twinfield_uid: string | null;
38555
+ twinfield_vat_code: string | null;
38556
+ updated_at: string | null;
38557
+ vat_display: string | null;
38558
+ vat_number: string | null;
38559
+ website: string | null;
38560
+ };
38561
+ Insert: {
38562
+ address?: string | null;
38563
+ address_line1?: string | null;
38564
+ address_line2?: string | null;
38565
+ address_type?: string | null;
38566
+ attention_to?: string | null;
38567
+ bank_account_holder?: string | null;
38568
+ bank_account_number?: string | null;
38569
+ bank_address_line1?: string | null;
38570
+ bank_address_line2?: string | null;
38571
+ bank_bic?: string | null;
38572
+ bank_city?: string | null;
38573
+ bank_country?: string | null;
38574
+ bank_house_number?: string | null;
38575
+ bank_iban?: string | null;
38576
+ bank_name?: string | null;
38577
+ bank_national_code?: string | null;
38578
+ bank_postal_code?: string | null;
38579
+ bank_state?: string | null;
38580
+ billing_email?: string | null;
38581
+ bio?: string | null;
38582
+ blocked?: boolean | null;
38583
+ blocked_locked?: boolean | null;
38584
+ blocked_modified?: string | null;
38585
+ city?: string | null;
38586
+ coc_number?: string | null;
38587
+ commercial_name?: string | null;
38588
+ company_name?: string | null;
38589
+ connection_status?: string | null;
38590
+ contact_person?: string | null;
38591
+ country?: string | null;
38592
+ created_at?: string | null;
38593
+ credit_limit?: number | null;
38594
+ credit_manager?: string | null;
38595
+ credit_manager_name?: string | null;
38596
+ credit_manager_shortname?: string | null;
38597
+ custom_fields?: Json | null;
38598
+ customer_class?: string | null;
38599
+ customer_number?: string | null;
38600
+ default_carrier_id?: string | null;
38601
+ discount_days?: number | null;
38602
+ discount_percentage?: number | null;
38603
+ discount_surcharge?: string | null;
38604
+ e_invoicing?: boolean | null;
38605
+ email?: string | null;
38606
+ external_id?: string | null;
38607
+ fax?: string | null;
38608
+ floriday_connection_id?: string | null;
38609
+ floriday_organization_id?: string | null;
38610
+ floriday_raw?: Json | null;
38611
+ gln?: string | null;
38612
+ house_number?: string | null;
38613
+ icp_country_code?: string | null;
38614
+ id?: string | null;
38615
+ invoice_send_as?: string | null;
38616
+ is_active?: boolean | null;
38617
+ language?: string | null;
38618
+ last_synced_at?: string | null;
38619
+ ledger_account?: string | null;
38620
+ logo_url?: string | null;
38621
+ markets?: string[] | null;
38622
+ notes?: string | null;
38623
+ organization_type?: string | null;
38624
+ payment_methods?: string[] | null;
38625
+ payment_spec_method?: string | null;
38626
+ payment_term_days?: number | null;
38627
+ phone?: string | null;
38628
+ postal_code?: string | null;
38629
+ product_groups?: string[] | null;
38630
+ reminder_email?: string | null;
38631
+ segments?: string[] | null;
38632
+ send_reminder?: string | null;
38633
+ source?: string | null;
38634
+ street?: string | null;
38635
+ sync_error?: string | null;
38636
+ sync_status?: string | null;
38637
+ trade_forms?: string[] | null;
38638
+ twinfield_base_snapshot?: Json | null;
38639
+ twinfield_base_version?: number | null;
38640
+ twinfield_code?: string | null;
38641
+ twinfield_create_on_insert?: boolean | null;
38642
+ twinfield_last_hash?: string | null;
38643
+ twinfield_missing_since?: string | null;
38644
+ twinfield_present?: boolean | null;
38645
+ twinfield_sync_error?: string | null;
38646
+ twinfield_synced_at?: string | null;
38647
+ twinfield_uid?: string | null;
38648
+ twinfield_vat_code?: string | null;
38649
+ updated_at?: string | null;
38650
+ vat_display?: string | null;
38651
+ vat_number?: string | null;
38652
+ website?: string | null;
38653
+ };
38654
+ Update: {
38655
+ address?: string | null;
38656
+ address_line1?: string | null;
38657
+ address_line2?: string | null;
38658
+ address_type?: string | null;
38659
+ attention_to?: string | null;
38660
+ bank_account_holder?: string | null;
38661
+ bank_account_number?: string | null;
38662
+ bank_address_line1?: string | null;
38663
+ bank_address_line2?: string | null;
38664
+ bank_bic?: string | null;
38665
+ bank_city?: string | null;
38666
+ bank_country?: string | null;
38667
+ bank_house_number?: string | null;
38668
+ bank_iban?: string | null;
38669
+ bank_name?: string | null;
38670
+ bank_national_code?: string | null;
38671
+ bank_postal_code?: string | null;
38672
+ bank_state?: string | null;
38673
+ billing_email?: string | null;
38674
+ bio?: string | null;
38675
+ blocked?: boolean | null;
38676
+ blocked_locked?: boolean | null;
38677
+ blocked_modified?: string | null;
38678
+ city?: string | null;
38679
+ coc_number?: string | null;
38680
+ commercial_name?: string | null;
38681
+ company_name?: string | null;
38682
+ connection_status?: string | null;
38683
+ contact_person?: string | null;
38684
+ country?: string | null;
38685
+ created_at?: string | null;
38686
+ credit_limit?: number | null;
38687
+ credit_manager?: string | null;
38688
+ credit_manager_name?: string | null;
38689
+ credit_manager_shortname?: string | null;
38690
+ custom_fields?: Json | null;
38691
+ customer_class?: string | null;
38692
+ customer_number?: string | null;
38693
+ default_carrier_id?: string | null;
38694
+ discount_days?: number | null;
38695
+ discount_percentage?: number | null;
38696
+ discount_surcharge?: string | null;
38697
+ e_invoicing?: boolean | null;
38698
+ email?: string | null;
38699
+ external_id?: string | null;
38700
+ fax?: string | null;
38701
+ floriday_connection_id?: string | null;
38702
+ floriday_organization_id?: string | null;
38703
+ floriday_raw?: Json | null;
38704
+ gln?: string | null;
38705
+ house_number?: string | null;
38706
+ icp_country_code?: string | null;
38707
+ id?: string | null;
38708
+ invoice_send_as?: string | null;
38709
+ is_active?: boolean | null;
38710
+ language?: string | null;
38711
+ last_synced_at?: string | null;
38712
+ ledger_account?: string | null;
38713
+ logo_url?: string | null;
38714
+ markets?: string[] | null;
38715
+ notes?: string | null;
38716
+ organization_type?: string | null;
38717
+ payment_methods?: string[] | null;
38718
+ payment_spec_method?: string | null;
38719
+ payment_term_days?: number | null;
38720
+ phone?: string | null;
38721
+ postal_code?: string | null;
38722
+ product_groups?: string[] | null;
38723
+ reminder_email?: string | null;
38724
+ segments?: string[] | null;
38725
+ send_reminder?: string | null;
38726
+ source?: string | null;
38727
+ street?: string | null;
38728
+ sync_error?: string | null;
38729
+ sync_status?: string | null;
38730
+ trade_forms?: string[] | null;
38731
+ twinfield_base_snapshot?: Json | null;
38732
+ twinfield_base_version?: number | null;
38733
+ twinfield_code?: string | null;
38734
+ twinfield_create_on_insert?: boolean | null;
38735
+ twinfield_last_hash?: string | null;
38736
+ twinfield_missing_since?: string | null;
38737
+ twinfield_present?: boolean | null;
38738
+ twinfield_sync_error?: string | null;
38739
+ twinfield_synced_at?: string | null;
38740
+ twinfield_uid?: string | null;
38741
+ twinfield_vat_code?: string | null;
38742
+ updated_at?: string | null;
38743
+ vat_display?: string | null;
38744
+ vat_number?: string | null;
38745
+ website?: string | null;
38746
+ };
38747
+ Relationships: [
38748
+ {
38749
+ foreignKeyName: "customers_default_carrier_id_fkey";
38750
+ columns: ["default_carrier_id"];
38751
+ isOneToOne: false;
38752
+ referencedRelation: "carriers";
38753
+ referencedColumns: ["id"];
38754
+ }
38755
+ ];
38756
+ };
37255
38757
  local_customer_discounts: {
37256
38758
  Row: {
37257
38759
  base_price: number | null;
@@ -37959,6 +39461,32 @@ export type Database = {
37959
39461
  };
37960
39462
  };
37961
39463
  Functions: {
39464
+ _afh_cmr_stand: {
39465
+ Args: {
39466
+ p_code: string;
39467
+ p_kargroep: string;
39468
+ p_melding: string;
39469
+ p_order_id: string;
39470
+ p_order_ids: string[];
39471
+ };
39472
+ Returns: undefined;
39473
+ };
39474
+ _afh_correctie_doorvoer: {
39475
+ Args: {
39476
+ p_id: string;
39477
+ };
39478
+ Returns: Json;
39479
+ };
39480
+ _afh_correctie_melden: {
39481
+ Args: {
39482
+ p_id: string;
39483
+ p_stand: string;
39484
+ p_tekst: string;
39485
+ p_titel: string;
39486
+ p_wat: string;
39487
+ };
39488
+ Returns: undefined;
39489
+ };
37962
39490
  _arm_offer_order_retry: {
37963
39491
  Args: never;
37964
39492
  Returns: undefined;
@@ -38021,6 +39549,10 @@ export type Database = {
38021
39549
  };
38022
39550
  Returns: string;
38023
39551
  };
39552
+ _layouts_controleplek_keuze: {
39553
+ Args: never;
39554
+ Returns: Json;
39555
+ };
38024
39556
  _layouts_ontbrekende_standaarden: {
38025
39557
  Args: never;
38026
39558
  Returns: string[];
@@ -38101,6 +39633,10 @@ export type Database = {
38101
39633
  };
38102
39634
  Returns: boolean;
38103
39635
  };
39636
+ _logistics_wek_vlag: {
39637
+ Args: never;
39638
+ Returns: undefined;
39639
+ };
38104
39640
  _mailbox_norm: {
38105
39641
  Args: {
38106
39642
  p: string;
@@ -38153,6 +39689,12 @@ export type Database = {
38153
39689
  };
38154
39690
  Returns: boolean;
38155
39691
  };
39692
+ _pick_order_floriday_afgehandeld: {
39693
+ Args: {
39694
+ p_payload: Json;
39695
+ };
39696
+ Returns: boolean;
39697
+ };
38156
39698
  _pick_printstatus_via_engine: {
38157
39699
  Args: never;
38158
39700
  Returns: boolean;
@@ -38188,6 +39730,14 @@ export type Database = {
38188
39730
  };
38189
39731
  Returns: string;
38190
39732
  };
39733
+ _print_job_herstart: {
39734
+ Args: {
39735
+ p_bron: string;
39736
+ p_job: string;
39737
+ p_ook_mislukt: boolean;
39738
+ };
39739
+ Returns: Json;
39740
+ };
38191
39741
  _print_label_maat_uit_code: {
38192
39742
  Args: {
38193
39743
  _formaten: Json;
@@ -38203,6 +39753,27 @@ export type Database = {
38203
39753
  };
38204
39754
  Returns: undefined;
38205
39755
  };
39756
+ _printer_routering_kern: {
39757
+ Args: {
39758
+ _documenttype: string;
39759
+ _layout_id: string;
39760
+ _papierformaat: string;
39761
+ _plek_afgeleid: boolean;
39762
+ _print_plek_id: string;
39763
+ _werkplek: string;
39764
+ _werkplek_id: string;
39765
+ };
39766
+ Returns: Json;
39767
+ };
39768
+ _printer_routering_plek_terugval: {
39769
+ Args: {
39770
+ _klasse: string;
39771
+ _label: boolean;
39772
+ _plek: string;
39773
+ _type: string;
39774
+ };
39775
+ Returns: Json;
39776
+ };
38206
39777
  _productie_order_plan: {
38207
39778
  Args: {
38208
39779
  p_aanmaken: boolean;
@@ -38496,6 +40067,14 @@ export type Database = {
38496
40067
  Args: never;
38497
40068
  Returns: Json;
38498
40069
  };
40070
+ afh_afgemeld_lijst: {
40071
+ Args: {
40072
+ p_limit: number;
40073
+ p_offset: number;
40074
+ p_zoek: string;
40075
+ };
40076
+ Returns: Json;
40077
+ };
38499
40078
  afh_afleveradressen_zoek: {
38500
40079
  Args: {
38501
40080
  p_ids: string[];
@@ -38505,6 +40084,27 @@ export type Database = {
38505
40084
  };
38506
40085
  Returns: Json;
38507
40086
  };
40087
+ afh_afleverbrief_payload: {
40088
+ Args: {
40089
+ p_cart_id: string;
40090
+ p_order_id: string;
40091
+ };
40092
+ Returns: Json;
40093
+ };
40094
+ afh_afleverbrief_per: {
40095
+ Args: {
40096
+ p_order_id: string;
40097
+ };
40098
+ Returns: string;
40099
+ };
40100
+ afh_afleverbrief_printen: {
40101
+ Args: {
40102
+ p_cart_id: string;
40103
+ p_herprint?: boolean;
40104
+ p_order_id: string;
40105
+ };
40106
+ Returns: Json;
40107
+ };
38508
40108
  afh_assert_ingelogd: {
38509
40109
  Args: never;
38510
40110
  Returns: undefined;
@@ -38513,10 +40113,18 @@ export type Database = {
38513
40113
  Args: never;
38514
40114
  Returns: undefined;
38515
40115
  };
40116
+ afh_assert_keten: {
40117
+ Args: never;
40118
+ Returns: undefined;
40119
+ };
38516
40120
  afh_assert_server: {
38517
40121
  Args: never;
38518
40122
  Returns: undefined;
38519
40123
  };
40124
+ afh_assert_server_ok: {
40125
+ Args: never;
40126
+ Returns: boolean;
40127
+ };
38520
40128
  afh_can_manage_carriers: {
38521
40129
  Args: {
38522
40130
  p_user: string;
@@ -38558,6 +40166,64 @@ export type Database = {
38558
40166
  };
38559
40167
  Returns: string;
38560
40168
  };
40169
+ afh_cmr_aandacht: {
40170
+ Args: never;
40171
+ Returns: Json;
40172
+ };
40173
+ afh_cmr_melding: {
40174
+ Args: {
40175
+ p_order_id: string;
40176
+ };
40177
+ Returns: Json;
40178
+ };
40179
+ afh_cmr_printen: {
40180
+ Args: {
40181
+ p_herprint?: boolean;
40182
+ p_order_id: string;
40183
+ };
40184
+ Returns: Json;
40185
+ };
40186
+ afh_controle_afwijking_stand: {
40187
+ Args: {
40188
+ p_cart_id: string;
40189
+ p_order_id: string;
40190
+ };
40191
+ Returns: Json;
40192
+ };
40193
+ afh_controle_printplek: {
40194
+ Args: never;
40195
+ Returns: Json;
40196
+ };
40197
+ afh_controlelijst_printen: {
40198
+ Args: {
40199
+ p_documentnaam: string;
40200
+ p_payload: Json;
40201
+ };
40202
+ Returns: Json;
40203
+ };
40204
+ afh_controleplek: {
40205
+ Args: never;
40206
+ Returns: Json;
40207
+ };
40208
+ afh_correctie_doorvoeren: {
40209
+ Args: {
40210
+ p_correctie_id: string;
40211
+ };
40212
+ Returns: Json;
40213
+ };
40214
+ afh_correcties_aandacht: {
40215
+ Args: never;
40216
+ Returns: Json;
40217
+ };
40218
+ afh_correcties_lijst: {
40219
+ Args: {
40220
+ p_limit: number;
40221
+ p_offset: number;
40222
+ p_tot: string;
40223
+ p_van: string;
40224
+ };
40225
+ Returns: Json;
40226
+ };
38561
40227
  afh_dispatch_zoektekst: {
38562
40228
  Args: {
38563
40229
  p_carrier_id: string;
@@ -38565,6 +40231,13 @@ export type Database = {
38565
40231
  };
38566
40232
  Returns: string;
38567
40233
  };
40234
+ afh_documenten_na_goedkeuren: {
40235
+ Args: {
40236
+ p_cart_id: string;
40237
+ p_order_id: string;
40238
+ };
40239
+ Returns: Json;
40240
+ };
38568
40241
  afh_ensure_defaults: {
38569
40242
  Args: never;
38570
40243
  Returns: Json;
@@ -38578,6 +40251,49 @@ export type Database = {
38578
40251
  name: string;
38579
40252
  }[];
38580
40253
  };
40254
+ afh_floriday_afleveropdracht_orders: {
40255
+ Args: {
40256
+ p_fulfillment_order_id: string;
40257
+ };
40258
+ Returns: string[];
40259
+ };
40260
+ afh_floriday_afleveropdrachten_van_order: {
40261
+ Args: {
40262
+ p_order_id: string;
40263
+ };
40264
+ Returns: string[];
40265
+ };
40266
+ afh_floriday_brief_binnen: {
40267
+ Args: {
40268
+ p_fulfillment_order_id: string;
40269
+ };
40270
+ Returns: Json;
40271
+ };
40272
+ afh_floriday_brief_printen: {
40273
+ Args: {
40274
+ p_fulfillment_order_id: string;
40275
+ p_herprint?: boolean;
40276
+ };
40277
+ Returns: Json;
40278
+ };
40279
+ afh_floriday_brief_stand: {
40280
+ Args: {
40281
+ p_order_id: string;
40282
+ };
40283
+ Returns: Json;
40284
+ };
40285
+ afh_floriday_correctie_opdracht: {
40286
+ Args: {
40287
+ p_correctie_id: string;
40288
+ };
40289
+ Returns: Json;
40290
+ };
40291
+ afh_floriday_levering: {
40292
+ Args: {
40293
+ p_order_id: string;
40294
+ };
40295
+ Returns: Json;
40296
+ };
38581
40297
  afh_html: {
38582
40298
  Args: {
38583
40299
  _s: string;
@@ -38594,6 +40310,39 @@ export type Database = {
38594
40310
  };
38595
40311
  Returns: string;
38596
40312
  };
40313
+ afh_keten_besluit: {
40314
+ Args: {
40315
+ p_ingelogd: boolean;
40316
+ p_request_path: string;
40317
+ p_server: boolean;
40318
+ p_trigger: boolean;
40319
+ };
40320
+ Returns: boolean;
40321
+ };
40322
+ afh_levering_correctie_floriday: {
40323
+ Args: {
40324
+ p_correctie_id: string;
40325
+ p_uitkomst: Json;
40326
+ };
40327
+ Returns: Json;
40328
+ };
40329
+ afh_levering_corrigeren: {
40330
+ Args: {
40331
+ p_cart_id: string;
40332
+ p_order_id: string;
40333
+ p_reden: string;
40334
+ p_soort: string;
40335
+ p_toelichting: string;
40336
+ p_wijziging: Json;
40337
+ };
40338
+ Returns: Json;
40339
+ };
40340
+ afh_levering_detail: {
40341
+ Args: {
40342
+ p_order_id: string;
40343
+ };
40344
+ Returns: Json;
40345
+ };
38597
40346
  afh_nl_date: {
38598
40347
  Args: {
38599
40348
  _d: string;
@@ -38619,6 +40368,13 @@ export type Database = {
38619
40368
  };
38620
40369
  Returns: boolean;
38621
40370
  };
40371
+ afh_order_documentkeuze: {
40372
+ Args: {
40373
+ p_order_id: string;
40374
+ p_soort: string;
40375
+ };
40376
+ Returns: Json;
40377
+ };
38622
40378
  afh_order_floriday_afgehandeld: {
38623
40379
  Args: {
38624
40380
  p_order_id: string;
@@ -38901,6 +40657,10 @@ export type Database = {
38901
40657
  Args: never;
38902
40658
  Returns: string;
38903
40659
  };
40660
+ afh_signup_taak_vooruit: {
40661
+ Args: never;
40662
+ Returns: string;
40663
+ };
38904
40664
  afh_signup_volgende_due: {
38905
40665
  Args: {
38906
40666
  p_cfg: Json;
@@ -40665,6 +42425,19 @@ export type Database = {
40665
42425
  };
40666
42426
  Returns: Json;
40667
42427
  };
42428
+ floriday_afleveringen_ophalen: {
42429
+ Args: {
42430
+ p_tot: string;
42431
+ p_van: string;
42432
+ };
42433
+ Returns: Json;
42434
+ };
42435
+ floriday_afleveringen_ophalen_status: {
42436
+ Args: {
42437
+ p_verzoek_id: string;
42438
+ };
42439
+ Returns: Json;
42440
+ };
40668
42441
  floriday_assert_caller: {
40669
42442
  Args: {
40670
42443
  p_fn: string;
@@ -40738,6 +42511,16 @@ export type Database = {
40738
42511
  Args: never;
40739
42512
  Returns: undefined;
40740
42513
  };
42514
+ floriday_correcties_lijst: {
42515
+ Args: {
42516
+ p_fulfillment_order_id: string;
42517
+ };
42518
+ Returns: Json;
42519
+ };
42520
+ floriday_correcties_melden: {
42521
+ Args: never;
42522
+ Returns: Json;
42523
+ };
40741
42524
  floriday_cron_command: {
40742
42525
  Args: {
40743
42526
  p_only_with_connection: boolean;
@@ -40776,6 +42559,10 @@ export type Database = {
40776
42559
  Args: never;
40777
42560
  Returns: string[];
40778
42561
  };
42562
+ floriday_dashboard_replaced_crons: {
42563
+ Args: never;
42564
+ Returns: string[];
42565
+ };
40779
42566
  floriday_default_owner: {
40780
42567
  Args: {
40781
42568
  p_connection_id: string;
@@ -40924,6 +42711,13 @@ export type Database = {
40924
42711
  };
40925
42712
  Returns: Json;
40926
42713
  };
42714
+ floriday_order_gelijk: {
42715
+ Args: {
42716
+ p_fulfillment_order_id: string;
42717
+ p_onze_belading: Json;
42718
+ };
42719
+ Returns: Json;
42720
+ };
40927
42721
  floriday_orphan_settings_count: {
40928
42722
  Args: never;
40929
42723
  Returns: number;
@@ -41009,10 +42803,28 @@ export type Database = {
41009
42803
  };
41010
42804
  Returns: Json;
41011
42805
  };
42806
+ floriday_terugkoppelingen_lijst: {
42807
+ Args: {
42808
+ p_limit?: number;
42809
+ p_offset?: number;
42810
+ p_status?: string;
42811
+ p_zoek?: string;
42812
+ };
42813
+ Returns: Json;
42814
+ };
41012
42815
  floriday_today_announce_summary: {
41013
42816
  Args: never;
41014
42817
  Returns: Json;
41015
42818
  };
42819
+ floriday_verkoopcorrecties_lijst: {
42820
+ Args: {
42821
+ p_limit?: number;
42822
+ p_offset?: number;
42823
+ p_status?: string;
42824
+ p_zoek?: string;
42825
+ };
42826
+ Returns: Json;
42827
+ };
41016
42828
  floriday_write_mode: {
41017
42829
  Args: never;
41018
42830
  Returns: Json;
@@ -42131,6 +43943,18 @@ export type Database = {
42131
43943
  Args: never;
42132
43944
  Returns: Json;
42133
43945
  };
43946
+ klanten_extra_veld_verwijderen: {
43947
+ Args: {
43948
+ p_veld_id: string;
43949
+ };
43950
+ Returns: Json;
43951
+ };
43952
+ klanten_extra_velden_voor_klant: {
43953
+ Args: {
43954
+ p_customer_id?: string;
43955
+ };
43956
+ Returns: Json;
43957
+ };
42134
43958
  klanten_gln_backfill_report: {
42135
43959
  Args: never;
42136
43960
  Returns: Json;
@@ -42168,10 +43992,24 @@ export type Database = {
42168
43992
  Args: never;
42169
43993
  Returns: Json;
42170
43994
  };
43995
+ klanten_is_beheerder: {
43996
+ Args: never;
43997
+ Returns: boolean;
43998
+ };
43999
+ klanten_is_gearchiveerd: {
44000
+ Args: {
44001
+ p_customer_id: string;
44002
+ };
44003
+ Returns: boolean;
44004
+ };
42171
44005
  klanten_is_server: {
42172
44006
  Args: never;
42173
44007
  Returns: boolean;
42174
44008
  };
44009
+ klanten_klantverversing: {
44010
+ Args: never;
44011
+ Returns: Json;
44012
+ };
42175
44013
  klanten_landnaam_kandidaten: {
42176
44014
  Args: {
42177
44015
  p_waarde: string;
@@ -42273,12 +44111,22 @@ export type Database = {
42273
44111
  };
42274
44112
  Returns: Json;
42275
44113
  };
44114
+ klanten_stickerformaten_inventaris: {
44115
+ Args: never;
44116
+ Returns: Json;
44117
+ };
42276
44118
  klanten_toegang: {
42277
44119
  Args: {
42278
44120
  p_niveau: string;
42279
44121
  };
42280
44122
  Returns: undefined;
42281
44123
  };
44124
+ klanten_ververs_klantweergave: {
44125
+ Args: {
44126
+ p_bron?: string;
44127
+ };
44128
+ Returns: Json;
44129
+ };
42282
44130
  layout_klantvariant_voor: {
42283
44131
  Args: {
42284
44132
  p_administratie_code: string;
@@ -42364,6 +44212,21 @@ export type Database = {
42364
44212
  rijen: number;
42365
44213
  }[];
42366
44214
  };
44215
+ layouts_controleplek: {
44216
+ Args: never;
44217
+ Returns: Json;
44218
+ };
44219
+ layouts_documentlijst_stand: {
44220
+ Args: never;
44221
+ Returns: Json;
44222
+ };
44223
+ layouts_documentsoort_normaliseer: {
44224
+ Args: {
44225
+ p_bron: string;
44226
+ p_waarde: string;
44227
+ };
44228
+ Returns: string;
44229
+ };
42367
44230
  layouts_dubbel_oplossen: {
42368
44231
  Args: {
42369
44232
  p_layout_id: string;
@@ -42413,6 +44276,12 @@ export type Database = {
42413
44276
  };
42414
44277
  Returns: Json;
42415
44278
  };
44279
+ layouts_order_documenten: {
44280
+ Args: {
44281
+ p_order_id: string;
44282
+ };
44283
+ Returns: Json;
44284
+ };
42416
44285
  layouts_origineel_bron: {
42417
44286
  Args: {
42418
44287
  p_documenttype: string;
@@ -42420,12 +44289,30 @@ export type Database = {
42420
44289
  };
42421
44290
  Returns: string;
42422
44291
  };
44292
+ layouts_printjob_opnieuw: {
44293
+ Args: {
44294
+ p_job_id: string;
44295
+ };
44296
+ Returns: Json;
44297
+ };
42423
44298
  layouts_printjob_status: {
42424
44299
  Args: {
42425
44300
  p_job_id: string;
42426
44301
  };
42427
44302
  Returns: Json;
42428
44303
  };
44304
+ layouts_printjobs_alle_opnieuw: {
44305
+ Args: never;
44306
+ Returns: Json;
44307
+ };
44308
+ layouts_printwachtrij_gezondheid: {
44309
+ Args: never;
44310
+ Returns: Json;
44311
+ };
44312
+ layouts_printwachtrij_opnieuw_koppelen: {
44313
+ Args: never;
44314
+ Returns: Json;
44315
+ };
42429
44316
  layouts_productiebon_printen: {
42430
44317
  Args: {
42431
44318
  p_herkomst: string;
@@ -42435,6 +44322,10 @@ export type Database = {
42435
44322
  };
42436
44323
  Returns: Json;
42437
44324
  };
44325
+ layouts_sticker_formaten: {
44326
+ Args: never;
44327
+ Returns: Json;
44328
+ };
42438
44329
  layouts_sticker_verkleinen: {
42439
44330
  Args: never;
42440
44331
  Returns: Json;
@@ -42466,6 +44357,14 @@ export type Database = {
42466
44357
  Args: never;
42467
44358
  Returns: Json;
42468
44359
  };
44360
+ layouts_zorg_voor_cmr_printer: {
44361
+ Args: never;
44362
+ Returns: Json;
44363
+ };
44364
+ layouts_zorg_voor_cmr_standaard: {
44365
+ Args: never;
44366
+ Returns: Json;
44367
+ };
42469
44368
  layouts_zorg_voor_etiketrollen: {
42470
44369
  Args: never;
42471
44370
  Returns: Json;
@@ -42653,6 +44552,18 @@ export type Database = {
42653
44552
  toelichting: string;
42654
44553
  }[];
42655
44554
  };
44555
+ logistics_actie_nodig_gewijzigd_na_print: {
44556
+ Args: {
44557
+ p_limit?: number;
44558
+ };
44559
+ Returns: Json;
44560
+ };
44561
+ logistics_actie_nodig_stickers: {
44562
+ Args: {
44563
+ p_limit?: number;
44564
+ };
44565
+ Returns: Json;
44566
+ };
42656
44567
  logistics_active_layout_method: {
42657
44568
  Args: never;
42658
44569
  Returns: string;
@@ -42677,6 +44588,10 @@ export type Database = {
42677
44588
  Args: never;
42678
44589
  Returns: Json;
42679
44590
  };
44591
+ logistics_afleverbrief_per: {
44592
+ Args: never;
44593
+ Returns: string;
44594
+ };
42680
44595
  logistics_allocation_check_changes: {
42681
44596
  Args: {
42682
44597
  p_order_item_ids?: string[];
@@ -42780,6 +44695,12 @@ export type Database = {
42780
44695
  Args: never;
42781
44696
  Returns: number;
42782
44697
  };
44698
+ logistics_artikel_letter: {
44699
+ Args: {
44700
+ p_nr: number;
44701
+ };
44702
+ Returns: string;
44703
+ };
42783
44704
  logistics_artikel_vbn: {
42784
44705
  Args: {
42785
44706
  p_product_id: string;
@@ -42903,6 +44824,15 @@ export type Database = {
42903
44824
  };
42904
44825
  Returns: Json;
42905
44826
  };
44827
+ logistics_belading_binnen_marge: {
44828
+ Args: {
44829
+ p_berekend_fpl: number;
44830
+ p_berekend_lpk: number;
44831
+ p_opgegeven_fpl: number;
44832
+ p_opgegeven_lpk: number;
44833
+ };
44834
+ Returns: boolean;
44835
+ };
42906
44836
  logistics_belading_bronnen: {
42907
44837
  Args: {
42908
44838
  p_order_item_id: string;
@@ -42933,6 +44863,12 @@ export type Database = {
42933
44863
  };
42934
44864
  Returns: Json;
42935
44865
  };
44866
+ logistics_belading_reden_order: {
44867
+ Args: {
44868
+ p_order_id: string;
44869
+ };
44870
+ Returns: string;
44871
+ };
42936
44872
  logistics_belading_uitleg: {
42937
44873
  Args: {
42938
44874
  p_order_item_id: string;
@@ -42977,6 +44913,153 @@ export type Database = {
42977
44913
  sleutel: string;
42978
44914
  }[];
42979
44915
  };
44916
+ logistics_beslis_belading_marge: {
44917
+ Args: {
44918
+ p_limit?: number;
44919
+ };
44920
+ Returns: Json;
44921
+ };
44922
+ logistics_beslis_deelkar_na: {
44923
+ Args: {
44924
+ p_cart_id: string;
44925
+ p_ok: boolean;
44926
+ p_order_id: string;
44927
+ p_reden: string;
44928
+ };
44929
+ Returns: undefined;
44930
+ };
44931
+ logistics_beslis_deelkar_reden: {
44932
+ Args: {
44933
+ p_cart_id: string;
44934
+ };
44935
+ Returns: string;
44936
+ };
44937
+ logistics_beslis_deelkar_vraagtekst: {
44938
+ Args: never;
44939
+ Returns: string;
44940
+ };
44941
+ logistics_beslis_factuur: {
44942
+ Args: {
44943
+ p_order_id: string;
44944
+ };
44945
+ Returns: boolean;
44946
+ };
44947
+ logistics_beslis_nieuw_artikel: {
44948
+ Args: never;
44949
+ Returns: Json;
44950
+ };
44951
+ logistics_beslis_poort: {
44952
+ Args: {
44953
+ p_cart_id: string;
44954
+ p_moment: string;
44955
+ p_order_id: string;
44956
+ p_reden_automatisch: string;
44957
+ p_sleutel: string;
44958
+ p_vraag: string;
44959
+ p_waarom: string;
44960
+ };
44961
+ Returns: boolean;
44962
+ };
44963
+ logistics_beslis_vrijgeven: {
44964
+ Args: {
44965
+ p_leden: number;
44966
+ p_order_id: string;
44967
+ p_order_number: string;
44968
+ };
44969
+ Returns: boolean;
44970
+ };
44971
+ logistics_beslismoment: {
44972
+ Args: {
44973
+ p_sleutel: string;
44974
+ };
44975
+ Returns: string;
44976
+ };
44977
+ logistics_beslismoment_akkoord: {
44978
+ Args: {
44979
+ p_moment: string;
44980
+ p_sleutel: string;
44981
+ };
44982
+ Returns: boolean;
44983
+ };
44984
+ logistics_beslismoment_besluit: {
44985
+ Args: {
44986
+ p_besluit: string;
44987
+ p_vraag_id: string;
44988
+ };
44989
+ Returns: Json;
44990
+ };
44991
+ logistics_beslismoment_eenmalig: {
44992
+ Args: {
44993
+ p_actie: string;
44994
+ p_moment: string;
44995
+ p_order_id: string;
44996
+ p_reden: string;
44997
+ p_sleutel: string;
44998
+ };
44999
+ Returns: boolean;
45000
+ };
45001
+ logistics_beslismoment_gevolg: {
45002
+ Args: {
45003
+ p_vraag_id: string;
45004
+ };
45005
+ Returns: Json;
45006
+ };
45007
+ logistics_beslismoment_log: {
45008
+ Args: {
45009
+ p_actie: string;
45010
+ p_order_id: string;
45011
+ p_reden: string;
45012
+ p_sleutel: string;
45013
+ };
45014
+ Returns: undefined;
45015
+ };
45016
+ logistics_beslismoment_stand_van: {
45017
+ Args: {
45018
+ p_moment: string;
45019
+ p_sleutel: string;
45020
+ };
45021
+ Returns: string;
45022
+ };
45023
+ logistics_beslismoment_vraag: {
45024
+ Args: {
45025
+ p_cart_id: string;
45026
+ p_moment: string;
45027
+ p_order_id: string;
45028
+ p_sleutel: string;
45029
+ p_voorstel?: Json;
45030
+ p_vraag: string;
45031
+ p_waarom: string;
45032
+ };
45033
+ Returns: string;
45034
+ };
45035
+ logistics_beslismoment_vragen_open: {
45036
+ Args: {
45037
+ p_limit?: number;
45038
+ };
45039
+ Returns: Json;
45040
+ };
45041
+ logistics_beslismoment_zetten: {
45042
+ Args: {
45043
+ p_sleutel: string;
45044
+ p_stand: string;
45045
+ };
45046
+ Returns: Json;
45047
+ };
45048
+ logistics_beslismomenten: {
45049
+ Args: never;
45050
+ Returns: Json;
45051
+ };
45052
+ logistics_beslismomenten_def: {
45053
+ Args: never;
45054
+ Returns: {
45055
+ naam: string;
45056
+ nr: number;
45057
+ sleutel: string;
45058
+ standaard: string;
45059
+ toegestaan: string[];
45060
+ werking: Json;
45061
+ }[];
45062
+ };
42980
45063
  logistics_bewaak_zonder_kar: {
42981
45064
  Args: never;
42982
45065
  Returns: Json;
@@ -43341,6 +45424,12 @@ export type Database = {
43341
45424
  };
43342
45425
  Returns: string;
43343
45426
  };
45427
+ logistics_cart_buffer_gesloten: {
45428
+ Args: {
45429
+ p_cart_id: string;
45430
+ };
45431
+ Returns: boolean;
45432
+ };
43344
45433
  logistics_cart_capaciteit_core: {
43345
45434
  Args: {
43346
45435
  p_cart_id: string;
@@ -43673,6 +45762,12 @@ export type Database = {
43673
45762
  };
43674
45763
  Returns: number;
43675
45764
  };
45765
+ logistics_cart_wacht_vastleggen: {
45766
+ Args: {
45767
+ p_cart_id: string;
45768
+ };
45769
+ Returns: string;
45770
+ };
43676
45771
  logistics_cart_wait_until: {
43677
45772
  Args: {
43678
45773
  p_cart_id: string;
@@ -43832,6 +45927,10 @@ export type Database = {
43832
45927
  };
43833
45928
  Returns: Json;
43834
45929
  };
45930
+ logistics_cmr_printen: {
45931
+ Args: never;
45932
+ Returns: boolean;
45933
+ };
43835
45934
  logistics_complete_task: {
43836
45935
  Args: {
43837
45936
  p_result?: Json;
@@ -43900,6 +45999,19 @@ export type Database = {
43900
45999
  };
43901
46000
  Returns: number;
43902
46001
  };
46002
+ logistics_control_klopt_niet: {
46003
+ Args: {
46004
+ p_barcode: string;
46005
+ p_reden?: string;
46006
+ };
46007
+ Returns: Json;
46008
+ };
46009
+ logistics_control_opnieuw_gescand: {
46010
+ Args: {
46011
+ p_barcode: string;
46012
+ };
46013
+ Returns: Json;
46014
+ };
43903
46015
  logistics_control_scan_approve: {
43904
46016
  Args: {
43905
46017
  p_allow_reprint?: boolean;
@@ -44001,6 +46113,10 @@ export type Database = {
44001
46113
  Args: never;
44002
46114
  Returns: Json;
44003
46115
  };
46116
+ logistics_controle_printplek: {
46117
+ Args: never;
46118
+ Returns: Json;
46119
+ };
44004
46120
  logistics_correctie_buffers_geannuleerd: {
44005
46121
  Args: {
44006
46122
  p_uitvoeren?: boolean;
@@ -44031,10 +46147,20 @@ export type Database = {
44031
46147
  uitgevoerd: boolean;
44032
46148
  }[];
44033
46149
  };
46150
+ logistics_correctieverzoeken_open: {
46151
+ Args: never;
46152
+ Returns: Json;
46153
+ };
44034
46154
  logistics_cron_health: {
44035
46155
  Args: never;
44036
46156
  Returns: Json;
44037
46157
  };
46158
+ logistics_dag_orders: {
46159
+ Args: {
46160
+ p_dag: string;
46161
+ };
46162
+ Returns: string[];
46163
+ };
44038
46164
  logistics_data_gereedheid: {
44039
46165
  Args: {
44040
46166
  p_product_ids?: string[];
@@ -44183,6 +46309,16 @@ export type Database = {
44183
46309
  karren: string[];
44184
46310
  }[];
44185
46311
  };
46312
+ logistics_eerste_eigen_leverdatum: {
46313
+ Args: {
46314
+ p_carrier_id: string;
46315
+ p_dagen?: number;
46316
+ p_moment_key: string;
46317
+ p_now: string;
46318
+ p_vanaf?: string;
46319
+ };
46320
+ Returns: Json;
46321
+ };
44186
46322
  logistics_emit_event: {
44187
46323
  Args: {
44188
46324
  p_event_type: string;
@@ -44272,6 +46408,13 @@ export type Database = {
44272
46408
  ref: string;
44273
46409
  }[];
44274
46410
  };
46411
+ logistics_external_fulfillment_intrekken: {
46412
+ Args: {
46413
+ p_order_id: string;
46414
+ p_reden: string;
46415
+ };
46416
+ Returns: Json;
46417
+ };
44275
46418
  logistics_external_fulfillment_key_report: {
44276
46419
  Args: never;
44277
46420
  Returns: {
@@ -44342,6 +46485,45 @@ export type Database = {
44342
46485
  Args: never;
44343
46486
  Returns: Json;
44344
46487
  };
46488
+ logistics_floriday_afhandeling_vergelijking: {
46489
+ Args: {
46490
+ p_order_id: string;
46491
+ };
46492
+ Returns: Json;
46493
+ };
46494
+ logistics_floriday_brief_besluit: {
46495
+ Args: {
46496
+ p_fulfillment_order_id: string;
46497
+ };
46498
+ Returns: Json;
46499
+ };
46500
+ logistics_floriday_brief_gereed: {
46501
+ Args: {
46502
+ p_fulfillment_order_id: string;
46503
+ p_order_id?: string;
46504
+ };
46505
+ Returns: Json;
46506
+ };
46507
+ logistics_floriday_brief_herprint_aanvragen: {
46508
+ Args: {
46509
+ p_fulfillment_order_id?: string;
46510
+ p_kopieen?: number;
46511
+ p_order_id: string;
46512
+ };
46513
+ Returns: Json;
46514
+ };
46515
+ logistics_floriday_brief_herprint_status: {
46516
+ Args: {
46517
+ p_verzoek_id: string;
46518
+ };
46519
+ Returns: Json;
46520
+ };
46521
+ logistics_floriday_brief_versie: {
46522
+ Args: {
46523
+ p_fulfillment_order_id: string;
46524
+ };
46525
+ Returns: Json;
46526
+ };
44345
46527
  logistics_floriday_cart_plan: {
44346
46528
  Args: {
44347
46529
  p_order_id: string;
@@ -44432,6 +46614,50 @@ export type Database = {
44432
46614
  };
44433
46615
  Returns: Json;
44434
46616
  };
46617
+ logistics_floriday_herprint_claim: {
46618
+ Args: {
46619
+ p_limit?: number;
46620
+ };
46621
+ Returns: {
46622
+ aangevraagd_door: string | null;
46623
+ aangevraagd_door_naam: string | null;
46624
+ antwoord: Json | null;
46625
+ created_at: string;
46626
+ document_version_id: string | null;
46627
+ fulfillment_order_id: string;
46628
+ id: string;
46629
+ idempotentie_sleutel: string | null;
46630
+ kopieen: number;
46631
+ locked_until: string | null;
46632
+ order_id: string | null;
46633
+ order_number: string | null;
46634
+ pogingen: number;
46635
+ print_plek_id: string | null;
46636
+ reden: string | null;
46637
+ status: string;
46638
+ updated_at: string;
46639
+ volgende_poging_at: string;
46640
+ }[];
46641
+ SetofOptions: {
46642
+ from: "*";
46643
+ to: "logistics_floriday_herprint";
46644
+ isOneToOne: false;
46645
+ isSetofReturn: true;
46646
+ };
46647
+ };
46648
+ logistics_floriday_herprint_finish: {
46649
+ Args: {
46650
+ p_antwoord?: Json;
46651
+ p_document_version_id?: string;
46652
+ p_id: string;
46653
+ p_print_plek_id?: string;
46654
+ p_reden?: string;
46655
+ p_sleutel?: string;
46656
+ p_status: string;
46657
+ p_wacht_minuten?: number;
46658
+ };
46659
+ Returns: Json;
46660
+ };
44435
46661
  logistics_floriday_is_read_only: {
44436
46662
  Args: never;
44437
46663
  Returns: boolean;
@@ -44589,6 +46815,27 @@ export type Database = {
44589
46815
  };
44590
46816
  Returns: number;
44591
46817
  };
46818
+ logistics_gewijzigd_na_print_kern: {
46819
+ Args: {
46820
+ p_karren: number;
46821
+ p_karren_ids?: string[];
46822
+ p_order_id: string;
46823
+ p_print: string;
46824
+ };
46825
+ Returns: Json;
46826
+ };
46827
+ logistics_gewijzigd_na_print_opschonen: {
46828
+ Args: {
46829
+ p_dagen: number;
46830
+ };
46831
+ Returns: number;
46832
+ };
46833
+ logistics_golf3_opschonen: {
46834
+ Args: {
46835
+ p_dagen: number;
46836
+ };
46837
+ Returns: Json;
46838
+ };
44592
46839
  logistics_handmatige_kargroepen: {
44593
46840
  Args: {
44594
46841
  p_limit?: number;
@@ -44842,6 +47089,31 @@ export type Database = {
44842
47089
  toelichting: string;
44843
47090
  }[];
44844
47091
  };
47092
+ logistics_instelling_opslaan: {
47093
+ Args: {
47094
+ p_wijziging: Json;
47095
+ };
47096
+ Returns: Json;
47097
+ };
47098
+ logistics_instelling_velden: {
47099
+ Args: never;
47100
+ Returns: {
47101
+ gevolg: string;
47102
+ pad: string;
47103
+ soort: string;
47104
+ vraag: number;
47105
+ }[];
47106
+ };
47107
+ logistics_instelling_voorvertoning: {
47108
+ Args: {
47109
+ p_wijziging: Json;
47110
+ };
47111
+ Returns: Json;
47112
+ };
47113
+ logistics_instellingen_vragen: {
47114
+ Args: never;
47115
+ Returns: Json;
47116
+ };
44845
47117
  logistics_is_beheer: {
44846
47118
  Args: never;
44847
47119
  Returns: boolean;
@@ -44859,6 +47131,12 @@ export type Database = {
44859
47131
  };
44860
47132
  Returns: boolean;
44861
47133
  };
47134
+ logistics_is_klok: {
47135
+ Args: {
47136
+ p_order_id: string;
47137
+ };
47138
+ Returns: boolean;
47139
+ };
44862
47140
  logistics_is_pick_workday: {
44863
47141
  Args: {
44864
47142
  p_date: string;
@@ -44872,6 +47150,40 @@ export type Database = {
44872
47150
  };
44873
47151
  Returns: boolean;
44874
47152
  };
47153
+ logistics_json_samenvatting: {
47154
+ Args: {
47155
+ p: Json;
47156
+ };
47157
+ Returns: Json;
47158
+ };
47159
+ logistics_kar_aanpassen_vrijgeven: {
47160
+ Args: {
47161
+ p_order_id: string;
47162
+ p_reden: string;
47163
+ };
47164
+ Returns: Json;
47165
+ };
47166
+ logistics_kar_bewerkbaar: {
47167
+ Args: {
47168
+ p_cart_id: string;
47169
+ };
47170
+ Returns: Json;
47171
+ };
47172
+ logistics_kar_bewerken_totalen: {
47173
+ Args: {
47174
+ p_cart_id: string;
47175
+ };
47176
+ Returns: undefined;
47177
+ };
47178
+ logistics_kar_bewerken_verplaats: {
47179
+ Args: {
47180
+ p_fusten?: number;
47181
+ p_item_id: string;
47182
+ p_laag?: number;
47183
+ p_naar_cart_id: string;
47184
+ };
47185
+ Returns: Json;
47186
+ };
44875
47187
  logistics_kar_blokkade: {
44876
47188
  Args: {
44877
47189
  p_kar: string;
@@ -44901,6 +47213,13 @@ export type Database = {
44901
47213
  };
44902
47214
  Returns: string;
44903
47215
  };
47216
+ logistics_kar_svg_variant: {
47217
+ Args: {
47218
+ p_svg: string;
47219
+ p_variant: string;
47220
+ };
47221
+ Returns: string;
47222
+ };
44904
47223
  logistics_kar_tekening: {
44905
47224
  Args: {
44906
47225
  p_opties?: Json;
@@ -44908,6 +47227,14 @@ export type Database = {
44908
47227
  };
44909
47228
  Returns: Json;
44910
47229
  };
47230
+ logistics_kar_tekening_v2: {
47231
+ Args: {
47232
+ p_opties?: Json;
47233
+ p_order_id: string;
47234
+ p_variant?: string;
47235
+ };
47236
+ Returns: Json;
47237
+ };
44911
47238
  logistics_kar_tekst: {
44912
47239
  Args: {
44913
47240
  p_carrier_code: string;
@@ -44916,6 +47243,12 @@ export type Database = {
44916
47243
  };
44917
47244
  Returns: string;
44918
47245
  };
47246
+ logistics_kargroep_soort: {
47247
+ Args: {
47248
+ p_order_id: string;
47249
+ };
47250
+ Returns: string;
47251
+ };
44919
47252
  logistics_kargroep_terug_automatisch: {
44920
47253
  Args: {
44921
47254
  p_kargroep: string;
@@ -45225,6 +47558,12 @@ export type Database = {
45225
47558
  };
45226
47559
  Returns: number;
45227
47560
  };
47561
+ logistics_land_code: {
47562
+ Args: {
47563
+ p_land: string;
47564
+ };
47565
+ Returns: string;
47566
+ };
45228
47567
  logistics_layout_method_status: {
45229
47568
  Args: never;
45230
47569
  Returns: Json;
@@ -45278,6 +47617,10 @@ export type Database = {
45278
47617
  };
45279
47618
  Returns: string;
45280
47619
  };
47620
+ logistics_mag_plannen: {
47621
+ Args: never;
47622
+ Returns: boolean;
47623
+ };
45281
47624
  logistics_mark_cart_delivered_core: {
45282
47625
  Args: {
45283
47626
  p_bron: string;
@@ -45366,6 +47709,13 @@ export type Database = {
45366
47709
  Args: never;
45367
47710
  Returns: Json;
45368
47711
  };
47712
+ logistics_na_goedkeuren: {
47713
+ Args: {
47714
+ p_bron?: string;
47715
+ p_cart_id: string;
47716
+ };
47717
+ Returns: Json;
47718
+ };
45369
47719
  logistics_naam_van_gebruiker: {
45370
47720
  Args: never;
45371
47721
  Returns: string;
@@ -45384,6 +47734,10 @@ export type Database = {
45384
47734
  };
45385
47735
  Returns: number;
45386
47736
  };
47737
+ logistics_nacht_opruimen: {
47738
+ Args: never;
47739
+ Returns: Json;
47740
+ };
45387
47741
  logistics_next_workday_date: {
45388
47742
  Args: {
45389
47743
  p_date: string;
@@ -45405,6 +47759,35 @@ export type Database = {
45405
47759
  };
45406
47760
  Returns: Json;
45407
47761
  };
47762
+ logistics_niet_afgemeld_archiveren: {
47763
+ Args: {
47764
+ p_limit?: number;
47765
+ };
47766
+ Returns: Json;
47767
+ };
47768
+ logistics_niet_afgemeld_basis: {
47769
+ Args: never;
47770
+ Returns: {
47771
+ leverdag: string;
47772
+ order_id: string;
47773
+ order_number: string;
47774
+ status: string;
47775
+ }[];
47776
+ };
47777
+ logistics_niet_afgemeld_gearchiveerd: {
47778
+ Args: {
47779
+ p_limit?: number;
47780
+ p_offset?: number;
47781
+ p_zoek?: string;
47782
+ };
47783
+ Returns: Json;
47784
+ };
47785
+ logistics_niet_afgemeld_terughalen: {
47786
+ Args: {
47787
+ p_order_id: string;
47788
+ };
47789
+ Returns: Json;
47790
+ };
45408
47791
  logistics_nl_date: {
45409
47792
  Args: {
45410
47793
  p_day: string;
@@ -45447,6 +47830,13 @@ export type Database = {
45447
47830
  Args: never;
45448
47831
  Returns: string;
45449
47832
  };
47833
+ logistics_opruimen_ronde: {
47834
+ Args: {
47835
+ p_max_ms?: number;
47836
+ p_portie?: number;
47837
+ };
47838
+ Returns: Json;
47839
+ };
45450
47840
  logistics_order_afgemeld: {
45451
47841
  Args: {
45452
47842
  p_order_id: string;
@@ -45596,6 +47986,12 @@ export type Database = {
45596
47986
  signupDeadline: string;
45597
47987
  }[];
45598
47988
  };
47989
+ logistics_order_documenten: {
47990
+ Args: {
47991
+ p_order_id: string;
47992
+ };
47993
+ Returns: Json;
47994
+ };
45599
47995
  logistics_order_documents_ready: {
45600
47996
  Args: {
45601
47997
  p_order_ref: string;
@@ -45608,6 +48004,12 @@ export type Database = {
45608
48004
  };
45609
48005
  Returns: boolean;
45610
48006
  };
48007
+ logistics_order_export: {
48008
+ Args: {
48009
+ p_order_id: string;
48010
+ };
48011
+ Returns: Json;
48012
+ };
45611
48013
  logistics_order_external_state: {
45612
48014
  Args: {
45613
48015
  p_order_id: string;
@@ -45691,6 +48093,19 @@ export type Database = {
45691
48093
  order_id: string;
45692
48094
  }[];
45693
48095
  };
48096
+ logistics_order_gewijzigd_na_print: {
48097
+ Args: {
48098
+ p_order_id: string;
48099
+ };
48100
+ Returns: Json;
48101
+ };
48102
+ logistics_order_gewijzigd_na_print_besluit: {
48103
+ Args: {
48104
+ p_besluit: string;
48105
+ p_order_id: string;
48106
+ };
48107
+ Returns: Json;
48108
+ };
45694
48109
  logistics_order_handled: {
45695
48110
  Args: {
45696
48111
  p_order_uuid: string;
@@ -45943,6 +48358,36 @@ export type Database = {
45943
48358
  };
45944
48359
  Returns: boolean;
45945
48360
  };
48361
+ logistics_order_signaal: {
48362
+ Args: {
48363
+ p_order_id: string;
48364
+ p_reden: string;
48365
+ };
48366
+ Returns: undefined;
48367
+ };
48368
+ logistics_order_signalen_verwerken: {
48369
+ Args: {
48370
+ p_limit?: number;
48371
+ p_max_ms?: number;
48372
+ };
48373
+ Returns: Json;
48374
+ };
48375
+ logistics_order_spoed_bepalen: {
48376
+ Args: {
48377
+ p_order_ids: string[];
48378
+ };
48379
+ Returns: string;
48380
+ };
48381
+ logistics_order_stappen: {
48382
+ Args: {
48383
+ p_order_ids: string[];
48384
+ };
48385
+ Returns: {
48386
+ order_id: string;
48387
+ stap: number;
48388
+ stap_naam: string;
48389
+ }[];
48390
+ };
45946
48391
  logistics_order_sticker_meldingen: {
45947
48392
  Args: {
45948
48393
  p_order_id: string;
@@ -45962,6 +48407,12 @@ export type Database = {
45962
48407
  order_id: string;
45963
48408
  }[];
45964
48409
  };
48410
+ logistics_order_tijdlijn: {
48411
+ Args: {
48412
+ p_order_id: string;
48413
+ };
48414
+ Returns: Json;
48415
+ };
45965
48416
  logistics_order_transport_group: {
45966
48417
  Args: {
45967
48418
  p_order: Json;
@@ -46022,6 +48473,12 @@ export type Database = {
46022
48473
  toelichting: string;
46023
48474
  }[];
46024
48475
  };
48476
+ logistics_own_fuststicker_sync: {
48477
+ Args: {
48478
+ p_limit?: number;
48479
+ };
48480
+ Returns: Json;
48481
+ };
46025
48482
  logistics_own_sticker_count: {
46026
48483
  Args: {
46027
48484
  p_ppc_product: number;
@@ -46786,6 +49243,22 @@ export type Database = {
46786
49243
  tekst: string;
46787
49244
  }[];
46788
49245
  };
49246
+ logistics_product_transporthoogte: {
49247
+ Args: {
49248
+ p_ladingdrager?: string;
49249
+ p_product_id: string;
49250
+ };
49251
+ Returns: Json;
49252
+ };
49253
+ logistics_producten_gereedheid: {
49254
+ Args: {
49255
+ p_alleen_onvolledig?: boolean;
49256
+ p_limit?: number;
49257
+ p_offset?: number;
49258
+ p_zoek?: string;
49259
+ };
49260
+ Returns: Json;
49261
+ };
46789
49262
  logistics_productiebon_goedkeuren: {
46790
49263
  Args: {
46791
49264
  p_queue_id: string;
@@ -47463,6 +49936,13 @@ export type Database = {
47463
49936
  Args: never;
47464
49937
  Returns: Json;
47465
49938
  };
49939
+ logistics_slip_cart_extra: {
49940
+ Args: {
49941
+ p_cart: Json;
49942
+ p_extra: Json;
49943
+ };
49944
+ Returns: Json;
49945
+ };
47466
49946
  logistics_slip_is_floriday: {
47467
49947
  Args: {
47468
49948
  _slip_job_id: string;
@@ -47578,6 +50058,12 @@ export type Database = {
47578
50058
  };
47579
50059
  Returns: undefined;
47580
50060
  };
50061
+ logistics_spoed_wacht_opruimen: {
50062
+ Args: {
50063
+ p_portie?: number;
50064
+ };
50065
+ Returns: Json;
50066
+ };
47581
50067
  logistics_stale_buffer_carts: {
47582
50068
  Args: {
47583
50069
  p_buffer?: string;
@@ -47595,6 +50081,10 @@ export type Database = {
47595
50081
  oude_buffer: string;
47596
50082
  }[];
47597
50083
  };
50084
+ logistics_stap_namen: {
50085
+ Args: never;
50086
+ Returns: string[];
50087
+ };
47598
50088
  logistics_startlijst: {
47599
50089
  Args: never;
47600
50090
  Returns: Json;
@@ -47860,6 +50350,10 @@ export type Database = {
47860
50350
  };
47861
50351
  Returns: Json;
47862
50352
  };
50353
+ logistics_thuisland: {
50354
+ Args: never;
50355
+ Returns: string;
50356
+ };
47863
50357
  logistics_tick: {
47864
50358
  Args: never;
47865
50359
  Returns: Json;
@@ -47894,6 +50388,12 @@ export type Database = {
47894
50388
  Args: never;
47895
50389
  Returns: number;
47896
50390
  };
50391
+ logistics_tijd_nl: {
50392
+ Args: {
50393
+ p_ts: string;
50394
+ };
50395
+ Returns: string;
50396
+ };
47897
50397
  logistics_timezone_options: {
47898
50398
  Args: never;
47899
50399
  Returns: {
@@ -47910,6 +50410,13 @@ export type Database = {
47910
50410
  };
47911
50411
  Returns: Json;
47912
50412
  };
50413
+ logistics_toets_levering_reken_v2: {
50414
+ Args: {
50415
+ p_artikelen: Json;
50416
+ p_data: Json;
50417
+ };
50418
+ Returns: Json;
50419
+ };
47913
50420
  logistics_toets_ophalen_bijwerken: {
47914
50421
  Args: never;
47915
50422
  Returns: Json;
@@ -48183,6 +50690,22 @@ export type Database = {
48183
50690
  };
48184
50691
  Returns: boolean;
48185
50692
  };
50693
+ logistics_vandaag: {
50694
+ Args: {
50695
+ p_dag?: string;
50696
+ };
50697
+ Returns: Json;
50698
+ };
50699
+ logistics_vandaag_orders: {
50700
+ Args: {
50701
+ p_dag?: string;
50702
+ p_limit?: number;
50703
+ p_offset?: number;
50704
+ p_stap: number;
50705
+ p_zoek?: string;
50706
+ };
50707
+ Returns: Json;
50708
+ };
48186
50709
  logistics_vbn_cm: {
48187
50710
  Args: {
48188
50711
  p_code: string;
@@ -48196,16 +50719,43 @@ export type Database = {
48196
50719
  };
48197
50720
  Returns: string;
48198
50721
  };
50722
+ logistics_verkoopklaar_veilig: {
50723
+ Args: {
50724
+ p_product_id: string;
50725
+ };
50726
+ Returns: Json;
50727
+ };
48199
50728
  logistics_volle_karren_vastzetten: {
48200
50729
  Args: {
48201
50730
  p_max?: number;
48202
50731
  };
48203
50732
  Returns: Json;
48204
50733
  };
50734
+ logistics_wek: {
50735
+ Args: {
50736
+ p_order_id?: string;
50737
+ p_reden: string;
50738
+ };
50739
+ Returns: undefined;
50740
+ };
48205
50741
  logistics_werker_budget_ms: {
48206
50742
  Args: never;
48207
50743
  Returns: number;
48208
50744
  };
50745
+ logistics_werker_dispatch_stap: {
50746
+ Args: {
50747
+ p_budget_ms: number;
50748
+ p_stap: string;
50749
+ };
50750
+ Returns: Json;
50751
+ };
50752
+ logistics_werker_dispatch_vastleggen: {
50753
+ Args: {
50754
+ p_stappen: Json;
50755
+ p_start: string;
50756
+ };
50757
+ Returns: undefined;
50758
+ };
48209
50759
  logistics_werker_draai: {
48210
50760
  Args: {
48211
50761
  p_stappen: Json;
@@ -48249,6 +50799,10 @@ export type Database = {
48249
50799
  };
48250
50800
  Returns: Json;
48251
50801
  };
50802
+ logistics_werkwijze_standaarden_golf3: {
50803
+ Args: never;
50804
+ Returns: string[];
50805
+ };
48252
50806
  logistics_working_hours_status: {
48253
50807
  Args: never;
48254
50808
  Returns: Json;
@@ -48331,6 +50885,10 @@ export type Database = {
48331
50885
  };
48332
50886
  Returns: Json;
48333
50887
  };
50888
+ mailbox_reservation_calloff_available: {
50889
+ Args: never;
50890
+ Returns: boolean;
50891
+ };
48334
50892
  mailbox_standaard_lijsten: {
48335
50893
  Args: never;
48336
50894
  Returns: Json;
@@ -49391,6 +51949,10 @@ export type Database = {
49391
51949
  omschrijving: string;
49392
51950
  }[];
49393
51951
  };
51952
+ pick_printplek_beheer_link: {
51953
+ Args: never;
51954
+ Returns: string;
51955
+ };
49394
51956
  pick_queue_cart_plan: {
49395
51957
  Args: {
49396
51958
  _queue_item_id: string;
@@ -50451,6 +53013,14 @@ export type Database = {
50451
53013
  };
50452
53014
  Returns: Json;
50453
53015
  };
53016
+ pickstation_kar_tekening: {
53017
+ Args: {
53018
+ p_device_key?: string;
53019
+ p_order_id: string;
53020
+ p_slug: string;
53021
+ };
53022
+ Returns: Json;
53023
+ };
50454
53024
  pickstation_log_print: {
50455
53025
  Args: {
50456
53026
  p_customer_name: string;
@@ -50573,6 +53143,22 @@ export type Database = {
50573
53143
  };
50574
53144
  Returns: Json;
50575
53145
  };
53146
+ pickstation_noodroute_status: {
53147
+ Args: {
53148
+ p_device_key?: string;
53149
+ p_order_ids: string[];
53150
+ p_slug: string;
53151
+ };
53152
+ Returns: Json;
53153
+ };
53154
+ pickstation_order_documenten: {
53155
+ Args: {
53156
+ p_device_key?: string;
53157
+ p_order_id: string;
53158
+ p_slug: string;
53159
+ };
53160
+ Returns: Json;
53161
+ };
50576
53162
  pickstation_order_sticker_meldingen: {
50577
53163
  Args: {
50578
53164
  p_device_key: string;
@@ -50587,6 +53173,14 @@ export type Database = {
50587
53173
  };
50588
53174
  Returns: Json;
50589
53175
  };
53176
+ pickstation_order_tijdlijn: {
53177
+ Args: {
53178
+ p_device_key?: string;
53179
+ p_order_id: string;
53180
+ p_slug: string;
53181
+ };
53182
+ Returns: Json;
53183
+ };
50590
53184
  pickstation_pair_device: {
50591
53185
  Args: {
50592
53186
  p_code: string;
@@ -50609,6 +53203,16 @@ export type Database = {
50609
53203
  };
50610
53204
  Returns: Json;
50611
53205
  };
53206
+ pickstation_printed_today: {
53207
+ Args: {
53208
+ p_device_key?: string;
53209
+ p_limit?: number;
53210
+ p_offset?: number;
53211
+ p_search?: string;
53212
+ p_slug: string;
53213
+ };
53214
+ Returns: Json;
53215
+ };
50612
53216
  pickstation_printjob_status: {
50613
53217
  Args: {
50614
53218
  p_device_key: string;
@@ -50726,6 +53330,14 @@ export type Database = {
50726
53330
  };
50727
53331
  Returns: Json;
50728
53332
  };
53333
+ pickstation_wait_times: {
53334
+ Args: {
53335
+ p_device_key?: string;
53336
+ p_queue_ids: string[];
53337
+ p_slug: string;
53338
+ };
53339
+ Returns: Json;
53340
+ };
50729
53341
  plan_standby_batch: {
50730
53342
  Args: {
50731
53343
  _items: Json;
@@ -50940,6 +53552,14 @@ export type Database = {
50940
53552
  };
50941
53553
  Returns: number;
50942
53554
  };
53555
+ print_layout_formaat_klasse: {
53556
+ Args: {
53557
+ _breedte_mm: number;
53558
+ _hoogte_mm: number;
53559
+ _papierformaat: string;
53560
+ };
53561
+ Returns: string;
53562
+ };
50943
53563
  print_preview_toestaan: {
50944
53564
  Args: {
50945
53565
  _max?: number;
@@ -51311,6 +53931,12 @@ export type Database = {
51311
53931
  };
51312
53932
  Returns: number;
51313
53933
  };
53934
+ prune_floriday_correcties: {
53935
+ Args: {
53936
+ p_limit?: number;
53937
+ };
53938
+ Returns: number;
53939
+ };
51314
53940
  prune_floriday_logs_batch: {
51315
53941
  Args: {
51316
53942
  p_batch?: number;
@@ -51318,6 +53944,18 @@ export type Database = {
51318
53944
  };
51319
53945
  Returns: Json;
51320
53946
  };
53947
+ prune_floriday_terugkoppelingen: {
53948
+ Args: {
53949
+ p_limit?: number;
53950
+ };
53951
+ Returns: number;
53952
+ };
53953
+ prune_floriday_toets: {
53954
+ Args: {
53955
+ p_limit?: number;
53956
+ };
53957
+ Returns: number;
53958
+ };
51321
53959
  quote_ack_work_order: {
51322
53960
  Args: {
51323
53961
  _queue_id: string;
@@ -52226,6 +54864,13 @@ export type Database = {
52226
54864
  };
52227
54865
  Returns: boolean;
52228
54866
  };
54867
+ scan_scanner_bootstrap: {
54868
+ Args: {
54869
+ p_device_key: string;
54870
+ p_slug: string;
54871
+ };
54872
+ Returns: Json;
54873
+ };
52229
54874
  scan_scanner_info: {
52230
54875
  Args: {
52231
54876
  p_slug: string;
@@ -54023,6 +56668,19 @@ export type Database = {
54023
56668
  Args: never;
54024
56669
  Returns: Json;
54025
56670
  };
56671
+ verkoop_orderregel_extra_opslaan: {
56672
+ Args: {
56673
+ p_order_item_id: string;
56674
+ p_patch: Json;
56675
+ };
56676
+ Returns: Json;
56677
+ };
56678
+ verkoop_orderregel_extra_voor_order: {
56679
+ Args: {
56680
+ p_order_id: string;
56681
+ };
56682
+ Returns: Json;
56683
+ };
54026
56684
  verkoop_packing_drift_apply: {
54027
56685
  Args: {
54028
56686
  p_order_ids: string[];
@@ -54058,6 +56716,20 @@ export type Database = {
54058
56716
  vastgezet: boolean;
54059
56717
  }[];
54060
56718
  };
56719
+ verkoop_regelvelden_norm: {
56720
+ Args: {
56721
+ p: Json;
56722
+ };
56723
+ Returns: Json;
56724
+ };
56725
+ verkoop_reservering_afroepen: {
56726
+ Args: {
56727
+ p_order_id: string;
56728
+ p_regels: Json;
56729
+ p_reservering_id: string;
56730
+ };
56731
+ Returns: Json;
56732
+ };
54061
56733
  verkoop_salesorder_content_hash: {
54062
56734
  Args: {
54063
56735
  p_data: Json;
@@ -54812,6 +57484,14 @@ export type Database = {
54812
57484
  };
54813
57485
  Returns: number;
54814
57486
  };
57487
+ voorraad_minuutronde: {
57488
+ Args: never;
57489
+ Returns: Json;
57490
+ };
57491
+ voorraad_nachtelijk_opruimen: {
57492
+ Args: never;
57493
+ Returns: Json;
57494
+ };
54815
57495
  voorraad_order_geannuleerd: {
54816
57496
  Args: {
54817
57497
  p_cancelled_at: string;
@@ -55480,7 +58160,7 @@ export type Database = {
55480
58160
  Enums: {
55481
58161
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
55482
58162
  app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
55483
- doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief" | "traysticker" | "eigen_sticker";
58163
+ doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief" | "traysticker" | "eigen_sticker" | "cmr";
55484
58164
  doc_orientation: "portrait" | "landscape";
55485
58165
  exact_env: "staging" | "live";
55486
58166
  exact_push_status: "pending" | "sent" | "error";
@@ -55551,7 +58231,7 @@ export declare const Constants: {
55551
58231
  readonly Enums: {
55552
58232
  readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
55553
58233
  readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie", "superadmin"];
55554
- readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon", "veilingbon", "afleverbrief", "veilingbrief", "traysticker", "eigen_sticker"];
58234
+ readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon", "veilingbon", "afleverbrief", "veilingbrief", "traysticker", "eigen_sticker", "cmr"];
55555
58235
  readonly doc_orientation: readonly ["portrait", "landscape"];
55556
58236
  readonly exact_env: readonly ["staging", "live"];
55557
58237
  readonly exact_push_status: readonly ["pending", "sent", "error"];