@flowselections/pick-schermen-kwekers 1.0.8 → 1.0.9

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.
@@ -6480,6 +6480,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6480
6480
  Row: {
6481
6481
  buyer_organization_id: string | null;
6482
6482
  connection_id: string;
6483
+ controlled_at: string | null;
6483
6484
  created_at: string;
6484
6485
  data: import("./types").Json;
6485
6486
  floriday_id: string;
@@ -6491,6 +6492,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6491
6492
  Insert: {
6492
6493
  buyer_organization_id?: string | null;
6493
6494
  connection_id: string;
6495
+ controlled_at?: string | null;
6494
6496
  created_at?: string;
6495
6497
  data: import("./types").Json;
6496
6498
  floriday_id: string;
@@ -6502,6 +6504,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6502
6504
  Update: {
6503
6505
  buyer_organization_id?: string | null;
6504
6506
  connection_id?: string;
6507
+ controlled_at?: string | null;
6505
6508
  created_at?: string;
6506
6509
  data?: import("./types").Json;
6507
6510
  floriday_id?: string;
@@ -7403,6 +7406,54 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7403
7406
  };
7404
7407
  Relationships: [];
7405
7408
  };
7409
+ invoice_timing_settings: {
7410
+ Row: {
7411
+ anchor: string;
7412
+ business_days_only: boolean;
7413
+ created_at: string;
7414
+ enabled: boolean;
7415
+ id: string;
7416
+ offset_days: number;
7417
+ pickup_anchor: string;
7418
+ pickup_business_days_only: boolean;
7419
+ pickup_offset_days: number;
7420
+ pickup_time_of_day: string;
7421
+ singleton: boolean;
7422
+ time_of_day: string;
7423
+ updated_at: string;
7424
+ };
7425
+ Insert: {
7426
+ anchor?: string;
7427
+ business_days_only?: boolean;
7428
+ created_at?: string;
7429
+ enabled?: boolean;
7430
+ id?: string;
7431
+ offset_days?: number;
7432
+ pickup_anchor?: string;
7433
+ pickup_business_days_only?: boolean;
7434
+ pickup_offset_days?: number;
7435
+ pickup_time_of_day?: string;
7436
+ singleton?: boolean;
7437
+ time_of_day?: string;
7438
+ updated_at?: string;
7439
+ };
7440
+ Update: {
7441
+ anchor?: string;
7442
+ business_days_only?: boolean;
7443
+ created_at?: string;
7444
+ enabled?: boolean;
7445
+ id?: string;
7446
+ offset_days?: number;
7447
+ pickup_anchor?: string;
7448
+ pickup_business_days_only?: boolean;
7449
+ pickup_offset_days?: number;
7450
+ pickup_time_of_day?: string;
7451
+ singleton?: boolean;
7452
+ time_of_day?: string;
7453
+ updated_at?: string;
7454
+ };
7455
+ Relationships: [];
7456
+ };
7406
7457
  itk_contact_persons: {
7407
7458
  Row: {
7408
7459
  created_at: string;
@@ -8633,6 +8684,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8633
8684
  };
8634
8685
  Relationships: [];
8635
8686
  };
8687
+ logistics_plan_queue: {
8688
+ Row: {
8689
+ attempts: number;
8690
+ claimed_at: string | null;
8691
+ enqueued_at: string;
8692
+ error: string | null;
8693
+ id: string;
8694
+ next_attempt_at: string;
8695
+ order_id: string;
8696
+ reason: string;
8697
+ status: string;
8698
+ updated_at: string;
8699
+ };
8700
+ Insert: {
8701
+ attempts?: number;
8702
+ claimed_at?: string | null;
8703
+ enqueued_at?: string;
8704
+ error?: string | null;
8705
+ id?: string;
8706
+ next_attempt_at?: string;
8707
+ order_id: string;
8708
+ reason?: string;
8709
+ status?: string;
8710
+ updated_at?: string;
8711
+ };
8712
+ Update: {
8713
+ attempts?: number;
8714
+ claimed_at?: string | null;
8715
+ enqueued_at?: string;
8716
+ error?: string | null;
8717
+ id?: string;
8718
+ next_attempt_at?: string;
8719
+ order_id?: string;
8720
+ reason?: string;
8721
+ status?: string;
8722
+ updated_at?: string;
8723
+ };
8724
+ Relationships: [];
8725
+ };
8636
8726
  logistics_plan_runs: {
8637
8727
  Row: {
8638
8728
  created_at: string;
@@ -8708,6 +8798,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8708
8798
  referencedColumns: ["id"];
8709
8799
  }];
8710
8800
  };
8801
+ logistics_plan_settings: {
8802
+ Row: {
8803
+ key: string;
8804
+ updated_at: string;
8805
+ value: string;
8806
+ };
8807
+ Insert: {
8808
+ key: string;
8809
+ updated_at?: string;
8810
+ value: string;
8811
+ };
8812
+ Update: {
8813
+ key?: string;
8814
+ updated_at?: string;
8815
+ value?: string;
8816
+ };
8817
+ Relationships: [];
8818
+ };
8711
8819
  logistics_rebuffer_state: {
8712
8820
  Row: {
8713
8821
  created_at: string;
@@ -9418,14 +9526,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9418
9526
  };
9419
9527
  mailbox_messages: {
9420
9528
  Row: {
9529
+ attachments: import("./types").Json;
9421
9530
  body_html: string | null;
9422
9531
  body_text: string | null;
9532
+ cc_recipients: import("./types").Json;
9423
9533
  connection_id: string | null;
9424
9534
  created_at: string;
9425
9535
  error_message: string | null;
9426
9536
  external_id: string | null;
9427
9537
  from_email: string | null;
9428
9538
  from_name: string | null;
9539
+ has_attachments: boolean;
9429
9540
  id: string;
9430
9541
  message_id: string | null;
9431
9542
  profile_id: string | null;
@@ -9433,18 +9544,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9433
9544
  received_at: string | null;
9434
9545
  status: string;
9435
9546
  subject: string | null;
9547
+ to_recipients: import("./types").Json;
9436
9548
  uid: number | null;
9437
9549
  updated_at: string;
9438
9550
  };
9439
9551
  Insert: {
9552
+ attachments?: import("./types").Json;
9440
9553
  body_html?: string | null;
9441
9554
  body_text?: string | null;
9555
+ cc_recipients?: import("./types").Json;
9442
9556
  connection_id?: string | null;
9443
9557
  created_at?: string;
9444
9558
  error_message?: string | null;
9445
9559
  external_id?: string | null;
9446
9560
  from_email?: string | null;
9447
9561
  from_name?: string | null;
9562
+ has_attachments?: boolean;
9448
9563
  id?: string;
9449
9564
  message_id?: string | null;
9450
9565
  profile_id?: string | null;
@@ -9452,18 +9567,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9452
9567
  received_at?: string | null;
9453
9568
  status?: string;
9454
9569
  subject?: string | null;
9570
+ to_recipients?: import("./types").Json;
9455
9571
  uid?: number | null;
9456
9572
  updated_at?: string;
9457
9573
  };
9458
9574
  Update: {
9575
+ attachments?: import("./types").Json;
9459
9576
  body_html?: string | null;
9460
9577
  body_text?: string | null;
9578
+ cc_recipients?: import("./types").Json;
9461
9579
  connection_id?: string | null;
9462
9580
  created_at?: string;
9463
9581
  error_message?: string | null;
9464
9582
  external_id?: string | null;
9465
9583
  from_email?: string | null;
9466
9584
  from_name?: string | null;
9585
+ has_attachments?: boolean;
9467
9586
  id?: string;
9468
9587
  message_id?: string | null;
9469
9588
  profile_id?: string | null;
@@ -9471,6 +9590,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9471
9590
  received_at?: string | null;
9472
9591
  status?: string;
9473
9592
  subject?: string | null;
9593
+ to_recipients?: import("./types").Json;
9474
9594
  uid?: number | null;
9475
9595
  updated_at?: string;
9476
9596
  };
@@ -9878,6 +9998,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9878
9998
  };
9879
9999
  Relationships: [];
9880
10000
  };
10001
+ module_registry: {
10002
+ Row: {
10003
+ created_at: string;
10004
+ is_active: boolean;
10005
+ last_seen_at: string;
10006
+ module_id: string;
10007
+ name: string;
10008
+ shell_id: string | null;
10009
+ sort_order: number | null;
10010
+ };
10011
+ Insert: {
10012
+ created_at?: string;
10013
+ is_active?: boolean;
10014
+ last_seen_at?: string;
10015
+ module_id: string;
10016
+ name: string;
10017
+ shell_id?: string | null;
10018
+ sort_order?: number | null;
10019
+ };
10020
+ Update: {
10021
+ created_at?: string;
10022
+ is_active?: boolean;
10023
+ last_seen_at?: string;
10024
+ module_id?: string;
10025
+ name?: string;
10026
+ shell_id?: string | null;
10027
+ sort_order?: number | null;
10028
+ };
10029
+ Relationships: [];
10030
+ };
9881
10031
  module_runtime_config: {
9882
10032
  Row: {
9883
10033
  key: string;
@@ -10937,6 +11087,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10937
11087
  };
10938
11088
  Relationships: [];
10939
11089
  };
11090
+ order_invoice_links: {
11091
+ Row: {
11092
+ attempts: number;
11093
+ created_at: string;
11094
+ error_message: string | null;
11095
+ id: string;
11096
+ invoice_number: string | null;
11097
+ next_attempt_at: string;
11098
+ order_id: string;
11099
+ processed_at: string | null;
11100
+ status: string;
11101
+ updated_at: string;
11102
+ };
11103
+ Insert: {
11104
+ attempts?: number;
11105
+ created_at?: string;
11106
+ error_message?: string | null;
11107
+ id?: string;
11108
+ invoice_number?: string | null;
11109
+ next_attempt_at?: string;
11110
+ order_id: string;
11111
+ processed_at?: string | null;
11112
+ status?: string;
11113
+ updated_at?: string;
11114
+ };
11115
+ Update: {
11116
+ attempts?: number;
11117
+ created_at?: string;
11118
+ error_message?: string | null;
11119
+ id?: string;
11120
+ invoice_number?: string | null;
11121
+ next_attempt_at?: string;
11122
+ order_id?: string;
11123
+ processed_at?: string | null;
11124
+ status?: string;
11125
+ updated_at?: string;
11126
+ };
11127
+ Relationships: [];
11128
+ };
10940
11129
  order_items: {
10941
11130
  Row: {
10942
11131
  crates_per_layer: number | null;
@@ -11119,6 +11308,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11119
11308
  delivery_date: string | null;
11120
11309
  floriday_sales_order_id: string | null;
11121
11310
  id: string;
11311
+ invoice_due_at: string | null;
11122
11312
  is_reservation: boolean;
11123
11313
  notes: string | null;
11124
11314
  order_date: string;
@@ -11140,6 +11330,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11140
11330
  delivery_date?: string | null;
11141
11331
  floriday_sales_order_id?: string | null;
11142
11332
  id?: string;
11333
+ invoice_due_at?: string | null;
11143
11334
  is_reservation?: boolean;
11144
11335
  notes?: string | null;
11145
11336
  order_date?: string;
@@ -11161,6 +11352,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11161
11352
  delivery_date?: string | null;
11162
11353
  floriday_sales_order_id?: string | null;
11163
11354
  id?: string;
11355
+ invoice_due_at?: string | null;
11164
11356
  is_reservation?: boolean;
11165
11357
  notes?: string | null;
11166
11358
  order_date?: string;
@@ -12458,6 +12650,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12458
12650
  referencedColumns: ["id"];
12459
12651
  }];
12460
12652
  };
12653
+ print_queue_runners: {
12654
+ Row: {
12655
+ actief: boolean;
12656
+ basis_url: string;
12657
+ created_at: string;
12658
+ id: string;
12659
+ laatst_gezien: string;
12660
+ tick_sleutel: string;
12661
+ updated_at: string;
12662
+ };
12663
+ Insert: {
12664
+ actief?: boolean;
12665
+ basis_url: string;
12666
+ created_at?: string;
12667
+ id?: string;
12668
+ laatst_gezien?: string;
12669
+ tick_sleutel?: string;
12670
+ updated_at?: string;
12671
+ };
12672
+ Update: {
12673
+ actief?: boolean;
12674
+ basis_url?: string;
12675
+ created_at?: string;
12676
+ id?: string;
12677
+ laatst_gezien?: string;
12678
+ tick_sleutel?: string;
12679
+ updated_at?: string;
12680
+ };
12681
+ Relationships: [];
12682
+ };
12683
+ print_queue_settings: {
12684
+ Row: {
12685
+ bewaar_bestanden_dagen: number;
12686
+ bewaar_opdrachten_dagen: number;
12687
+ created_at: string;
12688
+ dubbel_venster_minuten: number;
12689
+ id: string;
12690
+ updated_at: string;
12691
+ };
12692
+ Insert: {
12693
+ bewaar_bestanden_dagen?: number;
12694
+ bewaar_opdrachten_dagen?: number;
12695
+ created_at?: string;
12696
+ dubbel_venster_minuten?: number;
12697
+ id?: string;
12698
+ updated_at?: string;
12699
+ };
12700
+ Update: {
12701
+ bewaar_bestanden_dagen?: number;
12702
+ bewaar_opdrachten_dagen?: number;
12703
+ created_at?: string;
12704
+ dubbel_venster_minuten?: number;
12705
+ id?: string;
12706
+ updated_at?: string;
12707
+ };
12708
+ Relationships: [];
12709
+ };
12461
12710
  print_rules: {
12462
12711
  Row: {
12463
12712
  actief: boolean;
@@ -15298,6 +15547,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15298
15547
  };
15299
15548
  twinfield_invoice_settings: {
15300
15549
  Row: {
15550
+ auto_invoice_enabled: boolean;
15551
+ auto_invoice_trigger_statuses: string[];
15301
15552
  created_at: string;
15302
15553
  debtor_gl_account: string;
15303
15554
  default_credit_invoice_type: string | null;
@@ -15318,6 +15569,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15318
15569
  vat_code_export: string | null;
15319
15570
  };
15320
15571
  Insert: {
15572
+ auto_invoice_enabled?: boolean;
15573
+ auto_invoice_trigger_statuses?: string[];
15321
15574
  created_at?: string;
15322
15575
  debtor_gl_account?: string;
15323
15576
  default_credit_invoice_type?: string | null;
@@ -15338,6 +15591,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15338
15591
  vat_code_export?: string | null;
15339
15592
  };
15340
15593
  Update: {
15594
+ auto_invoice_enabled?: boolean;
15595
+ auto_invoice_trigger_statuses?: string[];
15341
15596
  created_at?: string;
15342
15597
  debtor_gl_account?: string;
15343
15598
  default_credit_invoice_type?: string | null;
@@ -16400,6 +16655,33 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16400
16655
  referencedColumns: ["id"];
16401
16656
  }];
16402
16657
  };
16658
+ user_module_permissions: {
16659
+ Row: {
16660
+ created_at: string;
16661
+ id: string;
16662
+ module_id: string;
16663
+ permission: string;
16664
+ updated_at: string;
16665
+ user_id: string;
16666
+ };
16667
+ Insert: {
16668
+ created_at?: string;
16669
+ id?: string;
16670
+ module_id: string;
16671
+ permission: string;
16672
+ updated_at?: string;
16673
+ user_id: string;
16674
+ };
16675
+ Update: {
16676
+ created_at?: string;
16677
+ id?: string;
16678
+ module_id?: string;
16679
+ permission?: string;
16680
+ updated_at?: string;
16681
+ user_id?: string;
16682
+ };
16683
+ Relationships: [];
16684
+ };
16403
16685
  user_roles: {
16404
16686
  Row: {
16405
16687
  created_at: string;
@@ -18233,6 +18515,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18233
18515
  processed_items: number;
18234
18516
  }[];
18235
18517
  };
18518
+ backfill_order_auto_invoice_queue: {
18519
+ Args: never;
18520
+ Returns: number;
18521
+ };
18236
18522
  calculate_layer_stock: {
18237
18523
  Args: {
18238
18524
  p_product_id: string;
@@ -18463,6 +18749,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18463
18749
  Args: never;
18464
18750
  Returns: undefined;
18465
18751
  };
18752
+ cleanup_voorraad_module_history: {
18753
+ Args: never;
18754
+ Returns: undefined;
18755
+ };
18466
18756
  complete_floriday_stock_queue: {
18467
18757
  Args: {
18468
18758
  p_attempt_id?: string;
@@ -18584,6 +18874,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18584
18874
  };
18585
18875
  Returns: import("./types").Json;
18586
18876
  };
18877
+ effective_module_permission: {
18878
+ Args: {
18879
+ _module_id: string;
18880
+ _user_id: string;
18881
+ };
18882
+ Returns: string;
18883
+ };
18587
18884
  email_auth_decrypt: {
18588
18885
  Args: {
18589
18886
  cipher: string;
@@ -19484,6 +19781,65 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19484
19781
  };
19485
19782
  Returns: number;
19486
19783
  };
19784
+ logistics_plan_claim: {
19785
+ Args: {
19786
+ p_limit?: number;
19787
+ };
19788
+ Returns: {
19789
+ attempts: number;
19790
+ id: string;
19791
+ order_id: string;
19792
+ }[];
19793
+ };
19794
+ logistics_plan_enqueue: {
19795
+ Args: {
19796
+ p_order_id: string;
19797
+ p_reason?: string;
19798
+ };
19799
+ Returns: undefined;
19800
+ };
19801
+ logistics_plan_ensure_event: {
19802
+ Args: {
19803
+ p_order_id: string;
19804
+ };
19805
+ Returns: boolean;
19806
+ };
19807
+ logistics_plan_finish: {
19808
+ Args: {
19809
+ p_error?: string;
19810
+ p_id: string;
19811
+ };
19812
+ Returns: undefined;
19813
+ };
19814
+ logistics_plan_impact_orders: {
19815
+ Args: {
19816
+ p_order_id: string;
19817
+ };
19818
+ Returns: {
19819
+ buffer_id: string;
19820
+ order_id: string;
19821
+ plan_date: string;
19822
+ }[];
19823
+ };
19824
+ logistics_plan_kick: {
19825
+ Args: never;
19826
+ Returns: undefined;
19827
+ };
19828
+ logistics_plan_prune: {
19829
+ Args: never;
19830
+ Returns: number;
19831
+ };
19832
+ logistics_plan_release_stale: {
19833
+ Args: never;
19834
+ Returns: number;
19835
+ };
19836
+ logistics_plan_setting: {
19837
+ Args: {
19838
+ p_default: number;
19839
+ p_key: string;
19840
+ };
19841
+ Returns: number;
19842
+ };
19487
19843
  logistics_queue_capacity_email: {
19488
19844
  Args: {
19489
19845
  p_alert_id: string;
@@ -19722,6 +20078,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19722
20078
  };
19723
20079
  Returns: undefined;
19724
20080
  };
20081
+ my_module_permissions: {
20082
+ Args: never;
20083
+ Returns: {
20084
+ module_id: string;
20085
+ permission: string;
20086
+ }[];
20087
+ };
19725
20088
  next_manufacture_partij: {
19726
20089
  Args: {
19727
20090
  _tenant_id: string;
@@ -19772,6 +20135,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19772
20135
  };
19773
20136
  Returns: boolean;
19774
20137
  };
20138
+ opruim_print_historie: {
20139
+ Args: never;
20140
+ Returns: {
20141
+ ontdaan: number;
20142
+ verwijderd: number;
20143
+ }[];
20144
+ };
19775
20145
  order_number_prefix: {
19776
20146
  Args: {
19777
20147
  p_custom_fields?: import("./types").Json;
@@ -20166,6 +20536,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20166
20536
  };
20167
20537
  Returns: undefined;
20168
20538
  };
20539
+ reset_stalled_floriday_stock_queue: {
20540
+ Args: {
20541
+ p_include_failed?: boolean;
20542
+ };
20543
+ Returns: number;
20544
+ };
20169
20545
  resolve_group_allocation: {
20170
20546
  Args: {
20171
20547
  _needed: number;
@@ -20220,10 +20596,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20220
20596
  Args: never;
20221
20597
  Returns: undefined;
20222
20598
  };
20599
+ run_floriday_stock_queue_process: {
20600
+ Args: never;
20601
+ Returns: undefined;
20602
+ };
20223
20603
  run_logistics_tasks_dispatch: {
20224
20604
  Args: never;
20225
20605
  Returns: undefined;
20226
20606
  };
20607
+ run_print_queue_ticks: {
20608
+ Args: never;
20609
+ Returns: number;
20610
+ };
20227
20611
  run_twinfield_queue_tick: {
20228
20612
  Args: never;
20229
20613
  Returns: undefined;
@@ -20611,6 +20995,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20611
20995
  };
20612
20996
  Returns: undefined;
20613
20997
  };
20998
+ trade_item_stock_duplicates: {
20999
+ Args: never;
21000
+ Returns: {
21001
+ keys: string[];
21002
+ product_id: string;
21003
+ product_name: string;
21004
+ row_count: number;
21005
+ }[];
21006
+ };
20614
21007
  try_debtor_lock: {
20615
21008
  Args: {
20616
21009
  _group_key: string;