@flowselections/scan-module 1.0.46 → 1.0.48

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.
@@ -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"];
2950
2995
  }
2951
2996
  ];
2952
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"];
3044
+ }
3045
+ ];
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"];
@@ -14892,6 +15153,42 @@ export type Database = {
14892
15153
  };
14893
15154
  Relationships: [];
14894
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
+ };
14895
15192
  logistics_belading_bevestigingen: {
14896
15193
  Row: {
14897
15194
  bevestigd_door: string | null;
@@ -15371,6 +15668,27 @@ export type Database = {
15371
15668
  };
15372
15669
  Relationships: [];
15373
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
+ };
15374
15692
  logistics_control_afwijking_meldingen: {
15375
15693
  Row: {
15376
15694
  barcode: string | null;
@@ -18735,6 +19053,45 @@ export type Database = {
18735
19053
  }
18736
19054
  ];
18737
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
+ };
18738
19095
  logistics_order_sticker_warnings: {
18739
19096
  Row: {
18740
19097
  benodigd_breedte_mm: number | null;
@@ -20850,6 +21207,21 @@ export type Database = {
20850
21207
  };
20851
21208
  Relationships: [];
20852
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
+ };
20853
21225
  logistics_werker_stand: {
20854
21226
  Row: {
20855
21227
  bijgewerkt_op: string;
@@ -21041,6 +21413,7 @@ export type Database = {
21041
21413
  };
21042
21414
  mailbox_filter_settings: {
21043
21415
  Row: {
21416
+ afroep_reservering_aan: boolean;
21044
21417
  analyze_unknown_with_signals: boolean;
21045
21418
  conf_green: number;
21046
21419
  conf_orange: number;
@@ -21067,6 +21440,7 @@ export type Database = {
21067
21440
  updated_at: string;
21068
21441
  };
21069
21442
  Insert: {
21443
+ afroep_reservering_aan?: boolean;
21070
21444
  analyze_unknown_with_signals?: boolean;
21071
21445
  conf_green?: number;
21072
21446
  conf_orange?: number;
@@ -21093,6 +21467,7 @@ export type Database = {
21093
21467
  updated_at?: string;
21094
21468
  };
21095
21469
  Update: {
21470
+ afroep_reservering_aan?: boolean;
21096
21471
  analyze_unknown_with_signals?: boolean;
21097
21472
  conf_green?: number;
21098
21473
  conf_orange?: number;
@@ -21221,6 +21596,13 @@ export type Database = {
21221
21596
  isOneToOne: false;
21222
21597
  referencedRelation: "customers";
21223
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"];
21224
21606
  }
21225
21607
  ];
21226
21608
  };
@@ -21357,6 +21739,7 @@ export type Database = {
21357
21739
  notes: string | null;
21358
21740
  order_number: string | null;
21359
21741
  parsed_payload: Json | null;
21742
+ reservation_calloff_result: Json | null;
21360
21743
  reviewed_at: string | null;
21361
21744
  reviewed_by: string | null;
21362
21745
  status: string;
@@ -21376,6 +21759,7 @@ export type Database = {
21376
21759
  notes?: string | null;
21377
21760
  order_number?: string | null;
21378
21761
  parsed_payload?: Json | null;
21762
+ reservation_calloff_result?: Json | null;
21379
21763
  reviewed_at?: string | null;
21380
21764
  reviewed_by?: string | null;
21381
21765
  status?: string;
@@ -21395,6 +21779,7 @@ export type Database = {
21395
21779
  notes?: string | null;
21396
21780
  order_number?: string | null;
21397
21781
  parsed_payload?: Json | null;
21782
+ reservation_calloff_result?: Json | null;
21398
21783
  reviewed_at?: string | null;
21399
21784
  reviewed_by?: string | null;
21400
21785
  status?: string;
@@ -21415,6 +21800,13 @@ export type Database = {
21415
21800
  referencedRelation: "customers";
21416
21801
  referencedColumns: ["id"];
21417
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
+ },
21418
21810
  {
21419
21811
  foreignKeyName: "mailbox_order_proposals_message_id_fkey";
21420
21812
  columns: ["message_id"];
@@ -22958,6 +23350,13 @@ export type Database = {
22958
23350
  referencedRelation: "customers";
22959
23351
  referencedColumns: ["id"];
22960
23352
  },
23353
+ {
23354
+ foreignKeyName: "offer_orders_customer_id_fkey";
23355
+ columns: ["customer_id"];
23356
+ isOneToOne: false;
23357
+ referencedRelation: "klanten_selecteerbaar";
23358
+ referencedColumns: ["id"];
23359
+ },
22961
23360
  {
22962
23361
  foreignKeyName: "offer_orders_order_id_fkey";
22963
23362
  columns: ["order_id"];
@@ -23038,6 +23437,13 @@ export type Database = {
23038
23437
  isOneToOne: false;
23039
23438
  referencedRelation: "customers";
23040
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"];
23041
23447
  }
23042
23448
  ];
23043
23449
  };
@@ -24041,6 +24447,13 @@ export type Database = {
24041
24447
  isOneToOne: false;
24042
24448
  referencedRelation: "customers";
24043
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"];
24044
24457
  }
24045
24458
  ];
24046
24459
  };
@@ -26910,6 +27323,7 @@ export type Database = {
26910
27323
  actief: boolean;
26911
27324
  created_at: string;
26912
27325
  id: string;
27326
+ is_controleplek: boolean | null;
26913
27327
  naam: string;
26914
27328
  omschrijving: string | null;
26915
27329
  updated_at: string;
@@ -26920,6 +27334,7 @@ export type Database = {
26920
27334
  actief?: boolean;
26921
27335
  created_at?: string;
26922
27336
  id?: string;
27337
+ is_controleplek?: boolean | null;
26923
27338
  naam: string;
26924
27339
  omschrijving?: string | null;
26925
27340
  updated_at?: string;
@@ -26930,6 +27345,7 @@ export type Database = {
26930
27345
  actief?: boolean;
26931
27346
  created_at?: string;
26932
27347
  id?: string;
27348
+ is_controleplek?: boolean | null;
26933
27349
  naam?: string;
26934
27350
  omschrijving?: string | null;
26935
27351
  updated_at?: string;
@@ -32635,6 +33051,13 @@ export type Database = {
32635
33051
  isOneToOne: false;
32636
33052
  referencedRelation: "customers";
32637
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"];
32638
33061
  }
32639
33062
  ];
32640
33063
  };
@@ -34786,6 +35209,57 @@ export type Database = {
34786
35209
  };
34787
35210
  Relationships: [];
34788
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
+ };
34789
35263
  verkoop_pickup_locations: {
34790
35264
  Row: {
34791
35265
  address_line: string | null;
@@ -34828,6 +35302,48 @@ export type Database = {
34828
35302
  };
34829
35303
  Relationships: [];
34830
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
+ };
34831
35347
  verkoop_sync_state: {
34832
35348
  Row: {
34833
35349
  details: Json | null;
@@ -35954,6 +36470,30 @@ export type Database = {
35954
36470
  };
35955
36471
  Relationships: [];
35956
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
+ };
35957
36497
  voorraad_telmoment: {
35958
36498
  Row: {
35959
36499
  created_at: string;
@@ -37978,6 +38518,296 @@ export type Database = {
37978
38518
  };
37979
38519
  Relationships: [];
37980
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
+ };
37981
38811
  local_customer_discounts: {
37982
38812
  Row: {
37983
38813
  base_price: number | null;
@@ -38773,6 +39603,10 @@ export type Database = {
38773
39603
  };
38774
39604
  Returns: string;
38775
39605
  };
39606
+ _layouts_controleplek_keuze: {
39607
+ Args: never;
39608
+ Returns: Json;
39609
+ };
38776
39610
  _layouts_ontbrekende_standaarden: {
38777
39611
  Args: never;
38778
39612
  Returns: string[];
@@ -38853,6 +39687,10 @@ export type Database = {
38853
39687
  };
38854
39688
  Returns: boolean;
38855
39689
  };
39690
+ _logistics_wek_vlag: {
39691
+ Args: never;
39692
+ Returns: undefined;
39693
+ };
38856
39694
  _mailbox_norm: {
38857
39695
  Args: {
38858
39696
  p: string;
@@ -38969,6 +39807,27 @@ export type Database = {
38969
39807
  };
38970
39808
  Returns: undefined;
38971
39809
  };
39810
+ _printer_routering_kern: {
39811
+ Args: {
39812
+ _documenttype: string;
39813
+ _layout_id: string;
39814
+ _papierformaat: string;
39815
+ _plek_afgeleid: boolean;
39816
+ _print_plek_id: string;
39817
+ _werkplek: string;
39818
+ _werkplek_id: string;
39819
+ };
39820
+ Returns: Json;
39821
+ };
39822
+ _printer_routering_plek_terugval: {
39823
+ Args: {
39824
+ _klasse: string;
39825
+ _label: boolean;
39826
+ _plek: string;
39827
+ _type: string;
39828
+ };
39829
+ Returns: Json;
39830
+ };
38972
39831
  _productie_order_plan: {
38973
39832
  Args: {
38974
39833
  p_aanmaken: boolean;
@@ -39308,6 +40167,10 @@ export type Database = {
39308
40167
  Args: never;
39309
40168
  Returns: undefined;
39310
40169
  };
40170
+ afh_assert_keten: {
40171
+ Args: never;
40172
+ Returns: undefined;
40173
+ };
39311
40174
  afh_assert_server: {
39312
40175
  Args: never;
39313
40176
  Returns: undefined;
@@ -39385,6 +40248,17 @@ export type Database = {
39385
40248
  Args: never;
39386
40249
  Returns: Json;
39387
40250
  };
40251
+ afh_controlelijst_printen: {
40252
+ Args: {
40253
+ p_documentnaam: string;
40254
+ p_payload: Json;
40255
+ };
40256
+ Returns: Json;
40257
+ };
40258
+ afh_controleplek: {
40259
+ Args: never;
40260
+ Returns: Json;
40261
+ };
39388
40262
  afh_correctie_doorvoeren: {
39389
40263
  Args: {
39390
40264
  p_correctie_id: string;
@@ -39431,6 +40305,31 @@ export type Database = {
39431
40305
  name: string;
39432
40306
  }[];
39433
40307
  };
40308
+ afh_floriday_afleveropdracht_orders: {
40309
+ Args: {
40310
+ p_fulfillment_order_id: string;
40311
+ };
40312
+ Returns: string[];
40313
+ };
40314
+ afh_floriday_afleveropdrachten_van_order: {
40315
+ Args: {
40316
+ p_order_id: string;
40317
+ };
40318
+ Returns: string[];
40319
+ };
40320
+ afh_floriday_brief_binnen: {
40321
+ Args: {
40322
+ p_fulfillment_order_id: string;
40323
+ };
40324
+ Returns: Json;
40325
+ };
40326
+ afh_floriday_brief_printen: {
40327
+ Args: {
40328
+ p_fulfillment_order_id: string;
40329
+ p_herprint?: boolean;
40330
+ };
40331
+ Returns: Json;
40332
+ };
39434
40333
  afh_floriday_brief_stand: {
39435
40334
  Args: {
39436
40335
  p_order_id: string;
@@ -39465,6 +40364,15 @@ export type Database = {
39465
40364
  };
39466
40365
  Returns: string;
39467
40366
  };
40367
+ afh_keten_besluit: {
40368
+ Args: {
40369
+ p_ingelogd: boolean;
40370
+ p_request_path: string;
40371
+ p_server: boolean;
40372
+ p_trigger: boolean;
40373
+ };
40374
+ Returns: boolean;
40375
+ };
39468
40376
  afh_levering_correctie_floriday: {
39469
40377
  Args: {
39470
40378
  p_correctie_id: string;
@@ -39803,6 +40711,10 @@ export type Database = {
39803
40711
  Args: never;
39804
40712
  Returns: string;
39805
40713
  };
40714
+ afh_signup_taak_vooruit: {
40715
+ Args: never;
40716
+ Returns: string;
40717
+ };
39806
40718
  afh_signup_volgende_due: {
39807
40719
  Args: {
39808
40720
  p_cfg: Json;
@@ -39822,6 +40734,19 @@ export type Database = {
39822
40734
  Args: never;
39823
40735
  Returns: Json;
39824
40736
  };
40737
+ afh_vervoerder_bij_gln: {
40738
+ Args: {
40739
+ p_gln: string;
40740
+ };
40741
+ Returns: string;
40742
+ };
40743
+ afh_vervoerder_concept_uit_floriday: {
40744
+ Args: {
40745
+ p_gln: string;
40746
+ p_naam: string;
40747
+ };
40748
+ Returns: string;
40749
+ };
39825
40750
  afhandeling_ensure_defaults: {
39826
40751
  Args: never;
39827
40752
  Returns: Json;
@@ -41681,6 +42606,13 @@ export type Database = {
41681
42606
  timeout_ms: number;
41682
42607
  }[];
41683
42608
  };
42609
+ floriday_cron_job_state: {
42610
+ Args: {
42611
+ p_command: string;
42612
+ p_soort: string;
42613
+ };
42614
+ Returns: string;
42615
+ };
41684
42616
  floriday_cron_key: {
41685
42617
  Args: never;
41686
42618
  Returns: string;
@@ -41701,6 +42633,10 @@ export type Database = {
41701
42633
  Args: never;
41702
42634
  Returns: string[];
41703
42635
  };
42636
+ floriday_dashboard_replaced_crons: {
42637
+ Args: never;
42638
+ Returns: string[];
42639
+ };
41704
42640
  floriday_default_owner: {
41705
42641
  Args: {
41706
42642
  p_connection_id: string;
@@ -43081,6 +44017,18 @@ export type Database = {
43081
44017
  Args: never;
43082
44018
  Returns: Json;
43083
44019
  };
44020
+ klanten_extra_veld_verwijderen: {
44021
+ Args: {
44022
+ p_veld_id: string;
44023
+ };
44024
+ Returns: Json;
44025
+ };
44026
+ klanten_extra_velden_voor_klant: {
44027
+ Args: {
44028
+ p_customer_id?: string;
44029
+ };
44030
+ Returns: Json;
44031
+ };
43084
44032
  klanten_gln_backfill_report: {
43085
44033
  Args: never;
43086
44034
  Returns: Json;
@@ -43118,10 +44066,24 @@ export type Database = {
43118
44066
  Args: never;
43119
44067
  Returns: Json;
43120
44068
  };
44069
+ klanten_is_beheerder: {
44070
+ Args: never;
44071
+ Returns: boolean;
44072
+ };
44073
+ klanten_is_gearchiveerd: {
44074
+ Args: {
44075
+ p_customer_id: string;
44076
+ };
44077
+ Returns: boolean;
44078
+ };
43121
44079
  klanten_is_server: {
43122
44080
  Args: never;
43123
44081
  Returns: boolean;
43124
44082
  };
44083
+ klanten_klantverversing: {
44084
+ Args: never;
44085
+ Returns: Json;
44086
+ };
43125
44087
  klanten_landnaam_kandidaten: {
43126
44088
  Args: {
43127
44089
  p_waarde: string;
@@ -43223,12 +44185,22 @@ export type Database = {
43223
44185
  };
43224
44186
  Returns: Json;
43225
44187
  };
44188
+ klanten_stickerformaten_inventaris: {
44189
+ Args: never;
44190
+ Returns: Json;
44191
+ };
43226
44192
  klanten_toegang: {
43227
44193
  Args: {
43228
44194
  p_niveau: string;
43229
44195
  };
43230
44196
  Returns: undefined;
43231
44197
  };
44198
+ klanten_ververs_klantweergave: {
44199
+ Args: {
44200
+ p_bron?: string;
44201
+ };
44202
+ Returns: Json;
44203
+ };
43232
44204
  layout_klantvariant_voor: {
43233
44205
  Args: {
43234
44206
  p_administratie_code: string;
@@ -43314,6 +44286,10 @@ export type Database = {
43314
44286
  rijen: number;
43315
44287
  }[];
43316
44288
  };
44289
+ layouts_controleplek: {
44290
+ Args: never;
44291
+ Returns: Json;
44292
+ };
43317
44293
  layouts_documentlijst_stand: {
43318
44294
  Args: never;
43319
44295
  Returns: Json;
@@ -43420,6 +44396,10 @@ export type Database = {
43420
44396
  };
43421
44397
  Returns: Json;
43422
44398
  };
44399
+ layouts_sticker_formaten: {
44400
+ Args: never;
44401
+ Returns: Json;
44402
+ };
43423
44403
  layouts_sticker_verkleinen: {
43424
44404
  Args: never;
43425
44405
  Returns: Json;
@@ -43646,6 +44626,12 @@ export type Database = {
43646
44626
  toelichting: string;
43647
44627
  }[];
43648
44628
  };
44629
+ logistics_actie_nodig_floriday_vervoerders: {
44630
+ Args: {
44631
+ p_limit?: number;
44632
+ };
44633
+ Returns: Json;
44634
+ };
43649
44635
  logistics_actie_nodig_gewijzigd_na_print: {
43650
44636
  Args: {
43651
44637
  p_limit?: number;
@@ -43789,6 +44775,12 @@ export type Database = {
43789
44775
  Args: never;
43790
44776
  Returns: number;
43791
44777
  };
44778
+ logistics_artikel_letter: {
44779
+ Args: {
44780
+ p_nr: number;
44781
+ };
44782
+ Returns: string;
44783
+ };
43792
44784
  logistics_artikel_vbn: {
43793
44785
  Args: {
43794
44786
  p_product_id: string;
@@ -43904,6 +44896,30 @@ export type Database = {
43904
44896
  Args: never;
43905
44897
  Returns: number;
43906
44898
  };
44899
+ logistics_bel_meldingen_sync: {
44900
+ Args: {
44901
+ p_limit?: number;
44902
+ };
44903
+ Returns: Json;
44904
+ };
44905
+ logistics_bel_oorzaken: {
44906
+ Args: {
44907
+ p_limit?: number;
44908
+ };
44909
+ Returns: {
44910
+ link: string;
44911
+ sleutel: string;
44912
+ soort: string;
44913
+ tekst: string;
44914
+ titel: string;
44915
+ }[];
44916
+ };
44917
+ logistics_bel_order_pad: {
44918
+ Args: {
44919
+ p_order_id: string;
44920
+ };
44921
+ Returns: string;
44922
+ };
43907
44923
  logistics_belading_bevestig: {
43908
44924
  Args: {
43909
44925
  p_order_id: string;
@@ -43912,6 +44928,15 @@ export type Database = {
43912
44928
  };
43913
44929
  Returns: Json;
43914
44930
  };
44931
+ logistics_belading_binnen_marge: {
44932
+ Args: {
44933
+ p_berekend_fpl: number;
44934
+ p_berekend_lpk: number;
44935
+ p_opgegeven_fpl: number;
44936
+ p_opgegeven_lpk: number;
44937
+ };
44938
+ Returns: boolean;
44939
+ };
43915
44940
  logistics_belading_bronnen: {
43916
44941
  Args: {
43917
44942
  p_order_item_id: string;
@@ -43992,6 +45017,12 @@ export type Database = {
43992
45017
  sleutel: string;
43993
45018
  }[];
43994
45019
  };
45020
+ logistics_beslis_belading_marge: {
45021
+ Args: {
45022
+ p_limit?: number;
45023
+ };
45024
+ Returns: Json;
45025
+ };
43995
45026
  logistics_beslis_deelkar_na: {
43996
45027
  Args: {
43997
45028
  p_cart_id: string;
@@ -44497,6 +45528,12 @@ export type Database = {
44497
45528
  };
44498
45529
  Returns: string;
44499
45530
  };
45531
+ logistics_cart_buffer_gesloten: {
45532
+ Args: {
45533
+ p_cart_id: string;
45534
+ };
45535
+ Returns: boolean;
45536
+ };
44500
45537
  logistics_cart_capaciteit_core: {
44501
45538
  Args: {
44502
45539
  p_cart_id: string;
@@ -44829,6 +45866,12 @@ export type Database = {
44829
45866
  };
44830
45867
  Returns: number;
44831
45868
  };
45869
+ logistics_cart_wacht_vastleggen: {
45870
+ Args: {
45871
+ p_cart_id: string;
45872
+ };
45873
+ Returns: string;
45874
+ };
44832
45875
  logistics_cart_wait_until: {
44833
45876
  Args: {
44834
45877
  p_cart_id: string;
@@ -45370,6 +46413,16 @@ export type Database = {
45370
46413
  karren: string[];
45371
46414
  }[];
45372
46415
  };
46416
+ logistics_eerste_eigen_leverdatum: {
46417
+ Args: {
46418
+ p_carrier_id: string;
46419
+ p_dagen?: number;
46420
+ p_moment_key: string;
46421
+ p_now: string;
46422
+ p_vanaf?: string;
46423
+ };
46424
+ Returns: Json;
46425
+ };
45373
46426
  logistics_emit_event: {
45374
46427
  Args: {
45375
46428
  p_event_type: string;
@@ -45542,6 +46595,12 @@ export type Database = {
45542
46595
  };
45543
46596
  Returns: Json;
45544
46597
  };
46598
+ logistics_floriday_brief_besluit: {
46599
+ Args: {
46600
+ p_fulfillment_order_id: string;
46601
+ };
46602
+ Returns: Json;
46603
+ };
45545
46604
  logistics_floriday_brief_gereed: {
45546
46605
  Args: {
45547
46606
  p_fulfillment_order_id: string;
@@ -45600,6 +46659,12 @@ export type Database = {
45600
46659
  Args: never;
45601
46660
  Returns: boolean;
45602
46661
  };
46662
+ logistics_floriday_eigen_transport: {
46663
+ Args: {
46664
+ p_custom_fields: Json;
46665
+ };
46666
+ Returns: boolean;
46667
+ };
45603
46668
  logistics_floriday_finish_push: {
45604
46669
  Args: {
45605
46670
  _error?: string;
@@ -45780,6 +46845,25 @@ export type Database = {
45780
46845
  Args: never;
45781
46846
  Returns: boolean;
45782
46847
  };
46848
+ logistics_floriday_transporteur_naam: {
46849
+ Args: {
46850
+ p_gln: string;
46851
+ p_naam_order?: string;
46852
+ };
46853
+ Returns: string;
46854
+ };
46855
+ logistics_floriday_vervoerder_bij_gln: {
46856
+ Args: {
46857
+ p_gln: string;
46858
+ };
46859
+ Returns: string;
46860
+ };
46861
+ logistics_floriday_vervoerder_toevoegen: {
46862
+ Args: {
46863
+ p_gln: string;
46864
+ };
46865
+ Returns: Json;
46866
+ };
45783
46867
  logistics_floriday_write_allowed: {
45784
46868
  Args: {
45785
46869
  _action: string;
@@ -46195,6 +47279,12 @@ export type Database = {
46195
47279
  };
46196
47280
  Returns: boolean;
46197
47281
  };
47282
+ logistics_json_samenvatting: {
47283
+ Args: {
47284
+ p: Json;
47285
+ };
47286
+ Returns: Json;
47287
+ };
46198
47288
  logistics_kar_aanpassen_vrijgeven: {
46199
47289
  Args: {
46200
47290
  p_order_id: string;
@@ -46748,6 +47838,13 @@ export type Database = {
46748
47838
  Args: never;
46749
47839
  Returns: Json;
46750
47840
  };
47841
+ logistics_na_goedkeuren: {
47842
+ Args: {
47843
+ p_bron?: string;
47844
+ p_cart_id: string;
47845
+ };
47846
+ Returns: Json;
47847
+ };
46751
47848
  logistics_naam_van_gebruiker: {
46752
47849
  Args: never;
46753
47850
  Returns: string;
@@ -46766,6 +47863,10 @@ export type Database = {
46766
47863
  };
46767
47864
  Returns: number;
46768
47865
  };
47866
+ logistics_nacht_opruimen: {
47867
+ Args: never;
47868
+ Returns: Json;
47869
+ };
46769
47870
  logistics_next_workday_date: {
46770
47871
  Args: {
46771
47872
  p_date: string;
@@ -46858,6 +47959,13 @@ export type Database = {
46858
47959
  Args: never;
46859
47960
  Returns: string;
46860
47961
  };
47962
+ logistics_opruimen_ronde: {
47963
+ Args: {
47964
+ p_max_ms?: number;
47965
+ p_portie?: number;
47966
+ };
47967
+ Returns: Json;
47968
+ };
46861
47969
  logistics_order_afgemeld: {
46862
47970
  Args: {
46863
47971
  p_order_id: string;
@@ -47379,6 +48487,26 @@ export type Database = {
47379
48487
  };
47380
48488
  Returns: boolean;
47381
48489
  };
48490
+ logistics_order_signaal: {
48491
+ Args: {
48492
+ p_order_id: string;
48493
+ p_reden: string;
48494
+ };
48495
+ Returns: undefined;
48496
+ };
48497
+ logistics_order_signalen_verwerken: {
48498
+ Args: {
48499
+ p_limit?: number;
48500
+ p_max_ms?: number;
48501
+ };
48502
+ Returns: Json;
48503
+ };
48504
+ logistics_order_spoed_bepalen: {
48505
+ Args: {
48506
+ p_order_ids: string[];
48507
+ };
48508
+ Returns: string;
48509
+ };
47382
48510
  logistics_order_stappen: {
47383
48511
  Args: {
47384
48512
  p_order_ids: string[];
@@ -47474,6 +48602,12 @@ export type Database = {
47474
48602
  toelichting: string;
47475
48603
  }[];
47476
48604
  };
48605
+ logistics_own_fuststicker_sync: {
48606
+ Args: {
48607
+ p_limit?: number;
48608
+ };
48609
+ Returns: Json;
48610
+ };
47477
48611
  logistics_own_sticker_count: {
47478
48612
  Args: {
47479
48613
  p_ppc_product: number;
@@ -48931,6 +50065,13 @@ export type Database = {
48931
50065
  Args: never;
48932
50066
  Returns: Json;
48933
50067
  };
50068
+ logistics_slip_cart_extra: {
50069
+ Args: {
50070
+ p_cart: Json;
50071
+ p_extra: Json;
50072
+ };
50073
+ Returns: Json;
50074
+ };
48934
50075
  logistics_slip_is_floriday: {
48935
50076
  Args: {
48936
50077
  _slip_job_id: string;
@@ -49046,6 +50187,12 @@ export type Database = {
49046
50187
  };
49047
50188
  Returns: undefined;
49048
50189
  };
50190
+ logistics_spoed_wacht_opruimen: {
50191
+ Args: {
50192
+ p_portie?: number;
50193
+ };
50194
+ Returns: Json;
50195
+ };
49049
50196
  logistics_stale_buffer_carts: {
49050
50197
  Args: {
49051
50198
  p_buffer?: string;
@@ -49666,6 +50813,12 @@ export type Database = {
49666
50813
  };
49667
50814
  Returns: string;
49668
50815
  };
50816
+ logistics_url_deel: {
50817
+ Args: {
50818
+ p: string;
50819
+ };
50820
+ Returns: string;
50821
+ };
49669
50822
  logistics_valid_timezone: {
49670
50823
  Args: {
49671
50824
  _tz: string;
@@ -49713,10 +50866,31 @@ export type Database = {
49713
50866
  };
49714
50867
  Returns: Json;
49715
50868
  };
50869
+ logistics_wek: {
50870
+ Args: {
50871
+ p_order_id?: string;
50872
+ p_reden: string;
50873
+ };
50874
+ Returns: undefined;
50875
+ };
49716
50876
  logistics_werker_budget_ms: {
49717
50877
  Args: never;
49718
50878
  Returns: number;
49719
50879
  };
50880
+ logistics_werker_dispatch_stap: {
50881
+ Args: {
50882
+ p_budget_ms: number;
50883
+ p_stap: string;
50884
+ };
50885
+ Returns: Json;
50886
+ };
50887
+ logistics_werker_dispatch_vastleggen: {
50888
+ Args: {
50889
+ p_stappen: Json;
50890
+ p_start: string;
50891
+ };
50892
+ Returns: undefined;
50893
+ };
49720
50894
  logistics_werker_draai: {
49721
50895
  Args: {
49722
50896
  p_stappen: Json;
@@ -49846,6 +51020,10 @@ export type Database = {
49846
51020
  };
49847
51021
  Returns: Json;
49848
51022
  };
51023
+ mailbox_reservation_calloff_available: {
51024
+ Args: never;
51025
+ Returns: boolean;
51026
+ };
49849
51027
  mailbox_standaard_lijsten: {
49850
51028
  Args: never;
49851
51029
  Returns: Json;
@@ -50906,6 +52084,10 @@ export type Database = {
50906
52084
  omschrijving: string;
50907
52085
  }[];
50908
52086
  };
52087
+ pick_printplek_beheer_link: {
52088
+ Args: never;
52089
+ Returns: string;
52090
+ };
50909
52091
  pick_queue_cart_plan: {
50910
52092
  Args: {
50911
52093
  _queue_item_id: string;
@@ -51890,6 +53072,22 @@ export type Database = {
51890
53072
  };
51891
53073
  Returns: Json;
51892
53074
  };
53075
+ pickstation_cart_release_now: {
53076
+ Args: {
53077
+ p_cart_id: string;
53078
+ p_device_key?: string;
53079
+ p_slug: string;
53080
+ };
53081
+ Returns: Json;
53082
+ };
53083
+ pickstation_cart_release_states: {
53084
+ Args: {
53085
+ p_device_key?: string;
53086
+ p_queue_ids: string[];
53087
+ p_slug: string;
53088
+ };
53089
+ Returns: Json;
53090
+ };
51893
53091
  pickstation_cart_sticker_state: {
51894
53092
  Args: {
51895
53093
  p_cart_id: string;
@@ -51939,6 +53137,14 @@ export type Database = {
51939
53137
  };
51940
53138
  Returns: Json;
51941
53139
  };
53140
+ pickstation_document_preview: {
53141
+ Args: {
53142
+ p_device_key?: string;
53143
+ p_queue_id: string;
53144
+ p_slug: string;
53145
+ };
53146
+ Returns: Json;
53147
+ };
51942
53148
  pickstation_get_orders_raw: {
51943
53149
  Args: never;
51944
53150
  Returns: Json;
@@ -52156,6 +53362,16 @@ export type Database = {
52156
53362
  };
52157
53363
  Returns: Json;
52158
53364
  };
53365
+ pickstation_printed_today: {
53366
+ Args: {
53367
+ p_device_key?: string;
53368
+ p_limit?: number;
53369
+ p_offset?: number;
53370
+ p_search?: string;
53371
+ p_slug: string;
53372
+ };
53373
+ Returns: Json;
53374
+ };
52159
53375
  pickstation_printjob_status: {
52160
53376
  Args: {
52161
53377
  p_device_key: string;
@@ -52273,6 +53489,14 @@ export type Database = {
52273
53489
  };
52274
53490
  Returns: Json;
52275
53491
  };
53492
+ pickstation_wait_times: {
53493
+ Args: {
53494
+ p_device_key?: string;
53495
+ p_queue_ids: string[];
53496
+ p_slug: string;
53497
+ };
53498
+ Returns: Json;
53499
+ };
52276
53500
  plan_standby_batch: {
52277
53501
  Args: {
52278
53502
  _items: Json;
@@ -52487,6 +53711,14 @@ export type Database = {
52487
53711
  };
52488
53712
  Returns: number;
52489
53713
  };
53714
+ print_layout_formaat_klasse: {
53715
+ Args: {
53716
+ _breedte_mm: number;
53717
+ _hoogte_mm: number;
53718
+ _papierformaat: string;
53719
+ };
53720
+ Returns: string;
53721
+ };
52490
53722
  print_preview_toestaan: {
52491
53723
  Args: {
52492
53724
  _max?: number;
@@ -55595,6 +56827,28 @@ export type Database = {
55595
56827
  Args: never;
55596
56828
  Returns: Json;
55597
56829
  };
56830
+ verkoop_order_bijwerken: {
56831
+ Args: {
56832
+ p_cf_weg?: string[];
56833
+ p_cf_zet?: Json;
56834
+ p_kolommen?: Json;
56835
+ p_order_id: string;
56836
+ };
56837
+ Returns: Json;
56838
+ };
56839
+ verkoop_orderregel_extra_opslaan: {
56840
+ Args: {
56841
+ p_order_item_id: string;
56842
+ p_patch: Json;
56843
+ };
56844
+ Returns: Json;
56845
+ };
56846
+ verkoop_orderregel_extra_voor_order: {
56847
+ Args: {
56848
+ p_order_id: string;
56849
+ };
56850
+ Returns: Json;
56851
+ };
55598
56852
  verkoop_packing_drift_apply: {
55599
56853
  Args: {
55600
56854
  p_order_ids: string[];
@@ -55630,6 +56884,20 @@ export type Database = {
55630
56884
  vastgezet: boolean;
55631
56885
  }[];
55632
56886
  };
56887
+ verkoop_regelvelden_norm: {
56888
+ Args: {
56889
+ p: Json;
56890
+ };
56891
+ Returns: Json;
56892
+ };
56893
+ verkoop_reservering_afroepen: {
56894
+ Args: {
56895
+ p_order_id: string;
56896
+ p_regels: Json;
56897
+ p_reservering_id: string;
56898
+ };
56899
+ Returns: Json;
56900
+ };
55633
56901
  verkoop_salesorder_content_hash: {
55634
56902
  Args: {
55635
56903
  p_data: Json;
@@ -56384,6 +57652,14 @@ export type Database = {
56384
57652
  };
56385
57653
  Returns: number;
56386
57654
  };
57655
+ voorraad_minuutronde: {
57656
+ Args: never;
57657
+ Returns: Json;
57658
+ };
57659
+ voorraad_nachtelijk_opruimen: {
57660
+ Args: never;
57661
+ Returns: Json;
57662
+ };
56387
57663
  voorraad_order_geannuleerd: {
56388
57664
  Args: {
56389
57665
  p_cancelled_at: string;