@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
@@ -2252,6 +2252,45 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
2252
2252
  };
2253
2253
  Relationships: [];
2254
2254
  };
2255
+ customer_product_stickers: {
2256
+ Row: {
2257
+ created_at: string;
2258
+ customer_key: string;
2259
+ file_name: string;
2260
+ file_path: string;
2261
+ file_size: number | null;
2262
+ id: string;
2263
+ mime_type: string | null;
2264
+ trade_item_key: string;
2265
+ updated_at: string;
2266
+ uploaded_by: string | null;
2267
+ };
2268
+ Insert: {
2269
+ created_at?: string;
2270
+ customer_key: string;
2271
+ file_name: string;
2272
+ file_path: string;
2273
+ file_size?: number | null;
2274
+ id?: string;
2275
+ mime_type?: string | null;
2276
+ trade_item_key: string;
2277
+ updated_at?: string;
2278
+ uploaded_by?: string | null;
2279
+ };
2280
+ Update: {
2281
+ created_at?: string;
2282
+ customer_key?: string;
2283
+ file_name?: string;
2284
+ file_path?: string;
2285
+ file_size?: number | null;
2286
+ id?: string;
2287
+ mime_type?: string | null;
2288
+ trade_item_key?: string;
2289
+ updated_at?: string;
2290
+ uploaded_by?: string | null;
2291
+ };
2292
+ Relationships: [];
2293
+ };
2255
2294
  customer_selected_assortment: {
2256
2295
  Row: {
2257
2296
  article_number: string | null;
@@ -2300,6 +2339,30 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
2300
2339
  referencedColumns: ["id"];
2301
2340
  }];
2302
2341
  };
2342
+ customer_sticker_settings: {
2343
+ Row: {
2344
+ created_at: string;
2345
+ customer_key: string;
2346
+ height_mm: number;
2347
+ updated_at: string;
2348
+ width_mm: number;
2349
+ };
2350
+ Insert: {
2351
+ created_at?: string;
2352
+ customer_key: string;
2353
+ height_mm?: number;
2354
+ updated_at?: string;
2355
+ width_mm?: number;
2356
+ };
2357
+ Update: {
2358
+ created_at?: string;
2359
+ customer_key?: string;
2360
+ height_mm?: number;
2361
+ updated_at?: string;
2362
+ width_mm?: number;
2363
+ };
2364
+ Relationships: [];
2365
+ };
2303
2366
  customer_trade_settings: {
2304
2367
  Row: {
2305
2368
  category: string;
@@ -5630,6 +5693,102 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
5630
5693
  referencedColumns: ["id"];
5631
5694
  }];
5632
5695
  };
5696
+ floriday_api_log: {
5697
+ Row: {
5698
+ action: string | null;
5699
+ caller: string | null;
5700
+ connection_id: string | null;
5701
+ created_at: string;
5702
+ cursor_from: number | null;
5703
+ direction: string;
5704
+ duration_ms: number | null;
5705
+ environment: string | null;
5706
+ error: string | null;
5707
+ floriday_id: string | null;
5708
+ floriday_reference: string | null;
5709
+ http_status: number;
5710
+ id: string;
5711
+ item_count: number | null;
5712
+ kind: string | null;
5713
+ local_id: string | null;
5714
+ local_reference: string | null;
5715
+ method: string;
5716
+ module: string | null;
5717
+ ok: boolean;
5718
+ path: string;
5719
+ request: import("../integrations/supabase/types").Json | null;
5720
+ resource_type: string | null;
5721
+ response: import("../integrations/supabase/types").Json | null;
5722
+ write_log_id: string | null;
5723
+ };
5724
+ Insert: {
5725
+ action?: string | null;
5726
+ caller?: string | null;
5727
+ connection_id?: string | null;
5728
+ created_at?: string;
5729
+ cursor_from?: number | null;
5730
+ direction: string;
5731
+ duration_ms?: number | null;
5732
+ environment?: string | null;
5733
+ error?: string | null;
5734
+ floriday_id?: string | null;
5735
+ floriday_reference?: string | null;
5736
+ http_status?: number;
5737
+ id?: string;
5738
+ item_count?: number | null;
5739
+ kind?: string | null;
5740
+ local_id?: string | null;
5741
+ local_reference?: string | null;
5742
+ method: string;
5743
+ module?: string | null;
5744
+ ok?: boolean;
5745
+ path: string;
5746
+ request?: import("../integrations/supabase/types").Json | null;
5747
+ resource_type?: string | null;
5748
+ response?: import("../integrations/supabase/types").Json | null;
5749
+ write_log_id?: string | null;
5750
+ };
5751
+ Update: {
5752
+ action?: string | null;
5753
+ caller?: string | null;
5754
+ connection_id?: string | null;
5755
+ created_at?: string;
5756
+ cursor_from?: number | null;
5757
+ direction?: string;
5758
+ duration_ms?: number | null;
5759
+ environment?: string | null;
5760
+ error?: string | null;
5761
+ floriday_id?: string | null;
5762
+ floriday_reference?: string | null;
5763
+ http_status?: number;
5764
+ id?: string;
5765
+ item_count?: number | null;
5766
+ kind?: string | null;
5767
+ local_id?: string | null;
5768
+ local_reference?: string | null;
5769
+ method?: string;
5770
+ module?: string | null;
5771
+ ok?: boolean;
5772
+ path?: string;
5773
+ request?: import("../integrations/supabase/types").Json | null;
5774
+ resource_type?: string | null;
5775
+ response?: import("../integrations/supabase/types").Json | null;
5776
+ write_log_id?: string | null;
5777
+ };
5778
+ Relationships: [{
5779
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5780
+ columns: ["connection_id"];
5781
+ isOneToOne: false;
5782
+ referencedRelation: "floriday_connections";
5783
+ referencedColumns: ["id"];
5784
+ }, {
5785
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5786
+ columns: ["write_log_id"];
5787
+ isOneToOne: false;
5788
+ referencedRelation: "floriday_write_log";
5789
+ referencedColumns: ["id"];
5790
+ }];
5791
+ };
5633
5792
  floriday_auction_letters_cache: {
5634
5793
  Row: {
5635
5794
  auction_letter_code: string;
@@ -6830,6 +6989,69 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
6830
6989
  referencedColumns: ["id"];
6831
6990
  }];
6832
6991
  };
6992
+ floriday_link_templates: {
6993
+ Row: {
6994
+ created_at: string;
6995
+ floriday_url_template: string | null;
6996
+ is_active: boolean;
6997
+ label: string;
6998
+ local_url_template: string | null;
6999
+ resource_type: string;
7000
+ updated_at: string;
7001
+ };
7002
+ Insert: {
7003
+ created_at?: string;
7004
+ floriday_url_template?: string | null;
7005
+ is_active?: boolean;
7006
+ label: string;
7007
+ local_url_template?: string | null;
7008
+ resource_type: string;
7009
+ updated_at?: string;
7010
+ };
7011
+ Update: {
7012
+ created_at?: string;
7013
+ floriday_url_template?: string | null;
7014
+ is_active?: boolean;
7015
+ label?: string;
7016
+ local_url_template?: string | null;
7017
+ resource_type?: string;
7018
+ updated_at?: string;
7019
+ };
7020
+ Relationships: [];
7021
+ };
7022
+ floriday_log_retention: {
7023
+ Row: {
7024
+ created_at: string;
7025
+ direction: string | null;
7026
+ id: string;
7027
+ keep_failed_days: number | null;
7028
+ keep_ok_days: number | null;
7029
+ note: string | null;
7030
+ resource_type: string | null;
7031
+ updated_at: string;
7032
+ };
7033
+ Insert: {
7034
+ created_at?: string;
7035
+ direction?: string | null;
7036
+ id?: string;
7037
+ keep_failed_days?: number | null;
7038
+ keep_ok_days?: number | null;
7039
+ note?: string | null;
7040
+ resource_type?: string | null;
7041
+ updated_at?: string;
7042
+ };
7043
+ Update: {
7044
+ created_at?: string;
7045
+ direction?: string | null;
7046
+ id?: string;
7047
+ keep_failed_days?: number | null;
7048
+ keep_ok_days?: number | null;
7049
+ note?: string | null;
7050
+ resource_type?: string | null;
7051
+ updated_at?: string;
7052
+ };
7053
+ Relationships: [];
7054
+ };
6833
7055
  floriday_logistic_labels_cache: {
6834
7056
  Row: {
6835
7057
  byte_size: number | null;
@@ -10955,6 +11177,69 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
10955
11177
  };
10956
11178
  Relationships: [];
10957
11179
  };
11180
+ logistics_slip_shipping_note: {
11181
+ Row: {
11182
+ attempts: number;
11183
+ batch_key: string | null;
11184
+ cart_id: string | null;
11185
+ created_at: string;
11186
+ error: string | null;
11187
+ error_code: string | null;
11188
+ fulfillment_order_id: string | null;
11189
+ id: string;
11190
+ locked_until: string | null;
11191
+ next_attempt_at: string | null;
11192
+ order_id: string | null;
11193
+ order_number: string | null;
11194
+ print_job_id: string | null;
11195
+ printer_id: string | null;
11196
+ retry_class: string | null;
11197
+ slip_job_id: string;
11198
+ status: string;
11199
+ updated_at: string;
11200
+ };
11201
+ Insert: {
11202
+ attempts?: number;
11203
+ batch_key?: string | null;
11204
+ cart_id?: string | null;
11205
+ created_at?: string;
11206
+ error?: string | null;
11207
+ error_code?: string | null;
11208
+ fulfillment_order_id?: string | null;
11209
+ id?: string;
11210
+ locked_until?: string | null;
11211
+ next_attempt_at?: string | null;
11212
+ order_id?: string | null;
11213
+ order_number?: string | null;
11214
+ print_job_id?: string | null;
11215
+ printer_id?: string | null;
11216
+ retry_class?: string | null;
11217
+ slip_job_id: string;
11218
+ status?: string;
11219
+ updated_at?: string;
11220
+ };
11221
+ Update: {
11222
+ attempts?: number;
11223
+ batch_key?: string | null;
11224
+ cart_id?: string | null;
11225
+ created_at?: string;
11226
+ error?: string | null;
11227
+ error_code?: string | null;
11228
+ fulfillment_order_id?: string | null;
11229
+ id?: string;
11230
+ locked_until?: string | null;
11231
+ next_attempt_at?: string | null;
11232
+ order_id?: string | null;
11233
+ order_number?: string | null;
11234
+ print_job_id?: string | null;
11235
+ printer_id?: string | null;
11236
+ retry_class?: string | null;
11237
+ slip_job_id?: string;
11238
+ status?: string;
11239
+ updated_at?: string;
11240
+ };
11241
+ Relationships: [];
11242
+ };
10958
11243
  logistics_staff_planning: {
10959
11244
  Row: {
10960
11245
  created_at: string;
@@ -11306,6 +11591,111 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11306
11591
  };
11307
11592
  Relationships: [];
11308
11593
  };
11594
+ logistics_trace_events: {
11595
+ Row: {
11596
+ actor: string | null;
11597
+ attempts: number;
11598
+ cart_ref: string | null;
11599
+ created_at: string;
11600
+ db_action: string | null;
11601
+ db_new: import("../integrations/supabase/types").Json | null;
11602
+ db_old: import("../integrations/supabase/types").Json | null;
11603
+ db_record: string | null;
11604
+ db_table: string | null;
11605
+ decision: string | null;
11606
+ duration_ms: number | null;
11607
+ error: string | null;
11608
+ external_action: string | null;
11609
+ external_ref: string | null;
11610
+ external_response: import("../integrations/supabase/types").Json | null;
11611
+ external_status: string | null;
11612
+ external_system: string | null;
11613
+ id: string;
11614
+ input: import("../integrations/supabase/types").Json | null;
11615
+ next_attempt_at: string | null;
11616
+ order_ref: string | null;
11617
+ order_source: string | null;
11618
+ output: import("../integrations/supabase/types").Json | null;
11619
+ phase: string;
11620
+ reads: import("../integrations/supabase/types").Json | null;
11621
+ reason: string | null;
11622
+ rule: string | null;
11623
+ slip_ref: string | null;
11624
+ status: string;
11625
+ step: string;
11626
+ trace_id: string;
11627
+ values_used: import("../integrations/supabase/types").Json | null;
11628
+ };
11629
+ Insert: {
11630
+ actor?: string | null;
11631
+ attempts?: number;
11632
+ cart_ref?: string | null;
11633
+ created_at?: string;
11634
+ db_action?: string | null;
11635
+ db_new?: import("../integrations/supabase/types").Json | null;
11636
+ db_old?: import("../integrations/supabase/types").Json | null;
11637
+ db_record?: string | null;
11638
+ db_table?: string | null;
11639
+ decision?: string | null;
11640
+ duration_ms?: number | null;
11641
+ error?: string | null;
11642
+ external_action?: string | null;
11643
+ external_ref?: string | null;
11644
+ external_response?: import("../integrations/supabase/types").Json | null;
11645
+ external_status?: string | null;
11646
+ external_system?: string | null;
11647
+ id?: string;
11648
+ input?: import("../integrations/supabase/types").Json | null;
11649
+ next_attempt_at?: string | null;
11650
+ order_ref?: string | null;
11651
+ order_source?: string | null;
11652
+ output?: import("../integrations/supabase/types").Json | null;
11653
+ phase: string;
11654
+ reads?: import("../integrations/supabase/types").Json | null;
11655
+ reason?: string | null;
11656
+ rule?: string | null;
11657
+ slip_ref?: string | null;
11658
+ status: string;
11659
+ step: string;
11660
+ trace_id?: string;
11661
+ values_used?: import("../integrations/supabase/types").Json | null;
11662
+ };
11663
+ Update: {
11664
+ actor?: string | null;
11665
+ attempts?: number;
11666
+ cart_ref?: string | null;
11667
+ created_at?: string;
11668
+ db_action?: string | null;
11669
+ db_new?: import("../integrations/supabase/types").Json | null;
11670
+ db_old?: import("../integrations/supabase/types").Json | null;
11671
+ db_record?: string | null;
11672
+ db_table?: string | null;
11673
+ decision?: string | null;
11674
+ duration_ms?: number | null;
11675
+ error?: string | null;
11676
+ external_action?: string | null;
11677
+ external_ref?: string | null;
11678
+ external_response?: import("../integrations/supabase/types").Json | null;
11679
+ external_status?: string | null;
11680
+ external_system?: string | null;
11681
+ id?: string;
11682
+ input?: import("../integrations/supabase/types").Json | null;
11683
+ next_attempt_at?: string | null;
11684
+ order_ref?: string | null;
11685
+ order_source?: string | null;
11686
+ output?: import("../integrations/supabase/types").Json | null;
11687
+ phase?: string;
11688
+ reads?: import("../integrations/supabase/types").Json | null;
11689
+ reason?: string | null;
11690
+ rule?: string | null;
11691
+ slip_ref?: string | null;
11692
+ status?: string;
11693
+ step?: string;
11694
+ trace_id?: string;
11695
+ values_used?: import("../integrations/supabase/types").Json | null;
11696
+ };
11697
+ Relationships: [];
11698
+ };
11309
11699
  logistics_variables: {
11310
11700
  Row: {
11311
11701
  created_at: string;
@@ -21878,6 +22268,15 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
21878
22268
  Args: never;
21879
22269
  Returns: boolean;
21880
22270
  };
22271
+ cancel_open_print_jobs: {
22272
+ Args: {
22273
+ _cutoff: string;
22274
+ };
22275
+ Returns: {
22276
+ extern_job_id: string;
22277
+ id: string;
22278
+ }[];
22279
+ };
21881
22280
  check_offer_product_available_stock: {
21882
22281
  Args: {
21883
22282
  p_campaign_product_id: string;
@@ -23490,6 +23889,12 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23490
23889
  };
23491
23890
  Returns: import("../integrations/supabase/types").Json;
23492
23891
  };
23892
+ logistics_cart_plan_status_core: {
23893
+ Args: {
23894
+ p_ref: string;
23895
+ };
23896
+ Returns: import("../integrations/supabase/types").Json;
23897
+ };
23493
23898
  logistics_cart_release_reason: {
23494
23899
  Args: {
23495
23900
  p_cart_id: string;
@@ -23552,6 +23957,10 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23552
23957
  unit_ref: string;
23553
23958
  }[];
23554
23959
  };
23960
+ logistics_carts_per_print: {
23961
+ Args: never;
23962
+ Returns: number;
23963
+ };
23555
23964
  logistics_check_order_allowed: {
23556
23965
  Args: {
23557
23966
  p_lines: import("../integrations/supabase/types").Json;
@@ -23918,6 +24327,12 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23918
24327
  };
23919
24328
  Returns: import("../integrations/supabase/types").Json;
23920
24329
  };
24330
+ logistics_ensure_shipping_notes: {
24331
+ Args: {
24332
+ p_limit?: number;
24333
+ };
24334
+ Returns: import("../integrations/supabase/types").Json;
24335
+ };
23921
24336
  logistics_fail_task: {
23922
24337
  Args: {
23923
24338
  p_error: string;
@@ -23963,6 +24378,10 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23963
24378
  isSetofReturn: false;
23964
24379
  };
23965
24380
  };
24381
+ logistics_fix_wrong_shipping_notes: {
24382
+ Args: never;
24383
+ Returns: import("../integrations/supabase/types").Json;
24384
+ };
23966
24385
  logistics_floriday_cart_plan: {
23967
24386
  Args: {
23968
24387
  p_order_id: string;
@@ -23990,6 +24409,10 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23990
24409
  revision: number;
23991
24410
  }[];
23992
24411
  };
24412
+ logistics_floriday_delivery_note_create_enabled: {
24413
+ Args: never;
24414
+ Returns: boolean;
24415
+ };
23993
24416
  logistics_floriday_finish_push: {
23994
24417
  Args: {
23995
24418
  _error?: string;
@@ -24233,6 +24656,12 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
24233
24656
  };
24234
24657
  Returns: string;
24235
24658
  };
24659
+ logistics_payload_is_floriday: {
24660
+ Args: {
24661
+ _payload: import("../integrations/supabase/types").Json;
24662
+ };
24663
+ Returns: boolean;
24664
+ };
24236
24665
  logistics_pick_agenda: {
24237
24666
  Args: {
24238
24667
  p_from?: string;
@@ -24355,6 +24784,20 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
24355
24784
  Args: never;
24356
24785
  Returns: undefined;
24357
24786
  };
24787
+ logistics_plan_progress: {
24788
+ Args: {
24789
+ p_refs: string[];
24790
+ };
24791
+ Returns: {
24792
+ cart_plan_ready: boolean;
24793
+ cart_plan_reason: string;
24794
+ cart_plan_released: boolean;
24795
+ plan_progress: number;
24796
+ plan_state: string;
24797
+ plan_state_since: string;
24798
+ unit_ref: string;
24799
+ }[];
24800
+ };
24358
24801
  logistics_plan_prune: {
24359
24802
  Args: never;
24360
24803
  Returns: number;
@@ -24376,6 +24819,12 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
24376
24819
  };
24377
24820
  Returns: number;
24378
24821
  };
24822
+ logistics_plan_state_for: {
24823
+ Args: {
24824
+ p_ref: string;
24825
+ };
24826
+ Returns: import("../integrations/supabase/types").Json;
24827
+ };
24379
24828
  logistics_prepare_pick_documents: {
24380
24829
  Args: {
24381
24830
  p_limit?: number;
@@ -24434,6 +24883,12 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
24434
24883
  };
24435
24884
  Returns: import("../integrations/supabase/types").Json;
24436
24885
  };
24886
+ logistics_refresh_plan_state: {
24887
+ Args: {
24888
+ p_limit?: number;
24889
+ };
24890
+ Returns: import("../integrations/supabase/types").Json;
24891
+ };
24437
24892
  logistics_replan_all: {
24438
24893
  Args: {
24439
24894
  p_reason?: string;
@@ -24602,6 +25057,74 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
24602
25057
  };
24603
25058
  Returns: import("../integrations/supabase/types").Json;
24604
25059
  };
25060
+ logistics_shipping_note_job_for_slip: {
25061
+ Args: {
25062
+ _slip_job_id: string;
25063
+ };
25064
+ Returns: string;
25065
+ };
25066
+ logistics_shipping_notes_wake_all: {
25067
+ Args: never;
25068
+ Returns: import("../integrations/supabase/types").Json;
25069
+ };
25070
+ logistics_slip_is_floriday: {
25071
+ Args: {
25072
+ _slip_job_id: string;
25073
+ };
25074
+ Returns: boolean;
25075
+ };
25076
+ logistics_slip_note_claim: {
25077
+ Args: {
25078
+ _lease_seconds?: number;
25079
+ _limit?: number;
25080
+ };
25081
+ Returns: {
25082
+ attempts: number;
25083
+ batch_key: string | null;
25084
+ cart_id: string | null;
25085
+ created_at: string;
25086
+ error: string | null;
25087
+ error_code: string | null;
25088
+ fulfillment_order_id: string | null;
25089
+ id: string;
25090
+ locked_until: string | null;
25091
+ next_attempt_at: string | null;
25092
+ order_id: string | null;
25093
+ order_number: string | null;
25094
+ print_job_id: string | null;
25095
+ printer_id: string | null;
25096
+ retry_class: string | null;
25097
+ slip_job_id: string;
25098
+ status: string;
25099
+ updated_at: string;
25100
+ }[];
25101
+ SetofOptions: {
25102
+ from: "*";
25103
+ to: "logistics_slip_shipping_note";
25104
+ isOneToOne: false;
25105
+ isSetofReturn: true;
25106
+ };
25107
+ };
25108
+ logistics_slip_note_finish: {
25109
+ Args: {
25110
+ _error?: string;
25111
+ _error_code?: string;
25112
+ _fulfillment_order_id?: string;
25113
+ _id: string;
25114
+ _ok: boolean;
25115
+ _print_job_id?: string;
25116
+ _status?: string;
25117
+ };
25118
+ Returns: undefined;
25119
+ };
25120
+ logistics_slip_note_keep_waiting: {
25121
+ Args: {
25122
+ _class?: string;
25123
+ _id: string;
25124
+ _reason: string;
25125
+ };
25126
+ Returns: undefined;
25127
+ };
24605
25128
  logistics_sticker_follows_slip: {
24606
25129
  Args: never;
24607
25130
  Returns: boolean;
@@ -24656,6 +25179,40 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
24656
25179
  name: string;
24657
25180
  }[];
24658
25181
  };
25182
+ logistics_trace: {
25183
+ Args: {
25184
+ p: import("../integrations/supabase/types").Json;
25185
+ };
25186
+ Returns: string;
25187
+ };
25188
+ logistics_trace_batch: {
25189
+ Args: {
25190
+ p: import("../integrations/supabase/types").Json;
25191
+ };
25192
+ Returns: number;
25193
+ };
25194
+ logistics_trace_orders: {
25195
+ Args: {
25196
+ p_limit?: number;
25197
+ p_search?: string;
25198
+ p_since?: string;
25199
+ p_status?: string;
25200
+ };
25201
+ Returns: import("../integrations/supabase/types").Json;
25202
+ };
25203
+ logistics_trace_redact: {
25204
+ Args: {
25205
+ p: import("../integrations/supabase/types").Json;
25206
+ };
25207
+ Returns: import("../integrations/supabase/types").Json;
25208
+ };
25209
+ logistics_trace_timeline: {
25210
+ Args: {
25211
+ p_limit?: number;
25212
+ p_order_ref: string;
25213
+ };
25214
+ Returns: import("../integrations/supabase/types").Json;
25215
+ };
24659
25216
  logistics_upsert_task: {
24660
25217
  Args: {
24661
25218
  p_buffer_ref: string;
@@ -25697,6 +26254,10 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
25697
26254
  };
25698
26255
  Returns: undefined;
25699
26256
  };
26257
+ prune_floriday_api_log: {
26258
+ Args: never;
26259
+ Returns: number;
26260
+ };
25700
26261
  quote_create_from_source: {
25701
26262
  Args: {
25702
26263
  _payload?: import("../integrations/supabase/types").Json;
@@ -26573,6 +27134,10 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
26573
27134
  Args: never;
26574
27135
  Returns: string;
26575
27136
  };
27137
+ voorraad_cleanup_old_rows: {
27138
+ Args: never;
27139
+ Returns: import("../integrations/supabase/types").Json;
27140
+ };
26576
27141
  wake_print_queue: {
26577
27142
  Args: {
26578
27143
  _min_interval_ms?: number;