@flowselections/mailbox-orders 1.0.32 → 1.0.34

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;
@@ -6766,9 +6816,16 @@ export type Database = {
6766
6816
  id: string;
6767
6817
  is_active: boolean;
6768
6818
  label: string;
6819
+ organization_fetched_at: string | null;
6820
+ organization_id: string | null;
6821
+ organization_mailing_address: Json | null;
6769
6822
  organization_name: string | null;
6823
+ organization_physical_address: Json | null;
6770
6824
  preferred_warehouse_id: string | null;
6771
6825
  preferred_warehouse_name: string | null;
6826
+ read_only: boolean;
6827
+ read_only_changed_at: string | null;
6828
+ read_only_changed_by: string | null;
6772
6829
  token_expires_at: string | null;
6773
6830
  updated_at: string;
6774
6831
  };
@@ -6781,9 +6838,16 @@ export type Database = {
6781
6838
  id?: string;
6782
6839
  is_active?: boolean;
6783
6840
  label?: string;
6841
+ organization_fetched_at?: string | null;
6842
+ organization_id?: string | null;
6843
+ organization_mailing_address?: Json | null;
6784
6844
  organization_name?: string | null;
6845
+ organization_physical_address?: Json | null;
6785
6846
  preferred_warehouse_id?: string | null;
6786
6847
  preferred_warehouse_name?: string | null;
6848
+ read_only?: boolean;
6849
+ read_only_changed_at?: string | null;
6850
+ read_only_changed_by?: string | null;
6787
6851
  token_expires_at?: string | null;
6788
6852
  updated_at?: string;
6789
6853
  };
@@ -6796,9 +6860,16 @@ export type Database = {
6796
6860
  id?: string;
6797
6861
  is_active?: boolean;
6798
6862
  label?: string;
6863
+ organization_fetched_at?: string | null;
6864
+ organization_id?: string | null;
6865
+ organization_mailing_address?: Json | null;
6799
6866
  organization_name?: string | null;
6867
+ organization_physical_address?: Json | null;
6800
6868
  preferred_warehouse_id?: string | null;
6801
6869
  preferred_warehouse_name?: string | null;
6870
+ read_only?: boolean;
6871
+ read_only_changed_at?: string | null;
6872
+ read_only_changed_by?: string | null;
6802
6873
  token_expires_at?: string | null;
6803
6874
  updated_at?: string;
6804
6875
  };
@@ -7056,6 +7127,44 @@ export type Database = {
7056
7127
  }
7057
7128
  ];
7058
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
+ };
7059
7168
  floriday_customer_sticker_pdfs_cache: {
7060
7169
  Row: {
7061
7170
  byte_size: number | null;
@@ -7613,8 +7722,14 @@ export type Database = {
7613
7722
  created_at: string;
7614
7723
  desired_availability: boolean;
7615
7724
  desired_quantity: number;
7725
+ erp_leading: boolean | null;
7726
+ erp_leading_at: string | null;
7727
+ first_positive_published_at: string | null;
7616
7728
  fixed_quantity: number | null;
7729
+ floriday_offer_forms: Json | null;
7617
7730
  floriday_trade_item_id: string | null;
7731
+ follow_floriday_at: string | null;
7732
+ follow_floriday_result: string | null;
7618
7733
  id: string;
7619
7734
  last_confirmed_at: string | null;
7620
7735
  last_enqueued_at: string | null;
@@ -7645,8 +7760,14 @@ export type Database = {
7645
7760
  created_at?: string;
7646
7761
  desired_availability?: boolean;
7647
7762
  desired_quantity?: number;
7763
+ erp_leading?: boolean | null;
7764
+ erp_leading_at?: string | null;
7765
+ first_positive_published_at?: string | null;
7648
7766
  fixed_quantity?: number | null;
7767
+ floriday_offer_forms?: Json | null;
7649
7768
  floriday_trade_item_id?: string | null;
7769
+ follow_floriday_at?: string | null;
7770
+ follow_floriday_result?: string | null;
7650
7771
  id?: string;
7651
7772
  last_confirmed_at?: string | null;
7652
7773
  last_enqueued_at?: string | null;
@@ -7677,8 +7798,14 @@ export type Database = {
7677
7798
  created_at?: string;
7678
7799
  desired_availability?: boolean;
7679
7800
  desired_quantity?: number;
7801
+ erp_leading?: boolean | null;
7802
+ erp_leading_at?: string | null;
7803
+ first_positive_published_at?: string | null;
7680
7804
  fixed_quantity?: number | null;
7805
+ floriday_offer_forms?: Json | null;
7681
7806
  floriday_trade_item_id?: string | null;
7807
+ follow_floriday_at?: string | null;
7808
+ follow_floriday_result?: string | null;
7682
7809
  id?: string;
7683
7810
  last_confirmed_at?: string | null;
7684
7811
  last_enqueued_at?: string | null;
@@ -8496,33 +8623,45 @@ export type Database = {
8496
8623
  };
8497
8624
  floriday_sync_state: {
8498
8625
  Row: {
8626
+ backfill_done_at: string | null;
8627
+ backfill_started_at: string | null;
8628
+ backfill_target_sequence: number | null;
8499
8629
  connection_id: string;
8500
8630
  entity_type: string;
8501
8631
  last_error: string | null;
8502
8632
  last_items_processed: number | null;
8503
8633
  last_max_sequence_seen: number | null;
8634
+ last_rate_limited_at: string | null;
8504
8635
  last_sequence_number: number;
8505
8636
  last_success_at: string | null;
8506
8637
  last_synced_at: string | null;
8507
8638
  updated_at: string;
8508
8639
  };
8509
8640
  Insert: {
8641
+ backfill_done_at?: string | null;
8642
+ backfill_started_at?: string | null;
8643
+ backfill_target_sequence?: number | null;
8510
8644
  connection_id: string;
8511
8645
  entity_type: string;
8512
8646
  last_error?: string | null;
8513
8647
  last_items_processed?: number | null;
8514
8648
  last_max_sequence_seen?: number | null;
8649
+ last_rate_limited_at?: string | null;
8515
8650
  last_sequence_number?: number;
8516
8651
  last_success_at?: string | null;
8517
8652
  last_synced_at?: string | null;
8518
8653
  updated_at?: string;
8519
8654
  };
8520
8655
  Update: {
8656
+ backfill_done_at?: string | null;
8657
+ backfill_started_at?: string | null;
8658
+ backfill_target_sequence?: number | null;
8521
8659
  connection_id?: string;
8522
8660
  entity_type?: string;
8523
8661
  last_error?: string | null;
8524
8662
  last_items_processed?: number | null;
8525
8663
  last_max_sequence_seen?: number | null;
8664
+ last_rate_limited_at?: string | null;
8526
8665
  last_sequence_number?: number;
8527
8666
  last_success_at?: string | null;
8528
8667
  last_synced_at?: string | null;
@@ -8538,6 +8677,116 @@ export type Database = {
8538
8677
  }
8539
8678
  ];
8540
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
+ };
8541
8790
  floriday_token_refresh_log: {
8542
8791
  Row: {
8543
8792
  attempted_at: string;
@@ -11183,6 +11432,36 @@ export type Database = {
11183
11432
  };
11184
11433
  Relationships: [];
11185
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
+ };
11186
11465
  layout_logos: {
11187
11466
  Row: {
11188
11467
  bestand_url: string;
@@ -11240,6 +11519,51 @@ export type Database = {
11240
11519
  };
11241
11520
  Relationships: [];
11242
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
+ };
11243
11567
  leave_requests: {
11244
11568
  Row: {
11245
11569
  cancellation_requested_at: string | null;
@@ -15363,7 +15687,7 @@ export type Database = {
15363
15687
  name: string;
15364
15688
  produced_stock: number;
15365
15689
  product_code: string;
15366
- tenant_id: string;
15690
+ tenant_id: string | null;
15367
15691
  updated_at: string;
15368
15692
  };
15369
15693
  Insert: {
@@ -15374,7 +15698,7 @@ export type Database = {
15374
15698
  name: string;
15375
15699
  produced_stock?: number;
15376
15700
  product_code: string;
15377
- tenant_id: string;
15701
+ tenant_id?: string | null;
15378
15702
  updated_at?: string;
15379
15703
  };
15380
15704
  Update: {
@@ -15385,7 +15709,7 @@ export type Database = {
15385
15709
  name?: string;
15386
15710
  produced_stock?: number;
15387
15711
  product_code?: string;
15388
- tenant_id?: string;
15712
+ tenant_id?: string | null;
15389
15713
  updated_at?: string;
15390
15714
  };
15391
15715
  Relationships: [];
@@ -17180,6 +17504,7 @@ export type Database = {
17180
17504
  created_at: string;
17181
17505
  id: string;
17182
17506
  layers_per_cart: number | null;
17507
+ needs_sticker: boolean;
17183
17508
  order_id: string;
17184
17509
  packing_locked_at: string | null;
17185
17510
  packing_locked_by: string | null;
@@ -17199,6 +17524,7 @@ export type Database = {
17199
17524
  created_at?: string;
17200
17525
  id?: string;
17201
17526
  layers_per_cart?: number | null;
17527
+ needs_sticker?: boolean;
17202
17528
  order_id: string;
17203
17529
  packing_locked_at?: string | null;
17204
17530
  packing_locked_by?: string | null;
@@ -17218,6 +17544,7 @@ export type Database = {
17218
17544
  created_at?: string;
17219
17545
  id?: string;
17220
17546
  layers_per_cart?: number | null;
17547
+ needs_sticker?: boolean;
17221
17548
  order_id?: string;
17222
17549
  packing_locked_at?: string | null;
17223
17550
  packing_locked_by?: string | null;
@@ -20674,7 +21001,7 @@ export type Database = {
20674
21001
  parent_trade_item_floriday_id: string | null;
20675
21002
  quantity: number;
20676
21003
  sort_order: number;
20677
- tenant_id: string;
21004
+ tenant_id: string | null;
20678
21005
  unit: string;
20679
21006
  updated_at: string;
20680
21007
  };
@@ -20687,7 +21014,7 @@ export type Database = {
20687
21014
  parent_trade_item_floriday_id?: string | null;
20688
21015
  quantity?: number;
20689
21016
  sort_order?: number;
20690
- tenant_id: string;
21017
+ tenant_id?: string | null;
20691
21018
  unit?: string;
20692
21019
  updated_at?: string;
20693
21020
  };
@@ -20700,7 +21027,7 @@ export type Database = {
20700
21027
  parent_trade_item_floriday_id?: string | null;
20701
21028
  quantity?: number;
20702
21029
  sort_order?: number;
20703
- tenant_id?: string;
21030
+ tenant_id?: string | null;
20704
21031
  unit?: string;
20705
21032
  updated_at?: string;
20706
21033
  };
@@ -20733,7 +21060,7 @@ export type Database = {
20733
21060
  parent_trade_item_floriday_id: string | null;
20734
21061
  quantity: number;
20735
21062
  sort_order: number;
20736
- tenant_id: string;
21063
+ tenant_id: string | null;
20737
21064
  unit: string;
20738
21065
  updated_at: string;
20739
21066
  };
@@ -20748,7 +21075,7 @@ export type Database = {
20748
21075
  parent_trade_item_floriday_id?: string | null;
20749
21076
  quantity?: number;
20750
21077
  sort_order?: number;
20751
- tenant_id: string;
21078
+ tenant_id?: string | null;
20752
21079
  unit?: string;
20753
21080
  updated_at?: string;
20754
21081
  };
@@ -20763,7 +21090,7 @@ export type Database = {
20763
21090
  parent_trade_item_floriday_id?: string | null;
20764
21091
  quantity?: number;
20765
21092
  sort_order?: number;
20766
- tenant_id?: string;
21093
+ tenant_id?: string | null;
20767
21094
  unit?: string;
20768
21095
  updated_at?: string;
20769
21096
  };
@@ -20943,7 +21270,7 @@ export type Database = {
20943
21270
  id: string;
20944
21271
  is_active: boolean;
20945
21272
  name: string;
20946
- tenant_id: string;
21273
+ tenant_id: string | null;
20947
21274
  updated_at: string;
20948
21275
  };
20949
21276
  Insert: {
@@ -20954,7 +21281,7 @@ export type Database = {
20954
21281
  id?: string;
20955
21282
  is_active?: boolean;
20956
21283
  name: string;
20957
- tenant_id: string;
21284
+ tenant_id?: string | null;
20958
21285
  updated_at?: string;
20959
21286
  };
20960
21287
  Update: {
@@ -20965,7 +21292,7 @@ export type Database = {
20965
21292
  id?: string;
20966
21293
  is_active?: boolean;
20967
21294
  name?: string;
20968
- tenant_id?: string;
21295
+ tenant_id?: string | null;
20969
21296
  updated_at?: string;
20970
21297
  };
20971
21298
  Relationships: [
@@ -21000,7 +21327,7 @@ export type Database = {
21000
21327
  packages_per_layer: number | null;
21001
21328
  packing_configuration_id: string;
21002
21329
  product_id: string | null;
21003
- tenant_id: string;
21330
+ tenant_id: string | null;
21004
21331
  trade_item_floriday_id: string | null;
21005
21332
  units_per_package: number | null;
21006
21333
  updated_at: string;
@@ -21019,7 +21346,7 @@ export type Database = {
21019
21346
  packages_per_layer?: number | null;
21020
21347
  packing_configuration_id?: string;
21021
21348
  product_id?: string | null;
21022
- tenant_id: string;
21349
+ tenant_id?: string | null;
21023
21350
  trade_item_floriday_id?: string | null;
21024
21351
  units_per_package?: number | null;
21025
21352
  updated_at?: string;
@@ -21038,7 +21365,7 @@ export type Database = {
21038
21365
  packages_per_layer?: number | null;
21039
21366
  packing_configuration_id?: string;
21040
21367
  product_id?: string | null;
21041
- tenant_id?: string;
21368
+ tenant_id?: string | null;
21042
21369
  trade_item_floriday_id?: string | null;
21043
21370
  units_per_package?: number | null;
21044
21371
  updated_at?: string;
@@ -21218,6 +21545,69 @@ export type Database = {
21218
21545
  }
21219
21546
  ];
21220
21547
  };
21548
+ productontwerp_import_map: {
21549
+ Row: {
21550
+ created_at: string;
21551
+ entity_type: string;
21552
+ id: string;
21553
+ imported_at: string;
21554
+ match_method: string | null;
21555
+ source_id: string;
21556
+ source_shell_id: string;
21557
+ target_id: string;
21558
+ updated_at: string;
21559
+ };
21560
+ Insert: {
21561
+ created_at?: string;
21562
+ entity_type: string;
21563
+ id?: string;
21564
+ imported_at?: string;
21565
+ match_method?: string | null;
21566
+ source_id: string;
21567
+ source_shell_id: string;
21568
+ target_id: string;
21569
+ updated_at?: string;
21570
+ };
21571
+ Update: {
21572
+ created_at?: string;
21573
+ entity_type?: string;
21574
+ id?: string;
21575
+ imported_at?: string;
21576
+ match_method?: string | null;
21577
+ source_id?: string;
21578
+ source_shell_id?: string;
21579
+ target_id?: string;
21580
+ updated_at?: string;
21581
+ };
21582
+ Relationships: [];
21583
+ };
21584
+ productontwerp_structure_codes: {
21585
+ Row: {
21586
+ code: string;
21587
+ created_at: string;
21588
+ entity_id: string;
21589
+ entity_type: string;
21590
+ id: string;
21591
+ updated_at: string;
21592
+ };
21593
+ Insert: {
21594
+ code: string;
21595
+ created_at?: string;
21596
+ entity_id: string;
21597
+ entity_type: string;
21598
+ id?: string;
21599
+ updated_at?: string;
21600
+ };
21601
+ Update: {
21602
+ code?: string;
21603
+ created_at?: string;
21604
+ entity_id?: string;
21605
+ entity_type?: string;
21606
+ id?: string;
21607
+ updated_at?: string;
21608
+ };
21609
+ Relationships: [];
21610
+ };
21221
21611
  products: {
21222
21612
  Row: {
21223
21613
  article_number: string | null;
@@ -29075,6 +29465,10 @@ export type Database = {
29075
29465
  };
29076
29466
  Returns: string[][];
29077
29467
  };
29468
+ _layout_is_beheerder: {
29469
+ Args: never;
29470
+ Returns: boolean;
29471
+ };
29078
29472
  _migrate_rewrite_stock_key: {
29079
29473
  Args: {
29080
29474
  _from_key: string;
@@ -30402,6 +30796,18 @@ export type Database = {
30402
30796
  Args: never;
30403
30797
  Returns: undefined;
30404
30798
  };
30799
+ floriday_customer_candidates: {
30800
+ Args: never;
30801
+ Returns: {
30802
+ in_cache: boolean;
30803
+ organization_id: string;
30804
+ reason: string;
30805
+ }[];
30806
+ };
30807
+ floriday_customer_promotion_preview: {
30808
+ Args: never;
30809
+ Returns: Json;
30810
+ };
30405
30811
  floriday_default_owner: {
30406
30812
  Args: {
30407
30813
  p_connection_id: string;
@@ -30438,16 +30844,70 @@ export type Database = {
30438
30844
  source_id: string;
30439
30845
  }[];
30440
30846
  };
30847
+ floriday_eigen_organisatie: {
30848
+ Args: never;
30849
+ Returns: {
30850
+ adres: string;
30851
+ gln: string;
30852
+ land: string;
30853
+ naam: string;
30854
+ opgehaald_op: string;
30855
+ organisatie_id: string;
30856
+ plaats: string;
30857
+ postcode: string;
30858
+ }[];
30859
+ };
30860
+ floriday_erp_leading_preview: {
30861
+ Args: {
30862
+ p_connection_id: string;
30863
+ p_product_ids: string[];
30864
+ p_stock_mode?: string;
30865
+ };
30866
+ Returns: {
30867
+ blocker: string;
30868
+ desired_available: boolean;
30869
+ desired_quantity: number;
30870
+ horizon_weeks: number;
30871
+ offer_forms: Json;
30872
+ product_id: string;
30873
+ product_name: string;
30874
+ sale_price: number;
30875
+ stock_mode: string;
30876
+ trade_item_id: string;
30877
+ weeks: Json;
30878
+ }[];
30879
+ };
30441
30880
  floriday_fill_publish_horizon: {
30442
30881
  Args: never;
30443
30882
  Returns: number;
30444
30883
  };
30884
+ floriday_follow_apply: {
30885
+ Args: {
30886
+ p_connection_id: string;
30887
+ p_items: Json;
30888
+ };
30889
+ Returns: Json;
30890
+ };
30445
30891
  floriday_ingest_sales_orders: {
30446
30892
  Args: {
30447
30893
  p_limit?: number;
30448
30894
  };
30449
30895
  Returns: number;
30450
30896
  };
30897
+ floriday_leading_summary: {
30898
+ Args: {
30899
+ p_connection_id: string;
30900
+ };
30901
+ Returns: Json;
30902
+ };
30903
+ floriday_make_erp_leading: {
30904
+ Args: {
30905
+ p_connection_id: string;
30906
+ p_product_ids: string[];
30907
+ p_stock_mode?: string;
30908
+ };
30909
+ Returns: Json;
30910
+ };
30451
30911
  floriday_network_status: {
30452
30912
  Args: {
30453
30913
  p_organization_id: string;
@@ -30459,6 +30919,12 @@ export type Database = {
30459
30919
  synced_at: string;
30460
30920
  }[];
30461
30921
  };
30922
+ floriday_norm_offer_forms: {
30923
+ Args: {
30924
+ p: Json;
30925
+ };
30926
+ Returns: Json;
30927
+ };
30462
30928
  floriday_orphan_settings_count: {
30463
30929
  Args: never;
30464
30930
  Returns: number;
@@ -30487,10 +30953,34 @@ export type Database = {
30487
30953
  };
30488
30954
  Returns: number;
30489
30955
  };
30956
+ floriday_takeover_apply: {
30957
+ Args: {
30958
+ p_connection_id: string;
30959
+ p_items: Json;
30960
+ };
30961
+ Returns: Json;
30962
+ };
30963
+ floriday_takeover_fetch_state: {
30964
+ Args: {
30965
+ p_connection_id: string;
30966
+ p_entity?: string;
30967
+ };
30968
+ Returns: string;
30969
+ };
30970
+ floriday_takeover_undo: {
30971
+ Args: {
30972
+ p_run_id: string;
30973
+ };
30974
+ Returns: Json;
30975
+ };
30490
30976
  floriday_today_announce_summary: {
30491
30977
  Args: never;
30492
30978
  Returns: Json;
30493
30979
  };
30980
+ floriday_write_mode: {
30981
+ Args: never;
30982
+ Returns: Json;
30983
+ };
30494
30984
  format_cart_number: {
30495
30985
  Args: {
30496
30986
  p_pick_date: string;
@@ -31349,6 +31839,10 @@ export type Database = {
31349
31839
  };
31350
31840
  Returns: boolean;
31351
31841
  };
31842
+ klanten_install_check: {
31843
+ Args: never;
31844
+ Returns: Json;
31845
+ };
31352
31846
  layout_print_document: {
31353
31847
  Args: {
31354
31848
  _documentnaam: string;
@@ -31375,6 +31869,18 @@ export type Database = {
31375
31869
  status: string;
31376
31870
  }[];
31377
31871
  };
31872
+ layout_standaard_overnemen: {
31873
+ Args: {
31874
+ _layout_id: string;
31875
+ };
31876
+ Returns: Json;
31877
+ };
31878
+ layout_versie_terugzetten: {
31879
+ Args: {
31880
+ _versie_id: string;
31881
+ };
31882
+ Returns: number;
31883
+ };
31378
31884
  layout_verwijzing_omzetten: {
31379
31885
  Args: {
31380
31886
  _nieuw: string;
@@ -31388,6 +31894,10 @@ export type Database = {
31388
31894
  Args: never;
31389
31895
  Returns: Json;
31390
31896
  };
31897
+ layout_zorg_systeemlayouts: {
31898
+ Args: never;
31899
+ Returns: number;
31900
+ };
31391
31901
  list_medewerkers: {
31392
31902
  Args: never;
31393
31903
  Returns: {
@@ -32561,6 +33071,10 @@ export type Database = {
32561
33071
  };
32562
33072
  Returns: Json;
32563
33073
  };
33074
+ logistics_ensure_runtime_defaults: {
33075
+ Args: never;
33076
+ Returns: undefined;
33077
+ };
32564
33078
  logistics_ensure_shipping_notes: {
32565
33079
  Args: {
32566
33080
  p_limit?: number;
@@ -32729,6 +33243,10 @@ export type Database = {
32729
33243
  Args: never;
32730
33244
  Returns: Json;
32731
33245
  };
33246
+ logistics_floriday_is_read_only: {
33247
+ Args: never;
33248
+ Returns: boolean;
33249
+ };
32732
33250
  logistics_floriday_layout_id: {
32733
33251
  Args: {
32734
33252
  p_documenttype: string;
@@ -32769,6 +33287,13 @@ export type Database = {
32769
33287
  };
32770
33288
  Returns: number;
32771
33289
  };
33290
+ logistics_floriday_push_hold_read_only: {
33291
+ Args: {
33292
+ _id: string;
33293
+ _revision: number;
33294
+ };
33295
+ Returns: string;
33296
+ };
32772
33297
  logistics_floriday_queue_push: {
32773
33298
  Args: {
32774
33299
  _order_ref: string;
@@ -32777,6 +33302,10 @@ export type Database = {
32777
33302
  };
32778
33303
  Returns: string;
32779
33304
  };
33305
+ logistics_floriday_release_read_only: {
33306
+ Args: never;
33307
+ Returns: Json;
33308
+ };
32780
33309
  logistics_floriday_status_updates_enabled: {
32781
33310
  Args: never;
32782
33311
  Returns: boolean;
@@ -33842,6 +34371,12 @@ export type Database = {
33842
34371
  };
33843
34372
  Returns: Json;
33844
34373
  };
34374
+ logistics_register_tick_apikey: {
34375
+ Args: {
34376
+ p_key: string;
34377
+ };
34378
+ Returns: Json;
34379
+ };
33845
34380
  logistics_replan_all: {
33846
34381
  Args: {
33847
34382
  p_reason?: string;
@@ -34275,6 +34810,12 @@ export type Database = {
34275
34810
  };
34276
34811
  Returns: undefined;
34277
34812
  };
34813
+ logistics_slip_note_hold_read_only: {
34814
+ Args: {
34815
+ _id: string;
34816
+ };
34817
+ Returns: undefined;
34818
+ };
34278
34819
  logistics_slip_note_keep_waiting: {
34279
34820
  Args: {
34280
34821
  _class?: string;
@@ -34707,6 +35248,12 @@ export type Database = {
34707
35248
  };
34708
35249
  Returns: boolean;
34709
35250
  };
35251
+ logistics_verkoop_order_link: {
35252
+ Args: {
35253
+ p_order_id: string;
35254
+ };
35255
+ Returns: string;
35256
+ };
34710
35257
  logistics_working_hours_status: {
34711
35258
  Args: never;
34712
35259
  Returns: Json;
@@ -36061,6 +36608,60 @@ export type Database = {
36061
36608
  };
36062
36609
  Returns: string;
36063
36610
  };
36611
+ productontwerp_can_write: {
36612
+ Args: never;
36613
+ Returns: boolean;
36614
+ };
36615
+ productontwerp_create_missing_products: {
36616
+ Args: {
36617
+ p_items: Json;
36618
+ p_run_id: string;
36619
+ };
36620
+ Returns: Json;
36621
+ };
36622
+ productontwerp_export: {
36623
+ Args: never;
36624
+ Returns: Json;
36625
+ };
36626
+ productontwerp_import: {
36627
+ Args: {
36628
+ p_dry_run: boolean;
36629
+ p_payload: Json;
36630
+ };
36631
+ Returns: Json;
36632
+ };
36633
+ productontwerp_nl_error: {
36634
+ Args: {
36635
+ p_detail: string;
36636
+ p_msg: string;
36637
+ p_state: string;
36638
+ };
36639
+ Returns: string;
36640
+ };
36641
+ productontwerp_product_ref: {
36642
+ Args: {
36643
+ p_id: string;
36644
+ };
36645
+ Returns: Json;
36646
+ };
36647
+ productontwerp_queue_count: {
36648
+ Args: never;
36649
+ Returns: number;
36650
+ };
36651
+ productontwerp_rollback_created_products: {
36652
+ Args: {
36653
+ p_run_id: string;
36654
+ };
36655
+ Returns: Json;
36656
+ };
36657
+ productontwerp_unique_group_name: {
36658
+ Args: {
36659
+ p_article: string;
36660
+ p_base: string;
36661
+ p_used: string[];
36662
+ };
36663
+ Returns: string;
36664
+ };
36064
36665
  promote_floriday_customer: {
36065
36666
  Args: {
36066
36667
  _org_id: string;
@@ -36412,6 +37013,10 @@ export type Database = {
36412
37013
  Args: never;
36413
37014
  Returns: undefined;
36414
37015
  };
37016
+ run_floriday_follow: {
37017
+ Args: never;
37018
+ Returns: undefined;
37019
+ };
36415
37020
  run_floriday_stock_queue_process: {
36416
37021
  Args: never;
36417
37022
  Returns: undefined;
@@ -36790,6 +37395,13 @@ export type Database = {
36790
37395
  };
36791
37396
  Returns: number;
36792
37397
  };
37398
+ schedule_floriday_customer_offers_sync: {
37399
+ Args: {
37400
+ p_apikey: string;
37401
+ p_url: string;
37402
+ };
37403
+ Returns: number;
37404
+ };
36793
37405
  schedule_floriday_customer_organizations_sync: {
36794
37406
  Args: {
36795
37407
  p_apikey: string;
@@ -37923,6 +38535,13 @@ export type Database = {
37923
38535
  Args: never;
37924
38536
  Returns: boolean;
37925
38537
  };
38538
+ voorraad_schema_ddl: {
38539
+ Args: {
38540
+ p_functions: string[];
38541
+ p_tables: string[];
38542
+ };
38543
+ Returns: string;
38544
+ };
37926
38545
  voorraad_week_is_past: {
37927
38546
  Args: {
37928
38547
  p_week: number;