@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
@@ -8290,6 +8290,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
8290
8290
  postal_code: string;
8291
8291
  primary_color: string;
8292
8292
  secondary_color: string;
8293
+ show_company_name: boolean;
8293
8294
  singleton_key: boolean;
8294
8295
  updated_at: string;
8295
8296
  vat_identification_number: string;
@@ -8310,6 +8311,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
8310
8311
  postal_code?: string;
8311
8312
  primary_color?: string;
8312
8313
  secondary_color?: string;
8314
+ show_company_name?: boolean;
8313
8315
  singleton_key?: boolean;
8314
8316
  updated_at?: string;
8315
8317
  vat_identification_number?: string;
@@ -8330,6 +8332,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
8330
8332
  postal_code?: string;
8331
8333
  primary_color?: string;
8332
8334
  secondary_color?: string;
8335
+ show_company_name?: boolean;
8333
8336
  singleton_key?: boolean;
8334
8337
  updated_at?: string;
8335
8338
  vat_identification_number?: string;
@@ -14702,6 +14705,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
14702
14705
  next_attempt_at: string;
14703
14706
  order_id: string;
14704
14707
  processed_at: string | null;
14708
+ send_error: string | null;
14705
14709
  status: string;
14706
14710
  updated_at: string;
14707
14711
  };
@@ -14715,6 +14719,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
14715
14719
  next_attempt_at?: string;
14716
14720
  order_id: string;
14717
14721
  processed_at?: string | null;
14722
+ send_error?: string | null;
14718
14723
  status?: string;
14719
14724
  updated_at?: string;
14720
14725
  };
@@ -14728,6 +14733,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
14728
14733
  next_attempt_at?: string;
14729
14734
  order_id?: string;
14730
14735
  processed_at?: string | null;
14736
+ send_error?: string | null;
14731
14737
  status?: string;
14732
14738
  updated_at?: string;
14733
14739
  };
@@ -17757,6 +17763,66 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
17757
17763
  };
17758
17764
  Relationships: [];
17759
17765
  };
17766
+ product_suppliers: {
17767
+ Row: {
17768
+ created_at: string;
17769
+ id: string;
17770
+ is_preferred: boolean;
17771
+ lead_time_days: number | null;
17772
+ min_order_quantity: number | null;
17773
+ notes: string | null;
17774
+ product_id: string;
17775
+ purchase_price_cents: number | null;
17776
+ supplier_article_number: string | null;
17777
+ supplier_id: string;
17778
+ updated_at: string;
17779
+ };
17780
+ Insert: {
17781
+ created_at?: string;
17782
+ id?: string;
17783
+ is_preferred?: boolean;
17784
+ lead_time_days?: number | null;
17785
+ min_order_quantity?: number | null;
17786
+ notes?: string | null;
17787
+ product_id: string;
17788
+ purchase_price_cents?: number | null;
17789
+ supplier_article_number?: string | null;
17790
+ supplier_id: string;
17791
+ updated_at?: string;
17792
+ };
17793
+ Update: {
17794
+ created_at?: string;
17795
+ id?: string;
17796
+ is_preferred?: boolean;
17797
+ lead_time_days?: number | null;
17798
+ min_order_quantity?: number | null;
17799
+ notes?: string | null;
17800
+ product_id?: string;
17801
+ purchase_price_cents?: number | null;
17802
+ supplier_article_number?: string | null;
17803
+ supplier_id?: string;
17804
+ updated_at?: string;
17805
+ };
17806
+ Relationships: [{
17807
+ foreignKeyName: "product_suppliers_product_id_fkey";
17808
+ columns: ["product_id"];
17809
+ isOneToOne: false;
17810
+ referencedRelation: "logistics_product_dimensions";
17811
+ referencedColumns: ["product_id"];
17812
+ }, {
17813
+ foreignKeyName: "product_suppliers_product_id_fkey";
17814
+ columns: ["product_id"];
17815
+ isOneToOne: false;
17816
+ referencedRelation: "products";
17817
+ referencedColumns: ["id"];
17818
+ }, {
17819
+ foreignKeyName: "product_suppliers_supplier_id_fkey";
17820
+ columns: ["supplier_id"];
17821
+ isOneToOne: false;
17822
+ referencedRelation: "suppliers";
17823
+ referencedColumns: ["id"];
17824
+ }];
17825
+ };
17760
17826
  product_tray_stickers: {
17761
17827
  Row: {
17762
17828
  bestand_url: string;
@@ -18261,9 +18327,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
18261
18327
  purchase_order_items: {
18262
18328
  Row: {
18263
18329
  article_number: string | null;
18330
+ cancelled_at: string | null;
18264
18331
  created_at: string;
18265
18332
  delivery_date: string | null;
18266
18333
  id: string;
18334
+ incoming_booked: number;
18335
+ line_status: string;
18267
18336
  name: string;
18268
18337
  note: string | null;
18269
18338
  pot_size: string | null;
@@ -18271,6 +18340,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
18271
18340
  product_type: string;
18272
18341
  purchase_order_id: string;
18273
18342
  quantity: number;
18343
+ received_at: string | null;
18344
+ received_booked: number;
18274
18345
  supplier_id: string | null;
18275
18346
  supplier_product_id: string | null;
18276
18347
  unit_price_cents: number;
@@ -18278,9 +18349,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
18278
18349
  };
18279
18350
  Insert: {
18280
18351
  article_number?: string | null;
18352
+ cancelled_at?: string | null;
18281
18353
  created_at?: string;
18282
18354
  delivery_date?: string | null;
18283
18355
  id?: string;
18356
+ incoming_booked?: number;
18357
+ line_status?: string;
18284
18358
  name?: string;
18285
18359
  note?: string | null;
18286
18360
  pot_size?: string | null;
@@ -18288,6 +18362,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
18288
18362
  product_type?: string;
18289
18363
  purchase_order_id: string;
18290
18364
  quantity?: number;
18365
+ received_at?: string | null;
18366
+ received_booked?: number;
18291
18367
  supplier_id?: string | null;
18292
18368
  supplier_product_id?: string | null;
18293
18369
  unit_price_cents?: number;
@@ -18295,9 +18371,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
18295
18371
  };
18296
18372
  Update: {
18297
18373
  article_number?: string | null;
18374
+ cancelled_at?: string | null;
18298
18375
  created_at?: string;
18299
18376
  delivery_date?: string | null;
18300
18377
  id?: string;
18378
+ incoming_booked?: number;
18379
+ line_status?: string;
18301
18380
  name?: string;
18302
18381
  note?: string | null;
18303
18382
  pot_size?: string | null;
@@ -18305,6 +18384,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
18305
18384
  product_type?: string;
18306
18385
  purchase_order_id?: string;
18307
18386
  quantity?: number;
18387
+ received_at?: string | null;
18388
+ received_booked?: number;
18308
18389
  supplier_id?: string | null;
18309
18390
  supplier_product_id?: string | null;
18310
18391
  unit_price_cents?: number;
@@ -18408,6 +18489,153 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
18408
18489
  referencedColumns: ["id"];
18409
18490
  }];
18410
18491
  };
18492
+ purchase_request_events: {
18493
+ Row: {
18494
+ created_at: string;
18495
+ details: import("../integrations/supabase/types").Json | null;
18496
+ event_type: string;
18497
+ id: string;
18498
+ request_id: string;
18499
+ };
18500
+ Insert: {
18501
+ created_at?: string;
18502
+ details?: import("../integrations/supabase/types").Json | null;
18503
+ event_type: string;
18504
+ id?: string;
18505
+ request_id: string;
18506
+ };
18507
+ Update: {
18508
+ created_at?: string;
18509
+ details?: import("../integrations/supabase/types").Json | null;
18510
+ event_type?: string;
18511
+ id?: string;
18512
+ request_id?: string;
18513
+ };
18514
+ Relationships: [{
18515
+ foreignKeyName: "purchase_request_events_request_id_fkey";
18516
+ columns: ["request_id"];
18517
+ isOneToOne: false;
18518
+ referencedRelation: "purchase_requests";
18519
+ referencedColumns: ["id"];
18520
+ }];
18521
+ };
18522
+ purchase_request_responses: {
18523
+ Row: {
18524
+ confirmed_date: string | null;
18525
+ confirmed_price_cents: number | null;
18526
+ confirmed_quantity: number;
18527
+ created_at: string;
18528
+ id: string;
18529
+ not_available: boolean;
18530
+ note: string | null;
18531
+ purchase_order_item_id: string;
18532
+ request_id: string;
18533
+ updated_at: string;
18534
+ };
18535
+ Insert: {
18536
+ confirmed_date?: string | null;
18537
+ confirmed_price_cents?: number | null;
18538
+ confirmed_quantity?: number;
18539
+ created_at?: string;
18540
+ id?: string;
18541
+ not_available?: boolean;
18542
+ note?: string | null;
18543
+ purchase_order_item_id: string;
18544
+ request_id: string;
18545
+ updated_at?: string;
18546
+ };
18547
+ Update: {
18548
+ confirmed_date?: string | null;
18549
+ confirmed_price_cents?: number | null;
18550
+ confirmed_quantity?: number;
18551
+ created_at?: string;
18552
+ id?: string;
18553
+ not_available?: boolean;
18554
+ note?: string | null;
18555
+ purchase_order_item_id?: string;
18556
+ request_id?: string;
18557
+ updated_at?: string;
18558
+ };
18559
+ Relationships: [{
18560
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
18561
+ columns: ["purchase_order_item_id"];
18562
+ isOneToOne: false;
18563
+ referencedRelation: "purchase_order_items";
18564
+ referencedColumns: ["id"];
18565
+ }, {
18566
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
18567
+ columns: ["request_id"];
18568
+ isOneToOne: false;
18569
+ referencedRelation: "purchase_requests";
18570
+ referencedColumns: ["id"];
18571
+ }];
18572
+ };
18573
+ purchase_requests: {
18574
+ Row: {
18575
+ created_at: string;
18576
+ expires_at: string;
18577
+ first_viewed_at: string | null;
18578
+ id: string;
18579
+ processed_at: string | null;
18580
+ purchase_order_id: string;
18581
+ responded_at: string | null;
18582
+ sent_at: string;
18583
+ status: string;
18584
+ supplier_id: string | null;
18585
+ supplier_name: string;
18586
+ supplier_note: string | null;
18587
+ to_address: string | null;
18588
+ token_hash: string;
18589
+ updated_at: string;
18590
+ };
18591
+ Insert: {
18592
+ created_at?: string;
18593
+ expires_at?: string;
18594
+ first_viewed_at?: string | null;
18595
+ id?: string;
18596
+ processed_at?: string | null;
18597
+ purchase_order_id: string;
18598
+ responded_at?: string | null;
18599
+ sent_at?: string;
18600
+ status?: string;
18601
+ supplier_id?: string | null;
18602
+ supplier_name?: string;
18603
+ supplier_note?: string | null;
18604
+ to_address?: string | null;
18605
+ token_hash: string;
18606
+ updated_at?: string;
18607
+ };
18608
+ Update: {
18609
+ created_at?: string;
18610
+ expires_at?: string;
18611
+ first_viewed_at?: string | null;
18612
+ id?: string;
18613
+ processed_at?: string | null;
18614
+ purchase_order_id?: string;
18615
+ responded_at?: string | null;
18616
+ sent_at?: string;
18617
+ status?: string;
18618
+ supplier_id?: string | null;
18619
+ supplier_name?: string;
18620
+ supplier_note?: string | null;
18621
+ to_address?: string | null;
18622
+ token_hash?: string;
18623
+ updated_at?: string;
18624
+ };
18625
+ Relationships: [{
18626
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
18627
+ columns: ["purchase_order_id"];
18628
+ isOneToOne: false;
18629
+ referencedRelation: "purchase_orders";
18630
+ referencedColumns: ["id"];
18631
+ }, {
18632
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
18633
+ columns: ["supplier_id"];
18634
+ isOneToOne: false;
18635
+ referencedRelation: "suppliers";
18636
+ referencedColumns: ["id"];
18637
+ }];
18638
+ };
18411
18639
  reception_notifications: {
18412
18640
  Row: {
18413
18641
  booking_id: string | null;
@@ -20571,6 +20799,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
20571
20799
  auto_invoice_enabled: boolean;
20572
20800
  auto_invoice_start_date: string | null;
20573
20801
  auto_invoice_trigger_statuses: string[];
20802
+ auto_send_mode: string | null;
20574
20803
  created_at: string;
20575
20804
  debtor_gl_account: string;
20576
20805
  default_article_code: string | null;
@@ -20599,6 +20828,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
20599
20828
  auto_invoice_enabled?: boolean;
20600
20829
  auto_invoice_start_date?: string | null;
20601
20830
  auto_invoice_trigger_statuses?: string[];
20831
+ auto_send_mode?: string | null;
20602
20832
  created_at?: string;
20603
20833
  debtor_gl_account?: string;
20604
20834
  default_article_code?: string | null;
@@ -20627,6 +20857,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
20627
20857
  auto_invoice_enabled?: boolean;
20628
20858
  auto_invoice_start_date?: string | null;
20629
20859
  auto_invoice_trigger_statuses?: string[];
20860
+ auto_send_mode?: string | null;
20630
20861
  created_at?: string;
20631
20862
  debtor_gl_account?: string;
20632
20863
  default_article_code?: string | null;
@@ -21070,16 +21301,19 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
21070
21301
  Row: {
21071
21302
  active_environment: string;
21072
21303
  id: number;
21304
+ public_base_url: string | null;
21073
21305
  updated_at: string;
21074
21306
  };
21075
21307
  Insert: {
21076
21308
  active_environment?: string;
21077
21309
  id?: number;
21310
+ public_base_url?: string | null;
21078
21311
  updated_at?: string;
21079
21312
  };
21080
21313
  Update: {
21081
21314
  active_environment?: string;
21082
21315
  id?: number;
21316
+ public_base_url?: string | null;
21083
21317
  updated_at?: string;
21084
21318
  };
21085
21319
  Relationships: [];
@@ -21310,11 +21544,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
21310
21544
  monteur_id: string;
21311
21545
  netto_verschil_minuten: number;
21312
21546
  normaal_uitbetaald_minuten: number;
21547
+ omgezet_vakantie_minuten: number;
21548
+ overdracht_vorige_minuten: number;
21313
21549
  overuren_minuten: number;
21314
21550
  plus_minuten: number;
21551
+ rest_overuren_minuten: number;
21315
21552
  status: string;
21316
21553
  totaal_uitbetaald_minuten: number;
21317
21554
  updated_at: string;
21555
+ vakantie_uren_bijgeschreven: number;
21318
21556
  };
21319
21557
  Insert: {
21320
21558
  afgesloten_at?: string | null;
@@ -21331,11 +21569,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
21331
21569
  monteur_id: string;
21332
21570
  netto_verschil_minuten?: number;
21333
21571
  normaal_uitbetaald_minuten?: number;
21572
+ omgezet_vakantie_minuten?: number;
21573
+ overdracht_vorige_minuten?: number;
21334
21574
  overuren_minuten?: number;
21335
21575
  plus_minuten?: number;
21576
+ rest_overuren_minuten?: number;
21336
21577
  status?: string;
21337
21578
  totaal_uitbetaald_minuten?: number;
21338
21579
  updated_at?: string;
21580
+ vakantie_uren_bijgeschreven?: number;
21339
21581
  };
21340
21582
  Update: {
21341
21583
  afgesloten_at?: string | null;
@@ -21352,11 +21594,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
21352
21594
  monteur_id?: string;
21353
21595
  netto_verschil_minuten?: number;
21354
21596
  normaal_uitbetaald_minuten?: number;
21597
+ omgezet_vakantie_minuten?: number;
21598
+ overdracht_vorige_minuten?: number;
21355
21599
  overuren_minuten?: number;
21356
21600
  plus_minuten?: number;
21601
+ rest_overuren_minuten?: number;
21357
21602
  status?: string;
21358
21603
  totaal_uitbetaald_minuten?: number;
21359
21604
  updated_at?: string;
21605
+ vakantie_uren_bijgeschreven?: number;
21360
21606
  };
21361
21607
  Relationships: [];
21362
21608
  };
@@ -25845,12 +26091,57 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
25845
26091
  };
25846
26092
  Returns: import("../integrations/supabase/types").Json;
25847
26093
  };
26094
+ inkoop_get_supplier_request: {
26095
+ Args: {
26096
+ _token: string;
26097
+ };
26098
+ Returns: import("../integrations/supabase/types").Json;
26099
+ };
26100
+ inkoop_hash_token: {
26101
+ Args: {
26102
+ _token: string;
26103
+ };
26104
+ Returns: string;
26105
+ };
26106
+ inkoop_html_escape: {
26107
+ Args: {
26108
+ _t: string;
26109
+ };
26110
+ Returns: string;
26111
+ };
26112
+ inkoop_list_artikelen: {
26113
+ Args: never;
26114
+ Returns: {
26115
+ article_number: string;
26116
+ barcode: string;
26117
+ id: string;
26118
+ incoming_quantity: number;
26119
+ is_layer: boolean;
26120
+ location: string;
26121
+ min_quantity: number;
26122
+ preferred_supplier_name: string;
26123
+ product: string;
26124
+ product_type: string;
26125
+ purchase_price: number;
26126
+ quantity: number;
26127
+ sale_price: number;
26128
+ supplier_count: number;
26129
+ unit: string;
26130
+ }[];
26131
+ };
25848
26132
  inkoop_next_order_number: {
25849
26133
  Args: never;
25850
26134
  Returns: string;
25851
26135
  };
26136
+ inkoop_process_request: {
26137
+ Args: {
26138
+ _request_id: string;
26139
+ };
26140
+ Returns: undefined;
26141
+ };
25852
26142
  inkoop_send_order: {
25853
26143
  Args: {
26144
+ _base_url?: string;
25854
26145
  _order_id: string;
25855
26146
  };
25856
26147
  Returns: {
@@ -25858,6 +26149,44 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
25858
26149
  supplier_name: string;
25859
26150
  to_address: string;
25860
26151
  }[];
26152
+ } | {
26153
+ Args: {
26154
+ _base_url?: string;
26155
+ _order_id: string;
26156
+ _resend?: boolean;
26157
+ };
26158
+ Returns: {
26159
+ outbox_id: string;
26160
+ supplier_name: string;
26161
+ to_address: string;
26162
+ }[];
26163
+ };
26164
+ inkoop_set_preferred_supplier: {
26165
+ Args: {
26166
+ _product_id: string;
26167
+ _supplier_id: string;
26168
+ };
26169
+ Returns: undefined;
26170
+ };
26171
+ inkoop_stock_key: {
26172
+ Args: {
26173
+ p_product_id: string;
26174
+ };
26175
+ Returns: string;
26176
+ };
26177
+ inkoop_submit_supplier_response: {
26178
+ Args: {
26179
+ _lines: import("../integrations/supabase/types").Json;
26180
+ _note?: string;
26181
+ _token: string;
26182
+ };
26183
+ Returns: import("../integrations/supabase/types").Json;
26184
+ };
26185
+ inkoop_sync_item_stock: {
26186
+ Args: {
26187
+ p_item_id: string;
26188
+ };
26189
+ Returns: undefined;
25861
26190
  };
25862
26191
  instructie_get: {
25863
26192
  Args: {
@@ -27130,6 +27459,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
27130
27459
  Args: never;
27131
27460
  Returns: string;
27132
27461
  };
27462
+ logistics_order_backlog_info: {
27463
+ Args: {
27464
+ p_order_id: string;
27465
+ };
27466
+ Returns: import("../integrations/supabase/types").Json;
27467
+ };
27133
27468
  logistics_order_cart_approval: {
27134
27469
  Args: {
27135
27470
  _order_ref: string;
@@ -27220,6 +27555,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
27220
27555
  };
27221
27556
  Returns: boolean;
27222
27557
  };
27558
+ logistics_order_is_backlog: {
27559
+ Args: {
27560
+ p_order_id: string;
27561
+ };
27562
+ Returns: boolean;
27563
+ };
27223
27564
  logistics_order_is_topick: {
27224
27565
  Args: {
27225
27566
  p_order_id: string;
@@ -27361,6 +27702,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
27361
27702
  shifted_count: number;
27362
27703
  }[];
27363
27704
  };
27705
+ logistics_pick_backlog_max_days: {
27706
+ Args: never;
27707
+ Returns: number;
27708
+ };
27364
27709
  logistics_pick_barcode_enabled: {
27365
27710
  Args: never;
27366
27711
  Returns: boolean;
@@ -27976,12 +28321,27 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
27976
28321
  Args: never;
27977
28322
  Returns: import("../integrations/supabase/types").Json;
27978
28323
  };
28324
+ logistics_sync_pick_queue_backlog: {
28325
+ Args: never;
28326
+ Returns: import("../integrations/supabase/types").Json;
28327
+ };
28328
+ logistics_sync_pick_queue_core: {
28329
+ Args: never;
28330
+ Returns: import("../integrations/supabase/types").Json;
28331
+ };
27979
28332
  logistics_sync_task_carriers: {
27980
28333
  Args: {
27981
28334
  p_order_ref?: string;
27982
28335
  };
27983
28336
  Returns: number;
27984
28337
  };
28338
+ logistics_task_open_counts: {
28339
+ Args: never;
28340
+ Returns: {
28341
+ open_count: number;
28342
+ owner_module: string;
28343
+ }[];
28344
+ };
27985
28345
  logistics_task_owner: {
27986
28346
  Args: {
27987
28347
  p_task_type: string;
@@ -38974,6 +39334,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
38974
39334
  postal_code: string;
38975
39335
  primary_color: string;
38976
39336
  secondary_color: string;
39337
+ show_company_name: boolean;
38977
39338
  singleton_key: boolean;
38978
39339
  updated_at: string;
38979
39340
  vat_identification_number: string;
@@ -38994,6 +39355,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
38994
39355
  postal_code?: string;
38995
39356
  primary_color?: string;
38996
39357
  secondary_color?: string;
39358
+ show_company_name?: boolean;
38997
39359
  singleton_key?: boolean;
38998
39360
  updated_at?: string;
38999
39361
  vat_identification_number?: string;
@@ -39014,6 +39376,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
39014
39376
  postal_code?: string;
39015
39377
  primary_color?: string;
39016
39378
  secondary_color?: string;
39379
+ show_company_name?: boolean;
39017
39380
  singleton_key?: boolean;
39018
39381
  updated_at?: string;
39019
39382
  vat_identification_number?: string;
@@ -45386,6 +45749,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
45386
45749
  next_attempt_at: string;
45387
45750
  order_id: string;
45388
45751
  processed_at: string | null;
45752
+ send_error: string | null;
45389
45753
  status: string;
45390
45754
  updated_at: string;
45391
45755
  };
@@ -45399,6 +45763,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
45399
45763
  next_attempt_at?: string;
45400
45764
  order_id: string;
45401
45765
  processed_at?: string | null;
45766
+ send_error?: string | null;
45402
45767
  status?: string;
45403
45768
  updated_at?: string;
45404
45769
  };
@@ -45412,6 +45777,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
45412
45777
  next_attempt_at?: string;
45413
45778
  order_id?: string;
45414
45779
  processed_at?: string | null;
45780
+ send_error?: string | null;
45415
45781
  status?: string;
45416
45782
  updated_at?: string;
45417
45783
  };
@@ -48441,6 +48807,66 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
48441
48807
  };
48442
48808
  Relationships: [];
48443
48809
  };
48810
+ product_suppliers: {
48811
+ Row: {
48812
+ created_at: string;
48813
+ id: string;
48814
+ is_preferred: boolean;
48815
+ lead_time_days: number | null;
48816
+ min_order_quantity: number | null;
48817
+ notes: string | null;
48818
+ product_id: string;
48819
+ purchase_price_cents: number | null;
48820
+ supplier_article_number: string | null;
48821
+ supplier_id: string;
48822
+ updated_at: string;
48823
+ };
48824
+ Insert: {
48825
+ created_at?: string;
48826
+ id?: string;
48827
+ is_preferred?: boolean;
48828
+ lead_time_days?: number | null;
48829
+ min_order_quantity?: number | null;
48830
+ notes?: string | null;
48831
+ product_id: string;
48832
+ purchase_price_cents?: number | null;
48833
+ supplier_article_number?: string | null;
48834
+ supplier_id: string;
48835
+ updated_at?: string;
48836
+ };
48837
+ Update: {
48838
+ created_at?: string;
48839
+ id?: string;
48840
+ is_preferred?: boolean;
48841
+ lead_time_days?: number | null;
48842
+ min_order_quantity?: number | null;
48843
+ notes?: string | null;
48844
+ product_id?: string;
48845
+ purchase_price_cents?: number | null;
48846
+ supplier_article_number?: string | null;
48847
+ supplier_id?: string;
48848
+ updated_at?: string;
48849
+ };
48850
+ Relationships: [{
48851
+ foreignKeyName: "product_suppliers_product_id_fkey";
48852
+ columns: ["product_id"];
48853
+ isOneToOne: false;
48854
+ referencedRelation: "logistics_product_dimensions";
48855
+ referencedColumns: ["product_id"];
48856
+ }, {
48857
+ foreignKeyName: "product_suppliers_product_id_fkey";
48858
+ columns: ["product_id"];
48859
+ isOneToOne: false;
48860
+ referencedRelation: "products";
48861
+ referencedColumns: ["id"];
48862
+ }, {
48863
+ foreignKeyName: "product_suppliers_supplier_id_fkey";
48864
+ columns: ["supplier_id"];
48865
+ isOneToOne: false;
48866
+ referencedRelation: "suppliers";
48867
+ referencedColumns: ["id"];
48868
+ }];
48869
+ };
48444
48870
  product_tray_stickers: {
48445
48871
  Row: {
48446
48872
  bestand_url: string;
@@ -48945,9 +49371,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
48945
49371
  purchase_order_items: {
48946
49372
  Row: {
48947
49373
  article_number: string | null;
49374
+ cancelled_at: string | null;
48948
49375
  created_at: string;
48949
49376
  delivery_date: string | null;
48950
49377
  id: string;
49378
+ incoming_booked: number;
49379
+ line_status: string;
48951
49380
  name: string;
48952
49381
  note: string | null;
48953
49382
  pot_size: string | null;
@@ -48955,6 +49384,8 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
48955
49384
  product_type: string;
48956
49385
  purchase_order_id: string;
48957
49386
  quantity: number;
49387
+ received_at: string | null;
49388
+ received_booked: number;
48958
49389
  supplier_id: string | null;
48959
49390
  supplier_product_id: string | null;
48960
49391
  unit_price_cents: number;
@@ -48962,9 +49393,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
48962
49393
  };
48963
49394
  Insert: {
48964
49395
  article_number?: string | null;
49396
+ cancelled_at?: string | null;
48965
49397
  created_at?: string;
48966
49398
  delivery_date?: string | null;
48967
49399
  id?: string;
49400
+ incoming_booked?: number;
49401
+ line_status?: string;
48968
49402
  name?: string;
48969
49403
  note?: string | null;
48970
49404
  pot_size?: string | null;
@@ -48972,6 +49406,8 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
48972
49406
  product_type?: string;
48973
49407
  purchase_order_id: string;
48974
49408
  quantity?: number;
49409
+ received_at?: string | null;
49410
+ received_booked?: number;
48975
49411
  supplier_id?: string | null;
48976
49412
  supplier_product_id?: string | null;
48977
49413
  unit_price_cents?: number;
@@ -48979,9 +49415,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
48979
49415
  };
48980
49416
  Update: {
48981
49417
  article_number?: string | null;
49418
+ cancelled_at?: string | null;
48982
49419
  created_at?: string;
48983
49420
  delivery_date?: string | null;
48984
49421
  id?: string;
49422
+ incoming_booked?: number;
49423
+ line_status?: string;
48985
49424
  name?: string;
48986
49425
  note?: string | null;
48987
49426
  pot_size?: string | null;
@@ -48989,6 +49428,8 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
48989
49428
  product_type?: string;
48990
49429
  purchase_order_id?: string;
48991
49430
  quantity?: number;
49431
+ received_at?: string | null;
49432
+ received_booked?: number;
48992
49433
  supplier_id?: string | null;
48993
49434
  supplier_product_id?: string | null;
48994
49435
  unit_price_cents?: number;
@@ -49092,6 +49533,153 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
49092
49533
  referencedColumns: ["id"];
49093
49534
  }];
49094
49535
  };
49536
+ purchase_request_events: {
49537
+ Row: {
49538
+ created_at: string;
49539
+ details: import("../integrations/supabase/types").Json | null;
49540
+ event_type: string;
49541
+ id: string;
49542
+ request_id: string;
49543
+ };
49544
+ Insert: {
49545
+ created_at?: string;
49546
+ details?: import("../integrations/supabase/types").Json | null;
49547
+ event_type: string;
49548
+ id?: string;
49549
+ request_id: string;
49550
+ };
49551
+ Update: {
49552
+ created_at?: string;
49553
+ details?: import("../integrations/supabase/types").Json | null;
49554
+ event_type?: string;
49555
+ id?: string;
49556
+ request_id?: string;
49557
+ };
49558
+ Relationships: [{
49559
+ foreignKeyName: "purchase_request_events_request_id_fkey";
49560
+ columns: ["request_id"];
49561
+ isOneToOne: false;
49562
+ referencedRelation: "purchase_requests";
49563
+ referencedColumns: ["id"];
49564
+ }];
49565
+ };
49566
+ purchase_request_responses: {
49567
+ Row: {
49568
+ confirmed_date: string | null;
49569
+ confirmed_price_cents: number | null;
49570
+ confirmed_quantity: number;
49571
+ created_at: string;
49572
+ id: string;
49573
+ not_available: boolean;
49574
+ note: string | null;
49575
+ purchase_order_item_id: string;
49576
+ request_id: string;
49577
+ updated_at: string;
49578
+ };
49579
+ Insert: {
49580
+ confirmed_date?: string | null;
49581
+ confirmed_price_cents?: number | null;
49582
+ confirmed_quantity?: number;
49583
+ created_at?: string;
49584
+ id?: string;
49585
+ not_available?: boolean;
49586
+ note?: string | null;
49587
+ purchase_order_item_id: string;
49588
+ request_id: string;
49589
+ updated_at?: string;
49590
+ };
49591
+ Update: {
49592
+ confirmed_date?: string | null;
49593
+ confirmed_price_cents?: number | null;
49594
+ confirmed_quantity?: number;
49595
+ created_at?: string;
49596
+ id?: string;
49597
+ not_available?: boolean;
49598
+ note?: string | null;
49599
+ purchase_order_item_id?: string;
49600
+ request_id?: string;
49601
+ updated_at?: string;
49602
+ };
49603
+ Relationships: [{
49604
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
49605
+ columns: ["purchase_order_item_id"];
49606
+ isOneToOne: false;
49607
+ referencedRelation: "purchase_order_items";
49608
+ referencedColumns: ["id"];
49609
+ }, {
49610
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
49611
+ columns: ["request_id"];
49612
+ isOneToOne: false;
49613
+ referencedRelation: "purchase_requests";
49614
+ referencedColumns: ["id"];
49615
+ }];
49616
+ };
49617
+ purchase_requests: {
49618
+ Row: {
49619
+ created_at: string;
49620
+ expires_at: string;
49621
+ first_viewed_at: string | null;
49622
+ id: string;
49623
+ processed_at: string | null;
49624
+ purchase_order_id: string;
49625
+ responded_at: string | null;
49626
+ sent_at: string;
49627
+ status: string;
49628
+ supplier_id: string | null;
49629
+ supplier_name: string;
49630
+ supplier_note: string | null;
49631
+ to_address: string | null;
49632
+ token_hash: string;
49633
+ updated_at: string;
49634
+ };
49635
+ Insert: {
49636
+ created_at?: string;
49637
+ expires_at?: string;
49638
+ first_viewed_at?: string | null;
49639
+ id?: string;
49640
+ processed_at?: string | null;
49641
+ purchase_order_id: string;
49642
+ responded_at?: string | null;
49643
+ sent_at?: string;
49644
+ status?: string;
49645
+ supplier_id?: string | null;
49646
+ supplier_name?: string;
49647
+ supplier_note?: string | null;
49648
+ to_address?: string | null;
49649
+ token_hash: string;
49650
+ updated_at?: string;
49651
+ };
49652
+ Update: {
49653
+ created_at?: string;
49654
+ expires_at?: string;
49655
+ first_viewed_at?: string | null;
49656
+ id?: string;
49657
+ processed_at?: string | null;
49658
+ purchase_order_id?: string;
49659
+ responded_at?: string | null;
49660
+ sent_at?: string;
49661
+ status?: string;
49662
+ supplier_id?: string | null;
49663
+ supplier_name?: string;
49664
+ supplier_note?: string | null;
49665
+ to_address?: string | null;
49666
+ token_hash?: string;
49667
+ updated_at?: string;
49668
+ };
49669
+ Relationships: [{
49670
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
49671
+ columns: ["purchase_order_id"];
49672
+ isOneToOne: false;
49673
+ referencedRelation: "purchase_orders";
49674
+ referencedColumns: ["id"];
49675
+ }, {
49676
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
49677
+ columns: ["supplier_id"];
49678
+ isOneToOne: false;
49679
+ referencedRelation: "suppliers";
49680
+ referencedColumns: ["id"];
49681
+ }];
49682
+ };
49095
49683
  reception_notifications: {
49096
49684
  Row: {
49097
49685
  booking_id: string | null;
@@ -51255,6 +51843,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
51255
51843
  auto_invoice_enabled: boolean;
51256
51844
  auto_invoice_start_date: string | null;
51257
51845
  auto_invoice_trigger_statuses: string[];
51846
+ auto_send_mode: string | null;
51258
51847
  created_at: string;
51259
51848
  debtor_gl_account: string;
51260
51849
  default_article_code: string | null;
@@ -51283,6 +51872,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
51283
51872
  auto_invoice_enabled?: boolean;
51284
51873
  auto_invoice_start_date?: string | null;
51285
51874
  auto_invoice_trigger_statuses?: string[];
51875
+ auto_send_mode?: string | null;
51286
51876
  created_at?: string;
51287
51877
  debtor_gl_account?: string;
51288
51878
  default_article_code?: string | null;
@@ -51311,6 +51901,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
51311
51901
  auto_invoice_enabled?: boolean;
51312
51902
  auto_invoice_start_date?: string | null;
51313
51903
  auto_invoice_trigger_statuses?: string[];
51904
+ auto_send_mode?: string | null;
51314
51905
  created_at?: string;
51315
51906
  debtor_gl_account?: string;
51316
51907
  default_article_code?: string | null;
@@ -51754,16 +52345,19 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
51754
52345
  Row: {
51755
52346
  active_environment: string;
51756
52347
  id: number;
52348
+ public_base_url: string | null;
51757
52349
  updated_at: string;
51758
52350
  };
51759
52351
  Insert: {
51760
52352
  active_environment?: string;
51761
52353
  id?: number;
52354
+ public_base_url?: string | null;
51762
52355
  updated_at?: string;
51763
52356
  };
51764
52357
  Update: {
51765
52358
  active_environment?: string;
51766
52359
  id?: number;
52360
+ public_base_url?: string | null;
51767
52361
  updated_at?: string;
51768
52362
  };
51769
52363
  Relationships: [];
@@ -51994,11 +52588,15 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
51994
52588
  monteur_id: string;
51995
52589
  netto_verschil_minuten: number;
51996
52590
  normaal_uitbetaald_minuten: number;
52591
+ omgezet_vakantie_minuten: number;
52592
+ overdracht_vorige_minuten: number;
51997
52593
  overuren_minuten: number;
51998
52594
  plus_minuten: number;
52595
+ rest_overuren_minuten: number;
51999
52596
  status: string;
52000
52597
  totaal_uitbetaald_minuten: number;
52001
52598
  updated_at: string;
52599
+ vakantie_uren_bijgeschreven: number;
52002
52600
  };
52003
52601
  Insert: {
52004
52602
  afgesloten_at?: string | null;
@@ -52015,11 +52613,15 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
52015
52613
  monteur_id: string;
52016
52614
  netto_verschil_minuten?: number;
52017
52615
  normaal_uitbetaald_minuten?: number;
52616
+ omgezet_vakantie_minuten?: number;
52617
+ overdracht_vorige_minuten?: number;
52018
52618
  overuren_minuten?: number;
52019
52619
  plus_minuten?: number;
52620
+ rest_overuren_minuten?: number;
52020
52621
  status?: string;
52021
52622
  totaal_uitbetaald_minuten?: number;
52022
52623
  updated_at?: string;
52624
+ vakantie_uren_bijgeschreven?: number;
52023
52625
  };
52024
52626
  Update: {
52025
52627
  afgesloten_at?: string | null;
@@ -52036,11 +52638,15 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
52036
52638
  monteur_id?: string;
52037
52639
  netto_verschil_minuten?: number;
52038
52640
  normaal_uitbetaald_minuten?: number;
52641
+ omgezet_vakantie_minuten?: number;
52642
+ overdracht_vorige_minuten?: number;
52039
52643
  overuren_minuten?: number;
52040
52644
  plus_minuten?: number;
52645
+ rest_overuren_minuten?: number;
52041
52646
  status?: string;
52042
52647
  totaal_uitbetaald_minuten?: number;
52043
52648
  updated_at?: string;
52649
+ vakantie_uren_bijgeschreven?: number;
52044
52650
  };
52045
52651
  Relationships: [];
52046
52652
  };
@@ -56529,12 +57135,57 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
56529
57135
  };
56530
57136
  Returns: import("../integrations/supabase/types").Json;
56531
57137
  };
57138
+ inkoop_get_supplier_request: {
57139
+ Args: {
57140
+ _token: string;
57141
+ };
57142
+ Returns: import("../integrations/supabase/types").Json;
57143
+ };
57144
+ inkoop_hash_token: {
57145
+ Args: {
57146
+ _token: string;
57147
+ };
57148
+ Returns: string;
57149
+ };
57150
+ inkoop_html_escape: {
57151
+ Args: {
57152
+ _t: string;
57153
+ };
57154
+ Returns: string;
57155
+ };
57156
+ inkoop_list_artikelen: {
57157
+ Args: never;
57158
+ Returns: {
57159
+ article_number: string;
57160
+ barcode: string;
57161
+ id: string;
57162
+ incoming_quantity: number;
57163
+ is_layer: boolean;
57164
+ location: string;
57165
+ min_quantity: number;
57166
+ preferred_supplier_name: string;
57167
+ product: string;
57168
+ product_type: string;
57169
+ purchase_price: number;
57170
+ quantity: number;
57171
+ sale_price: number;
57172
+ supplier_count: number;
57173
+ unit: string;
57174
+ }[];
57175
+ };
56532
57176
  inkoop_next_order_number: {
56533
57177
  Args: never;
56534
57178
  Returns: string;
56535
57179
  };
57180
+ inkoop_process_request: {
57181
+ Args: {
57182
+ _request_id: string;
57183
+ };
57184
+ Returns: undefined;
57185
+ };
56536
57186
  inkoop_send_order: {
56537
57187
  Args: {
57188
+ _base_url?: string;
56538
57189
  _order_id: string;
56539
57190
  };
56540
57191
  Returns: {
@@ -56542,6 +57193,44 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
56542
57193
  supplier_name: string;
56543
57194
  to_address: string;
56544
57195
  }[];
57196
+ } | {
57197
+ Args: {
57198
+ _base_url?: string;
57199
+ _order_id: string;
57200
+ _resend?: boolean;
57201
+ };
57202
+ Returns: {
57203
+ outbox_id: string;
57204
+ supplier_name: string;
57205
+ to_address: string;
57206
+ }[];
57207
+ };
57208
+ inkoop_set_preferred_supplier: {
57209
+ Args: {
57210
+ _product_id: string;
57211
+ _supplier_id: string;
57212
+ };
57213
+ Returns: undefined;
57214
+ };
57215
+ inkoop_stock_key: {
57216
+ Args: {
57217
+ p_product_id: string;
57218
+ };
57219
+ Returns: string;
57220
+ };
57221
+ inkoop_submit_supplier_response: {
57222
+ Args: {
57223
+ _lines: import("../integrations/supabase/types").Json;
57224
+ _note?: string;
57225
+ _token: string;
57226
+ };
57227
+ Returns: import("../integrations/supabase/types").Json;
57228
+ };
57229
+ inkoop_sync_item_stock: {
57230
+ Args: {
57231
+ p_item_id: string;
57232
+ };
57233
+ Returns: undefined;
56545
57234
  };
56546
57235
  instructie_get: {
56547
57236
  Args: {
@@ -57814,6 +58503,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
57814
58503
  Args: never;
57815
58504
  Returns: string;
57816
58505
  };
58506
+ logistics_order_backlog_info: {
58507
+ Args: {
58508
+ p_order_id: string;
58509
+ };
58510
+ Returns: import("../integrations/supabase/types").Json;
58511
+ };
57817
58512
  logistics_order_cart_approval: {
57818
58513
  Args: {
57819
58514
  _order_ref: string;
@@ -57904,6 +58599,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
57904
58599
  };
57905
58600
  Returns: boolean;
57906
58601
  };
58602
+ logistics_order_is_backlog: {
58603
+ Args: {
58604
+ p_order_id: string;
58605
+ };
58606
+ Returns: boolean;
58607
+ };
57907
58608
  logistics_order_is_topick: {
57908
58609
  Args: {
57909
58610
  p_order_id: string;
@@ -58045,6 +58746,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
58045
58746
  shifted_count: number;
58046
58747
  }[];
58047
58748
  };
58749
+ logistics_pick_backlog_max_days: {
58750
+ Args: never;
58751
+ Returns: number;
58752
+ };
58048
58753
  logistics_pick_barcode_enabled: {
58049
58754
  Args: never;
58050
58755
  Returns: boolean;
@@ -58660,12 +59365,27 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
58660
59365
  Args: never;
58661
59366
  Returns: import("../integrations/supabase/types").Json;
58662
59367
  };
59368
+ logistics_sync_pick_queue_backlog: {
59369
+ Args: never;
59370
+ Returns: import("../integrations/supabase/types").Json;
59371
+ };
59372
+ logistics_sync_pick_queue_core: {
59373
+ Args: never;
59374
+ Returns: import("../integrations/supabase/types").Json;
59375
+ };
58663
59376
  logistics_sync_task_carriers: {
58664
59377
  Args: {
58665
59378
  p_order_ref?: string;
58666
59379
  };
58667
59380
  Returns: number;
58668
59381
  };
59382
+ logistics_task_open_counts: {
59383
+ Args: never;
59384
+ Returns: {
59385
+ open_count: number;
59386
+ owner_module: string;
59387
+ }[];
59388
+ };
58669
59389
  logistics_task_owner: {
58670
59390
  Args: {
58671
59391
  p_task_type: string;