@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
@@ -3140,6 +3140,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3140
3140
  formaat_code: string;
3141
3141
  id: string;
3142
3142
  printer_id: string | null;
3143
+ printer_ontbreekt_sinds: string | null;
3143
3144
  updated_at: string;
3144
3145
  };
3145
3146
  Insert: {
@@ -3148,6 +3149,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3148
3149
  formaat_code: string;
3149
3150
  id?: string;
3150
3151
  printer_id?: string | null;
3152
+ printer_ontbreekt_sinds?: string | null;
3151
3153
  updated_at?: string;
3152
3154
  };
3153
3155
  Update: {
@@ -3156,6 +3158,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3156
3158
  formaat_code?: string;
3157
3159
  id?: string;
3158
3160
  printer_id?: string | null;
3161
+ printer_ontbreekt_sinds?: string | null;
3159
3162
  updated_at?: string;
3160
3163
  };
3161
3164
  Relationships: [{
@@ -3492,6 +3495,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3492
3495
  papierformaat: string | null;
3493
3496
  print_plek_id: string;
3494
3497
  printer_id: string | null;
3498
+ printer_ontbreekt_sinds: string | null;
3495
3499
  updated_at: string;
3496
3500
  };
3497
3501
  Insert: {
@@ -3501,6 +3505,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3501
3505
  papierformaat?: string | null;
3502
3506
  print_plek_id: string;
3503
3507
  printer_id?: string | null;
3508
+ printer_ontbreekt_sinds?: string | null;
3504
3509
  updated_at?: string;
3505
3510
  };
3506
3511
  Update: {
@@ -3510,6 +3515,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3510
3515
  papierformaat?: string | null;
3511
3516
  print_plek_id?: string;
3512
3517
  printer_id?: string | null;
3518
+ printer_ontbreekt_sinds?: string | null;
3513
3519
  updated_at?: string;
3514
3520
  };
3515
3521
  Relationships: [{
@@ -3533,6 +3539,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3533
3539
  id: string;
3534
3540
  papierformaat: string | null;
3535
3541
  printer_id: string | null;
3542
+ printer_ontbreekt_sinds: string | null;
3536
3543
  updated_at: string;
3537
3544
  werkplek: string;
3538
3545
  };
@@ -3542,6 +3549,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3542
3549
  id?: string;
3543
3550
  papierformaat?: string | null;
3544
3551
  printer_id?: string | null;
3552
+ printer_ontbreekt_sinds?: string | null;
3545
3553
  updated_at?: string;
3546
3554
  werkplek: string;
3547
3555
  };
@@ -3551,6 +3559,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3551
3559
  id?: string;
3552
3560
  papierformaat?: string | null;
3553
3561
  printer_id?: string | null;
3562
+ printer_ontbreekt_sinds?: string | null;
3554
3563
  updated_at?: string;
3555
3564
  werkplek?: string;
3556
3565
  };
@@ -6853,6 +6862,78 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6853
6862
  referencedColumns: ["id"];
6854
6863
  }];
6855
6864
  };
6865
+ floriday_document_fetch_queue: {
6866
+ Row: {
6867
+ attempts: number;
6868
+ cancelled_reason: string | null;
6869
+ completed_at: string | null;
6870
+ connection_id: string;
6871
+ created_at: string;
6872
+ document_key: string;
6873
+ environment: string;
6874
+ id: string;
6875
+ kind: string;
6876
+ last_error: string | null;
6877
+ last_http_status: number | null;
6878
+ locked_at: string | null;
6879
+ locked_by: string | null;
6880
+ max_attempts: number;
6881
+ next_attempt_at: string;
6882
+ order_ref: string | null;
6883
+ params: import("./types").Json;
6884
+ status: string;
6885
+ updated_at: string;
6886
+ };
6887
+ Insert: {
6888
+ attempts?: number;
6889
+ cancelled_reason?: string | null;
6890
+ completed_at?: string | null;
6891
+ connection_id: string;
6892
+ created_at?: string;
6893
+ document_key: string;
6894
+ environment: string;
6895
+ id?: string;
6896
+ kind: string;
6897
+ last_error?: string | null;
6898
+ last_http_status?: number | null;
6899
+ locked_at?: string | null;
6900
+ locked_by?: string | null;
6901
+ max_attempts?: number;
6902
+ next_attempt_at?: string;
6903
+ order_ref?: string | null;
6904
+ params?: import("./types").Json;
6905
+ status?: string;
6906
+ updated_at?: string;
6907
+ };
6908
+ Update: {
6909
+ attempts?: number;
6910
+ cancelled_reason?: string | null;
6911
+ completed_at?: string | null;
6912
+ connection_id?: string;
6913
+ created_at?: string;
6914
+ document_key?: string;
6915
+ environment?: string;
6916
+ id?: string;
6917
+ kind?: string;
6918
+ last_error?: string | null;
6919
+ last_http_status?: number | null;
6920
+ locked_at?: string | null;
6921
+ locked_by?: string | null;
6922
+ max_attempts?: number;
6923
+ next_attempt_at?: string;
6924
+ order_ref?: string | null;
6925
+ params?: import("./types").Json;
6926
+ status?: string;
6927
+ updated_at?: string;
6928
+ };
6929
+ Relationships: [{
6930
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
6931
+ columns: ["connection_id"];
6932
+ isOneToOne: false;
6933
+ referencedRelation: "floriday_connections";
6934
+ referencedColumns: ["id"];
6935
+ }];
6936
+ };
6856
6937
  floriday_fulfillment_orders_cache: {
6857
6938
  Row: {
6858
6939
  auction_date: string | null;
@@ -7150,6 +7231,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
7150
7231
  referencedColumns: ["id"];
7151
7232
  }];
7152
7233
  };
7234
+ floriday_merge_log: {
7235
+ Row: {
7236
+ action: string;
7237
+ created_at: string;
7238
+ floriday_sales_order_ids: import("./types").Json;
7239
+ id: string;
7240
+ kept_order_id: string | null;
7241
+ lines: import("./types").Json;
7242
+ reason: string | null;
7243
+ removed_order_id: string | null;
7244
+ };
7245
+ Insert: {
7246
+ action: string;
7247
+ created_at?: string;
7248
+ floriday_sales_order_ids?: import("./types").Json;
7249
+ id?: string;
7250
+ kept_order_id?: string | null;
7251
+ lines?: import("./types").Json;
7252
+ reason?: string | null;
7253
+ removed_order_id?: string | null;
7254
+ };
7255
+ Update: {
7256
+ action?: string;
7257
+ created_at?: string;
7258
+ floriday_sales_order_ids?: import("./types").Json;
7259
+ id?: string;
7260
+ kept_order_id?: string | null;
7261
+ lines?: import("./types").Json;
7262
+ reason?: string | null;
7263
+ removed_order_id?: string | null;
7264
+ };
7265
+ Relationships: [];
7266
+ };
7153
7267
  floriday_network_cache: {
7154
7268
  Row: {
7155
7269
  city: string | null;
@@ -9385,6 +9499,57 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9385
9499
  };
9386
9500
  Relationships: [];
9387
9501
  };
9502
+ itk_offerte_acceptaties: {
9503
+ Row: {
9504
+ accepted_at: string;
9505
+ akkoordgever_email: string;
9506
+ akkoordgever_naam: string;
9507
+ akkoordverklaring: string;
9508
+ id: string;
9509
+ inhoud_hash: string;
9510
+ ip_address: unknown;
9511
+ offerte_id: string;
9512
+ offerte_number: string;
9513
+ offerte_snapshot: import("./types").Json;
9514
+ user_agent: string | null;
9515
+ versie: string;
9516
+ };
9517
+ Insert: {
9518
+ accepted_at?: string;
9519
+ akkoordgever_email: string;
9520
+ akkoordgever_naam: string;
9521
+ akkoordverklaring: string;
9522
+ id?: string;
9523
+ inhoud_hash: string;
9524
+ ip_address?: unknown;
9525
+ offerte_id: string;
9526
+ offerte_number: string;
9527
+ offerte_snapshot: import("./types").Json;
9528
+ user_agent?: string | null;
9529
+ versie: string;
9530
+ };
9531
+ Update: {
9532
+ accepted_at?: string;
9533
+ akkoordgever_email?: string;
9534
+ akkoordgever_naam?: string;
9535
+ akkoordverklaring?: string;
9536
+ id?: string;
9537
+ inhoud_hash?: string;
9538
+ ip_address?: unknown;
9539
+ offerte_id?: string;
9540
+ offerte_number?: string;
9541
+ offerte_snapshot?: import("./types").Json;
9542
+ user_agent?: string | null;
9543
+ versie?: string;
9544
+ };
9545
+ Relationships: [{
9546
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
9547
+ columns: ["offerte_id"];
9548
+ isOneToOne: true;
9549
+ referencedRelation: "itk_offertes";
9550
+ referencedColumns: ["id"];
9551
+ }];
9552
+ };
9388
9553
  itk_offerte_events: {
9389
9554
  Row: {
9390
9555
  created_at: string;
@@ -9598,6 +9763,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9598
9763
  itk_offertes: {
9599
9764
  Row: {
9600
9765
  aandachtspunten: string | null;
9766
+ acceptance_id: string | null;
9601
9767
  ai_generated: boolean;
9602
9768
  approved_at: string | null;
9603
9769
  binnen_mandaat: boolean;
@@ -9616,6 +9782,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9616
9782
  onderwerp: string | null;
9617
9783
  rejected_at: string | null;
9618
9784
  sent_at: string | null;
9785
+ sign_token: string;
9786
+ signature_data: string | null;
9787
+ signed_at: string | null;
9788
+ signer_email: string | null;
9789
+ signer_name: string | null;
9619
9790
  source_number: string | null;
9620
9791
  source_ref: string | null;
9621
9792
  source_type: string;
@@ -9630,11 +9801,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9630
9801
  viewed_at: string | null;
9631
9802
  volgnummer: number | null;
9632
9803
  voorwaarden: string | null;
9804
+ werkbon_concept: import("./types").Json | null;
9633
9805
  werkbon_id: string | null;
9634
9806
  work_location_id: string | null;
9635
9807
  };
9636
9808
  Insert: {
9637
9809
  aandachtspunten?: string | null;
9810
+ acceptance_id?: string | null;
9638
9811
  ai_generated?: boolean;
9639
9812
  approved_at?: string | null;
9640
9813
  binnen_mandaat?: boolean;
@@ -9653,6 +9826,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9653
9826
  onderwerp?: string | null;
9654
9827
  rejected_at?: string | null;
9655
9828
  sent_at?: string | null;
9829
+ sign_token?: string;
9830
+ signature_data?: string | null;
9831
+ signed_at?: string | null;
9832
+ signer_email?: string | null;
9833
+ signer_name?: string | null;
9656
9834
  source_number?: string | null;
9657
9835
  source_ref?: string | null;
9658
9836
  source_type?: string;
@@ -9667,11 +9845,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9667
9845
  viewed_at?: string | null;
9668
9846
  volgnummer?: number | null;
9669
9847
  voorwaarden?: string | null;
9848
+ werkbon_concept?: import("./types").Json | null;
9670
9849
  werkbon_id?: string | null;
9671
9850
  work_location_id?: string | null;
9672
9851
  };
9673
9852
  Update: {
9674
9853
  aandachtspunten?: string | null;
9854
+ acceptance_id?: string | null;
9675
9855
  ai_generated?: boolean;
9676
9856
  approved_at?: string | null;
9677
9857
  binnen_mandaat?: boolean;
@@ -9690,6 +9870,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9690
9870
  onderwerp?: string | null;
9691
9871
  rejected_at?: string | null;
9692
9872
  sent_at?: string | null;
9873
+ sign_token?: string;
9874
+ signature_data?: string | null;
9875
+ signed_at?: string | null;
9876
+ signer_email?: string | null;
9877
+ signer_name?: string | null;
9693
9878
  source_number?: string | null;
9694
9879
  source_ref?: string | null;
9695
9880
  source_type?: string;
@@ -9704,10 +9889,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9704
9889
  viewed_at?: string | null;
9705
9890
  volgnummer?: number | null;
9706
9891
  voorwaarden?: string | null;
9892
+ werkbon_concept?: import("./types").Json | null;
9707
9893
  werkbon_id?: string | null;
9708
9894
  work_location_id?: string | null;
9709
9895
  };
9710
9896
  Relationships: [{
9897
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
9898
+ columns: ["acceptance_id"];
9899
+ isOneToOne: false;
9900
+ referencedRelation: "itk_offerte_acceptaties";
9901
+ referencedColumns: ["id"];
9902
+ }, {
9711
9903
  foreignKeyName: "itk_offertes_contact_id_fkey";
9712
9904
  columns: ["contact_id"];
9713
9905
  isOneToOne: false;
@@ -11146,6 +11338,60 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
11146
11338
  };
11147
11339
  Relationships: [];
11148
11340
  };
11341
+ logistics_order_merge_lines: {
11342
+ Row: {
11343
+ from_order_id: string;
11344
+ from_order_number: string | null;
11345
+ group_key: string;
11346
+ id: string;
11347
+ merged_at: string;
11348
+ order_item_id: string;
11349
+ ordered_at: string | null;
11350
+ product_id: string | null;
11351
+ product_name: string | null;
11352
+ quantity: number | null;
11353
+ reason: string;
11354
+ sales_order_id: string | null;
11355
+ source_line_key: string | null;
11356
+ to_order_id: string;
11357
+ to_order_number: string | null;
11358
+ };
11359
+ Insert: {
11360
+ from_order_id: string;
11361
+ from_order_number?: string | null;
11362
+ group_key: string;
11363
+ id?: string;
11364
+ merged_at?: string;
11365
+ order_item_id: string;
11366
+ ordered_at?: string | null;
11367
+ product_id?: string | null;
11368
+ product_name?: string | null;
11369
+ quantity?: number | null;
11370
+ reason: string;
11371
+ sales_order_id?: string | null;
11372
+ source_line_key?: string | null;
11373
+ to_order_id: string;
11374
+ to_order_number?: string | null;
11375
+ };
11376
+ Update: {
11377
+ from_order_id?: string;
11378
+ from_order_number?: string | null;
11379
+ group_key?: string;
11380
+ id?: string;
11381
+ merged_at?: string;
11382
+ order_item_id?: string;
11383
+ ordered_at?: string | null;
11384
+ product_id?: string | null;
11385
+ product_name?: string | null;
11386
+ quantity?: number | null;
11387
+ reason?: string;
11388
+ sales_order_id?: string | null;
11389
+ source_line_key?: string | null;
11390
+ to_order_id?: string;
11391
+ to_order_number?: string | null;
11392
+ };
11393
+ Relationships: [];
11394
+ };
11149
11395
  logistics_order_merges: {
11150
11396
  Row: {
11151
11397
  group_key: string;
@@ -14786,6 +15032,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14786
15032
  product_id: string | null;
14787
15033
  product_name: string;
14788
15034
  quantity: number;
15035
+ quarantine_reason: string | null;
15036
+ quarantined_at: string | null;
15037
+ quarantined_into_order_id: string | null;
14789
15038
  source_line_key: string | null;
14790
15039
  unit: string;
14791
15040
  unit_price: number | null;
@@ -14802,6 +15051,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14802
15051
  product_id?: string | null;
14803
15052
  product_name: string;
14804
15053
  quantity?: number;
15054
+ quarantine_reason?: string | null;
15055
+ quarantined_at?: string | null;
15056
+ quarantined_into_order_id?: string | null;
14805
15057
  source_line_key?: string | null;
14806
15058
  unit?: string;
14807
15059
  unit_price?: number | null;
@@ -14818,6 +15070,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14818
15070
  product_id?: string | null;
14819
15071
  product_name?: string;
14820
15072
  quantity?: number;
15073
+ quarantine_reason?: string | null;
15074
+ quarantined_at?: string | null;
15075
+ quarantined_into_order_id?: string | null;
14821
15076
  source_line_key?: string | null;
14822
15077
  unit?: string;
14823
15078
  unit_price?: number | null;
@@ -16249,6 +16504,57 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16249
16504
  };
16250
16505
  Relationships: [];
16251
16506
  };
16507
+ planning_confirmation_log: {
16508
+ Row: {
16509
+ created_at: string;
16510
+ end_at: string;
16511
+ id: string;
16512
+ kind: string;
16513
+ outbox_id: string | null;
16514
+ planning_item_id: string;
16515
+ reason: string | null;
16516
+ recipient: string | null;
16517
+ start_at: string;
16518
+ status: string;
16519
+ };
16520
+ Insert: {
16521
+ created_at?: string;
16522
+ end_at: string;
16523
+ id?: string;
16524
+ kind?: string;
16525
+ outbox_id?: string | null;
16526
+ planning_item_id: string;
16527
+ reason?: string | null;
16528
+ recipient?: string | null;
16529
+ start_at: string;
16530
+ status: string;
16531
+ };
16532
+ Update: {
16533
+ created_at?: string;
16534
+ end_at?: string;
16535
+ id?: string;
16536
+ kind?: string;
16537
+ outbox_id?: string | null;
16538
+ planning_item_id?: string;
16539
+ reason?: string | null;
16540
+ recipient?: string | null;
16541
+ start_at?: string;
16542
+ status?: string;
16543
+ };
16544
+ Relationships: [{
16545
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16546
+ columns: ["planning_item_id"];
16547
+ isOneToOne: false;
16548
+ referencedRelation: "planning_items";
16549
+ referencedColumns: ["id"];
16550
+ }, {
16551
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16552
+ columns: ["planning_item_id"];
16553
+ isOneToOne: false;
16554
+ referencedRelation: "planning_overview";
16555
+ referencedColumns: ["id"];
16556
+ }];
16557
+ };
16252
16558
  planning_item_assistants: {
16253
16559
  Row: {
16254
16560
  created_at: string;
@@ -16333,6 +16639,69 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16333
16639
  referencedColumns: ["id"];
16334
16640
  }];
16335
16641
  };
16642
+ planning_mail_settings: {
16643
+ Row: {
16644
+ body_template: string;
16645
+ cc: string[];
16646
+ connection_id: string | null;
16647
+ created_at: string;
16648
+ email_purpose: string | null;
16649
+ enabled: boolean;
16650
+ id: boolean;
16651
+ reply_to: string | null;
16652
+ reschedule_body_template: string;
16653
+ reschedule_subject_template: string;
16654
+ subject_template: string;
16655
+ timezone: string;
16656
+ updated_at: string;
16657
+ updated_by: string | null;
16658
+ };
16659
+ Insert: {
16660
+ body_template?: string;
16661
+ cc?: string[];
16662
+ connection_id?: string | null;
16663
+ created_at?: string;
16664
+ email_purpose?: string | null;
16665
+ enabled?: boolean;
16666
+ id?: boolean;
16667
+ reply_to?: string | null;
16668
+ reschedule_body_template?: string;
16669
+ reschedule_subject_template?: string;
16670
+ subject_template?: string;
16671
+ timezone?: string;
16672
+ updated_at?: string;
16673
+ updated_by?: string | null;
16674
+ };
16675
+ Update: {
16676
+ body_template?: string;
16677
+ cc?: string[];
16678
+ connection_id?: string | null;
16679
+ created_at?: string;
16680
+ email_purpose?: string | null;
16681
+ enabled?: boolean;
16682
+ id?: boolean;
16683
+ reply_to?: string | null;
16684
+ reschedule_body_template?: string;
16685
+ reschedule_subject_template?: string;
16686
+ subject_template?: string;
16687
+ timezone?: string;
16688
+ updated_at?: string;
16689
+ updated_by?: string | null;
16690
+ };
16691
+ Relationships: [{
16692
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16693
+ columns: ["connection_id"];
16694
+ isOneToOne: false;
16695
+ referencedRelation: "email_auth_connections";
16696
+ referencedColumns: ["id"];
16697
+ }, {
16698
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16699
+ columns: ["connection_id"];
16700
+ isOneToOne: false;
16701
+ referencedRelation: "email_auth_connections_safe";
16702
+ referencedColumns: ["id"];
16703
+ }];
16704
+ };
16336
16705
  planning_monteur_day_locations: {
16337
16706
  Row: {
16338
16707
  created_at: string;
@@ -16720,6 +17089,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16720
17089
  };
16721
17090
  Relationships: [];
16722
17091
  };
17092
+ print_genegeerde_computers: {
17093
+ Row: {
17094
+ computer_naam: string;
17095
+ genegeerd_door: string | null;
17096
+ genegeerd_op: string;
17097
+ id: string;
17098
+ };
17099
+ Insert: {
17100
+ computer_naam: string;
17101
+ genegeerd_door?: string | null;
17102
+ genegeerd_op?: string;
17103
+ id?: string;
17104
+ };
17105
+ Update: {
17106
+ computer_naam?: string;
17107
+ genegeerd_door?: string | null;
17108
+ genegeerd_op?: string;
17109
+ id?: string;
17110
+ };
17111
+ Relationships: [];
17112
+ };
16723
17113
  print_job_logs: {
16724
17114
  Row: {
16725
17115
  created_at: string;
@@ -16990,6 +17380,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16990
17380
  referencedColumns: ["id"];
16991
17381
  }];
16992
17382
  };
17383
+ print_plek_printers: {
17384
+ Row: {
17385
+ id: string;
17386
+ print_plek_id: string;
17387
+ printer_id: string;
17388
+ toegevoegd_op: string;
17389
+ };
17390
+ Insert: {
17391
+ id?: string;
17392
+ print_plek_id: string;
17393
+ printer_id: string;
17394
+ toegevoegd_op?: string;
17395
+ };
17396
+ Update: {
17397
+ id?: string;
17398
+ print_plek_id?: string;
17399
+ printer_id?: string;
17400
+ toegevoegd_op?: string;
17401
+ };
17402
+ Relationships: [{
17403
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
17404
+ columns: ["print_plek_id"];
17405
+ isOneToOne: false;
17406
+ referencedRelation: "print_plekken";
17407
+ referencedColumns: ["id"];
17408
+ }, {
17409
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
17410
+ columns: ["printer_id"];
17411
+ isOneToOne: false;
17412
+ referencedRelation: "printers";
17413
+ referencedColumns: ["id"];
17414
+ }];
17415
+ };
16993
17416
  print_plekken: {
16994
17417
  Row: {
16995
17418
  actief: boolean;
@@ -17205,7 +17628,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
17205
17628
  created_at: string;
17206
17629
  id: string;
17207
17630
  layout_id: string;
17208
- printer_id: string;
17631
+ printer_id: string | null;
17632
+ printer_ontbreekt_sinds: string | null;
17209
17633
  prioriteit: number;
17210
17634
  updated_at: string;
17211
17635
  };
@@ -17213,7 +17637,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
17213
17637
  created_at?: string;
17214
17638
  id?: string;
17215
17639
  layout_id: string;
17216
- printer_id: string;
17640
+ printer_id?: string | null;
17641
+ printer_ontbreekt_sinds?: string | null;
17217
17642
  prioriteit?: number;
17218
17643
  updated_at?: string;
17219
17644
  };
@@ -17221,7 +17646,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
17221
17646
  created_at?: string;
17222
17647
  id?: string;
17223
17648
  layout_id?: string;
17224
- printer_id?: string;
17649
+ printer_id?: string | null;
17650
+ printer_ontbreekt_sinds?: string | null;
17225
17651
  prioriteit?: number;
17226
17652
  updated_at?: string;
17227
17653
  };
@@ -21709,6 +22135,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21709
22135
  };
21710
22136
  Relationships: [];
21711
22137
  };
22138
+ uren_pagina_toegang: {
22139
+ Row: {
22140
+ created_at: string;
22141
+ id: string;
22142
+ user_id: string;
22143
+ };
22144
+ Insert: {
22145
+ created_at?: string;
22146
+ id?: string;
22147
+ user_id: string;
22148
+ };
22149
+ Update: {
22150
+ created_at?: string;
22151
+ id?: string;
22152
+ user_id?: string;
22153
+ };
22154
+ Relationships: [{
22155
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
22156
+ columns: ["user_id"];
22157
+ isOneToOne: true;
22158
+ referencedRelation: "profiles";
22159
+ referencedColumns: ["id"];
22160
+ }];
22161
+ };
21712
22162
  uren_settings: {
21713
22163
  Row: {
21714
22164
  break_minutes: number;
@@ -23113,12 +23563,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23113
23563
  created_at: string;
23114
23564
  default_quantity: number;
23115
23565
  description: string | null;
23116
- duration_minutes: number | null;
23566
+ duration_minutes: number;
23117
23567
  id: string;
23568
+ labor_minutes: number;
23118
23569
  mandaat_type: string | null;
23119
23570
  name: string;
23120
23571
  price_mode: string;
23121
23572
  sort_order: number;
23573
+ travel_minutes: number;
23122
23574
  unit_price_cents: number;
23123
23575
  updated_at: string;
23124
23576
  };
@@ -23130,12 +23582,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23130
23582
  created_at?: string;
23131
23583
  default_quantity?: number;
23132
23584
  description?: string | null;
23133
- duration_minutes?: number | null;
23585
+ duration_minutes?: number;
23134
23586
  id?: string;
23587
+ labor_minutes?: number;
23135
23588
  mandaat_type?: string | null;
23136
23589
  name: string;
23137
23590
  price_mode?: string;
23138
23591
  sort_order?: number;
23592
+ travel_minutes?: number;
23139
23593
  unit_price_cents?: number;
23140
23594
  updated_at?: string;
23141
23595
  };
@@ -23147,12 +23601,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23147
23601
  created_at?: string;
23148
23602
  default_quantity?: number;
23149
23603
  description?: string | null;
23150
- duration_minutes?: number | null;
23604
+ duration_minutes?: number;
23151
23605
  id?: string;
23606
+ labor_minutes?: number;
23152
23607
  mandaat_type?: string | null;
23153
23608
  name?: string;
23154
23609
  price_mode?: string;
23155
23610
  sort_order?: number;
23611
+ travel_minutes?: number;
23156
23612
  unit_price_cents?: number;
23157
23613
  updated_at?: string;
23158
23614
  };
@@ -24707,6 +25163,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
24707
25163
  };
24708
25164
  Returns: undefined;
24709
25165
  };
25166
+ _quote_release_work_order_intern: {
25167
+ Args: {
25168
+ _offerte_id: string;
25169
+ };
25170
+ Returns: import("./types").Json;
25171
+ };
24710
25172
  _wo_is_planner: {
24711
25173
  Args: never;
24712
25174
  Returns: boolean;
@@ -29578,6 +30040,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29578
30040
  };
29579
30041
  Returns: import("./types").Json;
29580
30042
  };
30043
+ pick_verify_rows: {
30044
+ Args: {
30045
+ _rows: import("./types").Json;
30046
+ };
30047
+ Returns: import("./types").Json;
30048
+ };
29581
30049
  pickstation_get_orders_raw: {
29582
30050
  Args: never;
29583
30051
  Returns: import("./types").Json;
@@ -29640,6 +30108,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29640
30108
  };
29641
30109
  Returns: undefined;
29642
30110
  };
30111
+ planning_html_escape: {
30112
+ Args: {
30113
+ t: string;
30114
+ };
30115
+ Returns: string;
30116
+ };
29643
30117
  planning_list: {
29644
30118
  Args: {
29645
30119
  _from: string;
@@ -29694,6 +30168,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29694
30168
  id: string;
29695
30169
  }[];
29696
30170
  };
30171
+ planning_urlencode: {
30172
+ Args: {
30173
+ t: string;
30174
+ };
30175
+ Returns: string;
30176
+ };
29697
30177
  print_preview_toestaan: {
29698
30178
  Args: {
29699
30179
  _max?: number;
@@ -29712,6 +30192,35 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29712
30192
  };
29713
30193
  Returns: undefined;
29714
30194
  };
30195
+ printer_gebruik: {
30196
+ Args: {
30197
+ _printer: string;
30198
+ };
30199
+ Returns: import("./types").Json;
30200
+ };
30201
+ printer_routering: {
30202
+ Args: {
30203
+ _documenttype: string;
30204
+ _layout_id?: string;
30205
+ _papierformaat?: string;
30206
+ _print_plek_id?: string;
30207
+ _werkplek?: string;
30208
+ };
30209
+ Returns: import("./types").Json;
30210
+ };
30211
+ printplek_printer: {
30212
+ Args: {
30213
+ _documenttype: string;
30214
+ _plek: string;
30215
+ };
30216
+ Returns: string;
30217
+ };
30218
+ printplek_verwijder_impact: {
30219
+ Args: {
30220
+ _id: string;
30221
+ };
30222
+ Returns: import("./types").Json;
30223
+ };
29715
30224
  process_logistics_event: {
29716
30225
  Args: {
29717
30226
  p_event_id: string;
@@ -29758,6 +30267,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29758
30267
  };
29759
30268
  Returns: import("./types").Json;
29760
30269
  };
30270
+ quote_create_from_scratch: {
30271
+ Args: {
30272
+ _payload: import("./types").Json;
30273
+ };
30274
+ Returns: import("./types").Json;
30275
+ };
29761
30276
  quote_create_from_source: {
29762
30277
  Args: {
29763
30278
  _payload?: import("./types").Json;
@@ -29773,6 +30288,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29773
30288
  };
29774
30289
  Returns: boolean;
29775
30290
  };
30291
+ quote_fill_from_form: {
30292
+ Args: {
30293
+ _offerte_id: string;
30294
+ _payload: import("./types").Json;
30295
+ };
30296
+ Returns: import("./types").Json;
30297
+ };
29776
30298
  quote_get_billable_lines: {
29777
30299
  Args: {
29778
30300
  _quotation_id: string;
@@ -29802,12 +30324,50 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29802
30324
  };
29803
30325
  Returns: import("./types").Json;
29804
30326
  };
30327
+ quote_public_accept: {
30328
+ Args: {
30329
+ _akkoord: boolean;
30330
+ _email: string;
30331
+ _ip_address?: string;
30332
+ _naam: string;
30333
+ _token: string;
30334
+ _user_agent?: string;
30335
+ };
30336
+ Returns: import("./types").Json;
30337
+ };
30338
+ quote_public_get: {
30339
+ Args: {
30340
+ _token: string;
30341
+ };
30342
+ Returns: import("./types").Json;
30343
+ };
30344
+ quote_public_sign: {
30345
+ Args: {
30346
+ _handtekening: string;
30347
+ _naam: string;
30348
+ _token: string;
30349
+ };
30350
+ Returns: import("./types").Json;
30351
+ };
29805
30352
  quote_queue_follow_up: {
29806
30353
  Args: {
29807
30354
  _offerte_id: string;
29808
30355
  };
29809
30356
  Returns: string;
29810
30357
  };
30358
+ quote_release_work_order: {
30359
+ Args: {
30360
+ _offerte_id: string;
30361
+ };
30362
+ Returns: import("./types").Json;
30363
+ };
30364
+ quote_sync_work_order: {
30365
+ Args: {
30366
+ _monteur_instructies?: string;
30367
+ _offerte_id: string;
30368
+ };
30369
+ Returns: boolean;
30370
+ };
29811
30371
  recompute_all_reserved_stock: {
29812
30372
  Args: never;
29813
30373
  Returns: undefined;
@@ -30759,6 +31319,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
30759
31319
  };
30760
31320
  Returns: number;
30761
31321
  };
31322
+ uren_heeft_pagina_toegang: {
31323
+ Args: never;
31324
+ Returns: boolean;
31325
+ };
30762
31326
  uren_is_beheerder: {
30763
31327
  Args: never;
30764
31328
  Returns: boolean;
@@ -30842,6 +31406,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
30842
31406
  Args: never;
30843
31407
  Returns: string;
30844
31408
  };
31409
+ uren_pagina_toegang_instellen: {
31410
+ Args: {
31411
+ _toegang: boolean;
31412
+ _user_id: string;
31413
+ };
31414
+ Returns: undefined;
31415
+ };
30845
31416
  uren_planning_dagagenda: {
30846
31417
  Args: {
30847
31418
  _tot: string;
@@ -31086,6 +31657,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
31086
31657
  user_id: string;
31087
31658
  }[];
31088
31659
  };
31660
+ vervang_printer: {
31661
+ Args: {
31662
+ _nieuw: string;
31663
+ _oud: string;
31664
+ };
31665
+ Returns: import("./types").Json;
31666
+ };
31667
+ verwijder_printplek: {
31668
+ Args: {
31669
+ _id: string;
31670
+ };
31671
+ Returns: import("./types").Json;
31672
+ };
31089
31673
  voorraad_cleanup_old_rows: {
31090
31674
  Args: never;
31091
31675
  Returns: import("./types").Json;
@@ -31096,6 +31680,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
31096
31680
  };
31097
31681
  Returns: number;
31098
31682
  };
31683
+ werkbon_pakket_tijden: {
31684
+ Args: {
31685
+ _werkbon_id: string;
31686
+ };
31687
+ Returns: {
31688
+ labor_minutes: number;
31689
+ total_minutes: number;
31690
+ travel_minutes: number;
31691
+ }[];
31692
+ };
31099
31693
  werkbon_totalen: {
31100
31694
  Args: {
31101
31695
  _werkbon_id: string;