@flowselections/floriday-afhandeling-module 1.0.46 → 1.0.47

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 (30) hide show
  1. package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
  2. package/dist-lib/components/afhandeling/DagDetailDialog.js +31 -8
  3. package/dist-lib/integrations/supabase/auth-middleware.d.ts +500 -3
  4. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +500 -3
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/moduleClient.d.ts +500 -3
  8. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/types.d.ts +514 -3
  10. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  11. package/dist-lib/lib/afhandelingSettings.functions.d.ts +1000 -6
  12. package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/carriers.functions.d.ts +2500 -15
  14. package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/cartAssignments.functions.d.ts +33860 -41
  16. package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/cartAssignments.functions.js +69 -0
  18. package/dist-lib/lib/cartControl.functions.d.ts +5500 -33
  19. package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/deliveryNote.functions.d.ts +500 -3
  21. package/dist-lib/lib/deliveryNote.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/engineLayouts.functions.d.ts +500 -3
  23. package/dist-lib/lib/engineLayouts.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/floriday.functions.d.ts +1000 -6
  25. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/orderFulfilment.functions.d.ts +500 -3
  27. package/dist-lib/lib/orderFulfilment.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/pickDates.functions.d.ts +500 -3
  29. package/dist-lib/lib/pickDates.functions.d.ts.map +1 -1
  30. package/package.json +2 -2
@@ -793,6 +793,27 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
793
793
  };
794
794
  Relationships: [];
795
795
  };
796
+ artikelen_instellingen: {
797
+ Row: {
798
+ created_at: string;
799
+ id: number;
800
+ marge_procent: number;
801
+ updated_at: string;
802
+ };
803
+ Insert: {
804
+ created_at?: string;
805
+ id?: number;
806
+ marge_procent?: number;
807
+ updated_at?: string;
808
+ };
809
+ Update: {
810
+ created_at?: string;
811
+ id?: number;
812
+ marge_procent?: number;
813
+ updated_at?: string;
814
+ };
815
+ Relationships: [];
816
+ };
796
817
  artikelen_veldconfig: {
797
818
  Row: {
798
819
  bron_pad: string;
@@ -10468,6 +10489,30 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
10468
10489
  };
10469
10490
  Relationships: [];
10470
10491
  };
10492
+ logistics_cart_barcode_archief: {
10493
+ Row: {
10494
+ barcode: string;
10495
+ cart_id: string;
10496
+ created_at: string | null;
10497
+ gearchiveerd_op: string;
10498
+ order_id: string | null;
10499
+ };
10500
+ Insert: {
10501
+ barcode: string;
10502
+ cart_id: string;
10503
+ created_at?: string | null;
10504
+ gearchiveerd_op?: string;
10505
+ order_id?: string | null;
10506
+ };
10507
+ Update: {
10508
+ barcode?: string;
10509
+ cart_id?: string;
10510
+ created_at?: string | null;
10511
+ gearchiveerd_op?: string;
10512
+ order_id?: string | null;
10513
+ };
10514
+ Relationships: [];
10515
+ };
10471
10516
  logistics_control_scan: {
10472
10517
  Row: {
10473
10518
  approved_at: string | null;
@@ -14754,6 +14799,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
14754
14799
  next_attempt_at: string;
14755
14800
  order_id: string;
14756
14801
  processed_at: string | null;
14802
+ send_error: string | null;
14757
14803
  status: string;
14758
14804
  updated_at: string;
14759
14805
  };
@@ -14767,6 +14813,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
14767
14813
  next_attempt_at?: string;
14768
14814
  order_id: string;
14769
14815
  processed_at?: string | null;
14816
+ send_error?: string | null;
14770
14817
  status?: string;
14771
14818
  updated_at?: string;
14772
14819
  };
@@ -14780,6 +14827,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
14780
14827
  next_attempt_at?: string;
14781
14828
  order_id?: string;
14782
14829
  processed_at?: string | null;
14830
+ send_error?: string | null;
14783
14831
  status?: string;
14784
14832
  updated_at?: string;
14785
14833
  };
@@ -16118,18 +16166,24 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
16118
16166
  Row: {
16119
16167
  id: boolean;
16120
16168
  last_cleanup_at: string | null;
16169
+ last_error: string | null;
16170
+ last_error_at: string | null;
16121
16171
  last_sync_at: string | null;
16122
16172
  updated_at: string;
16123
16173
  };
16124
16174
  Insert: {
16125
16175
  id?: boolean;
16126
16176
  last_cleanup_at?: string | null;
16177
+ last_error?: string | null;
16178
+ last_error_at?: string | null;
16127
16179
  last_sync_at?: string | null;
16128
16180
  updated_at?: string;
16129
16181
  };
16130
16182
  Update: {
16131
16183
  id?: boolean;
16132
16184
  last_cleanup_at?: string | null;
16185
+ last_error?: string | null;
16186
+ last_error_at?: string | null;
16133
16187
  last_sync_at?: string | null;
16134
16188
  updated_at?: string;
16135
16189
  };
@@ -16255,6 +16309,54 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
16255
16309
  };
16256
16310
  Relationships: [];
16257
16311
  };
16312
+ planning_confirmation_log: {
16313
+ Row: {
16314
+ created_at: string;
16315
+ end_at: string;
16316
+ id: string;
16317
+ outbox_id: string | null;
16318
+ planning_item_id: string;
16319
+ reason: string | null;
16320
+ recipient: string | null;
16321
+ start_at: string;
16322
+ status: string;
16323
+ };
16324
+ Insert: {
16325
+ created_at?: string;
16326
+ end_at: string;
16327
+ id?: string;
16328
+ outbox_id?: string | null;
16329
+ planning_item_id: string;
16330
+ reason?: string | null;
16331
+ recipient?: string | null;
16332
+ start_at: string;
16333
+ status: string;
16334
+ };
16335
+ Update: {
16336
+ created_at?: string;
16337
+ end_at?: string;
16338
+ id?: string;
16339
+ outbox_id?: string | null;
16340
+ planning_item_id?: string;
16341
+ reason?: string | null;
16342
+ recipient?: string | null;
16343
+ start_at?: string;
16344
+ status?: string;
16345
+ };
16346
+ Relationships: [{
16347
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16348
+ columns: ["planning_item_id"];
16349
+ isOneToOne: false;
16350
+ referencedRelation: "planning_items";
16351
+ referencedColumns: ["id"];
16352
+ }, {
16353
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16354
+ columns: ["planning_item_id"];
16355
+ isOneToOne: false;
16356
+ referencedRelation: "planning_overview";
16357
+ referencedColumns: ["id"];
16358
+ }];
16359
+ };
16258
16360
  planning_item_assistants: {
16259
16361
  Row: {
16260
16362
  created_at: string;
@@ -16339,6 +16441,60 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
16339
16441
  referencedColumns: ["id"];
16340
16442
  }];
16341
16443
  };
16444
+ planning_mail_settings: {
16445
+ Row: {
16446
+ body_template: string;
16447
+ cc: string[];
16448
+ connection_id: string | null;
16449
+ created_at: string;
16450
+ enabled: boolean;
16451
+ id: boolean;
16452
+ reply_to: string | null;
16453
+ subject_template: string;
16454
+ timezone: string;
16455
+ updated_at: string;
16456
+ updated_by: string | null;
16457
+ };
16458
+ Insert: {
16459
+ body_template?: string;
16460
+ cc?: string[];
16461
+ connection_id?: string | null;
16462
+ created_at?: string;
16463
+ enabled?: boolean;
16464
+ id?: boolean;
16465
+ reply_to?: string | null;
16466
+ subject_template?: string;
16467
+ timezone?: string;
16468
+ updated_at?: string;
16469
+ updated_by?: string | null;
16470
+ };
16471
+ Update: {
16472
+ body_template?: string;
16473
+ cc?: string[];
16474
+ connection_id?: string | null;
16475
+ created_at?: string;
16476
+ enabled?: boolean;
16477
+ id?: boolean;
16478
+ reply_to?: string | null;
16479
+ subject_template?: string;
16480
+ timezone?: string;
16481
+ updated_at?: string;
16482
+ updated_by?: string | null;
16483
+ };
16484
+ Relationships: [{
16485
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16486
+ columns: ["connection_id"];
16487
+ isOneToOne: false;
16488
+ referencedRelation: "email_auth_connections";
16489
+ referencedColumns: ["id"];
16490
+ }, {
16491
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16492
+ columns: ["connection_id"];
16493
+ isOneToOne: false;
16494
+ referencedRelation: "email_auth_connections_safe";
16495
+ referencedColumns: ["id"];
16496
+ }];
16497
+ };
16342
16498
  planning_monteur_day_locations: {
16343
16499
  Row: {
16344
16500
  created_at: string;
@@ -17817,6 +17973,9 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
17817
17973
  lead_time_days: number | null;
17818
17974
  min_order_quantity: number | null;
17819
17975
  notes: string | null;
17976
+ previous_price_cents: number | null;
17977
+ price_source: string;
17978
+ price_updated_at: string | null;
17820
17979
  product_id: string;
17821
17980
  purchase_price_cents: number | null;
17822
17981
  supplier_article_number: string | null;
@@ -17830,6 +17989,9 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
17830
17989
  lead_time_days?: number | null;
17831
17990
  min_order_quantity?: number | null;
17832
17991
  notes?: string | null;
17992
+ previous_price_cents?: number | null;
17993
+ price_source?: string;
17994
+ price_updated_at?: string | null;
17833
17995
  product_id: string;
17834
17996
  purchase_price_cents?: number | null;
17835
17997
  supplier_article_number?: string | null;
@@ -17843,6 +18005,9 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
17843
18005
  lead_time_days?: number | null;
17844
18006
  min_order_quantity?: number | null;
17845
18007
  notes?: string | null;
18008
+ previous_price_cents?: number | null;
18009
+ price_source?: string;
18010
+ price_updated_at?: string | null;
17846
18011
  product_id?: string;
17847
18012
  purchase_price_cents?: number | null;
17848
18013
  supplier_article_number?: string | null;
@@ -18373,9 +18538,13 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
18373
18538
  purchase_order_items: {
18374
18539
  Row: {
18375
18540
  article_number: string | null;
18541
+ cancel_reason: string | null;
18542
+ cancelled_at: string | null;
18376
18543
  created_at: string;
18377
18544
  delivery_date: string | null;
18378
18545
  id: string;
18546
+ incoming_booked: number;
18547
+ line_status: string;
18379
18548
  name: string;
18380
18549
  note: string | null;
18381
18550
  pot_size: string | null;
@@ -18383,6 +18552,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
18383
18552
  product_type: string;
18384
18553
  purchase_order_id: string;
18385
18554
  quantity: number;
18555
+ received_at: string | null;
18556
+ received_booked: number;
18386
18557
  supplier_id: string | null;
18387
18558
  supplier_product_id: string | null;
18388
18559
  unit_price_cents: number;
@@ -18390,9 +18561,13 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
18390
18561
  };
18391
18562
  Insert: {
18392
18563
  article_number?: string | null;
18564
+ cancel_reason?: string | null;
18565
+ cancelled_at?: string | null;
18393
18566
  created_at?: string;
18394
18567
  delivery_date?: string | null;
18395
18568
  id?: string;
18569
+ incoming_booked?: number;
18570
+ line_status?: string;
18396
18571
  name?: string;
18397
18572
  note?: string | null;
18398
18573
  pot_size?: string | null;
@@ -18400,6 +18575,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
18400
18575
  product_type?: string;
18401
18576
  purchase_order_id: string;
18402
18577
  quantity?: number;
18578
+ received_at?: string | null;
18579
+ received_booked?: number;
18403
18580
  supplier_id?: string | null;
18404
18581
  supplier_product_id?: string | null;
18405
18582
  unit_price_cents?: number;
@@ -18407,9 +18584,13 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
18407
18584
  };
18408
18585
  Update: {
18409
18586
  article_number?: string | null;
18587
+ cancel_reason?: string | null;
18588
+ cancelled_at?: string | null;
18410
18589
  created_at?: string;
18411
18590
  delivery_date?: string | null;
18412
18591
  id?: string;
18592
+ incoming_booked?: number;
18593
+ line_status?: string;
18413
18594
  name?: string;
18414
18595
  note?: string | null;
18415
18596
  pot_size?: string | null;
@@ -18417,6 +18598,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
18417
18598
  product_type?: string;
18418
18599
  purchase_order_id?: string;
18419
18600
  quantity?: number;
18601
+ received_at?: string | null;
18602
+ received_booked?: number;
18420
18603
  supplier_id?: string | null;
18421
18604
  supplier_product_id?: string | null;
18422
18605
  unit_price_cents?: number;
@@ -18520,6 +18703,153 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
18520
18703
  referencedColumns: ["id"];
18521
18704
  }];
18522
18705
  };
18706
+ purchase_request_events: {
18707
+ Row: {
18708
+ created_at: string;
18709
+ details: import("../integrations/supabase/types").Json | null;
18710
+ event_type: string;
18711
+ id: string;
18712
+ request_id: string;
18713
+ };
18714
+ Insert: {
18715
+ created_at?: string;
18716
+ details?: import("../integrations/supabase/types").Json | null;
18717
+ event_type: string;
18718
+ id?: string;
18719
+ request_id: string;
18720
+ };
18721
+ Update: {
18722
+ created_at?: string;
18723
+ details?: import("../integrations/supabase/types").Json | null;
18724
+ event_type?: string;
18725
+ id?: string;
18726
+ request_id?: string;
18727
+ };
18728
+ Relationships: [{
18729
+ foreignKeyName: "purchase_request_events_request_id_fkey";
18730
+ columns: ["request_id"];
18731
+ isOneToOne: false;
18732
+ referencedRelation: "purchase_requests";
18733
+ referencedColumns: ["id"];
18734
+ }];
18735
+ };
18736
+ purchase_request_responses: {
18737
+ Row: {
18738
+ confirmed_date: string | null;
18739
+ confirmed_price_cents: number | null;
18740
+ confirmed_quantity: number;
18741
+ created_at: string;
18742
+ id: string;
18743
+ not_available: boolean;
18744
+ note: string | null;
18745
+ purchase_order_item_id: string;
18746
+ request_id: string;
18747
+ updated_at: string;
18748
+ };
18749
+ Insert: {
18750
+ confirmed_date?: string | null;
18751
+ confirmed_price_cents?: number | null;
18752
+ confirmed_quantity?: number;
18753
+ created_at?: string;
18754
+ id?: string;
18755
+ not_available?: boolean;
18756
+ note?: string | null;
18757
+ purchase_order_item_id: string;
18758
+ request_id: string;
18759
+ updated_at?: string;
18760
+ };
18761
+ Update: {
18762
+ confirmed_date?: string | null;
18763
+ confirmed_price_cents?: number | null;
18764
+ confirmed_quantity?: number;
18765
+ created_at?: string;
18766
+ id?: string;
18767
+ not_available?: boolean;
18768
+ note?: string | null;
18769
+ purchase_order_item_id?: string;
18770
+ request_id?: string;
18771
+ updated_at?: string;
18772
+ };
18773
+ Relationships: [{
18774
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
18775
+ columns: ["purchase_order_item_id"];
18776
+ isOneToOne: false;
18777
+ referencedRelation: "purchase_order_items";
18778
+ referencedColumns: ["id"];
18779
+ }, {
18780
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
18781
+ columns: ["request_id"];
18782
+ isOneToOne: false;
18783
+ referencedRelation: "purchase_requests";
18784
+ referencedColumns: ["id"];
18785
+ }];
18786
+ };
18787
+ purchase_requests: {
18788
+ Row: {
18789
+ created_at: string;
18790
+ expires_at: string;
18791
+ first_viewed_at: string | null;
18792
+ id: string;
18793
+ processed_at: string | null;
18794
+ purchase_order_id: string;
18795
+ responded_at: string | null;
18796
+ sent_at: string;
18797
+ status: string;
18798
+ supplier_id: string | null;
18799
+ supplier_name: string;
18800
+ supplier_note: string | null;
18801
+ to_address: string | null;
18802
+ token_hash: string;
18803
+ updated_at: string;
18804
+ };
18805
+ Insert: {
18806
+ created_at?: string;
18807
+ expires_at?: string;
18808
+ first_viewed_at?: string | null;
18809
+ id?: string;
18810
+ processed_at?: string | null;
18811
+ purchase_order_id: string;
18812
+ responded_at?: string | null;
18813
+ sent_at?: string;
18814
+ status?: string;
18815
+ supplier_id?: string | null;
18816
+ supplier_name?: string;
18817
+ supplier_note?: string | null;
18818
+ to_address?: string | null;
18819
+ token_hash: string;
18820
+ updated_at?: string;
18821
+ };
18822
+ Update: {
18823
+ created_at?: string;
18824
+ expires_at?: string;
18825
+ first_viewed_at?: string | null;
18826
+ id?: string;
18827
+ processed_at?: string | null;
18828
+ purchase_order_id?: string;
18829
+ responded_at?: string | null;
18830
+ sent_at?: string;
18831
+ status?: string;
18832
+ supplier_id?: string | null;
18833
+ supplier_name?: string;
18834
+ supplier_note?: string | null;
18835
+ to_address?: string | null;
18836
+ token_hash?: string;
18837
+ updated_at?: string;
18838
+ };
18839
+ Relationships: [{
18840
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
18841
+ columns: ["purchase_order_id"];
18842
+ isOneToOne: false;
18843
+ referencedRelation: "purchase_orders";
18844
+ referencedColumns: ["id"];
18845
+ }, {
18846
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
18847
+ columns: ["supplier_id"];
18848
+ isOneToOne: false;
18849
+ referencedRelation: "suppliers";
18850
+ referencedColumns: ["id"];
18851
+ }];
18852
+ };
18523
18853
  reception_notifications: {
18524
18854
  Row: {
18525
18855
  booking_id: string | null;
@@ -20683,6 +21013,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
20683
21013
  auto_invoice_enabled: boolean;
20684
21014
  auto_invoice_start_date: string | null;
20685
21015
  auto_invoice_trigger_statuses: string[];
21016
+ auto_send_mode: string | null;
20686
21017
  created_at: string;
20687
21018
  debtor_gl_account: string;
20688
21019
  default_article_code: string | null;
@@ -20711,6 +21042,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
20711
21042
  auto_invoice_enabled?: boolean;
20712
21043
  auto_invoice_start_date?: string | null;
20713
21044
  auto_invoice_trigger_statuses?: string[];
21045
+ auto_send_mode?: string | null;
20714
21046
  created_at?: string;
20715
21047
  debtor_gl_account?: string;
20716
21048
  default_article_code?: string | null;
@@ -20739,6 +21071,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
20739
21071
  auto_invoice_enabled?: boolean;
20740
21072
  auto_invoice_start_date?: string | null;
20741
21073
  auto_invoice_trigger_statuses?: string[];
21074
+ auto_send_mode?: string | null;
20742
21075
  created_at?: string;
20743
21076
  debtor_gl_account?: string;
20744
21077
  default_article_code?: string | null;
@@ -22942,7 +23275,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
22942
23275
  created_at: string;
22943
23276
  default_quantity: number;
22944
23277
  description: string | null;
22945
- duration_minutes: number | null;
23278
+ duration_minutes: number;
22946
23279
  id: string;
22947
23280
  mandaat_type: string | null;
22948
23281
  name: string;
@@ -22959,7 +23292,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
22959
23292
  created_at?: string;
22960
23293
  default_quantity?: number;
22961
23294
  description?: string | null;
22962
- duration_minutes?: number | null;
23295
+ duration_minutes?: number;
22963
23296
  id?: string;
22964
23297
  mandaat_type?: string | null;
22965
23298
  name: string;
@@ -22976,7 +23309,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
22976
23309
  created_at?: string;
22977
23310
  default_quantity?: number;
22978
23311
  description?: string | null;
22979
- duration_minutes?: number | null;
23312
+ duration_minutes?: number;
22980
23313
  id?: string;
22981
23314
  mandaat_type?: string | null;
22982
23315
  name?: string;
@@ -25972,6 +26305,31 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
25972
26305
  };
25973
26306
  Returns: import("../integrations/supabase/types").Json;
25974
26307
  };
26308
+ inkoop_cancel_line: {
26309
+ Args: {
26310
+ _item_id: string;
26311
+ _reason: string;
26312
+ };
26313
+ Returns: string;
26314
+ };
26315
+ inkoop_get_supplier_request: {
26316
+ Args: {
26317
+ _token: string;
26318
+ };
26319
+ Returns: import("../integrations/supabase/types").Json;
26320
+ };
26321
+ inkoop_hash_token: {
26322
+ Args: {
26323
+ _token: string;
26324
+ };
26325
+ Returns: string;
26326
+ };
26327
+ inkoop_html_escape: {
26328
+ Args: {
26329
+ _t: string;
26330
+ };
26331
+ Returns: string;
26332
+ };
25975
26333
  inkoop_list_artikelen: {
25976
26334
  Args: never;
25977
26335
  Returns: {
@@ -25996,9 +26354,17 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
25996
26354
  Args: never;
25997
26355
  Returns: string;
25998
26356
  };
26357
+ inkoop_process_request: {
26358
+ Args: {
26359
+ _request_id: string;
26360
+ };
26361
+ Returns: undefined;
26362
+ };
25999
26363
  inkoop_send_order: {
26000
26364
  Args: {
26365
+ _base_url?: string;
26001
26366
  _order_id: string;
26367
+ _resend?: boolean;
26002
26368
  };
26003
26369
  Returns: {
26004
26370
  outbox_id: string;
@@ -26013,6 +26379,26 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
26013
26379
  };
26014
26380
  Returns: undefined;
26015
26381
  };
26382
+ inkoop_stock_key: {
26383
+ Args: {
26384
+ p_product_id: string;
26385
+ };
26386
+ Returns: string;
26387
+ };
26388
+ inkoop_submit_supplier_response: {
26389
+ Args: {
26390
+ _lines: import("../integrations/supabase/types").Json;
26391
+ _note?: string;
26392
+ _token: string;
26393
+ };
26394
+ Returns: import("../integrations/supabase/types").Json;
26395
+ };
26396
+ inkoop_sync_item_stock: {
26397
+ Args: {
26398
+ p_item_id: string;
26399
+ };
26400
+ Returns: undefined;
26401
+ };
26016
26402
  instructie_get: {
26017
26403
  Args: {
26018
26404
  _sleutel: string;
@@ -26173,6 +26559,27 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
26173
26559
  };
26174
26560
  Returns: boolean;
26175
26561
  };
26562
+ layout_print_document: {
26563
+ Args: {
26564
+ _documentnaam: string;
26565
+ _documenttype: string;
26566
+ _herkomst?: string;
26567
+ _idempotentie_sleutel?: string;
26568
+ _is_herprint?: boolean;
26569
+ _kopieen?: number;
26570
+ _layout_id?: string;
26571
+ _payload?: import("../integrations/supabase/types").Json;
26572
+ _pdf_base64?: string;
26573
+ _pdf_url?: string;
26574
+ _print_plek_id?: string;
26575
+ _werkplek?: string;
26576
+ };
26577
+ Returns: {
26578
+ bestaand: boolean;
26579
+ job_id: string;
26580
+ printer_id: string;
26581
+ }[];
26582
+ };
26176
26583
  list_medewerkers: {
26177
26584
  Args: never;
26178
26585
  Returns: {
@@ -26450,6 +26857,12 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
26450
26857
  };
26451
26858
  Returns: number;
26452
26859
  };
26860
+ logistics_cart_barcode_opschonen: {
26861
+ Args: {
26862
+ p_portie?: number;
26863
+ };
26864
+ Returns: import("../integrations/supabase/types").Json;
26865
+ };
26453
26866
  logistics_cart_barcode_value: {
26454
26867
  Args: {
26455
26868
  _cart_id: string;
@@ -26869,6 +27282,13 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
26869
27282
  };
26870
27283
  Returns: import("../integrations/supabase/types").Json;
26871
27284
  };
27285
+ logistics_control_scan_print_own: {
27286
+ Args: {
27287
+ p_is_herprint?: boolean;
27288
+ p_scan_id: string;
27289
+ };
27290
+ Returns: import("../integrations/supabase/types").Json;
27291
+ };
26872
27292
  logistics_control_scan_retry: {
26873
27293
  Args: {
26874
27294
  _id: string;
@@ -27773,6 +28193,21 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
27773
28193
  };
27774
28194
  Returns: import("../integrations/supabase/types").Json;
27775
28195
  };
28196
+ logistics_print_via_layout: {
28197
+ Args: {
28198
+ _documentnaam: string;
28199
+ _documenttype: string;
28200
+ _herkomst: string;
28201
+ _idempotentie_sleutel: string;
28202
+ _is_herprint: boolean;
28203
+ _layout_id: string;
28204
+ _payload: import("../integrations/supabase/types").Json;
28205
+ _pdf_base64: string;
28206
+ _pdf_url: string;
28207
+ _print_plek_id: string;
28208
+ };
28209
+ Returns: import("../integrations/supabase/types").Json;
28210
+ };
27776
28211
  logistics_prune_buffer_member_queue: {
27777
28212
  Args: never;
27778
28213
  Returns: number;
@@ -28059,6 +28494,13 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
28059
28494
  };
28060
28495
  Returns: string;
28061
28496
  };
28497
+ logistics_shipping_note_status: {
28498
+ Args: {
28499
+ p_cart_id?: string;
28500
+ p_slip_job_id?: string;
28501
+ };
28502
+ Returns: import("../integrations/supabase/types").Json;
28503
+ };
28062
28504
  logistics_shipping_notes_wake_all: {
28063
28505
  Args: never;
28064
28506
  Returns: import("../integrations/supabase/types").Json;
@@ -28121,6 +28563,12 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
28121
28563
  };
28122
28564
  Returns: undefined;
28123
28565
  };
28566
+ logistics_slip_note_retry: {
28567
+ Args: {
28568
+ _id: string;
28569
+ };
28570
+ Returns: import("../integrations/supabase/types").Json;
28571
+ };
28124
28572
  logistics_sticker_follows_slip: {
28125
28573
  Args: never;
28126
28574
  Returns: boolean;
@@ -28865,6 +29313,10 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
28865
29313
  };
28866
29314
  Returns: string;
28867
29315
  };
29316
+ pick_is_reference_admin: {
29317
+ Args: never;
29318
+ Returns: boolean;
29319
+ };
28868
29320
  pick_mark_printed: {
28869
29321
  Args: {
28870
29322
  _queue_item_id: string;
@@ -29738,6 +30190,13 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
29738
30190
  };
29739
30191
  Returns: import("../integrations/supabase/types").Json;
29740
30192
  };
30193
+ scan_controleer_pincode: {
30194
+ Args: {
30195
+ p_pin: string;
30196
+ p_scanner_id: string;
30197
+ };
30198
+ Returns: boolean;
30199
+ };
29741
30200
  scan_dashboard_stats: {
29742
30201
  Args: {
29743
30202
  p_dagen?: number;
@@ -29757,6 +30216,12 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
29757
30216
  };
29758
30217
  Returns: import("../integrations/supabase/types").Json;
29759
30218
  };
30219
+ scan_heeft_pincode: {
30220
+ Args: {
30221
+ p_scanner_id: string;
30222
+ };
30223
+ Returns: boolean;
30224
+ };
29760
30225
  scan_kar_compleet: {
29761
30226
  Args: {
29762
30227
  p_allow_reprint?: boolean;
@@ -29774,6 +30239,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
29774
30239
  Args: {
29775
30240
  p_code: string;
29776
30241
  p_latency_ms?: number;
30242
+ p_medewerker?: string;
29777
30243
  p_message?: string;
29778
30244
  p_result: string;
29779
30245
  p_scanner_key?: string;
@@ -29846,6 +30312,22 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
29846
30312
  };
29847
30313
  Returns: undefined;
29848
30314
  };
30315
+ scan_scanner_info: {
30316
+ Args: {
30317
+ p_slug: string;
30318
+ };
30319
+ Returns: {
30320
+ actief: boolean;
30321
+ heeft_pincode: boolean;
30322
+ id: string;
30323
+ naam: string;
30324
+ omschrijving: string;
30325
+ printer_id: string;
30326
+ type: string;
30327
+ vereist_medewerker: boolean;
30328
+ werkplek: string;
30329
+ }[];
30330
+ };
29849
30331
  scan_sessie_annuleren: {
29850
30332
  Args: {
29851
30333
  p_sessie_id: string;
@@ -30808,6 +31290,21 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
30808
31290
  };
30809
31291
  Returns: import("../integrations/supabase/types").Json;
30810
31292
  };
31293
+ wo_list_colleague_planning: {
31294
+ Args: {
31295
+ _from: string;
31296
+ _monteur_id: string;
31297
+ _to: string;
31298
+ };
31299
+ Returns: {
31300
+ end_at: string;
31301
+ id: string;
31302
+ role: string;
31303
+ start_at: string;
31304
+ status: string;
31305
+ werkbon_id: string;
31306
+ }[];
31307
+ };
30811
31308
  wo_list_offerte_requests: {
30812
31309
  Args: {
30813
31310
  _status?: string;
@@ -31617,6 +32114,27 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
31617
32114
  };
31618
32115
  Relationships: [];
31619
32116
  };
32117
+ artikelen_instellingen: {
32118
+ Row: {
32119
+ created_at: string;
32120
+ id: number;
32121
+ marge_procent: number;
32122
+ updated_at: string;
32123
+ };
32124
+ Insert: {
32125
+ created_at?: string;
32126
+ id?: number;
32127
+ marge_procent?: number;
32128
+ updated_at?: string;
32129
+ };
32130
+ Update: {
32131
+ created_at?: string;
32132
+ id?: number;
32133
+ marge_procent?: number;
32134
+ updated_at?: string;
32135
+ };
32136
+ Relationships: [];
32137
+ };
31620
32138
  artikelen_veldconfig: {
31621
32139
  Row: {
31622
32140
  bron_pad: string;
@@ -41292,6 +41810,30 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
41292
41810
  };
41293
41811
  Relationships: [];
41294
41812
  };
41813
+ logistics_cart_barcode_archief: {
41814
+ Row: {
41815
+ barcode: string;
41816
+ cart_id: string;
41817
+ created_at: string | null;
41818
+ gearchiveerd_op: string;
41819
+ order_id: string | null;
41820
+ };
41821
+ Insert: {
41822
+ barcode: string;
41823
+ cart_id: string;
41824
+ created_at?: string | null;
41825
+ gearchiveerd_op?: string;
41826
+ order_id?: string | null;
41827
+ };
41828
+ Update: {
41829
+ barcode?: string;
41830
+ cart_id?: string;
41831
+ created_at?: string | null;
41832
+ gearchiveerd_op?: string;
41833
+ order_id?: string | null;
41834
+ };
41835
+ Relationships: [];
41836
+ };
41295
41837
  logistics_control_scan: {
41296
41838
  Row: {
41297
41839
  approved_at: string | null;
@@ -45578,6 +46120,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
45578
46120
  next_attempt_at: string;
45579
46121
  order_id: string;
45580
46122
  processed_at: string | null;
46123
+ send_error: string | null;
45581
46124
  status: string;
45582
46125
  updated_at: string;
45583
46126
  };
@@ -45591,6 +46134,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
45591
46134
  next_attempt_at?: string;
45592
46135
  order_id: string;
45593
46136
  processed_at?: string | null;
46137
+ send_error?: string | null;
45594
46138
  status?: string;
45595
46139
  updated_at?: string;
45596
46140
  };
@@ -45604,6 +46148,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
45604
46148
  next_attempt_at?: string;
45605
46149
  order_id?: string;
45606
46150
  processed_at?: string | null;
46151
+ send_error?: string | null;
45607
46152
  status?: string;
45608
46153
  updated_at?: string;
45609
46154
  };
@@ -46942,18 +47487,24 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
46942
47487
  Row: {
46943
47488
  id: boolean;
46944
47489
  last_cleanup_at: string | null;
47490
+ last_error: string | null;
47491
+ last_error_at: string | null;
46945
47492
  last_sync_at: string | null;
46946
47493
  updated_at: string;
46947
47494
  };
46948
47495
  Insert: {
46949
47496
  id?: boolean;
46950
47497
  last_cleanup_at?: string | null;
47498
+ last_error?: string | null;
47499
+ last_error_at?: string | null;
46951
47500
  last_sync_at?: string | null;
46952
47501
  updated_at?: string;
46953
47502
  };
46954
47503
  Update: {
46955
47504
  id?: boolean;
46956
47505
  last_cleanup_at?: string | null;
47506
+ last_error?: string | null;
47507
+ last_error_at?: string | null;
46957
47508
  last_sync_at?: string | null;
46958
47509
  updated_at?: string;
46959
47510
  };
@@ -47079,6 +47630,54 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
47079
47630
  };
47080
47631
  Relationships: [];
47081
47632
  };
47633
+ planning_confirmation_log: {
47634
+ Row: {
47635
+ created_at: string;
47636
+ end_at: string;
47637
+ id: string;
47638
+ outbox_id: string | null;
47639
+ planning_item_id: string;
47640
+ reason: string | null;
47641
+ recipient: string | null;
47642
+ start_at: string;
47643
+ status: string;
47644
+ };
47645
+ Insert: {
47646
+ created_at?: string;
47647
+ end_at: string;
47648
+ id?: string;
47649
+ outbox_id?: string | null;
47650
+ planning_item_id: string;
47651
+ reason?: string | null;
47652
+ recipient?: string | null;
47653
+ start_at: string;
47654
+ status: string;
47655
+ };
47656
+ Update: {
47657
+ created_at?: string;
47658
+ end_at?: string;
47659
+ id?: string;
47660
+ outbox_id?: string | null;
47661
+ planning_item_id?: string;
47662
+ reason?: string | null;
47663
+ recipient?: string | null;
47664
+ start_at?: string;
47665
+ status?: string;
47666
+ };
47667
+ Relationships: [{
47668
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
47669
+ columns: ["planning_item_id"];
47670
+ isOneToOne: false;
47671
+ referencedRelation: "planning_items";
47672
+ referencedColumns: ["id"];
47673
+ }, {
47674
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
47675
+ columns: ["planning_item_id"];
47676
+ isOneToOne: false;
47677
+ referencedRelation: "planning_overview";
47678
+ referencedColumns: ["id"];
47679
+ }];
47680
+ };
47082
47681
  planning_item_assistants: {
47083
47682
  Row: {
47084
47683
  created_at: string;
@@ -47163,6 +47762,60 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
47163
47762
  referencedColumns: ["id"];
47164
47763
  }];
47165
47764
  };
47765
+ planning_mail_settings: {
47766
+ Row: {
47767
+ body_template: string;
47768
+ cc: string[];
47769
+ connection_id: string | null;
47770
+ created_at: string;
47771
+ enabled: boolean;
47772
+ id: boolean;
47773
+ reply_to: string | null;
47774
+ subject_template: string;
47775
+ timezone: string;
47776
+ updated_at: string;
47777
+ updated_by: string | null;
47778
+ };
47779
+ Insert: {
47780
+ body_template?: string;
47781
+ cc?: string[];
47782
+ connection_id?: string | null;
47783
+ created_at?: string;
47784
+ enabled?: boolean;
47785
+ id?: boolean;
47786
+ reply_to?: string | null;
47787
+ subject_template?: string;
47788
+ timezone?: string;
47789
+ updated_at?: string;
47790
+ updated_by?: string | null;
47791
+ };
47792
+ Update: {
47793
+ body_template?: string;
47794
+ cc?: string[];
47795
+ connection_id?: string | null;
47796
+ created_at?: string;
47797
+ enabled?: boolean;
47798
+ id?: boolean;
47799
+ reply_to?: string | null;
47800
+ subject_template?: string;
47801
+ timezone?: string;
47802
+ updated_at?: string;
47803
+ updated_by?: string | null;
47804
+ };
47805
+ Relationships: [{
47806
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
47807
+ columns: ["connection_id"];
47808
+ isOneToOne: false;
47809
+ referencedRelation: "email_auth_connections";
47810
+ referencedColumns: ["id"];
47811
+ }, {
47812
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
47813
+ columns: ["connection_id"];
47814
+ isOneToOne: false;
47815
+ referencedRelation: "email_auth_connections_safe";
47816
+ referencedColumns: ["id"];
47817
+ }];
47818
+ };
47166
47819
  planning_monteur_day_locations: {
47167
47820
  Row: {
47168
47821
  created_at: string;
@@ -48641,6 +49294,9 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
48641
49294
  lead_time_days: number | null;
48642
49295
  min_order_quantity: number | null;
48643
49296
  notes: string | null;
49297
+ previous_price_cents: number | null;
49298
+ price_source: string;
49299
+ price_updated_at: string | null;
48644
49300
  product_id: string;
48645
49301
  purchase_price_cents: number | null;
48646
49302
  supplier_article_number: string | null;
@@ -48654,6 +49310,9 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
48654
49310
  lead_time_days?: number | null;
48655
49311
  min_order_quantity?: number | null;
48656
49312
  notes?: string | null;
49313
+ previous_price_cents?: number | null;
49314
+ price_source?: string;
49315
+ price_updated_at?: string | null;
48657
49316
  product_id: string;
48658
49317
  purchase_price_cents?: number | null;
48659
49318
  supplier_article_number?: string | null;
@@ -48667,6 +49326,9 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
48667
49326
  lead_time_days?: number | null;
48668
49327
  min_order_quantity?: number | null;
48669
49328
  notes?: string | null;
49329
+ previous_price_cents?: number | null;
49330
+ price_source?: string;
49331
+ price_updated_at?: string | null;
48670
49332
  product_id?: string;
48671
49333
  purchase_price_cents?: number | null;
48672
49334
  supplier_article_number?: string | null;
@@ -49197,9 +49859,13 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
49197
49859
  purchase_order_items: {
49198
49860
  Row: {
49199
49861
  article_number: string | null;
49862
+ cancel_reason: string | null;
49863
+ cancelled_at: string | null;
49200
49864
  created_at: string;
49201
49865
  delivery_date: string | null;
49202
49866
  id: string;
49867
+ incoming_booked: number;
49868
+ line_status: string;
49203
49869
  name: string;
49204
49870
  note: string | null;
49205
49871
  pot_size: string | null;
@@ -49207,6 +49873,8 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
49207
49873
  product_type: string;
49208
49874
  purchase_order_id: string;
49209
49875
  quantity: number;
49876
+ received_at: string | null;
49877
+ received_booked: number;
49210
49878
  supplier_id: string | null;
49211
49879
  supplier_product_id: string | null;
49212
49880
  unit_price_cents: number;
@@ -49214,9 +49882,13 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
49214
49882
  };
49215
49883
  Insert: {
49216
49884
  article_number?: string | null;
49885
+ cancel_reason?: string | null;
49886
+ cancelled_at?: string | null;
49217
49887
  created_at?: string;
49218
49888
  delivery_date?: string | null;
49219
49889
  id?: string;
49890
+ incoming_booked?: number;
49891
+ line_status?: string;
49220
49892
  name?: string;
49221
49893
  note?: string | null;
49222
49894
  pot_size?: string | null;
@@ -49224,6 +49896,8 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
49224
49896
  product_type?: string;
49225
49897
  purchase_order_id: string;
49226
49898
  quantity?: number;
49899
+ received_at?: string | null;
49900
+ received_booked?: number;
49227
49901
  supplier_id?: string | null;
49228
49902
  supplier_product_id?: string | null;
49229
49903
  unit_price_cents?: number;
@@ -49231,9 +49905,13 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
49231
49905
  };
49232
49906
  Update: {
49233
49907
  article_number?: string | null;
49908
+ cancel_reason?: string | null;
49909
+ cancelled_at?: string | null;
49234
49910
  created_at?: string;
49235
49911
  delivery_date?: string | null;
49236
49912
  id?: string;
49913
+ incoming_booked?: number;
49914
+ line_status?: string;
49237
49915
  name?: string;
49238
49916
  note?: string | null;
49239
49917
  pot_size?: string | null;
@@ -49241,6 +49919,8 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
49241
49919
  product_type?: string;
49242
49920
  purchase_order_id?: string;
49243
49921
  quantity?: number;
49922
+ received_at?: string | null;
49923
+ received_booked?: number;
49244
49924
  supplier_id?: string | null;
49245
49925
  supplier_product_id?: string | null;
49246
49926
  unit_price_cents?: number;
@@ -49344,6 +50024,153 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
49344
50024
  referencedColumns: ["id"];
49345
50025
  }];
49346
50026
  };
50027
+ purchase_request_events: {
50028
+ Row: {
50029
+ created_at: string;
50030
+ details: import("../integrations/supabase/types").Json | null;
50031
+ event_type: string;
50032
+ id: string;
50033
+ request_id: string;
50034
+ };
50035
+ Insert: {
50036
+ created_at?: string;
50037
+ details?: import("../integrations/supabase/types").Json | null;
50038
+ event_type: string;
50039
+ id?: string;
50040
+ request_id: string;
50041
+ };
50042
+ Update: {
50043
+ created_at?: string;
50044
+ details?: import("../integrations/supabase/types").Json | null;
50045
+ event_type?: string;
50046
+ id?: string;
50047
+ request_id?: string;
50048
+ };
50049
+ Relationships: [{
50050
+ foreignKeyName: "purchase_request_events_request_id_fkey";
50051
+ columns: ["request_id"];
50052
+ isOneToOne: false;
50053
+ referencedRelation: "purchase_requests";
50054
+ referencedColumns: ["id"];
50055
+ }];
50056
+ };
50057
+ purchase_request_responses: {
50058
+ Row: {
50059
+ confirmed_date: string | null;
50060
+ confirmed_price_cents: number | null;
50061
+ confirmed_quantity: number;
50062
+ created_at: string;
50063
+ id: string;
50064
+ not_available: boolean;
50065
+ note: string | null;
50066
+ purchase_order_item_id: string;
50067
+ request_id: string;
50068
+ updated_at: string;
50069
+ };
50070
+ Insert: {
50071
+ confirmed_date?: string | null;
50072
+ confirmed_price_cents?: number | null;
50073
+ confirmed_quantity?: number;
50074
+ created_at?: string;
50075
+ id?: string;
50076
+ not_available?: boolean;
50077
+ note?: string | null;
50078
+ purchase_order_item_id: string;
50079
+ request_id: string;
50080
+ updated_at?: string;
50081
+ };
50082
+ Update: {
50083
+ confirmed_date?: string | null;
50084
+ confirmed_price_cents?: number | null;
50085
+ confirmed_quantity?: number;
50086
+ created_at?: string;
50087
+ id?: string;
50088
+ not_available?: boolean;
50089
+ note?: string | null;
50090
+ purchase_order_item_id?: string;
50091
+ request_id?: string;
50092
+ updated_at?: string;
50093
+ };
50094
+ Relationships: [{
50095
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
50096
+ columns: ["purchase_order_item_id"];
50097
+ isOneToOne: false;
50098
+ referencedRelation: "purchase_order_items";
50099
+ referencedColumns: ["id"];
50100
+ }, {
50101
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
50102
+ columns: ["request_id"];
50103
+ isOneToOne: false;
50104
+ referencedRelation: "purchase_requests";
50105
+ referencedColumns: ["id"];
50106
+ }];
50107
+ };
50108
+ purchase_requests: {
50109
+ Row: {
50110
+ created_at: string;
50111
+ expires_at: string;
50112
+ first_viewed_at: string | null;
50113
+ id: string;
50114
+ processed_at: string | null;
50115
+ purchase_order_id: string;
50116
+ responded_at: string | null;
50117
+ sent_at: string;
50118
+ status: string;
50119
+ supplier_id: string | null;
50120
+ supplier_name: string;
50121
+ supplier_note: string | null;
50122
+ to_address: string | null;
50123
+ token_hash: string;
50124
+ updated_at: string;
50125
+ };
50126
+ Insert: {
50127
+ created_at?: string;
50128
+ expires_at?: string;
50129
+ first_viewed_at?: string | null;
50130
+ id?: string;
50131
+ processed_at?: string | null;
50132
+ purchase_order_id: string;
50133
+ responded_at?: string | null;
50134
+ sent_at?: string;
50135
+ status?: string;
50136
+ supplier_id?: string | null;
50137
+ supplier_name?: string;
50138
+ supplier_note?: string | null;
50139
+ to_address?: string | null;
50140
+ token_hash: string;
50141
+ updated_at?: string;
50142
+ };
50143
+ Update: {
50144
+ created_at?: string;
50145
+ expires_at?: string;
50146
+ first_viewed_at?: string | null;
50147
+ id?: string;
50148
+ processed_at?: string | null;
50149
+ purchase_order_id?: string;
50150
+ responded_at?: string | null;
50151
+ sent_at?: string;
50152
+ status?: string;
50153
+ supplier_id?: string | null;
50154
+ supplier_name?: string;
50155
+ supplier_note?: string | null;
50156
+ to_address?: string | null;
50157
+ token_hash?: string;
50158
+ updated_at?: string;
50159
+ };
50160
+ Relationships: [{
50161
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
50162
+ columns: ["purchase_order_id"];
50163
+ isOneToOne: false;
50164
+ referencedRelation: "purchase_orders";
50165
+ referencedColumns: ["id"];
50166
+ }, {
50167
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
50168
+ columns: ["supplier_id"];
50169
+ isOneToOne: false;
50170
+ referencedRelation: "suppliers";
50171
+ referencedColumns: ["id"];
50172
+ }];
50173
+ };
49347
50174
  reception_notifications: {
49348
50175
  Row: {
49349
50176
  booking_id: string | null;
@@ -51507,6 +52334,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
51507
52334
  auto_invoice_enabled: boolean;
51508
52335
  auto_invoice_start_date: string | null;
51509
52336
  auto_invoice_trigger_statuses: string[];
52337
+ auto_send_mode: string | null;
51510
52338
  created_at: string;
51511
52339
  debtor_gl_account: string;
51512
52340
  default_article_code: string | null;
@@ -51535,6 +52363,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
51535
52363
  auto_invoice_enabled?: boolean;
51536
52364
  auto_invoice_start_date?: string | null;
51537
52365
  auto_invoice_trigger_statuses?: string[];
52366
+ auto_send_mode?: string | null;
51538
52367
  created_at?: string;
51539
52368
  debtor_gl_account?: string;
51540
52369
  default_article_code?: string | null;
@@ -51563,6 +52392,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
51563
52392
  auto_invoice_enabled?: boolean;
51564
52393
  auto_invoice_start_date?: string | null;
51565
52394
  auto_invoice_trigger_statuses?: string[];
52395
+ auto_send_mode?: string | null;
51566
52396
  created_at?: string;
51567
52397
  debtor_gl_account?: string;
51568
52398
  default_article_code?: string | null;
@@ -53766,7 +54596,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
53766
54596
  created_at: string;
53767
54597
  default_quantity: number;
53768
54598
  description: string | null;
53769
- duration_minutes: number | null;
54599
+ duration_minutes: number;
53770
54600
  id: string;
53771
54601
  mandaat_type: string | null;
53772
54602
  name: string;
@@ -53783,7 +54613,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
53783
54613
  created_at?: string;
53784
54614
  default_quantity?: number;
53785
54615
  description?: string | null;
53786
- duration_minutes?: number | null;
54616
+ duration_minutes?: number;
53787
54617
  id?: string;
53788
54618
  mandaat_type?: string | null;
53789
54619
  name: string;
@@ -53800,7 +54630,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
53800
54630
  created_at?: string;
53801
54631
  default_quantity?: number;
53802
54632
  description?: string | null;
53803
- duration_minutes?: number | null;
54633
+ duration_minutes?: number;
53804
54634
  id?: string;
53805
54635
  mandaat_type?: string | null;
53806
54636
  name?: string;
@@ -56796,6 +57626,31 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
56796
57626
  };
56797
57627
  Returns: import("../integrations/supabase/types").Json;
56798
57628
  };
57629
+ inkoop_cancel_line: {
57630
+ Args: {
57631
+ _item_id: string;
57632
+ _reason: string;
57633
+ };
57634
+ Returns: string;
57635
+ };
57636
+ inkoop_get_supplier_request: {
57637
+ Args: {
57638
+ _token: string;
57639
+ };
57640
+ Returns: import("../integrations/supabase/types").Json;
57641
+ };
57642
+ inkoop_hash_token: {
57643
+ Args: {
57644
+ _token: string;
57645
+ };
57646
+ Returns: string;
57647
+ };
57648
+ inkoop_html_escape: {
57649
+ Args: {
57650
+ _t: string;
57651
+ };
57652
+ Returns: string;
57653
+ };
56799
57654
  inkoop_list_artikelen: {
56800
57655
  Args: never;
56801
57656
  Returns: {
@@ -56820,9 +57675,17 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
56820
57675
  Args: never;
56821
57676
  Returns: string;
56822
57677
  };
57678
+ inkoop_process_request: {
57679
+ Args: {
57680
+ _request_id: string;
57681
+ };
57682
+ Returns: undefined;
57683
+ };
56823
57684
  inkoop_send_order: {
56824
57685
  Args: {
57686
+ _base_url?: string;
56825
57687
  _order_id: string;
57688
+ _resend?: boolean;
56826
57689
  };
56827
57690
  Returns: {
56828
57691
  outbox_id: string;
@@ -56837,6 +57700,26 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
56837
57700
  };
56838
57701
  Returns: undefined;
56839
57702
  };
57703
+ inkoop_stock_key: {
57704
+ Args: {
57705
+ p_product_id: string;
57706
+ };
57707
+ Returns: string;
57708
+ };
57709
+ inkoop_submit_supplier_response: {
57710
+ Args: {
57711
+ _lines: import("../integrations/supabase/types").Json;
57712
+ _note?: string;
57713
+ _token: string;
57714
+ };
57715
+ Returns: import("../integrations/supabase/types").Json;
57716
+ };
57717
+ inkoop_sync_item_stock: {
57718
+ Args: {
57719
+ p_item_id: string;
57720
+ };
57721
+ Returns: undefined;
57722
+ };
56840
57723
  instructie_get: {
56841
57724
  Args: {
56842
57725
  _sleutel: string;
@@ -56997,6 +57880,27 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
56997
57880
  };
56998
57881
  Returns: boolean;
56999
57882
  };
57883
+ layout_print_document: {
57884
+ Args: {
57885
+ _documentnaam: string;
57886
+ _documenttype: string;
57887
+ _herkomst?: string;
57888
+ _idempotentie_sleutel?: string;
57889
+ _is_herprint?: boolean;
57890
+ _kopieen?: number;
57891
+ _layout_id?: string;
57892
+ _payload?: import("../integrations/supabase/types").Json;
57893
+ _pdf_base64?: string;
57894
+ _pdf_url?: string;
57895
+ _print_plek_id?: string;
57896
+ _werkplek?: string;
57897
+ };
57898
+ Returns: {
57899
+ bestaand: boolean;
57900
+ job_id: string;
57901
+ printer_id: string;
57902
+ }[];
57903
+ };
57000
57904
  list_medewerkers: {
57001
57905
  Args: never;
57002
57906
  Returns: {
@@ -57274,6 +58178,12 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
57274
58178
  };
57275
58179
  Returns: number;
57276
58180
  };
58181
+ logistics_cart_barcode_opschonen: {
58182
+ Args: {
58183
+ p_portie?: number;
58184
+ };
58185
+ Returns: import("../integrations/supabase/types").Json;
58186
+ };
57277
58187
  logistics_cart_barcode_value: {
57278
58188
  Args: {
57279
58189
  _cart_id: string;
@@ -57693,6 +58603,13 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
57693
58603
  };
57694
58604
  Returns: import("../integrations/supabase/types").Json;
57695
58605
  };
58606
+ logistics_control_scan_print_own: {
58607
+ Args: {
58608
+ p_is_herprint?: boolean;
58609
+ p_scan_id: string;
58610
+ };
58611
+ Returns: import("../integrations/supabase/types").Json;
58612
+ };
57696
58613
  logistics_control_scan_retry: {
57697
58614
  Args: {
57698
58615
  _id: string;
@@ -58597,6 +59514,21 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
58597
59514
  };
58598
59515
  Returns: import("../integrations/supabase/types").Json;
58599
59516
  };
59517
+ logistics_print_via_layout: {
59518
+ Args: {
59519
+ _documentnaam: string;
59520
+ _documenttype: string;
59521
+ _herkomst: string;
59522
+ _idempotentie_sleutel: string;
59523
+ _is_herprint: boolean;
59524
+ _layout_id: string;
59525
+ _payload: import("../integrations/supabase/types").Json;
59526
+ _pdf_base64: string;
59527
+ _pdf_url: string;
59528
+ _print_plek_id: string;
59529
+ };
59530
+ Returns: import("../integrations/supabase/types").Json;
59531
+ };
58600
59532
  logistics_prune_buffer_member_queue: {
58601
59533
  Args: never;
58602
59534
  Returns: number;
@@ -58883,6 +59815,13 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
58883
59815
  };
58884
59816
  Returns: string;
58885
59817
  };
59818
+ logistics_shipping_note_status: {
59819
+ Args: {
59820
+ p_cart_id?: string;
59821
+ p_slip_job_id?: string;
59822
+ };
59823
+ Returns: import("../integrations/supabase/types").Json;
59824
+ };
58886
59825
  logistics_shipping_notes_wake_all: {
58887
59826
  Args: never;
58888
59827
  Returns: import("../integrations/supabase/types").Json;
@@ -58945,6 +59884,12 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
58945
59884
  };
58946
59885
  Returns: undefined;
58947
59886
  };
59887
+ logistics_slip_note_retry: {
59888
+ Args: {
59889
+ _id: string;
59890
+ };
59891
+ Returns: import("../integrations/supabase/types").Json;
59892
+ };
58948
59893
  logistics_sticker_follows_slip: {
58949
59894
  Args: never;
58950
59895
  Returns: boolean;
@@ -59689,6 +60634,10 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
59689
60634
  };
59690
60635
  Returns: string;
59691
60636
  };
60637
+ pick_is_reference_admin: {
60638
+ Args: never;
60639
+ Returns: boolean;
60640
+ };
59692
60641
  pick_mark_printed: {
59693
60642
  Args: {
59694
60643
  _queue_item_id: string;
@@ -60562,6 +61511,13 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
60562
61511
  };
60563
61512
  Returns: import("../integrations/supabase/types").Json;
60564
61513
  };
61514
+ scan_controleer_pincode: {
61515
+ Args: {
61516
+ p_pin: string;
61517
+ p_scanner_id: string;
61518
+ };
61519
+ Returns: boolean;
61520
+ };
60565
61521
  scan_dashboard_stats: {
60566
61522
  Args: {
60567
61523
  p_dagen?: number;
@@ -60581,6 +61537,12 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
60581
61537
  };
60582
61538
  Returns: import("../integrations/supabase/types").Json;
60583
61539
  };
61540
+ scan_heeft_pincode: {
61541
+ Args: {
61542
+ p_scanner_id: string;
61543
+ };
61544
+ Returns: boolean;
61545
+ };
60584
61546
  scan_kar_compleet: {
60585
61547
  Args: {
60586
61548
  p_allow_reprint?: boolean;
@@ -60598,6 +61560,7 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
60598
61560
  Args: {
60599
61561
  p_code: string;
60600
61562
  p_latency_ms?: number;
61563
+ p_medewerker?: string;
60601
61564
  p_message?: string;
60602
61565
  p_result: string;
60603
61566
  p_scanner_key?: string;
@@ -60670,6 +61633,22 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
60670
61633
  };
60671
61634
  Returns: undefined;
60672
61635
  };
61636
+ scan_scanner_info: {
61637
+ Args: {
61638
+ p_slug: string;
61639
+ };
61640
+ Returns: {
61641
+ actief: boolean;
61642
+ heeft_pincode: boolean;
61643
+ id: string;
61644
+ naam: string;
61645
+ omschrijving: string;
61646
+ printer_id: string;
61647
+ type: string;
61648
+ vereist_medewerker: boolean;
61649
+ werkplek: string;
61650
+ }[];
61651
+ };
60673
61652
  scan_sessie_annuleren: {
60674
61653
  Args: {
60675
61654
  p_sessie_id: string;
@@ -61632,6 +62611,21 @@ export declare const getCarrier: import("@tanstack/start-client-core").RequiredF
61632
62611
  };
61633
62612
  Returns: import("../integrations/supabase/types").Json;
61634
62613
  };
62614
+ wo_list_colleague_planning: {
62615
+ Args: {
62616
+ _from: string;
62617
+ _monteur_id: string;
62618
+ _to: string;
62619
+ };
62620
+ Returns: {
62621
+ end_at: string;
62622
+ id: string;
62623
+ role: string;
62624
+ start_at: string;
62625
+ status: string;
62626
+ werkbon_id: string;
62627
+ }[];
62628
+ };
61635
62629
  wo_list_offerte_requests: {
61636
62630
  Args: {
61637
62631
  _status?: string;
@@ -62445,6 +63439,27 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
62445
63439
  };
62446
63440
  Relationships: [];
62447
63441
  };
63442
+ artikelen_instellingen: {
63443
+ Row: {
63444
+ created_at: string;
63445
+ id: number;
63446
+ marge_procent: number;
63447
+ updated_at: string;
63448
+ };
63449
+ Insert: {
63450
+ created_at?: string;
63451
+ id?: number;
63452
+ marge_procent?: number;
63453
+ updated_at?: string;
63454
+ };
63455
+ Update: {
63456
+ created_at?: string;
63457
+ id?: number;
63458
+ marge_procent?: number;
63459
+ updated_at?: string;
63460
+ };
63461
+ Relationships: [];
63462
+ };
62448
63463
  artikelen_veldconfig: {
62449
63464
  Row: {
62450
63465
  bron_pad: string;
@@ -72120,6 +73135,30 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
72120
73135
  };
72121
73136
  Relationships: [];
72122
73137
  };
73138
+ logistics_cart_barcode_archief: {
73139
+ Row: {
73140
+ barcode: string;
73141
+ cart_id: string;
73142
+ created_at: string | null;
73143
+ gearchiveerd_op: string;
73144
+ order_id: string | null;
73145
+ };
73146
+ Insert: {
73147
+ barcode: string;
73148
+ cart_id: string;
73149
+ created_at?: string | null;
73150
+ gearchiveerd_op?: string;
73151
+ order_id?: string | null;
73152
+ };
73153
+ Update: {
73154
+ barcode?: string;
73155
+ cart_id?: string;
73156
+ created_at?: string | null;
73157
+ gearchiveerd_op?: string;
73158
+ order_id?: string | null;
73159
+ };
73160
+ Relationships: [];
73161
+ };
72123
73162
  logistics_control_scan: {
72124
73163
  Row: {
72125
73164
  approved_at: string | null;
@@ -76406,6 +77445,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
76406
77445
  next_attempt_at: string;
76407
77446
  order_id: string;
76408
77447
  processed_at: string | null;
77448
+ send_error: string | null;
76409
77449
  status: string;
76410
77450
  updated_at: string;
76411
77451
  };
@@ -76419,6 +77459,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
76419
77459
  next_attempt_at?: string;
76420
77460
  order_id: string;
76421
77461
  processed_at?: string | null;
77462
+ send_error?: string | null;
76422
77463
  status?: string;
76423
77464
  updated_at?: string;
76424
77465
  };
@@ -76432,6 +77473,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
76432
77473
  next_attempt_at?: string;
76433
77474
  order_id?: string;
76434
77475
  processed_at?: string | null;
77476
+ send_error?: string | null;
76435
77477
  status?: string;
76436
77478
  updated_at?: string;
76437
77479
  };
@@ -77770,18 +78812,24 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
77770
78812
  Row: {
77771
78813
  id: boolean;
77772
78814
  last_cleanup_at: string | null;
78815
+ last_error: string | null;
78816
+ last_error_at: string | null;
77773
78817
  last_sync_at: string | null;
77774
78818
  updated_at: string;
77775
78819
  };
77776
78820
  Insert: {
77777
78821
  id?: boolean;
77778
78822
  last_cleanup_at?: string | null;
78823
+ last_error?: string | null;
78824
+ last_error_at?: string | null;
77779
78825
  last_sync_at?: string | null;
77780
78826
  updated_at?: string;
77781
78827
  };
77782
78828
  Update: {
77783
78829
  id?: boolean;
77784
78830
  last_cleanup_at?: string | null;
78831
+ last_error?: string | null;
78832
+ last_error_at?: string | null;
77785
78833
  last_sync_at?: string | null;
77786
78834
  updated_at?: string;
77787
78835
  };
@@ -77907,6 +78955,54 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
77907
78955
  };
77908
78956
  Relationships: [];
77909
78957
  };
78958
+ planning_confirmation_log: {
78959
+ Row: {
78960
+ created_at: string;
78961
+ end_at: string;
78962
+ id: string;
78963
+ outbox_id: string | null;
78964
+ planning_item_id: string;
78965
+ reason: string | null;
78966
+ recipient: string | null;
78967
+ start_at: string;
78968
+ status: string;
78969
+ };
78970
+ Insert: {
78971
+ created_at?: string;
78972
+ end_at: string;
78973
+ id?: string;
78974
+ outbox_id?: string | null;
78975
+ planning_item_id: string;
78976
+ reason?: string | null;
78977
+ recipient?: string | null;
78978
+ start_at: string;
78979
+ status: string;
78980
+ };
78981
+ Update: {
78982
+ created_at?: string;
78983
+ end_at?: string;
78984
+ id?: string;
78985
+ outbox_id?: string | null;
78986
+ planning_item_id?: string;
78987
+ reason?: string | null;
78988
+ recipient?: string | null;
78989
+ start_at?: string;
78990
+ status?: string;
78991
+ };
78992
+ Relationships: [{
78993
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
78994
+ columns: ["planning_item_id"];
78995
+ isOneToOne: false;
78996
+ referencedRelation: "planning_items";
78997
+ referencedColumns: ["id"];
78998
+ }, {
78999
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
79000
+ columns: ["planning_item_id"];
79001
+ isOneToOne: false;
79002
+ referencedRelation: "planning_overview";
79003
+ referencedColumns: ["id"];
79004
+ }];
79005
+ };
77910
79006
  planning_item_assistants: {
77911
79007
  Row: {
77912
79008
  created_at: string;
@@ -77991,6 +79087,60 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
77991
79087
  referencedColumns: ["id"];
77992
79088
  }];
77993
79089
  };
79090
+ planning_mail_settings: {
79091
+ Row: {
79092
+ body_template: string;
79093
+ cc: string[];
79094
+ connection_id: string | null;
79095
+ created_at: string;
79096
+ enabled: boolean;
79097
+ id: boolean;
79098
+ reply_to: string | null;
79099
+ subject_template: string;
79100
+ timezone: string;
79101
+ updated_at: string;
79102
+ updated_by: string | null;
79103
+ };
79104
+ Insert: {
79105
+ body_template?: string;
79106
+ cc?: string[];
79107
+ connection_id?: string | null;
79108
+ created_at?: string;
79109
+ enabled?: boolean;
79110
+ id?: boolean;
79111
+ reply_to?: string | null;
79112
+ subject_template?: string;
79113
+ timezone?: string;
79114
+ updated_at?: string;
79115
+ updated_by?: string | null;
79116
+ };
79117
+ Update: {
79118
+ body_template?: string;
79119
+ cc?: string[];
79120
+ connection_id?: string | null;
79121
+ created_at?: string;
79122
+ enabled?: boolean;
79123
+ id?: boolean;
79124
+ reply_to?: string | null;
79125
+ subject_template?: string;
79126
+ timezone?: string;
79127
+ updated_at?: string;
79128
+ updated_by?: string | null;
79129
+ };
79130
+ Relationships: [{
79131
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
79132
+ columns: ["connection_id"];
79133
+ isOneToOne: false;
79134
+ referencedRelation: "email_auth_connections";
79135
+ referencedColumns: ["id"];
79136
+ }, {
79137
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
79138
+ columns: ["connection_id"];
79139
+ isOneToOne: false;
79140
+ referencedRelation: "email_auth_connections_safe";
79141
+ referencedColumns: ["id"];
79142
+ }];
79143
+ };
77994
79144
  planning_monteur_day_locations: {
77995
79145
  Row: {
77996
79146
  created_at: string;
@@ -79469,6 +80619,9 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
79469
80619
  lead_time_days: number | null;
79470
80620
  min_order_quantity: number | null;
79471
80621
  notes: string | null;
80622
+ previous_price_cents: number | null;
80623
+ price_source: string;
80624
+ price_updated_at: string | null;
79472
80625
  product_id: string;
79473
80626
  purchase_price_cents: number | null;
79474
80627
  supplier_article_number: string | null;
@@ -79482,6 +80635,9 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
79482
80635
  lead_time_days?: number | null;
79483
80636
  min_order_quantity?: number | null;
79484
80637
  notes?: string | null;
80638
+ previous_price_cents?: number | null;
80639
+ price_source?: string;
80640
+ price_updated_at?: string | null;
79485
80641
  product_id: string;
79486
80642
  purchase_price_cents?: number | null;
79487
80643
  supplier_article_number?: string | null;
@@ -79495,6 +80651,9 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
79495
80651
  lead_time_days?: number | null;
79496
80652
  min_order_quantity?: number | null;
79497
80653
  notes?: string | null;
80654
+ previous_price_cents?: number | null;
80655
+ price_source?: string;
80656
+ price_updated_at?: string | null;
79498
80657
  product_id?: string;
79499
80658
  purchase_price_cents?: number | null;
79500
80659
  supplier_article_number?: string | null;
@@ -80025,9 +81184,13 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
80025
81184
  purchase_order_items: {
80026
81185
  Row: {
80027
81186
  article_number: string | null;
81187
+ cancel_reason: string | null;
81188
+ cancelled_at: string | null;
80028
81189
  created_at: string;
80029
81190
  delivery_date: string | null;
80030
81191
  id: string;
81192
+ incoming_booked: number;
81193
+ line_status: string;
80031
81194
  name: string;
80032
81195
  note: string | null;
80033
81196
  pot_size: string | null;
@@ -80035,6 +81198,8 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
80035
81198
  product_type: string;
80036
81199
  purchase_order_id: string;
80037
81200
  quantity: number;
81201
+ received_at: string | null;
81202
+ received_booked: number;
80038
81203
  supplier_id: string | null;
80039
81204
  supplier_product_id: string | null;
80040
81205
  unit_price_cents: number;
@@ -80042,9 +81207,13 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
80042
81207
  };
80043
81208
  Insert: {
80044
81209
  article_number?: string | null;
81210
+ cancel_reason?: string | null;
81211
+ cancelled_at?: string | null;
80045
81212
  created_at?: string;
80046
81213
  delivery_date?: string | null;
80047
81214
  id?: string;
81215
+ incoming_booked?: number;
81216
+ line_status?: string;
80048
81217
  name?: string;
80049
81218
  note?: string | null;
80050
81219
  pot_size?: string | null;
@@ -80052,6 +81221,8 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
80052
81221
  product_type?: string;
80053
81222
  purchase_order_id: string;
80054
81223
  quantity?: number;
81224
+ received_at?: string | null;
81225
+ received_booked?: number;
80055
81226
  supplier_id?: string | null;
80056
81227
  supplier_product_id?: string | null;
80057
81228
  unit_price_cents?: number;
@@ -80059,9 +81230,13 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
80059
81230
  };
80060
81231
  Update: {
80061
81232
  article_number?: string | null;
81233
+ cancel_reason?: string | null;
81234
+ cancelled_at?: string | null;
80062
81235
  created_at?: string;
80063
81236
  delivery_date?: string | null;
80064
81237
  id?: string;
81238
+ incoming_booked?: number;
81239
+ line_status?: string;
80065
81240
  name?: string;
80066
81241
  note?: string | null;
80067
81242
  pot_size?: string | null;
@@ -80069,6 +81244,8 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
80069
81244
  product_type?: string;
80070
81245
  purchase_order_id?: string;
80071
81246
  quantity?: number;
81247
+ received_at?: string | null;
81248
+ received_booked?: number;
80072
81249
  supplier_id?: string | null;
80073
81250
  supplier_product_id?: string | null;
80074
81251
  unit_price_cents?: number;
@@ -80172,6 +81349,153 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
80172
81349
  referencedColumns: ["id"];
80173
81350
  }];
80174
81351
  };
81352
+ purchase_request_events: {
81353
+ Row: {
81354
+ created_at: string;
81355
+ details: import("../integrations/supabase/types").Json | null;
81356
+ event_type: string;
81357
+ id: string;
81358
+ request_id: string;
81359
+ };
81360
+ Insert: {
81361
+ created_at?: string;
81362
+ details?: import("../integrations/supabase/types").Json | null;
81363
+ event_type: string;
81364
+ id?: string;
81365
+ request_id: string;
81366
+ };
81367
+ Update: {
81368
+ created_at?: string;
81369
+ details?: import("../integrations/supabase/types").Json | null;
81370
+ event_type?: string;
81371
+ id?: string;
81372
+ request_id?: string;
81373
+ };
81374
+ Relationships: [{
81375
+ foreignKeyName: "purchase_request_events_request_id_fkey";
81376
+ columns: ["request_id"];
81377
+ isOneToOne: false;
81378
+ referencedRelation: "purchase_requests";
81379
+ referencedColumns: ["id"];
81380
+ }];
81381
+ };
81382
+ purchase_request_responses: {
81383
+ Row: {
81384
+ confirmed_date: string | null;
81385
+ confirmed_price_cents: number | null;
81386
+ confirmed_quantity: number;
81387
+ created_at: string;
81388
+ id: string;
81389
+ not_available: boolean;
81390
+ note: string | null;
81391
+ purchase_order_item_id: string;
81392
+ request_id: string;
81393
+ updated_at: string;
81394
+ };
81395
+ Insert: {
81396
+ confirmed_date?: string | null;
81397
+ confirmed_price_cents?: number | null;
81398
+ confirmed_quantity?: number;
81399
+ created_at?: string;
81400
+ id?: string;
81401
+ not_available?: boolean;
81402
+ note?: string | null;
81403
+ purchase_order_item_id: string;
81404
+ request_id: string;
81405
+ updated_at?: string;
81406
+ };
81407
+ Update: {
81408
+ confirmed_date?: string | null;
81409
+ confirmed_price_cents?: number | null;
81410
+ confirmed_quantity?: number;
81411
+ created_at?: string;
81412
+ id?: string;
81413
+ not_available?: boolean;
81414
+ note?: string | null;
81415
+ purchase_order_item_id?: string;
81416
+ request_id?: string;
81417
+ updated_at?: string;
81418
+ };
81419
+ Relationships: [{
81420
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
81421
+ columns: ["purchase_order_item_id"];
81422
+ isOneToOne: false;
81423
+ referencedRelation: "purchase_order_items";
81424
+ referencedColumns: ["id"];
81425
+ }, {
81426
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
81427
+ columns: ["request_id"];
81428
+ isOneToOne: false;
81429
+ referencedRelation: "purchase_requests";
81430
+ referencedColumns: ["id"];
81431
+ }];
81432
+ };
81433
+ purchase_requests: {
81434
+ Row: {
81435
+ created_at: string;
81436
+ expires_at: string;
81437
+ first_viewed_at: string | null;
81438
+ id: string;
81439
+ processed_at: string | null;
81440
+ purchase_order_id: string;
81441
+ responded_at: string | null;
81442
+ sent_at: string;
81443
+ status: string;
81444
+ supplier_id: string | null;
81445
+ supplier_name: string;
81446
+ supplier_note: string | null;
81447
+ to_address: string | null;
81448
+ token_hash: string;
81449
+ updated_at: string;
81450
+ };
81451
+ Insert: {
81452
+ created_at?: string;
81453
+ expires_at?: string;
81454
+ first_viewed_at?: string | null;
81455
+ id?: string;
81456
+ processed_at?: string | null;
81457
+ purchase_order_id: string;
81458
+ responded_at?: string | null;
81459
+ sent_at?: string;
81460
+ status?: string;
81461
+ supplier_id?: string | null;
81462
+ supplier_name?: string;
81463
+ supplier_note?: string | null;
81464
+ to_address?: string | null;
81465
+ token_hash: string;
81466
+ updated_at?: string;
81467
+ };
81468
+ Update: {
81469
+ created_at?: string;
81470
+ expires_at?: string;
81471
+ first_viewed_at?: string | null;
81472
+ id?: string;
81473
+ processed_at?: string | null;
81474
+ purchase_order_id?: string;
81475
+ responded_at?: string | null;
81476
+ sent_at?: string;
81477
+ status?: string;
81478
+ supplier_id?: string | null;
81479
+ supplier_name?: string;
81480
+ supplier_note?: string | null;
81481
+ to_address?: string | null;
81482
+ token_hash?: string;
81483
+ updated_at?: string;
81484
+ };
81485
+ Relationships: [{
81486
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
81487
+ columns: ["purchase_order_id"];
81488
+ isOneToOne: false;
81489
+ referencedRelation: "purchase_orders";
81490
+ referencedColumns: ["id"];
81491
+ }, {
81492
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
81493
+ columns: ["supplier_id"];
81494
+ isOneToOne: false;
81495
+ referencedRelation: "suppliers";
81496
+ referencedColumns: ["id"];
81497
+ }];
81498
+ };
80175
81499
  reception_notifications: {
80176
81500
  Row: {
80177
81501
  booking_id: string | null;
@@ -82335,6 +83659,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
82335
83659
  auto_invoice_enabled: boolean;
82336
83660
  auto_invoice_start_date: string | null;
82337
83661
  auto_invoice_trigger_statuses: string[];
83662
+ auto_send_mode: string | null;
82338
83663
  created_at: string;
82339
83664
  debtor_gl_account: string;
82340
83665
  default_article_code: string | null;
@@ -82363,6 +83688,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
82363
83688
  auto_invoice_enabled?: boolean;
82364
83689
  auto_invoice_start_date?: string | null;
82365
83690
  auto_invoice_trigger_statuses?: string[];
83691
+ auto_send_mode?: string | null;
82366
83692
  created_at?: string;
82367
83693
  debtor_gl_account?: string;
82368
83694
  default_article_code?: string | null;
@@ -82391,6 +83717,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
82391
83717
  auto_invoice_enabled?: boolean;
82392
83718
  auto_invoice_start_date?: string | null;
82393
83719
  auto_invoice_trigger_statuses?: string[];
83720
+ auto_send_mode?: string | null;
82394
83721
  created_at?: string;
82395
83722
  debtor_gl_account?: string;
82396
83723
  default_article_code?: string | null;
@@ -84594,7 +85921,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
84594
85921
  created_at: string;
84595
85922
  default_quantity: number;
84596
85923
  description: string | null;
84597
- duration_minutes: number | null;
85924
+ duration_minutes: number;
84598
85925
  id: string;
84599
85926
  mandaat_type: string | null;
84600
85927
  name: string;
@@ -84611,7 +85938,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
84611
85938
  created_at?: string;
84612
85939
  default_quantity?: number;
84613
85940
  description?: string | null;
84614
- duration_minutes?: number | null;
85941
+ duration_minutes?: number;
84615
85942
  id?: string;
84616
85943
  mandaat_type?: string | null;
84617
85944
  name: string;
@@ -84628,7 +85955,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
84628
85955
  created_at?: string;
84629
85956
  default_quantity?: number;
84630
85957
  description?: string | null;
84631
- duration_minutes?: number | null;
85958
+ duration_minutes?: number;
84632
85959
  id?: string;
84633
85960
  mandaat_type?: string | null;
84634
85961
  name?: string;
@@ -87624,6 +88951,31 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
87624
88951
  };
87625
88952
  Returns: import("../integrations/supabase/types").Json;
87626
88953
  };
88954
+ inkoop_cancel_line: {
88955
+ Args: {
88956
+ _item_id: string;
88957
+ _reason: string;
88958
+ };
88959
+ Returns: string;
88960
+ };
88961
+ inkoop_get_supplier_request: {
88962
+ Args: {
88963
+ _token: string;
88964
+ };
88965
+ Returns: import("../integrations/supabase/types").Json;
88966
+ };
88967
+ inkoop_hash_token: {
88968
+ Args: {
88969
+ _token: string;
88970
+ };
88971
+ Returns: string;
88972
+ };
88973
+ inkoop_html_escape: {
88974
+ Args: {
88975
+ _t: string;
88976
+ };
88977
+ Returns: string;
88978
+ };
87627
88979
  inkoop_list_artikelen: {
87628
88980
  Args: never;
87629
88981
  Returns: {
@@ -87648,9 +89000,17 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
87648
89000
  Args: never;
87649
89001
  Returns: string;
87650
89002
  };
89003
+ inkoop_process_request: {
89004
+ Args: {
89005
+ _request_id: string;
89006
+ };
89007
+ Returns: undefined;
89008
+ };
87651
89009
  inkoop_send_order: {
87652
89010
  Args: {
89011
+ _base_url?: string;
87653
89012
  _order_id: string;
89013
+ _resend?: boolean;
87654
89014
  };
87655
89015
  Returns: {
87656
89016
  outbox_id: string;
@@ -87665,6 +89025,26 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
87665
89025
  };
87666
89026
  Returns: undefined;
87667
89027
  };
89028
+ inkoop_stock_key: {
89029
+ Args: {
89030
+ p_product_id: string;
89031
+ };
89032
+ Returns: string;
89033
+ };
89034
+ inkoop_submit_supplier_response: {
89035
+ Args: {
89036
+ _lines: import("../integrations/supabase/types").Json;
89037
+ _note?: string;
89038
+ _token: string;
89039
+ };
89040
+ Returns: import("../integrations/supabase/types").Json;
89041
+ };
89042
+ inkoop_sync_item_stock: {
89043
+ Args: {
89044
+ p_item_id: string;
89045
+ };
89046
+ Returns: undefined;
89047
+ };
87668
89048
  instructie_get: {
87669
89049
  Args: {
87670
89050
  _sleutel: string;
@@ -87825,6 +89205,27 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
87825
89205
  };
87826
89206
  Returns: boolean;
87827
89207
  };
89208
+ layout_print_document: {
89209
+ Args: {
89210
+ _documentnaam: string;
89211
+ _documenttype: string;
89212
+ _herkomst?: string;
89213
+ _idempotentie_sleutel?: string;
89214
+ _is_herprint?: boolean;
89215
+ _kopieen?: number;
89216
+ _layout_id?: string;
89217
+ _payload?: import("../integrations/supabase/types").Json;
89218
+ _pdf_base64?: string;
89219
+ _pdf_url?: string;
89220
+ _print_plek_id?: string;
89221
+ _werkplek?: string;
89222
+ };
89223
+ Returns: {
89224
+ bestaand: boolean;
89225
+ job_id: string;
89226
+ printer_id: string;
89227
+ }[];
89228
+ };
87828
89229
  list_medewerkers: {
87829
89230
  Args: never;
87830
89231
  Returns: {
@@ -88102,6 +89503,12 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
88102
89503
  };
88103
89504
  Returns: number;
88104
89505
  };
89506
+ logistics_cart_barcode_opschonen: {
89507
+ Args: {
89508
+ p_portie?: number;
89509
+ };
89510
+ Returns: import("../integrations/supabase/types").Json;
89511
+ };
88105
89512
  logistics_cart_barcode_value: {
88106
89513
  Args: {
88107
89514
  _cart_id: string;
@@ -88521,6 +89928,13 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
88521
89928
  };
88522
89929
  Returns: import("../integrations/supabase/types").Json;
88523
89930
  };
89931
+ logistics_control_scan_print_own: {
89932
+ Args: {
89933
+ p_is_herprint?: boolean;
89934
+ p_scan_id: string;
89935
+ };
89936
+ Returns: import("../integrations/supabase/types").Json;
89937
+ };
88524
89938
  logistics_control_scan_retry: {
88525
89939
  Args: {
88526
89940
  _id: string;
@@ -89425,6 +90839,21 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
89425
90839
  };
89426
90840
  Returns: import("../integrations/supabase/types").Json;
89427
90841
  };
90842
+ logistics_print_via_layout: {
90843
+ Args: {
90844
+ _documentnaam: string;
90845
+ _documenttype: string;
90846
+ _herkomst: string;
90847
+ _idempotentie_sleutel: string;
90848
+ _is_herprint: boolean;
90849
+ _layout_id: string;
90850
+ _payload: import("../integrations/supabase/types").Json;
90851
+ _pdf_base64: string;
90852
+ _pdf_url: string;
90853
+ _print_plek_id: string;
90854
+ };
90855
+ Returns: import("../integrations/supabase/types").Json;
90856
+ };
89428
90857
  logistics_prune_buffer_member_queue: {
89429
90858
  Args: never;
89430
90859
  Returns: number;
@@ -89711,6 +91140,13 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
89711
91140
  };
89712
91141
  Returns: string;
89713
91142
  };
91143
+ logistics_shipping_note_status: {
91144
+ Args: {
91145
+ p_cart_id?: string;
91146
+ p_slip_job_id?: string;
91147
+ };
91148
+ Returns: import("../integrations/supabase/types").Json;
91149
+ };
89714
91150
  logistics_shipping_notes_wake_all: {
89715
91151
  Args: never;
89716
91152
  Returns: import("../integrations/supabase/types").Json;
@@ -89773,6 +91209,12 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
89773
91209
  };
89774
91210
  Returns: undefined;
89775
91211
  };
91212
+ logistics_slip_note_retry: {
91213
+ Args: {
91214
+ _id: string;
91215
+ };
91216
+ Returns: import("../integrations/supabase/types").Json;
91217
+ };
89776
91218
  logistics_sticker_follows_slip: {
89777
91219
  Args: never;
89778
91220
  Returns: boolean;
@@ -90517,6 +91959,10 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
90517
91959
  };
90518
91960
  Returns: string;
90519
91961
  };
91962
+ pick_is_reference_admin: {
91963
+ Args: never;
91964
+ Returns: boolean;
91965
+ };
90520
91966
  pick_mark_printed: {
90521
91967
  Args: {
90522
91968
  _queue_item_id: string;
@@ -91390,6 +92836,13 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
91390
92836
  };
91391
92837
  Returns: import("../integrations/supabase/types").Json;
91392
92838
  };
92839
+ scan_controleer_pincode: {
92840
+ Args: {
92841
+ p_pin: string;
92842
+ p_scanner_id: string;
92843
+ };
92844
+ Returns: boolean;
92845
+ };
91393
92846
  scan_dashboard_stats: {
91394
92847
  Args: {
91395
92848
  p_dagen?: number;
@@ -91409,6 +92862,12 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
91409
92862
  };
91410
92863
  Returns: import("../integrations/supabase/types").Json;
91411
92864
  };
92865
+ scan_heeft_pincode: {
92866
+ Args: {
92867
+ p_scanner_id: string;
92868
+ };
92869
+ Returns: boolean;
92870
+ };
91412
92871
  scan_kar_compleet: {
91413
92872
  Args: {
91414
92873
  p_allow_reprint?: boolean;
@@ -91426,6 +92885,7 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
91426
92885
  Args: {
91427
92886
  p_code: string;
91428
92887
  p_latency_ms?: number;
92888
+ p_medewerker?: string;
91429
92889
  p_message?: string;
91430
92890
  p_result: string;
91431
92891
  p_scanner_key?: string;
@@ -91498,6 +92958,22 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
91498
92958
  };
91499
92959
  Returns: undefined;
91500
92960
  };
92961
+ scan_scanner_info: {
92962
+ Args: {
92963
+ p_slug: string;
92964
+ };
92965
+ Returns: {
92966
+ actief: boolean;
92967
+ heeft_pincode: boolean;
92968
+ id: string;
92969
+ naam: string;
92970
+ omschrijving: string;
92971
+ printer_id: string;
92972
+ type: string;
92973
+ vereist_medewerker: boolean;
92974
+ werkplek: string;
92975
+ }[];
92976
+ };
91501
92977
  scan_sessie_annuleren: {
91502
92978
  Args: {
91503
92979
  p_sessie_id: string;
@@ -92460,6 +93936,21 @@ export declare const upsertCarrier: import("@tanstack/start-client-core").Requir
92460
93936
  };
92461
93937
  Returns: import("../integrations/supabase/types").Json;
92462
93938
  };
93939
+ wo_list_colleague_planning: {
93940
+ Args: {
93941
+ _from: string;
93942
+ _monteur_id: string;
93943
+ _to: string;
93944
+ };
93945
+ Returns: {
93946
+ end_at: string;
93947
+ id: string;
93948
+ role: string;
93949
+ start_at: string;
93950
+ status: string;
93951
+ werkbon_id: string;
93952
+ }[];
93953
+ };
92463
93954
  wo_list_offerte_requests: {
92464
93955
  Args: {
92465
93956
  _status?: string;
@@ -93275,6 +94766,27 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
93275
94766
  };
93276
94767
  Relationships: [];
93277
94768
  };
94769
+ artikelen_instellingen: {
94770
+ Row: {
94771
+ created_at: string;
94772
+ id: number;
94773
+ marge_procent: number;
94774
+ updated_at: string;
94775
+ };
94776
+ Insert: {
94777
+ created_at?: string;
94778
+ id?: number;
94779
+ marge_procent?: number;
94780
+ updated_at?: string;
94781
+ };
94782
+ Update: {
94783
+ created_at?: string;
94784
+ id?: number;
94785
+ marge_procent?: number;
94786
+ updated_at?: string;
94787
+ };
94788
+ Relationships: [];
94789
+ };
93278
94790
  artikelen_veldconfig: {
93279
94791
  Row: {
93280
94792
  bron_pad: string;
@@ -102950,6 +104462,30 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
102950
104462
  };
102951
104463
  Relationships: [];
102952
104464
  };
104465
+ logistics_cart_barcode_archief: {
104466
+ Row: {
104467
+ barcode: string;
104468
+ cart_id: string;
104469
+ created_at: string | null;
104470
+ gearchiveerd_op: string;
104471
+ order_id: string | null;
104472
+ };
104473
+ Insert: {
104474
+ barcode: string;
104475
+ cart_id: string;
104476
+ created_at?: string | null;
104477
+ gearchiveerd_op?: string;
104478
+ order_id?: string | null;
104479
+ };
104480
+ Update: {
104481
+ barcode?: string;
104482
+ cart_id?: string;
104483
+ created_at?: string | null;
104484
+ gearchiveerd_op?: string;
104485
+ order_id?: string | null;
104486
+ };
104487
+ Relationships: [];
104488
+ };
102953
104489
  logistics_control_scan: {
102954
104490
  Row: {
102955
104491
  approved_at: string | null;
@@ -107236,6 +108772,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
107236
108772
  next_attempt_at: string;
107237
108773
  order_id: string;
107238
108774
  processed_at: string | null;
108775
+ send_error: string | null;
107239
108776
  status: string;
107240
108777
  updated_at: string;
107241
108778
  };
@@ -107249,6 +108786,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
107249
108786
  next_attempt_at?: string;
107250
108787
  order_id: string;
107251
108788
  processed_at?: string | null;
108789
+ send_error?: string | null;
107252
108790
  status?: string;
107253
108791
  updated_at?: string;
107254
108792
  };
@@ -107262,6 +108800,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
107262
108800
  next_attempt_at?: string;
107263
108801
  order_id?: string;
107264
108802
  processed_at?: string | null;
108803
+ send_error?: string | null;
107265
108804
  status?: string;
107266
108805
  updated_at?: string;
107267
108806
  };
@@ -108600,18 +110139,24 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
108600
110139
  Row: {
108601
110140
  id: boolean;
108602
110141
  last_cleanup_at: string | null;
110142
+ last_error: string | null;
110143
+ last_error_at: string | null;
108603
110144
  last_sync_at: string | null;
108604
110145
  updated_at: string;
108605
110146
  };
108606
110147
  Insert: {
108607
110148
  id?: boolean;
108608
110149
  last_cleanup_at?: string | null;
110150
+ last_error?: string | null;
110151
+ last_error_at?: string | null;
108609
110152
  last_sync_at?: string | null;
108610
110153
  updated_at?: string;
108611
110154
  };
108612
110155
  Update: {
108613
110156
  id?: boolean;
108614
110157
  last_cleanup_at?: string | null;
110158
+ last_error?: string | null;
110159
+ last_error_at?: string | null;
108615
110160
  last_sync_at?: string | null;
108616
110161
  updated_at?: string;
108617
110162
  };
@@ -108737,6 +110282,54 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
108737
110282
  };
108738
110283
  Relationships: [];
108739
110284
  };
110285
+ planning_confirmation_log: {
110286
+ Row: {
110287
+ created_at: string;
110288
+ end_at: string;
110289
+ id: string;
110290
+ outbox_id: string | null;
110291
+ planning_item_id: string;
110292
+ reason: string | null;
110293
+ recipient: string | null;
110294
+ start_at: string;
110295
+ status: string;
110296
+ };
110297
+ Insert: {
110298
+ created_at?: string;
110299
+ end_at: string;
110300
+ id?: string;
110301
+ outbox_id?: string | null;
110302
+ planning_item_id: string;
110303
+ reason?: string | null;
110304
+ recipient?: string | null;
110305
+ start_at: string;
110306
+ status: string;
110307
+ };
110308
+ Update: {
110309
+ created_at?: string;
110310
+ end_at?: string;
110311
+ id?: string;
110312
+ outbox_id?: string | null;
110313
+ planning_item_id?: string;
110314
+ reason?: string | null;
110315
+ recipient?: string | null;
110316
+ start_at?: string;
110317
+ status?: string;
110318
+ };
110319
+ Relationships: [{
110320
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
110321
+ columns: ["planning_item_id"];
110322
+ isOneToOne: false;
110323
+ referencedRelation: "planning_items";
110324
+ referencedColumns: ["id"];
110325
+ }, {
110326
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
110327
+ columns: ["planning_item_id"];
110328
+ isOneToOne: false;
110329
+ referencedRelation: "planning_overview";
110330
+ referencedColumns: ["id"];
110331
+ }];
110332
+ };
108740
110333
  planning_item_assistants: {
108741
110334
  Row: {
108742
110335
  created_at: string;
@@ -108821,6 +110414,60 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
108821
110414
  referencedColumns: ["id"];
108822
110415
  }];
108823
110416
  };
110417
+ planning_mail_settings: {
110418
+ Row: {
110419
+ body_template: string;
110420
+ cc: string[];
110421
+ connection_id: string | null;
110422
+ created_at: string;
110423
+ enabled: boolean;
110424
+ id: boolean;
110425
+ reply_to: string | null;
110426
+ subject_template: string;
110427
+ timezone: string;
110428
+ updated_at: string;
110429
+ updated_by: string | null;
110430
+ };
110431
+ Insert: {
110432
+ body_template?: string;
110433
+ cc?: string[];
110434
+ connection_id?: string | null;
110435
+ created_at?: string;
110436
+ enabled?: boolean;
110437
+ id?: boolean;
110438
+ reply_to?: string | null;
110439
+ subject_template?: string;
110440
+ timezone?: string;
110441
+ updated_at?: string;
110442
+ updated_by?: string | null;
110443
+ };
110444
+ Update: {
110445
+ body_template?: string;
110446
+ cc?: string[];
110447
+ connection_id?: string | null;
110448
+ created_at?: string;
110449
+ enabled?: boolean;
110450
+ id?: boolean;
110451
+ reply_to?: string | null;
110452
+ subject_template?: string;
110453
+ timezone?: string;
110454
+ updated_at?: string;
110455
+ updated_by?: string | null;
110456
+ };
110457
+ Relationships: [{
110458
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
110459
+ columns: ["connection_id"];
110460
+ isOneToOne: false;
110461
+ referencedRelation: "email_auth_connections";
110462
+ referencedColumns: ["id"];
110463
+ }, {
110464
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
110465
+ columns: ["connection_id"];
110466
+ isOneToOne: false;
110467
+ referencedRelation: "email_auth_connections_safe";
110468
+ referencedColumns: ["id"];
110469
+ }];
110470
+ };
108824
110471
  planning_monteur_day_locations: {
108825
110472
  Row: {
108826
110473
  created_at: string;
@@ -110299,6 +111946,9 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
110299
111946
  lead_time_days: number | null;
110300
111947
  min_order_quantity: number | null;
110301
111948
  notes: string | null;
111949
+ previous_price_cents: number | null;
111950
+ price_source: string;
111951
+ price_updated_at: string | null;
110302
111952
  product_id: string;
110303
111953
  purchase_price_cents: number | null;
110304
111954
  supplier_article_number: string | null;
@@ -110312,6 +111962,9 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
110312
111962
  lead_time_days?: number | null;
110313
111963
  min_order_quantity?: number | null;
110314
111964
  notes?: string | null;
111965
+ previous_price_cents?: number | null;
111966
+ price_source?: string;
111967
+ price_updated_at?: string | null;
110315
111968
  product_id: string;
110316
111969
  purchase_price_cents?: number | null;
110317
111970
  supplier_article_number?: string | null;
@@ -110325,6 +111978,9 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
110325
111978
  lead_time_days?: number | null;
110326
111979
  min_order_quantity?: number | null;
110327
111980
  notes?: string | null;
111981
+ previous_price_cents?: number | null;
111982
+ price_source?: string;
111983
+ price_updated_at?: string | null;
110328
111984
  product_id?: string;
110329
111985
  purchase_price_cents?: number | null;
110330
111986
  supplier_article_number?: string | null;
@@ -110855,9 +112511,13 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
110855
112511
  purchase_order_items: {
110856
112512
  Row: {
110857
112513
  article_number: string | null;
112514
+ cancel_reason: string | null;
112515
+ cancelled_at: string | null;
110858
112516
  created_at: string;
110859
112517
  delivery_date: string | null;
110860
112518
  id: string;
112519
+ incoming_booked: number;
112520
+ line_status: string;
110861
112521
  name: string;
110862
112522
  note: string | null;
110863
112523
  pot_size: string | null;
@@ -110865,6 +112525,8 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
110865
112525
  product_type: string;
110866
112526
  purchase_order_id: string;
110867
112527
  quantity: number;
112528
+ received_at: string | null;
112529
+ received_booked: number;
110868
112530
  supplier_id: string | null;
110869
112531
  supplier_product_id: string | null;
110870
112532
  unit_price_cents: number;
@@ -110872,9 +112534,13 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
110872
112534
  };
110873
112535
  Insert: {
110874
112536
  article_number?: string | null;
112537
+ cancel_reason?: string | null;
112538
+ cancelled_at?: string | null;
110875
112539
  created_at?: string;
110876
112540
  delivery_date?: string | null;
110877
112541
  id?: string;
112542
+ incoming_booked?: number;
112543
+ line_status?: string;
110878
112544
  name?: string;
110879
112545
  note?: string | null;
110880
112546
  pot_size?: string | null;
@@ -110882,6 +112548,8 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
110882
112548
  product_type?: string;
110883
112549
  purchase_order_id: string;
110884
112550
  quantity?: number;
112551
+ received_at?: string | null;
112552
+ received_booked?: number;
110885
112553
  supplier_id?: string | null;
110886
112554
  supplier_product_id?: string | null;
110887
112555
  unit_price_cents?: number;
@@ -110889,9 +112557,13 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
110889
112557
  };
110890
112558
  Update: {
110891
112559
  article_number?: string | null;
112560
+ cancel_reason?: string | null;
112561
+ cancelled_at?: string | null;
110892
112562
  created_at?: string;
110893
112563
  delivery_date?: string | null;
110894
112564
  id?: string;
112565
+ incoming_booked?: number;
112566
+ line_status?: string;
110895
112567
  name?: string;
110896
112568
  note?: string | null;
110897
112569
  pot_size?: string | null;
@@ -110899,6 +112571,8 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
110899
112571
  product_type?: string;
110900
112572
  purchase_order_id?: string;
110901
112573
  quantity?: number;
112574
+ received_at?: string | null;
112575
+ received_booked?: number;
110902
112576
  supplier_id?: string | null;
110903
112577
  supplier_product_id?: string | null;
110904
112578
  unit_price_cents?: number;
@@ -111002,6 +112676,153 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
111002
112676
  referencedColumns: ["id"];
111003
112677
  }];
111004
112678
  };
112679
+ purchase_request_events: {
112680
+ Row: {
112681
+ created_at: string;
112682
+ details: import("../integrations/supabase/types").Json | null;
112683
+ event_type: string;
112684
+ id: string;
112685
+ request_id: string;
112686
+ };
112687
+ Insert: {
112688
+ created_at?: string;
112689
+ details?: import("../integrations/supabase/types").Json | null;
112690
+ event_type: string;
112691
+ id?: string;
112692
+ request_id: string;
112693
+ };
112694
+ Update: {
112695
+ created_at?: string;
112696
+ details?: import("../integrations/supabase/types").Json | null;
112697
+ event_type?: string;
112698
+ id?: string;
112699
+ request_id?: string;
112700
+ };
112701
+ Relationships: [{
112702
+ foreignKeyName: "purchase_request_events_request_id_fkey";
112703
+ columns: ["request_id"];
112704
+ isOneToOne: false;
112705
+ referencedRelation: "purchase_requests";
112706
+ referencedColumns: ["id"];
112707
+ }];
112708
+ };
112709
+ purchase_request_responses: {
112710
+ Row: {
112711
+ confirmed_date: string | null;
112712
+ confirmed_price_cents: number | null;
112713
+ confirmed_quantity: number;
112714
+ created_at: string;
112715
+ id: string;
112716
+ not_available: boolean;
112717
+ note: string | null;
112718
+ purchase_order_item_id: string;
112719
+ request_id: string;
112720
+ updated_at: string;
112721
+ };
112722
+ Insert: {
112723
+ confirmed_date?: string | null;
112724
+ confirmed_price_cents?: number | null;
112725
+ confirmed_quantity?: number;
112726
+ created_at?: string;
112727
+ id?: string;
112728
+ not_available?: boolean;
112729
+ note?: string | null;
112730
+ purchase_order_item_id: string;
112731
+ request_id: string;
112732
+ updated_at?: string;
112733
+ };
112734
+ Update: {
112735
+ confirmed_date?: string | null;
112736
+ confirmed_price_cents?: number | null;
112737
+ confirmed_quantity?: number;
112738
+ created_at?: string;
112739
+ id?: string;
112740
+ not_available?: boolean;
112741
+ note?: string | null;
112742
+ purchase_order_item_id?: string;
112743
+ request_id?: string;
112744
+ updated_at?: string;
112745
+ };
112746
+ Relationships: [{
112747
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
112748
+ columns: ["purchase_order_item_id"];
112749
+ isOneToOne: false;
112750
+ referencedRelation: "purchase_order_items";
112751
+ referencedColumns: ["id"];
112752
+ }, {
112753
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
112754
+ columns: ["request_id"];
112755
+ isOneToOne: false;
112756
+ referencedRelation: "purchase_requests";
112757
+ referencedColumns: ["id"];
112758
+ }];
112759
+ };
112760
+ purchase_requests: {
112761
+ Row: {
112762
+ created_at: string;
112763
+ expires_at: string;
112764
+ first_viewed_at: string | null;
112765
+ id: string;
112766
+ processed_at: string | null;
112767
+ purchase_order_id: string;
112768
+ responded_at: string | null;
112769
+ sent_at: string;
112770
+ status: string;
112771
+ supplier_id: string | null;
112772
+ supplier_name: string;
112773
+ supplier_note: string | null;
112774
+ to_address: string | null;
112775
+ token_hash: string;
112776
+ updated_at: string;
112777
+ };
112778
+ Insert: {
112779
+ created_at?: string;
112780
+ expires_at?: string;
112781
+ first_viewed_at?: string | null;
112782
+ id?: string;
112783
+ processed_at?: string | null;
112784
+ purchase_order_id: string;
112785
+ responded_at?: string | null;
112786
+ sent_at?: string;
112787
+ status?: string;
112788
+ supplier_id?: string | null;
112789
+ supplier_name?: string;
112790
+ supplier_note?: string | null;
112791
+ to_address?: string | null;
112792
+ token_hash: string;
112793
+ updated_at?: string;
112794
+ };
112795
+ Update: {
112796
+ created_at?: string;
112797
+ expires_at?: string;
112798
+ first_viewed_at?: string | null;
112799
+ id?: string;
112800
+ processed_at?: string | null;
112801
+ purchase_order_id?: string;
112802
+ responded_at?: string | null;
112803
+ sent_at?: string;
112804
+ status?: string;
112805
+ supplier_id?: string | null;
112806
+ supplier_name?: string;
112807
+ supplier_note?: string | null;
112808
+ to_address?: string | null;
112809
+ token_hash?: string;
112810
+ updated_at?: string;
112811
+ };
112812
+ Relationships: [{
112813
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
112814
+ columns: ["purchase_order_id"];
112815
+ isOneToOne: false;
112816
+ referencedRelation: "purchase_orders";
112817
+ referencedColumns: ["id"];
112818
+ }, {
112819
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
112820
+ columns: ["supplier_id"];
112821
+ isOneToOne: false;
112822
+ referencedRelation: "suppliers";
112823
+ referencedColumns: ["id"];
112824
+ }];
112825
+ };
111005
112826
  reception_notifications: {
111006
112827
  Row: {
111007
112828
  booking_id: string | null;
@@ -113165,6 +114986,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
113165
114986
  auto_invoice_enabled: boolean;
113166
114987
  auto_invoice_start_date: string | null;
113167
114988
  auto_invoice_trigger_statuses: string[];
114989
+ auto_send_mode: string | null;
113168
114990
  created_at: string;
113169
114991
  debtor_gl_account: string;
113170
114992
  default_article_code: string | null;
@@ -113193,6 +115015,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
113193
115015
  auto_invoice_enabled?: boolean;
113194
115016
  auto_invoice_start_date?: string | null;
113195
115017
  auto_invoice_trigger_statuses?: string[];
115018
+ auto_send_mode?: string | null;
113196
115019
  created_at?: string;
113197
115020
  debtor_gl_account?: string;
113198
115021
  default_article_code?: string | null;
@@ -113221,6 +115044,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
113221
115044
  auto_invoice_enabled?: boolean;
113222
115045
  auto_invoice_start_date?: string | null;
113223
115046
  auto_invoice_trigger_statuses?: string[];
115047
+ auto_send_mode?: string | null;
113224
115048
  created_at?: string;
113225
115049
  debtor_gl_account?: string;
113226
115050
  default_article_code?: string | null;
@@ -115424,7 +117248,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
115424
117248
  created_at: string;
115425
117249
  default_quantity: number;
115426
117250
  description: string | null;
115427
- duration_minutes: number | null;
117251
+ duration_minutes: number;
115428
117252
  id: string;
115429
117253
  mandaat_type: string | null;
115430
117254
  name: string;
@@ -115441,7 +117265,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
115441
117265
  created_at?: string;
115442
117266
  default_quantity?: number;
115443
117267
  description?: string | null;
115444
- duration_minutes?: number | null;
117268
+ duration_minutes?: number;
115445
117269
  id?: string;
115446
117270
  mandaat_type?: string | null;
115447
117271
  name: string;
@@ -115458,7 +117282,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
115458
117282
  created_at?: string;
115459
117283
  default_quantity?: number;
115460
117284
  description?: string | null;
115461
- duration_minutes?: number | null;
117285
+ duration_minutes?: number;
115462
117286
  id?: string;
115463
117287
  mandaat_type?: string | null;
115464
117288
  name?: string;
@@ -118454,6 +120278,31 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
118454
120278
  };
118455
120279
  Returns: import("../integrations/supabase/types").Json;
118456
120280
  };
120281
+ inkoop_cancel_line: {
120282
+ Args: {
120283
+ _item_id: string;
120284
+ _reason: string;
120285
+ };
120286
+ Returns: string;
120287
+ };
120288
+ inkoop_get_supplier_request: {
120289
+ Args: {
120290
+ _token: string;
120291
+ };
120292
+ Returns: import("../integrations/supabase/types").Json;
120293
+ };
120294
+ inkoop_hash_token: {
120295
+ Args: {
120296
+ _token: string;
120297
+ };
120298
+ Returns: string;
120299
+ };
120300
+ inkoop_html_escape: {
120301
+ Args: {
120302
+ _t: string;
120303
+ };
120304
+ Returns: string;
120305
+ };
118457
120306
  inkoop_list_artikelen: {
118458
120307
  Args: never;
118459
120308
  Returns: {
@@ -118478,9 +120327,17 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
118478
120327
  Args: never;
118479
120328
  Returns: string;
118480
120329
  };
120330
+ inkoop_process_request: {
120331
+ Args: {
120332
+ _request_id: string;
120333
+ };
120334
+ Returns: undefined;
120335
+ };
118481
120336
  inkoop_send_order: {
118482
120337
  Args: {
120338
+ _base_url?: string;
118483
120339
  _order_id: string;
120340
+ _resend?: boolean;
118484
120341
  };
118485
120342
  Returns: {
118486
120343
  outbox_id: string;
@@ -118495,6 +120352,26 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
118495
120352
  };
118496
120353
  Returns: undefined;
118497
120354
  };
120355
+ inkoop_stock_key: {
120356
+ Args: {
120357
+ p_product_id: string;
120358
+ };
120359
+ Returns: string;
120360
+ };
120361
+ inkoop_submit_supplier_response: {
120362
+ Args: {
120363
+ _lines: import("../integrations/supabase/types").Json;
120364
+ _note?: string;
120365
+ _token: string;
120366
+ };
120367
+ Returns: import("../integrations/supabase/types").Json;
120368
+ };
120369
+ inkoop_sync_item_stock: {
120370
+ Args: {
120371
+ p_item_id: string;
120372
+ };
120373
+ Returns: undefined;
120374
+ };
118498
120375
  instructie_get: {
118499
120376
  Args: {
118500
120377
  _sleutel: string;
@@ -118655,6 +120532,27 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
118655
120532
  };
118656
120533
  Returns: boolean;
118657
120534
  };
120535
+ layout_print_document: {
120536
+ Args: {
120537
+ _documentnaam: string;
120538
+ _documenttype: string;
120539
+ _herkomst?: string;
120540
+ _idempotentie_sleutel?: string;
120541
+ _is_herprint?: boolean;
120542
+ _kopieen?: number;
120543
+ _layout_id?: string;
120544
+ _payload?: import("../integrations/supabase/types").Json;
120545
+ _pdf_base64?: string;
120546
+ _pdf_url?: string;
120547
+ _print_plek_id?: string;
120548
+ _werkplek?: string;
120549
+ };
120550
+ Returns: {
120551
+ bestaand: boolean;
120552
+ job_id: string;
120553
+ printer_id: string;
120554
+ }[];
120555
+ };
118658
120556
  list_medewerkers: {
118659
120557
  Args: never;
118660
120558
  Returns: {
@@ -118932,6 +120830,12 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
118932
120830
  };
118933
120831
  Returns: number;
118934
120832
  };
120833
+ logistics_cart_barcode_opschonen: {
120834
+ Args: {
120835
+ p_portie?: number;
120836
+ };
120837
+ Returns: import("../integrations/supabase/types").Json;
120838
+ };
118935
120839
  logistics_cart_barcode_value: {
118936
120840
  Args: {
118937
120841
  _cart_id: string;
@@ -119351,6 +121255,13 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
119351
121255
  };
119352
121256
  Returns: import("../integrations/supabase/types").Json;
119353
121257
  };
121258
+ logistics_control_scan_print_own: {
121259
+ Args: {
121260
+ p_is_herprint?: boolean;
121261
+ p_scan_id: string;
121262
+ };
121263
+ Returns: import("../integrations/supabase/types").Json;
121264
+ };
119354
121265
  logistics_control_scan_retry: {
119355
121266
  Args: {
119356
121267
  _id: string;
@@ -120255,6 +122166,21 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
120255
122166
  };
120256
122167
  Returns: import("../integrations/supabase/types").Json;
120257
122168
  };
122169
+ logistics_print_via_layout: {
122170
+ Args: {
122171
+ _documentnaam: string;
122172
+ _documenttype: string;
122173
+ _herkomst: string;
122174
+ _idempotentie_sleutel: string;
122175
+ _is_herprint: boolean;
122176
+ _layout_id: string;
122177
+ _payload: import("../integrations/supabase/types").Json;
122178
+ _pdf_base64: string;
122179
+ _pdf_url: string;
122180
+ _print_plek_id: string;
122181
+ };
122182
+ Returns: import("../integrations/supabase/types").Json;
122183
+ };
120258
122184
  logistics_prune_buffer_member_queue: {
120259
122185
  Args: never;
120260
122186
  Returns: number;
@@ -120541,6 +122467,13 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
120541
122467
  };
120542
122468
  Returns: string;
120543
122469
  };
122470
+ logistics_shipping_note_status: {
122471
+ Args: {
122472
+ p_cart_id?: string;
122473
+ p_slip_job_id?: string;
122474
+ };
122475
+ Returns: import("../integrations/supabase/types").Json;
122476
+ };
120544
122477
  logistics_shipping_notes_wake_all: {
120545
122478
  Args: never;
120546
122479
  Returns: import("../integrations/supabase/types").Json;
@@ -120603,6 +122536,12 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
120603
122536
  };
120604
122537
  Returns: undefined;
120605
122538
  };
122539
+ logistics_slip_note_retry: {
122540
+ Args: {
122541
+ _id: string;
122542
+ };
122543
+ Returns: import("../integrations/supabase/types").Json;
122544
+ };
120606
122545
  logistics_sticker_follows_slip: {
120607
122546
  Args: never;
120608
122547
  Returns: boolean;
@@ -121347,6 +123286,10 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
121347
123286
  };
121348
123287
  Returns: string;
121349
123288
  };
123289
+ pick_is_reference_admin: {
123290
+ Args: never;
123291
+ Returns: boolean;
123292
+ };
121350
123293
  pick_mark_printed: {
121351
123294
  Args: {
121352
123295
  _queue_item_id: string;
@@ -122220,6 +124163,13 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
122220
124163
  };
122221
124164
  Returns: import("../integrations/supabase/types").Json;
122222
124165
  };
124166
+ scan_controleer_pincode: {
124167
+ Args: {
124168
+ p_pin: string;
124169
+ p_scanner_id: string;
124170
+ };
124171
+ Returns: boolean;
124172
+ };
122223
124173
  scan_dashboard_stats: {
122224
124174
  Args: {
122225
124175
  p_dagen?: number;
@@ -122239,6 +124189,12 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
122239
124189
  };
122240
124190
  Returns: import("../integrations/supabase/types").Json;
122241
124191
  };
124192
+ scan_heeft_pincode: {
124193
+ Args: {
124194
+ p_scanner_id: string;
124195
+ };
124196
+ Returns: boolean;
124197
+ };
122242
124198
  scan_kar_compleet: {
122243
124199
  Args: {
122244
124200
  p_allow_reprint?: boolean;
@@ -122256,6 +124212,7 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
122256
124212
  Args: {
122257
124213
  p_code: string;
122258
124214
  p_latency_ms?: number;
124215
+ p_medewerker?: string;
122259
124216
  p_message?: string;
122260
124217
  p_result: string;
122261
124218
  p_scanner_key?: string;
@@ -122328,6 +124285,22 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
122328
124285
  };
122329
124286
  Returns: undefined;
122330
124287
  };
124288
+ scan_scanner_info: {
124289
+ Args: {
124290
+ p_slug: string;
124291
+ };
124292
+ Returns: {
124293
+ actief: boolean;
124294
+ heeft_pincode: boolean;
124295
+ id: string;
124296
+ naam: string;
124297
+ omschrijving: string;
124298
+ printer_id: string;
124299
+ type: string;
124300
+ vereist_medewerker: boolean;
124301
+ werkplek: string;
124302
+ }[];
124303
+ };
122331
124304
  scan_sessie_annuleren: {
122332
124305
  Args: {
122333
124306
  p_sessie_id: string;
@@ -123290,6 +125263,21 @@ export declare const deleteCarrier: import("@tanstack/start-client-core").Requir
123290
125263
  };
123291
125264
  Returns: import("../integrations/supabase/types").Json;
123292
125265
  };
125266
+ wo_list_colleague_planning: {
125267
+ Args: {
125268
+ _from: string;
125269
+ _monteur_id: string;
125270
+ _to: string;
125271
+ };
125272
+ Returns: {
125273
+ end_at: string;
125274
+ id: string;
125275
+ role: string;
125276
+ start_at: string;
125277
+ status: string;
125278
+ werkbon_id: string;
125279
+ }[];
125280
+ };
123293
125281
  wo_list_offerte_requests: {
123294
125282
  Args: {
123295
125283
  _status?: string;
@@ -124103,6 +126091,27 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
124103
126091
  };
124104
126092
  Relationships: [];
124105
126093
  };
126094
+ artikelen_instellingen: {
126095
+ Row: {
126096
+ created_at: string;
126097
+ id: number;
126098
+ marge_procent: number;
126099
+ updated_at: string;
126100
+ };
126101
+ Insert: {
126102
+ created_at?: string;
126103
+ id?: number;
126104
+ marge_procent?: number;
126105
+ updated_at?: string;
126106
+ };
126107
+ Update: {
126108
+ created_at?: string;
126109
+ id?: number;
126110
+ marge_procent?: number;
126111
+ updated_at?: string;
126112
+ };
126113
+ Relationships: [];
126114
+ };
124106
126115
  artikelen_veldconfig: {
124107
126116
  Row: {
124108
126117
  bron_pad: string;
@@ -133778,6 +135787,30 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
133778
135787
  };
133779
135788
  Relationships: [];
133780
135789
  };
135790
+ logistics_cart_barcode_archief: {
135791
+ Row: {
135792
+ barcode: string;
135793
+ cart_id: string;
135794
+ created_at: string | null;
135795
+ gearchiveerd_op: string;
135796
+ order_id: string | null;
135797
+ };
135798
+ Insert: {
135799
+ barcode: string;
135800
+ cart_id: string;
135801
+ created_at?: string | null;
135802
+ gearchiveerd_op?: string;
135803
+ order_id?: string | null;
135804
+ };
135805
+ Update: {
135806
+ barcode?: string;
135807
+ cart_id?: string;
135808
+ created_at?: string | null;
135809
+ gearchiveerd_op?: string;
135810
+ order_id?: string | null;
135811
+ };
135812
+ Relationships: [];
135813
+ };
133781
135814
  logistics_control_scan: {
133782
135815
  Row: {
133783
135816
  approved_at: string | null;
@@ -138064,6 +140097,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
138064
140097
  next_attempt_at: string;
138065
140098
  order_id: string;
138066
140099
  processed_at: string | null;
140100
+ send_error: string | null;
138067
140101
  status: string;
138068
140102
  updated_at: string;
138069
140103
  };
@@ -138077,6 +140111,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
138077
140111
  next_attempt_at?: string;
138078
140112
  order_id: string;
138079
140113
  processed_at?: string | null;
140114
+ send_error?: string | null;
138080
140115
  status?: string;
138081
140116
  updated_at?: string;
138082
140117
  };
@@ -138090,6 +140125,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
138090
140125
  next_attempt_at?: string;
138091
140126
  order_id?: string;
138092
140127
  processed_at?: string | null;
140128
+ send_error?: string | null;
138093
140129
  status?: string;
138094
140130
  updated_at?: string;
138095
140131
  };
@@ -139428,18 +141464,24 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
139428
141464
  Row: {
139429
141465
  id: boolean;
139430
141466
  last_cleanup_at: string | null;
141467
+ last_error: string | null;
141468
+ last_error_at: string | null;
139431
141469
  last_sync_at: string | null;
139432
141470
  updated_at: string;
139433
141471
  };
139434
141472
  Insert: {
139435
141473
  id?: boolean;
139436
141474
  last_cleanup_at?: string | null;
141475
+ last_error?: string | null;
141476
+ last_error_at?: string | null;
139437
141477
  last_sync_at?: string | null;
139438
141478
  updated_at?: string;
139439
141479
  };
139440
141480
  Update: {
139441
141481
  id?: boolean;
139442
141482
  last_cleanup_at?: string | null;
141483
+ last_error?: string | null;
141484
+ last_error_at?: string | null;
139443
141485
  last_sync_at?: string | null;
139444
141486
  updated_at?: string;
139445
141487
  };
@@ -139565,6 +141607,54 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
139565
141607
  };
139566
141608
  Relationships: [];
139567
141609
  };
141610
+ planning_confirmation_log: {
141611
+ Row: {
141612
+ created_at: string;
141613
+ end_at: string;
141614
+ id: string;
141615
+ outbox_id: string | null;
141616
+ planning_item_id: string;
141617
+ reason: string | null;
141618
+ recipient: string | null;
141619
+ start_at: string;
141620
+ status: string;
141621
+ };
141622
+ Insert: {
141623
+ created_at?: string;
141624
+ end_at: string;
141625
+ id?: string;
141626
+ outbox_id?: string | null;
141627
+ planning_item_id: string;
141628
+ reason?: string | null;
141629
+ recipient?: string | null;
141630
+ start_at: string;
141631
+ status: string;
141632
+ };
141633
+ Update: {
141634
+ created_at?: string;
141635
+ end_at?: string;
141636
+ id?: string;
141637
+ outbox_id?: string | null;
141638
+ planning_item_id?: string;
141639
+ reason?: string | null;
141640
+ recipient?: string | null;
141641
+ start_at?: string;
141642
+ status?: string;
141643
+ };
141644
+ Relationships: [{
141645
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
141646
+ columns: ["planning_item_id"];
141647
+ isOneToOne: false;
141648
+ referencedRelation: "planning_items";
141649
+ referencedColumns: ["id"];
141650
+ }, {
141651
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
141652
+ columns: ["planning_item_id"];
141653
+ isOneToOne: false;
141654
+ referencedRelation: "planning_overview";
141655
+ referencedColumns: ["id"];
141656
+ }];
141657
+ };
139568
141658
  planning_item_assistants: {
139569
141659
  Row: {
139570
141660
  created_at: string;
@@ -139649,6 +141739,60 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
139649
141739
  referencedColumns: ["id"];
139650
141740
  }];
139651
141741
  };
141742
+ planning_mail_settings: {
141743
+ Row: {
141744
+ body_template: string;
141745
+ cc: string[];
141746
+ connection_id: string | null;
141747
+ created_at: string;
141748
+ enabled: boolean;
141749
+ id: boolean;
141750
+ reply_to: string | null;
141751
+ subject_template: string;
141752
+ timezone: string;
141753
+ updated_at: string;
141754
+ updated_by: string | null;
141755
+ };
141756
+ Insert: {
141757
+ body_template?: string;
141758
+ cc?: string[];
141759
+ connection_id?: string | null;
141760
+ created_at?: string;
141761
+ enabled?: boolean;
141762
+ id?: boolean;
141763
+ reply_to?: string | null;
141764
+ subject_template?: string;
141765
+ timezone?: string;
141766
+ updated_at?: string;
141767
+ updated_by?: string | null;
141768
+ };
141769
+ Update: {
141770
+ body_template?: string;
141771
+ cc?: string[];
141772
+ connection_id?: string | null;
141773
+ created_at?: string;
141774
+ enabled?: boolean;
141775
+ id?: boolean;
141776
+ reply_to?: string | null;
141777
+ subject_template?: string;
141778
+ timezone?: string;
141779
+ updated_at?: string;
141780
+ updated_by?: string | null;
141781
+ };
141782
+ Relationships: [{
141783
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
141784
+ columns: ["connection_id"];
141785
+ isOneToOne: false;
141786
+ referencedRelation: "email_auth_connections";
141787
+ referencedColumns: ["id"];
141788
+ }, {
141789
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
141790
+ columns: ["connection_id"];
141791
+ isOneToOne: false;
141792
+ referencedRelation: "email_auth_connections_safe";
141793
+ referencedColumns: ["id"];
141794
+ }];
141795
+ };
139652
141796
  planning_monteur_day_locations: {
139653
141797
  Row: {
139654
141798
  created_at: string;
@@ -141127,6 +143271,9 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
141127
143271
  lead_time_days: number | null;
141128
143272
  min_order_quantity: number | null;
141129
143273
  notes: string | null;
143274
+ previous_price_cents: number | null;
143275
+ price_source: string;
143276
+ price_updated_at: string | null;
141130
143277
  product_id: string;
141131
143278
  purchase_price_cents: number | null;
141132
143279
  supplier_article_number: string | null;
@@ -141140,6 +143287,9 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
141140
143287
  lead_time_days?: number | null;
141141
143288
  min_order_quantity?: number | null;
141142
143289
  notes?: string | null;
143290
+ previous_price_cents?: number | null;
143291
+ price_source?: string;
143292
+ price_updated_at?: string | null;
141143
143293
  product_id: string;
141144
143294
  purchase_price_cents?: number | null;
141145
143295
  supplier_article_number?: string | null;
@@ -141153,6 +143303,9 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
141153
143303
  lead_time_days?: number | null;
141154
143304
  min_order_quantity?: number | null;
141155
143305
  notes?: string | null;
143306
+ previous_price_cents?: number | null;
143307
+ price_source?: string;
143308
+ price_updated_at?: string | null;
141156
143309
  product_id?: string;
141157
143310
  purchase_price_cents?: number | null;
141158
143311
  supplier_article_number?: string | null;
@@ -141683,9 +143836,13 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
141683
143836
  purchase_order_items: {
141684
143837
  Row: {
141685
143838
  article_number: string | null;
143839
+ cancel_reason: string | null;
143840
+ cancelled_at: string | null;
141686
143841
  created_at: string;
141687
143842
  delivery_date: string | null;
141688
143843
  id: string;
143844
+ incoming_booked: number;
143845
+ line_status: string;
141689
143846
  name: string;
141690
143847
  note: string | null;
141691
143848
  pot_size: string | null;
@@ -141693,6 +143850,8 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
141693
143850
  product_type: string;
141694
143851
  purchase_order_id: string;
141695
143852
  quantity: number;
143853
+ received_at: string | null;
143854
+ received_booked: number;
141696
143855
  supplier_id: string | null;
141697
143856
  supplier_product_id: string | null;
141698
143857
  unit_price_cents: number;
@@ -141700,9 +143859,13 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
141700
143859
  };
141701
143860
  Insert: {
141702
143861
  article_number?: string | null;
143862
+ cancel_reason?: string | null;
143863
+ cancelled_at?: string | null;
141703
143864
  created_at?: string;
141704
143865
  delivery_date?: string | null;
141705
143866
  id?: string;
143867
+ incoming_booked?: number;
143868
+ line_status?: string;
141706
143869
  name?: string;
141707
143870
  note?: string | null;
141708
143871
  pot_size?: string | null;
@@ -141710,6 +143873,8 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
141710
143873
  product_type?: string;
141711
143874
  purchase_order_id: string;
141712
143875
  quantity?: number;
143876
+ received_at?: string | null;
143877
+ received_booked?: number;
141713
143878
  supplier_id?: string | null;
141714
143879
  supplier_product_id?: string | null;
141715
143880
  unit_price_cents?: number;
@@ -141717,9 +143882,13 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
141717
143882
  };
141718
143883
  Update: {
141719
143884
  article_number?: string | null;
143885
+ cancel_reason?: string | null;
143886
+ cancelled_at?: string | null;
141720
143887
  created_at?: string;
141721
143888
  delivery_date?: string | null;
141722
143889
  id?: string;
143890
+ incoming_booked?: number;
143891
+ line_status?: string;
141723
143892
  name?: string;
141724
143893
  note?: string | null;
141725
143894
  pot_size?: string | null;
@@ -141727,6 +143896,8 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
141727
143896
  product_type?: string;
141728
143897
  purchase_order_id?: string;
141729
143898
  quantity?: number;
143899
+ received_at?: string | null;
143900
+ received_booked?: number;
141730
143901
  supplier_id?: string | null;
141731
143902
  supplier_product_id?: string | null;
141732
143903
  unit_price_cents?: number;
@@ -141830,6 +144001,153 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
141830
144001
  referencedColumns: ["id"];
141831
144002
  }];
141832
144003
  };
144004
+ purchase_request_events: {
144005
+ Row: {
144006
+ created_at: string;
144007
+ details: import("../integrations/supabase/types").Json | null;
144008
+ event_type: string;
144009
+ id: string;
144010
+ request_id: string;
144011
+ };
144012
+ Insert: {
144013
+ created_at?: string;
144014
+ details?: import("../integrations/supabase/types").Json | null;
144015
+ event_type: string;
144016
+ id?: string;
144017
+ request_id: string;
144018
+ };
144019
+ Update: {
144020
+ created_at?: string;
144021
+ details?: import("../integrations/supabase/types").Json | null;
144022
+ event_type?: string;
144023
+ id?: string;
144024
+ request_id?: string;
144025
+ };
144026
+ Relationships: [{
144027
+ foreignKeyName: "purchase_request_events_request_id_fkey";
144028
+ columns: ["request_id"];
144029
+ isOneToOne: false;
144030
+ referencedRelation: "purchase_requests";
144031
+ referencedColumns: ["id"];
144032
+ }];
144033
+ };
144034
+ purchase_request_responses: {
144035
+ Row: {
144036
+ confirmed_date: string | null;
144037
+ confirmed_price_cents: number | null;
144038
+ confirmed_quantity: number;
144039
+ created_at: string;
144040
+ id: string;
144041
+ not_available: boolean;
144042
+ note: string | null;
144043
+ purchase_order_item_id: string;
144044
+ request_id: string;
144045
+ updated_at: string;
144046
+ };
144047
+ Insert: {
144048
+ confirmed_date?: string | null;
144049
+ confirmed_price_cents?: number | null;
144050
+ confirmed_quantity?: number;
144051
+ created_at?: string;
144052
+ id?: string;
144053
+ not_available?: boolean;
144054
+ note?: string | null;
144055
+ purchase_order_item_id: string;
144056
+ request_id: string;
144057
+ updated_at?: string;
144058
+ };
144059
+ Update: {
144060
+ confirmed_date?: string | null;
144061
+ confirmed_price_cents?: number | null;
144062
+ confirmed_quantity?: number;
144063
+ created_at?: string;
144064
+ id?: string;
144065
+ not_available?: boolean;
144066
+ note?: string | null;
144067
+ purchase_order_item_id?: string;
144068
+ request_id?: string;
144069
+ updated_at?: string;
144070
+ };
144071
+ Relationships: [{
144072
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
144073
+ columns: ["purchase_order_item_id"];
144074
+ isOneToOne: false;
144075
+ referencedRelation: "purchase_order_items";
144076
+ referencedColumns: ["id"];
144077
+ }, {
144078
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
144079
+ columns: ["request_id"];
144080
+ isOneToOne: false;
144081
+ referencedRelation: "purchase_requests";
144082
+ referencedColumns: ["id"];
144083
+ }];
144084
+ };
144085
+ purchase_requests: {
144086
+ Row: {
144087
+ created_at: string;
144088
+ expires_at: string;
144089
+ first_viewed_at: string | null;
144090
+ id: string;
144091
+ processed_at: string | null;
144092
+ purchase_order_id: string;
144093
+ responded_at: string | null;
144094
+ sent_at: string;
144095
+ status: string;
144096
+ supplier_id: string | null;
144097
+ supplier_name: string;
144098
+ supplier_note: string | null;
144099
+ to_address: string | null;
144100
+ token_hash: string;
144101
+ updated_at: string;
144102
+ };
144103
+ Insert: {
144104
+ created_at?: string;
144105
+ expires_at?: string;
144106
+ first_viewed_at?: string | null;
144107
+ id?: string;
144108
+ processed_at?: string | null;
144109
+ purchase_order_id: string;
144110
+ responded_at?: string | null;
144111
+ sent_at?: string;
144112
+ status?: string;
144113
+ supplier_id?: string | null;
144114
+ supplier_name?: string;
144115
+ supplier_note?: string | null;
144116
+ to_address?: string | null;
144117
+ token_hash: string;
144118
+ updated_at?: string;
144119
+ };
144120
+ Update: {
144121
+ created_at?: string;
144122
+ expires_at?: string;
144123
+ first_viewed_at?: string | null;
144124
+ id?: string;
144125
+ processed_at?: string | null;
144126
+ purchase_order_id?: string;
144127
+ responded_at?: string | null;
144128
+ sent_at?: string;
144129
+ status?: string;
144130
+ supplier_id?: string | null;
144131
+ supplier_name?: string;
144132
+ supplier_note?: string | null;
144133
+ to_address?: string | null;
144134
+ token_hash?: string;
144135
+ updated_at?: string;
144136
+ };
144137
+ Relationships: [{
144138
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
144139
+ columns: ["purchase_order_id"];
144140
+ isOneToOne: false;
144141
+ referencedRelation: "purchase_orders";
144142
+ referencedColumns: ["id"];
144143
+ }, {
144144
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
144145
+ columns: ["supplier_id"];
144146
+ isOneToOne: false;
144147
+ referencedRelation: "suppliers";
144148
+ referencedColumns: ["id"];
144149
+ }];
144150
+ };
141833
144151
  reception_notifications: {
141834
144152
  Row: {
141835
144153
  booking_id: string | null;
@@ -143993,6 +146311,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
143993
146311
  auto_invoice_enabled: boolean;
143994
146312
  auto_invoice_start_date: string | null;
143995
146313
  auto_invoice_trigger_statuses: string[];
146314
+ auto_send_mode: string | null;
143996
146315
  created_at: string;
143997
146316
  debtor_gl_account: string;
143998
146317
  default_article_code: string | null;
@@ -144021,6 +146340,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
144021
146340
  auto_invoice_enabled?: boolean;
144022
146341
  auto_invoice_start_date?: string | null;
144023
146342
  auto_invoice_trigger_statuses?: string[];
146343
+ auto_send_mode?: string | null;
144024
146344
  created_at?: string;
144025
146345
  debtor_gl_account?: string;
144026
146346
  default_article_code?: string | null;
@@ -144049,6 +146369,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
144049
146369
  auto_invoice_enabled?: boolean;
144050
146370
  auto_invoice_start_date?: string | null;
144051
146371
  auto_invoice_trigger_statuses?: string[];
146372
+ auto_send_mode?: string | null;
144052
146373
  created_at?: string;
144053
146374
  debtor_gl_account?: string;
144054
146375
  default_article_code?: string | null;
@@ -146252,7 +148573,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
146252
148573
  created_at: string;
146253
148574
  default_quantity: number;
146254
148575
  description: string | null;
146255
- duration_minutes: number | null;
148576
+ duration_minutes: number;
146256
148577
  id: string;
146257
148578
  mandaat_type: string | null;
146258
148579
  name: string;
@@ -146269,7 +148590,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
146269
148590
  created_at?: string;
146270
148591
  default_quantity?: number;
146271
148592
  description?: string | null;
146272
- duration_minutes?: number | null;
148593
+ duration_minutes?: number;
146273
148594
  id?: string;
146274
148595
  mandaat_type?: string | null;
146275
148596
  name: string;
@@ -146286,7 +148607,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
146286
148607
  created_at?: string;
146287
148608
  default_quantity?: number;
146288
148609
  description?: string | null;
146289
- duration_minutes?: number | null;
148610
+ duration_minutes?: number;
146290
148611
  id?: string;
146291
148612
  mandaat_type?: string | null;
146292
148613
  name?: string;
@@ -149282,6 +151603,31 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
149282
151603
  };
149283
151604
  Returns: import("../integrations/supabase/types").Json;
149284
151605
  };
151606
+ inkoop_cancel_line: {
151607
+ Args: {
151608
+ _item_id: string;
151609
+ _reason: string;
151610
+ };
151611
+ Returns: string;
151612
+ };
151613
+ inkoop_get_supplier_request: {
151614
+ Args: {
151615
+ _token: string;
151616
+ };
151617
+ Returns: import("../integrations/supabase/types").Json;
151618
+ };
151619
+ inkoop_hash_token: {
151620
+ Args: {
151621
+ _token: string;
151622
+ };
151623
+ Returns: string;
151624
+ };
151625
+ inkoop_html_escape: {
151626
+ Args: {
151627
+ _t: string;
151628
+ };
151629
+ Returns: string;
151630
+ };
149285
151631
  inkoop_list_artikelen: {
149286
151632
  Args: never;
149287
151633
  Returns: {
@@ -149306,9 +151652,17 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
149306
151652
  Args: never;
149307
151653
  Returns: string;
149308
151654
  };
151655
+ inkoop_process_request: {
151656
+ Args: {
151657
+ _request_id: string;
151658
+ };
151659
+ Returns: undefined;
151660
+ };
149309
151661
  inkoop_send_order: {
149310
151662
  Args: {
151663
+ _base_url?: string;
149311
151664
  _order_id: string;
151665
+ _resend?: boolean;
149312
151666
  };
149313
151667
  Returns: {
149314
151668
  outbox_id: string;
@@ -149323,6 +151677,26 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
149323
151677
  };
149324
151678
  Returns: undefined;
149325
151679
  };
151680
+ inkoop_stock_key: {
151681
+ Args: {
151682
+ p_product_id: string;
151683
+ };
151684
+ Returns: string;
151685
+ };
151686
+ inkoop_submit_supplier_response: {
151687
+ Args: {
151688
+ _lines: import("../integrations/supabase/types").Json;
151689
+ _note?: string;
151690
+ _token: string;
151691
+ };
151692
+ Returns: import("../integrations/supabase/types").Json;
151693
+ };
151694
+ inkoop_sync_item_stock: {
151695
+ Args: {
151696
+ p_item_id: string;
151697
+ };
151698
+ Returns: undefined;
151699
+ };
149326
151700
  instructie_get: {
149327
151701
  Args: {
149328
151702
  _sleutel: string;
@@ -149483,6 +151857,27 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
149483
151857
  };
149484
151858
  Returns: boolean;
149485
151859
  };
151860
+ layout_print_document: {
151861
+ Args: {
151862
+ _documentnaam: string;
151863
+ _documenttype: string;
151864
+ _herkomst?: string;
151865
+ _idempotentie_sleutel?: string;
151866
+ _is_herprint?: boolean;
151867
+ _kopieen?: number;
151868
+ _layout_id?: string;
151869
+ _payload?: import("../integrations/supabase/types").Json;
151870
+ _pdf_base64?: string;
151871
+ _pdf_url?: string;
151872
+ _print_plek_id?: string;
151873
+ _werkplek?: string;
151874
+ };
151875
+ Returns: {
151876
+ bestaand: boolean;
151877
+ job_id: string;
151878
+ printer_id: string;
151879
+ }[];
151880
+ };
149486
151881
  list_medewerkers: {
149487
151882
  Args: never;
149488
151883
  Returns: {
@@ -149760,6 +152155,12 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
149760
152155
  };
149761
152156
  Returns: number;
149762
152157
  };
152158
+ logistics_cart_barcode_opschonen: {
152159
+ Args: {
152160
+ p_portie?: number;
152161
+ };
152162
+ Returns: import("../integrations/supabase/types").Json;
152163
+ };
149763
152164
  logistics_cart_barcode_value: {
149764
152165
  Args: {
149765
152166
  _cart_id: string;
@@ -150179,6 +152580,13 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
150179
152580
  };
150180
152581
  Returns: import("../integrations/supabase/types").Json;
150181
152582
  };
152583
+ logistics_control_scan_print_own: {
152584
+ Args: {
152585
+ p_is_herprint?: boolean;
152586
+ p_scan_id: string;
152587
+ };
152588
+ Returns: import("../integrations/supabase/types").Json;
152589
+ };
150182
152590
  logistics_control_scan_retry: {
150183
152591
  Args: {
150184
152592
  _id: string;
@@ -151083,6 +153491,21 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
151083
153491
  };
151084
153492
  Returns: import("../integrations/supabase/types").Json;
151085
153493
  };
153494
+ logistics_print_via_layout: {
153495
+ Args: {
153496
+ _documentnaam: string;
153497
+ _documenttype: string;
153498
+ _herkomst: string;
153499
+ _idempotentie_sleutel: string;
153500
+ _is_herprint: boolean;
153501
+ _layout_id: string;
153502
+ _payload: import("../integrations/supabase/types").Json;
153503
+ _pdf_base64: string;
153504
+ _pdf_url: string;
153505
+ _print_plek_id: string;
153506
+ };
153507
+ Returns: import("../integrations/supabase/types").Json;
153508
+ };
151086
153509
  logistics_prune_buffer_member_queue: {
151087
153510
  Args: never;
151088
153511
  Returns: number;
@@ -151369,6 +153792,13 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
151369
153792
  };
151370
153793
  Returns: string;
151371
153794
  };
153795
+ logistics_shipping_note_status: {
153796
+ Args: {
153797
+ p_cart_id?: string;
153798
+ p_slip_job_id?: string;
153799
+ };
153800
+ Returns: import("../integrations/supabase/types").Json;
153801
+ };
151372
153802
  logistics_shipping_notes_wake_all: {
151373
153803
  Args: never;
151374
153804
  Returns: import("../integrations/supabase/types").Json;
@@ -151431,6 +153861,12 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
151431
153861
  };
151432
153862
  Returns: undefined;
151433
153863
  };
153864
+ logistics_slip_note_retry: {
153865
+ Args: {
153866
+ _id: string;
153867
+ };
153868
+ Returns: import("../integrations/supabase/types").Json;
153869
+ };
151434
153870
  logistics_sticker_follows_slip: {
151435
153871
  Args: never;
151436
153872
  Returns: boolean;
@@ -152175,6 +154611,10 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
152175
154611
  };
152176
154612
  Returns: string;
152177
154613
  };
154614
+ pick_is_reference_admin: {
154615
+ Args: never;
154616
+ Returns: boolean;
154617
+ };
152178
154618
  pick_mark_printed: {
152179
154619
  Args: {
152180
154620
  _queue_item_id: string;
@@ -153048,6 +155488,13 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
153048
155488
  };
153049
155489
  Returns: import("../integrations/supabase/types").Json;
153050
155490
  };
155491
+ scan_controleer_pincode: {
155492
+ Args: {
155493
+ p_pin: string;
155494
+ p_scanner_id: string;
155495
+ };
155496
+ Returns: boolean;
155497
+ };
153051
155498
  scan_dashboard_stats: {
153052
155499
  Args: {
153053
155500
  p_dagen?: number;
@@ -153067,6 +155514,12 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
153067
155514
  };
153068
155515
  Returns: import("../integrations/supabase/types").Json;
153069
155516
  };
155517
+ scan_heeft_pincode: {
155518
+ Args: {
155519
+ p_scanner_id: string;
155520
+ };
155521
+ Returns: boolean;
155522
+ };
153070
155523
  scan_kar_compleet: {
153071
155524
  Args: {
153072
155525
  p_allow_reprint?: boolean;
@@ -153084,6 +155537,7 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
153084
155537
  Args: {
153085
155538
  p_code: string;
153086
155539
  p_latency_ms?: number;
155540
+ p_medewerker?: string;
153087
155541
  p_message?: string;
153088
155542
  p_result: string;
153089
155543
  p_scanner_key?: string;
@@ -153156,6 +155610,22 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
153156
155610
  };
153157
155611
  Returns: undefined;
153158
155612
  };
155613
+ scan_scanner_info: {
155614
+ Args: {
155615
+ p_slug: string;
155616
+ };
155617
+ Returns: {
155618
+ actief: boolean;
155619
+ heeft_pincode: boolean;
155620
+ id: string;
155621
+ naam: string;
155622
+ omschrijving: string;
155623
+ printer_id: string;
155624
+ type: string;
155625
+ vereist_medewerker: boolean;
155626
+ werkplek: string;
155627
+ }[];
155628
+ };
153159
155629
  scan_sessie_annuleren: {
153160
155630
  Args: {
153161
155631
  p_sessie_id: string;
@@ -154118,6 +156588,21 @@ export declare const reorderCarriers: import("@tanstack/start-client-core").Requ
154118
156588
  };
154119
156589
  Returns: import("../integrations/supabase/types").Json;
154120
156590
  };
156591
+ wo_list_colleague_planning: {
156592
+ Args: {
156593
+ _from: string;
156594
+ _monteur_id: string;
156595
+ _to: string;
156596
+ };
156597
+ Returns: {
156598
+ end_at: string;
156599
+ id: string;
156600
+ role: string;
156601
+ start_at: string;
156602
+ status: string;
156603
+ werkbon_id: string;
156604
+ }[];
156605
+ };
154121
156606
  wo_list_offerte_requests: {
154122
156607
  Args: {
154123
156608
  _status?: string;