@flowselections/layout-maker 1.63.2 → 1.65.2

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.
Files changed (64) hide show
  1. package/README.md +10 -4
  2. package/dist-lib/components/BedrijfsgegevensKaart.d.ts +3 -0
  3. package/dist-lib/components/BedrijfsgegevensKaart.d.ts.map +1 -0
  4. package/dist-lib/components/BedrijfsgegevensKaart.js +58 -0
  5. package/dist-lib/components/KlaarOmTePrintenBlok.d.ts +3 -0
  6. package/dist-lib/components/KlaarOmTePrintenBlok.d.ts.map +1 -0
  7. package/dist-lib/components/KlaarOmTePrintenBlok.js +69 -0
  8. package/dist-lib/components/LayoutsPage.d.ts.map +1 -1
  9. package/dist-lib/components/LayoutsPage.js +23 -3
  10. package/dist-lib/components/PrintQueuePage.d.ts.map +1 -1
  11. package/dist-lib/components/PrintQueuePage.js +2 -1
  12. package/dist-lib/components/PrintenPage.d.ts.map +1 -1
  13. package/dist-lib/components/PrintenPage.js +8 -2
  14. package/dist-lib/components/StandaardLayoutActies.d.ts +19 -0
  15. package/dist-lib/components/StandaardLayoutActies.d.ts.map +1 -0
  16. package/dist-lib/components/StandaardLayoutActies.js +105 -0
  17. package/dist-lib/index.d.ts +7 -0
  18. package/dist-lib/index.d.ts.map +1 -1
  19. package/dist-lib/index.js +9 -2
  20. package/dist-lib/integrations/supabase/types.d.ts +1317 -0
  21. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  22. package/dist-lib/lib/bedrijfsgegevens.d.ts +41 -0
  23. package/dist-lib/lib/bedrijfsgegevens.d.ts.map +1 -0
  24. package/dist-lib/lib/bedrijfsgegevens.functions.d.ts +41 -0
  25. package/dist-lib/lib/bedrijfsgegevens.functions.d.ts.map +1 -0
  26. package/dist-lib/lib/bedrijfsgegevens.functions.js +75 -0
  27. package/dist-lib/lib/bedrijfsgegevens.js +126 -0
  28. package/dist-lib/lib/documentTypes.d.ts +10 -0
  29. package/dist-lib/lib/documentTypes.d.ts.map +1 -1
  30. package/dist-lib/lib/documentTypes.js +8 -0
  31. package/dist-lib/lib/etiketControle.js +1 -1
  32. package/dist-lib/lib/klaarOmTePrinten.d.ts +39 -0
  33. package/dist-lib/lib/klaarOmTePrinten.d.ts.map +1 -0
  34. package/dist-lib/lib/klaarOmTePrinten.js +65 -0
  35. package/dist-lib/lib/layoutStandaarden.d.ts +19 -0
  36. package/dist-lib/lib/layoutStandaarden.d.ts.map +1 -0
  37. package/dist-lib/lib/layoutStandaarden.js +23 -0
  38. package/dist-lib/lib/printQueue.server.d.ts +2 -0
  39. package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
  40. package/dist-lib/lib/printQueue.server.js +77 -5
  41. package/dist-lib/lib/printService.functions.d.ts +1 -1
  42. package/dist-lib/lib/printService.server.d.ts +2 -0
  43. package/dist-lib/lib/printService.server.d.ts.map +1 -1
  44. package/dist-lib/lib/printService.server.js +2 -1
  45. package/dist-lib/lib/printnodeStatus.d.ts +2 -0
  46. package/dist-lib/lib/printnodeStatus.d.ts.map +1 -1
  47. package/dist-lib/lib/printnodeStatus.js +10 -0
  48. package/dist-lib/lib/printnodeWebhookBeheer.server.d.ts +1 -1
  49. package/dist-lib/lib/shellPoort.d.ts +2 -2
  50. package/dist-lib/lib/shellPoort.d.ts.map +1 -1
  51. package/dist-lib/lib/shellPoort.js +3 -2
  52. package/dist-lib/lib/standaardLayouts.server.d.ts +7 -1
  53. package/dist-lib/lib/standaardLayouts.server.d.ts.map +1 -1
  54. package/dist-lib/lib/standaardLayouts.server.js +52 -54
  55. package/dist-lib/lib/stickerFormaat.d.ts +25 -0
  56. package/dist-lib/lib/stickerFormaat.d.ts.map +1 -1
  57. package/dist-lib/lib/stickerFormaat.js +57 -0
  58. package/dist-lib/lib/useDocumentData.d.ts.map +1 -1
  59. package/dist-lib/lib/useDocumentData.js +9 -5
  60. package/dist-lib/lib/versie.generated.d.ts +2 -0
  61. package/dist-lib/lib/versie.generated.d.ts.map +1 -0
  62. package/dist-lib/lib/versie.generated.js +2 -0
  63. package/package.json +9 -4
  64. package/sql/print-schema.sql +3205 -0
@@ -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;
@@ -7604,8 +7722,14 @@ export type Database = {
7604
7722
  created_at: string;
7605
7723
  desired_availability: boolean;
7606
7724
  desired_quantity: number;
7725
+ erp_leading: boolean | null;
7726
+ erp_leading_at: string | null;
7727
+ first_positive_published_at: string | null;
7607
7728
  fixed_quantity: number | null;
7729
+ floriday_offer_forms: Json | null;
7608
7730
  floriday_trade_item_id: string | null;
7731
+ follow_floriday_at: string | null;
7732
+ follow_floriday_result: string | null;
7609
7733
  id: string;
7610
7734
  last_confirmed_at: string | null;
7611
7735
  last_enqueued_at: string | null;
@@ -7636,8 +7760,14 @@ export type Database = {
7636
7760
  created_at?: string;
7637
7761
  desired_availability?: boolean;
7638
7762
  desired_quantity?: number;
7763
+ erp_leading?: boolean | null;
7764
+ erp_leading_at?: string | null;
7765
+ first_positive_published_at?: string | null;
7639
7766
  fixed_quantity?: number | null;
7767
+ floriday_offer_forms?: Json | null;
7640
7768
  floriday_trade_item_id?: string | null;
7769
+ follow_floriday_at?: string | null;
7770
+ follow_floriday_result?: string | null;
7641
7771
  id?: string;
7642
7772
  last_confirmed_at?: string | null;
7643
7773
  last_enqueued_at?: string | null;
@@ -7668,8 +7798,14 @@ export type Database = {
7668
7798
  created_at?: string;
7669
7799
  desired_availability?: boolean;
7670
7800
  desired_quantity?: number;
7801
+ erp_leading?: boolean | null;
7802
+ erp_leading_at?: string | null;
7803
+ first_positive_published_at?: string | null;
7671
7804
  fixed_quantity?: number | null;
7805
+ floriday_offer_forms?: Json | null;
7672
7806
  floriday_trade_item_id?: string | null;
7807
+ follow_floriday_at?: string | null;
7808
+ follow_floriday_result?: string | null;
7673
7809
  id?: string;
7674
7810
  last_confirmed_at?: string | null;
7675
7811
  last_enqueued_at?: string | null;
@@ -8487,33 +8623,45 @@ export type Database = {
8487
8623
  };
8488
8624
  floriday_sync_state: {
8489
8625
  Row: {
8626
+ backfill_done_at: string | null;
8627
+ backfill_started_at: string | null;
8628
+ backfill_target_sequence: number | null;
8490
8629
  connection_id: string;
8491
8630
  entity_type: string;
8492
8631
  last_error: string | null;
8493
8632
  last_items_processed: number | null;
8494
8633
  last_max_sequence_seen: number | null;
8634
+ last_rate_limited_at: string | null;
8495
8635
  last_sequence_number: number;
8496
8636
  last_success_at: string | null;
8497
8637
  last_synced_at: string | null;
8498
8638
  updated_at: string;
8499
8639
  };
8500
8640
  Insert: {
8641
+ backfill_done_at?: string | null;
8642
+ backfill_started_at?: string | null;
8643
+ backfill_target_sequence?: number | null;
8501
8644
  connection_id: string;
8502
8645
  entity_type: string;
8503
8646
  last_error?: string | null;
8504
8647
  last_items_processed?: number | null;
8505
8648
  last_max_sequence_seen?: number | null;
8649
+ last_rate_limited_at?: string | null;
8506
8650
  last_sequence_number?: number;
8507
8651
  last_success_at?: string | null;
8508
8652
  last_synced_at?: string | null;
8509
8653
  updated_at?: string;
8510
8654
  };
8511
8655
  Update: {
8656
+ backfill_done_at?: string | null;
8657
+ backfill_started_at?: string | null;
8658
+ backfill_target_sequence?: number | null;
8512
8659
  connection_id?: string;
8513
8660
  entity_type?: string;
8514
8661
  last_error?: string | null;
8515
8662
  last_items_processed?: number | null;
8516
8663
  last_max_sequence_seen?: number | null;
8664
+ last_rate_limited_at?: string | null;
8517
8665
  last_sequence_number?: number;
8518
8666
  last_success_at?: string | null;
8519
8667
  last_synced_at?: string | null;
@@ -8529,6 +8677,116 @@ export type Database = {
8529
8677
  }
8530
8678
  ];
8531
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
+ };
8532
8790
  floriday_token_refresh_log: {
8533
8791
  Row: {
8534
8792
  attempted_at: string;
@@ -11174,6 +11432,36 @@ export type Database = {
11174
11432
  };
11175
11433
  Relationships: [];
11176
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
+ };
11177
11465
  layout_logos: {
11178
11466
  Row: {
11179
11467
  bestand_url: string;
@@ -11231,6 +11519,51 @@ export type Database = {
11231
11519
  };
11232
11520
  Relationships: [];
11233
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
+ };
11234
11567
  leave_requests: {
11235
11568
  Row: {
11236
11569
  cancellation_requested_at: string | null;
@@ -12284,6 +12617,33 @@ export type Database = {
12284
12617
  }
12285
12618
  ];
12286
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
+ };
12287
12647
  logistics_document_prints: {
12288
12648
  Row: {
12289
12649
  created_at: string;
@@ -12394,6 +12754,39 @@ export type Database = {
12394
12754
  };
12395
12755
  Relationships: [];
12396
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
+ };
12397
12790
  logistics_floriday_carrier_map: {
12398
12791
  Row: {
12399
12792
  carrier_code: string;
@@ -13334,7 +13727,9 @@ export type Database = {
13334
13727
  id: boolean;
13335
13728
  last_checked: number;
13336
13729
  last_duration_ms: number;
13730
+ last_error: string | null;
13337
13731
  last_mode: string | null;
13732
+ last_report: Json | null;
13338
13733
  last_run_at: string | null;
13339
13734
  last_updated: number;
13340
13735
  last_would_change: number | null;
@@ -13347,7 +13742,9 @@ export type Database = {
13347
13742
  id?: boolean;
13348
13743
  last_checked?: number;
13349
13744
  last_duration_ms?: number;
13745
+ last_error?: string | null;
13350
13746
  last_mode?: string | null;
13747
+ last_report?: Json | null;
13351
13748
  last_run_at?: string | null;
13352
13749
  last_updated?: number;
13353
13750
  last_would_change?: number | null;
@@ -13360,7 +13757,9 @@ export type Database = {
13360
13757
  id?: boolean;
13361
13758
  last_checked?: number;
13362
13759
  last_duration_ms?: number;
13760
+ last_error?: string | null;
13363
13761
  last_mode?: string | null;
13762
+ last_report?: Json | null;
13364
13763
  last_run_at?: string | null;
13365
13764
  last_updated?: number;
13366
13765
  last_would_change?: number | null;
@@ -13781,6 +14180,8 @@ export type Database = {
13781
14180
  handled_at: string | null;
13782
14181
  handled_error: string | null;
13783
14182
  handled_next_at: string | null;
14183
+ herprint_reden: string | null;
14184
+ herprint_requested_at: string | null;
13784
14185
  hoogte_mm: number | null;
13785
14186
  id: string;
13786
14187
  kopieen: number;
@@ -13792,6 +14193,7 @@ export type Database = {
13792
14193
  reden: string | null;
13793
14194
  soort: string;
13794
14195
  status: string;
14196
+ sticker_type: string | null;
13795
14197
  updated_at: string;
13796
14198
  };
13797
14199
  Insert: {
@@ -13804,6 +14206,8 @@ export type Database = {
13804
14206
  handled_at?: string | null;
13805
14207
  handled_error?: string | null;
13806
14208
  handled_next_at?: string | null;
14209
+ herprint_reden?: string | null;
14210
+ herprint_requested_at?: string | null;
13807
14211
  hoogte_mm?: number | null;
13808
14212
  id?: string;
13809
14213
  kopieen?: number;
@@ -13815,6 +14219,7 @@ export type Database = {
13815
14219
  reden?: string | null;
13816
14220
  soort: string;
13817
14221
  status?: string;
14222
+ sticker_type?: string | null;
13818
14223
  updated_at?: string;
13819
14224
  };
13820
14225
  Update: {
@@ -13827,6 +14232,8 @@ export type Database = {
13827
14232
  handled_at?: string | null;
13828
14233
  handled_error?: string | null;
13829
14234
  handled_next_at?: string | null;
14235
+ herprint_reden?: string | null;
14236
+ herprint_requested_at?: string | null;
13830
14237
  hoogte_mm?: number | null;
13831
14238
  id?: string;
13832
14239
  kopieen?: number;
@@ -13838,6 +14245,7 @@ export type Database = {
13838
14245
  reden?: string | null;
13839
14246
  soort?: string;
13840
14247
  status?: string;
14248
+ sticker_type?: string | null;
13841
14249
  updated_at?: string;
13842
14250
  };
13843
14251
  Relationships: [];
@@ -14187,6 +14595,33 @@ export type Database = {
14187
14595
  };
14188
14596
  Relationships: [];
14189
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
+ };
14190
14625
  logistics_time_settings: {
14191
14626
  Row: {
14192
14627
  departure_rule_since: string | null;
@@ -14514,6 +14949,45 @@ export type Database = {
14514
14949
  };
14515
14950
  Relationships: [];
14516
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
+ };
14517
14991
  mailbox_ai_settings: {
14518
14992
  Row: {
14519
14993
  active_goal_key: string | null;
@@ -14547,6 +15021,78 @@ export type Database = {
14547
15021
  };
14548
15022
  Relationships: [];
14549
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
+ };
14550
15096
  mailbox_ingest_runs: {
14551
15097
  Row: {
14552
15098
  connection_id: string | null;
@@ -14585,6 +15131,10 @@ export type Database = {
14585
15131
  };
14586
15132
  mailbox_messages: {
14587
15133
  Row: {
15134
+ analysis_count: number;
15135
+ analysis_note: string | null;
15136
+ analysis_started_at: string | null;
15137
+ analysis_state: string | null;
14588
15138
  attachments: Json;
14589
15139
  body_html: string | null;
14590
15140
  body_text: string | null;
@@ -14593,6 +15143,8 @@ export type Database = {
14593
15143
  created_at: string;
14594
15144
  error_message: string | null;
14595
15145
  external_id: string | null;
15146
+ filter_outcome: string | null;
15147
+ filter_reason: string | null;
14596
15148
  from_email: string | null;
14597
15149
  from_name: string | null;
14598
15150
  has_attachments: boolean;
@@ -14609,6 +15161,10 @@ export type Database = {
14609
15161
  updated_at: string;
14610
15162
  };
14611
15163
  Insert: {
15164
+ analysis_count?: number;
15165
+ analysis_note?: string | null;
15166
+ analysis_started_at?: string | null;
15167
+ analysis_state?: string | null;
14612
15168
  attachments?: Json;
14613
15169
  body_html?: string | null;
14614
15170
  body_text?: string | null;
@@ -14617,6 +15173,8 @@ export type Database = {
14617
15173
  created_at?: string;
14618
15174
  error_message?: string | null;
14619
15175
  external_id?: string | null;
15176
+ filter_outcome?: string | null;
15177
+ filter_reason?: string | null;
14620
15178
  from_email?: string | null;
14621
15179
  from_name?: string | null;
14622
15180
  has_attachments?: boolean;
@@ -14633,6 +15191,10 @@ export type Database = {
14633
15191
  updated_at?: string;
14634
15192
  };
14635
15193
  Update: {
15194
+ analysis_count?: number;
15195
+ analysis_note?: string | null;
15196
+ analysis_started_at?: string | null;
15197
+ analysis_state?: string | null;
14636
15198
  attachments?: Json;
14637
15199
  body_html?: string | null;
14638
15200
  body_text?: string | null;
@@ -14641,6 +15203,8 @@ export type Database = {
14641
15203
  created_at?: string;
14642
15204
  error_message?: string | null;
14643
15205
  external_id?: string | null;
15206
+ filter_outcome?: string | null;
15207
+ filter_reason?: string | null;
14644
15208
  from_email?: string | null;
14645
15209
  from_name?: string | null;
14646
15210
  has_attachments?: boolean;
@@ -14687,6 +15251,7 @@ export type Database = {
14687
15251
  confidence: number | null;
14688
15252
  created_at: string;
14689
15253
  created_order_id: string | null;
15254
+ customer_reference: string | null;
14690
15255
  delivery_date: string | null;
14691
15256
  id: string;
14692
15257
  matched_customer_id: string | null;
@@ -14705,6 +15270,7 @@ export type Database = {
14705
15270
  confidence?: number | null;
14706
15271
  created_at?: string;
14707
15272
  created_order_id?: string | null;
15273
+ customer_reference?: string | null;
14708
15274
  delivery_date?: string | null;
14709
15275
  id?: string;
14710
15276
  matched_customer_id?: string | null;
@@ -14723,6 +15289,7 @@ export type Database = {
14723
15289
  confidence?: number | null;
14724
15290
  created_at?: string;
14725
15291
  created_order_id?: string | null;
15292
+ customer_reference?: string | null;
14726
15293
  delivery_date?: string | null;
14727
15294
  id?: string;
14728
15295
  matched_customer_id?: string | null;
@@ -14859,43 +15426,85 @@ export type Database = {
14859
15426
  };
14860
15427
  mailbox_proposal_lines: {
14861
15428
  Row: {
15429
+ belading: Json | null;
15430
+ confidence: Json | null;
14862
15431
  created_at: string;
15432
+ currency: string | null;
14863
15433
  id: string;
14864
15434
  match_confidence: number | null;
15435
+ match_source: string | null;
15436
+ name_in_mail: string | null;
15437
+ pieces_per_unit: number | null;
14865
15438
  plant_type: string | null;
15439
+ plants: number | null;
15440
+ price_per: string | null;
14866
15441
  product_id: string | null;
14867
15442
  proposal_id: string;
15443
+ qty_in_mail: number | null;
14868
15444
  quantity: number | null;
15445
+ raw_code: string | null;
14869
15446
  raw_product_text: string | null;
14870
15447
  sort_order: number;
14871
15448
  unit: string | null;
15449
+ unit_kind: string | null;
15450
+ unit_price: number | null;
15451
+ unit_text: string | null;
14872
15452
  updated_at: string;
15453
+ warnings: string[] | null;
14873
15454
  };
14874
15455
  Insert: {
15456
+ belading?: Json | null;
15457
+ confidence?: Json | null;
14875
15458
  created_at?: string;
15459
+ currency?: string | null;
14876
15460
  id?: string;
14877
15461
  match_confidence?: number | null;
15462
+ match_source?: string | null;
15463
+ name_in_mail?: string | null;
15464
+ pieces_per_unit?: number | null;
14878
15465
  plant_type?: string | null;
15466
+ plants?: number | null;
15467
+ price_per?: string | null;
14879
15468
  product_id?: string | null;
14880
15469
  proposal_id: string;
15470
+ qty_in_mail?: number | null;
14881
15471
  quantity?: number | null;
15472
+ raw_code?: string | null;
14882
15473
  raw_product_text?: string | null;
14883
15474
  sort_order?: number;
14884
15475
  unit?: string | null;
15476
+ unit_kind?: string | null;
15477
+ unit_price?: number | null;
15478
+ unit_text?: string | null;
14885
15479
  updated_at?: string;
15480
+ warnings?: string[] | null;
14886
15481
  };
14887
15482
  Update: {
15483
+ belading?: Json | null;
15484
+ confidence?: Json | null;
14888
15485
  created_at?: string;
15486
+ currency?: string | null;
14889
15487
  id?: string;
14890
15488
  match_confidence?: number | null;
15489
+ match_source?: string | null;
15490
+ name_in_mail?: string | null;
15491
+ pieces_per_unit?: number | null;
14891
15492
  plant_type?: string | null;
15493
+ plants?: number | null;
15494
+ price_per?: string | null;
14892
15495
  product_id?: string | null;
14893
15496
  proposal_id?: string;
15497
+ qty_in_mail?: number | null;
14894
15498
  quantity?: number | null;
15499
+ raw_code?: string | null;
14895
15500
  raw_product_text?: string | null;
14896
15501
  sort_order?: number;
14897
15502
  unit?: string | null;
15503
+ unit_kind?: string | null;
15504
+ unit_price?: number | null;
15505
+ unit_text?: string | null;
14898
15506
  updated_at?: string;
15507
+ warnings?: string[] | null;
14899
15508
  };
14900
15509
  Relationships: [
14901
15510
  {
@@ -14969,6 +15578,51 @@ export type Database = {
14969
15578
  };
14970
15579
  Relationships: [];
14971
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
+ };
14972
15626
  manufacture_product_components: {
14973
15627
  Row: {
14974
15628
  component_type: string;
@@ -16091,10 +16745,12 @@ export type Database = {
16091
16745
  id: string;
16092
16746
  items: Json;
16093
16747
  notes: string | null;
16748
+ order_creation_attempts: number;
16094
16749
  order_creation_error: string | null;
16095
16750
  order_creation_failed_at: string | null;
16096
16751
  order_id: string | null;
16097
16752
  order_number: string | null;
16753
+ order_retry_payload: Json | null;
16098
16754
  recipient_id: string;
16099
16755
  total_amount: number;
16100
16756
  };
@@ -16108,10 +16764,12 @@ export type Database = {
16108
16764
  id?: string;
16109
16765
  items?: Json;
16110
16766
  notes?: string | null;
16767
+ order_creation_attempts?: number;
16111
16768
  order_creation_error?: string | null;
16112
16769
  order_creation_failed_at?: string | null;
16113
16770
  order_id?: string | null;
16114
16771
  order_number?: string | null;
16772
+ order_retry_payload?: Json | null;
16115
16773
  recipient_id: string;
16116
16774
  total_amount?: number;
16117
16775
  };
@@ -16125,10 +16783,12 @@ export type Database = {
16125
16783
  id?: string;
16126
16784
  items?: Json;
16127
16785
  notes?: string | null;
16786
+ order_creation_attempts?: number;
16128
16787
  order_creation_error?: string | null;
16129
16788
  order_creation_failed_at?: string | null;
16130
16789
  order_id?: string | null;
16131
16790
  order_number?: string | null;
16791
+ order_retry_payload?: Json | null;
16132
16792
  recipient_id?: string;
16133
16793
  total_amount?: number;
16134
16794
  };
@@ -20882,6 +21542,69 @@ export type Database = {
20882
21542
  }
20883
21543
  ];
20884
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
+ };
20885
21608
  products: {
20886
21609
  Row: {
20887
21610
  article_number: string | null;
@@ -28708,6 +29431,10 @@ export type Database = {
28708
29431
  };
28709
29432
  };
28710
29433
  Functions: {
29434
+ _arm_offer_order_retry: {
29435
+ Args: never;
29436
+ Returns: undefined;
29437
+ };
28711
29438
  _floriday_queue_cleanup_batch: {
28712
29439
  Args: {
28713
29440
  p_days: number;
@@ -28735,6 +29462,10 @@ export type Database = {
28735
29462
  };
28736
29463
  Returns: string[][];
28737
29464
  };
29465
+ _layout_is_beheerder: {
29466
+ Args: never;
29467
+ Returns: boolean;
29468
+ };
28738
29469
  _migrate_rewrite_stock_key: {
28739
29470
  Args: {
28740
29471
  _from_key: string;
@@ -28742,6 +29473,18 @@ export type Database = {
28742
29473
  };
28743
29474
  Returns: undefined;
28744
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
+ };
28745
29488
  _print_meld_stilstand: {
28746
29489
  Args: {
28747
29490
  _reden: string;
@@ -28755,6 +29498,13 @@ export type Database = {
28755
29498
  };
28756
29499
  Returns: Json;
28757
29500
  };
29501
+ _scan_kar_floriday_afgehandeld: {
29502
+ Args: {
29503
+ p_cart_id: string;
29504
+ p_order_id?: string;
29505
+ };
29506
+ Returns: Json;
29507
+ };
28758
29508
  _scan_kar_pakbon_geprint: {
28759
29509
  Args: {
28760
29510
  p_cart_id: string;
@@ -28814,6 +29564,12 @@ export type Database = {
28814
29564
  };
28815
29565
  Returns: string;
28816
29566
  };
29567
+ afh_order_floriday_afgehandeld: {
29568
+ Args: {
29569
+ p_order_id: string;
29570
+ };
29571
+ Returns: boolean;
29572
+ };
28817
29573
  afh_pick_workdays: {
28818
29574
  Args: {
28819
29575
  p_from: string;
@@ -28856,6 +29612,14 @@ export type Database = {
28856
29612
  };
28857
29613
  Returns: Json;
28858
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
+ };
28859
29623
  afh_signup_mail: {
28860
29624
  Args: {
28861
29625
  g: Json;
@@ -28872,6 +29636,14 @@ export type Database = {
28872
29636
  };
28873
29637
  Returns: Json;
28874
29638
  };
29639
+ afh_signup_mail_wacht: {
29640
+ Args: {
29641
+ g: Json;
29642
+ p_prev: number;
29643
+ p_tz: string;
29644
+ };
29645
+ Returns: Json;
29646
+ };
28875
29647
  afh_signup_send_group: {
28876
29648
  Args: {
28877
29649
  g: Json;
@@ -29974,6 +30746,30 @@ export type Database = {
29974
30746
  };
29975
30747
  Returns: boolean;
29976
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
+ };
29977
30773
  floriday_adopt_connection: {
29978
30774
  Args: {
29979
30775
  p_new: string;
@@ -29997,6 +30793,18 @@ export type Database = {
29997
30793
  Args: never;
29998
30794
  Returns: undefined;
29999
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
+ };
30000
30808
  floriday_default_owner: {
30001
30809
  Args: {
30002
30810
  p_connection_id: string;
@@ -30033,16 +30841,70 @@ export type Database = {
30033
30841
  source_id: string;
30034
30842
  }[];
30035
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
+ };
30036
30877
  floriday_fill_publish_horizon: {
30037
30878
  Args: never;
30038
30879
  Returns: number;
30039
30880
  };
30881
+ floriday_follow_apply: {
30882
+ Args: {
30883
+ p_connection_id: string;
30884
+ p_items: Json;
30885
+ };
30886
+ Returns: Json;
30887
+ };
30040
30888
  floriday_ingest_sales_orders: {
30041
30889
  Args: {
30042
30890
  p_limit?: number;
30043
30891
  };
30044
30892
  Returns: number;
30045
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
+ };
30046
30908
  floriday_network_status: {
30047
30909
  Args: {
30048
30910
  p_organization_id: string;
@@ -30054,6 +30916,12 @@ export type Database = {
30054
30916
  synced_at: string;
30055
30917
  }[];
30056
30918
  };
30919
+ floriday_norm_offer_forms: {
30920
+ Args: {
30921
+ p: Json;
30922
+ };
30923
+ Returns: Json;
30924
+ };
30057
30925
  floriday_orphan_settings_count: {
30058
30926
  Args: never;
30059
30927
  Returns: number;
@@ -30082,10 +30950,34 @@ export type Database = {
30082
30950
  };
30083
30951
  Returns: number;
30084
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
+ };
30085
30973
  floriday_today_announce_summary: {
30086
30974
  Args: never;
30087
30975
  Returns: Json;
30088
30976
  };
30977
+ floriday_write_mode: {
30978
+ Args: never;
30979
+ Returns: Json;
30980
+ };
30089
30981
  format_cart_number: {
30090
30982
  Args: {
30091
30983
  p_pick_date: string;
@@ -30944,6 +31836,10 @@ export type Database = {
30944
31836
  };
30945
31837
  Returns: boolean;
30946
31838
  };
31839
+ klanten_install_check: {
31840
+ Args: never;
31841
+ Returns: Json;
31842
+ };
30947
31843
  layout_print_document: {
30948
31844
  Args: {
30949
31845
  _documentnaam: string;
@@ -30970,6 +31866,18 @@ export type Database = {
30970
31866
  status: string;
30971
31867
  }[];
30972
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
+ };
30973
31881
  layout_verwijzing_omzetten: {
30974
31882
  Args: {
30975
31883
  _nieuw: string;
@@ -30983,6 +31891,10 @@ export type Database = {
30983
31891
  Args: never;
30984
31892
  Returns: Json;
30985
31893
  };
31894
+ layout_zorg_systeemlayouts: {
31895
+ Args: never;
31896
+ Returns: number;
31897
+ };
30986
31898
  list_medewerkers: {
30987
31899
  Args: never;
30988
31900
  Returns: {
@@ -31074,6 +31986,14 @@ export type Database = {
31074
31986
  };
31075
31987
  Returns: string;
31076
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
+ };
31077
31997
  logistics_active_layout_method: {
31078
31998
  Args: never;
31079
31999
  Returns: string;
@@ -31136,6 +32056,12 @@ export type Database = {
31136
32056
  Args: never;
31137
32057
  Returns: undefined;
31138
32058
  };
32059
+ logistics_apply_external_fulfillment: {
32060
+ Args: {
32061
+ p_event_id: string;
32062
+ };
32063
+ Returns: string;
32064
+ };
31139
32065
  logistics_apply_order_buffer: {
31140
32066
  Args: {
31141
32067
  p_order_id: string;
@@ -31286,6 +32212,12 @@ export type Database = {
31286
32212
  };
31287
32213
  Returns: Json;
31288
32214
  };
32215
+ logistics_buffer_closed_for_join: {
32216
+ Args: {
32217
+ p_buffer: string;
32218
+ };
32219
+ Returns: boolean;
32220
+ };
31289
32221
  logistics_buffer_criteria: {
31290
32222
  Args: {
31291
32223
  p_settings: Json;
@@ -31314,6 +32246,12 @@ export type Database = {
31314
32246
  };
31315
32247
  Returns: Json;
31316
32248
  };
32249
+ logistics_buffer_frozen: {
32250
+ Args: {
32251
+ p_buffer: string;
32252
+ };
32253
+ Returns: boolean;
32254
+ };
31317
32255
  logistics_buffer_frozen_order: {
31318
32256
  Args: {
31319
32257
  p_order_id: string;
@@ -31354,6 +32292,12 @@ export type Database = {
31354
32292
  };
31355
32293
  Returns: Json;
31356
32294
  };
32295
+ logistics_buffer_target: {
32296
+ Args: {
32297
+ p_order_id: string;
32298
+ };
32299
+ Returns: Json;
32300
+ };
31357
32301
  logistics_buffer_value: {
31358
32302
  Args: {
31359
32303
  p_criterion: string;
@@ -31392,6 +32336,13 @@ export type Database = {
31392
32336
  };
31393
32337
  Returns: Json;
31394
32338
  };
32339
+ logistics_carrier_for_location: {
32340
+ Args: {
32341
+ p_customer_id: string;
32342
+ p_location: string;
32343
+ };
32344
+ Returns: string;
32345
+ };
31395
32346
  logistics_carrier_minutes: {
31396
32347
  Args: {
31397
32348
  p_carrier: string;
@@ -31466,6 +32417,12 @@ export type Database = {
31466
32417
  };
31467
32418
  Returns: boolean;
31468
32419
  };
32420
+ logistics_cart_has_packing_slip: {
32421
+ Args: {
32422
+ p_cart_id: string;
32423
+ };
32424
+ Returns: boolean;
32425
+ };
31469
32426
  logistics_cart_ids_frozen: {
31470
32427
  Args: {
31471
32428
  p_cart_ids: string[];
@@ -31612,6 +32569,12 @@ export type Database = {
31612
32569
  };
31613
32570
  Returns: Json;
31614
32571
  };
32572
+ logistics_cart_slip_queued: {
32573
+ Args: {
32574
+ p_cart: string;
32575
+ };
32576
+ Returns: boolean;
32577
+ };
31615
32578
  logistics_cart_sticker_state: {
31616
32579
  Args: {
31617
32580
  p_cart_id: string;
@@ -32003,6 +32966,25 @@ export type Database = {
32003
32966
  printed_count: number;
32004
32967
  }[];
32005
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
+ };
32006
32988
  logistics_document_layout: {
32007
32989
  Args: {
32008
32990
  _document_code: string;
@@ -32086,6 +33068,10 @@ export type Database = {
32086
33068
  };
32087
33069
  Returns: Json;
32088
33070
  };
33071
+ logistics_ensure_runtime_defaults: {
33072
+ Args: never;
33073
+ Returns: undefined;
33074
+ };
32089
33075
  logistics_ensure_shipping_notes: {
32090
33076
  Args: {
32091
33077
  p_limit?: number;
@@ -32106,6 +33092,17 @@ export type Database = {
32106
33092
  ref: string;
32107
33093
  }[];
32108
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
+ };
32109
33106
  logistics_fail_task: {
32110
33107
  Args: {
32111
33108
  p_error: string;
@@ -32243,6 +33240,10 @@ export type Database = {
32243
33240
  Args: never;
32244
33241
  Returns: Json;
32245
33242
  };
33243
+ logistics_floriday_is_read_only: {
33244
+ Args: never;
33245
+ Returns: boolean;
33246
+ };
32246
33247
  logistics_floriday_layout_id: {
32247
33248
  Args: {
32248
33249
  p_documenttype: string;
@@ -32283,6 +33284,13 @@ export type Database = {
32283
33284
  };
32284
33285
  Returns: number;
32285
33286
  };
33287
+ logistics_floriday_push_hold_read_only: {
33288
+ Args: {
33289
+ _id: string;
33290
+ _revision: number;
33291
+ };
33292
+ Returns: string;
33293
+ };
32286
33294
  logistics_floriday_queue_push: {
32287
33295
  Args: {
32288
33296
  _order_ref: string;
@@ -32291,6 +33299,10 @@ export type Database = {
32291
33299
  };
32292
33300
  Returns: string;
32293
33301
  };
33302
+ logistics_floriday_release_read_only: {
33303
+ Args: never;
33304
+ Returns: Json;
33305
+ };
32294
33306
  logistics_floriday_status_updates_enabled: {
32295
33307
  Args: never;
32296
33308
  Returns: boolean;
@@ -32354,6 +33366,13 @@ export type Database = {
32354
33366
  };
32355
33367
  Returns: boolean;
32356
33368
  };
33369
+ logistics_item_external_fulfilled: {
33370
+ Args: {
33371
+ p_order_id: string;
33372
+ p_source_line_key: string;
33373
+ };
33374
+ Returns: boolean;
33375
+ };
32357
33376
  logistics_key_product: {
32358
33377
  Args: {
32359
33378
  p_key: string;
@@ -32435,6 +33454,19 @@ export type Database = {
32435
33454
  };
32436
33455
  Returns: string;
32437
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
+ };
32438
33470
  logistics_normalize_product_label: {
32439
33471
  Args: {
32440
33472
  p_label: string;
@@ -32527,6 +33559,21 @@ export type Database = {
32527
33559
  };
32528
33560
  Returns: Json;
32529
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
+ };
32530
33577
  logistics_order_documents_ready: {
32531
33578
  Args: {
32532
33579
  p_order_ref: string;
@@ -32539,6 +33586,12 @@ export type Database = {
32539
33586
  };
32540
33587
  Returns: boolean;
32541
33588
  };
33589
+ logistics_order_external_state: {
33590
+ Args: {
33591
+ p_order_id: string;
33592
+ };
33593
+ Returns: Json;
33594
+ };
32542
33595
  logistics_order_finalize_enqueue: {
32543
33596
  Args: {
32544
33597
  p_order_id: string;
@@ -32619,6 +33672,12 @@ export type Database = {
32619
33672
  };
32620
33673
  Returns: boolean;
32621
33674
  };
33675
+ logistics_order_is_shipped_status: {
33676
+ Args: {
33677
+ p_status: string;
33678
+ };
33679
+ Returns: boolean;
33680
+ };
32622
33681
  logistics_order_is_topick: {
32623
33682
  Args: {
32624
33683
  p_order_id: string;
@@ -32731,6 +33790,12 @@ export type Database = {
32731
33790
  state: string;
32732
33791
  }[];
32733
33792
  };
33793
+ logistics_order_plan_coverage_v165: {
33794
+ Args: {
33795
+ p_order_id: string;
33796
+ };
33797
+ Returns: Json;
33798
+ };
32734
33799
  logistics_order_released: {
32735
33800
  Args: {
32736
33801
  p_order_ref: string;
@@ -32751,6 +33816,13 @@ export type Database = {
32751
33816
  Args: never;
32752
33817
  Returns: Json;
32753
33818
  };
33819
+ logistics_own_transport_departure: {
33820
+ Args: {
33821
+ p_delivery_date: string;
33822
+ p_pickup_at: string;
33823
+ };
33824
+ Returns: Json;
33825
+ };
32754
33826
  logistics_packing_autofix: {
32755
33827
  Args: {
32756
33828
  p_limit?: number;
@@ -33225,6 +34297,12 @@ export type Database = {
33225
34297
  Args: never;
33226
34298
  Returns: number;
33227
34299
  };
34300
+ logistics_rebuffer_candidates: {
34301
+ Args: never;
34302
+ Returns: {
34303
+ order_id: string;
34304
+ }[];
34305
+ };
33228
34306
  logistics_rebuffer_open_orders: {
33229
34307
  Args: {
33230
34308
  p_strategy_id?: string;
@@ -33241,6 +34319,23 @@ export type Database = {
33241
34319
  Args: never;
33242
34320
  Returns: Json;
33243
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
+ };
33244
34339
  logistics_recalc_tick_kick: {
33245
34340
  Args: never;
33246
34341
  Returns: number;
@@ -33273,6 +34368,12 @@ export type Database = {
33273
34368
  };
33274
34369
  Returns: Json;
33275
34370
  };
34371
+ logistics_register_tick_apikey: {
34372
+ Args: {
34373
+ p_key: string;
34374
+ };
34375
+ Returns: Json;
34376
+ };
33276
34377
  logistics_replan_all: {
33277
34378
  Args: {
33278
34379
  p_reason?: string;
@@ -33479,6 +34580,13 @@ export type Database = {
33479
34580
  };
33480
34581
  Returns: Json;
33481
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
+ };
33482
34590
  logistics_scan_delays: {
33483
34591
  Args: never;
33484
34592
  Returns: number;
@@ -33537,6 +34645,10 @@ export type Database = {
33537
34645
  peer_order_id: string;
33538
34646
  }[];
33539
34647
  };
34648
+ logistics_shell_base_url: {
34649
+ Args: never;
34650
+ Returns: string;
34651
+ };
33540
34652
  logistics_shift_to_workday: {
33541
34653
  Args: {
33542
34654
  p_days: string[];
@@ -33616,6 +34728,12 @@ export type Database = {
33616
34728
  };
33617
34729
  Returns: boolean;
33618
34730
  };
34731
+ logistics_slip_is_herprint: {
34732
+ Args: {
34733
+ p_slip_job_id: string;
34734
+ };
34735
+ Returns: boolean;
34736
+ };
33619
34737
  logistics_slip_note_claim: {
33620
34738
  Args: {
33621
34739
  _lease_seconds?: number;
@@ -33689,6 +34807,12 @@ export type Database = {
33689
34807
  };
33690
34808
  Returns: undefined;
33691
34809
  };
34810
+ logistics_slip_note_hold_read_only: {
34811
+ Args: {
34812
+ _id: string;
34813
+ };
34814
+ Returns: undefined;
34815
+ };
33692
34816
  logistics_slip_note_keep_waiting: {
33693
34817
  Args: {
33694
34818
  _class?: string;
@@ -33707,12 +34831,22 @@ export type Database = {
33707
34831
  };
33708
34832
  Returns: Json;
33709
34833
  };
34834
+ logistics_slip_note_skip_herprint: {
34835
+ Args: {
34836
+ _id: string;
34837
+ };
34838
+ Returns: undefined;
34839
+ };
33710
34840
  logistics_status_after_shipping: {
33711
34841
  Args: {
33712
34842
  p_status: string;
33713
34843
  };
33714
34844
  Returns: boolean;
33715
34845
  };
34846
+ logistics_sticker_blocked_list: {
34847
+ Args: never;
34848
+ Returns: Json;
34849
+ };
33716
34850
  logistics_sticker_cart_plek: {
33717
34851
  Args: {
33718
34852
  _cart: string;
@@ -33720,6 +34854,26 @@ export type Database = {
33720
34854
  };
33721
34855
  Returns: string;
33722
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
+ };
33723
34877
  logistics_sticker_follows_slip: {
33724
34878
  Args: never;
33725
34879
  Returns: boolean;
@@ -33797,6 +34951,12 @@ export type Database = {
33797
34951
  Args: never;
33798
34952
  Returns: Json;
33799
34953
  };
34954
+ logistics_sync_stock_alert_email_status: {
34955
+ Args: {
34956
+ p_limit?: number;
34957
+ };
34958
+ Returns: Json;
34959
+ };
33800
34960
  logistics_sync_task_carriers: {
33801
34961
  Args: {
33802
34962
  p_order_ref?: string;
@@ -33859,6 +35019,10 @@ export type Database = {
33859
35019
  Args: never;
33860
35020
  Returns: string;
33861
35021
  };
35022
+ logistics_tick_runs_prune: {
35023
+ Args: never;
35024
+ Returns: number;
35025
+ };
33862
35026
  logistics_timezone_options: {
33863
35027
  Args: never;
33864
35028
  Returns: {
@@ -34034,6 +35198,12 @@ export type Database = {
34034
35198
  };
34035
35199
  Returns: Json;
34036
35200
  };
35201
+ logistics_try_uuid: {
35202
+ Args: {
35203
+ p: string;
35204
+ };
35205
+ Returns: string;
35206
+ };
34037
35207
  logistics_tz: {
34038
35208
  Args: never;
34039
35209
  Returns: string;
@@ -34075,6 +35245,12 @@ export type Database = {
34075
35245
  };
34076
35246
  Returns: boolean;
34077
35247
  };
35248
+ logistics_verkoop_order_link: {
35249
+ Args: {
35250
+ p_order_id: string;
35251
+ };
35252
+ Returns: string;
35253
+ };
34078
35254
  logistics_working_hours_status: {
34079
35255
  Args: never;
34080
35256
  Returns: Json;
@@ -34091,6 +35267,14 @@ export type Database = {
34091
35267
  };
34092
35268
  Returns: number;
34093
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
+ };
34094
35278
  mark_offer_clicked: {
34095
35279
  Args: {
34096
35280
  p_code: string;
@@ -34980,6 +36164,12 @@ export type Database = {
34980
36164
  };
34981
36165
  Returns: string;
34982
36166
  };
36167
+ pick_sticker_past_controle: {
36168
+ Args: {
36169
+ p_cart_id: string;
36170
+ };
36171
+ Returns: Json;
36172
+ };
34983
36173
  pick_sync_pick_day: {
34984
36174
  Args: {
34985
36175
  _day: string;
@@ -35059,6 +36249,21 @@ export type Database = {
35059
36249
  };
35060
36250
  Returns: undefined;
35061
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
+ };
35062
36267
  plan_standby_batch: {
35063
36268
  Args: {
35064
36269
  _items: Json;
@@ -35211,6 +36416,14 @@ export type Database = {
35211
36416
  status: string;
35212
36417
  }[];
35213
36418
  };
36419
+ print_kopieen_aantal: {
36420
+ Args: {
36421
+ _kopieen: number;
36422
+ _payload: Json;
36423
+ _type: string;
36424
+ };
36425
+ Returns: number;
36426
+ };
35214
36427
  print_preview_toestaan: {
35215
36428
  Args: {
35216
36429
  _max?: number;
@@ -35392,6 +36605,23 @@ export type Database = {
35392
36605
  };
35393
36606
  Returns: string;
35394
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
+ };
35395
36625
  promote_floriday_customer: {
35396
36626
  Args: {
35397
36627
  _org_id: string;
@@ -35557,6 +36787,13 @@ export type Database = {
35557
36787
  };
35558
36788
  Returns: undefined;
35559
36789
  };
36790
+ record_offer_order_failure: {
36791
+ Args: {
36792
+ p_error: string;
36793
+ p_offer_order_id: string;
36794
+ };
36795
+ Returns: undefined;
36796
+ };
35560
36797
  refresh_external_customers_grouped: {
35561
36798
  Args: never;
35562
36799
  Returns: undefined;
@@ -35693,6 +36930,10 @@ export type Database = {
35693
36930
  };
35694
36931
  Returns: string;
35695
36932
  };
36933
+ retry_offer_orders: {
36934
+ Args: never;
36935
+ Returns: number;
36936
+ };
35696
36937
  retry_twinfield_push: {
35697
36938
  Args: {
35698
36939
  _customer_id: string;
@@ -35732,6 +36973,10 @@ export type Database = {
35732
36973
  Args: never;
35733
36974
  Returns: undefined;
35734
36975
  };
36976
+ run_floriday_follow: {
36977
+ Args: never;
36978
+ Returns: undefined;
36979
+ };
35735
36980
  run_floriday_stock_queue_process: {
35736
36981
  Args: never;
35737
36982
  Returns: undefined;
@@ -35846,6 +37091,18 @@ export type Database = {
35846
37091
  };
35847
37092
  Returns: Json;
35848
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
+ };
35849
37106
  scan_kar_regels: {
35850
37107
  Args: {
35851
37108
  p_cart_id: string;
@@ -35863,6 +37120,7 @@ export type Database = {
35863
37120
  scan_log_code: {
35864
37121
  Args: {
35865
37122
  p_code: string;
37123
+ p_kar_id?: string;
35866
37124
  p_latency_ms?: number;
35867
37125
  p_medewerker?: string;
35868
37126
  p_message?: string;
@@ -36097,6 +37355,13 @@ export type Database = {
36097
37355
  };
36098
37356
  Returns: number;
36099
37357
  };
37358
+ schedule_floriday_customer_offers_sync: {
37359
+ Args: {
37360
+ p_apikey: string;
37361
+ p_url: string;
37362
+ };
37363
+ Returns: number;
37364
+ };
36100
37365
  schedule_floriday_customer_organizations_sync: {
36101
37366
  Args: {
36102
37367
  p_apikey: string;
@@ -36302,6 +37567,12 @@ export type Database = {
36302
37567
  };
36303
37568
  Returns: undefined;
36304
37569
  };
37570
+ set_primary_delivery_location: {
37571
+ Args: {
37572
+ p_location_id: string;
37573
+ };
37574
+ Returns: undefined;
37575
+ };
36305
37576
  set_product_stock: {
36306
37577
  Args: {
36307
37578
  p_incoming_stock?: number;
@@ -36363,6 +37634,13 @@ export type Database = {
36363
37634
  };
36364
37635
  Returns: Json;
36365
37636
  };
37637
+ sticker_past_controle: {
37638
+ Args: {
37639
+ _print_plek_id?: string;
37640
+ _sticker_ids: string[];
37641
+ };
37642
+ Returns: Json;
37643
+ };
36366
37644
  stock_import_cleanup: {
36367
37645
  Args: never;
36368
37646
  Returns: number;
@@ -37143,6 +38421,24 @@ export type Database = {
37143
38421
  };
37144
38422
  Returns: number;
37145
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
+ };
37146
38442
  vervang_printer: {
37147
38443
  Args: {
37148
38444
  _nieuw: string;
@@ -37164,6 +38460,20 @@ export type Database = {
37164
38460
  Args: never;
37165
38461
  Returns: Json;
37166
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
+ };
37167
38477
  voorraad_hook_base_url: {
37168
38478
  Args: never;
37169
38479
  Returns: string;
@@ -37185,6 +38495,13 @@ export type Database = {
37185
38495
  Args: never;
37186
38496
  Returns: boolean;
37187
38497
  };
38498
+ voorraad_schema_ddl: {
38499
+ Args: {
38500
+ p_functions: string[];
38501
+ p_tables: string[];
38502
+ };
38503
+ Returns: string;
38504
+ };
37188
38505
  voorraad_week_is_past: {
37189
38506
  Args: {
37190
38507
  p_week: number;