@flowselections/floriday-verkoop-module 1.0.65 → 1.0.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +513 -3
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.server.d.ts +513 -3
  4. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/types.d.ts +527 -3
  6. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  7. package/dist-lib/lib/buffer-events.functions.d.ts +513 -3
  8. package/dist-lib/lib/buffer-events.functions.d.ts.map +1 -1
  9. package/dist-lib/lib/cart-layers.functions.d.ts +2052 -12
  10. package/dist-lib/lib/cart-layers.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/cart-lock.functions.d.ts +513 -3
  12. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/cart-planning-settings.functions.d.ts +5643 -33
  14. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/cart-replan.functions.d.ts +1539 -9
  16. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/create-order.functions.d.ts +8721 -51
  18. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +1026 -6
  20. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/floriday-mirror.functions.d.ts +513 -3
  22. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/floriday-public.functions.d.ts +3591 -21
  24. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday-writes.functions.d.ts +1026 -6
  26. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/invoice-timing.functions.d.ts +2052 -12
  28. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/load-carriers.functions.d.ts +513 -3
  30. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/logistics-engine.functions.d.ts +2565 -15
  32. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/logistics-stock.functions.d.ts +1026 -6
  34. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/order-addresses.functions.d.ts +513 -3
  36. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/order-buffers.functions.d.ts +1026 -6
  38. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/order-carrier.functions.d.ts +1026 -6
  40. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/order-fulfill.functions.d.ts +513 -3
  42. package/dist-lib/lib/order-fulfill.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/order-item-packing.functions.d.ts +1539 -9
  44. package/dist-lib/lib/order-item-packing.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/order-pickup.functions.d.ts +1026 -6
  46. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  47. package/dist-lib/lib/order-shipments.functions.d.ts +2052 -12
  48. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/product-dimensions.functions.d.ts +1026 -6
  50. package/dist-lib/lib/product-dimensions.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/salesorders-list.functions.d.ts +1026 -6
  52. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  53. package/dist-lib/lib/salesorders.functions.d.ts +3078 -18
  54. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  55. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +1026 -6
  56. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  57. package/package.json +5 -5
@@ -746,6 +746,27 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
746
746
  };
747
747
  Relationships: [];
748
748
  };
749
+ artikelen_instellingen: {
750
+ Row: {
751
+ created_at: string;
752
+ id: number;
753
+ marge_procent: number;
754
+ updated_at: string;
755
+ };
756
+ Insert: {
757
+ created_at?: string;
758
+ id?: number;
759
+ marge_procent?: number;
760
+ updated_at?: string;
761
+ };
762
+ Update: {
763
+ created_at?: string;
764
+ id?: number;
765
+ marge_procent?: number;
766
+ updated_at?: string;
767
+ };
768
+ Relationships: [];
769
+ };
749
770
  artikelen_veldconfig: {
750
771
  Row: {
751
772
  bron_pad: string;
@@ -10421,6 +10442,30 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
10421
10442
  };
10422
10443
  Relationships: [];
10423
10444
  };
10445
+ logistics_cart_barcode_archief: {
10446
+ Row: {
10447
+ barcode: string;
10448
+ cart_id: string;
10449
+ created_at: string | null;
10450
+ gearchiveerd_op: string;
10451
+ order_id: string | null;
10452
+ };
10453
+ Insert: {
10454
+ barcode: string;
10455
+ cart_id: string;
10456
+ created_at?: string | null;
10457
+ gearchiveerd_op?: string;
10458
+ order_id?: string | null;
10459
+ };
10460
+ Update: {
10461
+ barcode?: string;
10462
+ cart_id?: string;
10463
+ created_at?: string | null;
10464
+ gearchiveerd_op?: string;
10465
+ order_id?: string | null;
10466
+ };
10467
+ Relationships: [];
10468
+ };
10424
10469
  logistics_control_scan: {
10425
10470
  Row: {
10426
10471
  approved_at: string | null;
@@ -16074,18 +16119,24 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
16074
16119
  Row: {
16075
16120
  id: boolean;
16076
16121
  last_cleanup_at: string | null;
16122
+ last_error: string | null;
16123
+ last_error_at: string | null;
16077
16124
  last_sync_at: string | null;
16078
16125
  updated_at: string;
16079
16126
  };
16080
16127
  Insert: {
16081
16128
  id?: boolean;
16082
16129
  last_cleanup_at?: string | null;
16130
+ last_error?: string | null;
16131
+ last_error_at?: string | null;
16083
16132
  last_sync_at?: string | null;
16084
16133
  updated_at?: string;
16085
16134
  };
16086
16135
  Update: {
16087
16136
  id?: boolean;
16088
16137
  last_cleanup_at?: string | null;
16138
+ last_error?: string | null;
16139
+ last_error_at?: string | null;
16089
16140
  last_sync_at?: string | null;
16090
16141
  updated_at?: string;
16091
16142
  };
@@ -16211,6 +16262,54 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
16211
16262
  };
16212
16263
  Relationships: [];
16213
16264
  };
16265
+ planning_confirmation_log: {
16266
+ Row: {
16267
+ created_at: string;
16268
+ end_at: string;
16269
+ id: string;
16270
+ outbox_id: string | null;
16271
+ planning_item_id: string;
16272
+ reason: string | null;
16273
+ recipient: string | null;
16274
+ start_at: string;
16275
+ status: string;
16276
+ };
16277
+ Insert: {
16278
+ created_at?: string;
16279
+ end_at: string;
16280
+ id?: string;
16281
+ outbox_id?: string | null;
16282
+ planning_item_id: string;
16283
+ reason?: string | null;
16284
+ recipient?: string | null;
16285
+ start_at: string;
16286
+ status: string;
16287
+ };
16288
+ Update: {
16289
+ created_at?: string;
16290
+ end_at?: string;
16291
+ id?: string;
16292
+ outbox_id?: string | null;
16293
+ planning_item_id?: string;
16294
+ reason?: string | null;
16295
+ recipient?: string | null;
16296
+ start_at?: string;
16297
+ status?: string;
16298
+ };
16299
+ Relationships: [{
16300
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16301
+ columns: ["planning_item_id"];
16302
+ isOneToOne: false;
16303
+ referencedRelation: "planning_items";
16304
+ referencedColumns: ["id"];
16305
+ }, {
16306
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16307
+ columns: ["planning_item_id"];
16308
+ isOneToOne: false;
16309
+ referencedRelation: "planning_overview";
16310
+ referencedColumns: ["id"];
16311
+ }];
16312
+ };
16214
16313
  planning_item_assistants: {
16215
16314
  Row: {
16216
16315
  created_at: string;
@@ -16295,6 +16394,60 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
16295
16394
  referencedColumns: ["id"];
16296
16395
  }];
16297
16396
  };
16397
+ planning_mail_settings: {
16398
+ Row: {
16399
+ body_template: string;
16400
+ cc: string[];
16401
+ connection_id: string | null;
16402
+ created_at: string;
16403
+ enabled: boolean;
16404
+ id: boolean;
16405
+ reply_to: string | null;
16406
+ subject_template: string;
16407
+ timezone: string;
16408
+ updated_at: string;
16409
+ updated_by: string | null;
16410
+ };
16411
+ Insert: {
16412
+ body_template?: string;
16413
+ cc?: string[];
16414
+ connection_id?: string | null;
16415
+ created_at?: string;
16416
+ enabled?: boolean;
16417
+ id?: boolean;
16418
+ reply_to?: string | null;
16419
+ subject_template?: string;
16420
+ timezone?: string;
16421
+ updated_at?: string;
16422
+ updated_by?: string | null;
16423
+ };
16424
+ Update: {
16425
+ body_template?: string;
16426
+ cc?: string[];
16427
+ connection_id?: string | null;
16428
+ created_at?: string;
16429
+ enabled?: boolean;
16430
+ id?: boolean;
16431
+ reply_to?: string | null;
16432
+ subject_template?: string;
16433
+ timezone?: string;
16434
+ updated_at?: string;
16435
+ updated_by?: string | null;
16436
+ };
16437
+ Relationships: [{
16438
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16439
+ columns: ["connection_id"];
16440
+ isOneToOne: false;
16441
+ referencedRelation: "email_auth_connections";
16442
+ referencedColumns: ["id"];
16443
+ }, {
16444
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16445
+ columns: ["connection_id"];
16446
+ isOneToOne: false;
16447
+ referencedRelation: "email_auth_connections_safe";
16448
+ referencedColumns: ["id"];
16449
+ }];
16450
+ };
16298
16451
  planning_monteur_day_locations: {
16299
16452
  Row: {
16300
16453
  created_at: string;
@@ -17773,6 +17926,9 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
17773
17926
  lead_time_days: number | null;
17774
17927
  min_order_quantity: number | null;
17775
17928
  notes: string | null;
17929
+ previous_price_cents: number | null;
17930
+ price_source: string;
17931
+ price_updated_at: string | null;
17776
17932
  product_id: string;
17777
17933
  purchase_price_cents: number | null;
17778
17934
  supplier_article_number: string | null;
@@ -17786,6 +17942,9 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
17786
17942
  lead_time_days?: number | null;
17787
17943
  min_order_quantity?: number | null;
17788
17944
  notes?: string | null;
17945
+ previous_price_cents?: number | null;
17946
+ price_source?: string;
17947
+ price_updated_at?: string | null;
17789
17948
  product_id: string;
17790
17949
  purchase_price_cents?: number | null;
17791
17950
  supplier_article_number?: string | null;
@@ -17799,6 +17958,9 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
17799
17958
  lead_time_days?: number | null;
17800
17959
  min_order_quantity?: number | null;
17801
17960
  notes?: string | null;
17961
+ previous_price_cents?: number | null;
17962
+ price_source?: string;
17963
+ price_updated_at?: string | null;
17802
17964
  product_id?: string;
17803
17965
  purchase_price_cents?: number | null;
17804
17966
  supplier_article_number?: string | null;
@@ -18329,9 +18491,13 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
18329
18491
  purchase_order_items: {
18330
18492
  Row: {
18331
18493
  article_number: string | null;
18494
+ cancel_reason: string | null;
18495
+ cancelled_at: string | null;
18332
18496
  created_at: string;
18333
18497
  delivery_date: string | null;
18334
18498
  id: string;
18499
+ incoming_booked: number;
18500
+ line_status: string;
18335
18501
  name: string;
18336
18502
  note: string | null;
18337
18503
  pot_size: string | null;
@@ -18339,6 +18505,8 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
18339
18505
  product_type: string;
18340
18506
  purchase_order_id: string;
18341
18507
  quantity: number;
18508
+ received_at: string | null;
18509
+ received_booked: number;
18342
18510
  supplier_id: string | null;
18343
18511
  supplier_product_id: string | null;
18344
18512
  unit_price_cents: number;
@@ -18346,9 +18514,13 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
18346
18514
  };
18347
18515
  Insert: {
18348
18516
  article_number?: string | null;
18517
+ cancel_reason?: string | null;
18518
+ cancelled_at?: string | null;
18349
18519
  created_at?: string;
18350
18520
  delivery_date?: string | null;
18351
18521
  id?: string;
18522
+ incoming_booked?: number;
18523
+ line_status?: string;
18352
18524
  name?: string;
18353
18525
  note?: string | null;
18354
18526
  pot_size?: string | null;
@@ -18356,6 +18528,8 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
18356
18528
  product_type?: string;
18357
18529
  purchase_order_id: string;
18358
18530
  quantity?: number;
18531
+ received_at?: string | null;
18532
+ received_booked?: number;
18359
18533
  supplier_id?: string | null;
18360
18534
  supplier_product_id?: string | null;
18361
18535
  unit_price_cents?: number;
@@ -18363,9 +18537,13 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
18363
18537
  };
18364
18538
  Update: {
18365
18539
  article_number?: string | null;
18540
+ cancel_reason?: string | null;
18541
+ cancelled_at?: string | null;
18366
18542
  created_at?: string;
18367
18543
  delivery_date?: string | null;
18368
18544
  id?: string;
18545
+ incoming_booked?: number;
18546
+ line_status?: string;
18369
18547
  name?: string;
18370
18548
  note?: string | null;
18371
18549
  pot_size?: string | null;
@@ -18373,6 +18551,8 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
18373
18551
  product_type?: string;
18374
18552
  purchase_order_id?: string;
18375
18553
  quantity?: number;
18554
+ received_at?: string | null;
18555
+ received_booked?: number;
18376
18556
  supplier_id?: string | null;
18377
18557
  supplier_product_id?: string | null;
18378
18558
  unit_price_cents?: number;
@@ -18476,6 +18656,153 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
18476
18656
  referencedColumns: ["id"];
18477
18657
  }];
18478
18658
  };
18659
+ purchase_request_events: {
18660
+ Row: {
18661
+ created_at: string;
18662
+ details: import("../integrations/supabase/types").Json | null;
18663
+ event_type: string;
18664
+ id: string;
18665
+ request_id: string;
18666
+ };
18667
+ Insert: {
18668
+ created_at?: string;
18669
+ details?: import("../integrations/supabase/types").Json | null;
18670
+ event_type: string;
18671
+ id?: string;
18672
+ request_id: string;
18673
+ };
18674
+ Update: {
18675
+ created_at?: string;
18676
+ details?: import("../integrations/supabase/types").Json | null;
18677
+ event_type?: string;
18678
+ id?: string;
18679
+ request_id?: string;
18680
+ };
18681
+ Relationships: [{
18682
+ foreignKeyName: "purchase_request_events_request_id_fkey";
18683
+ columns: ["request_id"];
18684
+ isOneToOne: false;
18685
+ referencedRelation: "purchase_requests";
18686
+ referencedColumns: ["id"];
18687
+ }];
18688
+ };
18689
+ purchase_request_responses: {
18690
+ Row: {
18691
+ confirmed_date: string | null;
18692
+ confirmed_price_cents: number | null;
18693
+ confirmed_quantity: number;
18694
+ created_at: string;
18695
+ id: string;
18696
+ not_available: boolean;
18697
+ note: string | null;
18698
+ purchase_order_item_id: string;
18699
+ request_id: string;
18700
+ updated_at: string;
18701
+ };
18702
+ Insert: {
18703
+ confirmed_date?: string | null;
18704
+ confirmed_price_cents?: number | null;
18705
+ confirmed_quantity?: number;
18706
+ created_at?: string;
18707
+ id?: string;
18708
+ not_available?: boolean;
18709
+ note?: string | null;
18710
+ purchase_order_item_id: string;
18711
+ request_id: string;
18712
+ updated_at?: string;
18713
+ };
18714
+ Update: {
18715
+ confirmed_date?: string | null;
18716
+ confirmed_price_cents?: number | null;
18717
+ confirmed_quantity?: number;
18718
+ created_at?: string;
18719
+ id?: string;
18720
+ not_available?: boolean;
18721
+ note?: string | null;
18722
+ purchase_order_item_id?: string;
18723
+ request_id?: string;
18724
+ updated_at?: string;
18725
+ };
18726
+ Relationships: [{
18727
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
18728
+ columns: ["purchase_order_item_id"];
18729
+ isOneToOne: false;
18730
+ referencedRelation: "purchase_order_items";
18731
+ referencedColumns: ["id"];
18732
+ }, {
18733
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
18734
+ columns: ["request_id"];
18735
+ isOneToOne: false;
18736
+ referencedRelation: "purchase_requests";
18737
+ referencedColumns: ["id"];
18738
+ }];
18739
+ };
18740
+ purchase_requests: {
18741
+ Row: {
18742
+ created_at: string;
18743
+ expires_at: string;
18744
+ first_viewed_at: string | null;
18745
+ id: string;
18746
+ processed_at: string | null;
18747
+ purchase_order_id: string;
18748
+ responded_at: string | null;
18749
+ sent_at: string;
18750
+ status: string;
18751
+ supplier_id: string | null;
18752
+ supplier_name: string;
18753
+ supplier_note: string | null;
18754
+ to_address: string | null;
18755
+ token_hash: string;
18756
+ updated_at: string;
18757
+ };
18758
+ Insert: {
18759
+ created_at?: string;
18760
+ expires_at?: string;
18761
+ first_viewed_at?: string | null;
18762
+ id?: string;
18763
+ processed_at?: string | null;
18764
+ purchase_order_id: string;
18765
+ responded_at?: string | null;
18766
+ sent_at?: string;
18767
+ status?: string;
18768
+ supplier_id?: string | null;
18769
+ supplier_name?: string;
18770
+ supplier_note?: string | null;
18771
+ to_address?: string | null;
18772
+ token_hash: string;
18773
+ updated_at?: string;
18774
+ };
18775
+ Update: {
18776
+ created_at?: string;
18777
+ expires_at?: string;
18778
+ first_viewed_at?: string | null;
18779
+ id?: string;
18780
+ processed_at?: string | null;
18781
+ purchase_order_id?: string;
18782
+ responded_at?: string | null;
18783
+ sent_at?: string;
18784
+ status?: string;
18785
+ supplier_id?: string | null;
18786
+ supplier_name?: string;
18787
+ supplier_note?: string | null;
18788
+ to_address?: string | null;
18789
+ token_hash?: string;
18790
+ updated_at?: string;
18791
+ };
18792
+ Relationships: [{
18793
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
18794
+ columns: ["purchase_order_id"];
18795
+ isOneToOne: false;
18796
+ referencedRelation: "purchase_orders";
18797
+ referencedColumns: ["id"];
18798
+ }, {
18799
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
18800
+ columns: ["supplier_id"];
18801
+ isOneToOne: false;
18802
+ referencedRelation: "suppliers";
18803
+ referencedColumns: ["id"];
18804
+ }];
18805
+ };
18479
18806
  reception_notifications: {
18480
18807
  Row: {
18481
18808
  booking_id: string | null;
@@ -22901,7 +23228,7 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
22901
23228
  created_at: string;
22902
23229
  default_quantity: number;
22903
23230
  description: string | null;
22904
- duration_minutes: number | null;
23231
+ duration_minutes: number;
22905
23232
  id: string;
22906
23233
  mandaat_type: string | null;
22907
23234
  name: string;
@@ -22918,7 +23245,7 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
22918
23245
  created_at?: string;
22919
23246
  default_quantity?: number;
22920
23247
  description?: string | null;
22921
- duration_minutes?: number | null;
23248
+ duration_minutes?: number;
22922
23249
  id?: string;
22923
23250
  mandaat_type?: string | null;
22924
23251
  name: string;
@@ -22935,7 +23262,7 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
22935
23262
  created_at?: string;
22936
23263
  default_quantity?: number;
22937
23264
  description?: string | null;
22938
- duration_minutes?: number | null;
23265
+ duration_minutes?: number;
22939
23266
  id?: string;
22940
23267
  mandaat_type?: string | null;
22941
23268
  name?: string;
@@ -25931,6 +26258,31 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
25931
26258
  };
25932
26259
  Returns: import("../integrations/supabase/types").Json;
25933
26260
  };
26261
+ inkoop_cancel_line: {
26262
+ Args: {
26263
+ _item_id: string;
26264
+ _reason: string;
26265
+ };
26266
+ Returns: string;
26267
+ };
26268
+ inkoop_get_supplier_request: {
26269
+ Args: {
26270
+ _token: string;
26271
+ };
26272
+ Returns: import("../integrations/supabase/types").Json;
26273
+ };
26274
+ inkoop_hash_token: {
26275
+ Args: {
26276
+ _token: string;
26277
+ };
26278
+ Returns: string;
26279
+ };
26280
+ inkoop_html_escape: {
26281
+ Args: {
26282
+ _t: string;
26283
+ };
26284
+ Returns: string;
26285
+ };
25934
26286
  inkoop_list_artikelen: {
25935
26287
  Args: never;
25936
26288
  Returns: {
@@ -25955,9 +26307,17 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
25955
26307
  Args: never;
25956
26308
  Returns: string;
25957
26309
  };
26310
+ inkoop_process_request: {
26311
+ Args: {
26312
+ _request_id: string;
26313
+ };
26314
+ Returns: undefined;
26315
+ };
25958
26316
  inkoop_send_order: {
25959
26317
  Args: {
26318
+ _base_url?: string;
25960
26319
  _order_id: string;
26320
+ _resend?: boolean;
25961
26321
  };
25962
26322
  Returns: {
25963
26323
  outbox_id: string;
@@ -25972,6 +26332,26 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
25972
26332
  };
25973
26333
  Returns: undefined;
25974
26334
  };
26335
+ inkoop_stock_key: {
26336
+ Args: {
26337
+ p_product_id: string;
26338
+ };
26339
+ Returns: string;
26340
+ };
26341
+ inkoop_submit_supplier_response: {
26342
+ Args: {
26343
+ _lines: import("../integrations/supabase/types").Json;
26344
+ _note?: string;
26345
+ _token: string;
26346
+ };
26347
+ Returns: import("../integrations/supabase/types").Json;
26348
+ };
26349
+ inkoop_sync_item_stock: {
26350
+ Args: {
26351
+ p_item_id: string;
26352
+ };
26353
+ Returns: undefined;
26354
+ };
25975
26355
  instructie_get: {
25976
26356
  Args: {
25977
26357
  _sleutel: string;
@@ -26132,6 +26512,27 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
26132
26512
  };
26133
26513
  Returns: boolean;
26134
26514
  };
26515
+ layout_print_document: {
26516
+ Args: {
26517
+ _documentnaam: string;
26518
+ _documenttype: string;
26519
+ _herkomst?: string;
26520
+ _idempotentie_sleutel?: string;
26521
+ _is_herprint?: boolean;
26522
+ _kopieen?: number;
26523
+ _layout_id?: string;
26524
+ _payload?: import("../integrations/supabase/types").Json;
26525
+ _pdf_base64?: string;
26526
+ _pdf_url?: string;
26527
+ _print_plek_id?: string;
26528
+ _werkplek?: string;
26529
+ };
26530
+ Returns: {
26531
+ bestaand: boolean;
26532
+ job_id: string;
26533
+ printer_id: string;
26534
+ }[];
26535
+ };
26135
26536
  list_medewerkers: {
26136
26537
  Args: never;
26137
26538
  Returns: {
@@ -26409,6 +26810,12 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
26409
26810
  };
26410
26811
  Returns: number;
26411
26812
  };
26813
+ logistics_cart_barcode_opschonen: {
26814
+ Args: {
26815
+ p_portie?: number;
26816
+ };
26817
+ Returns: import("../integrations/supabase/types").Json;
26818
+ };
26412
26819
  logistics_cart_barcode_value: {
26413
26820
  Args: {
26414
26821
  _cart_id: string;
@@ -26828,6 +27235,13 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
26828
27235
  };
26829
27236
  Returns: import("../integrations/supabase/types").Json;
26830
27237
  };
27238
+ logistics_control_scan_print_own: {
27239
+ Args: {
27240
+ p_is_herprint?: boolean;
27241
+ p_scan_id: string;
27242
+ };
27243
+ Returns: import("../integrations/supabase/types").Json;
27244
+ };
26831
27245
  logistics_control_scan_retry: {
26832
27246
  Args: {
26833
27247
  _id: string;
@@ -27732,6 +28146,21 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
27732
28146
  };
27733
28147
  Returns: import("../integrations/supabase/types").Json;
27734
28148
  };
28149
+ logistics_print_via_layout: {
28150
+ Args: {
28151
+ _documentnaam: string;
28152
+ _documenttype: string;
28153
+ _herkomst: string;
28154
+ _idempotentie_sleutel: string;
28155
+ _is_herprint: boolean;
28156
+ _layout_id: string;
28157
+ _payload: import("../integrations/supabase/types").Json;
28158
+ _pdf_base64: string;
28159
+ _pdf_url: string;
28160
+ _print_plek_id: string;
28161
+ };
28162
+ Returns: import("../integrations/supabase/types").Json;
28163
+ };
27735
28164
  logistics_prune_buffer_member_queue: {
27736
28165
  Args: never;
27737
28166
  Returns: number;
@@ -28018,6 +28447,13 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
28018
28447
  };
28019
28448
  Returns: string;
28020
28449
  };
28450
+ logistics_shipping_note_status: {
28451
+ Args: {
28452
+ p_cart_id?: string;
28453
+ p_slip_job_id?: string;
28454
+ };
28455
+ Returns: import("../integrations/supabase/types").Json;
28456
+ };
28021
28457
  logistics_shipping_notes_wake_all: {
28022
28458
  Args: never;
28023
28459
  Returns: import("../integrations/supabase/types").Json;
@@ -28080,6 +28516,12 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
28080
28516
  };
28081
28517
  Returns: undefined;
28082
28518
  };
28519
+ logistics_slip_note_retry: {
28520
+ Args: {
28521
+ _id: string;
28522
+ };
28523
+ Returns: import("../integrations/supabase/types").Json;
28524
+ };
28083
28525
  logistics_sticker_follows_slip: {
28084
28526
  Args: never;
28085
28527
  Returns: boolean;
@@ -28824,6 +29266,10 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
28824
29266
  };
28825
29267
  Returns: string;
28826
29268
  };
29269
+ pick_is_reference_admin: {
29270
+ Args: never;
29271
+ Returns: boolean;
29272
+ };
28827
29273
  pick_mark_printed: {
28828
29274
  Args: {
28829
29275
  _queue_item_id: string;
@@ -29247,6 +29693,12 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
29247
29693
  };
29248
29694
  Returns: import("../integrations/supabase/types").Json;
29249
29695
  };
29696
+ pick_verify_rows: {
29697
+ Args: {
29698
+ _rows: import("../integrations/supabase/types").Json;
29699
+ };
29700
+ Returns: import("../integrations/supabase/types").Json;
29701
+ };
29250
29702
  pickstation_get_orders_raw: {
29251
29703
  Args: never;
29252
29704
  Returns: import("../integrations/supabase/types").Json;
@@ -29427,6 +29879,12 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
29427
29879
  };
29428
29880
  Returns: import("../integrations/supabase/types").Json;
29429
29881
  };
29882
+ quote_create_from_scratch: {
29883
+ Args: {
29884
+ _payload: import("../integrations/supabase/types").Json;
29885
+ };
29886
+ Returns: import("../integrations/supabase/types").Json;
29887
+ };
29430
29888
  quote_create_from_source: {
29431
29889
  Args: {
29432
29890
  _payload?: import("../integrations/supabase/types").Json;
@@ -29477,6 +29935,13 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
29477
29935
  };
29478
29936
  Returns: string;
29479
29937
  };
29938
+ quote_sync_work_order: {
29939
+ Args: {
29940
+ _monteur_instructies?: string;
29941
+ _offerte_id: string;
29942
+ };
29943
+ Returns: boolean;
29944
+ };
29480
29945
  recompute_all_reserved_stock: {
29481
29946
  Args: never;
29482
29947
  Returns: undefined;
@@ -29697,6 +30162,13 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
29697
30162
  };
29698
30163
  Returns: import("../integrations/supabase/types").Json;
29699
30164
  };
30165
+ scan_controleer_pincode: {
30166
+ Args: {
30167
+ p_pin: string;
30168
+ p_scanner_id: string;
30169
+ };
30170
+ Returns: boolean;
30171
+ };
29700
30172
  scan_dashboard_stats: {
29701
30173
  Args: {
29702
30174
  p_dagen?: number;
@@ -29716,6 +30188,12 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
29716
30188
  };
29717
30189
  Returns: import("../integrations/supabase/types").Json;
29718
30190
  };
30191
+ scan_heeft_pincode: {
30192
+ Args: {
30193
+ p_scanner_id: string;
30194
+ };
30195
+ Returns: boolean;
30196
+ };
29719
30197
  scan_kar_compleet: {
29720
30198
  Args: {
29721
30199
  p_allow_reprint?: boolean;
@@ -29733,6 +30211,7 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
29733
30211
  Args: {
29734
30212
  p_code: string;
29735
30213
  p_latency_ms?: number;
30214
+ p_medewerker?: string;
29736
30215
  p_message?: string;
29737
30216
  p_result: string;
29738
30217
  p_scanner_key?: string;
@@ -29805,6 +30284,22 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
29805
30284
  };
29806
30285
  Returns: undefined;
29807
30286
  };
30287
+ scan_scanner_info: {
30288
+ Args: {
30289
+ p_slug: string;
30290
+ };
30291
+ Returns: {
30292
+ actief: boolean;
30293
+ heeft_pincode: boolean;
30294
+ id: string;
30295
+ naam: string;
30296
+ omschrijving: string;
30297
+ printer_id: string;
30298
+ type: string;
30299
+ vereist_medewerker: boolean;
30300
+ werkplek: string;
30301
+ }[];
30302
+ };
29808
30303
  scan_sessie_annuleren: {
29809
30304
  Args: {
29810
30305
  p_sessie_id: string;
@@ -30767,6 +31262,21 @@ export declare const listProductDimensions: import("@tanstack/start-client-core"
30767
31262
  };
30768
31263
  Returns: import("../integrations/supabase/types").Json;
30769
31264
  };
31265
+ wo_list_colleague_planning: {
31266
+ Args: {
31267
+ _from: string;
31268
+ _monteur_id: string;
31269
+ _to: string;
31270
+ };
31271
+ Returns: {
31272
+ end_at: string;
31273
+ id: string;
31274
+ role: string;
31275
+ start_at: string;
31276
+ status: string;
31277
+ werkbon_id: string;
31278
+ }[];
31279
+ };
30770
31280
  wo_list_offerte_requests: {
30771
31281
  Args: {
30772
31282
  _status?: string;
@@ -31579,6 +32089,27 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
31579
32089
  };
31580
32090
  Relationships: [];
31581
32091
  };
32092
+ artikelen_instellingen: {
32093
+ Row: {
32094
+ created_at: string;
32095
+ id: number;
32096
+ marge_procent: number;
32097
+ updated_at: string;
32098
+ };
32099
+ Insert: {
32100
+ created_at?: string;
32101
+ id?: number;
32102
+ marge_procent?: number;
32103
+ updated_at?: string;
32104
+ };
32105
+ Update: {
32106
+ created_at?: string;
32107
+ id?: number;
32108
+ marge_procent?: number;
32109
+ updated_at?: string;
32110
+ };
32111
+ Relationships: [];
32112
+ };
31582
32113
  artikelen_veldconfig: {
31583
32114
  Row: {
31584
32115
  bron_pad: string;
@@ -41254,6 +41785,30 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
41254
41785
  };
41255
41786
  Relationships: [];
41256
41787
  };
41788
+ logistics_cart_barcode_archief: {
41789
+ Row: {
41790
+ barcode: string;
41791
+ cart_id: string;
41792
+ created_at: string | null;
41793
+ gearchiveerd_op: string;
41794
+ order_id: string | null;
41795
+ };
41796
+ Insert: {
41797
+ barcode: string;
41798
+ cart_id: string;
41799
+ created_at?: string | null;
41800
+ gearchiveerd_op?: string;
41801
+ order_id?: string | null;
41802
+ };
41803
+ Update: {
41804
+ barcode?: string;
41805
+ cart_id?: string;
41806
+ created_at?: string | null;
41807
+ gearchiveerd_op?: string;
41808
+ order_id?: string | null;
41809
+ };
41810
+ Relationships: [];
41811
+ };
41257
41812
  logistics_control_scan: {
41258
41813
  Row: {
41259
41814
  approved_at: string | null;
@@ -46907,18 +47462,24 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
46907
47462
  Row: {
46908
47463
  id: boolean;
46909
47464
  last_cleanup_at: string | null;
47465
+ last_error: string | null;
47466
+ last_error_at: string | null;
46910
47467
  last_sync_at: string | null;
46911
47468
  updated_at: string;
46912
47469
  };
46913
47470
  Insert: {
46914
47471
  id?: boolean;
46915
47472
  last_cleanup_at?: string | null;
47473
+ last_error?: string | null;
47474
+ last_error_at?: string | null;
46916
47475
  last_sync_at?: string | null;
46917
47476
  updated_at?: string;
46918
47477
  };
46919
47478
  Update: {
46920
47479
  id?: boolean;
46921
47480
  last_cleanup_at?: string | null;
47481
+ last_error?: string | null;
47482
+ last_error_at?: string | null;
46922
47483
  last_sync_at?: string | null;
46923
47484
  updated_at?: string;
46924
47485
  };
@@ -47044,6 +47605,54 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
47044
47605
  };
47045
47606
  Relationships: [];
47046
47607
  };
47608
+ planning_confirmation_log: {
47609
+ Row: {
47610
+ created_at: string;
47611
+ end_at: string;
47612
+ id: string;
47613
+ outbox_id: string | null;
47614
+ planning_item_id: string;
47615
+ reason: string | null;
47616
+ recipient: string | null;
47617
+ start_at: string;
47618
+ status: string;
47619
+ };
47620
+ Insert: {
47621
+ created_at?: string;
47622
+ end_at: string;
47623
+ id?: string;
47624
+ outbox_id?: string | null;
47625
+ planning_item_id: string;
47626
+ reason?: string | null;
47627
+ recipient?: string | null;
47628
+ start_at: string;
47629
+ status: string;
47630
+ };
47631
+ Update: {
47632
+ created_at?: string;
47633
+ end_at?: string;
47634
+ id?: string;
47635
+ outbox_id?: string | null;
47636
+ planning_item_id?: string;
47637
+ reason?: string | null;
47638
+ recipient?: string | null;
47639
+ start_at?: string;
47640
+ status?: string;
47641
+ };
47642
+ Relationships: [{
47643
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
47644
+ columns: ["planning_item_id"];
47645
+ isOneToOne: false;
47646
+ referencedRelation: "planning_items";
47647
+ referencedColumns: ["id"];
47648
+ }, {
47649
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
47650
+ columns: ["planning_item_id"];
47651
+ isOneToOne: false;
47652
+ referencedRelation: "planning_overview";
47653
+ referencedColumns: ["id"];
47654
+ }];
47655
+ };
47047
47656
  planning_item_assistants: {
47048
47657
  Row: {
47049
47658
  created_at: string;
@@ -47128,6 +47737,60 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
47128
47737
  referencedColumns: ["id"];
47129
47738
  }];
47130
47739
  };
47740
+ planning_mail_settings: {
47741
+ Row: {
47742
+ body_template: string;
47743
+ cc: string[];
47744
+ connection_id: string | null;
47745
+ created_at: string;
47746
+ enabled: boolean;
47747
+ id: boolean;
47748
+ reply_to: string | null;
47749
+ subject_template: string;
47750
+ timezone: string;
47751
+ updated_at: string;
47752
+ updated_by: string | null;
47753
+ };
47754
+ Insert: {
47755
+ body_template?: string;
47756
+ cc?: string[];
47757
+ connection_id?: string | null;
47758
+ created_at?: string;
47759
+ enabled?: boolean;
47760
+ id?: boolean;
47761
+ reply_to?: string | null;
47762
+ subject_template?: string;
47763
+ timezone?: string;
47764
+ updated_at?: string;
47765
+ updated_by?: string | null;
47766
+ };
47767
+ Update: {
47768
+ body_template?: string;
47769
+ cc?: string[];
47770
+ connection_id?: string | null;
47771
+ created_at?: string;
47772
+ enabled?: boolean;
47773
+ id?: boolean;
47774
+ reply_to?: string | null;
47775
+ subject_template?: string;
47776
+ timezone?: string;
47777
+ updated_at?: string;
47778
+ updated_by?: string | null;
47779
+ };
47780
+ Relationships: [{
47781
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
47782
+ columns: ["connection_id"];
47783
+ isOneToOne: false;
47784
+ referencedRelation: "email_auth_connections";
47785
+ referencedColumns: ["id"];
47786
+ }, {
47787
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
47788
+ columns: ["connection_id"];
47789
+ isOneToOne: false;
47790
+ referencedRelation: "email_auth_connections_safe";
47791
+ referencedColumns: ["id"];
47792
+ }];
47793
+ };
47131
47794
  planning_monteur_day_locations: {
47132
47795
  Row: {
47133
47796
  created_at: string;
@@ -48606,6 +49269,9 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
48606
49269
  lead_time_days: number | null;
48607
49270
  min_order_quantity: number | null;
48608
49271
  notes: string | null;
49272
+ previous_price_cents: number | null;
49273
+ price_source: string;
49274
+ price_updated_at: string | null;
48609
49275
  product_id: string;
48610
49276
  purchase_price_cents: number | null;
48611
49277
  supplier_article_number: string | null;
@@ -48619,6 +49285,9 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
48619
49285
  lead_time_days?: number | null;
48620
49286
  min_order_quantity?: number | null;
48621
49287
  notes?: string | null;
49288
+ previous_price_cents?: number | null;
49289
+ price_source?: string;
49290
+ price_updated_at?: string | null;
48622
49291
  product_id: string;
48623
49292
  purchase_price_cents?: number | null;
48624
49293
  supplier_article_number?: string | null;
@@ -48632,6 +49301,9 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
48632
49301
  lead_time_days?: number | null;
48633
49302
  min_order_quantity?: number | null;
48634
49303
  notes?: string | null;
49304
+ previous_price_cents?: number | null;
49305
+ price_source?: string;
49306
+ price_updated_at?: string | null;
48635
49307
  product_id?: string;
48636
49308
  purchase_price_cents?: number | null;
48637
49309
  supplier_article_number?: string | null;
@@ -49162,9 +49834,13 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
49162
49834
  purchase_order_items: {
49163
49835
  Row: {
49164
49836
  article_number: string | null;
49837
+ cancel_reason: string | null;
49838
+ cancelled_at: string | null;
49165
49839
  created_at: string;
49166
49840
  delivery_date: string | null;
49167
49841
  id: string;
49842
+ incoming_booked: number;
49843
+ line_status: string;
49168
49844
  name: string;
49169
49845
  note: string | null;
49170
49846
  pot_size: string | null;
@@ -49172,6 +49848,8 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
49172
49848
  product_type: string;
49173
49849
  purchase_order_id: string;
49174
49850
  quantity: number;
49851
+ received_at: string | null;
49852
+ received_booked: number;
49175
49853
  supplier_id: string | null;
49176
49854
  supplier_product_id: string | null;
49177
49855
  unit_price_cents: number;
@@ -49179,9 +49857,13 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
49179
49857
  };
49180
49858
  Insert: {
49181
49859
  article_number?: string | null;
49860
+ cancel_reason?: string | null;
49861
+ cancelled_at?: string | null;
49182
49862
  created_at?: string;
49183
49863
  delivery_date?: string | null;
49184
49864
  id?: string;
49865
+ incoming_booked?: number;
49866
+ line_status?: string;
49185
49867
  name?: string;
49186
49868
  note?: string | null;
49187
49869
  pot_size?: string | null;
@@ -49189,6 +49871,8 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
49189
49871
  product_type?: string;
49190
49872
  purchase_order_id: string;
49191
49873
  quantity?: number;
49874
+ received_at?: string | null;
49875
+ received_booked?: number;
49192
49876
  supplier_id?: string | null;
49193
49877
  supplier_product_id?: string | null;
49194
49878
  unit_price_cents?: number;
@@ -49196,9 +49880,13 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
49196
49880
  };
49197
49881
  Update: {
49198
49882
  article_number?: string | null;
49883
+ cancel_reason?: string | null;
49884
+ cancelled_at?: string | null;
49199
49885
  created_at?: string;
49200
49886
  delivery_date?: string | null;
49201
49887
  id?: string;
49888
+ incoming_booked?: number;
49889
+ line_status?: string;
49202
49890
  name?: string;
49203
49891
  note?: string | null;
49204
49892
  pot_size?: string | null;
@@ -49206,6 +49894,8 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
49206
49894
  product_type?: string;
49207
49895
  purchase_order_id?: string;
49208
49896
  quantity?: number;
49897
+ received_at?: string | null;
49898
+ received_booked?: number;
49209
49899
  supplier_id?: string | null;
49210
49900
  supplier_product_id?: string | null;
49211
49901
  unit_price_cents?: number;
@@ -49309,6 +49999,153 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
49309
49999
  referencedColumns: ["id"];
49310
50000
  }];
49311
50001
  };
50002
+ purchase_request_events: {
50003
+ Row: {
50004
+ created_at: string;
50005
+ details: import("../integrations/supabase/types").Json | null;
50006
+ event_type: string;
50007
+ id: string;
50008
+ request_id: string;
50009
+ };
50010
+ Insert: {
50011
+ created_at?: string;
50012
+ details?: import("../integrations/supabase/types").Json | null;
50013
+ event_type: string;
50014
+ id?: string;
50015
+ request_id: string;
50016
+ };
50017
+ Update: {
50018
+ created_at?: string;
50019
+ details?: import("../integrations/supabase/types").Json | null;
50020
+ event_type?: string;
50021
+ id?: string;
50022
+ request_id?: string;
50023
+ };
50024
+ Relationships: [{
50025
+ foreignKeyName: "purchase_request_events_request_id_fkey";
50026
+ columns: ["request_id"];
50027
+ isOneToOne: false;
50028
+ referencedRelation: "purchase_requests";
50029
+ referencedColumns: ["id"];
50030
+ }];
50031
+ };
50032
+ purchase_request_responses: {
50033
+ Row: {
50034
+ confirmed_date: string | null;
50035
+ confirmed_price_cents: number | null;
50036
+ confirmed_quantity: number;
50037
+ created_at: string;
50038
+ id: string;
50039
+ not_available: boolean;
50040
+ note: string | null;
50041
+ purchase_order_item_id: string;
50042
+ request_id: string;
50043
+ updated_at: string;
50044
+ };
50045
+ Insert: {
50046
+ confirmed_date?: string | null;
50047
+ confirmed_price_cents?: number | null;
50048
+ confirmed_quantity?: number;
50049
+ created_at?: string;
50050
+ id?: string;
50051
+ not_available?: boolean;
50052
+ note?: string | null;
50053
+ purchase_order_item_id: string;
50054
+ request_id: string;
50055
+ updated_at?: string;
50056
+ };
50057
+ Update: {
50058
+ confirmed_date?: string | null;
50059
+ confirmed_price_cents?: number | null;
50060
+ confirmed_quantity?: number;
50061
+ created_at?: string;
50062
+ id?: string;
50063
+ not_available?: boolean;
50064
+ note?: string | null;
50065
+ purchase_order_item_id?: string;
50066
+ request_id?: string;
50067
+ updated_at?: string;
50068
+ };
50069
+ Relationships: [{
50070
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
50071
+ columns: ["purchase_order_item_id"];
50072
+ isOneToOne: false;
50073
+ referencedRelation: "purchase_order_items";
50074
+ referencedColumns: ["id"];
50075
+ }, {
50076
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
50077
+ columns: ["request_id"];
50078
+ isOneToOne: false;
50079
+ referencedRelation: "purchase_requests";
50080
+ referencedColumns: ["id"];
50081
+ }];
50082
+ };
50083
+ purchase_requests: {
50084
+ Row: {
50085
+ created_at: string;
50086
+ expires_at: string;
50087
+ first_viewed_at: string | null;
50088
+ id: string;
50089
+ processed_at: string | null;
50090
+ purchase_order_id: string;
50091
+ responded_at: string | null;
50092
+ sent_at: string;
50093
+ status: string;
50094
+ supplier_id: string | null;
50095
+ supplier_name: string;
50096
+ supplier_note: string | null;
50097
+ to_address: string | null;
50098
+ token_hash: string;
50099
+ updated_at: string;
50100
+ };
50101
+ Insert: {
50102
+ created_at?: string;
50103
+ expires_at?: string;
50104
+ first_viewed_at?: string | null;
50105
+ id?: string;
50106
+ processed_at?: string | null;
50107
+ purchase_order_id: string;
50108
+ responded_at?: string | null;
50109
+ sent_at?: string;
50110
+ status?: string;
50111
+ supplier_id?: string | null;
50112
+ supplier_name?: string;
50113
+ supplier_note?: string | null;
50114
+ to_address?: string | null;
50115
+ token_hash: string;
50116
+ updated_at?: string;
50117
+ };
50118
+ Update: {
50119
+ created_at?: string;
50120
+ expires_at?: string;
50121
+ first_viewed_at?: string | null;
50122
+ id?: string;
50123
+ processed_at?: string | null;
50124
+ purchase_order_id?: string;
50125
+ responded_at?: string | null;
50126
+ sent_at?: string;
50127
+ status?: string;
50128
+ supplier_id?: string | null;
50129
+ supplier_name?: string;
50130
+ supplier_note?: string | null;
50131
+ to_address?: string | null;
50132
+ token_hash?: string;
50133
+ updated_at?: string;
50134
+ };
50135
+ Relationships: [{
50136
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
50137
+ columns: ["purchase_order_id"];
50138
+ isOneToOne: false;
50139
+ referencedRelation: "purchase_orders";
50140
+ referencedColumns: ["id"];
50141
+ }, {
50142
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
50143
+ columns: ["supplier_id"];
50144
+ isOneToOne: false;
50145
+ referencedRelation: "suppliers";
50146
+ referencedColumns: ["id"];
50147
+ }];
50148
+ };
49312
50149
  reception_notifications: {
49313
50150
  Row: {
49314
50151
  booking_id: string | null;
@@ -53734,7 +54571,7 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
53734
54571
  created_at: string;
53735
54572
  default_quantity: number;
53736
54573
  description: string | null;
53737
- duration_minutes: number | null;
54574
+ duration_minutes: number;
53738
54575
  id: string;
53739
54576
  mandaat_type: string | null;
53740
54577
  name: string;
@@ -53751,7 +54588,7 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
53751
54588
  created_at?: string;
53752
54589
  default_quantity?: number;
53753
54590
  description?: string | null;
53754
- duration_minutes?: number | null;
54591
+ duration_minutes?: number;
53755
54592
  id?: string;
53756
54593
  mandaat_type?: string | null;
53757
54594
  name: string;
@@ -53768,7 +54605,7 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
53768
54605
  created_at?: string;
53769
54606
  default_quantity?: number;
53770
54607
  description?: string | null;
53771
- duration_minutes?: number | null;
54608
+ duration_minutes?: number;
53772
54609
  id?: string;
53773
54610
  mandaat_type?: string | null;
53774
54611
  name?: string;
@@ -56764,6 +57601,31 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
56764
57601
  };
56765
57602
  Returns: import("../integrations/supabase/types").Json;
56766
57603
  };
57604
+ inkoop_cancel_line: {
57605
+ Args: {
57606
+ _item_id: string;
57607
+ _reason: string;
57608
+ };
57609
+ Returns: string;
57610
+ };
57611
+ inkoop_get_supplier_request: {
57612
+ Args: {
57613
+ _token: string;
57614
+ };
57615
+ Returns: import("../integrations/supabase/types").Json;
57616
+ };
57617
+ inkoop_hash_token: {
57618
+ Args: {
57619
+ _token: string;
57620
+ };
57621
+ Returns: string;
57622
+ };
57623
+ inkoop_html_escape: {
57624
+ Args: {
57625
+ _t: string;
57626
+ };
57627
+ Returns: string;
57628
+ };
56767
57629
  inkoop_list_artikelen: {
56768
57630
  Args: never;
56769
57631
  Returns: {
@@ -56788,9 +57650,17 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
56788
57650
  Args: never;
56789
57651
  Returns: string;
56790
57652
  };
57653
+ inkoop_process_request: {
57654
+ Args: {
57655
+ _request_id: string;
57656
+ };
57657
+ Returns: undefined;
57658
+ };
56791
57659
  inkoop_send_order: {
56792
57660
  Args: {
57661
+ _base_url?: string;
56793
57662
  _order_id: string;
57663
+ _resend?: boolean;
56794
57664
  };
56795
57665
  Returns: {
56796
57666
  outbox_id: string;
@@ -56805,6 +57675,26 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
56805
57675
  };
56806
57676
  Returns: undefined;
56807
57677
  };
57678
+ inkoop_stock_key: {
57679
+ Args: {
57680
+ p_product_id: string;
57681
+ };
57682
+ Returns: string;
57683
+ };
57684
+ inkoop_submit_supplier_response: {
57685
+ Args: {
57686
+ _lines: import("../integrations/supabase/types").Json;
57687
+ _note?: string;
57688
+ _token: string;
57689
+ };
57690
+ Returns: import("../integrations/supabase/types").Json;
57691
+ };
57692
+ inkoop_sync_item_stock: {
57693
+ Args: {
57694
+ p_item_id: string;
57695
+ };
57696
+ Returns: undefined;
57697
+ };
56808
57698
  instructie_get: {
56809
57699
  Args: {
56810
57700
  _sleutel: string;
@@ -56965,6 +57855,27 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
56965
57855
  };
56966
57856
  Returns: boolean;
56967
57857
  };
57858
+ layout_print_document: {
57859
+ Args: {
57860
+ _documentnaam: string;
57861
+ _documenttype: string;
57862
+ _herkomst?: string;
57863
+ _idempotentie_sleutel?: string;
57864
+ _is_herprint?: boolean;
57865
+ _kopieen?: number;
57866
+ _layout_id?: string;
57867
+ _payload?: import("../integrations/supabase/types").Json;
57868
+ _pdf_base64?: string;
57869
+ _pdf_url?: string;
57870
+ _print_plek_id?: string;
57871
+ _werkplek?: string;
57872
+ };
57873
+ Returns: {
57874
+ bestaand: boolean;
57875
+ job_id: string;
57876
+ printer_id: string;
57877
+ }[];
57878
+ };
56968
57879
  list_medewerkers: {
56969
57880
  Args: never;
56970
57881
  Returns: {
@@ -57242,6 +58153,12 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
57242
58153
  };
57243
58154
  Returns: number;
57244
58155
  };
58156
+ logistics_cart_barcode_opschonen: {
58157
+ Args: {
58158
+ p_portie?: number;
58159
+ };
58160
+ Returns: import("../integrations/supabase/types").Json;
58161
+ };
57245
58162
  logistics_cart_barcode_value: {
57246
58163
  Args: {
57247
58164
  _cart_id: string;
@@ -57661,6 +58578,13 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
57661
58578
  };
57662
58579
  Returns: import("../integrations/supabase/types").Json;
57663
58580
  };
58581
+ logistics_control_scan_print_own: {
58582
+ Args: {
58583
+ p_is_herprint?: boolean;
58584
+ p_scan_id: string;
58585
+ };
58586
+ Returns: import("../integrations/supabase/types").Json;
58587
+ };
57664
58588
  logistics_control_scan_retry: {
57665
58589
  Args: {
57666
58590
  _id: string;
@@ -58565,6 +59489,21 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
58565
59489
  };
58566
59490
  Returns: import("../integrations/supabase/types").Json;
58567
59491
  };
59492
+ logistics_print_via_layout: {
59493
+ Args: {
59494
+ _documentnaam: string;
59495
+ _documenttype: string;
59496
+ _herkomst: string;
59497
+ _idempotentie_sleutel: string;
59498
+ _is_herprint: boolean;
59499
+ _layout_id: string;
59500
+ _payload: import("../integrations/supabase/types").Json;
59501
+ _pdf_base64: string;
59502
+ _pdf_url: string;
59503
+ _print_plek_id: string;
59504
+ };
59505
+ Returns: import("../integrations/supabase/types").Json;
59506
+ };
58568
59507
  logistics_prune_buffer_member_queue: {
58569
59508
  Args: never;
58570
59509
  Returns: number;
@@ -58851,6 +59790,13 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
58851
59790
  };
58852
59791
  Returns: string;
58853
59792
  };
59793
+ logistics_shipping_note_status: {
59794
+ Args: {
59795
+ p_cart_id?: string;
59796
+ p_slip_job_id?: string;
59797
+ };
59798
+ Returns: import("../integrations/supabase/types").Json;
59799
+ };
58854
59800
  logistics_shipping_notes_wake_all: {
58855
59801
  Args: never;
58856
59802
  Returns: import("../integrations/supabase/types").Json;
@@ -58913,6 +59859,12 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
58913
59859
  };
58914
59860
  Returns: undefined;
58915
59861
  };
59862
+ logistics_slip_note_retry: {
59863
+ Args: {
59864
+ _id: string;
59865
+ };
59866
+ Returns: import("../integrations/supabase/types").Json;
59867
+ };
58916
59868
  logistics_sticker_follows_slip: {
58917
59869
  Args: never;
58918
59870
  Returns: boolean;
@@ -59657,6 +60609,10 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
59657
60609
  };
59658
60610
  Returns: string;
59659
60611
  };
60612
+ pick_is_reference_admin: {
60613
+ Args: never;
60614
+ Returns: boolean;
60615
+ };
59660
60616
  pick_mark_printed: {
59661
60617
  Args: {
59662
60618
  _queue_item_id: string;
@@ -60080,6 +61036,12 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
60080
61036
  };
60081
61037
  Returns: import("../integrations/supabase/types").Json;
60082
61038
  };
61039
+ pick_verify_rows: {
61040
+ Args: {
61041
+ _rows: import("../integrations/supabase/types").Json;
61042
+ };
61043
+ Returns: import("../integrations/supabase/types").Json;
61044
+ };
60083
61045
  pickstation_get_orders_raw: {
60084
61046
  Args: never;
60085
61047
  Returns: import("../integrations/supabase/types").Json;
@@ -60260,6 +61222,12 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
60260
61222
  };
60261
61223
  Returns: import("../integrations/supabase/types").Json;
60262
61224
  };
61225
+ quote_create_from_scratch: {
61226
+ Args: {
61227
+ _payload: import("../integrations/supabase/types").Json;
61228
+ };
61229
+ Returns: import("../integrations/supabase/types").Json;
61230
+ };
60263
61231
  quote_create_from_source: {
60264
61232
  Args: {
60265
61233
  _payload?: import("../integrations/supabase/types").Json;
@@ -60310,6 +61278,13 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
60310
61278
  };
60311
61279
  Returns: string;
60312
61280
  };
61281
+ quote_sync_work_order: {
61282
+ Args: {
61283
+ _monteur_instructies?: string;
61284
+ _offerte_id: string;
61285
+ };
61286
+ Returns: boolean;
61287
+ };
60313
61288
  recompute_all_reserved_stock: {
60314
61289
  Args: never;
60315
61290
  Returns: undefined;
@@ -60530,6 +61505,13 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
60530
61505
  };
60531
61506
  Returns: import("../integrations/supabase/types").Json;
60532
61507
  };
61508
+ scan_controleer_pincode: {
61509
+ Args: {
61510
+ p_pin: string;
61511
+ p_scanner_id: string;
61512
+ };
61513
+ Returns: boolean;
61514
+ };
60533
61515
  scan_dashboard_stats: {
60534
61516
  Args: {
60535
61517
  p_dagen?: number;
@@ -60549,6 +61531,12 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
60549
61531
  };
60550
61532
  Returns: import("../integrations/supabase/types").Json;
60551
61533
  };
61534
+ scan_heeft_pincode: {
61535
+ Args: {
61536
+ p_scanner_id: string;
61537
+ };
61538
+ Returns: boolean;
61539
+ };
60552
61540
  scan_kar_compleet: {
60553
61541
  Args: {
60554
61542
  p_allow_reprint?: boolean;
@@ -60566,6 +61554,7 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
60566
61554
  Args: {
60567
61555
  p_code: string;
60568
61556
  p_latency_ms?: number;
61557
+ p_medewerker?: string;
60569
61558
  p_message?: string;
60570
61559
  p_result: string;
60571
61560
  p_scanner_key?: string;
@@ -60638,6 +61627,22 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
60638
61627
  };
60639
61628
  Returns: undefined;
60640
61629
  };
61630
+ scan_scanner_info: {
61631
+ Args: {
61632
+ p_slug: string;
61633
+ };
61634
+ Returns: {
61635
+ actief: boolean;
61636
+ heeft_pincode: boolean;
61637
+ id: string;
61638
+ naam: string;
61639
+ omschrijving: string;
61640
+ printer_id: string;
61641
+ type: string;
61642
+ vereist_medewerker: boolean;
61643
+ werkplek: string;
61644
+ }[];
61645
+ };
60641
61646
  scan_sessie_annuleren: {
60642
61647
  Args: {
60643
61648
  p_sessie_id: string;
@@ -61600,6 +62605,21 @@ export declare const saveProductDimensions: import("@tanstack/start-client-core"
61600
62605
  };
61601
62606
  Returns: import("../integrations/supabase/types").Json;
61602
62607
  };
62608
+ wo_list_colleague_planning: {
62609
+ Args: {
62610
+ _from: string;
62611
+ _monteur_id: string;
62612
+ _to: string;
62613
+ };
62614
+ Returns: {
62615
+ end_at: string;
62616
+ id: string;
62617
+ role: string;
62618
+ start_at: string;
62619
+ status: string;
62620
+ werkbon_id: string;
62621
+ }[];
62622
+ };
61603
62623
  wo_list_offerte_requests: {
61604
62624
  Args: {
61605
62625
  _status?: string;