@flowselections/floriday-verkoop-module 1.0.65 → 1.0.67

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 (57) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +513 -3
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.server.d.ts +513 -3
  4. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/types.d.ts +527 -3
  6. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  7. package/dist-lib/lib/buffer-events.functions.d.ts +513 -3
  8. package/dist-lib/lib/buffer-events.functions.d.ts.map +1 -1
  9. package/dist-lib/lib/cart-layers.functions.d.ts +2052 -12
  10. package/dist-lib/lib/cart-layers.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/cart-lock.functions.d.ts +513 -3
  12. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/cart-planning-settings.functions.d.ts +5643 -33
  14. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/cart-replan.functions.d.ts +1539 -9
  16. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/create-order.functions.d.ts +8721 -51
  18. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +1026 -6
  20. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/floriday-mirror.functions.d.ts +513 -3
  22. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/floriday-public.functions.d.ts +3591 -21
  24. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday-writes.functions.d.ts +1026 -6
  26. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/invoice-timing.functions.d.ts +2052 -12
  28. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/load-carriers.functions.d.ts +513 -3
  30. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/logistics-engine.functions.d.ts +2565 -15
  32. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/logistics-stock.functions.d.ts +1026 -6
  34. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/order-addresses.functions.d.ts +513 -3
  36. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/order-buffers.functions.d.ts +1026 -6
  38. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/order-carrier.functions.d.ts +1026 -6
  40. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/order-fulfill.functions.d.ts +513 -3
  42. package/dist-lib/lib/order-fulfill.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/order-item-packing.functions.d.ts +1539 -9
  44. package/dist-lib/lib/order-item-packing.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/order-pickup.functions.d.ts +1026 -6
  46. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  47. package/dist-lib/lib/order-shipments.functions.d.ts +2052 -12
  48. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/product-dimensions.functions.d.ts +1026 -6
  50. package/dist-lib/lib/product-dimensions.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/salesorders-list.functions.d.ts +1026 -6
  52. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  53. package/dist-lib/lib/salesorders.functions.d.ts +3078 -18
  54. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  55. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +1026 -6
  56. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  57. package/package.json +5 -5
@@ -733,6 +733,27 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
733
733
  };
734
734
  Relationships: [];
735
735
  };
736
+ artikelen_instellingen: {
737
+ Row: {
738
+ created_at: string;
739
+ id: number;
740
+ marge_procent: number;
741
+ updated_at: string;
742
+ };
743
+ Insert: {
744
+ created_at?: string;
745
+ id?: number;
746
+ marge_procent?: number;
747
+ updated_at?: string;
748
+ };
749
+ Update: {
750
+ created_at?: string;
751
+ id?: number;
752
+ marge_procent?: number;
753
+ updated_at?: string;
754
+ };
755
+ Relationships: [];
756
+ };
736
757
  artikelen_veldconfig: {
737
758
  Row: {
738
759
  bron_pad: string;
@@ -10408,6 +10429,30 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
10408
10429
  };
10409
10430
  Relationships: [];
10410
10431
  };
10432
+ logistics_cart_barcode_archief: {
10433
+ Row: {
10434
+ barcode: string;
10435
+ cart_id: string;
10436
+ created_at: string | null;
10437
+ gearchiveerd_op: string;
10438
+ order_id: string | null;
10439
+ };
10440
+ Insert: {
10441
+ barcode: string;
10442
+ cart_id: string;
10443
+ created_at?: string | null;
10444
+ gearchiveerd_op?: string;
10445
+ order_id?: string | null;
10446
+ };
10447
+ Update: {
10448
+ barcode?: string;
10449
+ cart_id?: string;
10450
+ created_at?: string | null;
10451
+ gearchiveerd_op?: string;
10452
+ order_id?: string | null;
10453
+ };
10454
+ Relationships: [];
10455
+ };
10411
10456
  logistics_control_scan: {
10412
10457
  Row: {
10413
10458
  approved_at: string | null;
@@ -16061,18 +16106,24 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
16061
16106
  Row: {
16062
16107
  id: boolean;
16063
16108
  last_cleanup_at: string | null;
16109
+ last_error: string | null;
16110
+ last_error_at: string | null;
16064
16111
  last_sync_at: string | null;
16065
16112
  updated_at: string;
16066
16113
  };
16067
16114
  Insert: {
16068
16115
  id?: boolean;
16069
16116
  last_cleanup_at?: string | null;
16117
+ last_error?: string | null;
16118
+ last_error_at?: string | null;
16070
16119
  last_sync_at?: string | null;
16071
16120
  updated_at?: string;
16072
16121
  };
16073
16122
  Update: {
16074
16123
  id?: boolean;
16075
16124
  last_cleanup_at?: string | null;
16125
+ last_error?: string | null;
16126
+ last_error_at?: string | null;
16076
16127
  last_sync_at?: string | null;
16077
16128
  updated_at?: string;
16078
16129
  };
@@ -16198,6 +16249,54 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
16198
16249
  };
16199
16250
  Relationships: [];
16200
16251
  };
16252
+ planning_confirmation_log: {
16253
+ Row: {
16254
+ created_at: string;
16255
+ end_at: string;
16256
+ id: string;
16257
+ outbox_id: string | null;
16258
+ planning_item_id: string;
16259
+ reason: string | null;
16260
+ recipient: string | null;
16261
+ start_at: string;
16262
+ status: string;
16263
+ };
16264
+ Insert: {
16265
+ created_at?: string;
16266
+ end_at: string;
16267
+ id?: string;
16268
+ outbox_id?: string | null;
16269
+ planning_item_id: string;
16270
+ reason?: string | null;
16271
+ recipient?: string | null;
16272
+ start_at: string;
16273
+ status: string;
16274
+ };
16275
+ Update: {
16276
+ created_at?: string;
16277
+ end_at?: string;
16278
+ id?: string;
16279
+ outbox_id?: string | null;
16280
+ planning_item_id?: string;
16281
+ reason?: string | null;
16282
+ recipient?: string | null;
16283
+ start_at?: string;
16284
+ status?: string;
16285
+ };
16286
+ Relationships: [{
16287
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16288
+ columns: ["planning_item_id"];
16289
+ isOneToOne: false;
16290
+ referencedRelation: "planning_items";
16291
+ referencedColumns: ["id"];
16292
+ }, {
16293
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16294
+ columns: ["planning_item_id"];
16295
+ isOneToOne: false;
16296
+ referencedRelation: "planning_overview";
16297
+ referencedColumns: ["id"];
16298
+ }];
16299
+ };
16201
16300
  planning_item_assistants: {
16202
16301
  Row: {
16203
16302
  created_at: string;
@@ -16282,6 +16381,60 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
16282
16381
  referencedColumns: ["id"];
16283
16382
  }];
16284
16383
  };
16384
+ planning_mail_settings: {
16385
+ Row: {
16386
+ body_template: string;
16387
+ cc: string[];
16388
+ connection_id: string | null;
16389
+ created_at: string;
16390
+ enabled: boolean;
16391
+ id: boolean;
16392
+ reply_to: string | null;
16393
+ subject_template: string;
16394
+ timezone: string;
16395
+ updated_at: string;
16396
+ updated_by: string | null;
16397
+ };
16398
+ Insert: {
16399
+ body_template?: string;
16400
+ cc?: string[];
16401
+ connection_id?: string | null;
16402
+ created_at?: string;
16403
+ enabled?: boolean;
16404
+ id?: boolean;
16405
+ reply_to?: string | null;
16406
+ subject_template?: string;
16407
+ timezone?: string;
16408
+ updated_at?: string;
16409
+ updated_by?: string | null;
16410
+ };
16411
+ Update: {
16412
+ body_template?: string;
16413
+ cc?: string[];
16414
+ connection_id?: string | null;
16415
+ created_at?: string;
16416
+ enabled?: boolean;
16417
+ id?: boolean;
16418
+ reply_to?: string | null;
16419
+ subject_template?: string;
16420
+ timezone?: string;
16421
+ updated_at?: string;
16422
+ updated_by?: string | null;
16423
+ };
16424
+ Relationships: [{
16425
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16426
+ columns: ["connection_id"];
16427
+ isOneToOne: false;
16428
+ referencedRelation: "email_auth_connections";
16429
+ referencedColumns: ["id"];
16430
+ }, {
16431
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16432
+ columns: ["connection_id"];
16433
+ isOneToOne: false;
16434
+ referencedRelation: "email_auth_connections_safe";
16435
+ referencedColumns: ["id"];
16436
+ }];
16437
+ };
16285
16438
  planning_monteur_day_locations: {
16286
16439
  Row: {
16287
16440
  created_at: string;
@@ -17760,6 +17913,9 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
17760
17913
  lead_time_days: number | null;
17761
17914
  min_order_quantity: number | null;
17762
17915
  notes: string | null;
17916
+ previous_price_cents: number | null;
17917
+ price_source: string;
17918
+ price_updated_at: string | null;
17763
17919
  product_id: string;
17764
17920
  purchase_price_cents: number | null;
17765
17921
  supplier_article_number: string | null;
@@ -17773,6 +17929,9 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
17773
17929
  lead_time_days?: number | null;
17774
17930
  min_order_quantity?: number | null;
17775
17931
  notes?: string | null;
17932
+ previous_price_cents?: number | null;
17933
+ price_source?: string;
17934
+ price_updated_at?: string | null;
17776
17935
  product_id: string;
17777
17936
  purchase_price_cents?: number | null;
17778
17937
  supplier_article_number?: string | null;
@@ -17786,6 +17945,9 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
17786
17945
  lead_time_days?: number | null;
17787
17946
  min_order_quantity?: number | null;
17788
17947
  notes?: string | null;
17948
+ previous_price_cents?: number | null;
17949
+ price_source?: string;
17950
+ price_updated_at?: string | null;
17789
17951
  product_id?: string;
17790
17952
  purchase_price_cents?: number | null;
17791
17953
  supplier_article_number?: string | null;
@@ -18316,9 +18478,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
18316
18478
  purchase_order_items: {
18317
18479
  Row: {
18318
18480
  article_number: string | null;
18481
+ cancel_reason: string | null;
18482
+ cancelled_at: string | null;
18319
18483
  created_at: string;
18320
18484
  delivery_date: string | null;
18321
18485
  id: string;
18486
+ incoming_booked: number;
18487
+ line_status: string;
18322
18488
  name: string;
18323
18489
  note: string | null;
18324
18490
  pot_size: string | null;
@@ -18326,6 +18492,8 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
18326
18492
  product_type: string;
18327
18493
  purchase_order_id: string;
18328
18494
  quantity: number;
18495
+ received_at: string | null;
18496
+ received_booked: number;
18329
18497
  supplier_id: string | null;
18330
18498
  supplier_product_id: string | null;
18331
18499
  unit_price_cents: number;
@@ -18333,9 +18501,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
18333
18501
  };
18334
18502
  Insert: {
18335
18503
  article_number?: string | null;
18504
+ cancel_reason?: string | null;
18505
+ cancelled_at?: string | null;
18336
18506
  created_at?: string;
18337
18507
  delivery_date?: string | null;
18338
18508
  id?: string;
18509
+ incoming_booked?: number;
18510
+ line_status?: string;
18339
18511
  name?: string;
18340
18512
  note?: string | null;
18341
18513
  pot_size?: string | null;
@@ -18343,6 +18515,8 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
18343
18515
  product_type?: string;
18344
18516
  purchase_order_id: string;
18345
18517
  quantity?: number;
18518
+ received_at?: string | null;
18519
+ received_booked?: number;
18346
18520
  supplier_id?: string | null;
18347
18521
  supplier_product_id?: string | null;
18348
18522
  unit_price_cents?: number;
@@ -18350,9 +18524,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
18350
18524
  };
18351
18525
  Update: {
18352
18526
  article_number?: string | null;
18527
+ cancel_reason?: string | null;
18528
+ cancelled_at?: string | null;
18353
18529
  created_at?: string;
18354
18530
  delivery_date?: string | null;
18355
18531
  id?: string;
18532
+ incoming_booked?: number;
18533
+ line_status?: string;
18356
18534
  name?: string;
18357
18535
  note?: string | null;
18358
18536
  pot_size?: string | null;
@@ -18360,6 +18538,8 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
18360
18538
  product_type?: string;
18361
18539
  purchase_order_id?: string;
18362
18540
  quantity?: number;
18541
+ received_at?: string | null;
18542
+ received_booked?: number;
18363
18543
  supplier_id?: string | null;
18364
18544
  supplier_product_id?: string | null;
18365
18545
  unit_price_cents?: number;
@@ -18463,6 +18643,153 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
18463
18643
  referencedColumns: ["id"];
18464
18644
  }];
18465
18645
  };
18646
+ purchase_request_events: {
18647
+ Row: {
18648
+ created_at: string;
18649
+ details: import("../integrations/supabase/types").Json | null;
18650
+ event_type: string;
18651
+ id: string;
18652
+ request_id: string;
18653
+ };
18654
+ Insert: {
18655
+ created_at?: string;
18656
+ details?: import("../integrations/supabase/types").Json | null;
18657
+ event_type: string;
18658
+ id?: string;
18659
+ request_id: string;
18660
+ };
18661
+ Update: {
18662
+ created_at?: string;
18663
+ details?: import("../integrations/supabase/types").Json | null;
18664
+ event_type?: string;
18665
+ id?: string;
18666
+ request_id?: string;
18667
+ };
18668
+ Relationships: [{
18669
+ foreignKeyName: "purchase_request_events_request_id_fkey";
18670
+ columns: ["request_id"];
18671
+ isOneToOne: false;
18672
+ referencedRelation: "purchase_requests";
18673
+ referencedColumns: ["id"];
18674
+ }];
18675
+ };
18676
+ purchase_request_responses: {
18677
+ Row: {
18678
+ confirmed_date: string | null;
18679
+ confirmed_price_cents: number | null;
18680
+ confirmed_quantity: number;
18681
+ created_at: string;
18682
+ id: string;
18683
+ not_available: boolean;
18684
+ note: string | null;
18685
+ purchase_order_item_id: string;
18686
+ request_id: string;
18687
+ updated_at: string;
18688
+ };
18689
+ Insert: {
18690
+ confirmed_date?: string | null;
18691
+ confirmed_price_cents?: number | null;
18692
+ confirmed_quantity?: number;
18693
+ created_at?: string;
18694
+ id?: string;
18695
+ not_available?: boolean;
18696
+ note?: string | null;
18697
+ purchase_order_item_id: string;
18698
+ request_id: string;
18699
+ updated_at?: string;
18700
+ };
18701
+ Update: {
18702
+ confirmed_date?: string | null;
18703
+ confirmed_price_cents?: number | null;
18704
+ confirmed_quantity?: number;
18705
+ created_at?: string;
18706
+ id?: string;
18707
+ not_available?: boolean;
18708
+ note?: string | null;
18709
+ purchase_order_item_id?: string;
18710
+ request_id?: string;
18711
+ updated_at?: string;
18712
+ };
18713
+ Relationships: [{
18714
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
18715
+ columns: ["purchase_order_item_id"];
18716
+ isOneToOne: false;
18717
+ referencedRelation: "purchase_order_items";
18718
+ referencedColumns: ["id"];
18719
+ }, {
18720
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
18721
+ columns: ["request_id"];
18722
+ isOneToOne: false;
18723
+ referencedRelation: "purchase_requests";
18724
+ referencedColumns: ["id"];
18725
+ }];
18726
+ };
18727
+ purchase_requests: {
18728
+ Row: {
18729
+ created_at: string;
18730
+ expires_at: string;
18731
+ first_viewed_at: string | null;
18732
+ id: string;
18733
+ processed_at: string | null;
18734
+ purchase_order_id: string;
18735
+ responded_at: string | null;
18736
+ sent_at: string;
18737
+ status: string;
18738
+ supplier_id: string | null;
18739
+ supplier_name: string;
18740
+ supplier_note: string | null;
18741
+ to_address: string | null;
18742
+ token_hash: string;
18743
+ updated_at: string;
18744
+ };
18745
+ Insert: {
18746
+ created_at?: string;
18747
+ expires_at?: string;
18748
+ first_viewed_at?: string | null;
18749
+ id?: string;
18750
+ processed_at?: string | null;
18751
+ purchase_order_id: string;
18752
+ responded_at?: string | null;
18753
+ sent_at?: string;
18754
+ status?: string;
18755
+ supplier_id?: string | null;
18756
+ supplier_name?: string;
18757
+ supplier_note?: string | null;
18758
+ to_address?: string | null;
18759
+ token_hash: string;
18760
+ updated_at?: string;
18761
+ };
18762
+ Update: {
18763
+ created_at?: string;
18764
+ expires_at?: string;
18765
+ first_viewed_at?: string | null;
18766
+ id?: string;
18767
+ processed_at?: string | null;
18768
+ purchase_order_id?: string;
18769
+ responded_at?: string | null;
18770
+ sent_at?: string;
18771
+ status?: string;
18772
+ supplier_id?: string | null;
18773
+ supplier_name?: string;
18774
+ supplier_note?: string | null;
18775
+ to_address?: string | null;
18776
+ token_hash?: string;
18777
+ updated_at?: string;
18778
+ };
18779
+ Relationships: [{
18780
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
18781
+ columns: ["purchase_order_id"];
18782
+ isOneToOne: false;
18783
+ referencedRelation: "purchase_orders";
18784
+ referencedColumns: ["id"];
18785
+ }, {
18786
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
18787
+ columns: ["supplier_id"];
18788
+ isOneToOne: false;
18789
+ referencedRelation: "suppliers";
18790
+ referencedColumns: ["id"];
18791
+ }];
18792
+ };
18466
18793
  reception_notifications: {
18467
18794
  Row: {
18468
18795
  booking_id: string | null;
@@ -22888,7 +23215,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
22888
23215
  created_at: string;
22889
23216
  default_quantity: number;
22890
23217
  description: string | null;
22891
- duration_minutes: number | null;
23218
+ duration_minutes: number;
22892
23219
  id: string;
22893
23220
  mandaat_type: string | null;
22894
23221
  name: string;
@@ -22905,7 +23232,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
22905
23232
  created_at?: string;
22906
23233
  default_quantity?: number;
22907
23234
  description?: string | null;
22908
- duration_minutes?: number | null;
23235
+ duration_minutes?: number;
22909
23236
  id?: string;
22910
23237
  mandaat_type?: string | null;
22911
23238
  name: string;
@@ -22922,7 +23249,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
22922
23249
  created_at?: string;
22923
23250
  default_quantity?: number;
22924
23251
  description?: string | null;
22925
- duration_minutes?: number | null;
23252
+ duration_minutes?: number;
22926
23253
  id?: string;
22927
23254
  mandaat_type?: string | null;
22928
23255
  name?: string;
@@ -25918,6 +26245,31 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
25918
26245
  };
25919
26246
  Returns: import("../integrations/supabase/types").Json;
25920
26247
  };
26248
+ inkoop_cancel_line: {
26249
+ Args: {
26250
+ _item_id: string;
26251
+ _reason: string;
26252
+ };
26253
+ Returns: string;
26254
+ };
26255
+ inkoop_get_supplier_request: {
26256
+ Args: {
26257
+ _token: string;
26258
+ };
26259
+ Returns: import("../integrations/supabase/types").Json;
26260
+ };
26261
+ inkoop_hash_token: {
26262
+ Args: {
26263
+ _token: string;
26264
+ };
26265
+ Returns: string;
26266
+ };
26267
+ inkoop_html_escape: {
26268
+ Args: {
26269
+ _t: string;
26270
+ };
26271
+ Returns: string;
26272
+ };
25921
26273
  inkoop_list_artikelen: {
25922
26274
  Args: never;
25923
26275
  Returns: {
@@ -25942,9 +26294,17 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
25942
26294
  Args: never;
25943
26295
  Returns: string;
25944
26296
  };
26297
+ inkoop_process_request: {
26298
+ Args: {
26299
+ _request_id: string;
26300
+ };
26301
+ Returns: undefined;
26302
+ };
25945
26303
  inkoop_send_order: {
25946
26304
  Args: {
26305
+ _base_url?: string;
25947
26306
  _order_id: string;
26307
+ _resend?: boolean;
25948
26308
  };
25949
26309
  Returns: {
25950
26310
  outbox_id: string;
@@ -25959,6 +26319,26 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
25959
26319
  };
25960
26320
  Returns: undefined;
25961
26321
  };
26322
+ inkoop_stock_key: {
26323
+ Args: {
26324
+ p_product_id: string;
26325
+ };
26326
+ Returns: string;
26327
+ };
26328
+ inkoop_submit_supplier_response: {
26329
+ Args: {
26330
+ _lines: import("../integrations/supabase/types").Json;
26331
+ _note?: string;
26332
+ _token: string;
26333
+ };
26334
+ Returns: import("../integrations/supabase/types").Json;
26335
+ };
26336
+ inkoop_sync_item_stock: {
26337
+ Args: {
26338
+ p_item_id: string;
26339
+ };
26340
+ Returns: undefined;
26341
+ };
25962
26342
  instructie_get: {
25963
26343
  Args: {
25964
26344
  _sleutel: string;
@@ -26119,6 +26499,27 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
26119
26499
  };
26120
26500
  Returns: boolean;
26121
26501
  };
26502
+ layout_print_document: {
26503
+ Args: {
26504
+ _documentnaam: string;
26505
+ _documenttype: string;
26506
+ _herkomst?: string;
26507
+ _idempotentie_sleutel?: string;
26508
+ _is_herprint?: boolean;
26509
+ _kopieen?: number;
26510
+ _layout_id?: string;
26511
+ _payload?: import("../integrations/supabase/types").Json;
26512
+ _pdf_base64?: string;
26513
+ _pdf_url?: string;
26514
+ _print_plek_id?: string;
26515
+ _werkplek?: string;
26516
+ };
26517
+ Returns: {
26518
+ bestaand: boolean;
26519
+ job_id: string;
26520
+ printer_id: string;
26521
+ }[];
26522
+ };
26122
26523
  list_medewerkers: {
26123
26524
  Args: never;
26124
26525
  Returns: {
@@ -26396,6 +26797,12 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
26396
26797
  };
26397
26798
  Returns: number;
26398
26799
  };
26800
+ logistics_cart_barcode_opschonen: {
26801
+ Args: {
26802
+ p_portie?: number;
26803
+ };
26804
+ Returns: import("../integrations/supabase/types").Json;
26805
+ };
26399
26806
  logistics_cart_barcode_value: {
26400
26807
  Args: {
26401
26808
  _cart_id: string;
@@ -26815,6 +27222,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
26815
27222
  };
26816
27223
  Returns: import("../integrations/supabase/types").Json;
26817
27224
  };
27225
+ logistics_control_scan_print_own: {
27226
+ Args: {
27227
+ p_is_herprint?: boolean;
27228
+ p_scan_id: string;
27229
+ };
27230
+ Returns: import("../integrations/supabase/types").Json;
27231
+ };
26818
27232
  logistics_control_scan_retry: {
26819
27233
  Args: {
26820
27234
  _id: string;
@@ -27719,6 +28133,21 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
27719
28133
  };
27720
28134
  Returns: import("../integrations/supabase/types").Json;
27721
28135
  };
28136
+ logistics_print_via_layout: {
28137
+ Args: {
28138
+ _documentnaam: string;
28139
+ _documenttype: string;
28140
+ _herkomst: string;
28141
+ _idempotentie_sleutel: string;
28142
+ _is_herprint: boolean;
28143
+ _layout_id: string;
28144
+ _payload: import("../integrations/supabase/types").Json;
28145
+ _pdf_base64: string;
28146
+ _pdf_url: string;
28147
+ _print_plek_id: string;
28148
+ };
28149
+ Returns: import("../integrations/supabase/types").Json;
28150
+ };
27722
28151
  logistics_prune_buffer_member_queue: {
27723
28152
  Args: never;
27724
28153
  Returns: number;
@@ -28005,6 +28434,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
28005
28434
  };
28006
28435
  Returns: string;
28007
28436
  };
28437
+ logistics_shipping_note_status: {
28438
+ Args: {
28439
+ p_cart_id?: string;
28440
+ p_slip_job_id?: string;
28441
+ };
28442
+ Returns: import("../integrations/supabase/types").Json;
28443
+ };
28008
28444
  logistics_shipping_notes_wake_all: {
28009
28445
  Args: never;
28010
28446
  Returns: import("../integrations/supabase/types").Json;
@@ -28067,6 +28503,12 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
28067
28503
  };
28068
28504
  Returns: undefined;
28069
28505
  };
28506
+ logistics_slip_note_retry: {
28507
+ Args: {
28508
+ _id: string;
28509
+ };
28510
+ Returns: import("../integrations/supabase/types").Json;
28511
+ };
28070
28512
  logistics_sticker_follows_slip: {
28071
28513
  Args: never;
28072
28514
  Returns: boolean;
@@ -28811,6 +29253,10 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
28811
29253
  };
28812
29254
  Returns: string;
28813
29255
  };
29256
+ pick_is_reference_admin: {
29257
+ Args: never;
29258
+ Returns: boolean;
29259
+ };
28814
29260
  pick_mark_printed: {
28815
29261
  Args: {
28816
29262
  _queue_item_id: string;
@@ -29234,6 +29680,12 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
29234
29680
  };
29235
29681
  Returns: import("../integrations/supabase/types").Json;
29236
29682
  };
29683
+ pick_verify_rows: {
29684
+ Args: {
29685
+ _rows: import("../integrations/supabase/types").Json;
29686
+ };
29687
+ Returns: import("../integrations/supabase/types").Json;
29688
+ };
29237
29689
  pickstation_get_orders_raw: {
29238
29690
  Args: never;
29239
29691
  Returns: import("../integrations/supabase/types").Json;
@@ -29414,6 +29866,12 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
29414
29866
  };
29415
29867
  Returns: import("../integrations/supabase/types").Json;
29416
29868
  };
29869
+ quote_create_from_scratch: {
29870
+ Args: {
29871
+ _payload: import("../integrations/supabase/types").Json;
29872
+ };
29873
+ Returns: import("../integrations/supabase/types").Json;
29874
+ };
29417
29875
  quote_create_from_source: {
29418
29876
  Args: {
29419
29877
  _payload?: import("../integrations/supabase/types").Json;
@@ -29464,6 +29922,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
29464
29922
  };
29465
29923
  Returns: string;
29466
29924
  };
29925
+ quote_sync_work_order: {
29926
+ Args: {
29927
+ _monteur_instructies?: string;
29928
+ _offerte_id: string;
29929
+ };
29930
+ Returns: boolean;
29931
+ };
29467
29932
  recompute_all_reserved_stock: {
29468
29933
  Args: never;
29469
29934
  Returns: undefined;
@@ -29684,6 +30149,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
29684
30149
  };
29685
30150
  Returns: import("../integrations/supabase/types").Json;
29686
30151
  };
30152
+ scan_controleer_pincode: {
30153
+ Args: {
30154
+ p_pin: string;
30155
+ p_scanner_id: string;
30156
+ };
30157
+ Returns: boolean;
30158
+ };
29687
30159
  scan_dashboard_stats: {
29688
30160
  Args: {
29689
30161
  p_dagen?: number;
@@ -29703,6 +30175,12 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
29703
30175
  };
29704
30176
  Returns: import("../integrations/supabase/types").Json;
29705
30177
  };
30178
+ scan_heeft_pincode: {
30179
+ Args: {
30180
+ p_scanner_id: string;
30181
+ };
30182
+ Returns: boolean;
30183
+ };
29706
30184
  scan_kar_compleet: {
29707
30185
  Args: {
29708
30186
  p_allow_reprint?: boolean;
@@ -29720,6 +30198,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
29720
30198
  Args: {
29721
30199
  p_code: string;
29722
30200
  p_latency_ms?: number;
30201
+ p_medewerker?: string;
29723
30202
  p_message?: string;
29724
30203
  p_result: string;
29725
30204
  p_scanner_key?: string;
@@ -29792,6 +30271,22 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
29792
30271
  };
29793
30272
  Returns: undefined;
29794
30273
  };
30274
+ scan_scanner_info: {
30275
+ Args: {
30276
+ p_slug: string;
30277
+ };
30278
+ Returns: {
30279
+ actief: boolean;
30280
+ heeft_pincode: boolean;
30281
+ id: string;
30282
+ naam: string;
30283
+ omschrijving: string;
30284
+ printer_id: string;
30285
+ type: string;
30286
+ vereist_medewerker: boolean;
30287
+ werkplek: string;
30288
+ }[];
30289
+ };
29795
30290
  scan_sessie_annuleren: {
29796
30291
  Args: {
29797
30292
  p_sessie_id: string;
@@ -30754,6 +31249,21 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
30754
31249
  };
30755
31250
  Returns: import("../integrations/supabase/types").Json;
30756
31251
  };
31252
+ wo_list_colleague_planning: {
31253
+ Args: {
31254
+ _from: string;
31255
+ _monteur_id: string;
31256
+ _to: string;
31257
+ };
31258
+ Returns: {
31259
+ end_at: string;
31260
+ id: string;
31261
+ role: string;
31262
+ start_at: string;
31263
+ status: string;
31264
+ werkbon_id: string;
31265
+ }[];
31266
+ };
30757
31267
  wo_list_offerte_requests: {
30758
31268
  Args: {
30759
31269
  _status?: string;
@@ -31595,6 +32105,27 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
31595
32105
  };
31596
32106
  Relationships: [];
31597
32107
  };
32108
+ artikelen_instellingen: {
32109
+ Row: {
32110
+ created_at: string;
32111
+ id: number;
32112
+ marge_procent: number;
32113
+ updated_at: string;
32114
+ };
32115
+ Insert: {
32116
+ created_at?: string;
32117
+ id?: number;
32118
+ marge_procent?: number;
32119
+ updated_at?: string;
32120
+ };
32121
+ Update: {
32122
+ created_at?: string;
32123
+ id?: number;
32124
+ marge_procent?: number;
32125
+ updated_at?: string;
32126
+ };
32127
+ Relationships: [];
32128
+ };
31598
32129
  artikelen_veldconfig: {
31599
32130
  Row: {
31600
32131
  bron_pad: string;
@@ -41270,6 +41801,30 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
41270
41801
  };
41271
41802
  Relationships: [];
41272
41803
  };
41804
+ logistics_cart_barcode_archief: {
41805
+ Row: {
41806
+ barcode: string;
41807
+ cart_id: string;
41808
+ created_at: string | null;
41809
+ gearchiveerd_op: string;
41810
+ order_id: string | null;
41811
+ };
41812
+ Insert: {
41813
+ barcode: string;
41814
+ cart_id: string;
41815
+ created_at?: string | null;
41816
+ gearchiveerd_op?: string;
41817
+ order_id?: string | null;
41818
+ };
41819
+ Update: {
41820
+ barcode?: string;
41821
+ cart_id?: string;
41822
+ created_at?: string | null;
41823
+ gearchiveerd_op?: string;
41824
+ order_id?: string | null;
41825
+ };
41826
+ Relationships: [];
41827
+ };
41273
41828
  logistics_control_scan: {
41274
41829
  Row: {
41275
41830
  approved_at: string | null;
@@ -46923,18 +47478,24 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
46923
47478
  Row: {
46924
47479
  id: boolean;
46925
47480
  last_cleanup_at: string | null;
47481
+ last_error: string | null;
47482
+ last_error_at: string | null;
46926
47483
  last_sync_at: string | null;
46927
47484
  updated_at: string;
46928
47485
  };
46929
47486
  Insert: {
46930
47487
  id?: boolean;
46931
47488
  last_cleanup_at?: string | null;
47489
+ last_error?: string | null;
47490
+ last_error_at?: string | null;
46932
47491
  last_sync_at?: string | null;
46933
47492
  updated_at?: string;
46934
47493
  };
46935
47494
  Update: {
46936
47495
  id?: boolean;
46937
47496
  last_cleanup_at?: string | null;
47497
+ last_error?: string | null;
47498
+ last_error_at?: string | null;
46938
47499
  last_sync_at?: string | null;
46939
47500
  updated_at?: string;
46940
47501
  };
@@ -47060,6 +47621,54 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
47060
47621
  };
47061
47622
  Relationships: [];
47062
47623
  };
47624
+ planning_confirmation_log: {
47625
+ Row: {
47626
+ created_at: string;
47627
+ end_at: string;
47628
+ id: string;
47629
+ outbox_id: string | null;
47630
+ planning_item_id: string;
47631
+ reason: string | null;
47632
+ recipient: string | null;
47633
+ start_at: string;
47634
+ status: string;
47635
+ };
47636
+ Insert: {
47637
+ created_at?: string;
47638
+ end_at: string;
47639
+ id?: string;
47640
+ outbox_id?: string | null;
47641
+ planning_item_id: string;
47642
+ reason?: string | null;
47643
+ recipient?: string | null;
47644
+ start_at: string;
47645
+ status: string;
47646
+ };
47647
+ Update: {
47648
+ created_at?: string;
47649
+ end_at?: string;
47650
+ id?: string;
47651
+ outbox_id?: string | null;
47652
+ planning_item_id?: string;
47653
+ reason?: string | null;
47654
+ recipient?: string | null;
47655
+ start_at?: string;
47656
+ status?: string;
47657
+ };
47658
+ Relationships: [{
47659
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
47660
+ columns: ["planning_item_id"];
47661
+ isOneToOne: false;
47662
+ referencedRelation: "planning_items";
47663
+ referencedColumns: ["id"];
47664
+ }, {
47665
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
47666
+ columns: ["planning_item_id"];
47667
+ isOneToOne: false;
47668
+ referencedRelation: "planning_overview";
47669
+ referencedColumns: ["id"];
47670
+ }];
47671
+ };
47063
47672
  planning_item_assistants: {
47064
47673
  Row: {
47065
47674
  created_at: string;
@@ -47144,6 +47753,60 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
47144
47753
  referencedColumns: ["id"];
47145
47754
  }];
47146
47755
  };
47756
+ planning_mail_settings: {
47757
+ Row: {
47758
+ body_template: string;
47759
+ cc: string[];
47760
+ connection_id: string | null;
47761
+ created_at: string;
47762
+ enabled: boolean;
47763
+ id: boolean;
47764
+ reply_to: string | null;
47765
+ subject_template: string;
47766
+ timezone: string;
47767
+ updated_at: string;
47768
+ updated_by: string | null;
47769
+ };
47770
+ Insert: {
47771
+ body_template?: string;
47772
+ cc?: string[];
47773
+ connection_id?: string | null;
47774
+ created_at?: string;
47775
+ enabled?: boolean;
47776
+ id?: boolean;
47777
+ reply_to?: string | null;
47778
+ subject_template?: string;
47779
+ timezone?: string;
47780
+ updated_at?: string;
47781
+ updated_by?: string | null;
47782
+ };
47783
+ Update: {
47784
+ body_template?: string;
47785
+ cc?: string[];
47786
+ connection_id?: string | null;
47787
+ created_at?: string;
47788
+ enabled?: boolean;
47789
+ id?: boolean;
47790
+ reply_to?: string | null;
47791
+ subject_template?: string;
47792
+ timezone?: string;
47793
+ updated_at?: string;
47794
+ updated_by?: string | null;
47795
+ };
47796
+ Relationships: [{
47797
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
47798
+ columns: ["connection_id"];
47799
+ isOneToOne: false;
47800
+ referencedRelation: "email_auth_connections";
47801
+ referencedColumns: ["id"];
47802
+ }, {
47803
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
47804
+ columns: ["connection_id"];
47805
+ isOneToOne: false;
47806
+ referencedRelation: "email_auth_connections_safe";
47807
+ referencedColumns: ["id"];
47808
+ }];
47809
+ };
47147
47810
  planning_monteur_day_locations: {
47148
47811
  Row: {
47149
47812
  created_at: string;
@@ -48622,6 +49285,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
48622
49285
  lead_time_days: number | null;
48623
49286
  min_order_quantity: number | null;
48624
49287
  notes: string | null;
49288
+ previous_price_cents: number | null;
49289
+ price_source: string;
49290
+ price_updated_at: string | null;
48625
49291
  product_id: string;
48626
49292
  purchase_price_cents: number | null;
48627
49293
  supplier_article_number: string | null;
@@ -48635,6 +49301,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
48635
49301
  lead_time_days?: number | null;
48636
49302
  min_order_quantity?: number | null;
48637
49303
  notes?: string | null;
49304
+ previous_price_cents?: number | null;
49305
+ price_source?: string;
49306
+ price_updated_at?: string | null;
48638
49307
  product_id: string;
48639
49308
  purchase_price_cents?: number | null;
48640
49309
  supplier_article_number?: string | null;
@@ -48648,6 +49317,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
48648
49317
  lead_time_days?: number | null;
48649
49318
  min_order_quantity?: number | null;
48650
49319
  notes?: string | null;
49320
+ previous_price_cents?: number | null;
49321
+ price_source?: string;
49322
+ price_updated_at?: string | null;
48651
49323
  product_id?: string;
48652
49324
  purchase_price_cents?: number | null;
48653
49325
  supplier_article_number?: string | null;
@@ -49178,9 +49850,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
49178
49850
  purchase_order_items: {
49179
49851
  Row: {
49180
49852
  article_number: string | null;
49853
+ cancel_reason: string | null;
49854
+ cancelled_at: string | null;
49181
49855
  created_at: string;
49182
49856
  delivery_date: string | null;
49183
49857
  id: string;
49858
+ incoming_booked: number;
49859
+ line_status: string;
49184
49860
  name: string;
49185
49861
  note: string | null;
49186
49862
  pot_size: string | null;
@@ -49188,6 +49864,8 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
49188
49864
  product_type: string;
49189
49865
  purchase_order_id: string;
49190
49866
  quantity: number;
49867
+ received_at: string | null;
49868
+ received_booked: number;
49191
49869
  supplier_id: string | null;
49192
49870
  supplier_product_id: string | null;
49193
49871
  unit_price_cents: number;
@@ -49195,9 +49873,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
49195
49873
  };
49196
49874
  Insert: {
49197
49875
  article_number?: string | null;
49876
+ cancel_reason?: string | null;
49877
+ cancelled_at?: string | null;
49198
49878
  created_at?: string;
49199
49879
  delivery_date?: string | null;
49200
49880
  id?: string;
49881
+ incoming_booked?: number;
49882
+ line_status?: string;
49201
49883
  name?: string;
49202
49884
  note?: string | null;
49203
49885
  pot_size?: string | null;
@@ -49205,6 +49887,8 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
49205
49887
  product_type?: string;
49206
49888
  purchase_order_id: string;
49207
49889
  quantity?: number;
49890
+ received_at?: string | null;
49891
+ received_booked?: number;
49208
49892
  supplier_id?: string | null;
49209
49893
  supplier_product_id?: string | null;
49210
49894
  unit_price_cents?: number;
@@ -49212,9 +49896,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
49212
49896
  };
49213
49897
  Update: {
49214
49898
  article_number?: string | null;
49899
+ cancel_reason?: string | null;
49900
+ cancelled_at?: string | null;
49215
49901
  created_at?: string;
49216
49902
  delivery_date?: string | null;
49217
49903
  id?: string;
49904
+ incoming_booked?: number;
49905
+ line_status?: string;
49218
49906
  name?: string;
49219
49907
  note?: string | null;
49220
49908
  pot_size?: string | null;
@@ -49222,6 +49910,8 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
49222
49910
  product_type?: string;
49223
49911
  purchase_order_id?: string;
49224
49912
  quantity?: number;
49913
+ received_at?: string | null;
49914
+ received_booked?: number;
49225
49915
  supplier_id?: string | null;
49226
49916
  supplier_product_id?: string | null;
49227
49917
  unit_price_cents?: number;
@@ -49325,6 +50015,153 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
49325
50015
  referencedColumns: ["id"];
49326
50016
  }];
49327
50017
  };
50018
+ purchase_request_events: {
50019
+ Row: {
50020
+ created_at: string;
50021
+ details: import("../integrations/supabase/types").Json | null;
50022
+ event_type: string;
50023
+ id: string;
50024
+ request_id: string;
50025
+ };
50026
+ Insert: {
50027
+ created_at?: string;
50028
+ details?: import("../integrations/supabase/types").Json | null;
50029
+ event_type: string;
50030
+ id?: string;
50031
+ request_id: string;
50032
+ };
50033
+ Update: {
50034
+ created_at?: string;
50035
+ details?: import("../integrations/supabase/types").Json | null;
50036
+ event_type?: string;
50037
+ id?: string;
50038
+ request_id?: string;
50039
+ };
50040
+ Relationships: [{
50041
+ foreignKeyName: "purchase_request_events_request_id_fkey";
50042
+ columns: ["request_id"];
50043
+ isOneToOne: false;
50044
+ referencedRelation: "purchase_requests";
50045
+ referencedColumns: ["id"];
50046
+ }];
50047
+ };
50048
+ purchase_request_responses: {
50049
+ Row: {
50050
+ confirmed_date: string | null;
50051
+ confirmed_price_cents: number | null;
50052
+ confirmed_quantity: number;
50053
+ created_at: string;
50054
+ id: string;
50055
+ not_available: boolean;
50056
+ note: string | null;
50057
+ purchase_order_item_id: string;
50058
+ request_id: string;
50059
+ updated_at: string;
50060
+ };
50061
+ Insert: {
50062
+ confirmed_date?: string | null;
50063
+ confirmed_price_cents?: number | null;
50064
+ confirmed_quantity?: number;
50065
+ created_at?: string;
50066
+ id?: string;
50067
+ not_available?: boolean;
50068
+ note?: string | null;
50069
+ purchase_order_item_id: string;
50070
+ request_id: string;
50071
+ updated_at?: string;
50072
+ };
50073
+ Update: {
50074
+ confirmed_date?: string | null;
50075
+ confirmed_price_cents?: number | null;
50076
+ confirmed_quantity?: number;
50077
+ created_at?: string;
50078
+ id?: string;
50079
+ not_available?: boolean;
50080
+ note?: string | null;
50081
+ purchase_order_item_id?: string;
50082
+ request_id?: string;
50083
+ updated_at?: string;
50084
+ };
50085
+ Relationships: [{
50086
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
50087
+ columns: ["purchase_order_item_id"];
50088
+ isOneToOne: false;
50089
+ referencedRelation: "purchase_order_items";
50090
+ referencedColumns: ["id"];
50091
+ }, {
50092
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
50093
+ columns: ["request_id"];
50094
+ isOneToOne: false;
50095
+ referencedRelation: "purchase_requests";
50096
+ referencedColumns: ["id"];
50097
+ }];
50098
+ };
50099
+ purchase_requests: {
50100
+ Row: {
50101
+ created_at: string;
50102
+ expires_at: string;
50103
+ first_viewed_at: string | null;
50104
+ id: string;
50105
+ processed_at: string | null;
50106
+ purchase_order_id: string;
50107
+ responded_at: string | null;
50108
+ sent_at: string;
50109
+ status: string;
50110
+ supplier_id: string | null;
50111
+ supplier_name: string;
50112
+ supplier_note: string | null;
50113
+ to_address: string | null;
50114
+ token_hash: string;
50115
+ updated_at: string;
50116
+ };
50117
+ Insert: {
50118
+ created_at?: string;
50119
+ expires_at?: string;
50120
+ first_viewed_at?: string | null;
50121
+ id?: string;
50122
+ processed_at?: string | null;
50123
+ purchase_order_id: string;
50124
+ responded_at?: string | null;
50125
+ sent_at?: string;
50126
+ status?: string;
50127
+ supplier_id?: string | null;
50128
+ supplier_name?: string;
50129
+ supplier_note?: string | null;
50130
+ to_address?: string | null;
50131
+ token_hash: string;
50132
+ updated_at?: string;
50133
+ };
50134
+ Update: {
50135
+ created_at?: string;
50136
+ expires_at?: string;
50137
+ first_viewed_at?: string | null;
50138
+ id?: string;
50139
+ processed_at?: string | null;
50140
+ purchase_order_id?: string;
50141
+ responded_at?: string | null;
50142
+ sent_at?: string;
50143
+ status?: string;
50144
+ supplier_id?: string | null;
50145
+ supplier_name?: string;
50146
+ supplier_note?: string | null;
50147
+ to_address?: string | null;
50148
+ token_hash?: string;
50149
+ updated_at?: string;
50150
+ };
50151
+ Relationships: [{
50152
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
50153
+ columns: ["purchase_order_id"];
50154
+ isOneToOne: false;
50155
+ referencedRelation: "purchase_orders";
50156
+ referencedColumns: ["id"];
50157
+ }, {
50158
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
50159
+ columns: ["supplier_id"];
50160
+ isOneToOne: false;
50161
+ referencedRelation: "suppliers";
50162
+ referencedColumns: ["id"];
50163
+ }];
50164
+ };
49328
50165
  reception_notifications: {
49329
50166
  Row: {
49330
50167
  booking_id: string | null;
@@ -53750,7 +54587,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
53750
54587
  created_at: string;
53751
54588
  default_quantity: number;
53752
54589
  description: string | null;
53753
- duration_minutes: number | null;
54590
+ duration_minutes: number;
53754
54591
  id: string;
53755
54592
  mandaat_type: string | null;
53756
54593
  name: string;
@@ -53767,7 +54604,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
53767
54604
  created_at?: string;
53768
54605
  default_quantity?: number;
53769
54606
  description?: string | null;
53770
- duration_minutes?: number | null;
54607
+ duration_minutes?: number;
53771
54608
  id?: string;
53772
54609
  mandaat_type?: string | null;
53773
54610
  name: string;
@@ -53784,7 +54621,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
53784
54621
  created_at?: string;
53785
54622
  default_quantity?: number;
53786
54623
  description?: string | null;
53787
- duration_minutes?: number | null;
54624
+ duration_minutes?: number;
53788
54625
  id?: string;
53789
54626
  mandaat_type?: string | null;
53790
54627
  name?: string;
@@ -56780,6 +57617,31 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
56780
57617
  };
56781
57618
  Returns: import("../integrations/supabase/types").Json;
56782
57619
  };
57620
+ inkoop_cancel_line: {
57621
+ Args: {
57622
+ _item_id: string;
57623
+ _reason: string;
57624
+ };
57625
+ Returns: string;
57626
+ };
57627
+ inkoop_get_supplier_request: {
57628
+ Args: {
57629
+ _token: string;
57630
+ };
57631
+ Returns: import("../integrations/supabase/types").Json;
57632
+ };
57633
+ inkoop_hash_token: {
57634
+ Args: {
57635
+ _token: string;
57636
+ };
57637
+ Returns: string;
57638
+ };
57639
+ inkoop_html_escape: {
57640
+ Args: {
57641
+ _t: string;
57642
+ };
57643
+ Returns: string;
57644
+ };
56783
57645
  inkoop_list_artikelen: {
56784
57646
  Args: never;
56785
57647
  Returns: {
@@ -56804,9 +57666,17 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
56804
57666
  Args: never;
56805
57667
  Returns: string;
56806
57668
  };
57669
+ inkoop_process_request: {
57670
+ Args: {
57671
+ _request_id: string;
57672
+ };
57673
+ Returns: undefined;
57674
+ };
56807
57675
  inkoop_send_order: {
56808
57676
  Args: {
57677
+ _base_url?: string;
56809
57678
  _order_id: string;
57679
+ _resend?: boolean;
56810
57680
  };
56811
57681
  Returns: {
56812
57682
  outbox_id: string;
@@ -56821,6 +57691,26 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
56821
57691
  };
56822
57692
  Returns: undefined;
56823
57693
  };
57694
+ inkoop_stock_key: {
57695
+ Args: {
57696
+ p_product_id: string;
57697
+ };
57698
+ Returns: string;
57699
+ };
57700
+ inkoop_submit_supplier_response: {
57701
+ Args: {
57702
+ _lines: import("../integrations/supabase/types").Json;
57703
+ _note?: string;
57704
+ _token: string;
57705
+ };
57706
+ Returns: import("../integrations/supabase/types").Json;
57707
+ };
57708
+ inkoop_sync_item_stock: {
57709
+ Args: {
57710
+ p_item_id: string;
57711
+ };
57712
+ Returns: undefined;
57713
+ };
56824
57714
  instructie_get: {
56825
57715
  Args: {
56826
57716
  _sleutel: string;
@@ -56981,6 +57871,27 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
56981
57871
  };
56982
57872
  Returns: boolean;
56983
57873
  };
57874
+ layout_print_document: {
57875
+ Args: {
57876
+ _documentnaam: string;
57877
+ _documenttype: string;
57878
+ _herkomst?: string;
57879
+ _idempotentie_sleutel?: string;
57880
+ _is_herprint?: boolean;
57881
+ _kopieen?: number;
57882
+ _layout_id?: string;
57883
+ _payload?: import("../integrations/supabase/types").Json;
57884
+ _pdf_base64?: string;
57885
+ _pdf_url?: string;
57886
+ _print_plek_id?: string;
57887
+ _werkplek?: string;
57888
+ };
57889
+ Returns: {
57890
+ bestaand: boolean;
57891
+ job_id: string;
57892
+ printer_id: string;
57893
+ }[];
57894
+ };
56984
57895
  list_medewerkers: {
56985
57896
  Args: never;
56986
57897
  Returns: {
@@ -57258,6 +58169,12 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
57258
58169
  };
57259
58170
  Returns: number;
57260
58171
  };
58172
+ logistics_cart_barcode_opschonen: {
58173
+ Args: {
58174
+ p_portie?: number;
58175
+ };
58176
+ Returns: import("../integrations/supabase/types").Json;
58177
+ };
57261
58178
  logistics_cart_barcode_value: {
57262
58179
  Args: {
57263
58180
  _cart_id: string;
@@ -57677,6 +58594,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
57677
58594
  };
57678
58595
  Returns: import("../integrations/supabase/types").Json;
57679
58596
  };
58597
+ logistics_control_scan_print_own: {
58598
+ Args: {
58599
+ p_is_herprint?: boolean;
58600
+ p_scan_id: string;
58601
+ };
58602
+ Returns: import("../integrations/supabase/types").Json;
58603
+ };
57680
58604
  logistics_control_scan_retry: {
57681
58605
  Args: {
57682
58606
  _id: string;
@@ -58581,6 +59505,21 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
58581
59505
  };
58582
59506
  Returns: import("../integrations/supabase/types").Json;
58583
59507
  };
59508
+ logistics_print_via_layout: {
59509
+ Args: {
59510
+ _documentnaam: string;
59511
+ _documenttype: string;
59512
+ _herkomst: string;
59513
+ _idempotentie_sleutel: string;
59514
+ _is_herprint: boolean;
59515
+ _layout_id: string;
59516
+ _payload: import("../integrations/supabase/types").Json;
59517
+ _pdf_base64: string;
59518
+ _pdf_url: string;
59519
+ _print_plek_id: string;
59520
+ };
59521
+ Returns: import("../integrations/supabase/types").Json;
59522
+ };
58584
59523
  logistics_prune_buffer_member_queue: {
58585
59524
  Args: never;
58586
59525
  Returns: number;
@@ -58867,6 +59806,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
58867
59806
  };
58868
59807
  Returns: string;
58869
59808
  };
59809
+ logistics_shipping_note_status: {
59810
+ Args: {
59811
+ p_cart_id?: string;
59812
+ p_slip_job_id?: string;
59813
+ };
59814
+ Returns: import("../integrations/supabase/types").Json;
59815
+ };
58870
59816
  logistics_shipping_notes_wake_all: {
58871
59817
  Args: never;
58872
59818
  Returns: import("../integrations/supabase/types").Json;
@@ -58929,6 +59875,12 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
58929
59875
  };
58930
59876
  Returns: undefined;
58931
59877
  };
59878
+ logistics_slip_note_retry: {
59879
+ Args: {
59880
+ _id: string;
59881
+ };
59882
+ Returns: import("../integrations/supabase/types").Json;
59883
+ };
58932
59884
  logistics_sticker_follows_slip: {
58933
59885
  Args: never;
58934
59886
  Returns: boolean;
@@ -59673,6 +60625,10 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
59673
60625
  };
59674
60626
  Returns: string;
59675
60627
  };
60628
+ pick_is_reference_admin: {
60629
+ Args: never;
60630
+ Returns: boolean;
60631
+ };
59676
60632
  pick_mark_printed: {
59677
60633
  Args: {
59678
60634
  _queue_item_id: string;
@@ -60096,6 +61052,12 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
60096
61052
  };
60097
61053
  Returns: import("../integrations/supabase/types").Json;
60098
61054
  };
61055
+ pick_verify_rows: {
61056
+ Args: {
61057
+ _rows: import("../integrations/supabase/types").Json;
61058
+ };
61059
+ Returns: import("../integrations/supabase/types").Json;
61060
+ };
60099
61061
  pickstation_get_orders_raw: {
60100
61062
  Args: never;
60101
61063
  Returns: import("../integrations/supabase/types").Json;
@@ -60276,6 +61238,12 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
60276
61238
  };
60277
61239
  Returns: import("../integrations/supabase/types").Json;
60278
61240
  };
61241
+ quote_create_from_scratch: {
61242
+ Args: {
61243
+ _payload: import("../integrations/supabase/types").Json;
61244
+ };
61245
+ Returns: import("../integrations/supabase/types").Json;
61246
+ };
60279
61247
  quote_create_from_source: {
60280
61248
  Args: {
60281
61249
  _payload?: import("../integrations/supabase/types").Json;
@@ -60326,6 +61294,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
60326
61294
  };
60327
61295
  Returns: string;
60328
61296
  };
61297
+ quote_sync_work_order: {
61298
+ Args: {
61299
+ _monteur_instructies?: string;
61300
+ _offerte_id: string;
61301
+ };
61302
+ Returns: boolean;
61303
+ };
60329
61304
  recompute_all_reserved_stock: {
60330
61305
  Args: never;
60331
61306
  Returns: undefined;
@@ -60546,6 +61521,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
60546
61521
  };
60547
61522
  Returns: import("../integrations/supabase/types").Json;
60548
61523
  };
61524
+ scan_controleer_pincode: {
61525
+ Args: {
61526
+ p_pin: string;
61527
+ p_scanner_id: string;
61528
+ };
61529
+ Returns: boolean;
61530
+ };
60549
61531
  scan_dashboard_stats: {
60550
61532
  Args: {
60551
61533
  p_dagen?: number;
@@ -60565,6 +61547,12 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
60565
61547
  };
60566
61548
  Returns: import("../integrations/supabase/types").Json;
60567
61549
  };
61550
+ scan_heeft_pincode: {
61551
+ Args: {
61552
+ p_scanner_id: string;
61553
+ };
61554
+ Returns: boolean;
61555
+ };
60568
61556
  scan_kar_compleet: {
60569
61557
  Args: {
60570
61558
  p_allow_reprint?: boolean;
@@ -60582,6 +61570,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
60582
61570
  Args: {
60583
61571
  p_code: string;
60584
61572
  p_latency_ms?: number;
61573
+ p_medewerker?: string;
60585
61574
  p_message?: string;
60586
61575
  p_result: string;
60587
61576
  p_scanner_key?: string;
@@ -60654,6 +61643,22 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
60654
61643
  };
60655
61644
  Returns: undefined;
60656
61645
  };
61646
+ scan_scanner_info: {
61647
+ Args: {
61648
+ p_slug: string;
61649
+ };
61650
+ Returns: {
61651
+ actief: boolean;
61652
+ heeft_pincode: boolean;
61653
+ id: string;
61654
+ naam: string;
61655
+ omschrijving: string;
61656
+ printer_id: string;
61657
+ type: string;
61658
+ vereist_medewerker: boolean;
61659
+ werkplek: string;
61660
+ }[];
61661
+ };
60657
61662
  scan_sessie_annuleren: {
60658
61663
  Args: {
60659
61664
  p_sessie_id: string;
@@ -61616,6 +62621,21 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
61616
62621
  };
61617
62622
  Returns: import("../integrations/supabase/types").Json;
61618
62623
  };
62624
+ wo_list_colleague_planning: {
62625
+ Args: {
62626
+ _from: string;
62627
+ _monteur_id: string;
62628
+ _to: string;
62629
+ };
62630
+ Returns: {
62631
+ end_at: string;
62632
+ id: string;
62633
+ role: string;
62634
+ start_at: string;
62635
+ status: string;
62636
+ werkbon_id: string;
62637
+ }[];
62638
+ };
61619
62639
  wo_list_offerte_requests: {
61620
62640
  Args: {
61621
62641
  _status?: string;
@@ -62436,6 +63456,27 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
62436
63456
  };
62437
63457
  Relationships: [];
62438
63458
  };
63459
+ artikelen_instellingen: {
63460
+ Row: {
63461
+ created_at: string;
63462
+ id: number;
63463
+ marge_procent: number;
63464
+ updated_at: string;
63465
+ };
63466
+ Insert: {
63467
+ created_at?: string;
63468
+ id?: number;
63469
+ marge_procent?: number;
63470
+ updated_at?: string;
63471
+ };
63472
+ Update: {
63473
+ created_at?: string;
63474
+ id?: number;
63475
+ marge_procent?: number;
63476
+ updated_at?: string;
63477
+ };
63478
+ Relationships: [];
63479
+ };
62439
63480
  artikelen_veldconfig: {
62440
63481
  Row: {
62441
63482
  bron_pad: string;
@@ -72111,6 +73152,30 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
72111
73152
  };
72112
73153
  Relationships: [];
72113
73154
  };
73155
+ logistics_cart_barcode_archief: {
73156
+ Row: {
73157
+ barcode: string;
73158
+ cart_id: string;
73159
+ created_at: string | null;
73160
+ gearchiveerd_op: string;
73161
+ order_id: string | null;
73162
+ };
73163
+ Insert: {
73164
+ barcode: string;
73165
+ cart_id: string;
73166
+ created_at?: string | null;
73167
+ gearchiveerd_op?: string;
73168
+ order_id?: string | null;
73169
+ };
73170
+ Update: {
73171
+ barcode?: string;
73172
+ cart_id?: string;
73173
+ created_at?: string | null;
73174
+ gearchiveerd_op?: string;
73175
+ order_id?: string | null;
73176
+ };
73177
+ Relationships: [];
73178
+ };
72114
73179
  logistics_control_scan: {
72115
73180
  Row: {
72116
73181
  approved_at: string | null;
@@ -77764,18 +78829,24 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
77764
78829
  Row: {
77765
78830
  id: boolean;
77766
78831
  last_cleanup_at: string | null;
78832
+ last_error: string | null;
78833
+ last_error_at: string | null;
77767
78834
  last_sync_at: string | null;
77768
78835
  updated_at: string;
77769
78836
  };
77770
78837
  Insert: {
77771
78838
  id?: boolean;
77772
78839
  last_cleanup_at?: string | null;
78840
+ last_error?: string | null;
78841
+ last_error_at?: string | null;
77773
78842
  last_sync_at?: string | null;
77774
78843
  updated_at?: string;
77775
78844
  };
77776
78845
  Update: {
77777
78846
  id?: boolean;
77778
78847
  last_cleanup_at?: string | null;
78848
+ last_error?: string | null;
78849
+ last_error_at?: string | null;
77779
78850
  last_sync_at?: string | null;
77780
78851
  updated_at?: string;
77781
78852
  };
@@ -77901,6 +78972,54 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
77901
78972
  };
77902
78973
  Relationships: [];
77903
78974
  };
78975
+ planning_confirmation_log: {
78976
+ Row: {
78977
+ created_at: string;
78978
+ end_at: string;
78979
+ id: string;
78980
+ outbox_id: string | null;
78981
+ planning_item_id: string;
78982
+ reason: string | null;
78983
+ recipient: string | null;
78984
+ start_at: string;
78985
+ status: string;
78986
+ };
78987
+ Insert: {
78988
+ created_at?: string;
78989
+ end_at: string;
78990
+ id?: string;
78991
+ outbox_id?: string | null;
78992
+ planning_item_id: string;
78993
+ reason?: string | null;
78994
+ recipient?: string | null;
78995
+ start_at: string;
78996
+ status: string;
78997
+ };
78998
+ Update: {
78999
+ created_at?: string;
79000
+ end_at?: string;
79001
+ id?: string;
79002
+ outbox_id?: string | null;
79003
+ planning_item_id?: string;
79004
+ reason?: string | null;
79005
+ recipient?: string | null;
79006
+ start_at?: string;
79007
+ status?: string;
79008
+ };
79009
+ Relationships: [{
79010
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
79011
+ columns: ["planning_item_id"];
79012
+ isOneToOne: false;
79013
+ referencedRelation: "planning_items";
79014
+ referencedColumns: ["id"];
79015
+ }, {
79016
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
79017
+ columns: ["planning_item_id"];
79018
+ isOneToOne: false;
79019
+ referencedRelation: "planning_overview";
79020
+ referencedColumns: ["id"];
79021
+ }];
79022
+ };
77904
79023
  planning_item_assistants: {
77905
79024
  Row: {
77906
79025
  created_at: string;
@@ -77985,6 +79104,60 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
77985
79104
  referencedColumns: ["id"];
77986
79105
  }];
77987
79106
  };
79107
+ planning_mail_settings: {
79108
+ Row: {
79109
+ body_template: string;
79110
+ cc: string[];
79111
+ connection_id: string | null;
79112
+ created_at: string;
79113
+ enabled: boolean;
79114
+ id: boolean;
79115
+ reply_to: string | null;
79116
+ subject_template: string;
79117
+ timezone: string;
79118
+ updated_at: string;
79119
+ updated_by: string | null;
79120
+ };
79121
+ Insert: {
79122
+ body_template?: string;
79123
+ cc?: string[];
79124
+ connection_id?: string | null;
79125
+ created_at?: string;
79126
+ enabled?: boolean;
79127
+ id?: boolean;
79128
+ reply_to?: string | null;
79129
+ subject_template?: string;
79130
+ timezone?: string;
79131
+ updated_at?: string;
79132
+ updated_by?: string | null;
79133
+ };
79134
+ Update: {
79135
+ body_template?: string;
79136
+ cc?: string[];
79137
+ connection_id?: string | null;
79138
+ created_at?: string;
79139
+ enabled?: boolean;
79140
+ id?: boolean;
79141
+ reply_to?: string | null;
79142
+ subject_template?: string;
79143
+ timezone?: string;
79144
+ updated_at?: string;
79145
+ updated_by?: string | null;
79146
+ };
79147
+ Relationships: [{
79148
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
79149
+ columns: ["connection_id"];
79150
+ isOneToOne: false;
79151
+ referencedRelation: "email_auth_connections";
79152
+ referencedColumns: ["id"];
79153
+ }, {
79154
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
79155
+ columns: ["connection_id"];
79156
+ isOneToOne: false;
79157
+ referencedRelation: "email_auth_connections_safe";
79158
+ referencedColumns: ["id"];
79159
+ }];
79160
+ };
77988
79161
  planning_monteur_day_locations: {
77989
79162
  Row: {
77990
79163
  created_at: string;
@@ -79463,6 +80636,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
79463
80636
  lead_time_days: number | null;
79464
80637
  min_order_quantity: number | null;
79465
80638
  notes: string | null;
80639
+ previous_price_cents: number | null;
80640
+ price_source: string;
80641
+ price_updated_at: string | null;
79466
80642
  product_id: string;
79467
80643
  purchase_price_cents: number | null;
79468
80644
  supplier_article_number: string | null;
@@ -79476,6 +80652,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
79476
80652
  lead_time_days?: number | null;
79477
80653
  min_order_quantity?: number | null;
79478
80654
  notes?: string | null;
80655
+ previous_price_cents?: number | null;
80656
+ price_source?: string;
80657
+ price_updated_at?: string | null;
79479
80658
  product_id: string;
79480
80659
  purchase_price_cents?: number | null;
79481
80660
  supplier_article_number?: string | null;
@@ -79489,6 +80668,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
79489
80668
  lead_time_days?: number | null;
79490
80669
  min_order_quantity?: number | null;
79491
80670
  notes?: string | null;
80671
+ previous_price_cents?: number | null;
80672
+ price_source?: string;
80673
+ price_updated_at?: string | null;
79492
80674
  product_id?: string;
79493
80675
  purchase_price_cents?: number | null;
79494
80676
  supplier_article_number?: string | null;
@@ -80019,9 +81201,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
80019
81201
  purchase_order_items: {
80020
81202
  Row: {
80021
81203
  article_number: string | null;
81204
+ cancel_reason: string | null;
81205
+ cancelled_at: string | null;
80022
81206
  created_at: string;
80023
81207
  delivery_date: string | null;
80024
81208
  id: string;
81209
+ incoming_booked: number;
81210
+ line_status: string;
80025
81211
  name: string;
80026
81212
  note: string | null;
80027
81213
  pot_size: string | null;
@@ -80029,6 +81215,8 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
80029
81215
  product_type: string;
80030
81216
  purchase_order_id: string;
80031
81217
  quantity: number;
81218
+ received_at: string | null;
81219
+ received_booked: number;
80032
81220
  supplier_id: string | null;
80033
81221
  supplier_product_id: string | null;
80034
81222
  unit_price_cents: number;
@@ -80036,9 +81224,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
80036
81224
  };
80037
81225
  Insert: {
80038
81226
  article_number?: string | null;
81227
+ cancel_reason?: string | null;
81228
+ cancelled_at?: string | null;
80039
81229
  created_at?: string;
80040
81230
  delivery_date?: string | null;
80041
81231
  id?: string;
81232
+ incoming_booked?: number;
81233
+ line_status?: string;
80042
81234
  name?: string;
80043
81235
  note?: string | null;
80044
81236
  pot_size?: string | null;
@@ -80046,6 +81238,8 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
80046
81238
  product_type?: string;
80047
81239
  purchase_order_id: string;
80048
81240
  quantity?: number;
81241
+ received_at?: string | null;
81242
+ received_booked?: number;
80049
81243
  supplier_id?: string | null;
80050
81244
  supplier_product_id?: string | null;
80051
81245
  unit_price_cents?: number;
@@ -80053,9 +81247,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
80053
81247
  };
80054
81248
  Update: {
80055
81249
  article_number?: string | null;
81250
+ cancel_reason?: string | null;
81251
+ cancelled_at?: string | null;
80056
81252
  created_at?: string;
80057
81253
  delivery_date?: string | null;
80058
81254
  id?: string;
81255
+ incoming_booked?: number;
81256
+ line_status?: string;
80059
81257
  name?: string;
80060
81258
  note?: string | null;
80061
81259
  pot_size?: string | null;
@@ -80063,6 +81261,8 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
80063
81261
  product_type?: string;
80064
81262
  purchase_order_id?: string;
80065
81263
  quantity?: number;
81264
+ received_at?: string | null;
81265
+ received_booked?: number;
80066
81266
  supplier_id?: string | null;
80067
81267
  supplier_product_id?: string | null;
80068
81268
  unit_price_cents?: number;
@@ -80166,6 +81366,153 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
80166
81366
  referencedColumns: ["id"];
80167
81367
  }];
80168
81368
  };
81369
+ purchase_request_events: {
81370
+ Row: {
81371
+ created_at: string;
81372
+ details: import("../integrations/supabase/types").Json | null;
81373
+ event_type: string;
81374
+ id: string;
81375
+ request_id: string;
81376
+ };
81377
+ Insert: {
81378
+ created_at?: string;
81379
+ details?: import("../integrations/supabase/types").Json | null;
81380
+ event_type: string;
81381
+ id?: string;
81382
+ request_id: string;
81383
+ };
81384
+ Update: {
81385
+ created_at?: string;
81386
+ details?: import("../integrations/supabase/types").Json | null;
81387
+ event_type?: string;
81388
+ id?: string;
81389
+ request_id?: string;
81390
+ };
81391
+ Relationships: [{
81392
+ foreignKeyName: "purchase_request_events_request_id_fkey";
81393
+ columns: ["request_id"];
81394
+ isOneToOne: false;
81395
+ referencedRelation: "purchase_requests";
81396
+ referencedColumns: ["id"];
81397
+ }];
81398
+ };
81399
+ purchase_request_responses: {
81400
+ Row: {
81401
+ confirmed_date: string | null;
81402
+ confirmed_price_cents: number | null;
81403
+ confirmed_quantity: number;
81404
+ created_at: string;
81405
+ id: string;
81406
+ not_available: boolean;
81407
+ note: string | null;
81408
+ purchase_order_item_id: string;
81409
+ request_id: string;
81410
+ updated_at: string;
81411
+ };
81412
+ Insert: {
81413
+ confirmed_date?: string | null;
81414
+ confirmed_price_cents?: number | null;
81415
+ confirmed_quantity?: number;
81416
+ created_at?: string;
81417
+ id?: string;
81418
+ not_available?: boolean;
81419
+ note?: string | null;
81420
+ purchase_order_item_id: string;
81421
+ request_id: string;
81422
+ updated_at?: string;
81423
+ };
81424
+ Update: {
81425
+ confirmed_date?: string | null;
81426
+ confirmed_price_cents?: number | null;
81427
+ confirmed_quantity?: number;
81428
+ created_at?: string;
81429
+ id?: string;
81430
+ not_available?: boolean;
81431
+ note?: string | null;
81432
+ purchase_order_item_id?: string;
81433
+ request_id?: string;
81434
+ updated_at?: string;
81435
+ };
81436
+ Relationships: [{
81437
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
81438
+ columns: ["purchase_order_item_id"];
81439
+ isOneToOne: false;
81440
+ referencedRelation: "purchase_order_items";
81441
+ referencedColumns: ["id"];
81442
+ }, {
81443
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
81444
+ columns: ["request_id"];
81445
+ isOneToOne: false;
81446
+ referencedRelation: "purchase_requests";
81447
+ referencedColumns: ["id"];
81448
+ }];
81449
+ };
81450
+ purchase_requests: {
81451
+ Row: {
81452
+ created_at: string;
81453
+ expires_at: string;
81454
+ first_viewed_at: string | null;
81455
+ id: string;
81456
+ processed_at: string | null;
81457
+ purchase_order_id: string;
81458
+ responded_at: string | null;
81459
+ sent_at: string;
81460
+ status: string;
81461
+ supplier_id: string | null;
81462
+ supplier_name: string;
81463
+ supplier_note: string | null;
81464
+ to_address: string | null;
81465
+ token_hash: string;
81466
+ updated_at: string;
81467
+ };
81468
+ Insert: {
81469
+ created_at?: string;
81470
+ expires_at?: string;
81471
+ first_viewed_at?: string | null;
81472
+ id?: string;
81473
+ processed_at?: string | null;
81474
+ purchase_order_id: string;
81475
+ responded_at?: string | null;
81476
+ sent_at?: string;
81477
+ status?: string;
81478
+ supplier_id?: string | null;
81479
+ supplier_name?: string;
81480
+ supplier_note?: string | null;
81481
+ to_address?: string | null;
81482
+ token_hash: string;
81483
+ updated_at?: string;
81484
+ };
81485
+ Update: {
81486
+ created_at?: string;
81487
+ expires_at?: string;
81488
+ first_viewed_at?: string | null;
81489
+ id?: string;
81490
+ processed_at?: string | null;
81491
+ purchase_order_id?: string;
81492
+ responded_at?: string | null;
81493
+ sent_at?: string;
81494
+ status?: string;
81495
+ supplier_id?: string | null;
81496
+ supplier_name?: string;
81497
+ supplier_note?: string | null;
81498
+ to_address?: string | null;
81499
+ token_hash?: string;
81500
+ updated_at?: string;
81501
+ };
81502
+ Relationships: [{
81503
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
81504
+ columns: ["purchase_order_id"];
81505
+ isOneToOne: false;
81506
+ referencedRelation: "purchase_orders";
81507
+ referencedColumns: ["id"];
81508
+ }, {
81509
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
81510
+ columns: ["supplier_id"];
81511
+ isOneToOne: false;
81512
+ referencedRelation: "suppliers";
81513
+ referencedColumns: ["id"];
81514
+ }];
81515
+ };
80169
81516
  reception_notifications: {
80170
81517
  Row: {
80171
81518
  booking_id: string | null;
@@ -84591,7 +85938,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
84591
85938
  created_at: string;
84592
85939
  default_quantity: number;
84593
85940
  description: string | null;
84594
- duration_minutes: number | null;
85941
+ duration_minutes: number;
84595
85942
  id: string;
84596
85943
  mandaat_type: string | null;
84597
85944
  name: string;
@@ -84608,7 +85955,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
84608
85955
  created_at?: string;
84609
85956
  default_quantity?: number;
84610
85957
  description?: string | null;
84611
- duration_minutes?: number | null;
85958
+ duration_minutes?: number;
84612
85959
  id?: string;
84613
85960
  mandaat_type?: string | null;
84614
85961
  name: string;
@@ -84625,7 +85972,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
84625
85972
  created_at?: string;
84626
85973
  default_quantity?: number;
84627
85974
  description?: string | null;
84628
- duration_minutes?: number | null;
85975
+ duration_minutes?: number;
84629
85976
  id?: string;
84630
85977
  mandaat_type?: string | null;
84631
85978
  name?: string;
@@ -87621,6 +88968,31 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
87621
88968
  };
87622
88969
  Returns: import("../integrations/supabase/types").Json;
87623
88970
  };
88971
+ inkoop_cancel_line: {
88972
+ Args: {
88973
+ _item_id: string;
88974
+ _reason: string;
88975
+ };
88976
+ Returns: string;
88977
+ };
88978
+ inkoop_get_supplier_request: {
88979
+ Args: {
88980
+ _token: string;
88981
+ };
88982
+ Returns: import("../integrations/supabase/types").Json;
88983
+ };
88984
+ inkoop_hash_token: {
88985
+ Args: {
88986
+ _token: string;
88987
+ };
88988
+ Returns: string;
88989
+ };
88990
+ inkoop_html_escape: {
88991
+ Args: {
88992
+ _t: string;
88993
+ };
88994
+ Returns: string;
88995
+ };
87624
88996
  inkoop_list_artikelen: {
87625
88997
  Args: never;
87626
88998
  Returns: {
@@ -87645,9 +89017,17 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
87645
89017
  Args: never;
87646
89018
  Returns: string;
87647
89019
  };
89020
+ inkoop_process_request: {
89021
+ Args: {
89022
+ _request_id: string;
89023
+ };
89024
+ Returns: undefined;
89025
+ };
87648
89026
  inkoop_send_order: {
87649
89027
  Args: {
89028
+ _base_url?: string;
87650
89029
  _order_id: string;
89030
+ _resend?: boolean;
87651
89031
  };
87652
89032
  Returns: {
87653
89033
  outbox_id: string;
@@ -87662,6 +89042,26 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
87662
89042
  };
87663
89043
  Returns: undefined;
87664
89044
  };
89045
+ inkoop_stock_key: {
89046
+ Args: {
89047
+ p_product_id: string;
89048
+ };
89049
+ Returns: string;
89050
+ };
89051
+ inkoop_submit_supplier_response: {
89052
+ Args: {
89053
+ _lines: import("../integrations/supabase/types").Json;
89054
+ _note?: string;
89055
+ _token: string;
89056
+ };
89057
+ Returns: import("../integrations/supabase/types").Json;
89058
+ };
89059
+ inkoop_sync_item_stock: {
89060
+ Args: {
89061
+ p_item_id: string;
89062
+ };
89063
+ Returns: undefined;
89064
+ };
87665
89065
  instructie_get: {
87666
89066
  Args: {
87667
89067
  _sleutel: string;
@@ -87822,6 +89222,27 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
87822
89222
  };
87823
89223
  Returns: boolean;
87824
89224
  };
89225
+ layout_print_document: {
89226
+ Args: {
89227
+ _documentnaam: string;
89228
+ _documenttype: string;
89229
+ _herkomst?: string;
89230
+ _idempotentie_sleutel?: string;
89231
+ _is_herprint?: boolean;
89232
+ _kopieen?: number;
89233
+ _layout_id?: string;
89234
+ _payload?: import("../integrations/supabase/types").Json;
89235
+ _pdf_base64?: string;
89236
+ _pdf_url?: string;
89237
+ _print_plek_id?: string;
89238
+ _werkplek?: string;
89239
+ };
89240
+ Returns: {
89241
+ bestaand: boolean;
89242
+ job_id: string;
89243
+ printer_id: string;
89244
+ }[];
89245
+ };
87825
89246
  list_medewerkers: {
87826
89247
  Args: never;
87827
89248
  Returns: {
@@ -88099,6 +89520,12 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
88099
89520
  };
88100
89521
  Returns: number;
88101
89522
  };
89523
+ logistics_cart_barcode_opschonen: {
89524
+ Args: {
89525
+ p_portie?: number;
89526
+ };
89527
+ Returns: import("../integrations/supabase/types").Json;
89528
+ };
88102
89529
  logistics_cart_barcode_value: {
88103
89530
  Args: {
88104
89531
  _cart_id: string;
@@ -88518,6 +89945,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
88518
89945
  };
88519
89946
  Returns: import("../integrations/supabase/types").Json;
88520
89947
  };
89948
+ logistics_control_scan_print_own: {
89949
+ Args: {
89950
+ p_is_herprint?: boolean;
89951
+ p_scan_id: string;
89952
+ };
89953
+ Returns: import("../integrations/supabase/types").Json;
89954
+ };
88521
89955
  logistics_control_scan_retry: {
88522
89956
  Args: {
88523
89957
  _id: string;
@@ -89422,6 +90856,21 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
89422
90856
  };
89423
90857
  Returns: import("../integrations/supabase/types").Json;
89424
90858
  };
90859
+ logistics_print_via_layout: {
90860
+ Args: {
90861
+ _documentnaam: string;
90862
+ _documenttype: string;
90863
+ _herkomst: string;
90864
+ _idempotentie_sleutel: string;
90865
+ _is_herprint: boolean;
90866
+ _layout_id: string;
90867
+ _payload: import("../integrations/supabase/types").Json;
90868
+ _pdf_base64: string;
90869
+ _pdf_url: string;
90870
+ _print_plek_id: string;
90871
+ };
90872
+ Returns: import("../integrations/supabase/types").Json;
90873
+ };
89425
90874
  logistics_prune_buffer_member_queue: {
89426
90875
  Args: never;
89427
90876
  Returns: number;
@@ -89708,6 +91157,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
89708
91157
  };
89709
91158
  Returns: string;
89710
91159
  };
91160
+ logistics_shipping_note_status: {
91161
+ Args: {
91162
+ p_cart_id?: string;
91163
+ p_slip_job_id?: string;
91164
+ };
91165
+ Returns: import("../integrations/supabase/types").Json;
91166
+ };
89711
91167
  logistics_shipping_notes_wake_all: {
89712
91168
  Args: never;
89713
91169
  Returns: import("../integrations/supabase/types").Json;
@@ -89770,6 +91226,12 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
89770
91226
  };
89771
91227
  Returns: undefined;
89772
91228
  };
91229
+ logistics_slip_note_retry: {
91230
+ Args: {
91231
+ _id: string;
91232
+ };
91233
+ Returns: import("../integrations/supabase/types").Json;
91234
+ };
89773
91235
  logistics_sticker_follows_slip: {
89774
91236
  Args: never;
89775
91237
  Returns: boolean;
@@ -90514,6 +91976,10 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
90514
91976
  };
90515
91977
  Returns: string;
90516
91978
  };
91979
+ pick_is_reference_admin: {
91980
+ Args: never;
91981
+ Returns: boolean;
91982
+ };
90517
91983
  pick_mark_printed: {
90518
91984
  Args: {
90519
91985
  _queue_item_id: string;
@@ -90937,6 +92403,12 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
90937
92403
  };
90938
92404
  Returns: import("../integrations/supabase/types").Json;
90939
92405
  };
92406
+ pick_verify_rows: {
92407
+ Args: {
92408
+ _rows: import("../integrations/supabase/types").Json;
92409
+ };
92410
+ Returns: import("../integrations/supabase/types").Json;
92411
+ };
90940
92412
  pickstation_get_orders_raw: {
90941
92413
  Args: never;
90942
92414
  Returns: import("../integrations/supabase/types").Json;
@@ -91117,6 +92589,12 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
91117
92589
  };
91118
92590
  Returns: import("../integrations/supabase/types").Json;
91119
92591
  };
92592
+ quote_create_from_scratch: {
92593
+ Args: {
92594
+ _payload: import("../integrations/supabase/types").Json;
92595
+ };
92596
+ Returns: import("../integrations/supabase/types").Json;
92597
+ };
91120
92598
  quote_create_from_source: {
91121
92599
  Args: {
91122
92600
  _payload?: import("../integrations/supabase/types").Json;
@@ -91167,6 +92645,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
91167
92645
  };
91168
92646
  Returns: string;
91169
92647
  };
92648
+ quote_sync_work_order: {
92649
+ Args: {
92650
+ _monteur_instructies?: string;
92651
+ _offerte_id: string;
92652
+ };
92653
+ Returns: boolean;
92654
+ };
91170
92655
  recompute_all_reserved_stock: {
91171
92656
  Args: never;
91172
92657
  Returns: undefined;
@@ -91387,6 +92872,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
91387
92872
  };
91388
92873
  Returns: import("../integrations/supabase/types").Json;
91389
92874
  };
92875
+ scan_controleer_pincode: {
92876
+ Args: {
92877
+ p_pin: string;
92878
+ p_scanner_id: string;
92879
+ };
92880
+ Returns: boolean;
92881
+ };
91390
92882
  scan_dashboard_stats: {
91391
92883
  Args: {
91392
92884
  p_dagen?: number;
@@ -91406,6 +92898,12 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
91406
92898
  };
91407
92899
  Returns: import("../integrations/supabase/types").Json;
91408
92900
  };
92901
+ scan_heeft_pincode: {
92902
+ Args: {
92903
+ p_scanner_id: string;
92904
+ };
92905
+ Returns: boolean;
92906
+ };
91409
92907
  scan_kar_compleet: {
91410
92908
  Args: {
91411
92909
  p_allow_reprint?: boolean;
@@ -91423,6 +92921,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
91423
92921
  Args: {
91424
92922
  p_code: string;
91425
92923
  p_latency_ms?: number;
92924
+ p_medewerker?: string;
91426
92925
  p_message?: string;
91427
92926
  p_result: string;
91428
92927
  p_scanner_key?: string;
@@ -91495,6 +92994,22 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
91495
92994
  };
91496
92995
  Returns: undefined;
91497
92996
  };
92997
+ scan_scanner_info: {
92998
+ Args: {
92999
+ p_slug: string;
93000
+ };
93001
+ Returns: {
93002
+ actief: boolean;
93003
+ heeft_pincode: boolean;
93004
+ id: string;
93005
+ naam: string;
93006
+ omschrijving: string;
93007
+ printer_id: string;
93008
+ type: string;
93009
+ vereist_medewerker: boolean;
93010
+ werkplek: string;
93011
+ }[];
93012
+ };
91498
93013
  scan_sessie_annuleren: {
91499
93014
  Args: {
91500
93015
  p_sessie_id: string;
@@ -92457,6 +93972,21 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
92457
93972
  };
92458
93973
  Returns: import("../integrations/supabase/types").Json;
92459
93974
  };
93975
+ wo_list_colleague_planning: {
93976
+ Args: {
93977
+ _from: string;
93978
+ _monteur_id: string;
93979
+ _to: string;
93980
+ };
93981
+ Returns: {
93982
+ end_at: string;
93983
+ id: string;
93984
+ role: string;
93985
+ start_at: string;
93986
+ status: string;
93987
+ werkbon_id: string;
93988
+ }[];
93989
+ };
92460
93990
  wo_list_offerte_requests: {
92461
93991
  Args: {
92462
93992
  _status?: string;
@@ -93266,6 +94796,27 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
93266
94796
  };
93267
94797
  Relationships: [];
93268
94798
  };
94799
+ artikelen_instellingen: {
94800
+ Row: {
94801
+ created_at: string;
94802
+ id: number;
94803
+ marge_procent: number;
94804
+ updated_at: string;
94805
+ };
94806
+ Insert: {
94807
+ created_at?: string;
94808
+ id?: number;
94809
+ marge_procent?: number;
94810
+ updated_at?: string;
94811
+ };
94812
+ Update: {
94813
+ created_at?: string;
94814
+ id?: number;
94815
+ marge_procent?: number;
94816
+ updated_at?: string;
94817
+ };
94818
+ Relationships: [];
94819
+ };
93269
94820
  artikelen_veldconfig: {
93270
94821
  Row: {
93271
94822
  bron_pad: string;
@@ -102941,6 +104492,30 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
102941
104492
  };
102942
104493
  Relationships: [];
102943
104494
  };
104495
+ logistics_cart_barcode_archief: {
104496
+ Row: {
104497
+ barcode: string;
104498
+ cart_id: string;
104499
+ created_at: string | null;
104500
+ gearchiveerd_op: string;
104501
+ order_id: string | null;
104502
+ };
104503
+ Insert: {
104504
+ barcode: string;
104505
+ cart_id: string;
104506
+ created_at?: string | null;
104507
+ gearchiveerd_op?: string;
104508
+ order_id?: string | null;
104509
+ };
104510
+ Update: {
104511
+ barcode?: string;
104512
+ cart_id?: string;
104513
+ created_at?: string | null;
104514
+ gearchiveerd_op?: string;
104515
+ order_id?: string | null;
104516
+ };
104517
+ Relationships: [];
104518
+ };
102944
104519
  logistics_control_scan: {
102945
104520
  Row: {
102946
104521
  approved_at: string | null;
@@ -108594,18 +110169,24 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
108594
110169
  Row: {
108595
110170
  id: boolean;
108596
110171
  last_cleanup_at: string | null;
110172
+ last_error: string | null;
110173
+ last_error_at: string | null;
108597
110174
  last_sync_at: string | null;
108598
110175
  updated_at: string;
108599
110176
  };
108600
110177
  Insert: {
108601
110178
  id?: boolean;
108602
110179
  last_cleanup_at?: string | null;
110180
+ last_error?: string | null;
110181
+ last_error_at?: string | null;
108603
110182
  last_sync_at?: string | null;
108604
110183
  updated_at?: string;
108605
110184
  };
108606
110185
  Update: {
108607
110186
  id?: boolean;
108608
110187
  last_cleanup_at?: string | null;
110188
+ last_error?: string | null;
110189
+ last_error_at?: string | null;
108609
110190
  last_sync_at?: string | null;
108610
110191
  updated_at?: string;
108611
110192
  };
@@ -108731,6 +110312,54 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
108731
110312
  };
108732
110313
  Relationships: [];
108733
110314
  };
110315
+ planning_confirmation_log: {
110316
+ Row: {
110317
+ created_at: string;
110318
+ end_at: string;
110319
+ id: string;
110320
+ outbox_id: string | null;
110321
+ planning_item_id: string;
110322
+ reason: string | null;
110323
+ recipient: string | null;
110324
+ start_at: string;
110325
+ status: string;
110326
+ };
110327
+ Insert: {
110328
+ created_at?: string;
110329
+ end_at: string;
110330
+ id?: string;
110331
+ outbox_id?: string | null;
110332
+ planning_item_id: string;
110333
+ reason?: string | null;
110334
+ recipient?: string | null;
110335
+ start_at: string;
110336
+ status: string;
110337
+ };
110338
+ Update: {
110339
+ created_at?: string;
110340
+ end_at?: string;
110341
+ id?: string;
110342
+ outbox_id?: string | null;
110343
+ planning_item_id?: string;
110344
+ reason?: string | null;
110345
+ recipient?: string | null;
110346
+ start_at?: string;
110347
+ status?: string;
110348
+ };
110349
+ Relationships: [{
110350
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
110351
+ columns: ["planning_item_id"];
110352
+ isOneToOne: false;
110353
+ referencedRelation: "planning_items";
110354
+ referencedColumns: ["id"];
110355
+ }, {
110356
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
110357
+ columns: ["planning_item_id"];
110358
+ isOneToOne: false;
110359
+ referencedRelation: "planning_overview";
110360
+ referencedColumns: ["id"];
110361
+ }];
110362
+ };
108734
110363
  planning_item_assistants: {
108735
110364
  Row: {
108736
110365
  created_at: string;
@@ -108815,6 +110444,60 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
108815
110444
  referencedColumns: ["id"];
108816
110445
  }];
108817
110446
  };
110447
+ planning_mail_settings: {
110448
+ Row: {
110449
+ body_template: string;
110450
+ cc: string[];
110451
+ connection_id: string | null;
110452
+ created_at: string;
110453
+ enabled: boolean;
110454
+ id: boolean;
110455
+ reply_to: string | null;
110456
+ subject_template: string;
110457
+ timezone: string;
110458
+ updated_at: string;
110459
+ updated_by: string | null;
110460
+ };
110461
+ Insert: {
110462
+ body_template?: string;
110463
+ cc?: string[];
110464
+ connection_id?: string | null;
110465
+ created_at?: string;
110466
+ enabled?: boolean;
110467
+ id?: boolean;
110468
+ reply_to?: string | null;
110469
+ subject_template?: string;
110470
+ timezone?: string;
110471
+ updated_at?: string;
110472
+ updated_by?: string | null;
110473
+ };
110474
+ Update: {
110475
+ body_template?: string;
110476
+ cc?: string[];
110477
+ connection_id?: string | null;
110478
+ created_at?: string;
110479
+ enabled?: boolean;
110480
+ id?: boolean;
110481
+ reply_to?: string | null;
110482
+ subject_template?: string;
110483
+ timezone?: string;
110484
+ updated_at?: string;
110485
+ updated_by?: string | null;
110486
+ };
110487
+ Relationships: [{
110488
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
110489
+ columns: ["connection_id"];
110490
+ isOneToOne: false;
110491
+ referencedRelation: "email_auth_connections";
110492
+ referencedColumns: ["id"];
110493
+ }, {
110494
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
110495
+ columns: ["connection_id"];
110496
+ isOneToOne: false;
110497
+ referencedRelation: "email_auth_connections_safe";
110498
+ referencedColumns: ["id"];
110499
+ }];
110500
+ };
108818
110501
  planning_monteur_day_locations: {
108819
110502
  Row: {
108820
110503
  created_at: string;
@@ -110293,6 +111976,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
110293
111976
  lead_time_days: number | null;
110294
111977
  min_order_quantity: number | null;
110295
111978
  notes: string | null;
111979
+ previous_price_cents: number | null;
111980
+ price_source: string;
111981
+ price_updated_at: string | null;
110296
111982
  product_id: string;
110297
111983
  purchase_price_cents: number | null;
110298
111984
  supplier_article_number: string | null;
@@ -110306,6 +111992,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
110306
111992
  lead_time_days?: number | null;
110307
111993
  min_order_quantity?: number | null;
110308
111994
  notes?: string | null;
111995
+ previous_price_cents?: number | null;
111996
+ price_source?: string;
111997
+ price_updated_at?: string | null;
110309
111998
  product_id: string;
110310
111999
  purchase_price_cents?: number | null;
110311
112000
  supplier_article_number?: string | null;
@@ -110319,6 +112008,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
110319
112008
  lead_time_days?: number | null;
110320
112009
  min_order_quantity?: number | null;
110321
112010
  notes?: string | null;
112011
+ previous_price_cents?: number | null;
112012
+ price_source?: string;
112013
+ price_updated_at?: string | null;
110322
112014
  product_id?: string;
110323
112015
  purchase_price_cents?: number | null;
110324
112016
  supplier_article_number?: string | null;
@@ -110849,9 +112541,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
110849
112541
  purchase_order_items: {
110850
112542
  Row: {
110851
112543
  article_number: string | null;
112544
+ cancel_reason: string | null;
112545
+ cancelled_at: string | null;
110852
112546
  created_at: string;
110853
112547
  delivery_date: string | null;
110854
112548
  id: string;
112549
+ incoming_booked: number;
112550
+ line_status: string;
110855
112551
  name: string;
110856
112552
  note: string | null;
110857
112553
  pot_size: string | null;
@@ -110859,6 +112555,8 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
110859
112555
  product_type: string;
110860
112556
  purchase_order_id: string;
110861
112557
  quantity: number;
112558
+ received_at: string | null;
112559
+ received_booked: number;
110862
112560
  supplier_id: string | null;
110863
112561
  supplier_product_id: string | null;
110864
112562
  unit_price_cents: number;
@@ -110866,9 +112564,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
110866
112564
  };
110867
112565
  Insert: {
110868
112566
  article_number?: string | null;
112567
+ cancel_reason?: string | null;
112568
+ cancelled_at?: string | null;
110869
112569
  created_at?: string;
110870
112570
  delivery_date?: string | null;
110871
112571
  id?: string;
112572
+ incoming_booked?: number;
112573
+ line_status?: string;
110872
112574
  name?: string;
110873
112575
  note?: string | null;
110874
112576
  pot_size?: string | null;
@@ -110876,6 +112578,8 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
110876
112578
  product_type?: string;
110877
112579
  purchase_order_id: string;
110878
112580
  quantity?: number;
112581
+ received_at?: string | null;
112582
+ received_booked?: number;
110879
112583
  supplier_id?: string | null;
110880
112584
  supplier_product_id?: string | null;
110881
112585
  unit_price_cents?: number;
@@ -110883,9 +112587,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
110883
112587
  };
110884
112588
  Update: {
110885
112589
  article_number?: string | null;
112590
+ cancel_reason?: string | null;
112591
+ cancelled_at?: string | null;
110886
112592
  created_at?: string;
110887
112593
  delivery_date?: string | null;
110888
112594
  id?: string;
112595
+ incoming_booked?: number;
112596
+ line_status?: string;
110889
112597
  name?: string;
110890
112598
  note?: string | null;
110891
112599
  pot_size?: string | null;
@@ -110893,6 +112601,8 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
110893
112601
  product_type?: string;
110894
112602
  purchase_order_id?: string;
110895
112603
  quantity?: number;
112604
+ received_at?: string | null;
112605
+ received_booked?: number;
110896
112606
  supplier_id?: string | null;
110897
112607
  supplier_product_id?: string | null;
110898
112608
  unit_price_cents?: number;
@@ -110996,6 +112706,153 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
110996
112706
  referencedColumns: ["id"];
110997
112707
  }];
110998
112708
  };
112709
+ purchase_request_events: {
112710
+ Row: {
112711
+ created_at: string;
112712
+ details: import("../integrations/supabase/types").Json | null;
112713
+ event_type: string;
112714
+ id: string;
112715
+ request_id: string;
112716
+ };
112717
+ Insert: {
112718
+ created_at?: string;
112719
+ details?: import("../integrations/supabase/types").Json | null;
112720
+ event_type: string;
112721
+ id?: string;
112722
+ request_id: string;
112723
+ };
112724
+ Update: {
112725
+ created_at?: string;
112726
+ details?: import("../integrations/supabase/types").Json | null;
112727
+ event_type?: string;
112728
+ id?: string;
112729
+ request_id?: string;
112730
+ };
112731
+ Relationships: [{
112732
+ foreignKeyName: "purchase_request_events_request_id_fkey";
112733
+ columns: ["request_id"];
112734
+ isOneToOne: false;
112735
+ referencedRelation: "purchase_requests";
112736
+ referencedColumns: ["id"];
112737
+ }];
112738
+ };
112739
+ purchase_request_responses: {
112740
+ Row: {
112741
+ confirmed_date: string | null;
112742
+ confirmed_price_cents: number | null;
112743
+ confirmed_quantity: number;
112744
+ created_at: string;
112745
+ id: string;
112746
+ not_available: boolean;
112747
+ note: string | null;
112748
+ purchase_order_item_id: string;
112749
+ request_id: string;
112750
+ updated_at: string;
112751
+ };
112752
+ Insert: {
112753
+ confirmed_date?: string | null;
112754
+ confirmed_price_cents?: number | null;
112755
+ confirmed_quantity?: number;
112756
+ created_at?: string;
112757
+ id?: string;
112758
+ not_available?: boolean;
112759
+ note?: string | null;
112760
+ purchase_order_item_id: string;
112761
+ request_id: string;
112762
+ updated_at?: string;
112763
+ };
112764
+ Update: {
112765
+ confirmed_date?: string | null;
112766
+ confirmed_price_cents?: number | null;
112767
+ confirmed_quantity?: number;
112768
+ created_at?: string;
112769
+ id?: string;
112770
+ not_available?: boolean;
112771
+ note?: string | null;
112772
+ purchase_order_item_id?: string;
112773
+ request_id?: string;
112774
+ updated_at?: string;
112775
+ };
112776
+ Relationships: [{
112777
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
112778
+ columns: ["purchase_order_item_id"];
112779
+ isOneToOne: false;
112780
+ referencedRelation: "purchase_order_items";
112781
+ referencedColumns: ["id"];
112782
+ }, {
112783
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
112784
+ columns: ["request_id"];
112785
+ isOneToOne: false;
112786
+ referencedRelation: "purchase_requests";
112787
+ referencedColumns: ["id"];
112788
+ }];
112789
+ };
112790
+ purchase_requests: {
112791
+ Row: {
112792
+ created_at: string;
112793
+ expires_at: string;
112794
+ first_viewed_at: string | null;
112795
+ id: string;
112796
+ processed_at: string | null;
112797
+ purchase_order_id: string;
112798
+ responded_at: string | null;
112799
+ sent_at: string;
112800
+ status: string;
112801
+ supplier_id: string | null;
112802
+ supplier_name: string;
112803
+ supplier_note: string | null;
112804
+ to_address: string | null;
112805
+ token_hash: string;
112806
+ updated_at: string;
112807
+ };
112808
+ Insert: {
112809
+ created_at?: string;
112810
+ expires_at?: string;
112811
+ first_viewed_at?: string | null;
112812
+ id?: string;
112813
+ processed_at?: string | null;
112814
+ purchase_order_id: string;
112815
+ responded_at?: string | null;
112816
+ sent_at?: string;
112817
+ status?: string;
112818
+ supplier_id?: string | null;
112819
+ supplier_name?: string;
112820
+ supplier_note?: string | null;
112821
+ to_address?: string | null;
112822
+ token_hash: string;
112823
+ updated_at?: string;
112824
+ };
112825
+ Update: {
112826
+ created_at?: string;
112827
+ expires_at?: string;
112828
+ first_viewed_at?: string | null;
112829
+ id?: string;
112830
+ processed_at?: string | null;
112831
+ purchase_order_id?: string;
112832
+ responded_at?: string | null;
112833
+ sent_at?: string;
112834
+ status?: string;
112835
+ supplier_id?: string | null;
112836
+ supplier_name?: string;
112837
+ supplier_note?: string | null;
112838
+ to_address?: string | null;
112839
+ token_hash?: string;
112840
+ updated_at?: string;
112841
+ };
112842
+ Relationships: [{
112843
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
112844
+ columns: ["purchase_order_id"];
112845
+ isOneToOne: false;
112846
+ referencedRelation: "purchase_orders";
112847
+ referencedColumns: ["id"];
112848
+ }, {
112849
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
112850
+ columns: ["supplier_id"];
112851
+ isOneToOne: false;
112852
+ referencedRelation: "suppliers";
112853
+ referencedColumns: ["id"];
112854
+ }];
112855
+ };
110999
112856
  reception_notifications: {
111000
112857
  Row: {
111001
112858
  booking_id: string | null;
@@ -115421,7 +117278,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
115421
117278
  created_at: string;
115422
117279
  default_quantity: number;
115423
117280
  description: string | null;
115424
- duration_minutes: number | null;
117281
+ duration_minutes: number;
115425
117282
  id: string;
115426
117283
  mandaat_type: string | null;
115427
117284
  name: string;
@@ -115438,7 +117295,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
115438
117295
  created_at?: string;
115439
117296
  default_quantity?: number;
115440
117297
  description?: string | null;
115441
- duration_minutes?: number | null;
117298
+ duration_minutes?: number;
115442
117299
  id?: string;
115443
117300
  mandaat_type?: string | null;
115444
117301
  name: string;
@@ -115455,7 +117312,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
115455
117312
  created_at?: string;
115456
117313
  default_quantity?: number;
115457
117314
  description?: string | null;
115458
- duration_minutes?: number | null;
117315
+ duration_minutes?: number;
115459
117316
  id?: string;
115460
117317
  mandaat_type?: string | null;
115461
117318
  name?: string;
@@ -118451,6 +120308,31 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
118451
120308
  };
118452
120309
  Returns: import("../integrations/supabase/types").Json;
118453
120310
  };
120311
+ inkoop_cancel_line: {
120312
+ Args: {
120313
+ _item_id: string;
120314
+ _reason: string;
120315
+ };
120316
+ Returns: string;
120317
+ };
120318
+ inkoop_get_supplier_request: {
120319
+ Args: {
120320
+ _token: string;
120321
+ };
120322
+ Returns: import("../integrations/supabase/types").Json;
120323
+ };
120324
+ inkoop_hash_token: {
120325
+ Args: {
120326
+ _token: string;
120327
+ };
120328
+ Returns: string;
120329
+ };
120330
+ inkoop_html_escape: {
120331
+ Args: {
120332
+ _t: string;
120333
+ };
120334
+ Returns: string;
120335
+ };
118454
120336
  inkoop_list_artikelen: {
118455
120337
  Args: never;
118456
120338
  Returns: {
@@ -118475,9 +120357,17 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
118475
120357
  Args: never;
118476
120358
  Returns: string;
118477
120359
  };
120360
+ inkoop_process_request: {
120361
+ Args: {
120362
+ _request_id: string;
120363
+ };
120364
+ Returns: undefined;
120365
+ };
118478
120366
  inkoop_send_order: {
118479
120367
  Args: {
120368
+ _base_url?: string;
118480
120369
  _order_id: string;
120370
+ _resend?: boolean;
118481
120371
  };
118482
120372
  Returns: {
118483
120373
  outbox_id: string;
@@ -118492,6 +120382,26 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
118492
120382
  };
118493
120383
  Returns: undefined;
118494
120384
  };
120385
+ inkoop_stock_key: {
120386
+ Args: {
120387
+ p_product_id: string;
120388
+ };
120389
+ Returns: string;
120390
+ };
120391
+ inkoop_submit_supplier_response: {
120392
+ Args: {
120393
+ _lines: import("../integrations/supabase/types").Json;
120394
+ _note?: string;
120395
+ _token: string;
120396
+ };
120397
+ Returns: import("../integrations/supabase/types").Json;
120398
+ };
120399
+ inkoop_sync_item_stock: {
120400
+ Args: {
120401
+ p_item_id: string;
120402
+ };
120403
+ Returns: undefined;
120404
+ };
118495
120405
  instructie_get: {
118496
120406
  Args: {
118497
120407
  _sleutel: string;
@@ -118652,6 +120562,27 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
118652
120562
  };
118653
120563
  Returns: boolean;
118654
120564
  };
120565
+ layout_print_document: {
120566
+ Args: {
120567
+ _documentnaam: string;
120568
+ _documenttype: string;
120569
+ _herkomst?: string;
120570
+ _idempotentie_sleutel?: string;
120571
+ _is_herprint?: boolean;
120572
+ _kopieen?: number;
120573
+ _layout_id?: string;
120574
+ _payload?: import("../integrations/supabase/types").Json;
120575
+ _pdf_base64?: string;
120576
+ _pdf_url?: string;
120577
+ _print_plek_id?: string;
120578
+ _werkplek?: string;
120579
+ };
120580
+ Returns: {
120581
+ bestaand: boolean;
120582
+ job_id: string;
120583
+ printer_id: string;
120584
+ }[];
120585
+ };
118655
120586
  list_medewerkers: {
118656
120587
  Args: never;
118657
120588
  Returns: {
@@ -118929,6 +120860,12 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
118929
120860
  };
118930
120861
  Returns: number;
118931
120862
  };
120863
+ logistics_cart_barcode_opschonen: {
120864
+ Args: {
120865
+ p_portie?: number;
120866
+ };
120867
+ Returns: import("../integrations/supabase/types").Json;
120868
+ };
118932
120869
  logistics_cart_barcode_value: {
118933
120870
  Args: {
118934
120871
  _cart_id: string;
@@ -119348,6 +121285,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
119348
121285
  };
119349
121286
  Returns: import("../integrations/supabase/types").Json;
119350
121287
  };
121288
+ logistics_control_scan_print_own: {
121289
+ Args: {
121290
+ p_is_herprint?: boolean;
121291
+ p_scan_id: string;
121292
+ };
121293
+ Returns: import("../integrations/supabase/types").Json;
121294
+ };
119351
121295
  logistics_control_scan_retry: {
119352
121296
  Args: {
119353
121297
  _id: string;
@@ -120252,6 +122196,21 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
120252
122196
  };
120253
122197
  Returns: import("../integrations/supabase/types").Json;
120254
122198
  };
122199
+ logistics_print_via_layout: {
122200
+ Args: {
122201
+ _documentnaam: string;
122202
+ _documenttype: string;
122203
+ _herkomst: string;
122204
+ _idempotentie_sleutel: string;
122205
+ _is_herprint: boolean;
122206
+ _layout_id: string;
122207
+ _payload: import("../integrations/supabase/types").Json;
122208
+ _pdf_base64: string;
122209
+ _pdf_url: string;
122210
+ _print_plek_id: string;
122211
+ };
122212
+ Returns: import("../integrations/supabase/types").Json;
122213
+ };
120255
122214
  logistics_prune_buffer_member_queue: {
120256
122215
  Args: never;
120257
122216
  Returns: number;
@@ -120538,6 +122497,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
120538
122497
  };
120539
122498
  Returns: string;
120540
122499
  };
122500
+ logistics_shipping_note_status: {
122501
+ Args: {
122502
+ p_cart_id?: string;
122503
+ p_slip_job_id?: string;
122504
+ };
122505
+ Returns: import("../integrations/supabase/types").Json;
122506
+ };
120541
122507
  logistics_shipping_notes_wake_all: {
120542
122508
  Args: never;
120543
122509
  Returns: import("../integrations/supabase/types").Json;
@@ -120600,6 +122566,12 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
120600
122566
  };
120601
122567
  Returns: undefined;
120602
122568
  };
122569
+ logistics_slip_note_retry: {
122570
+ Args: {
122571
+ _id: string;
122572
+ };
122573
+ Returns: import("../integrations/supabase/types").Json;
122574
+ };
120603
122575
  logistics_sticker_follows_slip: {
120604
122576
  Args: never;
120605
122577
  Returns: boolean;
@@ -121344,6 +123316,10 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
121344
123316
  };
121345
123317
  Returns: string;
121346
123318
  };
123319
+ pick_is_reference_admin: {
123320
+ Args: never;
123321
+ Returns: boolean;
123322
+ };
121347
123323
  pick_mark_printed: {
121348
123324
  Args: {
121349
123325
  _queue_item_id: string;
@@ -121767,6 +123743,12 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
121767
123743
  };
121768
123744
  Returns: import("../integrations/supabase/types").Json;
121769
123745
  };
123746
+ pick_verify_rows: {
123747
+ Args: {
123748
+ _rows: import("../integrations/supabase/types").Json;
123749
+ };
123750
+ Returns: import("../integrations/supabase/types").Json;
123751
+ };
121770
123752
  pickstation_get_orders_raw: {
121771
123753
  Args: never;
121772
123754
  Returns: import("../integrations/supabase/types").Json;
@@ -121947,6 +123929,12 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
121947
123929
  };
121948
123930
  Returns: import("../integrations/supabase/types").Json;
121949
123931
  };
123932
+ quote_create_from_scratch: {
123933
+ Args: {
123934
+ _payload: import("../integrations/supabase/types").Json;
123935
+ };
123936
+ Returns: import("../integrations/supabase/types").Json;
123937
+ };
121950
123938
  quote_create_from_source: {
121951
123939
  Args: {
121952
123940
  _payload?: import("../integrations/supabase/types").Json;
@@ -121997,6 +123985,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
121997
123985
  };
121998
123986
  Returns: string;
121999
123987
  };
123988
+ quote_sync_work_order: {
123989
+ Args: {
123990
+ _monteur_instructies?: string;
123991
+ _offerte_id: string;
123992
+ };
123993
+ Returns: boolean;
123994
+ };
122000
123995
  recompute_all_reserved_stock: {
122001
123996
  Args: never;
122002
123997
  Returns: undefined;
@@ -122217,6 +124212,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
122217
124212
  };
122218
124213
  Returns: import("../integrations/supabase/types").Json;
122219
124214
  };
124215
+ scan_controleer_pincode: {
124216
+ Args: {
124217
+ p_pin: string;
124218
+ p_scanner_id: string;
124219
+ };
124220
+ Returns: boolean;
124221
+ };
122220
124222
  scan_dashboard_stats: {
122221
124223
  Args: {
122222
124224
  p_dagen?: number;
@@ -122236,6 +124238,12 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
122236
124238
  };
122237
124239
  Returns: import("../integrations/supabase/types").Json;
122238
124240
  };
124241
+ scan_heeft_pincode: {
124242
+ Args: {
124243
+ p_scanner_id: string;
124244
+ };
124245
+ Returns: boolean;
124246
+ };
122239
124247
  scan_kar_compleet: {
122240
124248
  Args: {
122241
124249
  p_allow_reprint?: boolean;
@@ -122253,6 +124261,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
122253
124261
  Args: {
122254
124262
  p_code: string;
122255
124263
  p_latency_ms?: number;
124264
+ p_medewerker?: string;
122256
124265
  p_message?: string;
122257
124266
  p_result: string;
122258
124267
  p_scanner_key?: string;
@@ -122325,6 +124334,22 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
122325
124334
  };
122326
124335
  Returns: undefined;
122327
124336
  };
124337
+ scan_scanner_info: {
124338
+ Args: {
124339
+ p_slug: string;
124340
+ };
124341
+ Returns: {
124342
+ actief: boolean;
124343
+ heeft_pincode: boolean;
124344
+ id: string;
124345
+ naam: string;
124346
+ omschrijving: string;
124347
+ printer_id: string;
124348
+ type: string;
124349
+ vereist_medewerker: boolean;
124350
+ werkplek: string;
124351
+ }[];
124352
+ };
122328
124353
  scan_sessie_annuleren: {
122329
124354
  Args: {
122330
124355
  p_sessie_id: string;
@@ -123287,6 +125312,21 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
123287
125312
  };
123288
125313
  Returns: import("../integrations/supabase/types").Json;
123289
125314
  };
125315
+ wo_list_colleague_planning: {
125316
+ Args: {
125317
+ _from: string;
125318
+ _monteur_id: string;
125319
+ _to: string;
125320
+ };
125321
+ Returns: {
125322
+ end_at: string;
125323
+ id: string;
125324
+ role: string;
125325
+ start_at: string;
125326
+ status: string;
125327
+ werkbon_id: string;
125328
+ }[];
125329
+ };
123290
125330
  wo_list_offerte_requests: {
123291
125331
  Args: {
123292
125332
  _status?: string;