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