@flowselections/logistiek-engine 1.0.99 → 1.0.104

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 (61) hide show
  1. package/dist-lib/components/BeladingIndelingCard.d.ts.map +1 -1
  2. package/dist-lib/components/BeladingIndelingCard.js +5 -1
  3. package/dist-lib/integrations/supabase/auth-middleware.d.ts +600 -6
  4. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +600 -6
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/moduleClient.d.ts +600 -6
  8. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/types.d.ts +616 -6
  10. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  11. package/dist-lib/lib/cartCoverage.functions.d.ts +600 -6
  12. package/dist-lib/lib/cartCoverage.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/controlScan.server.d.ts +8 -0
  14. package/dist-lib/lib/controlScan.server.d.ts.map +1 -1
  15. package/dist-lib/lib/controlScan.server.js +86 -5
  16. package/dist-lib/lib/floridayCancellation.server.d.ts +15 -0
  17. package/dist-lib/lib/floridayCancellation.server.d.ts.map +1 -0
  18. package/dist-lib/lib/floridayCancellation.server.js +89 -0
  19. package/dist-lib/lib/floridayCancellation.test.d.ts +2 -0
  20. package/dist-lib/lib/floridayCancellation.test.d.ts.map +1 -0
  21. package/dist-lib/lib/floridayCancellation.test.js +42 -0
  22. package/dist-lib/lib/floridayCartCarriers.d.ts +61 -0
  23. package/dist-lib/lib/floridayCartCarriers.d.ts.map +1 -0
  24. package/dist-lib/lib/floridayCartCarriers.js +113 -0
  25. package/dist-lib/lib/floridayCartCarriers.test.d.ts +2 -0
  26. package/dist-lib/lib/floridayCartCarriers.test.d.ts.map +1 -0
  27. package/dist-lib/lib/floridayCartCarriers.test.js +66 -0
  28. package/dist-lib/lib/floridayDocuments.functions.d.ts +1800 -18
  29. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/floridayDocuments.server.d.ts +7 -0
  31. package/dist-lib/lib/floridayDocuments.server.d.ts.map +1 -1
  32. package/dist-lib/lib/floridayDocuments.server.js +16 -1
  33. package/dist-lib/lib/floridayPush.functions.d.ts +600 -6
  34. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/floridayPush.server.d.ts +2 -0
  36. package/dist-lib/lib/floridayPush.server.d.ts.map +1 -1
  37. package/dist-lib/lib/floridayPush.server.js +54 -3
  38. package/dist-lib/lib/layerUtilization.d.ts +2 -0
  39. package/dist-lib/lib/layerUtilization.d.ts.map +1 -0
  40. package/dist-lib/lib/layerUtilization.js +11 -0
  41. package/dist-lib/lib/layerUtilization.test.d.ts +2 -0
  42. package/dist-lib/lib/layerUtilization.test.d.ts.map +1 -0
  43. package/dist-lib/lib/layerUtilization.test.js +11 -0
  44. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +3000 -30
  45. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
  47. package/dist-lib/lib/loadCarrierPlanning.server.js +16 -4
  48. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +1200 -12
  49. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +600 -6
  51. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
  53. package/dist-lib/lib/modulePrompts.js +46 -0
  54. package/dist-lib/lib/moduleVersion.d.ts +1 -1
  55. package/dist-lib/lib/moduleVersion.d.ts.map +1 -1
  56. package/dist-lib/lib/moduleVersion.js +1 -1
  57. package/dist-lib/lib/plannerDiff.functions.d.ts +600 -6
  58. package/dist-lib/lib/plannerDiff.functions.d.ts.map +1 -1
  59. package/dist-lib/lib/shippingNoteQueue.server.d.ts.map +1 -1
  60. package/dist-lib/lib/shippingNoteQueue.server.js +40 -1
  61. package/package.json +4 -4
@@ -3141,6 +3141,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3141
3141
  formaat_code: string;
3142
3142
  id: string;
3143
3143
  printer_id: string | null;
3144
+ printer_ontbreekt_sinds: string | null;
3144
3145
  updated_at: string;
3145
3146
  };
3146
3147
  Insert: {
@@ -3149,6 +3150,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3149
3150
  formaat_code: string;
3150
3151
  id?: string;
3151
3152
  printer_id?: string | null;
3153
+ printer_ontbreekt_sinds?: string | null;
3152
3154
  updated_at?: string;
3153
3155
  };
3154
3156
  Update: {
@@ -3157,6 +3159,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3157
3159
  formaat_code?: string;
3158
3160
  id?: string;
3159
3161
  printer_id?: string | null;
3162
+ printer_ontbreekt_sinds?: string | null;
3160
3163
  updated_at?: string;
3161
3164
  };
3162
3165
  Relationships: [{
@@ -3493,6 +3496,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3493
3496
  papierformaat: string | null;
3494
3497
  print_plek_id: string;
3495
3498
  printer_id: string | null;
3499
+ printer_ontbreekt_sinds: string | null;
3496
3500
  updated_at: string;
3497
3501
  };
3498
3502
  Insert: {
@@ -3502,6 +3506,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3502
3506
  papierformaat?: string | null;
3503
3507
  print_plek_id: string;
3504
3508
  printer_id?: string | null;
3509
+ printer_ontbreekt_sinds?: string | null;
3505
3510
  updated_at?: string;
3506
3511
  };
3507
3512
  Update: {
@@ -3511,6 +3516,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3511
3516
  papierformaat?: string | null;
3512
3517
  print_plek_id?: string;
3513
3518
  printer_id?: string | null;
3519
+ printer_ontbreekt_sinds?: string | null;
3514
3520
  updated_at?: string;
3515
3521
  };
3516
3522
  Relationships: [{
@@ -3534,6 +3540,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3534
3540
  id: string;
3535
3541
  papierformaat: string | null;
3536
3542
  printer_id: string | null;
3543
+ printer_ontbreekt_sinds: string | null;
3537
3544
  updated_at: string;
3538
3545
  werkplek: string;
3539
3546
  };
@@ -3543,6 +3550,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3543
3550
  id?: string;
3544
3551
  papierformaat?: string | null;
3545
3552
  printer_id?: string | null;
3553
+ printer_ontbreekt_sinds?: string | null;
3546
3554
  updated_at?: string;
3547
3555
  werkplek: string;
3548
3556
  };
@@ -3552,6 +3560,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3552
3560
  id?: string;
3553
3561
  papierformaat?: string | null;
3554
3562
  printer_id?: string | null;
3563
+ printer_ontbreekt_sinds?: string | null;
3555
3564
  updated_at?: string;
3556
3565
  werkplek?: string;
3557
3566
  };
@@ -6854,6 +6863,78 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
6854
6863
  referencedColumns: ["id"];
6855
6864
  }];
6856
6865
  };
6866
+ floriday_document_fetch_queue: {
6867
+ Row: {
6868
+ attempts: number;
6869
+ cancelled_reason: string | null;
6870
+ completed_at: string | null;
6871
+ connection_id: string;
6872
+ created_at: string;
6873
+ document_key: string;
6874
+ environment: string;
6875
+ id: string;
6876
+ kind: string;
6877
+ last_error: string | null;
6878
+ last_http_status: number | null;
6879
+ locked_at: string | null;
6880
+ locked_by: string | null;
6881
+ max_attempts: number;
6882
+ next_attempt_at: string;
6883
+ order_ref: string | null;
6884
+ params: import("../integrations/supabase/types").Json;
6885
+ status: string;
6886
+ updated_at: string;
6887
+ };
6888
+ Insert: {
6889
+ attempts?: number;
6890
+ cancelled_reason?: string | null;
6891
+ completed_at?: string | null;
6892
+ connection_id: string;
6893
+ created_at?: string;
6894
+ document_key: string;
6895
+ environment: string;
6896
+ id?: string;
6897
+ kind: string;
6898
+ last_error?: string | null;
6899
+ last_http_status?: number | null;
6900
+ locked_at?: string | null;
6901
+ locked_by?: string | null;
6902
+ max_attempts?: number;
6903
+ next_attempt_at?: string;
6904
+ order_ref?: string | null;
6905
+ params?: import("../integrations/supabase/types").Json;
6906
+ status?: string;
6907
+ updated_at?: string;
6908
+ };
6909
+ Update: {
6910
+ attempts?: number;
6911
+ cancelled_reason?: string | null;
6912
+ completed_at?: string | null;
6913
+ connection_id?: string;
6914
+ created_at?: string;
6915
+ document_key?: string;
6916
+ environment?: string;
6917
+ id?: string;
6918
+ kind?: string;
6919
+ last_error?: string | null;
6920
+ last_http_status?: number | null;
6921
+ locked_at?: string | null;
6922
+ locked_by?: string | null;
6923
+ max_attempts?: number;
6924
+ next_attempt_at?: string;
6925
+ order_ref?: string | null;
6926
+ params?: import("../integrations/supabase/types").Json;
6927
+ status?: string;
6928
+ updated_at?: string;
6929
+ };
6930
+ Relationships: [{
6931
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
6932
+ columns: ["connection_id"];
6933
+ isOneToOne: false;
6934
+ referencedRelation: "floriday_connections";
6935
+ referencedColumns: ["id"];
6936
+ }];
6937
+ };
6857
6938
  floriday_fulfillment_orders_cache: {
6858
6939
  Row: {
6859
6940
  auction_date: string | null;
@@ -7151,6 +7232,39 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
7151
7232
  referencedColumns: ["id"];
7152
7233
  }];
7153
7234
  };
7235
+ floriday_merge_log: {
7236
+ Row: {
7237
+ action: string;
7238
+ created_at: string;
7239
+ floriday_sales_order_ids: import("../integrations/supabase/types").Json;
7240
+ id: string;
7241
+ kept_order_id: string | null;
7242
+ lines: import("../integrations/supabase/types").Json;
7243
+ reason: string | null;
7244
+ removed_order_id: string | null;
7245
+ };
7246
+ Insert: {
7247
+ action: string;
7248
+ created_at?: string;
7249
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
7250
+ id?: string;
7251
+ kept_order_id?: string | null;
7252
+ lines?: import("../integrations/supabase/types").Json;
7253
+ reason?: string | null;
7254
+ removed_order_id?: string | null;
7255
+ };
7256
+ Update: {
7257
+ action?: string;
7258
+ created_at?: string;
7259
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
7260
+ id?: string;
7261
+ kept_order_id?: string | null;
7262
+ lines?: import("../integrations/supabase/types").Json;
7263
+ reason?: string | null;
7264
+ removed_order_id?: string | null;
7265
+ };
7266
+ Relationships: [];
7267
+ };
7154
7268
  floriday_network_cache: {
7155
7269
  Row: {
7156
7270
  city: string | null;
@@ -9386,6 +9500,57 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9386
9500
  };
9387
9501
  Relationships: [];
9388
9502
  };
9503
+ itk_offerte_acceptaties: {
9504
+ Row: {
9505
+ accepted_at: string;
9506
+ akkoordgever_email: string;
9507
+ akkoordgever_naam: string;
9508
+ akkoordverklaring: string;
9509
+ id: string;
9510
+ inhoud_hash: string;
9511
+ ip_address: unknown;
9512
+ offerte_id: string;
9513
+ offerte_number: string;
9514
+ offerte_snapshot: import("../integrations/supabase/types").Json;
9515
+ user_agent: string | null;
9516
+ versie: string;
9517
+ };
9518
+ Insert: {
9519
+ accepted_at?: string;
9520
+ akkoordgever_email: string;
9521
+ akkoordgever_naam: string;
9522
+ akkoordverklaring: string;
9523
+ id?: string;
9524
+ inhoud_hash: string;
9525
+ ip_address?: unknown;
9526
+ offerte_id: string;
9527
+ offerte_number: string;
9528
+ offerte_snapshot: import("../integrations/supabase/types").Json;
9529
+ user_agent?: string | null;
9530
+ versie: string;
9531
+ };
9532
+ Update: {
9533
+ accepted_at?: string;
9534
+ akkoordgever_email?: string;
9535
+ akkoordgever_naam?: string;
9536
+ akkoordverklaring?: string;
9537
+ id?: string;
9538
+ inhoud_hash?: string;
9539
+ ip_address?: unknown;
9540
+ offerte_id?: string;
9541
+ offerte_number?: string;
9542
+ offerte_snapshot?: import("../integrations/supabase/types").Json;
9543
+ user_agent?: string | null;
9544
+ versie?: string;
9545
+ };
9546
+ Relationships: [{
9547
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
9548
+ columns: ["offerte_id"];
9549
+ isOneToOne: true;
9550
+ referencedRelation: "itk_offertes";
9551
+ referencedColumns: ["id"];
9552
+ }];
9553
+ };
9389
9554
  itk_offerte_events: {
9390
9555
  Row: {
9391
9556
  created_at: string;
@@ -9599,6 +9764,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9599
9764
  itk_offertes: {
9600
9765
  Row: {
9601
9766
  aandachtspunten: string | null;
9767
+ acceptance_id: string | null;
9602
9768
  ai_generated: boolean;
9603
9769
  approved_at: string | null;
9604
9770
  binnen_mandaat: boolean;
@@ -9617,6 +9783,11 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9617
9783
  onderwerp: string | null;
9618
9784
  rejected_at: string | null;
9619
9785
  sent_at: string | null;
9786
+ sign_token: string;
9787
+ signature_data: string | null;
9788
+ signed_at: string | null;
9789
+ signer_email: string | null;
9790
+ signer_name: string | null;
9620
9791
  source_number: string | null;
9621
9792
  source_ref: string | null;
9622
9793
  source_type: string;
@@ -9631,11 +9802,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9631
9802
  viewed_at: string | null;
9632
9803
  volgnummer: number | null;
9633
9804
  voorwaarden: string | null;
9805
+ werkbon_concept: import("../integrations/supabase/types").Json | null;
9634
9806
  werkbon_id: string | null;
9635
9807
  work_location_id: string | null;
9636
9808
  };
9637
9809
  Insert: {
9638
9810
  aandachtspunten?: string | null;
9811
+ acceptance_id?: string | null;
9639
9812
  ai_generated?: boolean;
9640
9813
  approved_at?: string | null;
9641
9814
  binnen_mandaat?: boolean;
@@ -9654,6 +9827,11 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9654
9827
  onderwerp?: string | null;
9655
9828
  rejected_at?: string | null;
9656
9829
  sent_at?: string | null;
9830
+ sign_token?: string;
9831
+ signature_data?: string | null;
9832
+ signed_at?: string | null;
9833
+ signer_email?: string | null;
9834
+ signer_name?: string | null;
9657
9835
  source_number?: string | null;
9658
9836
  source_ref?: string | null;
9659
9837
  source_type?: string;
@@ -9668,11 +9846,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9668
9846
  viewed_at?: string | null;
9669
9847
  volgnummer?: number | null;
9670
9848
  voorwaarden?: string | null;
9849
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
9671
9850
  werkbon_id?: string | null;
9672
9851
  work_location_id?: string | null;
9673
9852
  };
9674
9853
  Update: {
9675
9854
  aandachtspunten?: string | null;
9855
+ acceptance_id?: string | null;
9676
9856
  ai_generated?: boolean;
9677
9857
  approved_at?: string | null;
9678
9858
  binnen_mandaat?: boolean;
@@ -9691,6 +9871,11 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9691
9871
  onderwerp?: string | null;
9692
9872
  rejected_at?: string | null;
9693
9873
  sent_at?: string | null;
9874
+ sign_token?: string;
9875
+ signature_data?: string | null;
9876
+ signed_at?: string | null;
9877
+ signer_email?: string | null;
9878
+ signer_name?: string | null;
9694
9879
  source_number?: string | null;
9695
9880
  source_ref?: string | null;
9696
9881
  source_type?: string;
@@ -9705,10 +9890,17 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9705
9890
  viewed_at?: string | null;
9706
9891
  volgnummer?: number | null;
9707
9892
  voorwaarden?: string | null;
9893
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
9708
9894
  werkbon_id?: string | null;
9709
9895
  work_location_id?: string | null;
9710
9896
  };
9711
9897
  Relationships: [{
9898
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
9899
+ columns: ["acceptance_id"];
9900
+ isOneToOne: false;
9901
+ referencedRelation: "itk_offerte_acceptaties";
9902
+ referencedColumns: ["id"];
9903
+ }, {
9712
9904
  foreignKeyName: "itk_offertes_contact_id_fkey";
9713
9905
  columns: ["contact_id"];
9714
9906
  isOneToOne: false;
@@ -11147,6 +11339,60 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
11147
11339
  };
11148
11340
  Relationships: [];
11149
11341
  };
11342
+ logistics_order_merge_lines: {
11343
+ Row: {
11344
+ from_order_id: string;
11345
+ from_order_number: string | null;
11346
+ group_key: string;
11347
+ id: string;
11348
+ merged_at: string;
11349
+ order_item_id: string;
11350
+ ordered_at: string | null;
11351
+ product_id: string | null;
11352
+ product_name: string | null;
11353
+ quantity: number | null;
11354
+ reason: string;
11355
+ sales_order_id: string | null;
11356
+ source_line_key: string | null;
11357
+ to_order_id: string;
11358
+ to_order_number: string | null;
11359
+ };
11360
+ Insert: {
11361
+ from_order_id: string;
11362
+ from_order_number?: string | null;
11363
+ group_key: string;
11364
+ id?: string;
11365
+ merged_at?: string;
11366
+ order_item_id: string;
11367
+ ordered_at?: string | null;
11368
+ product_id?: string | null;
11369
+ product_name?: string | null;
11370
+ quantity?: number | null;
11371
+ reason: string;
11372
+ sales_order_id?: string | null;
11373
+ source_line_key?: string | null;
11374
+ to_order_id: string;
11375
+ to_order_number?: string | null;
11376
+ };
11377
+ Update: {
11378
+ from_order_id?: string;
11379
+ from_order_number?: string | null;
11380
+ group_key?: string;
11381
+ id?: string;
11382
+ merged_at?: string;
11383
+ order_item_id?: string;
11384
+ ordered_at?: string | null;
11385
+ product_id?: string | null;
11386
+ product_name?: string | null;
11387
+ quantity?: number | null;
11388
+ reason?: string;
11389
+ sales_order_id?: string | null;
11390
+ source_line_key?: string | null;
11391
+ to_order_id?: string;
11392
+ to_order_number?: string | null;
11393
+ };
11394
+ Relationships: [];
11395
+ };
11150
11396
  logistics_order_merges: {
11151
11397
  Row: {
11152
11398
  group_key: string;
@@ -14787,6 +15033,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
14787
15033
  product_id: string | null;
14788
15034
  product_name: string;
14789
15035
  quantity: number;
15036
+ quarantine_reason: string | null;
15037
+ quarantined_at: string | null;
15038
+ quarantined_into_order_id: string | null;
14790
15039
  source_line_key: string | null;
14791
15040
  unit: string;
14792
15041
  unit_price: number | null;
@@ -14803,6 +15052,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
14803
15052
  product_id?: string | null;
14804
15053
  product_name: string;
14805
15054
  quantity?: number;
15055
+ quarantine_reason?: string | null;
15056
+ quarantined_at?: string | null;
15057
+ quarantined_into_order_id?: string | null;
14806
15058
  source_line_key?: string | null;
14807
15059
  unit?: string;
14808
15060
  unit_price?: number | null;
@@ -14819,6 +15071,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
14819
15071
  product_id?: string | null;
14820
15072
  product_name?: string;
14821
15073
  quantity?: number;
15074
+ quarantine_reason?: string | null;
15075
+ quarantined_at?: string | null;
15076
+ quarantined_into_order_id?: string | null;
14822
15077
  source_line_key?: string | null;
14823
15078
  unit?: string;
14824
15079
  unit_price?: number | null;
@@ -16250,6 +16505,57 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16250
16505
  };
16251
16506
  Relationships: [];
16252
16507
  };
16508
+ planning_confirmation_log: {
16509
+ Row: {
16510
+ created_at: string;
16511
+ end_at: string;
16512
+ id: string;
16513
+ kind: string;
16514
+ outbox_id: string | null;
16515
+ planning_item_id: string;
16516
+ reason: string | null;
16517
+ recipient: string | null;
16518
+ start_at: string;
16519
+ status: string;
16520
+ };
16521
+ Insert: {
16522
+ created_at?: string;
16523
+ end_at: string;
16524
+ id?: string;
16525
+ kind?: string;
16526
+ outbox_id?: string | null;
16527
+ planning_item_id: string;
16528
+ reason?: string | null;
16529
+ recipient?: string | null;
16530
+ start_at: string;
16531
+ status: string;
16532
+ };
16533
+ Update: {
16534
+ created_at?: string;
16535
+ end_at?: string;
16536
+ id?: string;
16537
+ kind?: string;
16538
+ outbox_id?: string | null;
16539
+ planning_item_id?: string;
16540
+ reason?: string | null;
16541
+ recipient?: string | null;
16542
+ start_at?: string;
16543
+ status?: string;
16544
+ };
16545
+ Relationships: [{
16546
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16547
+ columns: ["planning_item_id"];
16548
+ isOneToOne: false;
16549
+ referencedRelation: "planning_items";
16550
+ referencedColumns: ["id"];
16551
+ }, {
16552
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16553
+ columns: ["planning_item_id"];
16554
+ isOneToOne: false;
16555
+ referencedRelation: "planning_overview";
16556
+ referencedColumns: ["id"];
16557
+ }];
16558
+ };
16253
16559
  planning_item_assistants: {
16254
16560
  Row: {
16255
16561
  created_at: string;
@@ -16334,6 +16640,69 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16334
16640
  referencedColumns: ["id"];
16335
16641
  }];
16336
16642
  };
16643
+ planning_mail_settings: {
16644
+ Row: {
16645
+ body_template: string;
16646
+ cc: string[];
16647
+ connection_id: string | null;
16648
+ created_at: string;
16649
+ email_purpose: string | null;
16650
+ enabled: boolean;
16651
+ id: boolean;
16652
+ reply_to: string | null;
16653
+ reschedule_body_template: string;
16654
+ reschedule_subject_template: string;
16655
+ subject_template: string;
16656
+ timezone: string;
16657
+ updated_at: string;
16658
+ updated_by: string | null;
16659
+ };
16660
+ Insert: {
16661
+ body_template?: string;
16662
+ cc?: string[];
16663
+ connection_id?: string | null;
16664
+ created_at?: string;
16665
+ email_purpose?: string | null;
16666
+ enabled?: boolean;
16667
+ id?: boolean;
16668
+ reply_to?: string | null;
16669
+ reschedule_body_template?: string;
16670
+ reschedule_subject_template?: string;
16671
+ subject_template?: string;
16672
+ timezone?: string;
16673
+ updated_at?: string;
16674
+ updated_by?: string | null;
16675
+ };
16676
+ Update: {
16677
+ body_template?: string;
16678
+ cc?: string[];
16679
+ connection_id?: string | null;
16680
+ created_at?: string;
16681
+ email_purpose?: string | null;
16682
+ enabled?: boolean;
16683
+ id?: boolean;
16684
+ reply_to?: string | null;
16685
+ reschedule_body_template?: string;
16686
+ reschedule_subject_template?: string;
16687
+ subject_template?: string;
16688
+ timezone?: string;
16689
+ updated_at?: string;
16690
+ updated_by?: string | null;
16691
+ };
16692
+ Relationships: [{
16693
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16694
+ columns: ["connection_id"];
16695
+ isOneToOne: false;
16696
+ referencedRelation: "email_auth_connections";
16697
+ referencedColumns: ["id"];
16698
+ }, {
16699
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16700
+ columns: ["connection_id"];
16701
+ isOneToOne: false;
16702
+ referencedRelation: "email_auth_connections_safe";
16703
+ referencedColumns: ["id"];
16704
+ }];
16705
+ };
16337
16706
  planning_monteur_day_locations: {
16338
16707
  Row: {
16339
16708
  created_at: string;
@@ -16721,6 +17090,27 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16721
17090
  };
16722
17091
  Relationships: [];
16723
17092
  };
17093
+ print_genegeerde_computers: {
17094
+ Row: {
17095
+ computer_naam: string;
17096
+ genegeerd_door: string | null;
17097
+ genegeerd_op: string;
17098
+ id: string;
17099
+ };
17100
+ Insert: {
17101
+ computer_naam: string;
17102
+ genegeerd_door?: string | null;
17103
+ genegeerd_op?: string;
17104
+ id?: string;
17105
+ };
17106
+ Update: {
17107
+ computer_naam?: string;
17108
+ genegeerd_door?: string | null;
17109
+ genegeerd_op?: string;
17110
+ id?: string;
17111
+ };
17112
+ Relationships: [];
17113
+ };
16724
17114
  print_job_logs: {
16725
17115
  Row: {
16726
17116
  created_at: string;
@@ -16991,6 +17381,39 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16991
17381
  referencedColumns: ["id"];
16992
17382
  }];
16993
17383
  };
17384
+ print_plek_printers: {
17385
+ Row: {
17386
+ id: string;
17387
+ print_plek_id: string;
17388
+ printer_id: string;
17389
+ toegevoegd_op: string;
17390
+ };
17391
+ Insert: {
17392
+ id?: string;
17393
+ print_plek_id: string;
17394
+ printer_id: string;
17395
+ toegevoegd_op?: string;
17396
+ };
17397
+ Update: {
17398
+ id?: string;
17399
+ print_plek_id?: string;
17400
+ printer_id?: string;
17401
+ toegevoegd_op?: string;
17402
+ };
17403
+ Relationships: [{
17404
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
17405
+ columns: ["print_plek_id"];
17406
+ isOneToOne: false;
17407
+ referencedRelation: "print_plekken";
17408
+ referencedColumns: ["id"];
17409
+ }, {
17410
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
17411
+ columns: ["printer_id"];
17412
+ isOneToOne: false;
17413
+ referencedRelation: "printers";
17414
+ referencedColumns: ["id"];
17415
+ }];
17416
+ };
16994
17417
  print_plekken: {
16995
17418
  Row: {
16996
17419
  actief: boolean;
@@ -17206,7 +17629,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
17206
17629
  created_at: string;
17207
17630
  id: string;
17208
17631
  layout_id: string;
17209
- printer_id: string;
17632
+ printer_id: string | null;
17633
+ printer_ontbreekt_sinds: string | null;
17210
17634
  prioriteit: number;
17211
17635
  updated_at: string;
17212
17636
  };
@@ -17214,7 +17638,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
17214
17638
  created_at?: string;
17215
17639
  id?: string;
17216
17640
  layout_id: string;
17217
- printer_id: string;
17641
+ printer_id?: string | null;
17642
+ printer_ontbreekt_sinds?: string | null;
17218
17643
  prioriteit?: number;
17219
17644
  updated_at?: string;
17220
17645
  };
@@ -17222,7 +17647,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
17222
17647
  created_at?: string;
17223
17648
  id?: string;
17224
17649
  layout_id?: string;
17225
- printer_id?: string;
17650
+ printer_id?: string | null;
17651
+ printer_ontbreekt_sinds?: string | null;
17226
17652
  prioriteit?: number;
17227
17653
  updated_at?: string;
17228
17654
  };
@@ -21710,6 +22136,30 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
21710
22136
  };
21711
22137
  Relationships: [];
21712
22138
  };
22139
+ uren_pagina_toegang: {
22140
+ Row: {
22141
+ created_at: string;
22142
+ id: string;
22143
+ user_id: string;
22144
+ };
22145
+ Insert: {
22146
+ created_at?: string;
22147
+ id?: string;
22148
+ user_id: string;
22149
+ };
22150
+ Update: {
22151
+ created_at?: string;
22152
+ id?: string;
22153
+ user_id?: string;
22154
+ };
22155
+ Relationships: [{
22156
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
22157
+ columns: ["user_id"];
22158
+ isOneToOne: true;
22159
+ referencedRelation: "profiles";
22160
+ referencedColumns: ["id"];
22161
+ }];
22162
+ };
21713
22163
  uren_settings: {
21714
22164
  Row: {
21715
22165
  break_minutes: number;
@@ -23114,12 +23564,14 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
23114
23564
  created_at: string;
23115
23565
  default_quantity: number;
23116
23566
  description: string | null;
23117
- duration_minutes: number | null;
23567
+ duration_minutes: number;
23118
23568
  id: string;
23569
+ labor_minutes: number;
23119
23570
  mandaat_type: string | null;
23120
23571
  name: string;
23121
23572
  price_mode: string;
23122
23573
  sort_order: number;
23574
+ travel_minutes: number;
23123
23575
  unit_price_cents: number;
23124
23576
  updated_at: string;
23125
23577
  };
@@ -23131,12 +23583,14 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
23131
23583
  created_at?: string;
23132
23584
  default_quantity?: number;
23133
23585
  description?: string | null;
23134
- duration_minutes?: number | null;
23586
+ duration_minutes?: number;
23135
23587
  id?: string;
23588
+ labor_minutes?: number;
23136
23589
  mandaat_type?: string | null;
23137
23590
  name: string;
23138
23591
  price_mode?: string;
23139
23592
  sort_order?: number;
23593
+ travel_minutes?: number;
23140
23594
  unit_price_cents?: number;
23141
23595
  updated_at?: string;
23142
23596
  };
@@ -23148,12 +23602,14 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
23148
23602
  created_at?: string;
23149
23603
  default_quantity?: number;
23150
23604
  description?: string | null;
23151
- duration_minutes?: number | null;
23605
+ duration_minutes?: number;
23152
23606
  id?: string;
23607
+ labor_minutes?: number;
23153
23608
  mandaat_type?: string | null;
23154
23609
  name?: string;
23155
23610
  price_mode?: string;
23156
23611
  sort_order?: number;
23612
+ travel_minutes?: number;
23157
23613
  unit_price_cents?: number;
23158
23614
  updated_at?: string;
23159
23615
  };
@@ -24708,6 +25164,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
24708
25164
  };
24709
25165
  Returns: undefined;
24710
25166
  };
25167
+ _quote_release_work_order_intern: {
25168
+ Args: {
25169
+ _offerte_id: string;
25170
+ };
25171
+ Returns: import("../integrations/supabase/types").Json;
25172
+ };
24711
25173
  _wo_is_planner: {
24712
25174
  Args: never;
24713
25175
  Returns: boolean;
@@ -29579,6 +30041,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29579
30041
  };
29580
30042
  Returns: import("../integrations/supabase/types").Json;
29581
30043
  };
30044
+ pick_verify_rows: {
30045
+ Args: {
30046
+ _rows: import("../integrations/supabase/types").Json;
30047
+ };
30048
+ Returns: import("../integrations/supabase/types").Json;
30049
+ };
29582
30050
  pickstation_get_orders_raw: {
29583
30051
  Args: never;
29584
30052
  Returns: import("../integrations/supabase/types").Json;
@@ -29641,6 +30109,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29641
30109
  };
29642
30110
  Returns: undefined;
29643
30111
  };
30112
+ planning_html_escape: {
30113
+ Args: {
30114
+ t: string;
30115
+ };
30116
+ Returns: string;
30117
+ };
29644
30118
  planning_list: {
29645
30119
  Args: {
29646
30120
  _from: string;
@@ -29695,6 +30169,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29695
30169
  id: string;
29696
30170
  }[];
29697
30171
  };
30172
+ planning_urlencode: {
30173
+ Args: {
30174
+ t: string;
30175
+ };
30176
+ Returns: string;
30177
+ };
29698
30178
  print_preview_toestaan: {
29699
30179
  Args: {
29700
30180
  _max?: number;
@@ -29713,6 +30193,35 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29713
30193
  };
29714
30194
  Returns: undefined;
29715
30195
  };
30196
+ printer_gebruik: {
30197
+ Args: {
30198
+ _printer: string;
30199
+ };
30200
+ Returns: import("../integrations/supabase/types").Json;
30201
+ };
30202
+ printer_routering: {
30203
+ Args: {
30204
+ _documenttype: string;
30205
+ _layout_id?: string;
30206
+ _papierformaat?: string;
30207
+ _print_plek_id?: string;
30208
+ _werkplek?: string;
30209
+ };
30210
+ Returns: import("../integrations/supabase/types").Json;
30211
+ };
30212
+ printplek_printer: {
30213
+ Args: {
30214
+ _documenttype: string;
30215
+ _plek: string;
30216
+ };
30217
+ Returns: string;
30218
+ };
30219
+ printplek_verwijder_impact: {
30220
+ Args: {
30221
+ _id: string;
30222
+ };
30223
+ Returns: import("../integrations/supabase/types").Json;
30224
+ };
29716
30225
  process_logistics_event: {
29717
30226
  Args: {
29718
30227
  p_event_id: string;
@@ -29759,6 +30268,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29759
30268
  };
29760
30269
  Returns: import("../integrations/supabase/types").Json;
29761
30270
  };
30271
+ quote_create_from_scratch: {
30272
+ Args: {
30273
+ _payload: import("../integrations/supabase/types").Json;
30274
+ };
30275
+ Returns: import("../integrations/supabase/types").Json;
30276
+ };
29762
30277
  quote_create_from_source: {
29763
30278
  Args: {
29764
30279
  _payload?: import("../integrations/supabase/types").Json;
@@ -29774,6 +30289,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29774
30289
  };
29775
30290
  Returns: boolean;
29776
30291
  };
30292
+ quote_fill_from_form: {
30293
+ Args: {
30294
+ _offerte_id: string;
30295
+ _payload: import("../integrations/supabase/types").Json;
30296
+ };
30297
+ Returns: import("../integrations/supabase/types").Json;
30298
+ };
29777
30299
  quote_get_billable_lines: {
29778
30300
  Args: {
29779
30301
  _quotation_id: string;
@@ -29803,12 +30325,50 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29803
30325
  };
29804
30326
  Returns: import("../integrations/supabase/types").Json;
29805
30327
  };
30328
+ quote_public_accept: {
30329
+ Args: {
30330
+ _akkoord: boolean;
30331
+ _email: string;
30332
+ _ip_address?: string;
30333
+ _naam: string;
30334
+ _token: string;
30335
+ _user_agent?: string;
30336
+ };
30337
+ Returns: import("../integrations/supabase/types").Json;
30338
+ };
30339
+ quote_public_get: {
30340
+ Args: {
30341
+ _token: string;
30342
+ };
30343
+ Returns: import("../integrations/supabase/types").Json;
30344
+ };
30345
+ quote_public_sign: {
30346
+ Args: {
30347
+ _handtekening: string;
30348
+ _naam: string;
30349
+ _token: string;
30350
+ };
30351
+ Returns: import("../integrations/supabase/types").Json;
30352
+ };
29806
30353
  quote_queue_follow_up: {
29807
30354
  Args: {
29808
30355
  _offerte_id: string;
29809
30356
  };
29810
30357
  Returns: string;
29811
30358
  };
30359
+ quote_release_work_order: {
30360
+ Args: {
30361
+ _offerte_id: string;
30362
+ };
30363
+ Returns: import("../integrations/supabase/types").Json;
30364
+ };
30365
+ quote_sync_work_order: {
30366
+ Args: {
30367
+ _monteur_instructies?: string;
30368
+ _offerte_id: string;
30369
+ };
30370
+ Returns: boolean;
30371
+ };
29812
30372
  recompute_all_reserved_stock: {
29813
30373
  Args: never;
29814
30374
  Returns: undefined;
@@ -30760,6 +31320,10 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
30760
31320
  };
30761
31321
  Returns: number;
30762
31322
  };
31323
+ uren_heeft_pagina_toegang: {
31324
+ Args: never;
31325
+ Returns: boolean;
31326
+ };
30763
31327
  uren_is_beheerder: {
30764
31328
  Args: never;
30765
31329
  Returns: boolean;
@@ -30843,6 +31407,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
30843
31407
  Args: never;
30844
31408
  Returns: string;
30845
31409
  };
31410
+ uren_pagina_toegang_instellen: {
31411
+ Args: {
31412
+ _toegang: boolean;
31413
+ _user_id: string;
31414
+ };
31415
+ Returns: undefined;
31416
+ };
30846
31417
  uren_planning_dagagenda: {
30847
31418
  Args: {
30848
31419
  _tot: string;
@@ -31087,6 +31658,19 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
31087
31658
  user_id: string;
31088
31659
  }[];
31089
31660
  };
31661
+ vervang_printer: {
31662
+ Args: {
31663
+ _nieuw: string;
31664
+ _oud: string;
31665
+ };
31666
+ Returns: import("../integrations/supabase/types").Json;
31667
+ };
31668
+ verwijder_printplek: {
31669
+ Args: {
31670
+ _id: string;
31671
+ };
31672
+ Returns: import("../integrations/supabase/types").Json;
31673
+ };
31090
31674
  voorraad_cleanup_old_rows: {
31091
31675
  Args: never;
31092
31676
  Returns: import("../integrations/supabase/types").Json;
@@ -31097,6 +31681,16 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
31097
31681
  };
31098
31682
  Returns: number;
31099
31683
  };
31684
+ werkbon_pakket_tijden: {
31685
+ Args: {
31686
+ _werkbon_id: string;
31687
+ };
31688
+ Returns: {
31689
+ labor_minutes: number;
31690
+ total_minutes: number;
31691
+ travel_minutes: number;
31692
+ }[];
31693
+ };
31100
31694
  werkbon_totalen: {
31101
31695
  Args: {
31102
31696
  _werkbon_id: string;
@@ -34357,6 +34951,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34357
34951
  formaat_code: string;
34358
34952
  id: string;
34359
34953
  printer_id: string | null;
34954
+ printer_ontbreekt_sinds: string | null;
34360
34955
  updated_at: string;
34361
34956
  };
34362
34957
  Insert: {
@@ -34365,6 +34960,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34365
34960
  formaat_code: string;
34366
34961
  id?: string;
34367
34962
  printer_id?: string | null;
34963
+ printer_ontbreekt_sinds?: string | null;
34368
34964
  updated_at?: string;
34369
34965
  };
34370
34966
  Update: {
@@ -34373,6 +34969,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34373
34969
  formaat_code?: string;
34374
34970
  id?: string;
34375
34971
  printer_id?: string | null;
34972
+ printer_ontbreekt_sinds?: string | null;
34376
34973
  updated_at?: string;
34377
34974
  };
34378
34975
  Relationships: [{
@@ -34709,6 +35306,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34709
35306
  papierformaat: string | null;
34710
35307
  print_plek_id: string;
34711
35308
  printer_id: string | null;
35309
+ printer_ontbreekt_sinds: string | null;
34712
35310
  updated_at: string;
34713
35311
  };
34714
35312
  Insert: {
@@ -34718,6 +35316,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34718
35316
  papierformaat?: string | null;
34719
35317
  print_plek_id: string;
34720
35318
  printer_id?: string | null;
35319
+ printer_ontbreekt_sinds?: string | null;
34721
35320
  updated_at?: string;
34722
35321
  };
34723
35322
  Update: {
@@ -34727,6 +35326,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34727
35326
  papierformaat?: string | null;
34728
35327
  print_plek_id?: string;
34729
35328
  printer_id?: string | null;
35329
+ printer_ontbreekt_sinds?: string | null;
34730
35330
  updated_at?: string;
34731
35331
  };
34732
35332
  Relationships: [{
@@ -34750,6 +35350,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34750
35350
  id: string;
34751
35351
  papierformaat: string | null;
34752
35352
  printer_id: string | null;
35353
+ printer_ontbreekt_sinds: string | null;
34753
35354
  updated_at: string;
34754
35355
  werkplek: string;
34755
35356
  };
@@ -34759,6 +35360,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34759
35360
  id?: string;
34760
35361
  papierformaat?: string | null;
34761
35362
  printer_id?: string | null;
35363
+ printer_ontbreekt_sinds?: string | null;
34762
35364
  updated_at?: string;
34763
35365
  werkplek: string;
34764
35366
  };
@@ -34768,6 +35370,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34768
35370
  id?: string;
34769
35371
  papierformaat?: string | null;
34770
35372
  printer_id?: string | null;
35373
+ printer_ontbreekt_sinds?: string | null;
34771
35374
  updated_at?: string;
34772
35375
  werkplek?: string;
34773
35376
  };
@@ -38070,6 +38673,78 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
38070
38673
  referencedColumns: ["id"];
38071
38674
  }];
38072
38675
  };
38676
+ floriday_document_fetch_queue: {
38677
+ Row: {
38678
+ attempts: number;
38679
+ cancelled_reason: string | null;
38680
+ completed_at: string | null;
38681
+ connection_id: string;
38682
+ created_at: string;
38683
+ document_key: string;
38684
+ environment: string;
38685
+ id: string;
38686
+ kind: string;
38687
+ last_error: string | null;
38688
+ last_http_status: number | null;
38689
+ locked_at: string | null;
38690
+ locked_by: string | null;
38691
+ max_attempts: number;
38692
+ next_attempt_at: string;
38693
+ order_ref: string | null;
38694
+ params: import("../integrations/supabase/types").Json;
38695
+ status: string;
38696
+ updated_at: string;
38697
+ };
38698
+ Insert: {
38699
+ attempts?: number;
38700
+ cancelled_reason?: string | null;
38701
+ completed_at?: string | null;
38702
+ connection_id: string;
38703
+ created_at?: string;
38704
+ document_key: string;
38705
+ environment: string;
38706
+ id?: string;
38707
+ kind: string;
38708
+ last_error?: string | null;
38709
+ last_http_status?: number | null;
38710
+ locked_at?: string | null;
38711
+ locked_by?: string | null;
38712
+ max_attempts?: number;
38713
+ next_attempt_at?: string;
38714
+ order_ref?: string | null;
38715
+ params?: import("../integrations/supabase/types").Json;
38716
+ status?: string;
38717
+ updated_at?: string;
38718
+ };
38719
+ Update: {
38720
+ attempts?: number;
38721
+ cancelled_reason?: string | null;
38722
+ completed_at?: string | null;
38723
+ connection_id?: string;
38724
+ created_at?: string;
38725
+ document_key?: string;
38726
+ environment?: string;
38727
+ id?: string;
38728
+ kind?: string;
38729
+ last_error?: string | null;
38730
+ last_http_status?: number | null;
38731
+ locked_at?: string | null;
38732
+ locked_by?: string | null;
38733
+ max_attempts?: number;
38734
+ next_attempt_at?: string;
38735
+ order_ref?: string | null;
38736
+ params?: import("../integrations/supabase/types").Json;
38737
+ status?: string;
38738
+ updated_at?: string;
38739
+ };
38740
+ Relationships: [{
38741
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
38742
+ columns: ["connection_id"];
38743
+ isOneToOne: false;
38744
+ referencedRelation: "floriday_connections";
38745
+ referencedColumns: ["id"];
38746
+ }];
38747
+ };
38073
38748
  floriday_fulfillment_orders_cache: {
38074
38749
  Row: {
38075
38750
  auction_date: string | null;
@@ -38367,6 +39042,39 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
38367
39042
  referencedColumns: ["id"];
38368
39043
  }];
38369
39044
  };
39045
+ floriday_merge_log: {
39046
+ Row: {
39047
+ action: string;
39048
+ created_at: string;
39049
+ floriday_sales_order_ids: import("../integrations/supabase/types").Json;
39050
+ id: string;
39051
+ kept_order_id: string | null;
39052
+ lines: import("../integrations/supabase/types").Json;
39053
+ reason: string | null;
39054
+ removed_order_id: string | null;
39055
+ };
39056
+ Insert: {
39057
+ action: string;
39058
+ created_at?: string;
39059
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
39060
+ id?: string;
39061
+ kept_order_id?: string | null;
39062
+ lines?: import("../integrations/supabase/types").Json;
39063
+ reason?: string | null;
39064
+ removed_order_id?: string | null;
39065
+ };
39066
+ Update: {
39067
+ action?: string;
39068
+ created_at?: string;
39069
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
39070
+ id?: string;
39071
+ kept_order_id?: string | null;
39072
+ lines?: import("../integrations/supabase/types").Json;
39073
+ reason?: string | null;
39074
+ removed_order_id?: string | null;
39075
+ };
39076
+ Relationships: [];
39077
+ };
38370
39078
  floriday_network_cache: {
38371
39079
  Row: {
38372
39080
  city: string | null;
@@ -40602,6 +41310,57 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40602
41310
  };
40603
41311
  Relationships: [];
40604
41312
  };
41313
+ itk_offerte_acceptaties: {
41314
+ Row: {
41315
+ accepted_at: string;
41316
+ akkoordgever_email: string;
41317
+ akkoordgever_naam: string;
41318
+ akkoordverklaring: string;
41319
+ id: string;
41320
+ inhoud_hash: string;
41321
+ ip_address: unknown;
41322
+ offerte_id: string;
41323
+ offerte_number: string;
41324
+ offerte_snapshot: import("../integrations/supabase/types").Json;
41325
+ user_agent: string | null;
41326
+ versie: string;
41327
+ };
41328
+ Insert: {
41329
+ accepted_at?: string;
41330
+ akkoordgever_email: string;
41331
+ akkoordgever_naam: string;
41332
+ akkoordverklaring: string;
41333
+ id?: string;
41334
+ inhoud_hash: string;
41335
+ ip_address?: unknown;
41336
+ offerte_id: string;
41337
+ offerte_number: string;
41338
+ offerte_snapshot: import("../integrations/supabase/types").Json;
41339
+ user_agent?: string | null;
41340
+ versie: string;
41341
+ };
41342
+ Update: {
41343
+ accepted_at?: string;
41344
+ akkoordgever_email?: string;
41345
+ akkoordgever_naam?: string;
41346
+ akkoordverklaring?: string;
41347
+ id?: string;
41348
+ inhoud_hash?: string;
41349
+ ip_address?: unknown;
41350
+ offerte_id?: string;
41351
+ offerte_number?: string;
41352
+ offerte_snapshot?: import("../integrations/supabase/types").Json;
41353
+ user_agent?: string | null;
41354
+ versie?: string;
41355
+ };
41356
+ Relationships: [{
41357
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
41358
+ columns: ["offerte_id"];
41359
+ isOneToOne: true;
41360
+ referencedRelation: "itk_offertes";
41361
+ referencedColumns: ["id"];
41362
+ }];
41363
+ };
40605
41364
  itk_offerte_events: {
40606
41365
  Row: {
40607
41366
  created_at: string;
@@ -40815,6 +41574,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40815
41574
  itk_offertes: {
40816
41575
  Row: {
40817
41576
  aandachtspunten: string | null;
41577
+ acceptance_id: string | null;
40818
41578
  ai_generated: boolean;
40819
41579
  approved_at: string | null;
40820
41580
  binnen_mandaat: boolean;
@@ -40833,6 +41593,11 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40833
41593
  onderwerp: string | null;
40834
41594
  rejected_at: string | null;
40835
41595
  sent_at: string | null;
41596
+ sign_token: string;
41597
+ signature_data: string | null;
41598
+ signed_at: string | null;
41599
+ signer_email: string | null;
41600
+ signer_name: string | null;
40836
41601
  source_number: string | null;
40837
41602
  source_ref: string | null;
40838
41603
  source_type: string;
@@ -40847,11 +41612,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40847
41612
  viewed_at: string | null;
40848
41613
  volgnummer: number | null;
40849
41614
  voorwaarden: string | null;
41615
+ werkbon_concept: import("../integrations/supabase/types").Json | null;
40850
41616
  werkbon_id: string | null;
40851
41617
  work_location_id: string | null;
40852
41618
  };
40853
41619
  Insert: {
40854
41620
  aandachtspunten?: string | null;
41621
+ acceptance_id?: string | null;
40855
41622
  ai_generated?: boolean;
40856
41623
  approved_at?: string | null;
40857
41624
  binnen_mandaat?: boolean;
@@ -40870,6 +41637,11 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40870
41637
  onderwerp?: string | null;
40871
41638
  rejected_at?: string | null;
40872
41639
  sent_at?: string | null;
41640
+ sign_token?: string;
41641
+ signature_data?: string | null;
41642
+ signed_at?: string | null;
41643
+ signer_email?: string | null;
41644
+ signer_name?: string | null;
40873
41645
  source_number?: string | null;
40874
41646
  source_ref?: string | null;
40875
41647
  source_type?: string;
@@ -40884,11 +41656,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40884
41656
  viewed_at?: string | null;
40885
41657
  volgnummer?: number | null;
40886
41658
  voorwaarden?: string | null;
41659
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
40887
41660
  werkbon_id?: string | null;
40888
41661
  work_location_id?: string | null;
40889
41662
  };
40890
41663
  Update: {
40891
41664
  aandachtspunten?: string | null;
41665
+ acceptance_id?: string | null;
40892
41666
  ai_generated?: boolean;
40893
41667
  approved_at?: string | null;
40894
41668
  binnen_mandaat?: boolean;
@@ -40907,6 +41681,11 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40907
41681
  onderwerp?: string | null;
40908
41682
  rejected_at?: string | null;
40909
41683
  sent_at?: string | null;
41684
+ sign_token?: string;
41685
+ signature_data?: string | null;
41686
+ signed_at?: string | null;
41687
+ signer_email?: string | null;
41688
+ signer_name?: string | null;
40910
41689
  source_number?: string | null;
40911
41690
  source_ref?: string | null;
40912
41691
  source_type?: string;
@@ -40921,10 +41700,17 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40921
41700
  viewed_at?: string | null;
40922
41701
  volgnummer?: number | null;
40923
41702
  voorwaarden?: string | null;
41703
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
40924
41704
  werkbon_id?: string | null;
40925
41705
  work_location_id?: string | null;
40926
41706
  };
40927
41707
  Relationships: [{
41708
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
41709
+ columns: ["acceptance_id"];
41710
+ isOneToOne: false;
41711
+ referencedRelation: "itk_offerte_acceptaties";
41712
+ referencedColumns: ["id"];
41713
+ }, {
40928
41714
  foreignKeyName: "itk_offertes_contact_id_fkey";
40929
41715
  columns: ["contact_id"];
40930
41716
  isOneToOne: false;
@@ -42363,6 +43149,60 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
42363
43149
  };
42364
43150
  Relationships: [];
42365
43151
  };
43152
+ logistics_order_merge_lines: {
43153
+ Row: {
43154
+ from_order_id: string;
43155
+ from_order_number: string | null;
43156
+ group_key: string;
43157
+ id: string;
43158
+ merged_at: string;
43159
+ order_item_id: string;
43160
+ ordered_at: string | null;
43161
+ product_id: string | null;
43162
+ product_name: string | null;
43163
+ quantity: number | null;
43164
+ reason: string;
43165
+ sales_order_id: string | null;
43166
+ source_line_key: string | null;
43167
+ to_order_id: string;
43168
+ to_order_number: string | null;
43169
+ };
43170
+ Insert: {
43171
+ from_order_id: string;
43172
+ from_order_number?: string | null;
43173
+ group_key: string;
43174
+ id?: string;
43175
+ merged_at?: string;
43176
+ order_item_id: string;
43177
+ ordered_at?: string | null;
43178
+ product_id?: string | null;
43179
+ product_name?: string | null;
43180
+ quantity?: number | null;
43181
+ reason: string;
43182
+ sales_order_id?: string | null;
43183
+ source_line_key?: string | null;
43184
+ to_order_id: string;
43185
+ to_order_number?: string | null;
43186
+ };
43187
+ Update: {
43188
+ from_order_id?: string;
43189
+ from_order_number?: string | null;
43190
+ group_key?: string;
43191
+ id?: string;
43192
+ merged_at?: string;
43193
+ order_item_id?: string;
43194
+ ordered_at?: string | null;
43195
+ product_id?: string | null;
43196
+ product_name?: string | null;
43197
+ quantity?: number | null;
43198
+ reason?: string;
43199
+ sales_order_id?: string | null;
43200
+ source_line_key?: string | null;
43201
+ to_order_id?: string;
43202
+ to_order_number?: string | null;
43203
+ };
43204
+ Relationships: [];
43205
+ };
42366
43206
  logistics_order_merges: {
42367
43207
  Row: {
42368
43208
  group_key: string;
@@ -46003,6 +46843,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
46003
46843
  product_id: string | null;
46004
46844
  product_name: string;
46005
46845
  quantity: number;
46846
+ quarantine_reason: string | null;
46847
+ quarantined_at: string | null;
46848
+ quarantined_into_order_id: string | null;
46006
46849
  source_line_key: string | null;
46007
46850
  unit: string;
46008
46851
  unit_price: number | null;
@@ -46019,6 +46862,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
46019
46862
  product_id?: string | null;
46020
46863
  product_name: string;
46021
46864
  quantity?: number;
46865
+ quarantine_reason?: string | null;
46866
+ quarantined_at?: string | null;
46867
+ quarantined_into_order_id?: string | null;
46022
46868
  source_line_key?: string | null;
46023
46869
  unit?: string;
46024
46870
  unit_price?: number | null;
@@ -46035,6 +46881,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
46035
46881
  product_id?: string | null;
46036
46882
  product_name?: string;
46037
46883
  quantity?: number;
46884
+ quarantine_reason?: string | null;
46885
+ quarantined_at?: string | null;
46886
+ quarantined_into_order_id?: string | null;
46038
46887
  source_line_key?: string | null;
46039
46888
  unit?: string;
46040
46889
  unit_price?: number | null;
@@ -47466,6 +48315,57 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
47466
48315
  };
47467
48316
  Relationships: [];
47468
48317
  };
48318
+ planning_confirmation_log: {
48319
+ Row: {
48320
+ created_at: string;
48321
+ end_at: string;
48322
+ id: string;
48323
+ kind: string;
48324
+ outbox_id: string | null;
48325
+ planning_item_id: string;
48326
+ reason: string | null;
48327
+ recipient: string | null;
48328
+ start_at: string;
48329
+ status: string;
48330
+ };
48331
+ Insert: {
48332
+ created_at?: string;
48333
+ end_at: string;
48334
+ id?: string;
48335
+ kind?: string;
48336
+ outbox_id?: string | null;
48337
+ planning_item_id: string;
48338
+ reason?: string | null;
48339
+ recipient?: string | null;
48340
+ start_at: string;
48341
+ status: string;
48342
+ };
48343
+ Update: {
48344
+ created_at?: string;
48345
+ end_at?: string;
48346
+ id?: string;
48347
+ kind?: string;
48348
+ outbox_id?: string | null;
48349
+ planning_item_id?: string;
48350
+ reason?: string | null;
48351
+ recipient?: string | null;
48352
+ start_at?: string;
48353
+ status?: string;
48354
+ };
48355
+ Relationships: [{
48356
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
48357
+ columns: ["planning_item_id"];
48358
+ isOneToOne: false;
48359
+ referencedRelation: "planning_items";
48360
+ referencedColumns: ["id"];
48361
+ }, {
48362
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
48363
+ columns: ["planning_item_id"];
48364
+ isOneToOne: false;
48365
+ referencedRelation: "planning_overview";
48366
+ referencedColumns: ["id"];
48367
+ }];
48368
+ };
47469
48369
  planning_item_assistants: {
47470
48370
  Row: {
47471
48371
  created_at: string;
@@ -47550,6 +48450,69 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
47550
48450
  referencedColumns: ["id"];
47551
48451
  }];
47552
48452
  };
48453
+ planning_mail_settings: {
48454
+ Row: {
48455
+ body_template: string;
48456
+ cc: string[];
48457
+ connection_id: string | null;
48458
+ created_at: string;
48459
+ email_purpose: string | null;
48460
+ enabled: boolean;
48461
+ id: boolean;
48462
+ reply_to: string | null;
48463
+ reschedule_body_template: string;
48464
+ reschedule_subject_template: string;
48465
+ subject_template: string;
48466
+ timezone: string;
48467
+ updated_at: string;
48468
+ updated_by: string | null;
48469
+ };
48470
+ Insert: {
48471
+ body_template?: string;
48472
+ cc?: string[];
48473
+ connection_id?: string | null;
48474
+ created_at?: string;
48475
+ email_purpose?: string | null;
48476
+ enabled?: boolean;
48477
+ id?: boolean;
48478
+ reply_to?: string | null;
48479
+ reschedule_body_template?: string;
48480
+ reschedule_subject_template?: string;
48481
+ subject_template?: string;
48482
+ timezone?: string;
48483
+ updated_at?: string;
48484
+ updated_by?: string | null;
48485
+ };
48486
+ Update: {
48487
+ body_template?: string;
48488
+ cc?: string[];
48489
+ connection_id?: string | null;
48490
+ created_at?: string;
48491
+ email_purpose?: string | null;
48492
+ enabled?: boolean;
48493
+ id?: boolean;
48494
+ reply_to?: string | null;
48495
+ reschedule_body_template?: string;
48496
+ reschedule_subject_template?: string;
48497
+ subject_template?: string;
48498
+ timezone?: string;
48499
+ updated_at?: string;
48500
+ updated_by?: string | null;
48501
+ };
48502
+ Relationships: [{
48503
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
48504
+ columns: ["connection_id"];
48505
+ isOneToOne: false;
48506
+ referencedRelation: "email_auth_connections";
48507
+ referencedColumns: ["id"];
48508
+ }, {
48509
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
48510
+ columns: ["connection_id"];
48511
+ isOneToOne: false;
48512
+ referencedRelation: "email_auth_connections_safe";
48513
+ referencedColumns: ["id"];
48514
+ }];
48515
+ };
47553
48516
  planning_monteur_day_locations: {
47554
48517
  Row: {
47555
48518
  created_at: string;
@@ -47937,6 +48900,27 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
47937
48900
  };
47938
48901
  Relationships: [];
47939
48902
  };
48903
+ print_genegeerde_computers: {
48904
+ Row: {
48905
+ computer_naam: string;
48906
+ genegeerd_door: string | null;
48907
+ genegeerd_op: string;
48908
+ id: string;
48909
+ };
48910
+ Insert: {
48911
+ computer_naam: string;
48912
+ genegeerd_door?: string | null;
48913
+ genegeerd_op?: string;
48914
+ id?: string;
48915
+ };
48916
+ Update: {
48917
+ computer_naam?: string;
48918
+ genegeerd_door?: string | null;
48919
+ genegeerd_op?: string;
48920
+ id?: string;
48921
+ };
48922
+ Relationships: [];
48923
+ };
47940
48924
  print_job_logs: {
47941
48925
  Row: {
47942
48926
  created_at: string;
@@ -48207,6 +49191,39 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48207
49191
  referencedColumns: ["id"];
48208
49192
  }];
48209
49193
  };
49194
+ print_plek_printers: {
49195
+ Row: {
49196
+ id: string;
49197
+ print_plek_id: string;
49198
+ printer_id: string;
49199
+ toegevoegd_op: string;
49200
+ };
49201
+ Insert: {
49202
+ id?: string;
49203
+ print_plek_id: string;
49204
+ printer_id: string;
49205
+ toegevoegd_op?: string;
49206
+ };
49207
+ Update: {
49208
+ id?: string;
49209
+ print_plek_id?: string;
49210
+ printer_id?: string;
49211
+ toegevoegd_op?: string;
49212
+ };
49213
+ Relationships: [{
49214
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
49215
+ columns: ["print_plek_id"];
49216
+ isOneToOne: false;
49217
+ referencedRelation: "print_plekken";
49218
+ referencedColumns: ["id"];
49219
+ }, {
49220
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
49221
+ columns: ["printer_id"];
49222
+ isOneToOne: false;
49223
+ referencedRelation: "printers";
49224
+ referencedColumns: ["id"];
49225
+ }];
49226
+ };
48210
49227
  print_plekken: {
48211
49228
  Row: {
48212
49229
  actief: boolean;
@@ -48422,7 +49439,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48422
49439
  created_at: string;
48423
49440
  id: string;
48424
49441
  layout_id: string;
48425
- printer_id: string;
49442
+ printer_id: string | null;
49443
+ printer_ontbreekt_sinds: string | null;
48426
49444
  prioriteit: number;
48427
49445
  updated_at: string;
48428
49446
  };
@@ -48430,7 +49448,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48430
49448
  created_at?: string;
48431
49449
  id?: string;
48432
49450
  layout_id: string;
48433
- printer_id: string;
49451
+ printer_id?: string | null;
49452
+ printer_ontbreekt_sinds?: string | null;
48434
49453
  prioriteit?: number;
48435
49454
  updated_at?: string;
48436
49455
  };
@@ -48438,7 +49457,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48438
49457
  created_at?: string;
48439
49458
  id?: string;
48440
49459
  layout_id?: string;
48441
- printer_id?: string;
49460
+ printer_id?: string | null;
49461
+ printer_ontbreekt_sinds?: string | null;
48442
49462
  prioriteit?: number;
48443
49463
  updated_at?: string;
48444
49464
  };
@@ -52926,6 +53946,30 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
52926
53946
  };
52927
53947
  Relationships: [];
52928
53948
  };
53949
+ uren_pagina_toegang: {
53950
+ Row: {
53951
+ created_at: string;
53952
+ id: string;
53953
+ user_id: string;
53954
+ };
53955
+ Insert: {
53956
+ created_at?: string;
53957
+ id?: string;
53958
+ user_id: string;
53959
+ };
53960
+ Update: {
53961
+ created_at?: string;
53962
+ id?: string;
53963
+ user_id?: string;
53964
+ };
53965
+ Relationships: [{
53966
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
53967
+ columns: ["user_id"];
53968
+ isOneToOne: true;
53969
+ referencedRelation: "profiles";
53970
+ referencedColumns: ["id"];
53971
+ }];
53972
+ };
52929
53973
  uren_settings: {
52930
53974
  Row: {
52931
53975
  break_minutes: number;
@@ -54330,12 +55374,14 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
54330
55374
  created_at: string;
54331
55375
  default_quantity: number;
54332
55376
  description: string | null;
54333
- duration_minutes: number | null;
55377
+ duration_minutes: number;
54334
55378
  id: string;
55379
+ labor_minutes: number;
54335
55380
  mandaat_type: string | null;
54336
55381
  name: string;
54337
55382
  price_mode: string;
54338
55383
  sort_order: number;
55384
+ travel_minutes: number;
54339
55385
  unit_price_cents: number;
54340
55386
  updated_at: string;
54341
55387
  };
@@ -54347,12 +55393,14 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
54347
55393
  created_at?: string;
54348
55394
  default_quantity?: number;
54349
55395
  description?: string | null;
54350
- duration_minutes?: number | null;
55396
+ duration_minutes?: number;
54351
55397
  id?: string;
55398
+ labor_minutes?: number;
54352
55399
  mandaat_type?: string | null;
54353
55400
  name: string;
54354
55401
  price_mode?: string;
54355
55402
  sort_order?: number;
55403
+ travel_minutes?: number;
54356
55404
  unit_price_cents?: number;
54357
55405
  updated_at?: string;
54358
55406
  };
@@ -54364,12 +55412,14 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
54364
55412
  created_at?: string;
54365
55413
  default_quantity?: number;
54366
55414
  description?: string | null;
54367
- duration_minutes?: number | null;
55415
+ duration_minutes?: number;
54368
55416
  id?: string;
55417
+ labor_minutes?: number;
54369
55418
  mandaat_type?: string | null;
54370
55419
  name?: string;
54371
55420
  price_mode?: string;
54372
55421
  sort_order?: number;
55422
+ travel_minutes?: number;
54373
55423
  unit_price_cents?: number;
54374
55424
  updated_at?: string;
54375
55425
  };
@@ -55924,6 +56974,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
55924
56974
  };
55925
56975
  Returns: undefined;
55926
56976
  };
56977
+ _quote_release_work_order_intern: {
56978
+ Args: {
56979
+ _offerte_id: string;
56980
+ };
56981
+ Returns: import("../integrations/supabase/types").Json;
56982
+ };
55927
56983
  _wo_is_planner: {
55928
56984
  Args: never;
55929
56985
  Returns: boolean;
@@ -60795,6 +61851,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
60795
61851
  };
60796
61852
  Returns: import("../integrations/supabase/types").Json;
60797
61853
  };
61854
+ pick_verify_rows: {
61855
+ Args: {
61856
+ _rows: import("../integrations/supabase/types").Json;
61857
+ };
61858
+ Returns: import("../integrations/supabase/types").Json;
61859
+ };
60798
61860
  pickstation_get_orders_raw: {
60799
61861
  Args: never;
60800
61862
  Returns: import("../integrations/supabase/types").Json;
@@ -60857,6 +61919,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
60857
61919
  };
60858
61920
  Returns: undefined;
60859
61921
  };
61922
+ planning_html_escape: {
61923
+ Args: {
61924
+ t: string;
61925
+ };
61926
+ Returns: string;
61927
+ };
60860
61928
  planning_list: {
60861
61929
  Args: {
60862
61930
  _from: string;
@@ -60911,6 +61979,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
60911
61979
  id: string;
60912
61980
  }[];
60913
61981
  };
61982
+ planning_urlencode: {
61983
+ Args: {
61984
+ t: string;
61985
+ };
61986
+ Returns: string;
61987
+ };
60914
61988
  print_preview_toestaan: {
60915
61989
  Args: {
60916
61990
  _max?: number;
@@ -60929,6 +62003,35 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
60929
62003
  };
60930
62004
  Returns: undefined;
60931
62005
  };
62006
+ printer_gebruik: {
62007
+ Args: {
62008
+ _printer: string;
62009
+ };
62010
+ Returns: import("../integrations/supabase/types").Json;
62011
+ };
62012
+ printer_routering: {
62013
+ Args: {
62014
+ _documenttype: string;
62015
+ _layout_id?: string;
62016
+ _papierformaat?: string;
62017
+ _print_plek_id?: string;
62018
+ _werkplek?: string;
62019
+ };
62020
+ Returns: import("../integrations/supabase/types").Json;
62021
+ };
62022
+ printplek_printer: {
62023
+ Args: {
62024
+ _documenttype: string;
62025
+ _plek: string;
62026
+ };
62027
+ Returns: string;
62028
+ };
62029
+ printplek_verwijder_impact: {
62030
+ Args: {
62031
+ _id: string;
62032
+ };
62033
+ Returns: import("../integrations/supabase/types").Json;
62034
+ };
60932
62035
  process_logistics_event: {
60933
62036
  Args: {
60934
62037
  p_event_id: string;
@@ -60975,6 +62078,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
60975
62078
  };
60976
62079
  Returns: import("../integrations/supabase/types").Json;
60977
62080
  };
62081
+ quote_create_from_scratch: {
62082
+ Args: {
62083
+ _payload: import("../integrations/supabase/types").Json;
62084
+ };
62085
+ Returns: import("../integrations/supabase/types").Json;
62086
+ };
60978
62087
  quote_create_from_source: {
60979
62088
  Args: {
60980
62089
  _payload?: import("../integrations/supabase/types").Json;
@@ -60990,6 +62099,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
60990
62099
  };
60991
62100
  Returns: boolean;
60992
62101
  };
62102
+ quote_fill_from_form: {
62103
+ Args: {
62104
+ _offerte_id: string;
62105
+ _payload: import("../integrations/supabase/types").Json;
62106
+ };
62107
+ Returns: import("../integrations/supabase/types").Json;
62108
+ };
60993
62109
  quote_get_billable_lines: {
60994
62110
  Args: {
60995
62111
  _quotation_id: string;
@@ -61019,12 +62135,50 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
61019
62135
  };
61020
62136
  Returns: import("../integrations/supabase/types").Json;
61021
62137
  };
62138
+ quote_public_accept: {
62139
+ Args: {
62140
+ _akkoord: boolean;
62141
+ _email: string;
62142
+ _ip_address?: string;
62143
+ _naam: string;
62144
+ _token: string;
62145
+ _user_agent?: string;
62146
+ };
62147
+ Returns: import("../integrations/supabase/types").Json;
62148
+ };
62149
+ quote_public_get: {
62150
+ Args: {
62151
+ _token: string;
62152
+ };
62153
+ Returns: import("../integrations/supabase/types").Json;
62154
+ };
62155
+ quote_public_sign: {
62156
+ Args: {
62157
+ _handtekening: string;
62158
+ _naam: string;
62159
+ _token: string;
62160
+ };
62161
+ Returns: import("../integrations/supabase/types").Json;
62162
+ };
61022
62163
  quote_queue_follow_up: {
61023
62164
  Args: {
61024
62165
  _offerte_id: string;
61025
62166
  };
61026
62167
  Returns: string;
61027
62168
  };
62169
+ quote_release_work_order: {
62170
+ Args: {
62171
+ _offerte_id: string;
62172
+ };
62173
+ Returns: import("../integrations/supabase/types").Json;
62174
+ };
62175
+ quote_sync_work_order: {
62176
+ Args: {
62177
+ _monteur_instructies?: string;
62178
+ _offerte_id: string;
62179
+ };
62180
+ Returns: boolean;
62181
+ };
61028
62182
  recompute_all_reserved_stock: {
61029
62183
  Args: never;
61030
62184
  Returns: undefined;
@@ -61976,6 +63130,10 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
61976
63130
  };
61977
63131
  Returns: number;
61978
63132
  };
63133
+ uren_heeft_pagina_toegang: {
63134
+ Args: never;
63135
+ Returns: boolean;
63136
+ };
61979
63137
  uren_is_beheerder: {
61980
63138
  Args: never;
61981
63139
  Returns: boolean;
@@ -62059,6 +63217,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
62059
63217
  Args: never;
62060
63218
  Returns: string;
62061
63219
  };
63220
+ uren_pagina_toegang_instellen: {
63221
+ Args: {
63222
+ _toegang: boolean;
63223
+ _user_id: string;
63224
+ };
63225
+ Returns: undefined;
63226
+ };
62062
63227
  uren_planning_dagagenda: {
62063
63228
  Args: {
62064
63229
  _tot: string;
@@ -62303,6 +63468,19 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
62303
63468
  user_id: string;
62304
63469
  }[];
62305
63470
  };
63471
+ vervang_printer: {
63472
+ Args: {
63473
+ _nieuw: string;
63474
+ _oud: string;
63475
+ };
63476
+ Returns: import("../integrations/supabase/types").Json;
63477
+ };
63478
+ verwijder_printplek: {
63479
+ Args: {
63480
+ _id: string;
63481
+ };
63482
+ Returns: import("../integrations/supabase/types").Json;
63483
+ };
62306
63484
  voorraad_cleanup_old_rows: {
62307
63485
  Args: never;
62308
63486
  Returns: import("../integrations/supabase/types").Json;
@@ -62313,6 +63491,16 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
62313
63491
  };
62314
63492
  Returns: number;
62315
63493
  };
63494
+ werkbon_pakket_tijden: {
63495
+ Args: {
63496
+ _werkbon_id: string;
63497
+ };
63498
+ Returns: {
63499
+ labor_minutes: number;
63500
+ total_minutes: number;
63501
+ travel_minutes: number;
63502
+ }[];
63503
+ };
62316
63504
  werkbon_totalen: {
62317
63505
  Args: {
62318
63506
  _werkbon_id: string;
@@ -65606,6 +66794,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
65606
66794
  formaat_code: string;
65607
66795
  id: string;
65608
66796
  printer_id: string | null;
66797
+ printer_ontbreekt_sinds: string | null;
65609
66798
  updated_at: string;
65610
66799
  };
65611
66800
  Insert: {
@@ -65614,6 +66803,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
65614
66803
  formaat_code: string;
65615
66804
  id?: string;
65616
66805
  printer_id?: string | null;
66806
+ printer_ontbreekt_sinds?: string | null;
65617
66807
  updated_at?: string;
65618
66808
  };
65619
66809
  Update: {
@@ -65622,6 +66812,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
65622
66812
  formaat_code?: string;
65623
66813
  id?: string;
65624
66814
  printer_id?: string | null;
66815
+ printer_ontbreekt_sinds?: string | null;
65625
66816
  updated_at?: string;
65626
66817
  };
65627
66818
  Relationships: [{
@@ -65958,6 +67149,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
65958
67149
  papierformaat: string | null;
65959
67150
  print_plek_id: string;
65960
67151
  printer_id: string | null;
67152
+ printer_ontbreekt_sinds: string | null;
65961
67153
  updated_at: string;
65962
67154
  };
65963
67155
  Insert: {
@@ -65967,6 +67159,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
65967
67159
  papierformaat?: string | null;
65968
67160
  print_plek_id: string;
65969
67161
  printer_id?: string | null;
67162
+ printer_ontbreekt_sinds?: string | null;
65970
67163
  updated_at?: string;
65971
67164
  };
65972
67165
  Update: {
@@ -65976,6 +67169,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
65976
67169
  papierformaat?: string | null;
65977
67170
  print_plek_id?: string;
65978
67171
  printer_id?: string | null;
67172
+ printer_ontbreekt_sinds?: string | null;
65979
67173
  updated_at?: string;
65980
67174
  };
65981
67175
  Relationships: [{
@@ -65999,6 +67193,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
65999
67193
  id: string;
66000
67194
  papierformaat: string | null;
66001
67195
  printer_id: string | null;
67196
+ printer_ontbreekt_sinds: string | null;
66002
67197
  updated_at: string;
66003
67198
  werkplek: string;
66004
67199
  };
@@ -66008,6 +67203,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
66008
67203
  id?: string;
66009
67204
  papierformaat?: string | null;
66010
67205
  printer_id?: string | null;
67206
+ printer_ontbreekt_sinds?: string | null;
66011
67207
  updated_at?: string;
66012
67208
  werkplek: string;
66013
67209
  };
@@ -66017,6 +67213,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
66017
67213
  id?: string;
66018
67214
  papierformaat?: string | null;
66019
67215
  printer_id?: string | null;
67216
+ printer_ontbreekt_sinds?: string | null;
66020
67217
  updated_at?: string;
66021
67218
  werkplek?: string;
66022
67219
  };
@@ -69319,6 +70516,78 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
69319
70516
  referencedColumns: ["id"];
69320
70517
  }];
69321
70518
  };
70519
+ floriday_document_fetch_queue: {
70520
+ Row: {
70521
+ attempts: number;
70522
+ cancelled_reason: string | null;
70523
+ completed_at: string | null;
70524
+ connection_id: string;
70525
+ created_at: string;
70526
+ document_key: string;
70527
+ environment: string;
70528
+ id: string;
70529
+ kind: string;
70530
+ last_error: string | null;
70531
+ last_http_status: number | null;
70532
+ locked_at: string | null;
70533
+ locked_by: string | null;
70534
+ max_attempts: number;
70535
+ next_attempt_at: string;
70536
+ order_ref: string | null;
70537
+ params: import("../integrations/supabase/types").Json;
70538
+ status: string;
70539
+ updated_at: string;
70540
+ };
70541
+ Insert: {
70542
+ attempts?: number;
70543
+ cancelled_reason?: string | null;
70544
+ completed_at?: string | null;
70545
+ connection_id: string;
70546
+ created_at?: string;
70547
+ document_key: string;
70548
+ environment: string;
70549
+ id?: string;
70550
+ kind: string;
70551
+ last_error?: string | null;
70552
+ last_http_status?: number | null;
70553
+ locked_at?: string | null;
70554
+ locked_by?: string | null;
70555
+ max_attempts?: number;
70556
+ next_attempt_at?: string;
70557
+ order_ref?: string | null;
70558
+ params?: import("../integrations/supabase/types").Json;
70559
+ status?: string;
70560
+ updated_at?: string;
70561
+ };
70562
+ Update: {
70563
+ attempts?: number;
70564
+ cancelled_reason?: string | null;
70565
+ completed_at?: string | null;
70566
+ connection_id?: string;
70567
+ created_at?: string;
70568
+ document_key?: string;
70569
+ environment?: string;
70570
+ id?: string;
70571
+ kind?: string;
70572
+ last_error?: string | null;
70573
+ last_http_status?: number | null;
70574
+ locked_at?: string | null;
70575
+ locked_by?: string | null;
70576
+ max_attempts?: number;
70577
+ next_attempt_at?: string;
70578
+ order_ref?: string | null;
70579
+ params?: import("../integrations/supabase/types").Json;
70580
+ status?: string;
70581
+ updated_at?: string;
70582
+ };
70583
+ Relationships: [{
70584
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
70585
+ columns: ["connection_id"];
70586
+ isOneToOne: false;
70587
+ referencedRelation: "floriday_connections";
70588
+ referencedColumns: ["id"];
70589
+ }];
70590
+ };
69322
70591
  floriday_fulfillment_orders_cache: {
69323
70592
  Row: {
69324
70593
  auction_date: string | null;
@@ -69616,6 +70885,39 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
69616
70885
  referencedColumns: ["id"];
69617
70886
  }];
69618
70887
  };
70888
+ floriday_merge_log: {
70889
+ Row: {
70890
+ action: string;
70891
+ created_at: string;
70892
+ floriday_sales_order_ids: import("../integrations/supabase/types").Json;
70893
+ id: string;
70894
+ kept_order_id: string | null;
70895
+ lines: import("../integrations/supabase/types").Json;
70896
+ reason: string | null;
70897
+ removed_order_id: string | null;
70898
+ };
70899
+ Insert: {
70900
+ action: string;
70901
+ created_at?: string;
70902
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
70903
+ id?: string;
70904
+ kept_order_id?: string | null;
70905
+ lines?: import("../integrations/supabase/types").Json;
70906
+ reason?: string | null;
70907
+ removed_order_id?: string | null;
70908
+ };
70909
+ Update: {
70910
+ action?: string;
70911
+ created_at?: string;
70912
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
70913
+ id?: string;
70914
+ kept_order_id?: string | null;
70915
+ lines?: import("../integrations/supabase/types").Json;
70916
+ reason?: string | null;
70917
+ removed_order_id?: string | null;
70918
+ };
70919
+ Relationships: [];
70920
+ };
69619
70921
  floriday_network_cache: {
69620
70922
  Row: {
69621
70923
  city: string | null;
@@ -71851,6 +73153,57 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
71851
73153
  };
71852
73154
  Relationships: [];
71853
73155
  };
73156
+ itk_offerte_acceptaties: {
73157
+ Row: {
73158
+ accepted_at: string;
73159
+ akkoordgever_email: string;
73160
+ akkoordgever_naam: string;
73161
+ akkoordverklaring: string;
73162
+ id: string;
73163
+ inhoud_hash: string;
73164
+ ip_address: unknown;
73165
+ offerte_id: string;
73166
+ offerte_number: string;
73167
+ offerte_snapshot: import("../integrations/supabase/types").Json;
73168
+ user_agent: string | null;
73169
+ versie: string;
73170
+ };
73171
+ Insert: {
73172
+ accepted_at?: string;
73173
+ akkoordgever_email: string;
73174
+ akkoordgever_naam: string;
73175
+ akkoordverklaring: string;
73176
+ id?: string;
73177
+ inhoud_hash: string;
73178
+ ip_address?: unknown;
73179
+ offerte_id: string;
73180
+ offerte_number: string;
73181
+ offerte_snapshot: import("../integrations/supabase/types").Json;
73182
+ user_agent?: string | null;
73183
+ versie: string;
73184
+ };
73185
+ Update: {
73186
+ accepted_at?: string;
73187
+ akkoordgever_email?: string;
73188
+ akkoordgever_naam?: string;
73189
+ akkoordverklaring?: string;
73190
+ id?: string;
73191
+ inhoud_hash?: string;
73192
+ ip_address?: unknown;
73193
+ offerte_id?: string;
73194
+ offerte_number?: string;
73195
+ offerte_snapshot?: import("../integrations/supabase/types").Json;
73196
+ user_agent?: string | null;
73197
+ versie?: string;
73198
+ };
73199
+ Relationships: [{
73200
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
73201
+ columns: ["offerte_id"];
73202
+ isOneToOne: true;
73203
+ referencedRelation: "itk_offertes";
73204
+ referencedColumns: ["id"];
73205
+ }];
73206
+ };
71854
73207
  itk_offerte_events: {
71855
73208
  Row: {
71856
73209
  created_at: string;
@@ -72064,6 +73417,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
72064
73417
  itk_offertes: {
72065
73418
  Row: {
72066
73419
  aandachtspunten: string | null;
73420
+ acceptance_id: string | null;
72067
73421
  ai_generated: boolean;
72068
73422
  approved_at: string | null;
72069
73423
  binnen_mandaat: boolean;
@@ -72082,6 +73436,11 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
72082
73436
  onderwerp: string | null;
72083
73437
  rejected_at: string | null;
72084
73438
  sent_at: string | null;
73439
+ sign_token: string;
73440
+ signature_data: string | null;
73441
+ signed_at: string | null;
73442
+ signer_email: string | null;
73443
+ signer_name: string | null;
72085
73444
  source_number: string | null;
72086
73445
  source_ref: string | null;
72087
73446
  source_type: string;
@@ -72096,11 +73455,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
72096
73455
  viewed_at: string | null;
72097
73456
  volgnummer: number | null;
72098
73457
  voorwaarden: string | null;
73458
+ werkbon_concept: import("../integrations/supabase/types").Json | null;
72099
73459
  werkbon_id: string | null;
72100
73460
  work_location_id: string | null;
72101
73461
  };
72102
73462
  Insert: {
72103
73463
  aandachtspunten?: string | null;
73464
+ acceptance_id?: string | null;
72104
73465
  ai_generated?: boolean;
72105
73466
  approved_at?: string | null;
72106
73467
  binnen_mandaat?: boolean;
@@ -72119,6 +73480,11 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
72119
73480
  onderwerp?: string | null;
72120
73481
  rejected_at?: string | null;
72121
73482
  sent_at?: string | null;
73483
+ sign_token?: string;
73484
+ signature_data?: string | null;
73485
+ signed_at?: string | null;
73486
+ signer_email?: string | null;
73487
+ signer_name?: string | null;
72122
73488
  source_number?: string | null;
72123
73489
  source_ref?: string | null;
72124
73490
  source_type?: string;
@@ -72133,11 +73499,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
72133
73499
  viewed_at?: string | null;
72134
73500
  volgnummer?: number | null;
72135
73501
  voorwaarden?: string | null;
73502
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
72136
73503
  werkbon_id?: string | null;
72137
73504
  work_location_id?: string | null;
72138
73505
  };
72139
73506
  Update: {
72140
73507
  aandachtspunten?: string | null;
73508
+ acceptance_id?: string | null;
72141
73509
  ai_generated?: boolean;
72142
73510
  approved_at?: string | null;
72143
73511
  binnen_mandaat?: boolean;
@@ -72156,6 +73524,11 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
72156
73524
  onderwerp?: string | null;
72157
73525
  rejected_at?: string | null;
72158
73526
  sent_at?: string | null;
73527
+ sign_token?: string;
73528
+ signature_data?: string | null;
73529
+ signed_at?: string | null;
73530
+ signer_email?: string | null;
73531
+ signer_name?: string | null;
72159
73532
  source_number?: string | null;
72160
73533
  source_ref?: string | null;
72161
73534
  source_type?: string;
@@ -72170,10 +73543,17 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
72170
73543
  viewed_at?: string | null;
72171
73544
  volgnummer?: number | null;
72172
73545
  voorwaarden?: string | null;
73546
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
72173
73547
  werkbon_id?: string | null;
72174
73548
  work_location_id?: string | null;
72175
73549
  };
72176
73550
  Relationships: [{
73551
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
73552
+ columns: ["acceptance_id"];
73553
+ isOneToOne: false;
73554
+ referencedRelation: "itk_offerte_acceptaties";
73555
+ referencedColumns: ["id"];
73556
+ }, {
72177
73557
  foreignKeyName: "itk_offertes_contact_id_fkey";
72178
73558
  columns: ["contact_id"];
72179
73559
  isOneToOne: false;
@@ -73612,6 +74992,60 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
73612
74992
  };
73613
74993
  Relationships: [];
73614
74994
  };
74995
+ logistics_order_merge_lines: {
74996
+ Row: {
74997
+ from_order_id: string;
74998
+ from_order_number: string | null;
74999
+ group_key: string;
75000
+ id: string;
75001
+ merged_at: string;
75002
+ order_item_id: string;
75003
+ ordered_at: string | null;
75004
+ product_id: string | null;
75005
+ product_name: string | null;
75006
+ quantity: number | null;
75007
+ reason: string;
75008
+ sales_order_id: string | null;
75009
+ source_line_key: string | null;
75010
+ to_order_id: string;
75011
+ to_order_number: string | null;
75012
+ };
75013
+ Insert: {
75014
+ from_order_id: string;
75015
+ from_order_number?: string | null;
75016
+ group_key: string;
75017
+ id?: string;
75018
+ merged_at?: string;
75019
+ order_item_id: string;
75020
+ ordered_at?: string | null;
75021
+ product_id?: string | null;
75022
+ product_name?: string | null;
75023
+ quantity?: number | null;
75024
+ reason: string;
75025
+ sales_order_id?: string | null;
75026
+ source_line_key?: string | null;
75027
+ to_order_id: string;
75028
+ to_order_number?: string | null;
75029
+ };
75030
+ Update: {
75031
+ from_order_id?: string;
75032
+ from_order_number?: string | null;
75033
+ group_key?: string;
75034
+ id?: string;
75035
+ merged_at?: string;
75036
+ order_item_id?: string;
75037
+ ordered_at?: string | null;
75038
+ product_id?: string | null;
75039
+ product_name?: string | null;
75040
+ quantity?: number | null;
75041
+ reason?: string;
75042
+ sales_order_id?: string | null;
75043
+ source_line_key?: string | null;
75044
+ to_order_id?: string;
75045
+ to_order_number?: string | null;
75046
+ };
75047
+ Relationships: [];
75048
+ };
73615
75049
  logistics_order_merges: {
73616
75050
  Row: {
73617
75051
  group_key: string;
@@ -77252,6 +78686,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
77252
78686
  product_id: string | null;
77253
78687
  product_name: string;
77254
78688
  quantity: number;
78689
+ quarantine_reason: string | null;
78690
+ quarantined_at: string | null;
78691
+ quarantined_into_order_id: string | null;
77255
78692
  source_line_key: string | null;
77256
78693
  unit: string;
77257
78694
  unit_price: number | null;
@@ -77268,6 +78705,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
77268
78705
  product_id?: string | null;
77269
78706
  product_name: string;
77270
78707
  quantity?: number;
78708
+ quarantine_reason?: string | null;
78709
+ quarantined_at?: string | null;
78710
+ quarantined_into_order_id?: string | null;
77271
78711
  source_line_key?: string | null;
77272
78712
  unit?: string;
77273
78713
  unit_price?: number | null;
@@ -77284,6 +78724,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
77284
78724
  product_id?: string | null;
77285
78725
  product_name?: string;
77286
78726
  quantity?: number;
78727
+ quarantine_reason?: string | null;
78728
+ quarantined_at?: string | null;
78729
+ quarantined_into_order_id?: string | null;
77287
78730
  source_line_key?: string | null;
77288
78731
  unit?: string;
77289
78732
  unit_price?: number | null;
@@ -78715,6 +80158,57 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
78715
80158
  };
78716
80159
  Relationships: [];
78717
80160
  };
80161
+ planning_confirmation_log: {
80162
+ Row: {
80163
+ created_at: string;
80164
+ end_at: string;
80165
+ id: string;
80166
+ kind: string;
80167
+ outbox_id: string | null;
80168
+ planning_item_id: string;
80169
+ reason: string | null;
80170
+ recipient: string | null;
80171
+ start_at: string;
80172
+ status: string;
80173
+ };
80174
+ Insert: {
80175
+ created_at?: string;
80176
+ end_at: string;
80177
+ id?: string;
80178
+ kind?: string;
80179
+ outbox_id?: string | null;
80180
+ planning_item_id: string;
80181
+ reason?: string | null;
80182
+ recipient?: string | null;
80183
+ start_at: string;
80184
+ status: string;
80185
+ };
80186
+ Update: {
80187
+ created_at?: string;
80188
+ end_at?: string;
80189
+ id?: string;
80190
+ kind?: string;
80191
+ outbox_id?: string | null;
80192
+ planning_item_id?: string;
80193
+ reason?: string | null;
80194
+ recipient?: string | null;
80195
+ start_at?: string;
80196
+ status?: string;
80197
+ };
80198
+ Relationships: [{
80199
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
80200
+ columns: ["planning_item_id"];
80201
+ isOneToOne: false;
80202
+ referencedRelation: "planning_items";
80203
+ referencedColumns: ["id"];
80204
+ }, {
80205
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
80206
+ columns: ["planning_item_id"];
80207
+ isOneToOne: false;
80208
+ referencedRelation: "planning_overview";
80209
+ referencedColumns: ["id"];
80210
+ }];
80211
+ };
78718
80212
  planning_item_assistants: {
78719
80213
  Row: {
78720
80214
  created_at: string;
@@ -78799,6 +80293,69 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
78799
80293
  referencedColumns: ["id"];
78800
80294
  }];
78801
80295
  };
80296
+ planning_mail_settings: {
80297
+ Row: {
80298
+ body_template: string;
80299
+ cc: string[];
80300
+ connection_id: string | null;
80301
+ created_at: string;
80302
+ email_purpose: string | null;
80303
+ enabled: boolean;
80304
+ id: boolean;
80305
+ reply_to: string | null;
80306
+ reschedule_body_template: string;
80307
+ reschedule_subject_template: string;
80308
+ subject_template: string;
80309
+ timezone: string;
80310
+ updated_at: string;
80311
+ updated_by: string | null;
80312
+ };
80313
+ Insert: {
80314
+ body_template?: string;
80315
+ cc?: string[];
80316
+ connection_id?: string | null;
80317
+ created_at?: string;
80318
+ email_purpose?: string | null;
80319
+ enabled?: boolean;
80320
+ id?: boolean;
80321
+ reply_to?: string | null;
80322
+ reschedule_body_template?: string;
80323
+ reschedule_subject_template?: string;
80324
+ subject_template?: string;
80325
+ timezone?: string;
80326
+ updated_at?: string;
80327
+ updated_by?: string | null;
80328
+ };
80329
+ Update: {
80330
+ body_template?: string;
80331
+ cc?: string[];
80332
+ connection_id?: string | null;
80333
+ created_at?: string;
80334
+ email_purpose?: string | null;
80335
+ enabled?: boolean;
80336
+ id?: boolean;
80337
+ reply_to?: string | null;
80338
+ reschedule_body_template?: string;
80339
+ reschedule_subject_template?: string;
80340
+ subject_template?: string;
80341
+ timezone?: string;
80342
+ updated_at?: string;
80343
+ updated_by?: string | null;
80344
+ };
80345
+ Relationships: [{
80346
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
80347
+ columns: ["connection_id"];
80348
+ isOneToOne: false;
80349
+ referencedRelation: "email_auth_connections";
80350
+ referencedColumns: ["id"];
80351
+ }, {
80352
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
80353
+ columns: ["connection_id"];
80354
+ isOneToOne: false;
80355
+ referencedRelation: "email_auth_connections_safe";
80356
+ referencedColumns: ["id"];
80357
+ }];
80358
+ };
78802
80359
  planning_monteur_day_locations: {
78803
80360
  Row: {
78804
80361
  created_at: string;
@@ -79186,6 +80743,27 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79186
80743
  };
79187
80744
  Relationships: [];
79188
80745
  };
80746
+ print_genegeerde_computers: {
80747
+ Row: {
80748
+ computer_naam: string;
80749
+ genegeerd_door: string | null;
80750
+ genegeerd_op: string;
80751
+ id: string;
80752
+ };
80753
+ Insert: {
80754
+ computer_naam: string;
80755
+ genegeerd_door?: string | null;
80756
+ genegeerd_op?: string;
80757
+ id?: string;
80758
+ };
80759
+ Update: {
80760
+ computer_naam?: string;
80761
+ genegeerd_door?: string | null;
80762
+ genegeerd_op?: string;
80763
+ id?: string;
80764
+ };
80765
+ Relationships: [];
80766
+ };
79189
80767
  print_job_logs: {
79190
80768
  Row: {
79191
80769
  created_at: string;
@@ -79456,6 +81034,39 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79456
81034
  referencedColumns: ["id"];
79457
81035
  }];
79458
81036
  };
81037
+ print_plek_printers: {
81038
+ Row: {
81039
+ id: string;
81040
+ print_plek_id: string;
81041
+ printer_id: string;
81042
+ toegevoegd_op: string;
81043
+ };
81044
+ Insert: {
81045
+ id?: string;
81046
+ print_plek_id: string;
81047
+ printer_id: string;
81048
+ toegevoegd_op?: string;
81049
+ };
81050
+ Update: {
81051
+ id?: string;
81052
+ print_plek_id?: string;
81053
+ printer_id?: string;
81054
+ toegevoegd_op?: string;
81055
+ };
81056
+ Relationships: [{
81057
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
81058
+ columns: ["print_plek_id"];
81059
+ isOneToOne: false;
81060
+ referencedRelation: "print_plekken";
81061
+ referencedColumns: ["id"];
81062
+ }, {
81063
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
81064
+ columns: ["printer_id"];
81065
+ isOneToOne: false;
81066
+ referencedRelation: "printers";
81067
+ referencedColumns: ["id"];
81068
+ }];
81069
+ };
79459
81070
  print_plekken: {
79460
81071
  Row: {
79461
81072
  actief: boolean;
@@ -79671,7 +81282,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79671
81282
  created_at: string;
79672
81283
  id: string;
79673
81284
  layout_id: string;
79674
- printer_id: string;
81285
+ printer_id: string | null;
81286
+ printer_ontbreekt_sinds: string | null;
79675
81287
  prioriteit: number;
79676
81288
  updated_at: string;
79677
81289
  };
@@ -79679,7 +81291,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79679
81291
  created_at?: string;
79680
81292
  id?: string;
79681
81293
  layout_id: string;
79682
- printer_id: string;
81294
+ printer_id?: string | null;
81295
+ printer_ontbreekt_sinds?: string | null;
79683
81296
  prioriteit?: number;
79684
81297
  updated_at?: string;
79685
81298
  };
@@ -79687,7 +81300,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79687
81300
  created_at?: string;
79688
81301
  id?: string;
79689
81302
  layout_id?: string;
79690
- printer_id?: string;
81303
+ printer_id?: string | null;
81304
+ printer_ontbreekt_sinds?: string | null;
79691
81305
  prioriteit?: number;
79692
81306
  updated_at?: string;
79693
81307
  };
@@ -84175,6 +85789,30 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
84175
85789
  };
84176
85790
  Relationships: [];
84177
85791
  };
85792
+ uren_pagina_toegang: {
85793
+ Row: {
85794
+ created_at: string;
85795
+ id: string;
85796
+ user_id: string;
85797
+ };
85798
+ Insert: {
85799
+ created_at?: string;
85800
+ id?: string;
85801
+ user_id: string;
85802
+ };
85803
+ Update: {
85804
+ created_at?: string;
85805
+ id?: string;
85806
+ user_id?: string;
85807
+ };
85808
+ Relationships: [{
85809
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
85810
+ columns: ["user_id"];
85811
+ isOneToOne: true;
85812
+ referencedRelation: "profiles";
85813
+ referencedColumns: ["id"];
85814
+ }];
85815
+ };
84178
85816
  uren_settings: {
84179
85817
  Row: {
84180
85818
  break_minutes: number;
@@ -85579,12 +87217,14 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
85579
87217
  created_at: string;
85580
87218
  default_quantity: number;
85581
87219
  description: string | null;
85582
- duration_minutes: number | null;
87220
+ duration_minutes: number;
85583
87221
  id: string;
87222
+ labor_minutes: number;
85584
87223
  mandaat_type: string | null;
85585
87224
  name: string;
85586
87225
  price_mode: string;
85587
87226
  sort_order: number;
87227
+ travel_minutes: number;
85588
87228
  unit_price_cents: number;
85589
87229
  updated_at: string;
85590
87230
  };
@@ -85596,12 +87236,14 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
85596
87236
  created_at?: string;
85597
87237
  default_quantity?: number;
85598
87238
  description?: string | null;
85599
- duration_minutes?: number | null;
87239
+ duration_minutes?: number;
85600
87240
  id?: string;
87241
+ labor_minutes?: number;
85601
87242
  mandaat_type?: string | null;
85602
87243
  name: string;
85603
87244
  price_mode?: string;
85604
87245
  sort_order?: number;
87246
+ travel_minutes?: number;
85605
87247
  unit_price_cents?: number;
85606
87248
  updated_at?: string;
85607
87249
  };
@@ -85613,12 +87255,14 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
85613
87255
  created_at?: string;
85614
87256
  default_quantity?: number;
85615
87257
  description?: string | null;
85616
- duration_minutes?: number | null;
87258
+ duration_minutes?: number;
85617
87259
  id?: string;
87260
+ labor_minutes?: number;
85618
87261
  mandaat_type?: string | null;
85619
87262
  name?: string;
85620
87263
  price_mode?: string;
85621
87264
  sort_order?: number;
87265
+ travel_minutes?: number;
85622
87266
  unit_price_cents?: number;
85623
87267
  updated_at?: string;
85624
87268
  };
@@ -87173,6 +88817,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
87173
88817
  };
87174
88818
  Returns: undefined;
87175
88819
  };
88820
+ _quote_release_work_order_intern: {
88821
+ Args: {
88822
+ _offerte_id: string;
88823
+ };
88824
+ Returns: import("../integrations/supabase/types").Json;
88825
+ };
87176
88826
  _wo_is_planner: {
87177
88827
  Args: never;
87178
88828
  Returns: boolean;
@@ -92044,6 +93694,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
92044
93694
  };
92045
93695
  Returns: import("../integrations/supabase/types").Json;
92046
93696
  };
93697
+ pick_verify_rows: {
93698
+ Args: {
93699
+ _rows: import("../integrations/supabase/types").Json;
93700
+ };
93701
+ Returns: import("../integrations/supabase/types").Json;
93702
+ };
92047
93703
  pickstation_get_orders_raw: {
92048
93704
  Args: never;
92049
93705
  Returns: import("../integrations/supabase/types").Json;
@@ -92106,6 +93762,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
92106
93762
  };
92107
93763
  Returns: undefined;
92108
93764
  };
93765
+ planning_html_escape: {
93766
+ Args: {
93767
+ t: string;
93768
+ };
93769
+ Returns: string;
93770
+ };
92109
93771
  planning_list: {
92110
93772
  Args: {
92111
93773
  _from: string;
@@ -92160,6 +93822,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
92160
93822
  id: string;
92161
93823
  }[];
92162
93824
  };
93825
+ planning_urlencode: {
93826
+ Args: {
93827
+ t: string;
93828
+ };
93829
+ Returns: string;
93830
+ };
92163
93831
  print_preview_toestaan: {
92164
93832
  Args: {
92165
93833
  _max?: number;
@@ -92178,6 +93846,35 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
92178
93846
  };
92179
93847
  Returns: undefined;
92180
93848
  };
93849
+ printer_gebruik: {
93850
+ Args: {
93851
+ _printer: string;
93852
+ };
93853
+ Returns: import("../integrations/supabase/types").Json;
93854
+ };
93855
+ printer_routering: {
93856
+ Args: {
93857
+ _documenttype: string;
93858
+ _layout_id?: string;
93859
+ _papierformaat?: string;
93860
+ _print_plek_id?: string;
93861
+ _werkplek?: string;
93862
+ };
93863
+ Returns: import("../integrations/supabase/types").Json;
93864
+ };
93865
+ printplek_printer: {
93866
+ Args: {
93867
+ _documenttype: string;
93868
+ _plek: string;
93869
+ };
93870
+ Returns: string;
93871
+ };
93872
+ printplek_verwijder_impact: {
93873
+ Args: {
93874
+ _id: string;
93875
+ };
93876
+ Returns: import("../integrations/supabase/types").Json;
93877
+ };
92181
93878
  process_logistics_event: {
92182
93879
  Args: {
92183
93880
  p_event_id: string;
@@ -92224,6 +93921,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
92224
93921
  };
92225
93922
  Returns: import("../integrations/supabase/types").Json;
92226
93923
  };
93924
+ quote_create_from_scratch: {
93925
+ Args: {
93926
+ _payload: import("../integrations/supabase/types").Json;
93927
+ };
93928
+ Returns: import("../integrations/supabase/types").Json;
93929
+ };
92227
93930
  quote_create_from_source: {
92228
93931
  Args: {
92229
93932
  _payload?: import("../integrations/supabase/types").Json;
@@ -92239,6 +93942,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
92239
93942
  };
92240
93943
  Returns: boolean;
92241
93944
  };
93945
+ quote_fill_from_form: {
93946
+ Args: {
93947
+ _offerte_id: string;
93948
+ _payload: import("../integrations/supabase/types").Json;
93949
+ };
93950
+ Returns: import("../integrations/supabase/types").Json;
93951
+ };
92242
93952
  quote_get_billable_lines: {
92243
93953
  Args: {
92244
93954
  _quotation_id: string;
@@ -92268,12 +93978,50 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
92268
93978
  };
92269
93979
  Returns: import("../integrations/supabase/types").Json;
92270
93980
  };
93981
+ quote_public_accept: {
93982
+ Args: {
93983
+ _akkoord: boolean;
93984
+ _email: string;
93985
+ _ip_address?: string;
93986
+ _naam: string;
93987
+ _token: string;
93988
+ _user_agent?: string;
93989
+ };
93990
+ Returns: import("../integrations/supabase/types").Json;
93991
+ };
93992
+ quote_public_get: {
93993
+ Args: {
93994
+ _token: string;
93995
+ };
93996
+ Returns: import("../integrations/supabase/types").Json;
93997
+ };
93998
+ quote_public_sign: {
93999
+ Args: {
94000
+ _handtekening: string;
94001
+ _naam: string;
94002
+ _token: string;
94003
+ };
94004
+ Returns: import("../integrations/supabase/types").Json;
94005
+ };
92271
94006
  quote_queue_follow_up: {
92272
94007
  Args: {
92273
94008
  _offerte_id: string;
92274
94009
  };
92275
94010
  Returns: string;
92276
94011
  };
94012
+ quote_release_work_order: {
94013
+ Args: {
94014
+ _offerte_id: string;
94015
+ };
94016
+ Returns: import("../integrations/supabase/types").Json;
94017
+ };
94018
+ quote_sync_work_order: {
94019
+ Args: {
94020
+ _monteur_instructies?: string;
94021
+ _offerte_id: string;
94022
+ };
94023
+ Returns: boolean;
94024
+ };
92277
94025
  recompute_all_reserved_stock: {
92278
94026
  Args: never;
92279
94027
  Returns: undefined;
@@ -93225,6 +94973,10 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
93225
94973
  };
93226
94974
  Returns: number;
93227
94975
  };
94976
+ uren_heeft_pagina_toegang: {
94977
+ Args: never;
94978
+ Returns: boolean;
94979
+ };
93228
94980
  uren_is_beheerder: {
93229
94981
  Args: never;
93230
94982
  Returns: boolean;
@@ -93308,6 +95060,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
93308
95060
  Args: never;
93309
95061
  Returns: string;
93310
95062
  };
95063
+ uren_pagina_toegang_instellen: {
95064
+ Args: {
95065
+ _toegang: boolean;
95066
+ _user_id: string;
95067
+ };
95068
+ Returns: undefined;
95069
+ };
93311
95070
  uren_planning_dagagenda: {
93312
95071
  Args: {
93313
95072
  _tot: string;
@@ -93552,6 +95311,19 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
93552
95311
  user_id: string;
93553
95312
  }[];
93554
95313
  };
95314
+ vervang_printer: {
95315
+ Args: {
95316
+ _nieuw: string;
95317
+ _oud: string;
95318
+ };
95319
+ Returns: import("../integrations/supabase/types").Json;
95320
+ };
95321
+ verwijder_printplek: {
95322
+ Args: {
95323
+ _id: string;
95324
+ };
95325
+ Returns: import("../integrations/supabase/types").Json;
95326
+ };
93555
95327
  voorraad_cleanup_old_rows: {
93556
95328
  Args: never;
93557
95329
  Returns: import("../integrations/supabase/types").Json;
@@ -93562,6 +95334,16 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
93562
95334
  };
93563
95335
  Returns: number;
93564
95336
  };
95337
+ werkbon_pakket_tijden: {
95338
+ Args: {
95339
+ _werkbon_id: string;
95340
+ };
95341
+ Returns: {
95342
+ labor_minutes: number;
95343
+ total_minutes: number;
95344
+ travel_minutes: number;
95345
+ }[];
95346
+ };
93565
95347
  werkbon_totalen: {
93566
95348
  Args: {
93567
95349
  _werkbon_id: string;