@flowselections/e-mail-installatie-techniek 1.4.1 → 1.5.1

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.
@@ -12416,8 +12416,33 @@ export type Database = {
12416
12416
  };
12417
12417
  Relationships: [];
12418
12418
  };
12419
+ invoice_import_drafts: {
12420
+ Row: {
12421
+ created_at: string;
12422
+ id: string;
12423
+ payload: Json;
12424
+ updated_at: string;
12425
+ user_id: string;
12426
+ };
12427
+ Insert: {
12428
+ created_at?: string;
12429
+ id?: string;
12430
+ payload?: Json;
12431
+ updated_at?: string;
12432
+ user_id: string;
12433
+ };
12434
+ Update: {
12435
+ created_at?: string;
12436
+ id?: string;
12437
+ payload?: Json;
12438
+ updated_at?: string;
12439
+ user_id?: string;
12440
+ };
12441
+ Relationships: [];
12442
+ };
12419
12443
  invoice_items: {
12420
12444
  Row: {
12445
+ artikel_id: string | null;
12421
12446
  created_at: string;
12422
12447
  description: string;
12423
12448
  id: string;
@@ -12429,9 +12454,10 @@ export type Database = {
12429
12454
  total_cents: number;
12430
12455
  unit: string;
12431
12456
  unit_price_cents: number;
12432
- vat_rate: number | null;
12457
+ vat_rate: number;
12433
12458
  };
12434
12459
  Insert: {
12460
+ artikel_id?: string | null;
12435
12461
  created_at?: string;
12436
12462
  description?: string;
12437
12463
  id?: string;
@@ -12443,9 +12469,10 @@ export type Database = {
12443
12469
  total_cents?: number;
12444
12470
  unit?: string;
12445
12471
  unit_price_cents?: number;
12446
- vat_rate?: number | null;
12472
+ vat_rate: number;
12447
12473
  };
12448
12474
  Update: {
12475
+ artikel_id?: string | null;
12449
12476
  created_at?: string;
12450
12477
  description?: string;
12451
12478
  id?: string;
@@ -12457,9 +12484,16 @@ export type Database = {
12457
12484
  total_cents?: number;
12458
12485
  unit?: string;
12459
12486
  unit_price_cents?: number;
12460
- vat_rate?: number | null;
12487
+ vat_rate?: number;
12461
12488
  };
12462
12489
  Relationships: [
12490
+ {
12491
+ foreignKeyName: "invoice_items_artikel_id_fkey";
12492
+ columns: ["artikel_id"];
12493
+ isOneToOne: false;
12494
+ referencedRelation: "artikelen_cache";
12495
+ referencedColumns: ["id"];
12496
+ },
12463
12497
  {
12464
12498
  foreignKeyName: "invoice_items_invoice_id_fkey";
12465
12499
  columns: ["invoice_id"];
@@ -12805,9 +12839,11 @@ export type Database = {
12805
12839
  debtor_number: string | null;
12806
12840
  due_date: string | null;
12807
12841
  execution_date: string | null;
12842
+ extern_factuur_nummer: string | null;
12808
12843
  id: string;
12809
12844
  invoice_date: string;
12810
12845
  invoice_number: string | null;
12846
+ is_imported: boolean;
12811
12847
  last_send_key: string | null;
12812
12848
  last_send_outbox_id: string | null;
12813
12849
  merged_into: string | null;
@@ -12829,6 +12865,7 @@ export type Database = {
12829
12865
  vat_manual: boolean;
12830
12866
  vat_rate: number;
12831
12867
  vat_reverse_charge: boolean;
12868
+ werkbon_id: string | null;
12832
12869
  work_address: string | null;
12833
12870
  };
12834
12871
  Insert: {
@@ -12845,9 +12882,11 @@ export type Database = {
12845
12882
  debtor_number?: string | null;
12846
12883
  due_date?: string | null;
12847
12884
  execution_date?: string | null;
12885
+ extern_factuur_nummer?: string | null;
12848
12886
  id?: string;
12849
12887
  invoice_date?: string;
12850
12888
  invoice_number?: string | null;
12889
+ is_imported?: boolean;
12851
12890
  last_send_key?: string | null;
12852
12891
  last_send_outbox_id?: string | null;
12853
12892
  merged_into?: string | null;
@@ -12869,6 +12908,7 @@ export type Database = {
12869
12908
  vat_manual?: boolean;
12870
12909
  vat_rate?: number;
12871
12910
  vat_reverse_charge?: boolean;
12911
+ werkbon_id?: string | null;
12872
12912
  work_address?: string | null;
12873
12913
  };
12874
12914
  Update: {
@@ -12885,9 +12925,11 @@ export type Database = {
12885
12925
  debtor_number?: string | null;
12886
12926
  due_date?: string | null;
12887
12927
  execution_date?: string | null;
12928
+ extern_factuur_nummer?: string | null;
12888
12929
  id?: string;
12889
12930
  invoice_date?: string;
12890
12931
  invoice_number?: string | null;
12932
+ is_imported?: boolean;
12891
12933
  last_send_key?: string | null;
12892
12934
  last_send_outbox_id?: string | null;
12893
12935
  merged_into?: string | null;
@@ -12909,6 +12951,7 @@ export type Database = {
12909
12951
  vat_manual?: boolean;
12910
12952
  vat_rate?: number;
12911
12953
  vat_reverse_charge?: boolean;
12954
+ werkbon_id?: string | null;
12912
12955
  work_address?: string | null;
12913
12956
  };
12914
12957
  Relationships: [
@@ -12932,6 +12975,20 @@ export type Database = {
12932
12975
  isOneToOne: false;
12933
12976
  referencedRelation: "uren_facturen";
12934
12977
  referencedColumns: ["id"];
12978
+ },
12979
+ {
12980
+ foreignKeyName: "invoices_werkbon_id_fkey";
12981
+ columns: ["werkbon_id"];
12982
+ isOneToOne: false;
12983
+ referencedRelation: "werkbonnen";
12984
+ referencedColumns: ["id"];
12985
+ },
12986
+ {
12987
+ foreignKeyName: "invoices_werkbon_id_fkey";
12988
+ columns: ["werkbon_id"];
12989
+ isOneToOne: false;
12990
+ referencedRelation: "wo_overview";
12991
+ referencedColumns: ["id"];
12935
12992
  }
12936
12993
  ];
12937
12994
  };
@@ -13000,6 +13057,38 @@ export type Database = {
13000
13057
  };
13001
13058
  Relationships: [];
13002
13059
  };
13060
+ itk_customer_competenties: {
13061
+ Row: {
13062
+ competentie_id: string;
13063
+ created_at: string;
13064
+ customer_id: string;
13065
+ id: string;
13066
+ updated_at: string;
13067
+ };
13068
+ Insert: {
13069
+ competentie_id: string;
13070
+ created_at?: string;
13071
+ customer_id: string;
13072
+ id?: string;
13073
+ updated_at?: string;
13074
+ };
13075
+ Update: {
13076
+ competentie_id?: string;
13077
+ created_at?: string;
13078
+ customer_id?: string;
13079
+ id?: string;
13080
+ updated_at?: string;
13081
+ };
13082
+ Relationships: [
13083
+ {
13084
+ foreignKeyName: "itk_customer_competenties_customer_id_fkey";
13085
+ columns: ["customer_id"];
13086
+ isOneToOne: false;
13087
+ referencedRelation: "itk_customers";
13088
+ referencedColumns: ["id"];
13089
+ }
13090
+ ];
13091
+ };
13003
13092
  itk_customer_dynamic_values: {
13004
13093
  Row: {
13005
13094
  created_at: string;
@@ -13089,6 +13178,7 @@ export type Database = {
13089
13178
  country: string | null;
13090
13179
  created_at: string;
13091
13180
  customer_number: string | null;
13181
+ extern_klant_nummer: string | null;
13092
13182
  general_email: string | null;
13093
13183
  general_phone: string | null;
13094
13184
  id: string;
@@ -13112,6 +13202,7 @@ export type Database = {
13112
13202
  country?: string | null;
13113
13203
  created_at?: string;
13114
13204
  customer_number?: string | null;
13205
+ extern_klant_nummer?: string | null;
13115
13206
  general_email?: string | null;
13116
13207
  general_phone?: string | null;
13117
13208
  id?: string;
@@ -13135,6 +13226,7 @@ export type Database = {
13135
13226
  country?: string | null;
13136
13227
  created_at?: string;
13137
13228
  customer_number?: string | null;
13229
+ extern_klant_nummer?: string | null;
13138
13230
  general_email?: string | null;
13139
13231
  general_phone?: string | null;
13140
13232
  id?: string;
@@ -13433,6 +13525,36 @@ export type Database = {
13433
13525
  };
13434
13526
  Relationships: [];
13435
13527
  };
13528
+ itk_klant_import_concept: {
13529
+ Row: {
13530
+ created_at: string;
13531
+ id: string;
13532
+ mapping: Json;
13533
+ naam: string;
13534
+ rijen: Json;
13535
+ updated_at: string;
13536
+ user_id: string;
13537
+ };
13538
+ Insert: {
13539
+ created_at?: string;
13540
+ id?: string;
13541
+ mapping?: Json;
13542
+ naam?: string;
13543
+ rijen?: Json;
13544
+ updated_at?: string;
13545
+ user_id?: string;
13546
+ };
13547
+ Update: {
13548
+ created_at?: string;
13549
+ id?: string;
13550
+ mapping?: Json;
13551
+ naam?: string;
13552
+ rijen?: Json;
13553
+ updated_at?: string;
13554
+ user_id?: string;
13555
+ };
13556
+ Relationships: [];
13557
+ };
13436
13558
  itk_klanten_settings: {
13437
13559
  Row: {
13438
13560
  archiveren_aan: boolean;
@@ -13475,6 +13597,44 @@ export type Database = {
13475
13597
  };
13476
13598
  Relationships: [];
13477
13599
  };
13600
+ itk_location_rooms: {
13601
+ Row: {
13602
+ created_at: string;
13603
+ description: string | null;
13604
+ id: string;
13605
+ location_id: string;
13606
+ name: string;
13607
+ sort_order: number;
13608
+ updated_at: string;
13609
+ };
13610
+ Insert: {
13611
+ created_at?: string;
13612
+ description?: string | null;
13613
+ id?: string;
13614
+ location_id: string;
13615
+ name: string;
13616
+ sort_order?: number;
13617
+ updated_at?: string;
13618
+ };
13619
+ Update: {
13620
+ created_at?: string;
13621
+ description?: string | null;
13622
+ id?: string;
13623
+ location_id?: string;
13624
+ name?: string;
13625
+ sort_order?: number;
13626
+ updated_at?: string;
13627
+ };
13628
+ Relationships: [
13629
+ {
13630
+ foreignKeyName: "itk_location_rooms_location_id_fkey";
13631
+ columns: ["location_id"];
13632
+ isOneToOne: false;
13633
+ referencedRelation: "itk_work_locations";
13634
+ referencedColumns: ["id"];
13635
+ }
13636
+ ];
13637
+ };
13478
13638
  itk_module_fingerprints: {
13479
13639
  Row: {
13480
13640
  created_at: string;
@@ -13767,6 +13927,33 @@ export type Database = {
13767
13927
  }
13768
13928
  ];
13769
13929
  };
13930
+ itk_offerte_import_concepten: {
13931
+ Row: {
13932
+ bestandsnaam: string | null;
13933
+ created_at: string;
13934
+ created_by: string | null;
13935
+ data: Json;
13936
+ id: string;
13937
+ updated_at: string;
13938
+ };
13939
+ Insert: {
13940
+ bestandsnaam?: string | null;
13941
+ created_at?: string;
13942
+ created_by?: string | null;
13943
+ data?: Json;
13944
+ id?: string;
13945
+ updated_at?: string;
13946
+ };
13947
+ Update: {
13948
+ bestandsnaam?: string | null;
13949
+ created_at?: string;
13950
+ created_by?: string | null;
13951
+ data?: Json;
13952
+ id?: string;
13953
+ updated_at?: string;
13954
+ };
13955
+ Relationships: [];
13956
+ };
13770
13957
  itk_offerte_regels: {
13771
13958
  Row: {
13772
13959
  created_at: string;
@@ -13837,6 +14024,7 @@ export type Database = {
13837
14024
  default_vat_rate: number;
13838
14025
  email_purpose: string | null;
13839
14026
  id: string;
14027
+ import_controle: Json | null;
13840
14028
  kwartier_minuten: number;
13841
14029
  minimum_reispakketten: number;
13842
14030
  reis_restgrens_minuten: number;
@@ -13857,6 +14045,7 @@ export type Database = {
13857
14045
  default_vat_rate?: number;
13858
14046
  email_purpose?: string | null;
13859
14047
  id?: string;
14048
+ import_controle?: Json | null;
13860
14049
  kwartier_minuten?: number;
13861
14050
  minimum_reispakketten?: number;
13862
14051
  reis_restgrens_minuten?: number;
@@ -13877,6 +14066,7 @@ export type Database = {
13877
14066
  default_vat_rate?: number;
13878
14067
  email_purpose?: string | null;
13879
14068
  id?: string;
14069
+ import_controle?: Json | null;
13880
14070
  kwartier_minuten?: number;
13881
14071
  minimum_reispakketten?: number;
13882
14072
  reis_restgrens_minuten?: number;
@@ -19603,6 +19793,7 @@ export type Database = {
19603
19793
  reason_code: string | null;
19604
19794
  status: string;
19605
19795
  updated_at: string;
19796
+ verouderd_pogingen: number;
19606
19797
  };
19607
19798
  Insert: {
19608
19799
  attempts?: number;
@@ -19618,6 +19809,7 @@ export type Database = {
19618
19809
  reason_code?: string | null;
19619
19810
  status?: string;
19620
19811
  updated_at?: string;
19812
+ verouderd_pogingen?: number;
19621
19813
  };
19622
19814
  Update: {
19623
19815
  attempts?: number;
@@ -19633,6 +19825,7 @@ export type Database = {
19633
19825
  reason_code?: string | null;
19634
19826
  status?: string;
19635
19827
  updated_at?: string;
19828
+ verouderd_pogingen?: number;
19636
19829
  };
19637
19830
  Relationships: [];
19638
19831
  };
@@ -24651,6 +24844,7 @@ export type Database = {
24651
24844
  invoice_ready_at: string | null;
24652
24845
  invoice_ready_note: string | null;
24653
24846
  is_reservation: boolean;
24847
+ klokverkoop: boolean | null;
24654
24848
  notes: string | null;
24655
24849
  order_date: string;
24656
24850
  order_number: string;
@@ -24687,6 +24881,7 @@ export type Database = {
24687
24881
  invoice_ready_at?: string | null;
24688
24882
  invoice_ready_note?: string | null;
24689
24883
  is_reservation?: boolean;
24884
+ klokverkoop?: boolean | null;
24690
24885
  notes?: string | null;
24691
24886
  order_date?: string;
24692
24887
  order_number: string;
@@ -24723,6 +24918,7 @@ export type Database = {
24723
24918
  invoice_ready_at?: string | null;
24724
24919
  invoice_ready_note?: string | null;
24725
24920
  is_reservation?: boolean;
24921
+ klokverkoop?: boolean | null;
24726
24922
  notes?: string | null;
24727
24923
  order_date?: string;
24728
24924
  order_number?: string;
@@ -24929,6 +25125,54 @@ export type Database = {
24929
25125
  };
24930
25126
  Relationships: [];
24931
25127
  };
25128
+ pakket_import_concept: {
25129
+ Row: {
25130
+ bestandsnaam: string | null;
25131
+ created_at: string;
25132
+ created_by: string | null;
25133
+ id: string;
25134
+ regels: Json;
25135
+ updated_at: string;
25136
+ };
25137
+ Insert: {
25138
+ bestandsnaam?: string | null;
25139
+ created_at?: string;
25140
+ created_by?: string | null;
25141
+ id?: string;
25142
+ regels?: Json;
25143
+ updated_at?: string;
25144
+ };
25145
+ Update: {
25146
+ bestandsnaam?: string | null;
25147
+ created_at?: string;
25148
+ created_by?: string | null;
25149
+ id?: string;
25150
+ regels?: Json;
25151
+ updated_at?: string;
25152
+ };
25153
+ Relationships: [];
25154
+ };
25155
+ pakket_import_runs: {
25156
+ Row: {
25157
+ created_at: string;
25158
+ created_by: string | null;
25159
+ import_sleutel: string;
25160
+ resultaat: Json;
25161
+ };
25162
+ Insert: {
25163
+ created_at?: string;
25164
+ created_by?: string | null;
25165
+ import_sleutel: string;
25166
+ resultaat: Json;
25167
+ };
25168
+ Update: {
25169
+ created_at?: string;
25170
+ created_by?: string | null;
25171
+ import_sleutel?: string;
25172
+ resultaat?: Json;
25173
+ };
25174
+ Relationships: [];
25175
+ };
24932
25176
  pick_buffer_event_cursor: {
24933
25177
  Row: {
24934
25178
  created_at: string;
@@ -27329,6 +27573,7 @@ export type Database = {
27329
27573
  gebruikte_bron: string | null;
27330
27574
  gebruikte_layout_id: string | null;
27331
27575
  gestart_op: string | null;
27576
+ herdruk_sleutel: string | null;
27332
27577
  herkomst: string | null;
27333
27578
  id: string;
27334
27579
  idempotentie_sleutel: string | null;
@@ -27390,6 +27635,7 @@ export type Database = {
27390
27635
  gebruikte_bron?: string | null;
27391
27636
  gebruikte_layout_id?: string | null;
27392
27637
  gestart_op?: string | null;
27638
+ herdruk_sleutel?: string | null;
27393
27639
  herkomst?: string | null;
27394
27640
  id?: string;
27395
27641
  idempotentie_sleutel?: string | null;
@@ -27451,6 +27697,7 @@ export type Database = {
27451
27697
  gebruikte_bron?: string | null;
27452
27698
  gebruikte_layout_id?: string | null;
27453
27699
  gestart_op?: string | null;
27700
+ herdruk_sleutel?: string | null;
27454
27701
  herkomst?: string | null;
27455
27702
  id?: string;
27456
27703
  idempotentie_sleutel?: string | null;
@@ -37501,6 +37748,27 @@ export type Database = {
37501
37748
  };
37502
37749
  Relationships: [];
37503
37750
  };
37751
+ werkbon_import_concept: {
37752
+ Row: {
37753
+ created_at: string;
37754
+ rijen: Json;
37755
+ updated_at: string;
37756
+ user_id: string;
37757
+ };
37758
+ Insert: {
37759
+ created_at?: string;
37760
+ rijen?: Json;
37761
+ updated_at?: string;
37762
+ user_id?: string;
37763
+ };
37764
+ Update: {
37765
+ created_at?: string;
37766
+ rijen?: Json;
37767
+ updated_at?: string;
37768
+ user_id?: string;
37769
+ };
37770
+ Relationships: [];
37771
+ };
37504
37772
  werkbon_mail_ai_settings: {
37505
37773
  Row: {
37506
37774
  created_at: string;
@@ -37674,6 +37942,8 @@ export type Database = {
37674
37942
  werkbon_materials: {
37675
37943
  Row: {
37676
37944
  article_number: string | null;
37945
+ artikel_code_bron: string | null;
37946
+ artikel_id: string | null;
37677
37947
  created_at: string;
37678
37948
  created_by: string | null;
37679
37949
  description: string;
@@ -37687,6 +37957,8 @@ export type Database = {
37687
37957
  };
37688
37958
  Insert: {
37689
37959
  article_number?: string | null;
37960
+ artikel_code_bron?: string | null;
37961
+ artikel_id?: string | null;
37690
37962
  created_at?: string;
37691
37963
  created_by?: string | null;
37692
37964
  description: string;
@@ -37700,6 +37972,8 @@ export type Database = {
37700
37972
  };
37701
37973
  Update: {
37702
37974
  article_number?: string | null;
37975
+ artikel_code_bron?: string | null;
37976
+ artikel_id?: string | null;
37703
37977
  created_at?: string;
37704
37978
  created_by?: string | null;
37705
37979
  description?: string;
@@ -38073,6 +38347,10 @@ export type Database = {
38073
38347
  created_at: string;
38074
38348
  extra_quarter_minutes: number;
38075
38349
  id: number;
38350
+ import_bereik_factor: number;
38351
+ import_min_tekens_naam: number;
38352
+ import_nietszeggend: string[];
38353
+ import_vergelijk_aan: boolean;
38076
38354
  terugval_marge_procent: number | null;
38077
38355
  updated_at: string;
38078
38356
  };
@@ -38081,6 +38359,10 @@ export type Database = {
38081
38359
  created_at?: string;
38082
38360
  extra_quarter_minutes?: number;
38083
38361
  id?: number;
38362
+ import_bereik_factor?: number;
38363
+ import_min_tekens_naam?: number;
38364
+ import_nietszeggend?: string[];
38365
+ import_vergelijk_aan?: boolean;
38084
38366
  terugval_marge_procent?: number | null;
38085
38367
  updated_at?: string;
38086
38368
  };
@@ -38089,6 +38371,10 @@ export type Database = {
38089
38371
  created_at?: string;
38090
38372
  extra_quarter_minutes?: number;
38091
38373
  id?: number;
38374
+ import_bereik_factor?: number;
38375
+ import_min_tekens_naam?: number;
38376
+ import_nietszeggend?: string[];
38377
+ import_vergelijk_aan?: boolean;
38092
38378
  terugval_marge_procent?: number | null;
38093
38379
  updated_at?: string;
38094
38380
  };
@@ -38216,6 +38502,7 @@ export type Database = {
38216
38502
  werkbon_postvak_settings: {
38217
38503
  Row: {
38218
38504
  ai_local_date: boolean;
38505
+ ai_materials_catalog_only: boolean;
38219
38506
  analyse_claim_ttl_seconds: number;
38220
38507
  competenties_enabled: boolean;
38221
38508
  confirmation_require_valid_email: boolean;
@@ -38231,6 +38518,7 @@ export type Database = {
38231
38518
  };
38232
38519
  Insert: {
38233
38520
  ai_local_date?: boolean;
38521
+ ai_materials_catalog_only?: boolean;
38234
38522
  analyse_claim_ttl_seconds?: number;
38235
38523
  competenties_enabled?: boolean;
38236
38524
  confirmation_require_valid_email?: boolean;
@@ -38246,6 +38534,7 @@ export type Database = {
38246
38534
  };
38247
38535
  Update: {
38248
38536
  ai_local_date?: boolean;
38537
+ ai_materials_catalog_only?: boolean;
38249
38538
  analyse_claim_ttl_seconds?: number;
38250
38539
  competenties_enabled?: boolean;
38251
38540
  confirmation_require_valid_email?: boolean;
@@ -38704,10 +38993,14 @@ export type Database = {
38704
38993
  extra_costs_cents: number;
38705
38994
  first_time_fix: boolean | null;
38706
38995
  id: string;
38996
+ import_batch_id: string | null;
38707
38997
  internal_notes: string | null;
38998
+ klant_adres_bron: string | null;
38999
+ monteur_naam_historisch: string | null;
38708
39000
  needs_detail_review: boolean;
38709
39001
  offerte_teruggestuurd_id: string | null;
38710
39002
  offerte_teruggestuurd_op: string | null;
39003
+ oud_bonnummer: string | null;
38711
39004
  parent_werkbon_id: string | null;
38712
39005
  parsed_payload: Json | null;
38713
39006
  planning_status: string;
@@ -38731,8 +39024,10 @@ export type Database = {
38731
39024
  technician_notes: string | null;
38732
39025
  technician_notes_raw: string | null;
38733
39026
  technician_task_description: string | null;
39027
+ uitvoerdatum: string | null;
38734
39028
  updated_at: string;
38735
39029
  version: number;
39030
+ werksoort: string | null;
38736
39031
  work_address: string | null;
38737
39032
  workday_hours: number | null;
38738
39033
  };
@@ -38754,10 +39049,14 @@ export type Database = {
38754
39049
  extra_costs_cents?: number;
38755
39050
  first_time_fix?: boolean | null;
38756
39051
  id?: string;
39052
+ import_batch_id?: string | null;
38757
39053
  internal_notes?: string | null;
39054
+ klant_adres_bron?: string | null;
39055
+ monteur_naam_historisch?: string | null;
38758
39056
  needs_detail_review?: boolean;
38759
39057
  offerte_teruggestuurd_id?: string | null;
38760
39058
  offerte_teruggestuurd_op?: string | null;
39059
+ oud_bonnummer?: string | null;
38761
39060
  parent_werkbon_id?: string | null;
38762
39061
  parsed_payload?: Json | null;
38763
39062
  planning_status?: string;
@@ -38781,8 +39080,10 @@ export type Database = {
38781
39080
  technician_notes?: string | null;
38782
39081
  technician_notes_raw?: string | null;
38783
39082
  technician_task_description?: string | null;
39083
+ uitvoerdatum?: string | null;
38784
39084
  updated_at?: string;
38785
39085
  version?: number;
39086
+ werksoort?: string | null;
38786
39087
  work_address?: string | null;
38787
39088
  workday_hours?: number | null;
38788
39089
  };
@@ -38804,10 +39105,14 @@ export type Database = {
38804
39105
  extra_costs_cents?: number;
38805
39106
  first_time_fix?: boolean | null;
38806
39107
  id?: string;
39108
+ import_batch_id?: string | null;
38807
39109
  internal_notes?: string | null;
39110
+ klant_adres_bron?: string | null;
39111
+ monteur_naam_historisch?: string | null;
38808
39112
  needs_detail_review?: boolean;
38809
39113
  offerte_teruggestuurd_id?: string | null;
38810
39114
  offerte_teruggestuurd_op?: string | null;
39115
+ oud_bonnummer?: string | null;
38811
39116
  parent_werkbon_id?: string | null;
38812
39117
  parsed_payload?: Json | null;
38813
39118
  planning_status?: string;
@@ -38831,8 +39136,10 @@ export type Database = {
38831
39136
  technician_notes?: string | null;
38832
39137
  technician_notes_raw?: string | null;
38833
39138
  technician_task_description?: string | null;
39139
+ uitvoerdatum?: string | null;
38834
39140
  updated_at?: string;
38835
39141
  version?: number;
39142
+ werksoort?: string | null;
38836
39143
  work_address?: string | null;
38837
39144
  workday_hours?: number | null;
38838
39145
  };
@@ -40484,6 +40791,10 @@ export type Database = {
40484
40791
  };
40485
40792
  Returns: string;
40486
40793
  };
40794
+ _layouts_stickerkopie_herstellen: {
40795
+ Args: never;
40796
+ Returns: Json;
40797
+ };
40487
40798
  _layouts_terugval_aanvullen: {
40488
40799
  Args: never;
40489
40800
  Returns: Json;
@@ -40719,6 +41030,12 @@ export type Database = {
40719
41030
  };
40720
41031
  Returns: string;
40721
41032
  };
41033
+ _print_bel_documentnaam: {
41034
+ Args: {
41035
+ p_type: string;
41036
+ };
41037
+ Returns: string;
41038
+ };
40722
41039
  _print_bel_problemen: {
40723
41040
  Args: never;
40724
41041
  Returns: {
@@ -40730,6 +41047,16 @@ export type Database = {
40730
41047
  sinds: string;
40731
41048
  }[];
40732
41049
  };
41050
+ _print_echt_printen: {
41051
+ Args: {
41052
+ p_printer: string;
41053
+ };
41054
+ Returns: boolean;
41055
+ };
41056
+ _print_een_bron_overzetten: {
41057
+ Args: never;
41058
+ Returns: Json;
41059
+ };
40733
41060
  _print_etiket_eind: {
40734
41061
  Args: {
40735
41062
  p_layout: string;
@@ -40775,6 +41102,10 @@ export type Database = {
40775
41102
  Args: never;
40776
41103
  Returns: Json;
40777
41104
  };
41105
+ _print_niet_printend_aanvullen: {
41106
+ Args: never;
41107
+ Returns: Json;
41108
+ };
40778
41109
  _print_oud_keuze: {
40779
41110
  Args: {
40780
41111
  p_layout_id: string;
@@ -40786,6 +41117,12 @@ export type Database = {
40786
41117
  };
40787
41118
  Returns: Json;
40788
41119
  };
41120
+ _print_plek_dekking: {
41121
+ Args: {
41122
+ p_plek: string;
41123
+ };
41124
+ Returns: Json;
41125
+ };
40789
41126
  _print_plek_documenten: {
40790
41127
  Args: never;
40791
41128
  Returns: Json;
@@ -40800,6 +41137,12 @@ export type Database = {
40800
41137
  Args: never;
40801
41138
  Returns: string;
40802
41139
  };
41140
+ _print_plek_status_kern: {
41141
+ Args: {
41142
+ p_plek: string;
41143
+ };
41144
+ Returns: Json;
41145
+ };
40803
41146
  _print_plek_vervang_printer: {
40804
41147
  Args: {
40805
41148
  p_nieuw: string;
@@ -40808,6 +41151,10 @@ export type Database = {
40808
41151
  };
40809
41152
  Returns: string;
40810
41153
  };
41154
+ _print_scanner_overzetten: {
41155
+ Args: never;
41156
+ Returns: Json;
41157
+ };
40811
41158
  _print_standaarden_aanvullen: {
40812
41159
  Args: never;
40813
41160
  Returns: Json;
@@ -41447,6 +41794,19 @@ export type Database = {
41447
41794
  };
41448
41795
  Returns: boolean;
41449
41796
  };
41797
+ afh_klokverkoop_ids: {
41798
+ Args: {
41799
+ p_from: string;
41800
+ p_to: string;
41801
+ };
41802
+ Returns: string[];
41803
+ };
41804
+ afh_klokverkoop_ordernummers: {
41805
+ Args: {
41806
+ p_order_numbers: string[];
41807
+ };
41808
+ Returns: string[];
41809
+ };
41450
41810
  afh_levering_correctie_floriday: {
41451
41811
  Args: {
41452
41812
  p_correctie_id: string;
@@ -41521,12 +41881,24 @@ export type Database = {
41521
41881
  };
41522
41882
  Returns: boolean;
41523
41883
  };
41884
+ afh_order_klokverkoop: {
41885
+ Args: {
41886
+ p_order_id: string;
41887
+ };
41888
+ Returns: boolean;
41889
+ };
41524
41890
  afh_order_signup_uitgesloten: {
41525
41891
  Args: {
41526
41892
  p_order_id: string;
41527
41893
  };
41528
41894
  Returns: boolean;
41529
41895
  };
41896
+ afh_orders_alle_klokverkoop: {
41897
+ Args: {
41898
+ p_order_ids: string[];
41899
+ };
41900
+ Returns: boolean;
41901
+ };
41530
41902
  afh_orders_have_carrier_id: {
41531
41903
  Args: never;
41532
41904
  Returns: boolean;
@@ -41804,6 +42176,10 @@ export type Database = {
41804
42176
  };
41805
42177
  Returns: string;
41806
42178
  };
42179
+ afh_uitgang_uit: {
42180
+ Args: never;
42181
+ Returns: boolean;
42182
+ };
41807
42183
  afh_vangnet_status: {
41808
42184
  Args: never;
41809
42185
  Returns: Json;
@@ -42335,6 +42711,7 @@ export type Database = {
42335
42711
  gebruikte_bron: string | null;
42336
42712
  gebruikte_layout_id: string | null;
42337
42713
  gestart_op: string | null;
42714
+ herdruk_sleutel: string | null;
42338
42715
  herkomst: string | null;
42339
42716
  id: string;
42340
42717
  idempotentie_sleutel: string | null;
@@ -42540,6 +42917,7 @@ export type Database = {
42540
42917
  gebruikte_bron: string | null;
42541
42918
  gebruikte_layout_id: string | null;
42542
42919
  gestart_op: string | null;
42920
+ herdruk_sleutel: string | null;
42543
42921
  herkomst: string | null;
42544
42922
  id: string;
42545
42923
  idempotentie_sleutel: string | null;
@@ -42613,6 +42991,7 @@ export type Database = {
42613
42991
  gebruikte_bron: string | null;
42614
42992
  gebruikte_layout_id: string | null;
42615
42993
  gestart_op: string | null;
42994
+ herdruk_sleutel: string | null;
42616
42995
  herkomst: string | null;
42617
42996
  id: string;
42618
42997
  idempotentie_sleutel: string | null;
@@ -44832,6 +45211,12 @@ export type Database = {
44832
45211
  };
44833
45212
  Returns: Json;
44834
45213
  };
45214
+ invoice_import_batch: {
45215
+ Args: {
45216
+ _rows: Json;
45217
+ };
45218
+ Returns: number;
45219
+ };
44835
45220
  invoice_list_sources: {
44836
45221
  Args: {
44837
45222
  _limit?: number;
@@ -45015,6 +45400,12 @@ export type Database = {
45015
45400
  reden: string;
45016
45401
  }[];
45017
45402
  };
45403
+ itk_customer_import_batch: {
45404
+ Args: {
45405
+ _rijen: Json;
45406
+ };
45407
+ Returns: Json;
45408
+ };
45018
45409
  itk_customer_invoiced: {
45019
45410
  Args: {
45020
45411
  _customer_ids: string[];
@@ -45068,6 +45459,13 @@ export type Database = {
45068
45459
  };
45069
45460
  Returns: number;
45070
45461
  };
45462
+ itk_location_rooms_sync: {
45463
+ Args: {
45464
+ _kamers: Json;
45465
+ _location_id: string;
45466
+ };
45467
+ Returns: undefined;
45468
+ };
45071
45469
  itk_month_trend: {
45072
45470
  Args: {
45073
45471
  _today: string;
@@ -45980,6 +46378,13 @@ export type Database = {
45980
46378
  };
45981
46379
  Returns: Json;
45982
46380
  };
46381
+ logistics_apply_cart_swap_v2: {
46382
+ Args: {
46383
+ p_delete_ids: string[];
46384
+ p_new_carts: Json;
46385
+ };
46386
+ Returns: Json;
46387
+ };
45983
46388
  logistics_apply_document_layouts: {
45984
46389
  Args: never;
45985
46390
  Returns: undefined;
@@ -46572,6 +46977,13 @@ export type Database = {
46572
46977
  };
46573
46978
  Returns: string;
46574
46979
  };
46980
+ logistics_buffer_wissel_vrij: {
46981
+ Args: {
46982
+ p_nieuw: string;
46983
+ p_oud: string;
46984
+ };
46985
+ Returns: boolean;
46986
+ };
46575
46987
  logistics_buffers_herstel_status: {
46576
46988
  Args: never;
46577
46989
  Returns: Json;
@@ -48344,6 +48756,30 @@ export type Database = {
48344
48756
  toelichting: string;
48345
48757
  }[];
48346
48758
  };
48759
+ logistics_install_check_19a: {
48760
+ Args: never;
48761
+ Returns: {
48762
+ ok: boolean;
48763
+ onderdeel: string;
48764
+ toelichting: string;
48765
+ }[];
48766
+ };
48767
+ logistics_install_check_19b: {
48768
+ Args: never;
48769
+ Returns: {
48770
+ ok: boolean;
48771
+ onderdeel: string;
48772
+ toelichting: string;
48773
+ }[];
48774
+ };
48775
+ logistics_install_check_19c: {
48776
+ Args: never;
48777
+ Returns: {
48778
+ ok: boolean;
48779
+ onderdeel: string;
48780
+ toelichting: string;
48781
+ }[];
48782
+ };
48347
48783
  logistics_install_check_201: {
48348
48784
  Args: never;
48349
48785
  Returns: {
@@ -48767,6 +49203,10 @@ export type Database = {
48767
49203
  };
48768
49204
  Returns: Json;
48769
49205
  };
49206
+ logistics_karnummer_herstel_19a: {
49207
+ Args: never;
49208
+ Returns: Json;
49209
+ };
48770
49210
  logistics_kern_bool: {
48771
49211
  Args: {
48772
49212
  p: string;
@@ -48855,6 +49295,32 @@ export type Database = {
48855
49295
  Args: never;
48856
49296
  Returns: string[];
48857
49297
  };
49298
+ logistics_klokverkoop_open_kandidaten: {
49299
+ Args: {
49300
+ p_limit?: number;
49301
+ };
49302
+ Returns: {
49303
+ order_id: string;
49304
+ order_number: string;
49305
+ }[];
49306
+ };
49307
+ logistics_klokverkoop_opruimen: {
49308
+ Args: {
49309
+ p_order_id: string;
49310
+ };
49311
+ Returns: Json;
49312
+ };
49313
+ logistics_klokverkoop_opruimen_ronde: {
49314
+ Args: {
49315
+ p_budget_ms?: number;
49316
+ p_max?: number;
49317
+ };
49318
+ Returns: Json;
49319
+ };
49320
+ logistics_klokverkoop_trigger_zetten: {
49321
+ Args: never;
49322
+ Returns: string;
49323
+ };
48858
49324
  logistics_laadtoestand_sig: {
48859
49325
  Args: never;
48860
49326
  Returns: string;
@@ -49991,12 +50457,27 @@ export type Database = {
49991
50457
  };
49992
50458
  Returns: string;
49993
50459
  };
50460
+ logistics_order_zonder_logistiek: {
50461
+ Args: {
50462
+ p_order_id: string;
50463
+ };
50464
+ Returns: string;
50465
+ };
49994
50466
  logistics_ordermomenten_bijwerken: {
49995
50467
  Args: {
49996
50468
  p_limit?: number;
49997
50469
  };
49998
50470
  Returns: Json;
49999
50471
  };
50472
+ logistics_orders_zonder_logistiek: {
50473
+ Args: {
50474
+ p_order_ids: string[];
50475
+ };
50476
+ Returns: {
50477
+ order_id: string;
50478
+ reden: string;
50479
+ }[];
50480
+ };
50000
50481
  logistics_orphan_carts_list: {
50001
50482
  Args: never;
50002
50483
  Returns: Json;
@@ -50500,10 +50981,22 @@ export type Database = {
50500
50981
  };
50501
50982
  Returns: boolean;
50502
50983
  };
50984
+ logistics_plan_karnummer_fout: {
50985
+ Args: {
50986
+ p_error: string;
50987
+ };
50988
+ Returns: boolean;
50989
+ };
50503
50990
  logistics_plan_kick: {
50504
50991
  Args: never;
50505
50992
  Returns: undefined;
50506
50993
  };
50994
+ logistics_plan_leverdag_voorbij: {
50995
+ Args: {
50996
+ p_order_id: string;
50997
+ };
50998
+ Returns: boolean;
50999
+ };
50507
51000
  logistics_plan_lock_acquire: {
50508
51001
  Args: {
50509
51002
  _key: string;
@@ -50642,6 +51135,15 @@ export type Database = {
50642
51135
  };
50643
51136
  Returns: number;
50644
51137
  };
51138
+ logistics_plan_wacht_op_wijziging: {
51139
+ Args: {
51140
+ p_error: string;
51141
+ p_fp: string;
51142
+ p_order_id: string;
51143
+ p_status: string;
51144
+ };
51145
+ Returns: boolean;
51146
+ };
50645
51147
  logistics_plan_wachttijd: {
50646
51148
  Args: {
50647
51149
  p_order_id: string;
@@ -52790,6 +53292,13 @@ export type Database = {
52790
53292
  priority: number;
52791
53293
  }[];
52792
53294
  };
53295
+ pakketten_importeren: {
53296
+ Args: {
53297
+ p_import_sleutel: string;
53298
+ p_regels: Json;
53299
+ };
53300
+ Returns: Json;
53301
+ };
52793
53302
  pick_active_printers: {
52794
53303
  Args: never;
52795
53304
  Returns: {
@@ -55299,6 +55808,20 @@ export type Database = {
55299
55808
  };
55300
55809
  Returns: string;
55301
55810
  };
55811
+ print_aanvragen_v1: {
55812
+ Args: {
55813
+ p_bron?: string;
55814
+ p_bron_id?: string;
55815
+ p_documentnaam?: string;
55816
+ p_documenttype: string;
55817
+ p_idempotentie_sleutel?: string;
55818
+ p_kar_id?: string;
55819
+ p_kopieen?: number;
55820
+ p_order_id?: string;
55821
+ p_payload?: Json;
55822
+ };
55823
+ Returns: string;
55824
+ };
55302
55825
  print_bel_meldingen_sync: {
55303
55826
  Args: never;
55304
55827
  Returns: Json;
@@ -55384,10 +55907,28 @@ export type Database = {
55384
55907
  };
55385
55908
  Returns: string;
55386
55909
  };
55910
+ print_opdracht_status_v1: {
55911
+ Args: {
55912
+ p_opdracht_id: string;
55913
+ };
55914
+ Returns: Json;
55915
+ };
55387
55916
  print_plek_documenten_v1: {
55388
55917
  Args: never;
55389
55918
  Returns: Json;
55390
55919
  };
55920
+ print_plek_koppelen_v1: {
55921
+ Args: {
55922
+ p_bron: string;
55923
+ p_bron_id: string;
55924
+ p_plek_id: string;
55925
+ };
55926
+ Returns: Json;
55927
+ };
55928
+ print_plek_status_lijst_v1: {
55929
+ Args: never;
55930
+ Returns: Json;
55931
+ };
55391
55932
  print_plek_status_v1: {
55392
55933
  Args: {
55393
55934
  p_sleutel: string;
@@ -55891,6 +56432,12 @@ export type Database = {
55891
56432
  };
55892
56433
  Returns: Json;
55893
56434
  };
56435
+ quote_import_batch: {
56436
+ Args: {
56437
+ p_rijen: Json;
56438
+ };
56439
+ Returns: Json;
56440
+ };
55894
56441
  quote_list_packages: {
55895
56442
  Args: never;
55896
56443
  Returns: Json;
@@ -58497,6 +59044,12 @@ export type Database = {
58497
59044
  soort: string;
58498
59045
  }[];
58499
59046
  };
59047
+ verkoop_is_klokverkoop: {
59048
+ Args: {
59049
+ p_order_id: string;
59050
+ };
59051
+ Returns: boolean;
59052
+ };
58500
59053
  verkoop_is_server: {
58501
59054
  Args: never;
58502
59055
  Returns: boolean;
@@ -58522,6 +59075,30 @@ export type Database = {
58522
59075
  };
58523
59076
  Returns: undefined;
58524
59077
  };
59078
+ verkoop_klokverkoop_aanvullen: {
59079
+ Args: {
59080
+ p_order_ids: string[];
59081
+ };
59082
+ Returns: number;
59083
+ };
59084
+ verkoop_klokverkoop_backfill: {
59085
+ Args: {
59086
+ p_budget_ms?: number;
59087
+ };
59088
+ Returns: Json;
59089
+ };
59090
+ verkoop_klokverkoop_bepalen: {
59091
+ Args: {
59092
+ p_order_id: string;
59093
+ };
59094
+ Returns: boolean;
59095
+ };
59096
+ verkoop_klokverkoop_regel: {
59097
+ Args: {
59098
+ p_data: Json;
59099
+ };
59100
+ Returns: boolean;
59101
+ };
58525
59102
  verkoop_latest_delivery_aanvullen: {
58526
59103
  Args: {
58527
59104
  p_max?: number;
@@ -59131,6 +59708,10 @@ export type Database = {
59131
59708
  Args: never;
59132
59709
  Returns: Json;
59133
59710
  };
59711
+ voorraad_floriday_mutaties_werk: {
59712
+ Args: never;
59713
+ Returns: Json;
59714
+ };
59134
59715
  voorraad_floriday_orders_vers: {
59135
59716
  Args: never;
59136
59717
  Returns: boolean;
@@ -59575,6 +60156,16 @@ export type Database = {
59575
60156
  Args: never;
59576
60157
  Returns: Json;
59577
60158
  };
60159
+ voorraad_reconcile_vastleggen: {
60160
+ Args: {
60161
+ p_beschikbaar?: Json;
60162
+ p_connection_id: string;
60163
+ p_geen_leesrecht?: boolean;
60164
+ p_remote: Json;
60165
+ p_week_gelezen?: boolean;
60166
+ };
60167
+ Returns: Json;
60168
+ };
59578
60169
  voorraad_reservering_extra: {
59579
60170
  Args: {
59580
60171
  p_key: string;
@@ -60005,6 +60596,13 @@ export type Database = {
60005
60596
  };
60006
60597
  Returns: Json;
60007
60598
  };
60599
+ wo_import_batch: {
60600
+ Args: {
60601
+ _batch_id?: string;
60602
+ _rijen: Json;
60603
+ };
60604
+ Returns: Json;
60605
+ };
60008
60606
  wo_is_planned_monteur: {
60009
60607
  Args: {
60010
60608
  _werkbon_id: string;