@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
@@ -2248,6 +2248,45 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
2248
2248
  };
2249
2249
  Relationships: [];
2250
2250
  };
2251
+ customer_product_stickers: {
2252
+ Row: {
2253
+ created_at: string;
2254
+ customer_key: string;
2255
+ file_name: string;
2256
+ file_path: string;
2257
+ file_size: number | null;
2258
+ id: string;
2259
+ mime_type: string | null;
2260
+ trade_item_key: string;
2261
+ updated_at: string;
2262
+ uploaded_by: string | null;
2263
+ };
2264
+ Insert: {
2265
+ created_at?: string;
2266
+ customer_key: string;
2267
+ file_name: string;
2268
+ file_path: string;
2269
+ file_size?: number | null;
2270
+ id?: string;
2271
+ mime_type?: string | null;
2272
+ trade_item_key: string;
2273
+ updated_at?: string;
2274
+ uploaded_by?: string | null;
2275
+ };
2276
+ Update: {
2277
+ created_at?: string;
2278
+ customer_key?: string;
2279
+ file_name?: string;
2280
+ file_path?: string;
2281
+ file_size?: number | null;
2282
+ id?: string;
2283
+ mime_type?: string | null;
2284
+ trade_item_key?: string;
2285
+ updated_at?: string;
2286
+ uploaded_by?: string | null;
2287
+ };
2288
+ Relationships: [];
2289
+ };
2251
2290
  customer_selected_assortment: {
2252
2291
  Row: {
2253
2292
  article_number: string | null;
@@ -2296,6 +2335,30 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
2296
2335
  referencedColumns: ["id"];
2297
2336
  }];
2298
2337
  };
2338
+ customer_sticker_settings: {
2339
+ Row: {
2340
+ created_at: string;
2341
+ customer_key: string;
2342
+ height_mm: number;
2343
+ updated_at: string;
2344
+ width_mm: number;
2345
+ };
2346
+ Insert: {
2347
+ created_at?: string;
2348
+ customer_key: string;
2349
+ height_mm?: number;
2350
+ updated_at?: string;
2351
+ width_mm?: number;
2352
+ };
2353
+ Update: {
2354
+ created_at?: string;
2355
+ customer_key?: string;
2356
+ height_mm?: number;
2357
+ updated_at?: string;
2358
+ width_mm?: number;
2359
+ };
2360
+ Relationships: [];
2361
+ };
2299
2362
  customer_trade_settings: {
2300
2363
  Row: {
2301
2364
  category: string;
@@ -5626,6 +5689,102 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
5626
5689
  referencedColumns: ["id"];
5627
5690
  }];
5628
5691
  };
5692
+ floriday_api_log: {
5693
+ Row: {
5694
+ action: string | null;
5695
+ caller: string | null;
5696
+ connection_id: string | null;
5697
+ created_at: string;
5698
+ cursor_from: number | null;
5699
+ direction: string;
5700
+ duration_ms: number | null;
5701
+ environment: string | null;
5702
+ error: string | null;
5703
+ floriday_id: string | null;
5704
+ floriday_reference: string | null;
5705
+ http_status: number;
5706
+ id: string;
5707
+ item_count: number | null;
5708
+ kind: string | null;
5709
+ local_id: string | null;
5710
+ local_reference: string | null;
5711
+ method: string;
5712
+ module: string | null;
5713
+ ok: boolean;
5714
+ path: string;
5715
+ request: import("../integrations/supabase/types").Json | null;
5716
+ resource_type: string | null;
5717
+ response: import("../integrations/supabase/types").Json | null;
5718
+ write_log_id: string | null;
5719
+ };
5720
+ Insert: {
5721
+ action?: string | null;
5722
+ caller?: string | null;
5723
+ connection_id?: string | null;
5724
+ created_at?: string;
5725
+ cursor_from?: number | null;
5726
+ direction: string;
5727
+ duration_ms?: number | null;
5728
+ environment?: string | null;
5729
+ error?: string | null;
5730
+ floriday_id?: string | null;
5731
+ floriday_reference?: string | null;
5732
+ http_status?: number;
5733
+ id?: string;
5734
+ item_count?: number | null;
5735
+ kind?: string | null;
5736
+ local_id?: string | null;
5737
+ local_reference?: string | null;
5738
+ method: string;
5739
+ module?: string | null;
5740
+ ok?: boolean;
5741
+ path: string;
5742
+ request?: import("../integrations/supabase/types").Json | null;
5743
+ resource_type?: string | null;
5744
+ response?: import("../integrations/supabase/types").Json | null;
5745
+ write_log_id?: string | null;
5746
+ };
5747
+ Update: {
5748
+ action?: string | null;
5749
+ caller?: string | null;
5750
+ connection_id?: string | null;
5751
+ created_at?: string;
5752
+ cursor_from?: number | null;
5753
+ direction?: string;
5754
+ duration_ms?: number | null;
5755
+ environment?: string | null;
5756
+ error?: string | null;
5757
+ floriday_id?: string | null;
5758
+ floriday_reference?: string | null;
5759
+ http_status?: number;
5760
+ id?: string;
5761
+ item_count?: number | null;
5762
+ kind?: string | null;
5763
+ local_id?: string | null;
5764
+ local_reference?: string | null;
5765
+ method?: string;
5766
+ module?: string | null;
5767
+ ok?: boolean;
5768
+ path?: string;
5769
+ request?: import("../integrations/supabase/types").Json | null;
5770
+ resource_type?: string | null;
5771
+ response?: import("../integrations/supabase/types").Json | null;
5772
+ write_log_id?: string | null;
5773
+ };
5774
+ Relationships: [{
5775
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5776
+ columns: ["connection_id"];
5777
+ isOneToOne: false;
5778
+ referencedRelation: "floriday_connections";
5779
+ referencedColumns: ["id"];
5780
+ }, {
5781
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5782
+ columns: ["write_log_id"];
5783
+ isOneToOne: false;
5784
+ referencedRelation: "floriday_write_log";
5785
+ referencedColumns: ["id"];
5786
+ }];
5787
+ };
5629
5788
  floriday_auction_letters_cache: {
5630
5789
  Row: {
5631
5790
  auction_letter_code: string;
@@ -6826,6 +6985,69 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
6826
6985
  referencedColumns: ["id"];
6827
6986
  }];
6828
6987
  };
6988
+ floriday_link_templates: {
6989
+ Row: {
6990
+ created_at: string;
6991
+ floriday_url_template: string | null;
6992
+ is_active: boolean;
6993
+ label: string;
6994
+ local_url_template: string | null;
6995
+ resource_type: string;
6996
+ updated_at: string;
6997
+ };
6998
+ Insert: {
6999
+ created_at?: string;
7000
+ floriday_url_template?: string | null;
7001
+ is_active?: boolean;
7002
+ label: string;
7003
+ local_url_template?: string | null;
7004
+ resource_type: string;
7005
+ updated_at?: string;
7006
+ };
7007
+ Update: {
7008
+ created_at?: string;
7009
+ floriday_url_template?: string | null;
7010
+ is_active?: boolean;
7011
+ label?: string;
7012
+ local_url_template?: string | null;
7013
+ resource_type?: string;
7014
+ updated_at?: string;
7015
+ };
7016
+ Relationships: [];
7017
+ };
7018
+ floriday_log_retention: {
7019
+ Row: {
7020
+ created_at: string;
7021
+ direction: string | null;
7022
+ id: string;
7023
+ keep_failed_days: number | null;
7024
+ keep_ok_days: number | null;
7025
+ note: string | null;
7026
+ resource_type: string | null;
7027
+ updated_at: string;
7028
+ };
7029
+ Insert: {
7030
+ created_at?: string;
7031
+ direction?: string | null;
7032
+ id?: string;
7033
+ keep_failed_days?: number | null;
7034
+ keep_ok_days?: number | null;
7035
+ note?: string | null;
7036
+ resource_type?: string | null;
7037
+ updated_at?: string;
7038
+ };
7039
+ Update: {
7040
+ created_at?: string;
7041
+ direction?: string | null;
7042
+ id?: string;
7043
+ keep_failed_days?: number | null;
7044
+ keep_ok_days?: number | null;
7045
+ note?: string | null;
7046
+ resource_type?: string | null;
7047
+ updated_at?: string;
7048
+ };
7049
+ Relationships: [];
7050
+ };
6829
7051
  floriday_logistic_labels_cache: {
6830
7052
  Row: {
6831
7053
  byte_size: number | null;
@@ -10951,6 +11173,69 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
10951
11173
  };
10952
11174
  Relationships: [];
10953
11175
  };
11176
+ logistics_slip_shipping_note: {
11177
+ Row: {
11178
+ attempts: number;
11179
+ batch_key: string | null;
11180
+ cart_id: string | null;
11181
+ created_at: string;
11182
+ error: string | null;
11183
+ error_code: string | null;
11184
+ fulfillment_order_id: string | null;
11185
+ id: string;
11186
+ locked_until: string | null;
11187
+ next_attempt_at: string | null;
11188
+ order_id: string | null;
11189
+ order_number: string | null;
11190
+ print_job_id: string | null;
11191
+ printer_id: string | null;
11192
+ retry_class: string | null;
11193
+ slip_job_id: string;
11194
+ status: string;
11195
+ updated_at: string;
11196
+ };
11197
+ Insert: {
11198
+ attempts?: number;
11199
+ batch_key?: string | null;
11200
+ cart_id?: string | null;
11201
+ created_at?: string;
11202
+ error?: string | null;
11203
+ error_code?: string | null;
11204
+ fulfillment_order_id?: string | null;
11205
+ id?: string;
11206
+ locked_until?: string | null;
11207
+ next_attempt_at?: string | null;
11208
+ order_id?: string | null;
11209
+ order_number?: string | null;
11210
+ print_job_id?: string | null;
11211
+ printer_id?: string | null;
11212
+ retry_class?: string | null;
11213
+ slip_job_id: string;
11214
+ status?: string;
11215
+ updated_at?: string;
11216
+ };
11217
+ Update: {
11218
+ attempts?: number;
11219
+ batch_key?: string | null;
11220
+ cart_id?: string | null;
11221
+ created_at?: string;
11222
+ error?: string | null;
11223
+ error_code?: string | null;
11224
+ fulfillment_order_id?: string | null;
11225
+ id?: string;
11226
+ locked_until?: string | null;
11227
+ next_attempt_at?: string | null;
11228
+ order_id?: string | null;
11229
+ order_number?: string | null;
11230
+ print_job_id?: string | null;
11231
+ printer_id?: string | null;
11232
+ retry_class?: string | null;
11233
+ slip_job_id?: string;
11234
+ status?: string;
11235
+ updated_at?: string;
11236
+ };
11237
+ Relationships: [];
11238
+ };
10954
11239
  logistics_staff_planning: {
10955
11240
  Row: {
10956
11241
  created_at: string;
@@ -11302,6 +11587,111 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
11302
11587
  };
11303
11588
  Relationships: [];
11304
11589
  };
11590
+ logistics_trace_events: {
11591
+ Row: {
11592
+ actor: string | null;
11593
+ attempts: number;
11594
+ cart_ref: string | null;
11595
+ created_at: string;
11596
+ db_action: string | null;
11597
+ db_new: import("../integrations/supabase/types").Json | null;
11598
+ db_old: import("../integrations/supabase/types").Json | null;
11599
+ db_record: string | null;
11600
+ db_table: string | null;
11601
+ decision: string | null;
11602
+ duration_ms: number | null;
11603
+ error: string | null;
11604
+ external_action: string | null;
11605
+ external_ref: string | null;
11606
+ external_response: import("../integrations/supabase/types").Json | null;
11607
+ external_status: string | null;
11608
+ external_system: string | null;
11609
+ id: string;
11610
+ input: import("../integrations/supabase/types").Json | null;
11611
+ next_attempt_at: string | null;
11612
+ order_ref: string | null;
11613
+ order_source: string | null;
11614
+ output: import("../integrations/supabase/types").Json | null;
11615
+ phase: string;
11616
+ reads: import("../integrations/supabase/types").Json | null;
11617
+ reason: string | null;
11618
+ rule: string | null;
11619
+ slip_ref: string | null;
11620
+ status: string;
11621
+ step: string;
11622
+ trace_id: string;
11623
+ values_used: import("../integrations/supabase/types").Json | null;
11624
+ };
11625
+ Insert: {
11626
+ actor?: string | null;
11627
+ attempts?: number;
11628
+ cart_ref?: string | null;
11629
+ created_at?: string;
11630
+ db_action?: string | null;
11631
+ db_new?: import("../integrations/supabase/types").Json | null;
11632
+ db_old?: import("../integrations/supabase/types").Json | null;
11633
+ db_record?: string | null;
11634
+ db_table?: string | null;
11635
+ decision?: string | null;
11636
+ duration_ms?: number | null;
11637
+ error?: string | null;
11638
+ external_action?: string | null;
11639
+ external_ref?: string | null;
11640
+ external_response?: import("../integrations/supabase/types").Json | null;
11641
+ external_status?: string | null;
11642
+ external_system?: string | null;
11643
+ id?: string;
11644
+ input?: import("../integrations/supabase/types").Json | null;
11645
+ next_attempt_at?: string | null;
11646
+ order_ref?: string | null;
11647
+ order_source?: string | null;
11648
+ output?: import("../integrations/supabase/types").Json | null;
11649
+ phase: string;
11650
+ reads?: import("../integrations/supabase/types").Json | null;
11651
+ reason?: string | null;
11652
+ rule?: string | null;
11653
+ slip_ref?: string | null;
11654
+ status: string;
11655
+ step: string;
11656
+ trace_id?: string;
11657
+ values_used?: import("../integrations/supabase/types").Json | null;
11658
+ };
11659
+ Update: {
11660
+ actor?: string | null;
11661
+ attempts?: number;
11662
+ cart_ref?: string | null;
11663
+ created_at?: string;
11664
+ db_action?: string | null;
11665
+ db_new?: import("../integrations/supabase/types").Json | null;
11666
+ db_old?: import("../integrations/supabase/types").Json | null;
11667
+ db_record?: string | null;
11668
+ db_table?: string | null;
11669
+ decision?: string | null;
11670
+ duration_ms?: number | null;
11671
+ error?: string | null;
11672
+ external_action?: string | null;
11673
+ external_ref?: string | null;
11674
+ external_response?: import("../integrations/supabase/types").Json | null;
11675
+ external_status?: string | null;
11676
+ external_system?: string | null;
11677
+ id?: string;
11678
+ input?: import("../integrations/supabase/types").Json | null;
11679
+ next_attempt_at?: string | null;
11680
+ order_ref?: string | null;
11681
+ order_source?: string | null;
11682
+ output?: import("../integrations/supabase/types").Json | null;
11683
+ phase?: string;
11684
+ reads?: import("../integrations/supabase/types").Json | null;
11685
+ reason?: string | null;
11686
+ rule?: string | null;
11687
+ slip_ref?: string | null;
11688
+ status?: string;
11689
+ step?: string;
11690
+ trace_id?: string;
11691
+ values_used?: import("../integrations/supabase/types").Json | null;
11692
+ };
11693
+ Relationships: [];
11694
+ };
11305
11695
  logistics_variables: {
11306
11696
  Row: {
11307
11697
  created_at: string;
@@ -21874,6 +22264,15 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
21874
22264
  Args: never;
21875
22265
  Returns: boolean;
21876
22266
  };
22267
+ cancel_open_print_jobs: {
22268
+ Args: {
22269
+ _cutoff: string;
22270
+ };
22271
+ Returns: {
22272
+ extern_job_id: string;
22273
+ id: string;
22274
+ }[];
22275
+ };
21877
22276
  check_offer_product_available_stock: {
21878
22277
  Args: {
21879
22278
  p_campaign_product_id: string;
@@ -23486,6 +23885,12 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
23486
23885
  };
23487
23886
  Returns: import("../integrations/supabase/types").Json;
23488
23887
  };
23888
+ logistics_cart_plan_status_core: {
23889
+ Args: {
23890
+ p_ref: string;
23891
+ };
23892
+ Returns: import("../integrations/supabase/types").Json;
23893
+ };
23489
23894
  logistics_cart_release_reason: {
23490
23895
  Args: {
23491
23896
  p_cart_id: string;
@@ -23548,6 +23953,10 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
23548
23953
  unit_ref: string;
23549
23954
  }[];
23550
23955
  };
23956
+ logistics_carts_per_print: {
23957
+ Args: never;
23958
+ Returns: number;
23959
+ };
23551
23960
  logistics_check_order_allowed: {
23552
23961
  Args: {
23553
23962
  p_lines: import("../integrations/supabase/types").Json;
@@ -23914,6 +24323,12 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
23914
24323
  };
23915
24324
  Returns: import("../integrations/supabase/types").Json;
23916
24325
  };
24326
+ logistics_ensure_shipping_notes: {
24327
+ Args: {
24328
+ p_limit?: number;
24329
+ };
24330
+ Returns: import("../integrations/supabase/types").Json;
24331
+ };
23917
24332
  logistics_fail_task: {
23918
24333
  Args: {
23919
24334
  p_error: string;
@@ -23959,6 +24374,10 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
23959
24374
  isSetofReturn: false;
23960
24375
  };
23961
24376
  };
24377
+ logistics_fix_wrong_shipping_notes: {
24378
+ Args: never;
24379
+ Returns: import("../integrations/supabase/types").Json;
24380
+ };
23962
24381
  logistics_floriday_cart_plan: {
23963
24382
  Args: {
23964
24383
  p_order_id: string;
@@ -23986,6 +24405,10 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
23986
24405
  revision: number;
23987
24406
  }[];
23988
24407
  };
24408
+ logistics_floriday_delivery_note_create_enabled: {
24409
+ Args: never;
24410
+ Returns: boolean;
24411
+ };
23989
24412
  logistics_floriday_finish_push: {
23990
24413
  Args: {
23991
24414
  _error?: string;
@@ -24229,6 +24652,12 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
24229
24652
  };
24230
24653
  Returns: string;
24231
24654
  };
24655
+ logistics_payload_is_floriday: {
24656
+ Args: {
24657
+ _payload: import("../integrations/supabase/types").Json;
24658
+ };
24659
+ Returns: boolean;
24660
+ };
24232
24661
  logistics_pick_agenda: {
24233
24662
  Args: {
24234
24663
  p_from?: string;
@@ -24351,6 +24780,20 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
24351
24780
  Args: never;
24352
24781
  Returns: undefined;
24353
24782
  };
24783
+ logistics_plan_progress: {
24784
+ Args: {
24785
+ p_refs: string[];
24786
+ };
24787
+ Returns: {
24788
+ cart_plan_ready: boolean;
24789
+ cart_plan_reason: string;
24790
+ cart_plan_released: boolean;
24791
+ plan_progress: number;
24792
+ plan_state: string;
24793
+ plan_state_since: string;
24794
+ unit_ref: string;
24795
+ }[];
24796
+ };
24354
24797
  logistics_plan_prune: {
24355
24798
  Args: never;
24356
24799
  Returns: number;
@@ -24372,6 +24815,12 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
24372
24815
  };
24373
24816
  Returns: number;
24374
24817
  };
24818
+ logistics_plan_state_for: {
24819
+ Args: {
24820
+ p_ref: string;
24821
+ };
24822
+ Returns: import("../integrations/supabase/types").Json;
24823
+ };
24375
24824
  logistics_prepare_pick_documents: {
24376
24825
  Args: {
24377
24826
  p_limit?: number;
@@ -24430,6 +24879,12 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
24430
24879
  };
24431
24880
  Returns: import("../integrations/supabase/types").Json;
24432
24881
  };
24882
+ logistics_refresh_plan_state: {
24883
+ Args: {
24884
+ p_limit?: number;
24885
+ };
24886
+ Returns: import("../integrations/supabase/types").Json;
24887
+ };
24433
24888
  logistics_replan_all: {
24434
24889
  Args: {
24435
24890
  p_reason?: string;
@@ -24598,6 +25053,74 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
24598
25053
  };
24599
25054
  Returns: import("../integrations/supabase/types").Json;
24600
25055
  };
25056
+ logistics_shipping_note_job_for_slip: {
25057
+ Args: {
25058
+ _slip_job_id: string;
25059
+ };
25060
+ Returns: string;
25061
+ };
25062
+ logistics_shipping_notes_wake_all: {
25063
+ Args: never;
25064
+ Returns: import("../integrations/supabase/types").Json;
25065
+ };
25066
+ logistics_slip_is_floriday: {
25067
+ Args: {
25068
+ _slip_job_id: string;
25069
+ };
25070
+ Returns: boolean;
25071
+ };
25072
+ logistics_slip_note_claim: {
25073
+ Args: {
25074
+ _lease_seconds?: number;
25075
+ _limit?: number;
25076
+ };
25077
+ Returns: {
25078
+ attempts: number;
25079
+ batch_key: string | null;
25080
+ cart_id: string | null;
25081
+ created_at: string;
25082
+ error: string | null;
25083
+ error_code: string | null;
25084
+ fulfillment_order_id: string | null;
25085
+ id: string;
25086
+ locked_until: string | null;
25087
+ next_attempt_at: string | null;
25088
+ order_id: string | null;
25089
+ order_number: string | null;
25090
+ print_job_id: string | null;
25091
+ printer_id: string | null;
25092
+ retry_class: string | null;
25093
+ slip_job_id: string;
25094
+ status: string;
25095
+ updated_at: string;
25096
+ }[];
25097
+ SetofOptions: {
25098
+ from: "*";
25099
+ to: "logistics_slip_shipping_note";
25100
+ isOneToOne: false;
25101
+ isSetofReturn: true;
25102
+ };
25103
+ };
25104
+ logistics_slip_note_finish: {
25105
+ Args: {
25106
+ _error?: string;
25107
+ _error_code?: string;
25108
+ _fulfillment_order_id?: string;
25109
+ _id: string;
25110
+ _ok: boolean;
25111
+ _print_job_id?: string;
25112
+ _status?: string;
25113
+ };
25114
+ Returns: undefined;
25115
+ };
25116
+ logistics_slip_note_keep_waiting: {
25117
+ Args: {
25118
+ _class?: string;
25119
+ _id: string;
25120
+ _reason: string;
25121
+ };
25122
+ Returns: undefined;
25123
+ };
24601
25124
  logistics_sticker_follows_slip: {
24602
25125
  Args: never;
24603
25126
  Returns: boolean;
@@ -24652,6 +25175,40 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
24652
25175
  name: string;
24653
25176
  }[];
24654
25177
  };
25178
+ logistics_trace: {
25179
+ Args: {
25180
+ p: import("../integrations/supabase/types").Json;
25181
+ };
25182
+ Returns: string;
25183
+ };
25184
+ logistics_trace_batch: {
25185
+ Args: {
25186
+ p: import("../integrations/supabase/types").Json;
25187
+ };
25188
+ Returns: number;
25189
+ };
25190
+ logistics_trace_orders: {
25191
+ Args: {
25192
+ p_limit?: number;
25193
+ p_search?: string;
25194
+ p_since?: string;
25195
+ p_status?: string;
25196
+ };
25197
+ Returns: import("../integrations/supabase/types").Json;
25198
+ };
25199
+ logistics_trace_redact: {
25200
+ Args: {
25201
+ p: import("../integrations/supabase/types").Json;
25202
+ };
25203
+ Returns: import("../integrations/supabase/types").Json;
25204
+ };
25205
+ logistics_trace_timeline: {
25206
+ Args: {
25207
+ p_limit?: number;
25208
+ p_order_ref: string;
25209
+ };
25210
+ Returns: import("../integrations/supabase/types").Json;
25211
+ };
24655
25212
  logistics_upsert_task: {
24656
25213
  Args: {
24657
25214
  p_buffer_ref: string;
@@ -25693,6 +26250,10 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
25693
26250
  };
25694
26251
  Returns: undefined;
25695
26252
  };
26253
+ prune_floriday_api_log: {
26254
+ Args: never;
26255
+ Returns: number;
26256
+ };
25696
26257
  quote_create_from_source: {
25697
26258
  Args: {
25698
26259
  _payload?: import("../integrations/supabase/types").Json;
@@ -26569,6 +27130,10 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
26569
27130
  Args: never;
26570
27131
  Returns: string;
26571
27132
  };
27133
+ voorraad_cleanup_old_rows: {
27134
+ Args: never;
27135
+ Returns: import("../integrations/supabase/types").Json;
27136
+ };
26572
27137
  wake_print_queue: {
26573
27138
  Args: {
26574
27139
  _min_interval_ms?: number;
@@ -28867,6 +29432,45 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
28867
29432
  };
28868
29433
  Relationships: [];
28869
29434
  };
29435
+ customer_product_stickers: {
29436
+ Row: {
29437
+ created_at: string;
29438
+ customer_key: string;
29439
+ file_name: string;
29440
+ file_path: string;
29441
+ file_size: number | null;
29442
+ id: string;
29443
+ mime_type: string | null;
29444
+ trade_item_key: string;
29445
+ updated_at: string;
29446
+ uploaded_by: string | null;
29447
+ };
29448
+ Insert: {
29449
+ created_at?: string;
29450
+ customer_key: string;
29451
+ file_name: string;
29452
+ file_path: string;
29453
+ file_size?: number | null;
29454
+ id?: string;
29455
+ mime_type?: string | null;
29456
+ trade_item_key: string;
29457
+ updated_at?: string;
29458
+ uploaded_by?: string | null;
29459
+ };
29460
+ Update: {
29461
+ created_at?: string;
29462
+ customer_key?: string;
29463
+ file_name?: string;
29464
+ file_path?: string;
29465
+ file_size?: number | null;
29466
+ id?: string;
29467
+ mime_type?: string | null;
29468
+ trade_item_key?: string;
29469
+ updated_at?: string;
29470
+ uploaded_by?: string | null;
29471
+ };
29472
+ Relationships: [];
29473
+ };
28870
29474
  customer_selected_assortment: {
28871
29475
  Row: {
28872
29476
  article_number: string | null;
@@ -28915,6 +29519,30 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
28915
29519
  referencedColumns: ["id"];
28916
29520
  }];
28917
29521
  };
29522
+ customer_sticker_settings: {
29523
+ Row: {
29524
+ created_at: string;
29525
+ customer_key: string;
29526
+ height_mm: number;
29527
+ updated_at: string;
29528
+ width_mm: number;
29529
+ };
29530
+ Insert: {
29531
+ created_at?: string;
29532
+ customer_key: string;
29533
+ height_mm?: number;
29534
+ updated_at?: string;
29535
+ width_mm?: number;
29536
+ };
29537
+ Update: {
29538
+ created_at?: string;
29539
+ customer_key?: string;
29540
+ height_mm?: number;
29541
+ updated_at?: string;
29542
+ width_mm?: number;
29543
+ };
29544
+ Relationships: [];
29545
+ };
28918
29546
  customer_trade_settings: {
28919
29547
  Row: {
28920
29548
  category: string;
@@ -32245,6 +32873,102 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
32245
32873
  referencedColumns: ["id"];
32246
32874
  }];
32247
32875
  };
32876
+ floriday_api_log: {
32877
+ Row: {
32878
+ action: string | null;
32879
+ caller: string | null;
32880
+ connection_id: string | null;
32881
+ created_at: string;
32882
+ cursor_from: number | null;
32883
+ direction: string;
32884
+ duration_ms: number | null;
32885
+ environment: string | null;
32886
+ error: string | null;
32887
+ floriday_id: string | null;
32888
+ floriday_reference: string | null;
32889
+ http_status: number;
32890
+ id: string;
32891
+ item_count: number | null;
32892
+ kind: string | null;
32893
+ local_id: string | null;
32894
+ local_reference: string | null;
32895
+ method: string;
32896
+ module: string | null;
32897
+ ok: boolean;
32898
+ path: string;
32899
+ request: import("../integrations/supabase/types").Json | null;
32900
+ resource_type: string | null;
32901
+ response: import("../integrations/supabase/types").Json | null;
32902
+ write_log_id: string | null;
32903
+ };
32904
+ Insert: {
32905
+ action?: string | null;
32906
+ caller?: string | null;
32907
+ connection_id?: string | null;
32908
+ created_at?: string;
32909
+ cursor_from?: number | null;
32910
+ direction: string;
32911
+ duration_ms?: number | null;
32912
+ environment?: string | null;
32913
+ error?: string | null;
32914
+ floriday_id?: string | null;
32915
+ floriday_reference?: string | null;
32916
+ http_status?: number;
32917
+ id?: string;
32918
+ item_count?: number | null;
32919
+ kind?: string | null;
32920
+ local_id?: string | null;
32921
+ local_reference?: string | null;
32922
+ method: string;
32923
+ module?: string | null;
32924
+ ok?: boolean;
32925
+ path: string;
32926
+ request?: import("../integrations/supabase/types").Json | null;
32927
+ resource_type?: string | null;
32928
+ response?: import("../integrations/supabase/types").Json | null;
32929
+ write_log_id?: string | null;
32930
+ };
32931
+ Update: {
32932
+ action?: string | null;
32933
+ caller?: string | null;
32934
+ connection_id?: string | null;
32935
+ created_at?: string;
32936
+ cursor_from?: number | null;
32937
+ direction?: string;
32938
+ duration_ms?: number | null;
32939
+ environment?: string | null;
32940
+ error?: string | null;
32941
+ floriday_id?: string | null;
32942
+ floriday_reference?: string | null;
32943
+ http_status?: number;
32944
+ id?: string;
32945
+ item_count?: number | null;
32946
+ kind?: string | null;
32947
+ local_id?: string | null;
32948
+ local_reference?: string | null;
32949
+ method?: string;
32950
+ module?: string | null;
32951
+ ok?: boolean;
32952
+ path?: string;
32953
+ request?: import("../integrations/supabase/types").Json | null;
32954
+ resource_type?: string | null;
32955
+ response?: import("../integrations/supabase/types").Json | null;
32956
+ write_log_id?: string | null;
32957
+ };
32958
+ Relationships: [{
32959
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
32960
+ columns: ["connection_id"];
32961
+ isOneToOne: false;
32962
+ referencedRelation: "floriday_connections";
32963
+ referencedColumns: ["id"];
32964
+ }, {
32965
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
32966
+ columns: ["write_log_id"];
32967
+ isOneToOne: false;
32968
+ referencedRelation: "floriday_write_log";
32969
+ referencedColumns: ["id"];
32970
+ }];
32971
+ };
32248
32972
  floriday_auction_letters_cache: {
32249
32973
  Row: {
32250
32974
  auction_letter_code: string;
@@ -33445,6 +34169,69 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
33445
34169
  referencedColumns: ["id"];
33446
34170
  }];
33447
34171
  };
34172
+ floriday_link_templates: {
34173
+ Row: {
34174
+ created_at: string;
34175
+ floriday_url_template: string | null;
34176
+ is_active: boolean;
34177
+ label: string;
34178
+ local_url_template: string | null;
34179
+ resource_type: string;
34180
+ updated_at: string;
34181
+ };
34182
+ Insert: {
34183
+ created_at?: string;
34184
+ floriday_url_template?: string | null;
34185
+ is_active?: boolean;
34186
+ label: string;
34187
+ local_url_template?: string | null;
34188
+ resource_type: string;
34189
+ updated_at?: string;
34190
+ };
34191
+ Update: {
34192
+ created_at?: string;
34193
+ floriday_url_template?: string | null;
34194
+ is_active?: boolean;
34195
+ label?: string;
34196
+ local_url_template?: string | null;
34197
+ resource_type?: string;
34198
+ updated_at?: string;
34199
+ };
34200
+ Relationships: [];
34201
+ };
34202
+ floriday_log_retention: {
34203
+ Row: {
34204
+ created_at: string;
34205
+ direction: string | null;
34206
+ id: string;
34207
+ keep_failed_days: number | null;
34208
+ keep_ok_days: number | null;
34209
+ note: string | null;
34210
+ resource_type: string | null;
34211
+ updated_at: string;
34212
+ };
34213
+ Insert: {
34214
+ created_at?: string;
34215
+ direction?: string | null;
34216
+ id?: string;
34217
+ keep_failed_days?: number | null;
34218
+ keep_ok_days?: number | null;
34219
+ note?: string | null;
34220
+ resource_type?: string | null;
34221
+ updated_at?: string;
34222
+ };
34223
+ Update: {
34224
+ created_at?: string;
34225
+ direction?: string | null;
34226
+ id?: string;
34227
+ keep_failed_days?: number | null;
34228
+ keep_ok_days?: number | null;
34229
+ note?: string | null;
34230
+ resource_type?: string | null;
34231
+ updated_at?: string;
34232
+ };
34233
+ Relationships: [];
34234
+ };
33448
34235
  floriday_logistic_labels_cache: {
33449
34236
  Row: {
33450
34237
  byte_size: number | null;
@@ -37570,6 +38357,69 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
37570
38357
  };
37571
38358
  Relationships: [];
37572
38359
  };
38360
+ logistics_slip_shipping_note: {
38361
+ Row: {
38362
+ attempts: number;
38363
+ batch_key: string | null;
38364
+ cart_id: string | null;
38365
+ created_at: string;
38366
+ error: string | null;
38367
+ error_code: string | null;
38368
+ fulfillment_order_id: string | null;
38369
+ id: string;
38370
+ locked_until: string | null;
38371
+ next_attempt_at: string | null;
38372
+ order_id: string | null;
38373
+ order_number: string | null;
38374
+ print_job_id: string | null;
38375
+ printer_id: string | null;
38376
+ retry_class: string | null;
38377
+ slip_job_id: string;
38378
+ status: string;
38379
+ updated_at: string;
38380
+ };
38381
+ Insert: {
38382
+ attempts?: number;
38383
+ batch_key?: string | null;
38384
+ cart_id?: string | null;
38385
+ created_at?: string;
38386
+ error?: string | null;
38387
+ error_code?: string | null;
38388
+ fulfillment_order_id?: string | null;
38389
+ id?: string;
38390
+ locked_until?: string | null;
38391
+ next_attempt_at?: string | null;
38392
+ order_id?: string | null;
38393
+ order_number?: string | null;
38394
+ print_job_id?: string | null;
38395
+ printer_id?: string | null;
38396
+ retry_class?: string | null;
38397
+ slip_job_id: string;
38398
+ status?: string;
38399
+ updated_at?: string;
38400
+ };
38401
+ Update: {
38402
+ attempts?: number;
38403
+ batch_key?: string | null;
38404
+ cart_id?: string | null;
38405
+ created_at?: string;
38406
+ error?: string | null;
38407
+ error_code?: string | null;
38408
+ fulfillment_order_id?: string | null;
38409
+ id?: string;
38410
+ locked_until?: string | null;
38411
+ next_attempt_at?: string | null;
38412
+ order_id?: string | null;
38413
+ order_number?: string | null;
38414
+ print_job_id?: string | null;
38415
+ printer_id?: string | null;
38416
+ retry_class?: string | null;
38417
+ slip_job_id?: string;
38418
+ status?: string;
38419
+ updated_at?: string;
38420
+ };
38421
+ Relationships: [];
38422
+ };
37573
38423
  logistics_staff_planning: {
37574
38424
  Row: {
37575
38425
  created_at: string;
@@ -37921,6 +38771,111 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
37921
38771
  };
37922
38772
  Relationships: [];
37923
38773
  };
38774
+ logistics_trace_events: {
38775
+ Row: {
38776
+ actor: string | null;
38777
+ attempts: number;
38778
+ cart_ref: string | null;
38779
+ created_at: string;
38780
+ db_action: string | null;
38781
+ db_new: import("../integrations/supabase/types").Json | null;
38782
+ db_old: import("../integrations/supabase/types").Json | null;
38783
+ db_record: string | null;
38784
+ db_table: string | null;
38785
+ decision: string | null;
38786
+ duration_ms: number | null;
38787
+ error: string | null;
38788
+ external_action: string | null;
38789
+ external_ref: string | null;
38790
+ external_response: import("../integrations/supabase/types").Json | null;
38791
+ external_status: string | null;
38792
+ external_system: string | null;
38793
+ id: string;
38794
+ input: import("../integrations/supabase/types").Json | null;
38795
+ next_attempt_at: string | null;
38796
+ order_ref: string | null;
38797
+ order_source: string | null;
38798
+ output: import("../integrations/supabase/types").Json | null;
38799
+ phase: string;
38800
+ reads: import("../integrations/supabase/types").Json | null;
38801
+ reason: string | null;
38802
+ rule: string | null;
38803
+ slip_ref: string | null;
38804
+ status: string;
38805
+ step: string;
38806
+ trace_id: string;
38807
+ values_used: import("../integrations/supabase/types").Json | null;
38808
+ };
38809
+ Insert: {
38810
+ actor?: string | null;
38811
+ attempts?: number;
38812
+ cart_ref?: string | null;
38813
+ created_at?: string;
38814
+ db_action?: string | null;
38815
+ db_new?: import("../integrations/supabase/types").Json | null;
38816
+ db_old?: import("../integrations/supabase/types").Json | null;
38817
+ db_record?: string | null;
38818
+ db_table?: string | null;
38819
+ decision?: string | null;
38820
+ duration_ms?: number | null;
38821
+ error?: string | null;
38822
+ external_action?: string | null;
38823
+ external_ref?: string | null;
38824
+ external_response?: import("../integrations/supabase/types").Json | null;
38825
+ external_status?: string | null;
38826
+ external_system?: string | null;
38827
+ id?: string;
38828
+ input?: import("../integrations/supabase/types").Json | null;
38829
+ next_attempt_at?: string | null;
38830
+ order_ref?: string | null;
38831
+ order_source?: string | null;
38832
+ output?: import("../integrations/supabase/types").Json | null;
38833
+ phase: string;
38834
+ reads?: import("../integrations/supabase/types").Json | null;
38835
+ reason?: string | null;
38836
+ rule?: string | null;
38837
+ slip_ref?: string | null;
38838
+ status: string;
38839
+ step: string;
38840
+ trace_id?: string;
38841
+ values_used?: import("../integrations/supabase/types").Json | null;
38842
+ };
38843
+ Update: {
38844
+ actor?: string | null;
38845
+ attempts?: number;
38846
+ cart_ref?: string | null;
38847
+ created_at?: string;
38848
+ db_action?: string | null;
38849
+ db_new?: import("../integrations/supabase/types").Json | null;
38850
+ db_old?: import("../integrations/supabase/types").Json | null;
38851
+ db_record?: string | null;
38852
+ db_table?: string | null;
38853
+ decision?: string | null;
38854
+ duration_ms?: number | null;
38855
+ error?: string | null;
38856
+ external_action?: string | null;
38857
+ external_ref?: string | null;
38858
+ external_response?: import("../integrations/supabase/types").Json | null;
38859
+ external_status?: string | null;
38860
+ external_system?: string | null;
38861
+ id?: string;
38862
+ input?: import("../integrations/supabase/types").Json | null;
38863
+ next_attempt_at?: string | null;
38864
+ order_ref?: string | null;
38865
+ order_source?: string | null;
38866
+ output?: import("../integrations/supabase/types").Json | null;
38867
+ phase?: string;
38868
+ reads?: import("../integrations/supabase/types").Json | null;
38869
+ reason?: string | null;
38870
+ rule?: string | null;
38871
+ slip_ref?: string | null;
38872
+ status?: string;
38873
+ step?: string;
38874
+ trace_id?: string;
38875
+ values_used?: import("../integrations/supabase/types").Json | null;
38876
+ };
38877
+ Relationships: [];
38878
+ };
37924
38879
  logistics_variables: {
37925
38880
  Row: {
37926
38881
  created_at: string;
@@ -48493,6 +49448,15 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
48493
49448
  Args: never;
48494
49449
  Returns: boolean;
48495
49450
  };
49451
+ cancel_open_print_jobs: {
49452
+ Args: {
49453
+ _cutoff: string;
49454
+ };
49455
+ Returns: {
49456
+ extern_job_id: string;
49457
+ id: string;
49458
+ }[];
49459
+ };
48496
49460
  check_offer_product_available_stock: {
48497
49461
  Args: {
48498
49462
  p_campaign_product_id: string;
@@ -50105,6 +51069,12 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
50105
51069
  };
50106
51070
  Returns: import("../integrations/supabase/types").Json;
50107
51071
  };
51072
+ logistics_cart_plan_status_core: {
51073
+ Args: {
51074
+ p_ref: string;
51075
+ };
51076
+ Returns: import("../integrations/supabase/types").Json;
51077
+ };
50108
51078
  logistics_cart_release_reason: {
50109
51079
  Args: {
50110
51080
  p_cart_id: string;
@@ -50167,6 +51137,10 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
50167
51137
  unit_ref: string;
50168
51138
  }[];
50169
51139
  };
51140
+ logistics_carts_per_print: {
51141
+ Args: never;
51142
+ Returns: number;
51143
+ };
50170
51144
  logistics_check_order_allowed: {
50171
51145
  Args: {
50172
51146
  p_lines: import("../integrations/supabase/types").Json;
@@ -50533,6 +51507,12 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
50533
51507
  };
50534
51508
  Returns: import("../integrations/supabase/types").Json;
50535
51509
  };
51510
+ logistics_ensure_shipping_notes: {
51511
+ Args: {
51512
+ p_limit?: number;
51513
+ };
51514
+ Returns: import("../integrations/supabase/types").Json;
51515
+ };
50536
51516
  logistics_fail_task: {
50537
51517
  Args: {
50538
51518
  p_error: string;
@@ -50578,6 +51558,10 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
50578
51558
  isSetofReturn: false;
50579
51559
  };
50580
51560
  };
51561
+ logistics_fix_wrong_shipping_notes: {
51562
+ Args: never;
51563
+ Returns: import("../integrations/supabase/types").Json;
51564
+ };
50581
51565
  logistics_floriday_cart_plan: {
50582
51566
  Args: {
50583
51567
  p_order_id: string;
@@ -50605,6 +51589,10 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
50605
51589
  revision: number;
50606
51590
  }[];
50607
51591
  };
51592
+ logistics_floriday_delivery_note_create_enabled: {
51593
+ Args: never;
51594
+ Returns: boolean;
51595
+ };
50608
51596
  logistics_floriday_finish_push: {
50609
51597
  Args: {
50610
51598
  _error?: string;
@@ -50848,6 +51836,12 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
50848
51836
  };
50849
51837
  Returns: string;
50850
51838
  };
51839
+ logistics_payload_is_floriday: {
51840
+ Args: {
51841
+ _payload: import("../integrations/supabase/types").Json;
51842
+ };
51843
+ Returns: boolean;
51844
+ };
50851
51845
  logistics_pick_agenda: {
50852
51846
  Args: {
50853
51847
  p_from?: string;
@@ -50970,6 +51964,20 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
50970
51964
  Args: never;
50971
51965
  Returns: undefined;
50972
51966
  };
51967
+ logistics_plan_progress: {
51968
+ Args: {
51969
+ p_refs: string[];
51970
+ };
51971
+ Returns: {
51972
+ cart_plan_ready: boolean;
51973
+ cart_plan_reason: string;
51974
+ cart_plan_released: boolean;
51975
+ plan_progress: number;
51976
+ plan_state: string;
51977
+ plan_state_since: string;
51978
+ unit_ref: string;
51979
+ }[];
51980
+ };
50973
51981
  logistics_plan_prune: {
50974
51982
  Args: never;
50975
51983
  Returns: number;
@@ -50991,6 +51999,12 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
50991
51999
  };
50992
52000
  Returns: number;
50993
52001
  };
52002
+ logistics_plan_state_for: {
52003
+ Args: {
52004
+ p_ref: string;
52005
+ };
52006
+ Returns: import("../integrations/supabase/types").Json;
52007
+ };
50994
52008
  logistics_prepare_pick_documents: {
50995
52009
  Args: {
50996
52010
  p_limit?: number;
@@ -51049,6 +52063,12 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
51049
52063
  };
51050
52064
  Returns: import("../integrations/supabase/types").Json;
51051
52065
  };
52066
+ logistics_refresh_plan_state: {
52067
+ Args: {
52068
+ p_limit?: number;
52069
+ };
52070
+ Returns: import("../integrations/supabase/types").Json;
52071
+ };
51052
52072
  logistics_replan_all: {
51053
52073
  Args: {
51054
52074
  p_reason?: string;
@@ -51217,6 +52237,74 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
51217
52237
  };
51218
52238
  Returns: import("../integrations/supabase/types").Json;
51219
52239
  };
52240
+ logistics_shipping_note_job_for_slip: {
52241
+ Args: {
52242
+ _slip_job_id: string;
52243
+ };
52244
+ Returns: string;
52245
+ };
52246
+ logistics_shipping_notes_wake_all: {
52247
+ Args: never;
52248
+ Returns: import("../integrations/supabase/types").Json;
52249
+ };
52250
+ logistics_slip_is_floriday: {
52251
+ Args: {
52252
+ _slip_job_id: string;
52253
+ };
52254
+ Returns: boolean;
52255
+ };
52256
+ logistics_slip_note_claim: {
52257
+ Args: {
52258
+ _lease_seconds?: number;
52259
+ _limit?: number;
52260
+ };
52261
+ Returns: {
52262
+ attempts: number;
52263
+ batch_key: string | null;
52264
+ cart_id: string | null;
52265
+ created_at: string;
52266
+ error: string | null;
52267
+ error_code: string | null;
52268
+ fulfillment_order_id: string | null;
52269
+ id: string;
52270
+ locked_until: string | null;
52271
+ next_attempt_at: string | null;
52272
+ order_id: string | null;
52273
+ order_number: string | null;
52274
+ print_job_id: string | null;
52275
+ printer_id: string | null;
52276
+ retry_class: string | null;
52277
+ slip_job_id: string;
52278
+ status: string;
52279
+ updated_at: string;
52280
+ }[];
52281
+ SetofOptions: {
52282
+ from: "*";
52283
+ to: "logistics_slip_shipping_note";
52284
+ isOneToOne: false;
52285
+ isSetofReturn: true;
52286
+ };
52287
+ };
52288
+ logistics_slip_note_finish: {
52289
+ Args: {
52290
+ _error?: string;
52291
+ _error_code?: string;
52292
+ _fulfillment_order_id?: string;
52293
+ _id: string;
52294
+ _ok: boolean;
52295
+ _print_job_id?: string;
52296
+ _status?: string;
52297
+ };
52298
+ Returns: undefined;
52299
+ };
52300
+ logistics_slip_note_keep_waiting: {
52301
+ Args: {
52302
+ _class?: string;
52303
+ _id: string;
52304
+ _reason: string;
52305
+ };
52306
+ Returns: undefined;
52307
+ };
51220
52308
  logistics_sticker_follows_slip: {
51221
52309
  Args: never;
51222
52310
  Returns: boolean;
@@ -51271,6 +52359,40 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
51271
52359
  name: string;
51272
52360
  }[];
51273
52361
  };
52362
+ logistics_trace: {
52363
+ Args: {
52364
+ p: import("../integrations/supabase/types").Json;
52365
+ };
52366
+ Returns: string;
52367
+ };
52368
+ logistics_trace_batch: {
52369
+ Args: {
52370
+ p: import("../integrations/supabase/types").Json;
52371
+ };
52372
+ Returns: number;
52373
+ };
52374
+ logistics_trace_orders: {
52375
+ Args: {
52376
+ p_limit?: number;
52377
+ p_search?: string;
52378
+ p_since?: string;
52379
+ p_status?: string;
52380
+ };
52381
+ Returns: import("../integrations/supabase/types").Json;
52382
+ };
52383
+ logistics_trace_redact: {
52384
+ Args: {
52385
+ p: import("../integrations/supabase/types").Json;
52386
+ };
52387
+ Returns: import("../integrations/supabase/types").Json;
52388
+ };
52389
+ logistics_trace_timeline: {
52390
+ Args: {
52391
+ p_limit?: number;
52392
+ p_order_ref: string;
52393
+ };
52394
+ Returns: import("../integrations/supabase/types").Json;
52395
+ };
51274
52396
  logistics_upsert_task: {
51275
52397
  Args: {
51276
52398
  p_buffer_ref: string;
@@ -52312,6 +53434,10 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
52312
53434
  };
52313
53435
  Returns: undefined;
52314
53436
  };
53437
+ prune_floriday_api_log: {
53438
+ Args: never;
53439
+ Returns: number;
53440
+ };
52315
53441
  quote_create_from_source: {
52316
53442
  Args: {
52317
53443
  _payload?: import("../integrations/supabase/types").Json;
@@ -53188,6 +54314,10 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
53188
54314
  Args: never;
53189
54315
  Returns: string;
53190
54316
  };
54317
+ voorraad_cleanup_old_rows: {
54318
+ Args: never;
54319
+ Returns: import("../integrations/supabase/types").Json;
54320
+ };
53191
54321
  wake_print_queue: {
53192
54322
  Args: {
53193
54323
  _min_interval_ms?: number;