@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
@@ -733,6 +733,27 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
733
733
  };
734
734
  Relationships: [];
735
735
  };
736
+ artikelen_instellingen: {
737
+ Row: {
738
+ created_at: string;
739
+ id: number;
740
+ marge_procent: number;
741
+ updated_at: string;
742
+ };
743
+ Insert: {
744
+ created_at?: string;
745
+ id?: number;
746
+ marge_procent?: number;
747
+ updated_at?: string;
748
+ };
749
+ Update: {
750
+ created_at?: string;
751
+ id?: number;
752
+ marge_procent?: number;
753
+ updated_at?: string;
754
+ };
755
+ Relationships: [];
756
+ };
736
757
  artikelen_veldconfig: {
737
758
  Row: {
738
759
  bron_pad: string;
@@ -10408,6 +10429,30 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
10408
10429
  };
10409
10430
  Relationships: [];
10410
10431
  };
10432
+ logistics_cart_barcode_archief: {
10433
+ Row: {
10434
+ barcode: string;
10435
+ cart_id: string;
10436
+ created_at: string | null;
10437
+ gearchiveerd_op: string;
10438
+ order_id: string | null;
10439
+ };
10440
+ Insert: {
10441
+ barcode: string;
10442
+ cart_id: string;
10443
+ created_at?: string | null;
10444
+ gearchiveerd_op?: string;
10445
+ order_id?: string | null;
10446
+ };
10447
+ Update: {
10448
+ barcode?: string;
10449
+ cart_id?: string;
10450
+ created_at?: string | null;
10451
+ gearchiveerd_op?: string;
10452
+ order_id?: string | null;
10453
+ };
10454
+ Relationships: [];
10455
+ };
10411
10456
  logistics_control_scan: {
10412
10457
  Row: {
10413
10458
  approved_at: string | null;
@@ -14694,6 +14739,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
14694
14739
  next_attempt_at: string;
14695
14740
  order_id: string;
14696
14741
  processed_at: string | null;
14742
+ send_error: string | null;
14697
14743
  status: string;
14698
14744
  updated_at: string;
14699
14745
  };
@@ -14707,6 +14753,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
14707
14753
  next_attempt_at?: string;
14708
14754
  order_id: string;
14709
14755
  processed_at?: string | null;
14756
+ send_error?: string | null;
14710
14757
  status?: string;
14711
14758
  updated_at?: string;
14712
14759
  };
@@ -14720,6 +14767,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
14720
14767
  next_attempt_at?: string;
14721
14768
  order_id?: string;
14722
14769
  processed_at?: string | null;
14770
+ send_error?: string | null;
14723
14771
  status?: string;
14724
14772
  updated_at?: string;
14725
14773
  };
@@ -16058,18 +16106,24 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
16058
16106
  Row: {
16059
16107
  id: boolean;
16060
16108
  last_cleanup_at: string | null;
16109
+ last_error: string | null;
16110
+ last_error_at: string | null;
16061
16111
  last_sync_at: string | null;
16062
16112
  updated_at: string;
16063
16113
  };
16064
16114
  Insert: {
16065
16115
  id?: boolean;
16066
16116
  last_cleanup_at?: string | null;
16117
+ last_error?: string | null;
16118
+ last_error_at?: string | null;
16067
16119
  last_sync_at?: string | null;
16068
16120
  updated_at?: string;
16069
16121
  };
16070
16122
  Update: {
16071
16123
  id?: boolean;
16072
16124
  last_cleanup_at?: string | null;
16125
+ last_error?: string | null;
16126
+ last_error_at?: string | null;
16073
16127
  last_sync_at?: string | null;
16074
16128
  updated_at?: string;
16075
16129
  };
@@ -17757,6 +17811,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
17757
17811
  lead_time_days: number | null;
17758
17812
  min_order_quantity: number | null;
17759
17813
  notes: string | null;
17814
+ previous_price_cents: number | null;
17815
+ price_source: string;
17816
+ price_updated_at: string | null;
17760
17817
  product_id: string;
17761
17818
  purchase_price_cents: number | null;
17762
17819
  supplier_article_number: string | null;
@@ -17770,6 +17827,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
17770
17827
  lead_time_days?: number | null;
17771
17828
  min_order_quantity?: number | null;
17772
17829
  notes?: string | null;
17830
+ previous_price_cents?: number | null;
17831
+ price_source?: string;
17832
+ price_updated_at?: string | null;
17773
17833
  product_id: string;
17774
17834
  purchase_price_cents?: number | null;
17775
17835
  supplier_article_number?: string | null;
@@ -17783,6 +17843,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
17783
17843
  lead_time_days?: number | null;
17784
17844
  min_order_quantity?: number | null;
17785
17845
  notes?: string | null;
17846
+ previous_price_cents?: number | null;
17847
+ price_source?: string;
17848
+ price_updated_at?: string | null;
17786
17849
  product_id?: string;
17787
17850
  purchase_price_cents?: number | null;
17788
17851
  supplier_article_number?: string | null;
@@ -18313,9 +18376,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
18313
18376
  purchase_order_items: {
18314
18377
  Row: {
18315
18378
  article_number: string | null;
18379
+ cancel_reason: string | null;
18380
+ cancelled_at: string | null;
18316
18381
  created_at: string;
18317
18382
  delivery_date: string | null;
18318
18383
  id: string;
18384
+ incoming_booked: number;
18385
+ line_status: string;
18319
18386
  name: string;
18320
18387
  note: string | null;
18321
18388
  pot_size: string | null;
@@ -18323,6 +18390,8 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
18323
18390
  product_type: string;
18324
18391
  purchase_order_id: string;
18325
18392
  quantity: number;
18393
+ received_at: string | null;
18394
+ received_booked: number;
18326
18395
  supplier_id: string | null;
18327
18396
  supplier_product_id: string | null;
18328
18397
  unit_price_cents: number;
@@ -18330,9 +18399,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
18330
18399
  };
18331
18400
  Insert: {
18332
18401
  article_number?: string | null;
18402
+ cancel_reason?: string | null;
18403
+ cancelled_at?: string | null;
18333
18404
  created_at?: string;
18334
18405
  delivery_date?: string | null;
18335
18406
  id?: string;
18407
+ incoming_booked?: number;
18408
+ line_status?: string;
18336
18409
  name?: string;
18337
18410
  note?: string | null;
18338
18411
  pot_size?: string | null;
@@ -18340,6 +18413,8 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
18340
18413
  product_type?: string;
18341
18414
  purchase_order_id: string;
18342
18415
  quantity?: number;
18416
+ received_at?: string | null;
18417
+ received_booked?: number;
18343
18418
  supplier_id?: string | null;
18344
18419
  supplier_product_id?: string | null;
18345
18420
  unit_price_cents?: number;
@@ -18347,9 +18422,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
18347
18422
  };
18348
18423
  Update: {
18349
18424
  article_number?: string | null;
18425
+ cancel_reason?: string | null;
18426
+ cancelled_at?: string | null;
18350
18427
  created_at?: string;
18351
18428
  delivery_date?: string | null;
18352
18429
  id?: string;
18430
+ incoming_booked?: number;
18431
+ line_status?: string;
18353
18432
  name?: string;
18354
18433
  note?: string | null;
18355
18434
  pot_size?: string | null;
@@ -18357,6 +18436,8 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
18357
18436
  product_type?: string;
18358
18437
  purchase_order_id?: string;
18359
18438
  quantity?: number;
18439
+ received_at?: string | null;
18440
+ received_booked?: number;
18360
18441
  supplier_id?: string | null;
18361
18442
  supplier_product_id?: string | null;
18362
18443
  unit_price_cents?: number;
@@ -18460,6 +18541,153 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
18460
18541
  referencedColumns: ["id"];
18461
18542
  }];
18462
18543
  };
18544
+ purchase_request_events: {
18545
+ Row: {
18546
+ created_at: string;
18547
+ details: import("../integrations/supabase/types").Json | null;
18548
+ event_type: string;
18549
+ id: string;
18550
+ request_id: string;
18551
+ };
18552
+ Insert: {
18553
+ created_at?: string;
18554
+ details?: import("../integrations/supabase/types").Json | null;
18555
+ event_type: string;
18556
+ id?: string;
18557
+ request_id: string;
18558
+ };
18559
+ Update: {
18560
+ created_at?: string;
18561
+ details?: import("../integrations/supabase/types").Json | null;
18562
+ event_type?: string;
18563
+ id?: string;
18564
+ request_id?: string;
18565
+ };
18566
+ Relationships: [{
18567
+ foreignKeyName: "purchase_request_events_request_id_fkey";
18568
+ columns: ["request_id"];
18569
+ isOneToOne: false;
18570
+ referencedRelation: "purchase_requests";
18571
+ referencedColumns: ["id"];
18572
+ }];
18573
+ };
18574
+ purchase_request_responses: {
18575
+ Row: {
18576
+ confirmed_date: string | null;
18577
+ confirmed_price_cents: number | null;
18578
+ confirmed_quantity: number;
18579
+ created_at: string;
18580
+ id: string;
18581
+ not_available: boolean;
18582
+ note: string | null;
18583
+ purchase_order_item_id: string;
18584
+ request_id: string;
18585
+ updated_at: string;
18586
+ };
18587
+ Insert: {
18588
+ confirmed_date?: string | null;
18589
+ confirmed_price_cents?: number | null;
18590
+ confirmed_quantity?: number;
18591
+ created_at?: string;
18592
+ id?: string;
18593
+ not_available?: boolean;
18594
+ note?: string | null;
18595
+ purchase_order_item_id: string;
18596
+ request_id: string;
18597
+ updated_at?: string;
18598
+ };
18599
+ Update: {
18600
+ confirmed_date?: string | null;
18601
+ confirmed_price_cents?: number | null;
18602
+ confirmed_quantity?: number;
18603
+ created_at?: string;
18604
+ id?: string;
18605
+ not_available?: boolean;
18606
+ note?: string | null;
18607
+ purchase_order_item_id?: string;
18608
+ request_id?: string;
18609
+ updated_at?: string;
18610
+ };
18611
+ Relationships: [{
18612
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
18613
+ columns: ["purchase_order_item_id"];
18614
+ isOneToOne: false;
18615
+ referencedRelation: "purchase_order_items";
18616
+ referencedColumns: ["id"];
18617
+ }, {
18618
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
18619
+ columns: ["request_id"];
18620
+ isOneToOne: false;
18621
+ referencedRelation: "purchase_requests";
18622
+ referencedColumns: ["id"];
18623
+ }];
18624
+ };
18625
+ purchase_requests: {
18626
+ Row: {
18627
+ created_at: string;
18628
+ expires_at: string;
18629
+ first_viewed_at: string | null;
18630
+ id: string;
18631
+ processed_at: string | null;
18632
+ purchase_order_id: string;
18633
+ responded_at: string | null;
18634
+ sent_at: string;
18635
+ status: string;
18636
+ supplier_id: string | null;
18637
+ supplier_name: string;
18638
+ supplier_note: string | null;
18639
+ to_address: string | null;
18640
+ token_hash: string;
18641
+ updated_at: string;
18642
+ };
18643
+ Insert: {
18644
+ created_at?: string;
18645
+ expires_at?: string;
18646
+ first_viewed_at?: string | null;
18647
+ id?: string;
18648
+ processed_at?: string | null;
18649
+ purchase_order_id: string;
18650
+ responded_at?: string | null;
18651
+ sent_at?: string;
18652
+ status?: string;
18653
+ supplier_id?: string | null;
18654
+ supplier_name?: string;
18655
+ supplier_note?: string | null;
18656
+ to_address?: string | null;
18657
+ token_hash: string;
18658
+ updated_at?: string;
18659
+ };
18660
+ Update: {
18661
+ created_at?: string;
18662
+ expires_at?: string;
18663
+ first_viewed_at?: string | null;
18664
+ id?: string;
18665
+ processed_at?: string | null;
18666
+ purchase_order_id?: string;
18667
+ responded_at?: string | null;
18668
+ sent_at?: string;
18669
+ status?: string;
18670
+ supplier_id?: string | null;
18671
+ supplier_name?: string;
18672
+ supplier_note?: string | null;
18673
+ to_address?: string | null;
18674
+ token_hash?: string;
18675
+ updated_at?: string;
18676
+ };
18677
+ Relationships: [{
18678
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
18679
+ columns: ["purchase_order_id"];
18680
+ isOneToOne: false;
18681
+ referencedRelation: "purchase_orders";
18682
+ referencedColumns: ["id"];
18683
+ }, {
18684
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
18685
+ columns: ["supplier_id"];
18686
+ isOneToOne: false;
18687
+ referencedRelation: "suppliers";
18688
+ referencedColumns: ["id"];
18689
+ }];
18690
+ };
18463
18691
  reception_notifications: {
18464
18692
  Row: {
18465
18693
  booking_id: string | null;
@@ -20623,6 +20851,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
20623
20851
  auto_invoice_enabled: boolean;
20624
20852
  auto_invoice_start_date: string | null;
20625
20853
  auto_invoice_trigger_statuses: string[];
20854
+ auto_send_mode: string | null;
20626
20855
  created_at: string;
20627
20856
  debtor_gl_account: string;
20628
20857
  default_article_code: string | null;
@@ -20651,6 +20880,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
20651
20880
  auto_invoice_enabled?: boolean;
20652
20881
  auto_invoice_start_date?: string | null;
20653
20882
  auto_invoice_trigger_statuses?: string[];
20883
+ auto_send_mode?: string | null;
20654
20884
  created_at?: string;
20655
20885
  debtor_gl_account?: string;
20656
20886
  default_article_code?: string | null;
@@ -20679,6 +20909,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
20679
20909
  auto_invoice_enabled?: boolean;
20680
20910
  auto_invoice_start_date?: string | null;
20681
20911
  auto_invoice_trigger_statuses?: string[];
20912
+ auto_send_mode?: string | null;
20682
20913
  created_at?: string;
20683
20914
  debtor_gl_account?: string;
20684
20915
  default_article_code?: string | null;
@@ -25912,13 +26143,66 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
25912
26143
  };
25913
26144
  Returns: import("../integrations/supabase/types").Json;
25914
26145
  };
26146
+ inkoop_cancel_line: {
26147
+ Args: {
26148
+ _item_id: string;
26149
+ _reason: string;
26150
+ };
26151
+ Returns: string;
26152
+ };
26153
+ inkoop_get_supplier_request: {
26154
+ Args: {
26155
+ _token: string;
26156
+ };
26157
+ Returns: import("../integrations/supabase/types").Json;
26158
+ };
26159
+ inkoop_hash_token: {
26160
+ Args: {
26161
+ _token: string;
26162
+ };
26163
+ Returns: string;
26164
+ };
26165
+ inkoop_html_escape: {
26166
+ Args: {
26167
+ _t: string;
26168
+ };
26169
+ Returns: string;
26170
+ };
26171
+ inkoop_list_artikelen: {
26172
+ Args: never;
26173
+ Returns: {
26174
+ article_number: string;
26175
+ barcode: string;
26176
+ id: string;
26177
+ incoming_quantity: number;
26178
+ is_layer: boolean;
26179
+ location: string;
26180
+ min_quantity: number;
26181
+ preferred_supplier_name: string;
26182
+ product: string;
26183
+ product_type: string;
26184
+ purchase_price: number;
26185
+ quantity: number;
26186
+ sale_price: number;
26187
+ supplier_count: number;
26188
+ unit: string;
26189
+ }[];
26190
+ };
25915
26191
  inkoop_next_order_number: {
25916
26192
  Args: never;
25917
26193
  Returns: string;
25918
26194
  };
26195
+ inkoop_process_request: {
26196
+ Args: {
26197
+ _request_id: string;
26198
+ };
26199
+ Returns: undefined;
26200
+ };
25919
26201
  inkoop_send_order: {
25920
26202
  Args: {
26203
+ _base_url?: string;
25921
26204
  _order_id: string;
26205
+ _resend?: boolean;
25922
26206
  };
25923
26207
  Returns: {
25924
26208
  outbox_id: string;
@@ -25933,6 +26217,26 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
25933
26217
  };
25934
26218
  Returns: undefined;
25935
26219
  };
26220
+ inkoop_stock_key: {
26221
+ Args: {
26222
+ p_product_id: string;
26223
+ };
26224
+ Returns: string;
26225
+ };
26226
+ inkoop_submit_supplier_response: {
26227
+ Args: {
26228
+ _lines: import("../integrations/supabase/types").Json;
26229
+ _note?: string;
26230
+ _token: string;
26231
+ };
26232
+ Returns: import("../integrations/supabase/types").Json;
26233
+ };
26234
+ inkoop_sync_item_stock: {
26235
+ Args: {
26236
+ p_item_id: string;
26237
+ };
26238
+ Returns: undefined;
26239
+ };
25936
26240
  instructie_get: {
25937
26241
  Args: {
25938
26242
  _sleutel: string;
@@ -26093,6 +26397,27 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
26093
26397
  };
26094
26398
  Returns: boolean;
26095
26399
  };
26400
+ layout_print_document: {
26401
+ Args: {
26402
+ _documentnaam: string;
26403
+ _documenttype: string;
26404
+ _herkomst?: string;
26405
+ _idempotentie_sleutel?: string;
26406
+ _is_herprint?: boolean;
26407
+ _kopieen?: number;
26408
+ _layout_id?: string;
26409
+ _payload?: import("../integrations/supabase/types").Json;
26410
+ _pdf_base64?: string;
26411
+ _pdf_url?: string;
26412
+ _print_plek_id?: string;
26413
+ _werkplek?: string;
26414
+ };
26415
+ Returns: {
26416
+ bestaand: boolean;
26417
+ job_id: string;
26418
+ printer_id: string;
26419
+ }[];
26420
+ };
26096
26421
  list_medewerkers: {
26097
26422
  Args: never;
26098
26423
  Returns: {
@@ -26370,6 +26695,12 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
26370
26695
  };
26371
26696
  Returns: number;
26372
26697
  };
26698
+ logistics_cart_barcode_opschonen: {
26699
+ Args: {
26700
+ p_portie?: number;
26701
+ };
26702
+ Returns: import("../integrations/supabase/types").Json;
26703
+ };
26373
26704
  logistics_cart_barcode_value: {
26374
26705
  Args: {
26375
26706
  _cart_id: string;
@@ -26789,6 +27120,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
26789
27120
  };
26790
27121
  Returns: import("../integrations/supabase/types").Json;
26791
27122
  };
27123
+ logistics_control_scan_print_own: {
27124
+ Args: {
27125
+ p_is_herprint?: boolean;
27126
+ p_scan_id: string;
27127
+ };
27128
+ Returns: import("../integrations/supabase/types").Json;
27129
+ };
26792
27130
  logistics_control_scan_retry: {
26793
27131
  Args: {
26794
27132
  _id: string;
@@ -27693,6 +28031,21 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
27693
28031
  };
27694
28032
  Returns: import("../integrations/supabase/types").Json;
27695
28033
  };
28034
+ logistics_print_via_layout: {
28035
+ Args: {
28036
+ _documentnaam: string;
28037
+ _documenttype: string;
28038
+ _herkomst: string;
28039
+ _idempotentie_sleutel: string;
28040
+ _is_herprint: boolean;
28041
+ _layout_id: string;
28042
+ _payload: import("../integrations/supabase/types").Json;
28043
+ _pdf_base64: string;
28044
+ _pdf_url: string;
28045
+ _print_plek_id: string;
28046
+ };
28047
+ Returns: import("../integrations/supabase/types").Json;
28048
+ };
27696
28049
  logistics_prune_buffer_member_queue: {
27697
28050
  Args: never;
27698
28051
  Returns: number;
@@ -27979,6 +28332,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
27979
28332
  };
27980
28333
  Returns: string;
27981
28334
  };
28335
+ logistics_shipping_note_status: {
28336
+ Args: {
28337
+ p_cart_id?: string;
28338
+ p_slip_job_id?: string;
28339
+ };
28340
+ Returns: import("../integrations/supabase/types").Json;
28341
+ };
27982
28342
  logistics_shipping_notes_wake_all: {
27983
28343
  Args: never;
27984
28344
  Returns: import("../integrations/supabase/types").Json;
@@ -28041,6 +28401,12 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
28041
28401
  };
28042
28402
  Returns: undefined;
28043
28403
  };
28404
+ logistics_slip_note_retry: {
28405
+ Args: {
28406
+ _id: string;
28407
+ };
28408
+ Returns: import("../integrations/supabase/types").Json;
28409
+ };
28044
28410
  logistics_sticker_follows_slip: {
28045
28411
  Args: never;
28046
28412
  Returns: boolean;
@@ -28785,6 +29151,10 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
28785
29151
  };
28786
29152
  Returns: string;
28787
29153
  };
29154
+ pick_is_reference_admin: {
29155
+ Args: never;
29156
+ Returns: boolean;
29157
+ };
28788
29158
  pick_mark_printed: {
28789
29159
  Args: {
28790
29160
  _queue_item_id: string;
@@ -29658,6 +30028,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
29658
30028
  };
29659
30029
  Returns: import("../integrations/supabase/types").Json;
29660
30030
  };
30031
+ scan_controleer_pincode: {
30032
+ Args: {
30033
+ p_pin: string;
30034
+ p_scanner_id: string;
30035
+ };
30036
+ Returns: boolean;
30037
+ };
29661
30038
  scan_dashboard_stats: {
29662
30039
  Args: {
29663
30040
  p_dagen?: number;
@@ -29677,6 +30054,12 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
29677
30054
  };
29678
30055
  Returns: import("../integrations/supabase/types").Json;
29679
30056
  };
30057
+ scan_heeft_pincode: {
30058
+ Args: {
30059
+ p_scanner_id: string;
30060
+ };
30061
+ Returns: boolean;
30062
+ };
29680
30063
  scan_kar_compleet: {
29681
30064
  Args: {
29682
30065
  p_allow_reprint?: boolean;
@@ -29694,6 +30077,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
29694
30077
  Args: {
29695
30078
  p_code: string;
29696
30079
  p_latency_ms?: number;
30080
+ p_medewerker?: string;
29697
30081
  p_message?: string;
29698
30082
  p_result: string;
29699
30083
  p_scanner_key?: string;
@@ -29766,6 +30150,22 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
29766
30150
  };
29767
30151
  Returns: undefined;
29768
30152
  };
30153
+ scan_scanner_info: {
30154
+ Args: {
30155
+ p_slug: string;
30156
+ };
30157
+ Returns: {
30158
+ actief: boolean;
30159
+ heeft_pincode: boolean;
30160
+ id: string;
30161
+ naam: string;
30162
+ omschrijving: string;
30163
+ printer_id: string;
30164
+ type: string;
30165
+ vereist_medewerker: boolean;
30166
+ werkplek: string;
30167
+ }[];
30168
+ };
29769
30169
  scan_sessie_annuleren: {
29770
30170
  Args: {
29771
30171
  p_sessie_id: string;
@@ -30728,6 +31128,21 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
30728
31128
  };
30729
31129
  Returns: import("../integrations/supabase/types").Json;
30730
31130
  };
31131
+ wo_list_colleague_planning: {
31132
+ Args: {
31133
+ _from: string;
31134
+ _monteur_id: string;
31135
+ _to: string;
31136
+ };
31137
+ Returns: {
31138
+ end_at: string;
31139
+ id: string;
31140
+ role: string;
31141
+ start_at: string;
31142
+ status: string;
31143
+ werkbon_id: string;
31144
+ }[];
31145
+ };
30731
31146
  wo_list_offerte_requests: {
30732
31147
  Args: {
30733
31148
  _status?: string;
@@ -31541,6 +31956,27 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
31541
31956
  };
31542
31957
  Relationships: [];
31543
31958
  };
31959
+ artikelen_instellingen: {
31960
+ Row: {
31961
+ created_at: string;
31962
+ id: number;
31963
+ marge_procent: number;
31964
+ updated_at: string;
31965
+ };
31966
+ Insert: {
31967
+ created_at?: string;
31968
+ id?: number;
31969
+ marge_procent?: number;
31970
+ updated_at?: string;
31971
+ };
31972
+ Update: {
31973
+ created_at?: string;
31974
+ id?: number;
31975
+ marge_procent?: number;
31976
+ updated_at?: string;
31977
+ };
31978
+ Relationships: [];
31979
+ };
31544
31980
  artikelen_veldconfig: {
31545
31981
  Row: {
31546
31982
  bron_pad: string;
@@ -41216,6 +41652,30 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
41216
41652
  };
41217
41653
  Relationships: [];
41218
41654
  };
41655
+ logistics_cart_barcode_archief: {
41656
+ Row: {
41657
+ barcode: string;
41658
+ cart_id: string;
41659
+ created_at: string | null;
41660
+ gearchiveerd_op: string;
41661
+ order_id: string | null;
41662
+ };
41663
+ Insert: {
41664
+ barcode: string;
41665
+ cart_id: string;
41666
+ created_at?: string | null;
41667
+ gearchiveerd_op?: string;
41668
+ order_id?: string | null;
41669
+ };
41670
+ Update: {
41671
+ barcode?: string;
41672
+ cart_id?: string;
41673
+ created_at?: string | null;
41674
+ gearchiveerd_op?: string;
41675
+ order_id?: string | null;
41676
+ };
41677
+ Relationships: [];
41678
+ };
41219
41679
  logistics_control_scan: {
41220
41680
  Row: {
41221
41681
  approved_at: string | null;
@@ -45502,6 +45962,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
45502
45962
  next_attempt_at: string;
45503
45963
  order_id: string;
45504
45964
  processed_at: string | null;
45965
+ send_error: string | null;
45505
45966
  status: string;
45506
45967
  updated_at: string;
45507
45968
  };
@@ -45515,6 +45976,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
45515
45976
  next_attempt_at?: string;
45516
45977
  order_id: string;
45517
45978
  processed_at?: string | null;
45979
+ send_error?: string | null;
45518
45980
  status?: string;
45519
45981
  updated_at?: string;
45520
45982
  };
@@ -45528,6 +45990,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
45528
45990
  next_attempt_at?: string;
45529
45991
  order_id?: string;
45530
45992
  processed_at?: string | null;
45993
+ send_error?: string | null;
45531
45994
  status?: string;
45532
45995
  updated_at?: string;
45533
45996
  };
@@ -46866,18 +47329,24 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
46866
47329
  Row: {
46867
47330
  id: boolean;
46868
47331
  last_cleanup_at: string | null;
47332
+ last_error: string | null;
47333
+ last_error_at: string | null;
46869
47334
  last_sync_at: string | null;
46870
47335
  updated_at: string;
46871
47336
  };
46872
47337
  Insert: {
46873
47338
  id?: boolean;
46874
47339
  last_cleanup_at?: string | null;
47340
+ last_error?: string | null;
47341
+ last_error_at?: string | null;
46875
47342
  last_sync_at?: string | null;
46876
47343
  updated_at?: string;
46877
47344
  };
46878
47345
  Update: {
46879
47346
  id?: boolean;
46880
47347
  last_cleanup_at?: string | null;
47348
+ last_error?: string | null;
47349
+ last_error_at?: string | null;
46881
47350
  last_sync_at?: string | null;
46882
47351
  updated_at?: string;
46883
47352
  };
@@ -48565,6 +49034,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
48565
49034
  lead_time_days: number | null;
48566
49035
  min_order_quantity: number | null;
48567
49036
  notes: string | null;
49037
+ previous_price_cents: number | null;
49038
+ price_source: string;
49039
+ price_updated_at: string | null;
48568
49040
  product_id: string;
48569
49041
  purchase_price_cents: number | null;
48570
49042
  supplier_article_number: string | null;
@@ -48578,6 +49050,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
48578
49050
  lead_time_days?: number | null;
48579
49051
  min_order_quantity?: number | null;
48580
49052
  notes?: string | null;
49053
+ previous_price_cents?: number | null;
49054
+ price_source?: string;
49055
+ price_updated_at?: string | null;
48581
49056
  product_id: string;
48582
49057
  purchase_price_cents?: number | null;
48583
49058
  supplier_article_number?: string | null;
@@ -48591,6 +49066,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
48591
49066
  lead_time_days?: number | null;
48592
49067
  min_order_quantity?: number | null;
48593
49068
  notes?: string | null;
49069
+ previous_price_cents?: number | null;
49070
+ price_source?: string;
49071
+ price_updated_at?: string | null;
48594
49072
  product_id?: string;
48595
49073
  purchase_price_cents?: number | null;
48596
49074
  supplier_article_number?: string | null;
@@ -49121,9 +49599,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
49121
49599
  purchase_order_items: {
49122
49600
  Row: {
49123
49601
  article_number: string | null;
49602
+ cancel_reason: string | null;
49603
+ cancelled_at: string | null;
49124
49604
  created_at: string;
49125
49605
  delivery_date: string | null;
49126
49606
  id: string;
49607
+ incoming_booked: number;
49608
+ line_status: string;
49127
49609
  name: string;
49128
49610
  note: string | null;
49129
49611
  pot_size: string | null;
@@ -49131,6 +49613,8 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
49131
49613
  product_type: string;
49132
49614
  purchase_order_id: string;
49133
49615
  quantity: number;
49616
+ received_at: string | null;
49617
+ received_booked: number;
49134
49618
  supplier_id: string | null;
49135
49619
  supplier_product_id: string | null;
49136
49620
  unit_price_cents: number;
@@ -49138,9 +49622,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
49138
49622
  };
49139
49623
  Insert: {
49140
49624
  article_number?: string | null;
49625
+ cancel_reason?: string | null;
49626
+ cancelled_at?: string | null;
49141
49627
  created_at?: string;
49142
49628
  delivery_date?: string | null;
49143
49629
  id?: string;
49630
+ incoming_booked?: number;
49631
+ line_status?: string;
49144
49632
  name?: string;
49145
49633
  note?: string | null;
49146
49634
  pot_size?: string | null;
@@ -49148,6 +49636,8 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
49148
49636
  product_type?: string;
49149
49637
  purchase_order_id: string;
49150
49638
  quantity?: number;
49639
+ received_at?: string | null;
49640
+ received_booked?: number;
49151
49641
  supplier_id?: string | null;
49152
49642
  supplier_product_id?: string | null;
49153
49643
  unit_price_cents?: number;
@@ -49155,9 +49645,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
49155
49645
  };
49156
49646
  Update: {
49157
49647
  article_number?: string | null;
49648
+ cancel_reason?: string | null;
49649
+ cancelled_at?: string | null;
49158
49650
  created_at?: string;
49159
49651
  delivery_date?: string | null;
49160
49652
  id?: string;
49653
+ incoming_booked?: number;
49654
+ line_status?: string;
49161
49655
  name?: string;
49162
49656
  note?: string | null;
49163
49657
  pot_size?: string | null;
@@ -49165,6 +49659,8 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
49165
49659
  product_type?: string;
49166
49660
  purchase_order_id?: string;
49167
49661
  quantity?: number;
49662
+ received_at?: string | null;
49663
+ received_booked?: number;
49168
49664
  supplier_id?: string | null;
49169
49665
  supplier_product_id?: string | null;
49170
49666
  unit_price_cents?: number;
@@ -49268,6 +49764,153 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
49268
49764
  referencedColumns: ["id"];
49269
49765
  }];
49270
49766
  };
49767
+ purchase_request_events: {
49768
+ Row: {
49769
+ created_at: string;
49770
+ details: import("../integrations/supabase/types").Json | null;
49771
+ event_type: string;
49772
+ id: string;
49773
+ request_id: string;
49774
+ };
49775
+ Insert: {
49776
+ created_at?: string;
49777
+ details?: import("../integrations/supabase/types").Json | null;
49778
+ event_type: string;
49779
+ id?: string;
49780
+ request_id: string;
49781
+ };
49782
+ Update: {
49783
+ created_at?: string;
49784
+ details?: import("../integrations/supabase/types").Json | null;
49785
+ event_type?: string;
49786
+ id?: string;
49787
+ request_id?: string;
49788
+ };
49789
+ Relationships: [{
49790
+ foreignKeyName: "purchase_request_events_request_id_fkey";
49791
+ columns: ["request_id"];
49792
+ isOneToOne: false;
49793
+ referencedRelation: "purchase_requests";
49794
+ referencedColumns: ["id"];
49795
+ }];
49796
+ };
49797
+ purchase_request_responses: {
49798
+ Row: {
49799
+ confirmed_date: string | null;
49800
+ confirmed_price_cents: number | null;
49801
+ confirmed_quantity: number;
49802
+ created_at: string;
49803
+ id: string;
49804
+ not_available: boolean;
49805
+ note: string | null;
49806
+ purchase_order_item_id: string;
49807
+ request_id: string;
49808
+ updated_at: string;
49809
+ };
49810
+ Insert: {
49811
+ confirmed_date?: string | null;
49812
+ confirmed_price_cents?: number | null;
49813
+ confirmed_quantity?: number;
49814
+ created_at?: string;
49815
+ id?: string;
49816
+ not_available?: boolean;
49817
+ note?: string | null;
49818
+ purchase_order_item_id: string;
49819
+ request_id: string;
49820
+ updated_at?: string;
49821
+ };
49822
+ Update: {
49823
+ confirmed_date?: string | null;
49824
+ confirmed_price_cents?: number | null;
49825
+ confirmed_quantity?: number;
49826
+ created_at?: string;
49827
+ id?: string;
49828
+ not_available?: boolean;
49829
+ note?: string | null;
49830
+ purchase_order_item_id?: string;
49831
+ request_id?: string;
49832
+ updated_at?: string;
49833
+ };
49834
+ Relationships: [{
49835
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
49836
+ columns: ["purchase_order_item_id"];
49837
+ isOneToOne: false;
49838
+ referencedRelation: "purchase_order_items";
49839
+ referencedColumns: ["id"];
49840
+ }, {
49841
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
49842
+ columns: ["request_id"];
49843
+ isOneToOne: false;
49844
+ referencedRelation: "purchase_requests";
49845
+ referencedColumns: ["id"];
49846
+ }];
49847
+ };
49848
+ purchase_requests: {
49849
+ Row: {
49850
+ created_at: string;
49851
+ expires_at: string;
49852
+ first_viewed_at: string | null;
49853
+ id: string;
49854
+ processed_at: string | null;
49855
+ purchase_order_id: string;
49856
+ responded_at: string | null;
49857
+ sent_at: string;
49858
+ status: string;
49859
+ supplier_id: string | null;
49860
+ supplier_name: string;
49861
+ supplier_note: string | null;
49862
+ to_address: string | null;
49863
+ token_hash: string;
49864
+ updated_at: string;
49865
+ };
49866
+ Insert: {
49867
+ created_at?: string;
49868
+ expires_at?: string;
49869
+ first_viewed_at?: string | null;
49870
+ id?: string;
49871
+ processed_at?: string | null;
49872
+ purchase_order_id: string;
49873
+ responded_at?: string | null;
49874
+ sent_at?: string;
49875
+ status?: string;
49876
+ supplier_id?: string | null;
49877
+ supplier_name?: string;
49878
+ supplier_note?: string | null;
49879
+ to_address?: string | null;
49880
+ token_hash: string;
49881
+ updated_at?: string;
49882
+ };
49883
+ Update: {
49884
+ created_at?: string;
49885
+ expires_at?: string;
49886
+ first_viewed_at?: string | null;
49887
+ id?: string;
49888
+ processed_at?: string | null;
49889
+ purchase_order_id?: string;
49890
+ responded_at?: string | null;
49891
+ sent_at?: string;
49892
+ status?: string;
49893
+ supplier_id?: string | null;
49894
+ supplier_name?: string;
49895
+ supplier_note?: string | null;
49896
+ to_address?: string | null;
49897
+ token_hash?: string;
49898
+ updated_at?: string;
49899
+ };
49900
+ Relationships: [{
49901
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
49902
+ columns: ["purchase_order_id"];
49903
+ isOneToOne: false;
49904
+ referencedRelation: "purchase_orders";
49905
+ referencedColumns: ["id"];
49906
+ }, {
49907
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
49908
+ columns: ["supplier_id"];
49909
+ isOneToOne: false;
49910
+ referencedRelation: "suppliers";
49911
+ referencedColumns: ["id"];
49912
+ }];
49913
+ };
49271
49914
  reception_notifications: {
49272
49915
  Row: {
49273
49916
  booking_id: string | null;
@@ -51431,6 +52074,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
51431
52074
  auto_invoice_enabled: boolean;
51432
52075
  auto_invoice_start_date: string | null;
51433
52076
  auto_invoice_trigger_statuses: string[];
52077
+ auto_send_mode: string | null;
51434
52078
  created_at: string;
51435
52079
  debtor_gl_account: string;
51436
52080
  default_article_code: string | null;
@@ -51459,6 +52103,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
51459
52103
  auto_invoice_enabled?: boolean;
51460
52104
  auto_invoice_start_date?: string | null;
51461
52105
  auto_invoice_trigger_statuses?: string[];
52106
+ auto_send_mode?: string | null;
51462
52107
  created_at?: string;
51463
52108
  debtor_gl_account?: string;
51464
52109
  default_article_code?: string | null;
@@ -51487,6 +52132,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
51487
52132
  auto_invoice_enabled?: boolean;
51488
52133
  auto_invoice_start_date?: string | null;
51489
52134
  auto_invoice_trigger_statuses?: string[];
52135
+ auto_send_mode?: string | null;
51490
52136
  created_at?: string;
51491
52137
  debtor_gl_account?: string;
51492
52138
  default_article_code?: string | null;
@@ -56720,13 +57366,66 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
56720
57366
  };
56721
57367
  Returns: import("../integrations/supabase/types").Json;
56722
57368
  };
57369
+ inkoop_cancel_line: {
57370
+ Args: {
57371
+ _item_id: string;
57372
+ _reason: string;
57373
+ };
57374
+ Returns: string;
57375
+ };
57376
+ inkoop_get_supplier_request: {
57377
+ Args: {
57378
+ _token: string;
57379
+ };
57380
+ Returns: import("../integrations/supabase/types").Json;
57381
+ };
57382
+ inkoop_hash_token: {
57383
+ Args: {
57384
+ _token: string;
57385
+ };
57386
+ Returns: string;
57387
+ };
57388
+ inkoop_html_escape: {
57389
+ Args: {
57390
+ _t: string;
57391
+ };
57392
+ Returns: string;
57393
+ };
57394
+ inkoop_list_artikelen: {
57395
+ Args: never;
57396
+ Returns: {
57397
+ article_number: string;
57398
+ barcode: string;
57399
+ id: string;
57400
+ incoming_quantity: number;
57401
+ is_layer: boolean;
57402
+ location: string;
57403
+ min_quantity: number;
57404
+ preferred_supplier_name: string;
57405
+ product: string;
57406
+ product_type: string;
57407
+ purchase_price: number;
57408
+ quantity: number;
57409
+ sale_price: number;
57410
+ supplier_count: number;
57411
+ unit: string;
57412
+ }[];
57413
+ };
56723
57414
  inkoop_next_order_number: {
56724
57415
  Args: never;
56725
57416
  Returns: string;
56726
57417
  };
57418
+ inkoop_process_request: {
57419
+ Args: {
57420
+ _request_id: string;
57421
+ };
57422
+ Returns: undefined;
57423
+ };
56727
57424
  inkoop_send_order: {
56728
57425
  Args: {
57426
+ _base_url?: string;
56729
57427
  _order_id: string;
57428
+ _resend?: boolean;
56730
57429
  };
56731
57430
  Returns: {
56732
57431
  outbox_id: string;
@@ -56741,6 +57440,26 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
56741
57440
  };
56742
57441
  Returns: undefined;
56743
57442
  };
57443
+ inkoop_stock_key: {
57444
+ Args: {
57445
+ p_product_id: string;
57446
+ };
57447
+ Returns: string;
57448
+ };
57449
+ inkoop_submit_supplier_response: {
57450
+ Args: {
57451
+ _lines: import("../integrations/supabase/types").Json;
57452
+ _note?: string;
57453
+ _token: string;
57454
+ };
57455
+ Returns: import("../integrations/supabase/types").Json;
57456
+ };
57457
+ inkoop_sync_item_stock: {
57458
+ Args: {
57459
+ p_item_id: string;
57460
+ };
57461
+ Returns: undefined;
57462
+ };
56744
57463
  instructie_get: {
56745
57464
  Args: {
56746
57465
  _sleutel: string;
@@ -56901,6 +57620,27 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
56901
57620
  };
56902
57621
  Returns: boolean;
56903
57622
  };
57623
+ layout_print_document: {
57624
+ Args: {
57625
+ _documentnaam: string;
57626
+ _documenttype: string;
57627
+ _herkomst?: string;
57628
+ _idempotentie_sleutel?: string;
57629
+ _is_herprint?: boolean;
57630
+ _kopieen?: number;
57631
+ _layout_id?: string;
57632
+ _payload?: import("../integrations/supabase/types").Json;
57633
+ _pdf_base64?: string;
57634
+ _pdf_url?: string;
57635
+ _print_plek_id?: string;
57636
+ _werkplek?: string;
57637
+ };
57638
+ Returns: {
57639
+ bestaand: boolean;
57640
+ job_id: string;
57641
+ printer_id: string;
57642
+ }[];
57643
+ };
56904
57644
  list_medewerkers: {
56905
57645
  Args: never;
56906
57646
  Returns: {
@@ -57178,6 +57918,12 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
57178
57918
  };
57179
57919
  Returns: number;
57180
57920
  };
57921
+ logistics_cart_barcode_opschonen: {
57922
+ Args: {
57923
+ p_portie?: number;
57924
+ };
57925
+ Returns: import("../integrations/supabase/types").Json;
57926
+ };
57181
57927
  logistics_cart_barcode_value: {
57182
57928
  Args: {
57183
57929
  _cart_id: string;
@@ -57597,6 +58343,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
57597
58343
  };
57598
58344
  Returns: import("../integrations/supabase/types").Json;
57599
58345
  };
58346
+ logistics_control_scan_print_own: {
58347
+ Args: {
58348
+ p_is_herprint?: boolean;
58349
+ p_scan_id: string;
58350
+ };
58351
+ Returns: import("../integrations/supabase/types").Json;
58352
+ };
57600
58353
  logistics_control_scan_retry: {
57601
58354
  Args: {
57602
58355
  _id: string;
@@ -58501,6 +59254,21 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
58501
59254
  };
58502
59255
  Returns: import("../integrations/supabase/types").Json;
58503
59256
  };
59257
+ logistics_print_via_layout: {
59258
+ Args: {
59259
+ _documentnaam: string;
59260
+ _documenttype: string;
59261
+ _herkomst: string;
59262
+ _idempotentie_sleutel: string;
59263
+ _is_herprint: boolean;
59264
+ _layout_id: string;
59265
+ _payload: import("../integrations/supabase/types").Json;
59266
+ _pdf_base64: string;
59267
+ _pdf_url: string;
59268
+ _print_plek_id: string;
59269
+ };
59270
+ Returns: import("../integrations/supabase/types").Json;
59271
+ };
58504
59272
  logistics_prune_buffer_member_queue: {
58505
59273
  Args: never;
58506
59274
  Returns: number;
@@ -58787,6 +59555,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
58787
59555
  };
58788
59556
  Returns: string;
58789
59557
  };
59558
+ logistics_shipping_note_status: {
59559
+ Args: {
59560
+ p_cart_id?: string;
59561
+ p_slip_job_id?: string;
59562
+ };
59563
+ Returns: import("../integrations/supabase/types").Json;
59564
+ };
58790
59565
  logistics_shipping_notes_wake_all: {
58791
59566
  Args: never;
58792
59567
  Returns: import("../integrations/supabase/types").Json;
@@ -58849,6 +59624,12 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
58849
59624
  };
58850
59625
  Returns: undefined;
58851
59626
  };
59627
+ logistics_slip_note_retry: {
59628
+ Args: {
59629
+ _id: string;
59630
+ };
59631
+ Returns: import("../integrations/supabase/types").Json;
59632
+ };
58852
59633
  logistics_sticker_follows_slip: {
58853
59634
  Args: never;
58854
59635
  Returns: boolean;
@@ -59593,6 +60374,10 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
59593
60374
  };
59594
60375
  Returns: string;
59595
60376
  };
60377
+ pick_is_reference_admin: {
60378
+ Args: never;
60379
+ Returns: boolean;
60380
+ };
59596
60381
  pick_mark_printed: {
59597
60382
  Args: {
59598
60383
  _queue_item_id: string;
@@ -60466,6 +61251,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
60466
61251
  };
60467
61252
  Returns: import("../integrations/supabase/types").Json;
60468
61253
  };
61254
+ scan_controleer_pincode: {
61255
+ Args: {
61256
+ p_pin: string;
61257
+ p_scanner_id: string;
61258
+ };
61259
+ Returns: boolean;
61260
+ };
60469
61261
  scan_dashboard_stats: {
60470
61262
  Args: {
60471
61263
  p_dagen?: number;
@@ -60485,6 +61277,12 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
60485
61277
  };
60486
61278
  Returns: import("../integrations/supabase/types").Json;
60487
61279
  };
61280
+ scan_heeft_pincode: {
61281
+ Args: {
61282
+ p_scanner_id: string;
61283
+ };
61284
+ Returns: boolean;
61285
+ };
60488
61286
  scan_kar_compleet: {
60489
61287
  Args: {
60490
61288
  p_allow_reprint?: boolean;
@@ -60502,6 +61300,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
60502
61300
  Args: {
60503
61301
  p_code: string;
60504
61302
  p_latency_ms?: number;
61303
+ p_medewerker?: string;
60505
61304
  p_message?: string;
60506
61305
  p_result: string;
60507
61306
  p_scanner_key?: string;
@@ -60574,6 +61373,22 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
60574
61373
  };
60575
61374
  Returns: undefined;
60576
61375
  };
61376
+ scan_scanner_info: {
61377
+ Args: {
61378
+ p_slug: string;
61379
+ };
61380
+ Returns: {
61381
+ actief: boolean;
61382
+ heeft_pincode: boolean;
61383
+ id: string;
61384
+ naam: string;
61385
+ omschrijving: string;
61386
+ printer_id: string;
61387
+ type: string;
61388
+ vereist_medewerker: boolean;
61389
+ werkplek: string;
61390
+ }[];
61391
+ };
60577
61392
  scan_sessie_annuleren: {
60578
61393
  Args: {
60579
61394
  p_sessie_id: string;
@@ -61536,6 +62351,21 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
61536
62351
  };
61537
62352
  Returns: import("../integrations/supabase/types").Json;
61538
62353
  };
62354
+ wo_list_colleague_planning: {
62355
+ Args: {
62356
+ _from: string;
62357
+ _monteur_id: string;
62358
+ _to: string;
62359
+ };
62360
+ Returns: {
62361
+ end_at: string;
62362
+ id: string;
62363
+ role: string;
62364
+ start_at: string;
62365
+ status: string;
62366
+ werkbon_id: string;
62367
+ }[];
62368
+ };
61539
62369
  wo_list_offerte_requests: {
61540
62370
  Args: {
61541
62371
  _status?: string;