@flowselections/floriday-klanten-module 1.0.103 → 1.0.105

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 (58) hide show
  1. package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts +3 -1
  2. package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts.map +1 -1
  3. package/dist-lib/components/klanten/CustomerAssortmentTab.js +37 -9
  4. package/dist-lib/components/klanten/CustomerStickerCell.d.ts +6 -1
  5. package/dist-lib/components/klanten/CustomerStickerCell.d.ts.map +1 -1
  6. package/dist-lib/components/klanten/CustomerStickerCell.js +4 -3
  7. package/dist-lib/components/klanten/CustomerStickerFormatDialog.d.ts.map +1 -1
  8. package/dist-lib/components/klanten/CustomerStickerFormatDialog.js +12 -9
  9. package/dist-lib/components/klanten/KlantDetail.d.ts.map +1 -1
  10. package/dist-lib/components/klanten/KlantDetail.js +14 -3
  11. package/dist-lib/components/klanten/KlantExtraVeldenCard.d.ts +5 -0
  12. package/dist-lib/components/klanten/KlantExtraVeldenCard.d.ts.map +1 -0
  13. package/dist-lib/components/klanten/KlantExtraVeldenCard.js +48 -0
  14. package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
  15. package/dist-lib/components/klanten/KlantenOverzicht.js +7 -5
  16. package/dist-lib/components/klanten/StickerFormaatKeuze.d.ts +16 -0
  17. package/dist-lib/components/klanten/StickerFormaatKeuze.d.ts.map +1 -0
  18. package/dist-lib/components/klanten/StickerFormaatKeuze.js +25 -0
  19. package/dist-lib/components/klanten/StickerSizeLine.d.ts +7 -2
  20. package/dist-lib/components/klanten/StickerSizeLine.d.ts.map +1 -1
  21. package/dist-lib/components/klanten/StickerSizeLine.js +28 -20
  22. package/dist-lib/components/klanten/pricegroups/CustomerPickerDialog.d.ts.map +1 -1
  23. package/dist-lib/components/klanten/pricegroups/CustomerPickerDialog.js +13 -1
  24. package/dist-lib/components/settings/CustomerFieldsCard.d.ts.map +1 -1
  25. package/dist-lib/components/settings/CustomerFieldsCard.js +2 -21
  26. package/dist-lib/components/settings/ExtraVeldenBeheer.d.ts +3 -0
  27. package/dist-lib/components/settings/ExtraVeldenBeheer.d.ts.map +1 -0
  28. package/dist-lib/components/settings/ExtraVeldenBeheer.js +61 -0
  29. package/dist-lib/index.d.ts +2 -1
  30. package/dist-lib/index.d.ts.map +1 -1
  31. package/dist-lib/index.js +1 -1
  32. package/dist-lib/integrations/supabase/types.d.ts +2892 -2
  33. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  34. package/dist-lib/integrations/supabase/types.js +1 -0
  35. package/dist-lib/lib/customer-archief.d.ts +12 -0
  36. package/dist-lib/lib/customer-archief.d.ts.map +1 -1
  37. package/dist-lib/lib/customer-archief.functions.js +2 -2
  38. package/dist-lib/lib/customer-archief.js +14 -0
  39. package/dist-lib/lib/customer-stickers.functions.d.ts +18 -0
  40. package/dist-lib/lib/customer-stickers.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/customer-stickers.functions.js +99 -0
  42. package/dist-lib/lib/extra-velden.d.ts +32 -0
  43. package/dist-lib/lib/extra-velden.d.ts.map +1 -0
  44. package/dist-lib/lib/extra-velden.functions.d.ts +69 -0
  45. package/dist-lib/lib/extra-velden.functions.d.ts.map +1 -0
  46. package/dist-lib/lib/extra-velden.functions.js +103 -0
  47. package/dist-lib/lib/extra-velden.js +39 -0
  48. package/dist-lib/lib/server-routes/twinfield-run-queue.server.d.ts +1 -1
  49. package/dist-lib/lib/server-routes/twinfield-run-queue.server.d.ts.map +1 -1
  50. package/dist-lib/lib/server-routes/twinfield-run-queue.server.js +6 -3
  51. package/dist-lib/lib/sticker-formaten.d.ts +46 -0
  52. package/dist-lib/lib/sticker-formaten.d.ts.map +1 -0
  53. package/dist-lib/lib/sticker-formaten.js +75 -0
  54. package/dist-lib/lib/twinfield-queue-admin.functions.d.ts +1 -1
  55. package/dist-lib/lib/twinfield-queue-admin.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/twinfield-queue-admin.functions.js +1 -1
  57. package/package.json +25 -3
  58. package/schema/klanten.sql +543 -80
@@ -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;
@@ -1840,6 +1933,7 @@ export type Database = {
1840
1933
  delivery_location_ids: string[];
1841
1934
  delivery_weekdays: number[];
1842
1935
  email: string | null;
1936
+ floriday_carrier_gln: string | null;
1843
1937
  id: string;
1844
1938
  is_default: boolean;
1845
1939
  is_favorite: boolean;
@@ -1873,6 +1967,7 @@ export type Database = {
1873
1967
  delivery_location_ids?: string[];
1874
1968
  delivery_weekdays?: number[];
1875
1969
  email?: string | null;
1970
+ floriday_carrier_gln?: string | null;
1876
1971
  id?: string;
1877
1972
  is_default?: boolean;
1878
1973
  is_favorite?: boolean;
@@ -1906,6 +2001,7 @@ export type Database = {
1906
2001
  delivery_location_ids?: string[];
1907
2002
  delivery_weekdays?: number[];
1908
2003
  email?: string | null;
2004
+ floriday_carrier_gln?: string | null;
1909
2005
  id?: string;
1910
2006
  is_default?: boolean;
1911
2007
  is_favorite?: boolean;
@@ -2505,6 +2601,13 @@ export type Database = {
2505
2601
  isOneToOne: true;
2506
2602
  referencedRelation: "customers";
2507
2603
  referencedColumns: ["id"];
2604
+ },
2605
+ {
2606
+ foreignKeyName: "customer_archief_customer_id_fkey";
2607
+ columns: ["customer_id"];
2608
+ isOneToOne: true;
2609
+ referencedRelation: "klanten_selecteerbaar";
2610
+ referencedColumns: ["id"];
2508
2611
  }
2509
2612
  ];
2510
2613
  };
@@ -2553,6 +2656,13 @@ export type Database = {
2553
2656
  referencedRelation: "customers";
2554
2657
  referencedColumns: ["id"];
2555
2658
  },
2659
+ {
2660
+ foreignKeyName: "customer_article_aliases_customer_id_fkey";
2661
+ columns: ["customer_id"];
2662
+ isOneToOne: false;
2663
+ referencedRelation: "klanten_selecteerbaar";
2664
+ referencedColumns: ["id"];
2665
+ },
2556
2666
  {
2557
2667
  foreignKeyName: "customer_article_aliases_product_id_fkey";
2558
2668
  columns: ["product_id"];
@@ -2675,6 +2785,13 @@ export type Database = {
2675
2785
  isOneToOne: false;
2676
2786
  referencedRelation: "customers";
2677
2787
  referencedColumns: ["id"];
2788
+ },
2789
+ {
2790
+ foreignKeyName: "customer_contacts_customer_id_fkey";
2791
+ columns: ["customer_id"];
2792
+ isOneToOne: false;
2793
+ referencedRelation: "klanten_selecteerbaar";
2794
+ referencedColumns: ["id"];
2678
2795
  }
2679
2796
  ];
2680
2797
  };
@@ -2720,6 +2837,13 @@ export type Database = {
2720
2837
  referencedRelation: "customers";
2721
2838
  referencedColumns: ["id"];
2722
2839
  },
2840
+ {
2841
+ foreignKeyName: "customer_delivery_location_glns_customer_id_fkey";
2842
+ columns: ["customer_id"];
2843
+ isOneToOne: false;
2844
+ referencedRelation: "klanten_selecteerbaar";
2845
+ referencedColumns: ["id"];
2846
+ },
2723
2847
  {
2724
2848
  foreignKeyName: "customer_delivery_location_glns_location_id_fkey";
2725
2849
  columns: ["location_id"];
@@ -2764,6 +2888,13 @@ export type Database = {
2764
2888
  isOneToOne: false;
2765
2889
  referencedRelation: "customers";
2766
2890
  referencedColumns: ["id"];
2891
+ },
2892
+ {
2893
+ foreignKeyName: "customer_delivery_location_ignored_customer_id_fkey";
2894
+ columns: ["customer_id"];
2895
+ isOneToOne: false;
2896
+ referencedRelation: "klanten_selecteerbaar";
2897
+ referencedColumns: ["id"];
2767
2898
  }
2768
2899
  ];
2769
2900
  };
@@ -2854,9 +2985,98 @@ export type Database = {
2854
2985
  isOneToOne: false;
2855
2986
  referencedRelation: "customers";
2856
2987
  referencedColumns: ["id"];
2988
+ },
2989
+ {
2990
+ foreignKeyName: "customer_delivery_locations_customer_id_fkey";
2991
+ columns: ["customer_id"];
2992
+ isOneToOne: false;
2993
+ referencedRelation: "klanten_selecteerbaar";
2994
+ referencedColumns: ["id"];
2995
+ }
2996
+ ];
2997
+ };
2998
+ customer_extra_veld_waarden: {
2999
+ Row: {
3000
+ created_at: string;
3001
+ customer_id: string;
3002
+ id: string;
3003
+ updated_at: string;
3004
+ veld_id: string;
3005
+ waarde: string;
3006
+ };
3007
+ Insert: {
3008
+ created_at?: string;
3009
+ customer_id: string;
3010
+ id?: string;
3011
+ updated_at?: string;
3012
+ veld_id: string;
3013
+ waarde: string;
3014
+ };
3015
+ Update: {
3016
+ created_at?: string;
3017
+ customer_id?: string;
3018
+ id?: string;
3019
+ updated_at?: string;
3020
+ veld_id?: string;
3021
+ waarde?: string;
3022
+ };
3023
+ Relationships: [
3024
+ {
3025
+ foreignKeyName: "customer_extra_veld_waarden_customer_id_fkey";
3026
+ columns: ["customer_id"];
3027
+ isOneToOne: false;
3028
+ referencedRelation: "customers";
3029
+ referencedColumns: ["id"];
3030
+ },
3031
+ {
3032
+ foreignKeyName: "customer_extra_veld_waarden_customer_id_fkey";
3033
+ columns: ["customer_id"];
3034
+ isOneToOne: false;
3035
+ referencedRelation: "klanten_selecteerbaar";
3036
+ referencedColumns: ["id"];
3037
+ },
3038
+ {
3039
+ foreignKeyName: "customer_extra_veld_waarden_veld_id_fkey";
3040
+ columns: ["veld_id"];
3041
+ isOneToOne: false;
3042
+ referencedRelation: "customer_extra_velden";
3043
+ referencedColumns: ["id"];
2857
3044
  }
2858
3045
  ];
2859
3046
  };
3047
+ customer_extra_velden: {
3048
+ Row: {
3049
+ created_at: string;
3050
+ id: string;
3051
+ label: string;
3052
+ opties: string[];
3053
+ updated_at: string;
3054
+ veld_key: string;
3055
+ veld_type: string;
3056
+ volgorde: number;
3057
+ };
3058
+ Insert: {
3059
+ created_at?: string;
3060
+ id?: string;
3061
+ label: string;
3062
+ opties?: string[];
3063
+ updated_at?: string;
3064
+ veld_key: string;
3065
+ veld_type?: string;
3066
+ volgorde?: number;
3067
+ };
3068
+ Update: {
3069
+ created_at?: string;
3070
+ id?: string;
3071
+ label?: string;
3072
+ opties?: string[];
3073
+ updated_at?: string;
3074
+ veld_key?: string;
3075
+ veld_type?: string;
3076
+ volgorde?: number;
3077
+ };
3078
+ Relationships: [];
3079
+ };
2860
3080
  customer_field_options: {
2861
3081
  Row: {
2862
3082
  created_at: string;
@@ -3015,6 +3235,13 @@ export type Database = {
3015
3235
  referencedRelation: "customers";
3016
3236
  referencedColumns: ["id"];
3017
3237
  },
3238
+ {
3239
+ foreignKeyName: "customer_logistics_exceptions_customer_id_fkey";
3240
+ columns: ["customer_id"];
3241
+ isOneToOne: false;
3242
+ referencedRelation: "klanten_selecteerbaar";
3243
+ referencedColumns: ["id"];
3244
+ },
3018
3245
  {
3019
3246
  foreignKeyName: "customer_logistics_exceptions_location_fkey";
3020
3247
  columns: ["delivery_location_id"];
@@ -3100,6 +3327,13 @@ export type Database = {
3100
3327
  isOneToOne: false;
3101
3328
  referencedRelation: "customers";
3102
3329
  referencedColumns: ["id"];
3330
+ },
3331
+ {
3332
+ foreignKeyName: "customer_match_suggestions_customer_id_fkey";
3333
+ columns: ["customer_id"];
3334
+ isOneToOne: false;
3335
+ referencedRelation: "klanten_selecteerbaar";
3336
+ referencedColumns: ["id"];
3103
3337
  }
3104
3338
  ];
3105
3339
  };
@@ -3135,6 +3369,13 @@ export type Database = {
3135
3369
  isOneToOne: true;
3136
3370
  referencedRelation: "customers";
3137
3371
  referencedColumns: ["id"];
3372
+ },
3373
+ {
3374
+ foreignKeyName: "customer_notes_customer_id_fkey";
3375
+ columns: ["customer_id"];
3376
+ isOneToOne: true;
3377
+ referencedRelation: "klanten_selecteerbaar";
3378
+ referencedColumns: ["id"];
3138
3379
  }
3139
3380
  ];
3140
3381
  };
@@ -3352,6 +3593,13 @@ export type Database = {
3352
3593
  isOneToOne: false;
3353
3594
  referencedRelation: "customers";
3354
3595
  referencedColumns: ["id"];
3596
+ },
3597
+ {
3598
+ foreignKeyName: "customer_selected_assortment_customer_id_fkey";
3599
+ columns: ["customer_id"];
3600
+ isOneToOne: false;
3601
+ referencedRelation: "klanten_selecteerbaar";
3602
+ referencedColumns: ["id"];
3355
3603
  }
3356
3604
  ];
3357
3605
  };
@@ -3426,6 +3674,13 @@ export type Database = {
3426
3674
  isOneToOne: false;
3427
3675
  referencedRelation: "customers";
3428
3676
  referencedColumns: ["id"];
3677
+ },
3678
+ {
3679
+ foreignKeyName: "customer_trade_settings_customer_id_fkey";
3680
+ columns: ["customer_id"];
3681
+ isOneToOne: false;
3682
+ referencedRelation: "klanten_selecteerbaar";
3683
+ referencedColumns: ["id"];
3429
3684
  }
3430
3685
  ];
3431
3686
  };
@@ -7365,6 +7620,36 @@ export type Database = {
7365
7620
  };
7366
7621
  Relationships: [];
7367
7622
  };
7623
+ facturatie_vies_checks: {
7624
+ Row: {
7625
+ checked_at: string;
7626
+ country_code: string;
7627
+ created_at: string;
7628
+ successful_at: string | null;
7629
+ updated_at: string;
7630
+ valid: boolean;
7631
+ vat_number: string;
7632
+ };
7633
+ Insert: {
7634
+ checked_at?: string;
7635
+ country_code: string;
7636
+ created_at?: string;
7637
+ successful_at?: string | null;
7638
+ updated_at?: string;
7639
+ valid: boolean;
7640
+ vat_number: string;
7641
+ };
7642
+ Update: {
7643
+ checked_at?: string;
7644
+ country_code?: string;
7645
+ created_at?: string;
7646
+ successful_at?: string | null;
7647
+ updated_at?: string;
7648
+ valid?: boolean;
7649
+ vat_number?: string;
7650
+ };
7651
+ Relationships: [];
7652
+ };
7368
7653
  floricode_connection_settings: {
7369
7654
  Row: {
7370
7655
  catalog_key: string | null;
@@ -7580,6 +7865,57 @@ export type Database = {
7580
7865
  }
7581
7866
  ];
7582
7867
  };
7868
+ floriday_afleveringen_verzoeken: {
7869
+ Row: {
7870
+ aangevraagd_door: string | null;
7871
+ artikelen_opgehaald: number;
7872
+ connection_id: string;
7873
+ created_at: string;
7874
+ cursor_seq: number;
7875
+ doel_seq: number | null;
7876
+ id: string;
7877
+ melding: string | null;
7878
+ opgehaald: number;
7879
+ pogingen: number;
7880
+ status: string;
7881
+ tot: string;
7882
+ updated_at: string;
7883
+ van: string;
7884
+ };
7885
+ Insert: {
7886
+ aangevraagd_door?: string | null;
7887
+ artikelen_opgehaald?: number;
7888
+ connection_id: string;
7889
+ created_at?: string;
7890
+ cursor_seq?: number;
7891
+ doel_seq?: number | null;
7892
+ id?: string;
7893
+ melding?: string | null;
7894
+ opgehaald?: number;
7895
+ pogingen?: number;
7896
+ status?: string;
7897
+ tot: string;
7898
+ updated_at?: string;
7899
+ van: string;
7900
+ };
7901
+ Update: {
7902
+ aangevraagd_door?: string | null;
7903
+ artikelen_opgehaald?: number;
7904
+ connection_id?: string;
7905
+ created_at?: string;
7906
+ cursor_seq?: number;
7907
+ doel_seq?: number | null;
7908
+ id?: string;
7909
+ melding?: string | null;
7910
+ opgehaald?: number;
7911
+ pogingen?: number;
7912
+ status?: string;
7913
+ tot?: string;
7914
+ updated_at?: string;
7915
+ van?: string;
7916
+ };
7917
+ Relationships: [];
7918
+ };
7583
7919
  floriday_agreement_calloffs_cache: {
7584
7920
  Row: {
7585
7921
  agreement_id: string | null;
@@ -9278,6 +9614,69 @@ export type Database = {
9278
9614
  }
9279
9615
  ];
9280
9616
  };
9617
+ floriday_fulfillment_corrections: {
9618
+ Row: {
9619
+ body: Json | null;
9620
+ connection_id: string;
9621
+ correction_id: string;
9622
+ created_at: string;
9623
+ creditering_melding: string | null;
9624
+ door: string | null;
9625
+ floriday_reden: string | null;
9626
+ floriday_status: string | null;
9627
+ fulfillment_order_id: string;
9628
+ id: string;
9629
+ idempotency_key: string;
9630
+ nieuw: Json | null;
9631
+ oud: Json | null;
9632
+ pogingen: number;
9633
+ reden: string | null;
9634
+ soort: string;
9635
+ status: string;
9636
+ updated_at: string;
9637
+ };
9638
+ Insert: {
9639
+ body?: Json | null;
9640
+ connection_id: string;
9641
+ correction_id: string;
9642
+ created_at?: string;
9643
+ creditering_melding?: string | null;
9644
+ door?: string | null;
9645
+ floriday_reden?: string | null;
9646
+ floriday_status?: string | null;
9647
+ fulfillment_order_id: string;
9648
+ id?: string;
9649
+ idempotency_key: string;
9650
+ nieuw?: Json | null;
9651
+ oud?: Json | null;
9652
+ pogingen?: number;
9653
+ reden?: string | null;
9654
+ soort: string;
9655
+ status?: string;
9656
+ updated_at?: string;
9657
+ };
9658
+ Update: {
9659
+ body?: Json | null;
9660
+ connection_id?: string;
9661
+ correction_id?: string;
9662
+ created_at?: string;
9663
+ creditering_melding?: string | null;
9664
+ door?: string | null;
9665
+ floriday_reden?: string | null;
9666
+ floriday_status?: string | null;
9667
+ fulfillment_order_id?: string;
9668
+ id?: string;
9669
+ idempotency_key?: string;
9670
+ nieuw?: Json | null;
9671
+ oud?: Json | null;
9672
+ pogingen?: number;
9673
+ reden?: string | null;
9674
+ soort?: string;
9675
+ status?: string;
9676
+ updated_at?: string;
9677
+ };
9678
+ Relationships: [];
9679
+ };
9281
9680
  floriday_fulfillment_orders_cache: {
9282
9681
  Row: {
9283
9682
  auction_date: string | null;
@@ -10135,6 +10534,72 @@ export type Database = {
10135
10534
  };
10136
10535
  Relationships: [];
10137
10536
  };
10537
+ floriday_sales_order_corrections: {
10538
+ Row: {
10539
+ besluit: string | null;
10540
+ besluit_at: string | null;
10541
+ besluit_door: string | null;
10542
+ besluit_fout: string | null;
10543
+ connection_id: string;
10544
+ created_at: string;
10545
+ customer_organization_id: string | null;
10546
+ data: Json | null;
10547
+ dringend_gemeld_at: string | null;
10548
+ expires_at: string | null;
10549
+ fetched_at: string;
10550
+ floriday_id: string;
10551
+ gemeld_at: string | null;
10552
+ id: string;
10553
+ is_cancel_request: boolean;
10554
+ sales_order_id: string | null;
10555
+ sequence_number: number;
10556
+ status: string | null;
10557
+ updated_at: string;
10558
+ };
10559
+ Insert: {
10560
+ besluit?: string | null;
10561
+ besluit_at?: string | null;
10562
+ besluit_door?: string | null;
10563
+ besluit_fout?: string | null;
10564
+ connection_id: string;
10565
+ created_at?: string;
10566
+ customer_organization_id?: string | null;
10567
+ data?: Json | null;
10568
+ dringend_gemeld_at?: string | null;
10569
+ expires_at?: string | null;
10570
+ fetched_at?: string;
10571
+ floriday_id: string;
10572
+ gemeld_at?: string | null;
10573
+ id?: string;
10574
+ is_cancel_request?: boolean;
10575
+ sales_order_id?: string | null;
10576
+ sequence_number?: number;
10577
+ status?: string | null;
10578
+ updated_at?: string;
10579
+ };
10580
+ Update: {
10581
+ besluit?: string | null;
10582
+ besluit_at?: string | null;
10583
+ besluit_door?: string | null;
10584
+ besluit_fout?: string | null;
10585
+ connection_id?: string;
10586
+ created_at?: string;
10587
+ customer_organization_id?: string | null;
10588
+ data?: Json | null;
10589
+ dringend_gemeld_at?: string | null;
10590
+ expires_at?: string | null;
10591
+ fetched_at?: string;
10592
+ floriday_id?: string;
10593
+ gemeld_at?: string | null;
10594
+ id?: string;
10595
+ is_cancel_request?: boolean;
10596
+ sales_order_id?: string | null;
10597
+ sequence_number?: number;
10598
+ status?: string | null;
10599
+ updated_at?: string;
10600
+ };
10601
+ Relationships: [];
10602
+ };
10138
10603
  floriday_sales_order_ingest: {
10139
10604
  Row: {
10140
10605
  connection_id: string;
@@ -10517,6 +10982,162 @@ export type Database = {
10517
10982
  };
10518
10983
  Relationships: [];
10519
10984
  };
10985
+ floriday_terugkoppelingen: {
10986
+ Row: {
10987
+ aangeboden_at: string;
10988
+ besluit_at: string | null;
10989
+ body: Json | null;
10990
+ caller: string | null;
10991
+ connection_id: string;
10992
+ created_at: string;
10993
+ delivery_order_id: string;
10994
+ fout: string | null;
10995
+ fulfillment_order_id: string | null;
10996
+ id: string;
10997
+ order_id: string | null;
10998
+ order_ref: string | null;
10999
+ pogingen: number;
11000
+ stand: string | null;
11001
+ status: string;
11002
+ uitkomst: Json | null;
11003
+ updated_at: string;
11004
+ verstuurd_at: string | null;
11005
+ vraag_id: string | null;
11006
+ };
11007
+ Insert: {
11008
+ aangeboden_at?: string;
11009
+ besluit_at?: string | null;
11010
+ body?: Json | null;
11011
+ caller?: string | null;
11012
+ connection_id: string;
11013
+ created_at?: string;
11014
+ delivery_order_id: string;
11015
+ fout?: string | null;
11016
+ fulfillment_order_id?: string | null;
11017
+ id?: string;
11018
+ order_id?: string | null;
11019
+ order_ref?: string | null;
11020
+ pogingen?: number;
11021
+ stand?: string | null;
11022
+ status?: string;
11023
+ uitkomst?: Json | null;
11024
+ updated_at?: string;
11025
+ verstuurd_at?: string | null;
11026
+ vraag_id?: string | null;
11027
+ };
11028
+ Update: {
11029
+ aangeboden_at?: string;
11030
+ besluit_at?: string | null;
11031
+ body?: Json | null;
11032
+ caller?: string | null;
11033
+ connection_id?: string;
11034
+ created_at?: string;
11035
+ delivery_order_id?: string;
11036
+ fout?: string | null;
11037
+ fulfillment_order_id?: string | null;
11038
+ id?: string;
11039
+ order_id?: string | null;
11040
+ order_ref?: string | null;
11041
+ pogingen?: number;
11042
+ stand?: string | null;
11043
+ status?: string;
11044
+ uitkomst?: Json | null;
11045
+ updated_at?: string;
11046
+ verstuurd_at?: string | null;
11047
+ vraag_id?: string | null;
11048
+ };
11049
+ Relationships: [];
11050
+ };
11051
+ floriday_toets_afleveropdrachten: {
11052
+ Row: {
11053
+ auction_date: string | null;
11054
+ connection_id: string;
11055
+ data: Json | null;
11056
+ delivery_order_id: string | null;
11057
+ despatch_warehouse_id: string | null;
11058
+ destination_warehouse_id: string | null;
11059
+ fetched_at: string;
11060
+ floriday_id: string;
11061
+ id: string;
11062
+ is_deleted: boolean;
11063
+ latest_delivery_at: string | null;
11064
+ load_carrier_type: string | null;
11065
+ one_label_only: boolean | null;
11066
+ sequence_number: number | null;
11067
+ status: string | null;
11068
+ verzoek_id: string | null;
11069
+ };
11070
+ Insert: {
11071
+ auction_date?: string | null;
11072
+ connection_id: string;
11073
+ data?: Json | null;
11074
+ delivery_order_id?: string | null;
11075
+ despatch_warehouse_id?: string | null;
11076
+ destination_warehouse_id?: string | null;
11077
+ fetched_at?: string;
11078
+ floriday_id: string;
11079
+ id?: string;
11080
+ is_deleted?: boolean;
11081
+ latest_delivery_at?: string | null;
11082
+ load_carrier_type?: string | null;
11083
+ one_label_only?: boolean | null;
11084
+ sequence_number?: number | null;
11085
+ status?: string | null;
11086
+ verzoek_id?: string | null;
11087
+ };
11088
+ Update: {
11089
+ auction_date?: string | null;
11090
+ connection_id?: string;
11091
+ data?: Json | null;
11092
+ delivery_order_id?: string | null;
11093
+ despatch_warehouse_id?: string | null;
11094
+ destination_warehouse_id?: string | null;
11095
+ fetched_at?: string;
11096
+ floriday_id?: string;
11097
+ id?: string;
11098
+ is_deleted?: boolean;
11099
+ latest_delivery_at?: string | null;
11100
+ load_carrier_type?: string | null;
11101
+ one_label_only?: boolean | null;
11102
+ sequence_number?: number | null;
11103
+ status?: string | null;
11104
+ verzoek_id?: string | null;
11105
+ };
11106
+ Relationships: [];
11107
+ };
11108
+ floriday_toets_handelsartikelen: {
11109
+ Row: {
11110
+ connection_id: string;
11111
+ data: Json | null;
11112
+ fetched_at: string;
11113
+ floriday_id: string;
11114
+ id: string;
11115
+ is_deleted: boolean;
11116
+ sequence_number: number | null;
11117
+ verzoek_id: string | null;
11118
+ };
11119
+ Insert: {
11120
+ connection_id: string;
11121
+ data?: Json | null;
11122
+ fetched_at?: string;
11123
+ floriday_id: string;
11124
+ id?: string;
11125
+ is_deleted?: boolean;
11126
+ sequence_number?: number | null;
11127
+ verzoek_id?: string | null;
11128
+ };
11129
+ Update: {
11130
+ connection_id?: string;
11131
+ data?: Json | null;
11132
+ fetched_at?: string;
11133
+ floriday_id?: string;
11134
+ id?: string;
11135
+ is_deleted?: boolean;
11136
+ sequence_number?: number | null;
11137
+ verzoek_id?: string | null;
11138
+ };
11139
+ Relationships: [];
11140
+ };
10520
11141
  floriday_token_refresh_log: {
10521
11142
  Row: {
10522
11143
  attempted_at: string;
@@ -13642,6 +14263,54 @@ export type Database = {
13642
14263
  };
13643
14264
  Relationships: [];
13644
14265
  };
14266
+ klanten_ververs_log: {
14267
+ Row: {
14268
+ bron: string;
14269
+ created_at: string;
14270
+ duur_ms: number | null;
14271
+ id: number;
14272
+ melding: string | null;
14273
+ status: string;
14274
+ verzoeken: number;
14275
+ };
14276
+ Insert: {
14277
+ bron: string;
14278
+ created_at?: string;
14279
+ duur_ms?: number | null;
14280
+ id?: number;
14281
+ melding?: string | null;
14282
+ status: string;
14283
+ verzoeken?: number;
14284
+ };
14285
+ Update: {
14286
+ bron?: string;
14287
+ created_at?: string;
14288
+ duur_ms?: number | null;
14289
+ id?: number;
14290
+ melding?: string | null;
14291
+ status?: string;
14292
+ verzoeken?: number;
14293
+ };
14294
+ Relationships: [];
14295
+ };
14296
+ klanten_ververs_vlag: {
14297
+ Row: {
14298
+ bron: string;
14299
+ created_at: string;
14300
+ id: number;
14301
+ };
14302
+ Insert: {
14303
+ bron: string;
14304
+ created_at?: string;
14305
+ id?: number;
14306
+ };
14307
+ Update: {
14308
+ bron?: string;
14309
+ created_at?: string;
14310
+ id?: number;
14311
+ };
14312
+ Relationships: [];
14313
+ };
13645
14314
  layout_auto_acties: {
13646
14315
  Row: {
13647
14316
  actie: string;
@@ -13818,6 +14487,36 @@ export type Database = {
13818
14487
  };
13819
14488
  Relationships: [];
13820
14489
  };
14490
+ layouts_documentsoort_alias: {
14491
+ Row: {
14492
+ bron: string;
14493
+ bron_waarde: string;
14494
+ created_at: string;
14495
+ documentsoort: string;
14496
+ id: string;
14497
+ opmerking: string | null;
14498
+ updated_at: string;
14499
+ };
14500
+ Insert: {
14501
+ bron: string;
14502
+ bron_waarde: string;
14503
+ created_at?: string;
14504
+ documentsoort: string;
14505
+ id?: string;
14506
+ opmerking?: string | null;
14507
+ updated_at?: string;
14508
+ };
14509
+ Update: {
14510
+ bron?: string;
14511
+ bron_waarde?: string;
14512
+ created_at?: string;
14513
+ documentsoort?: string;
14514
+ id?: string;
14515
+ opmerking?: string | null;
14516
+ updated_at?: string;
14517
+ };
14518
+ Relationships: [];
14519
+ };
13821
14520
  leave_requests: {
13822
14521
  Row: {
13823
14522
  cancellation_requested_at: string | null;
@@ -14046,6 +14745,13 @@ export type Database = {
14046
14745
  referencedRelation: "customers";
14047
14746
  referencedColumns: ["id"];
14048
14747
  },
14748
+ {
14749
+ foreignKeyName: "local_customer_agreements_customer_id_fkey";
14750
+ columns: ["customer_id"];
14751
+ isOneToOne: false;
14752
+ referencedRelation: "klanten_selecteerbaar";
14753
+ referencedColumns: ["id"];
14754
+ },
14049
14755
  {
14050
14756
  foreignKeyName: "local_customer_agreements_product_category_id_fkey";
14051
14757
  columns: ["product_category_id"];
@@ -14116,6 +14822,13 @@ export type Database = {
14116
14822
  referencedRelation: "customers";
14117
14823
  referencedColumns: ["id"];
14118
14824
  },
14825
+ {
14826
+ foreignKeyName: "local_customer_price_groups_customer_id_fkey";
14827
+ columns: ["customer_id"];
14828
+ isOneToOne: false;
14829
+ referencedRelation: "klanten_selecteerbaar";
14830
+ referencedColumns: ["id"];
14831
+ },
14119
14832
  {
14120
14833
  foreignKeyName: "local_customer_price_groups_product_category_id_fkey";
14121
14834
  columns: ["product_category_id"];
@@ -14186,6 +14899,13 @@ export type Database = {
14186
14899
  referencedRelation: "customers";
14187
14900
  referencedColumns: ["id"];
14188
14901
  },
14902
+ {
14903
+ foreignKeyName: "local_customer_sales_strategies_customer_id_fkey";
14904
+ columns: ["customer_id"];
14905
+ isOneToOne: false;
14906
+ referencedRelation: "klanten_selecteerbaar";
14907
+ referencedColumns: ["id"];
14908
+ },
14189
14909
  {
14190
14910
  foreignKeyName: "local_customer_sales_strategies_product_category_id_fkey";
14191
14911
  columns: ["product_category_id"];
@@ -14433,6 +15153,42 @@ export type Database = {
14433
15153
  };
14434
15154
  Relationships: [];
14435
15155
  };
15156
+ logistics_bel_meldingen: {
15157
+ Row: {
15158
+ created_at: string;
15159
+ id: string;
15160
+ link: string | null;
15161
+ notification_id: string | null;
15162
+ sleutel: string;
15163
+ tekst: string;
15164
+ titel: string;
15165
+ updated_at: string;
15166
+ user_id: string;
15167
+ };
15168
+ Insert: {
15169
+ created_at?: string;
15170
+ id?: string;
15171
+ link?: string | null;
15172
+ notification_id?: string | null;
15173
+ sleutel: string;
15174
+ tekst: string;
15175
+ titel: string;
15176
+ updated_at?: string;
15177
+ user_id: string;
15178
+ };
15179
+ Update: {
15180
+ created_at?: string;
15181
+ id?: string;
15182
+ link?: string | null;
15183
+ notification_id?: string | null;
15184
+ sleutel?: string;
15185
+ tekst?: string;
15186
+ titel?: string;
15187
+ updated_at?: string;
15188
+ user_id?: string;
15189
+ };
15190
+ Relationships: [];
15191
+ };
14436
15192
  logistics_belading_bevestigingen: {
14437
15193
  Row: {
14438
15194
  bevestigd_door: string | null;
@@ -14532,6 +15288,84 @@ export type Database = {
14532
15288
  };
14533
15289
  Relationships: [];
14534
15290
  };
15291
+ logistics_beslismoment_gelogd: {
15292
+ Row: {
15293
+ actie: string;
15294
+ created_at: string;
15295
+ moment: string;
15296
+ sleutel: string;
15297
+ updated_at: string;
15298
+ };
15299
+ Insert: {
15300
+ actie: string;
15301
+ created_at?: string;
15302
+ moment: string;
15303
+ sleutel: string;
15304
+ updated_at?: string;
15305
+ };
15306
+ Update: {
15307
+ actie?: string;
15308
+ created_at?: string;
15309
+ moment?: string;
15310
+ sleutel?: string;
15311
+ updated_at?: string;
15312
+ };
15313
+ Relationships: [];
15314
+ };
15315
+ logistics_beslismoment_vragen: {
15316
+ Row: {
15317
+ besluit_at: string | null;
15318
+ besluit_door: string | null;
15319
+ besluit_door_naam: string | null;
15320
+ cart_id: string | null;
15321
+ created_at: string;
15322
+ id: string;
15323
+ moment: string;
15324
+ order_id: string | null;
15325
+ sleutel: string;
15326
+ status: string;
15327
+ uitkomst: Json | null;
15328
+ updated_at: string;
15329
+ voorstel: Json | null;
15330
+ vraag: string;
15331
+ waarom: string | null;
15332
+ };
15333
+ Insert: {
15334
+ besluit_at?: string | null;
15335
+ besluit_door?: string | null;
15336
+ besluit_door_naam?: string | null;
15337
+ cart_id?: string | null;
15338
+ created_at?: string;
15339
+ id?: string;
15340
+ moment: string;
15341
+ order_id?: string | null;
15342
+ sleutel: string;
15343
+ status?: string;
15344
+ uitkomst?: Json | null;
15345
+ updated_at?: string;
15346
+ voorstel?: Json | null;
15347
+ vraag: string;
15348
+ waarom?: string | null;
15349
+ };
15350
+ Update: {
15351
+ besluit_at?: string | null;
15352
+ besluit_door?: string | null;
15353
+ besluit_door_naam?: string | null;
15354
+ cart_id?: string | null;
15355
+ created_at?: string;
15356
+ id?: string;
15357
+ moment?: string;
15358
+ order_id?: string | null;
15359
+ sleutel?: string;
15360
+ status?: string;
15361
+ uitkomst?: Json | null;
15362
+ updated_at?: string;
15363
+ voorstel?: Json | null;
15364
+ vraag?: string;
15365
+ waarom?: string | null;
15366
+ };
15367
+ Relationships: [];
15368
+ };
14535
15369
  logistics_capacity_alerts: {
14536
15370
  Row: {
14537
15371
  available_minutes: number;
@@ -14834,6 +15668,78 @@ export type Database = {
14834
15668
  };
14835
15669
  Relationships: [];
14836
15670
  };
15671
+ logistics_cart_wacht_vast: {
15672
+ Row: {
15673
+ bron: string;
15674
+ cart_id: string;
15675
+ vastgelegd_at: string;
15676
+ wacht_tot: string | null;
15677
+ };
15678
+ Insert: {
15679
+ bron: string;
15680
+ cart_id: string;
15681
+ vastgelegd_at?: string;
15682
+ wacht_tot?: string | null;
15683
+ };
15684
+ Update: {
15685
+ bron?: string;
15686
+ cart_id?: string;
15687
+ vastgelegd_at?: string;
15688
+ wacht_tot?: string | null;
15689
+ };
15690
+ Relationships: [];
15691
+ };
15692
+ logistics_control_afwijking_meldingen: {
15693
+ Row: {
15694
+ barcode: string | null;
15695
+ cart_id: string;
15696
+ created_at: string;
15697
+ gemeld_at: string;
15698
+ gemeld_door: string | null;
15699
+ gemeld_door_naam: string | null;
15700
+ id: string;
15701
+ opgelost_at: string | null;
15702
+ opgelost_door: string | null;
15703
+ opgelost_reden: string | null;
15704
+ order_id: string | null;
15705
+ reden: string | null;
15706
+ stand: string;
15707
+ updated_at: string;
15708
+ };
15709
+ Insert: {
15710
+ barcode?: string | null;
15711
+ cart_id: string;
15712
+ created_at?: string;
15713
+ gemeld_at?: string;
15714
+ gemeld_door?: string | null;
15715
+ gemeld_door_naam?: string | null;
15716
+ id?: string;
15717
+ opgelost_at?: string | null;
15718
+ opgelost_door?: string | null;
15719
+ opgelost_reden?: string | null;
15720
+ order_id?: string | null;
15721
+ reden?: string | null;
15722
+ stand: string;
15723
+ updated_at?: string;
15724
+ };
15725
+ Update: {
15726
+ barcode?: string | null;
15727
+ cart_id?: string;
15728
+ created_at?: string;
15729
+ gemeld_at?: string;
15730
+ gemeld_door?: string | null;
15731
+ gemeld_door_naam?: string | null;
15732
+ id?: string;
15733
+ opgelost_at?: string | null;
15734
+ opgelost_door?: string | null;
15735
+ opgelost_reden?: string | null;
15736
+ order_id?: string | null;
15737
+ reden?: string | null;
15738
+ stand?: string;
15739
+ updated_at?: string;
15740
+ };
15741
+ Relationships: [];
15742
+ };
14837
15743
  logistics_control_scan: {
14838
15744
  Row: {
14839
15745
  approved_at: string | null;
@@ -15305,6 +16211,69 @@ export type Database = {
15305
16211
  };
15306
16212
  Relationships: [];
15307
16213
  };
16214
+ logistics_floriday_herprint: {
16215
+ Row: {
16216
+ aangevraagd_door: string | null;
16217
+ aangevraagd_door_naam: string | null;
16218
+ antwoord: Json | null;
16219
+ created_at: string;
16220
+ document_version_id: string | null;
16221
+ fulfillment_order_id: string;
16222
+ id: string;
16223
+ idempotentie_sleutel: string | null;
16224
+ kopieen: number;
16225
+ locked_until: string | null;
16226
+ order_id: string | null;
16227
+ order_number: string | null;
16228
+ pogingen: number;
16229
+ print_plek_id: string | null;
16230
+ reden: string | null;
16231
+ status: string;
16232
+ updated_at: string;
16233
+ volgende_poging_at: string;
16234
+ };
16235
+ Insert: {
16236
+ aangevraagd_door?: string | null;
16237
+ aangevraagd_door_naam?: string | null;
16238
+ antwoord?: Json | null;
16239
+ created_at?: string;
16240
+ document_version_id?: string | null;
16241
+ fulfillment_order_id: string;
16242
+ id?: string;
16243
+ idempotentie_sleutel?: string | null;
16244
+ kopieen?: number;
16245
+ locked_until?: string | null;
16246
+ order_id?: string | null;
16247
+ order_number?: string | null;
16248
+ pogingen?: number;
16249
+ print_plek_id?: string | null;
16250
+ reden?: string | null;
16251
+ status?: string;
16252
+ updated_at?: string;
16253
+ volgende_poging_at?: string;
16254
+ };
16255
+ Update: {
16256
+ aangevraagd_door?: string | null;
16257
+ aangevraagd_door_naam?: string | null;
16258
+ antwoord?: Json | null;
16259
+ created_at?: string;
16260
+ document_version_id?: string | null;
16261
+ fulfillment_order_id?: string;
16262
+ id?: string;
16263
+ idempotentie_sleutel?: string | null;
16264
+ kopieen?: number;
16265
+ locked_until?: string | null;
16266
+ order_id?: string | null;
16267
+ order_number?: string | null;
16268
+ pogingen?: number;
16269
+ print_plek_id?: string | null;
16270
+ reden?: string | null;
16271
+ status?: string;
16272
+ updated_at?: string;
16273
+ volgende_poging_at?: string;
16274
+ };
16275
+ Relationships: [];
16276
+ };
15308
16277
  logistics_floriday_push_refusals: {
15309
16278
  Row: {
15310
16279
  action: string | null;
@@ -15526,6 +16495,39 @@ export type Database = {
15526
16495
  };
15527
16496
  Relationships: [];
15528
16497
  };
16498
+ logistics_gewijzigd_na_print_besluit: {
16499
+ Row: {
16500
+ besluit: string;
16501
+ created_at: string;
16502
+ door: string | null;
16503
+ door_naam: string | null;
16504
+ id: string;
16505
+ order_id: string;
16506
+ signaal: string;
16507
+ updated_at: string;
16508
+ };
16509
+ Insert: {
16510
+ besluit: string;
16511
+ created_at?: string;
16512
+ door?: string | null;
16513
+ door_naam?: string | null;
16514
+ id?: string;
16515
+ order_id: string;
16516
+ signaal: string;
16517
+ updated_at?: string;
16518
+ };
16519
+ Update: {
16520
+ besluit?: string;
16521
+ created_at?: string;
16522
+ door?: string | null;
16523
+ door_naam?: string | null;
16524
+ id?: string;
16525
+ order_id?: string;
16526
+ signaal?: string;
16527
+ updated_at?: string;
16528
+ };
16529
+ Relationships: [];
16530
+ };
15529
16531
  logistics_index_log: {
15530
16532
  Row: {
15531
16533
  aangemaakt_at: string;
@@ -17716,6 +18718,39 @@ export type Database = {
17716
18718
  };
17717
18719
  Relationships: [];
17718
18720
  };
18721
+ logistics_niet_afgemeld_archief: {
18722
+ Row: {
18723
+ created_at: string;
18724
+ door: string;
18725
+ gearchiveerd_at: string;
18726
+ leverdag: string | null;
18727
+ order_id: string;
18728
+ reden: string;
18729
+ status_bij_archiveren: string | null;
18730
+ updated_at: string;
18731
+ };
18732
+ Insert: {
18733
+ created_at?: string;
18734
+ door?: string;
18735
+ gearchiveerd_at?: string;
18736
+ leverdag?: string | null;
18737
+ order_id: string;
18738
+ reden: string;
18739
+ status_bij_archiveren?: string | null;
18740
+ updated_at?: string;
18741
+ };
18742
+ Update: {
18743
+ created_at?: string;
18744
+ door?: string;
18745
+ gearchiveerd_at?: string;
18746
+ leverdag?: string | null;
18747
+ order_id?: string;
18748
+ reden?: string;
18749
+ status_bij_archiveren?: string | null;
18750
+ updated_at?: string;
18751
+ };
18752
+ Relationships: [];
18753
+ };
17719
18754
  logistics_opening_exceptions: {
17720
18755
  Row: {
17721
18756
  closes: string | null;
@@ -18018,6 +19053,45 @@ export type Database = {
18018
19053
  }
18019
19054
  ];
18020
19055
  };
19056
+ logistics_order_signalen: {
19057
+ Row: {
19058
+ created_at: string;
19059
+ id: number;
19060
+ order_id: string;
19061
+ reden: string;
19062
+ };
19063
+ Insert: {
19064
+ created_at?: string;
19065
+ id?: never;
19066
+ order_id: string;
19067
+ reden: string;
19068
+ };
19069
+ Update: {
19070
+ created_at?: string;
19071
+ id?: never;
19072
+ order_id?: string;
19073
+ reden?: string;
19074
+ };
19075
+ Relationships: [];
19076
+ };
19077
+ logistics_order_spoed: {
19078
+ Row: {
19079
+ order_id: string;
19080
+ reden: string;
19081
+ vastgelegd_at: string;
19082
+ };
19083
+ Insert: {
19084
+ order_id: string;
19085
+ reden: string;
19086
+ vastgelegd_at?: string;
19087
+ };
19088
+ Update: {
19089
+ order_id?: string;
19090
+ reden?: string;
19091
+ vastgelegd_at?: string;
19092
+ };
19093
+ Relationships: [];
19094
+ };
18021
19095
  logistics_order_sticker_warnings: {
18022
19096
  Row: {
18023
19097
  benodigd_breedte_mm: number | null;
@@ -19731,6 +20805,7 @@ export type Database = {
19731
20805
  };
19732
20806
  logistics_toets_leveringen: {
19733
20807
  Row: {
20808
+ artikelen: Json | null;
19734
20809
  berekend_op: string | null;
19735
20810
  bestemming: string | null;
19736
20811
  floriday: Json;
@@ -19739,6 +20814,7 @@ export type Database = {
19739
20814
  kern: Json | null;
19740
20815
  kern_karren: number | null;
19741
20816
  leverdatum: string | null;
20817
+ niet_te_beoordelen_reden: string | null;
19742
20818
  run_id: string;
19743
20819
  soort: string | null;
19744
20820
  status: string;
@@ -19746,6 +20822,7 @@ export type Database = {
19746
20822
  zoektekst: string | null;
19747
20823
  };
19748
20824
  Insert: {
20825
+ artikelen?: Json | null;
19749
20826
  berekend_op?: string | null;
19750
20827
  bestemming?: string | null;
19751
20828
  floriday?: Json;
@@ -19754,6 +20831,7 @@ export type Database = {
19754
20831
  kern?: Json | null;
19755
20832
  kern_karren?: number | null;
19756
20833
  leverdatum?: string | null;
20834
+ niet_te_beoordelen_reden?: string | null;
19757
20835
  run_id: string;
19758
20836
  soort?: string | null;
19759
20837
  status?: string;
@@ -19761,6 +20839,7 @@ export type Database = {
19761
20839
  zoektekst?: string | null;
19762
20840
  };
19763
20841
  Update: {
20842
+ artikelen?: Json | null;
19764
20843
  berekend_op?: string | null;
19765
20844
  bestemming?: string | null;
19766
20845
  floriday?: Json;
@@ -19769,6 +20848,7 @@ export type Database = {
19769
20848
  kern?: Json | null;
19770
20849
  kern_karren?: number | null;
19771
20850
  leverdatum?: string | null;
20851
+ niet_te_beoordelen_reden?: string | null;
19772
20852
  run_id?: string;
19773
20853
  soort?: string | null;
19774
20854
  status?: string;
@@ -19788,6 +20868,7 @@ export type Database = {
19788
20868
  logistics_toets_runs: {
19789
20869
  Row: {
19790
20870
  afgerond_op: string | null;
20871
+ bron: string | null;
19791
20872
  gestart_door: string | null;
19792
20873
  gestart_door_naam: string | null;
19793
20874
  gestart_op: string;
@@ -19807,6 +20888,7 @@ export type Database = {
19807
20888
  };
19808
20889
  Insert: {
19809
20890
  afgerond_op?: string | null;
20891
+ bron?: string | null;
19810
20892
  gestart_door?: string | null;
19811
20893
  gestart_door_naam?: string | null;
19812
20894
  gestart_op?: string;
@@ -19826,6 +20908,7 @@ export type Database = {
19826
20908
  };
19827
20909
  Update: {
19828
20910
  afgerond_op?: string | null;
20911
+ bron?: string | null;
19829
20912
  gestart_door?: string | null;
19830
20913
  gestart_door_naam?: string | null;
19831
20914
  gestart_op?: string;
@@ -20124,6 +21207,21 @@ export type Database = {
20124
21207
  };
20125
21208
  Relationships: [];
20126
21209
  };
21210
+ logistics_wek_order: {
21211
+ Row: {
21212
+ laatst_at: string;
21213
+ order_id: string;
21214
+ };
21215
+ Insert: {
21216
+ laatst_at?: string;
21217
+ order_id: string;
21218
+ };
21219
+ Update: {
21220
+ laatst_at?: string;
21221
+ order_id?: string;
21222
+ };
21223
+ Relationships: [];
21224
+ };
20127
21225
  logistics_werker_stand: {
20128
21226
  Row: {
20129
21227
  bijgewerkt_op: string;
@@ -20315,6 +21413,7 @@ export type Database = {
20315
21413
  };
20316
21414
  mailbox_filter_settings: {
20317
21415
  Row: {
21416
+ afroep_reservering_aan: boolean;
20318
21417
  analyze_unknown_with_signals: boolean;
20319
21418
  conf_green: number;
20320
21419
  conf_orange: number;
@@ -20341,6 +21440,7 @@ export type Database = {
20341
21440
  updated_at: string;
20342
21441
  };
20343
21442
  Insert: {
21443
+ afroep_reservering_aan?: boolean;
20344
21444
  analyze_unknown_with_signals?: boolean;
20345
21445
  conf_green?: number;
20346
21446
  conf_orange?: number;
@@ -20367,6 +21467,7 @@ export type Database = {
20367
21467
  updated_at?: string;
20368
21468
  };
20369
21469
  Update: {
21470
+ afroep_reservering_aan?: boolean;
20370
21471
  analyze_unknown_with_signals?: boolean;
20371
21472
  conf_green?: number;
20372
21473
  conf_orange?: number;
@@ -20495,6 +21596,13 @@ export type Database = {
20495
21596
  isOneToOne: false;
20496
21597
  referencedRelation: "customers";
20497
21598
  referencedColumns: ["id"];
21599
+ },
21600
+ {
21601
+ foreignKeyName: "mailbox_learned_customers_customer_id_fkey";
21602
+ columns: ["customer_id"];
21603
+ isOneToOne: false;
21604
+ referencedRelation: "klanten_selecteerbaar";
21605
+ referencedColumns: ["id"];
20498
21606
  }
20499
21607
  ];
20500
21608
  };
@@ -20631,6 +21739,7 @@ export type Database = {
20631
21739
  notes: string | null;
20632
21740
  order_number: string | null;
20633
21741
  parsed_payload: Json | null;
21742
+ reservation_calloff_result: Json | null;
20634
21743
  reviewed_at: string | null;
20635
21744
  reviewed_by: string | null;
20636
21745
  status: string;
@@ -20650,6 +21759,7 @@ export type Database = {
20650
21759
  notes?: string | null;
20651
21760
  order_number?: string | null;
20652
21761
  parsed_payload?: Json | null;
21762
+ reservation_calloff_result?: Json | null;
20653
21763
  reviewed_at?: string | null;
20654
21764
  reviewed_by?: string | null;
20655
21765
  status?: string;
@@ -20669,6 +21779,7 @@ export type Database = {
20669
21779
  notes?: string | null;
20670
21780
  order_number?: string | null;
20671
21781
  parsed_payload?: Json | null;
21782
+ reservation_calloff_result?: Json | null;
20672
21783
  reviewed_at?: string | null;
20673
21784
  reviewed_by?: string | null;
20674
21785
  status?: string;
@@ -20689,6 +21800,13 @@ export type Database = {
20689
21800
  referencedRelation: "customers";
20690
21801
  referencedColumns: ["id"];
20691
21802
  },
21803
+ {
21804
+ foreignKeyName: "mailbox_order_proposals_matched_customer_id_fkey";
21805
+ columns: ["matched_customer_id"];
21806
+ isOneToOne: false;
21807
+ referencedRelation: "klanten_selecteerbaar";
21808
+ referencedColumns: ["id"];
21809
+ },
20692
21810
  {
20693
21811
  foreignKeyName: "mailbox_order_proposals_message_id_fkey";
20694
21812
  columns: ["message_id"];
@@ -22232,6 +23350,13 @@ export type Database = {
22232
23350
  referencedRelation: "customers";
22233
23351
  referencedColumns: ["id"];
22234
23352
  },
23353
+ {
23354
+ foreignKeyName: "offer_orders_customer_id_fkey";
23355
+ columns: ["customer_id"];
23356
+ isOneToOne: false;
23357
+ referencedRelation: "klanten_selecteerbaar";
23358
+ referencedColumns: ["id"];
23359
+ },
22235
23360
  {
22236
23361
  foreignKeyName: "offer_orders_order_id_fkey";
22237
23362
  columns: ["order_id"];
@@ -22312,6 +23437,13 @@ export type Database = {
22312
23437
  isOneToOne: false;
22313
23438
  referencedRelation: "customers";
22314
23439
  referencedColumns: ["id"];
23440
+ },
23441
+ {
23442
+ foreignKeyName: "offer_recipients_customer_id_fkey";
23443
+ columns: ["customer_id"];
23444
+ isOneToOne: false;
23445
+ referencedRelation: "klanten_selecteerbaar";
23446
+ referencedColumns: ["id"];
22315
23447
  }
22316
23448
  ];
22317
23449
  };
@@ -23315,6 +24447,13 @@ export type Database = {
23315
24447
  isOneToOne: false;
23316
24448
  referencedRelation: "customers";
23317
24449
  referencedColumns: ["id"];
24450
+ },
24451
+ {
24452
+ foreignKeyName: "orders_customer_id_fkey";
24453
+ columns: ["customer_id"];
24454
+ isOneToOne: false;
24455
+ referencedRelation: "klanten_selecteerbaar";
24456
+ referencedColumns: ["id"];
23318
24457
  }
23319
24458
  ];
23320
24459
  };
@@ -26184,6 +27323,7 @@ export type Database = {
26184
27323
  actief: boolean;
26185
27324
  created_at: string;
26186
27325
  id: string;
27326
+ is_controleplek: boolean | null;
26187
27327
  naam: string;
26188
27328
  omschrijving: string | null;
26189
27329
  updated_at: string;
@@ -26194,6 +27334,7 @@ export type Database = {
26194
27334
  actief?: boolean;
26195
27335
  created_at?: string;
26196
27336
  id?: string;
27337
+ is_controleplek?: boolean | null;
26197
27338
  naam: string;
26198
27339
  omschrijving?: string | null;
26199
27340
  updated_at?: string;
@@ -26204,6 +27345,7 @@ export type Database = {
26204
27345
  actief?: boolean;
26205
27346
  created_at?: string;
26206
27347
  id?: string;
27348
+ is_controleplek?: boolean | null;
26207
27349
  naam?: string;
26208
27350
  omschrijving?: string | null;
26209
27351
  updated_at?: string;
@@ -31909,6 +33051,13 @@ export type Database = {
31909
33051
  isOneToOne: false;
31910
33052
  referencedRelation: "customers";
31911
33053
  referencedColumns: ["id"];
33054
+ },
33055
+ {
33056
+ foreignKeyName: "twinfield_push_queue_customer_id_fkey";
33057
+ columns: ["customer_id"];
33058
+ isOneToOne: false;
33059
+ referencedRelation: "klanten_selecteerbaar";
33060
+ referencedColumns: ["id"];
31912
33061
  }
31913
33062
  ];
31914
33063
  };
@@ -34060,6 +35209,57 @@ export type Database = {
34060
35209
  };
34061
35210
  Relationships: [];
34062
35211
  };
35212
+ verkoop_orderregel_extra: {
35213
+ Row: {
35214
+ created_at: string;
35215
+ fust_sticker_id: string | null;
35216
+ line_fields: Json;
35217
+ line_note: string | null;
35218
+ order_id: string;
35219
+ order_item_id: string;
35220
+ product_sticker_id: string | null;
35221
+ updated_at: string;
35222
+ updated_by: string | null;
35223
+ };
35224
+ Insert: {
35225
+ created_at?: string;
35226
+ fust_sticker_id?: string | null;
35227
+ line_fields?: Json;
35228
+ line_note?: string | null;
35229
+ order_id: string;
35230
+ order_item_id: string;
35231
+ product_sticker_id?: string | null;
35232
+ updated_at?: string;
35233
+ updated_by?: string | null;
35234
+ };
35235
+ Update: {
35236
+ created_at?: string;
35237
+ fust_sticker_id?: string | null;
35238
+ line_fields?: Json;
35239
+ line_note?: string | null;
35240
+ order_id?: string;
35241
+ order_item_id?: string;
35242
+ product_sticker_id?: string | null;
35243
+ updated_at?: string;
35244
+ updated_by?: string | null;
35245
+ };
35246
+ Relationships: [
35247
+ {
35248
+ foreignKeyName: "verkoop_orderregel_extra_fust_sticker_fkey";
35249
+ columns: ["fust_sticker_id"];
35250
+ isOneToOne: false;
35251
+ referencedRelation: "customer_fust_stickers";
35252
+ referencedColumns: ["id"];
35253
+ },
35254
+ {
35255
+ foreignKeyName: "verkoop_orderregel_extra_product_sticker_fkey";
35256
+ columns: ["product_sticker_id"];
35257
+ isOneToOne: false;
35258
+ referencedRelation: "customer_product_stickers";
35259
+ referencedColumns: ["id"];
35260
+ }
35261
+ ];
35262
+ };
34063
35263
  verkoop_pickup_locations: {
34064
35264
  Row: {
34065
35265
  address_line: string | null;
@@ -34102,6 +35302,48 @@ export type Database = {
34102
35302
  };
34103
35303
  Relationships: [];
34104
35304
  };
35305
+ verkoop_reservering_afroep: {
35306
+ Row: {
35307
+ created_at: string;
35308
+ created_by: string | null;
35309
+ id: string;
35310
+ order_id: string;
35311
+ regels: Json;
35312
+ reservering_id: string;
35313
+ };
35314
+ Insert: {
35315
+ created_at?: string;
35316
+ created_by?: string | null;
35317
+ id?: string;
35318
+ order_id: string;
35319
+ regels?: Json;
35320
+ reservering_id: string;
35321
+ };
35322
+ Update: {
35323
+ created_at?: string;
35324
+ created_by?: string | null;
35325
+ id?: string;
35326
+ order_id?: string;
35327
+ regels?: Json;
35328
+ reservering_id?: string;
35329
+ };
35330
+ Relationships: [
35331
+ {
35332
+ foreignKeyName: "verkoop_reservering_afroep_order_id_fkey";
35333
+ columns: ["order_id"];
35334
+ isOneToOne: false;
35335
+ referencedRelation: "orders";
35336
+ referencedColumns: ["id"];
35337
+ },
35338
+ {
35339
+ foreignKeyName: "verkoop_reservering_afroep_reservering_id_fkey";
35340
+ columns: ["reservering_id"];
35341
+ isOneToOne: false;
35342
+ referencedRelation: "orders";
35343
+ referencedColumns: ["id"];
35344
+ }
35345
+ ];
35346
+ };
34105
35347
  verkoop_sync_state: {
34106
35348
  Row: {
34107
35349
  details: Json | null;
@@ -35228,6 +36470,30 @@ export type Database = {
35228
36470
  };
35229
36471
  Relationships: [];
35230
36472
  };
36473
+ voorraad_taak_stand: {
36474
+ Row: {
36475
+ laatste_at: string;
36476
+ laatste_fout: string | null;
36477
+ resultaat: Json;
36478
+ taak: string;
36479
+ updated_at: string;
36480
+ };
36481
+ Insert: {
36482
+ laatste_at?: string;
36483
+ laatste_fout?: string | null;
36484
+ resultaat?: Json;
36485
+ taak: string;
36486
+ updated_at?: string;
36487
+ };
36488
+ Update: {
36489
+ laatste_at?: string;
36490
+ laatste_fout?: string | null;
36491
+ resultaat?: Json;
36492
+ taak?: string;
36493
+ updated_at?: string;
36494
+ };
36495
+ Relationships: [];
36496
+ };
35231
36497
  voorraad_telmoment: {
35232
36498
  Row: {
35233
36499
  created_at: string;
@@ -37252,6 +38518,296 @@ export type Database = {
37252
38518
  };
37253
38519
  Relationships: [];
37254
38520
  };
38521
+ klanten_selecteerbaar: {
38522
+ Row: {
38523
+ address: string | null;
38524
+ address_line1: string | null;
38525
+ address_line2: string | null;
38526
+ address_type: string | null;
38527
+ attention_to: string | null;
38528
+ bank_account_holder: string | null;
38529
+ bank_account_number: string | null;
38530
+ bank_address_line1: string | null;
38531
+ bank_address_line2: string | null;
38532
+ bank_bic: string | null;
38533
+ bank_city: string | null;
38534
+ bank_country: string | null;
38535
+ bank_house_number: string | null;
38536
+ bank_iban: string | null;
38537
+ bank_name: string | null;
38538
+ bank_national_code: string | null;
38539
+ bank_postal_code: string | null;
38540
+ bank_state: string | null;
38541
+ billing_email: string | null;
38542
+ bio: string | null;
38543
+ blocked: boolean | null;
38544
+ blocked_locked: boolean | null;
38545
+ blocked_modified: string | null;
38546
+ city: string | null;
38547
+ coc_number: string | null;
38548
+ commercial_name: string | null;
38549
+ company_name: string | null;
38550
+ connection_status: string | null;
38551
+ contact_person: string | null;
38552
+ country: string | null;
38553
+ created_at: string | null;
38554
+ credit_limit: number | null;
38555
+ credit_manager: string | null;
38556
+ credit_manager_name: string | null;
38557
+ credit_manager_shortname: string | null;
38558
+ custom_fields: Json | null;
38559
+ customer_class: string | null;
38560
+ customer_number: string | null;
38561
+ default_carrier_id: string | null;
38562
+ discount_days: number | null;
38563
+ discount_percentage: number | null;
38564
+ discount_surcharge: string | null;
38565
+ e_invoicing: boolean | null;
38566
+ email: string | null;
38567
+ external_id: string | null;
38568
+ fax: string | null;
38569
+ floriday_connection_id: string | null;
38570
+ floriday_organization_id: string | null;
38571
+ floriday_raw: Json | null;
38572
+ gln: string | null;
38573
+ house_number: string | null;
38574
+ icp_country_code: string | null;
38575
+ id: string | null;
38576
+ invoice_send_as: string | null;
38577
+ is_active: boolean | null;
38578
+ language: string | null;
38579
+ last_synced_at: string | null;
38580
+ ledger_account: string | null;
38581
+ logo_url: string | null;
38582
+ markets: string[] | null;
38583
+ notes: string | null;
38584
+ organization_type: string | null;
38585
+ payment_methods: string[] | null;
38586
+ payment_spec_method: string | null;
38587
+ payment_term_days: number | null;
38588
+ phone: string | null;
38589
+ postal_code: string | null;
38590
+ product_groups: string[] | null;
38591
+ reminder_email: string | null;
38592
+ segments: string[] | null;
38593
+ send_reminder: string | null;
38594
+ source: string | null;
38595
+ street: string | null;
38596
+ sync_error: string | null;
38597
+ sync_status: string | null;
38598
+ trade_forms: string[] | null;
38599
+ twinfield_base_snapshot: Json | null;
38600
+ twinfield_base_version: number | null;
38601
+ twinfield_code: string | null;
38602
+ twinfield_create_on_insert: boolean | null;
38603
+ twinfield_last_hash: string | null;
38604
+ twinfield_missing_since: string | null;
38605
+ twinfield_present: boolean | null;
38606
+ twinfield_sync_error: string | null;
38607
+ twinfield_synced_at: string | null;
38608
+ twinfield_uid: string | null;
38609
+ twinfield_vat_code: string | null;
38610
+ updated_at: string | null;
38611
+ vat_display: string | null;
38612
+ vat_number: string | null;
38613
+ website: string | null;
38614
+ };
38615
+ Insert: {
38616
+ address?: string | null;
38617
+ address_line1?: string | null;
38618
+ address_line2?: string | null;
38619
+ address_type?: string | null;
38620
+ attention_to?: string | null;
38621
+ bank_account_holder?: string | null;
38622
+ bank_account_number?: string | null;
38623
+ bank_address_line1?: string | null;
38624
+ bank_address_line2?: string | null;
38625
+ bank_bic?: string | null;
38626
+ bank_city?: string | null;
38627
+ bank_country?: string | null;
38628
+ bank_house_number?: string | null;
38629
+ bank_iban?: string | null;
38630
+ bank_name?: string | null;
38631
+ bank_national_code?: string | null;
38632
+ bank_postal_code?: string | null;
38633
+ bank_state?: string | null;
38634
+ billing_email?: string | null;
38635
+ bio?: string | null;
38636
+ blocked?: boolean | null;
38637
+ blocked_locked?: boolean | null;
38638
+ blocked_modified?: string | null;
38639
+ city?: string | null;
38640
+ coc_number?: string | null;
38641
+ commercial_name?: string | null;
38642
+ company_name?: string | null;
38643
+ connection_status?: string | null;
38644
+ contact_person?: string | null;
38645
+ country?: string | null;
38646
+ created_at?: string | null;
38647
+ credit_limit?: number | null;
38648
+ credit_manager?: string | null;
38649
+ credit_manager_name?: string | null;
38650
+ credit_manager_shortname?: string | null;
38651
+ custom_fields?: Json | null;
38652
+ customer_class?: string | null;
38653
+ customer_number?: string | null;
38654
+ default_carrier_id?: string | null;
38655
+ discount_days?: number | null;
38656
+ discount_percentage?: number | null;
38657
+ discount_surcharge?: string | null;
38658
+ e_invoicing?: boolean | null;
38659
+ email?: string | null;
38660
+ external_id?: string | null;
38661
+ fax?: string | null;
38662
+ floriday_connection_id?: string | null;
38663
+ floriday_organization_id?: string | null;
38664
+ floriday_raw?: Json | null;
38665
+ gln?: string | null;
38666
+ house_number?: string | null;
38667
+ icp_country_code?: string | null;
38668
+ id?: string | null;
38669
+ invoice_send_as?: string | null;
38670
+ is_active?: boolean | null;
38671
+ language?: string | null;
38672
+ last_synced_at?: string | null;
38673
+ ledger_account?: string | null;
38674
+ logo_url?: string | null;
38675
+ markets?: string[] | null;
38676
+ notes?: string | null;
38677
+ organization_type?: string | null;
38678
+ payment_methods?: string[] | null;
38679
+ payment_spec_method?: string | null;
38680
+ payment_term_days?: number | null;
38681
+ phone?: string | null;
38682
+ postal_code?: string | null;
38683
+ product_groups?: string[] | null;
38684
+ reminder_email?: string | null;
38685
+ segments?: string[] | null;
38686
+ send_reminder?: string | null;
38687
+ source?: string | null;
38688
+ street?: string | null;
38689
+ sync_error?: string | null;
38690
+ sync_status?: string | null;
38691
+ trade_forms?: string[] | null;
38692
+ twinfield_base_snapshot?: Json | null;
38693
+ twinfield_base_version?: number | null;
38694
+ twinfield_code?: string | null;
38695
+ twinfield_create_on_insert?: boolean | null;
38696
+ twinfield_last_hash?: string | null;
38697
+ twinfield_missing_since?: string | null;
38698
+ twinfield_present?: boolean | null;
38699
+ twinfield_sync_error?: string | null;
38700
+ twinfield_synced_at?: string | null;
38701
+ twinfield_uid?: string | null;
38702
+ twinfield_vat_code?: string | null;
38703
+ updated_at?: string | null;
38704
+ vat_display?: string | null;
38705
+ vat_number?: string | null;
38706
+ website?: string | null;
38707
+ };
38708
+ Update: {
38709
+ address?: string | null;
38710
+ address_line1?: string | null;
38711
+ address_line2?: string | null;
38712
+ address_type?: string | null;
38713
+ attention_to?: string | null;
38714
+ bank_account_holder?: string | null;
38715
+ bank_account_number?: string | null;
38716
+ bank_address_line1?: string | null;
38717
+ bank_address_line2?: string | null;
38718
+ bank_bic?: string | null;
38719
+ bank_city?: string | null;
38720
+ bank_country?: string | null;
38721
+ bank_house_number?: string | null;
38722
+ bank_iban?: string | null;
38723
+ bank_name?: string | null;
38724
+ bank_national_code?: string | null;
38725
+ bank_postal_code?: string | null;
38726
+ bank_state?: string | null;
38727
+ billing_email?: string | null;
38728
+ bio?: string | null;
38729
+ blocked?: boolean | null;
38730
+ blocked_locked?: boolean | null;
38731
+ blocked_modified?: string | null;
38732
+ city?: string | null;
38733
+ coc_number?: string | null;
38734
+ commercial_name?: string | null;
38735
+ company_name?: string | null;
38736
+ connection_status?: string | null;
38737
+ contact_person?: string | null;
38738
+ country?: string | null;
38739
+ created_at?: string | null;
38740
+ credit_limit?: number | null;
38741
+ credit_manager?: string | null;
38742
+ credit_manager_name?: string | null;
38743
+ credit_manager_shortname?: string | null;
38744
+ custom_fields?: Json | null;
38745
+ customer_class?: string | null;
38746
+ customer_number?: string | null;
38747
+ default_carrier_id?: string | null;
38748
+ discount_days?: number | null;
38749
+ discount_percentage?: number | null;
38750
+ discount_surcharge?: string | null;
38751
+ e_invoicing?: boolean | null;
38752
+ email?: string | null;
38753
+ external_id?: string | null;
38754
+ fax?: string | null;
38755
+ floriday_connection_id?: string | null;
38756
+ floriday_organization_id?: string | null;
38757
+ floriday_raw?: Json | null;
38758
+ gln?: string | null;
38759
+ house_number?: string | null;
38760
+ icp_country_code?: string | null;
38761
+ id?: string | null;
38762
+ invoice_send_as?: string | null;
38763
+ is_active?: boolean | null;
38764
+ language?: string | null;
38765
+ last_synced_at?: string | null;
38766
+ ledger_account?: string | null;
38767
+ logo_url?: string | null;
38768
+ markets?: string[] | null;
38769
+ notes?: string | null;
38770
+ organization_type?: string | null;
38771
+ payment_methods?: string[] | null;
38772
+ payment_spec_method?: string | null;
38773
+ payment_term_days?: number | null;
38774
+ phone?: string | null;
38775
+ postal_code?: string | null;
38776
+ product_groups?: string[] | null;
38777
+ reminder_email?: string | null;
38778
+ segments?: string[] | null;
38779
+ send_reminder?: string | null;
38780
+ source?: string | null;
38781
+ street?: string | null;
38782
+ sync_error?: string | null;
38783
+ sync_status?: string | null;
38784
+ trade_forms?: string[] | null;
38785
+ twinfield_base_snapshot?: Json | null;
38786
+ twinfield_base_version?: number | null;
38787
+ twinfield_code?: string | null;
38788
+ twinfield_create_on_insert?: boolean | null;
38789
+ twinfield_last_hash?: string | null;
38790
+ twinfield_missing_since?: string | null;
38791
+ twinfield_present?: boolean | null;
38792
+ twinfield_sync_error?: string | null;
38793
+ twinfield_synced_at?: string | null;
38794
+ twinfield_uid?: string | null;
38795
+ twinfield_vat_code?: string | null;
38796
+ updated_at?: string | null;
38797
+ vat_display?: string | null;
38798
+ vat_number?: string | null;
38799
+ website?: string | null;
38800
+ };
38801
+ Relationships: [
38802
+ {
38803
+ foreignKeyName: "customers_default_carrier_id_fkey";
38804
+ columns: ["default_carrier_id"];
38805
+ isOneToOne: false;
38806
+ referencedRelation: "carriers";
38807
+ referencedColumns: ["id"];
38808
+ }
38809
+ ];
38810
+ };
37255
38811
  local_customer_discounts: {
37256
38812
  Row: {
37257
38813
  base_price: number | null;
@@ -37959,6 +39515,43 @@ export type Database = {
37959
39515
  };
37960
39516
  };
37961
39517
  Functions: {
39518
+ _afh_afzender: {
39519
+ Args: never;
39520
+ Returns: Json;
39521
+ };
39522
+ _afh_cmr_stand: {
39523
+ Args: {
39524
+ p_code: string;
39525
+ p_kargroep: string;
39526
+ p_melding: string;
39527
+ p_order_id: string;
39528
+ p_order_ids: string[];
39529
+ };
39530
+ Returns: undefined;
39531
+ };
39532
+ _afh_correctie_doorvoer: {
39533
+ Args: {
39534
+ p_id: string;
39535
+ };
39536
+ Returns: Json;
39537
+ };
39538
+ _afh_correctie_melden: {
39539
+ Args: {
39540
+ p_id: string;
39541
+ p_stand: string;
39542
+ p_tekst: string;
39543
+ p_titel: string;
39544
+ p_wat: string;
39545
+ };
39546
+ Returns: undefined;
39547
+ };
39548
+ _afh_documenten_order: {
39549
+ Args: {
39550
+ p_cart_id: string;
39551
+ p_order_id: string;
39552
+ };
39553
+ Returns: Json;
39554
+ };
37962
39555
  _arm_offer_order_retry: {
37963
39556
  Args: never;
37964
39557
  Returns: undefined;
@@ -38021,6 +39614,10 @@ export type Database = {
38021
39614
  };
38022
39615
  Returns: string;
38023
39616
  };
39617
+ _layouts_controleplek_keuze: {
39618
+ Args: never;
39619
+ Returns: Json;
39620
+ };
38024
39621
  _layouts_ontbrekende_standaarden: {
38025
39622
  Args: never;
38026
39623
  Returns: string[];
@@ -38101,6 +39698,10 @@ export type Database = {
38101
39698
  };
38102
39699
  Returns: boolean;
38103
39700
  };
39701
+ _logistics_wek_vlag: {
39702
+ Args: never;
39703
+ Returns: undefined;
39704
+ };
38104
39705
  _mailbox_norm: {
38105
39706
  Args: {
38106
39707
  p: string;
@@ -38153,6 +39754,12 @@ export type Database = {
38153
39754
  };
38154
39755
  Returns: boolean;
38155
39756
  };
39757
+ _pick_order_floriday_afgehandeld: {
39758
+ Args: {
39759
+ p_payload: Json;
39760
+ };
39761
+ Returns: boolean;
39762
+ };
38156
39763
  _pick_printstatus_via_engine: {
38157
39764
  Args: never;
38158
39765
  Returns: boolean;
@@ -38188,6 +39795,14 @@ export type Database = {
38188
39795
  };
38189
39796
  Returns: string;
38190
39797
  };
39798
+ _print_job_herstart: {
39799
+ Args: {
39800
+ p_bron: string;
39801
+ p_job: string;
39802
+ p_ook_mislukt: boolean;
39803
+ };
39804
+ Returns: Json;
39805
+ };
38191
39806
  _print_label_maat_uit_code: {
38192
39807
  Args: {
38193
39808
  _formaten: Json;
@@ -38203,6 +39818,27 @@ export type Database = {
38203
39818
  };
38204
39819
  Returns: undefined;
38205
39820
  };
39821
+ _printer_routering_kern: {
39822
+ Args: {
39823
+ _documenttype: string;
39824
+ _layout_id: string;
39825
+ _papierformaat: string;
39826
+ _plek_afgeleid: boolean;
39827
+ _print_plek_id: string;
39828
+ _werkplek: string;
39829
+ _werkplek_id: string;
39830
+ };
39831
+ Returns: Json;
39832
+ };
39833
+ _printer_routering_plek_terugval: {
39834
+ Args: {
39835
+ _klasse: string;
39836
+ _label: boolean;
39837
+ _plek: string;
39838
+ _type: string;
39839
+ };
39840
+ Returns: Json;
39841
+ };
38206
39842
  _productie_order_plan: {
38207
39843
  Args: {
38208
39844
  p_aanmaken: boolean;
@@ -38496,6 +40132,14 @@ export type Database = {
38496
40132
  Args: never;
38497
40133
  Returns: Json;
38498
40134
  };
40135
+ afh_afgemeld_lijst: {
40136
+ Args: {
40137
+ p_limit: number;
40138
+ p_offset: number;
40139
+ p_zoek: string;
40140
+ };
40141
+ Returns: Json;
40142
+ };
38499
40143
  afh_afleveradressen_zoek: {
38500
40144
  Args: {
38501
40145
  p_ids: string[];
@@ -38505,6 +40149,33 @@ export type Database = {
38505
40149
  };
38506
40150
  Returns: Json;
38507
40151
  };
40152
+ afh_afleverbrief_doorlooptijd: {
40153
+ Args: {
40154
+ p_sinds?: string;
40155
+ };
40156
+ Returns: Json;
40157
+ };
40158
+ afh_afleverbrief_payload: {
40159
+ Args: {
40160
+ p_cart_id: string;
40161
+ p_order_id: string;
40162
+ };
40163
+ Returns: Json;
40164
+ };
40165
+ afh_afleverbrief_per: {
40166
+ Args: {
40167
+ p_order_id: string;
40168
+ };
40169
+ Returns: string;
40170
+ };
40171
+ afh_afleverbrief_printen: {
40172
+ Args: {
40173
+ p_cart_id: string;
40174
+ p_herprint?: boolean;
40175
+ p_order_id: string;
40176
+ };
40177
+ Returns: Json;
40178
+ };
38508
40179
  afh_assert_ingelogd: {
38509
40180
  Args: never;
38510
40181
  Returns: undefined;
@@ -38513,10 +40184,18 @@ export type Database = {
38513
40184
  Args: never;
38514
40185
  Returns: undefined;
38515
40186
  };
40187
+ afh_assert_keten: {
40188
+ Args: never;
40189
+ Returns: undefined;
40190
+ };
38516
40191
  afh_assert_server: {
38517
40192
  Args: never;
38518
40193
  Returns: undefined;
38519
40194
  };
40195
+ afh_assert_server_ok: {
40196
+ Args: never;
40197
+ Returns: boolean;
40198
+ };
38520
40199
  afh_can_manage_carriers: {
38521
40200
  Args: {
38522
40201
  p_user: string;
@@ -38558,6 +40237,64 @@ export type Database = {
38558
40237
  };
38559
40238
  Returns: string;
38560
40239
  };
40240
+ afh_cmr_aandacht: {
40241
+ Args: never;
40242
+ Returns: Json;
40243
+ };
40244
+ afh_cmr_melding: {
40245
+ Args: {
40246
+ p_order_id: string;
40247
+ };
40248
+ Returns: Json;
40249
+ };
40250
+ afh_cmr_printen: {
40251
+ Args: {
40252
+ p_herprint?: boolean;
40253
+ p_order_id: string;
40254
+ };
40255
+ Returns: Json;
40256
+ };
40257
+ afh_controle_afwijking_stand: {
40258
+ Args: {
40259
+ p_cart_id: string;
40260
+ p_order_id: string;
40261
+ };
40262
+ Returns: Json;
40263
+ };
40264
+ afh_controle_printplek: {
40265
+ Args: never;
40266
+ Returns: Json;
40267
+ };
40268
+ afh_controlelijst_printen: {
40269
+ Args: {
40270
+ p_documentnaam: string;
40271
+ p_payload: Json;
40272
+ };
40273
+ Returns: Json;
40274
+ };
40275
+ afh_controleplek: {
40276
+ Args: never;
40277
+ Returns: Json;
40278
+ };
40279
+ afh_correctie_doorvoeren: {
40280
+ Args: {
40281
+ p_correctie_id: string;
40282
+ };
40283
+ Returns: Json;
40284
+ };
40285
+ afh_correcties_aandacht: {
40286
+ Args: never;
40287
+ Returns: Json;
40288
+ };
40289
+ afh_correcties_lijst: {
40290
+ Args: {
40291
+ p_limit: number;
40292
+ p_offset: number;
40293
+ p_tot: string;
40294
+ p_van: string;
40295
+ };
40296
+ Returns: Json;
40297
+ };
38561
40298
  afh_dispatch_zoektekst: {
38562
40299
  Args: {
38563
40300
  p_carrier_id: string;
@@ -38565,6 +40302,13 @@ export type Database = {
38565
40302
  };
38566
40303
  Returns: string;
38567
40304
  };
40305
+ afh_documenten_na_goedkeuren: {
40306
+ Args: {
40307
+ p_cart_id: string;
40308
+ p_order_id: string;
40309
+ };
40310
+ Returns: Json;
40311
+ };
38568
40312
  afh_ensure_defaults: {
38569
40313
  Args: never;
38570
40314
  Returns: Json;
@@ -38578,6 +40322,49 @@ export type Database = {
38578
40322
  name: string;
38579
40323
  }[];
38580
40324
  };
40325
+ afh_floriday_afleveropdracht_orders: {
40326
+ Args: {
40327
+ p_fulfillment_order_id: string;
40328
+ };
40329
+ Returns: string[];
40330
+ };
40331
+ afh_floriday_afleveropdrachten_van_order: {
40332
+ Args: {
40333
+ p_order_id: string;
40334
+ };
40335
+ Returns: string[];
40336
+ };
40337
+ afh_floriday_brief_binnen: {
40338
+ Args: {
40339
+ p_fulfillment_order_id: string;
40340
+ };
40341
+ Returns: Json;
40342
+ };
40343
+ afh_floriday_brief_printen: {
40344
+ Args: {
40345
+ p_fulfillment_order_id: string;
40346
+ p_herprint?: boolean;
40347
+ };
40348
+ Returns: Json;
40349
+ };
40350
+ afh_floriday_brief_stand: {
40351
+ Args: {
40352
+ p_order_id: string;
40353
+ };
40354
+ Returns: Json;
40355
+ };
40356
+ afh_floriday_correctie_opdracht: {
40357
+ Args: {
40358
+ p_correctie_id: string;
40359
+ };
40360
+ Returns: Json;
40361
+ };
40362
+ afh_floriday_levering: {
40363
+ Args: {
40364
+ p_order_id: string;
40365
+ };
40366
+ Returns: Json;
40367
+ };
38581
40368
  afh_html: {
38582
40369
  Args: {
38583
40370
  _s: string;
@@ -38594,6 +40381,39 @@ export type Database = {
38594
40381
  };
38595
40382
  Returns: string;
38596
40383
  };
40384
+ afh_keten_besluit: {
40385
+ Args: {
40386
+ p_ingelogd: boolean;
40387
+ p_request_path: string;
40388
+ p_server: boolean;
40389
+ p_trigger: boolean;
40390
+ };
40391
+ Returns: boolean;
40392
+ };
40393
+ afh_levering_correctie_floriday: {
40394
+ Args: {
40395
+ p_correctie_id: string;
40396
+ p_uitkomst: Json;
40397
+ };
40398
+ Returns: Json;
40399
+ };
40400
+ afh_levering_corrigeren: {
40401
+ Args: {
40402
+ p_cart_id: string;
40403
+ p_order_id: string;
40404
+ p_reden: string;
40405
+ p_soort: string;
40406
+ p_toelichting: string;
40407
+ p_wijziging: Json;
40408
+ };
40409
+ Returns: Json;
40410
+ };
40411
+ afh_levering_detail: {
40412
+ Args: {
40413
+ p_order_id: string;
40414
+ };
40415
+ Returns: Json;
40416
+ };
38597
40417
  afh_nl_date: {
38598
40418
  Args: {
38599
40419
  _d: string;
@@ -38619,6 +40439,13 @@ export type Database = {
38619
40439
  };
38620
40440
  Returns: boolean;
38621
40441
  };
40442
+ afh_order_documentkeuze: {
40443
+ Args: {
40444
+ p_order_id: string;
40445
+ p_soort: string;
40446
+ };
40447
+ Returns: Json;
40448
+ };
38622
40449
  afh_order_floriday_afgehandeld: {
38623
40450
  Args: {
38624
40451
  p_order_id: string;
@@ -38901,6 +40728,10 @@ export type Database = {
38901
40728
  Args: never;
38902
40729
  Returns: string;
38903
40730
  };
40731
+ afh_signup_taak_vooruit: {
40732
+ Args: never;
40733
+ Returns: string;
40734
+ };
38904
40735
  afh_signup_volgende_due: {
38905
40736
  Args: {
38906
40737
  p_cfg: Json;
@@ -38920,6 +40751,19 @@ export type Database = {
38920
40751
  Args: never;
38921
40752
  Returns: Json;
38922
40753
  };
40754
+ afh_vervoerder_bij_gln: {
40755
+ Args: {
40756
+ p_gln: string;
40757
+ };
40758
+ Returns: string;
40759
+ };
40760
+ afh_vervoerder_concept_uit_floriday: {
40761
+ Args: {
40762
+ p_gln: string;
40763
+ p_naam: string;
40764
+ };
40765
+ Returns: string;
40766
+ };
38923
40767
  afhandeling_ensure_defaults: {
38924
40768
  Args: never;
38925
40769
  Returns: Json;
@@ -40665,6 +42509,19 @@ export type Database = {
40665
42509
  };
40666
42510
  Returns: Json;
40667
42511
  };
42512
+ floriday_afleveringen_ophalen: {
42513
+ Args: {
42514
+ p_tot: string;
42515
+ p_van: string;
42516
+ };
42517
+ Returns: Json;
42518
+ };
42519
+ floriday_afleveringen_ophalen_status: {
42520
+ Args: {
42521
+ p_verzoek_id: string;
42522
+ };
42523
+ Returns: Json;
42524
+ };
40668
42525
  floriday_assert_caller: {
40669
42526
  Args: {
40670
42527
  p_fn: string;
@@ -40738,6 +42595,16 @@ export type Database = {
40738
42595
  Args: never;
40739
42596
  Returns: undefined;
40740
42597
  };
42598
+ floriday_correcties_lijst: {
42599
+ Args: {
42600
+ p_fulfillment_order_id: string;
42601
+ };
42602
+ Returns: Json;
42603
+ };
42604
+ floriday_correcties_melden: {
42605
+ Args: never;
42606
+ Returns: Json;
42607
+ };
40741
42608
  floriday_cron_command: {
40742
42609
  Args: {
40743
42610
  p_only_with_connection: boolean;
@@ -40756,6 +42623,13 @@ export type Database = {
40756
42623
  timeout_ms: number;
40757
42624
  }[];
40758
42625
  };
42626
+ floriday_cron_job_state: {
42627
+ Args: {
42628
+ p_command: string;
42629
+ p_soort: string;
42630
+ };
42631
+ Returns: string;
42632
+ };
40759
42633
  floriday_cron_key: {
40760
42634
  Args: never;
40761
42635
  Returns: string;
@@ -40776,6 +42650,10 @@ export type Database = {
40776
42650
  Args: never;
40777
42651
  Returns: string[];
40778
42652
  };
42653
+ floriday_dashboard_replaced_crons: {
42654
+ Args: never;
42655
+ Returns: string[];
42656
+ };
40779
42657
  floriday_default_owner: {
40780
42658
  Args: {
40781
42659
  p_connection_id: string;
@@ -40924,6 +42802,13 @@ export type Database = {
40924
42802
  };
40925
42803
  Returns: Json;
40926
42804
  };
42805
+ floriday_order_gelijk: {
42806
+ Args: {
42807
+ p_fulfillment_order_id: string;
42808
+ p_onze_belading: Json;
42809
+ };
42810
+ Returns: Json;
42811
+ };
40927
42812
  floriday_orphan_settings_count: {
40928
42813
  Args: never;
40929
42814
  Returns: number;
@@ -41009,10 +42894,28 @@ export type Database = {
41009
42894
  };
41010
42895
  Returns: Json;
41011
42896
  };
42897
+ floriday_terugkoppelingen_lijst: {
42898
+ Args: {
42899
+ p_limit?: number;
42900
+ p_offset?: number;
42901
+ p_status?: string;
42902
+ p_zoek?: string;
42903
+ };
42904
+ Returns: Json;
42905
+ };
41012
42906
  floriday_today_announce_summary: {
41013
42907
  Args: never;
41014
42908
  Returns: Json;
41015
42909
  };
42910
+ floriday_verkoopcorrecties_lijst: {
42911
+ Args: {
42912
+ p_limit?: number;
42913
+ p_offset?: number;
42914
+ p_status?: string;
42915
+ p_zoek?: string;
42916
+ };
42917
+ Returns: Json;
42918
+ };
41016
42919
  floriday_write_mode: {
41017
42920
  Args: never;
41018
42921
  Returns: Json;
@@ -42131,6 +44034,18 @@ export type Database = {
42131
44034
  Args: never;
42132
44035
  Returns: Json;
42133
44036
  };
44037
+ klanten_extra_veld_verwijderen: {
44038
+ Args: {
44039
+ p_veld_id: string;
44040
+ };
44041
+ Returns: Json;
44042
+ };
44043
+ klanten_extra_velden_voor_klant: {
44044
+ Args: {
44045
+ p_customer_id?: string;
44046
+ };
44047
+ Returns: Json;
44048
+ };
42134
44049
  klanten_gln_backfill_report: {
42135
44050
  Args: never;
42136
44051
  Returns: Json;
@@ -42168,10 +44083,24 @@ export type Database = {
42168
44083
  Args: never;
42169
44084
  Returns: Json;
42170
44085
  };
44086
+ klanten_is_beheerder: {
44087
+ Args: never;
44088
+ Returns: boolean;
44089
+ };
44090
+ klanten_is_gearchiveerd: {
44091
+ Args: {
44092
+ p_customer_id: string;
44093
+ };
44094
+ Returns: boolean;
44095
+ };
42171
44096
  klanten_is_server: {
42172
44097
  Args: never;
42173
44098
  Returns: boolean;
42174
44099
  };
44100
+ klanten_klantverversing: {
44101
+ Args: never;
44102
+ Returns: Json;
44103
+ };
42175
44104
  klanten_landnaam_kandidaten: {
42176
44105
  Args: {
42177
44106
  p_waarde: string;
@@ -42273,12 +44202,34 @@ export type Database = {
42273
44202
  };
42274
44203
  Returns: Json;
42275
44204
  };
44205
+ klanten_sticker_voor: {
44206
+ Args: {
44207
+ p_customer_id: string;
44208
+ p_product_id: string;
44209
+ p_soort?: string;
44210
+ };
44211
+ Returns: Json;
44212
+ };
44213
+ klanten_stickerformaten_inventaris: {
44214
+ Args: never;
44215
+ Returns: Json;
44216
+ };
44217
+ klanten_stickers_sleutel_gelijkzetten: {
44218
+ Args: never;
44219
+ Returns: Json;
44220
+ };
42276
44221
  klanten_toegang: {
42277
44222
  Args: {
42278
44223
  p_niveau: string;
42279
44224
  };
42280
44225
  Returns: undefined;
42281
44226
  };
44227
+ klanten_ververs_klantweergave: {
44228
+ Args: {
44229
+ p_bron?: string;
44230
+ };
44231
+ Returns: Json;
44232
+ };
42282
44233
  layout_klantvariant_voor: {
42283
44234
  Args: {
42284
44235
  p_administratie_code: string;
@@ -42364,6 +44315,21 @@ export type Database = {
42364
44315
  rijen: number;
42365
44316
  }[];
42366
44317
  };
44318
+ layouts_controleplek: {
44319
+ Args: never;
44320
+ Returns: Json;
44321
+ };
44322
+ layouts_documentlijst_stand: {
44323
+ Args: never;
44324
+ Returns: Json;
44325
+ };
44326
+ layouts_documentsoort_normaliseer: {
44327
+ Args: {
44328
+ p_bron: string;
44329
+ p_waarde: string;
44330
+ };
44331
+ Returns: string;
44332
+ };
42367
44333
  layouts_dubbel_oplossen: {
42368
44334
  Args: {
42369
44335
  p_layout_id: string;
@@ -42413,6 +44379,12 @@ export type Database = {
42413
44379
  };
42414
44380
  Returns: Json;
42415
44381
  };
44382
+ layouts_order_documenten: {
44383
+ Args: {
44384
+ p_order_id: string;
44385
+ };
44386
+ Returns: Json;
44387
+ };
42416
44388
  layouts_origineel_bron: {
42417
44389
  Args: {
42418
44390
  p_documenttype: string;
@@ -42420,12 +44392,30 @@ export type Database = {
42420
44392
  };
42421
44393
  Returns: string;
42422
44394
  };
44395
+ layouts_printjob_opnieuw: {
44396
+ Args: {
44397
+ p_job_id: string;
44398
+ };
44399
+ Returns: Json;
44400
+ };
42423
44401
  layouts_printjob_status: {
42424
44402
  Args: {
42425
44403
  p_job_id: string;
42426
44404
  };
42427
44405
  Returns: Json;
42428
44406
  };
44407
+ layouts_printjobs_alle_opnieuw: {
44408
+ Args: never;
44409
+ Returns: Json;
44410
+ };
44411
+ layouts_printwachtrij_gezondheid: {
44412
+ Args: never;
44413
+ Returns: Json;
44414
+ };
44415
+ layouts_printwachtrij_opnieuw_koppelen: {
44416
+ Args: never;
44417
+ Returns: Json;
44418
+ };
42429
44419
  layouts_productiebon_printen: {
42430
44420
  Args: {
42431
44421
  p_herkomst: string;
@@ -42435,6 +44425,10 @@ export type Database = {
42435
44425
  };
42436
44426
  Returns: Json;
42437
44427
  };
44428
+ layouts_sticker_formaten: {
44429
+ Args: never;
44430
+ Returns: Json;
44431
+ };
42438
44432
  layouts_sticker_verkleinen: {
42439
44433
  Args: never;
42440
44434
  Returns: Json;
@@ -42466,6 +44460,14 @@ export type Database = {
42466
44460
  Args: never;
42467
44461
  Returns: Json;
42468
44462
  };
44463
+ layouts_zorg_voor_cmr_printer: {
44464
+ Args: never;
44465
+ Returns: Json;
44466
+ };
44467
+ layouts_zorg_voor_cmr_standaard: {
44468
+ Args: never;
44469
+ Returns: Json;
44470
+ };
42469
44471
  layouts_zorg_voor_etiketrollen: {
42470
44472
  Args: never;
42471
44473
  Returns: Json;
@@ -42653,6 +44655,24 @@ export type Database = {
42653
44655
  toelichting: string;
42654
44656
  }[];
42655
44657
  };
44658
+ logistics_actie_nodig_floriday_vervoerders: {
44659
+ Args: {
44660
+ p_limit?: number;
44661
+ };
44662
+ Returns: Json;
44663
+ };
44664
+ logistics_actie_nodig_gewijzigd_na_print: {
44665
+ Args: {
44666
+ p_limit?: number;
44667
+ };
44668
+ Returns: Json;
44669
+ };
44670
+ logistics_actie_nodig_stickers: {
44671
+ Args: {
44672
+ p_limit?: number;
44673
+ };
44674
+ Returns: Json;
44675
+ };
42656
44676
  logistics_active_layout_method: {
42657
44677
  Args: never;
42658
44678
  Returns: string;
@@ -42677,6 +44697,10 @@ export type Database = {
42677
44697
  Args: never;
42678
44698
  Returns: Json;
42679
44699
  };
44700
+ logistics_afleverbrief_per: {
44701
+ Args: never;
44702
+ Returns: string;
44703
+ };
42680
44704
  logistics_allocation_check_changes: {
42681
44705
  Args: {
42682
44706
  p_order_item_ids?: string[];
@@ -42780,6 +44804,12 @@ export type Database = {
42780
44804
  Args: never;
42781
44805
  Returns: number;
42782
44806
  };
44807
+ logistics_artikel_letter: {
44808
+ Args: {
44809
+ p_nr: number;
44810
+ };
44811
+ Returns: string;
44812
+ };
42783
44813
  logistics_artikel_vbn: {
42784
44814
  Args: {
42785
44815
  p_product_id: string;
@@ -42895,6 +44925,30 @@ export type Database = {
42895
44925
  Args: never;
42896
44926
  Returns: number;
42897
44927
  };
44928
+ logistics_bel_meldingen_sync: {
44929
+ Args: {
44930
+ p_limit?: number;
44931
+ };
44932
+ Returns: Json;
44933
+ };
44934
+ logistics_bel_oorzaken: {
44935
+ Args: {
44936
+ p_limit?: number;
44937
+ };
44938
+ Returns: {
44939
+ link: string;
44940
+ sleutel: string;
44941
+ soort: string;
44942
+ tekst: string;
44943
+ titel: string;
44944
+ }[];
44945
+ };
44946
+ logistics_bel_order_pad: {
44947
+ Args: {
44948
+ p_order_id: string;
44949
+ };
44950
+ Returns: string;
44951
+ };
42898
44952
  logistics_belading_bevestig: {
42899
44953
  Args: {
42900
44954
  p_order_id: string;
@@ -42903,6 +44957,15 @@ export type Database = {
42903
44957
  };
42904
44958
  Returns: Json;
42905
44959
  };
44960
+ logistics_belading_binnen_marge: {
44961
+ Args: {
44962
+ p_berekend_fpl: number;
44963
+ p_berekend_lpk: number;
44964
+ p_opgegeven_fpl: number;
44965
+ p_opgegeven_lpk: number;
44966
+ };
44967
+ Returns: boolean;
44968
+ };
42906
44969
  logistics_belading_bronnen: {
42907
44970
  Args: {
42908
44971
  p_order_item_id: string;
@@ -42933,6 +44996,12 @@ export type Database = {
42933
44996
  };
42934
44997
  Returns: Json;
42935
44998
  };
44999
+ logistics_belading_reden_order: {
45000
+ Args: {
45001
+ p_order_id: string;
45002
+ };
45003
+ Returns: string;
45004
+ };
42936
45005
  logistics_belading_uitleg: {
42937
45006
  Args: {
42938
45007
  p_order_item_id: string;
@@ -42977,6 +45046,153 @@ export type Database = {
42977
45046
  sleutel: string;
42978
45047
  }[];
42979
45048
  };
45049
+ logistics_beslis_belading_marge: {
45050
+ Args: {
45051
+ p_limit?: number;
45052
+ };
45053
+ Returns: Json;
45054
+ };
45055
+ logistics_beslis_deelkar_na: {
45056
+ Args: {
45057
+ p_cart_id: string;
45058
+ p_ok: boolean;
45059
+ p_order_id: string;
45060
+ p_reden: string;
45061
+ };
45062
+ Returns: undefined;
45063
+ };
45064
+ logistics_beslis_deelkar_reden: {
45065
+ Args: {
45066
+ p_cart_id: string;
45067
+ };
45068
+ Returns: string;
45069
+ };
45070
+ logistics_beslis_deelkar_vraagtekst: {
45071
+ Args: never;
45072
+ Returns: string;
45073
+ };
45074
+ logistics_beslis_factuur: {
45075
+ Args: {
45076
+ p_order_id: string;
45077
+ };
45078
+ Returns: boolean;
45079
+ };
45080
+ logistics_beslis_nieuw_artikel: {
45081
+ Args: never;
45082
+ Returns: Json;
45083
+ };
45084
+ logistics_beslis_poort: {
45085
+ Args: {
45086
+ p_cart_id: string;
45087
+ p_moment: string;
45088
+ p_order_id: string;
45089
+ p_reden_automatisch: string;
45090
+ p_sleutel: string;
45091
+ p_vraag: string;
45092
+ p_waarom: string;
45093
+ };
45094
+ Returns: boolean;
45095
+ };
45096
+ logistics_beslis_vrijgeven: {
45097
+ Args: {
45098
+ p_leden: number;
45099
+ p_order_id: string;
45100
+ p_order_number: string;
45101
+ };
45102
+ Returns: boolean;
45103
+ };
45104
+ logistics_beslismoment: {
45105
+ Args: {
45106
+ p_sleutel: string;
45107
+ };
45108
+ Returns: string;
45109
+ };
45110
+ logistics_beslismoment_akkoord: {
45111
+ Args: {
45112
+ p_moment: string;
45113
+ p_sleutel: string;
45114
+ };
45115
+ Returns: boolean;
45116
+ };
45117
+ logistics_beslismoment_besluit: {
45118
+ Args: {
45119
+ p_besluit: string;
45120
+ p_vraag_id: string;
45121
+ };
45122
+ Returns: Json;
45123
+ };
45124
+ logistics_beslismoment_eenmalig: {
45125
+ Args: {
45126
+ p_actie: string;
45127
+ p_moment: string;
45128
+ p_order_id: string;
45129
+ p_reden: string;
45130
+ p_sleutel: string;
45131
+ };
45132
+ Returns: boolean;
45133
+ };
45134
+ logistics_beslismoment_gevolg: {
45135
+ Args: {
45136
+ p_vraag_id: string;
45137
+ };
45138
+ Returns: Json;
45139
+ };
45140
+ logistics_beslismoment_log: {
45141
+ Args: {
45142
+ p_actie: string;
45143
+ p_order_id: string;
45144
+ p_reden: string;
45145
+ p_sleutel: string;
45146
+ };
45147
+ Returns: undefined;
45148
+ };
45149
+ logistics_beslismoment_stand_van: {
45150
+ Args: {
45151
+ p_moment: string;
45152
+ p_sleutel: string;
45153
+ };
45154
+ Returns: string;
45155
+ };
45156
+ logistics_beslismoment_vraag: {
45157
+ Args: {
45158
+ p_cart_id: string;
45159
+ p_moment: string;
45160
+ p_order_id: string;
45161
+ p_sleutel: string;
45162
+ p_voorstel?: Json;
45163
+ p_vraag: string;
45164
+ p_waarom: string;
45165
+ };
45166
+ Returns: string;
45167
+ };
45168
+ logistics_beslismoment_vragen_open: {
45169
+ Args: {
45170
+ p_limit?: number;
45171
+ };
45172
+ Returns: Json;
45173
+ };
45174
+ logistics_beslismoment_zetten: {
45175
+ Args: {
45176
+ p_sleutel: string;
45177
+ p_stand: string;
45178
+ };
45179
+ Returns: Json;
45180
+ };
45181
+ logistics_beslismomenten: {
45182
+ Args: never;
45183
+ Returns: Json;
45184
+ };
45185
+ logistics_beslismomenten_def: {
45186
+ Args: never;
45187
+ Returns: {
45188
+ naam: string;
45189
+ nr: number;
45190
+ sleutel: string;
45191
+ standaard: string;
45192
+ toegestaan: string[];
45193
+ werking: Json;
45194
+ }[];
45195
+ };
42980
45196
  logistics_bewaak_zonder_kar: {
42981
45197
  Args: never;
42982
45198
  Returns: Json;
@@ -43341,6 +45557,12 @@ export type Database = {
43341
45557
  };
43342
45558
  Returns: string;
43343
45559
  };
45560
+ logistics_cart_buffer_gesloten: {
45561
+ Args: {
45562
+ p_cart_id: string;
45563
+ };
45564
+ Returns: boolean;
45565
+ };
43344
45566
  logistics_cart_capaciteit_core: {
43345
45567
  Args: {
43346
45568
  p_cart_id: string;
@@ -43673,6 +45895,12 @@ export type Database = {
43673
45895
  };
43674
45896
  Returns: number;
43675
45897
  };
45898
+ logistics_cart_wacht_vastleggen: {
45899
+ Args: {
45900
+ p_cart_id: string;
45901
+ };
45902
+ Returns: string;
45903
+ };
43676
45904
  logistics_cart_wait_until: {
43677
45905
  Args: {
43678
45906
  p_cart_id: string;
@@ -43832,6 +46060,10 @@ export type Database = {
43832
46060
  };
43833
46061
  Returns: Json;
43834
46062
  };
46063
+ logistics_cmr_printen: {
46064
+ Args: never;
46065
+ Returns: boolean;
46066
+ };
43835
46067
  logistics_complete_task: {
43836
46068
  Args: {
43837
46069
  p_result?: Json;
@@ -43900,6 +46132,19 @@ export type Database = {
43900
46132
  };
43901
46133
  Returns: number;
43902
46134
  };
46135
+ logistics_control_klopt_niet: {
46136
+ Args: {
46137
+ p_barcode: string;
46138
+ p_reden?: string;
46139
+ };
46140
+ Returns: Json;
46141
+ };
46142
+ logistics_control_opnieuw_gescand: {
46143
+ Args: {
46144
+ p_barcode: string;
46145
+ };
46146
+ Returns: Json;
46147
+ };
43903
46148
  logistics_control_scan_approve: {
43904
46149
  Args: {
43905
46150
  p_allow_reprint?: boolean;
@@ -44001,6 +46246,10 @@ export type Database = {
44001
46246
  Args: never;
44002
46247
  Returns: Json;
44003
46248
  };
46249
+ logistics_controle_printplek: {
46250
+ Args: never;
46251
+ Returns: Json;
46252
+ };
44004
46253
  logistics_correctie_buffers_geannuleerd: {
44005
46254
  Args: {
44006
46255
  p_uitvoeren?: boolean;
@@ -44031,10 +46280,20 @@ export type Database = {
44031
46280
  uitgevoerd: boolean;
44032
46281
  }[];
44033
46282
  };
46283
+ logistics_correctieverzoeken_open: {
46284
+ Args: never;
46285
+ Returns: Json;
46286
+ };
44034
46287
  logistics_cron_health: {
44035
46288
  Args: never;
44036
46289
  Returns: Json;
44037
46290
  };
46291
+ logistics_dag_orders: {
46292
+ Args: {
46293
+ p_dag: string;
46294
+ };
46295
+ Returns: string[];
46296
+ };
44038
46297
  logistics_data_gereedheid: {
44039
46298
  Args: {
44040
46299
  p_product_ids?: string[];
@@ -44183,6 +46442,16 @@ export type Database = {
44183
46442
  karren: string[];
44184
46443
  }[];
44185
46444
  };
46445
+ logistics_eerste_eigen_leverdatum: {
46446
+ Args: {
46447
+ p_carrier_id: string;
46448
+ p_dagen?: number;
46449
+ p_moment_key: string;
46450
+ p_now: string;
46451
+ p_vanaf?: string;
46452
+ };
46453
+ Returns: Json;
46454
+ };
44186
46455
  logistics_emit_event: {
44187
46456
  Args: {
44188
46457
  p_event_type: string;
@@ -44272,6 +46541,13 @@ export type Database = {
44272
46541
  ref: string;
44273
46542
  }[];
44274
46543
  };
46544
+ logistics_external_fulfillment_intrekken: {
46545
+ Args: {
46546
+ p_order_id: string;
46547
+ p_reden: string;
46548
+ };
46549
+ Returns: Json;
46550
+ };
44275
46551
  logistics_external_fulfillment_key_report: {
44276
46552
  Args: never;
44277
46553
  Returns: {
@@ -44342,6 +46618,45 @@ export type Database = {
44342
46618
  Args: never;
44343
46619
  Returns: Json;
44344
46620
  };
46621
+ logistics_floriday_afhandeling_vergelijking: {
46622
+ Args: {
46623
+ p_order_id: string;
46624
+ };
46625
+ Returns: Json;
46626
+ };
46627
+ logistics_floriday_brief_besluit: {
46628
+ Args: {
46629
+ p_fulfillment_order_id: string;
46630
+ };
46631
+ Returns: Json;
46632
+ };
46633
+ logistics_floriday_brief_gereed: {
46634
+ Args: {
46635
+ p_fulfillment_order_id: string;
46636
+ p_order_id?: string;
46637
+ };
46638
+ Returns: Json;
46639
+ };
46640
+ logistics_floriday_brief_herprint_aanvragen: {
46641
+ Args: {
46642
+ p_fulfillment_order_id?: string;
46643
+ p_kopieen?: number;
46644
+ p_order_id: string;
46645
+ };
46646
+ Returns: Json;
46647
+ };
46648
+ logistics_floriday_brief_herprint_status: {
46649
+ Args: {
46650
+ p_verzoek_id: string;
46651
+ };
46652
+ Returns: Json;
46653
+ };
46654
+ logistics_floriday_brief_versie: {
46655
+ Args: {
46656
+ p_fulfillment_order_id: string;
46657
+ };
46658
+ Returns: Json;
46659
+ };
44345
46660
  logistics_floriday_cart_plan: {
44346
46661
  Args: {
44347
46662
  p_order_id: string;
@@ -44373,6 +46688,12 @@ export type Database = {
44373
46688
  Args: never;
44374
46689
  Returns: boolean;
44375
46690
  };
46691
+ logistics_floriday_eigen_transport: {
46692
+ Args: {
46693
+ p_custom_fields: Json;
46694
+ };
46695
+ Returns: boolean;
46696
+ };
44376
46697
  logistics_floriday_finish_push: {
44377
46698
  Args: {
44378
46699
  _error?: string;
@@ -44432,6 +46753,50 @@ export type Database = {
44432
46753
  };
44433
46754
  Returns: Json;
44434
46755
  };
46756
+ logistics_floriday_herprint_claim: {
46757
+ Args: {
46758
+ p_limit?: number;
46759
+ };
46760
+ Returns: {
46761
+ aangevraagd_door: string | null;
46762
+ aangevraagd_door_naam: string | null;
46763
+ antwoord: Json | null;
46764
+ created_at: string;
46765
+ document_version_id: string | null;
46766
+ fulfillment_order_id: string;
46767
+ id: string;
46768
+ idempotentie_sleutel: string | null;
46769
+ kopieen: number;
46770
+ locked_until: string | null;
46771
+ order_id: string | null;
46772
+ order_number: string | null;
46773
+ pogingen: number;
46774
+ print_plek_id: string | null;
46775
+ reden: string | null;
46776
+ status: string;
46777
+ updated_at: string;
46778
+ volgende_poging_at: string;
46779
+ }[];
46780
+ SetofOptions: {
46781
+ from: "*";
46782
+ to: "logistics_floriday_herprint";
46783
+ isOneToOne: false;
46784
+ isSetofReturn: true;
46785
+ };
46786
+ };
46787
+ logistics_floriday_herprint_finish: {
46788
+ Args: {
46789
+ p_antwoord?: Json;
46790
+ p_document_version_id?: string;
46791
+ p_id: string;
46792
+ p_print_plek_id?: string;
46793
+ p_reden?: string;
46794
+ p_sleutel?: string;
46795
+ p_status: string;
46796
+ p_wacht_minuten?: number;
46797
+ };
46798
+ Returns: Json;
46799
+ };
44435
46800
  logistics_floriday_is_read_only: {
44436
46801
  Args: never;
44437
46802
  Returns: boolean;
@@ -44509,6 +46874,25 @@ export type Database = {
44509
46874
  Args: never;
44510
46875
  Returns: boolean;
44511
46876
  };
46877
+ logistics_floriday_transporteur_naam: {
46878
+ Args: {
46879
+ p_gln: string;
46880
+ p_naam_order?: string;
46881
+ };
46882
+ Returns: string;
46883
+ };
46884
+ logistics_floriday_vervoerder_bij_gln: {
46885
+ Args: {
46886
+ p_gln: string;
46887
+ };
46888
+ Returns: string;
46889
+ };
46890
+ logistics_floriday_vervoerder_toevoegen: {
46891
+ Args: {
46892
+ p_gln: string;
46893
+ };
46894
+ Returns: Json;
46895
+ };
44512
46896
  logistics_floriday_write_allowed: {
44513
46897
  Args: {
44514
46898
  _action: string;
@@ -44589,6 +46973,27 @@ export type Database = {
44589
46973
  };
44590
46974
  Returns: number;
44591
46975
  };
46976
+ logistics_gewijzigd_na_print_kern: {
46977
+ Args: {
46978
+ p_karren: number;
46979
+ p_karren_ids?: string[];
46980
+ p_order_id: string;
46981
+ p_print: string;
46982
+ };
46983
+ Returns: Json;
46984
+ };
46985
+ logistics_gewijzigd_na_print_opschonen: {
46986
+ Args: {
46987
+ p_dagen: number;
46988
+ };
46989
+ Returns: number;
46990
+ };
46991
+ logistics_golf3_opschonen: {
46992
+ Args: {
46993
+ p_dagen: number;
46994
+ };
46995
+ Returns: Json;
46996
+ };
44592
46997
  logistics_handmatige_kargroepen: {
44593
46998
  Args: {
44594
46999
  p_limit?: number;
@@ -44842,6 +47247,31 @@ export type Database = {
44842
47247
  toelichting: string;
44843
47248
  }[];
44844
47249
  };
47250
+ logistics_instelling_opslaan: {
47251
+ Args: {
47252
+ p_wijziging: Json;
47253
+ };
47254
+ Returns: Json;
47255
+ };
47256
+ logistics_instelling_velden: {
47257
+ Args: never;
47258
+ Returns: {
47259
+ gevolg: string;
47260
+ pad: string;
47261
+ soort: string;
47262
+ vraag: number;
47263
+ }[];
47264
+ };
47265
+ logistics_instelling_voorvertoning: {
47266
+ Args: {
47267
+ p_wijziging: Json;
47268
+ };
47269
+ Returns: Json;
47270
+ };
47271
+ logistics_instellingen_vragen: {
47272
+ Args: never;
47273
+ Returns: Json;
47274
+ };
44845
47275
  logistics_is_beheer: {
44846
47276
  Args: never;
44847
47277
  Returns: boolean;
@@ -44859,6 +47289,12 @@ export type Database = {
44859
47289
  };
44860
47290
  Returns: boolean;
44861
47291
  };
47292
+ logistics_is_klok: {
47293
+ Args: {
47294
+ p_order_id: string;
47295
+ };
47296
+ Returns: boolean;
47297
+ };
44862
47298
  logistics_is_pick_workday: {
44863
47299
  Args: {
44864
47300
  p_date: string;
@@ -44872,6 +47308,40 @@ export type Database = {
44872
47308
  };
44873
47309
  Returns: boolean;
44874
47310
  };
47311
+ logistics_json_samenvatting: {
47312
+ Args: {
47313
+ p: Json;
47314
+ };
47315
+ Returns: Json;
47316
+ };
47317
+ logistics_kar_aanpassen_vrijgeven: {
47318
+ Args: {
47319
+ p_order_id: string;
47320
+ p_reden: string;
47321
+ };
47322
+ Returns: Json;
47323
+ };
47324
+ logistics_kar_bewerkbaar: {
47325
+ Args: {
47326
+ p_cart_id: string;
47327
+ };
47328
+ Returns: Json;
47329
+ };
47330
+ logistics_kar_bewerken_totalen: {
47331
+ Args: {
47332
+ p_cart_id: string;
47333
+ };
47334
+ Returns: undefined;
47335
+ };
47336
+ logistics_kar_bewerken_verplaats: {
47337
+ Args: {
47338
+ p_fusten?: number;
47339
+ p_item_id: string;
47340
+ p_laag?: number;
47341
+ p_naar_cart_id: string;
47342
+ };
47343
+ Returns: Json;
47344
+ };
44875
47345
  logistics_kar_blokkade: {
44876
47346
  Args: {
44877
47347
  p_kar: string;
@@ -44901,6 +47371,13 @@ export type Database = {
44901
47371
  };
44902
47372
  Returns: string;
44903
47373
  };
47374
+ logistics_kar_svg_variant: {
47375
+ Args: {
47376
+ p_svg: string;
47377
+ p_variant: string;
47378
+ };
47379
+ Returns: string;
47380
+ };
44904
47381
  logistics_kar_tekening: {
44905
47382
  Args: {
44906
47383
  p_opties?: Json;
@@ -44908,6 +47385,14 @@ export type Database = {
44908
47385
  };
44909
47386
  Returns: Json;
44910
47387
  };
47388
+ logistics_kar_tekening_v2: {
47389
+ Args: {
47390
+ p_opties?: Json;
47391
+ p_order_id: string;
47392
+ p_variant?: string;
47393
+ };
47394
+ Returns: Json;
47395
+ };
44911
47396
  logistics_kar_tekst: {
44912
47397
  Args: {
44913
47398
  p_carrier_code: string;
@@ -44916,6 +47401,12 @@ export type Database = {
44916
47401
  };
44917
47402
  Returns: string;
44918
47403
  };
47404
+ logistics_kargroep_soort: {
47405
+ Args: {
47406
+ p_order_id: string;
47407
+ };
47408
+ Returns: string;
47409
+ };
44919
47410
  logistics_kargroep_terug_automatisch: {
44920
47411
  Args: {
44921
47412
  p_kargroep: string;
@@ -45225,6 +47716,12 @@ export type Database = {
45225
47716
  };
45226
47717
  Returns: number;
45227
47718
  };
47719
+ logistics_land_code: {
47720
+ Args: {
47721
+ p_land: string;
47722
+ };
47723
+ Returns: string;
47724
+ };
45228
47725
  logistics_layout_method_status: {
45229
47726
  Args: never;
45230
47727
  Returns: Json;
@@ -45278,6 +47775,10 @@ export type Database = {
45278
47775
  };
45279
47776
  Returns: string;
45280
47777
  };
47778
+ logistics_mag_plannen: {
47779
+ Args: never;
47780
+ Returns: boolean;
47781
+ };
45281
47782
  logistics_mark_cart_delivered_core: {
45282
47783
  Args: {
45283
47784
  p_bron: string;
@@ -45366,6 +47867,13 @@ export type Database = {
45366
47867
  Args: never;
45367
47868
  Returns: Json;
45368
47869
  };
47870
+ logistics_na_goedkeuren: {
47871
+ Args: {
47872
+ p_bron?: string;
47873
+ p_cart_id: string;
47874
+ };
47875
+ Returns: Json;
47876
+ };
45369
47877
  logistics_naam_van_gebruiker: {
45370
47878
  Args: never;
45371
47879
  Returns: string;
@@ -45384,6 +47892,10 @@ export type Database = {
45384
47892
  };
45385
47893
  Returns: number;
45386
47894
  };
47895
+ logistics_nacht_opruimen: {
47896
+ Args: never;
47897
+ Returns: Json;
47898
+ };
45387
47899
  logistics_next_workday_date: {
45388
47900
  Args: {
45389
47901
  p_date: string;
@@ -45405,6 +47917,35 @@ export type Database = {
45405
47917
  };
45406
47918
  Returns: Json;
45407
47919
  };
47920
+ logistics_niet_afgemeld_archiveren: {
47921
+ Args: {
47922
+ p_limit?: number;
47923
+ };
47924
+ Returns: Json;
47925
+ };
47926
+ logistics_niet_afgemeld_basis: {
47927
+ Args: never;
47928
+ Returns: {
47929
+ leverdag: string;
47930
+ order_id: string;
47931
+ order_number: string;
47932
+ status: string;
47933
+ }[];
47934
+ };
47935
+ logistics_niet_afgemeld_gearchiveerd: {
47936
+ Args: {
47937
+ p_limit?: number;
47938
+ p_offset?: number;
47939
+ p_zoek?: string;
47940
+ };
47941
+ Returns: Json;
47942
+ };
47943
+ logistics_niet_afgemeld_terughalen: {
47944
+ Args: {
47945
+ p_order_id: string;
47946
+ };
47947
+ Returns: Json;
47948
+ };
45408
47949
  logistics_nl_date: {
45409
47950
  Args: {
45410
47951
  p_day: string;
@@ -45447,6 +47988,13 @@ export type Database = {
45447
47988
  Args: never;
45448
47989
  Returns: string;
45449
47990
  };
47991
+ logistics_opruimen_ronde: {
47992
+ Args: {
47993
+ p_max_ms?: number;
47994
+ p_portie?: number;
47995
+ };
47996
+ Returns: Json;
47997
+ };
45450
47998
  logistics_order_afgemeld: {
45451
47999
  Args: {
45452
48000
  p_order_id: string;
@@ -45596,6 +48144,12 @@ export type Database = {
45596
48144
  signupDeadline: string;
45597
48145
  }[];
45598
48146
  };
48147
+ logistics_order_documenten: {
48148
+ Args: {
48149
+ p_order_id: string;
48150
+ };
48151
+ Returns: Json;
48152
+ };
45599
48153
  logistics_order_documents_ready: {
45600
48154
  Args: {
45601
48155
  p_order_ref: string;
@@ -45608,6 +48162,12 @@ export type Database = {
45608
48162
  };
45609
48163
  Returns: boolean;
45610
48164
  };
48165
+ logistics_order_export: {
48166
+ Args: {
48167
+ p_order_id: string;
48168
+ };
48169
+ Returns: Json;
48170
+ };
45611
48171
  logistics_order_external_state: {
45612
48172
  Args: {
45613
48173
  p_order_id: string;
@@ -45691,6 +48251,19 @@ export type Database = {
45691
48251
  order_id: string;
45692
48252
  }[];
45693
48253
  };
48254
+ logistics_order_gewijzigd_na_print: {
48255
+ Args: {
48256
+ p_order_id: string;
48257
+ };
48258
+ Returns: Json;
48259
+ };
48260
+ logistics_order_gewijzigd_na_print_besluit: {
48261
+ Args: {
48262
+ p_besluit: string;
48263
+ p_order_id: string;
48264
+ };
48265
+ Returns: Json;
48266
+ };
45694
48267
  logistics_order_handled: {
45695
48268
  Args: {
45696
48269
  p_order_uuid: string;
@@ -45943,6 +48516,36 @@ export type Database = {
45943
48516
  };
45944
48517
  Returns: boolean;
45945
48518
  };
48519
+ logistics_order_signaal: {
48520
+ Args: {
48521
+ p_order_id: string;
48522
+ p_reden: string;
48523
+ };
48524
+ Returns: undefined;
48525
+ };
48526
+ logistics_order_signalen_verwerken: {
48527
+ Args: {
48528
+ p_limit?: number;
48529
+ p_max_ms?: number;
48530
+ };
48531
+ Returns: Json;
48532
+ };
48533
+ logistics_order_spoed_bepalen: {
48534
+ Args: {
48535
+ p_order_ids: string[];
48536
+ };
48537
+ Returns: string;
48538
+ };
48539
+ logistics_order_stappen: {
48540
+ Args: {
48541
+ p_order_ids: string[];
48542
+ };
48543
+ Returns: {
48544
+ order_id: string;
48545
+ stap: number;
48546
+ stap_naam: string;
48547
+ }[];
48548
+ };
45946
48549
  logistics_order_sticker_meldingen: {
45947
48550
  Args: {
45948
48551
  p_order_id: string;
@@ -45962,6 +48565,12 @@ export type Database = {
45962
48565
  order_id: string;
45963
48566
  }[];
45964
48567
  };
48568
+ logistics_order_tijdlijn: {
48569
+ Args: {
48570
+ p_order_id: string;
48571
+ };
48572
+ Returns: Json;
48573
+ };
45965
48574
  logistics_order_transport_group: {
45966
48575
  Args: {
45967
48576
  p_order: Json;
@@ -46022,6 +48631,12 @@ export type Database = {
46022
48631
  toelichting: string;
46023
48632
  }[];
46024
48633
  };
48634
+ logistics_own_fuststicker_sync: {
48635
+ Args: {
48636
+ p_limit?: number;
48637
+ };
48638
+ Returns: Json;
48639
+ };
46025
48640
  logistics_own_sticker_count: {
46026
48641
  Args: {
46027
48642
  p_ppc_product: number;
@@ -46786,6 +49401,22 @@ export type Database = {
46786
49401
  tekst: string;
46787
49402
  }[];
46788
49403
  };
49404
+ logistics_product_transporthoogte: {
49405
+ Args: {
49406
+ p_ladingdrager?: string;
49407
+ p_product_id: string;
49408
+ };
49409
+ Returns: Json;
49410
+ };
49411
+ logistics_producten_gereedheid: {
49412
+ Args: {
49413
+ p_alleen_onvolledig?: boolean;
49414
+ p_limit?: number;
49415
+ p_offset?: number;
49416
+ p_zoek?: string;
49417
+ };
49418
+ Returns: Json;
49419
+ };
46789
49420
  logistics_productiebon_goedkeuren: {
46790
49421
  Args: {
46791
49422
  p_queue_id: string;
@@ -47463,6 +50094,13 @@ export type Database = {
47463
50094
  Args: never;
47464
50095
  Returns: Json;
47465
50096
  };
50097
+ logistics_slip_cart_extra: {
50098
+ Args: {
50099
+ p_cart: Json;
50100
+ p_extra: Json;
50101
+ };
50102
+ Returns: Json;
50103
+ };
47466
50104
  logistics_slip_is_floriday: {
47467
50105
  Args: {
47468
50106
  _slip_job_id: string;
@@ -47578,6 +50216,12 @@ export type Database = {
47578
50216
  };
47579
50217
  Returns: undefined;
47580
50218
  };
50219
+ logistics_spoed_wacht_opruimen: {
50220
+ Args: {
50221
+ p_portie?: number;
50222
+ };
50223
+ Returns: Json;
50224
+ };
47581
50225
  logistics_stale_buffer_carts: {
47582
50226
  Args: {
47583
50227
  p_buffer?: string;
@@ -47595,6 +50239,10 @@ export type Database = {
47595
50239
  oude_buffer: string;
47596
50240
  }[];
47597
50241
  };
50242
+ logistics_stap_namen: {
50243
+ Args: never;
50244
+ Returns: string[];
50245
+ };
47598
50246
  logistics_startlijst: {
47599
50247
  Args: never;
47600
50248
  Returns: Json;
@@ -47860,6 +50508,10 @@ export type Database = {
47860
50508
  };
47861
50509
  Returns: Json;
47862
50510
  };
50511
+ logistics_thuisland: {
50512
+ Args: never;
50513
+ Returns: string;
50514
+ };
47863
50515
  logistics_tick: {
47864
50516
  Args: never;
47865
50517
  Returns: Json;
@@ -47894,6 +50546,12 @@ export type Database = {
47894
50546
  Args: never;
47895
50547
  Returns: number;
47896
50548
  };
50549
+ logistics_tijd_nl: {
50550
+ Args: {
50551
+ p_ts: string;
50552
+ };
50553
+ Returns: string;
50554
+ };
47897
50555
  logistics_timezone_options: {
47898
50556
  Args: never;
47899
50557
  Returns: {
@@ -47910,6 +50568,13 @@ export type Database = {
47910
50568
  };
47911
50569
  Returns: Json;
47912
50570
  };
50571
+ logistics_toets_levering_reken_v2: {
50572
+ Args: {
50573
+ p_artikelen: Json;
50574
+ p_data: Json;
50575
+ };
50576
+ Returns: Json;
50577
+ };
47913
50578
  logistics_toets_ophalen_bijwerken: {
47914
50579
  Args: never;
47915
50580
  Returns: Json;
@@ -48177,12 +50842,34 @@ export type Database = {
48177
50842
  };
48178
50843
  Returns: string;
48179
50844
  };
50845
+ logistics_url_deel: {
50846
+ Args: {
50847
+ p: string;
50848
+ };
50849
+ Returns: string;
50850
+ };
48180
50851
  logistics_valid_timezone: {
48181
50852
  Args: {
48182
50853
  _tz: string;
48183
50854
  };
48184
50855
  Returns: boolean;
48185
50856
  };
50857
+ logistics_vandaag: {
50858
+ Args: {
50859
+ p_dag?: string;
50860
+ };
50861
+ Returns: Json;
50862
+ };
50863
+ logistics_vandaag_orders: {
50864
+ Args: {
50865
+ p_dag?: string;
50866
+ p_limit?: number;
50867
+ p_offset?: number;
50868
+ p_stap: number;
50869
+ p_zoek?: string;
50870
+ };
50871
+ Returns: Json;
50872
+ };
48186
50873
  logistics_vbn_cm: {
48187
50874
  Args: {
48188
50875
  p_code: string;
@@ -48196,16 +50883,43 @@ export type Database = {
48196
50883
  };
48197
50884
  Returns: string;
48198
50885
  };
50886
+ logistics_verkoopklaar_veilig: {
50887
+ Args: {
50888
+ p_product_id: string;
50889
+ };
50890
+ Returns: Json;
50891
+ };
48199
50892
  logistics_volle_karren_vastzetten: {
48200
50893
  Args: {
48201
50894
  p_max?: number;
48202
50895
  };
48203
50896
  Returns: Json;
48204
50897
  };
50898
+ logistics_wek: {
50899
+ Args: {
50900
+ p_order_id?: string;
50901
+ p_reden: string;
50902
+ };
50903
+ Returns: undefined;
50904
+ };
48205
50905
  logistics_werker_budget_ms: {
48206
50906
  Args: never;
48207
50907
  Returns: number;
48208
50908
  };
50909
+ logistics_werker_dispatch_stap: {
50910
+ Args: {
50911
+ p_budget_ms: number;
50912
+ p_stap: string;
50913
+ };
50914
+ Returns: Json;
50915
+ };
50916
+ logistics_werker_dispatch_vastleggen: {
50917
+ Args: {
50918
+ p_stappen: Json;
50919
+ p_start: string;
50920
+ };
50921
+ Returns: undefined;
50922
+ };
48209
50923
  logistics_werker_draai: {
48210
50924
  Args: {
48211
50925
  p_stappen: Json;
@@ -48249,6 +50963,10 @@ export type Database = {
48249
50963
  };
48250
50964
  Returns: Json;
48251
50965
  };
50966
+ logistics_werkwijze_standaarden_golf3: {
50967
+ Args: never;
50968
+ Returns: string[];
50969
+ };
48252
50970
  logistics_working_hours_status: {
48253
50971
  Args: never;
48254
50972
  Returns: Json;
@@ -48331,6 +51049,10 @@ export type Database = {
48331
51049
  };
48332
51050
  Returns: Json;
48333
51051
  };
51052
+ mailbox_reservation_calloff_available: {
51053
+ Args: never;
51054
+ Returns: boolean;
51055
+ };
48334
51056
  mailbox_standaard_lijsten: {
48335
51057
  Args: never;
48336
51058
  Returns: Json;
@@ -49391,6 +52113,10 @@ export type Database = {
49391
52113
  omschrijving: string;
49392
52114
  }[];
49393
52115
  };
52116
+ pick_printplek_beheer_link: {
52117
+ Args: never;
52118
+ Returns: string;
52119
+ };
49394
52120
  pick_queue_cart_plan: {
49395
52121
  Args: {
49396
52122
  _queue_item_id: string;
@@ -50375,6 +53101,22 @@ export type Database = {
50375
53101
  };
50376
53102
  Returns: Json;
50377
53103
  };
53104
+ pickstation_cart_release_now: {
53105
+ Args: {
53106
+ p_cart_id: string;
53107
+ p_device_key?: string;
53108
+ p_slug: string;
53109
+ };
53110
+ Returns: Json;
53111
+ };
53112
+ pickstation_cart_release_states: {
53113
+ Args: {
53114
+ p_device_key?: string;
53115
+ p_queue_ids: string[];
53116
+ p_slug: string;
53117
+ };
53118
+ Returns: Json;
53119
+ };
50378
53120
  pickstation_cart_sticker_state: {
50379
53121
  Args: {
50380
53122
  p_cart_id: string;
@@ -50424,6 +53166,14 @@ export type Database = {
50424
53166
  };
50425
53167
  Returns: Json;
50426
53168
  };
53169
+ pickstation_document_preview: {
53170
+ Args: {
53171
+ p_device_key?: string;
53172
+ p_queue_id: string;
53173
+ p_slug: string;
53174
+ };
53175
+ Returns: Json;
53176
+ };
50427
53177
  pickstation_get_orders_raw: {
50428
53178
  Args: never;
50429
53179
  Returns: Json;
@@ -50451,6 +53201,14 @@ export type Database = {
50451
53201
  };
50452
53202
  Returns: Json;
50453
53203
  };
53204
+ pickstation_kar_tekening: {
53205
+ Args: {
53206
+ p_device_key?: string;
53207
+ p_order_id: string;
53208
+ p_slug: string;
53209
+ };
53210
+ Returns: Json;
53211
+ };
50454
53212
  pickstation_log_print: {
50455
53213
  Args: {
50456
53214
  p_customer_name: string;
@@ -50573,6 +53331,22 @@ export type Database = {
50573
53331
  };
50574
53332
  Returns: Json;
50575
53333
  };
53334
+ pickstation_noodroute_status: {
53335
+ Args: {
53336
+ p_device_key?: string;
53337
+ p_order_ids: string[];
53338
+ p_slug: string;
53339
+ };
53340
+ Returns: Json;
53341
+ };
53342
+ pickstation_order_documenten: {
53343
+ Args: {
53344
+ p_device_key?: string;
53345
+ p_order_id: string;
53346
+ p_slug: string;
53347
+ };
53348
+ Returns: Json;
53349
+ };
50576
53350
  pickstation_order_sticker_meldingen: {
50577
53351
  Args: {
50578
53352
  p_device_key: string;
@@ -50587,6 +53361,14 @@ export type Database = {
50587
53361
  };
50588
53362
  Returns: Json;
50589
53363
  };
53364
+ pickstation_order_tijdlijn: {
53365
+ Args: {
53366
+ p_device_key?: string;
53367
+ p_order_id: string;
53368
+ p_slug: string;
53369
+ };
53370
+ Returns: Json;
53371
+ };
50590
53372
  pickstation_pair_device: {
50591
53373
  Args: {
50592
53374
  p_code: string;
@@ -50609,6 +53391,16 @@ export type Database = {
50609
53391
  };
50610
53392
  Returns: Json;
50611
53393
  };
53394
+ pickstation_printed_today: {
53395
+ Args: {
53396
+ p_device_key?: string;
53397
+ p_limit?: number;
53398
+ p_offset?: number;
53399
+ p_search?: string;
53400
+ p_slug: string;
53401
+ };
53402
+ Returns: Json;
53403
+ };
50612
53404
  pickstation_printjob_status: {
50613
53405
  Args: {
50614
53406
  p_device_key: string;
@@ -50726,6 +53518,14 @@ export type Database = {
50726
53518
  };
50727
53519
  Returns: Json;
50728
53520
  };
53521
+ pickstation_wait_times: {
53522
+ Args: {
53523
+ p_device_key?: string;
53524
+ p_queue_ids: string[];
53525
+ p_slug: string;
53526
+ };
53527
+ Returns: Json;
53528
+ };
50729
53529
  plan_standby_batch: {
50730
53530
  Args: {
50731
53531
  _items: Json;
@@ -50940,6 +53740,14 @@ export type Database = {
50940
53740
  };
50941
53741
  Returns: number;
50942
53742
  };
53743
+ print_layout_formaat_klasse: {
53744
+ Args: {
53745
+ _breedte_mm: number;
53746
+ _hoogte_mm: number;
53747
+ _papierformaat: string;
53748
+ };
53749
+ Returns: string;
53750
+ };
50943
53751
  print_preview_toestaan: {
50944
53752
  Args: {
50945
53753
  _max?: number;
@@ -51311,6 +54119,12 @@ export type Database = {
51311
54119
  };
51312
54120
  Returns: number;
51313
54121
  };
54122
+ prune_floriday_correcties: {
54123
+ Args: {
54124
+ p_limit?: number;
54125
+ };
54126
+ Returns: number;
54127
+ };
51314
54128
  prune_floriday_logs_batch: {
51315
54129
  Args: {
51316
54130
  p_batch?: number;
@@ -51318,6 +54132,18 @@ export type Database = {
51318
54132
  };
51319
54133
  Returns: Json;
51320
54134
  };
54135
+ prune_floriday_terugkoppelingen: {
54136
+ Args: {
54137
+ p_limit?: number;
54138
+ };
54139
+ Returns: number;
54140
+ };
54141
+ prune_floriday_toets: {
54142
+ Args: {
54143
+ p_limit?: number;
54144
+ };
54145
+ Returns: number;
54146
+ };
51321
54147
  quote_ack_work_order: {
51322
54148
  Args: {
51323
54149
  _queue_id: string;
@@ -52226,6 +55052,13 @@ export type Database = {
52226
55052
  };
52227
55053
  Returns: boolean;
52228
55054
  };
55055
+ scan_scanner_bootstrap: {
55056
+ Args: {
55057
+ p_device_key: string;
55058
+ p_slug: string;
55059
+ };
55060
+ Returns: Json;
55061
+ };
52229
55062
  scan_scanner_info: {
52230
55063
  Args: {
52231
55064
  p_slug: string;
@@ -54023,6 +56856,28 @@ export type Database = {
54023
56856
  Args: never;
54024
56857
  Returns: Json;
54025
56858
  };
56859
+ verkoop_order_bijwerken: {
56860
+ Args: {
56861
+ p_cf_weg?: string[];
56862
+ p_cf_zet?: Json;
56863
+ p_kolommen?: Json;
56864
+ p_order_id: string;
56865
+ };
56866
+ Returns: Json;
56867
+ };
56868
+ verkoop_orderregel_extra_opslaan: {
56869
+ Args: {
56870
+ p_order_item_id: string;
56871
+ p_patch: Json;
56872
+ };
56873
+ Returns: Json;
56874
+ };
56875
+ verkoop_orderregel_extra_voor_order: {
56876
+ Args: {
56877
+ p_order_id: string;
56878
+ };
56879
+ Returns: Json;
56880
+ };
54026
56881
  verkoop_packing_drift_apply: {
54027
56882
  Args: {
54028
56883
  p_order_ids: string[];
@@ -54058,6 +56913,20 @@ export type Database = {
54058
56913
  vastgezet: boolean;
54059
56914
  }[];
54060
56915
  };
56916
+ verkoop_regelvelden_norm: {
56917
+ Args: {
56918
+ p: Json;
56919
+ };
56920
+ Returns: Json;
56921
+ };
56922
+ verkoop_reservering_afroepen: {
56923
+ Args: {
56924
+ p_order_id: string;
56925
+ p_regels: Json;
56926
+ p_reservering_id: string;
56927
+ };
56928
+ Returns: Json;
56929
+ };
54061
56930
  verkoop_salesorder_content_hash: {
54062
56931
  Args: {
54063
56932
  p_data: Json;
@@ -54087,6 +56956,13 @@ export type Database = {
54087
56956
  };
54088
56957
  Returns: string;
54089
56958
  };
56959
+ verkoop_stickers_voor: {
56960
+ Args: {
56961
+ p_customer_id: string;
56962
+ p_vragen: Json;
56963
+ };
56964
+ Returns: Json;
56965
+ };
54090
56966
  verkoop_sync_bewaking: {
54091
56967
  Args: never;
54092
56968
  Returns: Json;
@@ -54095,6 +56971,12 @@ export type Database = {
54095
56971
  Args: never;
54096
56972
  Returns: Json;
54097
56973
  };
56974
+ verkoop_tijdlijn_fasen: {
56975
+ Args: {
56976
+ p_order_ids: string[];
56977
+ };
56978
+ Returns: Json;
56979
+ };
54098
56980
  verlof_beoordelen: {
54099
56981
  Args: {
54100
56982
  _goedkeuren: boolean;
@@ -54812,6 +57694,14 @@ export type Database = {
54812
57694
  };
54813
57695
  Returns: number;
54814
57696
  };
57697
+ voorraad_minuutronde: {
57698
+ Args: never;
57699
+ Returns: Json;
57700
+ };
57701
+ voorraad_nachtelijk_opruimen: {
57702
+ Args: never;
57703
+ Returns: Json;
57704
+ };
54815
57705
  voorraad_order_geannuleerd: {
54816
57706
  Args: {
54817
57707
  p_cancelled_at: string;
@@ -55480,7 +58370,7 @@ export type Database = {
55480
58370
  Enums: {
55481
58371
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
55482
58372
  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";
58373
+ 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
58374
  doc_orientation: "portrait" | "landscape";
55485
58375
  exact_env: "staging" | "live";
55486
58376
  exact_push_status: "pending" | "sent" | "error";
@@ -55551,7 +58441,7 @@ export declare const Constants: {
55551
58441
  readonly Enums: {
55552
58442
  readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
55553
58443
  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"];
58444
+ 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
58445
  readonly doc_orientation: readonly ["portrait", "landscape"];
55556
58446
  readonly exact_env: readonly ["staging", "live"];
55557
58447
  readonly exact_push_status: readonly ["pending", "sent", "error"];