@flowselections/floriday-afhandeling-module 1.0.110 → 1.0.111

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 (38) hide show
  1. package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
  2. package/dist-lib/components/afhandeling/ControlePage.js +3 -12
  3. package/dist-lib/components/afhandeling/LeveringenPage.js +1 -1
  4. package/dist-lib/components/afhandeling/ScanControleView.d.ts +2 -0
  5. package/dist-lib/components/afhandeling/ScanControleView.d.ts.map +1 -1
  6. package/dist-lib/components/afhandeling/ScanControleView.js +14 -30
  7. package/dist-lib/components/afhandeling/VervoerderForm.d.ts.map +1 -1
  8. package/dist-lib/components/afhandeling/VervoerderForm.js +26 -3
  9. package/dist-lib/components/afhandeling/VervoerderUitFloridayPage.d.ts +5 -0
  10. package/dist-lib/components/afhandeling/VervoerderUitFloridayPage.d.ts.map +1 -0
  11. package/dist-lib/components/afhandeling/VervoerderUitFloridayPage.js +50 -0
  12. package/dist-lib/hooks/useOrderPlanning.d.ts +3 -0
  13. package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
  14. package/dist-lib/hooks/useOrderPlanning.js +21 -7
  15. package/dist-lib/index.d.ts +1 -0
  16. package/dist-lib/index.d.ts.map +1 -1
  17. package/dist-lib/index.js +1 -0
  18. package/dist-lib/integrations/supabase/types.d.ts +1180 -0
  19. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  20. package/dist-lib/lib/carriers.functions.d.ts +34 -0
  21. package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/carriers.functions.js +57 -0
  23. package/dist-lib/lib/controleLijst.functions.d.ts +7 -7
  24. package/dist-lib/lib/controleLijst.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/controleLijst.functions.js +12 -39
  26. package/dist-lib/lib/cronVak.test.d.ts +2 -0
  27. package/dist-lib/lib/cronVak.test.d.ts.map +1 -0
  28. package/dist-lib/lib/cronVak.test.js +17 -0
  29. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/floriday.functions.js +40 -42
  31. package/dist-lib/lib/floridayTransporteur.d.ts +24 -0
  32. package/dist-lib/lib/floridayTransporteur.d.ts.map +1 -0
  33. package/dist-lib/lib/floridayTransporteur.js +31 -0
  34. package/dist-lib/lib/floridayTransporteur.test.d.ts +2 -0
  35. package/dist-lib/lib/floridayTransporteur.test.d.ts.map +1 -0
  36. package/dist-lib/lib/floridayTransporteur.test.js +19 -0
  37. package/package.json +8 -2
  38. package/schema/90_afhandeling.sql +1015 -0
@@ -1933,6 +1933,7 @@ export type Database = {
1933
1933
  delivery_location_ids: string[];
1934
1934
  delivery_weekdays: number[];
1935
1935
  email: string | null;
1936
+ floriday_carrier_gln: string | null;
1936
1937
  id: string;
1937
1938
  is_default: boolean;
1938
1939
  is_favorite: boolean;
@@ -1966,6 +1967,7 @@ export type Database = {
1966
1967
  delivery_location_ids?: string[];
1967
1968
  delivery_weekdays?: number[];
1968
1969
  email?: string | null;
1970
+ floriday_carrier_gln?: string | null;
1969
1971
  id?: string;
1970
1972
  is_default?: boolean;
1971
1973
  is_favorite?: boolean;
@@ -1999,6 +2001,7 @@ export type Database = {
1999
2001
  delivery_location_ids?: string[];
2000
2002
  delivery_weekdays?: number[];
2001
2003
  email?: string | null;
2004
+ floriday_carrier_gln?: string | null;
2002
2005
  id?: string;
2003
2006
  is_default?: boolean;
2004
2007
  is_favorite?: boolean;
@@ -2598,6 +2601,13 @@ export type Database = {
2598
2601
  isOneToOne: true;
2599
2602
  referencedRelation: "customers";
2600
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"];
2601
2611
  }
2602
2612
  ];
2603
2613
  };
@@ -2646,6 +2656,13 @@ export type Database = {
2646
2656
  referencedRelation: "customers";
2647
2657
  referencedColumns: ["id"];
2648
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
+ },
2649
2666
  {
2650
2667
  foreignKeyName: "customer_article_aliases_product_id_fkey";
2651
2668
  columns: ["product_id"];
@@ -2768,6 +2785,13 @@ export type Database = {
2768
2785
  isOneToOne: false;
2769
2786
  referencedRelation: "customers";
2770
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"];
2771
2795
  }
2772
2796
  ];
2773
2797
  };
@@ -2813,6 +2837,13 @@ export type Database = {
2813
2837
  referencedRelation: "customers";
2814
2838
  referencedColumns: ["id"];
2815
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
+ },
2816
2847
  {
2817
2848
  foreignKeyName: "customer_delivery_location_glns_location_id_fkey";
2818
2849
  columns: ["location_id"];
@@ -2857,6 +2888,13 @@ export type Database = {
2857
2888
  isOneToOne: false;
2858
2889
  referencedRelation: "customers";
2859
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"];
2860
2898
  }
2861
2899
  ];
2862
2900
  };
@@ -2947,9 +2985,98 @@ export type Database = {
2947
2985
  isOneToOne: false;
2948
2986
  referencedRelation: "customers";
2949
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"];
2950
3044
  }
2951
3045
  ];
2952
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
+ };
2953
3080
  customer_field_options: {
2954
3081
  Row: {
2955
3082
  created_at: string;
@@ -3108,6 +3235,13 @@ export type Database = {
3108
3235
  referencedRelation: "customers";
3109
3236
  referencedColumns: ["id"];
3110
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
+ },
3111
3245
  {
3112
3246
  foreignKeyName: "customer_logistics_exceptions_location_fkey";
3113
3247
  columns: ["delivery_location_id"];
@@ -3193,6 +3327,13 @@ export type Database = {
3193
3327
  isOneToOne: false;
3194
3328
  referencedRelation: "customers";
3195
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"];
3196
3337
  }
3197
3338
  ];
3198
3339
  };
@@ -3228,6 +3369,13 @@ export type Database = {
3228
3369
  isOneToOne: true;
3229
3370
  referencedRelation: "customers";
3230
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"];
3231
3379
  }
3232
3380
  ];
3233
3381
  };
@@ -3445,6 +3593,13 @@ export type Database = {
3445
3593
  isOneToOne: false;
3446
3594
  referencedRelation: "customers";
3447
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"];
3448
3603
  }
3449
3604
  ];
3450
3605
  };
@@ -3519,6 +3674,13 @@ export type Database = {
3519
3674
  isOneToOne: false;
3520
3675
  referencedRelation: "customers";
3521
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"];
3522
3684
  }
3523
3685
  ];
3524
3686
  };
@@ -7458,6 +7620,36 @@ export type Database = {
7458
7620
  };
7459
7621
  Relationships: [];
7460
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
+ };
7461
7653
  floricode_connection_settings: {
7462
7654
  Row: {
7463
7655
  catalog_key: string | null;
@@ -14071,6 +14263,54 @@ export type Database = {
14071
14263
  };
14072
14264
  Relationships: [];
14073
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
+ };
14074
14314
  layout_auto_acties: {
14075
14315
  Row: {
14076
14316
  actie: string;
@@ -14505,6 +14745,13 @@ export type Database = {
14505
14745
  referencedRelation: "customers";
14506
14746
  referencedColumns: ["id"];
14507
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
+ },
14508
14755
  {
14509
14756
  foreignKeyName: "local_customer_agreements_product_category_id_fkey";
14510
14757
  columns: ["product_category_id"];
@@ -14575,6 +14822,13 @@ export type Database = {
14575
14822
  referencedRelation: "customers";
14576
14823
  referencedColumns: ["id"];
14577
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
+ },
14578
14832
  {
14579
14833
  foreignKeyName: "local_customer_price_groups_product_category_id_fkey";
14580
14834
  columns: ["product_category_id"];
@@ -14645,6 +14899,13 @@ export type Database = {
14645
14899
  referencedRelation: "customers";
14646
14900
  referencedColumns: ["id"];
14647
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
+ },
14648
14909
  {
14649
14910
  foreignKeyName: "local_customer_sales_strategies_product_category_id_fkey";
14650
14911
  columns: ["product_category_id"];
@@ -15371,6 +15632,27 @@ export type Database = {
15371
15632
  };
15372
15633
  Relationships: [];
15373
15634
  };
15635
+ logistics_cart_wacht_vast: {
15636
+ Row: {
15637
+ bron: string;
15638
+ cart_id: string;
15639
+ vastgelegd_at: string;
15640
+ wacht_tot: string | null;
15641
+ };
15642
+ Insert: {
15643
+ bron: string;
15644
+ cart_id: string;
15645
+ vastgelegd_at?: string;
15646
+ wacht_tot?: string | null;
15647
+ };
15648
+ Update: {
15649
+ bron?: string;
15650
+ cart_id?: string;
15651
+ vastgelegd_at?: string;
15652
+ wacht_tot?: string | null;
15653
+ };
15654
+ Relationships: [];
15655
+ };
15374
15656
  logistics_control_afwijking_meldingen: {
15375
15657
  Row: {
15376
15658
  barcode: string | null;
@@ -18735,6 +19017,45 @@ export type Database = {
18735
19017
  }
18736
19018
  ];
18737
19019
  };
19020
+ logistics_order_signalen: {
19021
+ Row: {
19022
+ created_at: string;
19023
+ id: number;
19024
+ order_id: string;
19025
+ reden: string;
19026
+ };
19027
+ Insert: {
19028
+ created_at?: string;
19029
+ id?: never;
19030
+ order_id: string;
19031
+ reden: string;
19032
+ };
19033
+ Update: {
19034
+ created_at?: string;
19035
+ id?: never;
19036
+ order_id?: string;
19037
+ reden?: string;
19038
+ };
19039
+ Relationships: [];
19040
+ };
19041
+ logistics_order_spoed: {
19042
+ Row: {
19043
+ order_id: string;
19044
+ reden: string;
19045
+ vastgelegd_at: string;
19046
+ };
19047
+ Insert: {
19048
+ order_id: string;
19049
+ reden: string;
19050
+ vastgelegd_at?: string;
19051
+ };
19052
+ Update: {
19053
+ order_id?: string;
19054
+ reden?: string;
19055
+ vastgelegd_at?: string;
19056
+ };
19057
+ Relationships: [];
19058
+ };
18738
19059
  logistics_order_sticker_warnings: {
18739
19060
  Row: {
18740
19061
  benodigd_breedte_mm: number | null;
@@ -20850,6 +21171,21 @@ export type Database = {
20850
21171
  };
20851
21172
  Relationships: [];
20852
21173
  };
21174
+ logistics_wek_order: {
21175
+ Row: {
21176
+ laatst_at: string;
21177
+ order_id: string;
21178
+ };
21179
+ Insert: {
21180
+ laatst_at?: string;
21181
+ order_id: string;
21182
+ };
21183
+ Update: {
21184
+ laatst_at?: string;
21185
+ order_id?: string;
21186
+ };
21187
+ Relationships: [];
21188
+ };
20853
21189
  logistics_werker_stand: {
20854
21190
  Row: {
20855
21191
  bijgewerkt_op: string;
@@ -21041,6 +21377,7 @@ export type Database = {
21041
21377
  };
21042
21378
  mailbox_filter_settings: {
21043
21379
  Row: {
21380
+ afroep_reservering_aan: boolean;
21044
21381
  analyze_unknown_with_signals: boolean;
21045
21382
  conf_green: number;
21046
21383
  conf_orange: number;
@@ -21067,6 +21404,7 @@ export type Database = {
21067
21404
  updated_at: string;
21068
21405
  };
21069
21406
  Insert: {
21407
+ afroep_reservering_aan?: boolean;
21070
21408
  analyze_unknown_with_signals?: boolean;
21071
21409
  conf_green?: number;
21072
21410
  conf_orange?: number;
@@ -21093,6 +21431,7 @@ export type Database = {
21093
21431
  updated_at?: string;
21094
21432
  };
21095
21433
  Update: {
21434
+ afroep_reservering_aan?: boolean;
21096
21435
  analyze_unknown_with_signals?: boolean;
21097
21436
  conf_green?: number;
21098
21437
  conf_orange?: number;
@@ -21221,6 +21560,13 @@ export type Database = {
21221
21560
  isOneToOne: false;
21222
21561
  referencedRelation: "customers";
21223
21562
  referencedColumns: ["id"];
21563
+ },
21564
+ {
21565
+ foreignKeyName: "mailbox_learned_customers_customer_id_fkey";
21566
+ columns: ["customer_id"];
21567
+ isOneToOne: false;
21568
+ referencedRelation: "klanten_selecteerbaar";
21569
+ referencedColumns: ["id"];
21224
21570
  }
21225
21571
  ];
21226
21572
  };
@@ -21357,6 +21703,7 @@ export type Database = {
21357
21703
  notes: string | null;
21358
21704
  order_number: string | null;
21359
21705
  parsed_payload: Json | null;
21706
+ reservation_calloff_result: Json | null;
21360
21707
  reviewed_at: string | null;
21361
21708
  reviewed_by: string | null;
21362
21709
  status: string;
@@ -21376,6 +21723,7 @@ export type Database = {
21376
21723
  notes?: string | null;
21377
21724
  order_number?: string | null;
21378
21725
  parsed_payload?: Json | null;
21726
+ reservation_calloff_result?: Json | null;
21379
21727
  reviewed_at?: string | null;
21380
21728
  reviewed_by?: string | null;
21381
21729
  status?: string;
@@ -21395,6 +21743,7 @@ export type Database = {
21395
21743
  notes?: string | null;
21396
21744
  order_number?: string | null;
21397
21745
  parsed_payload?: Json | null;
21746
+ reservation_calloff_result?: Json | null;
21398
21747
  reviewed_at?: string | null;
21399
21748
  reviewed_by?: string | null;
21400
21749
  status?: string;
@@ -21415,6 +21764,13 @@ export type Database = {
21415
21764
  referencedRelation: "customers";
21416
21765
  referencedColumns: ["id"];
21417
21766
  },
21767
+ {
21768
+ foreignKeyName: "mailbox_order_proposals_matched_customer_id_fkey";
21769
+ columns: ["matched_customer_id"];
21770
+ isOneToOne: false;
21771
+ referencedRelation: "klanten_selecteerbaar";
21772
+ referencedColumns: ["id"];
21773
+ },
21418
21774
  {
21419
21775
  foreignKeyName: "mailbox_order_proposals_message_id_fkey";
21420
21776
  columns: ["message_id"];
@@ -22958,6 +23314,13 @@ export type Database = {
22958
23314
  referencedRelation: "customers";
22959
23315
  referencedColumns: ["id"];
22960
23316
  },
23317
+ {
23318
+ foreignKeyName: "offer_orders_customer_id_fkey";
23319
+ columns: ["customer_id"];
23320
+ isOneToOne: false;
23321
+ referencedRelation: "klanten_selecteerbaar";
23322
+ referencedColumns: ["id"];
23323
+ },
22961
23324
  {
22962
23325
  foreignKeyName: "offer_orders_order_id_fkey";
22963
23326
  columns: ["order_id"];
@@ -23038,6 +23401,13 @@ export type Database = {
23038
23401
  isOneToOne: false;
23039
23402
  referencedRelation: "customers";
23040
23403
  referencedColumns: ["id"];
23404
+ },
23405
+ {
23406
+ foreignKeyName: "offer_recipients_customer_id_fkey";
23407
+ columns: ["customer_id"];
23408
+ isOneToOne: false;
23409
+ referencedRelation: "klanten_selecteerbaar";
23410
+ referencedColumns: ["id"];
23041
23411
  }
23042
23412
  ];
23043
23413
  };
@@ -24041,6 +24411,13 @@ export type Database = {
24041
24411
  isOneToOne: false;
24042
24412
  referencedRelation: "customers";
24043
24413
  referencedColumns: ["id"];
24414
+ },
24415
+ {
24416
+ foreignKeyName: "orders_customer_id_fkey";
24417
+ columns: ["customer_id"];
24418
+ isOneToOne: false;
24419
+ referencedRelation: "klanten_selecteerbaar";
24420
+ referencedColumns: ["id"];
24044
24421
  }
24045
24422
  ];
24046
24423
  };
@@ -26910,6 +27287,7 @@ export type Database = {
26910
27287
  actief: boolean;
26911
27288
  created_at: string;
26912
27289
  id: string;
27290
+ is_controleplek: boolean | null;
26913
27291
  naam: string;
26914
27292
  omschrijving: string | null;
26915
27293
  updated_at: string;
@@ -26920,6 +27298,7 @@ export type Database = {
26920
27298
  actief?: boolean;
26921
27299
  created_at?: string;
26922
27300
  id?: string;
27301
+ is_controleplek?: boolean | null;
26923
27302
  naam: string;
26924
27303
  omschrijving?: string | null;
26925
27304
  updated_at?: string;
@@ -26930,6 +27309,7 @@ export type Database = {
26930
27309
  actief?: boolean;
26931
27310
  created_at?: string;
26932
27311
  id?: string;
27312
+ is_controleplek?: boolean | null;
26933
27313
  naam?: string;
26934
27314
  omschrijving?: string | null;
26935
27315
  updated_at?: string;
@@ -32635,6 +33015,13 @@ export type Database = {
32635
33015
  isOneToOne: false;
32636
33016
  referencedRelation: "customers";
32637
33017
  referencedColumns: ["id"];
33018
+ },
33019
+ {
33020
+ foreignKeyName: "twinfield_push_queue_customer_id_fkey";
33021
+ columns: ["customer_id"];
33022
+ isOneToOne: false;
33023
+ referencedRelation: "klanten_selecteerbaar";
33024
+ referencedColumns: ["id"];
32638
33025
  }
32639
33026
  ];
32640
33027
  };
@@ -34786,6 +35173,57 @@ export type Database = {
34786
35173
  };
34787
35174
  Relationships: [];
34788
35175
  };
35176
+ verkoop_orderregel_extra: {
35177
+ Row: {
35178
+ created_at: string;
35179
+ fust_sticker_id: string | null;
35180
+ line_fields: Json;
35181
+ line_note: string | null;
35182
+ order_id: string;
35183
+ order_item_id: string;
35184
+ product_sticker_id: string | null;
35185
+ updated_at: string;
35186
+ updated_by: string | null;
35187
+ };
35188
+ Insert: {
35189
+ created_at?: string;
35190
+ fust_sticker_id?: string | null;
35191
+ line_fields?: Json;
35192
+ line_note?: string | null;
35193
+ order_id: string;
35194
+ order_item_id: string;
35195
+ product_sticker_id?: string | null;
35196
+ updated_at?: string;
35197
+ updated_by?: string | null;
35198
+ };
35199
+ Update: {
35200
+ created_at?: string;
35201
+ fust_sticker_id?: string | null;
35202
+ line_fields?: Json;
35203
+ line_note?: string | null;
35204
+ order_id?: string;
35205
+ order_item_id?: string;
35206
+ product_sticker_id?: string | null;
35207
+ updated_at?: string;
35208
+ updated_by?: string | null;
35209
+ };
35210
+ Relationships: [
35211
+ {
35212
+ foreignKeyName: "verkoop_orderregel_extra_fust_sticker_fkey";
35213
+ columns: ["fust_sticker_id"];
35214
+ isOneToOne: false;
35215
+ referencedRelation: "customer_fust_stickers";
35216
+ referencedColumns: ["id"];
35217
+ },
35218
+ {
35219
+ foreignKeyName: "verkoop_orderregel_extra_product_sticker_fkey";
35220
+ columns: ["product_sticker_id"];
35221
+ isOneToOne: false;
35222
+ referencedRelation: "customer_product_stickers";
35223
+ referencedColumns: ["id"];
35224
+ }
35225
+ ];
35226
+ };
34789
35227
  verkoop_pickup_locations: {
34790
35228
  Row: {
34791
35229
  address_line: string | null;
@@ -34828,6 +35266,48 @@ export type Database = {
34828
35266
  };
34829
35267
  Relationships: [];
34830
35268
  };
35269
+ verkoop_reservering_afroep: {
35270
+ Row: {
35271
+ created_at: string;
35272
+ created_by: string | null;
35273
+ id: string;
35274
+ order_id: string;
35275
+ regels: Json;
35276
+ reservering_id: string;
35277
+ };
35278
+ Insert: {
35279
+ created_at?: string;
35280
+ created_by?: string | null;
35281
+ id?: string;
35282
+ order_id: string;
35283
+ regels?: Json;
35284
+ reservering_id: string;
35285
+ };
35286
+ Update: {
35287
+ created_at?: string;
35288
+ created_by?: string | null;
35289
+ id?: string;
35290
+ order_id?: string;
35291
+ regels?: Json;
35292
+ reservering_id?: string;
35293
+ };
35294
+ Relationships: [
35295
+ {
35296
+ foreignKeyName: "verkoop_reservering_afroep_order_id_fkey";
35297
+ columns: ["order_id"];
35298
+ isOneToOne: false;
35299
+ referencedRelation: "orders";
35300
+ referencedColumns: ["id"];
35301
+ },
35302
+ {
35303
+ foreignKeyName: "verkoop_reservering_afroep_reservering_id_fkey";
35304
+ columns: ["reservering_id"];
35305
+ isOneToOne: false;
35306
+ referencedRelation: "orders";
35307
+ referencedColumns: ["id"];
35308
+ }
35309
+ ];
35310
+ };
34831
35311
  verkoop_sync_state: {
34832
35312
  Row: {
34833
35313
  details: Json | null;
@@ -35954,6 +36434,30 @@ export type Database = {
35954
36434
  };
35955
36435
  Relationships: [];
35956
36436
  };
36437
+ voorraad_taak_stand: {
36438
+ Row: {
36439
+ laatste_at: string;
36440
+ laatste_fout: string | null;
36441
+ resultaat: Json;
36442
+ taak: string;
36443
+ updated_at: string;
36444
+ };
36445
+ Insert: {
36446
+ laatste_at?: string;
36447
+ laatste_fout?: string | null;
36448
+ resultaat?: Json;
36449
+ taak: string;
36450
+ updated_at?: string;
36451
+ };
36452
+ Update: {
36453
+ laatste_at?: string;
36454
+ laatste_fout?: string | null;
36455
+ resultaat?: Json;
36456
+ taak?: string;
36457
+ updated_at?: string;
36458
+ };
36459
+ Relationships: [];
36460
+ };
35957
36461
  voorraad_telmoment: {
35958
36462
  Row: {
35959
36463
  created_at: string;
@@ -37978,6 +38482,296 @@ export type Database = {
37978
38482
  };
37979
38483
  Relationships: [];
37980
38484
  };
38485
+ klanten_selecteerbaar: {
38486
+ Row: {
38487
+ address: string | null;
38488
+ address_line1: string | null;
38489
+ address_line2: string | null;
38490
+ address_type: string | null;
38491
+ attention_to: string | null;
38492
+ bank_account_holder: string | null;
38493
+ bank_account_number: string | null;
38494
+ bank_address_line1: string | null;
38495
+ bank_address_line2: string | null;
38496
+ bank_bic: string | null;
38497
+ bank_city: string | null;
38498
+ bank_country: string | null;
38499
+ bank_house_number: string | null;
38500
+ bank_iban: string | null;
38501
+ bank_name: string | null;
38502
+ bank_national_code: string | null;
38503
+ bank_postal_code: string | null;
38504
+ bank_state: string | null;
38505
+ billing_email: string | null;
38506
+ bio: string | null;
38507
+ blocked: boolean | null;
38508
+ blocked_locked: boolean | null;
38509
+ blocked_modified: string | null;
38510
+ city: string | null;
38511
+ coc_number: string | null;
38512
+ commercial_name: string | null;
38513
+ company_name: string | null;
38514
+ connection_status: string | null;
38515
+ contact_person: string | null;
38516
+ country: string | null;
38517
+ created_at: string | null;
38518
+ credit_limit: number | null;
38519
+ credit_manager: string | null;
38520
+ credit_manager_name: string | null;
38521
+ credit_manager_shortname: string | null;
38522
+ custom_fields: Json | null;
38523
+ customer_class: string | null;
38524
+ customer_number: string | null;
38525
+ default_carrier_id: string | null;
38526
+ discount_days: number | null;
38527
+ discount_percentage: number | null;
38528
+ discount_surcharge: string | null;
38529
+ e_invoicing: boolean | null;
38530
+ email: string | null;
38531
+ external_id: string | null;
38532
+ fax: string | null;
38533
+ floriday_connection_id: string | null;
38534
+ floriday_organization_id: string | null;
38535
+ floriday_raw: Json | null;
38536
+ gln: string | null;
38537
+ house_number: string | null;
38538
+ icp_country_code: string | null;
38539
+ id: string | null;
38540
+ invoice_send_as: string | null;
38541
+ is_active: boolean | null;
38542
+ language: string | null;
38543
+ last_synced_at: string | null;
38544
+ ledger_account: string | null;
38545
+ logo_url: string | null;
38546
+ markets: string[] | null;
38547
+ notes: string | null;
38548
+ organization_type: string | null;
38549
+ payment_methods: string[] | null;
38550
+ payment_spec_method: string | null;
38551
+ payment_term_days: number | null;
38552
+ phone: string | null;
38553
+ postal_code: string | null;
38554
+ product_groups: string[] | null;
38555
+ reminder_email: string | null;
38556
+ segments: string[] | null;
38557
+ send_reminder: string | null;
38558
+ source: string | null;
38559
+ street: string | null;
38560
+ sync_error: string | null;
38561
+ sync_status: string | null;
38562
+ trade_forms: string[] | null;
38563
+ twinfield_base_snapshot: Json | null;
38564
+ twinfield_base_version: number | null;
38565
+ twinfield_code: string | null;
38566
+ twinfield_create_on_insert: boolean | null;
38567
+ twinfield_last_hash: string | null;
38568
+ twinfield_missing_since: string | null;
38569
+ twinfield_present: boolean | null;
38570
+ twinfield_sync_error: string | null;
38571
+ twinfield_synced_at: string | null;
38572
+ twinfield_uid: string | null;
38573
+ twinfield_vat_code: string | null;
38574
+ updated_at: string | null;
38575
+ vat_display: string | null;
38576
+ vat_number: string | null;
38577
+ website: string | null;
38578
+ };
38579
+ Insert: {
38580
+ address?: string | null;
38581
+ address_line1?: string | null;
38582
+ address_line2?: string | null;
38583
+ address_type?: string | null;
38584
+ attention_to?: string | null;
38585
+ bank_account_holder?: string | null;
38586
+ bank_account_number?: string | null;
38587
+ bank_address_line1?: string | null;
38588
+ bank_address_line2?: string | null;
38589
+ bank_bic?: string | null;
38590
+ bank_city?: string | null;
38591
+ bank_country?: string | null;
38592
+ bank_house_number?: string | null;
38593
+ bank_iban?: string | null;
38594
+ bank_name?: string | null;
38595
+ bank_national_code?: string | null;
38596
+ bank_postal_code?: string | null;
38597
+ bank_state?: string | null;
38598
+ billing_email?: string | null;
38599
+ bio?: string | null;
38600
+ blocked?: boolean | null;
38601
+ blocked_locked?: boolean | null;
38602
+ blocked_modified?: string | null;
38603
+ city?: string | null;
38604
+ coc_number?: string | null;
38605
+ commercial_name?: string | null;
38606
+ company_name?: string | null;
38607
+ connection_status?: string | null;
38608
+ contact_person?: string | null;
38609
+ country?: string | null;
38610
+ created_at?: string | null;
38611
+ credit_limit?: number | null;
38612
+ credit_manager?: string | null;
38613
+ credit_manager_name?: string | null;
38614
+ credit_manager_shortname?: string | null;
38615
+ custom_fields?: Json | null;
38616
+ customer_class?: string | null;
38617
+ customer_number?: string | null;
38618
+ default_carrier_id?: string | null;
38619
+ discount_days?: number | null;
38620
+ discount_percentage?: number | null;
38621
+ discount_surcharge?: string | null;
38622
+ e_invoicing?: boolean | null;
38623
+ email?: string | null;
38624
+ external_id?: string | null;
38625
+ fax?: string | null;
38626
+ floriday_connection_id?: string | null;
38627
+ floriday_organization_id?: string | null;
38628
+ floriday_raw?: Json | null;
38629
+ gln?: string | null;
38630
+ house_number?: string | null;
38631
+ icp_country_code?: string | null;
38632
+ id?: string | null;
38633
+ invoice_send_as?: string | null;
38634
+ is_active?: boolean | null;
38635
+ language?: string | null;
38636
+ last_synced_at?: string | null;
38637
+ ledger_account?: string | null;
38638
+ logo_url?: string | null;
38639
+ markets?: string[] | null;
38640
+ notes?: string | null;
38641
+ organization_type?: string | null;
38642
+ payment_methods?: string[] | null;
38643
+ payment_spec_method?: string | null;
38644
+ payment_term_days?: number | null;
38645
+ phone?: string | null;
38646
+ postal_code?: string | null;
38647
+ product_groups?: string[] | null;
38648
+ reminder_email?: string | null;
38649
+ segments?: string[] | null;
38650
+ send_reminder?: string | null;
38651
+ source?: string | null;
38652
+ street?: string | null;
38653
+ sync_error?: string | null;
38654
+ sync_status?: string | null;
38655
+ trade_forms?: string[] | null;
38656
+ twinfield_base_snapshot?: Json | null;
38657
+ twinfield_base_version?: number | null;
38658
+ twinfield_code?: string | null;
38659
+ twinfield_create_on_insert?: boolean | null;
38660
+ twinfield_last_hash?: string | null;
38661
+ twinfield_missing_since?: string | null;
38662
+ twinfield_present?: boolean | null;
38663
+ twinfield_sync_error?: string | null;
38664
+ twinfield_synced_at?: string | null;
38665
+ twinfield_uid?: string | null;
38666
+ twinfield_vat_code?: string | null;
38667
+ updated_at?: string | null;
38668
+ vat_display?: string | null;
38669
+ vat_number?: string | null;
38670
+ website?: string | null;
38671
+ };
38672
+ Update: {
38673
+ address?: string | null;
38674
+ address_line1?: string | null;
38675
+ address_line2?: string | null;
38676
+ address_type?: string | null;
38677
+ attention_to?: string | null;
38678
+ bank_account_holder?: string | null;
38679
+ bank_account_number?: string | null;
38680
+ bank_address_line1?: string | null;
38681
+ bank_address_line2?: string | null;
38682
+ bank_bic?: string | null;
38683
+ bank_city?: string | null;
38684
+ bank_country?: string | null;
38685
+ bank_house_number?: string | null;
38686
+ bank_iban?: string | null;
38687
+ bank_name?: string | null;
38688
+ bank_national_code?: string | null;
38689
+ bank_postal_code?: string | null;
38690
+ bank_state?: string | null;
38691
+ billing_email?: string | null;
38692
+ bio?: string | null;
38693
+ blocked?: boolean | null;
38694
+ blocked_locked?: boolean | null;
38695
+ blocked_modified?: string | null;
38696
+ city?: string | null;
38697
+ coc_number?: string | null;
38698
+ commercial_name?: string | null;
38699
+ company_name?: string | null;
38700
+ connection_status?: string | null;
38701
+ contact_person?: string | null;
38702
+ country?: string | null;
38703
+ created_at?: string | null;
38704
+ credit_limit?: number | null;
38705
+ credit_manager?: string | null;
38706
+ credit_manager_name?: string | null;
38707
+ credit_manager_shortname?: string | null;
38708
+ custom_fields?: Json | null;
38709
+ customer_class?: string | null;
38710
+ customer_number?: string | null;
38711
+ default_carrier_id?: string | null;
38712
+ discount_days?: number | null;
38713
+ discount_percentage?: number | null;
38714
+ discount_surcharge?: string | null;
38715
+ e_invoicing?: boolean | null;
38716
+ email?: string | null;
38717
+ external_id?: string | null;
38718
+ fax?: string | null;
38719
+ floriday_connection_id?: string | null;
38720
+ floriday_organization_id?: string | null;
38721
+ floriday_raw?: Json | null;
38722
+ gln?: string | null;
38723
+ house_number?: string | null;
38724
+ icp_country_code?: string | null;
38725
+ id?: string | null;
38726
+ invoice_send_as?: string | null;
38727
+ is_active?: boolean | null;
38728
+ language?: string | null;
38729
+ last_synced_at?: string | null;
38730
+ ledger_account?: string | null;
38731
+ logo_url?: string | null;
38732
+ markets?: string[] | null;
38733
+ notes?: string | null;
38734
+ organization_type?: string | null;
38735
+ payment_methods?: string[] | null;
38736
+ payment_spec_method?: string | null;
38737
+ payment_term_days?: number | null;
38738
+ phone?: string | null;
38739
+ postal_code?: string | null;
38740
+ product_groups?: string[] | null;
38741
+ reminder_email?: string | null;
38742
+ segments?: string[] | null;
38743
+ send_reminder?: string | null;
38744
+ source?: string | null;
38745
+ street?: string | null;
38746
+ sync_error?: string | null;
38747
+ sync_status?: string | null;
38748
+ trade_forms?: string[] | null;
38749
+ twinfield_base_snapshot?: Json | null;
38750
+ twinfield_base_version?: number | null;
38751
+ twinfield_code?: string | null;
38752
+ twinfield_create_on_insert?: boolean | null;
38753
+ twinfield_last_hash?: string | null;
38754
+ twinfield_missing_since?: string | null;
38755
+ twinfield_present?: boolean | null;
38756
+ twinfield_sync_error?: string | null;
38757
+ twinfield_synced_at?: string | null;
38758
+ twinfield_uid?: string | null;
38759
+ twinfield_vat_code?: string | null;
38760
+ updated_at?: string | null;
38761
+ vat_display?: string | null;
38762
+ vat_number?: string | null;
38763
+ website?: string | null;
38764
+ };
38765
+ Relationships: [
38766
+ {
38767
+ foreignKeyName: "customers_default_carrier_id_fkey";
38768
+ columns: ["default_carrier_id"];
38769
+ isOneToOne: false;
38770
+ referencedRelation: "carriers";
38771
+ referencedColumns: ["id"];
38772
+ }
38773
+ ];
38774
+ };
37981
38775
  local_customer_discounts: {
37982
38776
  Row: {
37983
38777
  base_price: number | null;
@@ -38773,6 +39567,10 @@ export type Database = {
38773
39567
  };
38774
39568
  Returns: string;
38775
39569
  };
39570
+ _layouts_controleplek_keuze: {
39571
+ Args: never;
39572
+ Returns: Json;
39573
+ };
38776
39574
  _layouts_ontbrekende_standaarden: {
38777
39575
  Args: never;
38778
39576
  Returns: string[];
@@ -38853,6 +39651,10 @@ export type Database = {
38853
39651
  };
38854
39652
  Returns: boolean;
38855
39653
  };
39654
+ _logistics_wek_vlag: {
39655
+ Args: never;
39656
+ Returns: undefined;
39657
+ };
38856
39658
  _mailbox_norm: {
38857
39659
  Args: {
38858
39660
  p: string;
@@ -38969,6 +39771,27 @@ export type Database = {
38969
39771
  };
38970
39772
  Returns: undefined;
38971
39773
  };
39774
+ _printer_routering_kern: {
39775
+ Args: {
39776
+ _documenttype: string;
39777
+ _layout_id: string;
39778
+ _papierformaat: string;
39779
+ _plek_afgeleid: boolean;
39780
+ _print_plek_id: string;
39781
+ _werkplek: string;
39782
+ _werkplek_id: string;
39783
+ };
39784
+ Returns: Json;
39785
+ };
39786
+ _printer_routering_plek_terugval: {
39787
+ Args: {
39788
+ _klasse: string;
39789
+ _label: boolean;
39790
+ _plek: string;
39791
+ _type: string;
39792
+ };
39793
+ Returns: Json;
39794
+ };
38972
39795
  _productie_order_plan: {
38973
39796
  Args: {
38974
39797
  p_aanmaken: boolean;
@@ -39308,6 +40131,10 @@ export type Database = {
39308
40131
  Args: never;
39309
40132
  Returns: undefined;
39310
40133
  };
40134
+ afh_assert_keten: {
40135
+ Args: never;
40136
+ Returns: undefined;
40137
+ };
39311
40138
  afh_assert_server: {
39312
40139
  Args: never;
39313
40140
  Returns: undefined;
@@ -39385,6 +40212,17 @@ export type Database = {
39385
40212
  Args: never;
39386
40213
  Returns: Json;
39387
40214
  };
40215
+ afh_controlelijst_printen: {
40216
+ Args: {
40217
+ p_documentnaam: string;
40218
+ p_payload: Json;
40219
+ };
40220
+ Returns: Json;
40221
+ };
40222
+ afh_controleplek: {
40223
+ Args: never;
40224
+ Returns: Json;
40225
+ };
39388
40226
  afh_correctie_doorvoeren: {
39389
40227
  Args: {
39390
40228
  p_correctie_id: string;
@@ -39431,6 +40269,31 @@ export type Database = {
39431
40269
  name: string;
39432
40270
  }[];
39433
40271
  };
40272
+ afh_floriday_afleveropdracht_orders: {
40273
+ Args: {
40274
+ p_fulfillment_order_id: string;
40275
+ };
40276
+ Returns: string[];
40277
+ };
40278
+ afh_floriday_afleveropdrachten_van_order: {
40279
+ Args: {
40280
+ p_order_id: string;
40281
+ };
40282
+ Returns: string[];
40283
+ };
40284
+ afh_floriday_brief_binnen: {
40285
+ Args: {
40286
+ p_fulfillment_order_id: string;
40287
+ };
40288
+ Returns: Json;
40289
+ };
40290
+ afh_floriday_brief_printen: {
40291
+ Args: {
40292
+ p_fulfillment_order_id: string;
40293
+ p_herprint?: boolean;
40294
+ };
40295
+ Returns: Json;
40296
+ };
39434
40297
  afh_floriday_brief_stand: {
39435
40298
  Args: {
39436
40299
  p_order_id: string;
@@ -39465,6 +40328,15 @@ export type Database = {
39465
40328
  };
39466
40329
  Returns: string;
39467
40330
  };
40331
+ afh_keten_besluit: {
40332
+ Args: {
40333
+ p_ingelogd: boolean;
40334
+ p_request_path: string;
40335
+ p_server: boolean;
40336
+ p_trigger: boolean;
40337
+ };
40338
+ Returns: boolean;
40339
+ };
39468
40340
  afh_levering_correctie_floriday: {
39469
40341
  Args: {
39470
40342
  p_correctie_id: string;
@@ -39803,6 +40675,10 @@ export type Database = {
39803
40675
  Args: never;
39804
40676
  Returns: string;
39805
40677
  };
40678
+ afh_signup_taak_vooruit: {
40679
+ Args: never;
40680
+ Returns: string;
40681
+ };
39806
40682
  afh_signup_volgende_due: {
39807
40683
  Args: {
39808
40684
  p_cfg: Json;
@@ -39822,6 +40698,19 @@ export type Database = {
39822
40698
  Args: never;
39823
40699
  Returns: Json;
39824
40700
  };
40701
+ afh_vervoerder_bij_gln: {
40702
+ Args: {
40703
+ p_gln: string;
40704
+ };
40705
+ Returns: string;
40706
+ };
40707
+ afh_vervoerder_concept_uit_floriday: {
40708
+ Args: {
40709
+ p_gln: string;
40710
+ p_naam: string;
40711
+ };
40712
+ Returns: string;
40713
+ };
39825
40714
  afhandeling_ensure_defaults: {
39826
40715
  Args: never;
39827
40716
  Returns: Json;
@@ -41701,6 +42590,10 @@ export type Database = {
41701
42590
  Args: never;
41702
42591
  Returns: string[];
41703
42592
  };
42593
+ floriday_dashboard_replaced_crons: {
42594
+ Args: never;
42595
+ Returns: string[];
42596
+ };
41704
42597
  floriday_default_owner: {
41705
42598
  Args: {
41706
42599
  p_connection_id: string;
@@ -43081,6 +43974,18 @@ export type Database = {
43081
43974
  Args: never;
43082
43975
  Returns: Json;
43083
43976
  };
43977
+ klanten_extra_veld_verwijderen: {
43978
+ Args: {
43979
+ p_veld_id: string;
43980
+ };
43981
+ Returns: Json;
43982
+ };
43983
+ klanten_extra_velden_voor_klant: {
43984
+ Args: {
43985
+ p_customer_id?: string;
43986
+ };
43987
+ Returns: Json;
43988
+ };
43084
43989
  klanten_gln_backfill_report: {
43085
43990
  Args: never;
43086
43991
  Returns: Json;
@@ -43118,10 +44023,24 @@ export type Database = {
43118
44023
  Args: never;
43119
44024
  Returns: Json;
43120
44025
  };
44026
+ klanten_is_beheerder: {
44027
+ Args: never;
44028
+ Returns: boolean;
44029
+ };
44030
+ klanten_is_gearchiveerd: {
44031
+ Args: {
44032
+ p_customer_id: string;
44033
+ };
44034
+ Returns: boolean;
44035
+ };
43121
44036
  klanten_is_server: {
43122
44037
  Args: never;
43123
44038
  Returns: boolean;
43124
44039
  };
44040
+ klanten_klantverversing: {
44041
+ Args: never;
44042
+ Returns: Json;
44043
+ };
43125
44044
  klanten_landnaam_kandidaten: {
43126
44045
  Args: {
43127
44046
  p_waarde: string;
@@ -43223,12 +44142,22 @@ export type Database = {
43223
44142
  };
43224
44143
  Returns: Json;
43225
44144
  };
44145
+ klanten_stickerformaten_inventaris: {
44146
+ Args: never;
44147
+ Returns: Json;
44148
+ };
43226
44149
  klanten_toegang: {
43227
44150
  Args: {
43228
44151
  p_niveau: string;
43229
44152
  };
43230
44153
  Returns: undefined;
43231
44154
  };
44155
+ klanten_ververs_klantweergave: {
44156
+ Args: {
44157
+ p_bron?: string;
44158
+ };
44159
+ Returns: Json;
44160
+ };
43232
44161
  layout_klantvariant_voor: {
43233
44162
  Args: {
43234
44163
  p_administratie_code: string;
@@ -43314,6 +44243,10 @@ export type Database = {
43314
44243
  rijen: number;
43315
44244
  }[];
43316
44245
  };
44246
+ layouts_controleplek: {
44247
+ Args: never;
44248
+ Returns: Json;
44249
+ };
43317
44250
  layouts_documentlijst_stand: {
43318
44251
  Args: never;
43319
44252
  Returns: Json;
@@ -43420,6 +44353,10 @@ export type Database = {
43420
44353
  };
43421
44354
  Returns: Json;
43422
44355
  };
44356
+ layouts_sticker_formaten: {
44357
+ Args: never;
44358
+ Returns: Json;
44359
+ };
43423
44360
  layouts_sticker_verkleinen: {
43424
44361
  Args: never;
43425
44362
  Returns: Json;
@@ -43646,6 +44583,12 @@ export type Database = {
43646
44583
  toelichting: string;
43647
44584
  }[];
43648
44585
  };
44586
+ logistics_actie_nodig_floriday_vervoerders: {
44587
+ Args: {
44588
+ p_limit?: number;
44589
+ };
44590
+ Returns: Json;
44591
+ };
43649
44592
  logistics_actie_nodig_gewijzigd_na_print: {
43650
44593
  Args: {
43651
44594
  p_limit?: number;
@@ -43789,6 +44732,12 @@ export type Database = {
43789
44732
  Args: never;
43790
44733
  Returns: number;
43791
44734
  };
44735
+ logistics_artikel_letter: {
44736
+ Args: {
44737
+ p_nr: number;
44738
+ };
44739
+ Returns: string;
44740
+ };
43792
44741
  logistics_artikel_vbn: {
43793
44742
  Args: {
43794
44743
  p_product_id: string;
@@ -43912,6 +44861,15 @@ export type Database = {
43912
44861
  };
43913
44862
  Returns: Json;
43914
44863
  };
44864
+ logistics_belading_binnen_marge: {
44865
+ Args: {
44866
+ p_berekend_fpl: number;
44867
+ p_berekend_lpk: number;
44868
+ p_opgegeven_fpl: number;
44869
+ p_opgegeven_lpk: number;
44870
+ };
44871
+ Returns: boolean;
44872
+ };
43915
44873
  logistics_belading_bronnen: {
43916
44874
  Args: {
43917
44875
  p_order_item_id: string;
@@ -43992,6 +44950,12 @@ export type Database = {
43992
44950
  sleutel: string;
43993
44951
  }[];
43994
44952
  };
44953
+ logistics_beslis_belading_marge: {
44954
+ Args: {
44955
+ p_limit?: number;
44956
+ };
44957
+ Returns: Json;
44958
+ };
43995
44959
  logistics_beslis_deelkar_na: {
43996
44960
  Args: {
43997
44961
  p_cart_id: string;
@@ -44497,6 +45461,12 @@ export type Database = {
44497
45461
  };
44498
45462
  Returns: string;
44499
45463
  };
45464
+ logistics_cart_buffer_gesloten: {
45465
+ Args: {
45466
+ p_cart_id: string;
45467
+ };
45468
+ Returns: boolean;
45469
+ };
44500
45470
  logistics_cart_capaciteit_core: {
44501
45471
  Args: {
44502
45472
  p_cart_id: string;
@@ -44829,6 +45799,12 @@ export type Database = {
44829
45799
  };
44830
45800
  Returns: number;
44831
45801
  };
45802
+ logistics_cart_wacht_vastleggen: {
45803
+ Args: {
45804
+ p_cart_id: string;
45805
+ };
45806
+ Returns: string;
45807
+ };
44832
45808
  logistics_cart_wait_until: {
44833
45809
  Args: {
44834
45810
  p_cart_id: string;
@@ -45370,6 +46346,16 @@ export type Database = {
45370
46346
  karren: string[];
45371
46347
  }[];
45372
46348
  };
46349
+ logistics_eerste_eigen_leverdatum: {
46350
+ Args: {
46351
+ p_carrier_id: string;
46352
+ p_dagen?: number;
46353
+ p_moment_key: string;
46354
+ p_now: string;
46355
+ p_vanaf?: string;
46356
+ };
46357
+ Returns: Json;
46358
+ };
45373
46359
  logistics_emit_event: {
45374
46360
  Args: {
45375
46361
  p_event_type: string;
@@ -45542,6 +46528,12 @@ export type Database = {
45542
46528
  };
45543
46529
  Returns: Json;
45544
46530
  };
46531
+ logistics_floriday_brief_besluit: {
46532
+ Args: {
46533
+ p_fulfillment_order_id: string;
46534
+ };
46535
+ Returns: Json;
46536
+ };
45545
46537
  logistics_floriday_brief_gereed: {
45546
46538
  Args: {
45547
46539
  p_fulfillment_order_id: string;
@@ -45780,6 +46772,25 @@ export type Database = {
45780
46772
  Args: never;
45781
46773
  Returns: boolean;
45782
46774
  };
46775
+ logistics_floriday_transporteur_naam: {
46776
+ Args: {
46777
+ p_gln: string;
46778
+ p_naam_order?: string;
46779
+ };
46780
+ Returns: string;
46781
+ };
46782
+ logistics_floriday_vervoerder_bij_gln: {
46783
+ Args: {
46784
+ p_gln: string;
46785
+ };
46786
+ Returns: string;
46787
+ };
46788
+ logistics_floriday_vervoerder_toevoegen: {
46789
+ Args: {
46790
+ p_gln: string;
46791
+ };
46792
+ Returns: Json;
46793
+ };
45783
46794
  logistics_floriday_write_allowed: {
45784
46795
  Args: {
45785
46796
  _action: string;
@@ -46195,6 +47206,12 @@ export type Database = {
46195
47206
  };
46196
47207
  Returns: boolean;
46197
47208
  };
47209
+ logistics_json_samenvatting: {
47210
+ Args: {
47211
+ p: Json;
47212
+ };
47213
+ Returns: Json;
47214
+ };
46198
47215
  logistics_kar_aanpassen_vrijgeven: {
46199
47216
  Args: {
46200
47217
  p_order_id: string;
@@ -46748,6 +47765,13 @@ export type Database = {
46748
47765
  Args: never;
46749
47766
  Returns: Json;
46750
47767
  };
47768
+ logistics_na_goedkeuren: {
47769
+ Args: {
47770
+ p_bron?: string;
47771
+ p_cart_id: string;
47772
+ };
47773
+ Returns: Json;
47774
+ };
46751
47775
  logistics_naam_van_gebruiker: {
46752
47776
  Args: never;
46753
47777
  Returns: string;
@@ -46766,6 +47790,10 @@ export type Database = {
46766
47790
  };
46767
47791
  Returns: number;
46768
47792
  };
47793
+ logistics_nacht_opruimen: {
47794
+ Args: never;
47795
+ Returns: Json;
47796
+ };
46769
47797
  logistics_next_workday_date: {
46770
47798
  Args: {
46771
47799
  p_date: string;
@@ -46858,6 +47886,13 @@ export type Database = {
46858
47886
  Args: never;
46859
47887
  Returns: string;
46860
47888
  };
47889
+ logistics_opruimen_ronde: {
47890
+ Args: {
47891
+ p_max_ms?: number;
47892
+ p_portie?: number;
47893
+ };
47894
+ Returns: Json;
47895
+ };
46861
47896
  logistics_order_afgemeld: {
46862
47897
  Args: {
46863
47898
  p_order_id: string;
@@ -47379,6 +48414,26 @@ export type Database = {
47379
48414
  };
47380
48415
  Returns: boolean;
47381
48416
  };
48417
+ logistics_order_signaal: {
48418
+ Args: {
48419
+ p_order_id: string;
48420
+ p_reden: string;
48421
+ };
48422
+ Returns: undefined;
48423
+ };
48424
+ logistics_order_signalen_verwerken: {
48425
+ Args: {
48426
+ p_limit?: number;
48427
+ p_max_ms?: number;
48428
+ };
48429
+ Returns: Json;
48430
+ };
48431
+ logistics_order_spoed_bepalen: {
48432
+ Args: {
48433
+ p_order_ids: string[];
48434
+ };
48435
+ Returns: string;
48436
+ };
47382
48437
  logistics_order_stappen: {
47383
48438
  Args: {
47384
48439
  p_order_ids: string[];
@@ -47474,6 +48529,12 @@ export type Database = {
47474
48529
  toelichting: string;
47475
48530
  }[];
47476
48531
  };
48532
+ logistics_own_fuststicker_sync: {
48533
+ Args: {
48534
+ p_limit?: number;
48535
+ };
48536
+ Returns: Json;
48537
+ };
47477
48538
  logistics_own_sticker_count: {
47478
48539
  Args: {
47479
48540
  p_ppc_product: number;
@@ -48931,6 +49992,13 @@ export type Database = {
48931
49992
  Args: never;
48932
49993
  Returns: Json;
48933
49994
  };
49995
+ logistics_slip_cart_extra: {
49996
+ Args: {
49997
+ p_cart: Json;
49998
+ p_extra: Json;
49999
+ };
50000
+ Returns: Json;
50001
+ };
48934
50002
  logistics_slip_is_floriday: {
48935
50003
  Args: {
48936
50004
  _slip_job_id: string;
@@ -49046,6 +50114,12 @@ export type Database = {
49046
50114
  };
49047
50115
  Returns: undefined;
49048
50116
  };
50117
+ logistics_spoed_wacht_opruimen: {
50118
+ Args: {
50119
+ p_portie?: number;
50120
+ };
50121
+ Returns: Json;
50122
+ };
49049
50123
  logistics_stale_buffer_carts: {
49050
50124
  Args: {
49051
50125
  p_buffer?: string;
@@ -49713,10 +50787,31 @@ export type Database = {
49713
50787
  };
49714
50788
  Returns: Json;
49715
50789
  };
50790
+ logistics_wek: {
50791
+ Args: {
50792
+ p_order_id?: string;
50793
+ p_reden: string;
50794
+ };
50795
+ Returns: undefined;
50796
+ };
49716
50797
  logistics_werker_budget_ms: {
49717
50798
  Args: never;
49718
50799
  Returns: number;
49719
50800
  };
50801
+ logistics_werker_dispatch_stap: {
50802
+ Args: {
50803
+ p_budget_ms: number;
50804
+ p_stap: string;
50805
+ };
50806
+ Returns: Json;
50807
+ };
50808
+ logistics_werker_dispatch_vastleggen: {
50809
+ Args: {
50810
+ p_stappen: Json;
50811
+ p_start: string;
50812
+ };
50813
+ Returns: undefined;
50814
+ };
49720
50815
  logistics_werker_draai: {
49721
50816
  Args: {
49722
50817
  p_stappen: Json;
@@ -49846,6 +50941,10 @@ export type Database = {
49846
50941
  };
49847
50942
  Returns: Json;
49848
50943
  };
50944
+ mailbox_reservation_calloff_available: {
50945
+ Args: never;
50946
+ Returns: boolean;
50947
+ };
49849
50948
  mailbox_standaard_lijsten: {
49850
50949
  Args: never;
49851
50950
  Returns: Json;
@@ -50906,6 +52005,10 @@ export type Database = {
50906
52005
  omschrijving: string;
50907
52006
  }[];
50908
52007
  };
52008
+ pick_printplek_beheer_link: {
52009
+ Args: never;
52010
+ Returns: string;
52011
+ };
50909
52012
  pick_queue_cart_plan: {
50910
52013
  Args: {
50911
52014
  _queue_item_id: string;
@@ -52156,6 +53259,16 @@ export type Database = {
52156
53259
  };
52157
53260
  Returns: Json;
52158
53261
  };
53262
+ pickstation_printed_today: {
53263
+ Args: {
53264
+ p_device_key?: string;
53265
+ p_limit?: number;
53266
+ p_offset?: number;
53267
+ p_search?: string;
53268
+ p_slug: string;
53269
+ };
53270
+ Returns: Json;
53271
+ };
52159
53272
  pickstation_printjob_status: {
52160
53273
  Args: {
52161
53274
  p_device_key: string;
@@ -52273,6 +53386,14 @@ export type Database = {
52273
53386
  };
52274
53387
  Returns: Json;
52275
53388
  };
53389
+ pickstation_wait_times: {
53390
+ Args: {
53391
+ p_device_key?: string;
53392
+ p_queue_ids: string[];
53393
+ p_slug: string;
53394
+ };
53395
+ Returns: Json;
53396
+ };
52276
53397
  plan_standby_batch: {
52277
53398
  Args: {
52278
53399
  _items: Json;
@@ -52487,6 +53608,14 @@ export type Database = {
52487
53608
  };
52488
53609
  Returns: number;
52489
53610
  };
53611
+ print_layout_formaat_klasse: {
53612
+ Args: {
53613
+ _breedte_mm: number;
53614
+ _hoogte_mm: number;
53615
+ _papierformaat: string;
53616
+ };
53617
+ Returns: string;
53618
+ };
52490
53619
  print_preview_toestaan: {
52491
53620
  Args: {
52492
53621
  _max?: number;
@@ -53791,6 +54920,13 @@ export type Database = {
53791
54920
  };
53792
54921
  Returns: boolean;
53793
54922
  };
54923
+ scan_scanner_bootstrap: {
54924
+ Args: {
54925
+ p_device_key: string;
54926
+ p_slug: string;
54927
+ };
54928
+ Returns: Json;
54929
+ };
53794
54930
  scan_scanner_info: {
53795
54931
  Args: {
53796
54932
  p_slug: string;
@@ -55588,6 +56724,28 @@ export type Database = {
55588
56724
  Args: never;
55589
56725
  Returns: Json;
55590
56726
  };
56727
+ verkoop_order_bijwerken: {
56728
+ Args: {
56729
+ p_cf_weg?: string[];
56730
+ p_cf_zet?: Json;
56731
+ p_kolommen?: Json;
56732
+ p_order_id: string;
56733
+ };
56734
+ Returns: Json;
56735
+ };
56736
+ verkoop_orderregel_extra_opslaan: {
56737
+ Args: {
56738
+ p_order_item_id: string;
56739
+ p_patch: Json;
56740
+ };
56741
+ Returns: Json;
56742
+ };
56743
+ verkoop_orderregel_extra_voor_order: {
56744
+ Args: {
56745
+ p_order_id: string;
56746
+ };
56747
+ Returns: Json;
56748
+ };
55591
56749
  verkoop_packing_drift_apply: {
55592
56750
  Args: {
55593
56751
  p_order_ids: string[];
@@ -55623,6 +56781,20 @@ export type Database = {
55623
56781
  vastgezet: boolean;
55624
56782
  }[];
55625
56783
  };
56784
+ verkoop_regelvelden_norm: {
56785
+ Args: {
56786
+ p: Json;
56787
+ };
56788
+ Returns: Json;
56789
+ };
56790
+ verkoop_reservering_afroepen: {
56791
+ Args: {
56792
+ p_order_id: string;
56793
+ p_regels: Json;
56794
+ p_reservering_id: string;
56795
+ };
56796
+ Returns: Json;
56797
+ };
55626
56798
  verkoop_salesorder_content_hash: {
55627
56799
  Args: {
55628
56800
  p_data: Json;
@@ -56377,6 +57549,14 @@ export type Database = {
56377
57549
  };
56378
57550
  Returns: number;
56379
57551
  };
57552
+ voorraad_minuutronde: {
57553
+ Args: never;
57554
+ Returns: Json;
57555
+ };
57556
+ voorraad_nachtelijk_opruimen: {
57557
+ Args: never;
57558
+ Returns: Json;
57559
+ };
56380
57560
  voorraad_order_geannuleerd: {
56381
57561
  Args: {
56382
57562
  p_cancelled_at: string;