@flowselections/pick-schermen-kwekers 1.0.53 → 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;
@@ -5979,33 +6041,42 @@ export type Database = {
5979
6041
  };
5980
6042
  floricode_sync_state: {
5981
6043
  Row: {
6044
+ completed_at: string | null;
5982
6045
  cursor_skip: number;
5983
6046
  error_message: string | null;
5984
6047
  last_change_date_time: string | null;
5985
6048
  last_sequence_number: number;
5986
6049
  last_sync_at: string | null;
6050
+ pending_change_date_time: string | null;
5987
6051
  resource: string;
5988
6052
  status: string;
6053
+ total_count: number | null;
5989
6054
  updated_at: string;
5990
6055
  };
5991
6056
  Insert: {
6057
+ completed_at?: string | null;
5992
6058
  cursor_skip?: number;
5993
6059
  error_message?: string | null;
5994
6060
  last_change_date_time?: string | null;
5995
6061
  last_sequence_number?: number;
5996
6062
  last_sync_at?: string | null;
6063
+ pending_change_date_time?: string | null;
5997
6064
  resource: string;
5998
6065
  status?: string;
6066
+ total_count?: number | null;
5999
6067
  updated_at?: string;
6000
6068
  };
6001
6069
  Update: {
6070
+ completed_at?: string | null;
6002
6071
  cursor_skip?: number;
6003
6072
  error_message?: string | null;
6004
6073
  last_change_date_time?: string | null;
6005
6074
  last_sequence_number?: number;
6006
6075
  last_sync_at?: string | null;
6076
+ pending_change_date_time?: string | null;
6007
6077
  resource?: string;
6008
6078
  status?: string;
6079
+ total_count?: number | null;
6009
6080
  updated_at?: string;
6010
6081
  };
6011
6082
  Relationships: [];
@@ -6757,9 +6828,16 @@ export type Database = {
6757
6828
  id: string;
6758
6829
  is_active: boolean;
6759
6830
  label: string;
6831
+ organization_fetched_at: string | null;
6832
+ organization_id: string | null;
6833
+ organization_mailing_address: Json | null;
6760
6834
  organization_name: string | null;
6835
+ organization_physical_address: Json | null;
6761
6836
  preferred_warehouse_id: string | null;
6762
6837
  preferred_warehouse_name: string | null;
6838
+ read_only: boolean;
6839
+ read_only_changed_at: string | null;
6840
+ read_only_changed_by: string | null;
6763
6841
  token_expires_at: string | null;
6764
6842
  updated_at: string;
6765
6843
  };
@@ -6772,9 +6850,16 @@ export type Database = {
6772
6850
  id?: string;
6773
6851
  is_active?: boolean;
6774
6852
  label?: string;
6853
+ organization_fetched_at?: string | null;
6854
+ organization_id?: string | null;
6855
+ organization_mailing_address?: Json | null;
6775
6856
  organization_name?: string | null;
6857
+ organization_physical_address?: Json | null;
6776
6858
  preferred_warehouse_id?: string | null;
6777
6859
  preferred_warehouse_name?: string | null;
6860
+ read_only?: boolean;
6861
+ read_only_changed_at?: string | null;
6862
+ read_only_changed_by?: string | null;
6778
6863
  token_expires_at?: string | null;
6779
6864
  updated_at?: string;
6780
6865
  };
@@ -6787,9 +6872,16 @@ export type Database = {
6787
6872
  id?: string;
6788
6873
  is_active?: boolean;
6789
6874
  label?: string;
6875
+ organization_fetched_at?: string | null;
6876
+ organization_id?: string | null;
6877
+ organization_mailing_address?: Json | null;
6790
6878
  organization_name?: string | null;
6879
+ organization_physical_address?: Json | null;
6791
6880
  preferred_warehouse_id?: string | null;
6792
6881
  preferred_warehouse_name?: string | null;
6882
+ read_only?: boolean;
6883
+ read_only_changed_at?: string | null;
6884
+ read_only_changed_by?: string | null;
6793
6885
  token_expires_at?: string | null;
6794
6886
  updated_at?: string;
6795
6887
  };
@@ -7047,6 +7139,44 @@ export type Database = {
7047
7139
  }
7048
7140
  ];
7049
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
+ };
7050
7180
  floriday_customer_sticker_pdfs_cache: {
7051
7181
  Row: {
7052
7182
  byte_size: number | null;
@@ -7604,8 +7734,14 @@ export type Database = {
7604
7734
  created_at: string;
7605
7735
  desired_availability: boolean;
7606
7736
  desired_quantity: number;
7737
+ erp_leading: boolean | null;
7738
+ erp_leading_at: string | null;
7739
+ first_positive_published_at: string | null;
7607
7740
  fixed_quantity: number | null;
7741
+ floriday_offer_forms: Json | null;
7608
7742
  floriday_trade_item_id: string | null;
7743
+ follow_floriday_at: string | null;
7744
+ follow_floriday_result: string | null;
7609
7745
  id: string;
7610
7746
  last_confirmed_at: string | null;
7611
7747
  last_enqueued_at: string | null;
@@ -7636,8 +7772,14 @@ export type Database = {
7636
7772
  created_at?: string;
7637
7773
  desired_availability?: boolean;
7638
7774
  desired_quantity?: number;
7775
+ erp_leading?: boolean | null;
7776
+ erp_leading_at?: string | null;
7777
+ first_positive_published_at?: string | null;
7639
7778
  fixed_quantity?: number | null;
7779
+ floriday_offer_forms?: Json | null;
7640
7780
  floriday_trade_item_id?: string | null;
7781
+ follow_floriday_at?: string | null;
7782
+ follow_floriday_result?: string | null;
7641
7783
  id?: string;
7642
7784
  last_confirmed_at?: string | null;
7643
7785
  last_enqueued_at?: string | null;
@@ -7668,8 +7810,14 @@ export type Database = {
7668
7810
  created_at?: string;
7669
7811
  desired_availability?: boolean;
7670
7812
  desired_quantity?: number;
7813
+ erp_leading?: boolean | null;
7814
+ erp_leading_at?: string | null;
7815
+ first_positive_published_at?: string | null;
7671
7816
  fixed_quantity?: number | null;
7817
+ floriday_offer_forms?: Json | null;
7672
7818
  floriday_trade_item_id?: string | null;
7819
+ follow_floriday_at?: string | null;
7820
+ follow_floriday_result?: string | null;
7673
7821
  id?: string;
7674
7822
  last_confirmed_at?: string | null;
7675
7823
  last_enqueued_at?: string | null;
@@ -8487,33 +8635,45 @@ export type Database = {
8487
8635
  };
8488
8636
  floriday_sync_state: {
8489
8637
  Row: {
8638
+ backfill_done_at: string | null;
8639
+ backfill_started_at: string | null;
8640
+ backfill_target_sequence: number | null;
8490
8641
  connection_id: string;
8491
8642
  entity_type: string;
8492
8643
  last_error: string | null;
8493
8644
  last_items_processed: number | null;
8494
8645
  last_max_sequence_seen: number | null;
8646
+ last_rate_limited_at: string | null;
8495
8647
  last_sequence_number: number;
8496
8648
  last_success_at: string | null;
8497
8649
  last_synced_at: string | null;
8498
8650
  updated_at: string;
8499
8651
  };
8500
8652
  Insert: {
8653
+ backfill_done_at?: string | null;
8654
+ backfill_started_at?: string | null;
8655
+ backfill_target_sequence?: number | null;
8501
8656
  connection_id: string;
8502
8657
  entity_type: string;
8503
8658
  last_error?: string | null;
8504
8659
  last_items_processed?: number | null;
8505
8660
  last_max_sequence_seen?: number | null;
8661
+ last_rate_limited_at?: string | null;
8506
8662
  last_sequence_number?: number;
8507
8663
  last_success_at?: string | null;
8508
8664
  last_synced_at?: string | null;
8509
8665
  updated_at?: string;
8510
8666
  };
8511
8667
  Update: {
8668
+ backfill_done_at?: string | null;
8669
+ backfill_started_at?: string | null;
8670
+ backfill_target_sequence?: number | null;
8512
8671
  connection_id?: string;
8513
8672
  entity_type?: string;
8514
8673
  last_error?: string | null;
8515
8674
  last_items_processed?: number | null;
8516
8675
  last_max_sequence_seen?: number | null;
8676
+ last_rate_limited_at?: string | null;
8517
8677
  last_sequence_number?: number;
8518
8678
  last_success_at?: string | null;
8519
8679
  last_synced_at?: string | null;
@@ -8529,6 +8689,116 @@ export type Database = {
8529
8689
  }
8530
8690
  ];
8531
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
+ };
8532
8802
  floriday_token_refresh_log: {
8533
8803
  Row: {
8534
8804
  attempted_at: string;
@@ -11174,6 +11444,36 @@ export type Database = {
11174
11444
  };
11175
11445
  Relationships: [];
11176
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
+ };
11177
11477
  layout_logos: {
11178
11478
  Row: {
11179
11479
  bestand_url: string;
@@ -11231,6 +11531,51 @@ export type Database = {
11231
11531
  };
11232
11532
  Relationships: [];
11233
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
+ };
11234
11579
  leave_requests: {
11235
11580
  Row: {
11236
11581
  cancellation_requested_at: string | null;
@@ -12421,6 +12766,39 @@ export type Database = {
12421
12766
  };
12422
12767
  Relationships: [];
12423
12768
  };
12769
+ logistics_external_fulfillment: {
12770
+ Row: {
12771
+ applied_at: string;
12772
+ created_at: string;
12773
+ event_id: string | null;
12774
+ full_fulfilled: boolean;
12775
+ order_id: string;
12776
+ reason: string;
12777
+ sales_order_ids: string[];
12778
+ updated_at: string;
12779
+ };
12780
+ Insert: {
12781
+ applied_at?: string;
12782
+ created_at?: string;
12783
+ event_id?: string | null;
12784
+ full_fulfilled?: boolean;
12785
+ order_id: string;
12786
+ reason?: string;
12787
+ sales_order_ids?: string[];
12788
+ updated_at?: string;
12789
+ };
12790
+ Update: {
12791
+ applied_at?: string;
12792
+ created_at?: string;
12793
+ event_id?: string | null;
12794
+ full_fulfilled?: boolean;
12795
+ order_id?: string;
12796
+ reason?: string;
12797
+ sales_order_ids?: string[];
12798
+ updated_at?: string;
12799
+ };
12800
+ Relationships: [];
12801
+ };
12424
12802
  logistics_floriday_carrier_map: {
12425
12803
  Row: {
12426
12804
  carrier_code: string;
@@ -13810,6 +14188,7 @@ export type Database = {
13810
14188
  bron_id: string;
13811
14189
  cart_id: string | null;
13812
14190
  created_at: string;
14191
+ eigen_sticker_id: string | null;
13813
14192
  fulfillment_order_id: string | null;
13814
14193
  handled_at: string | null;
13815
14194
  handled_error: string | null;
@@ -13836,6 +14215,7 @@ export type Database = {
13836
14215
  bron_id: string;
13837
14216
  cart_id?: string | null;
13838
14217
  created_at?: string;
14218
+ eigen_sticker_id?: string | null;
13839
14219
  fulfillment_order_id?: string | null;
13840
14220
  handled_at?: string | null;
13841
14221
  handled_error?: string | null;
@@ -13862,6 +14242,7 @@ export type Database = {
13862
14242
  bron_id?: string;
13863
14243
  cart_id?: string | null;
13864
14244
  created_at?: string;
14245
+ eigen_sticker_id?: string | null;
13865
14246
  fulfillment_order_id?: string | null;
13866
14247
  handled_at?: string | null;
13867
14248
  handled_error?: string | null;
@@ -14583,6 +14964,45 @@ export type Database = {
14583
14964
  };
14584
14965
  Relationships: [];
14585
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
+ };
14586
15006
  mailbox_ai_settings: {
14587
15007
  Row: {
14588
15008
  active_goal_key: string | null;
@@ -14616,6 +15036,78 @@ export type Database = {
14616
15036
  };
14617
15037
  Relationships: [];
14618
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
+ };
14619
15111
  mailbox_ingest_runs: {
14620
15112
  Row: {
14621
15113
  connection_id: string | null;
@@ -14654,6 +15146,10 @@ export type Database = {
14654
15146
  };
14655
15147
  mailbox_messages: {
14656
15148
  Row: {
15149
+ analysis_count: number;
15150
+ analysis_note: string | null;
15151
+ analysis_started_at: string | null;
15152
+ analysis_state: string | null;
14657
15153
  attachments: Json;
14658
15154
  body_html: string | null;
14659
15155
  body_text: string | null;
@@ -14662,6 +15158,8 @@ export type Database = {
14662
15158
  created_at: string;
14663
15159
  error_message: string | null;
14664
15160
  external_id: string | null;
15161
+ filter_outcome: string | null;
15162
+ filter_reason: string | null;
14665
15163
  from_email: string | null;
14666
15164
  from_name: string | null;
14667
15165
  has_attachments: boolean;
@@ -14678,6 +15176,10 @@ export type Database = {
14678
15176
  updated_at: string;
14679
15177
  };
14680
15178
  Insert: {
15179
+ analysis_count?: number;
15180
+ analysis_note?: string | null;
15181
+ analysis_started_at?: string | null;
15182
+ analysis_state?: string | null;
14681
15183
  attachments?: Json;
14682
15184
  body_html?: string | null;
14683
15185
  body_text?: string | null;
@@ -14686,6 +15188,8 @@ export type Database = {
14686
15188
  created_at?: string;
14687
15189
  error_message?: string | null;
14688
15190
  external_id?: string | null;
15191
+ filter_outcome?: string | null;
15192
+ filter_reason?: string | null;
14689
15193
  from_email?: string | null;
14690
15194
  from_name?: string | null;
14691
15195
  has_attachments?: boolean;
@@ -14702,6 +15206,10 @@ export type Database = {
14702
15206
  updated_at?: string;
14703
15207
  };
14704
15208
  Update: {
15209
+ analysis_count?: number;
15210
+ analysis_note?: string | null;
15211
+ analysis_started_at?: string | null;
15212
+ analysis_state?: string | null;
14705
15213
  attachments?: Json;
14706
15214
  body_html?: string | null;
14707
15215
  body_text?: string | null;
@@ -14710,6 +15218,8 @@ export type Database = {
14710
15218
  created_at?: string;
14711
15219
  error_message?: string | null;
14712
15220
  external_id?: string | null;
15221
+ filter_outcome?: string | null;
15222
+ filter_reason?: string | null;
14713
15223
  from_email?: string | null;
14714
15224
  from_name?: string | null;
14715
15225
  has_attachments?: boolean;
@@ -14756,6 +15266,7 @@ export type Database = {
14756
15266
  confidence: number | null;
14757
15267
  created_at: string;
14758
15268
  created_order_id: string | null;
15269
+ customer_reference: string | null;
14759
15270
  delivery_date: string | null;
14760
15271
  id: string;
14761
15272
  matched_customer_id: string | null;
@@ -14774,6 +15285,7 @@ export type Database = {
14774
15285
  confidence?: number | null;
14775
15286
  created_at?: string;
14776
15287
  created_order_id?: string | null;
15288
+ customer_reference?: string | null;
14777
15289
  delivery_date?: string | null;
14778
15290
  id?: string;
14779
15291
  matched_customer_id?: string | null;
@@ -14792,6 +15304,7 @@ export type Database = {
14792
15304
  confidence?: number | null;
14793
15305
  created_at?: string;
14794
15306
  created_order_id?: string | null;
15307
+ customer_reference?: string | null;
14795
15308
  delivery_date?: string | null;
14796
15309
  id?: string;
14797
15310
  matched_customer_id?: string | null;
@@ -14928,43 +15441,85 @@ export type Database = {
14928
15441
  };
14929
15442
  mailbox_proposal_lines: {
14930
15443
  Row: {
15444
+ belading: Json | null;
15445
+ confidence: Json | null;
14931
15446
  created_at: string;
15447
+ currency: string | null;
14932
15448
  id: string;
14933
15449
  match_confidence: number | null;
15450
+ match_source: string | null;
15451
+ name_in_mail: string | null;
15452
+ pieces_per_unit: number | null;
14934
15453
  plant_type: string | null;
15454
+ plants: number | null;
15455
+ price_per: string | null;
14935
15456
  product_id: string | null;
14936
15457
  proposal_id: string;
15458
+ qty_in_mail: number | null;
14937
15459
  quantity: number | null;
15460
+ raw_code: string | null;
14938
15461
  raw_product_text: string | null;
14939
15462
  sort_order: number;
14940
15463
  unit: string | null;
15464
+ unit_kind: string | null;
15465
+ unit_price: number | null;
15466
+ unit_text: string | null;
14941
15467
  updated_at: string;
15468
+ warnings: string[] | null;
14942
15469
  };
14943
15470
  Insert: {
15471
+ belading?: Json | null;
15472
+ confidence?: Json | null;
14944
15473
  created_at?: string;
15474
+ currency?: string | null;
14945
15475
  id?: string;
14946
15476
  match_confidence?: number | null;
15477
+ match_source?: string | null;
15478
+ name_in_mail?: string | null;
15479
+ pieces_per_unit?: number | null;
14947
15480
  plant_type?: string | null;
15481
+ plants?: number | null;
15482
+ price_per?: string | null;
14948
15483
  product_id?: string | null;
14949
15484
  proposal_id: string;
15485
+ qty_in_mail?: number | null;
14950
15486
  quantity?: number | null;
15487
+ raw_code?: string | null;
14951
15488
  raw_product_text?: string | null;
14952
15489
  sort_order?: number;
14953
15490
  unit?: string | null;
15491
+ unit_kind?: string | null;
15492
+ unit_price?: number | null;
15493
+ unit_text?: string | null;
14954
15494
  updated_at?: string;
15495
+ warnings?: string[] | null;
14955
15496
  };
14956
15497
  Update: {
15498
+ belading?: Json | null;
15499
+ confidence?: Json | null;
14957
15500
  created_at?: string;
15501
+ currency?: string | null;
14958
15502
  id?: string;
14959
15503
  match_confidence?: number | null;
15504
+ match_source?: string | null;
15505
+ name_in_mail?: string | null;
15506
+ pieces_per_unit?: number | null;
14960
15507
  plant_type?: string | null;
15508
+ plants?: number | null;
15509
+ price_per?: string | null;
14961
15510
  product_id?: string | null;
14962
15511
  proposal_id?: string;
15512
+ qty_in_mail?: number | null;
14963
15513
  quantity?: number | null;
15514
+ raw_code?: string | null;
14964
15515
  raw_product_text?: string | null;
14965
15516
  sort_order?: number;
14966
15517
  unit?: string | null;
15518
+ unit_kind?: string | null;
15519
+ unit_price?: number | null;
15520
+ unit_text?: string | null;
14967
15521
  updated_at?: string;
15522
+ warnings?: string[] | null;
14968
15523
  };
14969
15524
  Relationships: [
14970
15525
  {
@@ -15038,6 +15593,51 @@ export type Database = {
15038
15593
  };
15039
15594
  Relationships: [];
15040
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
+ };
15041
15641
  manufacture_product_components: {
15042
15642
  Row: {
15043
15643
  component_type: string;
@@ -15102,7 +15702,7 @@ export type Database = {
15102
15702
  name: string;
15103
15703
  produced_stock: number;
15104
15704
  product_code: string;
15105
- tenant_id: string;
15705
+ tenant_id: string | null;
15106
15706
  updated_at: string;
15107
15707
  };
15108
15708
  Insert: {
@@ -15113,7 +15713,7 @@ export type Database = {
15113
15713
  name: string;
15114
15714
  produced_stock?: number;
15115
15715
  product_code: string;
15116
- tenant_id: string;
15716
+ tenant_id?: string | null;
15117
15717
  updated_at?: string;
15118
15718
  };
15119
15719
  Update: {
@@ -15124,7 +15724,7 @@ export type Database = {
15124
15724
  name?: string;
15125
15725
  produced_stock?: number;
15126
15726
  product_code?: string;
15127
- tenant_id?: string;
15727
+ tenant_id?: string | null;
15128
15728
  updated_at?: string;
15129
15729
  };
15130
15730
  Relationships: [];
@@ -16160,10 +16760,12 @@ export type Database = {
16160
16760
  id: string;
16161
16761
  items: Json;
16162
16762
  notes: string | null;
16763
+ order_creation_attempts: number;
16163
16764
  order_creation_error: string | null;
16164
16765
  order_creation_failed_at: string | null;
16165
16766
  order_id: string | null;
16166
16767
  order_number: string | null;
16768
+ order_retry_payload: Json | null;
16167
16769
  recipient_id: string;
16168
16770
  total_amount: number;
16169
16771
  };
@@ -16177,10 +16779,12 @@ export type Database = {
16177
16779
  id?: string;
16178
16780
  items?: Json;
16179
16781
  notes?: string | null;
16782
+ order_creation_attempts?: number;
16180
16783
  order_creation_error?: string | null;
16181
16784
  order_creation_failed_at?: string | null;
16182
16785
  order_id?: string | null;
16183
16786
  order_number?: string | null;
16787
+ order_retry_payload?: Json | null;
16184
16788
  recipient_id: string;
16185
16789
  total_amount?: number;
16186
16790
  };
@@ -16194,10 +16798,12 @@ export type Database = {
16194
16798
  id?: string;
16195
16799
  items?: Json;
16196
16800
  notes?: string | null;
16801
+ order_creation_attempts?: number;
16197
16802
  order_creation_error?: string | null;
16198
16803
  order_creation_failed_at?: string | null;
16199
16804
  order_id?: string | null;
16200
16805
  order_number?: string | null;
16806
+ order_retry_payload?: Json | null;
16201
16807
  recipient_id?: string;
16202
16808
  total_amount?: number;
16203
16809
  };
@@ -16913,6 +17519,7 @@ export type Database = {
16913
17519
  created_at: string;
16914
17520
  id: string;
16915
17521
  layers_per_cart: number | null;
17522
+ needs_sticker: boolean;
16916
17523
  order_id: string;
16917
17524
  packing_locked_at: string | null;
16918
17525
  packing_locked_by: string | null;
@@ -16932,6 +17539,7 @@ export type Database = {
16932
17539
  created_at?: string;
16933
17540
  id?: string;
16934
17541
  layers_per_cart?: number | null;
17542
+ needs_sticker?: boolean;
16935
17543
  order_id: string;
16936
17544
  packing_locked_at?: string | null;
16937
17545
  packing_locked_by?: string | null;
@@ -16951,6 +17559,7 @@ export type Database = {
16951
17559
  created_at?: string;
16952
17560
  id?: string;
16953
17561
  layers_per_cart?: number | null;
17562
+ needs_sticker?: boolean;
16954
17563
  order_id?: string;
16955
17564
  packing_locked_at?: string | null;
16956
17565
  packing_locked_by?: string | null;
@@ -20407,7 +21016,7 @@ export type Database = {
20407
21016
  parent_trade_item_floriday_id: string | null;
20408
21017
  quantity: number;
20409
21018
  sort_order: number;
20410
- tenant_id: string;
21019
+ tenant_id: string | null;
20411
21020
  unit: string;
20412
21021
  updated_at: string;
20413
21022
  };
@@ -20420,7 +21029,7 @@ export type Database = {
20420
21029
  parent_trade_item_floriday_id?: string | null;
20421
21030
  quantity?: number;
20422
21031
  sort_order?: number;
20423
- tenant_id: string;
21032
+ tenant_id?: string | null;
20424
21033
  unit?: string;
20425
21034
  updated_at?: string;
20426
21035
  };
@@ -20433,7 +21042,7 @@ export type Database = {
20433
21042
  parent_trade_item_floriday_id?: string | null;
20434
21043
  quantity?: number;
20435
21044
  sort_order?: number;
20436
- tenant_id?: string;
21045
+ tenant_id?: string | null;
20437
21046
  unit?: string;
20438
21047
  updated_at?: string;
20439
21048
  };
@@ -20466,7 +21075,7 @@ export type Database = {
20466
21075
  parent_trade_item_floriday_id: string | null;
20467
21076
  quantity: number;
20468
21077
  sort_order: number;
20469
- tenant_id: string;
21078
+ tenant_id: string | null;
20470
21079
  unit: string;
20471
21080
  updated_at: string;
20472
21081
  };
@@ -20481,7 +21090,7 @@ export type Database = {
20481
21090
  parent_trade_item_floriday_id?: string | null;
20482
21091
  quantity?: number;
20483
21092
  sort_order?: number;
20484
- tenant_id: string;
21093
+ tenant_id?: string | null;
20485
21094
  unit?: string;
20486
21095
  updated_at?: string;
20487
21096
  };
@@ -20496,7 +21105,7 @@ export type Database = {
20496
21105
  parent_trade_item_floriday_id?: string | null;
20497
21106
  quantity?: number;
20498
21107
  sort_order?: number;
20499
- tenant_id?: string;
21108
+ tenant_id?: string | null;
20500
21109
  unit?: string;
20501
21110
  updated_at?: string;
20502
21111
  };
@@ -20676,7 +21285,7 @@ export type Database = {
20676
21285
  id: string;
20677
21286
  is_active: boolean;
20678
21287
  name: string;
20679
- tenant_id: string;
21288
+ tenant_id: string | null;
20680
21289
  updated_at: string;
20681
21290
  };
20682
21291
  Insert: {
@@ -20687,7 +21296,7 @@ export type Database = {
20687
21296
  id?: string;
20688
21297
  is_active?: boolean;
20689
21298
  name: string;
20690
- tenant_id: string;
21299
+ tenant_id?: string | null;
20691
21300
  updated_at?: string;
20692
21301
  };
20693
21302
  Update: {
@@ -20698,7 +21307,7 @@ export type Database = {
20698
21307
  id?: string;
20699
21308
  is_active?: boolean;
20700
21309
  name?: string;
20701
- tenant_id?: string;
21310
+ tenant_id?: string | null;
20702
21311
  updated_at?: string;
20703
21312
  };
20704
21313
  Relationships: [
@@ -20733,7 +21342,7 @@ export type Database = {
20733
21342
  packages_per_layer: number | null;
20734
21343
  packing_configuration_id: string;
20735
21344
  product_id: string | null;
20736
- tenant_id: string;
21345
+ tenant_id: string | null;
20737
21346
  trade_item_floriday_id: string | null;
20738
21347
  units_per_package: number | null;
20739
21348
  updated_at: string;
@@ -20752,7 +21361,7 @@ export type Database = {
20752
21361
  packages_per_layer?: number | null;
20753
21362
  packing_configuration_id?: string;
20754
21363
  product_id?: string | null;
20755
- tenant_id: string;
21364
+ tenant_id?: string | null;
20756
21365
  trade_item_floriday_id?: string | null;
20757
21366
  units_per_package?: number | null;
20758
21367
  updated_at?: string;
@@ -20771,7 +21380,7 @@ export type Database = {
20771
21380
  packages_per_layer?: number | null;
20772
21381
  packing_configuration_id?: string;
20773
21382
  product_id?: string | null;
20774
- tenant_id?: string;
21383
+ tenant_id?: string | null;
20775
21384
  trade_item_floriday_id?: string | null;
20776
21385
  units_per_package?: number | null;
20777
21386
  updated_at?: string;
@@ -20951,6 +21560,69 @@ export type Database = {
20951
21560
  }
20952
21561
  ];
20953
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
+ };
20954
21626
  products: {
20955
21627
  Row: {
20956
21628
  article_number: string | null;
@@ -23971,6 +24643,10 @@ export type Database = {
23971
24643
  superseded_at: string | null;
23972
24644
  updated_at: string;
23973
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;
23974
24650
  };
23975
24651
  Insert: {
23976
24652
  account_key?: string | null;
@@ -23997,6 +24673,10 @@ export type Database = {
23997
24673
  superseded_at?: string | null;
23998
24674
  updated_at?: string;
23999
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;
24000
24680
  };
24001
24681
  Update: {
24002
24682
  account_key?: string | null;
@@ -24023,6 +24703,10 @@ export type Database = {
24023
24703
  superseded_at?: string | null;
24024
24704
  updated_at?: string;
24025
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;
24026
24710
  };
24027
24711
  Relationships: [];
24028
24712
  };
@@ -24911,6 +25595,21 @@ export type Database = {
24911
25595
  };
24912
25596
  Relationships: [];
24913
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
+ };
24914
25613
  twinfield_session_cache: {
24915
25614
  Row: {
24916
25615
  cluster: string;
@@ -28777,6 +29476,10 @@ export type Database = {
28777
29476
  };
28778
29477
  };
28779
29478
  Functions: {
29479
+ _arm_offer_order_retry: {
29480
+ Args: never;
29481
+ Returns: undefined;
29482
+ };
28780
29483
  _floriday_queue_cleanup_batch: {
28781
29484
  Args: {
28782
29485
  p_days: number;
@@ -28804,6 +29507,10 @@ export type Database = {
28804
29507
  };
28805
29508
  Returns: string[][];
28806
29509
  };
29510
+ _layout_is_beheerder: {
29511
+ Args: never;
29512
+ Returns: boolean;
29513
+ };
28807
29514
  _migrate_rewrite_stock_key: {
28808
29515
  Args: {
28809
29516
  _from_key: string;
@@ -28836,6 +29543,13 @@ export type Database = {
28836
29543
  };
28837
29544
  Returns: Json;
28838
29545
  };
29546
+ _scan_kar_floriday_afgehandeld: {
29547
+ Args: {
29548
+ p_cart_id: string;
29549
+ p_order_id?: string;
29550
+ };
29551
+ Returns: Json;
29552
+ };
28839
29553
  _scan_kar_pakbon_geprint: {
28840
29554
  Args: {
28841
29555
  p_cart_id: string;
@@ -28895,6 +29609,12 @@ export type Database = {
28895
29609
  };
28896
29610
  Returns: string;
28897
29611
  };
29612
+ afh_order_floriday_afgehandeld: {
29613
+ Args: {
29614
+ p_order_id: string;
29615
+ };
29616
+ Returns: boolean;
29617
+ };
28898
29618
  afh_pick_workdays: {
28899
29619
  Args: {
28900
29620
  p_from: string;
@@ -28937,6 +29657,14 @@ export type Database = {
28937
29657
  };
28938
29658
  Returns: Json;
28939
29659
  };
29660
+ afh_signup_groups_wacht: {
29661
+ Args: {
29662
+ p_from: string;
29663
+ p_to: string;
29664
+ p_tz: string;
29665
+ };
29666
+ Returns: Json;
29667
+ };
28940
29668
  afh_signup_mail: {
28941
29669
  Args: {
28942
29670
  g: Json;
@@ -28953,6 +29681,14 @@ export type Database = {
28953
29681
  };
28954
29682
  Returns: Json;
28955
29683
  };
29684
+ afh_signup_mail_wacht: {
29685
+ Args: {
29686
+ g: Json;
29687
+ p_prev: number;
29688
+ p_tz: string;
29689
+ };
29690
+ Returns: Json;
29691
+ };
28956
29692
  afh_signup_send_group: {
28957
29693
  Args: {
28958
29694
  g: Json;
@@ -28990,6 +29726,26 @@ export type Database = {
28990
29726
  Args: never;
28991
29727
  Returns: Json;
28992
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
+ };
28993
29749
  ai_usage_by_module: {
28994
29750
  Args: {
28995
29751
  _from: string;
@@ -30055,6 +30811,30 @@ export type Database = {
30055
30811
  };
30056
30812
  Returns: boolean;
30057
30813
  };
30814
+ floricode_sync_cron_schedule: {
30815
+ Args: {
30816
+ p_apikey: string;
30817
+ p_schedule: string;
30818
+ p_url: string;
30819
+ };
30820
+ Returns: number;
30821
+ };
30822
+ floricode_sync_cron_set_schedule: {
30823
+ Args: {
30824
+ p_schedule: string;
30825
+ };
30826
+ Returns: boolean;
30827
+ };
30828
+ floricode_sync_cron_status: {
30829
+ Args: never;
30830
+ Returns: {
30831
+ active: boolean;
30832
+ last_run_at: string;
30833
+ last_run_status: string;
30834
+ schedule: string;
30835
+ scheduled: boolean;
30836
+ }[];
30837
+ };
30058
30838
  floriday_adopt_connection: {
30059
30839
  Args: {
30060
30840
  p_new: string;
@@ -30078,6 +30858,18 @@ export type Database = {
30078
30858
  Args: never;
30079
30859
  Returns: undefined;
30080
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
+ };
30081
30873
  floriday_default_owner: {
30082
30874
  Args: {
30083
30875
  p_connection_id: string;
@@ -30114,16 +30906,70 @@ export type Database = {
30114
30906
  source_id: string;
30115
30907
  }[];
30116
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
+ };
30117
30942
  floriday_fill_publish_horizon: {
30118
30943
  Args: never;
30119
30944
  Returns: number;
30120
30945
  };
30946
+ floriday_follow_apply: {
30947
+ Args: {
30948
+ p_connection_id: string;
30949
+ p_items: Json;
30950
+ };
30951
+ Returns: Json;
30952
+ };
30121
30953
  floriday_ingest_sales_orders: {
30122
30954
  Args: {
30123
30955
  p_limit?: number;
30124
30956
  };
30125
30957
  Returns: number;
30126
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
+ };
30127
30973
  floriday_network_status: {
30128
30974
  Args: {
30129
30975
  p_organization_id: string;
@@ -30135,6 +30981,12 @@ export type Database = {
30135
30981
  synced_at: string;
30136
30982
  }[];
30137
30983
  };
30984
+ floriday_norm_offer_forms: {
30985
+ Args: {
30986
+ p: Json;
30987
+ };
30988
+ Returns: Json;
30989
+ };
30138
30990
  floriday_orphan_settings_count: {
30139
30991
  Args: never;
30140
30992
  Returns: number;
@@ -30163,10 +31015,34 @@ export type Database = {
30163
31015
  };
30164
31016
  Returns: number;
30165
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
+ };
30166
31038
  floriday_today_announce_summary: {
30167
31039
  Args: never;
30168
31040
  Returns: Json;
30169
31041
  };
31042
+ floriday_write_mode: {
31043
+ Args: never;
31044
+ Returns: Json;
31045
+ };
30170
31046
  format_cart_number: {
30171
31047
  Args: {
30172
31048
  p_pick_date: string;
@@ -31025,6 +31901,29 @@ export type Database = {
31025
31901
  };
31026
31902
  Returns: boolean;
31027
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
+ };
31028
31927
  layout_print_document: {
31029
31928
  Args: {
31030
31929
  _documentnaam: string;
@@ -31051,6 +31950,18 @@ export type Database = {
31051
31950
  status: string;
31052
31951
  }[];
31053
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
+ };
31054
31965
  layout_verwijzing_omzetten: {
31055
31966
  Args: {
31056
31967
  _nieuw: string;
@@ -31064,6 +31975,10 @@ export type Database = {
31064
31975
  Args: never;
31065
31976
  Returns: Json;
31066
31977
  };
31978
+ layout_zorg_systeemlayouts: {
31979
+ Args: never;
31980
+ Returns: number;
31981
+ };
31067
31982
  list_medewerkers: {
31068
31983
  Args: never;
31069
31984
  Returns: {
@@ -31155,6 +32070,14 @@ export type Database = {
31155
32070
  };
31156
32071
  Returns: string;
31157
32072
  };
32073
+ log_offer_event_by_code: {
32074
+ Args: {
32075
+ p_code: string;
32076
+ p_event_type: string;
32077
+ p_metadata?: Json;
32078
+ };
32079
+ Returns: boolean;
32080
+ };
31158
32081
  logistics_active_layout_method: {
31159
32082
  Args: never;
31160
32083
  Returns: string;
@@ -31217,6 +32140,12 @@ export type Database = {
31217
32140
  Args: never;
31218
32141
  Returns: undefined;
31219
32142
  };
32143
+ logistics_apply_external_fulfillment: {
32144
+ Args: {
32145
+ p_event_id: string;
32146
+ };
32147
+ Returns: string;
32148
+ };
31220
32149
  logistics_apply_order_buffer: {
31221
32150
  Args: {
31222
32151
  p_order_id: string;
@@ -31572,6 +32501,12 @@ export type Database = {
31572
32501
  };
31573
32502
  Returns: boolean;
31574
32503
  };
32504
+ logistics_cart_has_packing_slip: {
32505
+ Args: {
32506
+ p_cart_id: string;
32507
+ };
32508
+ Returns: boolean;
32509
+ };
31575
32510
  logistics_cart_ids_frozen: {
31576
32511
  Args: {
31577
32512
  p_cart_ids: string[];
@@ -32130,6 +33065,14 @@ export type Database = {
32130
33065
  p_delivery_date: string;
32131
33066
  p_delivery_location: string;
32132
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;
32133
33076
  };
32134
33077
  Returns: Json;
32135
33078
  };
@@ -32146,6 +33089,10 @@ export type Database = {
32146
33089
  };
32147
33090
  Returns: Json;
32148
33091
  };
33092
+ logistics_document_selection_status: {
33093
+ Args: never;
33094
+ Returns: Json;
33095
+ };
32149
33096
  logistics_document_station: {
32150
33097
  Args: {
32151
33098
  _document_code: string;
@@ -32216,6 +33163,10 @@ export type Database = {
32216
33163
  };
32217
33164
  Returns: Json;
32218
33165
  };
33166
+ logistics_ensure_runtime_defaults: {
33167
+ Args: never;
33168
+ Returns: undefined;
33169
+ };
32219
33170
  logistics_ensure_shipping_notes: {
32220
33171
  Args: {
32221
33172
  p_limit?: number;
@@ -32236,6 +33187,17 @@ export type Database = {
32236
33187
  ref: string;
32237
33188
  }[];
32238
33189
  };
33190
+ logistics_external_fulfillment_key_report: {
33191
+ Args: never;
33192
+ Returns: {
33193
+ ander_nummer: number;
33194
+ floriday_sales_order_id: string;
33195
+ order_id: string;
33196
+ order_number: string;
33197
+ regels: number;
33198
+ zonder_nummer: number;
33199
+ }[];
33200
+ };
32239
33201
  logistics_fail_task: {
32240
33202
  Args: {
32241
33203
  p_error: string;
@@ -32373,6 +33335,10 @@ export type Database = {
32373
33335
  Args: never;
32374
33336
  Returns: Json;
32375
33337
  };
33338
+ logistics_floriday_is_read_only: {
33339
+ Args: never;
33340
+ Returns: boolean;
33341
+ };
32376
33342
  logistics_floriday_layout_id: {
32377
33343
  Args: {
32378
33344
  p_documenttype: string;
@@ -32413,6 +33379,13 @@ export type Database = {
32413
33379
  };
32414
33380
  Returns: number;
32415
33381
  };
33382
+ logistics_floriday_push_hold_read_only: {
33383
+ Args: {
33384
+ _id: string;
33385
+ _revision: number;
33386
+ };
33387
+ Returns: string;
33388
+ };
32416
33389
  logistics_floriday_queue_push: {
32417
33390
  Args: {
32418
33391
  _order_ref: string;
@@ -32421,6 +33394,10 @@ export type Database = {
32421
33394
  };
32422
33395
  Returns: string;
32423
33396
  };
33397
+ logistics_floriday_release_read_only: {
33398
+ Args: never;
33399
+ Returns: Json;
33400
+ };
32424
33401
  logistics_floriday_status_updates_enabled: {
32425
33402
  Args: never;
32426
33403
  Returns: boolean;
@@ -32484,6 +33461,13 @@ export type Database = {
32484
33461
  };
32485
33462
  Returns: boolean;
32486
33463
  };
33464
+ logistics_item_external_fulfilled: {
33465
+ Args: {
33466
+ p_order_id: string;
33467
+ p_source_line_key: string;
33468
+ };
33469
+ Returns: boolean;
33470
+ };
32487
33471
  logistics_key_product: {
32488
33472
  Args: {
32489
33473
  p_key: string;
@@ -32565,6 +33549,12 @@ export type Database = {
32565
33549
  };
32566
33550
  Returns: string;
32567
33551
  };
33552
+ logistics_nl_date: {
33553
+ Args: {
33554
+ p_day: string;
33555
+ };
33556
+ Returns: string;
33557
+ };
32568
33558
  logistics_nl_moment: {
32569
33559
  Args: {
32570
33560
  p_at: string;
@@ -32691,6 +33681,12 @@ export type Database = {
32691
33681
  };
32692
33682
  Returns: boolean;
32693
33683
  };
33684
+ logistics_order_external_state: {
33685
+ Args: {
33686
+ p_order_id: string;
33687
+ };
33688
+ Returns: Json;
33689
+ };
32694
33690
  logistics_order_finalize_enqueue: {
32695
33691
  Args: {
32696
33692
  p_order_id: string;
@@ -32771,6 +33767,12 @@ export type Database = {
32771
33767
  };
32772
33768
  Returns: boolean;
32773
33769
  };
33770
+ logistics_order_is_shipped_status: {
33771
+ Args: {
33772
+ p_status: string;
33773
+ };
33774
+ Returns: boolean;
33775
+ };
32774
33776
  logistics_order_is_topick: {
32775
33777
  Args: {
32776
33778
  p_order_id: string;
@@ -32883,6 +33885,12 @@ export type Database = {
32883
33885
  state: string;
32884
33886
  }[];
32885
33887
  };
33888
+ logistics_order_plan_coverage_v165: {
33889
+ Args: {
33890
+ p_order_id: string;
33891
+ };
33892
+ Returns: Json;
33893
+ };
32886
33894
  logistics_order_released: {
32887
33895
  Args: {
32888
33896
  p_order_ref: string;
@@ -32903,6 +33911,28 @@ export type Database = {
32903
33911
  Args: never;
32904
33912
  Returns: Json;
32905
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
+ };
32906
33936
  logistics_packing_autofix: {
32907
33937
  Args: {
32908
33938
  p_limit?: number;
@@ -33448,6 +34478,12 @@ export type Database = {
33448
34478
  };
33449
34479
  Returns: Json;
33450
34480
  };
34481
+ logistics_register_tick_apikey: {
34482
+ Args: {
34483
+ p_key: string;
34484
+ };
34485
+ Returns: Json;
34486
+ };
33451
34487
  logistics_replan_all: {
33452
34488
  Args: {
33453
34489
  p_reason?: string;
@@ -33654,6 +34690,13 @@ export type Database = {
33654
34690
  };
33655
34691
  Returns: Json;
33656
34692
  };
34693
+ logistics_sales_order_external_fulfilled: {
34694
+ Args: {
34695
+ p_order_id: string;
34696
+ p_sales_order_id: string;
34697
+ };
34698
+ Returns: boolean;
34699
+ };
33657
34700
  logistics_scan_delays: {
33658
34701
  Args: never;
33659
34702
  Returns: number;
@@ -33712,6 +34755,10 @@ export type Database = {
33712
34755
  peer_order_id: string;
33713
34756
  }[];
33714
34757
  };
34758
+ logistics_shell_base_url: {
34759
+ Args: never;
34760
+ Returns: string;
34761
+ };
33715
34762
  logistics_shift_to_workday: {
33716
34763
  Args: {
33717
34764
  p_days: string[];
@@ -33791,6 +34838,12 @@ export type Database = {
33791
34838
  };
33792
34839
  Returns: boolean;
33793
34840
  };
34841
+ logistics_slip_is_herprint: {
34842
+ Args: {
34843
+ p_slip_job_id: string;
34844
+ };
34845
+ Returns: boolean;
34846
+ };
33794
34847
  logistics_slip_note_claim: {
33795
34848
  Args: {
33796
34849
  _lease_seconds?: number;
@@ -33864,6 +34917,12 @@ export type Database = {
33864
34917
  };
33865
34918
  Returns: undefined;
33866
34919
  };
34920
+ logistics_slip_note_hold_read_only: {
34921
+ Args: {
34922
+ _id: string;
34923
+ };
34924
+ Returns: undefined;
34925
+ };
33867
34926
  logistics_slip_note_keep_waiting: {
33868
34927
  Args: {
33869
34928
  _class?: string;
@@ -33882,6 +34941,12 @@ export type Database = {
33882
34941
  };
33883
34942
  Returns: Json;
33884
34943
  };
34944
+ logistics_slip_note_skip_herprint: {
34945
+ Args: {
34946
+ _id: string;
34947
+ };
34948
+ Returns: undefined;
34949
+ };
33885
34950
  logistics_status_after_shipping: {
33886
34951
  Args: {
33887
34952
  p_status: string;
@@ -33913,6 +34978,12 @@ export type Database = {
33913
34978
  pieces: number;
33914
34979
  }[];
33915
34980
  };
34981
+ logistics_sticker_external_fulfilled: {
34982
+ Args: {
34983
+ p_sticker_print_id: string;
34984
+ };
34985
+ Returns: boolean;
34986
+ };
33916
34987
  logistics_sticker_follows_slip: {
33917
34988
  Args: never;
33918
34989
  Returns: boolean;
@@ -33990,6 +35061,12 @@ export type Database = {
33990
35061
  Args: never;
33991
35062
  Returns: Json;
33992
35063
  };
35064
+ logistics_sync_stock_alert_email_status: {
35065
+ Args: {
35066
+ p_limit?: number;
35067
+ };
35068
+ Returns: Json;
35069
+ };
33993
35070
  logistics_sync_task_carriers: {
33994
35071
  Args: {
33995
35072
  p_order_ref?: string;
@@ -34278,6 +35355,12 @@ export type Database = {
34278
35355
  };
34279
35356
  Returns: boolean;
34280
35357
  };
35358
+ logistics_verkoop_order_link: {
35359
+ Args: {
35360
+ p_order_id: string;
35361
+ };
35362
+ Returns: string;
35363
+ };
34281
35364
  logistics_working_hours_status: {
34282
35365
  Args: never;
34283
35366
  Returns: Json;
@@ -34294,6 +35377,14 @@ export type Database = {
34294
35377
  };
34295
35378
  Returns: number;
34296
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
+ };
34297
35388
  mark_offer_clicked: {
34298
35389
  Args: {
34299
35390
  p_code: string;
@@ -35221,6 +36312,13 @@ export type Database = {
35221
36312
  };
35222
36313
  Returns: Json;
35223
36314
  };
36315
+ pickstation_document_for_order: {
36316
+ Args: {
36317
+ p_queue_item_id: string;
36318
+ p_slug: string;
36319
+ };
36320
+ Returns: Json;
36321
+ };
35224
36322
  pickstation_get_orders_raw: {
35225
36323
  Args: never;
35226
36324
  Returns: Json;
@@ -35435,6 +36533,14 @@ export type Database = {
35435
36533
  status: string;
35436
36534
  }[];
35437
36535
  };
36536
+ print_kopieen_aantal: {
36537
+ Args: {
36538
+ _kopieen: number;
36539
+ _payload: Json;
36540
+ _type: string;
36541
+ };
36542
+ Returns: number;
36543
+ };
35438
36544
  print_preview_toestaan: {
35439
36545
  Args: {
35440
36546
  _max?: number;
@@ -35616,6 +36722,60 @@ export type Database = {
35616
36722
  };
35617
36723
  Returns: string;
35618
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
+ };
35619
36779
  promote_floriday_customer: {
35620
36780
  Args: {
35621
36781
  _org_id: string;
@@ -35781,6 +36941,13 @@ export type Database = {
35781
36941
  };
35782
36942
  Returns: undefined;
35783
36943
  };
36944
+ record_offer_order_failure: {
36945
+ Args: {
36946
+ p_error: string;
36947
+ p_offer_order_id: string;
36948
+ };
36949
+ Returns: undefined;
36950
+ };
35784
36951
  refresh_external_customers_grouped: {
35785
36952
  Args: never;
35786
36953
  Returns: undefined;
@@ -35917,6 +37084,10 @@ export type Database = {
35917
37084
  };
35918
37085
  Returns: string;
35919
37086
  };
37087
+ retry_offer_orders: {
37088
+ Args: never;
37089
+ Returns: number;
37090
+ };
35920
37091
  retry_twinfield_push: {
35921
37092
  Args: {
35922
37093
  _customer_id: string;
@@ -35956,6 +37127,10 @@ export type Database = {
35956
37127
  Args: never;
35957
37128
  Returns: undefined;
35958
37129
  };
37130
+ run_floriday_follow: {
37131
+ Args: never;
37132
+ Returns: undefined;
37133
+ };
35959
37134
  run_floriday_stock_queue_process: {
35960
37135
  Args: never;
35961
37136
  Returns: undefined;
@@ -36070,6 +37245,18 @@ export type Database = {
36070
37245
  };
36071
37246
  Returns: Json;
36072
37247
  };
37248
+ scan_kar_logs: {
37249
+ Args: {
37250
+ p_cart_ids: string[];
37251
+ };
37252
+ Returns: {
37253
+ created_at: string;
37254
+ kar_id: string;
37255
+ medewerker_naam: string;
37256
+ message: string;
37257
+ result: string;
37258
+ }[];
37259
+ };
36073
37260
  scan_kar_regels: {
36074
37261
  Args: {
36075
37262
  p_cart_id: string;
@@ -36087,6 +37274,7 @@ export type Database = {
36087
37274
  scan_log_code: {
36088
37275
  Args: {
36089
37276
  p_code: string;
37277
+ p_kar_id?: string;
36090
37278
  p_latency_ms?: number;
36091
37279
  p_medewerker?: string;
36092
37280
  p_message?: string;
@@ -36321,6 +37509,13 @@ export type Database = {
36321
37509
  };
36322
37510
  Returns: number;
36323
37511
  };
37512
+ schedule_floriday_customer_offers_sync: {
37513
+ Args: {
37514
+ p_apikey: string;
37515
+ p_url: string;
37516
+ };
37517
+ Returns: number;
37518
+ };
36324
37519
  schedule_floriday_customer_organizations_sync: {
36325
37520
  Args: {
36326
37521
  p_apikey: string;
@@ -36526,6 +37721,12 @@ export type Database = {
36526
37721
  };
36527
37722
  Returns: undefined;
36528
37723
  };
37724
+ set_primary_delivery_location: {
37725
+ Args: {
37726
+ p_location_id: string;
37727
+ };
37728
+ Returns: undefined;
37729
+ };
36529
37730
  set_product_stock: {
36530
37731
  Args: {
36531
37732
  p_incoming_stock?: number;
@@ -36777,6 +37978,12 @@ export type Database = {
36777
37978
  };
36778
37979
  Returns: boolean;
36779
37980
  };
37981
+ twinfield_cancel_queue_item: {
37982
+ Args: {
37983
+ p_id: string;
37984
+ };
37985
+ Returns: boolean;
37986
+ };
36780
37987
  twinfield_connection_offices: {
36781
37988
  Args: never;
36782
37989
  Returns: {
@@ -36806,6 +38013,19 @@ export type Database = {
36806
38013
  };
36807
38014
  Returns: Json;
36808
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
+ };
36809
38029
  twinfield_handle_administration_change: {
36810
38030
  Args: {
36811
38031
  _administration_code: string;
@@ -36813,6 +38033,10 @@ export type Database = {
36813
38033
  };
36814
38034
  Returns: undefined;
36815
38035
  };
38036
+ twinfield_is_admin: {
38037
+ Args: never;
38038
+ Returns: boolean;
38039
+ };
36816
38040
  twinfield_prune_push_queue: {
36817
38041
  Args: never;
36818
38042
  Returns: number;
@@ -36824,6 +38048,13 @@ export type Database = {
36824
38048
  };
36825
38049
  Returns: Json;
36826
38050
  };
38051
+ twinfield_set_write_enabled: {
38052
+ Args: {
38053
+ p_connection_id: string;
38054
+ p_enabled: boolean;
38055
+ };
38056
+ Returns: Json;
38057
+ };
36827
38058
  twinfield_sync_apply: {
36828
38059
  Args: {
36829
38060
  _base: Json;
@@ -36860,6 +38091,12 @@ export type Database = {
36860
38091
  };
36861
38092
  Returns: Json;
36862
38093
  };
38094
+ twinfield_write_allowed: {
38095
+ Args: {
38096
+ p_connection_id: string;
38097
+ };
38098
+ Returns: boolean;
38099
+ };
36863
38100
  upsert_auto_fulfillment_log: {
36864
38101
  Args: {
36865
38102
  p_connection_id: string;
@@ -37374,6 +38611,24 @@ export type Database = {
37374
38611
  };
37375
38612
  Returns: number;
37376
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
+ };
37377
38632
  vervang_printer: {
37378
38633
  Args: {
37379
38634
  _nieuw: string;
@@ -37387,6 +38642,15 @@ export type Database = {
37387
38642
  };
37388
38643
  Returns: Json;
37389
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
+ };
37390
38654
  voorraad_can_write: {
37391
38655
  Args: never;
37392
38656
  Returns: boolean;
@@ -37395,6 +38659,26 @@ export type Database = {
37395
38659
  Args: never;
37396
38660
  Returns: Json;
37397
38661
  };
38662
+ voorraad_consume_external_fulfilled: {
38663
+ Args: {
38664
+ p_ids: string[];
38665
+ p_order_id: string;
38666
+ p_source: string;
38667
+ };
38668
+ Returns: number;
38669
+ };
38670
+ voorraad_external_fulfilled_ids: {
38671
+ Args: {
38672
+ p_cf: Json;
38673
+ };
38674
+ Returns: string[];
38675
+ };
38676
+ voorraad_floriday_leads_key: {
38677
+ Args: {
38678
+ p_key: string;
38679
+ };
38680
+ Returns: boolean;
38681
+ };
37398
38682
  voorraad_hook_base_url: {
37399
38683
  Args: never;
37400
38684
  Returns: string;
@@ -37412,10 +38696,23 @@ export type Database = {
37412
38696
  };
37413
38697
  Returns: undefined;
37414
38698
  };
38699
+ voorraad_mark_floriday_sold_before_switch: {
38700
+ Args: {
38701
+ p_product_id: string;
38702
+ };
38703
+ Returns: number;
38704
+ };
37415
38705
  voorraad_production_enabled: {
37416
38706
  Args: never;
37417
38707
  Returns: boolean;
37418
38708
  };
38709
+ voorraad_schema_ddl: {
38710
+ Args: {
38711
+ p_functions: string[];
38712
+ p_tables: string[];
38713
+ };
38714
+ Returns: string;
38715
+ };
37419
38716
  voorraad_week_is_past: {
37420
38717
  Args: {
37421
38718
  p_week: number;