@flowselections/logistiek-engine 1.0.225 → 1.0.229

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 (38) hide show
  1. package/db/schema/logistiek-engine.sql +757 -0
  2. package/dist-lib/components/BeheerPage.d.ts.map +1 -1
  3. package/dist-lib/components/BeheerPage.js +2 -0
  4. package/dist-lib/components/FlowPage.d.ts.map +1 -1
  5. package/dist-lib/components/FlowPage.js +2 -0
  6. package/dist-lib/components/LadingdragersPage.d.ts.map +1 -1
  7. package/dist-lib/components/LadingdragersPage.js +2 -0
  8. package/dist-lib/components/LogistiekEnginePage.d.ts.map +1 -1
  9. package/dist-lib/components/LogistiekEnginePage.js +2 -1
  10. package/dist-lib/components/LogistiekEngineQueuePage.d.ts.map +1 -1
  11. package/dist-lib/components/LogistiekEngineQueuePage.js +2 -0
  12. package/dist-lib/components/PlanWachtrijPage.d.ts.map +1 -1
  13. package/dist-lib/components/PlanWachtrijPage.js +2 -0
  14. package/dist-lib/components/ProefindelingPage.d.ts.map +1 -1
  15. package/dist-lib/components/ProefindelingPage.js +2 -0
  16. package/dist-lib/components/RegiePage.d.ts.map +1 -1
  17. package/dist-lib/components/RegiePage.js +2 -0
  18. package/dist-lib/components/RuleEnginePage.d.ts.map +1 -1
  19. package/dist-lib/components/RuleEnginePage.js +2 -0
  20. package/dist-lib/components/StandaardgegevensCard.d.ts +2 -0
  21. package/dist-lib/components/StandaardgegevensCard.d.ts.map +1 -0
  22. package/dist-lib/components/StandaardgegevensCard.js +42 -0
  23. package/dist-lib/hooks/useEngineZelfherstel.d.ts +22 -0
  24. package/dist-lib/hooks/useEngineZelfherstel.d.ts.map +1 -0
  25. package/dist-lib/hooks/useEngineZelfherstel.js +61 -0
  26. package/dist-lib/index.d.ts +2 -0
  27. package/dist-lib/index.d.ts.map +1 -1
  28. package/dist-lib/index.js +2 -0
  29. package/dist-lib/integrations/supabase/types.d.ts +701 -0
  30. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  31. package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
  32. package/dist-lib/lib/handlers/logistics-tick.server.js +11 -1
  33. package/dist-lib/lib/moduleVersion.d.ts +1 -1
  34. package/dist-lib/lib/moduleVersion.js +1 -1
  35. package/dist-lib/lib/planQueue.server.d.ts +4 -1
  36. package/dist-lib/lib/planQueue.server.d.ts.map +1 -1
  37. package/dist-lib/lib/planQueue.server.js +5 -1
  38. package/package.json +2 -2
@@ -778,6 +778,7 @@ export type Database = {
778
778
  updated_at: string;
779
779
  valuta: string;
780
780
  velden: Json;
781
+ zichtbaar_voor_monteur: boolean;
781
782
  };
782
783
  Insert: {
783
784
  artikelcode: string;
@@ -798,6 +799,7 @@ export type Database = {
798
799
  updated_at?: string;
799
800
  valuta?: string;
800
801
  velden?: Json;
802
+ zichtbaar_voor_monteur?: boolean;
801
803
  };
802
804
  Update: {
803
805
  artikelcode?: string;
@@ -818,6 +820,7 @@ export type Database = {
818
820
  updated_at?: string;
819
821
  valuta?: string;
820
822
  velden?: Json;
823
+ zichtbaar_voor_monteur?: boolean;
821
824
  };
822
825
  Relationships: [];
823
826
  };
@@ -2116,6 +2119,95 @@ export type Database = {
2116
2119
  }
2117
2120
  ];
2118
2121
  };
2122
+ customer_delivery_location_glns: {
2123
+ Row: {
2124
+ created_at: string;
2125
+ customer_id: string;
2126
+ floriday_location_id: string | null;
2127
+ gln: string;
2128
+ id: string;
2129
+ is_primary: boolean;
2130
+ location_id: string;
2131
+ removed_at: string | null;
2132
+ source: string;
2133
+ };
2134
+ Insert: {
2135
+ created_at?: string;
2136
+ customer_id: string;
2137
+ floriday_location_id?: string | null;
2138
+ gln: string;
2139
+ id?: string;
2140
+ is_primary?: boolean;
2141
+ location_id: string;
2142
+ removed_at?: string | null;
2143
+ source?: string;
2144
+ };
2145
+ Update: {
2146
+ created_at?: string;
2147
+ customer_id?: string;
2148
+ floriday_location_id?: string | null;
2149
+ gln?: string;
2150
+ id?: string;
2151
+ is_primary?: boolean;
2152
+ location_id?: string;
2153
+ removed_at?: string | null;
2154
+ source?: string;
2155
+ };
2156
+ Relationships: [
2157
+ {
2158
+ foreignKeyName: "customer_delivery_location_glns_customer_id_fkey";
2159
+ columns: ["customer_id"];
2160
+ isOneToOne: false;
2161
+ referencedRelation: "customers";
2162
+ referencedColumns: ["id"];
2163
+ },
2164
+ {
2165
+ foreignKeyName: "customer_delivery_location_glns_location_id_fkey";
2166
+ columns: ["location_id"];
2167
+ isOneToOne: false;
2168
+ referencedRelation: "customer_delivery_locations";
2169
+ referencedColumns: ["id"];
2170
+ }
2171
+ ];
2172
+ };
2173
+ customer_delivery_location_ignored: {
2174
+ Row: {
2175
+ created_at: string;
2176
+ created_by: string | null;
2177
+ customer_id: string;
2178
+ floriday_location_id: string | null;
2179
+ gln: string | null;
2180
+ id: string;
2181
+ reason: string | null;
2182
+ };
2183
+ Insert: {
2184
+ created_at?: string;
2185
+ created_by?: string | null;
2186
+ customer_id: string;
2187
+ floriday_location_id?: string | null;
2188
+ gln?: string | null;
2189
+ id?: string;
2190
+ reason?: string | null;
2191
+ };
2192
+ Update: {
2193
+ created_at?: string;
2194
+ created_by?: string | null;
2195
+ customer_id?: string;
2196
+ floriday_location_id?: string | null;
2197
+ gln?: string | null;
2198
+ id?: string;
2199
+ reason?: string | null;
2200
+ };
2201
+ Relationships: [
2202
+ {
2203
+ foreignKeyName: "customer_delivery_location_ignored_customer_id_fkey";
2204
+ columns: ["customer_id"];
2205
+ isOneToOne: false;
2206
+ referencedRelation: "customers";
2207
+ referencedColumns: ["id"];
2208
+ }
2209
+ ];
2210
+ };
2119
2211
  customer_delivery_locations: {
2120
2212
  Row: {
2121
2213
  address_line: string | null;
@@ -3186,6 +3278,33 @@ export type Database = {
3186
3278
  };
3187
3279
  Relationships: [];
3188
3280
  };
3281
+ dashboard_dagnotities: {
3282
+ Row: {
3283
+ bijgewerkt_door: string | null;
3284
+ created_at: string;
3285
+ datum: string;
3286
+ id: string;
3287
+ tekst: string;
3288
+ updated_at: string;
3289
+ };
3290
+ Insert: {
3291
+ bijgewerkt_door?: string | null;
3292
+ created_at?: string;
3293
+ datum: string;
3294
+ id?: string;
3295
+ tekst?: string;
3296
+ updated_at?: string;
3297
+ };
3298
+ Update: {
3299
+ bijgewerkt_door?: string | null;
3300
+ created_at?: string;
3301
+ datum?: string;
3302
+ id?: string;
3303
+ tekst?: string;
3304
+ updated_at?: string;
3305
+ };
3306
+ Relationships: [];
3307
+ };
3189
3308
  dashboard_daily_reports: {
3190
3309
  Row: {
3191
3310
  created_at: string;
@@ -8562,6 +8681,7 @@ export type Database = {
8562
8681
  label: string;
8563
8682
  local_url_template: string | null;
8564
8683
  resource_type: string;
8684
+ system_label: string | null;
8565
8685
  updated_at: string;
8566
8686
  };
8567
8687
  Insert: {
@@ -8571,6 +8691,7 @@ export type Database = {
8571
8691
  label: string;
8572
8692
  local_url_template?: string | null;
8573
8693
  resource_type: string;
8694
+ system_label?: string | null;
8574
8695
  updated_at?: string;
8575
8696
  };
8576
8697
  Update: {
@@ -8580,6 +8701,7 @@ export type Database = {
8580
8701
  label?: string;
8581
8702
  local_url_template?: string | null;
8582
8703
  resource_type?: string;
8704
+ system_label?: string | null;
8583
8705
  updated_at?: string;
8584
8706
  };
8585
8707
  Relationships: [];
@@ -11024,6 +11146,7 @@ export type Database = {
11024
11146
  id: string;
11025
11147
  invoice_date: string;
11026
11148
  invoice_number: string | null;
11149
+ merged_into: string | null;
11027
11150
  note: string | null;
11028
11151
  paid_at: string | null;
11029
11152
  payment_term_days: number;
@@ -11038,7 +11161,9 @@ export type Database = {
11038
11161
  total_cents: number;
11039
11162
  updated_at: string;
11040
11163
  vat_cents: number;
11164
+ vat_manual: boolean;
11041
11165
  vat_rate: number;
11166
+ vat_reverse_charge: boolean;
11042
11167
  work_address: string | null;
11043
11168
  };
11044
11169
  Insert: {
@@ -11058,6 +11183,7 @@ export type Database = {
11058
11183
  id?: string;
11059
11184
  invoice_date?: string;
11060
11185
  invoice_number?: string | null;
11186
+ merged_into?: string | null;
11061
11187
  note?: string | null;
11062
11188
  paid_at?: string | null;
11063
11189
  payment_term_days?: number;
@@ -11072,7 +11198,9 @@ export type Database = {
11072
11198
  total_cents?: number;
11073
11199
  updated_at?: string;
11074
11200
  vat_cents?: number;
11201
+ vat_manual?: boolean;
11075
11202
  vat_rate?: number;
11203
+ vat_reverse_charge?: boolean;
11076
11204
  work_address?: string | null;
11077
11205
  };
11078
11206
  Update: {
@@ -11092,6 +11220,7 @@ export type Database = {
11092
11220
  id?: string;
11093
11221
  invoice_date?: string;
11094
11222
  invoice_number?: string | null;
11223
+ merged_into?: string | null;
11095
11224
  note?: string | null;
11096
11225
  paid_at?: string | null;
11097
11226
  payment_term_days?: number;
@@ -11106,7 +11235,9 @@ export type Database = {
11106
11235
  total_cents?: number;
11107
11236
  updated_at?: string;
11108
11237
  vat_cents?: number;
11238
+ vat_manual?: boolean;
11109
11239
  vat_rate?: number;
11240
+ vat_reverse_charge?: boolean;
11110
11241
  work_address?: string | null;
11111
11242
  };
11112
11243
  Relationships: [
@@ -11116,6 +11247,20 @@ export type Database = {
11116
11247
  isOneToOne: false;
11117
11248
  referencedRelation: "itk_customers";
11118
11249
  referencedColumns: ["id"];
11250
+ },
11251
+ {
11252
+ foreignKeyName: "invoices_merged_into_fkey";
11253
+ columns: ["merged_into"];
11254
+ isOneToOne: false;
11255
+ referencedRelation: "invoices";
11256
+ referencedColumns: ["id"];
11257
+ },
11258
+ {
11259
+ foreignKeyName: "invoices_merged_into_fkey";
11260
+ columns: ["merged_into"];
11261
+ isOneToOne: false;
11262
+ referencedRelation: "uren_facturen";
11263
+ referencedColumns: ["id"];
11119
11264
  }
11120
11265
  ];
11121
11266
  };
@@ -11284,6 +11429,7 @@ export type Database = {
11284
11429
  segment: Database["public"]["Enums"]["itk_customer_segment"];
11285
11430
  updated_at: string;
11286
11431
  vat_number: string | null;
11432
+ vat_reverse_charge: boolean;
11287
11433
  };
11288
11434
  Insert: {
11289
11435
  billing_city?: string | null;
@@ -11304,6 +11450,7 @@ export type Database = {
11304
11450
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
11305
11451
  updated_at?: string;
11306
11452
  vat_number?: string | null;
11453
+ vat_reverse_charge?: boolean;
11307
11454
  };
11308
11455
  Update: {
11309
11456
  billing_city?: string | null;
@@ -11324,6 +11471,7 @@ export type Database = {
11324
11471
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
11325
11472
  updated_at?: string;
11326
11473
  vat_number?: string | null;
11474
+ vat_reverse_charge?: boolean;
11327
11475
  };
11328
11476
  Relationships: [];
11329
11477
  };
@@ -11812,6 +11960,7 @@ export type Database = {
11812
11960
  akkoordgever_email: string;
11813
11961
  akkoordgever_naam: string;
11814
11962
  akkoordverklaring: string;
11963
+ handtekening: string | null;
11815
11964
  id: string;
11816
11965
  inhoud_hash: string;
11817
11966
  ip_address: unknown;
@@ -11826,6 +11975,7 @@ export type Database = {
11826
11975
  akkoordgever_email: string;
11827
11976
  akkoordgever_naam: string;
11828
11977
  akkoordverklaring: string;
11978
+ handtekening?: string | null;
11829
11979
  id?: string;
11830
11980
  inhoud_hash: string;
11831
11981
  ip_address?: unknown;
@@ -11840,6 +11990,7 @@ export type Database = {
11840
11990
  akkoordgever_email?: string;
11841
11991
  akkoordgever_naam?: string;
11842
11992
  akkoordverklaring?: string;
11993
+ handtekening?: string | null;
11843
11994
  id?: string;
11844
11995
  inhoud_hash?: string;
11845
11996
  ip_address?: unknown;
@@ -12095,6 +12246,7 @@ export type Database = {
12095
12246
  customer_id: string | null;
12096
12247
  follow_up_werkbon_id: string | null;
12097
12248
  id: string;
12249
+ interne_notitie: string | null;
12098
12250
  jaar: number;
12099
12251
  mandaat_restant_cents: number;
12100
12252
  notities: string | null;
@@ -12139,6 +12291,7 @@ export type Database = {
12139
12291
  customer_id?: string | null;
12140
12292
  follow_up_werkbon_id?: string | null;
12141
12293
  id?: string;
12294
+ interne_notitie?: string | null;
12142
12295
  jaar?: number;
12143
12296
  mandaat_restant_cents?: number;
12144
12297
  notities?: string | null;
@@ -12183,6 +12336,7 @@ export type Database = {
12183
12336
  customer_id?: string | null;
12184
12337
  follow_up_werkbon_id?: string | null;
12185
12338
  id?: string;
12339
+ interne_notitie?: string | null;
12186
12340
  jaar?: number;
12187
12341
  mandaat_restant_cents?: number;
12188
12342
  notities?: string | null;
@@ -14748,6 +14902,7 @@ export type Database = {
14748
14902
  error: string | null;
14749
14903
  id: string;
14750
14904
  next_attempt_at: string;
14905
+ order_fp: string | null;
14751
14906
  order_id: string;
14752
14907
  reason: string;
14753
14908
  reason_code: string | null;
@@ -14761,6 +14916,7 @@ export type Database = {
14761
14916
  error?: string | null;
14762
14917
  id?: string;
14763
14918
  next_attempt_at?: string;
14919
+ order_fp?: string | null;
14764
14920
  order_id: string;
14765
14921
  reason?: string;
14766
14922
  reason_code?: string | null;
@@ -14774,6 +14930,7 @@ export type Database = {
14774
14930
  error?: string | null;
14775
14931
  id?: string;
14776
14932
  next_attempt_at?: string;
14933
+ order_fp?: string | null;
14777
14934
  order_id?: string;
14778
14935
  reason?: string;
14779
14936
  reason_code?: string | null;
@@ -16382,6 +16539,7 @@ export type Database = {
16382
16539
  domain_match: boolean;
16383
16540
  duplicate_days: number;
16384
16541
  id: string;
16542
+ max_age_days: number;
16385
16543
  max_agent_reparse: number;
16386
16544
  max_ai_per_day: number;
16387
16545
  max_ai_per_month: number;
@@ -16405,6 +16563,7 @@ export type Database = {
16405
16563
  domain_match?: boolean;
16406
16564
  duplicate_days?: number;
16407
16565
  id?: string;
16566
+ max_age_days?: number;
16408
16567
  max_agent_reparse?: number;
16409
16568
  max_ai_per_day?: number;
16410
16569
  max_ai_per_month?: number;
@@ -16428,6 +16587,7 @@ export type Database = {
16428
16587
  domain_match?: boolean;
16429
16588
  duplicate_days?: number;
16430
16589
  id?: string;
16590
+ max_age_days?: number;
16431
16591
  max_agent_reparse?: number;
16432
16592
  max_ai_per_day?: number;
16433
16593
  max_ai_per_month?: number;
@@ -16445,6 +16605,30 @@ export type Database = {
16445
16605
  };
16446
16606
  Relationships: [];
16447
16607
  };
16608
+ mailbox_ignored_events: {
16609
+ Row: {
16610
+ connection_id: string | null;
16611
+ created_at: string;
16612
+ event_id: string;
16613
+ id: string;
16614
+ reason: string;
16615
+ };
16616
+ Insert: {
16617
+ connection_id?: string | null;
16618
+ created_at?: string;
16619
+ event_id: string;
16620
+ id?: string;
16621
+ reason: string;
16622
+ };
16623
+ Update: {
16624
+ connection_id?: string | null;
16625
+ created_at?: string;
16626
+ event_id?: string;
16627
+ id?: string;
16628
+ reason?: string;
16629
+ };
16630
+ Relationships: [];
16631
+ };
16448
16632
  mailbox_ingest_runs: {
16449
16633
  Row: {
16450
16634
  connection_id: string | null;
@@ -16454,7 +16638,9 @@ export type Database = {
16454
16638
  id: string;
16455
16639
  inserted: number;
16456
16640
  processed: number;
16641
+ reason: string | null;
16457
16642
  started_at: string;
16643
+ status: string | null;
16458
16644
  trigger: string;
16459
16645
  };
16460
16646
  Insert: {
@@ -16465,7 +16651,9 @@ export type Database = {
16465
16651
  id?: string;
16466
16652
  inserted?: number;
16467
16653
  processed?: number;
16654
+ reason?: string | null;
16468
16655
  started_at?: string;
16656
+ status?: string | null;
16469
16657
  trigger: string;
16470
16658
  };
16471
16659
  Update: {
@@ -16476,13 +16664,16 @@ export type Database = {
16476
16664
  id?: string;
16477
16665
  inserted?: number;
16478
16666
  processed?: number;
16667
+ reason?: string | null;
16479
16668
  started_at?: string;
16669
+ status?: string | null;
16480
16670
  trigger?: string;
16481
16671
  };
16482
16672
  Relationships: [];
16483
16673
  };
16484
16674
  mailbox_messages: {
16485
16675
  Row: {
16676
+ account_email: string | null;
16486
16677
  analysis_count: number;
16487
16678
  analysis_note: string | null;
16488
16679
  analysis_started_at: string | null;
@@ -16513,6 +16704,7 @@ export type Database = {
16513
16704
  updated_at: string;
16514
16705
  };
16515
16706
  Insert: {
16707
+ account_email?: string | null;
16516
16708
  analysis_count?: number;
16517
16709
  analysis_note?: string | null;
16518
16710
  analysis_started_at?: string | null;
@@ -16543,6 +16735,7 @@ export type Database = {
16543
16735
  updated_at?: string;
16544
16736
  };
16545
16737
  Update: {
16738
+ account_email?: string | null;
16546
16739
  analysis_count?: number;
16547
16740
  analysis_note?: string | null;
16548
16741
  analysis_started_at?: string | null;
@@ -19437,9 +19630,12 @@ export type Database = {
19437
19630
  created_at: string;
19438
19631
  flag: string | null;
19439
19632
  id: string;
19633
+ is_system: boolean | null;
19440
19634
  name: string;
19441
19635
  sort_order: number;
19442
19636
  updated_at: string;
19637
+ user_modified_at: string | null;
19638
+ user_modified_fields: string[];
19443
19639
  };
19444
19640
  Insert: {
19445
19641
  active?: boolean;
@@ -19447,9 +19643,12 @@ export type Database = {
19447
19643
  created_at?: string;
19448
19644
  flag?: string | null;
19449
19645
  id?: string;
19646
+ is_system?: boolean | null;
19450
19647
  name: string;
19451
19648
  sort_order?: number;
19452
19649
  updated_at?: string;
19650
+ user_modified_at?: string | null;
19651
+ user_modified_fields?: string[];
19453
19652
  };
19454
19653
  Update: {
19455
19654
  active?: boolean;
@@ -19457,9 +19656,33 @@ export type Database = {
19457
19656
  created_at?: string;
19458
19657
  flag?: string | null;
19459
19658
  id?: string;
19659
+ is_system?: boolean | null;
19460
19660
  name?: string;
19461
19661
  sort_order?: number;
19462
19662
  updated_at?: string;
19663
+ user_modified_at?: string | null;
19664
+ user_modified_fields?: string[];
19665
+ };
19666
+ Relationships: [];
19667
+ };
19668
+ pick_defaults_state: {
19669
+ Row: {
19670
+ applied_at: string;
19671
+ applied_version: number;
19672
+ id: boolean;
19673
+ laatste_resultaat: Json | null;
19674
+ };
19675
+ Insert: {
19676
+ applied_at?: string;
19677
+ applied_version: number;
19678
+ id?: boolean;
19679
+ laatste_resultaat?: Json | null;
19680
+ };
19681
+ Update: {
19682
+ applied_at?: string;
19683
+ applied_version?: number;
19684
+ id?: boolean;
19685
+ laatste_resultaat?: Json | null;
19463
19686
  };
19464
19687
  Relationships: [];
19465
19688
  };
@@ -19471,10 +19694,13 @@ export type Database = {
19471
19694
  created_at: string;
19472
19695
  id: string;
19473
19696
  is_open: boolean;
19697
+ is_system: boolean | null;
19474
19698
  is_terminal: boolean;
19475
19699
  name: string;
19476
19700
  sort_order: number;
19477
19701
  updated_at: string;
19702
+ user_modified_at: string | null;
19703
+ user_modified_fields: string[];
19478
19704
  };
19479
19705
  Insert: {
19480
19706
  active?: boolean;
@@ -19483,10 +19709,13 @@ export type Database = {
19483
19709
  created_at?: string;
19484
19710
  id?: string;
19485
19711
  is_open?: boolean;
19712
+ is_system?: boolean | null;
19486
19713
  is_terminal?: boolean;
19487
19714
  name: string;
19488
19715
  sort_order?: number;
19489
19716
  updated_at?: string;
19717
+ user_modified_at?: string | null;
19718
+ user_modified_fields?: string[];
19490
19719
  };
19491
19720
  Update: {
19492
19721
  active?: boolean;
@@ -19495,10 +19724,13 @@ export type Database = {
19495
19724
  created_at?: string;
19496
19725
  id?: string;
19497
19726
  is_open?: boolean;
19727
+ is_system?: boolean | null;
19498
19728
  is_terminal?: boolean;
19499
19729
  name?: string;
19500
19730
  sort_order?: number;
19501
19731
  updated_at?: string;
19732
+ user_modified_at?: string | null;
19733
+ user_modified_fields?: string[];
19502
19734
  };
19503
19735
  Relationships: [];
19504
19736
  };
@@ -19511,6 +19743,7 @@ export type Database = {
19511
19743
  description: string | null;
19512
19744
  icon: string | null;
19513
19745
  id: string;
19746
+ is_system: boolean | null;
19514
19747
  name: string;
19515
19748
  print_template: string | null;
19516
19749
  printer_id: string | null;
@@ -19518,6 +19751,8 @@ export type Database = {
19518
19751
  report_key: string | null;
19519
19752
  sort_order: number;
19520
19753
  updated_at: string;
19754
+ user_modified_at: string | null;
19755
+ user_modified_fields: string[];
19521
19756
  workflow: Json;
19522
19757
  };
19523
19758
  Insert: {
@@ -19528,6 +19763,7 @@ export type Database = {
19528
19763
  description?: string | null;
19529
19764
  icon?: string | null;
19530
19765
  id?: string;
19766
+ is_system?: boolean | null;
19531
19767
  name: string;
19532
19768
  print_template?: string | null;
19533
19769
  printer_id?: string | null;
@@ -19535,6 +19771,8 @@ export type Database = {
19535
19771
  report_key?: string | null;
19536
19772
  sort_order?: number;
19537
19773
  updated_at?: string;
19774
+ user_modified_at?: string | null;
19775
+ user_modified_fields?: string[];
19538
19776
  workflow?: Json;
19539
19777
  };
19540
19778
  Update: {
@@ -19545,6 +19783,7 @@ export type Database = {
19545
19783
  description?: string | null;
19546
19784
  icon?: string | null;
19547
19785
  id?: string;
19786
+ is_system?: boolean | null;
19548
19787
  name?: string;
19549
19788
  print_template?: string | null;
19550
19789
  printer_id?: string | null;
@@ -19552,6 +19791,8 @@ export type Database = {
19552
19791
  report_key?: string | null;
19553
19792
  sort_order?: number;
19554
19793
  updated_at?: string;
19794
+ user_modified_at?: string | null;
19795
+ user_modified_fields?: string[];
19555
19796
  workflow?: Json;
19556
19797
  };
19557
19798
  Relationships: [
@@ -20269,9 +20510,12 @@ export type Database = {
20269
20510
  description: string | null;
20270
20511
  icon: string | null;
20271
20512
  id: string;
20513
+ is_system: boolean | null;
20272
20514
  name: string;
20273
20515
  sort_order: number;
20274
20516
  updated_at: string;
20517
+ user_modified_at: string | null;
20518
+ user_modified_fields: string[];
20275
20519
  workflow: Json;
20276
20520
  };
20277
20521
  Insert: {
@@ -20282,9 +20526,12 @@ export type Database = {
20282
20526
  description?: string | null;
20283
20527
  icon?: string | null;
20284
20528
  id?: string;
20529
+ is_system?: boolean | null;
20285
20530
  name: string;
20286
20531
  sort_order?: number;
20287
20532
  updated_at?: string;
20533
+ user_modified_at?: string | null;
20534
+ user_modified_fields?: string[];
20288
20535
  workflow?: Json;
20289
20536
  };
20290
20537
  Update: {
@@ -20295,9 +20542,12 @@ export type Database = {
20295
20542
  description?: string | null;
20296
20543
  icon?: string | null;
20297
20544
  id?: string;
20545
+ is_system?: boolean | null;
20298
20546
  name?: string;
20299
20547
  sort_order?: number;
20300
20548
  updated_at?: string;
20549
+ user_modified_at?: string | null;
20550
+ user_modified_fields?: string[];
20301
20551
  workflow?: Json;
20302
20552
  };
20303
20553
  Relationships: [];
@@ -20311,9 +20561,12 @@ export type Database = {
20311
20561
  description: string | null;
20312
20562
  icon: string | null;
20313
20563
  id: string;
20564
+ is_system: boolean | null;
20314
20565
  name: string;
20315
20566
  sort_order: number;
20316
20567
  updated_at: string;
20568
+ user_modified_at: string | null;
20569
+ user_modified_fields: string[];
20317
20570
  };
20318
20571
  Insert: {
20319
20572
  active?: boolean;
@@ -20323,9 +20576,12 @@ export type Database = {
20323
20576
  description?: string | null;
20324
20577
  icon?: string | null;
20325
20578
  id?: string;
20579
+ is_system?: boolean | null;
20326
20580
  name: string;
20327
20581
  sort_order?: number;
20328
20582
  updated_at?: string;
20583
+ user_modified_at?: string | null;
20584
+ user_modified_fields?: string[];
20329
20585
  };
20330
20586
  Update: {
20331
20587
  active?: boolean;
@@ -20335,9 +20591,12 @@ export type Database = {
20335
20591
  description?: string | null;
20336
20592
  icon?: string | null;
20337
20593
  id?: string;
20594
+ is_system?: boolean | null;
20338
20595
  name?: string;
20339
20596
  sort_order?: number;
20340
20597
  updated_at?: string;
20598
+ user_modified_at?: string | null;
20599
+ user_modified_fields?: string[];
20341
20600
  };
20342
20601
  Relationships: [];
20343
20602
  };
@@ -21995,6 +22254,7 @@ export type Database = {
21995
22254
  mislukte_wakeups: number;
21996
22255
  module_versie: string | null;
21997
22256
  tick_sleutel: string;
22257
+ tick_sleutel_hash: string | null;
21998
22258
  updated_at: string;
21999
22259
  };
22000
22260
  Insert: {
@@ -22011,6 +22271,7 @@ export type Database = {
22011
22271
  mislukte_wakeups?: number;
22012
22272
  module_versie?: string | null;
22013
22273
  tick_sleutel?: string;
22274
+ tick_sleutel_hash?: string | null;
22014
22275
  updated_at?: string;
22015
22276
  };
22016
22277
  Update: {
@@ -22027,6 +22288,7 @@ export type Database = {
22027
22288
  mislukte_wakeups?: number;
22028
22289
  module_versie?: string | null;
22029
22290
  tick_sleutel?: string;
22291
+ tick_sleutel_hash?: string | null;
22030
22292
  updated_at?: string;
22031
22293
  };
22032
22294
  Relationships: [];
@@ -22414,6 +22676,7 @@ export type Database = {
22414
22676
  papierformaat: string;
22415
22677
  pdf_map: string | null;
22416
22678
  poort: number | null;
22679
+ printertaal_instellingen: Json;
22417
22680
  rol_doorlopend: boolean | null;
22418
22681
  rol_id: string | null;
22419
22682
  rol_invoerrichting: string | null;
@@ -22448,6 +22711,7 @@ export type Database = {
22448
22711
  papierformaat?: string;
22449
22712
  pdf_map?: string | null;
22450
22713
  poort?: number | null;
22714
+ printertaal_instellingen?: Json;
22451
22715
  rol_doorlopend?: boolean | null;
22452
22716
  rol_id?: string | null;
22453
22717
  rol_invoerrichting?: string | null;
@@ -22482,6 +22746,7 @@ export type Database = {
22482
22746
  papierformaat?: string;
22483
22747
  pdf_map?: string | null;
22484
22748
  poort?: number | null;
22749
+ printertaal_instellingen?: Json;
22485
22750
  rol_doorlopend?: boolean | null;
22486
22751
  rol_id?: string | null;
22487
22752
  rol_invoerrichting?: string | null;
@@ -28503,6 +28768,54 @@ export type Database = {
28503
28768
  };
28504
28769
  Relationships: [];
28505
28770
  };
28771
+ uren_tekort_meldingen: {
28772
+ Row: {
28773
+ created_at: string;
28774
+ datum: string;
28775
+ gezien_door: string | null;
28776
+ gezien_op: string | null;
28777
+ id: string;
28778
+ monteur_id: string;
28779
+ toelichting: string | null;
28780
+ updated_at: string;
28781
+ };
28782
+ Insert: {
28783
+ created_at?: string;
28784
+ datum: string;
28785
+ gezien_door?: string | null;
28786
+ gezien_op?: string | null;
28787
+ id?: string;
28788
+ monteur_id: string;
28789
+ toelichting?: string | null;
28790
+ updated_at?: string;
28791
+ };
28792
+ Update: {
28793
+ created_at?: string;
28794
+ datum?: string;
28795
+ gezien_door?: string | null;
28796
+ gezien_op?: string | null;
28797
+ id?: string;
28798
+ monteur_id?: string;
28799
+ toelichting?: string | null;
28800
+ updated_at?: string;
28801
+ };
28802
+ Relationships: [
28803
+ {
28804
+ foreignKeyName: "uren_tekort_meldingen_gezien_door_fkey";
28805
+ columns: ["gezien_door"];
28806
+ isOneToOne: false;
28807
+ referencedRelation: "profiles";
28808
+ referencedColumns: ["id"];
28809
+ },
28810
+ {
28811
+ foreignKeyName: "uren_tekort_meldingen_monteur_id_fkey";
28812
+ columns: ["monteur_id"];
28813
+ isOneToOne: false;
28814
+ referencedRelation: "profiles";
28815
+ referencedColumns: ["id"];
28816
+ }
28817
+ ];
28818
+ };
28506
28819
  uren_tekort_toelichtingen: {
28507
28820
  Row: {
28508
28821
  created_at: string;
@@ -29089,25 +29402,52 @@ export type Database = {
29089
29402
  };
29090
29403
  Relationships: [];
29091
29404
  };
29405
+ voorraad_defaults_state: {
29406
+ Row: {
29407
+ id: boolean;
29408
+ resultaat: Json;
29409
+ toegepast_at: string;
29410
+ versie: number;
29411
+ };
29412
+ Insert: {
29413
+ id?: boolean;
29414
+ resultaat?: Json;
29415
+ toegepast_at?: string;
29416
+ versie: number;
29417
+ };
29418
+ Update: {
29419
+ id?: boolean;
29420
+ resultaat?: Json;
29421
+ toegepast_at?: string;
29422
+ versie?: number;
29423
+ };
29424
+ Relationships: [];
29425
+ };
29092
29426
  voorraad_load_carrier_types: {
29093
29427
  Row: {
29428
+ actief: boolean;
29094
29429
  code: string;
29095
29430
  created_at: string;
29096
29431
  naam: string;
29432
+ naam_aangepast: boolean;
29097
29433
  updated_at: string;
29098
29434
  volgorde: number;
29099
29435
  };
29100
29436
  Insert: {
29437
+ actief?: boolean;
29101
29438
  code: string;
29102
29439
  created_at?: string;
29103
29440
  naam: string;
29441
+ naam_aangepast?: boolean;
29104
29442
  updated_at?: string;
29105
29443
  volgorde: number;
29106
29444
  };
29107
29445
  Update: {
29446
+ actief?: boolean;
29108
29447
  code?: string;
29109
29448
  created_at?: string;
29110
29449
  naam?: string;
29450
+ naam_aangepast?: boolean;
29111
29451
  updated_at?: string;
29112
29452
  volgorde?: number;
29113
29453
  };
@@ -29840,6 +30180,48 @@ export type Database = {
29840
30180
  }
29841
30181
  ];
29842
30182
  };
30183
+ werkbon_notes: {
30184
+ Row: {
30185
+ body: string;
30186
+ created_at: string;
30187
+ id: string;
30188
+ updated_at: string;
30189
+ user_id: string;
30190
+ werkbon_id: string;
30191
+ };
30192
+ Insert: {
30193
+ body: string;
30194
+ created_at?: string;
30195
+ id?: string;
30196
+ updated_at?: string;
30197
+ user_id?: string;
30198
+ werkbon_id: string;
30199
+ };
30200
+ Update: {
30201
+ body?: string;
30202
+ created_at?: string;
30203
+ id?: string;
30204
+ updated_at?: string;
30205
+ user_id?: string;
30206
+ werkbon_id?: string;
30207
+ };
30208
+ Relationships: [
30209
+ {
30210
+ foreignKeyName: "werkbon_notes_werkbon_id_fkey";
30211
+ columns: ["werkbon_id"];
30212
+ isOneToOne: false;
30213
+ referencedRelation: "werkbonnen";
30214
+ referencedColumns: ["id"];
30215
+ },
30216
+ {
30217
+ foreignKeyName: "werkbon_notes_werkbon_id_fkey";
30218
+ columns: ["werkbon_id"];
30219
+ isOneToOne: false;
30220
+ referencedRelation: "wo_overview";
30221
+ referencedColumns: ["id"];
30222
+ }
30223
+ ];
30224
+ };
29843
30225
  werkbon_package_ai_rules: {
29844
30226
  Row: {
29845
30227
  active: boolean;
@@ -30195,6 +30577,7 @@ export type Database = {
30195
30577
  article_number: string | null;
30196
30578
  created_at: string;
30197
30579
  description: string | null;
30580
+ extra_quarters: number | null;
30198
30581
  id: string;
30199
30582
  line_type: string;
30200
30583
  note: string | null;
@@ -30209,6 +30592,7 @@ export type Database = {
30209
30592
  article_number?: string | null;
30210
30593
  created_at?: string;
30211
30594
  description?: string | null;
30595
+ extra_quarters?: number | null;
30212
30596
  id?: string;
30213
30597
  line_type?: string;
30214
30598
  note?: string | null;
@@ -30223,6 +30607,7 @@ export type Database = {
30223
30607
  article_number?: string | null;
30224
30608
  created_at?: string;
30225
30609
  description?: string | null;
30610
+ extra_quarters?: number | null;
30226
30611
  id?: string;
30227
30612
  line_type?: string;
30228
30613
  note?: string | null;
@@ -31931,6 +32316,14 @@ export type Database = {
31931
32316
  };
31932
32317
  Returns: undefined;
31933
32318
  };
32319
+ _pick_defaults_apply: {
32320
+ Args: {
32321
+ p_rijen: Json;
32322
+ p_tabel: string;
32323
+ p_velden: string[];
32324
+ };
32325
+ Returns: Json;
32326
+ };
31934
32327
  _pick_job_of_station: {
31935
32328
  Args: {
31936
32329
  p_job_id: string;
@@ -32132,6 +32525,21 @@ export type Database = {
32132
32525
  };
32133
32526
  Returns: string;
32134
32527
  };
32528
+ add_delivery_location_gln: {
32529
+ Args: {
32530
+ p_gln: string;
32531
+ p_location_id: string;
32532
+ };
32533
+ Returns: Json;
32534
+ } | {
32535
+ Args: {
32536
+ p_floriday_location_id: string;
32537
+ p_gln: string;
32538
+ p_location_id: string;
32539
+ p_source: string;
32540
+ };
32541
+ Returns: Json;
32542
+ };
32135
32543
  afh_assert_ingelogd: {
32136
32544
  Args: never;
32137
32545
  Returns: undefined;
@@ -32381,6 +32789,10 @@ export type Database = {
32381
32789
  };
32382
32790
  Returns: string;
32383
32791
  };
32792
+ afhandeling_ensure_defaults: {
32793
+ Args: never;
32794
+ Returns: Json;
32795
+ };
32384
32796
  afhandeling_install_check: {
32385
32797
  Args: never;
32386
32798
  Returns: Json;
@@ -32413,6 +32825,10 @@ export type Database = {
32413
32825
  Args: never;
32414
32826
  Returns: Json;
32415
32827
  };
32828
+ ai_ensure_defaults: {
32829
+ Args: never;
32830
+ Returns: Json;
32831
+ };
32416
32832
  ai_is_admin: {
32417
32833
  Args: {
32418
32834
  _uid: string;
@@ -33335,6 +33751,12 @@ export type Database = {
33335
33751
  };
33336
33752
  Returns: undefined;
33337
33753
  };
33754
+ delete_customer_delivery_location: {
33755
+ Args: {
33756
+ p_location_id: string;
33757
+ };
33758
+ Returns: Json;
33759
+ };
33338
33760
  delete_samenstelling: {
33339
33761
  Args: {
33340
33762
  p_parent_id: string;
@@ -33696,6 +34118,12 @@ export type Database = {
33696
34118
  Args: never;
33697
34119
  Returns: string;
33698
34120
  };
34121
+ facturatie_ensure_defaults: {
34122
+ Args: {
34123
+ p_administration_code?: string;
34124
+ };
34125
+ Returns: Json;
34126
+ };
33699
34127
  facturatie_ensure_runtime: {
33700
34128
  Args: never;
33701
34129
  Returns: string;
@@ -33779,6 +34207,10 @@ export type Database = {
33779
34207
  };
33780
34208
  Returns: boolean;
33781
34209
  };
34210
+ floriday_auth_ensure_defaults: {
34211
+ Args: never;
34212
+ Returns: Json;
34213
+ };
33782
34214
  floriday_authenticatie_install_check: {
33783
34215
  Args: never;
33784
34216
  Returns: {
@@ -33928,6 +34360,12 @@ export type Database = {
33928
34360
  Args: never;
33929
34361
  Returns: Json;
33930
34362
  };
34363
+ floriday_ensure_prune_cron: {
34364
+ Args: {
34365
+ p_apply?: boolean;
34366
+ };
34367
+ Returns: Json;
34368
+ };
33931
34369
  floriday_erp_leading_preview: {
33932
34370
  Args: {
33933
34371
  p_connection_id: string;
@@ -34866,6 +35304,12 @@ export type Database = {
34866
35304
  };
34867
35305
  Returns: undefined;
34868
35306
  };
35307
+ invoice_merge: {
35308
+ Args: {
35309
+ _ids: string[];
35310
+ };
35311
+ Returns: string;
35312
+ };
34869
35313
  invoice_peek_next_number: {
34870
35314
  Args: never;
34871
35315
  Returns: string;
@@ -34907,6 +35351,13 @@ export type Database = {
34907
35351
  };
34908
35352
  Returns: string;
34909
35353
  };
35354
+ invoice_set_note: {
35355
+ Args: {
35356
+ _invoice_id: string;
35357
+ _note: string;
35358
+ };
35359
+ Returns: string;
35360
+ };
34910
35361
  invoice_source_lines: {
34911
35362
  Args: {
34912
35363
  _source_id: string;
@@ -34928,6 +35379,14 @@ export type Database = {
34928
35379
  };
34929
35380
  Returns: Json;
34930
35381
  };
35382
+ invoice_update_full_vat: {
35383
+ Args: {
35384
+ _invoice_id: string;
35385
+ _payload: Json;
35386
+ _reverse: boolean;
35387
+ };
35388
+ Returns: undefined;
35389
+ };
34931
35390
  invoice_work_order_locked: {
34932
35391
  Args: {
34933
35392
  _werkbon_id: string;
@@ -35041,6 +35500,16 @@ export type Database = {
35041
35500
  };
35042
35501
  Returns: boolean;
35043
35502
  };
35503
+ klanten_adres_sleutel: {
35504
+ Args: {
35505
+ p_country: string;
35506
+ p_house: string;
35507
+ p_line: string;
35508
+ p_postal: string;
35509
+ p_street: string;
35510
+ };
35511
+ Returns: string;
35512
+ };
35044
35513
  klanten_auto_promote_status: {
35045
35514
  Args: never;
35046
35515
  Returns: Json;
@@ -35060,6 +35529,22 @@ export type Database = {
35060
35529
  };
35061
35530
  Returns: Json;
35062
35531
  };
35532
+ klanten_gln_backfill_report: {
35533
+ Args: never;
35534
+ Returns: Json;
35535
+ };
35536
+ klanten_gln_geldig: {
35537
+ Args: {
35538
+ p: string;
35539
+ };
35540
+ Returns: boolean;
35541
+ };
35542
+ klanten_gln_norm: {
35543
+ Args: {
35544
+ p: string;
35545
+ };
35546
+ Returns: string;
35547
+ };
35063
35548
  klanten_install_check: {
35064
35549
  Args: never;
35065
35550
  Returns: Json;
@@ -35074,6 +35559,16 @@ export type Database = {
35074
35559
  };
35075
35560
  Returns: string[];
35076
35561
  };
35562
+ klanten_locatie_zendingen: {
35563
+ Args: {
35564
+ p_location_id: string;
35565
+ };
35566
+ Returns: number;
35567
+ };
35568
+ klanten_locaties_samenvoegen_aan: {
35569
+ Args: never;
35570
+ Returns: boolean;
35571
+ };
35077
35572
  klanten_promote_round: {
35078
35573
  Args: never;
35079
35574
  Returns: Json;
@@ -35089,6 +35584,19 @@ export type Database = {
35089
35584
  };
35090
35585
  Returns: Json;
35091
35586
  };
35587
+ klanten_set_locaties_samenvoegen: {
35588
+ Args: {
35589
+ p_aan: boolean;
35590
+ };
35591
+ Returns: Json;
35592
+ };
35593
+ klanten_set_provider_enabled: {
35594
+ Args: {
35595
+ p_enabled: boolean;
35596
+ p_provider: string;
35597
+ };
35598
+ Returns: Json;
35599
+ };
35092
35600
  klanten_toegang: {
35093
35601
  Args: {
35094
35602
  p_niveau: string;
@@ -35279,6 +35787,13 @@ export type Database = {
35279
35787
  Args: never;
35280
35788
  Returns: Json;
35281
35789
  };
35790
+ list_available_glns_for_customer: {
35791
+ Args: {
35792
+ p_customer_id: string;
35793
+ p_location_id?: string;
35794
+ };
35795
+ Returns: Json;
35796
+ };
35282
35797
  list_medewerkers: {
35283
35798
  Args: never;
35284
35799
  Returns: {
@@ -36755,6 +37270,10 @@ export type Database = {
36755
37270
  win_start: string;
36756
37271
  }[];
36757
37272
  };
37273
+ logistics_defaults_status: {
37274
+ Args: never;
37275
+ Returns: Json;
37276
+ };
36758
37277
  logistics_delay_customer_email: {
36759
37278
  Args: {
36760
37279
  p_customer: string;
@@ -36897,6 +37416,10 @@ export type Database = {
36897
37416
  };
36898
37417
  Returns: string;
36899
37418
  };
37419
+ logistics_ensure_defaults: {
37420
+ Args: never;
37421
+ Returns: Json;
37422
+ };
36900
37423
  logistics_ensure_periodiek: {
36901
37424
  Args: never;
36902
37425
  Returns: Json;
@@ -37403,6 +37926,22 @@ export type Database = {
37403
37926
  uitleg: string;
37404
37927
  }[];
37405
37928
  };
37929
+ logistics_install_check_227: {
37930
+ Args: never;
37931
+ Returns: {
37932
+ ok: boolean;
37933
+ punt: string;
37934
+ uitleg: string;
37935
+ }[];
37936
+ };
37937
+ logistics_install_check_228: {
37938
+ Args: never;
37939
+ Returns: {
37940
+ ok: boolean;
37941
+ punt: string;
37942
+ uitleg: string;
37943
+ }[];
37944
+ };
37406
37945
  logistics_is_beheer: {
37407
37946
  Args: never;
37408
37947
  Returns: boolean;
@@ -37528,6 +38067,12 @@ export type Database = {
37528
38067
  };
37529
38068
  Returns: Json;
37530
38069
  };
38070
+ logistics_ladingdrager_resolve_plan: {
38071
+ Args: {
38072
+ p_code: string;
38073
+ };
38074
+ Returns: Json;
38075
+ };
37531
38076
  logistics_ladingdrager_tekst: {
37532
38077
  Args: {
37533
38078
  p_carrier_code: string;
@@ -37680,6 +38225,10 @@ export type Database = {
37680
38225
  };
37681
38226
  Returns: string;
37682
38227
  };
38228
+ logistics_onderhoud_status: {
38229
+ Args: never;
38230
+ Returns: Json;
38231
+ };
37683
38232
  logistics_open_orders_zonder_kar: {
37684
38233
  Args: never;
37685
38234
  Returns: {
@@ -38550,6 +39099,12 @@ export type Database = {
38550
39099
  plan_date: string;
38551
39100
  }[];
38552
39101
  };
39102
+ logistics_plan_inhoud_fp: {
39103
+ Args: {
39104
+ p_order_id: string;
39105
+ };
39106
+ Returns: string;
39107
+ };
38553
39108
  logistics_plan_kick: {
38554
39109
  Args: never;
38555
39110
  Returns: undefined;
@@ -40044,6 +40599,16 @@ export type Database = {
40044
40599
  };
40045
40600
  Returns: Json;
40046
40601
  };
40602
+ mailbox_ensure_defaults: {
40603
+ Args: never;
40604
+ Returns: undefined;
40605
+ };
40606
+ mailbox_prune_ingest_runs: {
40607
+ Args: {
40608
+ p_limit?: number;
40609
+ };
40610
+ Returns: Json;
40611
+ };
40047
40612
  mark_offer_clicked: {
40048
40613
  Args: {
40049
40614
  p_code: string;
@@ -40069,6 +40634,20 @@ export type Database = {
40069
40634
  };
40070
40635
  Returns: undefined;
40071
40636
  };
40637
+ merge_customer_delivery_locations: {
40638
+ Args: {
40639
+ p_source_id: string;
40640
+ p_target_id: string;
40641
+ };
40642
+ Returns: Json;
40643
+ };
40644
+ merge_preview: {
40645
+ Args: {
40646
+ p_source_id: string;
40647
+ p_target_id: string;
40648
+ };
40649
+ Returns: Json;
40650
+ };
40072
40651
  merge_products: {
40073
40652
  Args: {
40074
40653
  _canonical: string;
@@ -40804,6 +41383,14 @@ export type Database = {
40804
41383
  };
40805
41384
  Returns: string;
40806
41385
  };
41386
+ pick_ensure_defaults: {
41387
+ Args: never;
41388
+ Returns: Json;
41389
+ };
41390
+ pick_ensure_defaults_intern: {
41391
+ Args: never;
41392
+ Returns: Json;
41393
+ };
40807
41394
  pick_ensure_settings: {
40808
41395
  Args: never;
40809
41396
  Returns: undefined;
@@ -42437,6 +43024,12 @@ export type Database = {
42437
43024
  };
42438
43025
  Returns: undefined;
42439
43026
  };
43027
+ print_runner_zoek: {
43028
+ Args: {
43029
+ p_sleutel: string;
43030
+ };
43031
+ Returns: string;
43032
+ };
42440
43033
  print_shell_url: {
42441
43034
  Args: never;
42442
43035
  Returns: string;
@@ -42486,6 +43079,12 @@ export type Database = {
42486
43079
  };
42487
43080
  Returns: Json;
42488
43081
  };
43082
+ printer_tspl_risico: {
43083
+ Args: {
43084
+ p_printer_id: string;
43085
+ };
43086
+ Returns: Json;
43087
+ };
42489
43088
  printer_verwijder_verwijzingen: {
42490
43089
  Args: {
42491
43090
  _plek: string;
@@ -42639,6 +43238,10 @@ export type Database = {
42639
43238
  };
42640
43239
  Returns: Json;
42641
43240
  };
43241
+ productontwerp_ensure_defaults: {
43242
+ Args: never;
43243
+ Returns: Json;
43244
+ };
42642
43245
  productontwerp_export: {
42643
43246
  Args: never;
42644
43247
  Returns: Json;
@@ -42703,6 +43306,13 @@ export type Database = {
42703
43306
  Args: never;
42704
43307
  Returns: number;
42705
43308
  };
43309
+ prune_floriday_logs_batch: {
43310
+ Args: {
43311
+ p_batch?: number;
43312
+ p_max_ms?: number;
43313
+ };
43314
+ Returns: Json;
43315
+ };
42706
43316
  quote_ack_work_order: {
42707
43317
  Args: {
42708
43318
  _queue_id: string;
@@ -42785,6 +43395,7 @@ export type Database = {
42785
43395
  Args: {
42786
43396
  _akkoord: boolean;
42787
43397
  _email: string;
43398
+ _handtekening?: string;
42788
43399
  _ip_address?: string;
42789
43400
  _naam: string;
42790
43401
  _token: string;
@@ -42928,6 +43539,12 @@ export type Database = {
42928
43539
  };
42929
43540
  Returns: number;
42930
43541
  };
43542
+ remove_delivery_location_gln: {
43543
+ Args: {
43544
+ p_gln_id: string;
43545
+ };
43546
+ Returns: Json;
43547
+ };
42931
43548
  reorder_customer_price_groups: {
42932
43549
  Args: {
42933
43550
  _ids: string[];
@@ -42969,6 +43586,13 @@ export type Database = {
42969
43586
  };
42970
43587
  Returns: number;
42971
43588
  };
43589
+ resolve_delivery_location_by_gln: {
43590
+ Args: {
43591
+ p_customer_id: string;
43592
+ p_gln: string;
43593
+ };
43594
+ Returns: string;
43595
+ };
42972
43596
  resolve_group_allocation: {
42973
43597
  Args: {
42974
43598
  _needed: number;
@@ -43089,6 +43713,17 @@ export type Database = {
43089
43713
  };
43090
43714
  Returns: Json;
43091
43715
  };
43716
+ save_delivery_location_with_glns: {
43717
+ Args: {
43718
+ p_add: Json;
43719
+ p_fields: Json;
43720
+ p_location_id: string;
43721
+ p_make_primary: boolean;
43722
+ p_primary_gln: string;
43723
+ p_remove: string[];
43724
+ };
43725
+ Returns: Json;
43726
+ };
43092
43727
  save_product_group: {
43093
43728
  Args: {
43094
43729
  p_description: string;
@@ -43904,6 +44539,12 @@ export type Database = {
43904
44539
  };
43905
44540
  Returns: undefined;
43906
44541
  };
44542
+ set_primary_delivery_location_gln: {
44543
+ Args: {
44544
+ p_gln_id: string;
44545
+ };
44546
+ Returns: Json;
44547
+ };
43907
44548
  set_product_stock: {
43908
44549
  Args: {
43909
44550
  p_incoming_stock?: number;
@@ -44239,6 +44880,10 @@ export type Database = {
44239
44880
  Args: never;
44240
44881
  Returns: Json;
44241
44882
  };
44883
+ twinfield_ensure_defaults: {
44884
+ Args: never;
44885
+ Returns: Json;
44886
+ };
44242
44887
  twinfield_facturatie_assert_server: {
44243
44888
  Args: {
44244
44889
  _functie: string;
@@ -45001,6 +45646,10 @@ export type Database = {
45001
45646
  Args: never;
45002
45647
  Returns: Json;
45003
45648
  };
45649
+ verkoop_ensure_defaults: {
45650
+ Args: never;
45651
+ Returns: Json;
45652
+ };
45004
45653
  verkoop_fulfillment_index_apply: {
45005
45654
  Args: {
45006
45655
  p_data: Json;
@@ -45124,6 +45773,16 @@ export type Database = {
45124
45773
  };
45125
45774
  Returns: string;
45126
45775
  };
45776
+ voorraad_afboeken: {
45777
+ Args: {
45778
+ p_aantal: number;
45779
+ p_connection_id: string;
45780
+ p_notitie?: string;
45781
+ p_reden: string;
45782
+ p_trade_item_key: string;
45783
+ };
45784
+ Returns: Json;
45785
+ };
45127
45786
  voorraad_alert_floriday_not_updated: {
45128
45787
  Args: {
45129
45788
  p_key: string;
@@ -45273,22 +45932,44 @@ export type Database = {
45273
45932
  };
45274
45933
  Returns: Json;
45275
45934
  };
45935
+ voorraad_correctie_1140: {
45936
+ Args: {
45937
+ p_uitvoeren?: boolean;
45938
+ };
45939
+ Returns: Json;
45940
+ };
45276
45941
  voorraad_correctie_status: {
45277
45942
  Args: {
45278
45943
  p_correctie?: string;
45279
45944
  };
45280
45945
  Returns: Json;
45281
45946
  };
45947
+ voorraad_defaults_check: {
45948
+ Args: never;
45949
+ Returns: Json;
45950
+ };
45951
+ voorraad_defaults_versie: {
45952
+ Args: never;
45953
+ Returns: number;
45954
+ };
45282
45955
  voorraad_dubbele_voorraadregels: {
45283
45956
  Args: never;
45284
45957
  Returns: Json;
45285
45958
  };
45959
+ voorraad_ensure_defaults: {
45960
+ Args: never;
45961
+ Returns: Json;
45962
+ };
45286
45963
  voorraad_external_fulfilled_ids: {
45287
45964
  Args: {
45288
45965
  p_cf: Json;
45289
45966
  };
45290
45967
  Returns: string[];
45291
45968
  };
45969
+ voorraad_floriday_klaarzetten_toegestaan: {
45970
+ Args: never;
45971
+ Returns: boolean;
45972
+ };
45292
45973
  voorraad_floriday_leads_key: {
45293
45974
  Args: {
45294
45975
  p_key: string;
@@ -45377,6 +46058,12 @@ export type Database = {
45377
46058
  };
45378
46059
  Returns: string;
45379
46060
  };
46061
+ voorraad_overzicht_orderregel_koppeling: {
46062
+ Args: {
46063
+ p_voorbeelden?: number;
46064
+ };
46065
+ Returns: Json;
46066
+ };
45380
46067
  voorraad_packing_from_floriday: {
45381
46068
  Args: {
45382
46069
  p_product_id: string;
@@ -45426,6 +46113,20 @@ export type Database = {
45426
46113
  };
45427
46114
  Returns: undefined;
45428
46115
  };
46116
+ voorraad_voorraad_opslaan: {
46117
+ Args: {
46118
+ p_artikel_notitie?: string;
46119
+ p_artikel_notitie_wijzigen?: boolean;
46120
+ p_connection_id: string;
46121
+ p_incoming_stock: number;
46122
+ p_minimum_stock: number;
46123
+ p_physical_stock: number;
46124
+ p_product_id: string;
46125
+ p_trade_item_key: string;
46126
+ p_wijziging_notitie?: string;
46127
+ };
46128
+ Returns: Json;
46129
+ };
45429
46130
  voorraad_week_is_past: {
45430
46131
  Args: {
45431
46132
  p_week: number;