@flowselections/floriday-voorraad 1.0.42 → 1.0.43

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 (44) hide show
  1. package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
  2. package/dist-lib/components/voorraad/ArtikelWizard.js +15 -11
  3. package/dist-lib/components/voorraad/OrderHistoryCard.js +2 -2
  4. package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts +7 -0
  5. package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -0
  6. package/dist-lib/components/voorraad/StockMutationHistoryCard.js +134 -0
  7. package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
  8. package/dist-lib/components/voorraad/StockPushMonitor.js +90 -12
  9. package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
  10. package/dist-lib/components/voorraad/VoorraadPage.js +1 -1
  11. package/dist-lib/hooks/useFloriday.d.ts.map +1 -1
  12. package/dist-lib/hooks/useFloriday.js +5 -2
  13. package/dist-lib/hooks/useStockPushJobs.d.ts +2 -0
  14. package/dist-lib/hooks/useStockPushJobs.d.ts.map +1 -1
  15. package/dist-lib/hooks/useStockPushJobs.js +18 -5
  16. package/dist-lib/integrations/supabase/auth-middleware.d.ts +440 -0
  17. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/client.d.ts +440 -0
  19. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  20. package/dist-lib/integrations/supabase/client.server.d.ts +440 -0
  21. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  22. package/dist-lib/integrations/supabase/types.d.ts +443 -0
  23. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  24. package/dist-lib/lib/floricode-required-features.functions.d.ts +440 -0
  25. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floriday-2026v1.server.d.ts.map +1 -1
  27. package/dist-lib/lib/floriday-2026v1.server.js +6 -0
  28. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +440 -0
  29. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/floriday-env.functions.d.ts +880 -0
  31. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/floriday-gateway.functions.d.ts +2640 -0
  33. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +880 -0
  35. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/floriday-warehouse.functions.d.ts +1320 -0
  37. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/floriday-writes.functions.d.ts +880 -0
  39. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/inventory-settings.functions.d.ts +880 -0
  41. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/stock-sync.functions.d.ts +880 -0
  43. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  44. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"floriday-2026v1.server.d.ts","sourceRoot":"","sources":["../../src/lib/floriday-2026v1.server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,MAAM,CAAC;AAErD,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,OAAO,IAAI;IACpC,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,4DAA4D;AAC5D,wBAAgB,SAAS,CAAC,KAAK,CAAC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AAC,EAAE,MAAM,CAAC;KACnB,GAAG,OAAO,CAAC,UAAU,CAAC;IAevB,oEAAoE;IACpE,6BAA6B,CAAC,MAAM,EAAE;QACpC,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,cAAc,EAAE,MAAM,CAAC;KACxB,GAAG,OAAO,CAAC,UAAU,CAAC;IAYvB,6EAA6E;IAC7E,kCAAkC,CAAC,MAAM,EAAE;QACzC,YAAY,EAAE,MAAM,EAAE,CAAC;QACvB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,OAAO,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,GAAG,OAAO,CAAC,UAAU,CAAC;IAqBvB,yEAAyE;IACzE,qBAAqB,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IAOvF,8CAA8C;IAC9C,eAAe,CAAC,MAAM,EAAE;QAAE,cAAc,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IAQ7F,6DAA6D;IAC7D,wBAAwB,IAAI,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;CAGrD"}
@@ -62,6 +62,12 @@ export function classifyError(message) {
62
62
  return "rate-limit";
63
63
  if (/\b423\b|locked/.test(m))
64
64
  return "locked";
65
+ // Een mislukte tokenaanvraag is een instellingsfout die zichzelf niet
66
+ // oplost: één keer falen, daarna definitief mislukt met een duidelijke
67
+ // actie in de melding. Opnieuw proberen levert alleen zinloze calls op.
68
+ if (/token-aanvraag|token aanvraag|token request|requested path is invalid/.test(m)) {
69
+ return "permanent";
70
+ }
65
71
  if (/\b(401|403)\b|unauthorized|forbidden|credential|central auth|not configured|gateway/.test(m)) {
66
72
  return "config";
67
73
  }
@@ -2253,6 +2253,45 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
2253
2253
  };
2254
2254
  Relationships: [];
2255
2255
  };
2256
+ customer_product_stickers: {
2257
+ Row: {
2258
+ created_at: string;
2259
+ customer_key: string;
2260
+ file_name: string;
2261
+ file_path: string;
2262
+ file_size: number | null;
2263
+ id: string;
2264
+ mime_type: string | null;
2265
+ trade_item_key: string;
2266
+ updated_at: string;
2267
+ uploaded_by: string | null;
2268
+ };
2269
+ Insert: {
2270
+ created_at?: string;
2271
+ customer_key: string;
2272
+ file_name: string;
2273
+ file_path: string;
2274
+ file_size?: number | null;
2275
+ id?: string;
2276
+ mime_type?: string | null;
2277
+ trade_item_key: string;
2278
+ updated_at?: string;
2279
+ uploaded_by?: string | null;
2280
+ };
2281
+ Update: {
2282
+ created_at?: string;
2283
+ customer_key?: string;
2284
+ file_name?: string;
2285
+ file_path?: string;
2286
+ file_size?: number | null;
2287
+ id?: string;
2288
+ mime_type?: string | null;
2289
+ trade_item_key?: string;
2290
+ updated_at?: string;
2291
+ uploaded_by?: string | null;
2292
+ };
2293
+ Relationships: [];
2294
+ };
2256
2295
  customer_selected_assortment: {
2257
2296
  Row: {
2258
2297
  article_number: string | null;
@@ -2301,6 +2340,30 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
2301
2340
  referencedColumns: ["id"];
2302
2341
  }];
2303
2342
  };
2343
+ customer_sticker_settings: {
2344
+ Row: {
2345
+ created_at: string;
2346
+ customer_key: string;
2347
+ height_mm: number;
2348
+ updated_at: string;
2349
+ width_mm: number;
2350
+ };
2351
+ Insert: {
2352
+ created_at?: string;
2353
+ customer_key: string;
2354
+ height_mm?: number;
2355
+ updated_at?: string;
2356
+ width_mm?: number;
2357
+ };
2358
+ Update: {
2359
+ created_at?: string;
2360
+ customer_key?: string;
2361
+ height_mm?: number;
2362
+ updated_at?: string;
2363
+ width_mm?: number;
2364
+ };
2365
+ Relationships: [];
2366
+ };
2304
2367
  customer_trade_settings: {
2305
2368
  Row: {
2306
2369
  category: string;
@@ -5631,6 +5694,102 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
5631
5694
  referencedColumns: ["id"];
5632
5695
  }];
5633
5696
  };
5697
+ floriday_api_log: {
5698
+ Row: {
5699
+ action: string | null;
5700
+ caller: string | null;
5701
+ connection_id: string | null;
5702
+ created_at: string;
5703
+ cursor_from: number | null;
5704
+ direction: string;
5705
+ duration_ms: number | null;
5706
+ environment: string | null;
5707
+ error: string | null;
5708
+ floriday_id: string | null;
5709
+ floriday_reference: string | null;
5710
+ http_status: number;
5711
+ id: string;
5712
+ item_count: number | null;
5713
+ kind: string | null;
5714
+ local_id: string | null;
5715
+ local_reference: string | null;
5716
+ method: string;
5717
+ module: string | null;
5718
+ ok: boolean;
5719
+ path: string;
5720
+ request: import("../integrations/supabase/types").Json | null;
5721
+ resource_type: string | null;
5722
+ response: import("../integrations/supabase/types").Json | null;
5723
+ write_log_id: string | null;
5724
+ };
5725
+ Insert: {
5726
+ action?: string | null;
5727
+ caller?: string | null;
5728
+ connection_id?: string | null;
5729
+ created_at?: string;
5730
+ cursor_from?: number | null;
5731
+ direction: string;
5732
+ duration_ms?: number | null;
5733
+ environment?: string | null;
5734
+ error?: string | null;
5735
+ floriday_id?: string | null;
5736
+ floriday_reference?: string | null;
5737
+ http_status?: number;
5738
+ id?: string;
5739
+ item_count?: number | null;
5740
+ kind?: string | null;
5741
+ local_id?: string | null;
5742
+ local_reference?: string | null;
5743
+ method: string;
5744
+ module?: string | null;
5745
+ ok?: boolean;
5746
+ path: string;
5747
+ request?: import("../integrations/supabase/types").Json | null;
5748
+ resource_type?: string | null;
5749
+ response?: import("../integrations/supabase/types").Json | null;
5750
+ write_log_id?: string | null;
5751
+ };
5752
+ Update: {
5753
+ action?: string | null;
5754
+ caller?: string | null;
5755
+ connection_id?: string | null;
5756
+ created_at?: string;
5757
+ cursor_from?: number | null;
5758
+ direction?: string;
5759
+ duration_ms?: number | null;
5760
+ environment?: string | null;
5761
+ error?: string | null;
5762
+ floriday_id?: string | null;
5763
+ floriday_reference?: string | null;
5764
+ http_status?: number;
5765
+ id?: string;
5766
+ item_count?: number | null;
5767
+ kind?: string | null;
5768
+ local_id?: string | null;
5769
+ local_reference?: string | null;
5770
+ method?: string;
5771
+ module?: string | null;
5772
+ ok?: boolean;
5773
+ path?: string;
5774
+ request?: import("../integrations/supabase/types").Json | null;
5775
+ resource_type?: string | null;
5776
+ response?: import("../integrations/supabase/types").Json | null;
5777
+ write_log_id?: string | null;
5778
+ };
5779
+ Relationships: [{
5780
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5781
+ columns: ["connection_id"];
5782
+ isOneToOne: false;
5783
+ referencedRelation: "floriday_connections";
5784
+ referencedColumns: ["id"];
5785
+ }, {
5786
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5787
+ columns: ["write_log_id"];
5788
+ isOneToOne: false;
5789
+ referencedRelation: "floriday_write_log";
5790
+ referencedColumns: ["id"];
5791
+ }];
5792
+ };
5634
5793
  floriday_auction_letters_cache: {
5635
5794
  Row: {
5636
5795
  auction_letter_code: string;
@@ -6831,6 +6990,69 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
6831
6990
  referencedColumns: ["id"];
6832
6991
  }];
6833
6992
  };
6993
+ floriday_link_templates: {
6994
+ Row: {
6995
+ created_at: string;
6996
+ floriday_url_template: string | null;
6997
+ is_active: boolean;
6998
+ label: string;
6999
+ local_url_template: string | null;
7000
+ resource_type: string;
7001
+ updated_at: string;
7002
+ };
7003
+ Insert: {
7004
+ created_at?: string;
7005
+ floriday_url_template?: string | null;
7006
+ is_active?: boolean;
7007
+ label: string;
7008
+ local_url_template?: string | null;
7009
+ resource_type: string;
7010
+ updated_at?: string;
7011
+ };
7012
+ Update: {
7013
+ created_at?: string;
7014
+ floriday_url_template?: string | null;
7015
+ is_active?: boolean;
7016
+ label?: string;
7017
+ local_url_template?: string | null;
7018
+ resource_type?: string;
7019
+ updated_at?: string;
7020
+ };
7021
+ Relationships: [];
7022
+ };
7023
+ floriday_log_retention: {
7024
+ Row: {
7025
+ created_at: string;
7026
+ direction: string | null;
7027
+ id: string;
7028
+ keep_failed_days: number | null;
7029
+ keep_ok_days: number | null;
7030
+ note: string | null;
7031
+ resource_type: string | null;
7032
+ updated_at: string;
7033
+ };
7034
+ Insert: {
7035
+ created_at?: string;
7036
+ direction?: string | null;
7037
+ id?: string;
7038
+ keep_failed_days?: number | null;
7039
+ keep_ok_days?: number | null;
7040
+ note?: string | null;
7041
+ resource_type?: string | null;
7042
+ updated_at?: string;
7043
+ };
7044
+ Update: {
7045
+ created_at?: string;
7046
+ direction?: string | null;
7047
+ id?: string;
7048
+ keep_failed_days?: number | null;
7049
+ keep_ok_days?: number | null;
7050
+ note?: string | null;
7051
+ resource_type?: string | null;
7052
+ updated_at?: string;
7053
+ };
7054
+ Relationships: [];
7055
+ };
6834
7056
  floriday_logistic_labels_cache: {
6835
7057
  Row: {
6836
7058
  byte_size: number | null;
@@ -11370,6 +11592,111 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
11370
11592
  };
11371
11593
  Relationships: [];
11372
11594
  };
11595
+ logistics_trace_events: {
11596
+ Row: {
11597
+ actor: string | null;
11598
+ attempts: number;
11599
+ cart_ref: string | null;
11600
+ created_at: string;
11601
+ db_action: string | null;
11602
+ db_new: import("../integrations/supabase/types").Json | null;
11603
+ db_old: import("../integrations/supabase/types").Json | null;
11604
+ db_record: string | null;
11605
+ db_table: string | null;
11606
+ decision: string | null;
11607
+ duration_ms: number | null;
11608
+ error: string | null;
11609
+ external_action: string | null;
11610
+ external_ref: string | null;
11611
+ external_response: import("../integrations/supabase/types").Json | null;
11612
+ external_status: string | null;
11613
+ external_system: string | null;
11614
+ id: string;
11615
+ input: import("../integrations/supabase/types").Json | null;
11616
+ next_attempt_at: string | null;
11617
+ order_ref: string | null;
11618
+ order_source: string | null;
11619
+ output: import("../integrations/supabase/types").Json | null;
11620
+ phase: string;
11621
+ reads: import("../integrations/supabase/types").Json | null;
11622
+ reason: string | null;
11623
+ rule: string | null;
11624
+ slip_ref: string | null;
11625
+ status: string;
11626
+ step: string;
11627
+ trace_id: string;
11628
+ values_used: import("../integrations/supabase/types").Json | null;
11629
+ };
11630
+ Insert: {
11631
+ actor?: string | null;
11632
+ attempts?: number;
11633
+ cart_ref?: string | null;
11634
+ created_at?: string;
11635
+ db_action?: string | null;
11636
+ db_new?: import("../integrations/supabase/types").Json | null;
11637
+ db_old?: import("../integrations/supabase/types").Json | null;
11638
+ db_record?: string | null;
11639
+ db_table?: string | null;
11640
+ decision?: string | null;
11641
+ duration_ms?: number | null;
11642
+ error?: string | null;
11643
+ external_action?: string | null;
11644
+ external_ref?: string | null;
11645
+ external_response?: import("../integrations/supabase/types").Json | null;
11646
+ external_status?: string | null;
11647
+ external_system?: string | null;
11648
+ id?: string;
11649
+ input?: import("../integrations/supabase/types").Json | null;
11650
+ next_attempt_at?: string | null;
11651
+ order_ref?: string | null;
11652
+ order_source?: string | null;
11653
+ output?: import("../integrations/supabase/types").Json | null;
11654
+ phase: string;
11655
+ reads?: import("../integrations/supabase/types").Json | null;
11656
+ reason?: string | null;
11657
+ rule?: string | null;
11658
+ slip_ref?: string | null;
11659
+ status: string;
11660
+ step: string;
11661
+ trace_id?: string;
11662
+ values_used?: import("../integrations/supabase/types").Json | null;
11663
+ };
11664
+ Update: {
11665
+ actor?: string | null;
11666
+ attempts?: number;
11667
+ cart_ref?: string | null;
11668
+ created_at?: string;
11669
+ db_action?: string | null;
11670
+ db_new?: import("../integrations/supabase/types").Json | null;
11671
+ db_old?: import("../integrations/supabase/types").Json | null;
11672
+ db_record?: string | null;
11673
+ db_table?: string | null;
11674
+ decision?: string | null;
11675
+ duration_ms?: number | null;
11676
+ error?: string | null;
11677
+ external_action?: string | null;
11678
+ external_ref?: string | null;
11679
+ external_response?: import("../integrations/supabase/types").Json | null;
11680
+ external_status?: string | null;
11681
+ external_system?: string | null;
11682
+ id?: string;
11683
+ input?: import("../integrations/supabase/types").Json | null;
11684
+ next_attempt_at?: string | null;
11685
+ order_ref?: string | null;
11686
+ order_source?: string | null;
11687
+ output?: import("../integrations/supabase/types").Json | null;
11688
+ phase?: string;
11689
+ reads?: import("../integrations/supabase/types").Json | null;
11690
+ reason?: string | null;
11691
+ rule?: string | null;
11692
+ slip_ref?: string | null;
11693
+ status?: string;
11694
+ step?: string;
11695
+ trace_id?: string;
11696
+ values_used?: import("../integrations/supabase/types").Json | null;
11697
+ };
11698
+ Relationships: [];
11699
+ };
11373
11700
  logistics_variables: {
11374
11701
  Row: {
11375
11702
  created_at: string;
@@ -21942,6 +22269,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21942
22269
  Args: never;
21943
22270
  Returns: boolean;
21944
22271
  };
22272
+ cancel_open_print_jobs: {
22273
+ Args: {
22274
+ _cutoff: string;
22275
+ };
22276
+ Returns: {
22277
+ extern_job_id: string;
22278
+ id: string;
22279
+ }[];
22280
+ };
21945
22281
  check_offer_product_available_stock: {
21946
22282
  Args: {
21947
22283
  p_campaign_product_id: string;
@@ -23554,6 +23890,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23554
23890
  };
23555
23891
  Returns: import("../integrations/supabase/types").Json;
23556
23892
  };
23893
+ logistics_cart_plan_status_core: {
23894
+ Args: {
23895
+ p_ref: string;
23896
+ };
23897
+ Returns: import("../integrations/supabase/types").Json;
23898
+ };
23557
23899
  logistics_cart_release_reason: {
23558
23900
  Args: {
23559
23901
  p_cart_id: string;
@@ -23986,6 +24328,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23986
24328
  };
23987
24329
  Returns: import("../integrations/supabase/types").Json;
23988
24330
  };
24331
+ logistics_ensure_shipping_notes: {
24332
+ Args: {
24333
+ p_limit?: number;
24334
+ };
24335
+ Returns: import("../integrations/supabase/types").Json;
24336
+ };
23989
24337
  logistics_fail_task: {
23990
24338
  Args: {
23991
24339
  p_error: string;
@@ -24031,6 +24379,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24031
24379
  isSetofReturn: false;
24032
24380
  };
24033
24381
  };
24382
+ logistics_fix_wrong_shipping_notes: {
24383
+ Args: never;
24384
+ Returns: import("../integrations/supabase/types").Json;
24385
+ };
24034
24386
  logistics_floriday_cart_plan: {
24035
24387
  Args: {
24036
24388
  p_order_id: string;
@@ -24058,6 +24410,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24058
24410
  revision: number;
24059
24411
  }[];
24060
24412
  };
24413
+ logistics_floriday_delivery_note_create_enabled: {
24414
+ Args: never;
24415
+ Returns: boolean;
24416
+ };
24061
24417
  logistics_floriday_finish_push: {
24062
24418
  Args: {
24063
24419
  _error?: string;
@@ -24301,6 +24657,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24301
24657
  };
24302
24658
  Returns: string;
24303
24659
  };
24660
+ logistics_payload_is_floriday: {
24661
+ Args: {
24662
+ _payload: import("../integrations/supabase/types").Json;
24663
+ };
24664
+ Returns: boolean;
24665
+ };
24304
24666
  logistics_pick_agenda: {
24305
24667
  Args: {
24306
24668
  p_from?: string;
@@ -24423,6 +24785,20 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24423
24785
  Args: never;
24424
24786
  Returns: undefined;
24425
24787
  };
24788
+ logistics_plan_progress: {
24789
+ Args: {
24790
+ p_refs: string[];
24791
+ };
24792
+ Returns: {
24793
+ cart_plan_ready: boolean;
24794
+ cart_plan_reason: string;
24795
+ cart_plan_released: boolean;
24796
+ plan_progress: number;
24797
+ plan_state: string;
24798
+ plan_state_since: string;
24799
+ unit_ref: string;
24800
+ }[];
24801
+ };
24426
24802
  logistics_plan_prune: {
24427
24803
  Args: never;
24428
24804
  Returns: number;
@@ -24444,6 +24820,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24444
24820
  };
24445
24821
  Returns: number;
24446
24822
  };
24823
+ logistics_plan_state_for: {
24824
+ Args: {
24825
+ p_ref: string;
24826
+ };
24827
+ Returns: import("../integrations/supabase/types").Json;
24828
+ };
24447
24829
  logistics_prepare_pick_documents: {
24448
24830
  Args: {
24449
24831
  p_limit?: number;
@@ -24502,6 +24884,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24502
24884
  };
24503
24885
  Returns: import("../integrations/supabase/types").Json;
24504
24886
  };
24887
+ logistics_refresh_plan_state: {
24888
+ Args: {
24889
+ p_limit?: number;
24890
+ };
24891
+ Returns: import("../integrations/supabase/types").Json;
24892
+ };
24505
24893
  logistics_replan_all: {
24506
24894
  Args: {
24507
24895
  p_reason?: string;
@@ -24676,6 +25064,16 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24676
25064
  };
24677
25065
  Returns: string;
24678
25066
  };
25067
+ logistics_shipping_notes_wake_all: {
25068
+ Args: never;
25069
+ Returns: import("../integrations/supabase/types").Json;
25070
+ };
25071
+ logistics_slip_is_floriday: {
25072
+ Args: {
25073
+ _slip_job_id: string;
25074
+ };
25075
+ Returns: boolean;
25076
+ };
24679
25077
  logistics_slip_note_claim: {
24680
25078
  Args: {
24681
25079
  _lease_seconds?: number;
@@ -24782,6 +25180,40 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24782
25180
  name: string;
24783
25181
  }[];
24784
25182
  };
25183
+ logistics_trace: {
25184
+ Args: {
25185
+ p: import("../integrations/supabase/types").Json;
25186
+ };
25187
+ Returns: string;
25188
+ };
25189
+ logistics_trace_batch: {
25190
+ Args: {
25191
+ p: import("../integrations/supabase/types").Json;
25192
+ };
25193
+ Returns: number;
25194
+ };
25195
+ logistics_trace_orders: {
25196
+ Args: {
25197
+ p_limit?: number;
25198
+ p_search?: string;
25199
+ p_since?: string;
25200
+ p_status?: string;
25201
+ };
25202
+ Returns: import("../integrations/supabase/types").Json;
25203
+ };
25204
+ logistics_trace_redact: {
25205
+ Args: {
25206
+ p: import("../integrations/supabase/types").Json;
25207
+ };
25208
+ Returns: import("../integrations/supabase/types").Json;
25209
+ };
25210
+ logistics_trace_timeline: {
25211
+ Args: {
25212
+ p_limit?: number;
25213
+ p_order_ref: string;
25214
+ };
25215
+ Returns: import("../integrations/supabase/types").Json;
25216
+ };
24785
25217
  logistics_upsert_task: {
24786
25218
  Args: {
24787
25219
  p_buffer_ref: string;
@@ -25823,6 +26255,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
25823
26255
  };
25824
26256
  Returns: undefined;
25825
26257
  };
26258
+ prune_floriday_api_log: {
26259
+ Args: never;
26260
+ Returns: number;
26261
+ };
25826
26262
  quote_create_from_source: {
25827
26263
  Args: {
25828
26264
  _payload?: import("../integrations/supabase/types").Json;
@@ -26699,6 +27135,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
26699
27135
  Args: never;
26700
27136
  Returns: string;
26701
27137
  };
27138
+ voorraad_cleanup_old_rows: {
27139
+ Args: never;
27140
+ Returns: import("../integrations/supabase/types").Json;
27141
+ };
26702
27142
  wake_print_queue: {
26703
27143
  Args: {
26704
27144
  _min_interval_ms?: number;