@flowselections/logistiek-engine 1.0.24 → 1.0.26

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 (56) hide show
  1. package/README.md +24 -24
  2. package/dist-lib/components/ConsistentieCard.d.ts +2 -0
  3. package/dist-lib/components/ConsistentieCard.d.ts.map +1 -0
  4. package/dist-lib/components/ConsistentieCard.js +38 -0
  5. package/dist-lib/components/LogistiekEnginePage.d.ts.map +1 -1
  6. package/dist-lib/components/LogistiekEnginePage.js +8 -2
  7. package/dist-lib/components/ModulePromptsPage.d.ts.map +1 -1
  8. package/dist-lib/components/ModulePromptsPage.js +11 -3
  9. package/dist-lib/components/RegiePage.d.ts.map +1 -1
  10. package/dist-lib/components/RegiePage.js +3 -2
  11. package/dist-lib/index.d.ts +1 -0
  12. package/dist-lib/index.d.ts.map +1 -1
  13. package/dist-lib/index.js +1 -0
  14. package/dist-lib/integrations/supabase/auth-middleware.d.ts +1333 -775
  15. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  16. package/dist-lib/integrations/supabase/client.server.d.ts +1333 -775
  17. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/client.server.js +1 -1
  19. package/dist-lib/integrations/supabase/moduleClient.d.ts +1333 -775
  20. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  21. package/dist-lib/integrations/supabase/types.d.ts +1346 -806
  22. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  23. package/dist-lib/lib/floridayDocuments.functions.d.ts +3510 -1836
  24. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/floridayPush.functions.d.ts +1333 -775
  26. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
  28. package/dist-lib/lib/handlers/logistics-tick.server.js +11 -0
  29. package/dist-lib/lib/loadCarrierPlanner.d.ts +6 -0
  30. package/dist-lib/lib/loadCarrierPlanner.d.ts.map +1 -1
  31. package/dist-lib/lib/loadCarrierPlanner.js +3 -0
  32. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +5855 -3090
  33. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
  35. package/dist-lib/lib/loadCarrierPlanning.server.js +3 -0
  36. package/dist-lib/lib/logisticsPlanner.d.ts +2 -0
  37. package/dist-lib/lib/logisticsPlanner.d.ts.map +1 -1
  38. package/dist-lib/lib/logisticsPlanner.js +52 -13
  39. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +2340 -1224
  40. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +1333 -775
  42. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/modulePrompts.d.ts +19 -3
  44. package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
  45. package/dist-lib/lib/modulePrompts.js +1664 -1141
  46. package/dist-lib/lib/ruleEngineSchema.d.ts.map +1 -1
  47. package/dist-lib/lib/ruleEngineSchema.js +21 -4
  48. package/dist-lib/lib/ruleEngineWizard.d.ts.map +1 -1
  49. package/dist-lib/lib/ruleEngineWizard.js +3 -1
  50. package/package.json +1 -1
  51. package/dist-lib/components/rule-engine/FloridayConnectionBanner.d.ts +0 -2
  52. package/dist-lib/components/rule-engine/FloridayConnectionBanner.d.ts.map +0 -1
  53. package/dist-lib/components/rule-engine/FloridayConnectionBanner.js +0 -41
  54. package/dist-lib/integrations/supabase/client.d.ts +0 -20293
  55. package/dist-lib/integrations/supabase/client.d.ts.map +0 -1
  56. package/dist-lib/integrations/supabase/client.js +0 -13
@@ -2851,6 +2851,84 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
2851
2851
  };
2852
2852
  Relationships: [];
2853
2853
  };
2854
+ delivery_notes: {
2855
+ Row: {
2856
+ byte_size: number | null;
2857
+ connection_id: string | null;
2858
+ content_type: string;
2859
+ created_at: string;
2860
+ error_message: string | null;
2861
+ fetched_at: string | null;
2862
+ fulfillment_order_id: string | null;
2863
+ http_status: number | null;
2864
+ id: string;
2865
+ label_code: string | null;
2866
+ letter: string | null;
2867
+ load_carrier_index: number | null;
2868
+ load_carrier_type: string | null;
2869
+ order_id: string | null;
2870
+ order_number: string | null;
2871
+ packages: number | null;
2872
+ source: string;
2873
+ status: string;
2874
+ storage_bucket: string;
2875
+ storage_path: string | null;
2876
+ updated_at: string;
2877
+ };
2878
+ Insert: {
2879
+ byte_size?: number | null;
2880
+ connection_id?: string | null;
2881
+ content_type?: string;
2882
+ created_at?: string;
2883
+ error_message?: string | null;
2884
+ fetched_at?: string | null;
2885
+ fulfillment_order_id?: string | null;
2886
+ http_status?: number | null;
2887
+ id?: string;
2888
+ label_code?: string | null;
2889
+ letter?: string | null;
2890
+ load_carrier_index?: number | null;
2891
+ load_carrier_type?: string | null;
2892
+ order_id?: string | null;
2893
+ order_number?: string | null;
2894
+ packages?: number | null;
2895
+ source?: string;
2896
+ status?: string;
2897
+ storage_bucket?: string;
2898
+ storage_path?: string | null;
2899
+ updated_at?: string;
2900
+ };
2901
+ Update: {
2902
+ byte_size?: number | null;
2903
+ connection_id?: string | null;
2904
+ content_type?: string;
2905
+ created_at?: string;
2906
+ error_message?: string | null;
2907
+ fetched_at?: string | null;
2908
+ fulfillment_order_id?: string | null;
2909
+ http_status?: number | null;
2910
+ id?: string;
2911
+ label_code?: string | null;
2912
+ letter?: string | null;
2913
+ load_carrier_index?: number | null;
2914
+ load_carrier_type?: string | null;
2915
+ order_id?: string | null;
2916
+ order_number?: string | null;
2917
+ packages?: number | null;
2918
+ source?: string;
2919
+ status?: string;
2920
+ storage_bucket?: string;
2921
+ storage_path?: string | null;
2922
+ updated_at?: string;
2923
+ };
2924
+ Relationships: [{
2925
+ foreignKeyName: "delivery_notes_order_id_fkey";
2926
+ columns: ["order_id"];
2927
+ isOneToOne: false;
2928
+ referencedRelation: "orders";
2929
+ referencedColumns: ["id"];
2930
+ }];
2931
+ };
2854
2932
  document_bronregels: {
2855
2933
  Row: {
2856
2934
  bron: string;
@@ -5904,10 +5982,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
5904
5982
  };
5905
5983
  floriday_connections: {
5906
5984
  Row: {
5907
- access_token: string | null;
5908
5985
  api_key: string;
5909
- client_id: string;
5910
- client_secret: string;
5911
5986
  created_at: string;
5912
5987
  customers_endpoint: string | null;
5913
5988
  environment: string;
@@ -5922,10 +5997,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
5922
5997
  updated_at: string;
5923
5998
  };
5924
5999
  Insert: {
5925
- access_token?: string | null;
5926
6000
  api_key: string;
5927
- client_id: string;
5928
- client_secret: string;
5929
6001
  created_at?: string;
5930
6002
  customers_endpoint?: string | null;
5931
6003
  environment: string;
@@ -5940,10 +6012,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
5940
6012
  updated_at?: string;
5941
6013
  };
5942
6014
  Update: {
5943
- access_token?: string | null;
5944
6015
  api_key?: string;
5945
- client_id?: string;
5946
- client_secret?: string;
5947
6016
  created_at?: string;
5948
6017
  customers_endpoint?: string | null;
5949
6018
  environment?: string;
@@ -6027,6 +6096,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
6027
6096
  attempts: number;
6028
6097
  connection_id: string;
6029
6098
  created_at: string;
6099
+ dead_lettered_at: string | null;
6030
6100
  desired_available: boolean | null;
6031
6101
  gateway_attempt_id: string | null;
6032
6102
  id: string;
@@ -6035,9 +6105,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
6035
6105
  locked_by: string | null;
6036
6106
  next_attempt_at: string;
6037
6107
  number_of_pieces: number;
6108
+ product_id: string | null;
6038
6109
  sent_at: string | null;
6039
6110
  status: string;
6111
+ stock_mode: string | null;
6040
6112
  superseded_by: string | null;
6113
+ target_week: number | null;
6114
+ target_year: number | null;
6041
6115
  trade_item_id: string;
6042
6116
  updated_at: string;
6043
6117
  user_id: string;
@@ -6046,6 +6120,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
6046
6120
  attempts?: number;
6047
6121
  connection_id: string;
6048
6122
  created_at?: string;
6123
+ dead_lettered_at?: string | null;
6049
6124
  desired_available?: boolean | null;
6050
6125
  gateway_attempt_id?: string | null;
6051
6126
  id?: string;
@@ -6054,9 +6129,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
6054
6129
  locked_by?: string | null;
6055
6130
  next_attempt_at?: string;
6056
6131
  number_of_pieces?: number;
6132
+ product_id?: string | null;
6057
6133
  sent_at?: string | null;
6058
6134
  status?: string;
6135
+ stock_mode?: string | null;
6059
6136
  superseded_by?: string | null;
6137
+ target_week?: number | null;
6138
+ target_year?: number | null;
6060
6139
  trade_item_id: string;
6061
6140
  updated_at?: string;
6062
6141
  user_id: string;
@@ -6065,6 +6144,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
6065
6144
  attempts?: number;
6066
6145
  connection_id?: string;
6067
6146
  created_at?: string;
6147
+ dead_lettered_at?: string | null;
6068
6148
  desired_available?: boolean | null;
6069
6149
  gateway_attempt_id?: string | null;
6070
6150
  id?: string;
@@ -6073,9 +6153,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
6073
6153
  locked_by?: string | null;
6074
6154
  next_attempt_at?: string;
6075
6155
  number_of_pieces?: number;
6156
+ product_id?: string | null;
6076
6157
  sent_at?: string | null;
6077
6158
  status?: string;
6159
+ stock_mode?: string | null;
6078
6160
  superseded_by?: string | null;
6161
+ target_week?: number | null;
6162
+ target_year?: number | null;
6079
6163
  trade_item_id?: string;
6080
6164
  updated_at?: string;
6081
6165
  user_id?: string;
@@ -6484,6 +6568,87 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
6484
6568
  referencedColumns: ["id"];
6485
6569
  }];
6486
6570
  };
6571
+ floriday_inventory_settings: {
6572
+ Row: {
6573
+ buffer_quantity: number;
6574
+ connection_id: string;
6575
+ created_at: string;
6576
+ desired_availability: boolean;
6577
+ desired_quantity: number;
6578
+ fixed_quantity: number | null;
6579
+ floriday_trade_item_id: string | null;
6580
+ id: string;
6581
+ last_confirmed_at: string | null;
6582
+ last_enqueued_at: string | null;
6583
+ last_published_at: string | null;
6584
+ last_sync_error: string | null;
6585
+ manual_quantity: number | null;
6586
+ maximum_quantity: number | null;
6587
+ product_id: string;
6588
+ quantity_control: string;
6589
+ remote_available: boolean | null;
6590
+ remote_checked_at: string | null;
6591
+ remote_quantity: number | null;
6592
+ stock_mode: string;
6593
+ sync_status: string;
6594
+ updated_at: string;
6595
+ updated_by: string | null;
6596
+ user_id: string;
6597
+ };
6598
+ Insert: {
6599
+ buffer_quantity?: number;
6600
+ connection_id: string;
6601
+ created_at?: string;
6602
+ desired_availability?: boolean;
6603
+ desired_quantity?: number;
6604
+ fixed_quantity?: number | null;
6605
+ floriday_trade_item_id?: string | null;
6606
+ id?: string;
6607
+ last_confirmed_at?: string | null;
6608
+ last_enqueued_at?: string | null;
6609
+ last_published_at?: string | null;
6610
+ last_sync_error?: string | null;
6611
+ manual_quantity?: number | null;
6612
+ maximum_quantity?: number | null;
6613
+ product_id: string;
6614
+ quantity_control?: string;
6615
+ remote_available?: boolean | null;
6616
+ remote_checked_at?: string | null;
6617
+ remote_quantity?: number | null;
6618
+ stock_mode?: string;
6619
+ sync_status?: string;
6620
+ updated_at?: string;
6621
+ updated_by?: string | null;
6622
+ user_id: string;
6623
+ };
6624
+ Update: {
6625
+ buffer_quantity?: number;
6626
+ connection_id?: string;
6627
+ created_at?: string;
6628
+ desired_availability?: boolean;
6629
+ desired_quantity?: number;
6630
+ fixed_quantity?: number | null;
6631
+ floriday_trade_item_id?: string | null;
6632
+ id?: string;
6633
+ last_confirmed_at?: string | null;
6634
+ last_enqueued_at?: string | null;
6635
+ last_published_at?: string | null;
6636
+ last_sync_error?: string | null;
6637
+ manual_quantity?: number | null;
6638
+ maximum_quantity?: number | null;
6639
+ product_id?: string;
6640
+ quantity_control?: string;
6641
+ remote_available?: boolean | null;
6642
+ remote_checked_at?: string | null;
6643
+ remote_quantity?: number | null;
6644
+ stock_mode?: string;
6645
+ sync_status?: string;
6646
+ updated_at?: string;
6647
+ updated_by?: string | null;
6648
+ user_id?: string;
6649
+ };
6650
+ Relationships: [];
6651
+ };
6487
6652
  floriday_invoices_cache: {
6488
6653
  Row: {
6489
6654
  buyer_organization_id: string | null;
@@ -6772,6 +6937,39 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
6772
6937
  };
6773
6938
  Relationships: [];
6774
6939
  };
6940
+ floriday_sales_order_ingest: {
6941
+ Row: {
6942
+ connection_id: string;
6943
+ created_at: string;
6944
+ id: string;
6945
+ impact: import("../integrations/supabase/types").Json;
6946
+ order_status: string | null;
6947
+ order_version: number;
6948
+ processed_at: string;
6949
+ sales_order_id: string;
6950
+ };
6951
+ Insert: {
6952
+ connection_id: string;
6953
+ created_at?: string;
6954
+ id?: string;
6955
+ impact?: import("../integrations/supabase/types").Json;
6956
+ order_status?: string | null;
6957
+ order_version?: number;
6958
+ processed_at?: string;
6959
+ sales_order_id: string;
6960
+ };
6961
+ Update: {
6962
+ connection_id?: string;
6963
+ created_at?: string;
6964
+ id?: string;
6965
+ impact?: import("../integrations/supabase/types").Json;
6966
+ order_status?: string | null;
6967
+ order_version?: number;
6968
+ processed_at?: string;
6969
+ sales_order_id?: string;
6970
+ };
6971
+ Relationships: [];
6972
+ };
6775
6973
  floriday_sales_strategies_cache: {
6776
6974
  Row: {
6777
6975
  connection_id: string;
@@ -6871,6 +7069,39 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
6871
7069
  };
6872
7070
  Relationships: [];
6873
7071
  };
7072
+ floriday_sync_cursors: {
7073
+ Row: {
7074
+ connection_id: string;
7075
+ created_at: string;
7076
+ id: string;
7077
+ last_error: string | null;
7078
+ last_sync_at: string | null;
7079
+ resource_type: string;
7080
+ sequence_number: number;
7081
+ updated_at: string;
7082
+ };
7083
+ Insert: {
7084
+ connection_id: string;
7085
+ created_at?: string;
7086
+ id?: string;
7087
+ last_error?: string | null;
7088
+ last_sync_at?: string | null;
7089
+ resource_type: string;
7090
+ sequence_number?: number;
7091
+ updated_at?: string;
7092
+ };
7093
+ Update: {
7094
+ connection_id?: string;
7095
+ created_at?: string;
7096
+ id?: string;
7097
+ last_error?: string | null;
7098
+ last_sync_at?: string | null;
7099
+ resource_type?: string;
7100
+ sequence_number?: number;
7101
+ updated_at?: string;
7102
+ };
7103
+ Relationships: [];
7104
+ };
6874
7105
  floriday_sync_state: {
6875
7106
  Row: {
6876
7107
  connection_id: string;
@@ -7561,6 +7792,42 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
7561
7792
  };
7562
7793
  Relationships: [];
7563
7794
  };
7795
+ inventory_stock_snapshots: {
7796
+ Row: {
7797
+ connection_id: string;
7798
+ created_at: string;
7799
+ erp_available_quantity: number;
7800
+ floriday_desired_quantity: number;
7801
+ floriday_remote_quantity: number | null;
7802
+ granularity: string;
7803
+ id: string;
7804
+ snapshot_at: string;
7805
+ user_id: string | null;
7806
+ };
7807
+ Insert: {
7808
+ connection_id: string;
7809
+ created_at?: string;
7810
+ erp_available_quantity?: number;
7811
+ floriday_desired_quantity?: number;
7812
+ floriday_remote_quantity?: number | null;
7813
+ granularity?: string;
7814
+ id?: string;
7815
+ snapshot_at?: string;
7816
+ user_id?: string | null;
7817
+ };
7818
+ Update: {
7819
+ connection_id?: string;
7820
+ created_at?: string;
7821
+ erp_available_quantity?: number;
7822
+ floriday_desired_quantity?: number;
7823
+ floriday_remote_quantity?: number | null;
7824
+ granularity?: string;
7825
+ id?: string;
7826
+ snapshot_at?: string;
7827
+ user_id?: string | null;
7828
+ };
7829
+ Relationships: [];
7830
+ };
7564
7831
  invoice_items: {
7565
7832
  Row: {
7566
7833
  created_at: string;
@@ -8069,13 +8336,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
8069
8336
  segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
8070
8337
  updated_at?: string;
8071
8338
  };
8072
- Relationships: [{
8073
- foreignKeyName: "itk_customers_legacy_customer_id_fkey";
8074
- columns: ["legacy_customer_id"];
8075
- isOneToOne: false;
8076
- referencedRelation: "customers";
8077
- referencedColumns: ["id"];
8078
- }];
8339
+ Relationships: [];
8079
8340
  };
8080
8341
  itk_dynamic_fields: {
8081
8342
  Row: {
@@ -8107,6 +8368,180 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
8107
8368
  };
8108
8369
  Relationships: [];
8109
8370
  };
8371
+ itk_handover_rechten: {
8372
+ Row: {
8373
+ created_at: string;
8374
+ id: string;
8375
+ module_id: string;
8376
+ rol: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
8377
+ updated_at: string;
8378
+ user_id: string | null;
8379
+ };
8380
+ Insert: {
8381
+ created_at?: string;
8382
+ id?: string;
8383
+ module_id: string;
8384
+ rol?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
8385
+ updated_at?: string;
8386
+ user_id?: string | null;
8387
+ };
8388
+ Update: {
8389
+ created_at?: string;
8390
+ id?: string;
8391
+ module_id?: string;
8392
+ rol?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
8393
+ updated_at?: string;
8394
+ user_id?: string | null;
8395
+ };
8396
+ Relationships: [];
8397
+ };
8398
+ itk_handover_tokens: {
8399
+ Row: {
8400
+ aangemaakt_door: string | null;
8401
+ created_at: string;
8402
+ id: string;
8403
+ is_actief: boolean;
8404
+ laatst_gebruikt_op: string | null;
8405
+ label: string;
8406
+ module_id: string;
8407
+ token_hash: string;
8408
+ updated_at: string;
8409
+ verloopt_op: string | null;
8410
+ };
8411
+ Insert: {
8412
+ aangemaakt_door?: string | null;
8413
+ created_at?: string;
8414
+ id?: string;
8415
+ is_actief?: boolean;
8416
+ laatst_gebruikt_op?: string | null;
8417
+ label?: string;
8418
+ module_id: string;
8419
+ token_hash: string;
8420
+ updated_at?: string;
8421
+ verloopt_op?: string | null;
8422
+ };
8423
+ Update: {
8424
+ aangemaakt_door?: string | null;
8425
+ created_at?: string;
8426
+ id?: string;
8427
+ is_actief?: boolean;
8428
+ laatst_gebruikt_op?: string | null;
8429
+ label?: string;
8430
+ module_id?: string;
8431
+ token_hash?: string;
8432
+ updated_at?: string;
8433
+ verloopt_op?: string | null;
8434
+ };
8435
+ Relationships: [];
8436
+ };
8437
+ itk_module_handovers: {
8438
+ Row: {
8439
+ bevindingen: string | null;
8440
+ bezit_tabellen: string[];
8441
+ conflicten_snapshot: import("../integrations/supabase/types").Json;
8442
+ contractfuncties: string[];
8443
+ created_at: string;
8444
+ eigenaar_module_id: string | null;
8445
+ gepubliceerd_door: string | null;
8446
+ gepubliceerd_op: string;
8447
+ herzieningstermijn_dagen: number;
8448
+ id: string;
8449
+ inhoud_md: string;
8450
+ is_actueel: boolean;
8451
+ module_id: string;
8452
+ module_titel: string;
8453
+ ontbrekende_contracten: string[];
8454
+ samenvatting: string | null;
8455
+ updated_at: string;
8456
+ versie: number;
8457
+ };
8458
+ Insert: {
8459
+ bevindingen?: string | null;
8460
+ bezit_tabellen?: string[];
8461
+ conflicten_snapshot?: import("../integrations/supabase/types").Json;
8462
+ contractfuncties?: string[];
8463
+ created_at?: string;
8464
+ eigenaar_module_id?: string | null;
8465
+ gepubliceerd_door?: string | null;
8466
+ gepubliceerd_op?: string;
8467
+ herzieningstermijn_dagen?: number;
8468
+ id?: string;
8469
+ inhoud_md: string;
8470
+ is_actueel?: boolean;
8471
+ module_id: string;
8472
+ module_titel: string;
8473
+ ontbrekende_contracten?: string[];
8474
+ samenvatting?: string | null;
8475
+ updated_at?: string;
8476
+ versie?: number;
8477
+ };
8478
+ Update: {
8479
+ bevindingen?: string | null;
8480
+ bezit_tabellen?: string[];
8481
+ conflicten_snapshot?: import("../integrations/supabase/types").Json;
8482
+ contractfuncties?: string[];
8483
+ created_at?: string;
8484
+ eigenaar_module_id?: string | null;
8485
+ gepubliceerd_door?: string | null;
8486
+ gepubliceerd_op?: string;
8487
+ herzieningstermijn_dagen?: number;
8488
+ id?: string;
8489
+ inhoud_md?: string;
8490
+ is_actueel?: boolean;
8491
+ module_id?: string;
8492
+ module_titel?: string;
8493
+ ontbrekende_contracten?: string[];
8494
+ samenvatting?: string | null;
8495
+ updated_at?: string;
8496
+ versie?: number;
8497
+ };
8498
+ Relationships: [];
8499
+ };
8500
+ itk_module_instructies: {
8501
+ Row: {
8502
+ created_at: string;
8503
+ eigenaar_module_id: string;
8504
+ gepubliceerd_door: string | null;
8505
+ gepubliceerd_op: string;
8506
+ id: string;
8507
+ inhoud_md: string;
8508
+ is_actueel: boolean;
8509
+ sleutel: string;
8510
+ titel: string;
8511
+ toelichting: string | null;
8512
+ updated_at: string;
8513
+ versie: number;
8514
+ };
8515
+ Insert: {
8516
+ created_at?: string;
8517
+ eigenaar_module_id?: string;
8518
+ gepubliceerd_door?: string | null;
8519
+ gepubliceerd_op?: string;
8520
+ id?: string;
8521
+ inhoud_md: string;
8522
+ is_actueel?: boolean;
8523
+ sleutel: string;
8524
+ titel: string;
8525
+ toelichting?: string | null;
8526
+ updated_at?: string;
8527
+ versie?: number;
8528
+ };
8529
+ Update: {
8530
+ created_at?: string;
8531
+ eigenaar_module_id?: string;
8532
+ gepubliceerd_door?: string | null;
8533
+ gepubliceerd_op?: string;
8534
+ id?: string;
8535
+ inhoud_md?: string;
8536
+ is_actueel?: boolean;
8537
+ sleutel?: string;
8538
+ titel?: string;
8539
+ toelichting?: string | null;
8540
+ updated_at?: string;
8541
+ versie?: number;
8542
+ };
8543
+ Relationships: [];
8544
+ };
8110
8545
  itk_offerte_events: {
8111
8546
  Row: {
8112
8547
  created_at: string;
@@ -8965,6 +9400,27 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
8965
9400
  };
8966
9401
  Relationships: [];
8967
9402
  };
9403
+ logistics_cart_barcode: {
9404
+ Row: {
9405
+ barcode: string;
9406
+ cart_id: string;
9407
+ created_at: string;
9408
+ order_id: string | null;
9409
+ };
9410
+ Insert: {
9411
+ barcode: string;
9412
+ cart_id: string;
9413
+ created_at?: string;
9414
+ order_id?: string | null;
9415
+ };
9416
+ Update: {
9417
+ barcode?: string;
9418
+ cart_id?: string;
9419
+ created_at?: string;
9420
+ order_id?: string | null;
9421
+ };
9422
+ Relationships: [];
9423
+ };
8968
9424
  logistics_decisions: {
8969
9425
  Row: {
8970
9426
  created_at: string;
@@ -9793,6 +10249,36 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
9793
10249
  referencedColumns: ["id"];
9794
10250
  }];
9795
10251
  };
10252
+ logistics_shipping_note_scan: {
10253
+ Row: {
10254
+ barcode: string;
10255
+ cart_id: string;
10256
+ id: string;
10257
+ is_reprint: boolean;
10258
+ order_id: string | null;
10259
+ print_job_id: string | null;
10260
+ scanned_at: string;
10261
+ };
10262
+ Insert: {
10263
+ barcode: string;
10264
+ cart_id: string;
10265
+ id?: string;
10266
+ is_reprint?: boolean;
10267
+ order_id?: string | null;
10268
+ print_job_id?: string | null;
10269
+ scanned_at?: string;
10270
+ };
10271
+ Update: {
10272
+ barcode?: string;
10273
+ cart_id?: string;
10274
+ id?: string;
10275
+ is_reprint?: boolean;
10276
+ order_id?: string | null;
10277
+ print_job_id?: string | null;
10278
+ scanned_at?: string;
10279
+ };
10280
+ Relationships: [];
10281
+ };
9796
10282
  logistics_staff_planning: {
9797
10283
  Row: {
9798
10284
  created_at: string;
@@ -12614,6 +13100,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
12614
13100
  print_job_id: string | null;
12615
13101
  printed_at: string | null;
12616
13102
  printed_by: string | null;
13103
+ printed_cart_ids: import("../integrations/supabase/types").Json;
12617
13104
  printer_id: string | null;
12618
13105
  priority: number;
12619
13106
  reference: string | null;
@@ -12648,6 +13135,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
12648
13135
  print_job_id?: string | null;
12649
13136
  printed_at?: string | null;
12650
13137
  printed_by?: string | null;
13138
+ printed_cart_ids?: import("../integrations/supabase/types").Json;
12651
13139
  printer_id?: string | null;
12652
13140
  priority?: number;
12653
13141
  reference?: string | null;
@@ -12682,6 +13170,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
12682
13170
  print_job_id?: string | null;
12683
13171
  printed_at?: string | null;
12684
13172
  printed_by?: string | null;
13173
+ printed_cart_ids?: import("../integrations/supabase/types").Json;
12685
13174
  printer_id?: string | null;
12686
13175
  priority?: number;
12687
13176
  reference?: string | null;
@@ -13481,6 +13970,12 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
13481
13970
  isOneToOne: false;
13482
13971
  referencedRelation: "planning_items";
13483
13972
  referencedColumns: ["id"];
13973
+ }, {
13974
+ foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
13975
+ columns: ["planning_item_id"];
13976
+ isOneToOne: false;
13977
+ referencedRelation: "planning_overview";
13978
+ referencedColumns: ["id"];
13484
13979
  }];
13485
13980
  };
13486
13981
  planning_items: {
@@ -13659,6 +14154,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
13659
14154
  is_herprint: boolean;
13660
14155
  kopieen: number;
13661
14156
  layout_id: string | null;
14157
+ lokaal_opgeslagen_op: string | null;
14158
+ lokale_pdf_fout: string | null;
14159
+ lokale_pdf_status: string | null;
13662
14160
  opgepakt_op: string | null;
13663
14161
  paginas: number;
13664
14162
  payload: import("../integrations/supabase/types").Json;
@@ -13667,6 +14165,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
13667
14165
  pogingen: number;
13668
14166
  printer_id: string | null;
13669
14167
  render_html: string | null;
14168
+ resultaat_pdf_base64: string | null;
13670
14169
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13671
14170
  updated_at: string;
13672
14171
  volgende_poging: string | null;
@@ -13691,6 +14190,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
13691
14190
  is_herprint?: boolean;
13692
14191
  kopieen?: number;
13693
14192
  layout_id?: string | null;
14193
+ lokaal_opgeslagen_op?: string | null;
14194
+ lokale_pdf_fout?: string | null;
14195
+ lokale_pdf_status?: string | null;
13694
14196
  opgepakt_op?: string | null;
13695
14197
  paginas?: number;
13696
14198
  payload?: import("../integrations/supabase/types").Json;
@@ -13699,6 +14201,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
13699
14201
  pogingen?: number;
13700
14202
  printer_id?: string | null;
13701
14203
  render_html?: string | null;
14204
+ resultaat_pdf_base64?: string | null;
13702
14205
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13703
14206
  updated_at?: string;
13704
14207
  volgende_poging?: string | null;
@@ -13723,6 +14226,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
13723
14226
  is_herprint?: boolean;
13724
14227
  kopieen?: number;
13725
14228
  layout_id?: string | null;
14229
+ lokaal_opgeslagen_op?: string | null;
14230
+ lokale_pdf_fout?: string | null;
14231
+ lokale_pdf_status?: string | null;
13726
14232
  opgepakt_op?: string | null;
13727
14233
  paginas?: number;
13728
14234
  payload?: import("../integrations/supabase/types").Json;
@@ -13731,6 +14237,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
13731
14237
  pogingen?: number;
13732
14238
  printer_id?: string | null;
13733
14239
  render_html?: string | null;
14240
+ resultaat_pdf_base64?: string | null;
13734
14241
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13735
14242
  updated_at?: string;
13736
14243
  volgende_poging?: string | null;
@@ -14121,6 +14628,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
14121
14628
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14122
14629
  online: boolean;
14123
14630
  papierformaat: string;
14631
+ pdf_map: string | null;
14124
14632
  poort: number | null;
14125
14633
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14126
14634
  systeemnaam: string;
@@ -14146,6 +14654,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
14146
14654
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14147
14655
  online?: boolean;
14148
14656
  papierformaat?: string;
14657
+ pdf_map?: string | null;
14149
14658
  poort?: number | null;
14150
14659
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14151
14660
  systeemnaam?: string;
@@ -14171,6 +14680,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
14171
14680
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14172
14681
  online?: boolean;
14173
14682
  papierformaat?: string;
14683
+ pdf_map?: string | null;
14174
14684
  poort?: number | null;
14175
14685
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14176
14686
  systeemnaam?: string;
@@ -15043,450 +15553,6 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
15043
15553
  referencedColumns: ["id"];
15044
15554
  }];
15045
15555
  };
15046
- quote_activities: {
15047
- Row: {
15048
- created_at: string;
15049
- event_type: string;
15050
- id: string;
15051
- metadata: import("../integrations/supabase/types").Json;
15052
- quote_id: string;
15053
- user_id: string | null;
15054
- };
15055
- Insert: {
15056
- created_at?: string;
15057
- event_type: string;
15058
- id?: string;
15059
- metadata?: import("../integrations/supabase/types").Json;
15060
- quote_id: string;
15061
- user_id?: string | null;
15062
- };
15063
- Update: {
15064
- created_at?: string;
15065
- event_type?: string;
15066
- id?: string;
15067
- metadata?: import("../integrations/supabase/types").Json;
15068
- quote_id?: string;
15069
- user_id?: string | null;
15070
- };
15071
- Relationships: [{
15072
- foreignKeyName: "quote_activities_quote_id_fkey";
15073
- columns: ["quote_id"];
15074
- isOneToOne: false;
15075
- referencedRelation: "quotes";
15076
- referencedColumns: ["id"];
15077
- }];
15078
- };
15079
- quote_attachments: {
15080
- Row: {
15081
- created_at: string;
15082
- file_name: string;
15083
- file_size: number | null;
15084
- file_url: string;
15085
- id: string;
15086
- mime_type: string | null;
15087
- quote_id: string;
15088
- };
15089
- Insert: {
15090
- created_at?: string;
15091
- file_name: string;
15092
- file_size?: number | null;
15093
- file_url: string;
15094
- id?: string;
15095
- mime_type?: string | null;
15096
- quote_id: string;
15097
- };
15098
- Update: {
15099
- created_at?: string;
15100
- file_name?: string;
15101
- file_size?: number | null;
15102
- file_url?: string;
15103
- id?: string;
15104
- mime_type?: string | null;
15105
- quote_id?: string;
15106
- };
15107
- Relationships: [{
15108
- foreignKeyName: "quote_attachments_quote_id_fkey";
15109
- columns: ["quote_id"];
15110
- isOneToOne: false;
15111
- referencedRelation: "quotes";
15112
- referencedColumns: ["id"];
15113
- }];
15114
- };
15115
- quote_field_options: {
15116
- Row: {
15117
- created_at: string;
15118
- field_id: string;
15119
- id: string;
15120
- label: string;
15121
- sort_order: number;
15122
- value: string;
15123
- };
15124
- Insert: {
15125
- created_at?: string;
15126
- field_id: string;
15127
- id?: string;
15128
- label: string;
15129
- sort_order?: number;
15130
- value: string;
15131
- };
15132
- Update: {
15133
- created_at?: string;
15134
- field_id?: string;
15135
- id?: string;
15136
- label?: string;
15137
- sort_order?: number;
15138
- value?: string;
15139
- };
15140
- Relationships: [{
15141
- foreignKeyName: "quote_field_options_field_id_fkey";
15142
- columns: ["field_id"];
15143
- isOneToOne: false;
15144
- referencedRelation: "quote_field_settings";
15145
- referencedColumns: ["id"];
15146
- }];
15147
- };
15148
- quote_field_settings: {
15149
- Row: {
15150
- created_at: string;
15151
- default_value: string | null;
15152
- field_key: string;
15153
- field_type: string;
15154
- id: string;
15155
- is_system: boolean;
15156
- label: string;
15157
- required: boolean;
15158
- sort_order: number;
15159
- updated_at: string;
15160
- visible: boolean;
15161
- };
15162
- Insert: {
15163
- created_at?: string;
15164
- default_value?: string | null;
15165
- field_key: string;
15166
- field_type: string;
15167
- id?: string;
15168
- is_system?: boolean;
15169
- label: string;
15170
- required?: boolean;
15171
- sort_order?: number;
15172
- updated_at?: string;
15173
- visible?: boolean;
15174
- };
15175
- Update: {
15176
- created_at?: string;
15177
- default_value?: string | null;
15178
- field_key?: string;
15179
- field_type?: string;
15180
- id?: string;
15181
- is_system?: boolean;
15182
- label?: string;
15183
- required?: boolean;
15184
- sort_order?: number;
15185
- updated_at?: string;
15186
- visible?: boolean;
15187
- };
15188
- Relationships: [];
15189
- };
15190
- quote_items: {
15191
- Row: {
15192
- category: string | null;
15193
- created_at: string;
15194
- description: string;
15195
- id: string;
15196
- line_total: number;
15197
- module_id: string | null;
15198
- name: string | null;
15199
- quantity: number;
15200
- quote_id: string;
15201
- sort_order: number;
15202
- unit_price: number;
15203
- };
15204
- Insert: {
15205
- category?: string | null;
15206
- created_at?: string;
15207
- description?: string;
15208
- id?: string;
15209
- line_total?: number;
15210
- module_id?: string | null;
15211
- name?: string | null;
15212
- quantity?: number;
15213
- quote_id: string;
15214
- sort_order?: number;
15215
- unit_price?: number;
15216
- };
15217
- Update: {
15218
- category?: string | null;
15219
- created_at?: string;
15220
- description?: string;
15221
- id?: string;
15222
- line_total?: number;
15223
- module_id?: string | null;
15224
- name?: string | null;
15225
- quantity?: number;
15226
- quote_id?: string;
15227
- sort_order?: number;
15228
- unit_price?: number;
15229
- };
15230
- Relationships: [{
15231
- foreignKeyName: "quote_items_module_id_fkey";
15232
- columns: ["module_id"];
15233
- isOneToOne: false;
15234
- referencedRelation: "quote_modules";
15235
- referencedColumns: ["id"];
15236
- }, {
15237
- foreignKeyName: "quote_items_quote_id_fkey";
15238
- columns: ["quote_id"];
15239
- isOneToOne: false;
15240
- referencedRelation: "quotes";
15241
- referencedColumns: ["id"];
15242
- }];
15243
- };
15244
- quote_modules: {
15245
- Row: {
15246
- category: string | null;
15247
- created_at: string;
15248
- description: string | null;
15249
- id: string;
15250
- is_active: boolean;
15251
- name: string;
15252
- price: number;
15253
- sort_order: number;
15254
- updated_at: string;
15255
- };
15256
- Insert: {
15257
- category?: string | null;
15258
- created_at?: string;
15259
- description?: string | null;
15260
- id?: string;
15261
- is_active?: boolean;
15262
- name: string;
15263
- price?: number;
15264
- sort_order?: number;
15265
- updated_at?: string;
15266
- };
15267
- Update: {
15268
- category?: string | null;
15269
- created_at?: string;
15270
- description?: string | null;
15271
- id?: string;
15272
- is_active?: boolean;
15273
- name?: string;
15274
- price?: number;
15275
- sort_order?: number;
15276
- updated_at?: string;
15277
- };
15278
- Relationships: [];
15279
- };
15280
- quote_templates: {
15281
- Row: {
15282
- created_at: string;
15283
- description: string | null;
15284
- field_values: import("../integrations/supabase/types").Json;
15285
- id: string;
15286
- is_default: boolean;
15287
- items: import("../integrations/supabase/types").Json;
15288
- name: string;
15289
- updated_at: string;
15290
- vat_rate: number;
15291
- };
15292
- Insert: {
15293
- created_at?: string;
15294
- description?: string | null;
15295
- field_values?: import("../integrations/supabase/types").Json;
15296
- id?: string;
15297
- is_default?: boolean;
15298
- items?: import("../integrations/supabase/types").Json;
15299
- name: string;
15300
- updated_at?: string;
15301
- vat_rate?: number;
15302
- };
15303
- Update: {
15304
- created_at?: string;
15305
- description?: string | null;
15306
- field_values?: import("../integrations/supabase/types").Json;
15307
- id?: string;
15308
- is_default?: boolean;
15309
- items?: import("../integrations/supabase/types").Json;
15310
- name?: string;
15311
- updated_at?: string;
15312
- vat_rate?: number;
15313
- };
15314
- Relationships: [];
15315
- };
15316
- quote_terms: {
15317
- Row: {
15318
- content: string | null;
15319
- created_at: string;
15320
- file_url: string | null;
15321
- id: string;
15322
- is_active: boolean;
15323
- name: string;
15324
- published_at: string | null;
15325
- updated_at: string;
15326
- version: string;
15327
- };
15328
- Insert: {
15329
- content?: string | null;
15330
- created_at?: string;
15331
- file_url?: string | null;
15332
- id?: string;
15333
- is_active?: boolean;
15334
- name: string;
15335
- published_at?: string | null;
15336
- updated_at?: string;
15337
- version?: string;
15338
- };
15339
- Update: {
15340
- content?: string | null;
15341
- created_at?: string;
15342
- file_url?: string | null;
15343
- id?: string;
15344
- is_active?: boolean;
15345
- name?: string;
15346
- published_at?: string | null;
15347
- updated_at?: string;
15348
- version?: string;
15349
- };
15350
- Relationships: [];
15351
- };
15352
- quotes: {
15353
- Row: {
15354
- accepted_at: string | null;
15355
- archived_at: string | null;
15356
- contact_id: string | null;
15357
- created_at: string;
15358
- customer_id: string | null;
15359
- discount: number;
15360
- expires_at: string | null;
15361
- field_values: import("../integrations/supabase/types").Json;
15362
- id: string;
15363
- notes: string | null;
15364
- owner_id: string | null;
15365
- personal_message: string | null;
15366
- project_id: string | null;
15367
- prospect_id: string | null;
15368
- public_token: string;
15369
- quote_number: string | null;
15370
- recipient_email: string | null;
15371
- recipient_name: string | null;
15372
- rejected_at: string | null;
15373
- sent_at: string | null;
15374
- status: string;
15375
- subtotal: number;
15376
- template_id: string | null;
15377
- terms_id: string | null;
15378
- title: string;
15379
- total: number;
15380
- updated_at: string;
15381
- valid_until: string | null;
15382
- vat_amount: number;
15383
- vat_rate: number;
15384
- viewed_at: string | null;
15385
- };
15386
- Insert: {
15387
- accepted_at?: string | null;
15388
- archived_at?: string | null;
15389
- contact_id?: string | null;
15390
- created_at?: string;
15391
- customer_id?: string | null;
15392
- discount?: number;
15393
- expires_at?: string | null;
15394
- field_values?: import("../integrations/supabase/types").Json;
15395
- id?: string;
15396
- notes?: string | null;
15397
- owner_id?: string | null;
15398
- personal_message?: string | null;
15399
- project_id?: string | null;
15400
- prospect_id?: string | null;
15401
- public_token?: string;
15402
- quote_number?: string | null;
15403
- recipient_email?: string | null;
15404
- recipient_name?: string | null;
15405
- rejected_at?: string | null;
15406
- sent_at?: string | null;
15407
- status?: string;
15408
- subtotal?: number;
15409
- template_id?: string | null;
15410
- terms_id?: string | null;
15411
- title?: string;
15412
- total?: number;
15413
- updated_at?: string;
15414
- valid_until?: string | null;
15415
- vat_amount?: number;
15416
- vat_rate?: number;
15417
- viewed_at?: string | null;
15418
- };
15419
- Update: {
15420
- accepted_at?: string | null;
15421
- archived_at?: string | null;
15422
- contact_id?: string | null;
15423
- created_at?: string;
15424
- customer_id?: string | null;
15425
- discount?: number;
15426
- expires_at?: string | null;
15427
- field_values?: import("../integrations/supabase/types").Json;
15428
- id?: string;
15429
- notes?: string | null;
15430
- owner_id?: string | null;
15431
- personal_message?: string | null;
15432
- project_id?: string | null;
15433
- prospect_id?: string | null;
15434
- public_token?: string;
15435
- quote_number?: string | null;
15436
- recipient_email?: string | null;
15437
- recipient_name?: string | null;
15438
- rejected_at?: string | null;
15439
- sent_at?: string | null;
15440
- status?: string;
15441
- subtotal?: number;
15442
- template_id?: string | null;
15443
- terms_id?: string | null;
15444
- title?: string;
15445
- total?: number;
15446
- updated_at?: string;
15447
- valid_until?: string | null;
15448
- vat_amount?: number;
15449
- vat_rate?: number;
15450
- viewed_at?: string | null;
15451
- };
15452
- Relationships: [{
15453
- foreignKeyName: "quotes_contact_id_fkey";
15454
- columns: ["contact_id"];
15455
- isOneToOne: false;
15456
- referencedRelation: "customer_contacts";
15457
- referencedColumns: ["id"];
15458
- }, {
15459
- foreignKeyName: "quotes_customer_id_fkey";
15460
- columns: ["customer_id"];
15461
- isOneToOne: false;
15462
- referencedRelation: "customers";
15463
- referencedColumns: ["id"];
15464
- }, {
15465
- foreignKeyName: "quotes_project_id_fkey";
15466
- columns: ["project_id"];
15467
- isOneToOne: false;
15468
- referencedRelation: "projects";
15469
- referencedColumns: ["id"];
15470
- }, {
15471
- foreignKeyName: "quotes_prospect_id_fkey";
15472
- columns: ["prospect_id"];
15473
- isOneToOne: false;
15474
- referencedRelation: "prospects";
15475
- referencedColumns: ["id"];
15476
- }, {
15477
- foreignKeyName: "quotes_template_id_fkey";
15478
- columns: ["template_id"];
15479
- isOneToOne: false;
15480
- referencedRelation: "quote_templates";
15481
- referencedColumns: ["id"];
15482
- }, {
15483
- foreignKeyName: "quotes_terms_id_fkey";
15484
- columns: ["terms_id"];
15485
- isOneToOne: false;
15486
- referencedRelation: "quote_terms";
15487
- referencedColumns: ["id"];
15488
- }];
15489
- };
15490
15556
  reception_notifications: {
15491
15557
  Row: {
15492
15558
  booking_id: string | null;
@@ -16608,7 +16674,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
16608
16674
  foreignKeyName: "time_logs_work_order_id_fkey";
16609
16675
  columns: ["work_order_id"];
16610
16676
  isOneToOne: false;
16611
- referencedRelation: "work_orders";
16677
+ referencedRelation: "werkbonnen";
16612
16678
  referencedColumns: ["id"];
16613
16679
  }];
16614
16680
  };
@@ -16740,6 +16806,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
16740
16806
  };
16741
16807
  trade_item_stock: {
16742
16808
  Row: {
16809
+ change_source: string;
16743
16810
  connection_id: string;
16744
16811
  created_at: string;
16745
16812
  id: string;
@@ -16753,6 +16820,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
16753
16820
  user_id: string;
16754
16821
  };
16755
16822
  Insert: {
16823
+ change_source?: string;
16756
16824
  connection_id: string;
16757
16825
  created_at?: string;
16758
16826
  id?: string;
@@ -16766,6 +16834,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
16766
16834
  user_id: string;
16767
16835
  };
16768
16836
  Update: {
16837
+ change_source?: string;
16769
16838
  connection_id?: string;
16770
16839
  created_at?: string;
16771
16840
  id?: string;
@@ -17935,156 +18004,6 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
17935
18004
  };
17936
18005
  Relationships: [];
17937
18006
  };
17938
- uren_offerte_regels: {
17939
- Row: {
17940
- created_at: string;
17941
- description: string;
17942
- duration_minutes: number;
17943
- id: string;
17944
- offerte_id: string;
17945
- package_id: string | null;
17946
- quantity: number;
17947
- sort_order: number;
17948
- total_cents: number;
17949
- unit_price_cents: number;
17950
- };
17951
- Insert: {
17952
- created_at?: string;
17953
- description: string;
17954
- duration_minutes?: number;
17955
- id?: string;
17956
- offerte_id: string;
17957
- package_id?: string | null;
17958
- quantity?: number;
17959
- sort_order?: number;
17960
- total_cents?: number;
17961
- unit_price_cents?: number;
17962
- };
17963
- Update: {
17964
- created_at?: string;
17965
- description?: string;
17966
- duration_minutes?: number;
17967
- id?: string;
17968
- offerte_id?: string;
17969
- package_id?: string | null;
17970
- quantity?: number;
17971
- sort_order?: number;
17972
- total_cents?: number;
17973
- unit_price_cents?: number;
17974
- };
17975
- Relationships: [{
17976
- foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
17977
- columns: ["offerte_id"];
17978
- isOneToOne: false;
17979
- referencedRelation: "uren_offertes";
17980
- referencedColumns: ["id"];
17981
- }, {
17982
- foreignKeyName: "uren_offerte_regels_package_id_fkey";
17983
- columns: ["package_id"];
17984
- isOneToOne: false;
17985
- referencedRelation: "werkbon_packages";
17986
- referencedColumns: ["id"];
17987
- }];
17988
- };
17989
- uren_offerte_velden: {
17990
- Row: {
17991
- created_at: string;
17992
- field_type: string;
17993
- id: string;
17994
- key: string;
17995
- label: string;
17996
- options: string[];
17997
- required: boolean;
17998
- sort_order: number;
17999
- updated_at: string;
18000
- };
18001
- Insert: {
18002
- created_at?: string;
18003
- field_type?: string;
18004
- id?: string;
18005
- key: string;
18006
- label: string;
18007
- options?: string[];
18008
- required?: boolean;
18009
- sort_order?: number;
18010
- updated_at?: string;
18011
- };
18012
- Update: {
18013
- created_at?: string;
18014
- field_type?: string;
18015
- id?: string;
18016
- key?: string;
18017
- label?: string;
18018
- options?: string[];
18019
- required?: boolean;
18020
- sort_order?: number;
18021
- updated_at?: string;
18022
- };
18023
- Relationships: [];
18024
- };
18025
- uren_offertes: {
18026
- Row: {
18027
- created_at: string;
18028
- created_by: string | null;
18029
- customer_id: string | null;
18030
- customer_name: string | null;
18031
- dynamic_fields: import("../integrations/supabase/types").Json;
18032
- estimated_minutes: number;
18033
- id: string;
18034
- note: string | null;
18035
- quote_number: string | null;
18036
- status: string;
18037
- title: string;
18038
- total_excl_cents: number;
18039
- total_incl_cents: number;
18040
- updated_at: string;
18041
- valid_until: string | null;
18042
- vat_percentage: number;
18043
- };
18044
- Insert: {
18045
- created_at?: string;
18046
- created_by?: string | null;
18047
- customer_id?: string | null;
18048
- customer_name?: string | null;
18049
- dynamic_fields?: import("../integrations/supabase/types").Json;
18050
- estimated_minutes?: number;
18051
- id?: string;
18052
- note?: string | null;
18053
- quote_number?: string | null;
18054
- status?: string;
18055
- title?: string;
18056
- total_excl_cents?: number;
18057
- total_incl_cents?: number;
18058
- updated_at?: string;
18059
- valid_until?: string | null;
18060
- vat_percentage?: number;
18061
- };
18062
- Update: {
18063
- created_at?: string;
18064
- created_by?: string | null;
18065
- customer_id?: string | null;
18066
- customer_name?: string | null;
18067
- dynamic_fields?: import("../integrations/supabase/types").Json;
18068
- estimated_minutes?: number;
18069
- id?: string;
18070
- note?: string | null;
18071
- quote_number?: string | null;
18072
- status?: string;
18073
- title?: string;
18074
- total_excl_cents?: number;
18075
- total_incl_cents?: number;
18076
- updated_at?: string;
18077
- valid_until?: string | null;
18078
- vat_percentage?: number;
18079
- };
18080
- Relationships: [{
18081
- foreignKeyName: "uren_offertes_customer_id_fkey";
18082
- columns: ["customer_id"];
18083
- isOneToOne: false;
18084
- referencedRelation: "itk_customers";
18085
- referencedColumns: ["id"];
18086
- }];
18087
- };
18088
18007
  uren_settings: {
18089
18008
  Row: {
18090
18009
  break_minutes: number;
@@ -19771,6 +19690,37 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
19771
19690
  };
19772
19691
  Relationships: [];
19773
19692
  };
19693
+ planning_overview: {
19694
+ Row: {
19695
+ assigned_monteur_id: string | null;
19696
+ assistants: import("../integrations/supabase/types").Json | null;
19697
+ budget_mandate_cents: number | null;
19698
+ created_at: string | null;
19699
+ created_by: string | null;
19700
+ customer_id: string | null;
19701
+ customer_name: string | null;
19702
+ duration_minutes: number | null;
19703
+ end_at: string | null;
19704
+ id: string | null;
19705
+ needs_detail_review: boolean | null;
19706
+ notes: string | null;
19707
+ project_number: string | null;
19708
+ review_reasons: string[] | null;
19709
+ start_at: string | null;
19710
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
19711
+ updated_at: string | null;
19712
+ viewer_role: string | null;
19713
+ werkbon_id: string | null;
19714
+ work_address: string | null;
19715
+ };
19716
+ Relationships: [{
19717
+ foreignKeyName: "planning_items_werkbon_id_fkey";
19718
+ columns: ["werkbon_id"];
19719
+ isOneToOne: false;
19720
+ referencedRelation: "werkbonnen";
19721
+ referencedColumns: ["id"];
19722
+ }];
19723
+ };
19774
19724
  product_group_stock_view: {
19775
19725
  Row: {
19776
19726
  item_count: number | null;
@@ -20366,6 +20316,18 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
20366
20316
  Args: never;
20367
20317
  Returns: number;
20368
20318
  };
20319
+ calculate_floriday_desired_stock: {
20320
+ Args: {
20321
+ p_connection_id: string;
20322
+ p_product_id: string;
20323
+ };
20324
+ Returns: {
20325
+ desired_availability: boolean;
20326
+ desired_quantity: number;
20327
+ erp_available: number;
20328
+ stock_mode: string;
20329
+ }[];
20330
+ };
20369
20331
  calculate_layer_stock: {
20370
20332
  Args: {
20371
20333
  p_product_id: string;
@@ -20427,6 +20389,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
20427
20389
  is_herprint: boolean;
20428
20390
  kopieen: number;
20429
20391
  layout_id: string | null;
20392
+ lokaal_opgeslagen_op: string | null;
20393
+ lokale_pdf_fout: string | null;
20394
+ lokale_pdf_status: string | null;
20430
20395
  opgepakt_op: string | null;
20431
20396
  paginas: number;
20432
20397
  payload: import("../integrations/supabase/types").Json;
@@ -20435,6 +20400,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
20435
20400
  pogingen: number;
20436
20401
  printer_id: string | null;
20437
20402
  render_html: string | null;
20403
+ resultaat_pdf_base64: string | null;
20438
20404
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20439
20405
  updated_at: string;
20440
20406
  volgende_poging: string | null;
@@ -20456,6 +20422,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
20456
20422
  attempts: number;
20457
20423
  connection_id: string;
20458
20424
  created_at: string;
20425
+ dead_lettered_at: string | null;
20459
20426
  desired_available: boolean | null;
20460
20427
  gateway_attempt_id: string | null;
20461
20428
  id: string;
@@ -20464,9 +20431,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
20464
20431
  locked_by: string | null;
20465
20432
  next_attempt_at: string;
20466
20433
  number_of_pieces: number;
20434
+ product_id: string | null;
20467
20435
  sent_at: string | null;
20468
20436
  status: string;
20437
+ stock_mode: string | null;
20469
20438
  superseded_by: string | null;
20439
+ target_week: number | null;
20440
+ target_year: number | null;
20470
20441
  trade_item_id: string;
20471
20442
  updated_at: string;
20472
20443
  user_id: string;
@@ -20526,6 +20497,53 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
20526
20497
  isSetofReturn: true;
20527
20498
  };
20528
20499
  };
20500
+ claim_pdf_print_jobs: {
20501
+ Args: {
20502
+ _max?: number;
20503
+ };
20504
+ Returns: {
20505
+ agent_id: string | null;
20506
+ bron_job_id: string | null;
20507
+ created_at: string;
20508
+ documentnaam: string;
20509
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20510
+ extern_job_id: string | null;
20511
+ foutmelding: string | null;
20512
+ gebruiker_id: string | null;
20513
+ gebruiker_naam: string;
20514
+ gebruikte_bron: string | null;
20515
+ gebruikte_layout_id: string | null;
20516
+ gestart_op: string | null;
20517
+ herkomst: string | null;
20518
+ id: string;
20519
+ idempotentie_sleutel: string | null;
20520
+ is_herprint: boolean;
20521
+ kopieen: number;
20522
+ layout_id: string | null;
20523
+ lokaal_opgeslagen_op: string | null;
20524
+ lokale_pdf_fout: string | null;
20525
+ lokale_pdf_status: string | null;
20526
+ opgepakt_op: string | null;
20527
+ paginas: number;
20528
+ payload: import("../integrations/supabase/types").Json;
20529
+ pdf_base64: string | null;
20530
+ pdf_url: string | null;
20531
+ pogingen: number;
20532
+ printer_id: string | null;
20533
+ render_html: string | null;
20534
+ resultaat_pdf_base64: string | null;
20535
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20536
+ updated_at: string;
20537
+ volgende_poging: string | null;
20538
+ voltooid_op: string | null;
20539
+ }[];
20540
+ SetofOptions: {
20541
+ from: "*";
20542
+ to: "print_jobs";
20543
+ isOneToOne: false;
20544
+ isSetofReturn: true;
20545
+ };
20546
+ };
20529
20547
  claim_print_jobs: {
20530
20548
  Args: {
20531
20549
  _agent_id: string;
@@ -20550,6 +20568,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
20550
20568
  is_herprint: boolean;
20551
20569
  kopieen: number;
20552
20570
  layout_id: string | null;
20571
+ lokaal_opgeslagen_op: string | null;
20572
+ lokale_pdf_fout: string | null;
20573
+ lokale_pdf_status: string | null;
20553
20574
  opgepakt_op: string | null;
20554
20575
  paginas: number;
20555
20576
  payload: import("../integrations/supabase/types").Json;
@@ -20558,6 +20579,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
20558
20579
  pogingen: number;
20559
20580
  printer_id: string | null;
20560
20581
  render_html: string | null;
20582
+ resultaat_pdf_base64: string | null;
20561
20583
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20562
20584
  updated_at: string;
20563
20585
  volgende_poging: string | null;
@@ -20698,6 +20720,8 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
20698
20720
  order_id: string;
20699
20721
  order_source: string;
20700
20722
  pick_date: string;
20723
+ printed_at: string;
20724
+ printed_today: boolean;
20701
20725
  status: string;
20702
20726
  }[];
20703
20727
  };
@@ -20894,6 +20918,24 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
20894
20918
  };
20895
20919
  Returns: string;
20896
20920
  };
20921
+ floriday_capture_stock_snapshot: {
20922
+ Args: never;
20923
+ Returns: number;
20924
+ };
20925
+ floriday_cleanup_stock_queue_v2: {
20926
+ Args: never;
20927
+ Returns: undefined;
20928
+ };
20929
+ floriday_compact_stock_snapshots: {
20930
+ Args: never;
20931
+ Returns: undefined;
20932
+ };
20933
+ floriday_default_owner: {
20934
+ Args: {
20935
+ p_connection_id: string;
20936
+ };
20937
+ Returns: string;
20938
+ };
20897
20939
  floriday_effective_price: {
20898
20940
  Args: {
20899
20941
  _buyer_id: string;
@@ -20911,6 +20953,34 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
20911
20953
  source_id: string;
20912
20954
  }[];
20913
20955
  };
20956
+ floriday_fill_publish_horizon: {
20957
+ Args: never;
20958
+ Returns: number;
20959
+ };
20960
+ floriday_ingest_sales_orders: {
20961
+ Args: {
20962
+ p_limit?: number;
20963
+ };
20964
+ Returns: number;
20965
+ };
20966
+ floriday_publish_horizon_weeks: {
20967
+ Args: never;
20968
+ Returns: number;
20969
+ };
20970
+ floriday_recompute_inventory: {
20971
+ Args: {
20972
+ p_connection_id: string;
20973
+ p_force?: boolean;
20974
+ p_product_id: string;
20975
+ };
20976
+ Returns: undefined;
20977
+ };
20978
+ floriday_requeue_dead_letters: {
20979
+ Args: {
20980
+ p_connection_id?: string;
20981
+ };
20982
+ Returns: number;
20983
+ };
20914
20984
  format_cart_number: {
20915
20985
  Args: {
20916
20986
  p_pick_date: string;
@@ -21127,6 +21197,131 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21127
21197
  Args: never;
21128
21198
  Returns: string;
21129
21199
  };
21200
+ handover_get: {
21201
+ Args: {
21202
+ _module_id: string;
21203
+ };
21204
+ Returns: import("../integrations/supabase/types").Json;
21205
+ };
21206
+ handover_kern_naam: {
21207
+ Args: {
21208
+ _naam: string;
21209
+ };
21210
+ Returns: string;
21211
+ };
21212
+ handover_ketenmodel: {
21213
+ Args: never;
21214
+ Returns: import("../integrations/supabase/types").Json;
21215
+ };
21216
+ handover_kruisconflicten: {
21217
+ Args: never;
21218
+ Returns: import("../integrations/supabase/types").Json;
21219
+ };
21220
+ handover_list: {
21221
+ Args: never;
21222
+ Returns: import("../integrations/supabase/types").Json;
21223
+ };
21224
+ handover_mag_schrijven: {
21225
+ Args: {
21226
+ _module_id: string;
21227
+ };
21228
+ Returns: boolean;
21229
+ };
21230
+ handover_norm_naam: {
21231
+ Args: {
21232
+ _naam: string;
21233
+ };
21234
+ Returns: string;
21235
+ };
21236
+ handover_publish: {
21237
+ Args: {
21238
+ _bevindingen?: string;
21239
+ _bezit_tabellen?: string[];
21240
+ _conflicten_snapshot?: import("../integrations/supabase/types").Json;
21241
+ _contractfuncties?: string[];
21242
+ _inhoud_md: string;
21243
+ _module_id: string;
21244
+ _module_titel: string;
21245
+ _ontbrekende_contracten?: string[];
21246
+ _samenvatting?: string;
21247
+ };
21248
+ Returns: number;
21249
+ };
21250
+ handover_publish_via_token: {
21251
+ Args: {
21252
+ _bevindingen?: string;
21253
+ _bezit_tabellen?: string[];
21254
+ _conflicten_snapshot?: import("../integrations/supabase/types").Json;
21255
+ _contractfuncties?: string[];
21256
+ _inhoud_md: string;
21257
+ _module_id: string;
21258
+ _module_titel: string;
21259
+ _ontbrekende_contracten?: string[];
21260
+ _samenvatting?: string;
21261
+ _token_hash: string;
21262
+ };
21263
+ Returns: number;
21264
+ };
21265
+ handover_status: {
21266
+ Args: never;
21267
+ Returns: import("../integrations/supabase/types").Json;
21268
+ };
21269
+ handover_synonym_kern: {
21270
+ Args: {
21271
+ _naam: string;
21272
+ };
21273
+ Returns: string;
21274
+ };
21275
+ handover_token_intrekken: {
21276
+ Args: {
21277
+ _id: string;
21278
+ };
21279
+ Returns: boolean;
21280
+ };
21281
+ handover_token_lijst: {
21282
+ Args: never;
21283
+ Returns: import("../integrations/supabase/types").Json;
21284
+ };
21285
+ handover_token_maken: {
21286
+ Args: {
21287
+ _label?: string;
21288
+ _module_id: string;
21289
+ };
21290
+ Returns: string;
21291
+ };
21292
+ handover_update: {
21293
+ Args: {
21294
+ _bezit_tabellen?: string[];
21295
+ _contractfuncties?: string[];
21296
+ _herzieningstermijn_dagen?: number;
21297
+ _inhoud_md?: string;
21298
+ _module_id: string;
21299
+ _module_titel?: string;
21300
+ _samenvatting?: string;
21301
+ _versie: number;
21302
+ };
21303
+ Returns: boolean;
21304
+ } | {
21305
+ Args: {
21306
+ _bevindingen?: string;
21307
+ _bezit_tabellen?: string[];
21308
+ _contractfuncties?: string[];
21309
+ _herzieningstermijn_dagen?: number;
21310
+ _inhoud_md?: string;
21311
+ _module_id: string;
21312
+ _module_titel?: string;
21313
+ _ontbrekende_contracten?: string[];
21314
+ _samenvatting?: string;
21315
+ _versie: number;
21316
+ };
21317
+ Returns: boolean;
21318
+ };
21319
+ handover_versies: {
21320
+ Args: {
21321
+ _module_id: string;
21322
+ };
21323
+ Returns: import("../integrations/supabase/types").Json;
21324
+ };
21130
21325
  has_module_permission: {
21131
21326
  Args: {
21132
21327
  _min: string;
@@ -21146,6 +21341,25 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21146
21341
  Args: never;
21147
21342
  Returns: boolean;
21148
21343
  };
21344
+ instructie_get: {
21345
+ Args: {
21346
+ _sleutel: string;
21347
+ };
21348
+ Returns: import("../integrations/supabase/types").Json;
21349
+ };
21350
+ instructie_list: {
21351
+ Args: never;
21352
+ Returns: import("../integrations/supabase/types").Json;
21353
+ };
21354
+ instructie_publish: {
21355
+ Args: {
21356
+ _inhoud_md: string;
21357
+ _sleutel: string;
21358
+ _titel: string;
21359
+ _toelichting?: string;
21360
+ };
21361
+ Returns: number;
21362
+ };
21149
21363
  invoice_create_from_source: {
21150
21364
  Args: {
21151
21365
  _payload?: import("../integrations/supabase/types").Json;
@@ -21370,6 +21584,12 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21370
21584
  };
21371
21585
  Returns: boolean;
21372
21586
  };
21587
+ logistics_barcode_lookup: {
21588
+ Args: {
21589
+ p_barcode: string;
21590
+ };
21591
+ Returns: import("../integrations/supabase/types").Json;
21592
+ };
21373
21593
  logistics_buffer_criteria: {
21374
21594
  Args: {
21375
21595
  p_settings: import("../integrations/supabase/types").Json;
@@ -21406,6 +21626,10 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21406
21626
  };
21407
21627
  Returns: number;
21408
21628
  };
21629
+ logistics_cancel_orphan_tasks: {
21630
+ Args: never;
21631
+ Returns: number;
21632
+ };
21409
21633
  logistics_capacity_day_check: {
21410
21634
  Args: {
21411
21635
  p_from?: string;
@@ -21426,6 +21650,41 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21426
21650
  };
21427
21651
  Returns: number;
21428
21652
  };
21653
+ logistics_cart_barcode_value: {
21654
+ Args: {
21655
+ _cart_id: string;
21656
+ };
21657
+ Returns: string;
21658
+ };
21659
+ logistics_cart_index: {
21660
+ Args: {
21661
+ p_from?: string;
21662
+ p_to?: string;
21663
+ };
21664
+ Returns: {
21665
+ cart_id: string;
21666
+ cart_index: number;
21667
+ cart_label: string;
21668
+ delivery_date: string;
21669
+ is_announced: boolean;
21670
+ is_controlled: boolean;
21671
+ is_printed: boolean;
21672
+ is_shared: boolean;
21673
+ order_number: string;
21674
+ order_source: string;
21675
+ order_uuid: string;
21676
+ pick_date: string;
21677
+ printed_at: string;
21678
+ shifted: boolean;
21679
+ task_status: string;
21680
+ }[];
21681
+ };
21682
+ logistics_cart_slip_plan: {
21683
+ Args: {
21684
+ p_order_id: string;
21685
+ };
21686
+ Returns: import("../integrations/supabase/types").Json;
21687
+ };
21429
21688
  logistics_check_order_allowed: {
21430
21689
  Args: {
21431
21690
  p_lines: import("../integrations/supabase/types").Json;
@@ -21574,6 +21833,21 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21574
21833
  isSetofReturn: false;
21575
21834
  };
21576
21835
  };
21836
+ logistics_consistency_check: {
21837
+ Args: never;
21838
+ Returns: {
21839
+ agenda_carts: number;
21840
+ announced_carts: number;
21841
+ control_carts: number;
21842
+ delivery_carts: number;
21843
+ ok: boolean;
21844
+ orphan_tasks: number;
21845
+ pick_date: string;
21846
+ raw_carts: number;
21847
+ sales_carts: number;
21848
+ station_carts: number;
21849
+ }[];
21850
+ };
21577
21851
  logistics_delay_customer_email: {
21578
21852
  Args: {
21579
21853
  p_customer: string;
@@ -21587,12 +21861,35 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21587
21861
  subject: string;
21588
21862
  }[];
21589
21863
  };
21864
+ logistics_delivery_agenda: {
21865
+ Args: {
21866
+ p_from?: string;
21867
+ p_to?: string;
21868
+ };
21869
+ Returns: {
21870
+ announced_count: number;
21871
+ cart_count: number;
21872
+ controlled_count: number;
21873
+ delivery_date: string;
21874
+ order_count: number;
21875
+ orders: import("../integrations/supabase/types").Json;
21876
+ plant_count: number;
21877
+ printed_count: number;
21878
+ }[];
21879
+ };
21590
21880
  logistics_document_layout: {
21591
21881
  Args: {
21592
21882
  _document_code: string;
21593
21883
  };
21594
21884
  Returns: import("../integrations/supabase/types").Json;
21595
21885
  };
21886
+ logistics_document_layout_v2: {
21887
+ Args: {
21888
+ _document_code: string;
21889
+ _is_partial?: boolean;
21890
+ };
21891
+ Returns: import("../integrations/supabase/types").Json;
21892
+ };
21596
21893
  logistics_document_station: {
21597
21894
  Args: {
21598
21895
  _document_code: string;
@@ -21618,6 +21915,12 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21618
21915
  };
21619
21916
  Returns: import("../integrations/supabase/types").Json;
21620
21917
  };
21918
+ logistics_ensure_cart_barcode: {
21919
+ Args: {
21920
+ _cart_id: string;
21921
+ };
21922
+ Returns: string;
21923
+ };
21621
21924
  logistics_fail_task: {
21622
21925
  Args: {
21623
21926
  p_error: string;
@@ -21663,6 +21966,16 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21663
21966
  isSetofReturn: false;
21664
21967
  };
21665
21968
  };
21969
+ logistics_floriday_cart_plan: {
21970
+ Args: {
21971
+ p_order_id: string;
21972
+ };
21973
+ Returns: {
21974
+ carrier_type: string;
21975
+ idx: number;
21976
+ packages: number;
21977
+ }[];
21978
+ };
21666
21979
  logistics_floriday_claim_pushes: {
21667
21980
  Args: {
21668
21981
  _lease_seconds?: number;
@@ -21767,6 +22080,25 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21767
22080
  };
21768
22081
  Returns: number;
21769
22082
  };
22083
+ logistics_order_overview: {
22084
+ Args: {
22085
+ p_from?: string;
22086
+ p_to?: string;
22087
+ };
22088
+ Returns: {
22089
+ cart_count: number;
22090
+ customer_name: string;
22091
+ delivery_date: string;
22092
+ order_number: string;
22093
+ order_source: string;
22094
+ order_uuid: string;
22095
+ pick_date: string;
22096
+ plant_count: number;
22097
+ printed_at: string;
22098
+ shifted: boolean;
22099
+ status: string;
22100
+ }[];
22101
+ };
21770
22102
  logistics_order_pick_day: {
21771
22103
  Args: {
21772
22104
  p_order_ref: string;
@@ -21779,6 +22111,22 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21779
22111
  };
21780
22112
  Returns: string;
21781
22113
  };
22114
+ logistics_pick_agenda: {
22115
+ Args: {
22116
+ p_from?: string;
22117
+ p_to?: string;
22118
+ };
22119
+ Returns: {
22120
+ cart_count: number;
22121
+ in_preparation: number;
22122
+ order_count: number;
22123
+ orders: import("../integrations/supabase/types").Json;
22124
+ pick_date: string;
22125
+ plant_count: number;
22126
+ ready: number;
22127
+ shifted_count: number;
22128
+ }[];
22129
+ };
21782
22130
  logistics_pick_email_purpose: {
21783
22131
  Args: never;
21784
22132
  Returns: string;
@@ -21833,6 +22181,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
21833
22181
  };
21834
22182
  Returns: undefined;
21835
22183
  };
22184
+ logistics_plan_floriday_order: {
22185
+ Args: {
22186
+ p_buffer_id?: string;
22187
+ p_order_id: string;
22188
+ };
22189
+ Returns: number;
22190
+ };
21836
22191
  logistics_plan_impact_orders: {
21837
22192
  Args: {
21838
22193
  p_order_id: string;
@@ -22026,6 +22381,14 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
22026
22381
  };
22027
22382
  Returns: string;
22028
22383
  };
22384
+ logistics_shipping_note_from_barcode: {
22385
+ Args: {
22386
+ p_allow_reprint?: boolean;
22387
+ p_barcode: string;
22388
+ p_station_id?: string;
22389
+ };
22390
+ Returns: import("../integrations/supabase/types").Json;
22391
+ };
22029
22392
  logistics_supersede_stale_tasks: {
22030
22393
  Args: {
22031
22394
  p_keep: string[];
@@ -22247,6 +22610,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
22247
22610
  print_job_id: string | null;
22248
22611
  printed_at: string | null;
22249
22612
  printed_by: string | null;
22613
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22250
22614
  printer_id: string | null;
22251
22615
  priority: number;
22252
22616
  reference: string | null;
@@ -22296,6 +22660,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
22296
22660
  print_job_id: string | null;
22297
22661
  printed_at: string | null;
22298
22662
  printed_by: string | null;
22663
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22299
22664
  printer_id: string | null;
22300
22665
  priority: number;
22301
22666
  reference: string | null;
@@ -22350,6 +22715,56 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
22350
22715
  print_job_id: string | null;
22351
22716
  printed_at: string | null;
22352
22717
  printed_by: string | null;
22718
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22719
+ printer_id: string | null;
22720
+ priority: number;
22721
+ reference: string | null;
22722
+ route: string | null;
22723
+ screen_id: string | null;
22724
+ station_id: string | null;
22725
+ status_id: string | null;
22726
+ updated_at: string;
22727
+ warnings: import("../integrations/supabase/types").Json;
22728
+ };
22729
+ SetofOptions: {
22730
+ from: "*";
22731
+ to: "pick_queue";
22732
+ isOneToOne: true;
22733
+ isSetofReturn: false;
22734
+ };
22735
+ };
22736
+ pick_complete_print_cart: {
22737
+ Args: {
22738
+ _cart_id: string;
22739
+ _printer_id: string;
22740
+ _queue_item_id: string;
22741
+ _session_id: string;
22742
+ };
22743
+ Returns: {
22744
+ announced_at: string;
22745
+ assigned_user_id: string | null;
22746
+ barcode: string | null;
22747
+ cancelled_at: string | null;
22748
+ cart_count: number;
22749
+ completed_at: string | null;
22750
+ country_code: string | null;
22751
+ created_at: string;
22752
+ customer_name: string | null;
22753
+ delivery_address: string | null;
22754
+ document_number: string | null;
22755
+ document_type_id: string | null;
22756
+ due_at: string | null;
22757
+ id: string;
22758
+ is_urgent: boolean;
22759
+ line_count: number;
22760
+ order_number: string | null;
22761
+ order_type: string | null;
22762
+ payload: import("../integrations/supabase/types").Json;
22763
+ print_count: number;
22764
+ print_job_id: string | null;
22765
+ printed_at: string | null;
22766
+ printed_by: string | null;
22767
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22353
22768
  printer_id: string | null;
22354
22769
  priority: number;
22355
22770
  reference: string | null;
@@ -22393,6 +22808,15 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
22393
22808
  _session_id?: string;
22394
22809
  };
22395
22810
  Returns: string;
22811
+ } | {
22812
+ Args: {
22813
+ _cart_id: string;
22814
+ _is_herprint: boolean;
22815
+ _printer_id: string;
22816
+ _queue_item_id: string;
22817
+ _session_id: string;
22818
+ };
22819
+ Returns: string;
22396
22820
  };
22397
22821
  pick_order_context: {
22398
22822
  Args: {
@@ -22473,6 +22897,54 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
22473
22897
  print_job_id: string | null;
22474
22898
  printed_at: string | null;
22475
22899
  printed_by: string | null;
22900
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22901
+ printer_id: string | null;
22902
+ priority: number;
22903
+ reference: string | null;
22904
+ route: string | null;
22905
+ screen_id: string | null;
22906
+ station_id: string | null;
22907
+ status_id: string | null;
22908
+ updated_at: string;
22909
+ warnings: import("../integrations/supabase/types").Json;
22910
+ };
22911
+ SetofOptions: {
22912
+ from: "*";
22913
+ to: "pick_queue";
22914
+ isOneToOne: true;
22915
+ isSetofReturn: false;
22916
+ };
22917
+ } | {
22918
+ Args: {
22919
+ _cart_id?: string;
22920
+ _queue_item_id: string;
22921
+ _session_id: string;
22922
+ };
22923
+ Returns: {
22924
+ announced_at: string;
22925
+ assigned_user_id: string | null;
22926
+ barcode: string | null;
22927
+ cancelled_at: string | null;
22928
+ cart_count: number;
22929
+ completed_at: string | null;
22930
+ country_code: string | null;
22931
+ created_at: string;
22932
+ customer_name: string | null;
22933
+ delivery_address: string | null;
22934
+ document_number: string | null;
22935
+ document_type_id: string | null;
22936
+ due_at: string | null;
22937
+ id: string;
22938
+ is_urgent: boolean;
22939
+ line_count: number;
22940
+ order_number: string | null;
22941
+ order_type: string | null;
22942
+ payload: import("../integrations/supabase/types").Json;
22943
+ print_count: number;
22944
+ print_job_id: string | null;
22945
+ printed_at: string | null;
22946
+ printed_by: string | null;
22947
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22476
22948
  printer_id: string | null;
22477
22949
  priority: number;
22478
22950
  reference: string | null;
@@ -22585,6 +23057,66 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
22585
23057
  };
22586
23058
  Returns: undefined;
22587
23059
  };
23060
+ planning_cancel_item: {
23061
+ Args: {
23062
+ _id: string;
23063
+ };
23064
+ Returns: undefined;
23065
+ };
23066
+ planning_list: {
23067
+ Args: {
23068
+ _from: string;
23069
+ _to: string;
23070
+ };
23071
+ Returns: {
23072
+ assigned_monteur_id: string | null;
23073
+ assistants: import("../integrations/supabase/types").Json | null;
23074
+ budget_mandate_cents: number | null;
23075
+ created_at: string | null;
23076
+ created_by: string | null;
23077
+ customer_id: string | null;
23078
+ customer_name: string | null;
23079
+ duration_minutes: number | null;
23080
+ end_at: string | null;
23081
+ id: string | null;
23082
+ needs_detail_review: boolean | null;
23083
+ notes: string | null;
23084
+ project_number: string | null;
23085
+ review_reasons: string[] | null;
23086
+ start_at: string | null;
23087
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
23088
+ updated_at: string | null;
23089
+ viewer_role: string | null;
23090
+ werkbon_id: string | null;
23091
+ work_address: string | null;
23092
+ }[];
23093
+ SetofOptions: {
23094
+ from: "*";
23095
+ to: "planning_overview";
23096
+ isOneToOne: false;
23097
+ isSetofReturn: true;
23098
+ };
23099
+ };
23100
+ planning_set_assistants: {
23101
+ Args: {
23102
+ _monteur_ids: string[];
23103
+ _planning_item_id: string;
23104
+ };
23105
+ Returns: undefined;
23106
+ };
23107
+ planning_upsert_item: {
23108
+ Args: {
23109
+ _assigned_monteur_id: string;
23110
+ _end_at: string;
23111
+ _notes?: string;
23112
+ _start_at: string;
23113
+ _werkbon_id: string;
23114
+ };
23115
+ Returns: {
23116
+ action: string;
23117
+ id: string;
23118
+ }[];
23119
+ };
22588
23120
  print_preview_toestaan: {
22589
23121
  Args: {
22590
23122
  _max?: number;
@@ -22757,6 +23289,12 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
22757
23289
  };
22758
23290
  Returns: string;
22759
23291
  };
23292
+ resolve_print_job_printer_id: {
23293
+ Args: {
23294
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
23295
+ };
23296
+ Returns: string;
23297
+ };
22760
23298
  resolve_product_id_for_item: {
22761
23299
  Args: {
22762
23300
  p_product_name: string;
@@ -23160,6 +23698,26 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
23160
23698
  };
23161
23699
  Returns: string[];
23162
23700
  };
23701
+ start_time_log_at: {
23702
+ Args: {
23703
+ p_clicked_at?: string;
23704
+ p_employee_id: string;
23705
+ p_start_lat?: number;
23706
+ p_start_lng?: number;
23707
+ p_type: string;
23708
+ p_work_order_id?: string;
23709
+ };
23710
+ Returns: import("../integrations/supabase/types").Json;
23711
+ };
23712
+ stop_time_log: {
23713
+ Args: {
23714
+ p_employee_id: string;
23715
+ p_end_lat?: number;
23716
+ p_end_lng?: number;
23717
+ p_end_time: string;
23718
+ };
23719
+ Returns: import("../integrations/supabase/types").Json;
23720
+ };
23163
23721
  switch_time_log: {
23164
23722
  Args: {
23165
23723
  p_employee_id: string;
@@ -23348,7 +23906,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
23348
23906
  };
23349
23907
  CompositeTypes: { [_ in never]: never; };
23350
23908
  }, {
23351
- PostgrestVersion: "14.17";
23909
+ PostgrestVersion: "14.5";
23352
23910
  }>;
23353
23911
  userId: string;
23354
23912
  claims: import("@supabase/auth-js").User;
@@ -26214,6 +26772,84 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
26214
26772
  };
26215
26773
  Relationships: [];
26216
26774
  };
26775
+ delivery_notes: {
26776
+ Row: {
26777
+ byte_size: number | null;
26778
+ connection_id: string | null;
26779
+ content_type: string;
26780
+ created_at: string;
26781
+ error_message: string | null;
26782
+ fetched_at: string | null;
26783
+ fulfillment_order_id: string | null;
26784
+ http_status: number | null;
26785
+ id: string;
26786
+ label_code: string | null;
26787
+ letter: string | null;
26788
+ load_carrier_index: number | null;
26789
+ load_carrier_type: string | null;
26790
+ order_id: string | null;
26791
+ order_number: string | null;
26792
+ packages: number | null;
26793
+ source: string;
26794
+ status: string;
26795
+ storage_bucket: string;
26796
+ storage_path: string | null;
26797
+ updated_at: string;
26798
+ };
26799
+ Insert: {
26800
+ byte_size?: number | null;
26801
+ connection_id?: string | null;
26802
+ content_type?: string;
26803
+ created_at?: string;
26804
+ error_message?: string | null;
26805
+ fetched_at?: string | null;
26806
+ fulfillment_order_id?: string | null;
26807
+ http_status?: number | null;
26808
+ id?: string;
26809
+ label_code?: string | null;
26810
+ letter?: string | null;
26811
+ load_carrier_index?: number | null;
26812
+ load_carrier_type?: string | null;
26813
+ order_id?: string | null;
26814
+ order_number?: string | null;
26815
+ packages?: number | null;
26816
+ source?: string;
26817
+ status?: string;
26818
+ storage_bucket?: string;
26819
+ storage_path?: string | null;
26820
+ updated_at?: string;
26821
+ };
26822
+ Update: {
26823
+ byte_size?: number | null;
26824
+ connection_id?: string | null;
26825
+ content_type?: string;
26826
+ created_at?: string;
26827
+ error_message?: string | null;
26828
+ fetched_at?: string | null;
26829
+ fulfillment_order_id?: string | null;
26830
+ http_status?: number | null;
26831
+ id?: string;
26832
+ label_code?: string | null;
26833
+ letter?: string | null;
26834
+ load_carrier_index?: number | null;
26835
+ load_carrier_type?: string | null;
26836
+ order_id?: string | null;
26837
+ order_number?: string | null;
26838
+ packages?: number | null;
26839
+ source?: string;
26840
+ status?: string;
26841
+ storage_bucket?: string;
26842
+ storage_path?: string | null;
26843
+ updated_at?: string;
26844
+ };
26845
+ Relationships: [{
26846
+ foreignKeyName: "delivery_notes_order_id_fkey";
26847
+ columns: ["order_id"];
26848
+ isOneToOne: false;
26849
+ referencedRelation: "orders";
26850
+ referencedColumns: ["id"];
26851
+ }];
26852
+ };
26217
26853
  document_bronregels: {
26218
26854
  Row: {
26219
26855
  bron: string;
@@ -29267,10 +29903,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
29267
29903
  };
29268
29904
  floriday_connections: {
29269
29905
  Row: {
29270
- access_token: string | null;
29271
29906
  api_key: string;
29272
- client_id: string;
29273
- client_secret: string;
29274
29907
  created_at: string;
29275
29908
  customers_endpoint: string | null;
29276
29909
  environment: string;
@@ -29285,10 +29918,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
29285
29918
  updated_at: string;
29286
29919
  };
29287
29920
  Insert: {
29288
- access_token?: string | null;
29289
29921
  api_key: string;
29290
- client_id: string;
29291
- client_secret: string;
29292
29922
  created_at?: string;
29293
29923
  customers_endpoint?: string | null;
29294
29924
  environment: string;
@@ -29303,10 +29933,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
29303
29933
  updated_at?: string;
29304
29934
  };
29305
29935
  Update: {
29306
- access_token?: string | null;
29307
29936
  api_key?: string;
29308
- client_id?: string;
29309
- client_secret?: string;
29310
29937
  created_at?: string;
29311
29938
  customers_endpoint?: string | null;
29312
29939
  environment?: string;
@@ -29390,6 +30017,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
29390
30017
  attempts: number;
29391
30018
  connection_id: string;
29392
30019
  created_at: string;
30020
+ dead_lettered_at: string | null;
29393
30021
  desired_available: boolean | null;
29394
30022
  gateway_attempt_id: string | null;
29395
30023
  id: string;
@@ -29398,9 +30026,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
29398
30026
  locked_by: string | null;
29399
30027
  next_attempt_at: string;
29400
30028
  number_of_pieces: number;
30029
+ product_id: string | null;
29401
30030
  sent_at: string | null;
29402
30031
  status: string;
30032
+ stock_mode: string | null;
29403
30033
  superseded_by: string | null;
30034
+ target_week: number | null;
30035
+ target_year: number | null;
29404
30036
  trade_item_id: string;
29405
30037
  updated_at: string;
29406
30038
  user_id: string;
@@ -29409,6 +30041,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
29409
30041
  attempts?: number;
29410
30042
  connection_id: string;
29411
30043
  created_at?: string;
30044
+ dead_lettered_at?: string | null;
29412
30045
  desired_available?: boolean | null;
29413
30046
  gateway_attempt_id?: string | null;
29414
30047
  id?: string;
@@ -29417,9 +30050,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
29417
30050
  locked_by?: string | null;
29418
30051
  next_attempt_at?: string;
29419
30052
  number_of_pieces?: number;
30053
+ product_id?: string | null;
29420
30054
  sent_at?: string | null;
29421
30055
  status?: string;
30056
+ stock_mode?: string | null;
29422
30057
  superseded_by?: string | null;
30058
+ target_week?: number | null;
30059
+ target_year?: number | null;
29423
30060
  trade_item_id: string;
29424
30061
  updated_at?: string;
29425
30062
  user_id: string;
@@ -29428,6 +30065,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
29428
30065
  attempts?: number;
29429
30066
  connection_id?: string;
29430
30067
  created_at?: string;
30068
+ dead_lettered_at?: string | null;
29431
30069
  desired_available?: boolean | null;
29432
30070
  gateway_attempt_id?: string | null;
29433
30071
  id?: string;
@@ -29436,9 +30074,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
29436
30074
  locked_by?: string | null;
29437
30075
  next_attempt_at?: string;
29438
30076
  number_of_pieces?: number;
30077
+ product_id?: string | null;
29439
30078
  sent_at?: string | null;
29440
30079
  status?: string;
30080
+ stock_mode?: string | null;
29441
30081
  superseded_by?: string | null;
30082
+ target_week?: number | null;
30083
+ target_year?: number | null;
29442
30084
  trade_item_id?: string;
29443
30085
  updated_at?: string;
29444
30086
  user_id?: string;
@@ -29847,6 +30489,87 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
29847
30489
  referencedColumns: ["id"];
29848
30490
  }];
29849
30491
  };
30492
+ floriday_inventory_settings: {
30493
+ Row: {
30494
+ buffer_quantity: number;
30495
+ connection_id: string;
30496
+ created_at: string;
30497
+ desired_availability: boolean;
30498
+ desired_quantity: number;
30499
+ fixed_quantity: number | null;
30500
+ floriday_trade_item_id: string | null;
30501
+ id: string;
30502
+ last_confirmed_at: string | null;
30503
+ last_enqueued_at: string | null;
30504
+ last_published_at: string | null;
30505
+ last_sync_error: string | null;
30506
+ manual_quantity: number | null;
30507
+ maximum_quantity: number | null;
30508
+ product_id: string;
30509
+ quantity_control: string;
30510
+ remote_available: boolean | null;
30511
+ remote_checked_at: string | null;
30512
+ remote_quantity: number | null;
30513
+ stock_mode: string;
30514
+ sync_status: string;
30515
+ updated_at: string;
30516
+ updated_by: string | null;
30517
+ user_id: string;
30518
+ };
30519
+ Insert: {
30520
+ buffer_quantity?: number;
30521
+ connection_id: string;
30522
+ created_at?: string;
30523
+ desired_availability?: boolean;
30524
+ desired_quantity?: number;
30525
+ fixed_quantity?: number | null;
30526
+ floriday_trade_item_id?: string | null;
30527
+ id?: string;
30528
+ last_confirmed_at?: string | null;
30529
+ last_enqueued_at?: string | null;
30530
+ last_published_at?: string | null;
30531
+ last_sync_error?: string | null;
30532
+ manual_quantity?: number | null;
30533
+ maximum_quantity?: number | null;
30534
+ product_id: string;
30535
+ quantity_control?: string;
30536
+ remote_available?: boolean | null;
30537
+ remote_checked_at?: string | null;
30538
+ remote_quantity?: number | null;
30539
+ stock_mode?: string;
30540
+ sync_status?: string;
30541
+ updated_at?: string;
30542
+ updated_by?: string | null;
30543
+ user_id: string;
30544
+ };
30545
+ Update: {
30546
+ buffer_quantity?: number;
30547
+ connection_id?: string;
30548
+ created_at?: string;
30549
+ desired_availability?: boolean;
30550
+ desired_quantity?: number;
30551
+ fixed_quantity?: number | null;
30552
+ floriday_trade_item_id?: string | null;
30553
+ id?: string;
30554
+ last_confirmed_at?: string | null;
30555
+ last_enqueued_at?: string | null;
30556
+ last_published_at?: string | null;
30557
+ last_sync_error?: string | null;
30558
+ manual_quantity?: number | null;
30559
+ maximum_quantity?: number | null;
30560
+ product_id?: string;
30561
+ quantity_control?: string;
30562
+ remote_available?: boolean | null;
30563
+ remote_checked_at?: string | null;
30564
+ remote_quantity?: number | null;
30565
+ stock_mode?: string;
30566
+ sync_status?: string;
30567
+ updated_at?: string;
30568
+ updated_by?: string | null;
30569
+ user_id?: string;
30570
+ };
30571
+ Relationships: [];
30572
+ };
29850
30573
  floriday_invoices_cache: {
29851
30574
  Row: {
29852
30575
  buyer_organization_id: string | null;
@@ -30135,6 +30858,39 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
30135
30858
  };
30136
30859
  Relationships: [];
30137
30860
  };
30861
+ floriday_sales_order_ingest: {
30862
+ Row: {
30863
+ connection_id: string;
30864
+ created_at: string;
30865
+ id: string;
30866
+ impact: import("../integrations/supabase/types").Json;
30867
+ order_status: string | null;
30868
+ order_version: number;
30869
+ processed_at: string;
30870
+ sales_order_id: string;
30871
+ };
30872
+ Insert: {
30873
+ connection_id: string;
30874
+ created_at?: string;
30875
+ id?: string;
30876
+ impact?: import("../integrations/supabase/types").Json;
30877
+ order_status?: string | null;
30878
+ order_version?: number;
30879
+ processed_at?: string;
30880
+ sales_order_id: string;
30881
+ };
30882
+ Update: {
30883
+ connection_id?: string;
30884
+ created_at?: string;
30885
+ id?: string;
30886
+ impact?: import("../integrations/supabase/types").Json;
30887
+ order_status?: string | null;
30888
+ order_version?: number;
30889
+ processed_at?: string;
30890
+ sales_order_id?: string;
30891
+ };
30892
+ Relationships: [];
30893
+ };
30138
30894
  floriday_sales_strategies_cache: {
30139
30895
  Row: {
30140
30896
  connection_id: string;
@@ -30234,6 +30990,39 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
30234
30990
  };
30235
30991
  Relationships: [];
30236
30992
  };
30993
+ floriday_sync_cursors: {
30994
+ Row: {
30995
+ connection_id: string;
30996
+ created_at: string;
30997
+ id: string;
30998
+ last_error: string | null;
30999
+ last_sync_at: string | null;
31000
+ resource_type: string;
31001
+ sequence_number: number;
31002
+ updated_at: string;
31003
+ };
31004
+ Insert: {
31005
+ connection_id: string;
31006
+ created_at?: string;
31007
+ id?: string;
31008
+ last_error?: string | null;
31009
+ last_sync_at?: string | null;
31010
+ resource_type: string;
31011
+ sequence_number?: number;
31012
+ updated_at?: string;
31013
+ };
31014
+ Update: {
31015
+ connection_id?: string;
31016
+ created_at?: string;
31017
+ id?: string;
31018
+ last_error?: string | null;
31019
+ last_sync_at?: string | null;
31020
+ resource_type?: string;
31021
+ sequence_number?: number;
31022
+ updated_at?: string;
31023
+ };
31024
+ Relationships: [];
31025
+ };
30237
31026
  floriday_sync_state: {
30238
31027
  Row: {
30239
31028
  connection_id: string;
@@ -30924,6 +31713,42 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
30924
31713
  };
30925
31714
  Relationships: [];
30926
31715
  };
31716
+ inventory_stock_snapshots: {
31717
+ Row: {
31718
+ connection_id: string;
31719
+ created_at: string;
31720
+ erp_available_quantity: number;
31721
+ floriday_desired_quantity: number;
31722
+ floriday_remote_quantity: number | null;
31723
+ granularity: string;
31724
+ id: string;
31725
+ snapshot_at: string;
31726
+ user_id: string | null;
31727
+ };
31728
+ Insert: {
31729
+ connection_id: string;
31730
+ created_at?: string;
31731
+ erp_available_quantity?: number;
31732
+ floriday_desired_quantity?: number;
31733
+ floriday_remote_quantity?: number | null;
31734
+ granularity?: string;
31735
+ id?: string;
31736
+ snapshot_at?: string;
31737
+ user_id?: string | null;
31738
+ };
31739
+ Update: {
31740
+ connection_id?: string;
31741
+ created_at?: string;
31742
+ erp_available_quantity?: number;
31743
+ floriday_desired_quantity?: number;
31744
+ floriday_remote_quantity?: number | null;
31745
+ granularity?: string;
31746
+ id?: string;
31747
+ snapshot_at?: string;
31748
+ user_id?: string | null;
31749
+ };
31750
+ Relationships: [];
31751
+ };
30927
31752
  invoice_items: {
30928
31753
  Row: {
30929
31754
  created_at: string;
@@ -31432,13 +32257,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
31432
32257
  segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
31433
32258
  updated_at?: string;
31434
32259
  };
31435
- Relationships: [{
31436
- foreignKeyName: "itk_customers_legacy_customer_id_fkey";
31437
- columns: ["legacy_customer_id"];
31438
- isOneToOne: false;
31439
- referencedRelation: "customers";
31440
- referencedColumns: ["id"];
31441
- }];
32260
+ Relationships: [];
31442
32261
  };
31443
32262
  itk_dynamic_fields: {
31444
32263
  Row: {
@@ -31470,6 +32289,180 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
31470
32289
  };
31471
32290
  Relationships: [];
31472
32291
  };
32292
+ itk_handover_rechten: {
32293
+ Row: {
32294
+ created_at: string;
32295
+ id: string;
32296
+ module_id: string;
32297
+ rol: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
32298
+ updated_at: string;
32299
+ user_id: string | null;
32300
+ };
32301
+ Insert: {
32302
+ created_at?: string;
32303
+ id?: string;
32304
+ module_id: string;
32305
+ rol?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
32306
+ updated_at?: string;
32307
+ user_id?: string | null;
32308
+ };
32309
+ Update: {
32310
+ created_at?: string;
32311
+ id?: string;
32312
+ module_id?: string;
32313
+ rol?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
32314
+ updated_at?: string;
32315
+ user_id?: string | null;
32316
+ };
32317
+ Relationships: [];
32318
+ };
32319
+ itk_handover_tokens: {
32320
+ Row: {
32321
+ aangemaakt_door: string | null;
32322
+ created_at: string;
32323
+ id: string;
32324
+ is_actief: boolean;
32325
+ laatst_gebruikt_op: string | null;
32326
+ label: string;
32327
+ module_id: string;
32328
+ token_hash: string;
32329
+ updated_at: string;
32330
+ verloopt_op: string | null;
32331
+ };
32332
+ Insert: {
32333
+ aangemaakt_door?: string | null;
32334
+ created_at?: string;
32335
+ id?: string;
32336
+ is_actief?: boolean;
32337
+ laatst_gebruikt_op?: string | null;
32338
+ label?: string;
32339
+ module_id: string;
32340
+ token_hash: string;
32341
+ updated_at?: string;
32342
+ verloopt_op?: string | null;
32343
+ };
32344
+ Update: {
32345
+ aangemaakt_door?: string | null;
32346
+ created_at?: string;
32347
+ id?: string;
32348
+ is_actief?: boolean;
32349
+ laatst_gebruikt_op?: string | null;
32350
+ label?: string;
32351
+ module_id?: string;
32352
+ token_hash?: string;
32353
+ updated_at?: string;
32354
+ verloopt_op?: string | null;
32355
+ };
32356
+ Relationships: [];
32357
+ };
32358
+ itk_module_handovers: {
32359
+ Row: {
32360
+ bevindingen: string | null;
32361
+ bezit_tabellen: string[];
32362
+ conflicten_snapshot: import("../integrations/supabase/types").Json;
32363
+ contractfuncties: string[];
32364
+ created_at: string;
32365
+ eigenaar_module_id: string | null;
32366
+ gepubliceerd_door: string | null;
32367
+ gepubliceerd_op: string;
32368
+ herzieningstermijn_dagen: number;
32369
+ id: string;
32370
+ inhoud_md: string;
32371
+ is_actueel: boolean;
32372
+ module_id: string;
32373
+ module_titel: string;
32374
+ ontbrekende_contracten: string[];
32375
+ samenvatting: string | null;
32376
+ updated_at: string;
32377
+ versie: number;
32378
+ };
32379
+ Insert: {
32380
+ bevindingen?: string | null;
32381
+ bezit_tabellen?: string[];
32382
+ conflicten_snapshot?: import("../integrations/supabase/types").Json;
32383
+ contractfuncties?: string[];
32384
+ created_at?: string;
32385
+ eigenaar_module_id?: string | null;
32386
+ gepubliceerd_door?: string | null;
32387
+ gepubliceerd_op?: string;
32388
+ herzieningstermijn_dagen?: number;
32389
+ id?: string;
32390
+ inhoud_md: string;
32391
+ is_actueel?: boolean;
32392
+ module_id: string;
32393
+ module_titel: string;
32394
+ ontbrekende_contracten?: string[];
32395
+ samenvatting?: string | null;
32396
+ updated_at?: string;
32397
+ versie?: number;
32398
+ };
32399
+ Update: {
32400
+ bevindingen?: string | null;
32401
+ bezit_tabellen?: string[];
32402
+ conflicten_snapshot?: import("../integrations/supabase/types").Json;
32403
+ contractfuncties?: string[];
32404
+ created_at?: string;
32405
+ eigenaar_module_id?: string | null;
32406
+ gepubliceerd_door?: string | null;
32407
+ gepubliceerd_op?: string;
32408
+ herzieningstermijn_dagen?: number;
32409
+ id?: string;
32410
+ inhoud_md?: string;
32411
+ is_actueel?: boolean;
32412
+ module_id?: string;
32413
+ module_titel?: string;
32414
+ ontbrekende_contracten?: string[];
32415
+ samenvatting?: string | null;
32416
+ updated_at?: string;
32417
+ versie?: number;
32418
+ };
32419
+ Relationships: [];
32420
+ };
32421
+ itk_module_instructies: {
32422
+ Row: {
32423
+ created_at: string;
32424
+ eigenaar_module_id: string;
32425
+ gepubliceerd_door: string | null;
32426
+ gepubliceerd_op: string;
32427
+ id: string;
32428
+ inhoud_md: string;
32429
+ is_actueel: boolean;
32430
+ sleutel: string;
32431
+ titel: string;
32432
+ toelichting: string | null;
32433
+ updated_at: string;
32434
+ versie: number;
32435
+ };
32436
+ Insert: {
32437
+ created_at?: string;
32438
+ eigenaar_module_id?: string;
32439
+ gepubliceerd_door?: string | null;
32440
+ gepubliceerd_op?: string;
32441
+ id?: string;
32442
+ inhoud_md: string;
32443
+ is_actueel?: boolean;
32444
+ sleutel: string;
32445
+ titel: string;
32446
+ toelichting?: string | null;
32447
+ updated_at?: string;
32448
+ versie?: number;
32449
+ };
32450
+ Update: {
32451
+ created_at?: string;
32452
+ eigenaar_module_id?: string;
32453
+ gepubliceerd_door?: string | null;
32454
+ gepubliceerd_op?: string;
32455
+ id?: string;
32456
+ inhoud_md?: string;
32457
+ is_actueel?: boolean;
32458
+ sleutel?: string;
32459
+ titel?: string;
32460
+ toelichting?: string | null;
32461
+ updated_at?: string;
32462
+ versie?: number;
32463
+ };
32464
+ Relationships: [];
32465
+ };
31473
32466
  itk_offerte_events: {
31474
32467
  Row: {
31475
32468
  created_at: string;
@@ -32328,6 +33321,27 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
32328
33321
  };
32329
33322
  Relationships: [];
32330
33323
  };
33324
+ logistics_cart_barcode: {
33325
+ Row: {
33326
+ barcode: string;
33327
+ cart_id: string;
33328
+ created_at: string;
33329
+ order_id: string | null;
33330
+ };
33331
+ Insert: {
33332
+ barcode: string;
33333
+ cart_id: string;
33334
+ created_at?: string;
33335
+ order_id?: string | null;
33336
+ };
33337
+ Update: {
33338
+ barcode?: string;
33339
+ cart_id?: string;
33340
+ created_at?: string;
33341
+ order_id?: string | null;
33342
+ };
33343
+ Relationships: [];
33344
+ };
32331
33345
  logistics_decisions: {
32332
33346
  Row: {
32333
33347
  created_at: string;
@@ -33156,6 +34170,36 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
33156
34170
  referencedColumns: ["id"];
33157
34171
  }];
33158
34172
  };
34173
+ logistics_shipping_note_scan: {
34174
+ Row: {
34175
+ barcode: string;
34176
+ cart_id: string;
34177
+ id: string;
34178
+ is_reprint: boolean;
34179
+ order_id: string | null;
34180
+ print_job_id: string | null;
34181
+ scanned_at: string;
34182
+ };
34183
+ Insert: {
34184
+ barcode: string;
34185
+ cart_id: string;
34186
+ id?: string;
34187
+ is_reprint?: boolean;
34188
+ order_id?: string | null;
34189
+ print_job_id?: string | null;
34190
+ scanned_at?: string;
34191
+ };
34192
+ Update: {
34193
+ barcode?: string;
34194
+ cart_id?: string;
34195
+ id?: string;
34196
+ is_reprint?: boolean;
34197
+ order_id?: string | null;
34198
+ print_job_id?: string | null;
34199
+ scanned_at?: string;
34200
+ };
34201
+ Relationships: [];
34202
+ };
33159
34203
  logistics_staff_planning: {
33160
34204
  Row: {
33161
34205
  created_at: string;
@@ -35977,6 +37021,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
35977
37021
  print_job_id: string | null;
35978
37022
  printed_at: string | null;
35979
37023
  printed_by: string | null;
37024
+ printed_cart_ids: import("../integrations/supabase/types").Json;
35980
37025
  printer_id: string | null;
35981
37026
  priority: number;
35982
37027
  reference: string | null;
@@ -36011,6 +37056,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
36011
37056
  print_job_id?: string | null;
36012
37057
  printed_at?: string | null;
36013
37058
  printed_by?: string | null;
37059
+ printed_cart_ids?: import("../integrations/supabase/types").Json;
36014
37060
  printer_id?: string | null;
36015
37061
  priority?: number;
36016
37062
  reference?: string | null;
@@ -36045,6 +37091,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
36045
37091
  print_job_id?: string | null;
36046
37092
  printed_at?: string | null;
36047
37093
  printed_by?: string | null;
37094
+ printed_cart_ids?: import("../integrations/supabase/types").Json;
36048
37095
  printer_id?: string | null;
36049
37096
  priority?: number;
36050
37097
  reference?: string | null;
@@ -36844,6 +37891,12 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
36844
37891
  isOneToOne: false;
36845
37892
  referencedRelation: "planning_items";
36846
37893
  referencedColumns: ["id"];
37894
+ }, {
37895
+ foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
37896
+ columns: ["planning_item_id"];
37897
+ isOneToOne: false;
37898
+ referencedRelation: "planning_overview";
37899
+ referencedColumns: ["id"];
36847
37900
  }];
36848
37901
  };
36849
37902
  planning_items: {
@@ -37022,6 +38075,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
37022
38075
  is_herprint: boolean;
37023
38076
  kopieen: number;
37024
38077
  layout_id: string | null;
38078
+ lokaal_opgeslagen_op: string | null;
38079
+ lokale_pdf_fout: string | null;
38080
+ lokale_pdf_status: string | null;
37025
38081
  opgepakt_op: string | null;
37026
38082
  paginas: number;
37027
38083
  payload: import("../integrations/supabase/types").Json;
@@ -37030,6 +38086,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
37030
38086
  pogingen: number;
37031
38087
  printer_id: string | null;
37032
38088
  render_html: string | null;
38089
+ resultaat_pdf_base64: string | null;
37033
38090
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
37034
38091
  updated_at: string;
37035
38092
  volgende_poging: string | null;
@@ -37054,6 +38111,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
37054
38111
  is_herprint?: boolean;
37055
38112
  kopieen?: number;
37056
38113
  layout_id?: string | null;
38114
+ lokaal_opgeslagen_op?: string | null;
38115
+ lokale_pdf_fout?: string | null;
38116
+ lokale_pdf_status?: string | null;
37057
38117
  opgepakt_op?: string | null;
37058
38118
  paginas?: number;
37059
38119
  payload?: import("../integrations/supabase/types").Json;
@@ -37062,6 +38122,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
37062
38122
  pogingen?: number;
37063
38123
  printer_id?: string | null;
37064
38124
  render_html?: string | null;
38125
+ resultaat_pdf_base64?: string | null;
37065
38126
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
37066
38127
  updated_at?: string;
37067
38128
  volgende_poging?: string | null;
@@ -37086,6 +38147,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
37086
38147
  is_herprint?: boolean;
37087
38148
  kopieen?: number;
37088
38149
  layout_id?: string | null;
38150
+ lokaal_opgeslagen_op?: string | null;
38151
+ lokale_pdf_fout?: string | null;
38152
+ lokale_pdf_status?: string | null;
37089
38153
  opgepakt_op?: string | null;
37090
38154
  paginas?: number;
37091
38155
  payload?: import("../integrations/supabase/types").Json;
@@ -37094,6 +38158,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
37094
38158
  pogingen?: number;
37095
38159
  printer_id?: string | null;
37096
38160
  render_html?: string | null;
38161
+ resultaat_pdf_base64?: string | null;
37097
38162
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
37098
38163
  updated_at?: string;
37099
38164
  volgende_poging?: string | null;
@@ -37484,6 +38549,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
37484
38549
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37485
38550
  online: boolean;
37486
38551
  papierformaat: string;
38552
+ pdf_map: string | null;
37487
38553
  poort: number | null;
37488
38554
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37489
38555
  systeemnaam: string;
@@ -37509,6 +38575,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
37509
38575
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37510
38576
  online?: boolean;
37511
38577
  papierformaat?: string;
38578
+ pdf_map?: string | null;
37512
38579
  poort?: number | null;
37513
38580
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37514
38581
  systeemnaam?: string;
@@ -37534,6 +38601,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
37534
38601
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37535
38602
  online?: boolean;
37536
38603
  papierformaat?: string;
38604
+ pdf_map?: string | null;
37537
38605
  poort?: number | null;
37538
38606
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37539
38607
  systeemnaam?: string;
@@ -38406,450 +39474,6 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
38406
39474
  referencedColumns: ["id"];
38407
39475
  }];
38408
39476
  };
38409
- quote_activities: {
38410
- Row: {
38411
- created_at: string;
38412
- event_type: string;
38413
- id: string;
38414
- metadata: import("../integrations/supabase/types").Json;
38415
- quote_id: string;
38416
- user_id: string | null;
38417
- };
38418
- Insert: {
38419
- created_at?: string;
38420
- event_type: string;
38421
- id?: string;
38422
- metadata?: import("../integrations/supabase/types").Json;
38423
- quote_id: string;
38424
- user_id?: string | null;
38425
- };
38426
- Update: {
38427
- created_at?: string;
38428
- event_type?: string;
38429
- id?: string;
38430
- metadata?: import("../integrations/supabase/types").Json;
38431
- quote_id?: string;
38432
- user_id?: string | null;
38433
- };
38434
- Relationships: [{
38435
- foreignKeyName: "quote_activities_quote_id_fkey";
38436
- columns: ["quote_id"];
38437
- isOneToOne: false;
38438
- referencedRelation: "quotes";
38439
- referencedColumns: ["id"];
38440
- }];
38441
- };
38442
- quote_attachments: {
38443
- Row: {
38444
- created_at: string;
38445
- file_name: string;
38446
- file_size: number | null;
38447
- file_url: string;
38448
- id: string;
38449
- mime_type: string | null;
38450
- quote_id: string;
38451
- };
38452
- Insert: {
38453
- created_at?: string;
38454
- file_name: string;
38455
- file_size?: number | null;
38456
- file_url: string;
38457
- id?: string;
38458
- mime_type?: string | null;
38459
- quote_id: string;
38460
- };
38461
- Update: {
38462
- created_at?: string;
38463
- file_name?: string;
38464
- file_size?: number | null;
38465
- file_url?: string;
38466
- id?: string;
38467
- mime_type?: string | null;
38468
- quote_id?: string;
38469
- };
38470
- Relationships: [{
38471
- foreignKeyName: "quote_attachments_quote_id_fkey";
38472
- columns: ["quote_id"];
38473
- isOneToOne: false;
38474
- referencedRelation: "quotes";
38475
- referencedColumns: ["id"];
38476
- }];
38477
- };
38478
- quote_field_options: {
38479
- Row: {
38480
- created_at: string;
38481
- field_id: string;
38482
- id: string;
38483
- label: string;
38484
- sort_order: number;
38485
- value: string;
38486
- };
38487
- Insert: {
38488
- created_at?: string;
38489
- field_id: string;
38490
- id?: string;
38491
- label: string;
38492
- sort_order?: number;
38493
- value: string;
38494
- };
38495
- Update: {
38496
- created_at?: string;
38497
- field_id?: string;
38498
- id?: string;
38499
- label?: string;
38500
- sort_order?: number;
38501
- value?: string;
38502
- };
38503
- Relationships: [{
38504
- foreignKeyName: "quote_field_options_field_id_fkey";
38505
- columns: ["field_id"];
38506
- isOneToOne: false;
38507
- referencedRelation: "quote_field_settings";
38508
- referencedColumns: ["id"];
38509
- }];
38510
- };
38511
- quote_field_settings: {
38512
- Row: {
38513
- created_at: string;
38514
- default_value: string | null;
38515
- field_key: string;
38516
- field_type: string;
38517
- id: string;
38518
- is_system: boolean;
38519
- label: string;
38520
- required: boolean;
38521
- sort_order: number;
38522
- updated_at: string;
38523
- visible: boolean;
38524
- };
38525
- Insert: {
38526
- created_at?: string;
38527
- default_value?: string | null;
38528
- field_key: string;
38529
- field_type: string;
38530
- id?: string;
38531
- is_system?: boolean;
38532
- label: string;
38533
- required?: boolean;
38534
- sort_order?: number;
38535
- updated_at?: string;
38536
- visible?: boolean;
38537
- };
38538
- Update: {
38539
- created_at?: string;
38540
- default_value?: string | null;
38541
- field_key?: string;
38542
- field_type?: string;
38543
- id?: string;
38544
- is_system?: boolean;
38545
- label?: string;
38546
- required?: boolean;
38547
- sort_order?: number;
38548
- updated_at?: string;
38549
- visible?: boolean;
38550
- };
38551
- Relationships: [];
38552
- };
38553
- quote_items: {
38554
- Row: {
38555
- category: string | null;
38556
- created_at: string;
38557
- description: string;
38558
- id: string;
38559
- line_total: number;
38560
- module_id: string | null;
38561
- name: string | null;
38562
- quantity: number;
38563
- quote_id: string;
38564
- sort_order: number;
38565
- unit_price: number;
38566
- };
38567
- Insert: {
38568
- category?: string | null;
38569
- created_at?: string;
38570
- description?: string;
38571
- id?: string;
38572
- line_total?: number;
38573
- module_id?: string | null;
38574
- name?: string | null;
38575
- quantity?: number;
38576
- quote_id: string;
38577
- sort_order?: number;
38578
- unit_price?: number;
38579
- };
38580
- Update: {
38581
- category?: string | null;
38582
- created_at?: string;
38583
- description?: string;
38584
- id?: string;
38585
- line_total?: number;
38586
- module_id?: string | null;
38587
- name?: string | null;
38588
- quantity?: number;
38589
- quote_id?: string;
38590
- sort_order?: number;
38591
- unit_price?: number;
38592
- };
38593
- Relationships: [{
38594
- foreignKeyName: "quote_items_module_id_fkey";
38595
- columns: ["module_id"];
38596
- isOneToOne: false;
38597
- referencedRelation: "quote_modules";
38598
- referencedColumns: ["id"];
38599
- }, {
38600
- foreignKeyName: "quote_items_quote_id_fkey";
38601
- columns: ["quote_id"];
38602
- isOneToOne: false;
38603
- referencedRelation: "quotes";
38604
- referencedColumns: ["id"];
38605
- }];
38606
- };
38607
- quote_modules: {
38608
- Row: {
38609
- category: string | null;
38610
- created_at: string;
38611
- description: string | null;
38612
- id: string;
38613
- is_active: boolean;
38614
- name: string;
38615
- price: number;
38616
- sort_order: number;
38617
- updated_at: string;
38618
- };
38619
- Insert: {
38620
- category?: string | null;
38621
- created_at?: string;
38622
- description?: string | null;
38623
- id?: string;
38624
- is_active?: boolean;
38625
- name: string;
38626
- price?: number;
38627
- sort_order?: number;
38628
- updated_at?: string;
38629
- };
38630
- Update: {
38631
- category?: string | null;
38632
- created_at?: string;
38633
- description?: string | null;
38634
- id?: string;
38635
- is_active?: boolean;
38636
- name?: string;
38637
- price?: number;
38638
- sort_order?: number;
38639
- updated_at?: string;
38640
- };
38641
- Relationships: [];
38642
- };
38643
- quote_templates: {
38644
- Row: {
38645
- created_at: string;
38646
- description: string | null;
38647
- field_values: import("../integrations/supabase/types").Json;
38648
- id: string;
38649
- is_default: boolean;
38650
- items: import("../integrations/supabase/types").Json;
38651
- name: string;
38652
- updated_at: string;
38653
- vat_rate: number;
38654
- };
38655
- Insert: {
38656
- created_at?: string;
38657
- description?: string | null;
38658
- field_values?: import("../integrations/supabase/types").Json;
38659
- id?: string;
38660
- is_default?: boolean;
38661
- items?: import("../integrations/supabase/types").Json;
38662
- name: string;
38663
- updated_at?: string;
38664
- vat_rate?: number;
38665
- };
38666
- Update: {
38667
- created_at?: string;
38668
- description?: string | null;
38669
- field_values?: import("../integrations/supabase/types").Json;
38670
- id?: string;
38671
- is_default?: boolean;
38672
- items?: import("../integrations/supabase/types").Json;
38673
- name?: string;
38674
- updated_at?: string;
38675
- vat_rate?: number;
38676
- };
38677
- Relationships: [];
38678
- };
38679
- quote_terms: {
38680
- Row: {
38681
- content: string | null;
38682
- created_at: string;
38683
- file_url: string | null;
38684
- id: string;
38685
- is_active: boolean;
38686
- name: string;
38687
- published_at: string | null;
38688
- updated_at: string;
38689
- version: string;
38690
- };
38691
- Insert: {
38692
- content?: string | null;
38693
- created_at?: string;
38694
- file_url?: string | null;
38695
- id?: string;
38696
- is_active?: boolean;
38697
- name: string;
38698
- published_at?: string | null;
38699
- updated_at?: string;
38700
- version?: string;
38701
- };
38702
- Update: {
38703
- content?: string | null;
38704
- created_at?: string;
38705
- file_url?: string | null;
38706
- id?: string;
38707
- is_active?: boolean;
38708
- name?: string;
38709
- published_at?: string | null;
38710
- updated_at?: string;
38711
- version?: string;
38712
- };
38713
- Relationships: [];
38714
- };
38715
- quotes: {
38716
- Row: {
38717
- accepted_at: string | null;
38718
- archived_at: string | null;
38719
- contact_id: string | null;
38720
- created_at: string;
38721
- customer_id: string | null;
38722
- discount: number;
38723
- expires_at: string | null;
38724
- field_values: import("../integrations/supabase/types").Json;
38725
- id: string;
38726
- notes: string | null;
38727
- owner_id: string | null;
38728
- personal_message: string | null;
38729
- project_id: string | null;
38730
- prospect_id: string | null;
38731
- public_token: string;
38732
- quote_number: string | null;
38733
- recipient_email: string | null;
38734
- recipient_name: string | null;
38735
- rejected_at: string | null;
38736
- sent_at: string | null;
38737
- status: string;
38738
- subtotal: number;
38739
- template_id: string | null;
38740
- terms_id: string | null;
38741
- title: string;
38742
- total: number;
38743
- updated_at: string;
38744
- valid_until: string | null;
38745
- vat_amount: number;
38746
- vat_rate: number;
38747
- viewed_at: string | null;
38748
- };
38749
- Insert: {
38750
- accepted_at?: string | null;
38751
- archived_at?: string | null;
38752
- contact_id?: string | null;
38753
- created_at?: string;
38754
- customer_id?: string | null;
38755
- discount?: number;
38756
- expires_at?: string | null;
38757
- field_values?: import("../integrations/supabase/types").Json;
38758
- id?: string;
38759
- notes?: string | null;
38760
- owner_id?: string | null;
38761
- personal_message?: string | null;
38762
- project_id?: string | null;
38763
- prospect_id?: string | null;
38764
- public_token?: string;
38765
- quote_number?: string | null;
38766
- recipient_email?: string | null;
38767
- recipient_name?: string | null;
38768
- rejected_at?: string | null;
38769
- sent_at?: string | null;
38770
- status?: string;
38771
- subtotal?: number;
38772
- template_id?: string | null;
38773
- terms_id?: string | null;
38774
- title?: string;
38775
- total?: number;
38776
- updated_at?: string;
38777
- valid_until?: string | null;
38778
- vat_amount?: number;
38779
- vat_rate?: number;
38780
- viewed_at?: string | null;
38781
- };
38782
- Update: {
38783
- accepted_at?: string | null;
38784
- archived_at?: string | null;
38785
- contact_id?: string | null;
38786
- created_at?: string;
38787
- customer_id?: string | null;
38788
- discount?: number;
38789
- expires_at?: string | null;
38790
- field_values?: import("../integrations/supabase/types").Json;
38791
- id?: string;
38792
- notes?: string | null;
38793
- owner_id?: string | null;
38794
- personal_message?: string | null;
38795
- project_id?: string | null;
38796
- prospect_id?: string | null;
38797
- public_token?: string;
38798
- quote_number?: string | null;
38799
- recipient_email?: string | null;
38800
- recipient_name?: string | null;
38801
- rejected_at?: string | null;
38802
- sent_at?: string | null;
38803
- status?: string;
38804
- subtotal?: number;
38805
- template_id?: string | null;
38806
- terms_id?: string | null;
38807
- title?: string;
38808
- total?: number;
38809
- updated_at?: string;
38810
- valid_until?: string | null;
38811
- vat_amount?: number;
38812
- vat_rate?: number;
38813
- viewed_at?: string | null;
38814
- };
38815
- Relationships: [{
38816
- foreignKeyName: "quotes_contact_id_fkey";
38817
- columns: ["contact_id"];
38818
- isOneToOne: false;
38819
- referencedRelation: "customer_contacts";
38820
- referencedColumns: ["id"];
38821
- }, {
38822
- foreignKeyName: "quotes_customer_id_fkey";
38823
- columns: ["customer_id"];
38824
- isOneToOne: false;
38825
- referencedRelation: "customers";
38826
- referencedColumns: ["id"];
38827
- }, {
38828
- foreignKeyName: "quotes_project_id_fkey";
38829
- columns: ["project_id"];
38830
- isOneToOne: false;
38831
- referencedRelation: "projects";
38832
- referencedColumns: ["id"];
38833
- }, {
38834
- foreignKeyName: "quotes_prospect_id_fkey";
38835
- columns: ["prospect_id"];
38836
- isOneToOne: false;
38837
- referencedRelation: "prospects";
38838
- referencedColumns: ["id"];
38839
- }, {
38840
- foreignKeyName: "quotes_template_id_fkey";
38841
- columns: ["template_id"];
38842
- isOneToOne: false;
38843
- referencedRelation: "quote_templates";
38844
- referencedColumns: ["id"];
38845
- }, {
38846
- foreignKeyName: "quotes_terms_id_fkey";
38847
- columns: ["terms_id"];
38848
- isOneToOne: false;
38849
- referencedRelation: "quote_terms";
38850
- referencedColumns: ["id"];
38851
- }];
38852
- };
38853
39477
  reception_notifications: {
38854
39478
  Row: {
38855
39479
  booking_id: string | null;
@@ -39971,7 +40595,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
39971
40595
  foreignKeyName: "time_logs_work_order_id_fkey";
39972
40596
  columns: ["work_order_id"];
39973
40597
  isOneToOne: false;
39974
- referencedRelation: "work_orders";
40598
+ referencedRelation: "werkbonnen";
39975
40599
  referencedColumns: ["id"];
39976
40600
  }];
39977
40601
  };
@@ -40103,6 +40727,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
40103
40727
  };
40104
40728
  trade_item_stock: {
40105
40729
  Row: {
40730
+ change_source: string;
40106
40731
  connection_id: string;
40107
40732
  created_at: string;
40108
40733
  id: string;
@@ -40116,6 +40741,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
40116
40741
  user_id: string;
40117
40742
  };
40118
40743
  Insert: {
40744
+ change_source?: string;
40119
40745
  connection_id: string;
40120
40746
  created_at?: string;
40121
40747
  id?: string;
@@ -40129,6 +40755,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
40129
40755
  user_id: string;
40130
40756
  };
40131
40757
  Update: {
40758
+ change_source?: string;
40132
40759
  connection_id?: string;
40133
40760
  created_at?: string;
40134
40761
  id?: string;
@@ -41298,156 +41925,6 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
41298
41925
  };
41299
41926
  Relationships: [];
41300
41927
  };
41301
- uren_offerte_regels: {
41302
- Row: {
41303
- created_at: string;
41304
- description: string;
41305
- duration_minutes: number;
41306
- id: string;
41307
- offerte_id: string;
41308
- package_id: string | null;
41309
- quantity: number;
41310
- sort_order: number;
41311
- total_cents: number;
41312
- unit_price_cents: number;
41313
- };
41314
- Insert: {
41315
- created_at?: string;
41316
- description: string;
41317
- duration_minutes?: number;
41318
- id?: string;
41319
- offerte_id: string;
41320
- package_id?: string | null;
41321
- quantity?: number;
41322
- sort_order?: number;
41323
- total_cents?: number;
41324
- unit_price_cents?: number;
41325
- };
41326
- Update: {
41327
- created_at?: string;
41328
- description?: string;
41329
- duration_minutes?: number;
41330
- id?: string;
41331
- offerte_id?: string;
41332
- package_id?: string | null;
41333
- quantity?: number;
41334
- sort_order?: number;
41335
- total_cents?: number;
41336
- unit_price_cents?: number;
41337
- };
41338
- Relationships: [{
41339
- foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
41340
- columns: ["offerte_id"];
41341
- isOneToOne: false;
41342
- referencedRelation: "uren_offertes";
41343
- referencedColumns: ["id"];
41344
- }, {
41345
- foreignKeyName: "uren_offerte_regels_package_id_fkey";
41346
- columns: ["package_id"];
41347
- isOneToOne: false;
41348
- referencedRelation: "werkbon_packages";
41349
- referencedColumns: ["id"];
41350
- }];
41351
- };
41352
- uren_offerte_velden: {
41353
- Row: {
41354
- created_at: string;
41355
- field_type: string;
41356
- id: string;
41357
- key: string;
41358
- label: string;
41359
- options: string[];
41360
- required: boolean;
41361
- sort_order: number;
41362
- updated_at: string;
41363
- };
41364
- Insert: {
41365
- created_at?: string;
41366
- field_type?: string;
41367
- id?: string;
41368
- key: string;
41369
- label: string;
41370
- options?: string[];
41371
- required?: boolean;
41372
- sort_order?: number;
41373
- updated_at?: string;
41374
- };
41375
- Update: {
41376
- created_at?: string;
41377
- field_type?: string;
41378
- id?: string;
41379
- key?: string;
41380
- label?: string;
41381
- options?: string[];
41382
- required?: boolean;
41383
- sort_order?: number;
41384
- updated_at?: string;
41385
- };
41386
- Relationships: [];
41387
- };
41388
- uren_offertes: {
41389
- Row: {
41390
- created_at: string;
41391
- created_by: string | null;
41392
- customer_id: string | null;
41393
- customer_name: string | null;
41394
- dynamic_fields: import("../integrations/supabase/types").Json;
41395
- estimated_minutes: number;
41396
- id: string;
41397
- note: string | null;
41398
- quote_number: string | null;
41399
- status: string;
41400
- title: string;
41401
- total_excl_cents: number;
41402
- total_incl_cents: number;
41403
- updated_at: string;
41404
- valid_until: string | null;
41405
- vat_percentage: number;
41406
- };
41407
- Insert: {
41408
- created_at?: string;
41409
- created_by?: string | null;
41410
- customer_id?: string | null;
41411
- customer_name?: string | null;
41412
- dynamic_fields?: import("../integrations/supabase/types").Json;
41413
- estimated_minutes?: number;
41414
- id?: string;
41415
- note?: string | null;
41416
- quote_number?: string | null;
41417
- status?: string;
41418
- title?: string;
41419
- total_excl_cents?: number;
41420
- total_incl_cents?: number;
41421
- updated_at?: string;
41422
- valid_until?: string | null;
41423
- vat_percentage?: number;
41424
- };
41425
- Update: {
41426
- created_at?: string;
41427
- created_by?: string | null;
41428
- customer_id?: string | null;
41429
- customer_name?: string | null;
41430
- dynamic_fields?: import("../integrations/supabase/types").Json;
41431
- estimated_minutes?: number;
41432
- id?: string;
41433
- note?: string | null;
41434
- quote_number?: string | null;
41435
- status?: string;
41436
- title?: string;
41437
- total_excl_cents?: number;
41438
- total_incl_cents?: number;
41439
- updated_at?: string;
41440
- valid_until?: string | null;
41441
- vat_percentage?: number;
41442
- };
41443
- Relationships: [{
41444
- foreignKeyName: "uren_offertes_customer_id_fkey";
41445
- columns: ["customer_id"];
41446
- isOneToOne: false;
41447
- referencedRelation: "itk_customers";
41448
- referencedColumns: ["id"];
41449
- }];
41450
- };
41451
41928
  uren_settings: {
41452
41929
  Row: {
41453
41930
  break_minutes: number;
@@ -43134,6 +43611,37 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
43134
43611
  };
43135
43612
  Relationships: [];
43136
43613
  };
43614
+ planning_overview: {
43615
+ Row: {
43616
+ assigned_monteur_id: string | null;
43617
+ assistants: import("../integrations/supabase/types").Json | null;
43618
+ budget_mandate_cents: number | null;
43619
+ created_at: string | null;
43620
+ created_by: string | null;
43621
+ customer_id: string | null;
43622
+ customer_name: string | null;
43623
+ duration_minutes: number | null;
43624
+ end_at: string | null;
43625
+ id: string | null;
43626
+ needs_detail_review: boolean | null;
43627
+ notes: string | null;
43628
+ project_number: string | null;
43629
+ review_reasons: string[] | null;
43630
+ start_at: string | null;
43631
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
43632
+ updated_at: string | null;
43633
+ viewer_role: string | null;
43634
+ werkbon_id: string | null;
43635
+ work_address: string | null;
43636
+ };
43637
+ Relationships: [{
43638
+ foreignKeyName: "planning_items_werkbon_id_fkey";
43639
+ columns: ["werkbon_id"];
43640
+ isOneToOne: false;
43641
+ referencedRelation: "werkbonnen";
43642
+ referencedColumns: ["id"];
43643
+ }];
43644
+ };
43137
43645
  product_group_stock_view: {
43138
43646
  Row: {
43139
43647
  item_count: number | null;
@@ -43729,6 +44237,18 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
43729
44237
  Args: never;
43730
44238
  Returns: number;
43731
44239
  };
44240
+ calculate_floriday_desired_stock: {
44241
+ Args: {
44242
+ p_connection_id: string;
44243
+ p_product_id: string;
44244
+ };
44245
+ Returns: {
44246
+ desired_availability: boolean;
44247
+ desired_quantity: number;
44248
+ erp_available: number;
44249
+ stock_mode: string;
44250
+ }[];
44251
+ };
43732
44252
  calculate_layer_stock: {
43733
44253
  Args: {
43734
44254
  p_product_id: string;
@@ -43790,6 +44310,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
43790
44310
  is_herprint: boolean;
43791
44311
  kopieen: number;
43792
44312
  layout_id: string | null;
44313
+ lokaal_opgeslagen_op: string | null;
44314
+ lokale_pdf_fout: string | null;
44315
+ lokale_pdf_status: string | null;
43793
44316
  opgepakt_op: string | null;
43794
44317
  paginas: number;
43795
44318
  payload: import("../integrations/supabase/types").Json;
@@ -43798,6 +44321,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
43798
44321
  pogingen: number;
43799
44322
  printer_id: string | null;
43800
44323
  render_html: string | null;
44324
+ resultaat_pdf_base64: string | null;
43801
44325
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43802
44326
  updated_at: string;
43803
44327
  volgende_poging: string | null;
@@ -43819,6 +44343,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
43819
44343
  attempts: number;
43820
44344
  connection_id: string;
43821
44345
  created_at: string;
44346
+ dead_lettered_at: string | null;
43822
44347
  desired_available: boolean | null;
43823
44348
  gateway_attempt_id: string | null;
43824
44349
  id: string;
@@ -43827,9 +44352,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
43827
44352
  locked_by: string | null;
43828
44353
  next_attempt_at: string;
43829
44354
  number_of_pieces: number;
44355
+ product_id: string | null;
43830
44356
  sent_at: string | null;
43831
44357
  status: string;
44358
+ stock_mode: string | null;
43832
44359
  superseded_by: string | null;
44360
+ target_week: number | null;
44361
+ target_year: number | null;
43833
44362
  trade_item_id: string;
43834
44363
  updated_at: string;
43835
44364
  user_id: string;
@@ -43889,6 +44418,53 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
43889
44418
  isSetofReturn: true;
43890
44419
  };
43891
44420
  };
44421
+ claim_pdf_print_jobs: {
44422
+ Args: {
44423
+ _max?: number;
44424
+ };
44425
+ Returns: {
44426
+ agent_id: string | null;
44427
+ bron_job_id: string | null;
44428
+ created_at: string;
44429
+ documentnaam: string;
44430
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44431
+ extern_job_id: string | null;
44432
+ foutmelding: string | null;
44433
+ gebruiker_id: string | null;
44434
+ gebruiker_naam: string;
44435
+ gebruikte_bron: string | null;
44436
+ gebruikte_layout_id: string | null;
44437
+ gestart_op: string | null;
44438
+ herkomst: string | null;
44439
+ id: string;
44440
+ idempotentie_sleutel: string | null;
44441
+ is_herprint: boolean;
44442
+ kopieen: number;
44443
+ layout_id: string | null;
44444
+ lokaal_opgeslagen_op: string | null;
44445
+ lokale_pdf_fout: string | null;
44446
+ lokale_pdf_status: string | null;
44447
+ opgepakt_op: string | null;
44448
+ paginas: number;
44449
+ payload: import("../integrations/supabase/types").Json;
44450
+ pdf_base64: string | null;
44451
+ pdf_url: string | null;
44452
+ pogingen: number;
44453
+ printer_id: string | null;
44454
+ render_html: string | null;
44455
+ resultaat_pdf_base64: string | null;
44456
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44457
+ updated_at: string;
44458
+ volgende_poging: string | null;
44459
+ voltooid_op: string | null;
44460
+ }[];
44461
+ SetofOptions: {
44462
+ from: "*";
44463
+ to: "print_jobs";
44464
+ isOneToOne: false;
44465
+ isSetofReturn: true;
44466
+ };
44467
+ };
43892
44468
  claim_print_jobs: {
43893
44469
  Args: {
43894
44470
  _agent_id: string;
@@ -43913,6 +44489,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
43913
44489
  is_herprint: boolean;
43914
44490
  kopieen: number;
43915
44491
  layout_id: string | null;
44492
+ lokaal_opgeslagen_op: string | null;
44493
+ lokale_pdf_fout: string | null;
44494
+ lokale_pdf_status: string | null;
43916
44495
  opgepakt_op: string | null;
43917
44496
  paginas: number;
43918
44497
  payload: import("../integrations/supabase/types").Json;
@@ -43921,6 +44500,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
43921
44500
  pogingen: number;
43922
44501
  printer_id: string | null;
43923
44502
  render_html: string | null;
44503
+ resultaat_pdf_base64: string | null;
43924
44504
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43925
44505
  updated_at: string;
43926
44506
  volgende_poging: string | null;
@@ -44061,6 +44641,8 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
44061
44641
  order_id: string;
44062
44642
  order_source: string;
44063
44643
  pick_date: string;
44644
+ printed_at: string;
44645
+ printed_today: boolean;
44064
44646
  status: string;
44065
44647
  }[];
44066
44648
  };
@@ -44257,6 +44839,24 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
44257
44839
  };
44258
44840
  Returns: string;
44259
44841
  };
44842
+ floriday_capture_stock_snapshot: {
44843
+ Args: never;
44844
+ Returns: number;
44845
+ };
44846
+ floriday_cleanup_stock_queue_v2: {
44847
+ Args: never;
44848
+ Returns: undefined;
44849
+ };
44850
+ floriday_compact_stock_snapshots: {
44851
+ Args: never;
44852
+ Returns: undefined;
44853
+ };
44854
+ floriday_default_owner: {
44855
+ Args: {
44856
+ p_connection_id: string;
44857
+ };
44858
+ Returns: string;
44859
+ };
44260
44860
  floriday_effective_price: {
44261
44861
  Args: {
44262
44862
  _buyer_id: string;
@@ -44274,6 +44874,34 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
44274
44874
  source_id: string;
44275
44875
  }[];
44276
44876
  };
44877
+ floriday_fill_publish_horizon: {
44878
+ Args: never;
44879
+ Returns: number;
44880
+ };
44881
+ floriday_ingest_sales_orders: {
44882
+ Args: {
44883
+ p_limit?: number;
44884
+ };
44885
+ Returns: number;
44886
+ };
44887
+ floriday_publish_horizon_weeks: {
44888
+ Args: never;
44889
+ Returns: number;
44890
+ };
44891
+ floriday_recompute_inventory: {
44892
+ Args: {
44893
+ p_connection_id: string;
44894
+ p_force?: boolean;
44895
+ p_product_id: string;
44896
+ };
44897
+ Returns: undefined;
44898
+ };
44899
+ floriday_requeue_dead_letters: {
44900
+ Args: {
44901
+ p_connection_id?: string;
44902
+ };
44903
+ Returns: number;
44904
+ };
44277
44905
  format_cart_number: {
44278
44906
  Args: {
44279
44907
  p_pick_date: string;
@@ -44490,6 +45118,131 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
44490
45118
  Args: never;
44491
45119
  Returns: string;
44492
45120
  };
45121
+ handover_get: {
45122
+ Args: {
45123
+ _module_id: string;
45124
+ };
45125
+ Returns: import("../integrations/supabase/types").Json;
45126
+ };
45127
+ handover_kern_naam: {
45128
+ Args: {
45129
+ _naam: string;
45130
+ };
45131
+ Returns: string;
45132
+ };
45133
+ handover_ketenmodel: {
45134
+ Args: never;
45135
+ Returns: import("../integrations/supabase/types").Json;
45136
+ };
45137
+ handover_kruisconflicten: {
45138
+ Args: never;
45139
+ Returns: import("../integrations/supabase/types").Json;
45140
+ };
45141
+ handover_list: {
45142
+ Args: never;
45143
+ Returns: import("../integrations/supabase/types").Json;
45144
+ };
45145
+ handover_mag_schrijven: {
45146
+ Args: {
45147
+ _module_id: string;
45148
+ };
45149
+ Returns: boolean;
45150
+ };
45151
+ handover_norm_naam: {
45152
+ Args: {
45153
+ _naam: string;
45154
+ };
45155
+ Returns: string;
45156
+ };
45157
+ handover_publish: {
45158
+ Args: {
45159
+ _bevindingen?: string;
45160
+ _bezit_tabellen?: string[];
45161
+ _conflicten_snapshot?: import("../integrations/supabase/types").Json;
45162
+ _contractfuncties?: string[];
45163
+ _inhoud_md: string;
45164
+ _module_id: string;
45165
+ _module_titel: string;
45166
+ _ontbrekende_contracten?: string[];
45167
+ _samenvatting?: string;
45168
+ };
45169
+ Returns: number;
45170
+ };
45171
+ handover_publish_via_token: {
45172
+ Args: {
45173
+ _bevindingen?: string;
45174
+ _bezit_tabellen?: string[];
45175
+ _conflicten_snapshot?: import("../integrations/supabase/types").Json;
45176
+ _contractfuncties?: string[];
45177
+ _inhoud_md: string;
45178
+ _module_id: string;
45179
+ _module_titel: string;
45180
+ _ontbrekende_contracten?: string[];
45181
+ _samenvatting?: string;
45182
+ _token_hash: string;
45183
+ };
45184
+ Returns: number;
45185
+ };
45186
+ handover_status: {
45187
+ Args: never;
45188
+ Returns: import("../integrations/supabase/types").Json;
45189
+ };
45190
+ handover_synonym_kern: {
45191
+ Args: {
45192
+ _naam: string;
45193
+ };
45194
+ Returns: string;
45195
+ };
45196
+ handover_token_intrekken: {
45197
+ Args: {
45198
+ _id: string;
45199
+ };
45200
+ Returns: boolean;
45201
+ };
45202
+ handover_token_lijst: {
45203
+ Args: never;
45204
+ Returns: import("../integrations/supabase/types").Json;
45205
+ };
45206
+ handover_token_maken: {
45207
+ Args: {
45208
+ _label?: string;
45209
+ _module_id: string;
45210
+ };
45211
+ Returns: string;
45212
+ };
45213
+ handover_update: {
45214
+ Args: {
45215
+ _bezit_tabellen?: string[];
45216
+ _contractfuncties?: string[];
45217
+ _herzieningstermijn_dagen?: number;
45218
+ _inhoud_md?: string;
45219
+ _module_id: string;
45220
+ _module_titel?: string;
45221
+ _samenvatting?: string;
45222
+ _versie: number;
45223
+ };
45224
+ Returns: boolean;
45225
+ } | {
45226
+ Args: {
45227
+ _bevindingen?: string;
45228
+ _bezit_tabellen?: string[];
45229
+ _contractfuncties?: string[];
45230
+ _herzieningstermijn_dagen?: number;
45231
+ _inhoud_md?: string;
45232
+ _module_id: string;
45233
+ _module_titel?: string;
45234
+ _ontbrekende_contracten?: string[];
45235
+ _samenvatting?: string;
45236
+ _versie: number;
45237
+ };
45238
+ Returns: boolean;
45239
+ };
45240
+ handover_versies: {
45241
+ Args: {
45242
+ _module_id: string;
45243
+ };
45244
+ Returns: import("../integrations/supabase/types").Json;
45245
+ };
44493
45246
  has_module_permission: {
44494
45247
  Args: {
44495
45248
  _min: string;
@@ -44509,6 +45262,25 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
44509
45262
  Args: never;
44510
45263
  Returns: boolean;
44511
45264
  };
45265
+ instructie_get: {
45266
+ Args: {
45267
+ _sleutel: string;
45268
+ };
45269
+ Returns: import("../integrations/supabase/types").Json;
45270
+ };
45271
+ instructie_list: {
45272
+ Args: never;
45273
+ Returns: import("../integrations/supabase/types").Json;
45274
+ };
45275
+ instructie_publish: {
45276
+ Args: {
45277
+ _inhoud_md: string;
45278
+ _sleutel: string;
45279
+ _titel: string;
45280
+ _toelichting?: string;
45281
+ };
45282
+ Returns: number;
45283
+ };
44512
45284
  invoice_create_from_source: {
44513
45285
  Args: {
44514
45286
  _payload?: import("../integrations/supabase/types").Json;
@@ -44733,6 +45505,12 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
44733
45505
  };
44734
45506
  Returns: boolean;
44735
45507
  };
45508
+ logistics_barcode_lookup: {
45509
+ Args: {
45510
+ p_barcode: string;
45511
+ };
45512
+ Returns: import("../integrations/supabase/types").Json;
45513
+ };
44736
45514
  logistics_buffer_criteria: {
44737
45515
  Args: {
44738
45516
  p_settings: import("../integrations/supabase/types").Json;
@@ -44769,6 +45547,10 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
44769
45547
  };
44770
45548
  Returns: number;
44771
45549
  };
45550
+ logistics_cancel_orphan_tasks: {
45551
+ Args: never;
45552
+ Returns: number;
45553
+ };
44772
45554
  logistics_capacity_day_check: {
44773
45555
  Args: {
44774
45556
  p_from?: string;
@@ -44789,6 +45571,41 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
44789
45571
  };
44790
45572
  Returns: number;
44791
45573
  };
45574
+ logistics_cart_barcode_value: {
45575
+ Args: {
45576
+ _cart_id: string;
45577
+ };
45578
+ Returns: string;
45579
+ };
45580
+ logistics_cart_index: {
45581
+ Args: {
45582
+ p_from?: string;
45583
+ p_to?: string;
45584
+ };
45585
+ Returns: {
45586
+ cart_id: string;
45587
+ cart_index: number;
45588
+ cart_label: string;
45589
+ delivery_date: string;
45590
+ is_announced: boolean;
45591
+ is_controlled: boolean;
45592
+ is_printed: boolean;
45593
+ is_shared: boolean;
45594
+ order_number: string;
45595
+ order_source: string;
45596
+ order_uuid: string;
45597
+ pick_date: string;
45598
+ printed_at: string;
45599
+ shifted: boolean;
45600
+ task_status: string;
45601
+ }[];
45602
+ };
45603
+ logistics_cart_slip_plan: {
45604
+ Args: {
45605
+ p_order_id: string;
45606
+ };
45607
+ Returns: import("../integrations/supabase/types").Json;
45608
+ };
44792
45609
  logistics_check_order_allowed: {
44793
45610
  Args: {
44794
45611
  p_lines: import("../integrations/supabase/types").Json;
@@ -44937,6 +45754,21 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
44937
45754
  isSetofReturn: false;
44938
45755
  };
44939
45756
  };
45757
+ logistics_consistency_check: {
45758
+ Args: never;
45759
+ Returns: {
45760
+ agenda_carts: number;
45761
+ announced_carts: number;
45762
+ control_carts: number;
45763
+ delivery_carts: number;
45764
+ ok: boolean;
45765
+ orphan_tasks: number;
45766
+ pick_date: string;
45767
+ raw_carts: number;
45768
+ sales_carts: number;
45769
+ station_carts: number;
45770
+ }[];
45771
+ };
44940
45772
  logistics_delay_customer_email: {
44941
45773
  Args: {
44942
45774
  p_customer: string;
@@ -44950,12 +45782,35 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
44950
45782
  subject: string;
44951
45783
  }[];
44952
45784
  };
45785
+ logistics_delivery_agenda: {
45786
+ Args: {
45787
+ p_from?: string;
45788
+ p_to?: string;
45789
+ };
45790
+ Returns: {
45791
+ announced_count: number;
45792
+ cart_count: number;
45793
+ controlled_count: number;
45794
+ delivery_date: string;
45795
+ order_count: number;
45796
+ orders: import("../integrations/supabase/types").Json;
45797
+ plant_count: number;
45798
+ printed_count: number;
45799
+ }[];
45800
+ };
44953
45801
  logistics_document_layout: {
44954
45802
  Args: {
44955
45803
  _document_code: string;
44956
45804
  };
44957
45805
  Returns: import("../integrations/supabase/types").Json;
44958
45806
  };
45807
+ logistics_document_layout_v2: {
45808
+ Args: {
45809
+ _document_code: string;
45810
+ _is_partial?: boolean;
45811
+ };
45812
+ Returns: import("../integrations/supabase/types").Json;
45813
+ };
44959
45814
  logistics_document_station: {
44960
45815
  Args: {
44961
45816
  _document_code: string;
@@ -44981,6 +45836,12 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
44981
45836
  };
44982
45837
  Returns: import("../integrations/supabase/types").Json;
44983
45838
  };
45839
+ logistics_ensure_cart_barcode: {
45840
+ Args: {
45841
+ _cart_id: string;
45842
+ };
45843
+ Returns: string;
45844
+ };
44984
45845
  logistics_fail_task: {
44985
45846
  Args: {
44986
45847
  p_error: string;
@@ -45026,6 +45887,16 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
45026
45887
  isSetofReturn: false;
45027
45888
  };
45028
45889
  };
45890
+ logistics_floriday_cart_plan: {
45891
+ Args: {
45892
+ p_order_id: string;
45893
+ };
45894
+ Returns: {
45895
+ carrier_type: string;
45896
+ idx: number;
45897
+ packages: number;
45898
+ }[];
45899
+ };
45029
45900
  logistics_floriday_claim_pushes: {
45030
45901
  Args: {
45031
45902
  _lease_seconds?: number;
@@ -45130,6 +46001,25 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
45130
46001
  };
45131
46002
  Returns: number;
45132
46003
  };
46004
+ logistics_order_overview: {
46005
+ Args: {
46006
+ p_from?: string;
46007
+ p_to?: string;
46008
+ };
46009
+ Returns: {
46010
+ cart_count: number;
46011
+ customer_name: string;
46012
+ delivery_date: string;
46013
+ order_number: string;
46014
+ order_source: string;
46015
+ order_uuid: string;
46016
+ pick_date: string;
46017
+ plant_count: number;
46018
+ printed_at: string;
46019
+ shifted: boolean;
46020
+ status: string;
46021
+ }[];
46022
+ };
45133
46023
  logistics_order_pick_day: {
45134
46024
  Args: {
45135
46025
  p_order_ref: string;
@@ -45142,6 +46032,22 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
45142
46032
  };
45143
46033
  Returns: string;
45144
46034
  };
46035
+ logistics_pick_agenda: {
46036
+ Args: {
46037
+ p_from?: string;
46038
+ p_to?: string;
46039
+ };
46040
+ Returns: {
46041
+ cart_count: number;
46042
+ in_preparation: number;
46043
+ order_count: number;
46044
+ orders: import("../integrations/supabase/types").Json;
46045
+ pick_date: string;
46046
+ plant_count: number;
46047
+ ready: number;
46048
+ shifted_count: number;
46049
+ }[];
46050
+ };
45145
46051
  logistics_pick_email_purpose: {
45146
46052
  Args: never;
45147
46053
  Returns: string;
@@ -45196,6 +46102,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
45196
46102
  };
45197
46103
  Returns: undefined;
45198
46104
  };
46105
+ logistics_plan_floriday_order: {
46106
+ Args: {
46107
+ p_buffer_id?: string;
46108
+ p_order_id: string;
46109
+ };
46110
+ Returns: number;
46111
+ };
45199
46112
  logistics_plan_impact_orders: {
45200
46113
  Args: {
45201
46114
  p_order_id: string;
@@ -45389,6 +46302,14 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
45389
46302
  };
45390
46303
  Returns: string;
45391
46304
  };
46305
+ logistics_shipping_note_from_barcode: {
46306
+ Args: {
46307
+ p_allow_reprint?: boolean;
46308
+ p_barcode: string;
46309
+ p_station_id?: string;
46310
+ };
46311
+ Returns: import("../integrations/supabase/types").Json;
46312
+ };
45392
46313
  logistics_supersede_stale_tasks: {
45393
46314
  Args: {
45394
46315
  p_keep: string[];
@@ -45610,6 +46531,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
45610
46531
  print_job_id: string | null;
45611
46532
  printed_at: string | null;
45612
46533
  printed_by: string | null;
46534
+ printed_cart_ids: import("../integrations/supabase/types").Json;
45613
46535
  printer_id: string | null;
45614
46536
  priority: number;
45615
46537
  reference: string | null;
@@ -45659,6 +46581,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
45659
46581
  print_job_id: string | null;
45660
46582
  printed_at: string | null;
45661
46583
  printed_by: string | null;
46584
+ printed_cart_ids: import("../integrations/supabase/types").Json;
45662
46585
  printer_id: string | null;
45663
46586
  priority: number;
45664
46587
  reference: string | null;
@@ -45713,6 +46636,56 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
45713
46636
  print_job_id: string | null;
45714
46637
  printed_at: string | null;
45715
46638
  printed_by: string | null;
46639
+ printed_cart_ids: import("../integrations/supabase/types").Json;
46640
+ printer_id: string | null;
46641
+ priority: number;
46642
+ reference: string | null;
46643
+ route: string | null;
46644
+ screen_id: string | null;
46645
+ station_id: string | null;
46646
+ status_id: string | null;
46647
+ updated_at: string;
46648
+ warnings: import("../integrations/supabase/types").Json;
46649
+ };
46650
+ SetofOptions: {
46651
+ from: "*";
46652
+ to: "pick_queue";
46653
+ isOneToOne: true;
46654
+ isSetofReturn: false;
46655
+ };
46656
+ };
46657
+ pick_complete_print_cart: {
46658
+ Args: {
46659
+ _cart_id: string;
46660
+ _printer_id: string;
46661
+ _queue_item_id: string;
46662
+ _session_id: string;
46663
+ };
46664
+ Returns: {
46665
+ announced_at: string;
46666
+ assigned_user_id: string | null;
46667
+ barcode: string | null;
46668
+ cancelled_at: string | null;
46669
+ cart_count: number;
46670
+ completed_at: string | null;
46671
+ country_code: string | null;
46672
+ created_at: string;
46673
+ customer_name: string | null;
46674
+ delivery_address: string | null;
46675
+ document_number: string | null;
46676
+ document_type_id: string | null;
46677
+ due_at: string | null;
46678
+ id: string;
46679
+ is_urgent: boolean;
46680
+ line_count: number;
46681
+ order_number: string | null;
46682
+ order_type: string | null;
46683
+ payload: import("../integrations/supabase/types").Json;
46684
+ print_count: number;
46685
+ print_job_id: string | null;
46686
+ printed_at: string | null;
46687
+ printed_by: string | null;
46688
+ printed_cart_ids: import("../integrations/supabase/types").Json;
45716
46689
  printer_id: string | null;
45717
46690
  priority: number;
45718
46691
  reference: string | null;
@@ -45756,6 +46729,15 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
45756
46729
  _session_id?: string;
45757
46730
  };
45758
46731
  Returns: string;
46732
+ } | {
46733
+ Args: {
46734
+ _cart_id: string;
46735
+ _is_herprint: boolean;
46736
+ _printer_id: string;
46737
+ _queue_item_id: string;
46738
+ _session_id: string;
46739
+ };
46740
+ Returns: string;
45759
46741
  };
45760
46742
  pick_order_context: {
45761
46743
  Args: {
@@ -45836,6 +46818,54 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
45836
46818
  print_job_id: string | null;
45837
46819
  printed_at: string | null;
45838
46820
  printed_by: string | null;
46821
+ printed_cart_ids: import("../integrations/supabase/types").Json;
46822
+ printer_id: string | null;
46823
+ priority: number;
46824
+ reference: string | null;
46825
+ route: string | null;
46826
+ screen_id: string | null;
46827
+ station_id: string | null;
46828
+ status_id: string | null;
46829
+ updated_at: string;
46830
+ warnings: import("../integrations/supabase/types").Json;
46831
+ };
46832
+ SetofOptions: {
46833
+ from: "*";
46834
+ to: "pick_queue";
46835
+ isOneToOne: true;
46836
+ isSetofReturn: false;
46837
+ };
46838
+ } | {
46839
+ Args: {
46840
+ _cart_id?: string;
46841
+ _queue_item_id: string;
46842
+ _session_id: string;
46843
+ };
46844
+ Returns: {
46845
+ announced_at: string;
46846
+ assigned_user_id: string | null;
46847
+ barcode: string | null;
46848
+ cancelled_at: string | null;
46849
+ cart_count: number;
46850
+ completed_at: string | null;
46851
+ country_code: string | null;
46852
+ created_at: string;
46853
+ customer_name: string | null;
46854
+ delivery_address: string | null;
46855
+ document_number: string | null;
46856
+ document_type_id: string | null;
46857
+ due_at: string | null;
46858
+ id: string;
46859
+ is_urgent: boolean;
46860
+ line_count: number;
46861
+ order_number: string | null;
46862
+ order_type: string | null;
46863
+ payload: import("../integrations/supabase/types").Json;
46864
+ print_count: number;
46865
+ print_job_id: string | null;
46866
+ printed_at: string | null;
46867
+ printed_by: string | null;
46868
+ printed_cart_ids: import("../integrations/supabase/types").Json;
45839
46869
  printer_id: string | null;
45840
46870
  priority: number;
45841
46871
  reference: string | null;
@@ -45948,6 +46978,66 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
45948
46978
  };
45949
46979
  Returns: undefined;
45950
46980
  };
46981
+ planning_cancel_item: {
46982
+ Args: {
46983
+ _id: string;
46984
+ };
46985
+ Returns: undefined;
46986
+ };
46987
+ planning_list: {
46988
+ Args: {
46989
+ _from: string;
46990
+ _to: string;
46991
+ };
46992
+ Returns: {
46993
+ assigned_monteur_id: string | null;
46994
+ assistants: import("../integrations/supabase/types").Json | null;
46995
+ budget_mandate_cents: number | null;
46996
+ created_at: string | null;
46997
+ created_by: string | null;
46998
+ customer_id: string | null;
46999
+ customer_name: string | null;
47000
+ duration_minutes: number | null;
47001
+ end_at: string | null;
47002
+ id: string | null;
47003
+ needs_detail_review: boolean | null;
47004
+ notes: string | null;
47005
+ project_number: string | null;
47006
+ review_reasons: string[] | null;
47007
+ start_at: string | null;
47008
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
47009
+ updated_at: string | null;
47010
+ viewer_role: string | null;
47011
+ werkbon_id: string | null;
47012
+ work_address: string | null;
47013
+ }[];
47014
+ SetofOptions: {
47015
+ from: "*";
47016
+ to: "planning_overview";
47017
+ isOneToOne: false;
47018
+ isSetofReturn: true;
47019
+ };
47020
+ };
47021
+ planning_set_assistants: {
47022
+ Args: {
47023
+ _monteur_ids: string[];
47024
+ _planning_item_id: string;
47025
+ };
47026
+ Returns: undefined;
47027
+ };
47028
+ planning_upsert_item: {
47029
+ Args: {
47030
+ _assigned_monteur_id: string;
47031
+ _end_at: string;
47032
+ _notes?: string;
47033
+ _start_at: string;
47034
+ _werkbon_id: string;
47035
+ };
47036
+ Returns: {
47037
+ action: string;
47038
+ id: string;
47039
+ }[];
47040
+ };
45951
47041
  print_preview_toestaan: {
45952
47042
  Args: {
45953
47043
  _max?: number;
@@ -46120,6 +47210,12 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
46120
47210
  };
46121
47211
  Returns: string;
46122
47212
  };
47213
+ resolve_print_job_printer_id: {
47214
+ Args: {
47215
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
47216
+ };
47217
+ Returns: string;
47218
+ };
46123
47219
  resolve_product_id_for_item: {
46124
47220
  Args: {
46125
47221
  p_product_name: string;
@@ -46523,6 +47619,26 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
46523
47619
  };
46524
47620
  Returns: string[];
46525
47621
  };
47622
+ start_time_log_at: {
47623
+ Args: {
47624
+ p_clicked_at?: string;
47625
+ p_employee_id: string;
47626
+ p_start_lat?: number;
47627
+ p_start_lng?: number;
47628
+ p_type: string;
47629
+ p_work_order_id?: string;
47630
+ };
47631
+ Returns: import("../integrations/supabase/types").Json;
47632
+ };
47633
+ stop_time_log: {
47634
+ Args: {
47635
+ p_employee_id: string;
47636
+ p_end_lat?: number;
47637
+ p_end_lng?: number;
47638
+ p_end_time: string;
47639
+ };
47640
+ Returns: import("../integrations/supabase/types").Json;
47641
+ };
46526
47642
  switch_time_log: {
46527
47643
  Args: {
46528
47644
  p_employee_id: string;
@@ -46711,7 +47827,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
46711
47827
  };
46712
47828
  CompositeTypes: { [_ in never]: never; };
46713
47829
  }, {
46714
- PostgrestVersion: "14.17";
47830
+ PostgrestVersion: "14.5";
46715
47831
  }>;
46716
47832
  userId: string;
46717
47833
  claims: import("@supabase/auth-js").User;