@flowselections/floriday-klanten-module 1.0.35 → 1.0.36

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 (73) hide show
  1. package/dist-lib/components/klanten/BewerkKlant.d.ts.map +1 -1
  2. package/dist-lib/components/klanten/BewerkKlant.js +21 -1
  3. package/dist-lib/components/klanten/BulkStickerUploadDialog.d.ts +14 -0
  4. package/dist-lib/components/klanten/BulkStickerUploadDialog.d.ts.map +1 -0
  5. package/dist-lib/components/klanten/BulkStickerUploadDialog.js +231 -0
  6. package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts.map +1 -1
  7. package/dist-lib/components/klanten/CustomerAssortmentTab.js +37 -5
  8. package/dist-lib/components/klanten/CustomerStickerCell.d.ts +7 -0
  9. package/dist-lib/components/klanten/CustomerStickerCell.d.ts.map +1 -0
  10. package/dist-lib/components/klanten/CustomerStickerCell.js +90 -0
  11. package/dist-lib/components/klanten/CustomerStickerFormatDialog.d.ts +7 -0
  12. package/dist-lib/components/klanten/CustomerStickerFormatDialog.d.ts.map +1 -0
  13. package/dist-lib/components/klanten/CustomerStickerFormatDialog.js +36 -0
  14. package/dist-lib/index.d.ts +4 -0
  15. package/dist-lib/index.d.ts.map +1 -1
  16. package/dist-lib/index.js +4 -0
  17. package/dist-lib/integrations/supabase/auth-middleware.d.ts +565 -0
  18. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  19. package/dist-lib/integrations/supabase/client.d.ts +565 -0
  20. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  21. package/dist-lib/integrations/supabase/client.server.d.ts +565 -0
  22. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  23. package/dist-lib/integrations/supabase/types.d.ts +568 -0
  24. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  25. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +1695 -0
  26. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/accounting.functions.d.ts +1695 -0
  28. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/ai-module.server.d.ts +20 -0
  30. package/dist-lib/lib/ai-module.server.d.ts.map +1 -0
  31. package/dist-lib/lib/ai-module.server.js +86 -0
  32. package/dist-lib/lib/customer-analytics.functions.d.ts +565 -0
  33. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/customer-assortment.functions.d.ts +565 -0
  35. package/dist-lib/lib/customer-assortment.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/customer-notes.functions.d.ts +1130 -0
  37. package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/customer-revenue.functions.d.ts +565 -0
  39. package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/customer-stickers.functions.d.ts +244731 -0
  41. package/dist-lib/lib/customer-stickers.functions.d.ts.map +1 -0
  42. package/dist-lib/lib/customer-stickers.functions.js +467 -0
  43. package/dist-lib/lib/customers.functions.d.ts +5085 -0
  44. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/delivery-locations.functions.d.ts +2825 -0
  46. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  47. package/dist-lib/lib/external-customers.functions.d.ts +2260 -0
  48. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/floriday-assortment.functions.d.ts +565 -0
  50. package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/floriday-discounts.functions.d.ts +1130 -0
  52. package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
  53. package/dist-lib/lib/floriday-price-import.functions.d.ts +1130 -0
  54. package/dist-lib/lib/floriday-price-import.functions.d.ts.map +1 -1
  55. package/dist-lib/lib/floriday-trade-items.functions.d.ts +565 -0
  56. package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
  57. package/dist-lib/lib/local-discounts.functions.d.ts +3956 -1
  58. package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
  59. package/dist-lib/lib/logistics-events.functions.d.ts +565 -0
  60. package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
  61. package/dist-lib/lib/logistics-strategy.functions.d.ts +2260 -0
  62. package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
  63. package/dist-lib/lib/overdue-invoices.functions.d.ts +565 -0
  64. package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
  65. package/dist-lib/lib/price-groups-local.functions.d.ts +7348 -3
  66. package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
  67. package/dist-lib/lib/price-groups.functions.d.ts +565 -0
  68. package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
  69. package/dist-lib/lib/twinfield-adopt.functions.d.ts +1130 -0
  70. package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
  71. package/dist-lib/lib/twinfield-ledger.functions.d.ts +565 -0
  72. package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
  73. package/package.json +1 -1
@@ -2277,6 +2277,45 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
2277
2277
  };
2278
2278
  Relationships: [];
2279
2279
  };
2280
+ customer_product_stickers: {
2281
+ Row: {
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
+ Insert: {
2294
+ created_at?: string;
2295
+ customer_key: string;
2296
+ file_name: string;
2297
+ file_path: string;
2298
+ file_size?: number | null;
2299
+ id?: string;
2300
+ mime_type?: string | null;
2301
+ trade_item_key: string;
2302
+ updated_at?: string;
2303
+ uploaded_by?: string | null;
2304
+ };
2305
+ Update: {
2306
+ created_at?: string;
2307
+ customer_key?: string;
2308
+ file_name?: string;
2309
+ file_path?: string;
2310
+ file_size?: number | null;
2311
+ id?: string;
2312
+ mime_type?: string | null;
2313
+ trade_item_key?: string;
2314
+ updated_at?: string;
2315
+ uploaded_by?: string | null;
2316
+ };
2317
+ Relationships: [];
2318
+ };
2280
2319
  customer_selected_assortment: {
2281
2320
  Row: {
2282
2321
  article_number: string | null;
@@ -2325,6 +2364,30 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
2325
2364
  referencedColumns: ["id"];
2326
2365
  }];
2327
2366
  };
2367
+ customer_sticker_settings: {
2368
+ Row: {
2369
+ created_at: string;
2370
+ customer_key: string;
2371
+ height_mm: number;
2372
+ updated_at: string;
2373
+ width_mm: number;
2374
+ };
2375
+ Insert: {
2376
+ created_at?: string;
2377
+ customer_key: string;
2378
+ height_mm?: number;
2379
+ updated_at?: string;
2380
+ width_mm?: number;
2381
+ };
2382
+ Update: {
2383
+ created_at?: string;
2384
+ customer_key?: string;
2385
+ height_mm?: number;
2386
+ updated_at?: string;
2387
+ width_mm?: number;
2388
+ };
2389
+ Relationships: [];
2390
+ };
2328
2391
  customer_trade_settings: {
2329
2392
  Row: {
2330
2393
  category: string;
@@ -5655,6 +5718,102 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
5655
5718
  referencedColumns: ["id"];
5656
5719
  }];
5657
5720
  };
5721
+ floriday_api_log: {
5722
+ Row: {
5723
+ action: string | null;
5724
+ caller: string | null;
5725
+ connection_id: string | null;
5726
+ created_at: string;
5727
+ cursor_from: number | null;
5728
+ direction: string;
5729
+ duration_ms: number | null;
5730
+ environment: string | null;
5731
+ error: string | null;
5732
+ floriday_id: string | null;
5733
+ floriday_reference: string | null;
5734
+ http_status: number;
5735
+ id: string;
5736
+ item_count: number | null;
5737
+ kind: string | null;
5738
+ local_id: string | null;
5739
+ local_reference: string | null;
5740
+ method: string;
5741
+ module: string | null;
5742
+ ok: boolean;
5743
+ path: string;
5744
+ request: import("../integrations/supabase/types").Json | null;
5745
+ resource_type: string | null;
5746
+ response: import("../integrations/supabase/types").Json | null;
5747
+ write_log_id: string | null;
5748
+ };
5749
+ Insert: {
5750
+ action?: string | null;
5751
+ caller?: string | null;
5752
+ connection_id?: string | null;
5753
+ created_at?: string;
5754
+ cursor_from?: number | null;
5755
+ direction: string;
5756
+ duration_ms?: number | null;
5757
+ environment?: string | null;
5758
+ error?: string | null;
5759
+ floriday_id?: string | null;
5760
+ floriday_reference?: string | null;
5761
+ http_status?: number;
5762
+ id?: string;
5763
+ item_count?: number | null;
5764
+ kind?: string | null;
5765
+ local_id?: string | null;
5766
+ local_reference?: string | null;
5767
+ method: string;
5768
+ module?: string | null;
5769
+ ok?: boolean;
5770
+ path: string;
5771
+ request?: import("../integrations/supabase/types").Json | null;
5772
+ resource_type?: string | null;
5773
+ response?: import("../integrations/supabase/types").Json | null;
5774
+ write_log_id?: string | null;
5775
+ };
5776
+ Update: {
5777
+ action?: string | null;
5778
+ caller?: string | null;
5779
+ connection_id?: string | null;
5780
+ created_at?: string;
5781
+ cursor_from?: number | null;
5782
+ direction?: string;
5783
+ duration_ms?: number | null;
5784
+ environment?: string | null;
5785
+ error?: string | null;
5786
+ floriday_id?: string | null;
5787
+ floriday_reference?: string | null;
5788
+ http_status?: number;
5789
+ id?: string;
5790
+ item_count?: number | null;
5791
+ kind?: string | null;
5792
+ local_id?: string | null;
5793
+ local_reference?: string | null;
5794
+ method?: string;
5795
+ module?: string | null;
5796
+ ok?: boolean;
5797
+ path?: string;
5798
+ request?: import("../integrations/supabase/types").Json | null;
5799
+ resource_type?: string | null;
5800
+ response?: import("../integrations/supabase/types").Json | null;
5801
+ write_log_id?: string | null;
5802
+ };
5803
+ Relationships: [{
5804
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5805
+ columns: ["connection_id"];
5806
+ isOneToOne: false;
5807
+ referencedRelation: "floriday_connections";
5808
+ referencedColumns: ["id"];
5809
+ }, {
5810
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5811
+ columns: ["write_log_id"];
5812
+ isOneToOne: false;
5813
+ referencedRelation: "floriday_write_log";
5814
+ referencedColumns: ["id"];
5815
+ }];
5816
+ };
5658
5817
  floriday_auction_letters_cache: {
5659
5818
  Row: {
5660
5819
  auction_letter_code: string;
@@ -6855,6 +7014,69 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
6855
7014
  referencedColumns: ["id"];
6856
7015
  }];
6857
7016
  };
7017
+ floriday_link_templates: {
7018
+ Row: {
7019
+ created_at: string;
7020
+ floriday_url_template: string | null;
7021
+ is_active: boolean;
7022
+ label: string;
7023
+ local_url_template: string | null;
7024
+ resource_type: string;
7025
+ updated_at: string;
7026
+ };
7027
+ Insert: {
7028
+ created_at?: string;
7029
+ floriday_url_template?: string | null;
7030
+ is_active?: boolean;
7031
+ label: string;
7032
+ local_url_template?: string | null;
7033
+ resource_type: string;
7034
+ updated_at?: string;
7035
+ };
7036
+ Update: {
7037
+ created_at?: string;
7038
+ floriday_url_template?: string | null;
7039
+ is_active?: boolean;
7040
+ label?: string;
7041
+ local_url_template?: string | null;
7042
+ resource_type?: string;
7043
+ updated_at?: string;
7044
+ };
7045
+ Relationships: [];
7046
+ };
7047
+ floriday_log_retention: {
7048
+ Row: {
7049
+ created_at: string;
7050
+ direction: string | null;
7051
+ id: string;
7052
+ keep_failed_days: number | null;
7053
+ keep_ok_days: number | null;
7054
+ note: string | null;
7055
+ resource_type: string | null;
7056
+ updated_at: string;
7057
+ };
7058
+ Insert: {
7059
+ created_at?: string;
7060
+ direction?: string | null;
7061
+ id?: string;
7062
+ keep_failed_days?: number | null;
7063
+ keep_ok_days?: number | null;
7064
+ note?: string | null;
7065
+ resource_type?: string | null;
7066
+ updated_at?: string;
7067
+ };
7068
+ Update: {
7069
+ created_at?: string;
7070
+ direction?: string | null;
7071
+ id?: string;
7072
+ keep_failed_days?: number | null;
7073
+ keep_ok_days?: number | null;
7074
+ note?: string | null;
7075
+ resource_type?: string | null;
7076
+ updated_at?: string;
7077
+ };
7078
+ Relationships: [];
7079
+ };
6858
7080
  floriday_logistic_labels_cache: {
6859
7081
  Row: {
6860
7082
  byte_size: number | null;
@@ -10980,6 +11202,69 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
10980
11202
  };
10981
11203
  Relationships: [];
10982
11204
  };
11205
+ logistics_slip_shipping_note: {
11206
+ Row: {
11207
+ attempts: number;
11208
+ batch_key: string | null;
11209
+ cart_id: string | null;
11210
+ created_at: string;
11211
+ error: string | null;
11212
+ error_code: string | null;
11213
+ fulfillment_order_id: string | null;
11214
+ id: string;
11215
+ locked_until: string | null;
11216
+ next_attempt_at: string | null;
11217
+ order_id: string | null;
11218
+ order_number: string | null;
11219
+ print_job_id: string | null;
11220
+ printer_id: string | null;
11221
+ retry_class: string | null;
11222
+ slip_job_id: string;
11223
+ status: string;
11224
+ updated_at: string;
11225
+ };
11226
+ Insert: {
11227
+ attempts?: number;
11228
+ batch_key?: string | null;
11229
+ cart_id?: string | null;
11230
+ created_at?: string;
11231
+ error?: string | null;
11232
+ error_code?: string | null;
11233
+ fulfillment_order_id?: string | null;
11234
+ id?: string;
11235
+ locked_until?: string | null;
11236
+ next_attempt_at?: string | null;
11237
+ order_id?: string | null;
11238
+ order_number?: string | null;
11239
+ print_job_id?: string | null;
11240
+ printer_id?: string | null;
11241
+ retry_class?: string | null;
11242
+ slip_job_id: string;
11243
+ status?: string;
11244
+ updated_at?: string;
11245
+ };
11246
+ Update: {
11247
+ attempts?: number;
11248
+ batch_key?: string | null;
11249
+ cart_id?: string | null;
11250
+ created_at?: string;
11251
+ error?: string | null;
11252
+ error_code?: string | null;
11253
+ fulfillment_order_id?: string | null;
11254
+ id?: string;
11255
+ locked_until?: string | null;
11256
+ next_attempt_at?: string | null;
11257
+ order_id?: string | null;
11258
+ order_number?: string | null;
11259
+ print_job_id?: string | null;
11260
+ printer_id?: string | null;
11261
+ retry_class?: string | null;
11262
+ slip_job_id?: string;
11263
+ status?: string;
11264
+ updated_at?: string;
11265
+ };
11266
+ Relationships: [];
11267
+ };
10983
11268
  logistics_staff_planning: {
10984
11269
  Row: {
10985
11270
  created_at: string;
@@ -11331,6 +11616,111 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
11331
11616
  };
11332
11617
  Relationships: [];
11333
11618
  };
11619
+ logistics_trace_events: {
11620
+ Row: {
11621
+ actor: string | null;
11622
+ attempts: number;
11623
+ cart_ref: string | null;
11624
+ created_at: string;
11625
+ db_action: string | null;
11626
+ db_new: import("../integrations/supabase/types").Json | null;
11627
+ db_old: import("../integrations/supabase/types").Json | null;
11628
+ db_record: string | null;
11629
+ db_table: string | null;
11630
+ decision: string | null;
11631
+ duration_ms: number | null;
11632
+ error: string | null;
11633
+ external_action: string | null;
11634
+ external_ref: string | null;
11635
+ external_response: import("../integrations/supabase/types").Json | null;
11636
+ external_status: string | null;
11637
+ external_system: string | null;
11638
+ id: string;
11639
+ input: import("../integrations/supabase/types").Json | null;
11640
+ next_attempt_at: string | null;
11641
+ order_ref: string | null;
11642
+ order_source: string | null;
11643
+ output: import("../integrations/supabase/types").Json | null;
11644
+ phase: string;
11645
+ reads: import("../integrations/supabase/types").Json | null;
11646
+ reason: string | null;
11647
+ rule: string | null;
11648
+ slip_ref: string | null;
11649
+ status: string;
11650
+ step: string;
11651
+ trace_id: string;
11652
+ values_used: import("../integrations/supabase/types").Json | null;
11653
+ };
11654
+ Insert: {
11655
+ actor?: string | null;
11656
+ attempts?: number;
11657
+ cart_ref?: string | null;
11658
+ created_at?: string;
11659
+ db_action?: string | null;
11660
+ db_new?: import("../integrations/supabase/types").Json | null;
11661
+ db_old?: import("../integrations/supabase/types").Json | null;
11662
+ db_record?: string | null;
11663
+ db_table?: string | null;
11664
+ decision?: string | null;
11665
+ duration_ms?: number | null;
11666
+ error?: string | null;
11667
+ external_action?: string | null;
11668
+ external_ref?: string | null;
11669
+ external_response?: import("../integrations/supabase/types").Json | null;
11670
+ external_status?: string | null;
11671
+ external_system?: string | null;
11672
+ id?: string;
11673
+ input?: import("../integrations/supabase/types").Json | null;
11674
+ next_attempt_at?: string | null;
11675
+ order_ref?: string | null;
11676
+ order_source?: string | null;
11677
+ output?: import("../integrations/supabase/types").Json | null;
11678
+ phase: string;
11679
+ reads?: import("../integrations/supabase/types").Json | null;
11680
+ reason?: string | null;
11681
+ rule?: string | null;
11682
+ slip_ref?: string | null;
11683
+ status: string;
11684
+ step: string;
11685
+ trace_id?: string;
11686
+ values_used?: import("../integrations/supabase/types").Json | null;
11687
+ };
11688
+ Update: {
11689
+ actor?: string | null;
11690
+ attempts?: number;
11691
+ cart_ref?: string | null;
11692
+ created_at?: string;
11693
+ db_action?: string | null;
11694
+ db_new?: import("../integrations/supabase/types").Json | null;
11695
+ db_old?: import("../integrations/supabase/types").Json | null;
11696
+ db_record?: string | null;
11697
+ db_table?: string | null;
11698
+ decision?: string | null;
11699
+ duration_ms?: number | null;
11700
+ error?: string | null;
11701
+ external_action?: string | null;
11702
+ external_ref?: string | null;
11703
+ external_response?: import("../integrations/supabase/types").Json | null;
11704
+ external_status?: string | null;
11705
+ external_system?: string | null;
11706
+ id?: string;
11707
+ input?: import("../integrations/supabase/types").Json | null;
11708
+ next_attempt_at?: string | null;
11709
+ order_ref?: string | null;
11710
+ order_source?: string | null;
11711
+ output?: import("../integrations/supabase/types").Json | null;
11712
+ phase?: string;
11713
+ reads?: import("../integrations/supabase/types").Json | null;
11714
+ reason?: string | null;
11715
+ rule?: string | null;
11716
+ slip_ref?: string | null;
11717
+ status?: string;
11718
+ step?: string;
11719
+ trace_id?: string;
11720
+ values_used?: import("../integrations/supabase/types").Json | null;
11721
+ };
11722
+ Relationships: [];
11723
+ };
11334
11724
  logistics_variables: {
11335
11725
  Row: {
11336
11726
  created_at: string;
@@ -21903,6 +22293,15 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
21903
22293
  Args: never;
21904
22294
  Returns: boolean;
21905
22295
  };
22296
+ cancel_open_print_jobs: {
22297
+ Args: {
22298
+ _cutoff: string;
22299
+ };
22300
+ Returns: {
22301
+ extern_job_id: string;
22302
+ id: string;
22303
+ }[];
22304
+ };
21906
22305
  check_offer_product_available_stock: {
21907
22306
  Args: {
21908
22307
  p_campaign_product_id: string;
@@ -23515,6 +23914,12 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23515
23914
  };
23516
23915
  Returns: import("../integrations/supabase/types").Json;
23517
23916
  };
23917
+ logistics_cart_plan_status_core: {
23918
+ Args: {
23919
+ p_ref: string;
23920
+ };
23921
+ Returns: import("../integrations/supabase/types").Json;
23922
+ };
23518
23923
  logistics_cart_release_reason: {
23519
23924
  Args: {
23520
23925
  p_cart_id: string;
@@ -23577,6 +23982,10 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23577
23982
  unit_ref: string;
23578
23983
  }[];
23579
23984
  };
23985
+ logistics_carts_per_print: {
23986
+ Args: never;
23987
+ Returns: number;
23988
+ };
23580
23989
  logistics_check_order_allowed: {
23581
23990
  Args: {
23582
23991
  p_lines: import("../integrations/supabase/types").Json;
@@ -23943,6 +24352,12 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23943
24352
  };
23944
24353
  Returns: import("../integrations/supabase/types").Json;
23945
24354
  };
24355
+ logistics_ensure_shipping_notes: {
24356
+ Args: {
24357
+ p_limit?: number;
24358
+ };
24359
+ Returns: import("../integrations/supabase/types").Json;
24360
+ };
23946
24361
  logistics_fail_task: {
23947
24362
  Args: {
23948
24363
  p_error: string;
@@ -23988,6 +24403,10 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23988
24403
  isSetofReturn: false;
23989
24404
  };
23990
24405
  };
24406
+ logistics_fix_wrong_shipping_notes: {
24407
+ Args: never;
24408
+ Returns: import("../integrations/supabase/types").Json;
24409
+ };
23991
24410
  logistics_floriday_cart_plan: {
23992
24411
  Args: {
23993
24412
  p_order_id: string;
@@ -24015,6 +24434,10 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
24015
24434
  revision: number;
24016
24435
  }[];
24017
24436
  };
24437
+ logistics_floriday_delivery_note_create_enabled: {
24438
+ Args: never;
24439
+ Returns: boolean;
24440
+ };
24018
24441
  logistics_floriday_finish_push: {
24019
24442
  Args: {
24020
24443
  _error?: string;
@@ -24258,6 +24681,12 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
24258
24681
  };
24259
24682
  Returns: string;
24260
24683
  };
24684
+ logistics_payload_is_floriday: {
24685
+ Args: {
24686
+ _payload: import("../integrations/supabase/types").Json;
24687
+ };
24688
+ Returns: boolean;
24689
+ };
24261
24690
  logistics_pick_agenda: {
24262
24691
  Args: {
24263
24692
  p_from?: string;
@@ -24380,6 +24809,20 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
24380
24809
  Args: never;
24381
24810
  Returns: undefined;
24382
24811
  };
24812
+ logistics_plan_progress: {
24813
+ Args: {
24814
+ p_refs: string[];
24815
+ };
24816
+ Returns: {
24817
+ cart_plan_ready: boolean;
24818
+ cart_plan_reason: string;
24819
+ cart_plan_released: boolean;
24820
+ plan_progress: number;
24821
+ plan_state: string;
24822
+ plan_state_since: string;
24823
+ unit_ref: string;
24824
+ }[];
24825
+ };
24383
24826
  logistics_plan_prune: {
24384
24827
  Args: never;
24385
24828
  Returns: number;
@@ -24401,6 +24844,12 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
24401
24844
  };
24402
24845
  Returns: number;
24403
24846
  };
24847
+ logistics_plan_state_for: {
24848
+ Args: {
24849
+ p_ref: string;
24850
+ };
24851
+ Returns: import("../integrations/supabase/types").Json;
24852
+ };
24404
24853
  logistics_prepare_pick_documents: {
24405
24854
  Args: {
24406
24855
  p_limit?: number;
@@ -24459,6 +24908,12 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
24459
24908
  };
24460
24909
  Returns: import("../integrations/supabase/types").Json;
24461
24910
  };
24911
+ logistics_refresh_plan_state: {
24912
+ Args: {
24913
+ p_limit?: number;
24914
+ };
24915
+ Returns: import("../integrations/supabase/types").Json;
24916
+ };
24462
24917
  logistics_replan_all: {
24463
24918
  Args: {
24464
24919
  p_reason?: string;
@@ -24627,6 +25082,74 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
24627
25082
  };
24628
25083
  Returns: import("../integrations/supabase/types").Json;
24629
25084
  };
25085
+ logistics_shipping_note_job_for_slip: {
25086
+ Args: {
25087
+ _slip_job_id: string;
25088
+ };
25089
+ Returns: string;
25090
+ };
25091
+ logistics_shipping_notes_wake_all: {
25092
+ Args: never;
25093
+ Returns: import("../integrations/supabase/types").Json;
25094
+ };
25095
+ logistics_slip_is_floriday: {
25096
+ Args: {
25097
+ _slip_job_id: string;
25098
+ };
25099
+ Returns: boolean;
25100
+ };
25101
+ logistics_slip_note_claim: {
25102
+ Args: {
25103
+ _lease_seconds?: number;
25104
+ _limit?: number;
25105
+ };
25106
+ Returns: {
25107
+ attempts: number;
25108
+ batch_key: string | null;
25109
+ cart_id: string | null;
25110
+ created_at: string;
25111
+ error: string | null;
25112
+ error_code: string | null;
25113
+ fulfillment_order_id: string | null;
25114
+ id: string;
25115
+ locked_until: string | null;
25116
+ next_attempt_at: string | null;
25117
+ order_id: string | null;
25118
+ order_number: string | null;
25119
+ print_job_id: string | null;
25120
+ printer_id: string | null;
25121
+ retry_class: string | null;
25122
+ slip_job_id: string;
25123
+ status: string;
25124
+ updated_at: string;
25125
+ }[];
25126
+ SetofOptions: {
25127
+ from: "*";
25128
+ to: "logistics_slip_shipping_note";
25129
+ isOneToOne: false;
25130
+ isSetofReturn: true;
25131
+ };
25132
+ };
25133
+ logistics_slip_note_finish: {
25134
+ Args: {
25135
+ _error?: string;
25136
+ _error_code?: string;
25137
+ _fulfillment_order_id?: string;
25138
+ _id: string;
25139
+ _ok: boolean;
25140
+ _print_job_id?: string;
25141
+ _status?: string;
25142
+ };
25143
+ Returns: undefined;
25144
+ };
25145
+ logistics_slip_note_keep_waiting: {
25146
+ Args: {
25147
+ _class?: string;
25148
+ _id: string;
25149
+ _reason: string;
25150
+ };
25151
+ Returns: undefined;
25152
+ };
24630
25153
  logistics_sticker_follows_slip: {
24631
25154
  Args: never;
24632
25155
  Returns: boolean;
@@ -24681,6 +25204,40 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
24681
25204
  name: string;
24682
25205
  }[];
24683
25206
  };
25207
+ logistics_trace: {
25208
+ Args: {
25209
+ p: import("../integrations/supabase/types").Json;
25210
+ };
25211
+ Returns: string;
25212
+ };
25213
+ logistics_trace_batch: {
25214
+ Args: {
25215
+ p: import("../integrations/supabase/types").Json;
25216
+ };
25217
+ Returns: number;
25218
+ };
25219
+ logistics_trace_orders: {
25220
+ Args: {
25221
+ p_limit?: number;
25222
+ p_search?: string;
25223
+ p_since?: string;
25224
+ p_status?: string;
25225
+ };
25226
+ Returns: import("../integrations/supabase/types").Json;
25227
+ };
25228
+ logistics_trace_redact: {
25229
+ Args: {
25230
+ p: import("../integrations/supabase/types").Json;
25231
+ };
25232
+ Returns: import("../integrations/supabase/types").Json;
25233
+ };
25234
+ logistics_trace_timeline: {
25235
+ Args: {
25236
+ p_limit?: number;
25237
+ p_order_ref: string;
25238
+ };
25239
+ Returns: import("../integrations/supabase/types").Json;
25240
+ };
24684
25241
  logistics_upsert_task: {
24685
25242
  Args: {
24686
25243
  p_buffer_ref: string;
@@ -25722,6 +26279,10 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
25722
26279
  };
25723
26280
  Returns: undefined;
25724
26281
  };
26282
+ prune_floriday_api_log: {
26283
+ Args: never;
26284
+ Returns: number;
26285
+ };
25725
26286
  quote_create_from_source: {
25726
26287
  Args: {
25727
26288
  _payload?: import("../integrations/supabase/types").Json;
@@ -26598,6 +27159,10 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
26598
27159
  Args: never;
26599
27160
  Returns: string;
26600
27161
  };
27162
+ voorraad_cleanup_old_rows: {
27163
+ Args: never;
27164
+ Returns: import("../integrations/supabase/types").Json;
27165
+ };
26601
27166
  wake_print_queue: {
26602
27167
  Args: {
26603
27168
  _min_interval_ms?: number;