@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
@@ -2270,6 +2270,45 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
2270
2270
  };
2271
2271
  Relationships: [];
2272
2272
  };
2273
+ customer_product_stickers: {
2274
+ Row: {
2275
+ created_at: string;
2276
+ customer_key: string;
2277
+ file_name: string;
2278
+ file_path: string;
2279
+ file_size: number | null;
2280
+ id: string;
2281
+ mime_type: string | null;
2282
+ trade_item_key: string;
2283
+ updated_at: string;
2284
+ uploaded_by: string | null;
2285
+ };
2286
+ Insert: {
2287
+ created_at?: string;
2288
+ customer_key: string;
2289
+ file_name: string;
2290
+ file_path: string;
2291
+ file_size?: number | null;
2292
+ id?: string;
2293
+ mime_type?: string | null;
2294
+ trade_item_key: string;
2295
+ updated_at?: string;
2296
+ uploaded_by?: string | null;
2297
+ };
2298
+ Update: {
2299
+ created_at?: string;
2300
+ customer_key?: string;
2301
+ file_name?: string;
2302
+ file_path?: string;
2303
+ file_size?: number | null;
2304
+ id?: string;
2305
+ mime_type?: string | null;
2306
+ trade_item_key?: string;
2307
+ updated_at?: string;
2308
+ uploaded_by?: string | null;
2309
+ };
2310
+ Relationships: [];
2311
+ };
2273
2312
  customer_selected_assortment: {
2274
2313
  Row: {
2275
2314
  article_number: string | null;
@@ -2318,6 +2357,30 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
2318
2357
  referencedColumns: ["id"];
2319
2358
  }];
2320
2359
  };
2360
+ customer_sticker_settings: {
2361
+ Row: {
2362
+ created_at: string;
2363
+ customer_key: string;
2364
+ height_mm: number;
2365
+ updated_at: string;
2366
+ width_mm: number;
2367
+ };
2368
+ Insert: {
2369
+ created_at?: string;
2370
+ customer_key: string;
2371
+ height_mm?: number;
2372
+ updated_at?: string;
2373
+ width_mm?: number;
2374
+ };
2375
+ Update: {
2376
+ created_at?: string;
2377
+ customer_key?: string;
2378
+ height_mm?: number;
2379
+ updated_at?: string;
2380
+ width_mm?: number;
2381
+ };
2382
+ Relationships: [];
2383
+ };
2321
2384
  customer_trade_settings: {
2322
2385
  Row: {
2323
2386
  category: string;
@@ -5648,6 +5711,102 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
5648
5711
  referencedColumns: ["id"];
5649
5712
  }];
5650
5713
  };
5714
+ floriday_api_log: {
5715
+ Row: {
5716
+ action: string | null;
5717
+ caller: string | null;
5718
+ connection_id: string | null;
5719
+ created_at: string;
5720
+ cursor_from: number | null;
5721
+ direction: string;
5722
+ duration_ms: number | null;
5723
+ environment: string | null;
5724
+ error: string | null;
5725
+ floriday_id: string | null;
5726
+ floriday_reference: string | null;
5727
+ http_status: number;
5728
+ id: string;
5729
+ item_count: number | null;
5730
+ kind: string | null;
5731
+ local_id: string | null;
5732
+ local_reference: string | null;
5733
+ method: string;
5734
+ module: string | null;
5735
+ ok: boolean;
5736
+ path: string;
5737
+ request: import("../integrations/supabase/types").Json | null;
5738
+ resource_type: string | null;
5739
+ response: import("../integrations/supabase/types").Json | null;
5740
+ write_log_id: string | null;
5741
+ };
5742
+ Insert: {
5743
+ action?: string | null;
5744
+ caller?: string | null;
5745
+ connection_id?: string | null;
5746
+ created_at?: string;
5747
+ cursor_from?: number | null;
5748
+ direction: string;
5749
+ duration_ms?: number | null;
5750
+ environment?: string | null;
5751
+ error?: string | null;
5752
+ floriday_id?: string | null;
5753
+ floriday_reference?: string | null;
5754
+ http_status?: number;
5755
+ id?: string;
5756
+ item_count?: number | null;
5757
+ kind?: string | null;
5758
+ local_id?: string | null;
5759
+ local_reference?: string | null;
5760
+ method: string;
5761
+ module?: string | null;
5762
+ ok?: boolean;
5763
+ path: string;
5764
+ request?: import("../integrations/supabase/types").Json | null;
5765
+ resource_type?: string | null;
5766
+ response?: import("../integrations/supabase/types").Json | null;
5767
+ write_log_id?: string | null;
5768
+ };
5769
+ Update: {
5770
+ action?: string | null;
5771
+ caller?: string | null;
5772
+ connection_id?: string | null;
5773
+ created_at?: string;
5774
+ cursor_from?: number | null;
5775
+ direction?: string;
5776
+ duration_ms?: number | null;
5777
+ environment?: string | null;
5778
+ error?: string | null;
5779
+ floriday_id?: string | null;
5780
+ floriday_reference?: string | null;
5781
+ http_status?: number;
5782
+ id?: string;
5783
+ item_count?: number | null;
5784
+ kind?: string | null;
5785
+ local_id?: string | null;
5786
+ local_reference?: string | null;
5787
+ method?: string;
5788
+ module?: string | null;
5789
+ ok?: boolean;
5790
+ path?: string;
5791
+ request?: import("../integrations/supabase/types").Json | null;
5792
+ resource_type?: string | null;
5793
+ response?: import("../integrations/supabase/types").Json | null;
5794
+ write_log_id?: string | null;
5795
+ };
5796
+ Relationships: [{
5797
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5798
+ columns: ["connection_id"];
5799
+ isOneToOne: false;
5800
+ referencedRelation: "floriday_connections";
5801
+ referencedColumns: ["id"];
5802
+ }, {
5803
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5804
+ columns: ["write_log_id"];
5805
+ isOneToOne: false;
5806
+ referencedRelation: "floriday_write_log";
5807
+ referencedColumns: ["id"];
5808
+ }];
5809
+ };
5651
5810
  floriday_auction_letters_cache: {
5652
5811
  Row: {
5653
5812
  auction_letter_code: string;
@@ -6848,6 +7007,69 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
6848
7007
  referencedColumns: ["id"];
6849
7008
  }];
6850
7009
  };
7010
+ floriday_link_templates: {
7011
+ Row: {
7012
+ created_at: string;
7013
+ floriday_url_template: string | null;
7014
+ is_active: boolean;
7015
+ label: string;
7016
+ local_url_template: string | null;
7017
+ resource_type: string;
7018
+ updated_at: string;
7019
+ };
7020
+ Insert: {
7021
+ created_at?: string;
7022
+ floriday_url_template?: string | null;
7023
+ is_active?: boolean;
7024
+ label: string;
7025
+ local_url_template?: string | null;
7026
+ resource_type: string;
7027
+ updated_at?: string;
7028
+ };
7029
+ Update: {
7030
+ created_at?: string;
7031
+ floriday_url_template?: string | null;
7032
+ is_active?: boolean;
7033
+ label?: string;
7034
+ local_url_template?: string | null;
7035
+ resource_type?: string;
7036
+ updated_at?: string;
7037
+ };
7038
+ Relationships: [];
7039
+ };
7040
+ floriday_log_retention: {
7041
+ Row: {
7042
+ created_at: string;
7043
+ direction: string | null;
7044
+ id: string;
7045
+ keep_failed_days: number | null;
7046
+ keep_ok_days: number | null;
7047
+ note: string | null;
7048
+ resource_type: string | null;
7049
+ updated_at: string;
7050
+ };
7051
+ Insert: {
7052
+ created_at?: string;
7053
+ direction?: string | null;
7054
+ id?: string;
7055
+ keep_failed_days?: number | null;
7056
+ keep_ok_days?: number | null;
7057
+ note?: string | null;
7058
+ resource_type?: string | null;
7059
+ updated_at?: string;
7060
+ };
7061
+ Update: {
7062
+ created_at?: string;
7063
+ direction?: string | null;
7064
+ id?: string;
7065
+ keep_failed_days?: number | null;
7066
+ keep_ok_days?: number | null;
7067
+ note?: string | null;
7068
+ resource_type?: string | null;
7069
+ updated_at?: string;
7070
+ };
7071
+ Relationships: [];
7072
+ };
6851
7073
  floriday_logistic_labels_cache: {
6852
7074
  Row: {
6853
7075
  byte_size: number | null;
@@ -10973,6 +11195,69 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
10973
11195
  };
10974
11196
  Relationships: [];
10975
11197
  };
11198
+ logistics_slip_shipping_note: {
11199
+ Row: {
11200
+ attempts: number;
11201
+ batch_key: string | null;
11202
+ cart_id: string | null;
11203
+ created_at: string;
11204
+ error: string | null;
11205
+ error_code: string | null;
11206
+ fulfillment_order_id: string | null;
11207
+ id: string;
11208
+ locked_until: string | null;
11209
+ next_attempt_at: string | null;
11210
+ order_id: string | null;
11211
+ order_number: string | null;
11212
+ print_job_id: string | null;
11213
+ printer_id: string | null;
11214
+ retry_class: string | null;
11215
+ slip_job_id: string;
11216
+ status: string;
11217
+ updated_at: string;
11218
+ };
11219
+ Insert: {
11220
+ attempts?: number;
11221
+ batch_key?: string | null;
11222
+ cart_id?: string | null;
11223
+ created_at?: string;
11224
+ error?: string | null;
11225
+ error_code?: string | null;
11226
+ fulfillment_order_id?: string | null;
11227
+ id?: string;
11228
+ locked_until?: string | null;
11229
+ next_attempt_at?: string | null;
11230
+ order_id?: string | null;
11231
+ order_number?: string | null;
11232
+ print_job_id?: string | null;
11233
+ printer_id?: string | null;
11234
+ retry_class?: string | null;
11235
+ slip_job_id: string;
11236
+ status?: string;
11237
+ updated_at?: string;
11238
+ };
11239
+ Update: {
11240
+ attempts?: number;
11241
+ batch_key?: string | null;
11242
+ cart_id?: string | null;
11243
+ created_at?: string;
11244
+ error?: string | null;
11245
+ error_code?: string | null;
11246
+ fulfillment_order_id?: string | null;
11247
+ id?: string;
11248
+ locked_until?: string | null;
11249
+ next_attempt_at?: string | null;
11250
+ order_id?: string | null;
11251
+ order_number?: string | null;
11252
+ print_job_id?: string | null;
11253
+ printer_id?: string | null;
11254
+ retry_class?: string | null;
11255
+ slip_job_id?: string;
11256
+ status?: string;
11257
+ updated_at?: string;
11258
+ };
11259
+ Relationships: [];
11260
+ };
10976
11261
  logistics_staff_planning: {
10977
11262
  Row: {
10978
11263
  created_at: string;
@@ -11324,6 +11609,111 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
11324
11609
  };
11325
11610
  Relationships: [];
11326
11611
  };
11612
+ logistics_trace_events: {
11613
+ Row: {
11614
+ actor: string | null;
11615
+ attempts: number;
11616
+ cart_ref: string | null;
11617
+ created_at: string;
11618
+ db_action: string | null;
11619
+ db_new: import("../integrations/supabase/types").Json | null;
11620
+ db_old: import("../integrations/supabase/types").Json | null;
11621
+ db_record: string | null;
11622
+ db_table: string | null;
11623
+ decision: string | null;
11624
+ duration_ms: number | null;
11625
+ error: string | null;
11626
+ external_action: string | null;
11627
+ external_ref: string | null;
11628
+ external_response: import("../integrations/supabase/types").Json | null;
11629
+ external_status: string | null;
11630
+ external_system: string | null;
11631
+ id: string;
11632
+ input: import("../integrations/supabase/types").Json | null;
11633
+ next_attempt_at: string | null;
11634
+ order_ref: string | null;
11635
+ order_source: string | null;
11636
+ output: import("../integrations/supabase/types").Json | null;
11637
+ phase: string;
11638
+ reads: import("../integrations/supabase/types").Json | null;
11639
+ reason: string | null;
11640
+ rule: string | null;
11641
+ slip_ref: string | null;
11642
+ status: string;
11643
+ step: string;
11644
+ trace_id: string;
11645
+ values_used: import("../integrations/supabase/types").Json | null;
11646
+ };
11647
+ Insert: {
11648
+ actor?: string | null;
11649
+ attempts?: number;
11650
+ cart_ref?: string | null;
11651
+ created_at?: string;
11652
+ db_action?: string | null;
11653
+ db_new?: import("../integrations/supabase/types").Json | null;
11654
+ db_old?: import("../integrations/supabase/types").Json | null;
11655
+ db_record?: string | null;
11656
+ db_table?: string | null;
11657
+ decision?: string | null;
11658
+ duration_ms?: number | null;
11659
+ error?: string | null;
11660
+ external_action?: string | null;
11661
+ external_ref?: string | null;
11662
+ external_response?: import("../integrations/supabase/types").Json | null;
11663
+ external_status?: string | null;
11664
+ external_system?: string | null;
11665
+ id?: string;
11666
+ input?: import("../integrations/supabase/types").Json | null;
11667
+ next_attempt_at?: string | null;
11668
+ order_ref?: string | null;
11669
+ order_source?: string | null;
11670
+ output?: import("../integrations/supabase/types").Json | null;
11671
+ phase: string;
11672
+ reads?: import("../integrations/supabase/types").Json | null;
11673
+ reason?: string | null;
11674
+ rule?: string | null;
11675
+ slip_ref?: string | null;
11676
+ status: string;
11677
+ step: string;
11678
+ trace_id?: string;
11679
+ values_used?: import("../integrations/supabase/types").Json | null;
11680
+ };
11681
+ Update: {
11682
+ actor?: string | null;
11683
+ attempts?: number;
11684
+ cart_ref?: string | null;
11685
+ created_at?: string;
11686
+ db_action?: string | null;
11687
+ db_new?: import("../integrations/supabase/types").Json | null;
11688
+ db_old?: import("../integrations/supabase/types").Json | null;
11689
+ db_record?: string | null;
11690
+ db_table?: string | null;
11691
+ decision?: string | null;
11692
+ duration_ms?: number | null;
11693
+ error?: string | null;
11694
+ external_action?: string | null;
11695
+ external_ref?: string | null;
11696
+ external_response?: import("../integrations/supabase/types").Json | null;
11697
+ external_status?: string | null;
11698
+ external_system?: string | null;
11699
+ id?: string;
11700
+ input?: import("../integrations/supabase/types").Json | null;
11701
+ next_attempt_at?: string | null;
11702
+ order_ref?: string | null;
11703
+ order_source?: string | null;
11704
+ output?: import("../integrations/supabase/types").Json | null;
11705
+ phase?: string;
11706
+ reads?: import("../integrations/supabase/types").Json | null;
11707
+ reason?: string | null;
11708
+ rule?: string | null;
11709
+ slip_ref?: string | null;
11710
+ status?: string;
11711
+ step?: string;
11712
+ trace_id?: string;
11713
+ values_used?: import("../integrations/supabase/types").Json | null;
11714
+ };
11715
+ Relationships: [];
11716
+ };
11327
11717
  logistics_variables: {
11328
11718
  Row: {
11329
11719
  created_at: string;
@@ -21896,6 +22286,15 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
21896
22286
  Args: never;
21897
22287
  Returns: boolean;
21898
22288
  };
22289
+ cancel_open_print_jobs: {
22290
+ Args: {
22291
+ _cutoff: string;
22292
+ };
22293
+ Returns: {
22294
+ extern_job_id: string;
22295
+ id: string;
22296
+ }[];
22297
+ };
21899
22298
  check_offer_product_available_stock: {
21900
22299
  Args: {
21901
22300
  p_campaign_product_id: string;
@@ -23508,6 +23907,12 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
23508
23907
  };
23509
23908
  Returns: import("../integrations/supabase/types").Json;
23510
23909
  };
23910
+ logistics_cart_plan_status_core: {
23911
+ Args: {
23912
+ p_ref: string;
23913
+ };
23914
+ Returns: import("../integrations/supabase/types").Json;
23915
+ };
23511
23916
  logistics_cart_release_reason: {
23512
23917
  Args: {
23513
23918
  p_cart_id: string;
@@ -23570,6 +23975,10 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
23570
23975
  unit_ref: string;
23571
23976
  }[];
23572
23977
  };
23978
+ logistics_carts_per_print: {
23979
+ Args: never;
23980
+ Returns: number;
23981
+ };
23573
23982
  logistics_check_order_allowed: {
23574
23983
  Args: {
23575
23984
  p_lines: import("../integrations/supabase/types").Json;
@@ -23936,6 +24345,12 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
23936
24345
  };
23937
24346
  Returns: import("../integrations/supabase/types").Json;
23938
24347
  };
24348
+ logistics_ensure_shipping_notes: {
24349
+ Args: {
24350
+ p_limit?: number;
24351
+ };
24352
+ Returns: import("../integrations/supabase/types").Json;
24353
+ };
23939
24354
  logistics_fail_task: {
23940
24355
  Args: {
23941
24356
  p_error: string;
@@ -23981,6 +24396,10 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
23981
24396
  isSetofReturn: false;
23982
24397
  };
23983
24398
  };
24399
+ logistics_fix_wrong_shipping_notes: {
24400
+ Args: never;
24401
+ Returns: import("../integrations/supabase/types").Json;
24402
+ };
23984
24403
  logistics_floriday_cart_plan: {
23985
24404
  Args: {
23986
24405
  p_order_id: string;
@@ -24008,6 +24427,10 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
24008
24427
  revision: number;
24009
24428
  }[];
24010
24429
  };
24430
+ logistics_floriday_delivery_note_create_enabled: {
24431
+ Args: never;
24432
+ Returns: boolean;
24433
+ };
24011
24434
  logistics_floriday_finish_push: {
24012
24435
  Args: {
24013
24436
  _error?: string;
@@ -24251,6 +24674,12 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
24251
24674
  };
24252
24675
  Returns: string;
24253
24676
  };
24677
+ logistics_payload_is_floriday: {
24678
+ Args: {
24679
+ _payload: import("../integrations/supabase/types").Json;
24680
+ };
24681
+ Returns: boolean;
24682
+ };
24254
24683
  logistics_pick_agenda: {
24255
24684
  Args: {
24256
24685
  p_from?: string;
@@ -24373,6 +24802,20 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
24373
24802
  Args: never;
24374
24803
  Returns: undefined;
24375
24804
  };
24805
+ logistics_plan_progress: {
24806
+ Args: {
24807
+ p_refs: string[];
24808
+ };
24809
+ Returns: {
24810
+ cart_plan_ready: boolean;
24811
+ cart_plan_reason: string;
24812
+ cart_plan_released: boolean;
24813
+ plan_progress: number;
24814
+ plan_state: string;
24815
+ plan_state_since: string;
24816
+ unit_ref: string;
24817
+ }[];
24818
+ };
24376
24819
  logistics_plan_prune: {
24377
24820
  Args: never;
24378
24821
  Returns: number;
@@ -24394,6 +24837,12 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
24394
24837
  };
24395
24838
  Returns: number;
24396
24839
  };
24840
+ logistics_plan_state_for: {
24841
+ Args: {
24842
+ p_ref: string;
24843
+ };
24844
+ Returns: import("../integrations/supabase/types").Json;
24845
+ };
24397
24846
  logistics_prepare_pick_documents: {
24398
24847
  Args: {
24399
24848
  p_limit?: number;
@@ -24452,6 +24901,12 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
24452
24901
  };
24453
24902
  Returns: import("../integrations/supabase/types").Json;
24454
24903
  };
24904
+ logistics_refresh_plan_state: {
24905
+ Args: {
24906
+ p_limit?: number;
24907
+ };
24908
+ Returns: import("../integrations/supabase/types").Json;
24909
+ };
24455
24910
  logistics_replan_all: {
24456
24911
  Args: {
24457
24912
  p_reason?: string;
@@ -24620,6 +25075,74 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
24620
25075
  };
24621
25076
  Returns: import("../integrations/supabase/types").Json;
24622
25077
  };
25078
+ logistics_shipping_note_job_for_slip: {
25079
+ Args: {
25080
+ _slip_job_id: string;
25081
+ };
25082
+ Returns: string;
25083
+ };
25084
+ logistics_shipping_notes_wake_all: {
25085
+ Args: never;
25086
+ Returns: import("../integrations/supabase/types").Json;
25087
+ };
25088
+ logistics_slip_is_floriday: {
25089
+ Args: {
25090
+ _slip_job_id: string;
25091
+ };
25092
+ Returns: boolean;
25093
+ };
25094
+ logistics_slip_note_claim: {
25095
+ Args: {
25096
+ _lease_seconds?: number;
25097
+ _limit?: number;
25098
+ };
25099
+ Returns: {
25100
+ attempts: number;
25101
+ batch_key: string | null;
25102
+ cart_id: string | null;
25103
+ created_at: string;
25104
+ error: string | null;
25105
+ error_code: string | null;
25106
+ fulfillment_order_id: string | null;
25107
+ id: string;
25108
+ locked_until: string | null;
25109
+ next_attempt_at: string | null;
25110
+ order_id: string | null;
25111
+ order_number: string | null;
25112
+ print_job_id: string | null;
25113
+ printer_id: string | null;
25114
+ retry_class: string | null;
25115
+ slip_job_id: string;
25116
+ status: string;
25117
+ updated_at: string;
25118
+ }[];
25119
+ SetofOptions: {
25120
+ from: "*";
25121
+ to: "logistics_slip_shipping_note";
25122
+ isOneToOne: false;
25123
+ isSetofReturn: true;
25124
+ };
25125
+ };
25126
+ logistics_slip_note_finish: {
25127
+ Args: {
25128
+ _error?: string;
25129
+ _error_code?: string;
25130
+ _fulfillment_order_id?: string;
25131
+ _id: string;
25132
+ _ok: boolean;
25133
+ _print_job_id?: string;
25134
+ _status?: string;
25135
+ };
25136
+ Returns: undefined;
25137
+ };
25138
+ logistics_slip_note_keep_waiting: {
25139
+ Args: {
25140
+ _class?: string;
25141
+ _id: string;
25142
+ _reason: string;
25143
+ };
25144
+ Returns: undefined;
25145
+ };
24623
25146
  logistics_sticker_follows_slip: {
24624
25147
  Args: never;
24625
25148
  Returns: boolean;
@@ -24674,6 +25197,40 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
24674
25197
  name: string;
24675
25198
  }[];
24676
25199
  };
25200
+ logistics_trace: {
25201
+ Args: {
25202
+ p: import("../integrations/supabase/types").Json;
25203
+ };
25204
+ Returns: string;
25205
+ };
25206
+ logistics_trace_batch: {
25207
+ Args: {
25208
+ p: import("../integrations/supabase/types").Json;
25209
+ };
25210
+ Returns: number;
25211
+ };
25212
+ logistics_trace_orders: {
25213
+ Args: {
25214
+ p_limit?: number;
25215
+ p_search?: string;
25216
+ p_since?: string;
25217
+ p_status?: string;
25218
+ };
25219
+ Returns: import("../integrations/supabase/types").Json;
25220
+ };
25221
+ logistics_trace_redact: {
25222
+ Args: {
25223
+ p: import("../integrations/supabase/types").Json;
25224
+ };
25225
+ Returns: import("../integrations/supabase/types").Json;
25226
+ };
25227
+ logistics_trace_timeline: {
25228
+ Args: {
25229
+ p_limit?: number;
25230
+ p_order_ref: string;
25231
+ };
25232
+ Returns: import("../integrations/supabase/types").Json;
25233
+ };
24677
25234
  logistics_upsert_task: {
24678
25235
  Args: {
24679
25236
  p_buffer_ref: string;
@@ -25715,6 +26272,10 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
25715
26272
  };
25716
26273
  Returns: undefined;
25717
26274
  };
26275
+ prune_floriday_api_log: {
26276
+ Args: never;
26277
+ Returns: number;
26278
+ };
25718
26279
  quote_create_from_source: {
25719
26280
  Args: {
25720
26281
  _payload?: import("../integrations/supabase/types").Json;
@@ -26591,6 +27152,10 @@ export declare const listCustomerAssortment: import("@tanstack/start-client-core
26591
27152
  Args: never;
26592
27153
  Returns: string;
26593
27154
  };
27155
+ voorraad_cleanup_old_rows: {
27156
+ Args: never;
27157
+ Returns: import("../integrations/supabase/types").Json;
27158
+ };
26594
27159
  wake_print_queue: {
26595
27160
  Args: {
26596
27161
  _min_interval_ms?: number;