@flowselections/logistiek-engine 1.0.90 → 1.0.98

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 (53) hide show
  1. package/dist-lib/components/FlowOrders.js +1 -1
  2. package/dist-lib/components/MisluktVerzendbrievenCard.d.ts +2 -0
  3. package/dist-lib/components/MisluktVerzendbrievenCard.d.ts.map +1 -0
  4. package/dist-lib/components/MisluktVerzendbrievenCard.js +50 -0
  5. package/dist-lib/components/RegiePage.d.ts.map +1 -1
  6. package/dist-lib/components/RegiePage.js +2 -1
  7. package/dist-lib/components/RuleEnginePage.d.ts.map +1 -1
  8. package/dist-lib/components/RuleEnginePage.js +3 -1
  9. package/dist-lib/hooks/useShippingNoteStatus.d.ts +2 -0
  10. package/dist-lib/hooks/useShippingNoteStatus.d.ts.map +1 -1
  11. package/dist-lib/hooks/useShippingNoteStatus.js +13 -1
  12. package/dist-lib/hooks/useShippingNoteStatus.test.d.ts +2 -0
  13. package/dist-lib/hooks/useShippingNoteStatus.test.d.ts.map +1 -0
  14. package/dist-lib/hooks/useShippingNoteStatus.test.js +20 -0
  15. package/dist-lib/integrations/supabase/auth-middleware.d.ts +415 -0
  16. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  17. package/dist-lib/integrations/supabase/client.server.d.ts +415 -0
  18. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  19. package/dist-lib/integrations/supabase/moduleClient.d.ts +415 -0
  20. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  21. package/dist-lib/integrations/supabase/types.d.ts +423 -0
  22. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  23. package/dist-lib/lib/cartCoverage.functions.d.ts +415 -0
  24. package/dist-lib/lib/cartCoverage.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/controlScan.server.d.ts +2 -0
  26. package/dist-lib/lib/controlScan.server.d.ts.map +1 -1
  27. package/dist-lib/lib/controlScan.server.js +59 -53
  28. package/dist-lib/lib/floridayDocuments.functions.d.ts +1245 -0
  29. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/floridayPush.functions.d.ts +415 -0
  31. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/layoutPrint.server.d.ts +27 -0
  33. package/dist-lib/lib/layoutPrint.server.d.ts.map +1 -0
  34. package/dist-lib/lib/layoutPrint.server.js +48 -0
  35. package/dist-lib/lib/layoutPrint.test.d.ts +2 -0
  36. package/dist-lib/lib/layoutPrint.test.d.ts.map +1 -0
  37. package/dist-lib/lib/layoutPrint.test.js +47 -0
  38. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +2075 -0
  39. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
  41. package/dist-lib/lib/loadCarrierPlanning.server.js +52 -8
  42. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +830 -0
  43. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +415 -0
  45. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
  47. package/dist-lib/lib/modulePrompts.js +54 -0
  48. package/dist-lib/lib/plannerDiff.functions.d.ts +415 -0
  49. package/dist-lib/lib/plannerDiff.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/ruleEngineSchema.js +2 -2
  51. package/dist-lib/lib/shippingNoteQueue.server.d.ts.map +1 -1
  52. package/dist-lib/lib/shippingNoteQueue.server.js +40 -49
  53. package/package.json +1 -1
@@ -734,6 +734,27 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
734
734
  };
735
735
  Relationships: [];
736
736
  };
737
+ artikelen_instellingen: {
738
+ Row: {
739
+ created_at: string;
740
+ id: number;
741
+ marge_procent: number;
742
+ updated_at: string;
743
+ };
744
+ Insert: {
745
+ created_at?: string;
746
+ id?: number;
747
+ marge_procent?: number;
748
+ updated_at?: string;
749
+ };
750
+ Update: {
751
+ created_at?: string;
752
+ id?: number;
753
+ marge_procent?: number;
754
+ updated_at?: string;
755
+ };
756
+ Relationships: [];
757
+ };
737
758
  artikelen_veldconfig: {
738
759
  Row: {
739
760
  bron_pad: string;
@@ -10409,6 +10430,30 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
10409
10430
  };
10410
10431
  Relationships: [];
10411
10432
  };
10433
+ logistics_cart_barcode_archief: {
10434
+ Row: {
10435
+ barcode: string;
10436
+ cart_id: string;
10437
+ created_at: string | null;
10438
+ gearchiveerd_op: string;
10439
+ order_id: string | null;
10440
+ };
10441
+ Insert: {
10442
+ barcode: string;
10443
+ cart_id: string;
10444
+ created_at?: string | null;
10445
+ gearchiveerd_op?: string;
10446
+ order_id?: string | null;
10447
+ };
10448
+ Update: {
10449
+ barcode?: string;
10450
+ cart_id?: string;
10451
+ created_at?: string | null;
10452
+ gearchiveerd_op?: string;
10453
+ order_id?: string | null;
10454
+ };
10455
+ Relationships: [];
10456
+ };
10412
10457
  logistics_control_scan: {
10413
10458
  Row: {
10414
10459
  approved_at: string | null;
@@ -14695,6 +14740,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
14695
14740
  next_attempt_at: string;
14696
14741
  order_id: string;
14697
14742
  processed_at: string | null;
14743
+ send_error: string | null;
14698
14744
  status: string;
14699
14745
  updated_at: string;
14700
14746
  };
@@ -14708,6 +14754,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
14708
14754
  next_attempt_at?: string;
14709
14755
  order_id: string;
14710
14756
  processed_at?: string | null;
14757
+ send_error?: string | null;
14711
14758
  status?: string;
14712
14759
  updated_at?: string;
14713
14760
  };
@@ -14721,6 +14768,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
14721
14768
  next_attempt_at?: string;
14722
14769
  order_id?: string;
14723
14770
  processed_at?: string | null;
14771
+ send_error?: string | null;
14724
14772
  status?: string;
14725
14773
  updated_at?: string;
14726
14774
  };
@@ -16059,18 +16107,24 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16059
16107
  Row: {
16060
16108
  id: boolean;
16061
16109
  last_cleanup_at: string | null;
16110
+ last_error: string | null;
16111
+ last_error_at: string | null;
16062
16112
  last_sync_at: string | null;
16063
16113
  updated_at: string;
16064
16114
  };
16065
16115
  Insert: {
16066
16116
  id?: boolean;
16067
16117
  last_cleanup_at?: string | null;
16118
+ last_error?: string | null;
16119
+ last_error_at?: string | null;
16068
16120
  last_sync_at?: string | null;
16069
16121
  updated_at?: string;
16070
16122
  };
16071
16123
  Update: {
16072
16124
  id?: boolean;
16073
16125
  last_cleanup_at?: string | null;
16126
+ last_error?: string | null;
16127
+ last_error_at?: string | null;
16074
16128
  last_sync_at?: string | null;
16075
16129
  updated_at?: string;
16076
16130
  };
@@ -17758,6 +17812,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
17758
17812
  lead_time_days: number | null;
17759
17813
  min_order_quantity: number | null;
17760
17814
  notes: string | null;
17815
+ previous_price_cents: number | null;
17816
+ price_source: string;
17817
+ price_updated_at: string | null;
17761
17818
  product_id: string;
17762
17819
  purchase_price_cents: number | null;
17763
17820
  supplier_article_number: string | null;
@@ -17771,6 +17828,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
17771
17828
  lead_time_days?: number | null;
17772
17829
  min_order_quantity?: number | null;
17773
17830
  notes?: string | null;
17831
+ previous_price_cents?: number | null;
17832
+ price_source?: string;
17833
+ price_updated_at?: string | null;
17774
17834
  product_id: string;
17775
17835
  purchase_price_cents?: number | null;
17776
17836
  supplier_article_number?: string | null;
@@ -17784,6 +17844,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
17784
17844
  lead_time_days?: number | null;
17785
17845
  min_order_quantity?: number | null;
17786
17846
  notes?: string | null;
17847
+ previous_price_cents?: number | null;
17848
+ price_source?: string;
17849
+ price_updated_at?: string | null;
17787
17850
  product_id?: string;
17788
17851
  purchase_price_cents?: number | null;
17789
17852
  supplier_article_number?: string | null;
@@ -18314,9 +18377,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
18314
18377
  purchase_order_items: {
18315
18378
  Row: {
18316
18379
  article_number: string | null;
18380
+ cancel_reason: string | null;
18381
+ cancelled_at: string | null;
18317
18382
  created_at: string;
18318
18383
  delivery_date: string | null;
18319
18384
  id: string;
18385
+ incoming_booked: number;
18386
+ line_status: string;
18320
18387
  name: string;
18321
18388
  note: string | null;
18322
18389
  pot_size: string | null;
@@ -18324,6 +18391,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
18324
18391
  product_type: string;
18325
18392
  purchase_order_id: string;
18326
18393
  quantity: number;
18394
+ received_at: string | null;
18395
+ received_booked: number;
18327
18396
  supplier_id: string | null;
18328
18397
  supplier_product_id: string | null;
18329
18398
  unit_price_cents: number;
@@ -18331,9 +18400,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
18331
18400
  };
18332
18401
  Insert: {
18333
18402
  article_number?: string | null;
18403
+ cancel_reason?: string | null;
18404
+ cancelled_at?: string | null;
18334
18405
  created_at?: string;
18335
18406
  delivery_date?: string | null;
18336
18407
  id?: string;
18408
+ incoming_booked?: number;
18409
+ line_status?: string;
18337
18410
  name?: string;
18338
18411
  note?: string | null;
18339
18412
  pot_size?: string | null;
@@ -18341,6 +18414,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
18341
18414
  product_type?: string;
18342
18415
  purchase_order_id: string;
18343
18416
  quantity?: number;
18417
+ received_at?: string | null;
18418
+ received_booked?: number;
18344
18419
  supplier_id?: string | null;
18345
18420
  supplier_product_id?: string | null;
18346
18421
  unit_price_cents?: number;
@@ -18348,9 +18423,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
18348
18423
  };
18349
18424
  Update: {
18350
18425
  article_number?: string | null;
18426
+ cancel_reason?: string | null;
18427
+ cancelled_at?: string | null;
18351
18428
  created_at?: string;
18352
18429
  delivery_date?: string | null;
18353
18430
  id?: string;
18431
+ incoming_booked?: number;
18432
+ line_status?: string;
18354
18433
  name?: string;
18355
18434
  note?: string | null;
18356
18435
  pot_size?: string | null;
@@ -18358,6 +18437,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
18358
18437
  product_type?: string;
18359
18438
  purchase_order_id?: string;
18360
18439
  quantity?: number;
18440
+ received_at?: string | null;
18441
+ received_booked?: number;
18361
18442
  supplier_id?: string | null;
18362
18443
  supplier_product_id?: string | null;
18363
18444
  unit_price_cents?: number;
@@ -18461,6 +18542,153 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
18461
18542
  referencedColumns: ["id"];
18462
18543
  }];
18463
18544
  };
18545
+ purchase_request_events: {
18546
+ Row: {
18547
+ created_at: string;
18548
+ details: import("../integrations/supabase/types").Json | null;
18549
+ event_type: string;
18550
+ id: string;
18551
+ request_id: string;
18552
+ };
18553
+ Insert: {
18554
+ created_at?: string;
18555
+ details?: import("../integrations/supabase/types").Json | null;
18556
+ event_type: string;
18557
+ id?: string;
18558
+ request_id: string;
18559
+ };
18560
+ Update: {
18561
+ created_at?: string;
18562
+ details?: import("../integrations/supabase/types").Json | null;
18563
+ event_type?: string;
18564
+ id?: string;
18565
+ request_id?: string;
18566
+ };
18567
+ Relationships: [{
18568
+ foreignKeyName: "purchase_request_events_request_id_fkey";
18569
+ columns: ["request_id"];
18570
+ isOneToOne: false;
18571
+ referencedRelation: "purchase_requests";
18572
+ referencedColumns: ["id"];
18573
+ }];
18574
+ };
18575
+ purchase_request_responses: {
18576
+ Row: {
18577
+ confirmed_date: string | null;
18578
+ confirmed_price_cents: number | null;
18579
+ confirmed_quantity: number;
18580
+ created_at: string;
18581
+ id: string;
18582
+ not_available: boolean;
18583
+ note: string | null;
18584
+ purchase_order_item_id: string;
18585
+ request_id: string;
18586
+ updated_at: string;
18587
+ };
18588
+ Insert: {
18589
+ confirmed_date?: string | null;
18590
+ confirmed_price_cents?: number | null;
18591
+ confirmed_quantity?: number;
18592
+ created_at?: string;
18593
+ id?: string;
18594
+ not_available?: boolean;
18595
+ note?: string | null;
18596
+ purchase_order_item_id: string;
18597
+ request_id: string;
18598
+ updated_at?: string;
18599
+ };
18600
+ Update: {
18601
+ confirmed_date?: string | null;
18602
+ confirmed_price_cents?: number | null;
18603
+ confirmed_quantity?: number;
18604
+ created_at?: string;
18605
+ id?: string;
18606
+ not_available?: boolean;
18607
+ note?: string | null;
18608
+ purchase_order_item_id?: string;
18609
+ request_id?: string;
18610
+ updated_at?: string;
18611
+ };
18612
+ Relationships: [{
18613
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
18614
+ columns: ["purchase_order_item_id"];
18615
+ isOneToOne: false;
18616
+ referencedRelation: "purchase_order_items";
18617
+ referencedColumns: ["id"];
18618
+ }, {
18619
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
18620
+ columns: ["request_id"];
18621
+ isOneToOne: false;
18622
+ referencedRelation: "purchase_requests";
18623
+ referencedColumns: ["id"];
18624
+ }];
18625
+ };
18626
+ purchase_requests: {
18627
+ Row: {
18628
+ created_at: string;
18629
+ expires_at: string;
18630
+ first_viewed_at: string | null;
18631
+ id: string;
18632
+ processed_at: string | null;
18633
+ purchase_order_id: string;
18634
+ responded_at: string | null;
18635
+ sent_at: string;
18636
+ status: string;
18637
+ supplier_id: string | null;
18638
+ supplier_name: string;
18639
+ supplier_note: string | null;
18640
+ to_address: string | null;
18641
+ token_hash: string;
18642
+ updated_at: string;
18643
+ };
18644
+ Insert: {
18645
+ created_at?: string;
18646
+ expires_at?: string;
18647
+ first_viewed_at?: string | null;
18648
+ id?: string;
18649
+ processed_at?: string | null;
18650
+ purchase_order_id: string;
18651
+ responded_at?: string | null;
18652
+ sent_at?: string;
18653
+ status?: string;
18654
+ supplier_id?: string | null;
18655
+ supplier_name?: string;
18656
+ supplier_note?: string | null;
18657
+ to_address?: string | null;
18658
+ token_hash: string;
18659
+ updated_at?: string;
18660
+ };
18661
+ Update: {
18662
+ created_at?: string;
18663
+ expires_at?: string;
18664
+ first_viewed_at?: string | null;
18665
+ id?: string;
18666
+ processed_at?: string | null;
18667
+ purchase_order_id?: string;
18668
+ responded_at?: string | null;
18669
+ sent_at?: string;
18670
+ status?: string;
18671
+ supplier_id?: string | null;
18672
+ supplier_name?: string;
18673
+ supplier_note?: string | null;
18674
+ to_address?: string | null;
18675
+ token_hash?: string;
18676
+ updated_at?: string;
18677
+ };
18678
+ Relationships: [{
18679
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
18680
+ columns: ["purchase_order_id"];
18681
+ isOneToOne: false;
18682
+ referencedRelation: "purchase_orders";
18683
+ referencedColumns: ["id"];
18684
+ }, {
18685
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
18686
+ columns: ["supplier_id"];
18687
+ isOneToOne: false;
18688
+ referencedRelation: "suppliers";
18689
+ referencedColumns: ["id"];
18690
+ }];
18691
+ };
18464
18692
  reception_notifications: {
18465
18693
  Row: {
18466
18694
  booking_id: string | null;
@@ -20624,6 +20852,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
20624
20852
  auto_invoice_enabled: boolean;
20625
20853
  auto_invoice_start_date: string | null;
20626
20854
  auto_invoice_trigger_statuses: string[];
20855
+ auto_send_mode: string | null;
20627
20856
  created_at: string;
20628
20857
  debtor_gl_account: string;
20629
20858
  default_article_code: string | null;
@@ -20652,6 +20881,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
20652
20881
  auto_invoice_enabled?: boolean;
20653
20882
  auto_invoice_start_date?: string | null;
20654
20883
  auto_invoice_trigger_statuses?: string[];
20884
+ auto_send_mode?: string | null;
20655
20885
  created_at?: string;
20656
20886
  debtor_gl_account?: string;
20657
20887
  default_article_code?: string | null;
@@ -20680,6 +20910,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
20680
20910
  auto_invoice_enabled?: boolean;
20681
20911
  auto_invoice_start_date?: string | null;
20682
20912
  auto_invoice_trigger_statuses?: string[];
20913
+ auto_send_mode?: string | null;
20683
20914
  created_at?: string;
20684
20915
  debtor_gl_account?: string;
20685
20916
  default_article_code?: string | null;
@@ -25913,13 +26144,66 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
25913
26144
  };
25914
26145
  Returns: import("../integrations/supabase/types").Json;
25915
26146
  };
26147
+ inkoop_cancel_line: {
26148
+ Args: {
26149
+ _item_id: string;
26150
+ _reason: string;
26151
+ };
26152
+ Returns: string;
26153
+ };
26154
+ inkoop_get_supplier_request: {
26155
+ Args: {
26156
+ _token: string;
26157
+ };
26158
+ Returns: import("../integrations/supabase/types").Json;
26159
+ };
26160
+ inkoop_hash_token: {
26161
+ Args: {
26162
+ _token: string;
26163
+ };
26164
+ Returns: string;
26165
+ };
26166
+ inkoop_html_escape: {
26167
+ Args: {
26168
+ _t: string;
26169
+ };
26170
+ Returns: string;
26171
+ };
26172
+ inkoop_list_artikelen: {
26173
+ Args: never;
26174
+ Returns: {
26175
+ article_number: string;
26176
+ barcode: string;
26177
+ id: string;
26178
+ incoming_quantity: number;
26179
+ is_layer: boolean;
26180
+ location: string;
26181
+ min_quantity: number;
26182
+ preferred_supplier_name: string;
26183
+ product: string;
26184
+ product_type: string;
26185
+ purchase_price: number;
26186
+ quantity: number;
26187
+ sale_price: number;
26188
+ supplier_count: number;
26189
+ unit: string;
26190
+ }[];
26191
+ };
25916
26192
  inkoop_next_order_number: {
25917
26193
  Args: never;
25918
26194
  Returns: string;
25919
26195
  };
26196
+ inkoop_process_request: {
26197
+ Args: {
26198
+ _request_id: string;
26199
+ };
26200
+ Returns: undefined;
26201
+ };
25920
26202
  inkoop_send_order: {
25921
26203
  Args: {
26204
+ _base_url?: string;
25922
26205
  _order_id: string;
26206
+ _resend?: boolean;
25923
26207
  };
25924
26208
  Returns: {
25925
26209
  outbox_id: string;
@@ -25934,6 +26218,26 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
25934
26218
  };
25935
26219
  Returns: undefined;
25936
26220
  };
26221
+ inkoop_stock_key: {
26222
+ Args: {
26223
+ p_product_id: string;
26224
+ };
26225
+ Returns: string;
26226
+ };
26227
+ inkoop_submit_supplier_response: {
26228
+ Args: {
26229
+ _lines: import("../integrations/supabase/types").Json;
26230
+ _note?: string;
26231
+ _token: string;
26232
+ };
26233
+ Returns: import("../integrations/supabase/types").Json;
26234
+ };
26235
+ inkoop_sync_item_stock: {
26236
+ Args: {
26237
+ p_item_id: string;
26238
+ };
26239
+ Returns: undefined;
26240
+ };
25937
26241
  instructie_get: {
25938
26242
  Args: {
25939
26243
  _sleutel: string;
@@ -26094,6 +26398,27 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
26094
26398
  };
26095
26399
  Returns: boolean;
26096
26400
  };
26401
+ layout_print_document: {
26402
+ Args: {
26403
+ _documentnaam: string;
26404
+ _documenttype: string;
26405
+ _herkomst?: string;
26406
+ _idempotentie_sleutel?: string;
26407
+ _is_herprint?: boolean;
26408
+ _kopieen?: number;
26409
+ _layout_id?: string;
26410
+ _payload?: import("../integrations/supabase/types").Json;
26411
+ _pdf_base64?: string;
26412
+ _pdf_url?: string;
26413
+ _print_plek_id?: string;
26414
+ _werkplek?: string;
26415
+ };
26416
+ Returns: {
26417
+ bestaand: boolean;
26418
+ job_id: string;
26419
+ printer_id: string;
26420
+ }[];
26421
+ };
26097
26422
  list_medewerkers: {
26098
26423
  Args: never;
26099
26424
  Returns: {
@@ -26371,6 +26696,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
26371
26696
  };
26372
26697
  Returns: number;
26373
26698
  };
26699
+ logistics_cart_barcode_opschonen: {
26700
+ Args: {
26701
+ p_portie?: number;
26702
+ };
26703
+ Returns: import("../integrations/supabase/types").Json;
26704
+ };
26374
26705
  logistics_cart_barcode_value: {
26375
26706
  Args: {
26376
26707
  _cart_id: string;
@@ -26790,6 +27121,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
26790
27121
  };
26791
27122
  Returns: import("../integrations/supabase/types").Json;
26792
27123
  };
27124
+ logistics_control_scan_print_own: {
27125
+ Args: {
27126
+ p_is_herprint?: boolean;
27127
+ p_scan_id: string;
27128
+ };
27129
+ Returns: import("../integrations/supabase/types").Json;
27130
+ };
26793
27131
  logistics_control_scan_retry: {
26794
27132
  Args: {
26795
27133
  _id: string;
@@ -27694,6 +28032,21 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
27694
28032
  };
27695
28033
  Returns: import("../integrations/supabase/types").Json;
27696
28034
  };
28035
+ logistics_print_via_layout: {
28036
+ Args: {
28037
+ _documentnaam: string;
28038
+ _documenttype: string;
28039
+ _herkomst: string;
28040
+ _idempotentie_sleutel: string;
28041
+ _is_herprint: boolean;
28042
+ _layout_id: string;
28043
+ _payload: import("../integrations/supabase/types").Json;
28044
+ _pdf_base64: string;
28045
+ _pdf_url: string;
28046
+ _print_plek_id: string;
28047
+ };
28048
+ Returns: import("../integrations/supabase/types").Json;
28049
+ };
27697
28050
  logistics_prune_buffer_member_queue: {
27698
28051
  Args: never;
27699
28052
  Returns: number;
@@ -27980,6 +28333,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
27980
28333
  };
27981
28334
  Returns: string;
27982
28335
  };
28336
+ logistics_shipping_note_status: {
28337
+ Args: {
28338
+ p_cart_id?: string;
28339
+ p_slip_job_id?: string;
28340
+ };
28341
+ Returns: import("../integrations/supabase/types").Json;
28342
+ };
27983
28343
  logistics_shipping_notes_wake_all: {
27984
28344
  Args: never;
27985
28345
  Returns: import("../integrations/supabase/types").Json;
@@ -28042,6 +28402,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
28042
28402
  };
28043
28403
  Returns: undefined;
28044
28404
  };
28405
+ logistics_slip_note_retry: {
28406
+ Args: {
28407
+ _id: string;
28408
+ };
28409
+ Returns: import("../integrations/supabase/types").Json;
28410
+ };
28045
28411
  logistics_sticker_follows_slip: {
28046
28412
  Args: never;
28047
28413
  Returns: boolean;
@@ -28786,6 +29152,10 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
28786
29152
  };
28787
29153
  Returns: string;
28788
29154
  };
29155
+ pick_is_reference_admin: {
29156
+ Args: never;
29157
+ Returns: boolean;
29158
+ };
28789
29159
  pick_mark_printed: {
28790
29160
  Args: {
28791
29161
  _queue_item_id: string;
@@ -29659,6 +30029,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29659
30029
  };
29660
30030
  Returns: import("../integrations/supabase/types").Json;
29661
30031
  };
30032
+ scan_controleer_pincode: {
30033
+ Args: {
30034
+ p_pin: string;
30035
+ p_scanner_id: string;
30036
+ };
30037
+ Returns: boolean;
30038
+ };
29662
30039
  scan_dashboard_stats: {
29663
30040
  Args: {
29664
30041
  p_dagen?: number;
@@ -29678,6 +30055,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29678
30055
  };
29679
30056
  Returns: import("../integrations/supabase/types").Json;
29680
30057
  };
30058
+ scan_heeft_pincode: {
30059
+ Args: {
30060
+ p_scanner_id: string;
30061
+ };
30062
+ Returns: boolean;
30063
+ };
29681
30064
  scan_kar_compleet: {
29682
30065
  Args: {
29683
30066
  p_allow_reprint?: boolean;
@@ -29695,6 +30078,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29695
30078
  Args: {
29696
30079
  p_code: string;
29697
30080
  p_latency_ms?: number;
30081
+ p_medewerker?: string;
29698
30082
  p_message?: string;
29699
30083
  p_result: string;
29700
30084
  p_scanner_key?: string;
@@ -29767,6 +30151,22 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29767
30151
  };
29768
30152
  Returns: undefined;
29769
30153
  };
30154
+ scan_scanner_info: {
30155
+ Args: {
30156
+ p_slug: string;
30157
+ };
30158
+ Returns: {
30159
+ actief: boolean;
30160
+ heeft_pincode: boolean;
30161
+ id: string;
30162
+ naam: string;
30163
+ omschrijving: string;
30164
+ printer_id: string;
30165
+ type: string;
30166
+ vereist_medewerker: boolean;
30167
+ werkplek: string;
30168
+ }[];
30169
+ };
29770
30170
  scan_sessie_annuleren: {
29771
30171
  Args: {
29772
30172
  p_sessie_id: string;
@@ -30729,6 +31129,21 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
30729
31129
  };
30730
31130
  Returns: import("../integrations/supabase/types").Json;
30731
31131
  };
31132
+ wo_list_colleague_planning: {
31133
+ Args: {
31134
+ _from: string;
31135
+ _monteur_id: string;
31136
+ _to: string;
31137
+ };
31138
+ Returns: {
31139
+ end_at: string;
31140
+ id: string;
31141
+ role: string;
31142
+ start_at: string;
31143
+ status: string;
31144
+ werkbon_id: string;
31145
+ }[];
31146
+ };
30732
31147
  wo_list_offerte_requests: {
30733
31148
  Args: {
30734
31149
  _status?: string;
@@ -31535,6 +31950,27 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
31535
31950
  };
31536
31951
  Relationships: [];
31537
31952
  };
31953
+ artikelen_instellingen: {
31954
+ Row: {
31955
+ created_at: string;
31956
+ id: number;
31957
+ marge_procent: number;
31958
+ updated_at: string;
31959
+ };
31960
+ Insert: {
31961
+ created_at?: string;
31962
+ id?: number;
31963
+ marge_procent?: number;
31964
+ updated_at?: string;
31965
+ };
31966
+ Update: {
31967
+ created_at?: string;
31968
+ id?: number;
31969
+ marge_procent?: number;
31970
+ updated_at?: string;
31971
+ };
31972
+ Relationships: [];
31973
+ };
31538
31974
  artikelen_veldconfig: {
31539
31975
  Row: {
31540
31976
  bron_pad: string;
@@ -41210,6 +41646,30 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
41210
41646
  };
41211
41647
  Relationships: [];
41212
41648
  };
41649
+ logistics_cart_barcode_archief: {
41650
+ Row: {
41651
+ barcode: string;
41652
+ cart_id: string;
41653
+ created_at: string | null;
41654
+ gearchiveerd_op: string;
41655
+ order_id: string | null;
41656
+ };
41657
+ Insert: {
41658
+ barcode: string;
41659
+ cart_id: string;
41660
+ created_at?: string | null;
41661
+ gearchiveerd_op?: string;
41662
+ order_id?: string | null;
41663
+ };
41664
+ Update: {
41665
+ barcode?: string;
41666
+ cart_id?: string;
41667
+ created_at?: string | null;
41668
+ gearchiveerd_op?: string;
41669
+ order_id?: string | null;
41670
+ };
41671
+ Relationships: [];
41672
+ };
41213
41673
  logistics_control_scan: {
41214
41674
  Row: {
41215
41675
  approved_at: string | null;
@@ -45496,6 +45956,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
45496
45956
  next_attempt_at: string;
45497
45957
  order_id: string;
45498
45958
  processed_at: string | null;
45959
+ send_error: string | null;
45499
45960
  status: string;
45500
45961
  updated_at: string;
45501
45962
  };
@@ -45509,6 +45970,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
45509
45970
  next_attempt_at?: string;
45510
45971
  order_id: string;
45511
45972
  processed_at?: string | null;
45973
+ send_error?: string | null;
45512
45974
  status?: string;
45513
45975
  updated_at?: string;
45514
45976
  };
@@ -45522,6 +45984,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
45522
45984
  next_attempt_at?: string;
45523
45985
  order_id?: string;
45524
45986
  processed_at?: string | null;
45987
+ send_error?: string | null;
45525
45988
  status?: string;
45526
45989
  updated_at?: string;
45527
45990
  };
@@ -46860,18 +47323,24 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
46860
47323
  Row: {
46861
47324
  id: boolean;
46862
47325
  last_cleanup_at: string | null;
47326
+ last_error: string | null;
47327
+ last_error_at: string | null;
46863
47328
  last_sync_at: string | null;
46864
47329
  updated_at: string;
46865
47330
  };
46866
47331
  Insert: {
46867
47332
  id?: boolean;
46868
47333
  last_cleanup_at?: string | null;
47334
+ last_error?: string | null;
47335
+ last_error_at?: string | null;
46869
47336
  last_sync_at?: string | null;
46870
47337
  updated_at?: string;
46871
47338
  };
46872
47339
  Update: {
46873
47340
  id?: boolean;
46874
47341
  last_cleanup_at?: string | null;
47342
+ last_error?: string | null;
47343
+ last_error_at?: string | null;
46875
47344
  last_sync_at?: string | null;
46876
47345
  updated_at?: string;
46877
47346
  };
@@ -48559,6 +49028,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48559
49028
  lead_time_days: number | null;
48560
49029
  min_order_quantity: number | null;
48561
49030
  notes: string | null;
49031
+ previous_price_cents: number | null;
49032
+ price_source: string;
49033
+ price_updated_at: string | null;
48562
49034
  product_id: string;
48563
49035
  purchase_price_cents: number | null;
48564
49036
  supplier_article_number: string | null;
@@ -48572,6 +49044,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48572
49044
  lead_time_days?: number | null;
48573
49045
  min_order_quantity?: number | null;
48574
49046
  notes?: string | null;
49047
+ previous_price_cents?: number | null;
49048
+ price_source?: string;
49049
+ price_updated_at?: string | null;
48575
49050
  product_id: string;
48576
49051
  purchase_price_cents?: number | null;
48577
49052
  supplier_article_number?: string | null;
@@ -48585,6 +49060,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48585
49060
  lead_time_days?: number | null;
48586
49061
  min_order_quantity?: number | null;
48587
49062
  notes?: string | null;
49063
+ previous_price_cents?: number | null;
49064
+ price_source?: string;
49065
+ price_updated_at?: string | null;
48588
49066
  product_id?: string;
48589
49067
  purchase_price_cents?: number | null;
48590
49068
  supplier_article_number?: string | null;
@@ -49115,9 +49593,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
49115
49593
  purchase_order_items: {
49116
49594
  Row: {
49117
49595
  article_number: string | null;
49596
+ cancel_reason: string | null;
49597
+ cancelled_at: string | null;
49118
49598
  created_at: string;
49119
49599
  delivery_date: string | null;
49120
49600
  id: string;
49601
+ incoming_booked: number;
49602
+ line_status: string;
49121
49603
  name: string;
49122
49604
  note: string | null;
49123
49605
  pot_size: string | null;
@@ -49125,6 +49607,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
49125
49607
  product_type: string;
49126
49608
  purchase_order_id: string;
49127
49609
  quantity: number;
49610
+ received_at: string | null;
49611
+ received_booked: number;
49128
49612
  supplier_id: string | null;
49129
49613
  supplier_product_id: string | null;
49130
49614
  unit_price_cents: number;
@@ -49132,9 +49616,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
49132
49616
  };
49133
49617
  Insert: {
49134
49618
  article_number?: string | null;
49619
+ cancel_reason?: string | null;
49620
+ cancelled_at?: string | null;
49135
49621
  created_at?: string;
49136
49622
  delivery_date?: string | null;
49137
49623
  id?: string;
49624
+ incoming_booked?: number;
49625
+ line_status?: string;
49138
49626
  name?: string;
49139
49627
  note?: string | null;
49140
49628
  pot_size?: string | null;
@@ -49142,6 +49630,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
49142
49630
  product_type?: string;
49143
49631
  purchase_order_id: string;
49144
49632
  quantity?: number;
49633
+ received_at?: string | null;
49634
+ received_booked?: number;
49145
49635
  supplier_id?: string | null;
49146
49636
  supplier_product_id?: string | null;
49147
49637
  unit_price_cents?: number;
@@ -49149,9 +49639,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
49149
49639
  };
49150
49640
  Update: {
49151
49641
  article_number?: string | null;
49642
+ cancel_reason?: string | null;
49643
+ cancelled_at?: string | null;
49152
49644
  created_at?: string;
49153
49645
  delivery_date?: string | null;
49154
49646
  id?: string;
49647
+ incoming_booked?: number;
49648
+ line_status?: string;
49155
49649
  name?: string;
49156
49650
  note?: string | null;
49157
49651
  pot_size?: string | null;
@@ -49159,6 +49653,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
49159
49653
  product_type?: string;
49160
49654
  purchase_order_id?: string;
49161
49655
  quantity?: number;
49656
+ received_at?: string | null;
49657
+ received_booked?: number;
49162
49658
  supplier_id?: string | null;
49163
49659
  supplier_product_id?: string | null;
49164
49660
  unit_price_cents?: number;
@@ -49262,6 +49758,153 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
49262
49758
  referencedColumns: ["id"];
49263
49759
  }];
49264
49760
  };
49761
+ purchase_request_events: {
49762
+ Row: {
49763
+ created_at: string;
49764
+ details: import("../integrations/supabase/types").Json | null;
49765
+ event_type: string;
49766
+ id: string;
49767
+ request_id: string;
49768
+ };
49769
+ Insert: {
49770
+ created_at?: string;
49771
+ details?: import("../integrations/supabase/types").Json | null;
49772
+ event_type: string;
49773
+ id?: string;
49774
+ request_id: string;
49775
+ };
49776
+ Update: {
49777
+ created_at?: string;
49778
+ details?: import("../integrations/supabase/types").Json | null;
49779
+ event_type?: string;
49780
+ id?: string;
49781
+ request_id?: string;
49782
+ };
49783
+ Relationships: [{
49784
+ foreignKeyName: "purchase_request_events_request_id_fkey";
49785
+ columns: ["request_id"];
49786
+ isOneToOne: false;
49787
+ referencedRelation: "purchase_requests";
49788
+ referencedColumns: ["id"];
49789
+ }];
49790
+ };
49791
+ purchase_request_responses: {
49792
+ Row: {
49793
+ confirmed_date: string | null;
49794
+ confirmed_price_cents: number | null;
49795
+ confirmed_quantity: number;
49796
+ created_at: string;
49797
+ id: string;
49798
+ not_available: boolean;
49799
+ note: string | null;
49800
+ purchase_order_item_id: string;
49801
+ request_id: string;
49802
+ updated_at: string;
49803
+ };
49804
+ Insert: {
49805
+ confirmed_date?: string | null;
49806
+ confirmed_price_cents?: number | null;
49807
+ confirmed_quantity?: number;
49808
+ created_at?: string;
49809
+ id?: string;
49810
+ not_available?: boolean;
49811
+ note?: string | null;
49812
+ purchase_order_item_id: string;
49813
+ request_id: string;
49814
+ updated_at?: string;
49815
+ };
49816
+ Update: {
49817
+ confirmed_date?: string | null;
49818
+ confirmed_price_cents?: number | null;
49819
+ confirmed_quantity?: number;
49820
+ created_at?: string;
49821
+ id?: string;
49822
+ not_available?: boolean;
49823
+ note?: string | null;
49824
+ purchase_order_item_id?: string;
49825
+ request_id?: string;
49826
+ updated_at?: string;
49827
+ };
49828
+ Relationships: [{
49829
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
49830
+ columns: ["purchase_order_item_id"];
49831
+ isOneToOne: false;
49832
+ referencedRelation: "purchase_order_items";
49833
+ referencedColumns: ["id"];
49834
+ }, {
49835
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
49836
+ columns: ["request_id"];
49837
+ isOneToOne: false;
49838
+ referencedRelation: "purchase_requests";
49839
+ referencedColumns: ["id"];
49840
+ }];
49841
+ };
49842
+ purchase_requests: {
49843
+ Row: {
49844
+ created_at: string;
49845
+ expires_at: string;
49846
+ first_viewed_at: string | null;
49847
+ id: string;
49848
+ processed_at: string | null;
49849
+ purchase_order_id: string;
49850
+ responded_at: string | null;
49851
+ sent_at: string;
49852
+ status: string;
49853
+ supplier_id: string | null;
49854
+ supplier_name: string;
49855
+ supplier_note: string | null;
49856
+ to_address: string | null;
49857
+ token_hash: string;
49858
+ updated_at: string;
49859
+ };
49860
+ Insert: {
49861
+ created_at?: string;
49862
+ expires_at?: string;
49863
+ first_viewed_at?: string | null;
49864
+ id?: string;
49865
+ processed_at?: string | null;
49866
+ purchase_order_id: string;
49867
+ responded_at?: string | null;
49868
+ sent_at?: string;
49869
+ status?: string;
49870
+ supplier_id?: string | null;
49871
+ supplier_name?: string;
49872
+ supplier_note?: string | null;
49873
+ to_address?: string | null;
49874
+ token_hash: string;
49875
+ updated_at?: string;
49876
+ };
49877
+ Update: {
49878
+ created_at?: string;
49879
+ expires_at?: string;
49880
+ first_viewed_at?: string | null;
49881
+ id?: string;
49882
+ processed_at?: string | null;
49883
+ purchase_order_id?: string;
49884
+ responded_at?: string | null;
49885
+ sent_at?: string;
49886
+ status?: string;
49887
+ supplier_id?: string | null;
49888
+ supplier_name?: string;
49889
+ supplier_note?: string | null;
49890
+ to_address?: string | null;
49891
+ token_hash?: string;
49892
+ updated_at?: string;
49893
+ };
49894
+ Relationships: [{
49895
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
49896
+ columns: ["purchase_order_id"];
49897
+ isOneToOne: false;
49898
+ referencedRelation: "purchase_orders";
49899
+ referencedColumns: ["id"];
49900
+ }, {
49901
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
49902
+ columns: ["supplier_id"];
49903
+ isOneToOne: false;
49904
+ referencedRelation: "suppliers";
49905
+ referencedColumns: ["id"];
49906
+ }];
49907
+ };
49265
49908
  reception_notifications: {
49266
49909
  Row: {
49267
49910
  booking_id: string | null;
@@ -51425,6 +52068,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
51425
52068
  auto_invoice_enabled: boolean;
51426
52069
  auto_invoice_start_date: string | null;
51427
52070
  auto_invoice_trigger_statuses: string[];
52071
+ auto_send_mode: string | null;
51428
52072
  created_at: string;
51429
52073
  debtor_gl_account: string;
51430
52074
  default_article_code: string | null;
@@ -51453,6 +52097,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
51453
52097
  auto_invoice_enabled?: boolean;
51454
52098
  auto_invoice_start_date?: string | null;
51455
52099
  auto_invoice_trigger_statuses?: string[];
52100
+ auto_send_mode?: string | null;
51456
52101
  created_at?: string;
51457
52102
  debtor_gl_account?: string;
51458
52103
  default_article_code?: string | null;
@@ -51481,6 +52126,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
51481
52126
  auto_invoice_enabled?: boolean;
51482
52127
  auto_invoice_start_date?: string | null;
51483
52128
  auto_invoice_trigger_statuses?: string[];
52129
+ auto_send_mode?: string | null;
51484
52130
  created_at?: string;
51485
52131
  debtor_gl_account?: string;
51486
52132
  default_article_code?: string | null;
@@ -56714,13 +57360,66 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
56714
57360
  };
56715
57361
  Returns: import("../integrations/supabase/types").Json;
56716
57362
  };
57363
+ inkoop_cancel_line: {
57364
+ Args: {
57365
+ _item_id: string;
57366
+ _reason: string;
57367
+ };
57368
+ Returns: string;
57369
+ };
57370
+ inkoop_get_supplier_request: {
57371
+ Args: {
57372
+ _token: string;
57373
+ };
57374
+ Returns: import("../integrations/supabase/types").Json;
57375
+ };
57376
+ inkoop_hash_token: {
57377
+ Args: {
57378
+ _token: string;
57379
+ };
57380
+ Returns: string;
57381
+ };
57382
+ inkoop_html_escape: {
57383
+ Args: {
57384
+ _t: string;
57385
+ };
57386
+ Returns: string;
57387
+ };
57388
+ inkoop_list_artikelen: {
57389
+ Args: never;
57390
+ Returns: {
57391
+ article_number: string;
57392
+ barcode: string;
57393
+ id: string;
57394
+ incoming_quantity: number;
57395
+ is_layer: boolean;
57396
+ location: string;
57397
+ min_quantity: number;
57398
+ preferred_supplier_name: string;
57399
+ product: string;
57400
+ product_type: string;
57401
+ purchase_price: number;
57402
+ quantity: number;
57403
+ sale_price: number;
57404
+ supplier_count: number;
57405
+ unit: string;
57406
+ }[];
57407
+ };
56717
57408
  inkoop_next_order_number: {
56718
57409
  Args: never;
56719
57410
  Returns: string;
56720
57411
  };
57412
+ inkoop_process_request: {
57413
+ Args: {
57414
+ _request_id: string;
57415
+ };
57416
+ Returns: undefined;
57417
+ };
56721
57418
  inkoop_send_order: {
56722
57419
  Args: {
57420
+ _base_url?: string;
56723
57421
  _order_id: string;
57422
+ _resend?: boolean;
56724
57423
  };
56725
57424
  Returns: {
56726
57425
  outbox_id: string;
@@ -56735,6 +57434,26 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
56735
57434
  };
56736
57435
  Returns: undefined;
56737
57436
  };
57437
+ inkoop_stock_key: {
57438
+ Args: {
57439
+ p_product_id: string;
57440
+ };
57441
+ Returns: string;
57442
+ };
57443
+ inkoop_submit_supplier_response: {
57444
+ Args: {
57445
+ _lines: import("../integrations/supabase/types").Json;
57446
+ _note?: string;
57447
+ _token: string;
57448
+ };
57449
+ Returns: import("../integrations/supabase/types").Json;
57450
+ };
57451
+ inkoop_sync_item_stock: {
57452
+ Args: {
57453
+ p_item_id: string;
57454
+ };
57455
+ Returns: undefined;
57456
+ };
56738
57457
  instructie_get: {
56739
57458
  Args: {
56740
57459
  _sleutel: string;
@@ -56895,6 +57614,27 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
56895
57614
  };
56896
57615
  Returns: boolean;
56897
57616
  };
57617
+ layout_print_document: {
57618
+ Args: {
57619
+ _documentnaam: string;
57620
+ _documenttype: string;
57621
+ _herkomst?: string;
57622
+ _idempotentie_sleutel?: string;
57623
+ _is_herprint?: boolean;
57624
+ _kopieen?: number;
57625
+ _layout_id?: string;
57626
+ _payload?: import("../integrations/supabase/types").Json;
57627
+ _pdf_base64?: string;
57628
+ _pdf_url?: string;
57629
+ _print_plek_id?: string;
57630
+ _werkplek?: string;
57631
+ };
57632
+ Returns: {
57633
+ bestaand: boolean;
57634
+ job_id: string;
57635
+ printer_id: string;
57636
+ }[];
57637
+ };
56898
57638
  list_medewerkers: {
56899
57639
  Args: never;
56900
57640
  Returns: {
@@ -57172,6 +57912,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
57172
57912
  };
57173
57913
  Returns: number;
57174
57914
  };
57915
+ logistics_cart_barcode_opschonen: {
57916
+ Args: {
57917
+ p_portie?: number;
57918
+ };
57919
+ Returns: import("../integrations/supabase/types").Json;
57920
+ };
57175
57921
  logistics_cart_barcode_value: {
57176
57922
  Args: {
57177
57923
  _cart_id: string;
@@ -57591,6 +58337,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
57591
58337
  };
57592
58338
  Returns: import("../integrations/supabase/types").Json;
57593
58339
  };
58340
+ logistics_control_scan_print_own: {
58341
+ Args: {
58342
+ p_is_herprint?: boolean;
58343
+ p_scan_id: string;
58344
+ };
58345
+ Returns: import("../integrations/supabase/types").Json;
58346
+ };
57594
58347
  logistics_control_scan_retry: {
57595
58348
  Args: {
57596
58349
  _id: string;
@@ -58495,6 +59248,21 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
58495
59248
  };
58496
59249
  Returns: import("../integrations/supabase/types").Json;
58497
59250
  };
59251
+ logistics_print_via_layout: {
59252
+ Args: {
59253
+ _documentnaam: string;
59254
+ _documenttype: string;
59255
+ _herkomst: string;
59256
+ _idempotentie_sleutel: string;
59257
+ _is_herprint: boolean;
59258
+ _layout_id: string;
59259
+ _payload: import("../integrations/supabase/types").Json;
59260
+ _pdf_base64: string;
59261
+ _pdf_url: string;
59262
+ _print_plek_id: string;
59263
+ };
59264
+ Returns: import("../integrations/supabase/types").Json;
59265
+ };
58498
59266
  logistics_prune_buffer_member_queue: {
58499
59267
  Args: never;
58500
59268
  Returns: number;
@@ -58781,6 +59549,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
58781
59549
  };
58782
59550
  Returns: string;
58783
59551
  };
59552
+ logistics_shipping_note_status: {
59553
+ Args: {
59554
+ p_cart_id?: string;
59555
+ p_slip_job_id?: string;
59556
+ };
59557
+ Returns: import("../integrations/supabase/types").Json;
59558
+ };
58784
59559
  logistics_shipping_notes_wake_all: {
58785
59560
  Args: never;
58786
59561
  Returns: import("../integrations/supabase/types").Json;
@@ -58843,6 +59618,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
58843
59618
  };
58844
59619
  Returns: undefined;
58845
59620
  };
59621
+ logistics_slip_note_retry: {
59622
+ Args: {
59623
+ _id: string;
59624
+ };
59625
+ Returns: import("../integrations/supabase/types").Json;
59626
+ };
58846
59627
  logistics_sticker_follows_slip: {
58847
59628
  Args: never;
58848
59629
  Returns: boolean;
@@ -59587,6 +60368,10 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
59587
60368
  };
59588
60369
  Returns: string;
59589
60370
  };
60371
+ pick_is_reference_admin: {
60372
+ Args: never;
60373
+ Returns: boolean;
60374
+ };
59590
60375
  pick_mark_printed: {
59591
60376
  Args: {
59592
60377
  _queue_item_id: string;
@@ -60460,6 +61245,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
60460
61245
  };
60461
61246
  Returns: import("../integrations/supabase/types").Json;
60462
61247
  };
61248
+ scan_controleer_pincode: {
61249
+ Args: {
61250
+ p_pin: string;
61251
+ p_scanner_id: string;
61252
+ };
61253
+ Returns: boolean;
61254
+ };
60463
61255
  scan_dashboard_stats: {
60464
61256
  Args: {
60465
61257
  p_dagen?: number;
@@ -60479,6 +61271,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
60479
61271
  };
60480
61272
  Returns: import("../integrations/supabase/types").Json;
60481
61273
  };
61274
+ scan_heeft_pincode: {
61275
+ Args: {
61276
+ p_scanner_id: string;
61277
+ };
61278
+ Returns: boolean;
61279
+ };
60482
61280
  scan_kar_compleet: {
60483
61281
  Args: {
60484
61282
  p_allow_reprint?: boolean;
@@ -60496,6 +61294,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
60496
61294
  Args: {
60497
61295
  p_code: string;
60498
61296
  p_latency_ms?: number;
61297
+ p_medewerker?: string;
60499
61298
  p_message?: string;
60500
61299
  p_result: string;
60501
61300
  p_scanner_key?: string;
@@ -60568,6 +61367,22 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
60568
61367
  };
60569
61368
  Returns: undefined;
60570
61369
  };
61370
+ scan_scanner_info: {
61371
+ Args: {
61372
+ p_slug: string;
61373
+ };
61374
+ Returns: {
61375
+ actief: boolean;
61376
+ heeft_pincode: boolean;
61377
+ id: string;
61378
+ naam: string;
61379
+ omschrijving: string;
61380
+ printer_id: string;
61381
+ type: string;
61382
+ vereist_medewerker: boolean;
61383
+ werkplek: string;
61384
+ }[];
61385
+ };
60571
61386
  scan_sessie_annuleren: {
60572
61387
  Args: {
60573
61388
  p_sessie_id: string;
@@ -61530,6 +62345,21 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
61530
62345
  };
61531
62346
  Returns: import("../integrations/supabase/types").Json;
61532
62347
  };
62348
+ wo_list_colleague_planning: {
62349
+ Args: {
62350
+ _from: string;
62351
+ _monteur_id: string;
62352
+ _to: string;
62353
+ };
62354
+ Returns: {
62355
+ end_at: string;
62356
+ id: string;
62357
+ role: string;
62358
+ start_at: string;
62359
+ status: string;
62360
+ werkbon_id: string;
62361
+ }[];
62362
+ };
61533
62363
  wo_list_offerte_requests: {
61534
62364
  Args: {
61535
62365
  _status?: string;
@@ -62369,6 +63199,27 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
62369
63199
  };
62370
63200
  Relationships: [];
62371
63201
  };
63202
+ artikelen_instellingen: {
63203
+ Row: {
63204
+ created_at: string;
63205
+ id: number;
63206
+ marge_procent: number;
63207
+ updated_at: string;
63208
+ };
63209
+ Insert: {
63210
+ created_at?: string;
63211
+ id?: number;
63212
+ marge_procent?: number;
63213
+ updated_at?: string;
63214
+ };
63215
+ Update: {
63216
+ created_at?: string;
63217
+ id?: number;
63218
+ marge_procent?: number;
63219
+ updated_at?: string;
63220
+ };
63221
+ Relationships: [];
63222
+ };
62372
63223
  artikelen_veldconfig: {
62373
63224
  Row: {
62374
63225
  bron_pad: string;
@@ -72044,6 +72895,30 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
72044
72895
  };
72045
72896
  Relationships: [];
72046
72897
  };
72898
+ logistics_cart_barcode_archief: {
72899
+ Row: {
72900
+ barcode: string;
72901
+ cart_id: string;
72902
+ created_at: string | null;
72903
+ gearchiveerd_op: string;
72904
+ order_id: string | null;
72905
+ };
72906
+ Insert: {
72907
+ barcode: string;
72908
+ cart_id: string;
72909
+ created_at?: string | null;
72910
+ gearchiveerd_op?: string;
72911
+ order_id?: string | null;
72912
+ };
72913
+ Update: {
72914
+ barcode?: string;
72915
+ cart_id?: string;
72916
+ created_at?: string | null;
72917
+ gearchiveerd_op?: string;
72918
+ order_id?: string | null;
72919
+ };
72920
+ Relationships: [];
72921
+ };
72047
72922
  logistics_control_scan: {
72048
72923
  Row: {
72049
72924
  approved_at: string | null;
@@ -76330,6 +77205,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
76330
77205
  next_attempt_at: string;
76331
77206
  order_id: string;
76332
77207
  processed_at: string | null;
77208
+ send_error: string | null;
76333
77209
  status: string;
76334
77210
  updated_at: string;
76335
77211
  };
@@ -76343,6 +77219,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
76343
77219
  next_attempt_at?: string;
76344
77220
  order_id: string;
76345
77221
  processed_at?: string | null;
77222
+ send_error?: string | null;
76346
77223
  status?: string;
76347
77224
  updated_at?: string;
76348
77225
  };
@@ -76356,6 +77233,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
76356
77233
  next_attempt_at?: string;
76357
77234
  order_id?: string;
76358
77235
  processed_at?: string | null;
77236
+ send_error?: string | null;
76359
77237
  status?: string;
76360
77238
  updated_at?: string;
76361
77239
  };
@@ -77694,18 +78572,24 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
77694
78572
  Row: {
77695
78573
  id: boolean;
77696
78574
  last_cleanup_at: string | null;
78575
+ last_error: string | null;
78576
+ last_error_at: string | null;
77697
78577
  last_sync_at: string | null;
77698
78578
  updated_at: string;
77699
78579
  };
77700
78580
  Insert: {
77701
78581
  id?: boolean;
77702
78582
  last_cleanup_at?: string | null;
78583
+ last_error?: string | null;
78584
+ last_error_at?: string | null;
77703
78585
  last_sync_at?: string | null;
77704
78586
  updated_at?: string;
77705
78587
  };
77706
78588
  Update: {
77707
78589
  id?: boolean;
77708
78590
  last_cleanup_at?: string | null;
78591
+ last_error?: string | null;
78592
+ last_error_at?: string | null;
77709
78593
  last_sync_at?: string | null;
77710
78594
  updated_at?: string;
77711
78595
  };
@@ -79393,6 +80277,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79393
80277
  lead_time_days: number | null;
79394
80278
  min_order_quantity: number | null;
79395
80279
  notes: string | null;
80280
+ previous_price_cents: number | null;
80281
+ price_source: string;
80282
+ price_updated_at: string | null;
79396
80283
  product_id: string;
79397
80284
  purchase_price_cents: number | null;
79398
80285
  supplier_article_number: string | null;
@@ -79406,6 +80293,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79406
80293
  lead_time_days?: number | null;
79407
80294
  min_order_quantity?: number | null;
79408
80295
  notes?: string | null;
80296
+ previous_price_cents?: number | null;
80297
+ price_source?: string;
80298
+ price_updated_at?: string | null;
79409
80299
  product_id: string;
79410
80300
  purchase_price_cents?: number | null;
79411
80301
  supplier_article_number?: string | null;
@@ -79419,6 +80309,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79419
80309
  lead_time_days?: number | null;
79420
80310
  min_order_quantity?: number | null;
79421
80311
  notes?: string | null;
80312
+ previous_price_cents?: number | null;
80313
+ price_source?: string;
80314
+ price_updated_at?: string | null;
79422
80315
  product_id?: string;
79423
80316
  purchase_price_cents?: number | null;
79424
80317
  supplier_article_number?: string | null;
@@ -79949,9 +80842,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79949
80842
  purchase_order_items: {
79950
80843
  Row: {
79951
80844
  article_number: string | null;
80845
+ cancel_reason: string | null;
80846
+ cancelled_at: string | null;
79952
80847
  created_at: string;
79953
80848
  delivery_date: string | null;
79954
80849
  id: string;
80850
+ incoming_booked: number;
80851
+ line_status: string;
79955
80852
  name: string;
79956
80853
  note: string | null;
79957
80854
  pot_size: string | null;
@@ -79959,6 +80856,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79959
80856
  product_type: string;
79960
80857
  purchase_order_id: string;
79961
80858
  quantity: number;
80859
+ received_at: string | null;
80860
+ received_booked: number;
79962
80861
  supplier_id: string | null;
79963
80862
  supplier_product_id: string | null;
79964
80863
  unit_price_cents: number;
@@ -79966,9 +80865,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79966
80865
  };
79967
80866
  Insert: {
79968
80867
  article_number?: string | null;
80868
+ cancel_reason?: string | null;
80869
+ cancelled_at?: string | null;
79969
80870
  created_at?: string;
79970
80871
  delivery_date?: string | null;
79971
80872
  id?: string;
80873
+ incoming_booked?: number;
80874
+ line_status?: string;
79972
80875
  name?: string;
79973
80876
  note?: string | null;
79974
80877
  pot_size?: string | null;
@@ -79976,6 +80879,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79976
80879
  product_type?: string;
79977
80880
  purchase_order_id: string;
79978
80881
  quantity?: number;
80882
+ received_at?: string | null;
80883
+ received_booked?: number;
79979
80884
  supplier_id?: string | null;
79980
80885
  supplier_product_id?: string | null;
79981
80886
  unit_price_cents?: number;
@@ -79983,9 +80888,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79983
80888
  };
79984
80889
  Update: {
79985
80890
  article_number?: string | null;
80891
+ cancel_reason?: string | null;
80892
+ cancelled_at?: string | null;
79986
80893
  created_at?: string;
79987
80894
  delivery_date?: string | null;
79988
80895
  id?: string;
80896
+ incoming_booked?: number;
80897
+ line_status?: string;
79989
80898
  name?: string;
79990
80899
  note?: string | null;
79991
80900
  pot_size?: string | null;
@@ -79993,6 +80902,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79993
80902
  product_type?: string;
79994
80903
  purchase_order_id?: string;
79995
80904
  quantity?: number;
80905
+ received_at?: string | null;
80906
+ received_booked?: number;
79996
80907
  supplier_id?: string | null;
79997
80908
  supplier_product_id?: string | null;
79998
80909
  unit_price_cents?: number;
@@ -80096,6 +81007,153 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
80096
81007
  referencedColumns: ["id"];
80097
81008
  }];
80098
81009
  };
81010
+ purchase_request_events: {
81011
+ Row: {
81012
+ created_at: string;
81013
+ details: import("../integrations/supabase/types").Json | null;
81014
+ event_type: string;
81015
+ id: string;
81016
+ request_id: string;
81017
+ };
81018
+ Insert: {
81019
+ created_at?: string;
81020
+ details?: import("../integrations/supabase/types").Json | null;
81021
+ event_type: string;
81022
+ id?: string;
81023
+ request_id: string;
81024
+ };
81025
+ Update: {
81026
+ created_at?: string;
81027
+ details?: import("../integrations/supabase/types").Json | null;
81028
+ event_type?: string;
81029
+ id?: string;
81030
+ request_id?: string;
81031
+ };
81032
+ Relationships: [{
81033
+ foreignKeyName: "purchase_request_events_request_id_fkey";
81034
+ columns: ["request_id"];
81035
+ isOneToOne: false;
81036
+ referencedRelation: "purchase_requests";
81037
+ referencedColumns: ["id"];
81038
+ }];
81039
+ };
81040
+ purchase_request_responses: {
81041
+ Row: {
81042
+ confirmed_date: string | null;
81043
+ confirmed_price_cents: number | null;
81044
+ confirmed_quantity: number;
81045
+ created_at: string;
81046
+ id: string;
81047
+ not_available: boolean;
81048
+ note: string | null;
81049
+ purchase_order_item_id: string;
81050
+ request_id: string;
81051
+ updated_at: string;
81052
+ };
81053
+ Insert: {
81054
+ confirmed_date?: string | null;
81055
+ confirmed_price_cents?: number | null;
81056
+ confirmed_quantity?: number;
81057
+ created_at?: string;
81058
+ id?: string;
81059
+ not_available?: boolean;
81060
+ note?: string | null;
81061
+ purchase_order_item_id: string;
81062
+ request_id: string;
81063
+ updated_at?: string;
81064
+ };
81065
+ Update: {
81066
+ confirmed_date?: string | null;
81067
+ confirmed_price_cents?: number | null;
81068
+ confirmed_quantity?: number;
81069
+ created_at?: string;
81070
+ id?: string;
81071
+ not_available?: boolean;
81072
+ note?: string | null;
81073
+ purchase_order_item_id?: string;
81074
+ request_id?: string;
81075
+ updated_at?: string;
81076
+ };
81077
+ Relationships: [{
81078
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
81079
+ columns: ["purchase_order_item_id"];
81080
+ isOneToOne: false;
81081
+ referencedRelation: "purchase_order_items";
81082
+ referencedColumns: ["id"];
81083
+ }, {
81084
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
81085
+ columns: ["request_id"];
81086
+ isOneToOne: false;
81087
+ referencedRelation: "purchase_requests";
81088
+ referencedColumns: ["id"];
81089
+ }];
81090
+ };
81091
+ purchase_requests: {
81092
+ Row: {
81093
+ created_at: string;
81094
+ expires_at: string;
81095
+ first_viewed_at: string | null;
81096
+ id: string;
81097
+ processed_at: string | null;
81098
+ purchase_order_id: string;
81099
+ responded_at: string | null;
81100
+ sent_at: string;
81101
+ status: string;
81102
+ supplier_id: string | null;
81103
+ supplier_name: string;
81104
+ supplier_note: string | null;
81105
+ to_address: string | null;
81106
+ token_hash: string;
81107
+ updated_at: string;
81108
+ };
81109
+ Insert: {
81110
+ created_at?: string;
81111
+ expires_at?: string;
81112
+ first_viewed_at?: string | null;
81113
+ id?: string;
81114
+ processed_at?: string | null;
81115
+ purchase_order_id: string;
81116
+ responded_at?: string | null;
81117
+ sent_at?: string;
81118
+ status?: string;
81119
+ supplier_id?: string | null;
81120
+ supplier_name?: string;
81121
+ supplier_note?: string | null;
81122
+ to_address?: string | null;
81123
+ token_hash: string;
81124
+ updated_at?: string;
81125
+ };
81126
+ Update: {
81127
+ created_at?: string;
81128
+ expires_at?: string;
81129
+ first_viewed_at?: string | null;
81130
+ id?: string;
81131
+ processed_at?: string | null;
81132
+ purchase_order_id?: string;
81133
+ responded_at?: string | null;
81134
+ sent_at?: string;
81135
+ status?: string;
81136
+ supplier_id?: string | null;
81137
+ supplier_name?: string;
81138
+ supplier_note?: string | null;
81139
+ to_address?: string | null;
81140
+ token_hash?: string;
81141
+ updated_at?: string;
81142
+ };
81143
+ Relationships: [{
81144
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
81145
+ columns: ["purchase_order_id"];
81146
+ isOneToOne: false;
81147
+ referencedRelation: "purchase_orders";
81148
+ referencedColumns: ["id"];
81149
+ }, {
81150
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
81151
+ columns: ["supplier_id"];
81152
+ isOneToOne: false;
81153
+ referencedRelation: "suppliers";
81154
+ referencedColumns: ["id"];
81155
+ }];
81156
+ };
80099
81157
  reception_notifications: {
80100
81158
  Row: {
80101
81159
  booking_id: string | null;
@@ -82259,6 +83317,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
82259
83317
  auto_invoice_enabled: boolean;
82260
83318
  auto_invoice_start_date: string | null;
82261
83319
  auto_invoice_trigger_statuses: string[];
83320
+ auto_send_mode: string | null;
82262
83321
  created_at: string;
82263
83322
  debtor_gl_account: string;
82264
83323
  default_article_code: string | null;
@@ -82287,6 +83346,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
82287
83346
  auto_invoice_enabled?: boolean;
82288
83347
  auto_invoice_start_date?: string | null;
82289
83348
  auto_invoice_trigger_statuses?: string[];
83349
+ auto_send_mode?: string | null;
82290
83350
  created_at?: string;
82291
83351
  debtor_gl_account?: string;
82292
83352
  default_article_code?: string | null;
@@ -82315,6 +83375,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
82315
83375
  auto_invoice_enabled?: boolean;
82316
83376
  auto_invoice_start_date?: string | null;
82317
83377
  auto_invoice_trigger_statuses?: string[];
83378
+ auto_send_mode?: string | null;
82318
83379
  created_at?: string;
82319
83380
  debtor_gl_account?: string;
82320
83381
  default_article_code?: string | null;
@@ -87548,13 +88609,66 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
87548
88609
  };
87549
88610
  Returns: import("../integrations/supabase/types").Json;
87550
88611
  };
88612
+ inkoop_cancel_line: {
88613
+ Args: {
88614
+ _item_id: string;
88615
+ _reason: string;
88616
+ };
88617
+ Returns: string;
88618
+ };
88619
+ inkoop_get_supplier_request: {
88620
+ Args: {
88621
+ _token: string;
88622
+ };
88623
+ Returns: import("../integrations/supabase/types").Json;
88624
+ };
88625
+ inkoop_hash_token: {
88626
+ Args: {
88627
+ _token: string;
88628
+ };
88629
+ Returns: string;
88630
+ };
88631
+ inkoop_html_escape: {
88632
+ Args: {
88633
+ _t: string;
88634
+ };
88635
+ Returns: string;
88636
+ };
88637
+ inkoop_list_artikelen: {
88638
+ Args: never;
88639
+ Returns: {
88640
+ article_number: string;
88641
+ barcode: string;
88642
+ id: string;
88643
+ incoming_quantity: number;
88644
+ is_layer: boolean;
88645
+ location: string;
88646
+ min_quantity: number;
88647
+ preferred_supplier_name: string;
88648
+ product: string;
88649
+ product_type: string;
88650
+ purchase_price: number;
88651
+ quantity: number;
88652
+ sale_price: number;
88653
+ supplier_count: number;
88654
+ unit: string;
88655
+ }[];
88656
+ };
87551
88657
  inkoop_next_order_number: {
87552
88658
  Args: never;
87553
88659
  Returns: string;
87554
88660
  };
88661
+ inkoop_process_request: {
88662
+ Args: {
88663
+ _request_id: string;
88664
+ };
88665
+ Returns: undefined;
88666
+ };
87555
88667
  inkoop_send_order: {
87556
88668
  Args: {
88669
+ _base_url?: string;
87557
88670
  _order_id: string;
88671
+ _resend?: boolean;
87558
88672
  };
87559
88673
  Returns: {
87560
88674
  outbox_id: string;
@@ -87569,6 +88683,26 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
87569
88683
  };
87570
88684
  Returns: undefined;
87571
88685
  };
88686
+ inkoop_stock_key: {
88687
+ Args: {
88688
+ p_product_id: string;
88689
+ };
88690
+ Returns: string;
88691
+ };
88692
+ inkoop_submit_supplier_response: {
88693
+ Args: {
88694
+ _lines: import("../integrations/supabase/types").Json;
88695
+ _note?: string;
88696
+ _token: string;
88697
+ };
88698
+ Returns: import("../integrations/supabase/types").Json;
88699
+ };
88700
+ inkoop_sync_item_stock: {
88701
+ Args: {
88702
+ p_item_id: string;
88703
+ };
88704
+ Returns: undefined;
88705
+ };
87572
88706
  instructie_get: {
87573
88707
  Args: {
87574
88708
  _sleutel: string;
@@ -87729,6 +88863,27 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
87729
88863
  };
87730
88864
  Returns: boolean;
87731
88865
  };
88866
+ layout_print_document: {
88867
+ Args: {
88868
+ _documentnaam: string;
88869
+ _documenttype: string;
88870
+ _herkomst?: string;
88871
+ _idempotentie_sleutel?: string;
88872
+ _is_herprint?: boolean;
88873
+ _kopieen?: number;
88874
+ _layout_id?: string;
88875
+ _payload?: import("../integrations/supabase/types").Json;
88876
+ _pdf_base64?: string;
88877
+ _pdf_url?: string;
88878
+ _print_plek_id?: string;
88879
+ _werkplek?: string;
88880
+ };
88881
+ Returns: {
88882
+ bestaand: boolean;
88883
+ job_id: string;
88884
+ printer_id: string;
88885
+ }[];
88886
+ };
87732
88887
  list_medewerkers: {
87733
88888
  Args: never;
87734
88889
  Returns: {
@@ -88006,6 +89161,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
88006
89161
  };
88007
89162
  Returns: number;
88008
89163
  };
89164
+ logistics_cart_barcode_opschonen: {
89165
+ Args: {
89166
+ p_portie?: number;
89167
+ };
89168
+ Returns: import("../integrations/supabase/types").Json;
89169
+ };
88009
89170
  logistics_cart_barcode_value: {
88010
89171
  Args: {
88011
89172
  _cart_id: string;
@@ -88425,6 +89586,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
88425
89586
  };
88426
89587
  Returns: import("../integrations/supabase/types").Json;
88427
89588
  };
89589
+ logistics_control_scan_print_own: {
89590
+ Args: {
89591
+ p_is_herprint?: boolean;
89592
+ p_scan_id: string;
89593
+ };
89594
+ Returns: import("../integrations/supabase/types").Json;
89595
+ };
88428
89596
  logistics_control_scan_retry: {
88429
89597
  Args: {
88430
89598
  _id: string;
@@ -89329,6 +90497,21 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
89329
90497
  };
89330
90498
  Returns: import("../integrations/supabase/types").Json;
89331
90499
  };
90500
+ logistics_print_via_layout: {
90501
+ Args: {
90502
+ _documentnaam: string;
90503
+ _documenttype: string;
90504
+ _herkomst: string;
90505
+ _idempotentie_sleutel: string;
90506
+ _is_herprint: boolean;
90507
+ _layout_id: string;
90508
+ _payload: import("../integrations/supabase/types").Json;
90509
+ _pdf_base64: string;
90510
+ _pdf_url: string;
90511
+ _print_plek_id: string;
90512
+ };
90513
+ Returns: import("../integrations/supabase/types").Json;
90514
+ };
89332
90515
  logistics_prune_buffer_member_queue: {
89333
90516
  Args: never;
89334
90517
  Returns: number;
@@ -89615,6 +90798,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
89615
90798
  };
89616
90799
  Returns: string;
89617
90800
  };
90801
+ logistics_shipping_note_status: {
90802
+ Args: {
90803
+ p_cart_id?: string;
90804
+ p_slip_job_id?: string;
90805
+ };
90806
+ Returns: import("../integrations/supabase/types").Json;
90807
+ };
89618
90808
  logistics_shipping_notes_wake_all: {
89619
90809
  Args: never;
89620
90810
  Returns: import("../integrations/supabase/types").Json;
@@ -89677,6 +90867,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
89677
90867
  };
89678
90868
  Returns: undefined;
89679
90869
  };
90870
+ logistics_slip_note_retry: {
90871
+ Args: {
90872
+ _id: string;
90873
+ };
90874
+ Returns: import("../integrations/supabase/types").Json;
90875
+ };
89680
90876
  logistics_sticker_follows_slip: {
89681
90877
  Args: never;
89682
90878
  Returns: boolean;
@@ -90421,6 +91617,10 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
90421
91617
  };
90422
91618
  Returns: string;
90423
91619
  };
91620
+ pick_is_reference_admin: {
91621
+ Args: never;
91622
+ Returns: boolean;
91623
+ };
90424
91624
  pick_mark_printed: {
90425
91625
  Args: {
90426
91626
  _queue_item_id: string;
@@ -91294,6 +92494,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
91294
92494
  };
91295
92495
  Returns: import("../integrations/supabase/types").Json;
91296
92496
  };
92497
+ scan_controleer_pincode: {
92498
+ Args: {
92499
+ p_pin: string;
92500
+ p_scanner_id: string;
92501
+ };
92502
+ Returns: boolean;
92503
+ };
91297
92504
  scan_dashboard_stats: {
91298
92505
  Args: {
91299
92506
  p_dagen?: number;
@@ -91313,6 +92520,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
91313
92520
  };
91314
92521
  Returns: import("../integrations/supabase/types").Json;
91315
92522
  };
92523
+ scan_heeft_pincode: {
92524
+ Args: {
92525
+ p_scanner_id: string;
92526
+ };
92527
+ Returns: boolean;
92528
+ };
91316
92529
  scan_kar_compleet: {
91317
92530
  Args: {
91318
92531
  p_allow_reprint?: boolean;
@@ -91330,6 +92543,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
91330
92543
  Args: {
91331
92544
  p_code: string;
91332
92545
  p_latency_ms?: number;
92546
+ p_medewerker?: string;
91333
92547
  p_message?: string;
91334
92548
  p_result: string;
91335
92549
  p_scanner_key?: string;
@@ -91402,6 +92616,22 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
91402
92616
  };
91403
92617
  Returns: undefined;
91404
92618
  };
92619
+ scan_scanner_info: {
92620
+ Args: {
92621
+ p_slug: string;
92622
+ };
92623
+ Returns: {
92624
+ actief: boolean;
92625
+ heeft_pincode: boolean;
92626
+ id: string;
92627
+ naam: string;
92628
+ omschrijving: string;
92629
+ printer_id: string;
92630
+ type: string;
92631
+ vereist_medewerker: boolean;
92632
+ werkplek: string;
92633
+ }[];
92634
+ };
91405
92635
  scan_sessie_annuleren: {
91406
92636
  Args: {
91407
92637
  p_sessie_id: string;
@@ -92364,6 +93594,21 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
92364
93594
  };
92365
93595
  Returns: import("../integrations/supabase/types").Json;
92366
93596
  };
93597
+ wo_list_colleague_planning: {
93598
+ Args: {
93599
+ _from: string;
93600
+ _monteur_id: string;
93601
+ _to: string;
93602
+ };
93603
+ Returns: {
93604
+ end_at: string;
93605
+ id: string;
93606
+ role: string;
93607
+ start_at: string;
93608
+ status: string;
93609
+ werkbon_id: string;
93610
+ }[];
93611
+ };
92367
93612
  wo_list_offerte_requests: {
92368
93613
  Args: {
92369
93614
  _status?: string;