@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
@@ -748,6 +748,27 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
748
748
  };
749
749
  Relationships: [];
750
750
  };
751
+ artikelen_instellingen: {
752
+ Row: {
753
+ created_at: string;
754
+ id: number;
755
+ marge_procent: number;
756
+ updated_at: string;
757
+ };
758
+ Insert: {
759
+ created_at?: string;
760
+ id?: number;
761
+ marge_procent?: number;
762
+ updated_at?: string;
763
+ };
764
+ Update: {
765
+ created_at?: string;
766
+ id?: number;
767
+ marge_procent?: number;
768
+ updated_at?: string;
769
+ };
770
+ Relationships: [];
771
+ };
751
772
  artikelen_veldconfig: {
752
773
  Row: {
753
774
  bron_pad: string;
@@ -10423,6 +10444,30 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
10423
10444
  };
10424
10445
  Relationships: [];
10425
10446
  };
10447
+ logistics_cart_barcode_archief: {
10448
+ Row: {
10449
+ barcode: string;
10450
+ cart_id: string;
10451
+ created_at: string | null;
10452
+ gearchiveerd_op: string;
10453
+ order_id: string | null;
10454
+ };
10455
+ Insert: {
10456
+ barcode: string;
10457
+ cart_id: string;
10458
+ created_at?: string | null;
10459
+ gearchiveerd_op?: string;
10460
+ order_id?: string | null;
10461
+ };
10462
+ Update: {
10463
+ barcode?: string;
10464
+ cart_id?: string;
10465
+ created_at?: string | null;
10466
+ gearchiveerd_op?: string;
10467
+ order_id?: string | null;
10468
+ };
10469
+ Relationships: [];
10470
+ };
10426
10471
  logistics_control_scan: {
10427
10472
  Row: {
10428
10473
  approved_at: string | null;
@@ -16076,18 +16121,24 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
16076
16121
  Row: {
16077
16122
  id: boolean;
16078
16123
  last_cleanup_at: string | null;
16124
+ last_error: string | null;
16125
+ last_error_at: string | null;
16079
16126
  last_sync_at: string | null;
16080
16127
  updated_at: string;
16081
16128
  };
16082
16129
  Insert: {
16083
16130
  id?: boolean;
16084
16131
  last_cleanup_at?: string | null;
16132
+ last_error?: string | null;
16133
+ last_error_at?: string | null;
16085
16134
  last_sync_at?: string | null;
16086
16135
  updated_at?: string;
16087
16136
  };
16088
16137
  Update: {
16089
16138
  id?: boolean;
16090
16139
  last_cleanup_at?: string | null;
16140
+ last_error?: string | null;
16141
+ last_error_at?: string | null;
16091
16142
  last_sync_at?: string | null;
16092
16143
  updated_at?: string;
16093
16144
  };
@@ -16213,6 +16264,54 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
16213
16264
  };
16214
16265
  Relationships: [];
16215
16266
  };
16267
+ planning_confirmation_log: {
16268
+ Row: {
16269
+ created_at: string;
16270
+ end_at: string;
16271
+ id: string;
16272
+ outbox_id: string | null;
16273
+ planning_item_id: string;
16274
+ reason: string | null;
16275
+ recipient: string | null;
16276
+ start_at: string;
16277
+ status: string;
16278
+ };
16279
+ Insert: {
16280
+ created_at?: string;
16281
+ end_at: string;
16282
+ id?: string;
16283
+ outbox_id?: string | null;
16284
+ planning_item_id: string;
16285
+ reason?: string | null;
16286
+ recipient?: string | null;
16287
+ start_at: string;
16288
+ status: string;
16289
+ };
16290
+ Update: {
16291
+ created_at?: string;
16292
+ end_at?: string;
16293
+ id?: string;
16294
+ outbox_id?: string | null;
16295
+ planning_item_id?: string;
16296
+ reason?: string | null;
16297
+ recipient?: string | null;
16298
+ start_at?: string;
16299
+ status?: string;
16300
+ };
16301
+ Relationships: [{
16302
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16303
+ columns: ["planning_item_id"];
16304
+ isOneToOne: false;
16305
+ referencedRelation: "planning_items";
16306
+ referencedColumns: ["id"];
16307
+ }, {
16308
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16309
+ columns: ["planning_item_id"];
16310
+ isOneToOne: false;
16311
+ referencedRelation: "planning_overview";
16312
+ referencedColumns: ["id"];
16313
+ }];
16314
+ };
16216
16315
  planning_item_assistants: {
16217
16316
  Row: {
16218
16317
  created_at: string;
@@ -16297,6 +16396,60 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
16297
16396
  referencedColumns: ["id"];
16298
16397
  }];
16299
16398
  };
16399
+ planning_mail_settings: {
16400
+ Row: {
16401
+ body_template: string;
16402
+ cc: string[];
16403
+ connection_id: string | null;
16404
+ created_at: string;
16405
+ enabled: boolean;
16406
+ id: boolean;
16407
+ reply_to: string | null;
16408
+ subject_template: string;
16409
+ timezone: string;
16410
+ updated_at: string;
16411
+ updated_by: string | null;
16412
+ };
16413
+ Insert: {
16414
+ body_template?: string;
16415
+ cc?: string[];
16416
+ connection_id?: string | null;
16417
+ created_at?: string;
16418
+ enabled?: boolean;
16419
+ id?: boolean;
16420
+ reply_to?: string | null;
16421
+ subject_template?: string;
16422
+ timezone?: string;
16423
+ updated_at?: string;
16424
+ updated_by?: string | null;
16425
+ };
16426
+ Update: {
16427
+ body_template?: string;
16428
+ cc?: string[];
16429
+ connection_id?: string | null;
16430
+ created_at?: string;
16431
+ enabled?: boolean;
16432
+ id?: boolean;
16433
+ reply_to?: string | null;
16434
+ subject_template?: string;
16435
+ timezone?: string;
16436
+ updated_at?: string;
16437
+ updated_by?: string | null;
16438
+ };
16439
+ Relationships: [{
16440
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16441
+ columns: ["connection_id"];
16442
+ isOneToOne: false;
16443
+ referencedRelation: "email_auth_connections";
16444
+ referencedColumns: ["id"];
16445
+ }, {
16446
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16447
+ columns: ["connection_id"];
16448
+ isOneToOne: false;
16449
+ referencedRelation: "email_auth_connections_safe";
16450
+ referencedColumns: ["id"];
16451
+ }];
16452
+ };
16300
16453
  planning_monteur_day_locations: {
16301
16454
  Row: {
16302
16455
  created_at: string;
@@ -17775,6 +17928,9 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
17775
17928
  lead_time_days: number | null;
17776
17929
  min_order_quantity: number | null;
17777
17930
  notes: string | null;
17931
+ previous_price_cents: number | null;
17932
+ price_source: string;
17933
+ price_updated_at: string | null;
17778
17934
  product_id: string;
17779
17935
  purchase_price_cents: number | null;
17780
17936
  supplier_article_number: string | null;
@@ -17788,6 +17944,9 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
17788
17944
  lead_time_days?: number | null;
17789
17945
  min_order_quantity?: number | null;
17790
17946
  notes?: string | null;
17947
+ previous_price_cents?: number | null;
17948
+ price_source?: string;
17949
+ price_updated_at?: string | null;
17791
17950
  product_id: string;
17792
17951
  purchase_price_cents?: number | null;
17793
17952
  supplier_article_number?: string | null;
@@ -17801,6 +17960,9 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
17801
17960
  lead_time_days?: number | null;
17802
17961
  min_order_quantity?: number | null;
17803
17962
  notes?: string | null;
17963
+ previous_price_cents?: number | null;
17964
+ price_source?: string;
17965
+ price_updated_at?: string | null;
17804
17966
  product_id?: string;
17805
17967
  purchase_price_cents?: number | null;
17806
17968
  supplier_article_number?: string | null;
@@ -18331,9 +18493,13 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
18331
18493
  purchase_order_items: {
18332
18494
  Row: {
18333
18495
  article_number: string | null;
18496
+ cancel_reason: string | null;
18497
+ cancelled_at: string | null;
18334
18498
  created_at: string;
18335
18499
  delivery_date: string | null;
18336
18500
  id: string;
18501
+ incoming_booked: number;
18502
+ line_status: string;
18337
18503
  name: string;
18338
18504
  note: string | null;
18339
18505
  pot_size: string | null;
@@ -18341,6 +18507,8 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
18341
18507
  product_type: string;
18342
18508
  purchase_order_id: string;
18343
18509
  quantity: number;
18510
+ received_at: string | null;
18511
+ received_booked: number;
18344
18512
  supplier_id: string | null;
18345
18513
  supplier_product_id: string | null;
18346
18514
  unit_price_cents: number;
@@ -18348,9 +18516,13 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
18348
18516
  };
18349
18517
  Insert: {
18350
18518
  article_number?: string | null;
18519
+ cancel_reason?: string | null;
18520
+ cancelled_at?: string | null;
18351
18521
  created_at?: string;
18352
18522
  delivery_date?: string | null;
18353
18523
  id?: string;
18524
+ incoming_booked?: number;
18525
+ line_status?: string;
18354
18526
  name?: string;
18355
18527
  note?: string | null;
18356
18528
  pot_size?: string | null;
@@ -18358,6 +18530,8 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
18358
18530
  product_type?: string;
18359
18531
  purchase_order_id: string;
18360
18532
  quantity?: number;
18533
+ received_at?: string | null;
18534
+ received_booked?: number;
18361
18535
  supplier_id?: string | null;
18362
18536
  supplier_product_id?: string | null;
18363
18537
  unit_price_cents?: number;
@@ -18365,9 +18539,13 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
18365
18539
  };
18366
18540
  Update: {
18367
18541
  article_number?: string | null;
18542
+ cancel_reason?: string | null;
18543
+ cancelled_at?: string | null;
18368
18544
  created_at?: string;
18369
18545
  delivery_date?: string | null;
18370
18546
  id?: string;
18547
+ incoming_booked?: number;
18548
+ line_status?: string;
18371
18549
  name?: string;
18372
18550
  note?: string | null;
18373
18551
  pot_size?: string | null;
@@ -18375,6 +18553,8 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
18375
18553
  product_type?: string;
18376
18554
  purchase_order_id?: string;
18377
18555
  quantity?: number;
18556
+ received_at?: string | null;
18557
+ received_booked?: number;
18378
18558
  supplier_id?: string | null;
18379
18559
  supplier_product_id?: string | null;
18380
18560
  unit_price_cents?: number;
@@ -18478,6 +18658,153 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
18478
18658
  referencedColumns: ["id"];
18479
18659
  }];
18480
18660
  };
18661
+ purchase_request_events: {
18662
+ Row: {
18663
+ created_at: string;
18664
+ details: import("../integrations/supabase/types").Json | null;
18665
+ event_type: string;
18666
+ id: string;
18667
+ request_id: string;
18668
+ };
18669
+ Insert: {
18670
+ created_at?: string;
18671
+ details?: import("../integrations/supabase/types").Json | null;
18672
+ event_type: string;
18673
+ id?: string;
18674
+ request_id: string;
18675
+ };
18676
+ Update: {
18677
+ created_at?: string;
18678
+ details?: import("../integrations/supabase/types").Json | null;
18679
+ event_type?: string;
18680
+ id?: string;
18681
+ request_id?: string;
18682
+ };
18683
+ Relationships: [{
18684
+ foreignKeyName: "purchase_request_events_request_id_fkey";
18685
+ columns: ["request_id"];
18686
+ isOneToOne: false;
18687
+ referencedRelation: "purchase_requests";
18688
+ referencedColumns: ["id"];
18689
+ }];
18690
+ };
18691
+ purchase_request_responses: {
18692
+ Row: {
18693
+ confirmed_date: string | null;
18694
+ confirmed_price_cents: number | null;
18695
+ confirmed_quantity: number;
18696
+ created_at: string;
18697
+ id: string;
18698
+ not_available: boolean;
18699
+ note: string | null;
18700
+ purchase_order_item_id: string;
18701
+ request_id: string;
18702
+ updated_at: string;
18703
+ };
18704
+ Insert: {
18705
+ confirmed_date?: string | null;
18706
+ confirmed_price_cents?: number | null;
18707
+ confirmed_quantity?: number;
18708
+ created_at?: string;
18709
+ id?: string;
18710
+ not_available?: boolean;
18711
+ note?: string | null;
18712
+ purchase_order_item_id: string;
18713
+ request_id: string;
18714
+ updated_at?: string;
18715
+ };
18716
+ Update: {
18717
+ confirmed_date?: string | null;
18718
+ confirmed_price_cents?: number | null;
18719
+ confirmed_quantity?: number;
18720
+ created_at?: string;
18721
+ id?: string;
18722
+ not_available?: boolean;
18723
+ note?: string | null;
18724
+ purchase_order_item_id?: string;
18725
+ request_id?: string;
18726
+ updated_at?: string;
18727
+ };
18728
+ Relationships: [{
18729
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
18730
+ columns: ["purchase_order_item_id"];
18731
+ isOneToOne: false;
18732
+ referencedRelation: "purchase_order_items";
18733
+ referencedColumns: ["id"];
18734
+ }, {
18735
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
18736
+ columns: ["request_id"];
18737
+ isOneToOne: false;
18738
+ referencedRelation: "purchase_requests";
18739
+ referencedColumns: ["id"];
18740
+ }];
18741
+ };
18742
+ purchase_requests: {
18743
+ Row: {
18744
+ created_at: string;
18745
+ expires_at: string;
18746
+ first_viewed_at: string | null;
18747
+ id: string;
18748
+ processed_at: string | null;
18749
+ purchase_order_id: string;
18750
+ responded_at: string | null;
18751
+ sent_at: string;
18752
+ status: string;
18753
+ supplier_id: string | null;
18754
+ supplier_name: string;
18755
+ supplier_note: string | null;
18756
+ to_address: string | null;
18757
+ token_hash: string;
18758
+ updated_at: string;
18759
+ };
18760
+ Insert: {
18761
+ created_at?: string;
18762
+ expires_at?: string;
18763
+ first_viewed_at?: string | null;
18764
+ id?: string;
18765
+ processed_at?: string | null;
18766
+ purchase_order_id: string;
18767
+ responded_at?: string | null;
18768
+ sent_at?: string;
18769
+ status?: string;
18770
+ supplier_id?: string | null;
18771
+ supplier_name?: string;
18772
+ supplier_note?: string | null;
18773
+ to_address?: string | null;
18774
+ token_hash: string;
18775
+ updated_at?: string;
18776
+ };
18777
+ Update: {
18778
+ created_at?: string;
18779
+ expires_at?: string;
18780
+ first_viewed_at?: string | null;
18781
+ id?: string;
18782
+ processed_at?: string | null;
18783
+ purchase_order_id?: string;
18784
+ responded_at?: string | null;
18785
+ sent_at?: string;
18786
+ status?: string;
18787
+ supplier_id?: string | null;
18788
+ supplier_name?: string;
18789
+ supplier_note?: string | null;
18790
+ to_address?: string | null;
18791
+ token_hash?: string;
18792
+ updated_at?: string;
18793
+ };
18794
+ Relationships: [{
18795
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
18796
+ columns: ["purchase_order_id"];
18797
+ isOneToOne: false;
18798
+ referencedRelation: "purchase_orders";
18799
+ referencedColumns: ["id"];
18800
+ }, {
18801
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
18802
+ columns: ["supplier_id"];
18803
+ isOneToOne: false;
18804
+ referencedRelation: "suppliers";
18805
+ referencedColumns: ["id"];
18806
+ }];
18807
+ };
18481
18808
  reception_notifications: {
18482
18809
  Row: {
18483
18810
  booking_id: string | null;
@@ -22903,7 +23230,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
22903
23230
  created_at: string;
22904
23231
  default_quantity: number;
22905
23232
  description: string | null;
22906
- duration_minutes: number | null;
23233
+ duration_minutes: number;
22907
23234
  id: string;
22908
23235
  mandaat_type: string | null;
22909
23236
  name: string;
@@ -22920,7 +23247,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
22920
23247
  created_at?: string;
22921
23248
  default_quantity?: number;
22922
23249
  description?: string | null;
22923
- duration_minutes?: number | null;
23250
+ duration_minutes?: number;
22924
23251
  id?: string;
22925
23252
  mandaat_type?: string | null;
22926
23253
  name: string;
@@ -22937,7 +23264,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
22937
23264
  created_at?: string;
22938
23265
  default_quantity?: number;
22939
23266
  description?: string | null;
22940
- duration_minutes?: number | null;
23267
+ duration_minutes?: number;
22941
23268
  id?: string;
22942
23269
  mandaat_type?: string | null;
22943
23270
  name?: string;
@@ -25933,6 +26260,31 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
25933
26260
  };
25934
26261
  Returns: import("../integrations/supabase/types").Json;
25935
26262
  };
26263
+ inkoop_cancel_line: {
26264
+ Args: {
26265
+ _item_id: string;
26266
+ _reason: string;
26267
+ };
26268
+ Returns: string;
26269
+ };
26270
+ inkoop_get_supplier_request: {
26271
+ Args: {
26272
+ _token: string;
26273
+ };
26274
+ Returns: import("../integrations/supabase/types").Json;
26275
+ };
26276
+ inkoop_hash_token: {
26277
+ Args: {
26278
+ _token: string;
26279
+ };
26280
+ Returns: string;
26281
+ };
26282
+ inkoop_html_escape: {
26283
+ Args: {
26284
+ _t: string;
26285
+ };
26286
+ Returns: string;
26287
+ };
25936
26288
  inkoop_list_artikelen: {
25937
26289
  Args: never;
25938
26290
  Returns: {
@@ -25957,9 +26309,17 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
25957
26309
  Args: never;
25958
26310
  Returns: string;
25959
26311
  };
26312
+ inkoop_process_request: {
26313
+ Args: {
26314
+ _request_id: string;
26315
+ };
26316
+ Returns: undefined;
26317
+ };
25960
26318
  inkoop_send_order: {
25961
26319
  Args: {
26320
+ _base_url?: string;
25962
26321
  _order_id: string;
26322
+ _resend?: boolean;
25963
26323
  };
25964
26324
  Returns: {
25965
26325
  outbox_id: string;
@@ -25974,6 +26334,26 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
25974
26334
  };
25975
26335
  Returns: undefined;
25976
26336
  };
26337
+ inkoop_stock_key: {
26338
+ Args: {
26339
+ p_product_id: string;
26340
+ };
26341
+ Returns: string;
26342
+ };
26343
+ inkoop_submit_supplier_response: {
26344
+ Args: {
26345
+ _lines: import("../integrations/supabase/types").Json;
26346
+ _note?: string;
26347
+ _token: string;
26348
+ };
26349
+ Returns: import("../integrations/supabase/types").Json;
26350
+ };
26351
+ inkoop_sync_item_stock: {
26352
+ Args: {
26353
+ p_item_id: string;
26354
+ };
26355
+ Returns: undefined;
26356
+ };
25977
26357
  instructie_get: {
25978
26358
  Args: {
25979
26359
  _sleutel: string;
@@ -26134,6 +26514,27 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
26134
26514
  };
26135
26515
  Returns: boolean;
26136
26516
  };
26517
+ layout_print_document: {
26518
+ Args: {
26519
+ _documentnaam: string;
26520
+ _documenttype: string;
26521
+ _herkomst?: string;
26522
+ _idempotentie_sleutel?: string;
26523
+ _is_herprint?: boolean;
26524
+ _kopieen?: number;
26525
+ _layout_id?: string;
26526
+ _payload?: import("../integrations/supabase/types").Json;
26527
+ _pdf_base64?: string;
26528
+ _pdf_url?: string;
26529
+ _print_plek_id?: string;
26530
+ _werkplek?: string;
26531
+ };
26532
+ Returns: {
26533
+ bestaand: boolean;
26534
+ job_id: string;
26535
+ printer_id: string;
26536
+ }[];
26537
+ };
26137
26538
  list_medewerkers: {
26138
26539
  Args: never;
26139
26540
  Returns: {
@@ -26411,6 +26812,12 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
26411
26812
  };
26412
26813
  Returns: number;
26413
26814
  };
26815
+ logistics_cart_barcode_opschonen: {
26816
+ Args: {
26817
+ p_portie?: number;
26818
+ };
26819
+ Returns: import("../integrations/supabase/types").Json;
26820
+ };
26414
26821
  logistics_cart_barcode_value: {
26415
26822
  Args: {
26416
26823
  _cart_id: string;
@@ -26830,6 +27237,13 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
26830
27237
  };
26831
27238
  Returns: import("../integrations/supabase/types").Json;
26832
27239
  };
27240
+ logistics_control_scan_print_own: {
27241
+ Args: {
27242
+ p_is_herprint?: boolean;
27243
+ p_scan_id: string;
27244
+ };
27245
+ Returns: import("../integrations/supabase/types").Json;
27246
+ };
26833
27247
  logistics_control_scan_retry: {
26834
27248
  Args: {
26835
27249
  _id: string;
@@ -27734,6 +28148,21 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
27734
28148
  };
27735
28149
  Returns: import("../integrations/supabase/types").Json;
27736
28150
  };
28151
+ logistics_print_via_layout: {
28152
+ Args: {
28153
+ _documentnaam: string;
28154
+ _documenttype: string;
28155
+ _herkomst: string;
28156
+ _idempotentie_sleutel: string;
28157
+ _is_herprint: boolean;
28158
+ _layout_id: string;
28159
+ _payload: import("../integrations/supabase/types").Json;
28160
+ _pdf_base64: string;
28161
+ _pdf_url: string;
28162
+ _print_plek_id: string;
28163
+ };
28164
+ Returns: import("../integrations/supabase/types").Json;
28165
+ };
27737
28166
  logistics_prune_buffer_member_queue: {
27738
28167
  Args: never;
27739
28168
  Returns: number;
@@ -28020,6 +28449,13 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
28020
28449
  };
28021
28450
  Returns: string;
28022
28451
  };
28452
+ logistics_shipping_note_status: {
28453
+ Args: {
28454
+ p_cart_id?: string;
28455
+ p_slip_job_id?: string;
28456
+ };
28457
+ Returns: import("../integrations/supabase/types").Json;
28458
+ };
28023
28459
  logistics_shipping_notes_wake_all: {
28024
28460
  Args: never;
28025
28461
  Returns: import("../integrations/supabase/types").Json;
@@ -28082,6 +28518,12 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
28082
28518
  };
28083
28519
  Returns: undefined;
28084
28520
  };
28521
+ logistics_slip_note_retry: {
28522
+ Args: {
28523
+ _id: string;
28524
+ };
28525
+ Returns: import("../integrations/supabase/types").Json;
28526
+ };
28085
28527
  logistics_sticker_follows_slip: {
28086
28528
  Args: never;
28087
28529
  Returns: boolean;
@@ -28826,6 +29268,10 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
28826
29268
  };
28827
29269
  Returns: string;
28828
29270
  };
29271
+ pick_is_reference_admin: {
29272
+ Args: never;
29273
+ Returns: boolean;
29274
+ };
28829
29275
  pick_mark_printed: {
28830
29276
  Args: {
28831
29277
  _queue_item_id: string;
@@ -29249,6 +29695,12 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
29249
29695
  };
29250
29696
  Returns: import("../integrations/supabase/types").Json;
29251
29697
  };
29698
+ pick_verify_rows: {
29699
+ Args: {
29700
+ _rows: import("../integrations/supabase/types").Json;
29701
+ };
29702
+ Returns: import("../integrations/supabase/types").Json;
29703
+ };
29252
29704
  pickstation_get_orders_raw: {
29253
29705
  Args: never;
29254
29706
  Returns: import("../integrations/supabase/types").Json;
@@ -29429,6 +29881,12 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
29429
29881
  };
29430
29882
  Returns: import("../integrations/supabase/types").Json;
29431
29883
  };
29884
+ quote_create_from_scratch: {
29885
+ Args: {
29886
+ _payload: import("../integrations/supabase/types").Json;
29887
+ };
29888
+ Returns: import("../integrations/supabase/types").Json;
29889
+ };
29432
29890
  quote_create_from_source: {
29433
29891
  Args: {
29434
29892
  _payload?: import("../integrations/supabase/types").Json;
@@ -29479,6 +29937,13 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
29479
29937
  };
29480
29938
  Returns: string;
29481
29939
  };
29940
+ quote_sync_work_order: {
29941
+ Args: {
29942
+ _monteur_instructies?: string;
29943
+ _offerte_id: string;
29944
+ };
29945
+ Returns: boolean;
29946
+ };
29482
29947
  recompute_all_reserved_stock: {
29483
29948
  Args: never;
29484
29949
  Returns: undefined;
@@ -29699,6 +30164,13 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
29699
30164
  };
29700
30165
  Returns: import("../integrations/supabase/types").Json;
29701
30166
  };
30167
+ scan_controleer_pincode: {
30168
+ Args: {
30169
+ p_pin: string;
30170
+ p_scanner_id: string;
30171
+ };
30172
+ Returns: boolean;
30173
+ };
29702
30174
  scan_dashboard_stats: {
29703
30175
  Args: {
29704
30176
  p_dagen?: number;
@@ -29718,6 +30190,12 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
29718
30190
  };
29719
30191
  Returns: import("../integrations/supabase/types").Json;
29720
30192
  };
30193
+ scan_heeft_pincode: {
30194
+ Args: {
30195
+ p_scanner_id: string;
30196
+ };
30197
+ Returns: boolean;
30198
+ };
29721
30199
  scan_kar_compleet: {
29722
30200
  Args: {
29723
30201
  p_allow_reprint?: boolean;
@@ -29735,6 +30213,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
29735
30213
  Args: {
29736
30214
  p_code: string;
29737
30215
  p_latency_ms?: number;
30216
+ p_medewerker?: string;
29738
30217
  p_message?: string;
29739
30218
  p_result: string;
29740
30219
  p_scanner_key?: string;
@@ -29807,6 +30286,22 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
29807
30286
  };
29808
30287
  Returns: undefined;
29809
30288
  };
30289
+ scan_scanner_info: {
30290
+ Args: {
30291
+ p_slug: string;
30292
+ };
30293
+ Returns: {
30294
+ actief: boolean;
30295
+ heeft_pincode: boolean;
30296
+ id: string;
30297
+ naam: string;
30298
+ omschrijving: string;
30299
+ printer_id: string;
30300
+ type: string;
30301
+ vereist_medewerker: boolean;
30302
+ werkplek: string;
30303
+ }[];
30304
+ };
29810
30305
  scan_sessie_annuleren: {
29811
30306
  Args: {
29812
30307
  p_sessie_id: string;
@@ -30769,6 +31264,21 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
30769
31264
  };
30770
31265
  Returns: import("../integrations/supabase/types").Json;
30771
31266
  };
31267
+ wo_list_colleague_planning: {
31268
+ Args: {
31269
+ _from: string;
31270
+ _monteur_id: string;
31271
+ _to: string;
31272
+ };
31273
+ Returns: {
31274
+ end_at: string;
31275
+ id: string;
31276
+ role: string;
31277
+ start_at: string;
31278
+ status: string;
31279
+ werkbon_id: string;
31280
+ }[];
31281
+ };
30772
31282
  wo_list_offerte_requests: {
30773
31283
  Args: {
30774
31284
  _status?: string;
@@ -31574,6 +32084,27 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
31574
32084
  };
31575
32085
  Relationships: [];
31576
32086
  };
32087
+ artikelen_instellingen: {
32088
+ Row: {
32089
+ created_at: string;
32090
+ id: number;
32091
+ marge_procent: number;
32092
+ updated_at: string;
32093
+ };
32094
+ Insert: {
32095
+ created_at?: string;
32096
+ id?: number;
32097
+ marge_procent?: number;
32098
+ updated_at?: string;
32099
+ };
32100
+ Update: {
32101
+ created_at?: string;
32102
+ id?: number;
32103
+ marge_procent?: number;
32104
+ updated_at?: string;
32105
+ };
32106
+ Relationships: [];
32107
+ };
31577
32108
  artikelen_veldconfig: {
31578
32109
  Row: {
31579
32110
  bron_pad: string;
@@ -41249,6 +41780,30 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
41249
41780
  };
41250
41781
  Relationships: [];
41251
41782
  };
41783
+ logistics_cart_barcode_archief: {
41784
+ Row: {
41785
+ barcode: string;
41786
+ cart_id: string;
41787
+ created_at: string | null;
41788
+ gearchiveerd_op: string;
41789
+ order_id: string | null;
41790
+ };
41791
+ Insert: {
41792
+ barcode: string;
41793
+ cart_id: string;
41794
+ created_at?: string | null;
41795
+ gearchiveerd_op?: string;
41796
+ order_id?: string | null;
41797
+ };
41798
+ Update: {
41799
+ barcode?: string;
41800
+ cart_id?: string;
41801
+ created_at?: string | null;
41802
+ gearchiveerd_op?: string;
41803
+ order_id?: string | null;
41804
+ };
41805
+ Relationships: [];
41806
+ };
41252
41807
  logistics_control_scan: {
41253
41808
  Row: {
41254
41809
  approved_at: string | null;
@@ -46902,18 +47457,24 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
46902
47457
  Row: {
46903
47458
  id: boolean;
46904
47459
  last_cleanup_at: string | null;
47460
+ last_error: string | null;
47461
+ last_error_at: string | null;
46905
47462
  last_sync_at: string | null;
46906
47463
  updated_at: string;
46907
47464
  };
46908
47465
  Insert: {
46909
47466
  id?: boolean;
46910
47467
  last_cleanup_at?: string | null;
47468
+ last_error?: string | null;
47469
+ last_error_at?: string | null;
46911
47470
  last_sync_at?: string | null;
46912
47471
  updated_at?: string;
46913
47472
  };
46914
47473
  Update: {
46915
47474
  id?: boolean;
46916
47475
  last_cleanup_at?: string | null;
47476
+ last_error?: string | null;
47477
+ last_error_at?: string | null;
46917
47478
  last_sync_at?: string | null;
46918
47479
  updated_at?: string;
46919
47480
  };
@@ -47039,6 +47600,54 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
47039
47600
  };
47040
47601
  Relationships: [];
47041
47602
  };
47603
+ planning_confirmation_log: {
47604
+ Row: {
47605
+ created_at: string;
47606
+ end_at: string;
47607
+ id: string;
47608
+ outbox_id: string | null;
47609
+ planning_item_id: string;
47610
+ reason: string | null;
47611
+ recipient: string | null;
47612
+ start_at: string;
47613
+ status: string;
47614
+ };
47615
+ Insert: {
47616
+ created_at?: string;
47617
+ end_at: string;
47618
+ id?: string;
47619
+ outbox_id?: string | null;
47620
+ planning_item_id: string;
47621
+ reason?: string | null;
47622
+ recipient?: string | null;
47623
+ start_at: string;
47624
+ status: string;
47625
+ };
47626
+ Update: {
47627
+ created_at?: string;
47628
+ end_at?: string;
47629
+ id?: string;
47630
+ outbox_id?: string | null;
47631
+ planning_item_id?: string;
47632
+ reason?: string | null;
47633
+ recipient?: string | null;
47634
+ start_at?: string;
47635
+ status?: string;
47636
+ };
47637
+ Relationships: [{
47638
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
47639
+ columns: ["planning_item_id"];
47640
+ isOneToOne: false;
47641
+ referencedRelation: "planning_items";
47642
+ referencedColumns: ["id"];
47643
+ }, {
47644
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
47645
+ columns: ["planning_item_id"];
47646
+ isOneToOne: false;
47647
+ referencedRelation: "planning_overview";
47648
+ referencedColumns: ["id"];
47649
+ }];
47650
+ };
47042
47651
  planning_item_assistants: {
47043
47652
  Row: {
47044
47653
  created_at: string;
@@ -47123,6 +47732,60 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
47123
47732
  referencedColumns: ["id"];
47124
47733
  }];
47125
47734
  };
47735
+ planning_mail_settings: {
47736
+ Row: {
47737
+ body_template: string;
47738
+ cc: string[];
47739
+ connection_id: string | null;
47740
+ created_at: string;
47741
+ enabled: boolean;
47742
+ id: boolean;
47743
+ reply_to: string | null;
47744
+ subject_template: string;
47745
+ timezone: string;
47746
+ updated_at: string;
47747
+ updated_by: string | null;
47748
+ };
47749
+ Insert: {
47750
+ body_template?: string;
47751
+ cc?: string[];
47752
+ connection_id?: string | null;
47753
+ created_at?: string;
47754
+ enabled?: boolean;
47755
+ id?: boolean;
47756
+ reply_to?: string | null;
47757
+ subject_template?: string;
47758
+ timezone?: string;
47759
+ updated_at?: string;
47760
+ updated_by?: string | null;
47761
+ };
47762
+ Update: {
47763
+ body_template?: string;
47764
+ cc?: string[];
47765
+ connection_id?: string | null;
47766
+ created_at?: string;
47767
+ enabled?: boolean;
47768
+ id?: boolean;
47769
+ reply_to?: string | null;
47770
+ subject_template?: string;
47771
+ timezone?: string;
47772
+ updated_at?: string;
47773
+ updated_by?: string | null;
47774
+ };
47775
+ Relationships: [{
47776
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
47777
+ columns: ["connection_id"];
47778
+ isOneToOne: false;
47779
+ referencedRelation: "email_auth_connections";
47780
+ referencedColumns: ["id"];
47781
+ }, {
47782
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
47783
+ columns: ["connection_id"];
47784
+ isOneToOne: false;
47785
+ referencedRelation: "email_auth_connections_safe";
47786
+ referencedColumns: ["id"];
47787
+ }];
47788
+ };
47126
47789
  planning_monteur_day_locations: {
47127
47790
  Row: {
47128
47791
  created_at: string;
@@ -48601,6 +49264,9 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
48601
49264
  lead_time_days: number | null;
48602
49265
  min_order_quantity: number | null;
48603
49266
  notes: string | null;
49267
+ previous_price_cents: number | null;
49268
+ price_source: string;
49269
+ price_updated_at: string | null;
48604
49270
  product_id: string;
48605
49271
  purchase_price_cents: number | null;
48606
49272
  supplier_article_number: string | null;
@@ -48614,6 +49280,9 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
48614
49280
  lead_time_days?: number | null;
48615
49281
  min_order_quantity?: number | null;
48616
49282
  notes?: string | null;
49283
+ previous_price_cents?: number | null;
49284
+ price_source?: string;
49285
+ price_updated_at?: string | null;
48617
49286
  product_id: string;
48618
49287
  purchase_price_cents?: number | null;
48619
49288
  supplier_article_number?: string | null;
@@ -48627,6 +49296,9 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
48627
49296
  lead_time_days?: number | null;
48628
49297
  min_order_quantity?: number | null;
48629
49298
  notes?: string | null;
49299
+ previous_price_cents?: number | null;
49300
+ price_source?: string;
49301
+ price_updated_at?: string | null;
48630
49302
  product_id?: string;
48631
49303
  purchase_price_cents?: number | null;
48632
49304
  supplier_article_number?: string | null;
@@ -49157,9 +49829,13 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
49157
49829
  purchase_order_items: {
49158
49830
  Row: {
49159
49831
  article_number: string | null;
49832
+ cancel_reason: string | null;
49833
+ cancelled_at: string | null;
49160
49834
  created_at: string;
49161
49835
  delivery_date: string | null;
49162
49836
  id: string;
49837
+ incoming_booked: number;
49838
+ line_status: string;
49163
49839
  name: string;
49164
49840
  note: string | null;
49165
49841
  pot_size: string | null;
@@ -49167,6 +49843,8 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
49167
49843
  product_type: string;
49168
49844
  purchase_order_id: string;
49169
49845
  quantity: number;
49846
+ received_at: string | null;
49847
+ received_booked: number;
49170
49848
  supplier_id: string | null;
49171
49849
  supplier_product_id: string | null;
49172
49850
  unit_price_cents: number;
@@ -49174,9 +49852,13 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
49174
49852
  };
49175
49853
  Insert: {
49176
49854
  article_number?: string | null;
49855
+ cancel_reason?: string | null;
49856
+ cancelled_at?: string | null;
49177
49857
  created_at?: string;
49178
49858
  delivery_date?: string | null;
49179
49859
  id?: string;
49860
+ incoming_booked?: number;
49861
+ line_status?: string;
49180
49862
  name?: string;
49181
49863
  note?: string | null;
49182
49864
  pot_size?: string | null;
@@ -49184,6 +49866,8 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
49184
49866
  product_type?: string;
49185
49867
  purchase_order_id: string;
49186
49868
  quantity?: number;
49869
+ received_at?: string | null;
49870
+ received_booked?: number;
49187
49871
  supplier_id?: string | null;
49188
49872
  supplier_product_id?: string | null;
49189
49873
  unit_price_cents?: number;
@@ -49191,9 +49875,13 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
49191
49875
  };
49192
49876
  Update: {
49193
49877
  article_number?: string | null;
49878
+ cancel_reason?: string | null;
49879
+ cancelled_at?: string | null;
49194
49880
  created_at?: string;
49195
49881
  delivery_date?: string | null;
49196
49882
  id?: string;
49883
+ incoming_booked?: number;
49884
+ line_status?: string;
49197
49885
  name?: string;
49198
49886
  note?: string | null;
49199
49887
  pot_size?: string | null;
@@ -49201,6 +49889,8 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
49201
49889
  product_type?: string;
49202
49890
  purchase_order_id?: string;
49203
49891
  quantity?: number;
49892
+ received_at?: string | null;
49893
+ received_booked?: number;
49204
49894
  supplier_id?: string | null;
49205
49895
  supplier_product_id?: string | null;
49206
49896
  unit_price_cents?: number;
@@ -49304,6 +49994,153 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
49304
49994
  referencedColumns: ["id"];
49305
49995
  }];
49306
49996
  };
49997
+ purchase_request_events: {
49998
+ Row: {
49999
+ created_at: string;
50000
+ details: import("../integrations/supabase/types").Json | null;
50001
+ event_type: string;
50002
+ id: string;
50003
+ request_id: string;
50004
+ };
50005
+ Insert: {
50006
+ created_at?: string;
50007
+ details?: import("../integrations/supabase/types").Json | null;
50008
+ event_type: string;
50009
+ id?: string;
50010
+ request_id: string;
50011
+ };
50012
+ Update: {
50013
+ created_at?: string;
50014
+ details?: import("../integrations/supabase/types").Json | null;
50015
+ event_type?: string;
50016
+ id?: string;
50017
+ request_id?: string;
50018
+ };
50019
+ Relationships: [{
50020
+ foreignKeyName: "purchase_request_events_request_id_fkey";
50021
+ columns: ["request_id"];
50022
+ isOneToOne: false;
50023
+ referencedRelation: "purchase_requests";
50024
+ referencedColumns: ["id"];
50025
+ }];
50026
+ };
50027
+ purchase_request_responses: {
50028
+ Row: {
50029
+ confirmed_date: string | null;
50030
+ confirmed_price_cents: number | null;
50031
+ confirmed_quantity: number;
50032
+ created_at: string;
50033
+ id: string;
50034
+ not_available: boolean;
50035
+ note: string | null;
50036
+ purchase_order_item_id: string;
50037
+ request_id: string;
50038
+ updated_at: string;
50039
+ };
50040
+ Insert: {
50041
+ confirmed_date?: string | null;
50042
+ confirmed_price_cents?: number | null;
50043
+ confirmed_quantity?: number;
50044
+ created_at?: string;
50045
+ id?: string;
50046
+ not_available?: boolean;
50047
+ note?: string | null;
50048
+ purchase_order_item_id: string;
50049
+ request_id: string;
50050
+ updated_at?: string;
50051
+ };
50052
+ Update: {
50053
+ confirmed_date?: string | null;
50054
+ confirmed_price_cents?: number | null;
50055
+ confirmed_quantity?: number;
50056
+ created_at?: string;
50057
+ id?: string;
50058
+ not_available?: boolean;
50059
+ note?: string | null;
50060
+ purchase_order_item_id?: string;
50061
+ request_id?: string;
50062
+ updated_at?: string;
50063
+ };
50064
+ Relationships: [{
50065
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
50066
+ columns: ["purchase_order_item_id"];
50067
+ isOneToOne: false;
50068
+ referencedRelation: "purchase_order_items";
50069
+ referencedColumns: ["id"];
50070
+ }, {
50071
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
50072
+ columns: ["request_id"];
50073
+ isOneToOne: false;
50074
+ referencedRelation: "purchase_requests";
50075
+ referencedColumns: ["id"];
50076
+ }];
50077
+ };
50078
+ purchase_requests: {
50079
+ Row: {
50080
+ created_at: string;
50081
+ expires_at: string;
50082
+ first_viewed_at: string | null;
50083
+ id: string;
50084
+ processed_at: string | null;
50085
+ purchase_order_id: string;
50086
+ responded_at: string | null;
50087
+ sent_at: string;
50088
+ status: string;
50089
+ supplier_id: string | null;
50090
+ supplier_name: string;
50091
+ supplier_note: string | null;
50092
+ to_address: string | null;
50093
+ token_hash: string;
50094
+ updated_at: string;
50095
+ };
50096
+ Insert: {
50097
+ created_at?: string;
50098
+ expires_at?: string;
50099
+ first_viewed_at?: string | null;
50100
+ id?: string;
50101
+ processed_at?: string | null;
50102
+ purchase_order_id: string;
50103
+ responded_at?: string | null;
50104
+ sent_at?: string;
50105
+ status?: string;
50106
+ supplier_id?: string | null;
50107
+ supplier_name?: string;
50108
+ supplier_note?: string | null;
50109
+ to_address?: string | null;
50110
+ token_hash: string;
50111
+ updated_at?: string;
50112
+ };
50113
+ Update: {
50114
+ created_at?: string;
50115
+ expires_at?: string;
50116
+ first_viewed_at?: string | null;
50117
+ id?: string;
50118
+ processed_at?: string | null;
50119
+ purchase_order_id?: string;
50120
+ responded_at?: string | null;
50121
+ sent_at?: string;
50122
+ status?: string;
50123
+ supplier_id?: string | null;
50124
+ supplier_name?: string;
50125
+ supplier_note?: string | null;
50126
+ to_address?: string | null;
50127
+ token_hash?: string;
50128
+ updated_at?: string;
50129
+ };
50130
+ Relationships: [{
50131
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
50132
+ columns: ["purchase_order_id"];
50133
+ isOneToOne: false;
50134
+ referencedRelation: "purchase_orders";
50135
+ referencedColumns: ["id"];
50136
+ }, {
50137
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
50138
+ columns: ["supplier_id"];
50139
+ isOneToOne: false;
50140
+ referencedRelation: "suppliers";
50141
+ referencedColumns: ["id"];
50142
+ }];
50143
+ };
49307
50144
  reception_notifications: {
49308
50145
  Row: {
49309
50146
  booking_id: string | null;
@@ -53729,7 +54566,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
53729
54566
  created_at: string;
53730
54567
  default_quantity: number;
53731
54568
  description: string | null;
53732
- duration_minutes: number | null;
54569
+ duration_minutes: number;
53733
54570
  id: string;
53734
54571
  mandaat_type: string | null;
53735
54572
  name: string;
@@ -53746,7 +54583,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
53746
54583
  created_at?: string;
53747
54584
  default_quantity?: number;
53748
54585
  description?: string | null;
53749
- duration_minutes?: number | null;
54586
+ duration_minutes?: number;
53750
54587
  id?: string;
53751
54588
  mandaat_type?: string | null;
53752
54589
  name: string;
@@ -53763,7 +54600,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
53763
54600
  created_at?: string;
53764
54601
  default_quantity?: number;
53765
54602
  description?: string | null;
53766
- duration_minutes?: number | null;
54603
+ duration_minutes?: number;
53767
54604
  id?: string;
53768
54605
  mandaat_type?: string | null;
53769
54606
  name?: string;
@@ -56759,6 +57596,31 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
56759
57596
  };
56760
57597
  Returns: import("../integrations/supabase/types").Json;
56761
57598
  };
57599
+ inkoop_cancel_line: {
57600
+ Args: {
57601
+ _item_id: string;
57602
+ _reason: string;
57603
+ };
57604
+ Returns: string;
57605
+ };
57606
+ inkoop_get_supplier_request: {
57607
+ Args: {
57608
+ _token: string;
57609
+ };
57610
+ Returns: import("../integrations/supabase/types").Json;
57611
+ };
57612
+ inkoop_hash_token: {
57613
+ Args: {
57614
+ _token: string;
57615
+ };
57616
+ Returns: string;
57617
+ };
57618
+ inkoop_html_escape: {
57619
+ Args: {
57620
+ _t: string;
57621
+ };
57622
+ Returns: string;
57623
+ };
56762
57624
  inkoop_list_artikelen: {
56763
57625
  Args: never;
56764
57626
  Returns: {
@@ -56783,9 +57645,17 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
56783
57645
  Args: never;
56784
57646
  Returns: string;
56785
57647
  };
57648
+ inkoop_process_request: {
57649
+ Args: {
57650
+ _request_id: string;
57651
+ };
57652
+ Returns: undefined;
57653
+ };
56786
57654
  inkoop_send_order: {
56787
57655
  Args: {
57656
+ _base_url?: string;
56788
57657
  _order_id: string;
57658
+ _resend?: boolean;
56789
57659
  };
56790
57660
  Returns: {
56791
57661
  outbox_id: string;
@@ -56800,6 +57670,26 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
56800
57670
  };
56801
57671
  Returns: undefined;
56802
57672
  };
57673
+ inkoop_stock_key: {
57674
+ Args: {
57675
+ p_product_id: string;
57676
+ };
57677
+ Returns: string;
57678
+ };
57679
+ inkoop_submit_supplier_response: {
57680
+ Args: {
57681
+ _lines: import("../integrations/supabase/types").Json;
57682
+ _note?: string;
57683
+ _token: string;
57684
+ };
57685
+ Returns: import("../integrations/supabase/types").Json;
57686
+ };
57687
+ inkoop_sync_item_stock: {
57688
+ Args: {
57689
+ p_item_id: string;
57690
+ };
57691
+ Returns: undefined;
57692
+ };
56803
57693
  instructie_get: {
56804
57694
  Args: {
56805
57695
  _sleutel: string;
@@ -56960,6 +57850,27 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
56960
57850
  };
56961
57851
  Returns: boolean;
56962
57852
  };
57853
+ layout_print_document: {
57854
+ Args: {
57855
+ _documentnaam: string;
57856
+ _documenttype: string;
57857
+ _herkomst?: string;
57858
+ _idempotentie_sleutel?: string;
57859
+ _is_herprint?: boolean;
57860
+ _kopieen?: number;
57861
+ _layout_id?: string;
57862
+ _payload?: import("../integrations/supabase/types").Json;
57863
+ _pdf_base64?: string;
57864
+ _pdf_url?: string;
57865
+ _print_plek_id?: string;
57866
+ _werkplek?: string;
57867
+ };
57868
+ Returns: {
57869
+ bestaand: boolean;
57870
+ job_id: string;
57871
+ printer_id: string;
57872
+ }[];
57873
+ };
56963
57874
  list_medewerkers: {
56964
57875
  Args: never;
56965
57876
  Returns: {
@@ -57237,6 +58148,12 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
57237
58148
  };
57238
58149
  Returns: number;
57239
58150
  };
58151
+ logistics_cart_barcode_opschonen: {
58152
+ Args: {
58153
+ p_portie?: number;
58154
+ };
58155
+ Returns: import("../integrations/supabase/types").Json;
58156
+ };
57240
58157
  logistics_cart_barcode_value: {
57241
58158
  Args: {
57242
58159
  _cart_id: string;
@@ -57656,6 +58573,13 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
57656
58573
  };
57657
58574
  Returns: import("../integrations/supabase/types").Json;
57658
58575
  };
58576
+ logistics_control_scan_print_own: {
58577
+ Args: {
58578
+ p_is_herprint?: boolean;
58579
+ p_scan_id: string;
58580
+ };
58581
+ Returns: import("../integrations/supabase/types").Json;
58582
+ };
57659
58583
  logistics_control_scan_retry: {
57660
58584
  Args: {
57661
58585
  _id: string;
@@ -58560,6 +59484,21 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
58560
59484
  };
58561
59485
  Returns: import("../integrations/supabase/types").Json;
58562
59486
  };
59487
+ logistics_print_via_layout: {
59488
+ Args: {
59489
+ _documentnaam: string;
59490
+ _documenttype: string;
59491
+ _herkomst: string;
59492
+ _idempotentie_sleutel: string;
59493
+ _is_herprint: boolean;
59494
+ _layout_id: string;
59495
+ _payload: import("../integrations/supabase/types").Json;
59496
+ _pdf_base64: string;
59497
+ _pdf_url: string;
59498
+ _print_plek_id: string;
59499
+ };
59500
+ Returns: import("../integrations/supabase/types").Json;
59501
+ };
58563
59502
  logistics_prune_buffer_member_queue: {
58564
59503
  Args: never;
58565
59504
  Returns: number;
@@ -58846,6 +59785,13 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
58846
59785
  };
58847
59786
  Returns: string;
58848
59787
  };
59788
+ logistics_shipping_note_status: {
59789
+ Args: {
59790
+ p_cart_id?: string;
59791
+ p_slip_job_id?: string;
59792
+ };
59793
+ Returns: import("../integrations/supabase/types").Json;
59794
+ };
58849
59795
  logistics_shipping_notes_wake_all: {
58850
59796
  Args: never;
58851
59797
  Returns: import("../integrations/supabase/types").Json;
@@ -58908,6 +59854,12 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
58908
59854
  };
58909
59855
  Returns: undefined;
58910
59856
  };
59857
+ logistics_slip_note_retry: {
59858
+ Args: {
59859
+ _id: string;
59860
+ };
59861
+ Returns: import("../integrations/supabase/types").Json;
59862
+ };
58911
59863
  logistics_sticker_follows_slip: {
58912
59864
  Args: never;
58913
59865
  Returns: boolean;
@@ -59652,6 +60604,10 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
59652
60604
  };
59653
60605
  Returns: string;
59654
60606
  };
60607
+ pick_is_reference_admin: {
60608
+ Args: never;
60609
+ Returns: boolean;
60610
+ };
59655
60611
  pick_mark_printed: {
59656
60612
  Args: {
59657
60613
  _queue_item_id: string;
@@ -60075,6 +61031,12 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
60075
61031
  };
60076
61032
  Returns: import("../integrations/supabase/types").Json;
60077
61033
  };
61034
+ pick_verify_rows: {
61035
+ Args: {
61036
+ _rows: import("../integrations/supabase/types").Json;
61037
+ };
61038
+ Returns: import("../integrations/supabase/types").Json;
61039
+ };
60078
61040
  pickstation_get_orders_raw: {
60079
61041
  Args: never;
60080
61042
  Returns: import("../integrations/supabase/types").Json;
@@ -60255,6 +61217,12 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
60255
61217
  };
60256
61218
  Returns: import("../integrations/supabase/types").Json;
60257
61219
  };
61220
+ quote_create_from_scratch: {
61221
+ Args: {
61222
+ _payload: import("../integrations/supabase/types").Json;
61223
+ };
61224
+ Returns: import("../integrations/supabase/types").Json;
61225
+ };
60258
61226
  quote_create_from_source: {
60259
61227
  Args: {
60260
61228
  _payload?: import("../integrations/supabase/types").Json;
@@ -60305,6 +61273,13 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
60305
61273
  };
60306
61274
  Returns: string;
60307
61275
  };
61276
+ quote_sync_work_order: {
61277
+ Args: {
61278
+ _monteur_instructies?: string;
61279
+ _offerte_id: string;
61280
+ };
61281
+ Returns: boolean;
61282
+ };
60308
61283
  recompute_all_reserved_stock: {
60309
61284
  Args: never;
60310
61285
  Returns: undefined;
@@ -60525,6 +61500,13 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
60525
61500
  };
60526
61501
  Returns: import("../integrations/supabase/types").Json;
60527
61502
  };
61503
+ scan_controleer_pincode: {
61504
+ Args: {
61505
+ p_pin: string;
61506
+ p_scanner_id: string;
61507
+ };
61508
+ Returns: boolean;
61509
+ };
60528
61510
  scan_dashboard_stats: {
60529
61511
  Args: {
60530
61512
  p_dagen?: number;
@@ -60544,6 +61526,12 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
60544
61526
  };
60545
61527
  Returns: import("../integrations/supabase/types").Json;
60546
61528
  };
61529
+ scan_heeft_pincode: {
61530
+ Args: {
61531
+ p_scanner_id: string;
61532
+ };
61533
+ Returns: boolean;
61534
+ };
60547
61535
  scan_kar_compleet: {
60548
61536
  Args: {
60549
61537
  p_allow_reprint?: boolean;
@@ -60561,6 +61549,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
60561
61549
  Args: {
60562
61550
  p_code: string;
60563
61551
  p_latency_ms?: number;
61552
+ p_medewerker?: string;
60564
61553
  p_message?: string;
60565
61554
  p_result: string;
60566
61555
  p_scanner_key?: string;
@@ -60633,6 +61622,22 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
60633
61622
  };
60634
61623
  Returns: undefined;
60635
61624
  };
61625
+ scan_scanner_info: {
61626
+ Args: {
61627
+ p_slug: string;
61628
+ };
61629
+ Returns: {
61630
+ actief: boolean;
61631
+ heeft_pincode: boolean;
61632
+ id: string;
61633
+ naam: string;
61634
+ omschrijving: string;
61635
+ printer_id: string;
61636
+ type: string;
61637
+ vereist_medewerker: boolean;
61638
+ werkplek: string;
61639
+ }[];
61640
+ };
60636
61641
  scan_sessie_annuleren: {
60637
61642
  Args: {
60638
61643
  p_sessie_id: string;
@@ -61595,6 +62600,21 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
61595
62600
  };
61596
62601
  Returns: import("../integrations/supabase/types").Json;
61597
62602
  };
62603
+ wo_list_colleague_planning: {
62604
+ Args: {
62605
+ _from: string;
62606
+ _monteur_id: string;
62607
+ _to: string;
62608
+ };
62609
+ Returns: {
62610
+ end_at: string;
62611
+ id: string;
62612
+ role: string;
62613
+ start_at: string;
62614
+ status: string;
62615
+ werkbon_id: string;
62616
+ }[];
62617
+ };
61598
62618
  wo_list_offerte_requests: {
61599
62619
  Args: {
61600
62620
  _status?: string;