@flowselections/floriday-klanten-module 1.0.36 → 1.0.37

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 (67) hide show
  1. package/dist-lib/components/klanten/BulkStickerUploadDialog.d.ts.map +1 -1
  2. package/dist-lib/components/klanten/BulkStickerUploadDialog.js +30 -8
  3. package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts.map +1 -1
  4. package/dist-lib/components/klanten/CustomerAssortmentTab.js +48 -10
  5. package/dist-lib/integrations/supabase/auth-middleware.d.ts +129 -0
  6. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/client.d.ts +129 -0
  8. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/client.server.d.ts +129 -0
  10. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  11. package/dist-lib/integrations/supabase/types.d.ts +129 -0
  12. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  13. package/dist-lib/lib/accounting/twinfield/client.server.d.ts +7 -8
  14. package/dist-lib/lib/accounting/twinfield/client.server.d.ts.map +1 -1
  15. package/dist-lib/lib/accounting/twinfield/client.server.js +147 -78
  16. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +387 -0
  17. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/accounting/twinfield/worker.server.d.ts.map +1 -1
  19. package/dist-lib/lib/accounting/twinfield/worker.server.js +17 -0
  20. package/dist-lib/lib/accounting.functions.d.ts +387 -0
  21. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/customer-analytics.functions.d.ts +129 -0
  23. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/customer-assortment.functions.d.ts +132 -3
  25. package/dist-lib/lib/customer-assortment.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/customer-assortment.functions.js +12 -0
  27. package/dist-lib/lib/customer-notes.functions.d.ts +258 -0
  28. package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/customer-revenue.functions.d.ts +129 -0
  30. package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/customer-stickers.functions.d.ts +1165 -0
  32. package/dist-lib/lib/customer-stickers.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/customer-stickers.functions.js +122 -75
  34. package/dist-lib/lib/customers.functions.d.ts +1161 -0
  35. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/delivery-locations.functions.d.ts +645 -0
  37. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/external-customers.functions.d.ts +516 -0
  39. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/floriday-assortment.functions.d.ts +129 -0
  41. package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/floriday-discounts.functions.d.ts +258 -0
  43. package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/floriday-price-import.functions.d.ts +258 -0
  45. package/dist-lib/lib/floriday-price-import.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/floriday-sticker-import.functions.d.ts +27323 -0
  47. package/dist-lib/lib/floriday-sticker-import.functions.d.ts.map +1 -0
  48. package/dist-lib/lib/floriday-sticker-import.functions.js +307 -0
  49. package/dist-lib/lib/floriday-trade-items.functions.d.ts +129 -0
  50. package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/local-discounts.functions.d.ts +903 -0
  52. package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
  53. package/dist-lib/lib/logistics-events.functions.d.ts +129 -0
  54. package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
  55. package/dist-lib/lib/logistics-strategy.functions.d.ts +516 -0
  56. package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
  57. package/dist-lib/lib/overdue-invoices.functions.d.ts +129 -0
  58. package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
  59. package/dist-lib/lib/price-groups-local.functions.d.ts +1677 -0
  60. package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
  61. package/dist-lib/lib/price-groups.functions.d.ts +129 -0
  62. package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
  63. package/dist-lib/lib/twinfield-adopt.functions.d.ts +258 -0
  64. package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
  65. package/dist-lib/lib/twinfield-ledger.functions.d.ts +129 -0
  66. package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
  67. package/package.json +2 -2
@@ -1846,6 +1846,42 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
1846
1846
  };
1847
1847
  Relationships: [];
1848
1848
  };
1849
+ customer_assortment_items: {
1850
+ Row: {
1851
+ created_at: string;
1852
+ customer_key: string;
1853
+ id: string;
1854
+ in_assortment: boolean;
1855
+ manual_override: boolean;
1856
+ source: string;
1857
+ synced_at: string | null;
1858
+ trade_item_key: string;
1859
+ updated_at: string;
1860
+ };
1861
+ Insert: {
1862
+ created_at?: string;
1863
+ customer_key: string;
1864
+ id?: string;
1865
+ in_assortment?: boolean;
1866
+ manual_override?: boolean;
1867
+ source?: string;
1868
+ synced_at?: string | null;
1869
+ trade_item_key: string;
1870
+ updated_at?: string;
1871
+ };
1872
+ Update: {
1873
+ created_at?: string;
1874
+ customer_key?: string;
1875
+ id?: string;
1876
+ in_assortment?: boolean;
1877
+ manual_override?: boolean;
1878
+ source?: string;
1879
+ synced_at?: string | null;
1880
+ trade_item_key?: string;
1881
+ updated_at?: string;
1882
+ };
1883
+ Relationships: [];
1884
+ };
1849
1885
  customer_audit_log: {
1850
1886
  Row: {
1851
1887
  action: string;
@@ -2250,40 +2286,58 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
2250
2286
  };
2251
2287
  customer_product_stickers: {
2252
2288
  Row: {
2289
+ content_hash: string | null;
2253
2290
  created_at: string;
2254
2291
  customer_key: string;
2255
2292
  file_name: string;
2256
2293
  file_path: string;
2257
2294
  file_size: number | null;
2295
+ floriday_sticker_id: string | null;
2296
+ floriday_synced_at: string | null;
2297
+ height_mm: number | null;
2258
2298
  id: string;
2259
2299
  mime_type: string | null;
2300
+ source: string;
2260
2301
  trade_item_key: string;
2261
2302
  updated_at: string;
2262
2303
  uploaded_by: string | null;
2304
+ width_mm: number | null;
2263
2305
  };
2264
2306
  Insert: {
2307
+ content_hash?: string | null;
2265
2308
  created_at?: string;
2266
2309
  customer_key: string;
2267
2310
  file_name: string;
2268
2311
  file_path: string;
2269
2312
  file_size?: number | null;
2313
+ floriday_sticker_id?: string | null;
2314
+ floriday_synced_at?: string | null;
2315
+ height_mm?: number | null;
2270
2316
  id?: string;
2271
2317
  mime_type?: string | null;
2318
+ source?: string;
2272
2319
  trade_item_key: string;
2273
2320
  updated_at?: string;
2274
2321
  uploaded_by?: string | null;
2322
+ width_mm?: number | null;
2275
2323
  };
2276
2324
  Update: {
2325
+ content_hash?: string | null;
2277
2326
  created_at?: string;
2278
2327
  customer_key?: string;
2279
2328
  file_name?: string;
2280
2329
  file_path?: string;
2281
2330
  file_size?: number | null;
2331
+ floriday_sticker_id?: string | null;
2332
+ floriday_synced_at?: string | null;
2333
+ height_mm?: number | null;
2282
2334
  id?: string;
2283
2335
  mime_type?: string | null;
2336
+ source?: string;
2284
2337
  trade_item_key?: string;
2285
2338
  updated_at?: string;
2286
2339
  uploaded_by?: string | null;
2340
+ width_mm?: number | null;
2287
2341
  };
2288
2342
  Relationships: [];
2289
2343
  };
@@ -11591,6 +11645,7 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
11591
11645
  Row: {
11592
11646
  actor: string | null;
11593
11647
  attempts: number;
11648
+ calc: import("../integrations/supabase/types").Json | null;
11594
11649
  cart_ref: string | null;
11595
11650
  created_at: string;
11596
11651
  db_action: string | null;
@@ -11601,6 +11656,7 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
11601
11656
  decision: string | null;
11602
11657
  duration_ms: number | null;
11603
11658
  error: string | null;
11659
+ error_class: string | null;
11604
11660
  external_action: string | null;
11605
11661
  external_ref: string | null;
11606
11662
  external_response: import("../integrations/supabase/types").Json | null;
@@ -11609,6 +11665,8 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
11609
11665
  id: string;
11610
11666
  input: import("../integrations/supabase/types").Json | null;
11611
11667
  next_attempt_at: string | null;
11668
+ next_step: string | null;
11669
+ node_id: string | null;
11612
11670
  order_ref: string | null;
11613
11671
  order_source: string | null;
11614
11672
  output: import("../integrations/supabase/types").Json | null;
@@ -11625,6 +11683,7 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
11625
11683
  Insert: {
11626
11684
  actor?: string | null;
11627
11685
  attempts?: number;
11686
+ calc?: import("../integrations/supabase/types").Json | null;
11628
11687
  cart_ref?: string | null;
11629
11688
  created_at?: string;
11630
11689
  db_action?: string | null;
@@ -11635,6 +11694,7 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
11635
11694
  decision?: string | null;
11636
11695
  duration_ms?: number | null;
11637
11696
  error?: string | null;
11697
+ error_class?: string | null;
11638
11698
  external_action?: string | null;
11639
11699
  external_ref?: string | null;
11640
11700
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11643,6 +11703,8 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
11643
11703
  id?: string;
11644
11704
  input?: import("../integrations/supabase/types").Json | null;
11645
11705
  next_attempt_at?: string | null;
11706
+ next_step?: string | null;
11707
+ node_id?: string | null;
11646
11708
  order_ref?: string | null;
11647
11709
  order_source?: string | null;
11648
11710
  output?: import("../integrations/supabase/types").Json | null;
@@ -11659,6 +11721,7 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
11659
11721
  Update: {
11660
11722
  actor?: string | null;
11661
11723
  attempts?: number;
11724
+ calc?: import("../integrations/supabase/types").Json | null;
11662
11725
  cart_ref?: string | null;
11663
11726
  created_at?: string;
11664
11727
  db_action?: string | null;
@@ -11669,6 +11732,7 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
11669
11732
  decision?: string | null;
11670
11733
  duration_ms?: number | null;
11671
11734
  error?: string | null;
11735
+ error_class?: string | null;
11672
11736
  external_action?: string | null;
11673
11737
  external_ref?: string | null;
11674
11738
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11677,6 +11741,8 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
11677
11741
  id?: string;
11678
11742
  input?: import("../integrations/supabase/types").Json | null;
11679
11743
  next_attempt_at?: string | null;
11744
+ next_step?: string | null;
11745
+ node_id?: string | null;
11680
11746
  order_ref?: string | null;
11681
11747
  order_source?: string | null;
11682
11748
  output?: import("../integrations/supabase/types").Json | null;
@@ -25181,12 +25247,59 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
25181
25247
  };
25182
25248
  Returns: string;
25183
25249
  };
25250
+ logistics_trace_all_orders: {
25251
+ Args: {
25252
+ p_limit?: number;
25253
+ p_search?: string;
25254
+ };
25255
+ Returns: import("../integrations/supabase/types").Json;
25256
+ };
25184
25257
  logistics_trace_batch: {
25185
25258
  Args: {
25186
25259
  p: import("../integrations/supabase/types").Json;
25187
25260
  };
25188
25261
  Returns: number;
25189
25262
  };
25263
+ logistics_trace_node: {
25264
+ Args: {
25265
+ p_op?: string;
25266
+ p_status?: string;
25267
+ p_table: string;
25268
+ };
25269
+ Returns: string;
25270
+ };
25271
+ logistics_trace_order_overview: {
25272
+ Args: {
25273
+ p_error_class?: string;
25274
+ p_limit?: number;
25275
+ p_search?: string;
25276
+ p_since?: string;
25277
+ p_source?: string;
25278
+ p_state?: string;
25279
+ p_step?: string;
25280
+ };
25281
+ Returns: import("../integrations/supabase/types").Json;
25282
+ };
25283
+ logistics_trace_order_state: {
25284
+ Args: {
25285
+ p_order_ref: string;
25286
+ };
25287
+ Returns: import("../integrations/supabase/types").Json;
25288
+ };
25289
+ logistics_trace_order_step: {
25290
+ Args: {
25291
+ p_class?: string;
25292
+ p_decision?: string;
25293
+ p_error?: string;
25294
+ p_next_step?: string;
25295
+ p_node: string;
25296
+ p_order_id: string;
25297
+ p_reason?: string;
25298
+ p_status: string;
25299
+ p_step: string;
25300
+ };
25301
+ Returns: undefined;
25302
+ };
25190
25303
  logistics_trace_orders: {
25191
25304
  Args: {
25192
25305
  p_limit?: number;
@@ -25209,6 +25322,22 @@ export declare const previewFloridayPriceImport: import("@tanstack/start-client-
25209
25322
  };
25210
25323
  Returns: import("../integrations/supabase/types").Json;
25211
25324
  };
25325
+ logistics_trace_version_events: {
25326
+ Args: {
25327
+ p_from?: string;
25328
+ p_limit?: number;
25329
+ p_order_ref: string;
25330
+ p_to?: string;
25331
+ p_version_id: string;
25332
+ };
25333
+ Returns: import("../integrations/supabase/types").Json;
25334
+ };
25335
+ logistics_trace_versions: {
25336
+ Args: {
25337
+ p_order_ref: string;
25338
+ };
25339
+ Returns: import("../integrations/supabase/types").Json;
25340
+ };
25212
25341
  logistics_upsert_task: {
25213
25342
  Args: {
25214
25343
  p_buffer_ref: string;
@@ -29030,6 +29159,42 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
29030
29159
  };
29031
29160
  Relationships: [];
29032
29161
  };
29162
+ customer_assortment_items: {
29163
+ Row: {
29164
+ created_at: string;
29165
+ customer_key: string;
29166
+ id: string;
29167
+ in_assortment: boolean;
29168
+ manual_override: boolean;
29169
+ source: string;
29170
+ synced_at: string | null;
29171
+ trade_item_key: string;
29172
+ updated_at: string;
29173
+ };
29174
+ Insert: {
29175
+ created_at?: string;
29176
+ customer_key: string;
29177
+ id?: string;
29178
+ in_assortment?: boolean;
29179
+ manual_override?: boolean;
29180
+ source?: string;
29181
+ synced_at?: string | null;
29182
+ trade_item_key: string;
29183
+ updated_at?: string;
29184
+ };
29185
+ Update: {
29186
+ created_at?: string;
29187
+ customer_key?: string;
29188
+ id?: string;
29189
+ in_assortment?: boolean;
29190
+ manual_override?: boolean;
29191
+ source?: string;
29192
+ synced_at?: string | null;
29193
+ trade_item_key?: string;
29194
+ updated_at?: string;
29195
+ };
29196
+ Relationships: [];
29197
+ };
29033
29198
  customer_audit_log: {
29034
29199
  Row: {
29035
29200
  action: string;
@@ -29434,40 +29599,58 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
29434
29599
  };
29435
29600
  customer_product_stickers: {
29436
29601
  Row: {
29602
+ content_hash: string | null;
29437
29603
  created_at: string;
29438
29604
  customer_key: string;
29439
29605
  file_name: string;
29440
29606
  file_path: string;
29441
29607
  file_size: number | null;
29608
+ floriday_sticker_id: string | null;
29609
+ floriday_synced_at: string | null;
29610
+ height_mm: number | null;
29442
29611
  id: string;
29443
29612
  mime_type: string | null;
29613
+ source: string;
29444
29614
  trade_item_key: string;
29445
29615
  updated_at: string;
29446
29616
  uploaded_by: string | null;
29617
+ width_mm: number | null;
29447
29618
  };
29448
29619
  Insert: {
29620
+ content_hash?: string | null;
29449
29621
  created_at?: string;
29450
29622
  customer_key: string;
29451
29623
  file_name: string;
29452
29624
  file_path: string;
29453
29625
  file_size?: number | null;
29626
+ floriday_sticker_id?: string | null;
29627
+ floriday_synced_at?: string | null;
29628
+ height_mm?: number | null;
29454
29629
  id?: string;
29455
29630
  mime_type?: string | null;
29631
+ source?: string;
29456
29632
  trade_item_key: string;
29457
29633
  updated_at?: string;
29458
29634
  uploaded_by?: string | null;
29635
+ width_mm?: number | null;
29459
29636
  };
29460
29637
  Update: {
29638
+ content_hash?: string | null;
29461
29639
  created_at?: string;
29462
29640
  customer_key?: string;
29463
29641
  file_name?: string;
29464
29642
  file_path?: string;
29465
29643
  file_size?: number | null;
29644
+ floriday_sticker_id?: string | null;
29645
+ floriday_synced_at?: string | null;
29646
+ height_mm?: number | null;
29466
29647
  id?: string;
29467
29648
  mime_type?: string | null;
29649
+ source?: string;
29468
29650
  trade_item_key?: string;
29469
29651
  updated_at?: string;
29470
29652
  uploaded_by?: string | null;
29653
+ width_mm?: number | null;
29471
29654
  };
29472
29655
  Relationships: [];
29473
29656
  };
@@ -38775,6 +38958,7 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
38775
38958
  Row: {
38776
38959
  actor: string | null;
38777
38960
  attempts: number;
38961
+ calc: import("../integrations/supabase/types").Json | null;
38778
38962
  cart_ref: string | null;
38779
38963
  created_at: string;
38780
38964
  db_action: string | null;
@@ -38785,6 +38969,7 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
38785
38969
  decision: string | null;
38786
38970
  duration_ms: number | null;
38787
38971
  error: string | null;
38972
+ error_class: string | null;
38788
38973
  external_action: string | null;
38789
38974
  external_ref: string | null;
38790
38975
  external_response: import("../integrations/supabase/types").Json | null;
@@ -38793,6 +38978,8 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
38793
38978
  id: string;
38794
38979
  input: import("../integrations/supabase/types").Json | null;
38795
38980
  next_attempt_at: string | null;
38981
+ next_step: string | null;
38982
+ node_id: string | null;
38796
38983
  order_ref: string | null;
38797
38984
  order_source: string | null;
38798
38985
  output: import("../integrations/supabase/types").Json | null;
@@ -38809,6 +38996,7 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
38809
38996
  Insert: {
38810
38997
  actor?: string | null;
38811
38998
  attempts?: number;
38999
+ calc?: import("../integrations/supabase/types").Json | null;
38812
39000
  cart_ref?: string | null;
38813
39001
  created_at?: string;
38814
39002
  db_action?: string | null;
@@ -38819,6 +39007,7 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
38819
39007
  decision?: string | null;
38820
39008
  duration_ms?: number | null;
38821
39009
  error?: string | null;
39010
+ error_class?: string | null;
38822
39011
  external_action?: string | null;
38823
39012
  external_ref?: string | null;
38824
39013
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38827,6 +39016,8 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
38827
39016
  id?: string;
38828
39017
  input?: import("../integrations/supabase/types").Json | null;
38829
39018
  next_attempt_at?: string | null;
39019
+ next_step?: string | null;
39020
+ node_id?: string | null;
38830
39021
  order_ref?: string | null;
38831
39022
  order_source?: string | null;
38832
39023
  output?: import("../integrations/supabase/types").Json | null;
@@ -38843,6 +39034,7 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
38843
39034
  Update: {
38844
39035
  actor?: string | null;
38845
39036
  attempts?: number;
39037
+ calc?: import("../integrations/supabase/types").Json | null;
38846
39038
  cart_ref?: string | null;
38847
39039
  created_at?: string;
38848
39040
  db_action?: string | null;
@@ -38853,6 +39045,7 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
38853
39045
  decision?: string | null;
38854
39046
  duration_ms?: number | null;
38855
39047
  error?: string | null;
39048
+ error_class?: string | null;
38856
39049
  external_action?: string | null;
38857
39050
  external_ref?: string | null;
38858
39051
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38861,6 +39054,8 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
38861
39054
  id?: string;
38862
39055
  input?: import("../integrations/supabase/types").Json | null;
38863
39056
  next_attempt_at?: string | null;
39057
+ next_step?: string | null;
39058
+ node_id?: string | null;
38864
39059
  order_ref?: string | null;
38865
39060
  order_source?: string | null;
38866
39061
  output?: import("../integrations/supabase/types").Json | null;
@@ -52365,12 +52560,59 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
52365
52560
  };
52366
52561
  Returns: string;
52367
52562
  };
52563
+ logistics_trace_all_orders: {
52564
+ Args: {
52565
+ p_limit?: number;
52566
+ p_search?: string;
52567
+ };
52568
+ Returns: import("../integrations/supabase/types").Json;
52569
+ };
52368
52570
  logistics_trace_batch: {
52369
52571
  Args: {
52370
52572
  p: import("../integrations/supabase/types").Json;
52371
52573
  };
52372
52574
  Returns: number;
52373
52575
  };
52576
+ logistics_trace_node: {
52577
+ Args: {
52578
+ p_op?: string;
52579
+ p_status?: string;
52580
+ p_table: string;
52581
+ };
52582
+ Returns: string;
52583
+ };
52584
+ logistics_trace_order_overview: {
52585
+ Args: {
52586
+ p_error_class?: string;
52587
+ p_limit?: number;
52588
+ p_search?: string;
52589
+ p_since?: string;
52590
+ p_source?: string;
52591
+ p_state?: string;
52592
+ p_step?: string;
52593
+ };
52594
+ Returns: import("../integrations/supabase/types").Json;
52595
+ };
52596
+ logistics_trace_order_state: {
52597
+ Args: {
52598
+ p_order_ref: string;
52599
+ };
52600
+ Returns: import("../integrations/supabase/types").Json;
52601
+ };
52602
+ logistics_trace_order_step: {
52603
+ Args: {
52604
+ p_class?: string;
52605
+ p_decision?: string;
52606
+ p_error?: string;
52607
+ p_next_step?: string;
52608
+ p_node: string;
52609
+ p_order_id: string;
52610
+ p_reason?: string;
52611
+ p_status: string;
52612
+ p_step: string;
52613
+ };
52614
+ Returns: undefined;
52615
+ };
52374
52616
  logistics_trace_orders: {
52375
52617
  Args: {
52376
52618
  p_limit?: number;
@@ -52393,6 +52635,22 @@ export declare const applyFloridayPriceImport: import("@tanstack/start-client-co
52393
52635
  };
52394
52636
  Returns: import("../integrations/supabase/types").Json;
52395
52637
  };
52638
+ logistics_trace_version_events: {
52639
+ Args: {
52640
+ p_from?: string;
52641
+ p_limit?: number;
52642
+ p_order_ref: string;
52643
+ p_to?: string;
52644
+ p_version_id: string;
52645
+ };
52646
+ Returns: import("../integrations/supabase/types").Json;
52647
+ };
52648
+ logistics_trace_versions: {
52649
+ Args: {
52650
+ p_order_ref: string;
52651
+ };
52652
+ Returns: import("../integrations/supabase/types").Json;
52653
+ };
52396
52654
  logistics_upsert_task: {
52397
52655
  Args: {
52398
52656
  p_buffer_ref: string;