@flowselections/ai-authenticatie 1.0.14 → 1.0.15

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.
@@ -2235,6 +2235,50 @@ export type Database = {
2235
2235
  }
2236
2236
  ];
2237
2237
  };
2238
+ customer_match_suggestions: {
2239
+ Row: {
2240
+ created_at: string;
2241
+ customer_id: string;
2242
+ decided_at: string | null;
2243
+ decided_by: string | null;
2244
+ floriday_organization_id: string;
2245
+ id: string;
2246
+ reason: string;
2247
+ status: string;
2248
+ updated_at: string;
2249
+ };
2250
+ Insert: {
2251
+ created_at?: string;
2252
+ customer_id: string;
2253
+ decided_at?: string | null;
2254
+ decided_by?: string | null;
2255
+ floriday_organization_id: string;
2256
+ id?: string;
2257
+ reason: string;
2258
+ status?: string;
2259
+ updated_at?: string;
2260
+ };
2261
+ Update: {
2262
+ created_at?: string;
2263
+ customer_id?: string;
2264
+ decided_at?: string | null;
2265
+ decided_by?: string | null;
2266
+ floriday_organization_id?: string;
2267
+ id?: string;
2268
+ reason?: string;
2269
+ status?: string;
2270
+ updated_at?: string;
2271
+ };
2272
+ Relationships: [
2273
+ {
2274
+ foreignKeyName: "customer_match_suggestions_customer_id_fkey";
2275
+ columns: ["customer_id"];
2276
+ isOneToOne: false;
2277
+ referencedRelation: "customers";
2278
+ referencedColumns: ["id"];
2279
+ }
2280
+ ];
2281
+ };
2238
2282
  customer_notes: {
2239
2283
  Row: {
2240
2284
  created_at: string;
@@ -3770,6 +3814,8 @@ export type Database = {
3770
3814
  orientatie: Database["public"]["Enums"]["doc_orientation"];
3771
3815
  page_settings: Json;
3772
3816
  papierformaat: string;
3817
+ standaard_sleutel: string | null;
3818
+ standaard_versie: number | null;
3773
3819
  systeem: boolean;
3774
3820
  thumbnail_url: string | null;
3775
3821
  updated_at: string;
@@ -3795,6 +3841,8 @@ export type Database = {
3795
3841
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3796
3842
  page_settings?: Json;
3797
3843
  papierformaat?: string;
3844
+ standaard_sleutel?: string | null;
3845
+ standaard_versie?: number | null;
3798
3846
  systeem?: boolean;
3799
3847
  thumbnail_url?: string | null;
3800
3848
  updated_at?: string;
@@ -3820,6 +3868,8 @@ export type Database = {
3820
3868
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3821
3869
  page_settings?: Json;
3822
3870
  papierformaat?: string;
3871
+ standaard_sleutel?: string | null;
3872
+ standaard_versie?: number | null;
3823
3873
  systeem?: boolean;
3824
3874
  thumbnail_url?: string | null;
3825
3875
  updated_at?: string;
@@ -5979,33 +6029,42 @@ export type Database = {
5979
6029
  };
5980
6030
  floricode_sync_state: {
5981
6031
  Row: {
6032
+ completed_at: string | null;
5982
6033
  cursor_skip: number;
5983
6034
  error_message: string | null;
5984
6035
  last_change_date_time: string | null;
5985
6036
  last_sequence_number: number;
5986
6037
  last_sync_at: string | null;
6038
+ pending_change_date_time: string | null;
5987
6039
  resource: string;
5988
6040
  status: string;
6041
+ total_count: number | null;
5989
6042
  updated_at: string;
5990
6043
  };
5991
6044
  Insert: {
6045
+ completed_at?: string | null;
5992
6046
  cursor_skip?: number;
5993
6047
  error_message?: string | null;
5994
6048
  last_change_date_time?: string | null;
5995
6049
  last_sequence_number?: number;
5996
6050
  last_sync_at?: string | null;
6051
+ pending_change_date_time?: string | null;
5997
6052
  resource: string;
5998
6053
  status?: string;
6054
+ total_count?: number | null;
5999
6055
  updated_at?: string;
6000
6056
  };
6001
6057
  Update: {
6058
+ completed_at?: string | null;
6002
6059
  cursor_skip?: number;
6003
6060
  error_message?: string | null;
6004
6061
  last_change_date_time?: string | null;
6005
6062
  last_sequence_number?: number;
6006
6063
  last_sync_at?: string | null;
6064
+ pending_change_date_time?: string | null;
6007
6065
  resource?: string;
6008
6066
  status?: string;
6067
+ total_count?: number | null;
6009
6068
  updated_at?: string;
6010
6069
  };
6011
6070
  Relationships: [];
@@ -6757,9 +6816,16 @@ export type Database = {
6757
6816
  id: string;
6758
6817
  is_active: boolean;
6759
6818
  label: string;
6819
+ organization_fetched_at: string | null;
6820
+ organization_id: string | null;
6821
+ organization_mailing_address: Json | null;
6760
6822
  organization_name: string | null;
6823
+ organization_physical_address: Json | null;
6761
6824
  preferred_warehouse_id: string | null;
6762
6825
  preferred_warehouse_name: string | null;
6826
+ read_only: boolean;
6827
+ read_only_changed_at: string | null;
6828
+ read_only_changed_by: string | null;
6763
6829
  token_expires_at: string | null;
6764
6830
  updated_at: string;
6765
6831
  };
@@ -6772,9 +6838,16 @@ export type Database = {
6772
6838
  id?: string;
6773
6839
  is_active?: boolean;
6774
6840
  label?: string;
6841
+ organization_fetched_at?: string | null;
6842
+ organization_id?: string | null;
6843
+ organization_mailing_address?: Json | null;
6775
6844
  organization_name?: string | null;
6845
+ organization_physical_address?: Json | null;
6776
6846
  preferred_warehouse_id?: string | null;
6777
6847
  preferred_warehouse_name?: string | null;
6848
+ read_only?: boolean;
6849
+ read_only_changed_at?: string | null;
6850
+ read_only_changed_by?: string | null;
6778
6851
  token_expires_at?: string | null;
6779
6852
  updated_at?: string;
6780
6853
  };
@@ -6787,9 +6860,16 @@ export type Database = {
6787
6860
  id?: string;
6788
6861
  is_active?: boolean;
6789
6862
  label?: string;
6863
+ organization_fetched_at?: string | null;
6864
+ organization_id?: string | null;
6865
+ organization_mailing_address?: Json | null;
6790
6866
  organization_name?: string | null;
6867
+ organization_physical_address?: Json | null;
6791
6868
  preferred_warehouse_id?: string | null;
6792
6869
  preferred_warehouse_name?: string | null;
6870
+ read_only?: boolean;
6871
+ read_only_changed_at?: string | null;
6872
+ read_only_changed_by?: string | null;
6793
6873
  token_expires_at?: string | null;
6794
6874
  updated_at?: string;
6795
6875
  };
@@ -7047,6 +7127,44 @@ export type Database = {
7047
7127
  }
7048
7128
  ];
7049
7129
  };
7130
+ floriday_customer_offers_cache: {
7131
+ Row: {
7132
+ connection_id: string;
7133
+ data: Json;
7134
+ fetched_at: string;
7135
+ floriday_id: string;
7136
+ is_deleted: boolean;
7137
+ sequence_number: number;
7138
+ updated_at: string;
7139
+ };
7140
+ Insert: {
7141
+ connection_id: string;
7142
+ data?: Json;
7143
+ fetched_at?: string;
7144
+ floriday_id: string;
7145
+ is_deleted?: boolean;
7146
+ sequence_number?: number;
7147
+ updated_at?: string;
7148
+ };
7149
+ Update: {
7150
+ connection_id?: string;
7151
+ data?: Json;
7152
+ fetched_at?: string;
7153
+ floriday_id?: string;
7154
+ is_deleted?: boolean;
7155
+ sequence_number?: number;
7156
+ updated_at?: string;
7157
+ };
7158
+ Relationships: [
7159
+ {
7160
+ foreignKeyName: "floriday_customer_offers_cache_connection_id_fkey";
7161
+ columns: ["connection_id"];
7162
+ isOneToOne: false;
7163
+ referencedRelation: "floriday_connections";
7164
+ referencedColumns: ["id"];
7165
+ }
7166
+ ];
7167
+ };
7050
7168
  floriday_customer_sticker_pdfs_cache: {
7051
7169
  Row: {
7052
7170
  byte_size: number | null;
@@ -7153,7 +7271,11 @@ export type Database = {
7153
7271
  quantity: number | null;
7154
7272
  sales_order_id: string | null;
7155
7273
  sequence_number: number;
7274
+ should_be_printed: boolean | null;
7156
7275
  status: string | null;
7276
+ sticker_height_mm: number | null;
7277
+ sticker_type: string | null;
7278
+ sticker_width_mm: number | null;
7157
7279
  trade_item_id: string | null;
7158
7280
  updated_at: string;
7159
7281
  };
@@ -7168,7 +7290,11 @@ export type Database = {
7168
7290
  quantity?: number | null;
7169
7291
  sales_order_id?: string | null;
7170
7292
  sequence_number?: number;
7293
+ should_be_printed?: boolean | null;
7171
7294
  status?: string | null;
7295
+ sticker_height_mm?: number | null;
7296
+ sticker_type?: string | null;
7297
+ sticker_width_mm?: number | null;
7172
7298
  trade_item_id?: string | null;
7173
7299
  updated_at?: string;
7174
7300
  };
@@ -7183,7 +7309,11 @@ export type Database = {
7183
7309
  quantity?: number | null;
7184
7310
  sales_order_id?: string | null;
7185
7311
  sequence_number?: number;
7312
+ should_be_printed?: boolean | null;
7186
7313
  status?: string | null;
7314
+ sticker_height_mm?: number | null;
7315
+ sticker_type?: string | null;
7316
+ sticker_width_mm?: number | null;
7187
7317
  trade_item_id?: string | null;
7188
7318
  updated_at?: string;
7189
7319
  };
@@ -7592,8 +7722,14 @@ export type Database = {
7592
7722
  created_at: string;
7593
7723
  desired_availability: boolean;
7594
7724
  desired_quantity: number;
7725
+ erp_leading: boolean | null;
7726
+ erp_leading_at: string | null;
7727
+ first_positive_published_at: string | null;
7595
7728
  fixed_quantity: number | null;
7729
+ floriday_offer_forms: Json | null;
7596
7730
  floriday_trade_item_id: string | null;
7731
+ follow_floriday_at: string | null;
7732
+ follow_floriday_result: string | null;
7597
7733
  id: string;
7598
7734
  last_confirmed_at: string | null;
7599
7735
  last_enqueued_at: string | null;
@@ -7624,8 +7760,14 @@ export type Database = {
7624
7760
  created_at?: string;
7625
7761
  desired_availability?: boolean;
7626
7762
  desired_quantity?: number;
7763
+ erp_leading?: boolean | null;
7764
+ erp_leading_at?: string | null;
7765
+ first_positive_published_at?: string | null;
7627
7766
  fixed_quantity?: number | null;
7767
+ floriday_offer_forms?: Json | null;
7628
7768
  floriday_trade_item_id?: string | null;
7769
+ follow_floriday_at?: string | null;
7770
+ follow_floriday_result?: string | null;
7629
7771
  id?: string;
7630
7772
  last_confirmed_at?: string | null;
7631
7773
  last_enqueued_at?: string | null;
@@ -7656,8 +7798,14 @@ export type Database = {
7656
7798
  created_at?: string;
7657
7799
  desired_availability?: boolean;
7658
7800
  desired_quantity?: number;
7801
+ erp_leading?: boolean | null;
7802
+ erp_leading_at?: string | null;
7803
+ first_positive_published_at?: string | null;
7659
7804
  fixed_quantity?: number | null;
7805
+ floriday_offer_forms?: Json | null;
7660
7806
  floriday_trade_item_id?: string | null;
7807
+ follow_floriday_at?: string | null;
7808
+ follow_floriday_result?: string | null;
7661
7809
  id?: string;
7662
7810
  last_confirmed_at?: string | null;
7663
7811
  last_enqueued_at?: string | null;
@@ -8475,33 +8623,45 @@ export type Database = {
8475
8623
  };
8476
8624
  floriday_sync_state: {
8477
8625
  Row: {
8626
+ backfill_done_at: string | null;
8627
+ backfill_started_at: string | null;
8628
+ backfill_target_sequence: number | null;
8478
8629
  connection_id: string;
8479
8630
  entity_type: string;
8480
8631
  last_error: string | null;
8481
8632
  last_items_processed: number | null;
8482
8633
  last_max_sequence_seen: number | null;
8634
+ last_rate_limited_at: string | null;
8483
8635
  last_sequence_number: number;
8484
8636
  last_success_at: string | null;
8485
8637
  last_synced_at: string | null;
8486
8638
  updated_at: string;
8487
8639
  };
8488
8640
  Insert: {
8641
+ backfill_done_at?: string | null;
8642
+ backfill_started_at?: string | null;
8643
+ backfill_target_sequence?: number | null;
8489
8644
  connection_id: string;
8490
8645
  entity_type: string;
8491
8646
  last_error?: string | null;
8492
8647
  last_items_processed?: number | null;
8493
8648
  last_max_sequence_seen?: number | null;
8649
+ last_rate_limited_at?: string | null;
8494
8650
  last_sequence_number?: number;
8495
8651
  last_success_at?: string | null;
8496
8652
  last_synced_at?: string | null;
8497
8653
  updated_at?: string;
8498
8654
  };
8499
8655
  Update: {
8656
+ backfill_done_at?: string | null;
8657
+ backfill_started_at?: string | null;
8658
+ backfill_target_sequence?: number | null;
8500
8659
  connection_id?: string;
8501
8660
  entity_type?: string;
8502
8661
  last_error?: string | null;
8503
8662
  last_items_processed?: number | null;
8504
8663
  last_max_sequence_seen?: number | null;
8664
+ last_rate_limited_at?: string | null;
8505
8665
  last_sequence_number?: number;
8506
8666
  last_success_at?: string | null;
8507
8667
  last_synced_at?: string | null;
@@ -8517,6 +8677,116 @@ export type Database = {
8517
8677
  }
8518
8678
  ];
8519
8679
  };
8680
+ floriday_takeover_items: {
8681
+ Row: {
8682
+ created_at: string;
8683
+ created_product: boolean;
8684
+ id: string;
8685
+ new_price: number | null;
8686
+ new_stock: number | null;
8687
+ offer_forms: Json | null;
8688
+ old_erp_leading: boolean | null;
8689
+ old_offer_forms: Json | null;
8690
+ old_price: number | null;
8691
+ old_stock: number | null;
8692
+ price_source: string | null;
8693
+ product_id: string;
8694
+ run_id: string;
8695
+ stock_source: string | null;
8696
+ trade_item_id: string;
8697
+ undo_skipped_reason: string | null;
8698
+ undone: boolean;
8699
+ };
8700
+ Insert: {
8701
+ created_at?: string;
8702
+ created_product?: boolean;
8703
+ id?: string;
8704
+ new_price?: number | null;
8705
+ new_stock?: number | null;
8706
+ offer_forms?: Json | null;
8707
+ old_erp_leading?: boolean | null;
8708
+ old_offer_forms?: Json | null;
8709
+ old_price?: number | null;
8710
+ old_stock?: number | null;
8711
+ price_source?: string | null;
8712
+ product_id: string;
8713
+ run_id: string;
8714
+ stock_source?: string | null;
8715
+ trade_item_id: string;
8716
+ undo_skipped_reason?: string | null;
8717
+ undone?: boolean;
8718
+ };
8719
+ Update: {
8720
+ created_at?: string;
8721
+ created_product?: boolean;
8722
+ id?: string;
8723
+ new_price?: number | null;
8724
+ new_stock?: number | null;
8725
+ offer_forms?: Json | null;
8726
+ old_erp_leading?: boolean | null;
8727
+ old_offer_forms?: Json | null;
8728
+ old_price?: number | null;
8729
+ old_stock?: number | null;
8730
+ price_source?: string | null;
8731
+ product_id?: string;
8732
+ run_id?: string;
8733
+ stock_source?: string | null;
8734
+ trade_item_id?: string;
8735
+ undo_skipped_reason?: string | null;
8736
+ undone?: boolean;
8737
+ };
8738
+ Relationships: [
8739
+ {
8740
+ foreignKeyName: "floriday_takeover_items_run_id_fkey";
8741
+ columns: ["run_id"];
8742
+ isOneToOne: false;
8743
+ referencedRelation: "floriday_takeover_runs";
8744
+ referencedColumns: ["id"];
8745
+ }
8746
+ ];
8747
+ };
8748
+ floriday_takeover_runs: {
8749
+ Row: {
8750
+ connection_id: string;
8751
+ created_at: string;
8752
+ created_products: number;
8753
+ id: string;
8754
+ status: string;
8755
+ total_items: number;
8756
+ undo_skipped_items: number;
8757
+ undone_at: string | null;
8758
+ undone_items: number;
8759
+ updated_at: string;
8760
+ user_id: string;
8761
+ };
8762
+ Insert: {
8763
+ connection_id: string;
8764
+ created_at?: string;
8765
+ created_products?: number;
8766
+ id?: string;
8767
+ status?: string;
8768
+ total_items?: number;
8769
+ undo_skipped_items?: number;
8770
+ undone_at?: string | null;
8771
+ undone_items?: number;
8772
+ updated_at?: string;
8773
+ user_id: string;
8774
+ };
8775
+ Update: {
8776
+ connection_id?: string;
8777
+ created_at?: string;
8778
+ created_products?: number;
8779
+ id?: string;
8780
+ status?: string;
8781
+ total_items?: number;
8782
+ undo_skipped_items?: number;
8783
+ undone_at?: string | null;
8784
+ undone_items?: number;
8785
+ updated_at?: string;
8786
+ user_id?: string;
8787
+ };
8788
+ Relationships: [];
8789
+ };
8520
8790
  floriday_token_refresh_log: {
8521
8791
  Row: {
8522
8792
  attempted_at: string;
@@ -11162,6 +11432,36 @@ export type Database = {
11162
11432
  };
11163
11433
  Relationships: [];
11164
11434
  };
11435
+ layout_auto_acties: {
11436
+ Row: {
11437
+ actie: string;
11438
+ created_at: string;
11439
+ detail: string;
11440
+ documenttype: string | null;
11441
+ id: string;
11442
+ layout_id: string | null;
11443
+ printer_id: string | null;
11444
+ };
11445
+ Insert: {
11446
+ actie: string;
11447
+ created_at?: string;
11448
+ detail?: string;
11449
+ documenttype?: string | null;
11450
+ id?: string;
11451
+ layout_id?: string | null;
11452
+ printer_id?: string | null;
11453
+ };
11454
+ Update: {
11455
+ actie?: string;
11456
+ created_at?: string;
11457
+ detail?: string;
11458
+ documenttype?: string | null;
11459
+ id?: string;
11460
+ layout_id?: string | null;
11461
+ printer_id?: string | null;
11462
+ };
11463
+ Relationships: [];
11464
+ };
11165
11465
  layout_logos: {
11166
11466
  Row: {
11167
11467
  bestand_url: string;
@@ -11177,6 +11477,7 @@ export type Database = {
11177
11477
  is_standaard: boolean;
11178
11478
  naam: string;
11179
11479
  omschrijving: string;
11480
+ origineel_pad: string | null;
11180
11481
  transparant: boolean;
11181
11482
  updated_at: string;
11182
11483
  };
@@ -11194,6 +11495,7 @@ export type Database = {
11194
11495
  is_standaard?: boolean;
11195
11496
  naam: string;
11196
11497
  omschrijving?: string;
11498
+ origineel_pad?: string | null;
11197
11499
  transparant?: boolean;
11198
11500
  updated_at?: string;
11199
11501
  };
@@ -11211,11 +11513,57 @@ export type Database = {
11211
11513
  is_standaard?: boolean;
11212
11514
  naam?: string;
11213
11515
  omschrijving?: string;
11516
+ origineel_pad?: string | null;
11214
11517
  transparant?: boolean;
11215
11518
  updated_at?: string;
11216
11519
  };
11217
11520
  Relationships: [];
11218
11521
  };
11522
+ layout_standaarden: {
11523
+ Row: {
11524
+ breedte_mm: number;
11525
+ config: Json;
11526
+ created_at: string;
11527
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
11528
+ hoogte_mm: number;
11529
+ naam: string;
11530
+ omschrijving: string;
11531
+ page_settings: Json;
11532
+ papierformaat: string;
11533
+ sleutel: string;
11534
+ updated_at: string;
11535
+ versie: number;
11536
+ };
11537
+ Insert: {
11538
+ breedte_mm?: number;
11539
+ config?: Json;
11540
+ created_at?: string;
11541
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
11542
+ hoogte_mm?: number;
11543
+ naam: string;
11544
+ omschrijving?: string;
11545
+ page_settings?: Json;
11546
+ papierformaat?: string;
11547
+ sleutel: string;
11548
+ updated_at?: string;
11549
+ versie: number;
11550
+ };
11551
+ Update: {
11552
+ breedte_mm?: number;
11553
+ config?: Json;
11554
+ created_at?: string;
11555
+ documenttype?: Database["public"]["Enums"]["doc_layout_type"];
11556
+ hoogte_mm?: number;
11557
+ naam?: string;
11558
+ omschrijving?: string;
11559
+ page_settings?: Json;
11560
+ papierformaat?: string;
11561
+ sleutel?: string;
11562
+ updated_at?: string;
11563
+ versie?: number;
11564
+ };
11565
+ Relationships: [];
11566
+ };
11219
11567
  leave_requests: {
11220
11568
  Row: {
11221
11569
  cancellation_requested_at: string | null;
@@ -12269,6 +12617,33 @@ export type Database = {
12269
12617
  }
12270
12618
  ];
12271
12619
  };
12620
+ logistics_departure_check: {
12621
+ Row: {
12622
+ after: Json | null;
12623
+ before: Json | null;
12624
+ check_run: string;
12625
+ created_at: string;
12626
+ id: number;
12627
+ order_id: string;
12628
+ };
12629
+ Insert: {
12630
+ after?: Json | null;
12631
+ before?: Json | null;
12632
+ check_run: string;
12633
+ created_at?: string;
12634
+ id?: never;
12635
+ order_id: string;
12636
+ };
12637
+ Update: {
12638
+ after?: Json | null;
12639
+ before?: Json | null;
12640
+ check_run?: string;
12641
+ created_at?: string;
12642
+ id?: never;
12643
+ order_id?: string;
12644
+ };
12645
+ Relationships: [];
12646
+ };
12272
12647
  logistics_document_prints: {
12273
12648
  Row: {
12274
12649
  created_at: string;
@@ -12379,6 +12754,39 @@ export type Database = {
12379
12754
  };
12380
12755
  Relationships: [];
12381
12756
  };
12757
+ logistics_external_fulfillment: {
12758
+ Row: {
12759
+ applied_at: string;
12760
+ created_at: string;
12761
+ event_id: string | null;
12762
+ full_fulfilled: boolean;
12763
+ order_id: string;
12764
+ reason: string;
12765
+ sales_order_ids: string[];
12766
+ updated_at: string;
12767
+ };
12768
+ Insert: {
12769
+ applied_at?: string;
12770
+ created_at?: string;
12771
+ event_id?: string | null;
12772
+ full_fulfilled?: boolean;
12773
+ order_id: string;
12774
+ reason?: string;
12775
+ sales_order_ids?: string[];
12776
+ updated_at?: string;
12777
+ };
12778
+ Update: {
12779
+ applied_at?: string;
12780
+ created_at?: string;
12781
+ event_id?: string | null;
12782
+ full_fulfilled?: boolean;
12783
+ order_id?: string;
12784
+ reason?: string;
12785
+ sales_order_ids?: string[];
12786
+ updated_at?: string;
12787
+ };
12788
+ Relationships: [];
12789
+ };
12382
12790
  logistics_floriday_carrier_map: {
12383
12791
  Row: {
12384
12792
  carrier_code: string;
@@ -13319,7 +13727,9 @@ export type Database = {
13319
13727
  id: boolean;
13320
13728
  last_checked: number;
13321
13729
  last_duration_ms: number;
13730
+ last_error: string | null;
13322
13731
  last_mode: string | null;
13732
+ last_report: Json | null;
13323
13733
  last_run_at: string | null;
13324
13734
  last_updated: number;
13325
13735
  last_would_change: number | null;
@@ -13332,7 +13742,9 @@ export type Database = {
13332
13742
  id?: boolean;
13333
13743
  last_checked?: number;
13334
13744
  last_duration_ms?: number;
13745
+ last_error?: string | null;
13335
13746
  last_mode?: string | null;
13747
+ last_report?: Json | null;
13336
13748
  last_run_at?: string | null;
13337
13749
  last_updated?: number;
13338
13750
  last_would_change?: number | null;
@@ -13345,7 +13757,9 @@ export type Database = {
13345
13757
  id?: boolean;
13346
13758
  last_checked?: number;
13347
13759
  last_duration_ms?: number;
13760
+ last_error?: string | null;
13348
13761
  last_mode?: string | null;
13762
+ last_report?: Json | null;
13349
13763
  last_run_at?: string | null;
13350
13764
  last_updated?: number;
13351
13765
  last_would_change?: number | null;
@@ -13766,6 +14180,8 @@ export type Database = {
13766
14180
  handled_at: string | null;
13767
14181
  handled_error: string | null;
13768
14182
  handled_next_at: string | null;
14183
+ herprint_reden: string | null;
14184
+ herprint_requested_at: string | null;
13769
14185
  hoogte_mm: number | null;
13770
14186
  id: string;
13771
14187
  kopieen: number;
@@ -13777,6 +14193,7 @@ export type Database = {
13777
14193
  reden: string | null;
13778
14194
  soort: string;
13779
14195
  status: string;
14196
+ sticker_type: string | null;
13780
14197
  updated_at: string;
13781
14198
  };
13782
14199
  Insert: {
@@ -13789,6 +14206,8 @@ export type Database = {
13789
14206
  handled_at?: string | null;
13790
14207
  handled_error?: string | null;
13791
14208
  handled_next_at?: string | null;
14209
+ herprint_reden?: string | null;
14210
+ herprint_requested_at?: string | null;
13792
14211
  hoogte_mm?: number | null;
13793
14212
  id?: string;
13794
14213
  kopieen?: number;
@@ -13800,6 +14219,7 @@ export type Database = {
13800
14219
  reden?: string | null;
13801
14220
  soort: string;
13802
14221
  status?: string;
14222
+ sticker_type?: string | null;
13803
14223
  updated_at?: string;
13804
14224
  };
13805
14225
  Update: {
@@ -13812,6 +14232,8 @@ export type Database = {
13812
14232
  handled_at?: string | null;
13813
14233
  handled_error?: string | null;
13814
14234
  handled_next_at?: string | null;
14235
+ herprint_reden?: string | null;
14236
+ herprint_requested_at?: string | null;
13815
14237
  hoogte_mm?: number | null;
13816
14238
  id?: string;
13817
14239
  kopieen?: number;
@@ -13823,6 +14245,7 @@ export type Database = {
13823
14245
  reden?: string | null;
13824
14246
  soort?: string;
13825
14247
  status?: string;
14248
+ sticker_type?: string | null;
13826
14249
  updated_at?: string;
13827
14250
  };
13828
14251
  Relationships: [];
@@ -14172,22 +14595,52 @@ export type Database = {
14172
14595
  };
14173
14596
  Relationships: [];
14174
14597
  };
14598
+ logistics_tick_runs: {
14599
+ Row: {
14600
+ duration_ms: number | null;
14601
+ finished_at: string | null;
14602
+ has_error: boolean;
14603
+ id: number;
14604
+ started_at: string;
14605
+ steps: Json;
14606
+ };
14607
+ Insert: {
14608
+ duration_ms?: number | null;
14609
+ finished_at?: string | null;
14610
+ has_error?: boolean;
14611
+ id?: never;
14612
+ started_at?: string;
14613
+ steps?: Json;
14614
+ };
14615
+ Update: {
14616
+ duration_ms?: number | null;
14617
+ finished_at?: string | null;
14618
+ has_error?: boolean;
14619
+ id?: never;
14620
+ started_at?: string;
14621
+ steps?: Json;
14622
+ };
14623
+ Relationships: [];
14624
+ };
14175
14625
  logistics_time_settings: {
14176
14626
  Row: {
14177
14627
  departure_rule_since: string | null;
14178
14628
  id: boolean;
14629
+ rule_160_since: string | null;
14179
14630
  timezone: string;
14180
14631
  updated_at: string;
14181
14632
  };
14182
14633
  Insert: {
14183
14634
  departure_rule_since?: string | null;
14184
14635
  id?: boolean;
14636
+ rule_160_since?: string | null;
14185
14637
  timezone: string;
14186
14638
  updated_at?: string;
14187
14639
  };
14188
14640
  Update: {
14189
14641
  departure_rule_since?: string | null;
14190
14642
  id?: boolean;
14643
+ rule_160_since?: string | null;
14191
14644
  timezone?: string;
14192
14645
  updated_at?: string;
14193
14646
  };
@@ -14496,6 +14949,45 @@ export type Database = {
14496
14949
  };
14497
14950
  Relationships: [];
14498
14951
  };
14952
+ mailbox_ai_runs: {
14953
+ Row: {
14954
+ error: string | null;
14955
+ finished_at: string | null;
14956
+ id: string;
14957
+ input_tokens: number | null;
14958
+ is_test: boolean;
14959
+ message_id: string | null;
14960
+ ok: boolean | null;
14961
+ output_tokens: number | null;
14962
+ started_at: string;
14963
+ trigger: string;
14964
+ };
14965
+ Insert: {
14966
+ error?: string | null;
14967
+ finished_at?: string | null;
14968
+ id?: string;
14969
+ input_tokens?: number | null;
14970
+ is_test?: boolean;
14971
+ message_id?: string | null;
14972
+ ok?: boolean | null;
14973
+ output_tokens?: number | null;
14974
+ started_at?: string;
14975
+ trigger?: string;
14976
+ };
14977
+ Update: {
14978
+ error?: string | null;
14979
+ finished_at?: string | null;
14980
+ id?: string;
14981
+ input_tokens?: number | null;
14982
+ is_test?: boolean;
14983
+ message_id?: string | null;
14984
+ ok?: boolean | null;
14985
+ output_tokens?: number | null;
14986
+ started_at?: string;
14987
+ trigger?: string;
14988
+ };
14989
+ Relationships: [];
14990
+ };
14499
14991
  mailbox_ai_settings: {
14500
14992
  Row: {
14501
14993
  active_goal_key: string | null;
@@ -14529,6 +15021,78 @@ export type Database = {
14529
15021
  };
14530
15022
  Relationships: [];
14531
15023
  };
15024
+ mailbox_filter_settings: {
15025
+ Row: {
15026
+ analyze_unknown_with_signals: boolean;
15027
+ conf_green: number;
15028
+ conf_orange: number;
15029
+ created_at: string;
15030
+ domain_match: boolean;
15031
+ duplicate_days: number;
15032
+ id: string;
15033
+ max_agent_reparse: number;
15034
+ max_ai_per_day: number;
15035
+ max_ai_per_month: number;
15036
+ max_candidates: number;
15037
+ max_retries_per_run: number;
15038
+ max_retry_attempts: number;
15039
+ min_signals_unknown: number;
15040
+ negative_keywords: string[];
15041
+ order_keywords: string[];
15042
+ order_patterns: string[];
15043
+ singleton: boolean;
15044
+ skip_domains: string[];
15045
+ skip_senders: string[];
15046
+ updated_at: string;
15047
+ };
15048
+ Insert: {
15049
+ analyze_unknown_with_signals?: boolean;
15050
+ conf_green?: number;
15051
+ conf_orange?: number;
15052
+ created_at?: string;
15053
+ domain_match?: boolean;
15054
+ duplicate_days?: number;
15055
+ id?: string;
15056
+ max_agent_reparse?: number;
15057
+ max_ai_per_day?: number;
15058
+ max_ai_per_month?: number;
15059
+ max_candidates?: number;
15060
+ max_retries_per_run?: number;
15061
+ max_retry_attempts?: number;
15062
+ min_signals_unknown?: number;
15063
+ negative_keywords?: string[];
15064
+ order_keywords?: string[];
15065
+ order_patterns?: string[];
15066
+ singleton?: boolean;
15067
+ skip_domains?: string[];
15068
+ skip_senders?: string[];
15069
+ updated_at?: string;
15070
+ };
15071
+ Update: {
15072
+ analyze_unknown_with_signals?: boolean;
15073
+ conf_green?: number;
15074
+ conf_orange?: number;
15075
+ created_at?: string;
15076
+ domain_match?: boolean;
15077
+ duplicate_days?: number;
15078
+ id?: string;
15079
+ max_agent_reparse?: number;
15080
+ max_ai_per_day?: number;
15081
+ max_ai_per_month?: number;
15082
+ max_candidates?: number;
15083
+ max_retries_per_run?: number;
15084
+ max_retry_attempts?: number;
15085
+ min_signals_unknown?: number;
15086
+ negative_keywords?: string[];
15087
+ order_keywords?: string[];
15088
+ order_patterns?: string[];
15089
+ singleton?: boolean;
15090
+ skip_domains?: string[];
15091
+ skip_senders?: string[];
15092
+ updated_at?: string;
15093
+ };
15094
+ Relationships: [];
15095
+ };
14532
15096
  mailbox_ingest_runs: {
14533
15097
  Row: {
14534
15098
  connection_id: string | null;
@@ -14567,6 +15131,10 @@ export type Database = {
14567
15131
  };
14568
15132
  mailbox_messages: {
14569
15133
  Row: {
15134
+ analysis_count: number;
15135
+ analysis_note: string | null;
15136
+ analysis_started_at: string | null;
15137
+ analysis_state: string | null;
14570
15138
  attachments: Json;
14571
15139
  body_html: string | null;
14572
15140
  body_text: string | null;
@@ -14575,6 +15143,8 @@ export type Database = {
14575
15143
  created_at: string;
14576
15144
  error_message: string | null;
14577
15145
  external_id: string | null;
15146
+ filter_outcome: string | null;
15147
+ filter_reason: string | null;
14578
15148
  from_email: string | null;
14579
15149
  from_name: string | null;
14580
15150
  has_attachments: boolean;
@@ -14591,6 +15161,10 @@ export type Database = {
14591
15161
  updated_at: string;
14592
15162
  };
14593
15163
  Insert: {
15164
+ analysis_count?: number;
15165
+ analysis_note?: string | null;
15166
+ analysis_started_at?: string | null;
15167
+ analysis_state?: string | null;
14594
15168
  attachments?: Json;
14595
15169
  body_html?: string | null;
14596
15170
  body_text?: string | null;
@@ -14599,6 +15173,8 @@ export type Database = {
14599
15173
  created_at?: string;
14600
15174
  error_message?: string | null;
14601
15175
  external_id?: string | null;
15176
+ filter_outcome?: string | null;
15177
+ filter_reason?: string | null;
14602
15178
  from_email?: string | null;
14603
15179
  from_name?: string | null;
14604
15180
  has_attachments?: boolean;
@@ -14615,6 +15191,10 @@ export type Database = {
14615
15191
  updated_at?: string;
14616
15192
  };
14617
15193
  Update: {
15194
+ analysis_count?: number;
15195
+ analysis_note?: string | null;
15196
+ analysis_started_at?: string | null;
15197
+ analysis_state?: string | null;
14618
15198
  attachments?: Json;
14619
15199
  body_html?: string | null;
14620
15200
  body_text?: string | null;
@@ -14623,6 +15203,8 @@ export type Database = {
14623
15203
  created_at?: string;
14624
15204
  error_message?: string | null;
14625
15205
  external_id?: string | null;
15206
+ filter_outcome?: string | null;
15207
+ filter_reason?: string | null;
14626
15208
  from_email?: string | null;
14627
15209
  from_name?: string | null;
14628
15210
  has_attachments?: boolean;
@@ -14669,6 +15251,7 @@ export type Database = {
14669
15251
  confidence: number | null;
14670
15252
  created_at: string;
14671
15253
  created_order_id: string | null;
15254
+ customer_reference: string | null;
14672
15255
  delivery_date: string | null;
14673
15256
  id: string;
14674
15257
  matched_customer_id: string | null;
@@ -14687,6 +15270,7 @@ export type Database = {
14687
15270
  confidence?: number | null;
14688
15271
  created_at?: string;
14689
15272
  created_order_id?: string | null;
15273
+ customer_reference?: string | null;
14690
15274
  delivery_date?: string | null;
14691
15275
  id?: string;
14692
15276
  matched_customer_id?: string | null;
@@ -14705,6 +15289,7 @@ export type Database = {
14705
15289
  confidence?: number | null;
14706
15290
  created_at?: string;
14707
15291
  created_order_id?: string | null;
15292
+ customer_reference?: string | null;
14708
15293
  delivery_date?: string | null;
14709
15294
  id?: string;
14710
15295
  matched_customer_id?: string | null;
@@ -14841,43 +15426,85 @@ export type Database = {
14841
15426
  };
14842
15427
  mailbox_proposal_lines: {
14843
15428
  Row: {
15429
+ belading: Json | null;
15430
+ confidence: Json | null;
14844
15431
  created_at: string;
15432
+ currency: string | null;
14845
15433
  id: string;
14846
15434
  match_confidence: number | null;
15435
+ match_source: string | null;
15436
+ name_in_mail: string | null;
15437
+ pieces_per_unit: number | null;
14847
15438
  plant_type: string | null;
15439
+ plants: number | null;
15440
+ price_per: string | null;
14848
15441
  product_id: string | null;
14849
15442
  proposal_id: string;
15443
+ qty_in_mail: number | null;
14850
15444
  quantity: number | null;
15445
+ raw_code: string | null;
14851
15446
  raw_product_text: string | null;
14852
15447
  sort_order: number;
14853
15448
  unit: string | null;
15449
+ unit_kind: string | null;
15450
+ unit_price: number | null;
15451
+ unit_text: string | null;
14854
15452
  updated_at: string;
15453
+ warnings: string[] | null;
14855
15454
  };
14856
15455
  Insert: {
15456
+ belading?: Json | null;
15457
+ confidence?: Json | null;
14857
15458
  created_at?: string;
15459
+ currency?: string | null;
14858
15460
  id?: string;
14859
15461
  match_confidence?: number | null;
15462
+ match_source?: string | null;
15463
+ name_in_mail?: string | null;
15464
+ pieces_per_unit?: number | null;
14860
15465
  plant_type?: string | null;
15466
+ plants?: number | null;
15467
+ price_per?: string | null;
14861
15468
  product_id?: string | null;
14862
15469
  proposal_id: string;
15470
+ qty_in_mail?: number | null;
14863
15471
  quantity?: number | null;
15472
+ raw_code?: string | null;
14864
15473
  raw_product_text?: string | null;
14865
15474
  sort_order?: number;
14866
15475
  unit?: string | null;
15476
+ unit_kind?: string | null;
15477
+ unit_price?: number | null;
15478
+ unit_text?: string | null;
14867
15479
  updated_at?: string;
15480
+ warnings?: string[] | null;
14868
15481
  };
14869
15482
  Update: {
15483
+ belading?: Json | null;
15484
+ confidence?: Json | null;
14870
15485
  created_at?: string;
15486
+ currency?: string | null;
14871
15487
  id?: string;
14872
15488
  match_confidence?: number | null;
15489
+ match_source?: string | null;
15490
+ name_in_mail?: string | null;
15491
+ pieces_per_unit?: number | null;
14873
15492
  plant_type?: string | null;
15493
+ plants?: number | null;
15494
+ price_per?: string | null;
14874
15495
  product_id?: string | null;
14875
15496
  proposal_id?: string;
15497
+ qty_in_mail?: number | null;
14876
15498
  quantity?: number | null;
15499
+ raw_code?: string | null;
14877
15500
  raw_product_text?: string | null;
14878
15501
  sort_order?: number;
14879
15502
  unit?: string | null;
15503
+ unit_kind?: string | null;
15504
+ unit_price?: number | null;
15505
+ unit_text?: string | null;
14880
15506
  updated_at?: string;
15507
+ warnings?: string[] | null;
14881
15508
  };
14882
15509
  Relationships: [
14883
15510
  {
@@ -14951,6 +15578,51 @@ export type Database = {
14951
15578
  };
14952
15579
  Relationships: [];
14953
15580
  };
15581
+ mailbox_test_cases: {
15582
+ Row: {
15583
+ body_text: string;
15584
+ created_at: string;
15585
+ expected: Json;
15586
+ from_email: string;
15587
+ has_attachment: boolean;
15588
+ id: string;
15589
+ last_result: Json | null;
15590
+ last_run_at: string | null;
15591
+ name: string;
15592
+ sort_order: number;
15593
+ subject: string;
15594
+ updated_at: string;
15595
+ };
15596
+ Insert: {
15597
+ body_text?: string;
15598
+ created_at?: string;
15599
+ expected?: Json;
15600
+ from_email?: string;
15601
+ has_attachment?: boolean;
15602
+ id?: string;
15603
+ last_result?: Json | null;
15604
+ last_run_at?: string | null;
15605
+ name: string;
15606
+ sort_order?: number;
15607
+ subject?: string;
15608
+ updated_at?: string;
15609
+ };
15610
+ Update: {
15611
+ body_text?: string;
15612
+ created_at?: string;
15613
+ expected?: Json;
15614
+ from_email?: string;
15615
+ has_attachment?: boolean;
15616
+ id?: string;
15617
+ last_result?: Json | null;
15618
+ last_run_at?: string | null;
15619
+ name?: string;
15620
+ sort_order?: number;
15621
+ subject?: string;
15622
+ updated_at?: string;
15623
+ };
15624
+ Relationships: [];
15625
+ };
14954
15626
  manufacture_product_components: {
14955
15627
  Row: {
14956
15628
  component_type: string;
@@ -16073,10 +16745,12 @@ export type Database = {
16073
16745
  id: string;
16074
16746
  items: Json;
16075
16747
  notes: string | null;
16748
+ order_creation_attempts: number;
16076
16749
  order_creation_error: string | null;
16077
16750
  order_creation_failed_at: string | null;
16078
16751
  order_id: string | null;
16079
16752
  order_number: string | null;
16753
+ order_retry_payload: Json | null;
16080
16754
  recipient_id: string;
16081
16755
  total_amount: number;
16082
16756
  };
@@ -16090,10 +16764,12 @@ export type Database = {
16090
16764
  id?: string;
16091
16765
  items?: Json;
16092
16766
  notes?: string | null;
16767
+ order_creation_attempts?: number;
16093
16768
  order_creation_error?: string | null;
16094
16769
  order_creation_failed_at?: string | null;
16095
16770
  order_id?: string | null;
16096
16771
  order_number?: string | null;
16772
+ order_retry_payload?: Json | null;
16097
16773
  recipient_id: string;
16098
16774
  total_amount?: number;
16099
16775
  };
@@ -16107,10 +16783,12 @@ export type Database = {
16107
16783
  id?: string;
16108
16784
  items?: Json;
16109
16785
  notes?: string | null;
16786
+ order_creation_attempts?: number;
16110
16787
  order_creation_error?: string | null;
16111
16788
  order_creation_failed_at?: string | null;
16112
16789
  order_id?: string | null;
16113
16790
  order_number?: string | null;
16791
+ order_retry_payload?: Json | null;
16114
16792
  recipient_id?: string;
16115
16793
  total_amount?: number;
16116
16794
  };
@@ -19634,6 +20312,42 @@ export type Database = {
19634
20312
  };
19635
20313
  Relationships: [];
19636
20314
  };
20315
+ print_printer_verwijder_herstel: {
20316
+ Row: {
20317
+ created_at: string;
20318
+ extern_printer_id: string | null;
20319
+ hersteld_op: string | null;
20320
+ id: string;
20321
+ print_plek_id: string;
20322
+ printer_id: string;
20323
+ printer_naam: string | null;
20324
+ regels: Json;
20325
+ verwijderd_op: string;
20326
+ };
20327
+ Insert: {
20328
+ created_at?: string;
20329
+ extern_printer_id?: string | null;
20330
+ hersteld_op?: string | null;
20331
+ id?: string;
20332
+ print_plek_id: string;
20333
+ printer_id: string;
20334
+ printer_naam?: string | null;
20335
+ regels?: Json;
20336
+ verwijderd_op?: string;
20337
+ };
20338
+ Update: {
20339
+ created_at?: string;
20340
+ extern_printer_id?: string | null;
20341
+ hersteld_op?: string | null;
20342
+ id?: string;
20343
+ print_plek_id?: string;
20344
+ printer_id?: string;
20345
+ printer_naam?: string | null;
20346
+ regels?: Json;
20347
+ verwijderd_op?: string;
20348
+ };
20349
+ Relationships: [];
20350
+ };
19637
20351
  print_queue_leases: {
19638
20352
  Row: {
19639
20353
  created_at: string;
@@ -20828,6 +21542,69 @@ export type Database = {
20828
21542
  }
20829
21543
  ];
20830
21544
  };
21545
+ productontwerp_import_map: {
21546
+ Row: {
21547
+ created_at: string;
21548
+ entity_type: string;
21549
+ id: string;
21550
+ imported_at: string;
21551
+ match_method: string | null;
21552
+ source_id: string;
21553
+ source_shell_id: string;
21554
+ target_id: string;
21555
+ updated_at: string;
21556
+ };
21557
+ Insert: {
21558
+ created_at?: string;
21559
+ entity_type: string;
21560
+ id?: string;
21561
+ imported_at?: string;
21562
+ match_method?: string | null;
21563
+ source_id: string;
21564
+ source_shell_id: string;
21565
+ target_id: string;
21566
+ updated_at?: string;
21567
+ };
21568
+ Update: {
21569
+ created_at?: string;
21570
+ entity_type?: string;
21571
+ id?: string;
21572
+ imported_at?: string;
21573
+ match_method?: string | null;
21574
+ source_id?: string;
21575
+ source_shell_id?: string;
21576
+ target_id?: string;
21577
+ updated_at?: string;
21578
+ };
21579
+ Relationships: [];
21580
+ };
21581
+ productontwerp_structure_codes: {
21582
+ Row: {
21583
+ code: string;
21584
+ created_at: string;
21585
+ entity_id: string;
21586
+ entity_type: string;
21587
+ id: string;
21588
+ updated_at: string;
21589
+ };
21590
+ Insert: {
21591
+ code: string;
21592
+ created_at?: string;
21593
+ entity_id: string;
21594
+ entity_type: string;
21595
+ id?: string;
21596
+ updated_at?: string;
21597
+ };
21598
+ Update: {
21599
+ code?: string;
21600
+ created_at?: string;
21601
+ entity_id?: string;
21602
+ entity_type?: string;
21603
+ id?: string;
21604
+ updated_at?: string;
21605
+ };
21606
+ Relationships: [];
21607
+ };
20831
21608
  products: {
20832
21609
  Row: {
20833
21610
  article_number: string | null;
@@ -28654,6 +29431,10 @@ export type Database = {
28654
29431
  };
28655
29432
  };
28656
29433
  Functions: {
29434
+ _arm_offer_order_retry: {
29435
+ Args: never;
29436
+ Returns: undefined;
29437
+ };
28657
29438
  _floriday_queue_cleanup_batch: {
28658
29439
  Args: {
28659
29440
  p_days: number;
@@ -28681,6 +29462,10 @@ export type Database = {
28681
29462
  };
28682
29463
  Returns: string[][];
28683
29464
  };
29465
+ _layout_is_beheerder: {
29466
+ Args: never;
29467
+ Returns: boolean;
29468
+ };
28684
29469
  _migrate_rewrite_stock_key: {
28685
29470
  Args: {
28686
29471
  _from_key: string;
@@ -28688,6 +29473,18 @@ export type Database = {
28688
29473
  };
28689
29474
  Returns: undefined;
28690
29475
  };
29476
+ _pick_station_for_cart: {
29477
+ Args: {
29478
+ p_cart_id: string;
29479
+ };
29480
+ Returns: string;
29481
+ };
29482
+ _pick_sticker_ids_for_cart: {
29483
+ Args: {
29484
+ p_cart_id: string;
29485
+ };
29486
+ Returns: string[];
29487
+ };
28691
29488
  _print_meld_stilstand: {
28692
29489
  Args: {
28693
29490
  _reden: string;
@@ -28701,6 +29498,19 @@ export type Database = {
28701
29498
  };
28702
29499
  Returns: Json;
28703
29500
  };
29501
+ _scan_kar_floriday_afgehandeld: {
29502
+ Args: {
29503
+ p_cart_id: string;
29504
+ p_order_id?: string;
29505
+ };
29506
+ Returns: Json;
29507
+ };
29508
+ _scan_kar_pakbon_geprint: {
29509
+ Args: {
29510
+ p_cart_id: string;
29511
+ };
29512
+ Returns: Json;
29513
+ };
28704
29514
  _scan_kar_voortgang: {
28705
29515
  Args: {
28706
29516
  p_cart_id: string;
@@ -28754,6 +29564,12 @@ export type Database = {
28754
29564
  };
28755
29565
  Returns: string;
28756
29566
  };
29567
+ afh_order_floriday_afgehandeld: {
29568
+ Args: {
29569
+ p_order_id: string;
29570
+ };
29571
+ Returns: boolean;
29572
+ };
28757
29573
  afh_pick_workdays: {
28758
29574
  Args: {
28759
29575
  p_from: string;
@@ -28788,6 +29604,22 @@ export type Database = {
28788
29604
  };
28789
29605
  Returns: Json;
28790
29606
  };
29607
+ afh_signup_groups_base: {
29608
+ Args: {
29609
+ p_from: string;
29610
+ p_to: string;
29611
+ p_tz: string;
29612
+ };
29613
+ Returns: Json;
29614
+ };
29615
+ afh_signup_groups_wacht: {
29616
+ Args: {
29617
+ p_from: string;
29618
+ p_to: string;
29619
+ p_tz: string;
29620
+ };
29621
+ Returns: Json;
29622
+ };
28791
29623
  afh_signup_mail: {
28792
29624
  Args: {
28793
29625
  g: Json;
@@ -28796,6 +29628,22 @@ export type Database = {
28796
29628
  };
28797
29629
  Returns: Json;
28798
29630
  };
29631
+ afh_signup_mail_base: {
29632
+ Args: {
29633
+ g: Json;
29634
+ p_prev: number;
29635
+ p_tz: string;
29636
+ };
29637
+ Returns: Json;
29638
+ };
29639
+ afh_signup_mail_wacht: {
29640
+ Args: {
29641
+ g: Json;
29642
+ p_prev: number;
29643
+ p_tz: string;
29644
+ };
29645
+ Returns: Json;
29646
+ };
28799
29647
  afh_signup_send_group: {
28800
29648
  Args: {
28801
29649
  g: Json;
@@ -28807,6 +29655,17 @@ export type Database = {
28807
29655
  };
28808
29656
  Returns: Json;
28809
29657
  };
29658
+ afh_signup_send_group_base: {
29659
+ Args: {
29660
+ g: Json;
29661
+ p_connection: string;
29662
+ p_purpose: string;
29663
+ p_source: string;
29664
+ p_tz: string;
29665
+ p_user: string;
29666
+ };
29667
+ Returns: Json;
29668
+ };
28810
29669
  afh_subtract_workdays: {
28811
29670
  Args: {
28812
29671
  _date: string;
@@ -29887,6 +30746,30 @@ export type Database = {
29887
30746
  };
29888
30747
  Returns: boolean;
29889
30748
  };
30749
+ floricode_sync_cron_schedule: {
30750
+ Args: {
30751
+ p_apikey: string;
30752
+ p_schedule: string;
30753
+ p_url: string;
30754
+ };
30755
+ Returns: number;
30756
+ };
30757
+ floricode_sync_cron_set_schedule: {
30758
+ Args: {
30759
+ p_schedule: string;
30760
+ };
30761
+ Returns: boolean;
30762
+ };
30763
+ floricode_sync_cron_status: {
30764
+ Args: never;
30765
+ Returns: {
30766
+ active: boolean;
30767
+ last_run_at: string;
30768
+ last_run_status: string;
30769
+ schedule: string;
30770
+ scheduled: boolean;
30771
+ }[];
30772
+ };
29890
30773
  floriday_adopt_connection: {
29891
30774
  Args: {
29892
30775
  p_new: string;
@@ -29910,6 +30793,18 @@ export type Database = {
29910
30793
  Args: never;
29911
30794
  Returns: undefined;
29912
30795
  };
30796
+ floriday_customer_candidates: {
30797
+ Args: never;
30798
+ Returns: {
30799
+ in_cache: boolean;
30800
+ organization_id: string;
30801
+ reason: string;
30802
+ }[];
30803
+ };
30804
+ floriday_customer_promotion_preview: {
30805
+ Args: never;
30806
+ Returns: Json;
30807
+ };
29913
30808
  floriday_default_owner: {
29914
30809
  Args: {
29915
30810
  p_connection_id: string;
@@ -29946,16 +30841,70 @@ export type Database = {
29946
30841
  source_id: string;
29947
30842
  }[];
29948
30843
  };
30844
+ floriday_eigen_organisatie: {
30845
+ Args: never;
30846
+ Returns: {
30847
+ adres: string;
30848
+ gln: string;
30849
+ land: string;
30850
+ naam: string;
30851
+ opgehaald_op: string;
30852
+ organisatie_id: string;
30853
+ plaats: string;
30854
+ postcode: string;
30855
+ }[];
30856
+ };
30857
+ floriday_erp_leading_preview: {
30858
+ Args: {
30859
+ p_connection_id: string;
30860
+ p_product_ids: string[];
30861
+ p_stock_mode?: string;
30862
+ };
30863
+ Returns: {
30864
+ blocker: string;
30865
+ desired_available: boolean;
30866
+ desired_quantity: number;
30867
+ horizon_weeks: number;
30868
+ offer_forms: Json;
30869
+ product_id: string;
30870
+ product_name: string;
30871
+ sale_price: number;
30872
+ stock_mode: string;
30873
+ trade_item_id: string;
30874
+ weeks: Json;
30875
+ }[];
30876
+ };
29949
30877
  floriday_fill_publish_horizon: {
29950
30878
  Args: never;
29951
30879
  Returns: number;
29952
30880
  };
30881
+ floriday_follow_apply: {
30882
+ Args: {
30883
+ p_connection_id: string;
30884
+ p_items: Json;
30885
+ };
30886
+ Returns: Json;
30887
+ };
29953
30888
  floriday_ingest_sales_orders: {
29954
30889
  Args: {
29955
30890
  p_limit?: number;
29956
30891
  };
29957
30892
  Returns: number;
29958
30893
  };
30894
+ floriday_leading_summary: {
30895
+ Args: {
30896
+ p_connection_id: string;
30897
+ };
30898
+ Returns: Json;
30899
+ };
30900
+ floriday_make_erp_leading: {
30901
+ Args: {
30902
+ p_connection_id: string;
30903
+ p_product_ids: string[];
30904
+ p_stock_mode?: string;
30905
+ };
30906
+ Returns: Json;
30907
+ };
29959
30908
  floriday_network_status: {
29960
30909
  Args: {
29961
30910
  p_organization_id: string;
@@ -29967,6 +30916,12 @@ export type Database = {
29967
30916
  synced_at: string;
29968
30917
  }[];
29969
30918
  };
30919
+ floriday_norm_offer_forms: {
30920
+ Args: {
30921
+ p: Json;
30922
+ };
30923
+ Returns: Json;
30924
+ };
29970
30925
  floriday_orphan_settings_count: {
29971
30926
  Args: never;
29972
30927
  Returns: number;
@@ -29995,10 +30950,34 @@ export type Database = {
29995
30950
  };
29996
30951
  Returns: number;
29997
30952
  };
30953
+ floriday_takeover_apply: {
30954
+ Args: {
30955
+ p_connection_id: string;
30956
+ p_items: Json;
30957
+ };
30958
+ Returns: Json;
30959
+ };
30960
+ floriday_takeover_fetch_state: {
30961
+ Args: {
30962
+ p_connection_id: string;
30963
+ p_entity?: string;
30964
+ };
30965
+ Returns: string;
30966
+ };
30967
+ floriday_takeover_undo: {
30968
+ Args: {
30969
+ p_run_id: string;
30970
+ };
30971
+ Returns: Json;
30972
+ };
29998
30973
  floriday_today_announce_summary: {
29999
30974
  Args: never;
30000
30975
  Returns: Json;
30001
30976
  };
30977
+ floriday_write_mode: {
30978
+ Args: never;
30979
+ Returns: Json;
30980
+ };
30002
30981
  format_cart_number: {
30003
30982
  Args: {
30004
30983
  p_pick_date: string;
@@ -30857,6 +31836,10 @@ export type Database = {
30857
31836
  };
30858
31837
  Returns: boolean;
30859
31838
  };
31839
+ klanten_install_check: {
31840
+ Args: never;
31841
+ Returns: Json;
31842
+ };
30860
31843
  layout_print_document: {
30861
31844
  Args: {
30862
31845
  _documentnaam: string;
@@ -30883,6 +31866,18 @@ export type Database = {
30883
31866
  status: string;
30884
31867
  }[];
30885
31868
  };
31869
+ layout_standaard_overnemen: {
31870
+ Args: {
31871
+ _layout_id: string;
31872
+ };
31873
+ Returns: Json;
31874
+ };
31875
+ layout_versie_terugzetten: {
31876
+ Args: {
31877
+ _versie_id: string;
31878
+ };
31879
+ Returns: number;
31880
+ };
30886
31881
  layout_verwijzing_omzetten: {
30887
31882
  Args: {
30888
31883
  _nieuw: string;
@@ -30896,6 +31891,10 @@ export type Database = {
30896
31891
  Args: never;
30897
31892
  Returns: Json;
30898
31893
  };
31894
+ layout_zorg_systeemlayouts: {
31895
+ Args: never;
31896
+ Returns: number;
31897
+ };
30899
31898
  list_medewerkers: {
30900
31899
  Args: never;
30901
31900
  Returns: {
@@ -30987,6 +31986,14 @@ export type Database = {
30987
31986
  };
30988
31987
  Returns: string;
30989
31988
  };
31989
+ log_offer_event_by_code: {
31990
+ Args: {
31991
+ p_code: string;
31992
+ p_event_type: string;
31993
+ p_metadata?: Json;
31994
+ };
31995
+ Returns: boolean;
31996
+ };
30990
31997
  logistics_active_layout_method: {
30991
31998
  Args: never;
30992
31999
  Returns: string;
@@ -31049,6 +32056,12 @@ export type Database = {
31049
32056
  Args: never;
31050
32057
  Returns: undefined;
31051
32058
  };
32059
+ logistics_apply_external_fulfillment: {
32060
+ Args: {
32061
+ p_event_id: string;
32062
+ };
32063
+ Returns: string;
32064
+ };
31052
32065
  logistics_apply_order_buffer: {
31053
32066
  Args: {
31054
32067
  p_order_id: string;
@@ -31199,6 +32212,12 @@ export type Database = {
31199
32212
  };
31200
32213
  Returns: Json;
31201
32214
  };
32215
+ logistics_buffer_closed_for_join: {
32216
+ Args: {
32217
+ p_buffer: string;
32218
+ };
32219
+ Returns: boolean;
32220
+ };
31202
32221
  logistics_buffer_criteria: {
31203
32222
  Args: {
31204
32223
  p_settings: Json;
@@ -31227,6 +32246,12 @@ export type Database = {
31227
32246
  };
31228
32247
  Returns: Json;
31229
32248
  };
32249
+ logistics_buffer_frozen: {
32250
+ Args: {
32251
+ p_buffer: string;
32252
+ };
32253
+ Returns: boolean;
32254
+ };
31230
32255
  logistics_buffer_frozen_order: {
31231
32256
  Args: {
31232
32257
  p_order_id: string;
@@ -31267,6 +32292,12 @@ export type Database = {
31267
32292
  };
31268
32293
  Returns: Json;
31269
32294
  };
32295
+ logistics_buffer_target: {
32296
+ Args: {
32297
+ p_order_id: string;
32298
+ };
32299
+ Returns: Json;
32300
+ };
31270
32301
  logistics_buffer_value: {
31271
32302
  Args: {
31272
32303
  p_criterion: string;
@@ -31286,6 +32317,12 @@ export type Database = {
31286
32317
  Args: never;
31287
32318
  Returns: number;
31288
32319
  };
32320
+ logistics_cancel_stale_cart_pick_rows: {
32321
+ Args: {
32322
+ p_order_ids: string[];
32323
+ };
32324
+ Returns: number;
32325
+ };
31289
32326
  logistics_capacity_day_check: {
31290
32327
  Args: {
31291
32328
  p_from?: string;
@@ -31299,6 +32336,13 @@ export type Database = {
31299
32336
  };
31300
32337
  Returns: Json;
31301
32338
  };
32339
+ logistics_carrier_for_location: {
32340
+ Args: {
32341
+ p_customer_id: string;
32342
+ p_location: string;
32343
+ };
32344
+ Returns: string;
32345
+ };
31302
32346
  logistics_carrier_minutes: {
31303
32347
  Args: {
31304
32348
  p_carrier: string;
@@ -31373,6 +32417,12 @@ export type Database = {
31373
32417
  };
31374
32418
  Returns: boolean;
31375
32419
  };
32420
+ logistics_cart_has_packing_slip: {
32421
+ Args: {
32422
+ p_cart_id: string;
32423
+ };
32424
+ Returns: boolean;
32425
+ };
31376
32426
  logistics_cart_ids_frozen: {
31377
32427
  Args: {
31378
32428
  p_cart_ids: string[];
@@ -31519,6 +32569,12 @@ export type Database = {
31519
32569
  };
31520
32570
  Returns: Json;
31521
32571
  };
32572
+ logistics_cart_slip_queued: {
32573
+ Args: {
32574
+ p_cart: string;
32575
+ };
32576
+ Returns: boolean;
32577
+ };
31522
32578
  logistics_cart_sticker_state: {
31523
32579
  Args: {
31524
32580
  p_cart_id: string;
@@ -31910,6 +32966,25 @@ export type Database = {
31910
32966
  printed_count: number;
31911
32967
  }[];
31912
32968
  };
32969
+ logistics_departure_calc: {
32970
+ Args: {
32971
+ p_carrier_id: string;
32972
+ p_delivery_date: string;
32973
+ p_moment_key?: string;
32974
+ p_ref_at: string;
32975
+ };
32976
+ Returns: Json;
32977
+ };
32978
+ logistics_departure_preview: {
32979
+ Args: {
32980
+ p_carrier_id: string;
32981
+ p_delivery_date: string;
32982
+ p_delivery_location: string;
32983
+ p_moment_key?: string;
32984
+ p_own_transport?: boolean;
32985
+ };
32986
+ Returns: Json;
32987
+ };
31913
32988
  logistics_document_layout: {
31914
32989
  Args: {
31915
32990
  _document_code: string;
@@ -31993,6 +33068,10 @@ export type Database = {
31993
33068
  };
31994
33069
  Returns: Json;
31995
33070
  };
33071
+ logistics_ensure_runtime_defaults: {
33072
+ Args: never;
33073
+ Returns: undefined;
33074
+ };
31996
33075
  logistics_ensure_shipping_notes: {
31997
33076
  Args: {
31998
33077
  p_limit?: number;
@@ -32013,6 +33092,17 @@ export type Database = {
32013
33092
  ref: string;
32014
33093
  }[];
32015
33094
  };
33095
+ logistics_external_fulfillment_key_report: {
33096
+ Args: never;
33097
+ Returns: {
33098
+ ander_nummer: number;
33099
+ floriday_sales_order_id: string;
33100
+ order_id: string;
33101
+ order_number: string;
33102
+ regels: number;
33103
+ zonder_nummer: number;
33104
+ }[];
33105
+ };
32016
33106
  logistics_fail_task: {
32017
33107
  Args: {
32018
33108
  p_error: string;
@@ -32058,6 +33148,10 @@ export type Database = {
32058
33148
  isSetofReturn: false;
32059
33149
  };
32060
33150
  };
33151
+ logistics_fill_cart_departure: {
33152
+ Args: never;
33153
+ Returns: number;
33154
+ };
32061
33155
  logistics_fix_wrong_shipping_notes: {
32062
33156
  Args: never;
32063
33157
  Returns: Json;
@@ -32146,6 +33240,10 @@ export type Database = {
32146
33240
  Args: never;
32147
33241
  Returns: Json;
32148
33242
  };
33243
+ logistics_floriday_is_read_only: {
33244
+ Args: never;
33245
+ Returns: boolean;
33246
+ };
32149
33247
  logistics_floriday_layout_id: {
32150
33248
  Args: {
32151
33249
  p_documenttype: string;
@@ -32186,6 +33284,13 @@ export type Database = {
32186
33284
  };
32187
33285
  Returns: number;
32188
33286
  };
33287
+ logistics_floriday_push_hold_read_only: {
33288
+ Args: {
33289
+ _id: string;
33290
+ _revision: number;
33291
+ };
33292
+ Returns: string;
33293
+ };
32189
33294
  logistics_floriday_queue_push: {
32190
33295
  Args: {
32191
33296
  _order_ref: string;
@@ -32194,6 +33299,10 @@ export type Database = {
32194
33299
  };
32195
33300
  Returns: string;
32196
33301
  };
33302
+ logistics_floriday_release_read_only: {
33303
+ Args: never;
33304
+ Returns: Json;
33305
+ };
32197
33306
  logistics_floriday_status_updates_enabled: {
32198
33307
  Args: never;
32199
33308
  Returns: boolean;
@@ -32257,6 +33366,13 @@ export type Database = {
32257
33366
  };
32258
33367
  Returns: boolean;
32259
33368
  };
33369
+ logistics_item_external_fulfilled: {
33370
+ Args: {
33371
+ p_order_id: string;
33372
+ p_source_line_key: string;
33373
+ };
33374
+ Returns: boolean;
33375
+ };
32260
33376
  logistics_key_product: {
32261
33377
  Args: {
32262
33378
  p_key: string;
@@ -32338,6 +33454,19 @@ export type Database = {
32338
33454
  };
32339
33455
  Returns: string;
32340
33456
  };
33457
+ logistics_nl_date: {
33458
+ Args: {
33459
+ p_day: string;
33460
+ };
33461
+ Returns: string;
33462
+ };
33463
+ logistics_nl_moment: {
33464
+ Args: {
33465
+ p_at: string;
33466
+ p_tz: string;
33467
+ };
33468
+ Returns: string;
33469
+ };
32341
33470
  logistics_normalize_product_label: {
32342
33471
  Args: {
32343
33472
  p_label: string;
@@ -32430,6 +33559,21 @@ export type Database = {
32430
33559
  };
32431
33560
  Returns: Json;
32432
33561
  };
33562
+ logistics_order_departure_list: {
33563
+ Args: {
33564
+ p_order_ids: string[];
33565
+ };
33566
+ Returns: {
33567
+ carrierId: string;
33568
+ departureAt: string;
33569
+ lateSignup: boolean;
33570
+ momentKey: string;
33571
+ ok: boolean;
33572
+ order_id: string;
33573
+ reason: string;
33574
+ signupDeadline: string;
33575
+ }[];
33576
+ };
32433
33577
  logistics_order_documents_ready: {
32434
33578
  Args: {
32435
33579
  p_order_ref: string;
@@ -32442,6 +33586,12 @@ export type Database = {
32442
33586
  };
32443
33587
  Returns: boolean;
32444
33588
  };
33589
+ logistics_order_external_state: {
33590
+ Args: {
33591
+ p_order_id: string;
33592
+ };
33593
+ Returns: Json;
33594
+ };
32445
33595
  logistics_order_finalize_enqueue: {
32446
33596
  Args: {
32447
33597
  p_order_id: string;
@@ -32522,6 +33672,12 @@ export type Database = {
32522
33672
  };
32523
33673
  Returns: boolean;
32524
33674
  };
33675
+ logistics_order_is_shipped_status: {
33676
+ Args: {
33677
+ p_status: string;
33678
+ };
33679
+ Returns: boolean;
33680
+ };
32525
33681
  logistics_order_is_topick: {
32526
33682
  Args: {
32527
33683
  p_order_id: string;
@@ -32634,6 +33790,12 @@ export type Database = {
32634
33790
  state: string;
32635
33791
  }[];
32636
33792
  };
33793
+ logistics_order_plan_coverage_v165: {
33794
+ Args: {
33795
+ p_order_id: string;
33796
+ };
33797
+ Returns: Json;
33798
+ };
32637
33799
  logistics_order_released: {
32638
33800
  Args: {
32639
33801
  p_order_ref: string;
@@ -32654,6 +33816,13 @@ export type Database = {
32654
33816
  Args: never;
32655
33817
  Returns: Json;
32656
33818
  };
33819
+ logistics_own_transport_departure: {
33820
+ Args: {
33821
+ p_delivery_date: string;
33822
+ p_pickup_at: string;
33823
+ };
33824
+ Returns: Json;
33825
+ };
32657
33826
  logistics_packing_autofix: {
32658
33827
  Args: {
32659
33828
  p_limit?: number;
@@ -33128,6 +34297,12 @@ export type Database = {
33128
34297
  Args: never;
33129
34298
  Returns: number;
33130
34299
  };
34300
+ logistics_rebuffer_candidates: {
34301
+ Args: never;
34302
+ Returns: {
34303
+ order_id: string;
34304
+ }[];
34305
+ };
33131
34306
  logistics_rebuffer_open_orders: {
33132
34307
  Args: {
33133
34308
  p_strategy_id?: string;
@@ -33144,6 +34319,23 @@ export type Database = {
33144
34319
  Args: never;
33145
34320
  Returns: Json;
33146
34321
  };
34322
+ logistics_rebuffer_report: {
34323
+ Args: never;
34324
+ Returns: Json;
34325
+ };
34326
+ logistics_rebuffer_simulate_open: {
34327
+ Args: never;
34328
+ Returns: {
34329
+ buffer_id: string;
34330
+ changed: boolean;
34331
+ cur_label: string;
34332
+ delivery_date: string;
34333
+ id: string;
34334
+ new_label: string;
34335
+ order_number: string;
34336
+ reason: string;
34337
+ }[];
34338
+ };
33147
34339
  logistics_recalc_tick_kick: {
33148
34340
  Args: never;
33149
34341
  Returns: number;
@@ -33176,6 +34368,12 @@ export type Database = {
33176
34368
  };
33177
34369
  Returns: Json;
33178
34370
  };
34371
+ logistics_register_tick_apikey: {
34372
+ Args: {
34373
+ p_key: string;
34374
+ };
34375
+ Returns: Json;
34376
+ };
33179
34377
  logistics_replan_all: {
33180
34378
  Args: {
33181
34379
  p_reason?: string;
@@ -33382,6 +34580,13 @@ export type Database = {
33382
34580
  };
33383
34581
  Returns: Json;
33384
34582
  };
34583
+ logistics_sales_order_external_fulfilled: {
34584
+ Args: {
34585
+ p_order_id: string;
34586
+ p_sales_order_id: string;
34587
+ };
34588
+ Returns: boolean;
34589
+ };
33385
34590
  logistics_scan_delays: {
33386
34591
  Args: never;
33387
34592
  Returns: number;
@@ -33440,6 +34645,10 @@ export type Database = {
33440
34645
  peer_order_id: string;
33441
34646
  }[];
33442
34647
  };
34648
+ logistics_shell_base_url: {
34649
+ Args: never;
34650
+ Returns: string;
34651
+ };
33443
34652
  logistics_shift_to_workday: {
33444
34653
  Args: {
33445
34654
  p_days: string[];
@@ -33519,6 +34728,12 @@ export type Database = {
33519
34728
  };
33520
34729
  Returns: boolean;
33521
34730
  };
34731
+ logistics_slip_is_herprint: {
34732
+ Args: {
34733
+ p_slip_job_id: string;
34734
+ };
34735
+ Returns: boolean;
34736
+ };
33522
34737
  logistics_slip_note_claim: {
33523
34738
  Args: {
33524
34739
  _lease_seconds?: number;
@@ -33592,6 +34807,12 @@ export type Database = {
33592
34807
  };
33593
34808
  Returns: undefined;
33594
34809
  };
34810
+ logistics_slip_note_hold_read_only: {
34811
+ Args: {
34812
+ _id: string;
34813
+ };
34814
+ Returns: undefined;
34815
+ };
33595
34816
  logistics_slip_note_keep_waiting: {
33596
34817
  Args: {
33597
34818
  _class?: string;
@@ -33610,12 +34831,22 @@ export type Database = {
33610
34831
  };
33611
34832
  Returns: Json;
33612
34833
  };
34834
+ logistics_slip_note_skip_herprint: {
34835
+ Args: {
34836
+ _id: string;
34837
+ };
34838
+ Returns: undefined;
34839
+ };
33613
34840
  logistics_status_after_shipping: {
33614
34841
  Args: {
33615
34842
  p_status: string;
33616
34843
  };
33617
34844
  Returns: boolean;
33618
34845
  };
34846
+ logistics_sticker_blocked_list: {
34847
+ Args: never;
34848
+ Returns: Json;
34849
+ };
33619
34850
  logistics_sticker_cart_plek: {
33620
34851
  Args: {
33621
34852
  _cart: string;
@@ -33623,6 +34854,26 @@ export type Database = {
33623
34854
  };
33624
34855
  Returns: string;
33625
34856
  };
34857
+ logistics_sticker_distribution: {
34858
+ Args: {
34859
+ p_copies: number;
34860
+ p_order: string;
34861
+ p_trade_item: string;
34862
+ p_type: string;
34863
+ };
34864
+ Returns: {
34865
+ cart_id: string;
34866
+ crates: number;
34867
+ kopieen: number;
34868
+ pieces: number;
34869
+ }[];
34870
+ };
34871
+ logistics_sticker_external_fulfilled: {
34872
+ Args: {
34873
+ p_sticker_print_id: string;
34874
+ };
34875
+ Returns: boolean;
34876
+ };
33626
34877
  logistics_sticker_follows_slip: {
33627
34878
  Args: never;
33628
34879
  Returns: boolean;
@@ -33700,12 +34951,24 @@ export type Database = {
33700
34951
  Args: never;
33701
34952
  Returns: Json;
33702
34953
  };
34954
+ logistics_sync_stock_alert_email_status: {
34955
+ Args: {
34956
+ p_limit?: number;
34957
+ };
34958
+ Returns: Json;
34959
+ };
33703
34960
  logistics_sync_task_carriers: {
33704
34961
  Args: {
33705
34962
  p_order_ref?: string;
33706
34963
  };
33707
34964
  Returns: number;
33708
34965
  };
34966
+ logistics_sync_task_status: {
34967
+ Args: {
34968
+ p_order_ref?: string;
34969
+ };
34970
+ Returns: number;
34971
+ };
33709
34972
  logistics_task_open_counts: {
33710
34973
  Args: never;
33711
34974
  Returns: {
@@ -33756,6 +35019,10 @@ export type Database = {
33756
35019
  Args: never;
33757
35020
  Returns: string;
33758
35021
  };
35022
+ logistics_tick_runs_prune: {
35023
+ Args: never;
35024
+ Returns: number;
35025
+ };
33759
35026
  logistics_timezone_options: {
33760
35027
  Args: never;
33761
35028
  Returns: {
@@ -33931,6 +35198,12 @@ export type Database = {
33931
35198
  };
33932
35199
  Returns: Json;
33933
35200
  };
35201
+ logistics_try_uuid: {
35202
+ Args: {
35203
+ p: string;
35204
+ };
35205
+ Returns: string;
35206
+ };
33934
35207
  logistics_tz: {
33935
35208
  Args: never;
33936
35209
  Returns: string;
@@ -33972,6 +35245,12 @@ export type Database = {
33972
35245
  };
33973
35246
  Returns: boolean;
33974
35247
  };
35248
+ logistics_verkoop_order_link: {
35249
+ Args: {
35250
+ p_order_id: string;
35251
+ };
35252
+ Returns: string;
35253
+ };
33975
35254
  logistics_working_hours_status: {
33976
35255
  Args: never;
33977
35256
  Returns: Json;
@@ -33988,6 +35267,14 @@ export type Database = {
33988
35267
  };
33989
35268
  Returns: number;
33990
35269
  };
35270
+ mailbox_claim_analysis: {
35271
+ Args: {
35272
+ p_force?: boolean;
35273
+ p_message_id: string;
35274
+ p_trigger?: string;
35275
+ };
35276
+ Returns: Json;
35277
+ };
33991
35278
  mark_offer_clicked: {
33992
35279
  Args: {
33993
35280
  p_code: string;
@@ -34877,6 +36164,12 @@ export type Database = {
34877
36164
  };
34878
36165
  Returns: string;
34879
36166
  };
36167
+ pick_sticker_past_controle: {
36168
+ Args: {
36169
+ p_cart_id: string;
36170
+ };
36171
+ Returns: Json;
36172
+ };
34880
36173
  pick_sync_pick_day: {
34881
36174
  Args: {
34882
36175
  _day: string;
@@ -34956,6 +36249,21 @@ export type Database = {
34956
36249
  };
34957
36250
  Returns: undefined;
34958
36251
  };
36252
+ pickstation_sticker_past_controle: {
36253
+ Args: {
36254
+ p_cart_id: string;
36255
+ p_slug: string;
36256
+ };
36257
+ Returns: Json;
36258
+ };
36259
+ pickstation_sticker_reprint: {
36260
+ Args: {
36261
+ p_cart_id: string;
36262
+ p_reden?: string;
36263
+ p_slug: string;
36264
+ };
36265
+ Returns: Json;
36266
+ };
34959
36267
  plan_standby_batch: {
34960
36268
  Args: {
34961
36269
  _items: Json;
@@ -35108,6 +36416,14 @@ export type Database = {
35108
36416
  status: string;
35109
36417
  }[];
35110
36418
  };
36419
+ print_kopieen_aantal: {
36420
+ Args: {
36421
+ _kopieen: number;
36422
+ _payload: Json;
36423
+ _type: string;
36424
+ };
36425
+ Returns: number;
36426
+ };
35111
36427
  print_preview_toestaan: {
35112
36428
  Args: {
35113
36429
  _max?: number;
@@ -35150,6 +36466,20 @@ export type Database = {
35150
36466
  };
35151
36467
  Returns: Json;
35152
36468
  };
36469
+ printer_herstel_uitvoeren: {
36470
+ Args: {
36471
+ _plek: string;
36472
+ _printer: string;
36473
+ };
36474
+ Returns: number;
36475
+ };
36476
+ printer_herstel_voorstel: {
36477
+ Args: {
36478
+ _plek: string;
36479
+ _printer: string;
36480
+ };
36481
+ Returns: number;
36482
+ };
35153
36483
  printer_routering: {
35154
36484
  Args: {
35155
36485
  _documenttype: string;
@@ -35161,6 +36491,13 @@ export type Database = {
35161
36491
  };
35162
36492
  Returns: Json;
35163
36493
  };
36494
+ printer_verwijder_verwijzingen: {
36495
+ Args: {
36496
+ _plek: string;
36497
+ _printer: string;
36498
+ };
36499
+ Returns: Json;
36500
+ };
35164
36501
  printplek_printer: {
35165
36502
  Args: {
35166
36503
  _documenttype: string;
@@ -35268,6 +36605,23 @@ export type Database = {
35268
36605
  };
35269
36606
  Returns: string;
35270
36607
  };
36608
+ productontwerp_export: {
36609
+ Args: never;
36610
+ Returns: Json;
36611
+ };
36612
+ productontwerp_import: {
36613
+ Args: {
36614
+ p_dry_run: boolean;
36615
+ p_payload: Json;
36616
+ };
36617
+ Returns: Json;
36618
+ };
36619
+ productontwerp_product_ref: {
36620
+ Args: {
36621
+ p_id: string;
36622
+ };
36623
+ Returns: Json;
36624
+ };
35271
36625
  promote_floriday_customer: {
35272
36626
  Args: {
35273
36627
  _org_id: string;
@@ -35433,6 +36787,13 @@ export type Database = {
35433
36787
  };
35434
36788
  Returns: undefined;
35435
36789
  };
36790
+ record_offer_order_failure: {
36791
+ Args: {
36792
+ p_error: string;
36793
+ p_offer_order_id: string;
36794
+ };
36795
+ Returns: undefined;
36796
+ };
35436
36797
  refresh_external_customers_grouped: {
35437
36798
  Args: never;
35438
36799
  Returns: undefined;
@@ -35569,6 +36930,10 @@ export type Database = {
35569
36930
  };
35570
36931
  Returns: string;
35571
36932
  };
36933
+ retry_offer_orders: {
36934
+ Args: never;
36935
+ Returns: number;
36936
+ };
35572
36937
  retry_twinfield_push: {
35573
36938
  Args: {
35574
36939
  _customer_id: string;
@@ -35608,6 +36973,10 @@ export type Database = {
35608
36973
  Args: never;
35609
36974
  Returns: undefined;
35610
36975
  };
36976
+ run_floriday_follow: {
36977
+ Args: never;
36978
+ Returns: undefined;
36979
+ };
35611
36980
  run_floriday_stock_queue_process: {
35612
36981
  Args: never;
35613
36982
  Returns: undefined;
@@ -35698,6 +37067,7 @@ export type Database = {
35698
37067
  scan_eindcontrole: {
35699
37068
  Args: {
35700
37069
  p_barcode: string;
37070
+ p_bevestig_niet_geprint?: boolean;
35701
37071
  p_scanner_id?: string;
35702
37072
  };
35703
37073
  Returns: Json;
@@ -35721,6 +37091,18 @@ export type Database = {
35721
37091
  };
35722
37092
  Returns: Json;
35723
37093
  };
37094
+ scan_kar_logs: {
37095
+ Args: {
37096
+ p_cart_ids: string[];
37097
+ };
37098
+ Returns: {
37099
+ created_at: string;
37100
+ kar_id: string;
37101
+ medewerker_naam: string;
37102
+ message: string;
37103
+ result: string;
37104
+ }[];
37105
+ };
35724
37106
  scan_kar_regels: {
35725
37107
  Args: {
35726
37108
  p_cart_id: string;
@@ -35738,6 +37120,7 @@ export type Database = {
35738
37120
  scan_log_code: {
35739
37121
  Args: {
35740
37122
  p_code: string;
37123
+ p_kar_id?: string;
35741
37124
  p_latency_ms?: number;
35742
37125
  p_medewerker?: string;
35743
37126
  p_message?: string;
@@ -35972,6 +37355,13 @@ export type Database = {
35972
37355
  };
35973
37356
  Returns: number;
35974
37357
  };
37358
+ schedule_floriday_customer_offers_sync: {
37359
+ Args: {
37360
+ p_apikey: string;
37361
+ p_url: string;
37362
+ };
37363
+ Returns: number;
37364
+ };
35975
37365
  schedule_floriday_customer_organizations_sync: {
35976
37366
  Args: {
35977
37367
  p_apikey: string;
@@ -36177,6 +37567,12 @@ export type Database = {
36177
37567
  };
36178
37568
  Returns: undefined;
36179
37569
  };
37570
+ set_primary_delivery_location: {
37571
+ Args: {
37572
+ p_location_id: string;
37573
+ };
37574
+ Returns: undefined;
37575
+ };
36180
37576
  set_product_stock: {
36181
37577
  Args: {
36182
37578
  p_incoming_stock?: number;
@@ -36238,6 +37634,13 @@ export type Database = {
36238
37634
  };
36239
37635
  Returns: Json;
36240
37636
  };
37637
+ sticker_past_controle: {
37638
+ Args: {
37639
+ _print_plek_id?: string;
37640
+ _sticker_ids: string[];
37641
+ };
37642
+ Returns: Json;
37643
+ };
36241
37644
  stock_import_cleanup: {
36242
37645
  Args: never;
36243
37646
  Returns: number;
@@ -37018,6 +38421,24 @@ export type Database = {
37018
38421
  };
37019
38422
  Returns: number;
37020
38423
  };
38424
+ verkoop_create_order: {
38425
+ Args: {
38426
+ p_accept_late_signup?: boolean;
38427
+ p_accepted_by?: string;
38428
+ p_carrier_id: string;
38429
+ p_customer_id: string;
38430
+ p_customer_reference?: string;
38431
+ p_delivery_date: string;
38432
+ p_delivery_location_id: string;
38433
+ p_lines: Json;
38434
+ p_moment_key?: string;
38435
+ p_notes?: string;
38436
+ p_own_transport?: boolean;
38437
+ p_source: string;
38438
+ p_source_id: string;
38439
+ };
38440
+ Returns: Json;
38441
+ };
37021
38442
  vervang_printer: {
37022
38443
  Args: {
37023
38444
  _nieuw: string;
@@ -37039,6 +38460,20 @@ export type Database = {
37039
38460
  Args: never;
37040
38461
  Returns: Json;
37041
38462
  };
38463
+ voorraad_consume_external_fulfilled: {
38464
+ Args: {
38465
+ p_ids: string[];
38466
+ p_order_id: string;
38467
+ p_source: string;
38468
+ };
38469
+ Returns: number;
38470
+ };
38471
+ voorraad_external_fulfilled_ids: {
38472
+ Args: {
38473
+ p_cf: Json;
38474
+ };
38475
+ Returns: string[];
38476
+ };
37042
38477
  voorraad_hook_base_url: {
37043
38478
  Args: never;
37044
38479
  Returns: string;
@@ -37060,6 +38495,13 @@ export type Database = {
37060
38495
  Args: never;
37061
38496
  Returns: boolean;
37062
38497
  };
38498
+ voorraad_schema_ddl: {
38499
+ Args: {
38500
+ p_functions: string[];
38501
+ p_tables: string[];
38502
+ };
38503
+ Returns: string;
38504
+ };
37063
38505
  voorraad_week_is_past: {
37064
38506
  Args: {
37065
38507
  p_week: number;