@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
@@ -765,6 +765,27 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
765
765
  };
766
766
  Relationships: [];
767
767
  };
768
+ artikelen_instellingen: {
769
+ Row: {
770
+ created_at: string;
771
+ id: number;
772
+ marge_procent: number;
773
+ updated_at: string;
774
+ };
775
+ Insert: {
776
+ created_at?: string;
777
+ id?: number;
778
+ marge_procent?: number;
779
+ updated_at?: string;
780
+ };
781
+ Update: {
782
+ created_at?: string;
783
+ id?: number;
784
+ marge_procent?: number;
785
+ updated_at?: string;
786
+ };
787
+ Relationships: [];
788
+ };
768
789
  artikelen_veldconfig: {
769
790
  Row: {
770
791
  bron_pad: string;
@@ -10440,6 +10461,30 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
10440
10461
  };
10441
10462
  Relationships: [];
10442
10463
  };
10464
+ logistics_cart_barcode_archief: {
10465
+ Row: {
10466
+ barcode: string;
10467
+ cart_id: string;
10468
+ created_at: string | null;
10469
+ gearchiveerd_op: string;
10470
+ order_id: string | null;
10471
+ };
10472
+ Insert: {
10473
+ barcode: string;
10474
+ cart_id: string;
10475
+ created_at?: string | null;
10476
+ gearchiveerd_op?: string;
10477
+ order_id?: string | null;
10478
+ };
10479
+ Update: {
10480
+ barcode?: string;
10481
+ cart_id?: string;
10482
+ created_at?: string | null;
10483
+ gearchiveerd_op?: string;
10484
+ order_id?: string | null;
10485
+ };
10486
+ Relationships: [];
10487
+ };
10443
10488
  logistics_control_scan: {
10444
10489
  Row: {
10445
10490
  approved_at: string | null;
@@ -16093,18 +16138,24 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
16093
16138
  Row: {
16094
16139
  id: boolean;
16095
16140
  last_cleanup_at: string | null;
16141
+ last_error: string | null;
16142
+ last_error_at: string | null;
16096
16143
  last_sync_at: string | null;
16097
16144
  updated_at: string;
16098
16145
  };
16099
16146
  Insert: {
16100
16147
  id?: boolean;
16101
16148
  last_cleanup_at?: string | null;
16149
+ last_error?: string | null;
16150
+ last_error_at?: string | null;
16102
16151
  last_sync_at?: string | null;
16103
16152
  updated_at?: string;
16104
16153
  };
16105
16154
  Update: {
16106
16155
  id?: boolean;
16107
16156
  last_cleanup_at?: string | null;
16157
+ last_error?: string | null;
16158
+ last_error_at?: string | null;
16108
16159
  last_sync_at?: string | null;
16109
16160
  updated_at?: string;
16110
16161
  };
@@ -16230,6 +16281,54 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
16230
16281
  };
16231
16282
  Relationships: [];
16232
16283
  };
16284
+ planning_confirmation_log: {
16285
+ Row: {
16286
+ created_at: string;
16287
+ end_at: string;
16288
+ id: string;
16289
+ outbox_id: string | null;
16290
+ planning_item_id: string;
16291
+ reason: string | null;
16292
+ recipient: string | null;
16293
+ start_at: string;
16294
+ status: string;
16295
+ };
16296
+ Insert: {
16297
+ created_at?: string;
16298
+ end_at: string;
16299
+ id?: string;
16300
+ outbox_id?: string | null;
16301
+ planning_item_id: string;
16302
+ reason?: string | null;
16303
+ recipient?: string | null;
16304
+ start_at: string;
16305
+ status: string;
16306
+ };
16307
+ Update: {
16308
+ created_at?: string;
16309
+ end_at?: string;
16310
+ id?: string;
16311
+ outbox_id?: string | null;
16312
+ planning_item_id?: string;
16313
+ reason?: string | null;
16314
+ recipient?: string | null;
16315
+ start_at?: string;
16316
+ status?: string;
16317
+ };
16318
+ Relationships: [{
16319
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16320
+ columns: ["planning_item_id"];
16321
+ isOneToOne: false;
16322
+ referencedRelation: "planning_items";
16323
+ referencedColumns: ["id"];
16324
+ }, {
16325
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16326
+ columns: ["planning_item_id"];
16327
+ isOneToOne: false;
16328
+ referencedRelation: "planning_overview";
16329
+ referencedColumns: ["id"];
16330
+ }];
16331
+ };
16233
16332
  planning_item_assistants: {
16234
16333
  Row: {
16235
16334
  created_at: string;
@@ -16314,6 +16413,60 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
16314
16413
  referencedColumns: ["id"];
16315
16414
  }];
16316
16415
  };
16416
+ planning_mail_settings: {
16417
+ Row: {
16418
+ body_template: string;
16419
+ cc: string[];
16420
+ connection_id: string | null;
16421
+ created_at: string;
16422
+ enabled: boolean;
16423
+ id: boolean;
16424
+ reply_to: string | null;
16425
+ subject_template: string;
16426
+ timezone: string;
16427
+ updated_at: string;
16428
+ updated_by: string | null;
16429
+ };
16430
+ Insert: {
16431
+ body_template?: string;
16432
+ cc?: string[];
16433
+ connection_id?: string | null;
16434
+ created_at?: string;
16435
+ enabled?: boolean;
16436
+ id?: boolean;
16437
+ reply_to?: string | null;
16438
+ subject_template?: string;
16439
+ timezone?: string;
16440
+ updated_at?: string;
16441
+ updated_by?: string | null;
16442
+ };
16443
+ Update: {
16444
+ body_template?: string;
16445
+ cc?: string[];
16446
+ connection_id?: string | null;
16447
+ created_at?: string;
16448
+ enabled?: boolean;
16449
+ id?: boolean;
16450
+ reply_to?: string | null;
16451
+ subject_template?: string;
16452
+ timezone?: string;
16453
+ updated_at?: string;
16454
+ updated_by?: string | null;
16455
+ };
16456
+ Relationships: [{
16457
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16458
+ columns: ["connection_id"];
16459
+ isOneToOne: false;
16460
+ referencedRelation: "email_auth_connections";
16461
+ referencedColumns: ["id"];
16462
+ }, {
16463
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16464
+ columns: ["connection_id"];
16465
+ isOneToOne: false;
16466
+ referencedRelation: "email_auth_connections_safe";
16467
+ referencedColumns: ["id"];
16468
+ }];
16469
+ };
16317
16470
  planning_monteur_day_locations: {
16318
16471
  Row: {
16319
16472
  created_at: string;
@@ -17792,6 +17945,9 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
17792
17945
  lead_time_days: number | null;
17793
17946
  min_order_quantity: number | null;
17794
17947
  notes: string | null;
17948
+ previous_price_cents: number | null;
17949
+ price_source: string;
17950
+ price_updated_at: string | null;
17795
17951
  product_id: string;
17796
17952
  purchase_price_cents: number | null;
17797
17953
  supplier_article_number: string | null;
@@ -17805,6 +17961,9 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
17805
17961
  lead_time_days?: number | null;
17806
17962
  min_order_quantity?: number | null;
17807
17963
  notes?: string | null;
17964
+ previous_price_cents?: number | null;
17965
+ price_source?: string;
17966
+ price_updated_at?: string | null;
17808
17967
  product_id: string;
17809
17968
  purchase_price_cents?: number | null;
17810
17969
  supplier_article_number?: string | null;
@@ -17818,6 +17977,9 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
17818
17977
  lead_time_days?: number | null;
17819
17978
  min_order_quantity?: number | null;
17820
17979
  notes?: string | null;
17980
+ previous_price_cents?: number | null;
17981
+ price_source?: string;
17982
+ price_updated_at?: string | null;
17821
17983
  product_id?: string;
17822
17984
  purchase_price_cents?: number | null;
17823
17985
  supplier_article_number?: string | null;
@@ -18348,9 +18510,13 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
18348
18510
  purchase_order_items: {
18349
18511
  Row: {
18350
18512
  article_number: string | null;
18513
+ cancel_reason: string | null;
18514
+ cancelled_at: string | null;
18351
18515
  created_at: string;
18352
18516
  delivery_date: string | null;
18353
18517
  id: string;
18518
+ incoming_booked: number;
18519
+ line_status: string;
18354
18520
  name: string;
18355
18521
  note: string | null;
18356
18522
  pot_size: string | null;
@@ -18358,6 +18524,8 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
18358
18524
  product_type: string;
18359
18525
  purchase_order_id: string;
18360
18526
  quantity: number;
18527
+ received_at: string | null;
18528
+ received_booked: number;
18361
18529
  supplier_id: string | null;
18362
18530
  supplier_product_id: string | null;
18363
18531
  unit_price_cents: number;
@@ -18365,9 +18533,13 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
18365
18533
  };
18366
18534
  Insert: {
18367
18535
  article_number?: string | null;
18536
+ cancel_reason?: string | null;
18537
+ cancelled_at?: string | null;
18368
18538
  created_at?: string;
18369
18539
  delivery_date?: string | null;
18370
18540
  id?: string;
18541
+ incoming_booked?: number;
18542
+ line_status?: string;
18371
18543
  name?: string;
18372
18544
  note?: string | null;
18373
18545
  pot_size?: string | null;
@@ -18375,6 +18547,8 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
18375
18547
  product_type?: string;
18376
18548
  purchase_order_id: string;
18377
18549
  quantity?: number;
18550
+ received_at?: string | null;
18551
+ received_booked?: number;
18378
18552
  supplier_id?: string | null;
18379
18553
  supplier_product_id?: string | null;
18380
18554
  unit_price_cents?: number;
@@ -18382,9 +18556,13 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
18382
18556
  };
18383
18557
  Update: {
18384
18558
  article_number?: string | null;
18559
+ cancel_reason?: string | null;
18560
+ cancelled_at?: string | null;
18385
18561
  created_at?: string;
18386
18562
  delivery_date?: string | null;
18387
18563
  id?: string;
18564
+ incoming_booked?: number;
18565
+ line_status?: string;
18388
18566
  name?: string;
18389
18567
  note?: string | null;
18390
18568
  pot_size?: string | null;
@@ -18392,6 +18570,8 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
18392
18570
  product_type?: string;
18393
18571
  purchase_order_id?: string;
18394
18572
  quantity?: number;
18573
+ received_at?: string | null;
18574
+ received_booked?: number;
18395
18575
  supplier_id?: string | null;
18396
18576
  supplier_product_id?: string | null;
18397
18577
  unit_price_cents?: number;
@@ -18495,6 +18675,153 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
18495
18675
  referencedColumns: ["id"];
18496
18676
  }];
18497
18677
  };
18678
+ purchase_request_events: {
18679
+ Row: {
18680
+ created_at: string;
18681
+ details: import("../integrations/supabase/types").Json | null;
18682
+ event_type: string;
18683
+ id: string;
18684
+ request_id: string;
18685
+ };
18686
+ Insert: {
18687
+ created_at?: string;
18688
+ details?: import("../integrations/supabase/types").Json | null;
18689
+ event_type: string;
18690
+ id?: string;
18691
+ request_id: string;
18692
+ };
18693
+ Update: {
18694
+ created_at?: string;
18695
+ details?: import("../integrations/supabase/types").Json | null;
18696
+ event_type?: string;
18697
+ id?: string;
18698
+ request_id?: string;
18699
+ };
18700
+ Relationships: [{
18701
+ foreignKeyName: "purchase_request_events_request_id_fkey";
18702
+ columns: ["request_id"];
18703
+ isOneToOne: false;
18704
+ referencedRelation: "purchase_requests";
18705
+ referencedColumns: ["id"];
18706
+ }];
18707
+ };
18708
+ purchase_request_responses: {
18709
+ Row: {
18710
+ confirmed_date: string | null;
18711
+ confirmed_price_cents: number | null;
18712
+ confirmed_quantity: number;
18713
+ created_at: string;
18714
+ id: string;
18715
+ not_available: boolean;
18716
+ note: string | null;
18717
+ purchase_order_item_id: string;
18718
+ request_id: string;
18719
+ updated_at: string;
18720
+ };
18721
+ Insert: {
18722
+ confirmed_date?: string | null;
18723
+ confirmed_price_cents?: number | null;
18724
+ confirmed_quantity?: number;
18725
+ created_at?: string;
18726
+ id?: string;
18727
+ not_available?: boolean;
18728
+ note?: string | null;
18729
+ purchase_order_item_id: string;
18730
+ request_id: string;
18731
+ updated_at?: string;
18732
+ };
18733
+ Update: {
18734
+ confirmed_date?: string | null;
18735
+ confirmed_price_cents?: number | null;
18736
+ confirmed_quantity?: number;
18737
+ created_at?: string;
18738
+ id?: string;
18739
+ not_available?: boolean;
18740
+ note?: string | null;
18741
+ purchase_order_item_id?: string;
18742
+ request_id?: string;
18743
+ updated_at?: string;
18744
+ };
18745
+ Relationships: [{
18746
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
18747
+ columns: ["purchase_order_item_id"];
18748
+ isOneToOne: false;
18749
+ referencedRelation: "purchase_order_items";
18750
+ referencedColumns: ["id"];
18751
+ }, {
18752
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
18753
+ columns: ["request_id"];
18754
+ isOneToOne: false;
18755
+ referencedRelation: "purchase_requests";
18756
+ referencedColumns: ["id"];
18757
+ }];
18758
+ };
18759
+ purchase_requests: {
18760
+ Row: {
18761
+ created_at: string;
18762
+ expires_at: string;
18763
+ first_viewed_at: string | null;
18764
+ id: string;
18765
+ processed_at: string | null;
18766
+ purchase_order_id: string;
18767
+ responded_at: string | null;
18768
+ sent_at: string;
18769
+ status: string;
18770
+ supplier_id: string | null;
18771
+ supplier_name: string;
18772
+ supplier_note: string | null;
18773
+ to_address: string | null;
18774
+ token_hash: string;
18775
+ updated_at: string;
18776
+ };
18777
+ Insert: {
18778
+ created_at?: string;
18779
+ expires_at?: string;
18780
+ first_viewed_at?: string | null;
18781
+ id?: string;
18782
+ processed_at?: string | null;
18783
+ purchase_order_id: string;
18784
+ responded_at?: string | null;
18785
+ sent_at?: string;
18786
+ status?: string;
18787
+ supplier_id?: string | null;
18788
+ supplier_name?: string;
18789
+ supplier_note?: string | null;
18790
+ to_address?: string | null;
18791
+ token_hash: string;
18792
+ updated_at?: string;
18793
+ };
18794
+ Update: {
18795
+ created_at?: string;
18796
+ expires_at?: string;
18797
+ first_viewed_at?: string | null;
18798
+ id?: string;
18799
+ processed_at?: string | null;
18800
+ purchase_order_id?: string;
18801
+ responded_at?: string | null;
18802
+ sent_at?: string;
18803
+ status?: string;
18804
+ supplier_id?: string | null;
18805
+ supplier_name?: string;
18806
+ supplier_note?: string | null;
18807
+ to_address?: string | null;
18808
+ token_hash?: string;
18809
+ updated_at?: string;
18810
+ };
18811
+ Relationships: [{
18812
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
18813
+ columns: ["purchase_order_id"];
18814
+ isOneToOne: false;
18815
+ referencedRelation: "purchase_orders";
18816
+ referencedColumns: ["id"];
18817
+ }, {
18818
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
18819
+ columns: ["supplier_id"];
18820
+ isOneToOne: false;
18821
+ referencedRelation: "suppliers";
18822
+ referencedColumns: ["id"];
18823
+ }];
18824
+ };
18498
18825
  reception_notifications: {
18499
18826
  Row: {
18500
18827
  booking_id: string | null;
@@ -22920,7 +23247,7 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
22920
23247
  created_at: string;
22921
23248
  default_quantity: number;
22922
23249
  description: string | null;
22923
- duration_minutes: number | null;
23250
+ duration_minutes: number;
22924
23251
  id: string;
22925
23252
  mandaat_type: string | null;
22926
23253
  name: string;
@@ -22937,7 +23264,7 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
22937
23264
  created_at?: string;
22938
23265
  default_quantity?: number;
22939
23266
  description?: string | null;
22940
- duration_minutes?: number | null;
23267
+ duration_minutes?: number;
22941
23268
  id?: string;
22942
23269
  mandaat_type?: string | null;
22943
23270
  name: string;
@@ -22954,7 +23281,7 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
22954
23281
  created_at?: string;
22955
23282
  default_quantity?: number;
22956
23283
  description?: string | null;
22957
- duration_minutes?: number | null;
23284
+ duration_minutes?: number;
22958
23285
  id?: string;
22959
23286
  mandaat_type?: string | null;
22960
23287
  name?: string;
@@ -25950,6 +26277,31 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
25950
26277
  };
25951
26278
  Returns: import("../integrations/supabase/types").Json;
25952
26279
  };
26280
+ inkoop_cancel_line: {
26281
+ Args: {
26282
+ _item_id: string;
26283
+ _reason: string;
26284
+ };
26285
+ Returns: string;
26286
+ };
26287
+ inkoop_get_supplier_request: {
26288
+ Args: {
26289
+ _token: string;
26290
+ };
26291
+ Returns: import("../integrations/supabase/types").Json;
26292
+ };
26293
+ inkoop_hash_token: {
26294
+ Args: {
26295
+ _token: string;
26296
+ };
26297
+ Returns: string;
26298
+ };
26299
+ inkoop_html_escape: {
26300
+ Args: {
26301
+ _t: string;
26302
+ };
26303
+ Returns: string;
26304
+ };
25953
26305
  inkoop_list_artikelen: {
25954
26306
  Args: never;
25955
26307
  Returns: {
@@ -25974,9 +26326,17 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
25974
26326
  Args: never;
25975
26327
  Returns: string;
25976
26328
  };
26329
+ inkoop_process_request: {
26330
+ Args: {
26331
+ _request_id: string;
26332
+ };
26333
+ Returns: undefined;
26334
+ };
25977
26335
  inkoop_send_order: {
25978
26336
  Args: {
26337
+ _base_url?: string;
25979
26338
  _order_id: string;
26339
+ _resend?: boolean;
25980
26340
  };
25981
26341
  Returns: {
25982
26342
  outbox_id: string;
@@ -25991,6 +26351,26 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
25991
26351
  };
25992
26352
  Returns: undefined;
25993
26353
  };
26354
+ inkoop_stock_key: {
26355
+ Args: {
26356
+ p_product_id: string;
26357
+ };
26358
+ Returns: string;
26359
+ };
26360
+ inkoop_submit_supplier_response: {
26361
+ Args: {
26362
+ _lines: import("../integrations/supabase/types").Json;
26363
+ _note?: string;
26364
+ _token: string;
26365
+ };
26366
+ Returns: import("../integrations/supabase/types").Json;
26367
+ };
26368
+ inkoop_sync_item_stock: {
26369
+ Args: {
26370
+ p_item_id: string;
26371
+ };
26372
+ Returns: undefined;
26373
+ };
25994
26374
  instructie_get: {
25995
26375
  Args: {
25996
26376
  _sleutel: string;
@@ -26151,6 +26531,27 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
26151
26531
  };
26152
26532
  Returns: boolean;
26153
26533
  };
26534
+ layout_print_document: {
26535
+ Args: {
26536
+ _documentnaam: string;
26537
+ _documenttype: string;
26538
+ _herkomst?: string;
26539
+ _idempotentie_sleutel?: string;
26540
+ _is_herprint?: boolean;
26541
+ _kopieen?: number;
26542
+ _layout_id?: string;
26543
+ _payload?: import("../integrations/supabase/types").Json;
26544
+ _pdf_base64?: string;
26545
+ _pdf_url?: string;
26546
+ _print_plek_id?: string;
26547
+ _werkplek?: string;
26548
+ };
26549
+ Returns: {
26550
+ bestaand: boolean;
26551
+ job_id: string;
26552
+ printer_id: string;
26553
+ }[];
26554
+ };
26154
26555
  list_medewerkers: {
26155
26556
  Args: never;
26156
26557
  Returns: {
@@ -26428,6 +26829,12 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
26428
26829
  };
26429
26830
  Returns: number;
26430
26831
  };
26832
+ logistics_cart_barcode_opschonen: {
26833
+ Args: {
26834
+ p_portie?: number;
26835
+ };
26836
+ Returns: import("../integrations/supabase/types").Json;
26837
+ };
26431
26838
  logistics_cart_barcode_value: {
26432
26839
  Args: {
26433
26840
  _cart_id: string;
@@ -26847,6 +27254,13 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
26847
27254
  };
26848
27255
  Returns: import("../integrations/supabase/types").Json;
26849
27256
  };
27257
+ logistics_control_scan_print_own: {
27258
+ Args: {
27259
+ p_is_herprint?: boolean;
27260
+ p_scan_id: string;
27261
+ };
27262
+ Returns: import("../integrations/supabase/types").Json;
27263
+ };
26850
27264
  logistics_control_scan_retry: {
26851
27265
  Args: {
26852
27266
  _id: string;
@@ -27751,6 +28165,21 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
27751
28165
  };
27752
28166
  Returns: import("../integrations/supabase/types").Json;
27753
28167
  };
28168
+ logistics_print_via_layout: {
28169
+ Args: {
28170
+ _documentnaam: string;
28171
+ _documenttype: string;
28172
+ _herkomst: string;
28173
+ _idempotentie_sleutel: string;
28174
+ _is_herprint: boolean;
28175
+ _layout_id: string;
28176
+ _payload: import("../integrations/supabase/types").Json;
28177
+ _pdf_base64: string;
28178
+ _pdf_url: string;
28179
+ _print_plek_id: string;
28180
+ };
28181
+ Returns: import("../integrations/supabase/types").Json;
28182
+ };
27754
28183
  logistics_prune_buffer_member_queue: {
27755
28184
  Args: never;
27756
28185
  Returns: number;
@@ -28037,6 +28466,13 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
28037
28466
  };
28038
28467
  Returns: string;
28039
28468
  };
28469
+ logistics_shipping_note_status: {
28470
+ Args: {
28471
+ p_cart_id?: string;
28472
+ p_slip_job_id?: string;
28473
+ };
28474
+ Returns: import("../integrations/supabase/types").Json;
28475
+ };
28040
28476
  logistics_shipping_notes_wake_all: {
28041
28477
  Args: never;
28042
28478
  Returns: import("../integrations/supabase/types").Json;
@@ -28099,6 +28535,12 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
28099
28535
  };
28100
28536
  Returns: undefined;
28101
28537
  };
28538
+ logistics_slip_note_retry: {
28539
+ Args: {
28540
+ _id: string;
28541
+ };
28542
+ Returns: import("../integrations/supabase/types").Json;
28543
+ };
28102
28544
  logistics_sticker_follows_slip: {
28103
28545
  Args: never;
28104
28546
  Returns: boolean;
@@ -28843,6 +29285,10 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
28843
29285
  };
28844
29286
  Returns: string;
28845
29287
  };
29288
+ pick_is_reference_admin: {
29289
+ Args: never;
29290
+ Returns: boolean;
29291
+ };
28846
29292
  pick_mark_printed: {
28847
29293
  Args: {
28848
29294
  _queue_item_id: string;
@@ -29266,6 +29712,12 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
29266
29712
  };
29267
29713
  Returns: import("../integrations/supabase/types").Json;
29268
29714
  };
29715
+ pick_verify_rows: {
29716
+ Args: {
29717
+ _rows: import("../integrations/supabase/types").Json;
29718
+ };
29719
+ Returns: import("../integrations/supabase/types").Json;
29720
+ };
29269
29721
  pickstation_get_orders_raw: {
29270
29722
  Args: never;
29271
29723
  Returns: import("../integrations/supabase/types").Json;
@@ -29446,6 +29898,12 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
29446
29898
  };
29447
29899
  Returns: import("../integrations/supabase/types").Json;
29448
29900
  };
29901
+ quote_create_from_scratch: {
29902
+ Args: {
29903
+ _payload: import("../integrations/supabase/types").Json;
29904
+ };
29905
+ Returns: import("../integrations/supabase/types").Json;
29906
+ };
29449
29907
  quote_create_from_source: {
29450
29908
  Args: {
29451
29909
  _payload?: import("../integrations/supabase/types").Json;
@@ -29496,6 +29954,13 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
29496
29954
  };
29497
29955
  Returns: string;
29498
29956
  };
29957
+ quote_sync_work_order: {
29958
+ Args: {
29959
+ _monteur_instructies?: string;
29960
+ _offerte_id: string;
29961
+ };
29962
+ Returns: boolean;
29963
+ };
29499
29964
  recompute_all_reserved_stock: {
29500
29965
  Args: never;
29501
29966
  Returns: undefined;
@@ -29716,6 +30181,13 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
29716
30181
  };
29717
30182
  Returns: import("../integrations/supabase/types").Json;
29718
30183
  };
30184
+ scan_controleer_pincode: {
30185
+ Args: {
30186
+ p_pin: string;
30187
+ p_scanner_id: string;
30188
+ };
30189
+ Returns: boolean;
30190
+ };
29719
30191
  scan_dashboard_stats: {
29720
30192
  Args: {
29721
30193
  p_dagen?: number;
@@ -29735,6 +30207,12 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
29735
30207
  };
29736
30208
  Returns: import("../integrations/supabase/types").Json;
29737
30209
  };
30210
+ scan_heeft_pincode: {
30211
+ Args: {
30212
+ p_scanner_id: string;
30213
+ };
30214
+ Returns: boolean;
30215
+ };
29738
30216
  scan_kar_compleet: {
29739
30217
  Args: {
29740
30218
  p_allow_reprint?: boolean;
@@ -29752,6 +30230,7 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
29752
30230
  Args: {
29753
30231
  p_code: string;
29754
30232
  p_latency_ms?: number;
30233
+ p_medewerker?: string;
29755
30234
  p_message?: string;
29756
30235
  p_result: string;
29757
30236
  p_scanner_key?: string;
@@ -29824,6 +30303,22 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
29824
30303
  };
29825
30304
  Returns: undefined;
29826
30305
  };
30306
+ scan_scanner_info: {
30307
+ Args: {
30308
+ p_slug: string;
30309
+ };
30310
+ Returns: {
30311
+ actief: boolean;
30312
+ heeft_pincode: boolean;
30313
+ id: string;
30314
+ naam: string;
30315
+ omschrijving: string;
30316
+ printer_id: string;
30317
+ type: string;
30318
+ vereist_medewerker: boolean;
30319
+ werkplek: string;
30320
+ }[];
30321
+ };
29827
30322
  scan_sessie_annuleren: {
29828
30323
  Args: {
29829
30324
  p_sessie_id: string;
@@ -30786,6 +31281,21 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
30786
31281
  };
30787
31282
  Returns: import("../integrations/supabase/types").Json;
30788
31283
  };
31284
+ wo_list_colleague_planning: {
31285
+ Args: {
31286
+ _from: string;
31287
+ _monteur_id: string;
31288
+ _to: string;
31289
+ };
31290
+ Returns: {
31291
+ end_at: string;
31292
+ id: string;
31293
+ role: string;
31294
+ start_at: string;
31295
+ status: string;
31296
+ werkbon_id: string;
31297
+ }[];
31298
+ };
30789
31299
  wo_list_offerte_requests: {
30790
31300
  Args: {
30791
31301
  _status?: string;
@@ -31613,6 +32123,27 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
31613
32123
  };
31614
32124
  Relationships: [];
31615
32125
  };
32126
+ artikelen_instellingen: {
32127
+ Row: {
32128
+ created_at: string;
32129
+ id: number;
32130
+ marge_procent: number;
32131
+ updated_at: string;
32132
+ };
32133
+ Insert: {
32134
+ created_at?: string;
32135
+ id?: number;
32136
+ marge_procent?: number;
32137
+ updated_at?: string;
32138
+ };
32139
+ Update: {
32140
+ created_at?: string;
32141
+ id?: number;
32142
+ marge_procent?: number;
32143
+ updated_at?: string;
32144
+ };
32145
+ Relationships: [];
32146
+ };
31616
32147
  artikelen_veldconfig: {
31617
32148
  Row: {
31618
32149
  bron_pad: string;
@@ -41288,6 +41819,30 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
41288
41819
  };
41289
41820
  Relationships: [];
41290
41821
  };
41822
+ logistics_cart_barcode_archief: {
41823
+ Row: {
41824
+ barcode: string;
41825
+ cart_id: string;
41826
+ created_at: string | null;
41827
+ gearchiveerd_op: string;
41828
+ order_id: string | null;
41829
+ };
41830
+ Insert: {
41831
+ barcode: string;
41832
+ cart_id: string;
41833
+ created_at?: string | null;
41834
+ gearchiveerd_op?: string;
41835
+ order_id?: string | null;
41836
+ };
41837
+ Update: {
41838
+ barcode?: string;
41839
+ cart_id?: string;
41840
+ created_at?: string | null;
41841
+ gearchiveerd_op?: string;
41842
+ order_id?: string | null;
41843
+ };
41844
+ Relationships: [];
41845
+ };
41291
41846
  logistics_control_scan: {
41292
41847
  Row: {
41293
41848
  approved_at: string | null;
@@ -46941,18 +47496,24 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
46941
47496
  Row: {
46942
47497
  id: boolean;
46943
47498
  last_cleanup_at: string | null;
47499
+ last_error: string | null;
47500
+ last_error_at: string | null;
46944
47501
  last_sync_at: string | null;
46945
47502
  updated_at: string;
46946
47503
  };
46947
47504
  Insert: {
46948
47505
  id?: boolean;
46949
47506
  last_cleanup_at?: string | null;
47507
+ last_error?: string | null;
47508
+ last_error_at?: string | null;
46950
47509
  last_sync_at?: string | null;
46951
47510
  updated_at?: string;
46952
47511
  };
46953
47512
  Update: {
46954
47513
  id?: boolean;
46955
47514
  last_cleanup_at?: string | null;
47515
+ last_error?: string | null;
47516
+ last_error_at?: string | null;
46956
47517
  last_sync_at?: string | null;
46957
47518
  updated_at?: string;
46958
47519
  };
@@ -47078,6 +47639,54 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
47078
47639
  };
47079
47640
  Relationships: [];
47080
47641
  };
47642
+ planning_confirmation_log: {
47643
+ Row: {
47644
+ created_at: string;
47645
+ end_at: string;
47646
+ id: string;
47647
+ outbox_id: string | null;
47648
+ planning_item_id: string;
47649
+ reason: string | null;
47650
+ recipient: string | null;
47651
+ start_at: string;
47652
+ status: string;
47653
+ };
47654
+ Insert: {
47655
+ created_at?: string;
47656
+ end_at: string;
47657
+ id?: string;
47658
+ outbox_id?: string | null;
47659
+ planning_item_id: string;
47660
+ reason?: string | null;
47661
+ recipient?: string | null;
47662
+ start_at: string;
47663
+ status: string;
47664
+ };
47665
+ Update: {
47666
+ created_at?: string;
47667
+ end_at?: string;
47668
+ id?: string;
47669
+ outbox_id?: string | null;
47670
+ planning_item_id?: string;
47671
+ reason?: string | null;
47672
+ recipient?: string | null;
47673
+ start_at?: string;
47674
+ status?: string;
47675
+ };
47676
+ Relationships: [{
47677
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
47678
+ columns: ["planning_item_id"];
47679
+ isOneToOne: false;
47680
+ referencedRelation: "planning_items";
47681
+ referencedColumns: ["id"];
47682
+ }, {
47683
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
47684
+ columns: ["planning_item_id"];
47685
+ isOneToOne: false;
47686
+ referencedRelation: "planning_overview";
47687
+ referencedColumns: ["id"];
47688
+ }];
47689
+ };
47081
47690
  planning_item_assistants: {
47082
47691
  Row: {
47083
47692
  created_at: string;
@@ -47162,6 +47771,60 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
47162
47771
  referencedColumns: ["id"];
47163
47772
  }];
47164
47773
  };
47774
+ planning_mail_settings: {
47775
+ Row: {
47776
+ body_template: string;
47777
+ cc: string[];
47778
+ connection_id: string | null;
47779
+ created_at: string;
47780
+ enabled: boolean;
47781
+ id: boolean;
47782
+ reply_to: string | null;
47783
+ subject_template: string;
47784
+ timezone: string;
47785
+ updated_at: string;
47786
+ updated_by: string | null;
47787
+ };
47788
+ Insert: {
47789
+ body_template?: string;
47790
+ cc?: string[];
47791
+ connection_id?: string | null;
47792
+ created_at?: string;
47793
+ enabled?: boolean;
47794
+ id?: boolean;
47795
+ reply_to?: string | null;
47796
+ subject_template?: string;
47797
+ timezone?: string;
47798
+ updated_at?: string;
47799
+ updated_by?: string | null;
47800
+ };
47801
+ Update: {
47802
+ body_template?: string;
47803
+ cc?: string[];
47804
+ connection_id?: string | null;
47805
+ created_at?: string;
47806
+ enabled?: boolean;
47807
+ id?: boolean;
47808
+ reply_to?: string | null;
47809
+ subject_template?: string;
47810
+ timezone?: string;
47811
+ updated_at?: string;
47812
+ updated_by?: string | null;
47813
+ };
47814
+ Relationships: [{
47815
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
47816
+ columns: ["connection_id"];
47817
+ isOneToOne: false;
47818
+ referencedRelation: "email_auth_connections";
47819
+ referencedColumns: ["id"];
47820
+ }, {
47821
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
47822
+ columns: ["connection_id"];
47823
+ isOneToOne: false;
47824
+ referencedRelation: "email_auth_connections_safe";
47825
+ referencedColumns: ["id"];
47826
+ }];
47827
+ };
47165
47828
  planning_monteur_day_locations: {
47166
47829
  Row: {
47167
47830
  created_at: string;
@@ -48640,6 +49303,9 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
48640
49303
  lead_time_days: number | null;
48641
49304
  min_order_quantity: number | null;
48642
49305
  notes: string | null;
49306
+ previous_price_cents: number | null;
49307
+ price_source: string;
49308
+ price_updated_at: string | null;
48643
49309
  product_id: string;
48644
49310
  purchase_price_cents: number | null;
48645
49311
  supplier_article_number: string | null;
@@ -48653,6 +49319,9 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
48653
49319
  lead_time_days?: number | null;
48654
49320
  min_order_quantity?: number | null;
48655
49321
  notes?: string | null;
49322
+ previous_price_cents?: number | null;
49323
+ price_source?: string;
49324
+ price_updated_at?: string | null;
48656
49325
  product_id: string;
48657
49326
  purchase_price_cents?: number | null;
48658
49327
  supplier_article_number?: string | null;
@@ -48666,6 +49335,9 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
48666
49335
  lead_time_days?: number | null;
48667
49336
  min_order_quantity?: number | null;
48668
49337
  notes?: string | null;
49338
+ previous_price_cents?: number | null;
49339
+ price_source?: string;
49340
+ price_updated_at?: string | null;
48669
49341
  product_id?: string;
48670
49342
  purchase_price_cents?: number | null;
48671
49343
  supplier_article_number?: string | null;
@@ -49196,9 +49868,13 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
49196
49868
  purchase_order_items: {
49197
49869
  Row: {
49198
49870
  article_number: string | null;
49871
+ cancel_reason: string | null;
49872
+ cancelled_at: string | null;
49199
49873
  created_at: string;
49200
49874
  delivery_date: string | null;
49201
49875
  id: string;
49876
+ incoming_booked: number;
49877
+ line_status: string;
49202
49878
  name: string;
49203
49879
  note: string | null;
49204
49880
  pot_size: string | null;
@@ -49206,6 +49882,8 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
49206
49882
  product_type: string;
49207
49883
  purchase_order_id: string;
49208
49884
  quantity: number;
49885
+ received_at: string | null;
49886
+ received_booked: number;
49209
49887
  supplier_id: string | null;
49210
49888
  supplier_product_id: string | null;
49211
49889
  unit_price_cents: number;
@@ -49213,9 +49891,13 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
49213
49891
  };
49214
49892
  Insert: {
49215
49893
  article_number?: string | null;
49894
+ cancel_reason?: string | null;
49895
+ cancelled_at?: string | null;
49216
49896
  created_at?: string;
49217
49897
  delivery_date?: string | null;
49218
49898
  id?: string;
49899
+ incoming_booked?: number;
49900
+ line_status?: string;
49219
49901
  name?: string;
49220
49902
  note?: string | null;
49221
49903
  pot_size?: string | null;
@@ -49223,6 +49905,8 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
49223
49905
  product_type?: string;
49224
49906
  purchase_order_id: string;
49225
49907
  quantity?: number;
49908
+ received_at?: string | null;
49909
+ received_booked?: number;
49226
49910
  supplier_id?: string | null;
49227
49911
  supplier_product_id?: string | null;
49228
49912
  unit_price_cents?: number;
@@ -49230,9 +49914,13 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
49230
49914
  };
49231
49915
  Update: {
49232
49916
  article_number?: string | null;
49917
+ cancel_reason?: string | null;
49918
+ cancelled_at?: string | null;
49233
49919
  created_at?: string;
49234
49920
  delivery_date?: string | null;
49235
49921
  id?: string;
49922
+ incoming_booked?: number;
49923
+ line_status?: string;
49236
49924
  name?: string;
49237
49925
  note?: string | null;
49238
49926
  pot_size?: string | null;
@@ -49240,6 +49928,8 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
49240
49928
  product_type?: string;
49241
49929
  purchase_order_id?: string;
49242
49930
  quantity?: number;
49931
+ received_at?: string | null;
49932
+ received_booked?: number;
49243
49933
  supplier_id?: string | null;
49244
49934
  supplier_product_id?: string | null;
49245
49935
  unit_price_cents?: number;
@@ -49343,6 +50033,153 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
49343
50033
  referencedColumns: ["id"];
49344
50034
  }];
49345
50035
  };
50036
+ purchase_request_events: {
50037
+ Row: {
50038
+ created_at: string;
50039
+ details: import("../integrations/supabase/types").Json | null;
50040
+ event_type: string;
50041
+ id: string;
50042
+ request_id: string;
50043
+ };
50044
+ Insert: {
50045
+ created_at?: string;
50046
+ details?: import("../integrations/supabase/types").Json | null;
50047
+ event_type: string;
50048
+ id?: string;
50049
+ request_id: string;
50050
+ };
50051
+ Update: {
50052
+ created_at?: string;
50053
+ details?: import("../integrations/supabase/types").Json | null;
50054
+ event_type?: string;
50055
+ id?: string;
50056
+ request_id?: string;
50057
+ };
50058
+ Relationships: [{
50059
+ foreignKeyName: "purchase_request_events_request_id_fkey";
50060
+ columns: ["request_id"];
50061
+ isOneToOne: false;
50062
+ referencedRelation: "purchase_requests";
50063
+ referencedColumns: ["id"];
50064
+ }];
50065
+ };
50066
+ purchase_request_responses: {
50067
+ Row: {
50068
+ confirmed_date: string | null;
50069
+ confirmed_price_cents: number | null;
50070
+ confirmed_quantity: number;
50071
+ created_at: string;
50072
+ id: string;
50073
+ not_available: boolean;
50074
+ note: string | null;
50075
+ purchase_order_item_id: string;
50076
+ request_id: string;
50077
+ updated_at: string;
50078
+ };
50079
+ Insert: {
50080
+ confirmed_date?: string | null;
50081
+ confirmed_price_cents?: number | null;
50082
+ confirmed_quantity?: number;
50083
+ created_at?: string;
50084
+ id?: string;
50085
+ not_available?: boolean;
50086
+ note?: string | null;
50087
+ purchase_order_item_id: string;
50088
+ request_id: string;
50089
+ updated_at?: string;
50090
+ };
50091
+ Update: {
50092
+ confirmed_date?: string | null;
50093
+ confirmed_price_cents?: number | null;
50094
+ confirmed_quantity?: number;
50095
+ created_at?: string;
50096
+ id?: string;
50097
+ not_available?: boolean;
50098
+ note?: string | null;
50099
+ purchase_order_item_id?: string;
50100
+ request_id?: string;
50101
+ updated_at?: string;
50102
+ };
50103
+ Relationships: [{
50104
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
50105
+ columns: ["purchase_order_item_id"];
50106
+ isOneToOne: false;
50107
+ referencedRelation: "purchase_order_items";
50108
+ referencedColumns: ["id"];
50109
+ }, {
50110
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
50111
+ columns: ["request_id"];
50112
+ isOneToOne: false;
50113
+ referencedRelation: "purchase_requests";
50114
+ referencedColumns: ["id"];
50115
+ }];
50116
+ };
50117
+ purchase_requests: {
50118
+ Row: {
50119
+ created_at: string;
50120
+ expires_at: string;
50121
+ first_viewed_at: string | null;
50122
+ id: string;
50123
+ processed_at: string | null;
50124
+ purchase_order_id: string;
50125
+ responded_at: string | null;
50126
+ sent_at: string;
50127
+ status: string;
50128
+ supplier_id: string | null;
50129
+ supplier_name: string;
50130
+ supplier_note: string | null;
50131
+ to_address: string | null;
50132
+ token_hash: string;
50133
+ updated_at: string;
50134
+ };
50135
+ Insert: {
50136
+ created_at?: string;
50137
+ expires_at?: string;
50138
+ first_viewed_at?: string | null;
50139
+ id?: string;
50140
+ processed_at?: string | null;
50141
+ purchase_order_id: string;
50142
+ responded_at?: string | null;
50143
+ sent_at?: string;
50144
+ status?: string;
50145
+ supplier_id?: string | null;
50146
+ supplier_name?: string;
50147
+ supplier_note?: string | null;
50148
+ to_address?: string | null;
50149
+ token_hash: string;
50150
+ updated_at?: string;
50151
+ };
50152
+ Update: {
50153
+ created_at?: string;
50154
+ expires_at?: string;
50155
+ first_viewed_at?: string | null;
50156
+ id?: string;
50157
+ processed_at?: string | null;
50158
+ purchase_order_id?: string;
50159
+ responded_at?: string | null;
50160
+ sent_at?: string;
50161
+ status?: string;
50162
+ supplier_id?: string | null;
50163
+ supplier_name?: string;
50164
+ supplier_note?: string | null;
50165
+ to_address?: string | null;
50166
+ token_hash?: string;
50167
+ updated_at?: string;
50168
+ };
50169
+ Relationships: [{
50170
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
50171
+ columns: ["purchase_order_id"];
50172
+ isOneToOne: false;
50173
+ referencedRelation: "purchase_orders";
50174
+ referencedColumns: ["id"];
50175
+ }, {
50176
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
50177
+ columns: ["supplier_id"];
50178
+ isOneToOne: false;
50179
+ referencedRelation: "suppliers";
50180
+ referencedColumns: ["id"];
50181
+ }];
50182
+ };
49346
50183
  reception_notifications: {
49347
50184
  Row: {
49348
50185
  booking_id: string | null;
@@ -53768,7 +54605,7 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
53768
54605
  created_at: string;
53769
54606
  default_quantity: number;
53770
54607
  description: string | null;
53771
- duration_minutes: number | null;
54608
+ duration_minutes: number;
53772
54609
  id: string;
53773
54610
  mandaat_type: string | null;
53774
54611
  name: string;
@@ -53785,7 +54622,7 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
53785
54622
  created_at?: string;
53786
54623
  default_quantity?: number;
53787
54624
  description?: string | null;
53788
- duration_minutes?: number | null;
54625
+ duration_minutes?: number;
53789
54626
  id?: string;
53790
54627
  mandaat_type?: string | null;
53791
54628
  name: string;
@@ -53802,7 +54639,7 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
53802
54639
  created_at?: string;
53803
54640
  default_quantity?: number;
53804
54641
  description?: string | null;
53805
- duration_minutes?: number | null;
54642
+ duration_minutes?: number;
53806
54643
  id?: string;
53807
54644
  mandaat_type?: string | null;
53808
54645
  name?: string;
@@ -56798,6 +57635,31 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
56798
57635
  };
56799
57636
  Returns: import("../integrations/supabase/types").Json;
56800
57637
  };
57638
+ inkoop_cancel_line: {
57639
+ Args: {
57640
+ _item_id: string;
57641
+ _reason: string;
57642
+ };
57643
+ Returns: string;
57644
+ };
57645
+ inkoop_get_supplier_request: {
57646
+ Args: {
57647
+ _token: string;
57648
+ };
57649
+ Returns: import("../integrations/supabase/types").Json;
57650
+ };
57651
+ inkoop_hash_token: {
57652
+ Args: {
57653
+ _token: string;
57654
+ };
57655
+ Returns: string;
57656
+ };
57657
+ inkoop_html_escape: {
57658
+ Args: {
57659
+ _t: string;
57660
+ };
57661
+ Returns: string;
57662
+ };
56801
57663
  inkoop_list_artikelen: {
56802
57664
  Args: never;
56803
57665
  Returns: {
@@ -56822,9 +57684,17 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
56822
57684
  Args: never;
56823
57685
  Returns: string;
56824
57686
  };
57687
+ inkoop_process_request: {
57688
+ Args: {
57689
+ _request_id: string;
57690
+ };
57691
+ Returns: undefined;
57692
+ };
56825
57693
  inkoop_send_order: {
56826
57694
  Args: {
57695
+ _base_url?: string;
56827
57696
  _order_id: string;
57697
+ _resend?: boolean;
56828
57698
  };
56829
57699
  Returns: {
56830
57700
  outbox_id: string;
@@ -56839,6 +57709,26 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
56839
57709
  };
56840
57710
  Returns: undefined;
56841
57711
  };
57712
+ inkoop_stock_key: {
57713
+ Args: {
57714
+ p_product_id: string;
57715
+ };
57716
+ Returns: string;
57717
+ };
57718
+ inkoop_submit_supplier_response: {
57719
+ Args: {
57720
+ _lines: import("../integrations/supabase/types").Json;
57721
+ _note?: string;
57722
+ _token: string;
57723
+ };
57724
+ Returns: import("../integrations/supabase/types").Json;
57725
+ };
57726
+ inkoop_sync_item_stock: {
57727
+ Args: {
57728
+ p_item_id: string;
57729
+ };
57730
+ Returns: undefined;
57731
+ };
56842
57732
  instructie_get: {
56843
57733
  Args: {
56844
57734
  _sleutel: string;
@@ -56999,6 +57889,27 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
56999
57889
  };
57000
57890
  Returns: boolean;
57001
57891
  };
57892
+ layout_print_document: {
57893
+ Args: {
57894
+ _documentnaam: string;
57895
+ _documenttype: string;
57896
+ _herkomst?: string;
57897
+ _idempotentie_sleutel?: string;
57898
+ _is_herprint?: boolean;
57899
+ _kopieen?: number;
57900
+ _layout_id?: string;
57901
+ _payload?: import("../integrations/supabase/types").Json;
57902
+ _pdf_base64?: string;
57903
+ _pdf_url?: string;
57904
+ _print_plek_id?: string;
57905
+ _werkplek?: string;
57906
+ };
57907
+ Returns: {
57908
+ bestaand: boolean;
57909
+ job_id: string;
57910
+ printer_id: string;
57911
+ }[];
57912
+ };
57002
57913
  list_medewerkers: {
57003
57914
  Args: never;
57004
57915
  Returns: {
@@ -57276,6 +58187,12 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
57276
58187
  };
57277
58188
  Returns: number;
57278
58189
  };
58190
+ logistics_cart_barcode_opschonen: {
58191
+ Args: {
58192
+ p_portie?: number;
58193
+ };
58194
+ Returns: import("../integrations/supabase/types").Json;
58195
+ };
57279
58196
  logistics_cart_barcode_value: {
57280
58197
  Args: {
57281
58198
  _cart_id: string;
@@ -57695,6 +58612,13 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
57695
58612
  };
57696
58613
  Returns: import("../integrations/supabase/types").Json;
57697
58614
  };
58615
+ logistics_control_scan_print_own: {
58616
+ Args: {
58617
+ p_is_herprint?: boolean;
58618
+ p_scan_id: string;
58619
+ };
58620
+ Returns: import("../integrations/supabase/types").Json;
58621
+ };
57698
58622
  logistics_control_scan_retry: {
57699
58623
  Args: {
57700
58624
  _id: string;
@@ -58599,6 +59523,21 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
58599
59523
  };
58600
59524
  Returns: import("../integrations/supabase/types").Json;
58601
59525
  };
59526
+ logistics_print_via_layout: {
59527
+ Args: {
59528
+ _documentnaam: string;
59529
+ _documenttype: string;
59530
+ _herkomst: string;
59531
+ _idempotentie_sleutel: string;
59532
+ _is_herprint: boolean;
59533
+ _layout_id: string;
59534
+ _payload: import("../integrations/supabase/types").Json;
59535
+ _pdf_base64: string;
59536
+ _pdf_url: string;
59537
+ _print_plek_id: string;
59538
+ };
59539
+ Returns: import("../integrations/supabase/types").Json;
59540
+ };
58602
59541
  logistics_prune_buffer_member_queue: {
58603
59542
  Args: never;
58604
59543
  Returns: number;
@@ -58885,6 +59824,13 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
58885
59824
  };
58886
59825
  Returns: string;
58887
59826
  };
59827
+ logistics_shipping_note_status: {
59828
+ Args: {
59829
+ p_cart_id?: string;
59830
+ p_slip_job_id?: string;
59831
+ };
59832
+ Returns: import("../integrations/supabase/types").Json;
59833
+ };
58888
59834
  logistics_shipping_notes_wake_all: {
58889
59835
  Args: never;
58890
59836
  Returns: import("../integrations/supabase/types").Json;
@@ -58947,6 +59893,12 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
58947
59893
  };
58948
59894
  Returns: undefined;
58949
59895
  };
59896
+ logistics_slip_note_retry: {
59897
+ Args: {
59898
+ _id: string;
59899
+ };
59900
+ Returns: import("../integrations/supabase/types").Json;
59901
+ };
58950
59902
  logistics_sticker_follows_slip: {
58951
59903
  Args: never;
58952
59904
  Returns: boolean;
@@ -59691,6 +60643,10 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
59691
60643
  };
59692
60644
  Returns: string;
59693
60645
  };
60646
+ pick_is_reference_admin: {
60647
+ Args: never;
60648
+ Returns: boolean;
60649
+ };
59694
60650
  pick_mark_printed: {
59695
60651
  Args: {
59696
60652
  _queue_item_id: string;
@@ -60114,6 +61070,12 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
60114
61070
  };
60115
61071
  Returns: import("../integrations/supabase/types").Json;
60116
61072
  };
61073
+ pick_verify_rows: {
61074
+ Args: {
61075
+ _rows: import("../integrations/supabase/types").Json;
61076
+ };
61077
+ Returns: import("../integrations/supabase/types").Json;
61078
+ };
60117
61079
  pickstation_get_orders_raw: {
60118
61080
  Args: never;
60119
61081
  Returns: import("../integrations/supabase/types").Json;
@@ -60294,6 +61256,12 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
60294
61256
  };
60295
61257
  Returns: import("../integrations/supabase/types").Json;
60296
61258
  };
61259
+ quote_create_from_scratch: {
61260
+ Args: {
61261
+ _payload: import("../integrations/supabase/types").Json;
61262
+ };
61263
+ Returns: import("../integrations/supabase/types").Json;
61264
+ };
60297
61265
  quote_create_from_source: {
60298
61266
  Args: {
60299
61267
  _payload?: import("../integrations/supabase/types").Json;
@@ -60344,6 +61312,13 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
60344
61312
  };
60345
61313
  Returns: string;
60346
61314
  };
61315
+ quote_sync_work_order: {
61316
+ Args: {
61317
+ _monteur_instructies?: string;
61318
+ _offerte_id: string;
61319
+ };
61320
+ Returns: boolean;
61321
+ };
60347
61322
  recompute_all_reserved_stock: {
60348
61323
  Args: never;
60349
61324
  Returns: undefined;
@@ -60564,6 +61539,13 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
60564
61539
  };
60565
61540
  Returns: import("../integrations/supabase/types").Json;
60566
61541
  };
61542
+ scan_controleer_pincode: {
61543
+ Args: {
61544
+ p_pin: string;
61545
+ p_scanner_id: string;
61546
+ };
61547
+ Returns: boolean;
61548
+ };
60567
61549
  scan_dashboard_stats: {
60568
61550
  Args: {
60569
61551
  p_dagen?: number;
@@ -60583,6 +61565,12 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
60583
61565
  };
60584
61566
  Returns: import("../integrations/supabase/types").Json;
60585
61567
  };
61568
+ scan_heeft_pincode: {
61569
+ Args: {
61570
+ p_scanner_id: string;
61571
+ };
61572
+ Returns: boolean;
61573
+ };
60586
61574
  scan_kar_compleet: {
60587
61575
  Args: {
60588
61576
  p_allow_reprint?: boolean;
@@ -60600,6 +61588,7 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
60600
61588
  Args: {
60601
61589
  p_code: string;
60602
61590
  p_latency_ms?: number;
61591
+ p_medewerker?: string;
60603
61592
  p_message?: string;
60604
61593
  p_result: string;
60605
61594
  p_scanner_key?: string;
@@ -60672,6 +61661,22 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
60672
61661
  };
60673
61662
  Returns: undefined;
60674
61663
  };
61664
+ scan_scanner_info: {
61665
+ Args: {
61666
+ p_slug: string;
61667
+ };
61668
+ Returns: {
61669
+ actief: boolean;
61670
+ heeft_pincode: boolean;
61671
+ id: string;
61672
+ naam: string;
61673
+ omschrijving: string;
61674
+ printer_id: string;
61675
+ type: string;
61676
+ vereist_medewerker: boolean;
61677
+ werkplek: string;
61678
+ }[];
61679
+ };
60675
61680
  scan_sessie_annuleren: {
60676
61681
  Args: {
60677
61682
  p_sessie_id: string;
@@ -61634,6 +62639,21 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
61634
62639
  };
61635
62640
  Returns: import("../integrations/supabase/types").Json;
61636
62641
  };
62642
+ wo_list_colleague_planning: {
62643
+ Args: {
62644
+ _from: string;
62645
+ _monteur_id: string;
62646
+ _to: string;
62647
+ };
62648
+ Returns: {
62649
+ end_at: string;
62650
+ id: string;
62651
+ role: string;
62652
+ start_at: string;
62653
+ status: string;
62654
+ werkbon_id: string;
62655
+ }[];
62656
+ };
61637
62657
  wo_list_offerte_requests: {
61638
62658
  Args: {
61639
62659
  _status?: string;
@@ -62459,6 +63479,27 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
62459
63479
  };
62460
63480
  Relationships: [];
62461
63481
  };
63482
+ artikelen_instellingen: {
63483
+ Row: {
63484
+ created_at: string;
63485
+ id: number;
63486
+ marge_procent: number;
63487
+ updated_at: string;
63488
+ };
63489
+ Insert: {
63490
+ created_at?: string;
63491
+ id?: number;
63492
+ marge_procent?: number;
63493
+ updated_at?: string;
63494
+ };
63495
+ Update: {
63496
+ created_at?: string;
63497
+ id?: number;
63498
+ marge_procent?: number;
63499
+ updated_at?: string;
63500
+ };
63501
+ Relationships: [];
63502
+ };
62462
63503
  artikelen_veldconfig: {
62463
63504
  Row: {
62464
63505
  bron_pad: string;
@@ -72134,6 +73175,30 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
72134
73175
  };
72135
73176
  Relationships: [];
72136
73177
  };
73178
+ logistics_cart_barcode_archief: {
73179
+ Row: {
73180
+ barcode: string;
73181
+ cart_id: string;
73182
+ created_at: string | null;
73183
+ gearchiveerd_op: string;
73184
+ order_id: string | null;
73185
+ };
73186
+ Insert: {
73187
+ barcode: string;
73188
+ cart_id: string;
73189
+ created_at?: string | null;
73190
+ gearchiveerd_op?: string;
73191
+ order_id?: string | null;
73192
+ };
73193
+ Update: {
73194
+ barcode?: string;
73195
+ cart_id?: string;
73196
+ created_at?: string | null;
73197
+ gearchiveerd_op?: string;
73198
+ order_id?: string | null;
73199
+ };
73200
+ Relationships: [];
73201
+ };
72137
73202
  logistics_control_scan: {
72138
73203
  Row: {
72139
73204
  approved_at: string | null;
@@ -77787,18 +78852,24 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
77787
78852
  Row: {
77788
78853
  id: boolean;
77789
78854
  last_cleanup_at: string | null;
78855
+ last_error: string | null;
78856
+ last_error_at: string | null;
77790
78857
  last_sync_at: string | null;
77791
78858
  updated_at: string;
77792
78859
  };
77793
78860
  Insert: {
77794
78861
  id?: boolean;
77795
78862
  last_cleanup_at?: string | null;
78863
+ last_error?: string | null;
78864
+ last_error_at?: string | null;
77796
78865
  last_sync_at?: string | null;
77797
78866
  updated_at?: string;
77798
78867
  };
77799
78868
  Update: {
77800
78869
  id?: boolean;
77801
78870
  last_cleanup_at?: string | null;
78871
+ last_error?: string | null;
78872
+ last_error_at?: string | null;
77802
78873
  last_sync_at?: string | null;
77803
78874
  updated_at?: string;
77804
78875
  };
@@ -77924,6 +78995,54 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
77924
78995
  };
77925
78996
  Relationships: [];
77926
78997
  };
78998
+ planning_confirmation_log: {
78999
+ Row: {
79000
+ created_at: string;
79001
+ end_at: string;
79002
+ id: string;
79003
+ outbox_id: string | null;
79004
+ planning_item_id: string;
79005
+ reason: string | null;
79006
+ recipient: string | null;
79007
+ start_at: string;
79008
+ status: string;
79009
+ };
79010
+ Insert: {
79011
+ created_at?: string;
79012
+ end_at: string;
79013
+ id?: string;
79014
+ outbox_id?: string | null;
79015
+ planning_item_id: string;
79016
+ reason?: string | null;
79017
+ recipient?: string | null;
79018
+ start_at: string;
79019
+ status: string;
79020
+ };
79021
+ Update: {
79022
+ created_at?: string;
79023
+ end_at?: string;
79024
+ id?: string;
79025
+ outbox_id?: string | null;
79026
+ planning_item_id?: string;
79027
+ reason?: string | null;
79028
+ recipient?: string | null;
79029
+ start_at?: string;
79030
+ status?: string;
79031
+ };
79032
+ Relationships: [{
79033
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
79034
+ columns: ["planning_item_id"];
79035
+ isOneToOne: false;
79036
+ referencedRelation: "planning_items";
79037
+ referencedColumns: ["id"];
79038
+ }, {
79039
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
79040
+ columns: ["planning_item_id"];
79041
+ isOneToOne: false;
79042
+ referencedRelation: "planning_overview";
79043
+ referencedColumns: ["id"];
79044
+ }];
79045
+ };
77927
79046
  planning_item_assistants: {
77928
79047
  Row: {
77929
79048
  created_at: string;
@@ -78008,6 +79127,60 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
78008
79127
  referencedColumns: ["id"];
78009
79128
  }];
78010
79129
  };
79130
+ planning_mail_settings: {
79131
+ Row: {
79132
+ body_template: string;
79133
+ cc: string[];
79134
+ connection_id: string | null;
79135
+ created_at: string;
79136
+ enabled: boolean;
79137
+ id: boolean;
79138
+ reply_to: string | null;
79139
+ subject_template: string;
79140
+ timezone: string;
79141
+ updated_at: string;
79142
+ updated_by: string | null;
79143
+ };
79144
+ Insert: {
79145
+ body_template?: string;
79146
+ cc?: string[];
79147
+ connection_id?: string | null;
79148
+ created_at?: string;
79149
+ enabled?: boolean;
79150
+ id?: boolean;
79151
+ reply_to?: string | null;
79152
+ subject_template?: string;
79153
+ timezone?: string;
79154
+ updated_at?: string;
79155
+ updated_by?: string | null;
79156
+ };
79157
+ Update: {
79158
+ body_template?: string;
79159
+ cc?: string[];
79160
+ connection_id?: string | null;
79161
+ created_at?: string;
79162
+ enabled?: boolean;
79163
+ id?: boolean;
79164
+ reply_to?: string | null;
79165
+ subject_template?: string;
79166
+ timezone?: string;
79167
+ updated_at?: string;
79168
+ updated_by?: string | null;
79169
+ };
79170
+ Relationships: [{
79171
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
79172
+ columns: ["connection_id"];
79173
+ isOneToOne: false;
79174
+ referencedRelation: "email_auth_connections";
79175
+ referencedColumns: ["id"];
79176
+ }, {
79177
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
79178
+ columns: ["connection_id"];
79179
+ isOneToOne: false;
79180
+ referencedRelation: "email_auth_connections_safe";
79181
+ referencedColumns: ["id"];
79182
+ }];
79183
+ };
78011
79184
  planning_monteur_day_locations: {
78012
79185
  Row: {
78013
79186
  created_at: string;
@@ -79486,6 +80659,9 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
79486
80659
  lead_time_days: number | null;
79487
80660
  min_order_quantity: number | null;
79488
80661
  notes: string | null;
80662
+ previous_price_cents: number | null;
80663
+ price_source: string;
80664
+ price_updated_at: string | null;
79489
80665
  product_id: string;
79490
80666
  purchase_price_cents: number | null;
79491
80667
  supplier_article_number: string | null;
@@ -79499,6 +80675,9 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
79499
80675
  lead_time_days?: number | null;
79500
80676
  min_order_quantity?: number | null;
79501
80677
  notes?: string | null;
80678
+ previous_price_cents?: number | null;
80679
+ price_source?: string;
80680
+ price_updated_at?: string | null;
79502
80681
  product_id: string;
79503
80682
  purchase_price_cents?: number | null;
79504
80683
  supplier_article_number?: string | null;
@@ -79512,6 +80691,9 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
79512
80691
  lead_time_days?: number | null;
79513
80692
  min_order_quantity?: number | null;
79514
80693
  notes?: string | null;
80694
+ previous_price_cents?: number | null;
80695
+ price_source?: string;
80696
+ price_updated_at?: string | null;
79515
80697
  product_id?: string;
79516
80698
  purchase_price_cents?: number | null;
79517
80699
  supplier_article_number?: string | null;
@@ -80042,9 +81224,13 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
80042
81224
  purchase_order_items: {
80043
81225
  Row: {
80044
81226
  article_number: string | null;
81227
+ cancel_reason: string | null;
81228
+ cancelled_at: string | null;
80045
81229
  created_at: string;
80046
81230
  delivery_date: string | null;
80047
81231
  id: string;
81232
+ incoming_booked: number;
81233
+ line_status: string;
80048
81234
  name: string;
80049
81235
  note: string | null;
80050
81236
  pot_size: string | null;
@@ -80052,6 +81238,8 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
80052
81238
  product_type: string;
80053
81239
  purchase_order_id: string;
80054
81240
  quantity: number;
81241
+ received_at: string | null;
81242
+ received_booked: number;
80055
81243
  supplier_id: string | null;
80056
81244
  supplier_product_id: string | null;
80057
81245
  unit_price_cents: number;
@@ -80059,9 +81247,13 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
80059
81247
  };
80060
81248
  Insert: {
80061
81249
  article_number?: string | null;
81250
+ cancel_reason?: string | null;
81251
+ cancelled_at?: string | null;
80062
81252
  created_at?: string;
80063
81253
  delivery_date?: string | null;
80064
81254
  id?: string;
81255
+ incoming_booked?: number;
81256
+ line_status?: string;
80065
81257
  name?: string;
80066
81258
  note?: string | null;
80067
81259
  pot_size?: string | null;
@@ -80069,6 +81261,8 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
80069
81261
  product_type?: string;
80070
81262
  purchase_order_id: string;
80071
81263
  quantity?: number;
81264
+ received_at?: string | null;
81265
+ received_booked?: number;
80072
81266
  supplier_id?: string | null;
80073
81267
  supplier_product_id?: string | null;
80074
81268
  unit_price_cents?: number;
@@ -80076,9 +81270,13 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
80076
81270
  };
80077
81271
  Update: {
80078
81272
  article_number?: string | null;
81273
+ cancel_reason?: string | null;
81274
+ cancelled_at?: string | null;
80079
81275
  created_at?: string;
80080
81276
  delivery_date?: string | null;
80081
81277
  id?: string;
81278
+ incoming_booked?: number;
81279
+ line_status?: string;
80082
81280
  name?: string;
80083
81281
  note?: string | null;
80084
81282
  pot_size?: string | null;
@@ -80086,6 +81284,8 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
80086
81284
  product_type?: string;
80087
81285
  purchase_order_id?: string;
80088
81286
  quantity?: number;
81287
+ received_at?: string | null;
81288
+ received_booked?: number;
80089
81289
  supplier_id?: string | null;
80090
81290
  supplier_product_id?: string | null;
80091
81291
  unit_price_cents?: number;
@@ -80189,6 +81389,153 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
80189
81389
  referencedColumns: ["id"];
80190
81390
  }];
80191
81391
  };
81392
+ purchase_request_events: {
81393
+ Row: {
81394
+ created_at: string;
81395
+ details: import("../integrations/supabase/types").Json | null;
81396
+ event_type: string;
81397
+ id: string;
81398
+ request_id: string;
81399
+ };
81400
+ Insert: {
81401
+ created_at?: string;
81402
+ details?: import("../integrations/supabase/types").Json | null;
81403
+ event_type: string;
81404
+ id?: string;
81405
+ request_id: string;
81406
+ };
81407
+ Update: {
81408
+ created_at?: string;
81409
+ details?: import("../integrations/supabase/types").Json | null;
81410
+ event_type?: string;
81411
+ id?: string;
81412
+ request_id?: string;
81413
+ };
81414
+ Relationships: [{
81415
+ foreignKeyName: "purchase_request_events_request_id_fkey";
81416
+ columns: ["request_id"];
81417
+ isOneToOne: false;
81418
+ referencedRelation: "purchase_requests";
81419
+ referencedColumns: ["id"];
81420
+ }];
81421
+ };
81422
+ purchase_request_responses: {
81423
+ Row: {
81424
+ confirmed_date: string | null;
81425
+ confirmed_price_cents: number | null;
81426
+ confirmed_quantity: number;
81427
+ created_at: string;
81428
+ id: string;
81429
+ not_available: boolean;
81430
+ note: string | null;
81431
+ purchase_order_item_id: string;
81432
+ request_id: string;
81433
+ updated_at: string;
81434
+ };
81435
+ Insert: {
81436
+ confirmed_date?: string | null;
81437
+ confirmed_price_cents?: number | null;
81438
+ confirmed_quantity?: number;
81439
+ created_at?: string;
81440
+ id?: string;
81441
+ not_available?: boolean;
81442
+ note?: string | null;
81443
+ purchase_order_item_id: string;
81444
+ request_id: string;
81445
+ updated_at?: string;
81446
+ };
81447
+ Update: {
81448
+ confirmed_date?: string | null;
81449
+ confirmed_price_cents?: number | null;
81450
+ confirmed_quantity?: number;
81451
+ created_at?: string;
81452
+ id?: string;
81453
+ not_available?: boolean;
81454
+ note?: string | null;
81455
+ purchase_order_item_id?: string;
81456
+ request_id?: string;
81457
+ updated_at?: string;
81458
+ };
81459
+ Relationships: [{
81460
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
81461
+ columns: ["purchase_order_item_id"];
81462
+ isOneToOne: false;
81463
+ referencedRelation: "purchase_order_items";
81464
+ referencedColumns: ["id"];
81465
+ }, {
81466
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
81467
+ columns: ["request_id"];
81468
+ isOneToOne: false;
81469
+ referencedRelation: "purchase_requests";
81470
+ referencedColumns: ["id"];
81471
+ }];
81472
+ };
81473
+ purchase_requests: {
81474
+ Row: {
81475
+ created_at: string;
81476
+ expires_at: string;
81477
+ first_viewed_at: string | null;
81478
+ id: string;
81479
+ processed_at: string | null;
81480
+ purchase_order_id: string;
81481
+ responded_at: string | null;
81482
+ sent_at: string;
81483
+ status: string;
81484
+ supplier_id: string | null;
81485
+ supplier_name: string;
81486
+ supplier_note: string | null;
81487
+ to_address: string | null;
81488
+ token_hash: string;
81489
+ updated_at: string;
81490
+ };
81491
+ Insert: {
81492
+ created_at?: string;
81493
+ expires_at?: string;
81494
+ first_viewed_at?: string | null;
81495
+ id?: string;
81496
+ processed_at?: string | null;
81497
+ purchase_order_id: string;
81498
+ responded_at?: string | null;
81499
+ sent_at?: string;
81500
+ status?: string;
81501
+ supplier_id?: string | null;
81502
+ supplier_name?: string;
81503
+ supplier_note?: string | null;
81504
+ to_address?: string | null;
81505
+ token_hash: string;
81506
+ updated_at?: string;
81507
+ };
81508
+ Update: {
81509
+ created_at?: string;
81510
+ expires_at?: string;
81511
+ first_viewed_at?: string | null;
81512
+ id?: string;
81513
+ processed_at?: string | null;
81514
+ purchase_order_id?: string;
81515
+ responded_at?: string | null;
81516
+ sent_at?: string;
81517
+ status?: string;
81518
+ supplier_id?: string | null;
81519
+ supplier_name?: string;
81520
+ supplier_note?: string | null;
81521
+ to_address?: string | null;
81522
+ token_hash?: string;
81523
+ updated_at?: string;
81524
+ };
81525
+ Relationships: [{
81526
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
81527
+ columns: ["purchase_order_id"];
81528
+ isOneToOne: false;
81529
+ referencedRelation: "purchase_orders";
81530
+ referencedColumns: ["id"];
81531
+ }, {
81532
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
81533
+ columns: ["supplier_id"];
81534
+ isOneToOne: false;
81535
+ referencedRelation: "suppliers";
81536
+ referencedColumns: ["id"];
81537
+ }];
81538
+ };
80192
81539
  reception_notifications: {
80193
81540
  Row: {
80194
81541
  booking_id: string | null;
@@ -84614,7 +85961,7 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
84614
85961
  created_at: string;
84615
85962
  default_quantity: number;
84616
85963
  description: string | null;
84617
- duration_minutes: number | null;
85964
+ duration_minutes: number;
84618
85965
  id: string;
84619
85966
  mandaat_type: string | null;
84620
85967
  name: string;
@@ -84631,7 +85978,7 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
84631
85978
  created_at?: string;
84632
85979
  default_quantity?: number;
84633
85980
  description?: string | null;
84634
- duration_minutes?: number | null;
85981
+ duration_minutes?: number;
84635
85982
  id?: string;
84636
85983
  mandaat_type?: string | null;
84637
85984
  name: string;
@@ -84648,7 +85995,7 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
84648
85995
  created_at?: string;
84649
85996
  default_quantity?: number;
84650
85997
  description?: string | null;
84651
- duration_minutes?: number | null;
85998
+ duration_minutes?: number;
84652
85999
  id?: string;
84653
86000
  mandaat_type?: string | null;
84654
86001
  name?: string;
@@ -87644,6 +88991,31 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
87644
88991
  };
87645
88992
  Returns: import("../integrations/supabase/types").Json;
87646
88993
  };
88994
+ inkoop_cancel_line: {
88995
+ Args: {
88996
+ _item_id: string;
88997
+ _reason: string;
88998
+ };
88999
+ Returns: string;
89000
+ };
89001
+ inkoop_get_supplier_request: {
89002
+ Args: {
89003
+ _token: string;
89004
+ };
89005
+ Returns: import("../integrations/supabase/types").Json;
89006
+ };
89007
+ inkoop_hash_token: {
89008
+ Args: {
89009
+ _token: string;
89010
+ };
89011
+ Returns: string;
89012
+ };
89013
+ inkoop_html_escape: {
89014
+ Args: {
89015
+ _t: string;
89016
+ };
89017
+ Returns: string;
89018
+ };
87647
89019
  inkoop_list_artikelen: {
87648
89020
  Args: never;
87649
89021
  Returns: {
@@ -87668,9 +89040,17 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
87668
89040
  Args: never;
87669
89041
  Returns: string;
87670
89042
  };
89043
+ inkoop_process_request: {
89044
+ Args: {
89045
+ _request_id: string;
89046
+ };
89047
+ Returns: undefined;
89048
+ };
87671
89049
  inkoop_send_order: {
87672
89050
  Args: {
89051
+ _base_url?: string;
87673
89052
  _order_id: string;
89053
+ _resend?: boolean;
87674
89054
  };
87675
89055
  Returns: {
87676
89056
  outbox_id: string;
@@ -87685,6 +89065,26 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
87685
89065
  };
87686
89066
  Returns: undefined;
87687
89067
  };
89068
+ inkoop_stock_key: {
89069
+ Args: {
89070
+ p_product_id: string;
89071
+ };
89072
+ Returns: string;
89073
+ };
89074
+ inkoop_submit_supplier_response: {
89075
+ Args: {
89076
+ _lines: import("../integrations/supabase/types").Json;
89077
+ _note?: string;
89078
+ _token: string;
89079
+ };
89080
+ Returns: import("../integrations/supabase/types").Json;
89081
+ };
89082
+ inkoop_sync_item_stock: {
89083
+ Args: {
89084
+ p_item_id: string;
89085
+ };
89086
+ Returns: undefined;
89087
+ };
87688
89088
  instructie_get: {
87689
89089
  Args: {
87690
89090
  _sleutel: string;
@@ -87845,6 +89245,27 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
87845
89245
  };
87846
89246
  Returns: boolean;
87847
89247
  };
89248
+ layout_print_document: {
89249
+ Args: {
89250
+ _documentnaam: string;
89251
+ _documenttype: string;
89252
+ _herkomst?: string;
89253
+ _idempotentie_sleutel?: string;
89254
+ _is_herprint?: boolean;
89255
+ _kopieen?: number;
89256
+ _layout_id?: string;
89257
+ _payload?: import("../integrations/supabase/types").Json;
89258
+ _pdf_base64?: string;
89259
+ _pdf_url?: string;
89260
+ _print_plek_id?: string;
89261
+ _werkplek?: string;
89262
+ };
89263
+ Returns: {
89264
+ bestaand: boolean;
89265
+ job_id: string;
89266
+ printer_id: string;
89267
+ }[];
89268
+ };
87848
89269
  list_medewerkers: {
87849
89270
  Args: never;
87850
89271
  Returns: {
@@ -88122,6 +89543,12 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
88122
89543
  };
88123
89544
  Returns: number;
88124
89545
  };
89546
+ logistics_cart_barcode_opschonen: {
89547
+ Args: {
89548
+ p_portie?: number;
89549
+ };
89550
+ Returns: import("../integrations/supabase/types").Json;
89551
+ };
88125
89552
  logistics_cart_barcode_value: {
88126
89553
  Args: {
88127
89554
  _cart_id: string;
@@ -88541,6 +89968,13 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
88541
89968
  };
88542
89969
  Returns: import("../integrations/supabase/types").Json;
88543
89970
  };
89971
+ logistics_control_scan_print_own: {
89972
+ Args: {
89973
+ p_is_herprint?: boolean;
89974
+ p_scan_id: string;
89975
+ };
89976
+ Returns: import("../integrations/supabase/types").Json;
89977
+ };
88544
89978
  logistics_control_scan_retry: {
88545
89979
  Args: {
88546
89980
  _id: string;
@@ -89445,6 +90879,21 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
89445
90879
  };
89446
90880
  Returns: import("../integrations/supabase/types").Json;
89447
90881
  };
90882
+ logistics_print_via_layout: {
90883
+ Args: {
90884
+ _documentnaam: string;
90885
+ _documenttype: string;
90886
+ _herkomst: string;
90887
+ _idempotentie_sleutel: string;
90888
+ _is_herprint: boolean;
90889
+ _layout_id: string;
90890
+ _payload: import("../integrations/supabase/types").Json;
90891
+ _pdf_base64: string;
90892
+ _pdf_url: string;
90893
+ _print_plek_id: string;
90894
+ };
90895
+ Returns: import("../integrations/supabase/types").Json;
90896
+ };
89448
90897
  logistics_prune_buffer_member_queue: {
89449
90898
  Args: never;
89450
90899
  Returns: number;
@@ -89731,6 +91180,13 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
89731
91180
  };
89732
91181
  Returns: string;
89733
91182
  };
91183
+ logistics_shipping_note_status: {
91184
+ Args: {
91185
+ p_cart_id?: string;
91186
+ p_slip_job_id?: string;
91187
+ };
91188
+ Returns: import("../integrations/supabase/types").Json;
91189
+ };
89734
91190
  logistics_shipping_notes_wake_all: {
89735
91191
  Args: never;
89736
91192
  Returns: import("../integrations/supabase/types").Json;
@@ -89793,6 +91249,12 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
89793
91249
  };
89794
91250
  Returns: undefined;
89795
91251
  };
91252
+ logistics_slip_note_retry: {
91253
+ Args: {
91254
+ _id: string;
91255
+ };
91256
+ Returns: import("../integrations/supabase/types").Json;
91257
+ };
89796
91258
  logistics_sticker_follows_slip: {
89797
91259
  Args: never;
89798
91260
  Returns: boolean;
@@ -90537,6 +91999,10 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
90537
91999
  };
90538
92000
  Returns: string;
90539
92001
  };
92002
+ pick_is_reference_admin: {
92003
+ Args: never;
92004
+ Returns: boolean;
92005
+ };
90540
92006
  pick_mark_printed: {
90541
92007
  Args: {
90542
92008
  _queue_item_id: string;
@@ -90960,6 +92426,12 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
90960
92426
  };
90961
92427
  Returns: import("../integrations/supabase/types").Json;
90962
92428
  };
92429
+ pick_verify_rows: {
92430
+ Args: {
92431
+ _rows: import("../integrations/supabase/types").Json;
92432
+ };
92433
+ Returns: import("../integrations/supabase/types").Json;
92434
+ };
90963
92435
  pickstation_get_orders_raw: {
90964
92436
  Args: never;
90965
92437
  Returns: import("../integrations/supabase/types").Json;
@@ -91140,6 +92612,12 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
91140
92612
  };
91141
92613
  Returns: import("../integrations/supabase/types").Json;
91142
92614
  };
92615
+ quote_create_from_scratch: {
92616
+ Args: {
92617
+ _payload: import("../integrations/supabase/types").Json;
92618
+ };
92619
+ Returns: import("../integrations/supabase/types").Json;
92620
+ };
91143
92621
  quote_create_from_source: {
91144
92622
  Args: {
91145
92623
  _payload?: import("../integrations/supabase/types").Json;
@@ -91190,6 +92668,13 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
91190
92668
  };
91191
92669
  Returns: string;
91192
92670
  };
92671
+ quote_sync_work_order: {
92672
+ Args: {
92673
+ _monteur_instructies?: string;
92674
+ _offerte_id: string;
92675
+ };
92676
+ Returns: boolean;
92677
+ };
91193
92678
  recompute_all_reserved_stock: {
91194
92679
  Args: never;
91195
92680
  Returns: undefined;
@@ -91410,6 +92895,13 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
91410
92895
  };
91411
92896
  Returns: import("../integrations/supabase/types").Json;
91412
92897
  };
92898
+ scan_controleer_pincode: {
92899
+ Args: {
92900
+ p_pin: string;
92901
+ p_scanner_id: string;
92902
+ };
92903
+ Returns: boolean;
92904
+ };
91413
92905
  scan_dashboard_stats: {
91414
92906
  Args: {
91415
92907
  p_dagen?: number;
@@ -91429,6 +92921,12 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
91429
92921
  };
91430
92922
  Returns: import("../integrations/supabase/types").Json;
91431
92923
  };
92924
+ scan_heeft_pincode: {
92925
+ Args: {
92926
+ p_scanner_id: string;
92927
+ };
92928
+ Returns: boolean;
92929
+ };
91432
92930
  scan_kar_compleet: {
91433
92931
  Args: {
91434
92932
  p_allow_reprint?: boolean;
@@ -91446,6 +92944,7 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
91446
92944
  Args: {
91447
92945
  p_code: string;
91448
92946
  p_latency_ms?: number;
92947
+ p_medewerker?: string;
91449
92948
  p_message?: string;
91450
92949
  p_result: string;
91451
92950
  p_scanner_key?: string;
@@ -91518,6 +93017,22 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
91518
93017
  };
91519
93018
  Returns: undefined;
91520
93019
  };
93020
+ scan_scanner_info: {
93021
+ Args: {
93022
+ p_slug: string;
93023
+ };
93024
+ Returns: {
93025
+ actief: boolean;
93026
+ heeft_pincode: boolean;
93027
+ id: string;
93028
+ naam: string;
93029
+ omschrijving: string;
93030
+ printer_id: string;
93031
+ type: string;
93032
+ vereist_medewerker: boolean;
93033
+ werkplek: string;
93034
+ }[];
93035
+ };
91521
93036
  scan_sessie_annuleren: {
91522
93037
  Args: {
91523
93038
  p_sessie_id: string;
@@ -92480,6 +93995,21 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
92480
93995
  };
92481
93996
  Returns: import("../integrations/supabase/types").Json;
92482
93997
  };
93998
+ wo_list_colleague_planning: {
93999
+ Args: {
94000
+ _from: string;
94001
+ _monteur_id: string;
94002
+ _to: string;
94003
+ };
94004
+ Returns: {
94005
+ end_at: string;
94006
+ id: string;
94007
+ role: string;
94008
+ start_at: string;
94009
+ status: string;
94010
+ werkbon_id: string;
94011
+ }[];
94012
+ };
92483
94013
  wo_list_offerte_requests: {
92484
94014
  Args: {
92485
94015
  _status?: string;
@@ -93306,6 +94836,27 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
93306
94836
  };
93307
94837
  Relationships: [];
93308
94838
  };
94839
+ artikelen_instellingen: {
94840
+ Row: {
94841
+ created_at: string;
94842
+ id: number;
94843
+ marge_procent: number;
94844
+ updated_at: string;
94845
+ };
94846
+ Insert: {
94847
+ created_at?: string;
94848
+ id?: number;
94849
+ marge_procent?: number;
94850
+ updated_at?: string;
94851
+ };
94852
+ Update: {
94853
+ created_at?: string;
94854
+ id?: number;
94855
+ marge_procent?: number;
94856
+ updated_at?: string;
94857
+ };
94858
+ Relationships: [];
94859
+ };
93309
94860
  artikelen_veldconfig: {
93310
94861
  Row: {
93311
94862
  bron_pad: string;
@@ -102981,6 +104532,30 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
102981
104532
  };
102982
104533
  Relationships: [];
102983
104534
  };
104535
+ logistics_cart_barcode_archief: {
104536
+ Row: {
104537
+ barcode: string;
104538
+ cart_id: string;
104539
+ created_at: string | null;
104540
+ gearchiveerd_op: string;
104541
+ order_id: string | null;
104542
+ };
104543
+ Insert: {
104544
+ barcode: string;
104545
+ cart_id: string;
104546
+ created_at?: string | null;
104547
+ gearchiveerd_op?: string;
104548
+ order_id?: string | null;
104549
+ };
104550
+ Update: {
104551
+ barcode?: string;
104552
+ cart_id?: string;
104553
+ created_at?: string | null;
104554
+ gearchiveerd_op?: string;
104555
+ order_id?: string | null;
104556
+ };
104557
+ Relationships: [];
104558
+ };
102984
104559
  logistics_control_scan: {
102985
104560
  Row: {
102986
104561
  approved_at: string | null;
@@ -108634,18 +110209,24 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
108634
110209
  Row: {
108635
110210
  id: boolean;
108636
110211
  last_cleanup_at: string | null;
110212
+ last_error: string | null;
110213
+ last_error_at: string | null;
108637
110214
  last_sync_at: string | null;
108638
110215
  updated_at: string;
108639
110216
  };
108640
110217
  Insert: {
108641
110218
  id?: boolean;
108642
110219
  last_cleanup_at?: string | null;
110220
+ last_error?: string | null;
110221
+ last_error_at?: string | null;
108643
110222
  last_sync_at?: string | null;
108644
110223
  updated_at?: string;
108645
110224
  };
108646
110225
  Update: {
108647
110226
  id?: boolean;
108648
110227
  last_cleanup_at?: string | null;
110228
+ last_error?: string | null;
110229
+ last_error_at?: string | null;
108649
110230
  last_sync_at?: string | null;
108650
110231
  updated_at?: string;
108651
110232
  };
@@ -108771,6 +110352,54 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
108771
110352
  };
108772
110353
  Relationships: [];
108773
110354
  };
110355
+ planning_confirmation_log: {
110356
+ Row: {
110357
+ created_at: string;
110358
+ end_at: string;
110359
+ id: string;
110360
+ outbox_id: string | null;
110361
+ planning_item_id: string;
110362
+ reason: string | null;
110363
+ recipient: string | null;
110364
+ start_at: string;
110365
+ status: string;
110366
+ };
110367
+ Insert: {
110368
+ created_at?: string;
110369
+ end_at: string;
110370
+ id?: string;
110371
+ outbox_id?: string | null;
110372
+ planning_item_id: string;
110373
+ reason?: string | null;
110374
+ recipient?: string | null;
110375
+ start_at: string;
110376
+ status: string;
110377
+ };
110378
+ Update: {
110379
+ created_at?: string;
110380
+ end_at?: string;
110381
+ id?: string;
110382
+ outbox_id?: string | null;
110383
+ planning_item_id?: string;
110384
+ reason?: string | null;
110385
+ recipient?: string | null;
110386
+ start_at?: string;
110387
+ status?: string;
110388
+ };
110389
+ Relationships: [{
110390
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
110391
+ columns: ["planning_item_id"];
110392
+ isOneToOne: false;
110393
+ referencedRelation: "planning_items";
110394
+ referencedColumns: ["id"];
110395
+ }, {
110396
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
110397
+ columns: ["planning_item_id"];
110398
+ isOneToOne: false;
110399
+ referencedRelation: "planning_overview";
110400
+ referencedColumns: ["id"];
110401
+ }];
110402
+ };
108774
110403
  planning_item_assistants: {
108775
110404
  Row: {
108776
110405
  created_at: string;
@@ -108855,6 +110484,60 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
108855
110484
  referencedColumns: ["id"];
108856
110485
  }];
108857
110486
  };
110487
+ planning_mail_settings: {
110488
+ Row: {
110489
+ body_template: string;
110490
+ cc: string[];
110491
+ connection_id: string | null;
110492
+ created_at: string;
110493
+ enabled: boolean;
110494
+ id: boolean;
110495
+ reply_to: string | null;
110496
+ subject_template: string;
110497
+ timezone: string;
110498
+ updated_at: string;
110499
+ updated_by: string | null;
110500
+ };
110501
+ Insert: {
110502
+ body_template?: string;
110503
+ cc?: string[];
110504
+ connection_id?: string | null;
110505
+ created_at?: string;
110506
+ enabled?: boolean;
110507
+ id?: boolean;
110508
+ reply_to?: string | null;
110509
+ subject_template?: string;
110510
+ timezone?: string;
110511
+ updated_at?: string;
110512
+ updated_by?: string | null;
110513
+ };
110514
+ Update: {
110515
+ body_template?: string;
110516
+ cc?: string[];
110517
+ connection_id?: string | null;
110518
+ created_at?: string;
110519
+ enabled?: boolean;
110520
+ id?: boolean;
110521
+ reply_to?: string | null;
110522
+ subject_template?: string;
110523
+ timezone?: string;
110524
+ updated_at?: string;
110525
+ updated_by?: string | null;
110526
+ };
110527
+ Relationships: [{
110528
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
110529
+ columns: ["connection_id"];
110530
+ isOneToOne: false;
110531
+ referencedRelation: "email_auth_connections";
110532
+ referencedColumns: ["id"];
110533
+ }, {
110534
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
110535
+ columns: ["connection_id"];
110536
+ isOneToOne: false;
110537
+ referencedRelation: "email_auth_connections_safe";
110538
+ referencedColumns: ["id"];
110539
+ }];
110540
+ };
108858
110541
  planning_monteur_day_locations: {
108859
110542
  Row: {
108860
110543
  created_at: string;
@@ -110333,6 +112016,9 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
110333
112016
  lead_time_days: number | null;
110334
112017
  min_order_quantity: number | null;
110335
112018
  notes: string | null;
112019
+ previous_price_cents: number | null;
112020
+ price_source: string;
112021
+ price_updated_at: string | null;
110336
112022
  product_id: string;
110337
112023
  purchase_price_cents: number | null;
110338
112024
  supplier_article_number: string | null;
@@ -110346,6 +112032,9 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
110346
112032
  lead_time_days?: number | null;
110347
112033
  min_order_quantity?: number | null;
110348
112034
  notes?: string | null;
112035
+ previous_price_cents?: number | null;
112036
+ price_source?: string;
112037
+ price_updated_at?: string | null;
110349
112038
  product_id: string;
110350
112039
  purchase_price_cents?: number | null;
110351
112040
  supplier_article_number?: string | null;
@@ -110359,6 +112048,9 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
110359
112048
  lead_time_days?: number | null;
110360
112049
  min_order_quantity?: number | null;
110361
112050
  notes?: string | null;
112051
+ previous_price_cents?: number | null;
112052
+ price_source?: string;
112053
+ price_updated_at?: string | null;
110362
112054
  product_id?: string;
110363
112055
  purchase_price_cents?: number | null;
110364
112056
  supplier_article_number?: string | null;
@@ -110889,9 +112581,13 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
110889
112581
  purchase_order_items: {
110890
112582
  Row: {
110891
112583
  article_number: string | null;
112584
+ cancel_reason: string | null;
112585
+ cancelled_at: string | null;
110892
112586
  created_at: string;
110893
112587
  delivery_date: string | null;
110894
112588
  id: string;
112589
+ incoming_booked: number;
112590
+ line_status: string;
110895
112591
  name: string;
110896
112592
  note: string | null;
110897
112593
  pot_size: string | null;
@@ -110899,6 +112595,8 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
110899
112595
  product_type: string;
110900
112596
  purchase_order_id: string;
110901
112597
  quantity: number;
112598
+ received_at: string | null;
112599
+ received_booked: number;
110902
112600
  supplier_id: string | null;
110903
112601
  supplier_product_id: string | null;
110904
112602
  unit_price_cents: number;
@@ -110906,9 +112604,13 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
110906
112604
  };
110907
112605
  Insert: {
110908
112606
  article_number?: string | null;
112607
+ cancel_reason?: string | null;
112608
+ cancelled_at?: string | null;
110909
112609
  created_at?: string;
110910
112610
  delivery_date?: string | null;
110911
112611
  id?: string;
112612
+ incoming_booked?: number;
112613
+ line_status?: string;
110912
112614
  name?: string;
110913
112615
  note?: string | null;
110914
112616
  pot_size?: string | null;
@@ -110916,6 +112618,8 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
110916
112618
  product_type?: string;
110917
112619
  purchase_order_id: string;
110918
112620
  quantity?: number;
112621
+ received_at?: string | null;
112622
+ received_booked?: number;
110919
112623
  supplier_id?: string | null;
110920
112624
  supplier_product_id?: string | null;
110921
112625
  unit_price_cents?: number;
@@ -110923,9 +112627,13 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
110923
112627
  };
110924
112628
  Update: {
110925
112629
  article_number?: string | null;
112630
+ cancel_reason?: string | null;
112631
+ cancelled_at?: string | null;
110926
112632
  created_at?: string;
110927
112633
  delivery_date?: string | null;
110928
112634
  id?: string;
112635
+ incoming_booked?: number;
112636
+ line_status?: string;
110929
112637
  name?: string;
110930
112638
  note?: string | null;
110931
112639
  pot_size?: string | null;
@@ -110933,6 +112641,8 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
110933
112641
  product_type?: string;
110934
112642
  purchase_order_id?: string;
110935
112643
  quantity?: number;
112644
+ received_at?: string | null;
112645
+ received_booked?: number;
110936
112646
  supplier_id?: string | null;
110937
112647
  supplier_product_id?: string | null;
110938
112648
  unit_price_cents?: number;
@@ -111036,6 +112746,153 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
111036
112746
  referencedColumns: ["id"];
111037
112747
  }];
111038
112748
  };
112749
+ purchase_request_events: {
112750
+ Row: {
112751
+ created_at: string;
112752
+ details: import("../integrations/supabase/types").Json | null;
112753
+ event_type: string;
112754
+ id: string;
112755
+ request_id: string;
112756
+ };
112757
+ Insert: {
112758
+ created_at?: string;
112759
+ details?: import("../integrations/supabase/types").Json | null;
112760
+ event_type: string;
112761
+ id?: string;
112762
+ request_id: string;
112763
+ };
112764
+ Update: {
112765
+ created_at?: string;
112766
+ details?: import("../integrations/supabase/types").Json | null;
112767
+ event_type?: string;
112768
+ id?: string;
112769
+ request_id?: string;
112770
+ };
112771
+ Relationships: [{
112772
+ foreignKeyName: "purchase_request_events_request_id_fkey";
112773
+ columns: ["request_id"];
112774
+ isOneToOne: false;
112775
+ referencedRelation: "purchase_requests";
112776
+ referencedColumns: ["id"];
112777
+ }];
112778
+ };
112779
+ purchase_request_responses: {
112780
+ Row: {
112781
+ confirmed_date: string | null;
112782
+ confirmed_price_cents: number | null;
112783
+ confirmed_quantity: number;
112784
+ created_at: string;
112785
+ id: string;
112786
+ not_available: boolean;
112787
+ note: string | null;
112788
+ purchase_order_item_id: string;
112789
+ request_id: string;
112790
+ updated_at: string;
112791
+ };
112792
+ Insert: {
112793
+ confirmed_date?: string | null;
112794
+ confirmed_price_cents?: number | null;
112795
+ confirmed_quantity?: number;
112796
+ created_at?: string;
112797
+ id?: string;
112798
+ not_available?: boolean;
112799
+ note?: string | null;
112800
+ purchase_order_item_id: string;
112801
+ request_id: string;
112802
+ updated_at?: string;
112803
+ };
112804
+ Update: {
112805
+ confirmed_date?: string | null;
112806
+ confirmed_price_cents?: number | null;
112807
+ confirmed_quantity?: number;
112808
+ created_at?: string;
112809
+ id?: string;
112810
+ not_available?: boolean;
112811
+ note?: string | null;
112812
+ purchase_order_item_id?: string;
112813
+ request_id?: string;
112814
+ updated_at?: string;
112815
+ };
112816
+ Relationships: [{
112817
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
112818
+ columns: ["purchase_order_item_id"];
112819
+ isOneToOne: false;
112820
+ referencedRelation: "purchase_order_items";
112821
+ referencedColumns: ["id"];
112822
+ }, {
112823
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
112824
+ columns: ["request_id"];
112825
+ isOneToOne: false;
112826
+ referencedRelation: "purchase_requests";
112827
+ referencedColumns: ["id"];
112828
+ }];
112829
+ };
112830
+ purchase_requests: {
112831
+ Row: {
112832
+ created_at: string;
112833
+ expires_at: string;
112834
+ first_viewed_at: string | null;
112835
+ id: string;
112836
+ processed_at: string | null;
112837
+ purchase_order_id: string;
112838
+ responded_at: string | null;
112839
+ sent_at: string;
112840
+ status: string;
112841
+ supplier_id: string | null;
112842
+ supplier_name: string;
112843
+ supplier_note: string | null;
112844
+ to_address: string | null;
112845
+ token_hash: string;
112846
+ updated_at: string;
112847
+ };
112848
+ Insert: {
112849
+ created_at?: string;
112850
+ expires_at?: string;
112851
+ first_viewed_at?: string | null;
112852
+ id?: string;
112853
+ processed_at?: string | null;
112854
+ purchase_order_id: string;
112855
+ responded_at?: string | null;
112856
+ sent_at?: string;
112857
+ status?: string;
112858
+ supplier_id?: string | null;
112859
+ supplier_name?: string;
112860
+ supplier_note?: string | null;
112861
+ to_address?: string | null;
112862
+ token_hash: string;
112863
+ updated_at?: string;
112864
+ };
112865
+ Update: {
112866
+ created_at?: string;
112867
+ expires_at?: string;
112868
+ first_viewed_at?: string | null;
112869
+ id?: string;
112870
+ processed_at?: string | null;
112871
+ purchase_order_id?: string;
112872
+ responded_at?: string | null;
112873
+ sent_at?: string;
112874
+ status?: string;
112875
+ supplier_id?: string | null;
112876
+ supplier_name?: string;
112877
+ supplier_note?: string | null;
112878
+ to_address?: string | null;
112879
+ token_hash?: string;
112880
+ updated_at?: string;
112881
+ };
112882
+ Relationships: [{
112883
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
112884
+ columns: ["purchase_order_id"];
112885
+ isOneToOne: false;
112886
+ referencedRelation: "purchase_orders";
112887
+ referencedColumns: ["id"];
112888
+ }, {
112889
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
112890
+ columns: ["supplier_id"];
112891
+ isOneToOne: false;
112892
+ referencedRelation: "suppliers";
112893
+ referencedColumns: ["id"];
112894
+ }];
112895
+ };
111039
112896
  reception_notifications: {
111040
112897
  Row: {
111041
112898
  booking_id: string | null;
@@ -115461,7 +117318,7 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
115461
117318
  created_at: string;
115462
117319
  default_quantity: number;
115463
117320
  description: string | null;
115464
- duration_minutes: number | null;
117321
+ duration_minutes: number;
115465
117322
  id: string;
115466
117323
  mandaat_type: string | null;
115467
117324
  name: string;
@@ -115478,7 +117335,7 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
115478
117335
  created_at?: string;
115479
117336
  default_quantity?: number;
115480
117337
  description?: string | null;
115481
- duration_minutes?: number | null;
117338
+ duration_minutes?: number;
115482
117339
  id?: string;
115483
117340
  mandaat_type?: string | null;
115484
117341
  name: string;
@@ -115495,7 +117352,7 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
115495
117352
  created_at?: string;
115496
117353
  default_quantity?: number;
115497
117354
  description?: string | null;
115498
- duration_minutes?: number | null;
117355
+ duration_minutes?: number;
115499
117356
  id?: string;
115500
117357
  mandaat_type?: string | null;
115501
117358
  name?: string;
@@ -118491,6 +120348,31 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
118491
120348
  };
118492
120349
  Returns: import("../integrations/supabase/types").Json;
118493
120350
  };
120351
+ inkoop_cancel_line: {
120352
+ Args: {
120353
+ _item_id: string;
120354
+ _reason: string;
120355
+ };
120356
+ Returns: string;
120357
+ };
120358
+ inkoop_get_supplier_request: {
120359
+ Args: {
120360
+ _token: string;
120361
+ };
120362
+ Returns: import("../integrations/supabase/types").Json;
120363
+ };
120364
+ inkoop_hash_token: {
120365
+ Args: {
120366
+ _token: string;
120367
+ };
120368
+ Returns: string;
120369
+ };
120370
+ inkoop_html_escape: {
120371
+ Args: {
120372
+ _t: string;
120373
+ };
120374
+ Returns: string;
120375
+ };
118494
120376
  inkoop_list_artikelen: {
118495
120377
  Args: never;
118496
120378
  Returns: {
@@ -118515,9 +120397,17 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
118515
120397
  Args: never;
118516
120398
  Returns: string;
118517
120399
  };
120400
+ inkoop_process_request: {
120401
+ Args: {
120402
+ _request_id: string;
120403
+ };
120404
+ Returns: undefined;
120405
+ };
118518
120406
  inkoop_send_order: {
118519
120407
  Args: {
120408
+ _base_url?: string;
118520
120409
  _order_id: string;
120410
+ _resend?: boolean;
118521
120411
  };
118522
120412
  Returns: {
118523
120413
  outbox_id: string;
@@ -118532,6 +120422,26 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
118532
120422
  };
118533
120423
  Returns: undefined;
118534
120424
  };
120425
+ inkoop_stock_key: {
120426
+ Args: {
120427
+ p_product_id: string;
120428
+ };
120429
+ Returns: string;
120430
+ };
120431
+ inkoop_submit_supplier_response: {
120432
+ Args: {
120433
+ _lines: import("../integrations/supabase/types").Json;
120434
+ _note?: string;
120435
+ _token: string;
120436
+ };
120437
+ Returns: import("../integrations/supabase/types").Json;
120438
+ };
120439
+ inkoop_sync_item_stock: {
120440
+ Args: {
120441
+ p_item_id: string;
120442
+ };
120443
+ Returns: undefined;
120444
+ };
118535
120445
  instructie_get: {
118536
120446
  Args: {
118537
120447
  _sleutel: string;
@@ -118692,6 +120602,27 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
118692
120602
  };
118693
120603
  Returns: boolean;
118694
120604
  };
120605
+ layout_print_document: {
120606
+ Args: {
120607
+ _documentnaam: string;
120608
+ _documenttype: string;
120609
+ _herkomst?: string;
120610
+ _idempotentie_sleutel?: string;
120611
+ _is_herprint?: boolean;
120612
+ _kopieen?: number;
120613
+ _layout_id?: string;
120614
+ _payload?: import("../integrations/supabase/types").Json;
120615
+ _pdf_base64?: string;
120616
+ _pdf_url?: string;
120617
+ _print_plek_id?: string;
120618
+ _werkplek?: string;
120619
+ };
120620
+ Returns: {
120621
+ bestaand: boolean;
120622
+ job_id: string;
120623
+ printer_id: string;
120624
+ }[];
120625
+ };
118695
120626
  list_medewerkers: {
118696
120627
  Args: never;
118697
120628
  Returns: {
@@ -118969,6 +120900,12 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
118969
120900
  };
118970
120901
  Returns: number;
118971
120902
  };
120903
+ logistics_cart_barcode_opschonen: {
120904
+ Args: {
120905
+ p_portie?: number;
120906
+ };
120907
+ Returns: import("../integrations/supabase/types").Json;
120908
+ };
118972
120909
  logistics_cart_barcode_value: {
118973
120910
  Args: {
118974
120911
  _cart_id: string;
@@ -119388,6 +121325,13 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
119388
121325
  };
119389
121326
  Returns: import("../integrations/supabase/types").Json;
119390
121327
  };
121328
+ logistics_control_scan_print_own: {
121329
+ Args: {
121330
+ p_is_herprint?: boolean;
121331
+ p_scan_id: string;
121332
+ };
121333
+ Returns: import("../integrations/supabase/types").Json;
121334
+ };
119391
121335
  logistics_control_scan_retry: {
119392
121336
  Args: {
119393
121337
  _id: string;
@@ -120292,6 +122236,21 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
120292
122236
  };
120293
122237
  Returns: import("../integrations/supabase/types").Json;
120294
122238
  };
122239
+ logistics_print_via_layout: {
122240
+ Args: {
122241
+ _documentnaam: string;
122242
+ _documenttype: string;
122243
+ _herkomst: string;
122244
+ _idempotentie_sleutel: string;
122245
+ _is_herprint: boolean;
122246
+ _layout_id: string;
122247
+ _payload: import("../integrations/supabase/types").Json;
122248
+ _pdf_base64: string;
122249
+ _pdf_url: string;
122250
+ _print_plek_id: string;
122251
+ };
122252
+ Returns: import("../integrations/supabase/types").Json;
122253
+ };
120295
122254
  logistics_prune_buffer_member_queue: {
120296
122255
  Args: never;
120297
122256
  Returns: number;
@@ -120578,6 +122537,13 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
120578
122537
  };
120579
122538
  Returns: string;
120580
122539
  };
122540
+ logistics_shipping_note_status: {
122541
+ Args: {
122542
+ p_cart_id?: string;
122543
+ p_slip_job_id?: string;
122544
+ };
122545
+ Returns: import("../integrations/supabase/types").Json;
122546
+ };
120581
122547
  logistics_shipping_notes_wake_all: {
120582
122548
  Args: never;
120583
122549
  Returns: import("../integrations/supabase/types").Json;
@@ -120640,6 +122606,12 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
120640
122606
  };
120641
122607
  Returns: undefined;
120642
122608
  };
122609
+ logistics_slip_note_retry: {
122610
+ Args: {
122611
+ _id: string;
122612
+ };
122613
+ Returns: import("../integrations/supabase/types").Json;
122614
+ };
120643
122615
  logistics_sticker_follows_slip: {
120644
122616
  Args: never;
120645
122617
  Returns: boolean;
@@ -121384,6 +123356,10 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
121384
123356
  };
121385
123357
  Returns: string;
121386
123358
  };
123359
+ pick_is_reference_admin: {
123360
+ Args: never;
123361
+ Returns: boolean;
123362
+ };
121387
123363
  pick_mark_printed: {
121388
123364
  Args: {
121389
123365
  _queue_item_id: string;
@@ -121807,6 +123783,12 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
121807
123783
  };
121808
123784
  Returns: import("../integrations/supabase/types").Json;
121809
123785
  };
123786
+ pick_verify_rows: {
123787
+ Args: {
123788
+ _rows: import("../integrations/supabase/types").Json;
123789
+ };
123790
+ Returns: import("../integrations/supabase/types").Json;
123791
+ };
121810
123792
  pickstation_get_orders_raw: {
121811
123793
  Args: never;
121812
123794
  Returns: import("../integrations/supabase/types").Json;
@@ -121987,6 +123969,12 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
121987
123969
  };
121988
123970
  Returns: import("../integrations/supabase/types").Json;
121989
123971
  };
123972
+ quote_create_from_scratch: {
123973
+ Args: {
123974
+ _payload: import("../integrations/supabase/types").Json;
123975
+ };
123976
+ Returns: import("../integrations/supabase/types").Json;
123977
+ };
121990
123978
  quote_create_from_source: {
121991
123979
  Args: {
121992
123980
  _payload?: import("../integrations/supabase/types").Json;
@@ -122037,6 +124025,13 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
122037
124025
  };
122038
124026
  Returns: string;
122039
124027
  };
124028
+ quote_sync_work_order: {
124029
+ Args: {
124030
+ _monteur_instructies?: string;
124031
+ _offerte_id: string;
124032
+ };
124033
+ Returns: boolean;
124034
+ };
122040
124035
  recompute_all_reserved_stock: {
122041
124036
  Args: never;
122042
124037
  Returns: undefined;
@@ -122257,6 +124252,13 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
122257
124252
  };
122258
124253
  Returns: import("../integrations/supabase/types").Json;
122259
124254
  };
124255
+ scan_controleer_pincode: {
124256
+ Args: {
124257
+ p_pin: string;
124258
+ p_scanner_id: string;
124259
+ };
124260
+ Returns: boolean;
124261
+ };
122260
124262
  scan_dashboard_stats: {
122261
124263
  Args: {
122262
124264
  p_dagen?: number;
@@ -122276,6 +124278,12 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
122276
124278
  };
122277
124279
  Returns: import("../integrations/supabase/types").Json;
122278
124280
  };
124281
+ scan_heeft_pincode: {
124282
+ Args: {
124283
+ p_scanner_id: string;
124284
+ };
124285
+ Returns: boolean;
124286
+ };
122279
124287
  scan_kar_compleet: {
122280
124288
  Args: {
122281
124289
  p_allow_reprint?: boolean;
@@ -122293,6 +124301,7 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
122293
124301
  Args: {
122294
124302
  p_code: string;
122295
124303
  p_latency_ms?: number;
124304
+ p_medewerker?: string;
122296
124305
  p_message?: string;
122297
124306
  p_result: string;
122298
124307
  p_scanner_key?: string;
@@ -122365,6 +124374,22 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
122365
124374
  };
122366
124375
  Returns: undefined;
122367
124376
  };
124377
+ scan_scanner_info: {
124378
+ Args: {
124379
+ p_slug: string;
124380
+ };
124381
+ Returns: {
124382
+ actief: boolean;
124383
+ heeft_pincode: boolean;
124384
+ id: string;
124385
+ naam: string;
124386
+ omschrijving: string;
124387
+ printer_id: string;
124388
+ type: string;
124389
+ vereist_medewerker: boolean;
124390
+ werkplek: string;
124391
+ }[];
124392
+ };
122368
124393
  scan_sessie_annuleren: {
122369
124394
  Args: {
122370
124395
  p_sessie_id: string;
@@ -123327,6 +125352,21 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
123327
125352
  };
123328
125353
  Returns: import("../integrations/supabase/types").Json;
123329
125354
  };
125355
+ wo_list_colleague_planning: {
125356
+ Args: {
125357
+ _from: string;
125358
+ _monteur_id: string;
125359
+ _to: string;
125360
+ };
125361
+ Returns: {
125362
+ end_at: string;
125363
+ id: string;
125364
+ role: string;
125365
+ start_at: string;
125366
+ status: string;
125367
+ werkbon_id: string;
125368
+ }[];
125369
+ };
123330
125370
  wo_list_offerte_requests: {
123331
125371
  Args: {
123332
125372
  _status?: string;