@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
@@ -2225,6 +2225,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2225
2225
  };
2226
2226
  Relationships: [];
2227
2227
  };
2228
+ customer_product_stickers: {
2229
+ Row: {
2230
+ created_at: string;
2231
+ customer_key: string;
2232
+ file_name: string;
2233
+ file_path: string;
2234
+ file_size: number | null;
2235
+ id: string;
2236
+ mime_type: string | null;
2237
+ trade_item_key: string;
2238
+ updated_at: string;
2239
+ uploaded_by: string | null;
2240
+ };
2241
+ Insert: {
2242
+ created_at?: string;
2243
+ customer_key: string;
2244
+ file_name: string;
2245
+ file_path: string;
2246
+ file_size?: number | null;
2247
+ id?: string;
2248
+ mime_type?: string | null;
2249
+ trade_item_key: string;
2250
+ updated_at?: string;
2251
+ uploaded_by?: string | null;
2252
+ };
2253
+ Update: {
2254
+ created_at?: string;
2255
+ customer_key?: string;
2256
+ file_name?: string;
2257
+ file_path?: string;
2258
+ file_size?: number | null;
2259
+ id?: string;
2260
+ mime_type?: string | null;
2261
+ trade_item_key?: string;
2262
+ updated_at?: string;
2263
+ uploaded_by?: string | null;
2264
+ };
2265
+ Relationships: [];
2266
+ };
2228
2267
  customer_selected_assortment: {
2229
2268
  Row: {
2230
2269
  article_number: string | null;
@@ -2273,6 +2312,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2273
2312
  referencedColumns: ["id"];
2274
2313
  }];
2275
2314
  };
2315
+ customer_sticker_settings: {
2316
+ Row: {
2317
+ created_at: string;
2318
+ customer_key: string;
2319
+ height_mm: number;
2320
+ updated_at: string;
2321
+ width_mm: number;
2322
+ };
2323
+ Insert: {
2324
+ created_at?: string;
2325
+ customer_key: string;
2326
+ height_mm?: number;
2327
+ updated_at?: string;
2328
+ width_mm?: number;
2329
+ };
2330
+ Update: {
2331
+ created_at?: string;
2332
+ customer_key?: string;
2333
+ height_mm?: number;
2334
+ updated_at?: string;
2335
+ width_mm?: number;
2336
+ };
2337
+ Relationships: [];
2338
+ };
2276
2339
  customer_trade_settings: {
2277
2340
  Row: {
2278
2341
  category: string;
@@ -5603,6 +5666,102 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5603
5666
  referencedColumns: ["id"];
5604
5667
  }];
5605
5668
  };
5669
+ floriday_api_log: {
5670
+ Row: {
5671
+ action: string | null;
5672
+ caller: string | null;
5673
+ connection_id: string | null;
5674
+ created_at: string;
5675
+ cursor_from: number | null;
5676
+ direction: string;
5677
+ duration_ms: number | null;
5678
+ environment: string | null;
5679
+ error: string | null;
5680
+ floriday_id: string | null;
5681
+ floriday_reference: string | null;
5682
+ http_status: number;
5683
+ id: string;
5684
+ item_count: number | null;
5685
+ kind: string | null;
5686
+ local_id: string | null;
5687
+ local_reference: string | null;
5688
+ method: string;
5689
+ module: string | null;
5690
+ ok: boolean;
5691
+ path: string;
5692
+ request: import("./types").Json | null;
5693
+ resource_type: string | null;
5694
+ response: import("./types").Json | null;
5695
+ write_log_id: string | null;
5696
+ };
5697
+ Insert: {
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("./types").Json | null;
5720
+ resource_type?: string | null;
5721
+ response?: import("./types").Json | null;
5722
+ write_log_id?: string | null;
5723
+ };
5724
+ Update: {
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("./types").Json | null;
5747
+ resource_type?: string | null;
5748
+ response?: import("./types").Json | null;
5749
+ write_log_id?: string | null;
5750
+ };
5751
+ Relationships: [{
5752
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5753
+ columns: ["connection_id"];
5754
+ isOneToOne: false;
5755
+ referencedRelation: "floriday_connections";
5756
+ referencedColumns: ["id"];
5757
+ }, {
5758
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5759
+ columns: ["write_log_id"];
5760
+ isOneToOne: false;
5761
+ referencedRelation: "floriday_write_log";
5762
+ referencedColumns: ["id"];
5763
+ }];
5764
+ };
5606
5765
  floriday_auction_letters_cache: {
5607
5766
  Row: {
5608
5767
  auction_letter_code: string;
@@ -6803,6 +6962,69 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6803
6962
  referencedColumns: ["id"];
6804
6963
  }];
6805
6964
  };
6965
+ floriday_link_templates: {
6966
+ Row: {
6967
+ created_at: string;
6968
+ floriday_url_template: string | null;
6969
+ is_active: boolean;
6970
+ label: string;
6971
+ local_url_template: string | null;
6972
+ resource_type: string;
6973
+ updated_at: string;
6974
+ };
6975
+ Insert: {
6976
+ created_at?: string;
6977
+ floriday_url_template?: string | null;
6978
+ is_active?: boolean;
6979
+ label: string;
6980
+ local_url_template?: string | null;
6981
+ resource_type: string;
6982
+ updated_at?: string;
6983
+ };
6984
+ Update: {
6985
+ created_at?: string;
6986
+ floriday_url_template?: string | null;
6987
+ is_active?: boolean;
6988
+ label?: string;
6989
+ local_url_template?: string | null;
6990
+ resource_type?: string;
6991
+ updated_at?: string;
6992
+ };
6993
+ Relationships: [];
6994
+ };
6995
+ floriday_log_retention: {
6996
+ Row: {
6997
+ created_at: string;
6998
+ direction: string | null;
6999
+ id: string;
7000
+ keep_failed_days: number | null;
7001
+ keep_ok_days: number | null;
7002
+ note: string | null;
7003
+ resource_type: string | null;
7004
+ updated_at: string;
7005
+ };
7006
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
7027
+ };
6806
7028
  floriday_logistic_labels_cache: {
6807
7029
  Row: {
6808
7030
  byte_size: number | null;
@@ -10928,6 +11150,69 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10928
11150
  };
10929
11151
  Relationships: [];
10930
11152
  };
11153
+ logistics_slip_shipping_note: {
11154
+ Row: {
11155
+ attempts: number;
11156
+ batch_key: string | null;
11157
+ cart_id: string | null;
11158
+ created_at: string;
11159
+ error: string | null;
11160
+ error_code: string | null;
11161
+ fulfillment_order_id: string | null;
11162
+ id: string;
11163
+ locked_until: string | null;
11164
+ next_attempt_at: string | null;
11165
+ order_id: string | null;
11166
+ order_number: string | null;
11167
+ print_job_id: string | null;
11168
+ printer_id: string | null;
11169
+ retry_class: string | null;
11170
+ slip_job_id: string;
11171
+ status: string;
11172
+ updated_at: string;
11173
+ };
11174
+ Insert: {
11175
+ attempts?: number;
11176
+ batch_key?: string | null;
11177
+ cart_id?: string | null;
11178
+ created_at?: string;
11179
+ error?: string | null;
11180
+ error_code?: string | null;
11181
+ fulfillment_order_id?: string | null;
11182
+ id?: string;
11183
+ locked_until?: string | null;
11184
+ next_attempt_at?: string | null;
11185
+ order_id?: string | null;
11186
+ order_number?: string | null;
11187
+ print_job_id?: string | null;
11188
+ printer_id?: string | null;
11189
+ retry_class?: string | null;
11190
+ slip_job_id: string;
11191
+ status?: string;
11192
+ updated_at?: string;
11193
+ };
11194
+ Update: {
11195
+ attempts?: number;
11196
+ batch_key?: string | null;
11197
+ cart_id?: string | null;
11198
+ created_at?: string;
11199
+ error?: string | null;
11200
+ error_code?: string | null;
11201
+ fulfillment_order_id?: string | null;
11202
+ id?: string;
11203
+ locked_until?: string | null;
11204
+ next_attempt_at?: string | null;
11205
+ order_id?: string | null;
11206
+ order_number?: string | null;
11207
+ print_job_id?: string | null;
11208
+ printer_id?: string | null;
11209
+ retry_class?: string | null;
11210
+ slip_job_id?: string;
11211
+ status?: string;
11212
+ updated_at?: string;
11213
+ };
11214
+ Relationships: [];
11215
+ };
10931
11216
  logistics_staff_planning: {
10932
11217
  Row: {
10933
11218
  created_at: string;
@@ -11279,6 +11564,111 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11279
11564
  };
11280
11565
  Relationships: [];
11281
11566
  };
11567
+ logistics_trace_events: {
11568
+ Row: {
11569
+ actor: string | null;
11570
+ attempts: number;
11571
+ cart_ref: string | null;
11572
+ created_at: string;
11573
+ db_action: string | null;
11574
+ db_new: import("./types").Json | null;
11575
+ db_old: import("./types").Json | null;
11576
+ db_record: string | null;
11577
+ db_table: string | null;
11578
+ decision: string | null;
11579
+ duration_ms: number | null;
11580
+ error: string | null;
11581
+ external_action: string | null;
11582
+ external_ref: string | null;
11583
+ external_response: import("./types").Json | null;
11584
+ external_status: string | null;
11585
+ external_system: string | null;
11586
+ id: string;
11587
+ input: import("./types").Json | null;
11588
+ next_attempt_at: string | null;
11589
+ order_ref: string | null;
11590
+ order_source: string | null;
11591
+ output: import("./types").Json | null;
11592
+ phase: string;
11593
+ reads: import("./types").Json | null;
11594
+ reason: string | null;
11595
+ rule: string | null;
11596
+ slip_ref: string | null;
11597
+ status: string;
11598
+ step: string;
11599
+ trace_id: string;
11600
+ values_used: import("./types").Json | null;
11601
+ };
11602
+ Insert: {
11603
+ actor?: string | null;
11604
+ attempts?: number;
11605
+ cart_ref?: string | null;
11606
+ created_at?: string;
11607
+ db_action?: string | null;
11608
+ db_new?: import("./types").Json | null;
11609
+ db_old?: import("./types").Json | null;
11610
+ db_record?: string | null;
11611
+ db_table?: string | null;
11612
+ decision?: string | null;
11613
+ duration_ms?: number | null;
11614
+ error?: string | null;
11615
+ external_action?: string | null;
11616
+ external_ref?: string | null;
11617
+ external_response?: import("./types").Json | null;
11618
+ external_status?: string | null;
11619
+ external_system?: string | null;
11620
+ id?: string;
11621
+ input?: import("./types").Json | null;
11622
+ next_attempt_at?: string | null;
11623
+ order_ref?: string | null;
11624
+ order_source?: string | null;
11625
+ output?: import("./types").Json | null;
11626
+ phase: string;
11627
+ reads?: import("./types").Json | null;
11628
+ reason?: string | null;
11629
+ rule?: string | null;
11630
+ slip_ref?: string | null;
11631
+ status: string;
11632
+ step: string;
11633
+ trace_id?: string;
11634
+ values_used?: import("./types").Json | null;
11635
+ };
11636
+ Update: {
11637
+ actor?: string | null;
11638
+ attempts?: number;
11639
+ cart_ref?: string | null;
11640
+ created_at?: string;
11641
+ db_action?: string | null;
11642
+ db_new?: import("./types").Json | null;
11643
+ db_old?: import("./types").Json | null;
11644
+ db_record?: string | null;
11645
+ db_table?: string | null;
11646
+ decision?: string | null;
11647
+ duration_ms?: number | null;
11648
+ error?: string | null;
11649
+ external_action?: string | null;
11650
+ external_ref?: string | null;
11651
+ external_response?: import("./types").Json | null;
11652
+ external_status?: string | null;
11653
+ external_system?: string | null;
11654
+ id?: string;
11655
+ input?: import("./types").Json | null;
11656
+ next_attempt_at?: string | null;
11657
+ order_ref?: string | null;
11658
+ order_source?: string | null;
11659
+ output?: import("./types").Json | null;
11660
+ phase?: string;
11661
+ reads?: import("./types").Json | null;
11662
+ reason?: string | null;
11663
+ rule?: string | null;
11664
+ slip_ref?: string | null;
11665
+ status?: string;
11666
+ step?: string;
11667
+ trace_id?: string;
11668
+ values_used?: import("./types").Json | null;
11669
+ };
11670
+ Relationships: [];
11671
+ };
11282
11672
  logistics_variables: {
11283
11673
  Row: {
11284
11674
  created_at: string;
@@ -21851,6 +22241,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21851
22241
  Args: never;
21852
22242
  Returns: boolean;
21853
22243
  };
22244
+ cancel_open_print_jobs: {
22245
+ Args: {
22246
+ _cutoff: string;
22247
+ };
22248
+ Returns: {
22249
+ extern_job_id: string;
22250
+ id: string;
22251
+ }[];
22252
+ };
21854
22253
  check_offer_product_available_stock: {
21855
22254
  Args: {
21856
22255
  p_campaign_product_id: string;
@@ -23463,6 +23862,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23463
23862
  };
23464
23863
  Returns: import("./types").Json;
23465
23864
  };
23865
+ logistics_cart_plan_status_core: {
23866
+ Args: {
23867
+ p_ref: string;
23868
+ };
23869
+ Returns: import("./types").Json;
23870
+ };
23466
23871
  logistics_cart_release_reason: {
23467
23872
  Args: {
23468
23873
  p_cart_id: string;
@@ -23525,6 +23930,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23525
23930
  unit_ref: string;
23526
23931
  }[];
23527
23932
  };
23933
+ logistics_carts_per_print: {
23934
+ Args: never;
23935
+ Returns: number;
23936
+ };
23528
23937
  logistics_check_order_allowed: {
23529
23938
  Args: {
23530
23939
  p_lines: import("./types").Json;
@@ -23891,6 +24300,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23891
24300
  };
23892
24301
  Returns: import("./types").Json;
23893
24302
  };
24303
+ logistics_ensure_shipping_notes: {
24304
+ Args: {
24305
+ p_limit?: number;
24306
+ };
24307
+ Returns: import("./types").Json;
24308
+ };
23894
24309
  logistics_fail_task: {
23895
24310
  Args: {
23896
24311
  p_error: string;
@@ -23936,6 +24351,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23936
24351
  isSetofReturn: false;
23937
24352
  };
23938
24353
  };
24354
+ logistics_fix_wrong_shipping_notes: {
24355
+ Args: never;
24356
+ Returns: import("./types").Json;
24357
+ };
23939
24358
  logistics_floriday_cart_plan: {
23940
24359
  Args: {
23941
24360
  p_order_id: string;
@@ -23963,6 +24382,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23963
24382
  revision: number;
23964
24383
  }[];
23965
24384
  };
24385
+ logistics_floriday_delivery_note_create_enabled: {
24386
+ Args: never;
24387
+ Returns: boolean;
24388
+ };
23966
24389
  logistics_floriday_finish_push: {
23967
24390
  Args: {
23968
24391
  _error?: string;
@@ -24206,6 +24629,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24206
24629
  };
24207
24630
  Returns: string;
24208
24631
  };
24632
+ logistics_payload_is_floriday: {
24633
+ Args: {
24634
+ _payload: import("./types").Json;
24635
+ };
24636
+ Returns: boolean;
24637
+ };
24209
24638
  logistics_pick_agenda: {
24210
24639
  Args: {
24211
24640
  p_from?: string;
@@ -24328,6 +24757,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24328
24757
  Args: never;
24329
24758
  Returns: undefined;
24330
24759
  };
24760
+ logistics_plan_progress: {
24761
+ Args: {
24762
+ p_refs: string[];
24763
+ };
24764
+ Returns: {
24765
+ cart_plan_ready: boolean;
24766
+ cart_plan_reason: string;
24767
+ cart_plan_released: boolean;
24768
+ plan_progress: number;
24769
+ plan_state: string;
24770
+ plan_state_since: string;
24771
+ unit_ref: string;
24772
+ }[];
24773
+ };
24331
24774
  logistics_plan_prune: {
24332
24775
  Args: never;
24333
24776
  Returns: number;
@@ -24349,6 +24792,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24349
24792
  };
24350
24793
  Returns: number;
24351
24794
  };
24795
+ logistics_plan_state_for: {
24796
+ Args: {
24797
+ p_ref: string;
24798
+ };
24799
+ Returns: import("./types").Json;
24800
+ };
24352
24801
  logistics_prepare_pick_documents: {
24353
24802
  Args: {
24354
24803
  p_limit?: number;
@@ -24407,6 +24856,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24407
24856
  };
24408
24857
  Returns: import("./types").Json;
24409
24858
  };
24859
+ logistics_refresh_plan_state: {
24860
+ Args: {
24861
+ p_limit?: number;
24862
+ };
24863
+ Returns: import("./types").Json;
24864
+ };
24410
24865
  logistics_replan_all: {
24411
24866
  Args: {
24412
24867
  p_reason?: string;
@@ -24575,6 +25030,74 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24575
25030
  };
24576
25031
  Returns: import("./types").Json;
24577
25032
  };
25033
+ logistics_shipping_note_job_for_slip: {
25034
+ Args: {
25035
+ _slip_job_id: string;
25036
+ };
25037
+ Returns: string;
25038
+ };
25039
+ logistics_shipping_notes_wake_all: {
25040
+ Args: never;
25041
+ Returns: import("./types").Json;
25042
+ };
25043
+ logistics_slip_is_floriday: {
25044
+ Args: {
25045
+ _slip_job_id: string;
25046
+ };
25047
+ Returns: boolean;
25048
+ };
25049
+ logistics_slip_note_claim: {
25050
+ Args: {
25051
+ _lease_seconds?: number;
25052
+ _limit?: number;
25053
+ };
25054
+ Returns: {
25055
+ attempts: number;
25056
+ batch_key: string | null;
25057
+ cart_id: string | null;
25058
+ created_at: string;
25059
+ error: string | null;
25060
+ error_code: string | null;
25061
+ fulfillment_order_id: string | null;
25062
+ id: string;
25063
+ locked_until: string | null;
25064
+ next_attempt_at: string | null;
25065
+ order_id: string | null;
25066
+ order_number: string | null;
25067
+ print_job_id: string | null;
25068
+ printer_id: string | null;
25069
+ retry_class: string | null;
25070
+ slip_job_id: string;
25071
+ status: string;
25072
+ updated_at: string;
25073
+ }[];
25074
+ SetofOptions: {
25075
+ from: "*";
25076
+ to: "logistics_slip_shipping_note";
25077
+ isOneToOne: false;
25078
+ isSetofReturn: true;
25079
+ };
25080
+ };
25081
+ logistics_slip_note_finish: {
25082
+ Args: {
25083
+ _error?: string;
25084
+ _error_code?: string;
25085
+ _fulfillment_order_id?: string;
25086
+ _id: string;
25087
+ _ok: boolean;
25088
+ _print_job_id?: string;
25089
+ _status?: string;
25090
+ };
25091
+ Returns: undefined;
25092
+ };
25093
+ logistics_slip_note_keep_waiting: {
25094
+ Args: {
25095
+ _class?: string;
25096
+ _id: string;
25097
+ _reason: string;
25098
+ };
25099
+ Returns: undefined;
25100
+ };
24578
25101
  logistics_sticker_follows_slip: {
24579
25102
  Args: never;
24580
25103
  Returns: boolean;
@@ -24629,6 +25152,40 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24629
25152
  name: string;
24630
25153
  }[];
24631
25154
  };
25155
+ logistics_trace: {
25156
+ Args: {
25157
+ p: import("./types").Json;
25158
+ };
25159
+ Returns: string;
25160
+ };
25161
+ logistics_trace_batch: {
25162
+ Args: {
25163
+ p: import("./types").Json;
25164
+ };
25165
+ Returns: number;
25166
+ };
25167
+ logistics_trace_orders: {
25168
+ Args: {
25169
+ p_limit?: number;
25170
+ p_search?: string;
25171
+ p_since?: string;
25172
+ p_status?: string;
25173
+ };
25174
+ Returns: import("./types").Json;
25175
+ };
25176
+ logistics_trace_redact: {
25177
+ Args: {
25178
+ p: import("./types").Json;
25179
+ };
25180
+ Returns: import("./types").Json;
25181
+ };
25182
+ logistics_trace_timeline: {
25183
+ Args: {
25184
+ p_limit?: number;
25185
+ p_order_ref: string;
25186
+ };
25187
+ Returns: import("./types").Json;
25188
+ };
24632
25189
  logistics_upsert_task: {
24633
25190
  Args: {
24634
25191
  p_buffer_ref: string;
@@ -25670,6 +26227,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25670
26227
  };
25671
26228
  Returns: undefined;
25672
26229
  };
26230
+ prune_floriday_api_log: {
26231
+ Args: never;
26232
+ Returns: number;
26233
+ };
25673
26234
  quote_create_from_source: {
25674
26235
  Args: {
25675
26236
  _payload?: import("./types").Json;
@@ -26546,6 +27107,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
26546
27107
  Args: never;
26547
27108
  Returns: string;
26548
27109
  };
27110
+ voorraad_cleanup_old_rows: {
27111
+ Args: never;
27112
+ Returns: import("./types").Json;
27113
+ };
26549
27114
  wake_print_queue: {
26550
27115
  Args: {
26551
27116
  _min_interval_ms?: number;