@flowselections/floriday-afhandeling-module 1.0.46 → 1.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
  2. package/dist-lib/components/afhandeling/DagDetailDialog.js +31 -8
  3. package/dist-lib/integrations/supabase/auth-middleware.d.ts +500 -3
  4. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +500 -3
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/moduleClient.d.ts +500 -3
  8. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/types.d.ts +514 -3
  10. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  11. package/dist-lib/lib/afhandelingSettings.functions.d.ts +1000 -6
  12. package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/carriers.functions.d.ts +2500 -15
  14. package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/cartAssignments.functions.d.ts +33860 -41
  16. package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/cartAssignments.functions.js +69 -0
  18. package/dist-lib/lib/cartControl.functions.d.ts +5500 -33
  19. package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/deliveryNote.functions.d.ts +500 -3
  21. package/dist-lib/lib/deliveryNote.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/engineLayouts.functions.d.ts +500 -3
  23. package/dist-lib/lib/engineLayouts.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/floriday.functions.d.ts +1000 -6
  25. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/orderFulfilment.functions.d.ts +500 -3
  27. package/dist-lib/lib/orderFulfilment.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/pickDates.functions.d.ts +500 -3
  29. package/dist-lib/lib/pickDates.functions.d.ts.map +1 -1
  30. package/package.json +2 -2
@@ -788,6 +788,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
788
788
  };
789
789
  Relationships: [];
790
790
  };
791
+ artikelen_instellingen: {
792
+ Row: {
793
+ created_at: string;
794
+ id: number;
795
+ marge_procent: number;
796
+ updated_at: string;
797
+ };
798
+ Insert: {
799
+ created_at?: string;
800
+ id?: number;
801
+ marge_procent?: number;
802
+ updated_at?: string;
803
+ };
804
+ Update: {
805
+ created_at?: string;
806
+ id?: number;
807
+ marge_procent?: number;
808
+ updated_at?: string;
809
+ };
810
+ Relationships: [];
811
+ };
791
812
  artikelen_veldconfig: {
792
813
  Row: {
793
814
  bron_pad: string;
@@ -10463,6 +10484,30 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
10463
10484
  };
10464
10485
  Relationships: [];
10465
10486
  };
10487
+ logistics_cart_barcode_archief: {
10488
+ Row: {
10489
+ barcode: string;
10490
+ cart_id: string;
10491
+ created_at: string | null;
10492
+ gearchiveerd_op: string;
10493
+ order_id: string | null;
10494
+ };
10495
+ Insert: {
10496
+ barcode: string;
10497
+ cart_id: string;
10498
+ created_at?: string | null;
10499
+ gearchiveerd_op?: string;
10500
+ order_id?: string | null;
10501
+ };
10502
+ Update: {
10503
+ barcode?: string;
10504
+ cart_id?: string;
10505
+ created_at?: string | null;
10506
+ gearchiveerd_op?: string;
10507
+ order_id?: string | null;
10508
+ };
10509
+ Relationships: [];
10510
+ };
10466
10511
  logistics_control_scan: {
10467
10512
  Row: {
10468
10513
  approved_at: string | null;
@@ -14749,6 +14794,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
14749
14794
  next_attempt_at: string;
14750
14795
  order_id: string;
14751
14796
  processed_at: string | null;
14797
+ send_error: string | null;
14752
14798
  status: string;
14753
14799
  updated_at: string;
14754
14800
  };
@@ -14762,6 +14808,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
14762
14808
  next_attempt_at?: string;
14763
14809
  order_id: string;
14764
14810
  processed_at?: string | null;
14811
+ send_error?: string | null;
14765
14812
  status?: string;
14766
14813
  updated_at?: string;
14767
14814
  };
@@ -14775,6 +14822,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
14775
14822
  next_attempt_at?: string;
14776
14823
  order_id?: string;
14777
14824
  processed_at?: string | null;
14825
+ send_error?: string | null;
14778
14826
  status?: string;
14779
14827
  updated_at?: string;
14780
14828
  };
@@ -16113,18 +16161,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
16113
16161
  Row: {
16114
16162
  id: boolean;
16115
16163
  last_cleanup_at: string | null;
16164
+ last_error: string | null;
16165
+ last_error_at: string | null;
16116
16166
  last_sync_at: string | null;
16117
16167
  updated_at: string;
16118
16168
  };
16119
16169
  Insert: {
16120
16170
  id?: boolean;
16121
16171
  last_cleanup_at?: string | null;
16172
+ last_error?: string | null;
16173
+ last_error_at?: string | null;
16122
16174
  last_sync_at?: string | null;
16123
16175
  updated_at?: string;
16124
16176
  };
16125
16177
  Update: {
16126
16178
  id?: boolean;
16127
16179
  last_cleanup_at?: string | null;
16180
+ last_error?: string | null;
16181
+ last_error_at?: string | null;
16128
16182
  last_sync_at?: string | null;
16129
16183
  updated_at?: string;
16130
16184
  };
@@ -16250,6 +16304,54 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
16250
16304
  };
16251
16305
  Relationships: [];
16252
16306
  };
16307
+ planning_confirmation_log: {
16308
+ Row: {
16309
+ created_at: string;
16310
+ end_at: string;
16311
+ id: string;
16312
+ outbox_id: string | null;
16313
+ planning_item_id: string;
16314
+ reason: string | null;
16315
+ recipient: string | null;
16316
+ start_at: string;
16317
+ status: string;
16318
+ };
16319
+ Insert: {
16320
+ created_at?: string;
16321
+ end_at: string;
16322
+ id?: string;
16323
+ outbox_id?: string | null;
16324
+ planning_item_id: string;
16325
+ reason?: string | null;
16326
+ recipient?: string | null;
16327
+ start_at: string;
16328
+ status: string;
16329
+ };
16330
+ Update: {
16331
+ created_at?: string;
16332
+ end_at?: string;
16333
+ id?: string;
16334
+ outbox_id?: string | null;
16335
+ planning_item_id?: string;
16336
+ reason?: string | null;
16337
+ recipient?: string | null;
16338
+ start_at?: string;
16339
+ status?: string;
16340
+ };
16341
+ Relationships: [{
16342
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16343
+ columns: ["planning_item_id"];
16344
+ isOneToOne: false;
16345
+ referencedRelation: "planning_items";
16346
+ referencedColumns: ["id"];
16347
+ }, {
16348
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16349
+ columns: ["planning_item_id"];
16350
+ isOneToOne: false;
16351
+ referencedRelation: "planning_overview";
16352
+ referencedColumns: ["id"];
16353
+ }];
16354
+ };
16253
16355
  planning_item_assistants: {
16254
16356
  Row: {
16255
16357
  created_at: string;
@@ -16334,6 +16436,60 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
16334
16436
  referencedColumns: ["id"];
16335
16437
  }];
16336
16438
  };
16439
+ planning_mail_settings: {
16440
+ Row: {
16441
+ body_template: string;
16442
+ cc: string[];
16443
+ connection_id: string | null;
16444
+ created_at: string;
16445
+ enabled: boolean;
16446
+ id: boolean;
16447
+ reply_to: string | null;
16448
+ subject_template: string;
16449
+ timezone: string;
16450
+ updated_at: string;
16451
+ updated_by: string | null;
16452
+ };
16453
+ Insert: {
16454
+ body_template?: string;
16455
+ cc?: string[];
16456
+ connection_id?: string | null;
16457
+ created_at?: string;
16458
+ enabled?: boolean;
16459
+ id?: boolean;
16460
+ reply_to?: string | null;
16461
+ subject_template?: string;
16462
+ timezone?: string;
16463
+ updated_at?: string;
16464
+ updated_by?: string | null;
16465
+ };
16466
+ Update: {
16467
+ body_template?: string;
16468
+ cc?: string[];
16469
+ connection_id?: string | null;
16470
+ created_at?: string;
16471
+ enabled?: boolean;
16472
+ id?: boolean;
16473
+ reply_to?: string | null;
16474
+ subject_template?: string;
16475
+ timezone?: string;
16476
+ updated_at?: string;
16477
+ updated_by?: string | null;
16478
+ };
16479
+ Relationships: [{
16480
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16481
+ columns: ["connection_id"];
16482
+ isOneToOne: false;
16483
+ referencedRelation: "email_auth_connections";
16484
+ referencedColumns: ["id"];
16485
+ }, {
16486
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16487
+ columns: ["connection_id"];
16488
+ isOneToOne: false;
16489
+ referencedRelation: "email_auth_connections_safe";
16490
+ referencedColumns: ["id"];
16491
+ }];
16492
+ };
16337
16493
  planning_monteur_day_locations: {
16338
16494
  Row: {
16339
16495
  created_at: string;
@@ -17812,6 +17968,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
17812
17968
  lead_time_days: number | null;
17813
17969
  min_order_quantity: number | null;
17814
17970
  notes: string | null;
17971
+ previous_price_cents: number | null;
17972
+ price_source: string;
17973
+ price_updated_at: string | null;
17815
17974
  product_id: string;
17816
17975
  purchase_price_cents: number | null;
17817
17976
  supplier_article_number: string | null;
@@ -17825,6 +17984,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
17825
17984
  lead_time_days?: number | null;
17826
17985
  min_order_quantity?: number | null;
17827
17986
  notes?: string | null;
17987
+ previous_price_cents?: number | null;
17988
+ price_source?: string;
17989
+ price_updated_at?: string | null;
17828
17990
  product_id: string;
17829
17991
  purchase_price_cents?: number | null;
17830
17992
  supplier_article_number?: string | null;
@@ -17838,6 +18000,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
17838
18000
  lead_time_days?: number | null;
17839
18001
  min_order_quantity?: number | null;
17840
18002
  notes?: string | null;
18003
+ previous_price_cents?: number | null;
18004
+ price_source?: string;
18005
+ price_updated_at?: string | null;
17841
18006
  product_id?: string;
17842
18007
  purchase_price_cents?: number | null;
17843
18008
  supplier_article_number?: string | null;
@@ -18368,9 +18533,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18368
18533
  purchase_order_items: {
18369
18534
  Row: {
18370
18535
  article_number: string | null;
18536
+ cancel_reason: string | null;
18537
+ cancelled_at: string | null;
18371
18538
  created_at: string;
18372
18539
  delivery_date: string | null;
18373
18540
  id: string;
18541
+ incoming_booked: number;
18542
+ line_status: string;
18374
18543
  name: string;
18375
18544
  note: string | null;
18376
18545
  pot_size: string | null;
@@ -18378,6 +18547,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18378
18547
  product_type: string;
18379
18548
  purchase_order_id: string;
18380
18549
  quantity: number;
18550
+ received_at: string | null;
18551
+ received_booked: number;
18381
18552
  supplier_id: string | null;
18382
18553
  supplier_product_id: string | null;
18383
18554
  unit_price_cents: number;
@@ -18385,9 +18556,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18385
18556
  };
18386
18557
  Insert: {
18387
18558
  article_number?: string | null;
18559
+ cancel_reason?: string | null;
18560
+ cancelled_at?: string | null;
18388
18561
  created_at?: string;
18389
18562
  delivery_date?: string | null;
18390
18563
  id?: string;
18564
+ incoming_booked?: number;
18565
+ line_status?: string;
18391
18566
  name?: string;
18392
18567
  note?: string | null;
18393
18568
  pot_size?: string | null;
@@ -18395,6 +18570,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18395
18570
  product_type?: string;
18396
18571
  purchase_order_id: string;
18397
18572
  quantity?: number;
18573
+ received_at?: string | null;
18574
+ received_booked?: number;
18398
18575
  supplier_id?: string | null;
18399
18576
  supplier_product_id?: string | null;
18400
18577
  unit_price_cents?: number;
@@ -18402,9 +18579,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18402
18579
  };
18403
18580
  Update: {
18404
18581
  article_number?: string | null;
18582
+ cancel_reason?: string | null;
18583
+ cancelled_at?: string | null;
18405
18584
  created_at?: string;
18406
18585
  delivery_date?: string | null;
18407
18586
  id?: string;
18587
+ incoming_booked?: number;
18588
+ line_status?: string;
18408
18589
  name?: string;
18409
18590
  note?: string | null;
18410
18591
  pot_size?: string | null;
@@ -18412,6 +18593,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18412
18593
  product_type?: string;
18413
18594
  purchase_order_id?: string;
18414
18595
  quantity?: number;
18596
+ received_at?: string | null;
18597
+ received_booked?: number;
18415
18598
  supplier_id?: string | null;
18416
18599
  supplier_product_id?: string | null;
18417
18600
  unit_price_cents?: number;
@@ -18515,6 +18698,153 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18515
18698
  referencedColumns: ["id"];
18516
18699
  }];
18517
18700
  };
18701
+ purchase_request_events: {
18702
+ Row: {
18703
+ created_at: string;
18704
+ details: import("../integrations/supabase/types").Json | null;
18705
+ event_type: string;
18706
+ id: string;
18707
+ request_id: string;
18708
+ };
18709
+ Insert: {
18710
+ created_at?: string;
18711
+ details?: import("../integrations/supabase/types").Json | null;
18712
+ event_type: string;
18713
+ id?: string;
18714
+ request_id: string;
18715
+ };
18716
+ Update: {
18717
+ created_at?: string;
18718
+ details?: import("../integrations/supabase/types").Json | null;
18719
+ event_type?: string;
18720
+ id?: string;
18721
+ request_id?: string;
18722
+ };
18723
+ Relationships: [{
18724
+ foreignKeyName: "purchase_request_events_request_id_fkey";
18725
+ columns: ["request_id"];
18726
+ isOneToOne: false;
18727
+ referencedRelation: "purchase_requests";
18728
+ referencedColumns: ["id"];
18729
+ }];
18730
+ };
18731
+ purchase_request_responses: {
18732
+ Row: {
18733
+ confirmed_date: string | null;
18734
+ confirmed_price_cents: number | null;
18735
+ confirmed_quantity: number;
18736
+ created_at: string;
18737
+ id: string;
18738
+ not_available: boolean;
18739
+ note: string | null;
18740
+ purchase_order_item_id: string;
18741
+ request_id: string;
18742
+ updated_at: string;
18743
+ };
18744
+ Insert: {
18745
+ confirmed_date?: string | null;
18746
+ confirmed_price_cents?: number | null;
18747
+ confirmed_quantity?: number;
18748
+ created_at?: string;
18749
+ id?: string;
18750
+ not_available?: boolean;
18751
+ note?: string | null;
18752
+ purchase_order_item_id: string;
18753
+ request_id: string;
18754
+ updated_at?: string;
18755
+ };
18756
+ Update: {
18757
+ confirmed_date?: string | null;
18758
+ confirmed_price_cents?: number | null;
18759
+ confirmed_quantity?: number;
18760
+ created_at?: string;
18761
+ id?: string;
18762
+ not_available?: boolean;
18763
+ note?: string | null;
18764
+ purchase_order_item_id?: string;
18765
+ request_id?: string;
18766
+ updated_at?: string;
18767
+ };
18768
+ Relationships: [{
18769
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
18770
+ columns: ["purchase_order_item_id"];
18771
+ isOneToOne: false;
18772
+ referencedRelation: "purchase_order_items";
18773
+ referencedColumns: ["id"];
18774
+ }, {
18775
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
18776
+ columns: ["request_id"];
18777
+ isOneToOne: false;
18778
+ referencedRelation: "purchase_requests";
18779
+ referencedColumns: ["id"];
18780
+ }];
18781
+ };
18782
+ purchase_requests: {
18783
+ Row: {
18784
+ created_at: string;
18785
+ expires_at: string;
18786
+ first_viewed_at: string | null;
18787
+ id: string;
18788
+ processed_at: string | null;
18789
+ purchase_order_id: string;
18790
+ responded_at: string | null;
18791
+ sent_at: string;
18792
+ status: string;
18793
+ supplier_id: string | null;
18794
+ supplier_name: string;
18795
+ supplier_note: string | null;
18796
+ to_address: string | null;
18797
+ token_hash: string;
18798
+ updated_at: string;
18799
+ };
18800
+ Insert: {
18801
+ created_at?: string;
18802
+ expires_at?: string;
18803
+ first_viewed_at?: string | null;
18804
+ id?: string;
18805
+ processed_at?: string | null;
18806
+ purchase_order_id: string;
18807
+ responded_at?: string | null;
18808
+ sent_at?: string;
18809
+ status?: string;
18810
+ supplier_id?: string | null;
18811
+ supplier_name?: string;
18812
+ supplier_note?: string | null;
18813
+ to_address?: string | null;
18814
+ token_hash: string;
18815
+ updated_at?: string;
18816
+ };
18817
+ Update: {
18818
+ created_at?: string;
18819
+ expires_at?: string;
18820
+ first_viewed_at?: string | null;
18821
+ id?: string;
18822
+ processed_at?: string | null;
18823
+ purchase_order_id?: string;
18824
+ responded_at?: string | null;
18825
+ sent_at?: string;
18826
+ status?: string;
18827
+ supplier_id?: string | null;
18828
+ supplier_name?: string;
18829
+ supplier_note?: string | null;
18830
+ to_address?: string | null;
18831
+ token_hash?: string;
18832
+ updated_at?: string;
18833
+ };
18834
+ Relationships: [{
18835
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
18836
+ columns: ["purchase_order_id"];
18837
+ isOneToOne: false;
18838
+ referencedRelation: "purchase_orders";
18839
+ referencedColumns: ["id"];
18840
+ }, {
18841
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
18842
+ columns: ["supplier_id"];
18843
+ isOneToOne: false;
18844
+ referencedRelation: "suppliers";
18845
+ referencedColumns: ["id"];
18846
+ }];
18847
+ };
18518
18848
  reception_notifications: {
18519
18849
  Row: {
18520
18850
  booking_id: string | null;
@@ -20678,6 +21008,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
20678
21008
  auto_invoice_enabled: boolean;
20679
21009
  auto_invoice_start_date: string | null;
20680
21010
  auto_invoice_trigger_statuses: string[];
21011
+ auto_send_mode: string | null;
20681
21012
  created_at: string;
20682
21013
  debtor_gl_account: string;
20683
21014
  default_article_code: string | null;
@@ -20706,6 +21037,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
20706
21037
  auto_invoice_enabled?: boolean;
20707
21038
  auto_invoice_start_date?: string | null;
20708
21039
  auto_invoice_trigger_statuses?: string[];
21040
+ auto_send_mode?: string | null;
20709
21041
  created_at?: string;
20710
21042
  debtor_gl_account?: string;
20711
21043
  default_article_code?: string | null;
@@ -20734,6 +21066,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
20734
21066
  auto_invoice_enabled?: boolean;
20735
21067
  auto_invoice_start_date?: string | null;
20736
21068
  auto_invoice_trigger_statuses?: string[];
21069
+ auto_send_mode?: string | null;
20737
21070
  created_at?: string;
20738
21071
  debtor_gl_account?: string;
20739
21072
  default_article_code?: string | null;
@@ -22937,7 +23270,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
22937
23270
  created_at: string;
22938
23271
  default_quantity: number;
22939
23272
  description: string | null;
22940
- duration_minutes: number | null;
23273
+ duration_minutes: number;
22941
23274
  id: string;
22942
23275
  mandaat_type: string | null;
22943
23276
  name: string;
@@ -22954,7 +23287,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
22954
23287
  created_at?: string;
22955
23288
  default_quantity?: number;
22956
23289
  description?: string | null;
22957
- duration_minutes?: number | null;
23290
+ duration_minutes?: number;
22958
23291
  id?: string;
22959
23292
  mandaat_type?: string | null;
22960
23293
  name: string;
@@ -22971,7 +23304,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
22971
23304
  created_at?: string;
22972
23305
  default_quantity?: number;
22973
23306
  description?: string | null;
22974
- duration_minutes?: number | null;
23307
+ duration_minutes?: number;
22975
23308
  id?: string;
22976
23309
  mandaat_type?: string | null;
22977
23310
  name?: string;
@@ -25967,6 +26300,31 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
25967
26300
  };
25968
26301
  Returns: import("../integrations/supabase/types").Json;
25969
26302
  };
26303
+ inkoop_cancel_line: {
26304
+ Args: {
26305
+ _item_id: string;
26306
+ _reason: string;
26307
+ };
26308
+ Returns: string;
26309
+ };
26310
+ inkoop_get_supplier_request: {
26311
+ Args: {
26312
+ _token: string;
26313
+ };
26314
+ Returns: import("../integrations/supabase/types").Json;
26315
+ };
26316
+ inkoop_hash_token: {
26317
+ Args: {
26318
+ _token: string;
26319
+ };
26320
+ Returns: string;
26321
+ };
26322
+ inkoop_html_escape: {
26323
+ Args: {
26324
+ _t: string;
26325
+ };
26326
+ Returns: string;
26327
+ };
25970
26328
  inkoop_list_artikelen: {
25971
26329
  Args: never;
25972
26330
  Returns: {
@@ -25991,9 +26349,17 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
25991
26349
  Args: never;
25992
26350
  Returns: string;
25993
26351
  };
26352
+ inkoop_process_request: {
26353
+ Args: {
26354
+ _request_id: string;
26355
+ };
26356
+ Returns: undefined;
26357
+ };
25994
26358
  inkoop_send_order: {
25995
26359
  Args: {
26360
+ _base_url?: string;
25996
26361
  _order_id: string;
26362
+ _resend?: boolean;
25997
26363
  };
25998
26364
  Returns: {
25999
26365
  outbox_id: string;
@@ -26008,6 +26374,26 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
26008
26374
  };
26009
26375
  Returns: undefined;
26010
26376
  };
26377
+ inkoop_stock_key: {
26378
+ Args: {
26379
+ p_product_id: string;
26380
+ };
26381
+ Returns: string;
26382
+ };
26383
+ inkoop_submit_supplier_response: {
26384
+ Args: {
26385
+ _lines: import("../integrations/supabase/types").Json;
26386
+ _note?: string;
26387
+ _token: string;
26388
+ };
26389
+ Returns: import("../integrations/supabase/types").Json;
26390
+ };
26391
+ inkoop_sync_item_stock: {
26392
+ Args: {
26393
+ p_item_id: string;
26394
+ };
26395
+ Returns: undefined;
26396
+ };
26011
26397
  instructie_get: {
26012
26398
  Args: {
26013
26399
  _sleutel: string;
@@ -26168,6 +26554,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
26168
26554
  };
26169
26555
  Returns: boolean;
26170
26556
  };
26557
+ layout_print_document: {
26558
+ Args: {
26559
+ _documentnaam: string;
26560
+ _documenttype: string;
26561
+ _herkomst?: string;
26562
+ _idempotentie_sleutel?: string;
26563
+ _is_herprint?: boolean;
26564
+ _kopieen?: number;
26565
+ _layout_id?: string;
26566
+ _payload?: import("../integrations/supabase/types").Json;
26567
+ _pdf_base64?: string;
26568
+ _pdf_url?: string;
26569
+ _print_plek_id?: string;
26570
+ _werkplek?: string;
26571
+ };
26572
+ Returns: {
26573
+ bestaand: boolean;
26574
+ job_id: string;
26575
+ printer_id: string;
26576
+ }[];
26577
+ };
26171
26578
  list_medewerkers: {
26172
26579
  Args: never;
26173
26580
  Returns: {
@@ -26445,6 +26852,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
26445
26852
  };
26446
26853
  Returns: number;
26447
26854
  };
26855
+ logistics_cart_barcode_opschonen: {
26856
+ Args: {
26857
+ p_portie?: number;
26858
+ };
26859
+ Returns: import("../integrations/supabase/types").Json;
26860
+ };
26448
26861
  logistics_cart_barcode_value: {
26449
26862
  Args: {
26450
26863
  _cart_id: string;
@@ -26864,6 +27277,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
26864
27277
  };
26865
27278
  Returns: import("../integrations/supabase/types").Json;
26866
27279
  };
27280
+ logistics_control_scan_print_own: {
27281
+ Args: {
27282
+ p_is_herprint?: boolean;
27283
+ p_scan_id: string;
27284
+ };
27285
+ Returns: import("../integrations/supabase/types").Json;
27286
+ };
26867
27287
  logistics_control_scan_retry: {
26868
27288
  Args: {
26869
27289
  _id: string;
@@ -27768,6 +28188,21 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
27768
28188
  };
27769
28189
  Returns: import("../integrations/supabase/types").Json;
27770
28190
  };
28191
+ logistics_print_via_layout: {
28192
+ Args: {
28193
+ _documentnaam: string;
28194
+ _documenttype: string;
28195
+ _herkomst: string;
28196
+ _idempotentie_sleutel: string;
28197
+ _is_herprint: boolean;
28198
+ _layout_id: string;
28199
+ _payload: import("../integrations/supabase/types").Json;
28200
+ _pdf_base64: string;
28201
+ _pdf_url: string;
28202
+ _print_plek_id: string;
28203
+ };
28204
+ Returns: import("../integrations/supabase/types").Json;
28205
+ };
27771
28206
  logistics_prune_buffer_member_queue: {
27772
28207
  Args: never;
27773
28208
  Returns: number;
@@ -28054,6 +28489,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
28054
28489
  };
28055
28490
  Returns: string;
28056
28491
  };
28492
+ logistics_shipping_note_status: {
28493
+ Args: {
28494
+ p_cart_id?: string;
28495
+ p_slip_job_id?: string;
28496
+ };
28497
+ Returns: import("../integrations/supabase/types").Json;
28498
+ };
28057
28499
  logistics_shipping_notes_wake_all: {
28058
28500
  Args: never;
28059
28501
  Returns: import("../integrations/supabase/types").Json;
@@ -28116,6 +28558,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
28116
28558
  };
28117
28559
  Returns: undefined;
28118
28560
  };
28561
+ logistics_slip_note_retry: {
28562
+ Args: {
28563
+ _id: string;
28564
+ };
28565
+ Returns: import("../integrations/supabase/types").Json;
28566
+ };
28119
28567
  logistics_sticker_follows_slip: {
28120
28568
  Args: never;
28121
28569
  Returns: boolean;
@@ -28860,6 +29308,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
28860
29308
  };
28861
29309
  Returns: string;
28862
29310
  };
29311
+ pick_is_reference_admin: {
29312
+ Args: never;
29313
+ Returns: boolean;
29314
+ };
28863
29315
  pick_mark_printed: {
28864
29316
  Args: {
28865
29317
  _queue_item_id: string;
@@ -29733,6 +30185,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
29733
30185
  };
29734
30186
  Returns: import("../integrations/supabase/types").Json;
29735
30187
  };
30188
+ scan_controleer_pincode: {
30189
+ Args: {
30190
+ p_pin: string;
30191
+ p_scanner_id: string;
30192
+ };
30193
+ Returns: boolean;
30194
+ };
29736
30195
  scan_dashboard_stats: {
29737
30196
  Args: {
29738
30197
  p_dagen?: number;
@@ -29752,6 +30211,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
29752
30211
  };
29753
30212
  Returns: import("../integrations/supabase/types").Json;
29754
30213
  };
30214
+ scan_heeft_pincode: {
30215
+ Args: {
30216
+ p_scanner_id: string;
30217
+ };
30218
+ Returns: boolean;
30219
+ };
29755
30220
  scan_kar_compleet: {
29756
30221
  Args: {
29757
30222
  p_allow_reprint?: boolean;
@@ -29769,6 +30234,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
29769
30234
  Args: {
29770
30235
  p_code: string;
29771
30236
  p_latency_ms?: number;
30237
+ p_medewerker?: string;
29772
30238
  p_message?: string;
29773
30239
  p_result: string;
29774
30240
  p_scanner_key?: string;
@@ -29841,6 +30307,22 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
29841
30307
  };
29842
30308
  Returns: undefined;
29843
30309
  };
30310
+ scan_scanner_info: {
30311
+ Args: {
30312
+ p_slug: string;
30313
+ };
30314
+ Returns: {
30315
+ actief: boolean;
30316
+ heeft_pincode: boolean;
30317
+ id: string;
30318
+ naam: string;
30319
+ omschrijving: string;
30320
+ printer_id: string;
30321
+ type: string;
30322
+ vereist_medewerker: boolean;
30323
+ werkplek: string;
30324
+ }[];
30325
+ };
29844
30326
  scan_sessie_annuleren: {
29845
30327
  Args: {
29846
30328
  p_sessie_id: string;
@@ -30803,6 +31285,21 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
30803
31285
  };
30804
31286
  Returns: import("../integrations/supabase/types").Json;
30805
31287
  };
31288
+ wo_list_colleague_planning: {
31289
+ Args: {
31290
+ _from: string;
31291
+ _monteur_id: string;
31292
+ _to: string;
31293
+ };
31294
+ Returns: {
31295
+ end_at: string;
31296
+ id: string;
31297
+ role: string;
31298
+ start_at: string;
31299
+ status: string;
31300
+ werkbon_id: string;
31301
+ }[];
31302
+ };
30806
31303
  wo_list_offerte_requests: {
30807
31304
  Args: {
30808
31305
  _status?: string;
@@ -31620,6 +32117,27 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
31620
32117
  };
31621
32118
  Relationships: [];
31622
32119
  };
32120
+ artikelen_instellingen: {
32121
+ Row: {
32122
+ created_at: string;
32123
+ id: number;
32124
+ marge_procent: number;
32125
+ updated_at: string;
32126
+ };
32127
+ Insert: {
32128
+ created_at?: string;
32129
+ id?: number;
32130
+ marge_procent?: number;
32131
+ updated_at?: string;
32132
+ };
32133
+ Update: {
32134
+ created_at?: string;
32135
+ id?: number;
32136
+ marge_procent?: number;
32137
+ updated_at?: string;
32138
+ };
32139
+ Relationships: [];
32140
+ };
31623
32141
  artikelen_veldconfig: {
31624
32142
  Row: {
31625
32143
  bron_pad: string;
@@ -41295,6 +41813,30 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
41295
41813
  };
41296
41814
  Relationships: [];
41297
41815
  };
41816
+ logistics_cart_barcode_archief: {
41817
+ Row: {
41818
+ barcode: string;
41819
+ cart_id: string;
41820
+ created_at: string | null;
41821
+ gearchiveerd_op: string;
41822
+ order_id: string | null;
41823
+ };
41824
+ Insert: {
41825
+ barcode: string;
41826
+ cart_id: string;
41827
+ created_at?: string | null;
41828
+ gearchiveerd_op?: string;
41829
+ order_id?: string | null;
41830
+ };
41831
+ Update: {
41832
+ barcode?: string;
41833
+ cart_id?: string;
41834
+ created_at?: string | null;
41835
+ gearchiveerd_op?: string;
41836
+ order_id?: string | null;
41837
+ };
41838
+ Relationships: [];
41839
+ };
41298
41840
  logistics_control_scan: {
41299
41841
  Row: {
41300
41842
  approved_at: string | null;
@@ -45581,6 +46123,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
45581
46123
  next_attempt_at: string;
45582
46124
  order_id: string;
45583
46125
  processed_at: string | null;
46126
+ send_error: string | null;
45584
46127
  status: string;
45585
46128
  updated_at: string;
45586
46129
  };
@@ -45594,6 +46137,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
45594
46137
  next_attempt_at?: string;
45595
46138
  order_id: string;
45596
46139
  processed_at?: string | null;
46140
+ send_error?: string | null;
45597
46141
  status?: string;
45598
46142
  updated_at?: string;
45599
46143
  };
@@ -45607,6 +46151,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
45607
46151
  next_attempt_at?: string;
45608
46152
  order_id?: string;
45609
46153
  processed_at?: string | null;
46154
+ send_error?: string | null;
45610
46155
  status?: string;
45611
46156
  updated_at?: string;
45612
46157
  };
@@ -46945,18 +47490,24 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
46945
47490
  Row: {
46946
47491
  id: boolean;
46947
47492
  last_cleanup_at: string | null;
47493
+ last_error: string | null;
47494
+ last_error_at: string | null;
46948
47495
  last_sync_at: string | null;
46949
47496
  updated_at: string;
46950
47497
  };
46951
47498
  Insert: {
46952
47499
  id?: boolean;
46953
47500
  last_cleanup_at?: string | null;
47501
+ last_error?: string | null;
47502
+ last_error_at?: string | null;
46954
47503
  last_sync_at?: string | null;
46955
47504
  updated_at?: string;
46956
47505
  };
46957
47506
  Update: {
46958
47507
  id?: boolean;
46959
47508
  last_cleanup_at?: string | null;
47509
+ last_error?: string | null;
47510
+ last_error_at?: string | null;
46960
47511
  last_sync_at?: string | null;
46961
47512
  updated_at?: string;
46962
47513
  };
@@ -47082,6 +47633,54 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
47082
47633
  };
47083
47634
  Relationships: [];
47084
47635
  };
47636
+ planning_confirmation_log: {
47637
+ Row: {
47638
+ created_at: string;
47639
+ end_at: string;
47640
+ id: string;
47641
+ outbox_id: string | null;
47642
+ planning_item_id: string;
47643
+ reason: string | null;
47644
+ recipient: string | null;
47645
+ start_at: string;
47646
+ status: string;
47647
+ };
47648
+ Insert: {
47649
+ created_at?: string;
47650
+ end_at: string;
47651
+ id?: string;
47652
+ outbox_id?: string | null;
47653
+ planning_item_id: string;
47654
+ reason?: string | null;
47655
+ recipient?: string | null;
47656
+ start_at: string;
47657
+ status: string;
47658
+ };
47659
+ Update: {
47660
+ created_at?: string;
47661
+ end_at?: string;
47662
+ id?: string;
47663
+ outbox_id?: string | null;
47664
+ planning_item_id?: string;
47665
+ reason?: string | null;
47666
+ recipient?: string | null;
47667
+ start_at?: string;
47668
+ status?: string;
47669
+ };
47670
+ Relationships: [{
47671
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
47672
+ columns: ["planning_item_id"];
47673
+ isOneToOne: false;
47674
+ referencedRelation: "planning_items";
47675
+ referencedColumns: ["id"];
47676
+ }, {
47677
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
47678
+ columns: ["planning_item_id"];
47679
+ isOneToOne: false;
47680
+ referencedRelation: "planning_overview";
47681
+ referencedColumns: ["id"];
47682
+ }];
47683
+ };
47085
47684
  planning_item_assistants: {
47086
47685
  Row: {
47087
47686
  created_at: string;
@@ -47166,6 +47765,60 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
47166
47765
  referencedColumns: ["id"];
47167
47766
  }];
47168
47767
  };
47768
+ planning_mail_settings: {
47769
+ Row: {
47770
+ body_template: string;
47771
+ cc: string[];
47772
+ connection_id: string | null;
47773
+ created_at: string;
47774
+ enabled: boolean;
47775
+ id: boolean;
47776
+ reply_to: string | null;
47777
+ subject_template: string;
47778
+ timezone: string;
47779
+ updated_at: string;
47780
+ updated_by: string | null;
47781
+ };
47782
+ Insert: {
47783
+ body_template?: string;
47784
+ cc?: string[];
47785
+ connection_id?: string | null;
47786
+ created_at?: string;
47787
+ enabled?: boolean;
47788
+ id?: boolean;
47789
+ reply_to?: string | null;
47790
+ subject_template?: string;
47791
+ timezone?: string;
47792
+ updated_at?: string;
47793
+ updated_by?: string | null;
47794
+ };
47795
+ Update: {
47796
+ body_template?: string;
47797
+ cc?: string[];
47798
+ connection_id?: string | null;
47799
+ created_at?: string;
47800
+ enabled?: boolean;
47801
+ id?: boolean;
47802
+ reply_to?: string | null;
47803
+ subject_template?: string;
47804
+ timezone?: string;
47805
+ updated_at?: string;
47806
+ updated_by?: string | null;
47807
+ };
47808
+ Relationships: [{
47809
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
47810
+ columns: ["connection_id"];
47811
+ isOneToOne: false;
47812
+ referencedRelation: "email_auth_connections";
47813
+ referencedColumns: ["id"];
47814
+ }, {
47815
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
47816
+ columns: ["connection_id"];
47817
+ isOneToOne: false;
47818
+ referencedRelation: "email_auth_connections_safe";
47819
+ referencedColumns: ["id"];
47820
+ }];
47821
+ };
47169
47822
  planning_monteur_day_locations: {
47170
47823
  Row: {
47171
47824
  created_at: string;
@@ -48644,6 +49297,9 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
48644
49297
  lead_time_days: number | null;
48645
49298
  min_order_quantity: number | null;
48646
49299
  notes: string | null;
49300
+ previous_price_cents: number | null;
49301
+ price_source: string;
49302
+ price_updated_at: string | null;
48647
49303
  product_id: string;
48648
49304
  purchase_price_cents: number | null;
48649
49305
  supplier_article_number: string | null;
@@ -48657,6 +49313,9 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
48657
49313
  lead_time_days?: number | null;
48658
49314
  min_order_quantity?: number | null;
48659
49315
  notes?: string | null;
49316
+ previous_price_cents?: number | null;
49317
+ price_source?: string;
49318
+ price_updated_at?: string | null;
48660
49319
  product_id: string;
48661
49320
  purchase_price_cents?: number | null;
48662
49321
  supplier_article_number?: string | null;
@@ -48670,6 +49329,9 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
48670
49329
  lead_time_days?: number | null;
48671
49330
  min_order_quantity?: number | null;
48672
49331
  notes?: string | null;
49332
+ previous_price_cents?: number | null;
49333
+ price_source?: string;
49334
+ price_updated_at?: string | null;
48673
49335
  product_id?: string;
48674
49336
  purchase_price_cents?: number | null;
48675
49337
  supplier_article_number?: string | null;
@@ -49200,9 +49862,13 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
49200
49862
  purchase_order_items: {
49201
49863
  Row: {
49202
49864
  article_number: string | null;
49865
+ cancel_reason: string | null;
49866
+ cancelled_at: string | null;
49203
49867
  created_at: string;
49204
49868
  delivery_date: string | null;
49205
49869
  id: string;
49870
+ incoming_booked: number;
49871
+ line_status: string;
49206
49872
  name: string;
49207
49873
  note: string | null;
49208
49874
  pot_size: string | null;
@@ -49210,6 +49876,8 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
49210
49876
  product_type: string;
49211
49877
  purchase_order_id: string;
49212
49878
  quantity: number;
49879
+ received_at: string | null;
49880
+ received_booked: number;
49213
49881
  supplier_id: string | null;
49214
49882
  supplier_product_id: string | null;
49215
49883
  unit_price_cents: number;
@@ -49217,9 +49885,13 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
49217
49885
  };
49218
49886
  Insert: {
49219
49887
  article_number?: string | null;
49888
+ cancel_reason?: string | null;
49889
+ cancelled_at?: string | null;
49220
49890
  created_at?: string;
49221
49891
  delivery_date?: string | null;
49222
49892
  id?: string;
49893
+ incoming_booked?: number;
49894
+ line_status?: string;
49223
49895
  name?: string;
49224
49896
  note?: string | null;
49225
49897
  pot_size?: string | null;
@@ -49227,6 +49899,8 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
49227
49899
  product_type?: string;
49228
49900
  purchase_order_id: string;
49229
49901
  quantity?: number;
49902
+ received_at?: string | null;
49903
+ received_booked?: number;
49230
49904
  supplier_id?: string | null;
49231
49905
  supplier_product_id?: string | null;
49232
49906
  unit_price_cents?: number;
@@ -49234,9 +49908,13 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
49234
49908
  };
49235
49909
  Update: {
49236
49910
  article_number?: string | null;
49911
+ cancel_reason?: string | null;
49912
+ cancelled_at?: string | null;
49237
49913
  created_at?: string;
49238
49914
  delivery_date?: string | null;
49239
49915
  id?: string;
49916
+ incoming_booked?: number;
49917
+ line_status?: string;
49240
49918
  name?: string;
49241
49919
  note?: string | null;
49242
49920
  pot_size?: string | null;
@@ -49244,6 +49922,8 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
49244
49922
  product_type?: string;
49245
49923
  purchase_order_id?: string;
49246
49924
  quantity?: number;
49925
+ received_at?: string | null;
49926
+ received_booked?: number;
49247
49927
  supplier_id?: string | null;
49248
49928
  supplier_product_id?: string | null;
49249
49929
  unit_price_cents?: number;
@@ -49347,6 +50027,153 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
49347
50027
  referencedColumns: ["id"];
49348
50028
  }];
49349
50029
  };
50030
+ purchase_request_events: {
50031
+ Row: {
50032
+ created_at: string;
50033
+ details: import("../integrations/supabase/types").Json | null;
50034
+ event_type: string;
50035
+ id: string;
50036
+ request_id: string;
50037
+ };
50038
+ Insert: {
50039
+ created_at?: string;
50040
+ details?: import("../integrations/supabase/types").Json | null;
50041
+ event_type: string;
50042
+ id?: string;
50043
+ request_id: string;
50044
+ };
50045
+ Update: {
50046
+ created_at?: string;
50047
+ details?: import("../integrations/supabase/types").Json | null;
50048
+ event_type?: string;
50049
+ id?: string;
50050
+ request_id?: string;
50051
+ };
50052
+ Relationships: [{
50053
+ foreignKeyName: "purchase_request_events_request_id_fkey";
50054
+ columns: ["request_id"];
50055
+ isOneToOne: false;
50056
+ referencedRelation: "purchase_requests";
50057
+ referencedColumns: ["id"];
50058
+ }];
50059
+ };
50060
+ purchase_request_responses: {
50061
+ Row: {
50062
+ confirmed_date: string | null;
50063
+ confirmed_price_cents: number | null;
50064
+ confirmed_quantity: number;
50065
+ created_at: string;
50066
+ id: string;
50067
+ not_available: boolean;
50068
+ note: string | null;
50069
+ purchase_order_item_id: string;
50070
+ request_id: string;
50071
+ updated_at: string;
50072
+ };
50073
+ Insert: {
50074
+ confirmed_date?: string | null;
50075
+ confirmed_price_cents?: number | null;
50076
+ confirmed_quantity?: number;
50077
+ created_at?: string;
50078
+ id?: string;
50079
+ not_available?: boolean;
50080
+ note?: string | null;
50081
+ purchase_order_item_id: string;
50082
+ request_id: string;
50083
+ updated_at?: string;
50084
+ };
50085
+ Update: {
50086
+ confirmed_date?: string | null;
50087
+ confirmed_price_cents?: number | null;
50088
+ confirmed_quantity?: number;
50089
+ created_at?: string;
50090
+ id?: string;
50091
+ not_available?: boolean;
50092
+ note?: string | null;
50093
+ purchase_order_item_id?: string;
50094
+ request_id?: string;
50095
+ updated_at?: string;
50096
+ };
50097
+ Relationships: [{
50098
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
50099
+ columns: ["purchase_order_item_id"];
50100
+ isOneToOne: false;
50101
+ referencedRelation: "purchase_order_items";
50102
+ referencedColumns: ["id"];
50103
+ }, {
50104
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
50105
+ columns: ["request_id"];
50106
+ isOneToOne: false;
50107
+ referencedRelation: "purchase_requests";
50108
+ referencedColumns: ["id"];
50109
+ }];
50110
+ };
50111
+ purchase_requests: {
50112
+ Row: {
50113
+ created_at: string;
50114
+ expires_at: string;
50115
+ first_viewed_at: string | null;
50116
+ id: string;
50117
+ processed_at: string | null;
50118
+ purchase_order_id: string;
50119
+ responded_at: string | null;
50120
+ sent_at: string;
50121
+ status: string;
50122
+ supplier_id: string | null;
50123
+ supplier_name: string;
50124
+ supplier_note: string | null;
50125
+ to_address: string | null;
50126
+ token_hash: string;
50127
+ updated_at: string;
50128
+ };
50129
+ Insert: {
50130
+ created_at?: string;
50131
+ expires_at?: string;
50132
+ first_viewed_at?: string | null;
50133
+ id?: string;
50134
+ processed_at?: string | null;
50135
+ purchase_order_id: string;
50136
+ responded_at?: string | null;
50137
+ sent_at?: string;
50138
+ status?: string;
50139
+ supplier_id?: string | null;
50140
+ supplier_name?: string;
50141
+ supplier_note?: string | null;
50142
+ to_address?: string | null;
50143
+ token_hash: string;
50144
+ updated_at?: string;
50145
+ };
50146
+ Update: {
50147
+ created_at?: string;
50148
+ expires_at?: string;
50149
+ first_viewed_at?: string | null;
50150
+ id?: string;
50151
+ processed_at?: string | null;
50152
+ purchase_order_id?: string;
50153
+ responded_at?: string | null;
50154
+ sent_at?: string;
50155
+ status?: string;
50156
+ supplier_id?: string | null;
50157
+ supplier_name?: string;
50158
+ supplier_note?: string | null;
50159
+ to_address?: string | null;
50160
+ token_hash?: string;
50161
+ updated_at?: string;
50162
+ };
50163
+ Relationships: [{
50164
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
50165
+ columns: ["purchase_order_id"];
50166
+ isOneToOne: false;
50167
+ referencedRelation: "purchase_orders";
50168
+ referencedColumns: ["id"];
50169
+ }, {
50170
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
50171
+ columns: ["supplier_id"];
50172
+ isOneToOne: false;
50173
+ referencedRelation: "suppliers";
50174
+ referencedColumns: ["id"];
50175
+ }];
50176
+ };
49350
50177
  reception_notifications: {
49351
50178
  Row: {
49352
50179
  booking_id: string | null;
@@ -51510,6 +52337,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
51510
52337
  auto_invoice_enabled: boolean;
51511
52338
  auto_invoice_start_date: string | null;
51512
52339
  auto_invoice_trigger_statuses: string[];
52340
+ auto_send_mode: string | null;
51513
52341
  created_at: string;
51514
52342
  debtor_gl_account: string;
51515
52343
  default_article_code: string | null;
@@ -51538,6 +52366,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
51538
52366
  auto_invoice_enabled?: boolean;
51539
52367
  auto_invoice_start_date?: string | null;
51540
52368
  auto_invoice_trigger_statuses?: string[];
52369
+ auto_send_mode?: string | null;
51541
52370
  created_at?: string;
51542
52371
  debtor_gl_account?: string;
51543
52372
  default_article_code?: string | null;
@@ -51566,6 +52395,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
51566
52395
  auto_invoice_enabled?: boolean;
51567
52396
  auto_invoice_start_date?: string | null;
51568
52397
  auto_invoice_trigger_statuses?: string[];
52398
+ auto_send_mode?: string | null;
51569
52399
  created_at?: string;
51570
52400
  debtor_gl_account?: string;
51571
52401
  default_article_code?: string | null;
@@ -53769,7 +54599,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
53769
54599
  created_at: string;
53770
54600
  default_quantity: number;
53771
54601
  description: string | null;
53772
- duration_minutes: number | null;
54602
+ duration_minutes: number;
53773
54603
  id: string;
53774
54604
  mandaat_type: string | null;
53775
54605
  name: string;
@@ -53786,7 +54616,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
53786
54616
  created_at?: string;
53787
54617
  default_quantity?: number;
53788
54618
  description?: string | null;
53789
- duration_minutes?: number | null;
54619
+ duration_minutes?: number;
53790
54620
  id?: string;
53791
54621
  mandaat_type?: string | null;
53792
54622
  name: string;
@@ -53803,7 +54633,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
53803
54633
  created_at?: string;
53804
54634
  default_quantity?: number;
53805
54635
  description?: string | null;
53806
- duration_minutes?: number | null;
54636
+ duration_minutes?: number;
53807
54637
  id?: string;
53808
54638
  mandaat_type?: string | null;
53809
54639
  name?: string;
@@ -56799,6 +57629,31 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
56799
57629
  };
56800
57630
  Returns: import("../integrations/supabase/types").Json;
56801
57631
  };
57632
+ inkoop_cancel_line: {
57633
+ Args: {
57634
+ _item_id: string;
57635
+ _reason: string;
57636
+ };
57637
+ Returns: string;
57638
+ };
57639
+ inkoop_get_supplier_request: {
57640
+ Args: {
57641
+ _token: string;
57642
+ };
57643
+ Returns: import("../integrations/supabase/types").Json;
57644
+ };
57645
+ inkoop_hash_token: {
57646
+ Args: {
57647
+ _token: string;
57648
+ };
57649
+ Returns: string;
57650
+ };
57651
+ inkoop_html_escape: {
57652
+ Args: {
57653
+ _t: string;
57654
+ };
57655
+ Returns: string;
57656
+ };
56802
57657
  inkoop_list_artikelen: {
56803
57658
  Args: never;
56804
57659
  Returns: {
@@ -56823,9 +57678,17 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
56823
57678
  Args: never;
56824
57679
  Returns: string;
56825
57680
  };
57681
+ inkoop_process_request: {
57682
+ Args: {
57683
+ _request_id: string;
57684
+ };
57685
+ Returns: undefined;
57686
+ };
56826
57687
  inkoop_send_order: {
56827
57688
  Args: {
57689
+ _base_url?: string;
56828
57690
  _order_id: string;
57691
+ _resend?: boolean;
56829
57692
  };
56830
57693
  Returns: {
56831
57694
  outbox_id: string;
@@ -56840,6 +57703,26 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
56840
57703
  };
56841
57704
  Returns: undefined;
56842
57705
  };
57706
+ inkoop_stock_key: {
57707
+ Args: {
57708
+ p_product_id: string;
57709
+ };
57710
+ Returns: string;
57711
+ };
57712
+ inkoop_submit_supplier_response: {
57713
+ Args: {
57714
+ _lines: import("../integrations/supabase/types").Json;
57715
+ _note?: string;
57716
+ _token: string;
57717
+ };
57718
+ Returns: import("../integrations/supabase/types").Json;
57719
+ };
57720
+ inkoop_sync_item_stock: {
57721
+ Args: {
57722
+ p_item_id: string;
57723
+ };
57724
+ Returns: undefined;
57725
+ };
56843
57726
  instructie_get: {
56844
57727
  Args: {
56845
57728
  _sleutel: string;
@@ -57000,6 +57883,27 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
57000
57883
  };
57001
57884
  Returns: boolean;
57002
57885
  };
57886
+ layout_print_document: {
57887
+ Args: {
57888
+ _documentnaam: string;
57889
+ _documenttype: string;
57890
+ _herkomst?: string;
57891
+ _idempotentie_sleutel?: string;
57892
+ _is_herprint?: boolean;
57893
+ _kopieen?: number;
57894
+ _layout_id?: string;
57895
+ _payload?: import("../integrations/supabase/types").Json;
57896
+ _pdf_base64?: string;
57897
+ _pdf_url?: string;
57898
+ _print_plek_id?: string;
57899
+ _werkplek?: string;
57900
+ };
57901
+ Returns: {
57902
+ bestaand: boolean;
57903
+ job_id: string;
57904
+ printer_id: string;
57905
+ }[];
57906
+ };
57003
57907
  list_medewerkers: {
57004
57908
  Args: never;
57005
57909
  Returns: {
@@ -57277,6 +58181,12 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
57277
58181
  };
57278
58182
  Returns: number;
57279
58183
  };
58184
+ logistics_cart_barcode_opschonen: {
58185
+ Args: {
58186
+ p_portie?: number;
58187
+ };
58188
+ Returns: import("../integrations/supabase/types").Json;
58189
+ };
57280
58190
  logistics_cart_barcode_value: {
57281
58191
  Args: {
57282
58192
  _cart_id: string;
@@ -57696,6 +58606,13 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
57696
58606
  };
57697
58607
  Returns: import("../integrations/supabase/types").Json;
57698
58608
  };
58609
+ logistics_control_scan_print_own: {
58610
+ Args: {
58611
+ p_is_herprint?: boolean;
58612
+ p_scan_id: string;
58613
+ };
58614
+ Returns: import("../integrations/supabase/types").Json;
58615
+ };
57699
58616
  logistics_control_scan_retry: {
57700
58617
  Args: {
57701
58618
  _id: string;
@@ -58600,6 +59517,21 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
58600
59517
  };
58601
59518
  Returns: import("../integrations/supabase/types").Json;
58602
59519
  };
59520
+ logistics_print_via_layout: {
59521
+ Args: {
59522
+ _documentnaam: string;
59523
+ _documenttype: string;
59524
+ _herkomst: string;
59525
+ _idempotentie_sleutel: string;
59526
+ _is_herprint: boolean;
59527
+ _layout_id: string;
59528
+ _payload: import("../integrations/supabase/types").Json;
59529
+ _pdf_base64: string;
59530
+ _pdf_url: string;
59531
+ _print_plek_id: string;
59532
+ };
59533
+ Returns: import("../integrations/supabase/types").Json;
59534
+ };
58603
59535
  logistics_prune_buffer_member_queue: {
58604
59536
  Args: never;
58605
59537
  Returns: number;
@@ -58886,6 +59818,13 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
58886
59818
  };
58887
59819
  Returns: string;
58888
59820
  };
59821
+ logistics_shipping_note_status: {
59822
+ Args: {
59823
+ p_cart_id?: string;
59824
+ p_slip_job_id?: string;
59825
+ };
59826
+ Returns: import("../integrations/supabase/types").Json;
59827
+ };
58889
59828
  logistics_shipping_notes_wake_all: {
58890
59829
  Args: never;
58891
59830
  Returns: import("../integrations/supabase/types").Json;
@@ -58948,6 +59887,12 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
58948
59887
  };
58949
59888
  Returns: undefined;
58950
59889
  };
59890
+ logistics_slip_note_retry: {
59891
+ Args: {
59892
+ _id: string;
59893
+ };
59894
+ Returns: import("../integrations/supabase/types").Json;
59895
+ };
58951
59896
  logistics_sticker_follows_slip: {
58952
59897
  Args: never;
58953
59898
  Returns: boolean;
@@ -59692,6 +60637,10 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
59692
60637
  };
59693
60638
  Returns: string;
59694
60639
  };
60640
+ pick_is_reference_admin: {
60641
+ Args: never;
60642
+ Returns: boolean;
60643
+ };
59695
60644
  pick_mark_printed: {
59696
60645
  Args: {
59697
60646
  _queue_item_id: string;
@@ -60565,6 +61514,13 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
60565
61514
  };
60566
61515
  Returns: import("../integrations/supabase/types").Json;
60567
61516
  };
61517
+ scan_controleer_pincode: {
61518
+ Args: {
61519
+ p_pin: string;
61520
+ p_scanner_id: string;
61521
+ };
61522
+ Returns: boolean;
61523
+ };
60568
61524
  scan_dashboard_stats: {
60569
61525
  Args: {
60570
61526
  p_dagen?: number;
@@ -60584,6 +61540,12 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
60584
61540
  };
60585
61541
  Returns: import("../integrations/supabase/types").Json;
60586
61542
  };
61543
+ scan_heeft_pincode: {
61544
+ Args: {
61545
+ p_scanner_id: string;
61546
+ };
61547
+ Returns: boolean;
61548
+ };
60587
61549
  scan_kar_compleet: {
60588
61550
  Args: {
60589
61551
  p_allow_reprint?: boolean;
@@ -60601,6 +61563,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
60601
61563
  Args: {
60602
61564
  p_code: string;
60603
61565
  p_latency_ms?: number;
61566
+ p_medewerker?: string;
60604
61567
  p_message?: string;
60605
61568
  p_result: string;
60606
61569
  p_scanner_key?: string;
@@ -60673,6 +61636,22 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
60673
61636
  };
60674
61637
  Returns: undefined;
60675
61638
  };
61639
+ scan_scanner_info: {
61640
+ Args: {
61641
+ p_slug: string;
61642
+ };
61643
+ Returns: {
61644
+ actief: boolean;
61645
+ heeft_pincode: boolean;
61646
+ id: string;
61647
+ naam: string;
61648
+ omschrijving: string;
61649
+ printer_id: string;
61650
+ type: string;
61651
+ vereist_medewerker: boolean;
61652
+ werkplek: string;
61653
+ }[];
61654
+ };
60676
61655
  scan_sessie_annuleren: {
60677
61656
  Args: {
60678
61657
  p_sessie_id: string;
@@ -61635,6 +62614,21 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
61635
62614
  };
61636
62615
  Returns: import("../integrations/supabase/types").Json;
61637
62616
  };
62617
+ wo_list_colleague_planning: {
62618
+ Args: {
62619
+ _from: string;
62620
+ _monteur_id: string;
62621
+ _to: string;
62622
+ };
62623
+ Returns: {
62624
+ end_at: string;
62625
+ id: string;
62626
+ role: string;
62627
+ start_at: string;
62628
+ status: string;
62629
+ werkbon_id: string;
62630
+ }[];
62631
+ };
61638
62632
  wo_list_offerte_requests: {
61639
62633
  Args: {
61640
62634
  _status?: string;