@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
@@ -2235,6 +2235,45 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
2235
2235
  };
2236
2236
  Relationships: [];
2237
2237
  };
2238
+ customer_product_stickers: {
2239
+ Row: {
2240
+ created_at: string;
2241
+ customer_key: string;
2242
+ file_name: string;
2243
+ file_path: string;
2244
+ file_size: number | null;
2245
+ id: string;
2246
+ mime_type: string | null;
2247
+ trade_item_key: string;
2248
+ updated_at: string;
2249
+ uploaded_by: string | null;
2250
+ };
2251
+ Insert: {
2252
+ created_at?: string;
2253
+ customer_key: string;
2254
+ file_name: string;
2255
+ file_path: string;
2256
+ file_size?: number | null;
2257
+ id?: string;
2258
+ mime_type?: string | null;
2259
+ trade_item_key: string;
2260
+ updated_at?: string;
2261
+ uploaded_by?: string | null;
2262
+ };
2263
+ Update: {
2264
+ created_at?: string;
2265
+ customer_key?: string;
2266
+ file_name?: string;
2267
+ file_path?: string;
2268
+ file_size?: number | null;
2269
+ id?: string;
2270
+ mime_type?: string | null;
2271
+ trade_item_key?: string;
2272
+ updated_at?: string;
2273
+ uploaded_by?: string | null;
2274
+ };
2275
+ Relationships: [];
2276
+ };
2238
2277
  customer_selected_assortment: {
2239
2278
  Row: {
2240
2279
  article_number: string | null;
@@ -2283,6 +2322,30 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
2283
2322
  referencedColumns: ["id"];
2284
2323
  }];
2285
2324
  };
2325
+ customer_sticker_settings: {
2326
+ Row: {
2327
+ created_at: string;
2328
+ customer_key: string;
2329
+ height_mm: number;
2330
+ updated_at: string;
2331
+ width_mm: number;
2332
+ };
2333
+ Insert: {
2334
+ created_at?: string;
2335
+ customer_key: string;
2336
+ height_mm?: number;
2337
+ updated_at?: string;
2338
+ width_mm?: number;
2339
+ };
2340
+ Update: {
2341
+ created_at?: string;
2342
+ customer_key?: string;
2343
+ height_mm?: number;
2344
+ updated_at?: string;
2345
+ width_mm?: number;
2346
+ };
2347
+ Relationships: [];
2348
+ };
2286
2349
  customer_trade_settings: {
2287
2350
  Row: {
2288
2351
  category: string;
@@ -5613,6 +5676,102 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
5613
5676
  referencedColumns: ["id"];
5614
5677
  }];
5615
5678
  };
5679
+ floriday_api_log: {
5680
+ Row: {
5681
+ action: string | null;
5682
+ caller: string | null;
5683
+ connection_id: string | null;
5684
+ created_at: string;
5685
+ cursor_from: number | null;
5686
+ direction: string;
5687
+ duration_ms: number | null;
5688
+ environment: string | null;
5689
+ error: string | null;
5690
+ floriday_id: string | null;
5691
+ floriday_reference: string | null;
5692
+ http_status: number;
5693
+ id: string;
5694
+ item_count: number | null;
5695
+ kind: string | null;
5696
+ local_id: string | null;
5697
+ local_reference: string | null;
5698
+ method: string;
5699
+ module: string | null;
5700
+ ok: boolean;
5701
+ path: string;
5702
+ request: import("../integrations/supabase/types").Json | null;
5703
+ resource_type: string | null;
5704
+ response: import("../integrations/supabase/types").Json | null;
5705
+ write_log_id: string | null;
5706
+ };
5707
+ Insert: {
5708
+ action?: string | null;
5709
+ caller?: string | null;
5710
+ connection_id?: string | null;
5711
+ created_at?: string;
5712
+ cursor_from?: number | null;
5713
+ direction: string;
5714
+ duration_ms?: number | null;
5715
+ environment?: string | null;
5716
+ error?: string | null;
5717
+ floriday_id?: string | null;
5718
+ floriday_reference?: string | null;
5719
+ http_status?: number;
5720
+ id?: string;
5721
+ item_count?: number | null;
5722
+ kind?: string | null;
5723
+ local_id?: string | null;
5724
+ local_reference?: string | null;
5725
+ method: string;
5726
+ module?: string | null;
5727
+ ok?: boolean;
5728
+ path: string;
5729
+ request?: import("../integrations/supabase/types").Json | null;
5730
+ resource_type?: string | null;
5731
+ response?: import("../integrations/supabase/types").Json | null;
5732
+ write_log_id?: string | null;
5733
+ };
5734
+ Update: {
5735
+ action?: string | null;
5736
+ caller?: string | null;
5737
+ connection_id?: string | null;
5738
+ created_at?: string;
5739
+ cursor_from?: number | null;
5740
+ direction?: string;
5741
+ duration_ms?: number | null;
5742
+ environment?: string | null;
5743
+ error?: string | null;
5744
+ floriday_id?: string | null;
5745
+ floriday_reference?: string | null;
5746
+ http_status?: number;
5747
+ id?: string;
5748
+ item_count?: number | null;
5749
+ kind?: string | null;
5750
+ local_id?: string | null;
5751
+ local_reference?: string | null;
5752
+ method?: string;
5753
+ module?: string | null;
5754
+ ok?: boolean;
5755
+ path?: string;
5756
+ request?: import("../integrations/supabase/types").Json | null;
5757
+ resource_type?: string | null;
5758
+ response?: import("../integrations/supabase/types").Json | null;
5759
+ write_log_id?: string | null;
5760
+ };
5761
+ Relationships: [{
5762
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5763
+ columns: ["connection_id"];
5764
+ isOneToOne: false;
5765
+ referencedRelation: "floriday_connections";
5766
+ referencedColumns: ["id"];
5767
+ }, {
5768
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5769
+ columns: ["write_log_id"];
5770
+ isOneToOne: false;
5771
+ referencedRelation: "floriday_write_log";
5772
+ referencedColumns: ["id"];
5773
+ }];
5774
+ };
5616
5775
  floriday_auction_letters_cache: {
5617
5776
  Row: {
5618
5777
  auction_letter_code: string;
@@ -6813,6 +6972,69 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
6813
6972
  referencedColumns: ["id"];
6814
6973
  }];
6815
6974
  };
6975
+ floriday_link_templates: {
6976
+ Row: {
6977
+ created_at: string;
6978
+ floriday_url_template: string | null;
6979
+ is_active: boolean;
6980
+ label: string;
6981
+ local_url_template: string | null;
6982
+ resource_type: string;
6983
+ updated_at: string;
6984
+ };
6985
+ Insert: {
6986
+ created_at?: string;
6987
+ floriday_url_template?: string | null;
6988
+ is_active?: boolean;
6989
+ label: string;
6990
+ local_url_template?: string | null;
6991
+ resource_type: string;
6992
+ updated_at?: string;
6993
+ };
6994
+ Update: {
6995
+ created_at?: string;
6996
+ floriday_url_template?: string | null;
6997
+ is_active?: boolean;
6998
+ label?: string;
6999
+ local_url_template?: string | null;
7000
+ resource_type?: string;
7001
+ updated_at?: string;
7002
+ };
7003
+ Relationships: [];
7004
+ };
7005
+ floriday_log_retention: {
7006
+ Row: {
7007
+ created_at: string;
7008
+ direction: string | null;
7009
+ id: string;
7010
+ keep_failed_days: number | null;
7011
+ keep_ok_days: number | null;
7012
+ note: string | null;
7013
+ resource_type: string | null;
7014
+ updated_at: string;
7015
+ };
7016
+ Insert: {
7017
+ created_at?: string;
7018
+ direction?: string | null;
7019
+ id?: string;
7020
+ keep_failed_days?: number | null;
7021
+ keep_ok_days?: number | null;
7022
+ note?: string | null;
7023
+ resource_type?: string | null;
7024
+ updated_at?: string;
7025
+ };
7026
+ Update: {
7027
+ created_at?: string;
7028
+ direction?: string | null;
7029
+ id?: string;
7030
+ keep_failed_days?: number | null;
7031
+ keep_ok_days?: number | null;
7032
+ note?: string | null;
7033
+ resource_type?: string | null;
7034
+ updated_at?: string;
7035
+ };
7036
+ Relationships: [];
7037
+ };
6816
7038
  floriday_logistic_labels_cache: {
6817
7039
  Row: {
6818
7040
  byte_size: number | null;
@@ -10938,6 +11160,69 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
10938
11160
  };
10939
11161
  Relationships: [];
10940
11162
  };
11163
+ logistics_slip_shipping_note: {
11164
+ Row: {
11165
+ attempts: number;
11166
+ batch_key: string | null;
11167
+ cart_id: string | null;
11168
+ created_at: string;
11169
+ error: string | null;
11170
+ error_code: string | null;
11171
+ fulfillment_order_id: string | null;
11172
+ id: string;
11173
+ locked_until: string | null;
11174
+ next_attempt_at: string | null;
11175
+ order_id: string | null;
11176
+ order_number: string | null;
11177
+ print_job_id: string | null;
11178
+ printer_id: string | null;
11179
+ retry_class: string | null;
11180
+ slip_job_id: string;
11181
+ status: string;
11182
+ updated_at: string;
11183
+ };
11184
+ Insert: {
11185
+ attempts?: number;
11186
+ batch_key?: string | null;
11187
+ cart_id?: string | null;
11188
+ created_at?: string;
11189
+ error?: string | null;
11190
+ error_code?: string | null;
11191
+ fulfillment_order_id?: string | null;
11192
+ id?: string;
11193
+ locked_until?: string | null;
11194
+ next_attempt_at?: string | null;
11195
+ order_id?: string | null;
11196
+ order_number?: string | null;
11197
+ print_job_id?: string | null;
11198
+ printer_id?: string | null;
11199
+ retry_class?: string | null;
11200
+ slip_job_id: string;
11201
+ status?: string;
11202
+ updated_at?: string;
11203
+ };
11204
+ Update: {
11205
+ attempts?: number;
11206
+ batch_key?: string | null;
11207
+ cart_id?: string | null;
11208
+ created_at?: string;
11209
+ error?: string | null;
11210
+ error_code?: string | null;
11211
+ fulfillment_order_id?: string | null;
11212
+ id?: string;
11213
+ locked_until?: string | null;
11214
+ next_attempt_at?: string | null;
11215
+ order_id?: string | null;
11216
+ order_number?: string | null;
11217
+ print_job_id?: string | null;
11218
+ printer_id?: string | null;
11219
+ retry_class?: string | null;
11220
+ slip_job_id?: string;
11221
+ status?: string;
11222
+ updated_at?: string;
11223
+ };
11224
+ Relationships: [];
11225
+ };
10941
11226
  logistics_staff_planning: {
10942
11227
  Row: {
10943
11228
  created_at: string;
@@ -11289,6 +11574,111 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
11289
11574
  };
11290
11575
  Relationships: [];
11291
11576
  };
11577
+ logistics_trace_events: {
11578
+ Row: {
11579
+ actor: string | null;
11580
+ attempts: number;
11581
+ cart_ref: string | null;
11582
+ created_at: string;
11583
+ db_action: string | null;
11584
+ db_new: import("../integrations/supabase/types").Json | null;
11585
+ db_old: import("../integrations/supabase/types").Json | null;
11586
+ db_record: string | null;
11587
+ db_table: string | null;
11588
+ decision: string | null;
11589
+ duration_ms: number | null;
11590
+ error: string | null;
11591
+ external_action: string | null;
11592
+ external_ref: string | null;
11593
+ external_response: import("../integrations/supabase/types").Json | null;
11594
+ external_status: string | null;
11595
+ external_system: string | null;
11596
+ id: string;
11597
+ input: import("../integrations/supabase/types").Json | null;
11598
+ next_attempt_at: string | null;
11599
+ order_ref: string | null;
11600
+ order_source: string | null;
11601
+ output: import("../integrations/supabase/types").Json | null;
11602
+ phase: string;
11603
+ reads: import("../integrations/supabase/types").Json | null;
11604
+ reason: string | null;
11605
+ rule: string | null;
11606
+ slip_ref: string | null;
11607
+ status: string;
11608
+ step: string;
11609
+ trace_id: string;
11610
+ values_used: import("../integrations/supabase/types").Json | null;
11611
+ };
11612
+ Insert: {
11613
+ actor?: string | null;
11614
+ attempts?: number;
11615
+ cart_ref?: string | null;
11616
+ created_at?: string;
11617
+ db_action?: string | null;
11618
+ db_new?: import("../integrations/supabase/types").Json | null;
11619
+ db_old?: import("../integrations/supabase/types").Json | null;
11620
+ db_record?: string | null;
11621
+ db_table?: string | null;
11622
+ decision?: string | null;
11623
+ duration_ms?: number | null;
11624
+ error?: string | null;
11625
+ external_action?: string | null;
11626
+ external_ref?: string | null;
11627
+ external_response?: import("../integrations/supabase/types").Json | null;
11628
+ external_status?: string | null;
11629
+ external_system?: string | null;
11630
+ id?: string;
11631
+ input?: import("../integrations/supabase/types").Json | null;
11632
+ next_attempt_at?: string | null;
11633
+ order_ref?: string | null;
11634
+ order_source?: string | null;
11635
+ output?: import("../integrations/supabase/types").Json | null;
11636
+ phase: string;
11637
+ reads?: import("../integrations/supabase/types").Json | null;
11638
+ reason?: string | null;
11639
+ rule?: string | null;
11640
+ slip_ref?: string | null;
11641
+ status: string;
11642
+ step: string;
11643
+ trace_id?: string;
11644
+ values_used?: import("../integrations/supabase/types").Json | null;
11645
+ };
11646
+ Update: {
11647
+ actor?: string | null;
11648
+ attempts?: number;
11649
+ cart_ref?: string | null;
11650
+ created_at?: string;
11651
+ db_action?: string | null;
11652
+ db_new?: import("../integrations/supabase/types").Json | null;
11653
+ db_old?: import("../integrations/supabase/types").Json | null;
11654
+ db_record?: string | null;
11655
+ db_table?: string | null;
11656
+ decision?: string | null;
11657
+ duration_ms?: number | null;
11658
+ error?: string | null;
11659
+ external_action?: string | null;
11660
+ external_ref?: string | null;
11661
+ external_response?: import("../integrations/supabase/types").Json | null;
11662
+ external_status?: string | null;
11663
+ external_system?: string | null;
11664
+ id?: string;
11665
+ input?: import("../integrations/supabase/types").Json | null;
11666
+ next_attempt_at?: string | null;
11667
+ order_ref?: string | null;
11668
+ order_source?: string | null;
11669
+ output?: import("../integrations/supabase/types").Json | null;
11670
+ phase?: string;
11671
+ reads?: import("../integrations/supabase/types").Json | null;
11672
+ reason?: string | null;
11673
+ rule?: string | null;
11674
+ slip_ref?: string | null;
11675
+ status?: string;
11676
+ step?: string;
11677
+ trace_id?: string;
11678
+ values_used?: import("../integrations/supabase/types").Json | null;
11679
+ };
11680
+ Relationships: [];
11681
+ };
11292
11682
  logistics_variables: {
11293
11683
  Row: {
11294
11684
  created_at: string;
@@ -21861,6 +22251,15 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
21861
22251
  Args: never;
21862
22252
  Returns: boolean;
21863
22253
  };
22254
+ cancel_open_print_jobs: {
22255
+ Args: {
22256
+ _cutoff: string;
22257
+ };
22258
+ Returns: {
22259
+ extern_job_id: string;
22260
+ id: string;
22261
+ }[];
22262
+ };
21864
22263
  check_offer_product_available_stock: {
21865
22264
  Args: {
21866
22265
  p_campaign_product_id: string;
@@ -23473,6 +23872,12 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23473
23872
  };
23474
23873
  Returns: import("../integrations/supabase/types").Json;
23475
23874
  };
23875
+ logistics_cart_plan_status_core: {
23876
+ Args: {
23877
+ p_ref: string;
23878
+ };
23879
+ Returns: import("../integrations/supabase/types").Json;
23880
+ };
23476
23881
  logistics_cart_release_reason: {
23477
23882
  Args: {
23478
23883
  p_cart_id: string;
@@ -23535,6 +23940,10 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23535
23940
  unit_ref: string;
23536
23941
  }[];
23537
23942
  };
23943
+ logistics_carts_per_print: {
23944
+ Args: never;
23945
+ Returns: number;
23946
+ };
23538
23947
  logistics_check_order_allowed: {
23539
23948
  Args: {
23540
23949
  p_lines: import("../integrations/supabase/types").Json;
@@ -23901,6 +24310,12 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23901
24310
  };
23902
24311
  Returns: import("../integrations/supabase/types").Json;
23903
24312
  };
24313
+ logistics_ensure_shipping_notes: {
24314
+ Args: {
24315
+ p_limit?: number;
24316
+ };
24317
+ Returns: import("../integrations/supabase/types").Json;
24318
+ };
23904
24319
  logistics_fail_task: {
23905
24320
  Args: {
23906
24321
  p_error: string;
@@ -23946,6 +24361,10 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23946
24361
  isSetofReturn: false;
23947
24362
  };
23948
24363
  };
24364
+ logistics_fix_wrong_shipping_notes: {
24365
+ Args: never;
24366
+ Returns: import("../integrations/supabase/types").Json;
24367
+ };
23949
24368
  logistics_floriday_cart_plan: {
23950
24369
  Args: {
23951
24370
  p_order_id: string;
@@ -23973,6 +24392,10 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23973
24392
  revision: number;
23974
24393
  }[];
23975
24394
  };
24395
+ logistics_floriday_delivery_note_create_enabled: {
24396
+ Args: never;
24397
+ Returns: boolean;
24398
+ };
23976
24399
  logistics_floriday_finish_push: {
23977
24400
  Args: {
23978
24401
  _error?: string;
@@ -24216,6 +24639,12 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
24216
24639
  };
24217
24640
  Returns: string;
24218
24641
  };
24642
+ logistics_payload_is_floriday: {
24643
+ Args: {
24644
+ _payload: import("../integrations/supabase/types").Json;
24645
+ };
24646
+ Returns: boolean;
24647
+ };
24219
24648
  logistics_pick_agenda: {
24220
24649
  Args: {
24221
24650
  p_from?: string;
@@ -24338,6 +24767,20 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
24338
24767
  Args: never;
24339
24768
  Returns: undefined;
24340
24769
  };
24770
+ logistics_plan_progress: {
24771
+ Args: {
24772
+ p_refs: string[];
24773
+ };
24774
+ Returns: {
24775
+ cart_plan_ready: boolean;
24776
+ cart_plan_reason: string;
24777
+ cart_plan_released: boolean;
24778
+ plan_progress: number;
24779
+ plan_state: string;
24780
+ plan_state_since: string;
24781
+ unit_ref: string;
24782
+ }[];
24783
+ };
24341
24784
  logistics_plan_prune: {
24342
24785
  Args: never;
24343
24786
  Returns: number;
@@ -24359,6 +24802,12 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
24359
24802
  };
24360
24803
  Returns: number;
24361
24804
  };
24805
+ logistics_plan_state_for: {
24806
+ Args: {
24807
+ p_ref: string;
24808
+ };
24809
+ Returns: import("../integrations/supabase/types").Json;
24810
+ };
24362
24811
  logistics_prepare_pick_documents: {
24363
24812
  Args: {
24364
24813
  p_limit?: number;
@@ -24417,6 +24866,12 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
24417
24866
  };
24418
24867
  Returns: import("../integrations/supabase/types").Json;
24419
24868
  };
24869
+ logistics_refresh_plan_state: {
24870
+ Args: {
24871
+ p_limit?: number;
24872
+ };
24873
+ Returns: import("../integrations/supabase/types").Json;
24874
+ };
24420
24875
  logistics_replan_all: {
24421
24876
  Args: {
24422
24877
  p_reason?: string;
@@ -24585,6 +25040,74 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
24585
25040
  };
24586
25041
  Returns: import("../integrations/supabase/types").Json;
24587
25042
  };
25043
+ logistics_shipping_note_job_for_slip: {
25044
+ Args: {
25045
+ _slip_job_id: string;
25046
+ };
25047
+ Returns: string;
25048
+ };
25049
+ logistics_shipping_notes_wake_all: {
25050
+ Args: never;
25051
+ Returns: import("../integrations/supabase/types").Json;
25052
+ };
25053
+ logistics_slip_is_floriday: {
25054
+ Args: {
25055
+ _slip_job_id: string;
25056
+ };
25057
+ Returns: boolean;
25058
+ };
25059
+ logistics_slip_note_claim: {
25060
+ Args: {
25061
+ _lease_seconds?: number;
25062
+ _limit?: number;
25063
+ };
25064
+ Returns: {
25065
+ attempts: number;
25066
+ batch_key: string | null;
25067
+ cart_id: string | null;
25068
+ created_at: string;
25069
+ error: string | null;
25070
+ error_code: string | null;
25071
+ fulfillment_order_id: string | null;
25072
+ id: string;
25073
+ locked_until: string | null;
25074
+ next_attempt_at: string | null;
25075
+ order_id: string | null;
25076
+ order_number: string | null;
25077
+ print_job_id: string | null;
25078
+ printer_id: string | null;
25079
+ retry_class: string | null;
25080
+ slip_job_id: string;
25081
+ status: string;
25082
+ updated_at: string;
25083
+ }[];
25084
+ SetofOptions: {
25085
+ from: "*";
25086
+ to: "logistics_slip_shipping_note";
25087
+ isOneToOne: false;
25088
+ isSetofReturn: true;
25089
+ };
25090
+ };
25091
+ logistics_slip_note_finish: {
25092
+ Args: {
25093
+ _error?: string;
25094
+ _error_code?: string;
25095
+ _fulfillment_order_id?: string;
25096
+ _id: string;
25097
+ _ok: boolean;
25098
+ _print_job_id?: string;
25099
+ _status?: string;
25100
+ };
25101
+ Returns: undefined;
25102
+ };
25103
+ logistics_slip_note_keep_waiting: {
25104
+ Args: {
25105
+ _class?: string;
25106
+ _id: string;
25107
+ _reason: string;
25108
+ };
25109
+ Returns: undefined;
25110
+ };
24588
25111
  logistics_sticker_follows_slip: {
24589
25112
  Args: never;
24590
25113
  Returns: boolean;
@@ -24639,6 +25162,40 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
24639
25162
  name: string;
24640
25163
  }[];
24641
25164
  };
25165
+ logistics_trace: {
25166
+ Args: {
25167
+ p: import("../integrations/supabase/types").Json;
25168
+ };
25169
+ Returns: string;
25170
+ };
25171
+ logistics_trace_batch: {
25172
+ Args: {
25173
+ p: import("../integrations/supabase/types").Json;
25174
+ };
25175
+ Returns: number;
25176
+ };
25177
+ logistics_trace_orders: {
25178
+ Args: {
25179
+ p_limit?: number;
25180
+ p_search?: string;
25181
+ p_since?: string;
25182
+ p_status?: string;
25183
+ };
25184
+ Returns: import("../integrations/supabase/types").Json;
25185
+ };
25186
+ logistics_trace_redact: {
25187
+ Args: {
25188
+ p: import("../integrations/supabase/types").Json;
25189
+ };
25190
+ Returns: import("../integrations/supabase/types").Json;
25191
+ };
25192
+ logistics_trace_timeline: {
25193
+ Args: {
25194
+ p_limit?: number;
25195
+ p_order_ref: string;
25196
+ };
25197
+ Returns: import("../integrations/supabase/types").Json;
25198
+ };
24642
25199
  logistics_upsert_task: {
24643
25200
  Args: {
24644
25201
  p_buffer_ref: string;
@@ -25680,6 +26237,10 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
25680
26237
  };
25681
26238
  Returns: undefined;
25682
26239
  };
26240
+ prune_floriday_api_log: {
26241
+ Args: never;
26242
+ Returns: number;
26243
+ };
25683
26244
  quote_create_from_source: {
25684
26245
  Args: {
25685
26246
  _payload?: import("../integrations/supabase/types").Json;
@@ -26556,6 +27117,10 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
26556
27117
  Args: never;
26557
27118
  Returns: string;
26558
27119
  };
27120
+ voorraad_cleanup_old_rows: {
27121
+ Args: never;
27122
+ Returns: import("../integrations/supabase/types").Json;
27123
+ };
26559
27124
  wake_print_queue: {
26560
27125
  Args: {
26561
27126
  _min_interval_ms?: number;