@flowselections/floriday-voorraad 1.0.49 → 1.0.51

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 (32) hide show
  1. package/dist-lib/components/voorraad/CollapsibleText.d.ts.map +1 -1
  2. package/dist-lib/components/voorraad/CollapsibleText.js +14 -11
  3. package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -1
  4. package/dist-lib/components/voorraad/StockMutationHistoryCard.js +17 -16
  5. package/dist-lib/integrations/supabase/auth-middleware.d.ts +360 -0
  6. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/client.d.ts +2 -30680
  8. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/client.js +4 -27
  10. package/dist-lib/integrations/supabase/client.server.d.ts +360 -0
  11. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  12. package/dist-lib/integrations/supabase/types.d.ts +372 -0
  13. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  14. package/dist-lib/lib/floricode-required-features.functions.d.ts +360 -0
  15. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  16. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +360 -0
  17. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/floriday-env.functions.d.ts +720 -0
  19. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/floriday-gateway.functions.d.ts +2160 -0
  21. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +720 -0
  23. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/floriday-warehouse.functions.d.ts +1080 -0
  25. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floriday-writes.functions.d.ts +720 -0
  27. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/inventory-settings.functions.d.ts +720 -0
  29. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/stock-sync.functions.d.ts +720 -0
  31. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  32. package/package.json +2 -2
@@ -8279,6 +8279,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
8279
8279
  postal_code: string;
8280
8280
  primary_color: string;
8281
8281
  secondary_color: string;
8282
+ show_company_name: boolean;
8282
8283
  singleton_key: boolean;
8283
8284
  updated_at: string;
8284
8285
  vat_identification_number: string;
@@ -8299,6 +8300,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
8299
8300
  postal_code?: string;
8300
8301
  primary_color?: string;
8301
8302
  secondary_color?: string;
8303
+ show_company_name?: boolean;
8302
8304
  singleton_key?: boolean;
8303
8305
  updated_at?: string;
8304
8306
  vat_identification_number?: string;
@@ -8319,6 +8321,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
8319
8321
  postal_code?: string;
8320
8322
  primary_color?: string;
8321
8323
  secondary_color?: string;
8324
+ show_company_name?: boolean;
8322
8325
  singleton_key?: boolean;
8323
8326
  updated_at?: string;
8324
8327
  vat_identification_number?: string;
@@ -14691,6 +14694,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
14691
14694
  next_attempt_at: string;
14692
14695
  order_id: string;
14693
14696
  processed_at: string | null;
14697
+ send_error: string | null;
14694
14698
  status: string;
14695
14699
  updated_at: string;
14696
14700
  };
@@ -14704,6 +14708,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
14704
14708
  next_attempt_at?: string;
14705
14709
  order_id: string;
14706
14710
  processed_at?: string | null;
14711
+ send_error?: string | null;
14707
14712
  status?: string;
14708
14713
  updated_at?: string;
14709
14714
  };
@@ -14717,6 +14722,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
14717
14722
  next_attempt_at?: string;
14718
14723
  order_id?: string;
14719
14724
  processed_at?: string | null;
14725
+ send_error?: string | null;
14720
14726
  status?: string;
14721
14727
  updated_at?: string;
14722
14728
  };
@@ -17746,6 +17752,66 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
17746
17752
  };
17747
17753
  Relationships: [];
17748
17754
  };
17755
+ product_suppliers: {
17756
+ Row: {
17757
+ created_at: string;
17758
+ id: string;
17759
+ is_preferred: boolean;
17760
+ lead_time_days: number | null;
17761
+ min_order_quantity: number | null;
17762
+ notes: string | null;
17763
+ product_id: string;
17764
+ purchase_price_cents: number | null;
17765
+ supplier_article_number: string | null;
17766
+ supplier_id: string;
17767
+ updated_at: string;
17768
+ };
17769
+ Insert: {
17770
+ created_at?: string;
17771
+ id?: string;
17772
+ is_preferred?: boolean;
17773
+ lead_time_days?: number | null;
17774
+ min_order_quantity?: number | null;
17775
+ notes?: string | null;
17776
+ product_id: string;
17777
+ purchase_price_cents?: number | null;
17778
+ supplier_article_number?: string | null;
17779
+ supplier_id: string;
17780
+ updated_at?: string;
17781
+ };
17782
+ Update: {
17783
+ created_at?: string;
17784
+ id?: string;
17785
+ is_preferred?: boolean;
17786
+ lead_time_days?: number | null;
17787
+ min_order_quantity?: number | null;
17788
+ notes?: string | null;
17789
+ product_id?: string;
17790
+ purchase_price_cents?: number | null;
17791
+ supplier_article_number?: string | null;
17792
+ supplier_id?: string;
17793
+ updated_at?: string;
17794
+ };
17795
+ Relationships: [{
17796
+ foreignKeyName: "product_suppliers_product_id_fkey";
17797
+ columns: ["product_id"];
17798
+ isOneToOne: false;
17799
+ referencedRelation: "logistics_product_dimensions";
17800
+ referencedColumns: ["product_id"];
17801
+ }, {
17802
+ foreignKeyName: "product_suppliers_product_id_fkey";
17803
+ columns: ["product_id"];
17804
+ isOneToOne: false;
17805
+ referencedRelation: "products";
17806
+ referencedColumns: ["id"];
17807
+ }, {
17808
+ foreignKeyName: "product_suppliers_supplier_id_fkey";
17809
+ columns: ["supplier_id"];
17810
+ isOneToOne: false;
17811
+ referencedRelation: "suppliers";
17812
+ referencedColumns: ["id"];
17813
+ }];
17814
+ };
17749
17815
  product_tray_stickers: {
17750
17816
  Row: {
17751
17817
  bestand_url: string;
@@ -18250,9 +18316,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
18250
18316
  purchase_order_items: {
18251
18317
  Row: {
18252
18318
  article_number: string | null;
18319
+ cancelled_at: string | null;
18253
18320
  created_at: string;
18254
18321
  delivery_date: string | null;
18255
18322
  id: string;
18323
+ incoming_booked: number;
18324
+ line_status: string;
18256
18325
  name: string;
18257
18326
  note: string | null;
18258
18327
  pot_size: string | null;
@@ -18260,6 +18329,8 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
18260
18329
  product_type: string;
18261
18330
  purchase_order_id: string;
18262
18331
  quantity: number;
18332
+ received_at: string | null;
18333
+ received_booked: number;
18263
18334
  supplier_id: string | null;
18264
18335
  supplier_product_id: string | null;
18265
18336
  unit_price_cents: number;
@@ -18267,9 +18338,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
18267
18338
  };
18268
18339
  Insert: {
18269
18340
  article_number?: string | null;
18341
+ cancelled_at?: string | null;
18270
18342
  created_at?: string;
18271
18343
  delivery_date?: string | null;
18272
18344
  id?: string;
18345
+ incoming_booked?: number;
18346
+ line_status?: string;
18273
18347
  name?: string;
18274
18348
  note?: string | null;
18275
18349
  pot_size?: string | null;
@@ -18277,6 +18351,8 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
18277
18351
  product_type?: string;
18278
18352
  purchase_order_id: string;
18279
18353
  quantity?: number;
18354
+ received_at?: string | null;
18355
+ received_booked?: number;
18280
18356
  supplier_id?: string | null;
18281
18357
  supplier_product_id?: string | null;
18282
18358
  unit_price_cents?: number;
@@ -18284,9 +18360,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
18284
18360
  };
18285
18361
  Update: {
18286
18362
  article_number?: string | null;
18363
+ cancelled_at?: string | null;
18287
18364
  created_at?: string;
18288
18365
  delivery_date?: string | null;
18289
18366
  id?: string;
18367
+ incoming_booked?: number;
18368
+ line_status?: string;
18290
18369
  name?: string;
18291
18370
  note?: string | null;
18292
18371
  pot_size?: string | null;
@@ -18294,6 +18373,8 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
18294
18373
  product_type?: string;
18295
18374
  purchase_order_id?: string;
18296
18375
  quantity?: number;
18376
+ received_at?: string | null;
18377
+ received_booked?: number;
18297
18378
  supplier_id?: string | null;
18298
18379
  supplier_product_id?: string | null;
18299
18380
  unit_price_cents?: number;
@@ -18397,6 +18478,153 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
18397
18478
  referencedColumns: ["id"];
18398
18479
  }];
18399
18480
  };
18481
+ purchase_request_events: {
18482
+ Row: {
18483
+ created_at: string;
18484
+ details: import("../integrations/supabase/types").Json | null;
18485
+ event_type: string;
18486
+ id: string;
18487
+ request_id: string;
18488
+ };
18489
+ Insert: {
18490
+ created_at?: string;
18491
+ details?: import("../integrations/supabase/types").Json | null;
18492
+ event_type: string;
18493
+ id?: string;
18494
+ request_id: string;
18495
+ };
18496
+ Update: {
18497
+ created_at?: string;
18498
+ details?: import("../integrations/supabase/types").Json | null;
18499
+ event_type?: string;
18500
+ id?: string;
18501
+ request_id?: string;
18502
+ };
18503
+ Relationships: [{
18504
+ foreignKeyName: "purchase_request_events_request_id_fkey";
18505
+ columns: ["request_id"];
18506
+ isOneToOne: false;
18507
+ referencedRelation: "purchase_requests";
18508
+ referencedColumns: ["id"];
18509
+ }];
18510
+ };
18511
+ purchase_request_responses: {
18512
+ Row: {
18513
+ confirmed_date: string | null;
18514
+ confirmed_price_cents: number | null;
18515
+ confirmed_quantity: number;
18516
+ created_at: string;
18517
+ id: string;
18518
+ not_available: boolean;
18519
+ note: string | null;
18520
+ purchase_order_item_id: string;
18521
+ request_id: string;
18522
+ updated_at: string;
18523
+ };
18524
+ Insert: {
18525
+ confirmed_date?: string | null;
18526
+ confirmed_price_cents?: number | null;
18527
+ confirmed_quantity?: number;
18528
+ created_at?: string;
18529
+ id?: string;
18530
+ not_available?: boolean;
18531
+ note?: string | null;
18532
+ purchase_order_item_id: string;
18533
+ request_id: string;
18534
+ updated_at?: string;
18535
+ };
18536
+ Update: {
18537
+ confirmed_date?: string | null;
18538
+ confirmed_price_cents?: number | null;
18539
+ confirmed_quantity?: number;
18540
+ created_at?: string;
18541
+ id?: string;
18542
+ not_available?: boolean;
18543
+ note?: string | null;
18544
+ purchase_order_item_id?: string;
18545
+ request_id?: string;
18546
+ updated_at?: string;
18547
+ };
18548
+ Relationships: [{
18549
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
18550
+ columns: ["purchase_order_item_id"];
18551
+ isOneToOne: false;
18552
+ referencedRelation: "purchase_order_items";
18553
+ referencedColumns: ["id"];
18554
+ }, {
18555
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
18556
+ columns: ["request_id"];
18557
+ isOneToOne: false;
18558
+ referencedRelation: "purchase_requests";
18559
+ referencedColumns: ["id"];
18560
+ }];
18561
+ };
18562
+ purchase_requests: {
18563
+ Row: {
18564
+ created_at: string;
18565
+ expires_at: string;
18566
+ first_viewed_at: string | null;
18567
+ id: string;
18568
+ processed_at: string | null;
18569
+ purchase_order_id: string;
18570
+ responded_at: string | null;
18571
+ sent_at: string;
18572
+ status: string;
18573
+ supplier_id: string | null;
18574
+ supplier_name: string;
18575
+ supplier_note: string | null;
18576
+ to_address: string | null;
18577
+ token_hash: string;
18578
+ updated_at: string;
18579
+ };
18580
+ Insert: {
18581
+ created_at?: string;
18582
+ expires_at?: string;
18583
+ first_viewed_at?: string | null;
18584
+ id?: string;
18585
+ processed_at?: string | null;
18586
+ purchase_order_id: string;
18587
+ responded_at?: string | null;
18588
+ sent_at?: string;
18589
+ status?: string;
18590
+ supplier_id?: string | null;
18591
+ supplier_name?: string;
18592
+ supplier_note?: string | null;
18593
+ to_address?: string | null;
18594
+ token_hash: string;
18595
+ updated_at?: string;
18596
+ };
18597
+ Update: {
18598
+ created_at?: string;
18599
+ expires_at?: string;
18600
+ first_viewed_at?: string | null;
18601
+ id?: string;
18602
+ processed_at?: string | null;
18603
+ purchase_order_id?: string;
18604
+ responded_at?: string | null;
18605
+ sent_at?: string;
18606
+ status?: string;
18607
+ supplier_id?: string | null;
18608
+ supplier_name?: string;
18609
+ supplier_note?: string | null;
18610
+ to_address?: string | null;
18611
+ token_hash?: string;
18612
+ updated_at?: string;
18613
+ };
18614
+ Relationships: [{
18615
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
18616
+ columns: ["purchase_order_id"];
18617
+ isOneToOne: false;
18618
+ referencedRelation: "purchase_orders";
18619
+ referencedColumns: ["id"];
18620
+ }, {
18621
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
18622
+ columns: ["supplier_id"];
18623
+ isOneToOne: false;
18624
+ referencedRelation: "suppliers";
18625
+ referencedColumns: ["id"];
18626
+ }];
18627
+ };
18400
18628
  reception_notifications: {
18401
18629
  Row: {
18402
18630
  booking_id: string | null;
@@ -20560,6 +20788,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
20560
20788
  auto_invoice_enabled: boolean;
20561
20789
  auto_invoice_start_date: string | null;
20562
20790
  auto_invoice_trigger_statuses: string[];
20791
+ auto_send_mode: string | null;
20563
20792
  created_at: string;
20564
20793
  debtor_gl_account: string;
20565
20794
  default_article_code: string | null;
@@ -20588,6 +20817,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
20588
20817
  auto_invoice_enabled?: boolean;
20589
20818
  auto_invoice_start_date?: string | null;
20590
20819
  auto_invoice_trigger_statuses?: string[];
20820
+ auto_send_mode?: string | null;
20591
20821
  created_at?: string;
20592
20822
  debtor_gl_account?: string;
20593
20823
  default_article_code?: string | null;
@@ -20616,6 +20846,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
20616
20846
  auto_invoice_enabled?: boolean;
20617
20847
  auto_invoice_start_date?: string | null;
20618
20848
  auto_invoice_trigger_statuses?: string[];
20849
+ auto_send_mode?: string | null;
20619
20850
  created_at?: string;
20620
20851
  debtor_gl_account?: string;
20621
20852
  default_article_code?: string | null;
@@ -21059,16 +21290,19 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
21059
21290
  Row: {
21060
21291
  active_environment: string;
21061
21292
  id: number;
21293
+ public_base_url: string | null;
21062
21294
  updated_at: string;
21063
21295
  };
21064
21296
  Insert: {
21065
21297
  active_environment?: string;
21066
21298
  id?: number;
21299
+ public_base_url?: string | null;
21067
21300
  updated_at?: string;
21068
21301
  };
21069
21302
  Update: {
21070
21303
  active_environment?: string;
21071
21304
  id?: number;
21305
+ public_base_url?: string | null;
21072
21306
  updated_at?: string;
21073
21307
  };
21074
21308
  Relationships: [];
@@ -21299,11 +21533,15 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
21299
21533
  monteur_id: string;
21300
21534
  netto_verschil_minuten: number;
21301
21535
  normaal_uitbetaald_minuten: number;
21536
+ omgezet_vakantie_minuten: number;
21537
+ overdracht_vorige_minuten: number;
21302
21538
  overuren_minuten: number;
21303
21539
  plus_minuten: number;
21540
+ rest_overuren_minuten: number;
21304
21541
  status: string;
21305
21542
  totaal_uitbetaald_minuten: number;
21306
21543
  updated_at: string;
21544
+ vakantie_uren_bijgeschreven: number;
21307
21545
  };
21308
21546
  Insert: {
21309
21547
  afgesloten_at?: string | null;
@@ -21320,11 +21558,15 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
21320
21558
  monteur_id: string;
21321
21559
  netto_verschil_minuten?: number;
21322
21560
  normaal_uitbetaald_minuten?: number;
21561
+ omgezet_vakantie_minuten?: number;
21562
+ overdracht_vorige_minuten?: number;
21323
21563
  overuren_minuten?: number;
21324
21564
  plus_minuten?: number;
21565
+ rest_overuren_minuten?: number;
21325
21566
  status?: string;
21326
21567
  totaal_uitbetaald_minuten?: number;
21327
21568
  updated_at?: string;
21569
+ vakantie_uren_bijgeschreven?: number;
21328
21570
  };
21329
21571
  Update: {
21330
21572
  afgesloten_at?: string | null;
@@ -21341,11 +21583,15 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
21341
21583
  monteur_id?: string;
21342
21584
  netto_verschil_minuten?: number;
21343
21585
  normaal_uitbetaald_minuten?: number;
21586
+ omgezet_vakantie_minuten?: number;
21587
+ overdracht_vorige_minuten?: number;
21344
21588
  overuren_minuten?: number;
21345
21589
  plus_minuten?: number;
21590
+ rest_overuren_minuten?: number;
21346
21591
  status?: string;
21347
21592
  totaal_uitbetaald_minuten?: number;
21348
21593
  updated_at?: string;
21594
+ vakantie_uren_bijgeschreven?: number;
21349
21595
  };
21350
21596
  Relationships: [];
21351
21597
  };
@@ -25834,12 +26080,57 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
25834
26080
  };
25835
26081
  Returns: import("../integrations/supabase/types").Json;
25836
26082
  };
26083
+ inkoop_get_supplier_request: {
26084
+ Args: {
26085
+ _token: string;
26086
+ };
26087
+ Returns: import("../integrations/supabase/types").Json;
26088
+ };
26089
+ inkoop_hash_token: {
26090
+ Args: {
26091
+ _token: string;
26092
+ };
26093
+ Returns: string;
26094
+ };
26095
+ inkoop_html_escape: {
26096
+ Args: {
26097
+ _t: string;
26098
+ };
26099
+ Returns: string;
26100
+ };
26101
+ inkoop_list_artikelen: {
26102
+ Args: never;
26103
+ Returns: {
26104
+ article_number: string;
26105
+ barcode: string;
26106
+ id: string;
26107
+ incoming_quantity: number;
26108
+ is_layer: boolean;
26109
+ location: string;
26110
+ min_quantity: number;
26111
+ preferred_supplier_name: string;
26112
+ product: string;
26113
+ product_type: string;
26114
+ purchase_price: number;
26115
+ quantity: number;
26116
+ sale_price: number;
26117
+ supplier_count: number;
26118
+ unit: string;
26119
+ }[];
26120
+ };
25837
26121
  inkoop_next_order_number: {
25838
26122
  Args: never;
25839
26123
  Returns: string;
25840
26124
  };
26125
+ inkoop_process_request: {
26126
+ Args: {
26127
+ _request_id: string;
26128
+ };
26129
+ Returns: undefined;
26130
+ };
25841
26131
  inkoop_send_order: {
25842
26132
  Args: {
26133
+ _base_url?: string;
25843
26134
  _order_id: string;
25844
26135
  };
25845
26136
  Returns: {
@@ -25847,6 +26138,44 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
25847
26138
  supplier_name: string;
25848
26139
  to_address: string;
25849
26140
  }[];
26141
+ } | {
26142
+ Args: {
26143
+ _base_url?: string;
26144
+ _order_id: string;
26145
+ _resend?: boolean;
26146
+ };
26147
+ Returns: {
26148
+ outbox_id: string;
26149
+ supplier_name: string;
26150
+ to_address: string;
26151
+ }[];
26152
+ };
26153
+ inkoop_set_preferred_supplier: {
26154
+ Args: {
26155
+ _product_id: string;
26156
+ _supplier_id: string;
26157
+ };
26158
+ Returns: undefined;
26159
+ };
26160
+ inkoop_stock_key: {
26161
+ Args: {
26162
+ p_product_id: string;
26163
+ };
26164
+ Returns: string;
26165
+ };
26166
+ inkoop_submit_supplier_response: {
26167
+ Args: {
26168
+ _lines: import("../integrations/supabase/types").Json;
26169
+ _note?: string;
26170
+ _token: string;
26171
+ };
26172
+ Returns: import("../integrations/supabase/types").Json;
26173
+ };
26174
+ inkoop_sync_item_stock: {
26175
+ Args: {
26176
+ p_item_id: string;
26177
+ };
26178
+ Returns: undefined;
25850
26179
  };
25851
26180
  instructie_get: {
25852
26181
  Args: {
@@ -27119,6 +27448,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
27119
27448
  Args: never;
27120
27449
  Returns: string;
27121
27450
  };
27451
+ logistics_order_backlog_info: {
27452
+ Args: {
27453
+ p_order_id: string;
27454
+ };
27455
+ Returns: import("../integrations/supabase/types").Json;
27456
+ };
27122
27457
  logistics_order_cart_approval: {
27123
27458
  Args: {
27124
27459
  _order_ref: string;
@@ -27209,6 +27544,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
27209
27544
  };
27210
27545
  Returns: boolean;
27211
27546
  };
27547
+ logistics_order_is_backlog: {
27548
+ Args: {
27549
+ p_order_id: string;
27550
+ };
27551
+ Returns: boolean;
27552
+ };
27212
27553
  logistics_order_is_topick: {
27213
27554
  Args: {
27214
27555
  p_order_id: string;
@@ -27350,6 +27691,10 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
27350
27691
  shifted_count: number;
27351
27692
  }[];
27352
27693
  };
27694
+ logistics_pick_backlog_max_days: {
27695
+ Args: never;
27696
+ Returns: number;
27697
+ };
27353
27698
  logistics_pick_barcode_enabled: {
27354
27699
  Args: never;
27355
27700
  Returns: boolean;
@@ -27965,12 +28310,27 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
27965
28310
  Args: never;
27966
28311
  Returns: import("../integrations/supabase/types").Json;
27967
28312
  };
28313
+ logistics_sync_pick_queue_backlog: {
28314
+ Args: never;
28315
+ Returns: import("../integrations/supabase/types").Json;
28316
+ };
28317
+ logistics_sync_pick_queue_core: {
28318
+ Args: never;
28319
+ Returns: import("../integrations/supabase/types").Json;
28320
+ };
27968
28321
  logistics_sync_task_carriers: {
27969
28322
  Args: {
27970
28323
  p_order_ref?: string;
27971
28324
  };
27972
28325
  Returns: number;
27973
28326
  };
28327
+ logistics_task_open_counts: {
28328
+ Args: never;
28329
+ Returns: {
28330
+ open_count: number;
28331
+ owner_module: string;
28332
+ }[];
28333
+ };
27974
28334
  logistics_task_owner: {
27975
28335
  Args: {
27976
28336
  p_task_type: string;
@@ -38970,6 +39330,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
38970
39330
  postal_code: string;
38971
39331
  primary_color: string;
38972
39332
  secondary_color: string;
39333
+ show_company_name: boolean;
38973
39334
  singleton_key: boolean;
38974
39335
  updated_at: string;
38975
39336
  vat_identification_number: string;
@@ -38990,6 +39351,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
38990
39351
  postal_code?: string;
38991
39352
  primary_color?: string;
38992
39353
  secondary_color?: string;
39354
+ show_company_name?: boolean;
38993
39355
  singleton_key?: boolean;
38994
39356
  updated_at?: string;
38995
39357
  vat_identification_number?: string;
@@ -39010,6 +39372,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
39010
39372
  postal_code?: string;
39011
39373
  primary_color?: string;
39012
39374
  secondary_color?: string;
39375
+ show_company_name?: boolean;
39013
39376
  singleton_key?: boolean;
39014
39377
  updated_at?: string;
39015
39378
  vat_identification_number?: string;
@@ -45382,6 +45745,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
45382
45745
  next_attempt_at: string;
45383
45746
  order_id: string;
45384
45747
  processed_at: string | null;
45748
+ send_error: string | null;
45385
45749
  status: string;
45386
45750
  updated_at: string;
45387
45751
  };
@@ -45395,6 +45759,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
45395
45759
  next_attempt_at?: string;
45396
45760
  order_id: string;
45397
45761
  processed_at?: string | null;
45762
+ send_error?: string | null;
45398
45763
  status?: string;
45399
45764
  updated_at?: string;
45400
45765
  };
@@ -45408,6 +45773,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
45408
45773
  next_attempt_at?: string;
45409
45774
  order_id?: string;
45410
45775
  processed_at?: string | null;
45776
+ send_error?: string | null;
45411
45777
  status?: string;
45412
45778
  updated_at?: string;
45413
45779
  };
@@ -48437,6 +48803,66 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
48437
48803
  };
48438
48804
  Relationships: [];
48439
48805
  };
48806
+ product_suppliers: {
48807
+ Row: {
48808
+ created_at: string;
48809
+ id: string;
48810
+ is_preferred: boolean;
48811
+ lead_time_days: number | null;
48812
+ min_order_quantity: number | null;
48813
+ notes: string | null;
48814
+ product_id: string;
48815
+ purchase_price_cents: number | null;
48816
+ supplier_article_number: string | null;
48817
+ supplier_id: string;
48818
+ updated_at: string;
48819
+ };
48820
+ Insert: {
48821
+ created_at?: string;
48822
+ id?: string;
48823
+ is_preferred?: boolean;
48824
+ lead_time_days?: number | null;
48825
+ min_order_quantity?: number | null;
48826
+ notes?: string | null;
48827
+ product_id: string;
48828
+ purchase_price_cents?: number | null;
48829
+ supplier_article_number?: string | null;
48830
+ supplier_id: string;
48831
+ updated_at?: string;
48832
+ };
48833
+ Update: {
48834
+ created_at?: string;
48835
+ id?: string;
48836
+ is_preferred?: boolean;
48837
+ lead_time_days?: number | null;
48838
+ min_order_quantity?: number | null;
48839
+ notes?: string | null;
48840
+ product_id?: string;
48841
+ purchase_price_cents?: number | null;
48842
+ supplier_article_number?: string | null;
48843
+ supplier_id?: string;
48844
+ updated_at?: string;
48845
+ };
48846
+ Relationships: [{
48847
+ foreignKeyName: "product_suppliers_product_id_fkey";
48848
+ columns: ["product_id"];
48849
+ isOneToOne: false;
48850
+ referencedRelation: "logistics_product_dimensions";
48851
+ referencedColumns: ["product_id"];
48852
+ }, {
48853
+ foreignKeyName: "product_suppliers_product_id_fkey";
48854
+ columns: ["product_id"];
48855
+ isOneToOne: false;
48856
+ referencedRelation: "products";
48857
+ referencedColumns: ["id"];
48858
+ }, {
48859
+ foreignKeyName: "product_suppliers_supplier_id_fkey";
48860
+ columns: ["supplier_id"];
48861
+ isOneToOne: false;
48862
+ referencedRelation: "suppliers";
48863
+ referencedColumns: ["id"];
48864
+ }];
48865
+ };
48440
48866
  product_tray_stickers: {
48441
48867
  Row: {
48442
48868
  bestand_url: string;
@@ -48941,9 +49367,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
48941
49367
  purchase_order_items: {
48942
49368
  Row: {
48943
49369
  article_number: string | null;
49370
+ cancelled_at: string | null;
48944
49371
  created_at: string;
48945
49372
  delivery_date: string | null;
48946
49373
  id: string;
49374
+ incoming_booked: number;
49375
+ line_status: string;
48947
49376
  name: string;
48948
49377
  note: string | null;
48949
49378
  pot_size: string | null;
@@ -48951,6 +49380,8 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
48951
49380
  product_type: string;
48952
49381
  purchase_order_id: string;
48953
49382
  quantity: number;
49383
+ received_at: string | null;
49384
+ received_booked: number;
48954
49385
  supplier_id: string | null;
48955
49386
  supplier_product_id: string | null;
48956
49387
  unit_price_cents: number;
@@ -48958,9 +49389,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
48958
49389
  };
48959
49390
  Insert: {
48960
49391
  article_number?: string | null;
49392
+ cancelled_at?: string | null;
48961
49393
  created_at?: string;
48962
49394
  delivery_date?: string | null;
48963
49395
  id?: string;
49396
+ incoming_booked?: number;
49397
+ line_status?: string;
48964
49398
  name?: string;
48965
49399
  note?: string | null;
48966
49400
  pot_size?: string | null;
@@ -48968,6 +49402,8 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
48968
49402
  product_type?: string;
48969
49403
  purchase_order_id: string;
48970
49404
  quantity?: number;
49405
+ received_at?: string | null;
49406
+ received_booked?: number;
48971
49407
  supplier_id?: string | null;
48972
49408
  supplier_product_id?: string | null;
48973
49409
  unit_price_cents?: number;
@@ -48975,9 +49411,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
48975
49411
  };
48976
49412
  Update: {
48977
49413
  article_number?: string | null;
49414
+ cancelled_at?: string | null;
48978
49415
  created_at?: string;
48979
49416
  delivery_date?: string | null;
48980
49417
  id?: string;
49418
+ incoming_booked?: number;
49419
+ line_status?: string;
48981
49420
  name?: string;
48982
49421
  note?: string | null;
48983
49422
  pot_size?: string | null;
@@ -48985,6 +49424,8 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
48985
49424
  product_type?: string;
48986
49425
  purchase_order_id?: string;
48987
49426
  quantity?: number;
49427
+ received_at?: string | null;
49428
+ received_booked?: number;
48988
49429
  supplier_id?: string | null;
48989
49430
  supplier_product_id?: string | null;
48990
49431
  unit_price_cents?: number;
@@ -49088,6 +49529,153 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
49088
49529
  referencedColumns: ["id"];
49089
49530
  }];
49090
49531
  };
49532
+ purchase_request_events: {
49533
+ Row: {
49534
+ created_at: string;
49535
+ details: import("../integrations/supabase/types").Json | null;
49536
+ event_type: string;
49537
+ id: string;
49538
+ request_id: string;
49539
+ };
49540
+ Insert: {
49541
+ created_at?: string;
49542
+ details?: import("../integrations/supabase/types").Json | null;
49543
+ event_type: string;
49544
+ id?: string;
49545
+ request_id: string;
49546
+ };
49547
+ Update: {
49548
+ created_at?: string;
49549
+ details?: import("../integrations/supabase/types").Json | null;
49550
+ event_type?: string;
49551
+ id?: string;
49552
+ request_id?: string;
49553
+ };
49554
+ Relationships: [{
49555
+ foreignKeyName: "purchase_request_events_request_id_fkey";
49556
+ columns: ["request_id"];
49557
+ isOneToOne: false;
49558
+ referencedRelation: "purchase_requests";
49559
+ referencedColumns: ["id"];
49560
+ }];
49561
+ };
49562
+ purchase_request_responses: {
49563
+ Row: {
49564
+ confirmed_date: string | null;
49565
+ confirmed_price_cents: number | null;
49566
+ confirmed_quantity: number;
49567
+ created_at: string;
49568
+ id: string;
49569
+ not_available: boolean;
49570
+ note: string | null;
49571
+ purchase_order_item_id: string;
49572
+ request_id: string;
49573
+ updated_at: string;
49574
+ };
49575
+ Insert: {
49576
+ confirmed_date?: string | null;
49577
+ confirmed_price_cents?: number | null;
49578
+ confirmed_quantity?: number;
49579
+ created_at?: string;
49580
+ id?: string;
49581
+ not_available?: boolean;
49582
+ note?: string | null;
49583
+ purchase_order_item_id: string;
49584
+ request_id: string;
49585
+ updated_at?: string;
49586
+ };
49587
+ Update: {
49588
+ confirmed_date?: string | null;
49589
+ confirmed_price_cents?: number | null;
49590
+ confirmed_quantity?: number;
49591
+ created_at?: string;
49592
+ id?: string;
49593
+ not_available?: boolean;
49594
+ note?: string | null;
49595
+ purchase_order_item_id?: string;
49596
+ request_id?: string;
49597
+ updated_at?: string;
49598
+ };
49599
+ Relationships: [{
49600
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
49601
+ columns: ["purchase_order_item_id"];
49602
+ isOneToOne: false;
49603
+ referencedRelation: "purchase_order_items";
49604
+ referencedColumns: ["id"];
49605
+ }, {
49606
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
49607
+ columns: ["request_id"];
49608
+ isOneToOne: false;
49609
+ referencedRelation: "purchase_requests";
49610
+ referencedColumns: ["id"];
49611
+ }];
49612
+ };
49613
+ purchase_requests: {
49614
+ Row: {
49615
+ created_at: string;
49616
+ expires_at: string;
49617
+ first_viewed_at: string | null;
49618
+ id: string;
49619
+ processed_at: string | null;
49620
+ purchase_order_id: string;
49621
+ responded_at: string | null;
49622
+ sent_at: string;
49623
+ status: string;
49624
+ supplier_id: string | null;
49625
+ supplier_name: string;
49626
+ supplier_note: string | null;
49627
+ to_address: string | null;
49628
+ token_hash: string;
49629
+ updated_at: string;
49630
+ };
49631
+ Insert: {
49632
+ created_at?: string;
49633
+ expires_at?: string;
49634
+ first_viewed_at?: string | null;
49635
+ id?: string;
49636
+ processed_at?: string | null;
49637
+ purchase_order_id: string;
49638
+ responded_at?: string | null;
49639
+ sent_at?: string;
49640
+ status?: string;
49641
+ supplier_id?: string | null;
49642
+ supplier_name?: string;
49643
+ supplier_note?: string | null;
49644
+ to_address?: string | null;
49645
+ token_hash: string;
49646
+ updated_at?: string;
49647
+ };
49648
+ Update: {
49649
+ created_at?: string;
49650
+ expires_at?: string;
49651
+ first_viewed_at?: string | null;
49652
+ id?: string;
49653
+ processed_at?: string | null;
49654
+ purchase_order_id?: string;
49655
+ responded_at?: string | null;
49656
+ sent_at?: string;
49657
+ status?: string;
49658
+ supplier_id?: string | null;
49659
+ supplier_name?: string;
49660
+ supplier_note?: string | null;
49661
+ to_address?: string | null;
49662
+ token_hash?: string;
49663
+ updated_at?: string;
49664
+ };
49665
+ Relationships: [{
49666
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
49667
+ columns: ["purchase_order_id"];
49668
+ isOneToOne: false;
49669
+ referencedRelation: "purchase_orders";
49670
+ referencedColumns: ["id"];
49671
+ }, {
49672
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
49673
+ columns: ["supplier_id"];
49674
+ isOneToOne: false;
49675
+ referencedRelation: "suppliers";
49676
+ referencedColumns: ["id"];
49677
+ }];
49678
+ };
49091
49679
  reception_notifications: {
49092
49680
  Row: {
49093
49681
  booking_id: string | null;
@@ -51251,6 +51839,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
51251
51839
  auto_invoice_enabled: boolean;
51252
51840
  auto_invoice_start_date: string | null;
51253
51841
  auto_invoice_trigger_statuses: string[];
51842
+ auto_send_mode: string | null;
51254
51843
  created_at: string;
51255
51844
  debtor_gl_account: string;
51256
51845
  default_article_code: string | null;
@@ -51279,6 +51868,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
51279
51868
  auto_invoice_enabled?: boolean;
51280
51869
  auto_invoice_start_date?: string | null;
51281
51870
  auto_invoice_trigger_statuses?: string[];
51871
+ auto_send_mode?: string | null;
51282
51872
  created_at?: string;
51283
51873
  debtor_gl_account?: string;
51284
51874
  default_article_code?: string | null;
@@ -51307,6 +51897,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
51307
51897
  auto_invoice_enabled?: boolean;
51308
51898
  auto_invoice_start_date?: string | null;
51309
51899
  auto_invoice_trigger_statuses?: string[];
51900
+ auto_send_mode?: string | null;
51310
51901
  created_at?: string;
51311
51902
  debtor_gl_account?: string;
51312
51903
  default_article_code?: string | null;
@@ -51750,16 +52341,19 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
51750
52341
  Row: {
51751
52342
  active_environment: string;
51752
52343
  id: number;
52344
+ public_base_url: string | null;
51753
52345
  updated_at: string;
51754
52346
  };
51755
52347
  Insert: {
51756
52348
  active_environment?: string;
51757
52349
  id?: number;
52350
+ public_base_url?: string | null;
51758
52351
  updated_at?: string;
51759
52352
  };
51760
52353
  Update: {
51761
52354
  active_environment?: string;
51762
52355
  id?: number;
52356
+ public_base_url?: string | null;
51763
52357
  updated_at?: string;
51764
52358
  };
51765
52359
  Relationships: [];
@@ -51990,11 +52584,15 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
51990
52584
  monteur_id: string;
51991
52585
  netto_verschil_minuten: number;
51992
52586
  normaal_uitbetaald_minuten: number;
52587
+ omgezet_vakantie_minuten: number;
52588
+ overdracht_vorige_minuten: number;
51993
52589
  overuren_minuten: number;
51994
52590
  plus_minuten: number;
52591
+ rest_overuren_minuten: number;
51995
52592
  status: string;
51996
52593
  totaal_uitbetaald_minuten: number;
51997
52594
  updated_at: string;
52595
+ vakantie_uren_bijgeschreven: number;
51998
52596
  };
51999
52597
  Insert: {
52000
52598
  afgesloten_at?: string | null;
@@ -52011,11 +52609,15 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
52011
52609
  monteur_id: string;
52012
52610
  netto_verschil_minuten?: number;
52013
52611
  normaal_uitbetaald_minuten?: number;
52612
+ omgezet_vakantie_minuten?: number;
52613
+ overdracht_vorige_minuten?: number;
52014
52614
  overuren_minuten?: number;
52015
52615
  plus_minuten?: number;
52616
+ rest_overuren_minuten?: number;
52016
52617
  status?: string;
52017
52618
  totaal_uitbetaald_minuten?: number;
52018
52619
  updated_at?: string;
52620
+ vakantie_uren_bijgeschreven?: number;
52019
52621
  };
52020
52622
  Update: {
52021
52623
  afgesloten_at?: string | null;
@@ -52032,11 +52634,15 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
52032
52634
  monteur_id?: string;
52033
52635
  netto_verschil_minuten?: number;
52034
52636
  normaal_uitbetaald_minuten?: number;
52637
+ omgezet_vakantie_minuten?: number;
52638
+ overdracht_vorige_minuten?: number;
52035
52639
  overuren_minuten?: number;
52036
52640
  plus_minuten?: number;
52641
+ rest_overuren_minuten?: number;
52037
52642
  status?: string;
52038
52643
  totaal_uitbetaald_minuten?: number;
52039
52644
  updated_at?: string;
52645
+ vakantie_uren_bijgeschreven?: number;
52040
52646
  };
52041
52647
  Relationships: [];
52042
52648
  };
@@ -56525,12 +57131,57 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
56525
57131
  };
56526
57132
  Returns: import("../integrations/supabase/types").Json;
56527
57133
  };
57134
+ inkoop_get_supplier_request: {
57135
+ Args: {
57136
+ _token: string;
57137
+ };
57138
+ Returns: import("../integrations/supabase/types").Json;
57139
+ };
57140
+ inkoop_hash_token: {
57141
+ Args: {
57142
+ _token: string;
57143
+ };
57144
+ Returns: string;
57145
+ };
57146
+ inkoop_html_escape: {
57147
+ Args: {
57148
+ _t: string;
57149
+ };
57150
+ Returns: string;
57151
+ };
57152
+ inkoop_list_artikelen: {
57153
+ Args: never;
57154
+ Returns: {
57155
+ article_number: string;
57156
+ barcode: string;
57157
+ id: string;
57158
+ incoming_quantity: number;
57159
+ is_layer: boolean;
57160
+ location: string;
57161
+ min_quantity: number;
57162
+ preferred_supplier_name: string;
57163
+ product: string;
57164
+ product_type: string;
57165
+ purchase_price: number;
57166
+ quantity: number;
57167
+ sale_price: number;
57168
+ supplier_count: number;
57169
+ unit: string;
57170
+ }[];
57171
+ };
56528
57172
  inkoop_next_order_number: {
56529
57173
  Args: never;
56530
57174
  Returns: string;
56531
57175
  };
57176
+ inkoop_process_request: {
57177
+ Args: {
57178
+ _request_id: string;
57179
+ };
57180
+ Returns: undefined;
57181
+ };
56532
57182
  inkoop_send_order: {
56533
57183
  Args: {
57184
+ _base_url?: string;
56534
57185
  _order_id: string;
56535
57186
  };
56536
57187
  Returns: {
@@ -56538,6 +57189,44 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
56538
57189
  supplier_name: string;
56539
57190
  to_address: string;
56540
57191
  }[];
57192
+ } | {
57193
+ Args: {
57194
+ _base_url?: string;
57195
+ _order_id: string;
57196
+ _resend?: boolean;
57197
+ };
57198
+ Returns: {
57199
+ outbox_id: string;
57200
+ supplier_name: string;
57201
+ to_address: string;
57202
+ }[];
57203
+ };
57204
+ inkoop_set_preferred_supplier: {
57205
+ Args: {
57206
+ _product_id: string;
57207
+ _supplier_id: string;
57208
+ };
57209
+ Returns: undefined;
57210
+ };
57211
+ inkoop_stock_key: {
57212
+ Args: {
57213
+ p_product_id: string;
57214
+ };
57215
+ Returns: string;
57216
+ };
57217
+ inkoop_submit_supplier_response: {
57218
+ Args: {
57219
+ _lines: import("../integrations/supabase/types").Json;
57220
+ _note?: string;
57221
+ _token: string;
57222
+ };
57223
+ Returns: import("../integrations/supabase/types").Json;
57224
+ };
57225
+ inkoop_sync_item_stock: {
57226
+ Args: {
57227
+ p_item_id: string;
57228
+ };
57229
+ Returns: undefined;
56541
57230
  };
56542
57231
  instructie_get: {
56543
57232
  Args: {
@@ -57810,6 +58499,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
57810
58499
  Args: never;
57811
58500
  Returns: string;
57812
58501
  };
58502
+ logistics_order_backlog_info: {
58503
+ Args: {
58504
+ p_order_id: string;
58505
+ };
58506
+ Returns: import("../integrations/supabase/types").Json;
58507
+ };
57813
58508
  logistics_order_cart_approval: {
57814
58509
  Args: {
57815
58510
  _order_ref: string;
@@ -57900,6 +58595,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
57900
58595
  };
57901
58596
  Returns: boolean;
57902
58597
  };
58598
+ logistics_order_is_backlog: {
58599
+ Args: {
58600
+ p_order_id: string;
58601
+ };
58602
+ Returns: boolean;
58603
+ };
57903
58604
  logistics_order_is_topick: {
57904
58605
  Args: {
57905
58606
  p_order_id: string;
@@ -58041,6 +58742,10 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
58041
58742
  shifted_count: number;
58042
58743
  }[];
58043
58744
  };
58745
+ logistics_pick_backlog_max_days: {
58746
+ Args: never;
58747
+ Returns: number;
58748
+ };
58044
58749
  logistics_pick_barcode_enabled: {
58045
58750
  Args: never;
58046
58751
  Returns: boolean;
@@ -58656,12 +59361,27 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
58656
59361
  Args: never;
58657
59362
  Returns: import("../integrations/supabase/types").Json;
58658
59363
  };
59364
+ logistics_sync_pick_queue_backlog: {
59365
+ Args: never;
59366
+ Returns: import("../integrations/supabase/types").Json;
59367
+ };
59368
+ logistics_sync_pick_queue_core: {
59369
+ Args: never;
59370
+ Returns: import("../integrations/supabase/types").Json;
59371
+ };
58659
59372
  logistics_sync_task_carriers: {
58660
59373
  Args: {
58661
59374
  p_order_ref?: string;
58662
59375
  };
58663
59376
  Returns: number;
58664
59377
  };
59378
+ logistics_task_open_counts: {
59379
+ Args: never;
59380
+ Returns: {
59381
+ open_count: number;
59382
+ owner_module: string;
59383
+ }[];
59384
+ };
58665
59385
  logistics_task_owner: {
58666
59386
  Args: {
58667
59387
  p_task_type: string;