@flowselections/pick-schermen-kwekers 1.0.55 → 1.0.57

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.
@@ -606,24 +606,36 @@ export type Database = {
606
606
  ai_modules: {
607
607
  Row: {
608
608
  ai_enabled: boolean;
609
+ ai_source: string;
609
610
  created_at: string;
611
+ declared_ai: boolean;
610
612
  id: string;
613
+ is_in_use: boolean;
614
+ last_declared_at: string | null;
611
615
  module_key: string;
612
616
  module_name: string;
613
617
  updated_at: string;
614
618
  };
615
619
  Insert: {
616
620
  ai_enabled?: boolean;
621
+ ai_source?: string;
617
622
  created_at?: string;
623
+ declared_ai?: boolean;
618
624
  id?: string;
625
+ is_in_use?: boolean;
626
+ last_declared_at?: string | null;
619
627
  module_key: string;
620
628
  module_name: string;
621
629
  updated_at?: string;
622
630
  };
623
631
  Update: {
624
632
  ai_enabled?: boolean;
633
+ ai_source?: string;
625
634
  created_at?: string;
635
+ declared_ai?: boolean;
626
636
  id?: string;
637
+ is_in_use?: boolean;
638
+ last_declared_at?: string | null;
627
639
  module_key?: string;
628
640
  module_name?: string;
629
641
  updated_at?: string;
@@ -2235,6 +2247,50 @@ export type Database = {
2235
2247
  }
2236
2248
  ];
2237
2249
  };
2250
+ customer_match_suggestions: {
2251
+ Row: {
2252
+ created_at: string;
2253
+ customer_id: string;
2254
+ decided_at: string | null;
2255
+ decided_by: string | null;
2256
+ floriday_organization_id: string;
2257
+ id: string;
2258
+ reason: string;
2259
+ status: string;
2260
+ updated_at: string;
2261
+ };
2262
+ Insert: {
2263
+ created_at?: string;
2264
+ customer_id: string;
2265
+ decided_at?: string | null;
2266
+ decided_by?: string | null;
2267
+ floriday_organization_id: string;
2268
+ id?: string;
2269
+ reason: string;
2270
+ status?: string;
2271
+ updated_at?: string;
2272
+ };
2273
+ Update: {
2274
+ created_at?: string;
2275
+ customer_id?: string;
2276
+ decided_at?: string | null;
2277
+ decided_by?: string | null;
2278
+ floriday_organization_id?: string;
2279
+ id?: string;
2280
+ reason?: string;
2281
+ status?: string;
2282
+ updated_at?: string;
2283
+ };
2284
+ Relationships: [
2285
+ {
2286
+ foreignKeyName: "customer_match_suggestions_customer_id_fkey";
2287
+ columns: ["customer_id"];
2288
+ isOneToOne: false;
2289
+ referencedRelation: "customers";
2290
+ referencedColumns: ["id"];
2291
+ }
2292
+ ];
2293
+ };
2238
2294
  customer_notes: {
2239
2295
  Row: {
2240
2296
  created_at: string;
@@ -3770,6 +3826,8 @@ export type Database = {
3770
3826
  orientatie: Database["public"]["Enums"]["doc_orientation"];
3771
3827
  page_settings: Json;
3772
3828
  papierformaat: string;
3829
+ standaard_sleutel: string | null;
3830
+ standaard_versie: number | null;
3773
3831
  systeem: boolean;
3774
3832
  thumbnail_url: string | null;
3775
3833
  updated_at: string;
@@ -3795,6 +3853,8 @@ export type Database = {
3795
3853
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3796
3854
  page_settings?: Json;
3797
3855
  papierformaat?: string;
3856
+ standaard_sleutel?: string | null;
3857
+ standaard_versie?: number | null;
3798
3858
  systeem?: boolean;
3799
3859
  thumbnail_url?: string | null;
3800
3860
  updated_at?: string;
@@ -3820,6 +3880,8 @@ export type Database = {
3820
3880
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3821
3881
  page_settings?: Json;
3822
3882
  papierformaat?: string;
3883
+ standaard_sleutel?: string | null;
3884
+ standaard_versie?: number | null;
3823
3885
  systeem?: boolean;
3824
3886
  thumbnail_url?: string | null;
3825
3887
  updated_at?: string;
@@ -6766,9 +6828,16 @@ export type Database = {
6766
6828
  id: string;
6767
6829
  is_active: boolean;
6768
6830
  label: string;
6831
+ organization_fetched_at: string | null;
6832
+ organization_id: string | null;
6833
+ organization_mailing_address: Json | null;
6769
6834
  organization_name: string | null;
6835
+ organization_physical_address: Json | null;
6770
6836
  preferred_warehouse_id: string | null;
6771
6837
  preferred_warehouse_name: string | null;
6838
+ read_only: boolean;
6839
+ read_only_changed_at: string | null;
6840
+ read_only_changed_by: string | null;
6772
6841
  token_expires_at: string | null;
6773
6842
  updated_at: string;
6774
6843
  };
@@ -6781,9 +6850,16 @@ export type Database = {
6781
6850
  id?: string;
6782
6851
  is_active?: boolean;
6783
6852
  label?: string;
6853
+ organization_fetched_at?: string | null;
6854
+ organization_id?: string | null;
6855
+ organization_mailing_address?: Json | null;
6784
6856
  organization_name?: string | null;
6857
+ organization_physical_address?: Json | null;
6785
6858
  preferred_warehouse_id?: string | null;
6786
6859
  preferred_warehouse_name?: string | null;
6860
+ read_only?: boolean;
6861
+ read_only_changed_at?: string | null;
6862
+ read_only_changed_by?: string | null;
6787
6863
  token_expires_at?: string | null;
6788
6864
  updated_at?: string;
6789
6865
  };
@@ -6796,9 +6872,16 @@ export type Database = {
6796
6872
  id?: string;
6797
6873
  is_active?: boolean;
6798
6874
  label?: string;
6875
+ organization_fetched_at?: string | null;
6876
+ organization_id?: string | null;
6877
+ organization_mailing_address?: Json | null;
6799
6878
  organization_name?: string | null;
6879
+ organization_physical_address?: Json | null;
6800
6880
  preferred_warehouse_id?: string | null;
6801
6881
  preferred_warehouse_name?: string | null;
6882
+ read_only?: boolean;
6883
+ read_only_changed_at?: string | null;
6884
+ read_only_changed_by?: string | null;
6802
6885
  token_expires_at?: string | null;
6803
6886
  updated_at?: string;
6804
6887
  };
@@ -7056,6 +7139,44 @@ export type Database = {
7056
7139
  }
7057
7140
  ];
7058
7141
  };
7142
+ floriday_customer_offers_cache: {
7143
+ Row: {
7144
+ connection_id: string;
7145
+ data: Json;
7146
+ fetched_at: string;
7147
+ floriday_id: string;
7148
+ is_deleted: boolean;
7149
+ sequence_number: number;
7150
+ updated_at: string;
7151
+ };
7152
+ Insert: {
7153
+ connection_id: string;
7154
+ data?: Json;
7155
+ fetched_at?: string;
7156
+ floriday_id: string;
7157
+ is_deleted?: boolean;
7158
+ sequence_number?: number;
7159
+ updated_at?: string;
7160
+ };
7161
+ Update: {
7162
+ connection_id?: string;
7163
+ data?: Json;
7164
+ fetched_at?: string;
7165
+ floriday_id?: string;
7166
+ is_deleted?: boolean;
7167
+ sequence_number?: number;
7168
+ updated_at?: string;
7169
+ };
7170
+ Relationships: [
7171
+ {
7172
+ foreignKeyName: "floriday_customer_offers_cache_connection_id_fkey";
7173
+ columns: ["connection_id"];
7174
+ isOneToOne: false;
7175
+ referencedRelation: "floriday_connections";
7176
+ referencedColumns: ["id"];
7177
+ }
7178
+ ];
7179
+ };
7059
7180
  floriday_customer_sticker_pdfs_cache: {
7060
7181
  Row: {
7061
7182
  byte_size: number | null;
@@ -7613,8 +7734,14 @@ export type Database = {
7613
7734
  created_at: string;
7614
7735
  desired_availability: boolean;
7615
7736
  desired_quantity: number;
7737
+ erp_leading: boolean | null;
7738
+ erp_leading_at: string | null;
7739
+ first_positive_published_at: string | null;
7616
7740
  fixed_quantity: number | null;
7741
+ floriday_offer_forms: Json | null;
7617
7742
  floriday_trade_item_id: string | null;
7743
+ follow_floriday_at: string | null;
7744
+ follow_floriday_result: string | null;
7618
7745
  id: string;
7619
7746
  last_confirmed_at: string | null;
7620
7747
  last_enqueued_at: string | null;
@@ -7645,8 +7772,14 @@ export type Database = {
7645
7772
  created_at?: string;
7646
7773
  desired_availability?: boolean;
7647
7774
  desired_quantity?: number;
7775
+ erp_leading?: boolean | null;
7776
+ erp_leading_at?: string | null;
7777
+ first_positive_published_at?: string | null;
7648
7778
  fixed_quantity?: number | null;
7779
+ floriday_offer_forms?: Json | null;
7649
7780
  floriday_trade_item_id?: string | null;
7781
+ follow_floriday_at?: string | null;
7782
+ follow_floriday_result?: string | null;
7650
7783
  id?: string;
7651
7784
  last_confirmed_at?: string | null;
7652
7785
  last_enqueued_at?: string | null;
@@ -7677,8 +7810,14 @@ export type Database = {
7677
7810
  created_at?: string;
7678
7811
  desired_availability?: boolean;
7679
7812
  desired_quantity?: number;
7813
+ erp_leading?: boolean | null;
7814
+ erp_leading_at?: string | null;
7815
+ first_positive_published_at?: string | null;
7680
7816
  fixed_quantity?: number | null;
7817
+ floriday_offer_forms?: Json | null;
7681
7818
  floriday_trade_item_id?: string | null;
7819
+ follow_floriday_at?: string | null;
7820
+ follow_floriday_result?: string | null;
7682
7821
  id?: string;
7683
7822
  last_confirmed_at?: string | null;
7684
7823
  last_enqueued_at?: string | null;
@@ -8496,33 +8635,45 @@ export type Database = {
8496
8635
  };
8497
8636
  floriday_sync_state: {
8498
8637
  Row: {
8638
+ backfill_done_at: string | null;
8639
+ backfill_started_at: string | null;
8640
+ backfill_target_sequence: number | null;
8499
8641
  connection_id: string;
8500
8642
  entity_type: string;
8501
8643
  last_error: string | null;
8502
8644
  last_items_processed: number | null;
8503
8645
  last_max_sequence_seen: number | null;
8646
+ last_rate_limited_at: string | null;
8504
8647
  last_sequence_number: number;
8505
8648
  last_success_at: string | null;
8506
8649
  last_synced_at: string | null;
8507
8650
  updated_at: string;
8508
8651
  };
8509
8652
  Insert: {
8653
+ backfill_done_at?: string | null;
8654
+ backfill_started_at?: string | null;
8655
+ backfill_target_sequence?: number | null;
8510
8656
  connection_id: string;
8511
8657
  entity_type: string;
8512
8658
  last_error?: string | null;
8513
8659
  last_items_processed?: number | null;
8514
8660
  last_max_sequence_seen?: number | null;
8661
+ last_rate_limited_at?: string | null;
8515
8662
  last_sequence_number?: number;
8516
8663
  last_success_at?: string | null;
8517
8664
  last_synced_at?: string | null;
8518
8665
  updated_at?: string;
8519
8666
  };
8520
8667
  Update: {
8668
+ backfill_done_at?: string | null;
8669
+ backfill_started_at?: string | null;
8670
+ backfill_target_sequence?: number | null;
8521
8671
  connection_id?: string;
8522
8672
  entity_type?: string;
8523
8673
  last_error?: string | null;
8524
8674
  last_items_processed?: number | null;
8525
8675
  last_max_sequence_seen?: number | null;
8676
+ last_rate_limited_at?: string | null;
8526
8677
  last_sequence_number?: number;
8527
8678
  last_success_at?: string | null;
8528
8679
  last_synced_at?: string | null;
@@ -8538,6 +8689,116 @@ export type Database = {
8538
8689
  }
8539
8690
  ];
8540
8691
  };
8692
+ floriday_takeover_items: {
8693
+ Row: {
8694
+ created_at: string;
8695
+ created_product: boolean;
8696
+ id: string;
8697
+ new_price: number | null;
8698
+ new_stock: number | null;
8699
+ offer_forms: Json | null;
8700
+ old_erp_leading: boolean | null;
8701
+ old_offer_forms: Json | null;
8702
+ old_price: number | null;
8703
+ old_stock: number | null;
8704
+ price_source: string | null;
8705
+ product_id: string;
8706
+ run_id: string;
8707
+ stock_source: string | null;
8708
+ trade_item_id: string;
8709
+ undo_skipped_reason: string | null;
8710
+ undone: boolean;
8711
+ };
8712
+ Insert: {
8713
+ created_at?: string;
8714
+ created_product?: boolean;
8715
+ id?: string;
8716
+ new_price?: number | null;
8717
+ new_stock?: number | null;
8718
+ offer_forms?: Json | null;
8719
+ old_erp_leading?: boolean | null;
8720
+ old_offer_forms?: Json | null;
8721
+ old_price?: number | null;
8722
+ old_stock?: number | null;
8723
+ price_source?: string | null;
8724
+ product_id: string;
8725
+ run_id: string;
8726
+ stock_source?: string | null;
8727
+ trade_item_id: string;
8728
+ undo_skipped_reason?: string | null;
8729
+ undone?: boolean;
8730
+ };
8731
+ Update: {
8732
+ created_at?: string;
8733
+ created_product?: boolean;
8734
+ id?: string;
8735
+ new_price?: number | null;
8736
+ new_stock?: number | null;
8737
+ offer_forms?: Json | null;
8738
+ old_erp_leading?: boolean | null;
8739
+ old_offer_forms?: Json | null;
8740
+ old_price?: number | null;
8741
+ old_stock?: number | null;
8742
+ price_source?: string | null;
8743
+ product_id?: string;
8744
+ run_id?: string;
8745
+ stock_source?: string | null;
8746
+ trade_item_id?: string;
8747
+ undo_skipped_reason?: string | null;
8748
+ undone?: boolean;
8749
+ };
8750
+ Relationships: [
8751
+ {
8752
+ foreignKeyName: "floriday_takeover_items_run_id_fkey";
8753
+ columns: ["run_id"];
8754
+ isOneToOne: false;
8755
+ referencedRelation: "floriday_takeover_runs";
8756
+ referencedColumns: ["id"];
8757
+ }
8758
+ ];
8759
+ };
8760
+ floriday_takeover_runs: {
8761
+ Row: {
8762
+ connection_id: string;
8763
+ created_at: string;
8764
+ created_products: number;
8765
+ id: string;
8766
+ status: string;
8767
+ total_items: number;
8768
+ undo_skipped_items: number;
8769
+ undone_at: string | null;
8770
+ undone_items: number;
8771
+ updated_at: string;
8772
+ user_id: string;
8773
+ };
8774
+ Insert: {
8775
+ connection_id: string;
8776
+ created_at?: string;
8777
+ created_products?: number;
8778
+ id?: string;
8779
+ status?: string;
8780
+ total_items?: number;
8781
+ undo_skipped_items?: number;
8782
+ undone_at?: string | null;
8783
+ undone_items?: number;
8784
+ updated_at?: string;
8785
+ user_id: string;
8786
+ };
8787
+ Update: {
8788
+ connection_id?: string;
8789
+ created_at?: string;
8790
+ created_products?: number;
8791
+ id?: string;
8792
+ status?: string;
8793
+ total_items?: number;
8794
+ undo_skipped_items?: number;
8795
+ undone_at?: string | null;
8796
+ undone_items?: number;
8797
+ updated_at?: string;
8798
+ user_id?: string;
8799
+ };
8800
+ Relationships: [];
8801
+ };
8541
8802
  floriday_token_refresh_log: {
8542
8803
  Row: {
8543
8804
  attempted_at: string;
@@ -11183,6 +11444,36 @@ export type Database = {
11183
11444
  };
11184
11445
  Relationships: [];
11185
11446
  };
11447
+ layout_auto_acties: {
11448
+ Row: {
11449
+ actie: string;
11450
+ created_at: string;
11451
+ detail: string;
11452
+ documenttype: string | null;
11453
+ id: string;
11454
+ layout_id: string | null;
11455
+ printer_id: string | null;
11456
+ };
11457
+ Insert: {
11458
+ actie: string;
11459
+ created_at?: string;
11460
+ detail?: string;
11461
+ documenttype?: string | null;
11462
+ id?: string;
11463
+ layout_id?: string | null;
11464
+ printer_id?: string | null;
11465
+ };
11466
+ Update: {
11467
+ actie?: string;
11468
+ created_at?: string;
11469
+ detail?: string;
11470
+ documenttype?: string | null;
11471
+ id?: string;
11472
+ layout_id?: string | null;
11473
+ printer_id?: string | null;
11474
+ };
11475
+ Relationships: [];
11476
+ };
11186
11477
  layout_logos: {
11187
11478
  Row: {
11188
11479
  bestand_url: string;
@@ -11240,6 +11531,51 @@ export type Database = {
11240
11531
  };
11241
11532
  Relationships: [];
11242
11533
  };
11534
+ layout_standaarden: {
11535
+ Row: {
11536
+ breedte_mm: number;
11537
+ config: Json;
11538
+ created_at: string;
11539
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
11540
+ hoogte_mm: number;
11541
+ naam: string;
11542
+ omschrijving: string;
11543
+ page_settings: Json;
11544
+ papierformaat: string;
11545
+ sleutel: string;
11546
+ updated_at: string;
11547
+ versie: number;
11548
+ };
11549
+ Insert: {
11550
+ breedte_mm?: number;
11551
+ config?: Json;
11552
+ created_at?: string;
11553
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
11554
+ hoogte_mm?: number;
11555
+ naam: string;
11556
+ omschrijving?: string;
11557
+ page_settings?: Json;
11558
+ papierformaat?: string;
11559
+ sleutel: string;
11560
+ updated_at?: string;
11561
+ versie: number;
11562
+ };
11563
+ Update: {
11564
+ breedte_mm?: number;
11565
+ config?: Json;
11566
+ created_at?: string;
11567
+ documenttype?: Database["public"]["Enums"]["doc_layout_type"];
11568
+ hoogte_mm?: number;
11569
+ naam?: string;
11570
+ omschrijving?: string;
11571
+ page_settings?: Json;
11572
+ papierformaat?: string;
11573
+ sleutel?: string;
11574
+ updated_at?: string;
11575
+ versie?: number;
11576
+ };
11577
+ Relationships: [];
11578
+ };
11243
11579
  leave_requests: {
11244
11580
  Row: {
11245
11581
  cancellation_requested_at: string | null;
@@ -13852,6 +14188,7 @@ export type Database = {
13852
14188
  bron_id: string;
13853
14189
  cart_id: string | null;
13854
14190
  created_at: string;
14191
+ eigen_sticker_id: string | null;
13855
14192
  fulfillment_order_id: string | null;
13856
14193
  handled_at: string | null;
13857
14194
  handled_error: string | null;
@@ -13878,6 +14215,7 @@ export type Database = {
13878
14215
  bron_id: string;
13879
14216
  cart_id?: string | null;
13880
14217
  created_at?: string;
14218
+ eigen_sticker_id?: string | null;
13881
14219
  fulfillment_order_id?: string | null;
13882
14220
  handled_at?: string | null;
13883
14221
  handled_error?: string | null;
@@ -13904,6 +14242,7 @@ export type Database = {
13904
14242
  bron_id?: string;
13905
14243
  cart_id?: string | null;
13906
14244
  created_at?: string;
14245
+ eigen_sticker_id?: string | null;
13907
14246
  fulfillment_order_id?: string | null;
13908
14247
  handled_at?: string | null;
13909
14248
  handled_error?: string | null;
@@ -14625,6 +14964,45 @@ export type Database = {
14625
14964
  };
14626
14965
  Relationships: [];
14627
14966
  };
14967
+ mailbox_ai_runs: {
14968
+ Row: {
14969
+ error: string | null;
14970
+ finished_at: string | null;
14971
+ id: string;
14972
+ input_tokens: number | null;
14973
+ is_test: boolean;
14974
+ message_id: string | null;
14975
+ ok: boolean | null;
14976
+ output_tokens: number | null;
14977
+ started_at: string;
14978
+ trigger: string;
14979
+ };
14980
+ Insert: {
14981
+ error?: string | null;
14982
+ finished_at?: string | null;
14983
+ id?: string;
14984
+ input_tokens?: number | null;
14985
+ is_test?: boolean;
14986
+ message_id?: string | null;
14987
+ ok?: boolean | null;
14988
+ output_tokens?: number | null;
14989
+ started_at?: string;
14990
+ trigger?: string;
14991
+ };
14992
+ Update: {
14993
+ error?: string | null;
14994
+ finished_at?: string | null;
14995
+ id?: string;
14996
+ input_tokens?: number | null;
14997
+ is_test?: boolean;
14998
+ message_id?: string | null;
14999
+ ok?: boolean | null;
15000
+ output_tokens?: number | null;
15001
+ started_at?: string;
15002
+ trigger?: string;
15003
+ };
15004
+ Relationships: [];
15005
+ };
14628
15006
  mailbox_ai_settings: {
14629
15007
  Row: {
14630
15008
  active_goal_key: string | null;
@@ -14658,6 +15036,78 @@ export type Database = {
14658
15036
  };
14659
15037
  Relationships: [];
14660
15038
  };
15039
+ mailbox_filter_settings: {
15040
+ Row: {
15041
+ analyze_unknown_with_signals: boolean;
15042
+ conf_green: number;
15043
+ conf_orange: number;
15044
+ created_at: string;
15045
+ domain_match: boolean;
15046
+ duplicate_days: number;
15047
+ id: string;
15048
+ max_agent_reparse: number;
15049
+ max_ai_per_day: number;
15050
+ max_ai_per_month: number;
15051
+ max_candidates: number;
15052
+ max_retries_per_run: number;
15053
+ max_retry_attempts: number;
15054
+ min_signals_unknown: number;
15055
+ negative_keywords: string[];
15056
+ order_keywords: string[];
15057
+ order_patterns: string[];
15058
+ singleton: boolean;
15059
+ skip_domains: string[];
15060
+ skip_senders: string[];
15061
+ updated_at: string;
15062
+ };
15063
+ Insert: {
15064
+ analyze_unknown_with_signals?: boolean;
15065
+ conf_green?: number;
15066
+ conf_orange?: number;
15067
+ created_at?: string;
15068
+ domain_match?: boolean;
15069
+ duplicate_days?: number;
15070
+ id?: string;
15071
+ max_agent_reparse?: number;
15072
+ max_ai_per_day?: number;
15073
+ max_ai_per_month?: number;
15074
+ max_candidates?: number;
15075
+ max_retries_per_run?: number;
15076
+ max_retry_attempts?: number;
15077
+ min_signals_unknown?: number;
15078
+ negative_keywords?: string[];
15079
+ order_keywords?: string[];
15080
+ order_patterns?: string[];
15081
+ singleton?: boolean;
15082
+ skip_domains?: string[];
15083
+ skip_senders?: string[];
15084
+ updated_at?: string;
15085
+ };
15086
+ Update: {
15087
+ analyze_unknown_with_signals?: boolean;
15088
+ conf_green?: number;
15089
+ conf_orange?: number;
15090
+ created_at?: string;
15091
+ domain_match?: boolean;
15092
+ duplicate_days?: number;
15093
+ id?: string;
15094
+ max_agent_reparse?: number;
15095
+ max_ai_per_day?: number;
15096
+ max_ai_per_month?: number;
15097
+ max_candidates?: number;
15098
+ max_retries_per_run?: number;
15099
+ max_retry_attempts?: number;
15100
+ min_signals_unknown?: number;
15101
+ negative_keywords?: string[];
15102
+ order_keywords?: string[];
15103
+ order_patterns?: string[];
15104
+ singleton?: boolean;
15105
+ skip_domains?: string[];
15106
+ skip_senders?: string[];
15107
+ updated_at?: string;
15108
+ };
15109
+ Relationships: [];
15110
+ };
14661
15111
  mailbox_ingest_runs: {
14662
15112
  Row: {
14663
15113
  connection_id: string | null;
@@ -14696,6 +15146,10 @@ export type Database = {
14696
15146
  };
14697
15147
  mailbox_messages: {
14698
15148
  Row: {
15149
+ analysis_count: number;
15150
+ analysis_note: string | null;
15151
+ analysis_started_at: string | null;
15152
+ analysis_state: string | null;
14699
15153
  attachments: Json;
14700
15154
  body_html: string | null;
14701
15155
  body_text: string | null;
@@ -14704,6 +15158,8 @@ export type Database = {
14704
15158
  created_at: string;
14705
15159
  error_message: string | null;
14706
15160
  external_id: string | null;
15161
+ filter_outcome: string | null;
15162
+ filter_reason: string | null;
14707
15163
  from_email: string | null;
14708
15164
  from_name: string | null;
14709
15165
  has_attachments: boolean;
@@ -14720,6 +15176,10 @@ export type Database = {
14720
15176
  updated_at: string;
14721
15177
  };
14722
15178
  Insert: {
15179
+ analysis_count?: number;
15180
+ analysis_note?: string | null;
15181
+ analysis_started_at?: string | null;
15182
+ analysis_state?: string | null;
14723
15183
  attachments?: Json;
14724
15184
  body_html?: string | null;
14725
15185
  body_text?: string | null;
@@ -14728,6 +15188,8 @@ export type Database = {
14728
15188
  created_at?: string;
14729
15189
  error_message?: string | null;
14730
15190
  external_id?: string | null;
15191
+ filter_outcome?: string | null;
15192
+ filter_reason?: string | null;
14731
15193
  from_email?: string | null;
14732
15194
  from_name?: string | null;
14733
15195
  has_attachments?: boolean;
@@ -14744,6 +15206,10 @@ export type Database = {
14744
15206
  updated_at?: string;
14745
15207
  };
14746
15208
  Update: {
15209
+ analysis_count?: number;
15210
+ analysis_note?: string | null;
15211
+ analysis_started_at?: string | null;
15212
+ analysis_state?: string | null;
14747
15213
  attachments?: Json;
14748
15214
  body_html?: string | null;
14749
15215
  body_text?: string | null;
@@ -14752,6 +15218,8 @@ export type Database = {
14752
15218
  created_at?: string;
14753
15219
  error_message?: string | null;
14754
15220
  external_id?: string | null;
15221
+ filter_outcome?: string | null;
15222
+ filter_reason?: string | null;
14755
15223
  from_email?: string | null;
14756
15224
  from_name?: string | null;
14757
15225
  has_attachments?: boolean;
@@ -14798,6 +15266,7 @@ export type Database = {
14798
15266
  confidence: number | null;
14799
15267
  created_at: string;
14800
15268
  created_order_id: string | null;
15269
+ customer_reference: string | null;
14801
15270
  delivery_date: string | null;
14802
15271
  id: string;
14803
15272
  matched_customer_id: string | null;
@@ -14816,6 +15285,7 @@ export type Database = {
14816
15285
  confidence?: number | null;
14817
15286
  created_at?: string;
14818
15287
  created_order_id?: string | null;
15288
+ customer_reference?: string | null;
14819
15289
  delivery_date?: string | null;
14820
15290
  id?: string;
14821
15291
  matched_customer_id?: string | null;
@@ -14834,6 +15304,7 @@ export type Database = {
14834
15304
  confidence?: number | null;
14835
15305
  created_at?: string;
14836
15306
  created_order_id?: string | null;
15307
+ customer_reference?: string | null;
14837
15308
  delivery_date?: string | null;
14838
15309
  id?: string;
14839
15310
  matched_customer_id?: string | null;
@@ -14970,43 +15441,85 @@ export type Database = {
14970
15441
  };
14971
15442
  mailbox_proposal_lines: {
14972
15443
  Row: {
15444
+ belading: Json | null;
15445
+ confidence: Json | null;
14973
15446
  created_at: string;
15447
+ currency: string | null;
14974
15448
  id: string;
14975
15449
  match_confidence: number | null;
15450
+ match_source: string | null;
15451
+ name_in_mail: string | null;
15452
+ pieces_per_unit: number | null;
14976
15453
  plant_type: string | null;
15454
+ plants: number | null;
15455
+ price_per: string | null;
14977
15456
  product_id: string | null;
14978
15457
  proposal_id: string;
15458
+ qty_in_mail: number | null;
14979
15459
  quantity: number | null;
15460
+ raw_code: string | null;
14980
15461
  raw_product_text: string | null;
14981
15462
  sort_order: number;
14982
15463
  unit: string | null;
15464
+ unit_kind: string | null;
15465
+ unit_price: number | null;
15466
+ unit_text: string | null;
14983
15467
  updated_at: string;
15468
+ warnings: string[] | null;
14984
15469
  };
14985
15470
  Insert: {
15471
+ belading?: Json | null;
15472
+ confidence?: Json | null;
14986
15473
  created_at?: string;
15474
+ currency?: string | null;
14987
15475
  id?: string;
14988
15476
  match_confidence?: number | null;
15477
+ match_source?: string | null;
15478
+ name_in_mail?: string | null;
15479
+ pieces_per_unit?: number | null;
14989
15480
  plant_type?: string | null;
15481
+ plants?: number | null;
15482
+ price_per?: string | null;
14990
15483
  product_id?: string | null;
14991
15484
  proposal_id: string;
15485
+ qty_in_mail?: number | null;
14992
15486
  quantity?: number | null;
15487
+ raw_code?: string | null;
14993
15488
  raw_product_text?: string | null;
14994
15489
  sort_order?: number;
14995
15490
  unit?: string | null;
15491
+ unit_kind?: string | null;
15492
+ unit_price?: number | null;
15493
+ unit_text?: string | null;
14996
15494
  updated_at?: string;
15495
+ warnings?: string[] | null;
14997
15496
  };
14998
15497
  Update: {
15498
+ belading?: Json | null;
15499
+ confidence?: Json | null;
14999
15500
  created_at?: string;
15501
+ currency?: string | null;
15000
15502
  id?: string;
15001
15503
  match_confidence?: number | null;
15504
+ match_source?: string | null;
15505
+ name_in_mail?: string | null;
15506
+ pieces_per_unit?: number | null;
15002
15507
  plant_type?: string | null;
15508
+ plants?: number | null;
15509
+ price_per?: string | null;
15003
15510
  product_id?: string | null;
15004
15511
  proposal_id?: string;
15512
+ qty_in_mail?: number | null;
15005
15513
  quantity?: number | null;
15514
+ raw_code?: string | null;
15006
15515
  raw_product_text?: string | null;
15007
15516
  sort_order?: number;
15008
15517
  unit?: string | null;
15518
+ unit_kind?: string | null;
15519
+ unit_price?: number | null;
15520
+ unit_text?: string | null;
15009
15521
  updated_at?: string;
15522
+ warnings?: string[] | null;
15010
15523
  };
15011
15524
  Relationships: [
15012
15525
  {
@@ -15080,6 +15593,51 @@ export type Database = {
15080
15593
  };
15081
15594
  Relationships: [];
15082
15595
  };
15596
+ mailbox_test_cases: {
15597
+ Row: {
15598
+ body_text: string;
15599
+ created_at: string;
15600
+ expected: Json;
15601
+ from_email: string;
15602
+ has_attachment: boolean;
15603
+ id: string;
15604
+ last_result: Json | null;
15605
+ last_run_at: string | null;
15606
+ name: string;
15607
+ sort_order: number;
15608
+ subject: string;
15609
+ updated_at: string;
15610
+ };
15611
+ Insert: {
15612
+ body_text?: string;
15613
+ created_at?: string;
15614
+ expected?: Json;
15615
+ from_email?: string;
15616
+ has_attachment?: boolean;
15617
+ id?: string;
15618
+ last_result?: Json | null;
15619
+ last_run_at?: string | null;
15620
+ name: string;
15621
+ sort_order?: number;
15622
+ subject?: string;
15623
+ updated_at?: string;
15624
+ };
15625
+ Update: {
15626
+ body_text?: string;
15627
+ created_at?: string;
15628
+ expected?: Json;
15629
+ from_email?: string;
15630
+ has_attachment?: boolean;
15631
+ id?: string;
15632
+ last_result?: Json | null;
15633
+ last_run_at?: string | null;
15634
+ name?: string;
15635
+ sort_order?: number;
15636
+ subject?: string;
15637
+ updated_at?: string;
15638
+ };
15639
+ Relationships: [];
15640
+ };
15083
15641
  manufacture_product_components: {
15084
15642
  Row: {
15085
15643
  component_type: string;
@@ -15144,7 +15702,7 @@ export type Database = {
15144
15702
  name: string;
15145
15703
  produced_stock: number;
15146
15704
  product_code: string;
15147
- tenant_id: string;
15705
+ tenant_id: string | null;
15148
15706
  updated_at: string;
15149
15707
  };
15150
15708
  Insert: {
@@ -15155,7 +15713,7 @@ export type Database = {
15155
15713
  name: string;
15156
15714
  produced_stock?: number;
15157
15715
  product_code: string;
15158
- tenant_id: string;
15716
+ tenant_id?: string | null;
15159
15717
  updated_at?: string;
15160
15718
  };
15161
15719
  Update: {
@@ -15166,7 +15724,7 @@ export type Database = {
15166
15724
  name?: string;
15167
15725
  produced_stock?: number;
15168
15726
  product_code?: string;
15169
- tenant_id?: string;
15727
+ tenant_id?: string | null;
15170
15728
  updated_at?: string;
15171
15729
  };
15172
15730
  Relationships: [];
@@ -16961,6 +17519,7 @@ export type Database = {
16961
17519
  created_at: string;
16962
17520
  id: string;
16963
17521
  layers_per_cart: number | null;
17522
+ needs_sticker: boolean;
16964
17523
  order_id: string;
16965
17524
  packing_locked_at: string | null;
16966
17525
  packing_locked_by: string | null;
@@ -16980,6 +17539,7 @@ export type Database = {
16980
17539
  created_at?: string;
16981
17540
  id?: string;
16982
17541
  layers_per_cart?: number | null;
17542
+ needs_sticker?: boolean;
16983
17543
  order_id: string;
16984
17544
  packing_locked_at?: string | null;
16985
17545
  packing_locked_by?: string | null;
@@ -16999,6 +17559,7 @@ export type Database = {
16999
17559
  created_at?: string;
17000
17560
  id?: string;
17001
17561
  layers_per_cart?: number | null;
17562
+ needs_sticker?: boolean;
17002
17563
  order_id?: string;
17003
17564
  packing_locked_at?: string | null;
17004
17565
  packing_locked_by?: string | null;
@@ -20455,7 +21016,7 @@ export type Database = {
20455
21016
  parent_trade_item_floriday_id: string | null;
20456
21017
  quantity: number;
20457
21018
  sort_order: number;
20458
- tenant_id: string;
21019
+ tenant_id: string | null;
20459
21020
  unit: string;
20460
21021
  updated_at: string;
20461
21022
  };
@@ -20468,7 +21029,7 @@ export type Database = {
20468
21029
  parent_trade_item_floriday_id?: string | null;
20469
21030
  quantity?: number;
20470
21031
  sort_order?: number;
20471
- tenant_id: string;
21032
+ tenant_id?: string | null;
20472
21033
  unit?: string;
20473
21034
  updated_at?: string;
20474
21035
  };
@@ -20481,7 +21042,7 @@ export type Database = {
20481
21042
  parent_trade_item_floriday_id?: string | null;
20482
21043
  quantity?: number;
20483
21044
  sort_order?: number;
20484
- tenant_id?: string;
21045
+ tenant_id?: string | null;
20485
21046
  unit?: string;
20486
21047
  updated_at?: string;
20487
21048
  };
@@ -20514,7 +21075,7 @@ export type Database = {
20514
21075
  parent_trade_item_floriday_id: string | null;
20515
21076
  quantity: number;
20516
21077
  sort_order: number;
20517
- tenant_id: string;
21078
+ tenant_id: string | null;
20518
21079
  unit: string;
20519
21080
  updated_at: string;
20520
21081
  };
@@ -20529,7 +21090,7 @@ export type Database = {
20529
21090
  parent_trade_item_floriday_id?: string | null;
20530
21091
  quantity?: number;
20531
21092
  sort_order?: number;
20532
- tenant_id: string;
21093
+ tenant_id?: string | null;
20533
21094
  unit?: string;
20534
21095
  updated_at?: string;
20535
21096
  };
@@ -20544,7 +21105,7 @@ export type Database = {
20544
21105
  parent_trade_item_floriday_id?: string | null;
20545
21106
  quantity?: number;
20546
21107
  sort_order?: number;
20547
- tenant_id?: string;
21108
+ tenant_id?: string | null;
20548
21109
  unit?: string;
20549
21110
  updated_at?: string;
20550
21111
  };
@@ -20724,7 +21285,7 @@ export type Database = {
20724
21285
  id: string;
20725
21286
  is_active: boolean;
20726
21287
  name: string;
20727
- tenant_id: string;
21288
+ tenant_id: string | null;
20728
21289
  updated_at: string;
20729
21290
  };
20730
21291
  Insert: {
@@ -20735,7 +21296,7 @@ export type Database = {
20735
21296
  id?: string;
20736
21297
  is_active?: boolean;
20737
21298
  name: string;
20738
- tenant_id: string;
21299
+ tenant_id?: string | null;
20739
21300
  updated_at?: string;
20740
21301
  };
20741
21302
  Update: {
@@ -20746,7 +21307,7 @@ export type Database = {
20746
21307
  id?: string;
20747
21308
  is_active?: boolean;
20748
21309
  name?: string;
20749
- tenant_id?: string;
21310
+ tenant_id?: string | null;
20750
21311
  updated_at?: string;
20751
21312
  };
20752
21313
  Relationships: [
@@ -20781,7 +21342,7 @@ export type Database = {
20781
21342
  packages_per_layer: number | null;
20782
21343
  packing_configuration_id: string;
20783
21344
  product_id: string | null;
20784
- tenant_id: string;
21345
+ tenant_id: string | null;
20785
21346
  trade_item_floriday_id: string | null;
20786
21347
  units_per_package: number | null;
20787
21348
  updated_at: string;
@@ -20800,7 +21361,7 @@ export type Database = {
20800
21361
  packages_per_layer?: number | null;
20801
21362
  packing_configuration_id?: string;
20802
21363
  product_id?: string | null;
20803
- tenant_id: string;
21364
+ tenant_id?: string | null;
20804
21365
  trade_item_floriday_id?: string | null;
20805
21366
  units_per_package?: number | null;
20806
21367
  updated_at?: string;
@@ -20819,7 +21380,7 @@ export type Database = {
20819
21380
  packages_per_layer?: number | null;
20820
21381
  packing_configuration_id?: string;
20821
21382
  product_id?: string | null;
20822
- tenant_id?: string;
21383
+ tenant_id?: string | null;
20823
21384
  trade_item_floriday_id?: string | null;
20824
21385
  units_per_package?: number | null;
20825
21386
  updated_at?: string;
@@ -20999,6 +21560,69 @@ export type Database = {
20999
21560
  }
21000
21561
  ];
21001
21562
  };
21563
+ productontwerp_import_map: {
21564
+ Row: {
21565
+ created_at: string;
21566
+ entity_type: string;
21567
+ id: string;
21568
+ imported_at: string;
21569
+ match_method: string | null;
21570
+ source_id: string;
21571
+ source_shell_id: string;
21572
+ target_id: string;
21573
+ updated_at: string;
21574
+ };
21575
+ Insert: {
21576
+ created_at?: string;
21577
+ entity_type: string;
21578
+ id?: string;
21579
+ imported_at?: string;
21580
+ match_method?: string | null;
21581
+ source_id: string;
21582
+ source_shell_id: string;
21583
+ target_id: string;
21584
+ updated_at?: string;
21585
+ };
21586
+ Update: {
21587
+ created_at?: string;
21588
+ entity_type?: string;
21589
+ id?: string;
21590
+ imported_at?: string;
21591
+ match_method?: string | null;
21592
+ source_id?: string;
21593
+ source_shell_id?: string;
21594
+ target_id?: string;
21595
+ updated_at?: string;
21596
+ };
21597
+ Relationships: [];
21598
+ };
21599
+ productontwerp_structure_codes: {
21600
+ Row: {
21601
+ code: string;
21602
+ created_at: string;
21603
+ entity_id: string;
21604
+ entity_type: string;
21605
+ id: string;
21606
+ updated_at: string;
21607
+ };
21608
+ Insert: {
21609
+ code: string;
21610
+ created_at?: string;
21611
+ entity_id: string;
21612
+ entity_type: string;
21613
+ id?: string;
21614
+ updated_at?: string;
21615
+ };
21616
+ Update: {
21617
+ code?: string;
21618
+ created_at?: string;
21619
+ entity_id?: string;
21620
+ entity_type?: string;
21621
+ id?: string;
21622
+ updated_at?: string;
21623
+ };
21624
+ Relationships: [];
21625
+ };
21002
21626
  products: {
21003
21627
  Row: {
21004
21628
  article_number: string | null;
@@ -24019,6 +24643,10 @@ export type Database = {
24019
24643
  superseded_at: string | null;
24020
24644
  updated_at: string;
24021
24645
  user_id: string;
24646
+ write_enabled: boolean;
24647
+ write_enabled_at: string | null;
24648
+ write_enabled_by: string | null;
24649
+ write_enabled_reason: string | null;
24022
24650
  };
24023
24651
  Insert: {
24024
24652
  account_key?: string | null;
@@ -24045,6 +24673,10 @@ export type Database = {
24045
24673
  superseded_at?: string | null;
24046
24674
  updated_at?: string;
24047
24675
  user_id: string;
24676
+ write_enabled?: boolean;
24677
+ write_enabled_at?: string | null;
24678
+ write_enabled_by?: string | null;
24679
+ write_enabled_reason?: string | null;
24048
24680
  };
24049
24681
  Update: {
24050
24682
  account_key?: string | null;
@@ -24071,6 +24703,10 @@ export type Database = {
24071
24703
  superseded_at?: string | null;
24072
24704
  updated_at?: string;
24073
24705
  user_id?: string;
24706
+ write_enabled?: boolean;
24707
+ write_enabled_at?: string | null;
24708
+ write_enabled_by?: string | null;
24709
+ write_enabled_reason?: string | null;
24074
24710
  };
24075
24711
  Relationships: [];
24076
24712
  };
@@ -24959,6 +25595,21 @@ export type Database = {
24959
25595
  };
24960
25596
  Relationships: [];
24961
25597
  };
25598
+ twinfield_schema_upgrades: {
25599
+ Row: {
25600
+ applied_at: string;
25601
+ key: string;
25602
+ };
25603
+ Insert: {
25604
+ applied_at?: string;
25605
+ key: string;
25606
+ };
25607
+ Update: {
25608
+ applied_at?: string;
25609
+ key?: string;
25610
+ };
25611
+ Relationships: [];
25612
+ };
24962
25613
  twinfield_session_cache: {
24963
25614
  Row: {
24964
25615
  cluster: string;
@@ -28856,6 +29507,10 @@ export type Database = {
28856
29507
  };
28857
29508
  Returns: string[][];
28858
29509
  };
29510
+ _layout_is_beheerder: {
29511
+ Args: never;
29512
+ Returns: boolean;
29513
+ };
28859
29514
  _migrate_rewrite_stock_key: {
28860
29515
  Args: {
28861
29516
  _from_key: string;
@@ -29071,6 +29726,26 @@ export type Database = {
29071
29726
  Args: never;
29072
29727
  Returns: Json;
29073
29728
  };
29729
+ ai_is_admin: {
29730
+ Args: {
29731
+ _uid: string;
29732
+ };
29733
+ Returns: boolean;
29734
+ };
29735
+ ai_register_consumers: {
29736
+ Args: {
29737
+ _full_list?: boolean;
29738
+ _modules: Json;
29739
+ _source?: string;
29740
+ };
29741
+ Returns: Json;
29742
+ };
29743
+ ai_register_runtime_consumer: {
29744
+ Args: {
29745
+ _module_key: string;
29746
+ };
29747
+ Returns: boolean;
29748
+ };
29074
29749
  ai_usage_by_module: {
29075
29750
  Args: {
29076
29751
  _from: string;
@@ -30183,6 +30858,18 @@ export type Database = {
30183
30858
  Args: never;
30184
30859
  Returns: undefined;
30185
30860
  };
30861
+ floriday_customer_candidates: {
30862
+ Args: never;
30863
+ Returns: {
30864
+ in_cache: boolean;
30865
+ organization_id: string;
30866
+ reason: string;
30867
+ }[];
30868
+ };
30869
+ floriday_customer_promotion_preview: {
30870
+ Args: never;
30871
+ Returns: Json;
30872
+ };
30186
30873
  floriday_default_owner: {
30187
30874
  Args: {
30188
30875
  p_connection_id: string;
@@ -30219,16 +30906,70 @@ export type Database = {
30219
30906
  source_id: string;
30220
30907
  }[];
30221
30908
  };
30909
+ floriday_eigen_organisatie: {
30910
+ Args: never;
30911
+ Returns: {
30912
+ adres: string;
30913
+ gln: string;
30914
+ land: string;
30915
+ naam: string;
30916
+ opgehaald_op: string;
30917
+ organisatie_id: string;
30918
+ plaats: string;
30919
+ postcode: string;
30920
+ }[];
30921
+ };
30922
+ floriday_erp_leading_preview: {
30923
+ Args: {
30924
+ p_connection_id: string;
30925
+ p_product_ids: string[];
30926
+ p_stock_mode?: string;
30927
+ };
30928
+ Returns: {
30929
+ blocker: string;
30930
+ desired_available: boolean;
30931
+ desired_quantity: number;
30932
+ horizon_weeks: number;
30933
+ offer_forms: Json;
30934
+ product_id: string;
30935
+ product_name: string;
30936
+ sale_price: number;
30937
+ stock_mode: string;
30938
+ trade_item_id: string;
30939
+ weeks: Json;
30940
+ }[];
30941
+ };
30222
30942
  floriday_fill_publish_horizon: {
30223
30943
  Args: never;
30224
30944
  Returns: number;
30225
30945
  };
30946
+ floriday_follow_apply: {
30947
+ Args: {
30948
+ p_connection_id: string;
30949
+ p_items: Json;
30950
+ };
30951
+ Returns: Json;
30952
+ };
30226
30953
  floriday_ingest_sales_orders: {
30227
30954
  Args: {
30228
30955
  p_limit?: number;
30229
30956
  };
30230
30957
  Returns: number;
30231
30958
  };
30959
+ floriday_leading_summary: {
30960
+ Args: {
30961
+ p_connection_id: string;
30962
+ };
30963
+ Returns: Json;
30964
+ };
30965
+ floriday_make_erp_leading: {
30966
+ Args: {
30967
+ p_connection_id: string;
30968
+ p_product_ids: string[];
30969
+ p_stock_mode?: string;
30970
+ };
30971
+ Returns: Json;
30972
+ };
30232
30973
  floriday_network_status: {
30233
30974
  Args: {
30234
30975
  p_organization_id: string;
@@ -30240,6 +30981,12 @@ export type Database = {
30240
30981
  synced_at: string;
30241
30982
  }[];
30242
30983
  };
30984
+ floriday_norm_offer_forms: {
30985
+ Args: {
30986
+ p: Json;
30987
+ };
30988
+ Returns: Json;
30989
+ };
30243
30990
  floriday_orphan_settings_count: {
30244
30991
  Args: never;
30245
30992
  Returns: number;
@@ -30268,10 +31015,34 @@ export type Database = {
30268
31015
  };
30269
31016
  Returns: number;
30270
31017
  };
31018
+ floriday_takeover_apply: {
31019
+ Args: {
31020
+ p_connection_id: string;
31021
+ p_items: Json;
31022
+ };
31023
+ Returns: Json;
31024
+ };
31025
+ floriday_takeover_fetch_state: {
31026
+ Args: {
31027
+ p_connection_id: string;
31028
+ p_entity?: string;
31029
+ };
31030
+ Returns: string;
31031
+ };
31032
+ floriday_takeover_undo: {
31033
+ Args: {
31034
+ p_run_id: string;
31035
+ };
31036
+ Returns: Json;
31037
+ };
30271
31038
  floriday_today_announce_summary: {
30272
31039
  Args: never;
30273
31040
  Returns: Json;
30274
31041
  };
31042
+ floriday_write_mode: {
31043
+ Args: never;
31044
+ Returns: Json;
31045
+ };
30275
31046
  format_cart_number: {
30276
31047
  Args: {
30277
31048
  p_pick_date: string;
@@ -31130,6 +31901,29 @@ export type Database = {
31130
31901
  };
31131
31902
  Returns: boolean;
31132
31903
  };
31904
+ klanten_auto_promote_status: {
31905
+ Args: never;
31906
+ Returns: Json;
31907
+ };
31908
+ klanten_install_check: {
31909
+ Args: never;
31910
+ Returns: Json;
31911
+ };
31912
+ klanten_promote_round: {
31913
+ Args: never;
31914
+ Returns: Json;
31915
+ };
31916
+ klanten_refresh_grouped_if_stale: {
31917
+ Args: never;
31918
+ Returns: boolean;
31919
+ };
31920
+ klanten_set_auto_promote: {
31921
+ Args: {
31922
+ p_kind: string;
31923
+ p_on: boolean;
31924
+ };
31925
+ Returns: Json;
31926
+ };
31133
31927
  layout_print_document: {
31134
31928
  Args: {
31135
31929
  _documentnaam: string;
@@ -31156,6 +31950,18 @@ export type Database = {
31156
31950
  status: string;
31157
31951
  }[];
31158
31952
  };
31953
+ layout_standaard_overnemen: {
31954
+ Args: {
31955
+ _layout_id: string;
31956
+ };
31957
+ Returns: Json;
31958
+ };
31959
+ layout_versie_terugzetten: {
31960
+ Args: {
31961
+ _versie_id: string;
31962
+ };
31963
+ Returns: number;
31964
+ };
31159
31965
  layout_verwijzing_omzetten: {
31160
31966
  Args: {
31161
31967
  _nieuw: string;
@@ -31169,6 +31975,10 @@ export type Database = {
31169
31975
  Args: never;
31170
31976
  Returns: Json;
31171
31977
  };
31978
+ layout_zorg_systeemlayouts: {
31979
+ Args: never;
31980
+ Returns: number;
31981
+ };
31172
31982
  list_medewerkers: {
31173
31983
  Args: never;
31174
31984
  Returns: {
@@ -31691,6 +32501,12 @@ export type Database = {
31691
32501
  };
31692
32502
  Returns: boolean;
31693
32503
  };
32504
+ logistics_cart_has_packing_slip: {
32505
+ Args: {
32506
+ p_cart_id: string;
32507
+ };
32508
+ Returns: boolean;
32509
+ };
31694
32510
  logistics_cart_ids_frozen: {
31695
32511
  Args: {
31696
32512
  p_cart_ids: string[];
@@ -32249,6 +33065,14 @@ export type Database = {
32249
33065
  p_delivery_date: string;
32250
33066
  p_delivery_location: string;
32251
33067
  p_moment_key?: string;
33068
+ p_own_transport?: boolean;
33069
+ };
33070
+ Returns: Json;
33071
+ };
33072
+ logistics_document_for_order: {
33073
+ Args: {
33074
+ p_documenttype: string;
33075
+ p_order_id: string;
32252
33076
  };
32253
33077
  Returns: Json;
32254
33078
  };
@@ -32265,6 +33089,10 @@ export type Database = {
32265
33089
  };
32266
33090
  Returns: Json;
32267
33091
  };
33092
+ logistics_document_selection_status: {
33093
+ Args: never;
33094
+ Returns: Json;
33095
+ };
32268
33096
  logistics_document_station: {
32269
33097
  Args: {
32270
33098
  _document_code: string;
@@ -32335,6 +33163,10 @@ export type Database = {
32335
33163
  };
32336
33164
  Returns: Json;
32337
33165
  };
33166
+ logistics_ensure_runtime_defaults: {
33167
+ Args: never;
33168
+ Returns: undefined;
33169
+ };
32338
33170
  logistics_ensure_shipping_notes: {
32339
33171
  Args: {
32340
33172
  p_limit?: number;
@@ -32503,6 +33335,10 @@ export type Database = {
32503
33335
  Args: never;
32504
33336
  Returns: Json;
32505
33337
  };
33338
+ logistics_floriday_is_read_only: {
33339
+ Args: never;
33340
+ Returns: boolean;
33341
+ };
32506
33342
  logistics_floriday_layout_id: {
32507
33343
  Args: {
32508
33344
  p_documenttype: string;
@@ -32543,6 +33379,13 @@ export type Database = {
32543
33379
  };
32544
33380
  Returns: number;
32545
33381
  };
33382
+ logistics_floriday_push_hold_read_only: {
33383
+ Args: {
33384
+ _id: string;
33385
+ _revision: number;
33386
+ };
33387
+ Returns: string;
33388
+ };
32546
33389
  logistics_floriday_queue_push: {
32547
33390
  Args: {
32548
33391
  _order_ref: string;
@@ -32551,6 +33394,10 @@ export type Database = {
32551
33394
  };
32552
33395
  Returns: string;
32553
33396
  };
33397
+ logistics_floriday_release_read_only: {
33398
+ Args: never;
33399
+ Returns: Json;
33400
+ };
32554
33401
  logistics_floriday_status_updates_enabled: {
32555
33402
  Args: never;
32556
33403
  Returns: boolean;
@@ -32702,6 +33549,12 @@ export type Database = {
32702
33549
  };
32703
33550
  Returns: string;
32704
33551
  };
33552
+ logistics_nl_date: {
33553
+ Args: {
33554
+ p_day: string;
33555
+ };
33556
+ Returns: string;
33557
+ };
32705
33558
  logistics_nl_moment: {
32706
33559
  Args: {
32707
33560
  p_at: string;
@@ -32914,6 +33767,12 @@ export type Database = {
32914
33767
  };
32915
33768
  Returns: boolean;
32916
33769
  };
33770
+ logistics_order_is_shipped_status: {
33771
+ Args: {
33772
+ p_status: string;
33773
+ };
33774
+ Returns: boolean;
33775
+ };
32917
33776
  logistics_order_is_topick: {
32918
33777
  Args: {
32919
33778
  p_order_id: string;
@@ -33052,6 +33911,28 @@ export type Database = {
33052
33911
  Args: never;
33053
33912
  Returns: Json;
33054
33913
  };
33914
+ logistics_own_sticker_count: {
33915
+ Args: {
33916
+ p_ppc_product: number;
33917
+ p_ppc_regel: number;
33918
+ p_quantity: number;
33919
+ p_unit: string;
33920
+ };
33921
+ Returns: number;
33922
+ };
33923
+ logistics_own_sticker_sync: {
33924
+ Args: {
33925
+ p_limit?: number;
33926
+ };
33927
+ Returns: Json;
33928
+ };
33929
+ logistics_own_transport_departure: {
33930
+ Args: {
33931
+ p_delivery_date: string;
33932
+ p_pickup_at: string;
33933
+ };
33934
+ Returns: Json;
33935
+ };
33055
33936
  logistics_packing_autofix: {
33056
33937
  Args: {
33057
33938
  p_limit?: number;
@@ -33597,6 +34478,12 @@ export type Database = {
33597
34478
  };
33598
34479
  Returns: Json;
33599
34480
  };
34481
+ logistics_register_tick_apikey: {
34482
+ Args: {
34483
+ p_key: string;
34484
+ };
34485
+ Returns: Json;
34486
+ };
33600
34487
  logistics_replan_all: {
33601
34488
  Args: {
33602
34489
  p_reason?: string;
@@ -33868,6 +34755,10 @@ export type Database = {
33868
34755
  peer_order_id: string;
33869
34756
  }[];
33870
34757
  };
34758
+ logistics_shell_base_url: {
34759
+ Args: never;
34760
+ Returns: string;
34761
+ };
33871
34762
  logistics_shift_to_workday: {
33872
34763
  Args: {
33873
34764
  p_days: string[];
@@ -33947,6 +34838,12 @@ export type Database = {
33947
34838
  };
33948
34839
  Returns: boolean;
33949
34840
  };
34841
+ logistics_slip_is_herprint: {
34842
+ Args: {
34843
+ p_slip_job_id: string;
34844
+ };
34845
+ Returns: boolean;
34846
+ };
33950
34847
  logistics_slip_note_claim: {
33951
34848
  Args: {
33952
34849
  _lease_seconds?: number;
@@ -34020,6 +34917,12 @@ export type Database = {
34020
34917
  };
34021
34918
  Returns: undefined;
34022
34919
  };
34920
+ logistics_slip_note_hold_read_only: {
34921
+ Args: {
34922
+ _id: string;
34923
+ };
34924
+ Returns: undefined;
34925
+ };
34023
34926
  logistics_slip_note_keep_waiting: {
34024
34927
  Args: {
34025
34928
  _class?: string;
@@ -34038,6 +34941,12 @@ export type Database = {
34038
34941
  };
34039
34942
  Returns: Json;
34040
34943
  };
34944
+ logistics_slip_note_skip_herprint: {
34945
+ Args: {
34946
+ _id: string;
34947
+ };
34948
+ Returns: undefined;
34949
+ };
34041
34950
  logistics_status_after_shipping: {
34042
34951
  Args: {
34043
34952
  p_status: string;
@@ -34152,6 +35061,12 @@ export type Database = {
34152
35061
  Args: never;
34153
35062
  Returns: Json;
34154
35063
  };
35064
+ logistics_sync_stock_alert_email_status: {
35065
+ Args: {
35066
+ p_limit?: number;
35067
+ };
35068
+ Returns: Json;
35069
+ };
34155
35070
  logistics_sync_task_carriers: {
34156
35071
  Args: {
34157
35072
  p_order_ref?: string;
@@ -34440,6 +35355,12 @@ export type Database = {
34440
35355
  };
34441
35356
  Returns: boolean;
34442
35357
  };
35358
+ logistics_verkoop_order_link: {
35359
+ Args: {
35360
+ p_order_id: string;
35361
+ };
35362
+ Returns: string;
35363
+ };
34443
35364
  logistics_working_hours_status: {
34444
35365
  Args: never;
34445
35366
  Returns: Json;
@@ -34456,6 +35377,14 @@ export type Database = {
34456
35377
  };
34457
35378
  Returns: number;
34458
35379
  };
35380
+ mailbox_claim_analysis: {
35381
+ Args: {
35382
+ p_force?: boolean;
35383
+ p_message_id: string;
35384
+ p_trigger?: string;
35385
+ };
35386
+ Returns: Json;
35387
+ };
34459
35388
  mark_offer_clicked: {
34460
35389
  Args: {
34461
35390
  p_code: string;
@@ -35383,6 +36312,13 @@ export type Database = {
35383
36312
  };
35384
36313
  Returns: Json;
35385
36314
  };
36315
+ pickstation_document_for_order: {
36316
+ Args: {
36317
+ p_queue_item_id: string;
36318
+ p_slug: string;
36319
+ };
36320
+ Returns: Json;
36321
+ };
35386
36322
  pickstation_get_orders_raw: {
35387
36323
  Args: never;
35388
36324
  Returns: Json;
@@ -35786,6 +36722,60 @@ export type Database = {
35786
36722
  };
35787
36723
  Returns: string;
35788
36724
  };
36725
+ productontwerp_can_write: {
36726
+ Args: never;
36727
+ Returns: boolean;
36728
+ };
36729
+ productontwerp_create_missing_products: {
36730
+ Args: {
36731
+ p_items: Json;
36732
+ p_run_id: string;
36733
+ };
36734
+ Returns: Json;
36735
+ };
36736
+ productontwerp_export: {
36737
+ Args: never;
36738
+ Returns: Json;
36739
+ };
36740
+ productontwerp_import: {
36741
+ Args: {
36742
+ p_dry_run: boolean;
36743
+ p_payload: Json;
36744
+ };
36745
+ Returns: Json;
36746
+ };
36747
+ productontwerp_nl_error: {
36748
+ Args: {
36749
+ p_detail: string;
36750
+ p_msg: string;
36751
+ p_state: string;
36752
+ };
36753
+ Returns: string;
36754
+ };
36755
+ productontwerp_product_ref: {
36756
+ Args: {
36757
+ p_id: string;
36758
+ };
36759
+ Returns: Json;
36760
+ };
36761
+ productontwerp_queue_count: {
36762
+ Args: never;
36763
+ Returns: number;
36764
+ };
36765
+ productontwerp_rollback_created_products: {
36766
+ Args: {
36767
+ p_run_id: string;
36768
+ };
36769
+ Returns: Json;
36770
+ };
36771
+ productontwerp_unique_group_name: {
36772
+ Args: {
36773
+ p_article: string;
36774
+ p_base: string;
36775
+ p_used: string[];
36776
+ };
36777
+ Returns: string;
36778
+ };
35789
36779
  promote_floriday_customer: {
35790
36780
  Args: {
35791
36781
  _org_id: string;
@@ -36137,6 +37127,10 @@ export type Database = {
36137
37127
  Args: never;
36138
37128
  Returns: undefined;
36139
37129
  };
37130
+ run_floriday_follow: {
37131
+ Args: never;
37132
+ Returns: undefined;
37133
+ };
36140
37134
  run_floriday_stock_queue_process: {
36141
37135
  Args: never;
36142
37136
  Returns: undefined;
@@ -36515,6 +37509,13 @@ export type Database = {
36515
37509
  };
36516
37510
  Returns: number;
36517
37511
  };
37512
+ schedule_floriday_customer_offers_sync: {
37513
+ Args: {
37514
+ p_apikey: string;
37515
+ p_url: string;
37516
+ };
37517
+ Returns: number;
37518
+ };
36518
37519
  schedule_floriday_customer_organizations_sync: {
36519
37520
  Args: {
36520
37521
  p_apikey: string;
@@ -36977,6 +37978,12 @@ export type Database = {
36977
37978
  };
36978
37979
  Returns: boolean;
36979
37980
  };
37981
+ twinfield_cancel_queue_item: {
37982
+ Args: {
37983
+ p_id: string;
37984
+ };
37985
+ Returns: boolean;
37986
+ };
36980
37987
  twinfield_connection_offices: {
36981
37988
  Args: never;
36982
37989
  Returns: {
@@ -37006,6 +38013,19 @@ export type Database = {
37006
38013
  };
37007
38014
  Returns: Json;
37008
38015
  };
38016
+ twinfield_gated_queue: {
38017
+ Args: {
38018
+ p_connection_id: string;
38019
+ };
38020
+ Returns: {
38021
+ action: string;
38022
+ created_at: string;
38023
+ customer_id: string;
38024
+ id: string;
38025
+ payload: Json;
38026
+ status: string;
38027
+ }[];
38028
+ };
37009
38029
  twinfield_handle_administration_change: {
37010
38030
  Args: {
37011
38031
  _administration_code: string;
@@ -37013,6 +38033,10 @@ export type Database = {
37013
38033
  };
37014
38034
  Returns: undefined;
37015
38035
  };
38036
+ twinfield_is_admin: {
38037
+ Args: never;
38038
+ Returns: boolean;
38039
+ };
37016
38040
  twinfield_prune_push_queue: {
37017
38041
  Args: never;
37018
38042
  Returns: number;
@@ -37024,6 +38048,13 @@ export type Database = {
37024
38048
  };
37025
38049
  Returns: Json;
37026
38050
  };
38051
+ twinfield_set_write_enabled: {
38052
+ Args: {
38053
+ p_connection_id: string;
38054
+ p_enabled: boolean;
38055
+ };
38056
+ Returns: Json;
38057
+ };
37027
38058
  twinfield_sync_apply: {
37028
38059
  Args: {
37029
38060
  _base: Json;
@@ -37060,6 +38091,12 @@ export type Database = {
37060
38091
  };
37061
38092
  Returns: Json;
37062
38093
  };
38094
+ twinfield_write_allowed: {
38095
+ Args: {
38096
+ p_connection_id: string;
38097
+ };
38098
+ Returns: boolean;
38099
+ };
37063
38100
  upsert_auto_fulfillment_log: {
37064
38101
  Args: {
37065
38102
  p_connection_id: string;
@@ -37574,6 +38611,24 @@ export type Database = {
37574
38611
  };
37575
38612
  Returns: number;
37576
38613
  };
38614
+ verkoop_create_order: {
38615
+ Args: {
38616
+ p_accept_late_signup?: boolean;
38617
+ p_accepted_by?: string;
38618
+ p_carrier_id: string;
38619
+ p_customer_id: string;
38620
+ p_customer_reference?: string;
38621
+ p_delivery_date: string;
38622
+ p_delivery_location_id: string;
38623
+ p_lines: Json;
38624
+ p_moment_key?: string;
38625
+ p_notes?: string;
38626
+ p_own_transport?: boolean;
38627
+ p_source: string;
38628
+ p_source_id: string;
38629
+ };
38630
+ Returns: Json;
38631
+ };
37577
38632
  vervang_printer: {
37578
38633
  Args: {
37579
38634
  _nieuw: string;
@@ -37587,6 +38642,15 @@ export type Database = {
37587
38642
  };
37588
38643
  Returns: Json;
37589
38644
  };
38645
+ voorraad_alert_floriday_not_updated: {
38646
+ Args: {
38647
+ p_key: string;
38648
+ p_order_id: string;
38649
+ p_order_item_id: string;
38650
+ p_qty: number;
38651
+ };
38652
+ Returns: undefined;
38653
+ };
37590
38654
  voorraad_can_write: {
37591
38655
  Args: never;
37592
38656
  Returns: boolean;
@@ -37609,6 +38673,12 @@ export type Database = {
37609
38673
  };
37610
38674
  Returns: string[];
37611
38675
  };
38676
+ voorraad_floriday_leads_key: {
38677
+ Args: {
38678
+ p_key: string;
38679
+ };
38680
+ Returns: boolean;
38681
+ };
37612
38682
  voorraad_hook_base_url: {
37613
38683
  Args: never;
37614
38684
  Returns: string;
@@ -37626,10 +38696,23 @@ export type Database = {
37626
38696
  };
37627
38697
  Returns: undefined;
37628
38698
  };
38699
+ voorraad_mark_floriday_sold_before_switch: {
38700
+ Args: {
38701
+ p_product_id: string;
38702
+ };
38703
+ Returns: number;
38704
+ };
37629
38705
  voorraad_production_enabled: {
37630
38706
  Args: never;
37631
38707
  Returns: boolean;
37632
38708
  };
38709
+ voorraad_schema_ddl: {
38710
+ Args: {
38711
+ p_functions: string[];
38712
+ p_tables: string[];
38713
+ };
38714
+ Returns: string;
38715
+ };
37633
38716
  voorraad_week_is_past: {
37634
38717
  Args: {
37635
38718
  p_week: number;