@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
@@ -3159,6 +3159,7 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
3159
3159
  formaat_code: string;
3160
3160
  id: string;
3161
3161
  printer_id: string | null;
3162
+ printer_ontbreekt_sinds: string | null;
3162
3163
  updated_at: string;
3163
3164
  };
3164
3165
  Insert: {
@@ -3167,6 +3168,7 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
3167
3168
  formaat_code: string;
3168
3169
  id?: string;
3169
3170
  printer_id?: string | null;
3171
+ printer_ontbreekt_sinds?: string | null;
3170
3172
  updated_at?: string;
3171
3173
  };
3172
3174
  Update: {
@@ -3175,6 +3177,7 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
3175
3177
  formaat_code?: string;
3176
3178
  id?: string;
3177
3179
  printer_id?: string | null;
3180
+ printer_ontbreekt_sinds?: string | null;
3178
3181
  updated_at?: string;
3179
3182
  };
3180
3183
  Relationships: [{
@@ -3511,6 +3514,7 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
3511
3514
  papierformaat: string | null;
3512
3515
  print_plek_id: string;
3513
3516
  printer_id: string | null;
3517
+ printer_ontbreekt_sinds: string | null;
3514
3518
  updated_at: string;
3515
3519
  };
3516
3520
  Insert: {
@@ -3520,6 +3524,7 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
3520
3524
  papierformaat?: string | null;
3521
3525
  print_plek_id: string;
3522
3526
  printer_id?: string | null;
3527
+ printer_ontbreekt_sinds?: string | null;
3523
3528
  updated_at?: string;
3524
3529
  };
3525
3530
  Update: {
@@ -3529,6 +3534,7 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
3529
3534
  papierformaat?: string | null;
3530
3535
  print_plek_id?: string;
3531
3536
  printer_id?: string | null;
3537
+ printer_ontbreekt_sinds?: string | null;
3532
3538
  updated_at?: string;
3533
3539
  };
3534
3540
  Relationships: [{
@@ -3552,6 +3558,7 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
3552
3558
  id: string;
3553
3559
  papierformaat: string | null;
3554
3560
  printer_id: string | null;
3561
+ printer_ontbreekt_sinds: string | null;
3555
3562
  updated_at: string;
3556
3563
  werkplek: string;
3557
3564
  };
@@ -3561,6 +3568,7 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
3561
3568
  id?: string;
3562
3569
  papierformaat?: string | null;
3563
3570
  printer_id?: string | null;
3571
+ printer_ontbreekt_sinds?: string | null;
3564
3572
  updated_at?: string;
3565
3573
  werkplek: string;
3566
3574
  };
@@ -3570,6 +3578,7 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
3570
3578
  id?: string;
3571
3579
  papierformaat?: string | null;
3572
3580
  printer_id?: string | null;
3581
+ printer_ontbreekt_sinds?: string | null;
3573
3582
  updated_at?: string;
3574
3583
  werkplek?: string;
3575
3584
  };
@@ -6872,6 +6881,78 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
6872
6881
  referencedColumns: ["id"];
6873
6882
  }];
6874
6883
  };
6884
+ floriday_document_fetch_queue: {
6885
+ Row: {
6886
+ attempts: number;
6887
+ cancelled_reason: string | null;
6888
+ completed_at: string | null;
6889
+ connection_id: string;
6890
+ created_at: string;
6891
+ document_key: string;
6892
+ environment: string;
6893
+ id: string;
6894
+ kind: string;
6895
+ last_error: string | null;
6896
+ last_http_status: number | null;
6897
+ locked_at: string | null;
6898
+ locked_by: string | null;
6899
+ max_attempts: number;
6900
+ next_attempt_at: string;
6901
+ order_ref: string | null;
6902
+ params: import("../integrations/supabase/types").Json;
6903
+ status: string;
6904
+ updated_at: string;
6905
+ };
6906
+ Insert: {
6907
+ attempts?: number;
6908
+ cancelled_reason?: string | null;
6909
+ completed_at?: string | null;
6910
+ connection_id: string;
6911
+ created_at?: string;
6912
+ document_key: string;
6913
+ environment: string;
6914
+ id?: string;
6915
+ kind: string;
6916
+ last_error?: string | null;
6917
+ last_http_status?: number | null;
6918
+ locked_at?: string | null;
6919
+ locked_by?: string | null;
6920
+ max_attempts?: number;
6921
+ next_attempt_at?: string;
6922
+ order_ref?: string | null;
6923
+ params?: import("../integrations/supabase/types").Json;
6924
+ status?: string;
6925
+ updated_at?: string;
6926
+ };
6927
+ Update: {
6928
+ attempts?: number;
6929
+ cancelled_reason?: string | null;
6930
+ completed_at?: string | null;
6931
+ connection_id?: string;
6932
+ created_at?: string;
6933
+ document_key?: string;
6934
+ environment?: string;
6935
+ id?: string;
6936
+ kind?: string;
6937
+ last_error?: string | null;
6938
+ last_http_status?: number | null;
6939
+ locked_at?: string | null;
6940
+ locked_by?: string | null;
6941
+ max_attempts?: number;
6942
+ next_attempt_at?: string;
6943
+ order_ref?: string | null;
6944
+ params?: import("../integrations/supabase/types").Json;
6945
+ status?: string;
6946
+ updated_at?: string;
6947
+ };
6948
+ Relationships: [{
6949
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
6950
+ columns: ["connection_id"];
6951
+ isOneToOne: false;
6952
+ referencedRelation: "floriday_connections";
6953
+ referencedColumns: ["id"];
6954
+ }];
6955
+ };
6875
6956
  floriday_fulfillment_orders_cache: {
6876
6957
  Row: {
6877
6958
  auction_date: string | null;
@@ -7169,6 +7250,39 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
7169
7250
  referencedColumns: ["id"];
7170
7251
  }];
7171
7252
  };
7253
+ floriday_merge_log: {
7254
+ Row: {
7255
+ action: string;
7256
+ created_at: string;
7257
+ floriday_sales_order_ids: import("../integrations/supabase/types").Json;
7258
+ id: string;
7259
+ kept_order_id: string | null;
7260
+ lines: import("../integrations/supabase/types").Json;
7261
+ reason: string | null;
7262
+ removed_order_id: string | null;
7263
+ };
7264
+ Insert: {
7265
+ action: string;
7266
+ created_at?: string;
7267
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
7268
+ id?: string;
7269
+ kept_order_id?: string | null;
7270
+ lines?: import("../integrations/supabase/types").Json;
7271
+ reason?: string | null;
7272
+ removed_order_id?: string | null;
7273
+ };
7274
+ Update: {
7275
+ action?: string;
7276
+ created_at?: string;
7277
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
7278
+ id?: string;
7279
+ kept_order_id?: string | null;
7280
+ lines?: import("../integrations/supabase/types").Json;
7281
+ reason?: string | null;
7282
+ removed_order_id?: string | null;
7283
+ };
7284
+ Relationships: [];
7285
+ };
7172
7286
  floriday_network_cache: {
7173
7287
  Row: {
7174
7288
  city: string | null;
@@ -9404,6 +9518,57 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
9404
9518
  };
9405
9519
  Relationships: [];
9406
9520
  };
9521
+ itk_offerte_acceptaties: {
9522
+ Row: {
9523
+ accepted_at: string;
9524
+ akkoordgever_email: string;
9525
+ akkoordgever_naam: string;
9526
+ akkoordverklaring: string;
9527
+ id: string;
9528
+ inhoud_hash: string;
9529
+ ip_address: unknown;
9530
+ offerte_id: string;
9531
+ offerte_number: string;
9532
+ offerte_snapshot: import("../integrations/supabase/types").Json;
9533
+ user_agent: string | null;
9534
+ versie: string;
9535
+ };
9536
+ Insert: {
9537
+ accepted_at?: string;
9538
+ akkoordgever_email: string;
9539
+ akkoordgever_naam: string;
9540
+ akkoordverklaring: string;
9541
+ id?: string;
9542
+ inhoud_hash: string;
9543
+ ip_address?: unknown;
9544
+ offerte_id: string;
9545
+ offerte_number: string;
9546
+ offerte_snapshot: import("../integrations/supabase/types").Json;
9547
+ user_agent?: string | null;
9548
+ versie: string;
9549
+ };
9550
+ Update: {
9551
+ accepted_at?: string;
9552
+ akkoordgever_email?: string;
9553
+ akkoordgever_naam?: string;
9554
+ akkoordverklaring?: string;
9555
+ id?: string;
9556
+ inhoud_hash?: string;
9557
+ ip_address?: unknown;
9558
+ offerte_id?: string;
9559
+ offerte_number?: string;
9560
+ offerte_snapshot?: import("../integrations/supabase/types").Json;
9561
+ user_agent?: string | null;
9562
+ versie?: string;
9563
+ };
9564
+ Relationships: [{
9565
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
9566
+ columns: ["offerte_id"];
9567
+ isOneToOne: true;
9568
+ referencedRelation: "itk_offertes";
9569
+ referencedColumns: ["id"];
9570
+ }];
9571
+ };
9407
9572
  itk_offerte_events: {
9408
9573
  Row: {
9409
9574
  created_at: string;
@@ -9617,6 +9782,7 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
9617
9782
  itk_offertes: {
9618
9783
  Row: {
9619
9784
  aandachtspunten: string | null;
9785
+ acceptance_id: string | null;
9620
9786
  ai_generated: boolean;
9621
9787
  approved_at: string | null;
9622
9788
  binnen_mandaat: boolean;
@@ -9635,6 +9801,11 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
9635
9801
  onderwerp: string | null;
9636
9802
  rejected_at: string | null;
9637
9803
  sent_at: string | null;
9804
+ sign_token: string;
9805
+ signature_data: string | null;
9806
+ signed_at: string | null;
9807
+ signer_email: string | null;
9808
+ signer_name: string | null;
9638
9809
  source_number: string | null;
9639
9810
  source_ref: string | null;
9640
9811
  source_type: string;
@@ -9649,11 +9820,13 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
9649
9820
  viewed_at: string | null;
9650
9821
  volgnummer: number | null;
9651
9822
  voorwaarden: string | null;
9823
+ werkbon_concept: import("../integrations/supabase/types").Json | null;
9652
9824
  werkbon_id: string | null;
9653
9825
  work_location_id: string | null;
9654
9826
  };
9655
9827
  Insert: {
9656
9828
  aandachtspunten?: string | null;
9829
+ acceptance_id?: string | null;
9657
9830
  ai_generated?: boolean;
9658
9831
  approved_at?: string | null;
9659
9832
  binnen_mandaat?: boolean;
@@ -9672,6 +9845,11 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
9672
9845
  onderwerp?: string | null;
9673
9846
  rejected_at?: string | null;
9674
9847
  sent_at?: string | null;
9848
+ sign_token?: string;
9849
+ signature_data?: string | null;
9850
+ signed_at?: string | null;
9851
+ signer_email?: string | null;
9852
+ signer_name?: string | null;
9675
9853
  source_number?: string | null;
9676
9854
  source_ref?: string | null;
9677
9855
  source_type?: string;
@@ -9686,11 +9864,13 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
9686
9864
  viewed_at?: string | null;
9687
9865
  volgnummer?: number | null;
9688
9866
  voorwaarden?: string | null;
9867
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
9689
9868
  werkbon_id?: string | null;
9690
9869
  work_location_id?: string | null;
9691
9870
  };
9692
9871
  Update: {
9693
9872
  aandachtspunten?: string | null;
9873
+ acceptance_id?: string | null;
9694
9874
  ai_generated?: boolean;
9695
9875
  approved_at?: string | null;
9696
9876
  binnen_mandaat?: boolean;
@@ -9709,6 +9889,11 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
9709
9889
  onderwerp?: string | null;
9710
9890
  rejected_at?: string | null;
9711
9891
  sent_at?: string | null;
9892
+ sign_token?: string;
9893
+ signature_data?: string | null;
9894
+ signed_at?: string | null;
9895
+ signer_email?: string | null;
9896
+ signer_name?: string | null;
9712
9897
  source_number?: string | null;
9713
9898
  source_ref?: string | null;
9714
9899
  source_type?: string;
@@ -9723,10 +9908,17 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
9723
9908
  viewed_at?: string | null;
9724
9909
  volgnummer?: number | null;
9725
9910
  voorwaarden?: string | null;
9911
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
9726
9912
  werkbon_id?: string | null;
9727
9913
  work_location_id?: string | null;
9728
9914
  };
9729
9915
  Relationships: [{
9916
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
9917
+ columns: ["acceptance_id"];
9918
+ isOneToOne: false;
9919
+ referencedRelation: "itk_offerte_acceptaties";
9920
+ referencedColumns: ["id"];
9921
+ }, {
9730
9922
  foreignKeyName: "itk_offertes_contact_id_fkey";
9731
9923
  columns: ["contact_id"];
9732
9924
  isOneToOne: false;
@@ -11165,6 +11357,60 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
11165
11357
  };
11166
11358
  Relationships: [];
11167
11359
  };
11360
+ logistics_order_merge_lines: {
11361
+ Row: {
11362
+ from_order_id: string;
11363
+ from_order_number: string | null;
11364
+ group_key: string;
11365
+ id: string;
11366
+ merged_at: string;
11367
+ order_item_id: string;
11368
+ ordered_at: string | null;
11369
+ product_id: string | null;
11370
+ product_name: string | null;
11371
+ quantity: number | null;
11372
+ reason: string;
11373
+ sales_order_id: string | null;
11374
+ source_line_key: string | null;
11375
+ to_order_id: string;
11376
+ to_order_number: string | null;
11377
+ };
11378
+ Insert: {
11379
+ from_order_id: string;
11380
+ from_order_number?: string | null;
11381
+ group_key: string;
11382
+ id?: string;
11383
+ merged_at?: string;
11384
+ order_item_id: string;
11385
+ ordered_at?: string | null;
11386
+ product_id?: string | null;
11387
+ product_name?: string | null;
11388
+ quantity?: number | null;
11389
+ reason: string;
11390
+ sales_order_id?: string | null;
11391
+ source_line_key?: string | null;
11392
+ to_order_id: string;
11393
+ to_order_number?: string | null;
11394
+ };
11395
+ Update: {
11396
+ from_order_id?: string;
11397
+ from_order_number?: string | null;
11398
+ group_key?: string;
11399
+ id?: string;
11400
+ merged_at?: string;
11401
+ order_item_id?: string;
11402
+ ordered_at?: string | null;
11403
+ product_id?: string | null;
11404
+ product_name?: string | null;
11405
+ quantity?: number | null;
11406
+ reason?: string;
11407
+ sales_order_id?: string | null;
11408
+ source_line_key?: string | null;
11409
+ to_order_id?: string;
11410
+ to_order_number?: string | null;
11411
+ };
11412
+ Relationships: [];
11413
+ };
11168
11414
  logistics_order_merges: {
11169
11415
  Row: {
11170
11416
  group_key: string;
@@ -14805,6 +15051,9 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
14805
15051
  product_id: string | null;
14806
15052
  product_name: string;
14807
15053
  quantity: number;
15054
+ quarantine_reason: string | null;
15055
+ quarantined_at: string | null;
15056
+ quarantined_into_order_id: string | null;
14808
15057
  source_line_key: string | null;
14809
15058
  unit: string;
14810
15059
  unit_price: number | null;
@@ -14821,6 +15070,9 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
14821
15070
  product_id?: string | null;
14822
15071
  product_name: string;
14823
15072
  quantity?: number;
15073
+ quarantine_reason?: string | null;
15074
+ quarantined_at?: string | null;
15075
+ quarantined_into_order_id?: string | null;
14824
15076
  source_line_key?: string | null;
14825
15077
  unit?: string;
14826
15078
  unit_price?: number | null;
@@ -14837,6 +15089,9 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
14837
15089
  product_id?: string | null;
14838
15090
  product_name?: string;
14839
15091
  quantity?: number;
15092
+ quarantine_reason?: string | null;
15093
+ quarantined_at?: string | null;
15094
+ quarantined_into_order_id?: string | null;
14840
15095
  source_line_key?: string | null;
14841
15096
  unit?: string;
14842
15097
  unit_price?: number | null;
@@ -16268,6 +16523,57 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
16268
16523
  };
16269
16524
  Relationships: [];
16270
16525
  };
16526
+ planning_confirmation_log: {
16527
+ Row: {
16528
+ created_at: string;
16529
+ end_at: string;
16530
+ id: string;
16531
+ kind: string;
16532
+ outbox_id: string | null;
16533
+ planning_item_id: string;
16534
+ reason: string | null;
16535
+ recipient: string | null;
16536
+ start_at: string;
16537
+ status: string;
16538
+ };
16539
+ Insert: {
16540
+ created_at?: string;
16541
+ end_at: string;
16542
+ id?: string;
16543
+ kind?: string;
16544
+ outbox_id?: string | null;
16545
+ planning_item_id: string;
16546
+ reason?: string | null;
16547
+ recipient?: string | null;
16548
+ start_at: string;
16549
+ status: string;
16550
+ };
16551
+ Update: {
16552
+ created_at?: string;
16553
+ end_at?: string;
16554
+ id?: string;
16555
+ kind?: string;
16556
+ outbox_id?: string | null;
16557
+ planning_item_id?: string;
16558
+ reason?: string | null;
16559
+ recipient?: string | null;
16560
+ start_at?: string;
16561
+ status?: string;
16562
+ };
16563
+ Relationships: [{
16564
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16565
+ columns: ["planning_item_id"];
16566
+ isOneToOne: false;
16567
+ referencedRelation: "planning_items";
16568
+ referencedColumns: ["id"];
16569
+ }, {
16570
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16571
+ columns: ["planning_item_id"];
16572
+ isOneToOne: false;
16573
+ referencedRelation: "planning_overview";
16574
+ referencedColumns: ["id"];
16575
+ }];
16576
+ };
16271
16577
  planning_item_assistants: {
16272
16578
  Row: {
16273
16579
  created_at: string;
@@ -16352,6 +16658,69 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
16352
16658
  referencedColumns: ["id"];
16353
16659
  }];
16354
16660
  };
16661
+ planning_mail_settings: {
16662
+ Row: {
16663
+ body_template: string;
16664
+ cc: string[];
16665
+ connection_id: string | null;
16666
+ created_at: string;
16667
+ email_purpose: string | null;
16668
+ enabled: boolean;
16669
+ id: boolean;
16670
+ reply_to: string | null;
16671
+ reschedule_body_template: string;
16672
+ reschedule_subject_template: string;
16673
+ subject_template: string;
16674
+ timezone: string;
16675
+ updated_at: string;
16676
+ updated_by: string | null;
16677
+ };
16678
+ Insert: {
16679
+ body_template?: string;
16680
+ cc?: string[];
16681
+ connection_id?: string | null;
16682
+ created_at?: string;
16683
+ email_purpose?: string | null;
16684
+ enabled?: boolean;
16685
+ id?: boolean;
16686
+ reply_to?: string | null;
16687
+ reschedule_body_template?: string;
16688
+ reschedule_subject_template?: string;
16689
+ subject_template?: string;
16690
+ timezone?: string;
16691
+ updated_at?: string;
16692
+ updated_by?: string | null;
16693
+ };
16694
+ Update: {
16695
+ body_template?: string;
16696
+ cc?: string[];
16697
+ connection_id?: string | null;
16698
+ created_at?: string;
16699
+ email_purpose?: string | null;
16700
+ enabled?: boolean;
16701
+ id?: boolean;
16702
+ reply_to?: string | null;
16703
+ reschedule_body_template?: string;
16704
+ reschedule_subject_template?: string;
16705
+ subject_template?: string;
16706
+ timezone?: string;
16707
+ updated_at?: string;
16708
+ updated_by?: string | null;
16709
+ };
16710
+ Relationships: [{
16711
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16712
+ columns: ["connection_id"];
16713
+ isOneToOne: false;
16714
+ referencedRelation: "email_auth_connections";
16715
+ referencedColumns: ["id"];
16716
+ }, {
16717
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16718
+ columns: ["connection_id"];
16719
+ isOneToOne: false;
16720
+ referencedRelation: "email_auth_connections_safe";
16721
+ referencedColumns: ["id"];
16722
+ }];
16723
+ };
16355
16724
  planning_monteur_day_locations: {
16356
16725
  Row: {
16357
16726
  created_at: string;
@@ -16739,6 +17108,27 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
16739
17108
  };
16740
17109
  Relationships: [];
16741
17110
  };
17111
+ print_genegeerde_computers: {
17112
+ Row: {
17113
+ computer_naam: string;
17114
+ genegeerd_door: string | null;
17115
+ genegeerd_op: string;
17116
+ id: string;
17117
+ };
17118
+ Insert: {
17119
+ computer_naam: string;
17120
+ genegeerd_door?: string | null;
17121
+ genegeerd_op?: string;
17122
+ id?: string;
17123
+ };
17124
+ Update: {
17125
+ computer_naam?: string;
17126
+ genegeerd_door?: string | null;
17127
+ genegeerd_op?: string;
17128
+ id?: string;
17129
+ };
17130
+ Relationships: [];
17131
+ };
16742
17132
  print_job_logs: {
16743
17133
  Row: {
16744
17134
  created_at: string;
@@ -17009,6 +17399,39 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
17009
17399
  referencedColumns: ["id"];
17010
17400
  }];
17011
17401
  };
17402
+ print_plek_printers: {
17403
+ Row: {
17404
+ id: string;
17405
+ print_plek_id: string;
17406
+ printer_id: string;
17407
+ toegevoegd_op: string;
17408
+ };
17409
+ Insert: {
17410
+ id?: string;
17411
+ print_plek_id: string;
17412
+ printer_id: string;
17413
+ toegevoegd_op?: string;
17414
+ };
17415
+ Update: {
17416
+ id?: string;
17417
+ print_plek_id?: string;
17418
+ printer_id?: string;
17419
+ toegevoegd_op?: string;
17420
+ };
17421
+ Relationships: [{
17422
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
17423
+ columns: ["print_plek_id"];
17424
+ isOneToOne: false;
17425
+ referencedRelation: "print_plekken";
17426
+ referencedColumns: ["id"];
17427
+ }, {
17428
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
17429
+ columns: ["printer_id"];
17430
+ isOneToOne: false;
17431
+ referencedRelation: "printers";
17432
+ referencedColumns: ["id"];
17433
+ }];
17434
+ };
17012
17435
  print_plekken: {
17013
17436
  Row: {
17014
17437
  actief: boolean;
@@ -17224,7 +17647,8 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
17224
17647
  created_at: string;
17225
17648
  id: string;
17226
17649
  layout_id: string;
17227
- printer_id: string;
17650
+ printer_id: string | null;
17651
+ printer_ontbreekt_sinds: string | null;
17228
17652
  prioriteit: number;
17229
17653
  updated_at: string;
17230
17654
  };
@@ -17232,7 +17656,8 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
17232
17656
  created_at?: string;
17233
17657
  id?: string;
17234
17658
  layout_id: string;
17235
- printer_id: string;
17659
+ printer_id?: string | null;
17660
+ printer_ontbreekt_sinds?: string | null;
17236
17661
  prioriteit?: number;
17237
17662
  updated_at?: string;
17238
17663
  };
@@ -17240,7 +17665,8 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
17240
17665
  created_at?: string;
17241
17666
  id?: string;
17242
17667
  layout_id?: string;
17243
- printer_id?: string;
17668
+ printer_id?: string | null;
17669
+ printer_ontbreekt_sinds?: string | null;
17244
17670
  prioriteit?: number;
17245
17671
  updated_at?: string;
17246
17672
  };
@@ -21728,6 +22154,30 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
21728
22154
  };
21729
22155
  Relationships: [];
21730
22156
  };
22157
+ uren_pagina_toegang: {
22158
+ Row: {
22159
+ created_at: string;
22160
+ id: string;
22161
+ user_id: string;
22162
+ };
22163
+ Insert: {
22164
+ created_at?: string;
22165
+ id?: string;
22166
+ user_id: string;
22167
+ };
22168
+ Update: {
22169
+ created_at?: string;
22170
+ id?: string;
22171
+ user_id?: string;
22172
+ };
22173
+ Relationships: [{
22174
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
22175
+ columns: ["user_id"];
22176
+ isOneToOne: true;
22177
+ referencedRelation: "profiles";
22178
+ referencedColumns: ["id"];
22179
+ }];
22180
+ };
21731
22181
  uren_settings: {
21732
22182
  Row: {
21733
22183
  break_minutes: number;
@@ -23132,12 +23582,14 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
23132
23582
  created_at: string;
23133
23583
  default_quantity: number;
23134
23584
  description: string | null;
23135
- duration_minutes: number | null;
23585
+ duration_minutes: number;
23136
23586
  id: string;
23587
+ labor_minutes: number;
23137
23588
  mandaat_type: string | null;
23138
23589
  name: string;
23139
23590
  price_mode: string;
23140
23591
  sort_order: number;
23592
+ travel_minutes: number;
23141
23593
  unit_price_cents: number;
23142
23594
  updated_at: string;
23143
23595
  };
@@ -23149,12 +23601,14 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
23149
23601
  created_at?: string;
23150
23602
  default_quantity?: number;
23151
23603
  description?: string | null;
23152
- duration_minutes?: number | null;
23604
+ duration_minutes?: number;
23153
23605
  id?: string;
23606
+ labor_minutes?: number;
23154
23607
  mandaat_type?: string | null;
23155
23608
  name: string;
23156
23609
  price_mode?: string;
23157
23610
  sort_order?: number;
23611
+ travel_minutes?: number;
23158
23612
  unit_price_cents?: number;
23159
23613
  updated_at?: string;
23160
23614
  };
@@ -23166,12 +23620,14 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
23166
23620
  created_at?: string;
23167
23621
  default_quantity?: number;
23168
23622
  description?: string | null;
23169
- duration_minutes?: number | null;
23623
+ duration_minutes?: number;
23170
23624
  id?: string;
23625
+ labor_minutes?: number;
23171
23626
  mandaat_type?: string | null;
23172
23627
  name?: string;
23173
23628
  price_mode?: string;
23174
23629
  sort_order?: number;
23630
+ travel_minutes?: number;
23175
23631
  unit_price_cents?: number;
23176
23632
  updated_at?: string;
23177
23633
  };
@@ -24726,6 +25182,12 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
24726
25182
  };
24727
25183
  Returns: undefined;
24728
25184
  };
25185
+ _quote_release_work_order_intern: {
25186
+ Args: {
25187
+ _offerte_id: string;
25188
+ };
25189
+ Returns: import("../integrations/supabase/types").Json;
25190
+ };
24729
25191
  _wo_is_planner: {
24730
25192
  Args: never;
24731
25193
  Returns: boolean;
@@ -29597,6 +30059,12 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
29597
30059
  };
29598
30060
  Returns: import("../integrations/supabase/types").Json;
29599
30061
  };
30062
+ pick_verify_rows: {
30063
+ Args: {
30064
+ _rows: import("../integrations/supabase/types").Json;
30065
+ };
30066
+ Returns: import("../integrations/supabase/types").Json;
30067
+ };
29600
30068
  pickstation_get_orders_raw: {
29601
30069
  Args: never;
29602
30070
  Returns: import("../integrations/supabase/types").Json;
@@ -29659,6 +30127,12 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
29659
30127
  };
29660
30128
  Returns: undefined;
29661
30129
  };
30130
+ planning_html_escape: {
30131
+ Args: {
30132
+ t: string;
30133
+ };
30134
+ Returns: string;
30135
+ };
29662
30136
  planning_list: {
29663
30137
  Args: {
29664
30138
  _from: string;
@@ -29713,6 +30187,12 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
29713
30187
  id: string;
29714
30188
  }[];
29715
30189
  };
30190
+ planning_urlencode: {
30191
+ Args: {
30192
+ t: string;
30193
+ };
30194
+ Returns: string;
30195
+ };
29716
30196
  print_preview_toestaan: {
29717
30197
  Args: {
29718
30198
  _max?: number;
@@ -29731,6 +30211,35 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
29731
30211
  };
29732
30212
  Returns: undefined;
29733
30213
  };
30214
+ printer_gebruik: {
30215
+ Args: {
30216
+ _printer: string;
30217
+ };
30218
+ Returns: import("../integrations/supabase/types").Json;
30219
+ };
30220
+ printer_routering: {
30221
+ Args: {
30222
+ _documenttype: string;
30223
+ _layout_id?: string;
30224
+ _papierformaat?: string;
30225
+ _print_plek_id?: string;
30226
+ _werkplek?: string;
30227
+ };
30228
+ Returns: import("../integrations/supabase/types").Json;
30229
+ };
30230
+ printplek_printer: {
30231
+ Args: {
30232
+ _documenttype: string;
30233
+ _plek: string;
30234
+ };
30235
+ Returns: string;
30236
+ };
30237
+ printplek_verwijder_impact: {
30238
+ Args: {
30239
+ _id: string;
30240
+ };
30241
+ Returns: import("../integrations/supabase/types").Json;
30242
+ };
29734
30243
  process_logistics_event: {
29735
30244
  Args: {
29736
30245
  p_event_id: string;
@@ -29777,6 +30286,12 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
29777
30286
  };
29778
30287
  Returns: import("../integrations/supabase/types").Json;
29779
30288
  };
30289
+ quote_create_from_scratch: {
30290
+ Args: {
30291
+ _payload: import("../integrations/supabase/types").Json;
30292
+ };
30293
+ Returns: import("../integrations/supabase/types").Json;
30294
+ };
29780
30295
  quote_create_from_source: {
29781
30296
  Args: {
29782
30297
  _payload?: import("../integrations/supabase/types").Json;
@@ -29792,6 +30307,13 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
29792
30307
  };
29793
30308
  Returns: boolean;
29794
30309
  };
30310
+ quote_fill_from_form: {
30311
+ Args: {
30312
+ _offerte_id: string;
30313
+ _payload: import("../integrations/supabase/types").Json;
30314
+ };
30315
+ Returns: import("../integrations/supabase/types").Json;
30316
+ };
29795
30317
  quote_get_billable_lines: {
29796
30318
  Args: {
29797
30319
  _quotation_id: string;
@@ -29821,12 +30343,50 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
29821
30343
  };
29822
30344
  Returns: import("../integrations/supabase/types").Json;
29823
30345
  };
30346
+ quote_public_accept: {
30347
+ Args: {
30348
+ _akkoord: boolean;
30349
+ _email: string;
30350
+ _ip_address?: string;
30351
+ _naam: string;
30352
+ _token: string;
30353
+ _user_agent?: string;
30354
+ };
30355
+ Returns: import("../integrations/supabase/types").Json;
30356
+ };
30357
+ quote_public_get: {
30358
+ Args: {
30359
+ _token: string;
30360
+ };
30361
+ Returns: import("../integrations/supabase/types").Json;
30362
+ };
30363
+ quote_public_sign: {
30364
+ Args: {
30365
+ _handtekening: string;
30366
+ _naam: string;
30367
+ _token: string;
30368
+ };
30369
+ Returns: import("../integrations/supabase/types").Json;
30370
+ };
29824
30371
  quote_queue_follow_up: {
29825
30372
  Args: {
29826
30373
  _offerte_id: string;
29827
30374
  };
29828
30375
  Returns: string;
29829
30376
  };
30377
+ quote_release_work_order: {
30378
+ Args: {
30379
+ _offerte_id: string;
30380
+ };
30381
+ Returns: import("../integrations/supabase/types").Json;
30382
+ };
30383
+ quote_sync_work_order: {
30384
+ Args: {
30385
+ _monteur_instructies?: string;
30386
+ _offerte_id: string;
30387
+ };
30388
+ Returns: boolean;
30389
+ };
29830
30390
  recompute_all_reserved_stock: {
29831
30391
  Args: never;
29832
30392
  Returns: undefined;
@@ -30778,6 +31338,10 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
30778
31338
  };
30779
31339
  Returns: number;
30780
31340
  };
31341
+ uren_heeft_pagina_toegang: {
31342
+ Args: never;
31343
+ Returns: boolean;
31344
+ };
30781
31345
  uren_is_beheerder: {
30782
31346
  Args: never;
30783
31347
  Returns: boolean;
@@ -30861,6 +31425,13 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
30861
31425
  Args: never;
30862
31426
  Returns: string;
30863
31427
  };
31428
+ uren_pagina_toegang_instellen: {
31429
+ Args: {
31430
+ _toegang: boolean;
31431
+ _user_id: string;
31432
+ };
31433
+ Returns: undefined;
31434
+ };
30864
31435
  uren_planning_dagagenda: {
30865
31436
  Args: {
30866
31437
  _tot: string;
@@ -31105,6 +31676,19 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
31105
31676
  user_id: string;
31106
31677
  }[];
31107
31678
  };
31679
+ vervang_printer: {
31680
+ Args: {
31681
+ _nieuw: string;
31682
+ _oud: string;
31683
+ };
31684
+ Returns: import("../integrations/supabase/types").Json;
31685
+ };
31686
+ verwijder_printplek: {
31687
+ Args: {
31688
+ _id: string;
31689
+ };
31690
+ Returns: import("../integrations/supabase/types").Json;
31691
+ };
31108
31692
  voorraad_cleanup_old_rows: {
31109
31693
  Args: never;
31110
31694
  Returns: import("../integrations/supabase/types").Json;
@@ -31115,6 +31699,16 @@ export declare const getCartCoverage: import("@tanstack/start-client-core").Opti
31115
31699
  };
31116
31700
  Returns: number;
31117
31701
  };
31702
+ werkbon_pakket_tijden: {
31703
+ Args: {
31704
+ _werkbon_id: string;
31705
+ };
31706
+ Returns: {
31707
+ labor_minutes: number;
31708
+ total_minutes: number;
31709
+ travel_minutes: number;
31710
+ }[];
31711
+ };
31118
31712
  werkbon_totalen: {
31119
31713
  Args: {
31120
31714
  _werkbon_id: string;