@flowselections/admin-installatietechniek 1.0.2 → 1.0.4

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.
@@ -6479,6 +6479,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6479
6479
  Row: {
6480
6480
  buyer_organization_id: string | null;
6481
6481
  connection_id: string;
6482
+ controlled_at: string | null;
6482
6483
  created_at: string;
6483
6484
  data: import("./types").Json;
6484
6485
  floriday_id: string;
@@ -6490,6 +6491,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6490
6491
  Insert: {
6491
6492
  buyer_organization_id?: string | null;
6492
6493
  connection_id: string;
6494
+ controlled_at?: string | null;
6493
6495
  created_at?: string;
6494
6496
  data: import("./types").Json;
6495
6497
  floriday_id: string;
@@ -6501,6 +6503,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6501
6503
  Update: {
6502
6504
  buyer_organization_id?: string | null;
6503
6505
  connection_id?: string;
6506
+ controlled_at?: string | null;
6504
6507
  created_at?: string;
6505
6508
  data?: import("./types").Json;
6506
6509
  floriday_id?: string;
@@ -7402,6 +7405,54 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
7402
7405
  };
7403
7406
  Relationships: [];
7404
7407
  };
7408
+ invoice_timing_settings: {
7409
+ Row: {
7410
+ anchor: string;
7411
+ business_days_only: boolean;
7412
+ created_at: string;
7413
+ enabled: boolean;
7414
+ id: string;
7415
+ offset_days: number;
7416
+ pickup_anchor: string;
7417
+ pickup_business_days_only: boolean;
7418
+ pickup_offset_days: number;
7419
+ pickup_time_of_day: string;
7420
+ singleton: boolean;
7421
+ time_of_day: string;
7422
+ updated_at: string;
7423
+ };
7424
+ Insert: {
7425
+ anchor?: string;
7426
+ business_days_only?: boolean;
7427
+ created_at?: string;
7428
+ enabled?: boolean;
7429
+ id?: string;
7430
+ offset_days?: number;
7431
+ pickup_anchor?: string;
7432
+ pickup_business_days_only?: boolean;
7433
+ pickup_offset_days?: number;
7434
+ pickup_time_of_day?: string;
7435
+ singleton?: boolean;
7436
+ time_of_day?: string;
7437
+ updated_at?: string;
7438
+ };
7439
+ Update: {
7440
+ anchor?: string;
7441
+ business_days_only?: boolean;
7442
+ created_at?: string;
7443
+ enabled?: boolean;
7444
+ id?: string;
7445
+ offset_days?: number;
7446
+ pickup_anchor?: string;
7447
+ pickup_business_days_only?: boolean;
7448
+ pickup_offset_days?: number;
7449
+ pickup_time_of_day?: string;
7450
+ singleton?: boolean;
7451
+ time_of_day?: string;
7452
+ updated_at?: string;
7453
+ };
7454
+ Relationships: [];
7455
+ };
7405
7456
  itk_contact_persons: {
7406
7457
  Row: {
7407
7458
  created_at: string;
@@ -8632,6 +8683,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8632
8683
  };
8633
8684
  Relationships: [];
8634
8685
  };
8686
+ logistics_plan_queue: {
8687
+ Row: {
8688
+ attempts: number;
8689
+ claimed_at: string | null;
8690
+ enqueued_at: string;
8691
+ error: string | null;
8692
+ id: string;
8693
+ next_attempt_at: string;
8694
+ order_id: string;
8695
+ reason: string;
8696
+ status: string;
8697
+ updated_at: string;
8698
+ };
8699
+ Insert: {
8700
+ attempts?: number;
8701
+ claimed_at?: string | null;
8702
+ enqueued_at?: string;
8703
+ error?: string | null;
8704
+ id?: string;
8705
+ next_attempt_at?: string;
8706
+ order_id: string;
8707
+ reason?: string;
8708
+ status?: string;
8709
+ updated_at?: string;
8710
+ };
8711
+ Update: {
8712
+ attempts?: number;
8713
+ claimed_at?: string | null;
8714
+ enqueued_at?: string;
8715
+ error?: string | null;
8716
+ id?: string;
8717
+ next_attempt_at?: string;
8718
+ order_id?: string;
8719
+ reason?: string;
8720
+ status?: string;
8721
+ updated_at?: string;
8722
+ };
8723
+ Relationships: [];
8724
+ };
8635
8725
  logistics_plan_runs: {
8636
8726
  Row: {
8637
8727
  created_at: string;
@@ -8707,6 +8797,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8707
8797
  referencedColumns: ["id"];
8708
8798
  }];
8709
8799
  };
8800
+ logistics_plan_settings: {
8801
+ Row: {
8802
+ key: string;
8803
+ updated_at: string;
8804
+ value: string;
8805
+ };
8806
+ Insert: {
8807
+ key: string;
8808
+ updated_at?: string;
8809
+ value: string;
8810
+ };
8811
+ Update: {
8812
+ key?: string;
8813
+ updated_at?: string;
8814
+ value?: string;
8815
+ };
8816
+ Relationships: [];
8817
+ };
8710
8818
  logistics_rebuffer_state: {
8711
8819
  Row: {
8712
8820
  created_at: string;
@@ -9417,14 +9525,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9417
9525
  };
9418
9526
  mailbox_messages: {
9419
9527
  Row: {
9528
+ attachments: import("./types").Json;
9420
9529
  body_html: string | null;
9421
9530
  body_text: string | null;
9531
+ cc_recipients: import("./types").Json;
9422
9532
  connection_id: string | null;
9423
9533
  created_at: string;
9424
9534
  error_message: string | null;
9425
9535
  external_id: string | null;
9426
9536
  from_email: string | null;
9427
9537
  from_name: string | null;
9538
+ has_attachments: boolean;
9428
9539
  id: string;
9429
9540
  message_id: string | null;
9430
9541
  profile_id: string | null;
@@ -9432,18 +9543,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9432
9543
  received_at: string | null;
9433
9544
  status: string;
9434
9545
  subject: string | null;
9546
+ to_recipients: import("./types").Json;
9435
9547
  uid: number | null;
9436
9548
  updated_at: string;
9437
9549
  };
9438
9550
  Insert: {
9551
+ attachments?: import("./types").Json;
9439
9552
  body_html?: string | null;
9440
9553
  body_text?: string | null;
9554
+ cc_recipients?: import("./types").Json;
9441
9555
  connection_id?: string | null;
9442
9556
  created_at?: string;
9443
9557
  error_message?: string | null;
9444
9558
  external_id?: string | null;
9445
9559
  from_email?: string | null;
9446
9560
  from_name?: string | null;
9561
+ has_attachments?: boolean;
9447
9562
  id?: string;
9448
9563
  message_id?: string | null;
9449
9564
  profile_id?: string | null;
@@ -9451,18 +9566,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9451
9566
  received_at?: string | null;
9452
9567
  status?: string;
9453
9568
  subject?: string | null;
9569
+ to_recipients?: import("./types").Json;
9454
9570
  uid?: number | null;
9455
9571
  updated_at?: string;
9456
9572
  };
9457
9573
  Update: {
9574
+ attachments?: import("./types").Json;
9458
9575
  body_html?: string | null;
9459
9576
  body_text?: string | null;
9577
+ cc_recipients?: import("./types").Json;
9460
9578
  connection_id?: string | null;
9461
9579
  created_at?: string;
9462
9580
  error_message?: string | null;
9463
9581
  external_id?: string | null;
9464
9582
  from_email?: string | null;
9465
9583
  from_name?: string | null;
9584
+ has_attachments?: boolean;
9466
9585
  id?: string;
9467
9586
  message_id?: string | null;
9468
9587
  profile_id?: string | null;
@@ -9470,6 +9589,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9470
9589
  received_at?: string | null;
9471
9590
  status?: string;
9472
9591
  subject?: string | null;
9592
+ to_recipients?: import("./types").Json;
9473
9593
  uid?: number | null;
9474
9594
  updated_at?: string;
9475
9595
  };
@@ -9850,6 +9970,36 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9850
9970
  };
9851
9971
  Relationships: [];
9852
9972
  };
9973
+ module_features: {
9974
+ Row: {
9975
+ created_at: string;
9976
+ feature_id: string;
9977
+ id: string;
9978
+ is_active: boolean;
9979
+ last_seen_at: string;
9980
+ module_id: string;
9981
+ name: string;
9982
+ };
9983
+ Insert: {
9984
+ created_at?: string;
9985
+ feature_id: string;
9986
+ id?: string;
9987
+ is_active?: boolean;
9988
+ last_seen_at?: string;
9989
+ module_id: string;
9990
+ name: string;
9991
+ };
9992
+ Update: {
9993
+ created_at?: string;
9994
+ feature_id?: string;
9995
+ id?: string;
9996
+ is_active?: boolean;
9997
+ last_seen_at?: string;
9998
+ module_id?: string;
9999
+ name?: string;
10000
+ };
10001
+ Relationships: [];
10002
+ };
9853
10003
  module_permissions: {
9854
10004
  Row: {
9855
10005
  created_at: string;
@@ -9885,6 +10035,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9885
10035
  module_id: string;
9886
10036
  name: string;
9887
10037
  shell_id: string | null;
10038
+ sort_order: number | null;
9888
10039
  };
9889
10040
  Insert: {
9890
10041
  created_at?: string;
@@ -9893,6 +10044,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9893
10044
  module_id: string;
9894
10045
  name: string;
9895
10046
  shell_id?: string | null;
10047
+ sort_order?: number | null;
9896
10048
  };
9897
10049
  Update: {
9898
10050
  created_at?: string;
@@ -9901,6 +10053,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9901
10053
  module_id?: string;
9902
10054
  name?: string;
9903
10055
  shell_id?: string | null;
10056
+ sort_order?: number | null;
9904
10057
  };
9905
10058
  Relationships: [];
9906
10059
  };
@@ -10963,6 +11116,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10963
11116
  };
10964
11117
  Relationships: [];
10965
11118
  };
11119
+ order_invoice_links: {
11120
+ Row: {
11121
+ attempts: number;
11122
+ created_at: string;
11123
+ error_message: string | null;
11124
+ id: string;
11125
+ invoice_number: string | null;
11126
+ next_attempt_at: string;
11127
+ order_id: string;
11128
+ processed_at: string | null;
11129
+ status: string;
11130
+ updated_at: string;
11131
+ };
11132
+ Insert: {
11133
+ attempts?: number;
11134
+ created_at?: string;
11135
+ error_message?: string | null;
11136
+ id?: string;
11137
+ invoice_number?: string | null;
11138
+ next_attempt_at?: string;
11139
+ order_id: string;
11140
+ processed_at?: string | null;
11141
+ status?: string;
11142
+ updated_at?: string;
11143
+ };
11144
+ Update: {
11145
+ attempts?: number;
11146
+ created_at?: string;
11147
+ error_message?: string | null;
11148
+ id?: string;
11149
+ invoice_number?: string | null;
11150
+ next_attempt_at?: string;
11151
+ order_id?: string;
11152
+ processed_at?: string | null;
11153
+ status?: string;
11154
+ updated_at?: string;
11155
+ };
11156
+ Relationships: [];
11157
+ };
10966
11158
  order_items: {
10967
11159
  Row: {
10968
11160
  crates_per_layer: number | null;
@@ -11145,6 +11337,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
11145
11337
  delivery_date: string | null;
11146
11338
  floriday_sales_order_id: string | null;
11147
11339
  id: string;
11340
+ invoice_due_at: string | null;
11148
11341
  is_reservation: boolean;
11149
11342
  notes: string | null;
11150
11343
  order_date: string;
@@ -11166,6 +11359,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
11166
11359
  delivery_date?: string | null;
11167
11360
  floriday_sales_order_id?: string | null;
11168
11361
  id?: string;
11362
+ invoice_due_at?: string | null;
11169
11363
  is_reservation?: boolean;
11170
11364
  notes?: string | null;
11171
11365
  order_date?: string;
@@ -11187,6 +11381,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
11187
11381
  delivery_date?: string | null;
11188
11382
  floriday_sales_order_id?: string | null;
11189
11383
  id?: string;
11384
+ invoice_due_at?: string | null;
11190
11385
  is_reservation?: boolean;
11191
11386
  notes?: string | null;
11192
11387
  order_date?: string;
@@ -12491,6 +12686,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12491
12686
  created_at: string;
12492
12687
  id: string;
12493
12688
  laatst_gezien: string;
12689
+ laatste_fout: string | null;
12690
+ laatste_request_id: number | null;
12691
+ mislukte_posts: number;
12494
12692
  tick_sleutel: string;
12495
12693
  updated_at: string;
12496
12694
  };
@@ -12500,6 +12698,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12500
12698
  created_at?: string;
12501
12699
  id?: string;
12502
12700
  laatst_gezien?: string;
12701
+ laatste_fout?: string | null;
12702
+ laatste_request_id?: number | null;
12703
+ mislukte_posts?: number;
12503
12704
  tick_sleutel?: string;
12504
12705
  updated_at?: string;
12505
12706
  };
@@ -12509,6 +12710,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12509
12710
  created_at?: string;
12510
12711
  id?: string;
12511
12712
  laatst_gezien?: string;
12713
+ laatste_fout?: string | null;
12714
+ laatste_request_id?: number | null;
12715
+ mislukte_posts?: number;
12512
12716
  tick_sleutel?: string;
12513
12717
  updated_at?: string;
12514
12718
  };
@@ -12516,18 +12720,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12516
12720
  };
12517
12721
  print_queue_settings: {
12518
12722
  Row: {
12723
+ bewaar_bestanden_dagen: number;
12724
+ bewaar_opdrachten_dagen: number;
12519
12725
  created_at: string;
12520
12726
  dubbel_venster_minuten: number;
12521
12727
  id: string;
12522
12728
  updated_at: string;
12523
12729
  };
12524
12730
  Insert: {
12731
+ bewaar_bestanden_dagen?: number;
12732
+ bewaar_opdrachten_dagen?: number;
12525
12733
  created_at?: string;
12526
12734
  dubbel_venster_minuten?: number;
12527
12735
  id?: string;
12528
12736
  updated_at?: string;
12529
12737
  };
12530
12738
  Update: {
12739
+ bewaar_bestanden_dagen?: number;
12740
+ bewaar_opdrachten_dagen?: number;
12531
12741
  created_at?: string;
12532
12742
  dubbel_venster_minuten?: number;
12533
12743
  id?: string;
@@ -14011,6 +14221,96 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14011
14221
  referencedColumns: ["id"];
14012
14222
  }];
14013
14223
  };
14224
+ role_assignments: {
14225
+ Row: {
14226
+ created_at: string;
14227
+ id: string;
14228
+ role_id: string;
14229
+ user_id: string;
14230
+ };
14231
+ Insert: {
14232
+ created_at?: string;
14233
+ id?: string;
14234
+ role_id: string;
14235
+ user_id: string;
14236
+ };
14237
+ Update: {
14238
+ created_at?: string;
14239
+ id?: string;
14240
+ role_id?: string;
14241
+ user_id?: string;
14242
+ };
14243
+ Relationships: [{
14244
+ foreignKeyName: "role_assignments_role_id_fkey";
14245
+ columns: ["role_id"];
14246
+ isOneToOne: false;
14247
+ referencedRelation: "roles";
14248
+ referencedColumns: ["id"];
14249
+ }];
14250
+ };
14251
+ role_permissions: {
14252
+ Row: {
14253
+ can_edit: boolean;
14254
+ can_view: boolean;
14255
+ feature_id: string;
14256
+ id: string;
14257
+ module_id: string;
14258
+ role_id: string;
14259
+ updated_at: string;
14260
+ };
14261
+ Insert: {
14262
+ can_edit?: boolean;
14263
+ can_view?: boolean;
14264
+ feature_id?: string;
14265
+ id?: string;
14266
+ module_id: string;
14267
+ role_id: string;
14268
+ updated_at?: string;
14269
+ };
14270
+ Update: {
14271
+ can_edit?: boolean;
14272
+ can_view?: boolean;
14273
+ feature_id?: string;
14274
+ id?: string;
14275
+ module_id?: string;
14276
+ role_id?: string;
14277
+ updated_at?: string;
14278
+ };
14279
+ Relationships: [{
14280
+ foreignKeyName: "role_permissions_role_id_fkey";
14281
+ columns: ["role_id"];
14282
+ isOneToOne: false;
14283
+ referencedRelation: "roles";
14284
+ referencedColumns: ["id"];
14285
+ }];
14286
+ };
14287
+ roles: {
14288
+ Row: {
14289
+ created_at: string;
14290
+ id: string;
14291
+ is_protected: boolean;
14292
+ key: string;
14293
+ name: string;
14294
+ updated_at: string;
14295
+ };
14296
+ Insert: {
14297
+ created_at?: string;
14298
+ id?: string;
14299
+ is_protected?: boolean;
14300
+ key: string;
14301
+ name: string;
14302
+ updated_at?: string;
14303
+ };
14304
+ Update: {
14305
+ created_at?: string;
14306
+ id?: string;
14307
+ is_protected?: boolean;
14308
+ key?: string;
14309
+ name?: string;
14310
+ updated_at?: string;
14311
+ };
14312
+ Relationships: [];
14313
+ };
14014
14314
  rooms: {
14015
14315
  Row: {
14016
14316
  capacity: number;
@@ -15375,6 +15675,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15375
15675
  };
15376
15676
  twinfield_invoice_settings: {
15377
15677
  Row: {
15678
+ auto_invoice_enabled: boolean;
15679
+ auto_invoice_trigger_statuses: string[];
15378
15680
  created_at: string;
15379
15681
  debtor_gl_account: string;
15380
15682
  default_credit_invoice_type: string | null;
@@ -15395,6 +15697,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15395
15697
  vat_code_export: string | null;
15396
15698
  };
15397
15699
  Insert: {
15700
+ auto_invoice_enabled?: boolean;
15701
+ auto_invoice_trigger_statuses?: string[];
15398
15702
  created_at?: string;
15399
15703
  debtor_gl_account?: string;
15400
15704
  default_credit_invoice_type?: string | null;
@@ -15415,6 +15719,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15415
15719
  vat_code_export?: string | null;
15416
15720
  };
15417
15721
  Update: {
15722
+ auto_invoice_enabled?: boolean;
15723
+ auto_invoice_trigger_statuses?: string[];
15418
15724
  created_at?: string;
15419
15725
  debtor_gl_account?: string;
15420
15726
  default_credit_invoice_type?: string | null;
@@ -16480,6 +16786,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16480
16786
  user_module_permissions: {
16481
16787
  Row: {
16482
16788
  created_at: string;
16789
+ feature_id: string;
16483
16790
  id: string;
16484
16791
  module_id: string;
16485
16792
  permission: string;
@@ -16488,6 +16795,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16488
16795
  };
16489
16796
  Insert: {
16490
16797
  created_at?: string;
16798
+ feature_id?: string;
16491
16799
  id?: string;
16492
16800
  module_id: string;
16493
16801
  permission: string;
@@ -16496,6 +16804,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16496
16804
  };
16497
16805
  Update: {
16498
16806
  created_at?: string;
16807
+ feature_id?: string;
16499
16808
  id?: string;
16500
16809
  module_id?: string;
16501
16810
  permission?: string;
@@ -18337,6 +18646,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18337
18646
  processed_items: number;
18338
18647
  }[];
18339
18648
  };
18649
+ backfill_order_auto_invoice_queue: {
18650
+ Args: never;
18651
+ Returns: number;
18652
+ };
18340
18653
  calculate_layer_stock: {
18341
18654
  Args: {
18342
18655
  p_product_id: string;
@@ -18567,6 +18880,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18567
18880
  Args: never;
18568
18881
  Returns: undefined;
18569
18882
  };
18883
+ cleanup_voorraad_module_history: {
18884
+ Args: never;
18885
+ Returns: undefined;
18886
+ };
18570
18887
  complete_floriday_stock_queue: {
18571
18888
  Args: {
18572
18889
  p_attempt_id?: string;
@@ -18694,6 +19011,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18694
19011
  _user_id: string;
18695
19012
  };
18696
19013
  Returns: string;
19014
+ } | {
19015
+ Args: {
19016
+ _feature_id?: string;
19017
+ _module_id: string;
19018
+ _user_id: string;
19019
+ };
19020
+ Returns: string;
18697
19021
  };
18698
19022
  email_auth_decrypt: {
18699
19023
  Args: {
@@ -19595,6 +19919,65 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19595
19919
  };
19596
19920
  Returns: number;
19597
19921
  };
19922
+ logistics_plan_claim: {
19923
+ Args: {
19924
+ p_limit?: number;
19925
+ };
19926
+ Returns: {
19927
+ attempts: number;
19928
+ id: string;
19929
+ order_id: string;
19930
+ }[];
19931
+ };
19932
+ logistics_plan_enqueue: {
19933
+ Args: {
19934
+ p_order_id: string;
19935
+ p_reason?: string;
19936
+ };
19937
+ Returns: undefined;
19938
+ };
19939
+ logistics_plan_ensure_event: {
19940
+ Args: {
19941
+ p_order_id: string;
19942
+ };
19943
+ Returns: boolean;
19944
+ };
19945
+ logistics_plan_finish: {
19946
+ Args: {
19947
+ p_error?: string;
19948
+ p_id: string;
19949
+ };
19950
+ Returns: undefined;
19951
+ };
19952
+ logistics_plan_impact_orders: {
19953
+ Args: {
19954
+ p_order_id: string;
19955
+ };
19956
+ Returns: {
19957
+ buffer_id: string;
19958
+ order_id: string;
19959
+ plan_date: string;
19960
+ }[];
19961
+ };
19962
+ logistics_plan_kick: {
19963
+ Args: never;
19964
+ Returns: undefined;
19965
+ };
19966
+ logistics_plan_prune: {
19967
+ Args: never;
19968
+ Returns: number;
19969
+ };
19970
+ logistics_plan_release_stale: {
19971
+ Args: never;
19972
+ Returns: number;
19973
+ };
19974
+ logistics_plan_setting: {
19975
+ Args: {
19976
+ p_default: number;
19977
+ p_key: string;
19978
+ };
19979
+ Returns: number;
19980
+ };
19598
19981
  logistics_queue_capacity_email: {
19599
19982
  Args: {
19600
19983
  p_alert_id: string;
@@ -19836,6 +20219,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19836
20219
  my_module_permissions: {
19837
20220
  Args: never;
19838
20221
  Returns: {
20222
+ feature_id: string;
19839
20223
  module_id: string;
19840
20224
  permission: string;
19841
20225
  }[];
@@ -19890,6 +20274,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19890
20274
  };
19891
20275
  Returns: boolean;
19892
20276
  };
20277
+ opruim_print_historie: {
20278
+ Args: never;
20279
+ Returns: {
20280
+ ontdaan: number;
20281
+ verwijderd: number;
20282
+ }[];
20283
+ };
19893
20284
  order_number_prefix: {
19894
20285
  Args: {
19895
20286
  p_custom_fields?: import("./types").Json;
@@ -20284,6 +20675,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20284
20675
  };
20285
20676
  Returns: undefined;
20286
20677
  };
20678
+ reset_stalled_floriday_stock_queue: {
20679
+ Args: {
20680
+ p_include_failed?: boolean;
20681
+ };
20682
+ Returns: number;
20683
+ };
20287
20684
  resolve_group_allocation: {
20288
20685
  Args: {
20289
20686
  _needed: number;
@@ -20338,6 +20735,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20338
20735
  Args: never;
20339
20736
  Returns: undefined;
20340
20737
  };
20738
+ run_floriday_stock_queue_process: {
20739
+ Args: never;
20740
+ Returns: undefined;
20741
+ };
20341
20742
  run_logistics_tasks_dispatch: {
20342
20743
  Args: never;
20343
20744
  Returns: undefined;
@@ -20733,6 +21134,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20733
21134
  };
20734
21135
  Returns: undefined;
20735
21136
  };
21137
+ trade_item_stock_duplicates: {
21138
+ Args: never;
21139
+ Returns: {
21140
+ keys: string[];
21141
+ product_id: string;
21142
+ product_name: string;
21143
+ row_count: number;
21144
+ }[];
21145
+ };
20736
21146
  try_debtor_lock: {
20737
21147
  Args: {
20738
21148
  _group_key: string;