@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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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 listRevenueActivity: import("@tanstack/start-client-core").
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;