@flowselections/layout-maker 1.6.6 → 1.7.1

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 analyseerDocumentLayout: import("@tanstack/start-client-cor
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("../integrations/supabase/types").Json;
6484
6485
  floriday_id: string;
@@ -6490,6 +6491,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
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("../integrations/supabase/types").Json;
6495
6497
  floriday_id: string;
@@ -6501,6 +6503,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
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("../integrations/supabase/types").Json;
6506
6509
  floriday_id?: string;
@@ -7402,6 +7405,54 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
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 analyseerDocumentLayout: import("@tanstack/start-client-cor
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 analyseerDocumentLayout: import("@tanstack/start-client-cor
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 analyseerDocumentLayout: import("@tanstack/start-client-cor
9417
9525
  };
9418
9526
  mailbox_messages: {
9419
9527
  Row: {
9528
+ attachments: import("../integrations/supabase/types").Json;
9420
9529
  body_html: string | null;
9421
9530
  body_text: string | null;
9531
+ cc_recipients: import("../integrations/supabase/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 analyseerDocumentLayout: import("@tanstack/start-client-cor
9432
9543
  received_at: string | null;
9433
9544
  status: string;
9434
9545
  subject: string | null;
9546
+ to_recipients: import("../integrations/supabase/types").Json;
9435
9547
  uid: number | null;
9436
9548
  updated_at: string;
9437
9549
  };
9438
9550
  Insert: {
9551
+ attachments?: import("../integrations/supabase/types").Json;
9439
9552
  body_html?: string | null;
9440
9553
  body_text?: string | null;
9554
+ cc_recipients?: import("../integrations/supabase/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 analyseerDocumentLayout: import("@tanstack/start-client-cor
9451
9566
  received_at?: string | null;
9452
9567
  status?: string;
9453
9568
  subject?: string | null;
9569
+ to_recipients?: import("../integrations/supabase/types").Json;
9454
9570
  uid?: number | null;
9455
9571
  updated_at?: string;
9456
9572
  };
9457
9573
  Update: {
9574
+ attachments?: import("../integrations/supabase/types").Json;
9458
9575
  body_html?: string | null;
9459
9576
  body_text?: string | null;
9577
+ cc_recipients?: import("../integrations/supabase/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 analyseerDocumentLayout: import("@tanstack/start-client-cor
9470
9589
  received_at?: string | null;
9471
9590
  status?: string;
9472
9591
  subject?: string | null;
9592
+ to_recipients?: import("../integrations/supabase/types").Json;
9473
9593
  uid?: number | null;
9474
9594
  updated_at?: string;
9475
9595
  };
@@ -9877,6 +9997,36 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
9877
9997
  };
9878
9998
  Relationships: [];
9879
9999
  };
10000
+ module_registry: {
10001
+ Row: {
10002
+ created_at: string;
10003
+ is_active: boolean;
10004
+ last_seen_at: string;
10005
+ module_id: string;
10006
+ name: string;
10007
+ shell_id: string | null;
10008
+ sort_order: number | null;
10009
+ };
10010
+ Insert: {
10011
+ created_at?: string;
10012
+ is_active?: boolean;
10013
+ last_seen_at?: string;
10014
+ module_id: string;
10015
+ name: string;
10016
+ shell_id?: string | null;
10017
+ sort_order?: number | null;
10018
+ };
10019
+ Update: {
10020
+ created_at?: string;
10021
+ is_active?: boolean;
10022
+ last_seen_at?: string;
10023
+ module_id?: string;
10024
+ name?: string;
10025
+ shell_id?: string | null;
10026
+ sort_order?: number | null;
10027
+ };
10028
+ Relationships: [];
10029
+ };
9880
10030
  module_runtime_config: {
9881
10031
  Row: {
9882
10032
  key: string;
@@ -10936,6 +11086,45 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
10936
11086
  };
10937
11087
  Relationships: [];
10938
11088
  };
11089
+ order_invoice_links: {
11090
+ Row: {
11091
+ attempts: number;
11092
+ created_at: string;
11093
+ error_message: string | null;
11094
+ id: string;
11095
+ invoice_number: string | null;
11096
+ next_attempt_at: string;
11097
+ order_id: string;
11098
+ processed_at: string | null;
11099
+ status: string;
11100
+ updated_at: string;
11101
+ };
11102
+ Insert: {
11103
+ attempts?: number;
11104
+ created_at?: string;
11105
+ error_message?: string | null;
11106
+ id?: string;
11107
+ invoice_number?: string | null;
11108
+ next_attempt_at?: string;
11109
+ order_id: string;
11110
+ processed_at?: string | null;
11111
+ status?: string;
11112
+ updated_at?: string;
11113
+ };
11114
+ Update: {
11115
+ attempts?: number;
11116
+ created_at?: string;
11117
+ error_message?: string | null;
11118
+ id?: string;
11119
+ invoice_number?: string | null;
11120
+ next_attempt_at?: string;
11121
+ order_id?: string;
11122
+ processed_at?: string | null;
11123
+ status?: string;
11124
+ updated_at?: string;
11125
+ };
11126
+ Relationships: [];
11127
+ };
10939
11128
  order_items: {
10940
11129
  Row: {
10941
11130
  crates_per_layer: number | null;
@@ -11118,6 +11307,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
11118
11307
  delivery_date: string | null;
11119
11308
  floriday_sales_order_id: string | null;
11120
11309
  id: string;
11310
+ invoice_due_at: string | null;
11121
11311
  is_reservation: boolean;
11122
11312
  notes: string | null;
11123
11313
  order_date: string;
@@ -11139,6 +11329,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
11139
11329
  delivery_date?: string | null;
11140
11330
  floriday_sales_order_id?: string | null;
11141
11331
  id?: string;
11332
+ invoice_due_at?: string | null;
11142
11333
  is_reservation?: boolean;
11143
11334
  notes?: string | null;
11144
11335
  order_date?: string;
@@ -11160,6 +11351,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
11160
11351
  delivery_date?: string | null;
11161
11352
  floriday_sales_order_id?: string | null;
11162
11353
  id?: string;
11354
+ invoice_due_at?: string | null;
11163
11355
  is_reservation?: boolean;
11164
11356
  notes?: string | null;
11165
11357
  order_date?: string;
@@ -12464,6 +12656,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12464
12656
  created_at: string;
12465
12657
  id: string;
12466
12658
  laatst_gezien: string;
12659
+ laatste_fout: string | null;
12660
+ laatste_request_id: number | null;
12661
+ mislukte_posts: number;
12467
12662
  tick_sleutel: string;
12468
12663
  updated_at: string;
12469
12664
  };
@@ -12473,6 +12668,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12473
12668
  created_at?: string;
12474
12669
  id?: string;
12475
12670
  laatst_gezien?: string;
12671
+ laatste_fout?: string | null;
12672
+ laatste_request_id?: number | null;
12673
+ mislukte_posts?: number;
12476
12674
  tick_sleutel?: string;
12477
12675
  updated_at?: string;
12478
12676
  };
@@ -12482,6 +12680,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12482
12680
  created_at?: string;
12483
12681
  id?: string;
12484
12682
  laatst_gezien?: string;
12683
+ laatste_fout?: string | null;
12684
+ laatste_request_id?: number | null;
12685
+ mislukte_posts?: number;
12485
12686
  tick_sleutel?: string;
12486
12687
  updated_at?: string;
12487
12688
  };
@@ -12489,18 +12690,24 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12489
12690
  };
12490
12691
  print_queue_settings: {
12491
12692
  Row: {
12693
+ bewaar_bestanden_dagen: number;
12694
+ bewaar_opdrachten_dagen: number;
12492
12695
  created_at: string;
12493
12696
  dubbel_venster_minuten: number;
12494
12697
  id: string;
12495
12698
  updated_at: string;
12496
12699
  };
12497
12700
  Insert: {
12701
+ bewaar_bestanden_dagen?: number;
12702
+ bewaar_opdrachten_dagen?: number;
12498
12703
  created_at?: string;
12499
12704
  dubbel_venster_minuten?: number;
12500
12705
  id?: string;
12501
12706
  updated_at?: string;
12502
12707
  };
12503
12708
  Update: {
12709
+ bewaar_bestanden_dagen?: number;
12710
+ bewaar_opdrachten_dagen?: number;
12504
12711
  created_at?: string;
12505
12712
  dubbel_venster_minuten?: number;
12506
12713
  id?: string;
@@ -15348,6 +15555,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
15348
15555
  };
15349
15556
  twinfield_invoice_settings: {
15350
15557
  Row: {
15558
+ auto_invoice_enabled: boolean;
15559
+ auto_invoice_trigger_statuses: string[];
15351
15560
  created_at: string;
15352
15561
  debtor_gl_account: string;
15353
15562
  default_credit_invoice_type: string | null;
@@ -15368,6 +15577,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
15368
15577
  vat_code_export: string | null;
15369
15578
  };
15370
15579
  Insert: {
15580
+ auto_invoice_enabled?: boolean;
15581
+ auto_invoice_trigger_statuses?: string[];
15371
15582
  created_at?: string;
15372
15583
  debtor_gl_account?: string;
15373
15584
  default_credit_invoice_type?: string | null;
@@ -15388,6 +15599,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
15388
15599
  vat_code_export?: string | null;
15389
15600
  };
15390
15601
  Update: {
15602
+ auto_invoice_enabled?: boolean;
15603
+ auto_invoice_trigger_statuses?: string[];
15391
15604
  created_at?: string;
15392
15605
  debtor_gl_account?: string;
15393
15606
  default_credit_invoice_type?: string | null;
@@ -16450,6 +16663,33 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
16450
16663
  referencedColumns: ["id"];
16451
16664
  }];
16452
16665
  };
16666
+ user_module_permissions: {
16667
+ Row: {
16668
+ created_at: string;
16669
+ id: string;
16670
+ module_id: string;
16671
+ permission: string;
16672
+ updated_at: string;
16673
+ user_id: string;
16674
+ };
16675
+ Insert: {
16676
+ created_at?: string;
16677
+ id?: string;
16678
+ module_id: string;
16679
+ permission: string;
16680
+ updated_at?: string;
16681
+ user_id: string;
16682
+ };
16683
+ Update: {
16684
+ created_at?: string;
16685
+ id?: string;
16686
+ module_id?: string;
16687
+ permission?: string;
16688
+ updated_at?: string;
16689
+ user_id?: string;
16690
+ };
16691
+ Relationships: [];
16692
+ };
16453
16693
  user_roles: {
16454
16694
  Row: {
16455
16695
  created_at: string;
@@ -18283,6 +18523,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
18283
18523
  processed_items: number;
18284
18524
  }[];
18285
18525
  };
18526
+ backfill_order_auto_invoice_queue: {
18527
+ Args: never;
18528
+ Returns: number;
18529
+ };
18286
18530
  calculate_layer_stock: {
18287
18531
  Args: {
18288
18532
  p_product_id: string;
@@ -18513,6 +18757,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
18513
18757
  Args: never;
18514
18758
  Returns: undefined;
18515
18759
  };
18760
+ cleanup_voorraad_module_history: {
18761
+ Args: never;
18762
+ Returns: undefined;
18763
+ };
18516
18764
  complete_floriday_stock_queue: {
18517
18765
  Args: {
18518
18766
  p_attempt_id?: string;
@@ -18634,6 +18882,13 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
18634
18882
  };
18635
18883
  Returns: import("../integrations/supabase/types").Json;
18636
18884
  };
18885
+ effective_module_permission: {
18886
+ Args: {
18887
+ _module_id: string;
18888
+ _user_id: string;
18889
+ };
18890
+ Returns: string;
18891
+ };
18637
18892
  email_auth_decrypt: {
18638
18893
  Args: {
18639
18894
  cipher: string;
@@ -19534,6 +19789,65 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
19534
19789
  };
19535
19790
  Returns: number;
19536
19791
  };
19792
+ logistics_plan_claim: {
19793
+ Args: {
19794
+ p_limit?: number;
19795
+ };
19796
+ Returns: {
19797
+ attempts: number;
19798
+ id: string;
19799
+ order_id: string;
19800
+ }[];
19801
+ };
19802
+ logistics_plan_enqueue: {
19803
+ Args: {
19804
+ p_order_id: string;
19805
+ p_reason?: string;
19806
+ };
19807
+ Returns: undefined;
19808
+ };
19809
+ logistics_plan_ensure_event: {
19810
+ Args: {
19811
+ p_order_id: string;
19812
+ };
19813
+ Returns: boolean;
19814
+ };
19815
+ logistics_plan_finish: {
19816
+ Args: {
19817
+ p_error?: string;
19818
+ p_id: string;
19819
+ };
19820
+ Returns: undefined;
19821
+ };
19822
+ logistics_plan_impact_orders: {
19823
+ Args: {
19824
+ p_order_id: string;
19825
+ };
19826
+ Returns: {
19827
+ buffer_id: string;
19828
+ order_id: string;
19829
+ plan_date: string;
19830
+ }[];
19831
+ };
19832
+ logistics_plan_kick: {
19833
+ Args: never;
19834
+ Returns: undefined;
19835
+ };
19836
+ logistics_plan_prune: {
19837
+ Args: never;
19838
+ Returns: number;
19839
+ };
19840
+ logistics_plan_release_stale: {
19841
+ Args: never;
19842
+ Returns: number;
19843
+ };
19844
+ logistics_plan_setting: {
19845
+ Args: {
19846
+ p_default: number;
19847
+ p_key: string;
19848
+ };
19849
+ Returns: number;
19850
+ };
19537
19851
  logistics_queue_capacity_email: {
19538
19852
  Args: {
19539
19853
  p_alert_id: string;
@@ -19772,6 +20086,13 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
19772
20086
  };
19773
20087
  Returns: undefined;
19774
20088
  };
20089
+ my_module_permissions: {
20090
+ Args: never;
20091
+ Returns: {
20092
+ module_id: string;
20093
+ permission: string;
20094
+ }[];
20095
+ };
19775
20096
  next_manufacture_partij: {
19776
20097
  Args: {
19777
20098
  _tenant_id: string;
@@ -19822,6 +20143,13 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
19822
20143
  };
19823
20144
  Returns: boolean;
19824
20145
  };
20146
+ opruim_print_historie: {
20147
+ Args: never;
20148
+ Returns: {
20149
+ ontdaan: number;
20150
+ verwijderd: number;
20151
+ }[];
20152
+ };
19825
20153
  order_number_prefix: {
19826
20154
  Args: {
19827
20155
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -20216,6 +20544,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20216
20544
  };
20217
20545
  Returns: undefined;
20218
20546
  };
20547
+ reset_stalled_floriday_stock_queue: {
20548
+ Args: {
20549
+ p_include_failed?: boolean;
20550
+ };
20551
+ Returns: number;
20552
+ };
20219
20553
  resolve_group_allocation: {
20220
20554
  Args: {
20221
20555
  _needed: number;
@@ -20270,6 +20604,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20270
20604
  Args: never;
20271
20605
  Returns: undefined;
20272
20606
  };
20607
+ run_floriday_stock_queue_process: {
20608
+ Args: never;
20609
+ Returns: undefined;
20610
+ };
20273
20611
  run_logistics_tasks_dispatch: {
20274
20612
  Args: never;
20275
20613
  Returns: undefined;
@@ -20665,6 +21003,15 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20665
21003
  };
20666
21004
  Returns: undefined;
20667
21005
  };
21006
+ trade_item_stock_duplicates: {
21007
+ Args: never;
21008
+ Returns: {
21009
+ keys: string[];
21010
+ product_id: string;
21011
+ product_name: string;
21012
+ row_count: number;
21013
+ }[];
21014
+ };
20668
21015
  try_debtor_lock: {
20669
21016
  Args: {
20670
21017
  _group_key: string;