@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
@@ -1873,6 +1873,42 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
1873
1873
  };
1874
1874
  Relationships: [];
1875
1875
  };
1876
+ customer_assortment_items: {
1877
+ Row: {
1878
+ created_at: string;
1879
+ customer_key: string;
1880
+ id: string;
1881
+ in_assortment: boolean;
1882
+ manual_override: boolean;
1883
+ source: string;
1884
+ synced_at: string | null;
1885
+ trade_item_key: string;
1886
+ updated_at: string;
1887
+ };
1888
+ Insert: {
1889
+ created_at?: string;
1890
+ customer_key: string;
1891
+ id?: string;
1892
+ in_assortment?: boolean;
1893
+ manual_override?: boolean;
1894
+ source?: string;
1895
+ synced_at?: string | null;
1896
+ trade_item_key: string;
1897
+ updated_at?: string;
1898
+ };
1899
+ Update: {
1900
+ created_at?: string;
1901
+ customer_key?: string;
1902
+ id?: string;
1903
+ in_assortment?: boolean;
1904
+ manual_override?: boolean;
1905
+ source?: string;
1906
+ synced_at?: string | null;
1907
+ trade_item_key?: string;
1908
+ updated_at?: string;
1909
+ };
1910
+ Relationships: [];
1911
+ };
1876
1912
  customer_audit_log: {
1877
1913
  Row: {
1878
1914
  action: string;
@@ -2277,40 +2313,58 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
2277
2313
  };
2278
2314
  customer_product_stickers: {
2279
2315
  Row: {
2316
+ content_hash: string | null;
2280
2317
  created_at: string;
2281
2318
  customer_key: string;
2282
2319
  file_name: string;
2283
2320
  file_path: string;
2284
2321
  file_size: number | null;
2322
+ floriday_sticker_id: string | null;
2323
+ floriday_synced_at: string | null;
2324
+ height_mm: number | null;
2285
2325
  id: string;
2286
2326
  mime_type: string | null;
2327
+ source: string;
2287
2328
  trade_item_key: string;
2288
2329
  updated_at: string;
2289
2330
  uploaded_by: string | null;
2331
+ width_mm: number | null;
2290
2332
  };
2291
2333
  Insert: {
2334
+ content_hash?: string | null;
2292
2335
  created_at?: string;
2293
2336
  customer_key: string;
2294
2337
  file_name: string;
2295
2338
  file_path: string;
2296
2339
  file_size?: number | null;
2340
+ floriday_sticker_id?: string | null;
2341
+ floriday_synced_at?: string | null;
2342
+ height_mm?: number | null;
2297
2343
  id?: string;
2298
2344
  mime_type?: string | null;
2345
+ source?: string;
2299
2346
  trade_item_key: string;
2300
2347
  updated_at?: string;
2301
2348
  uploaded_by?: string | null;
2349
+ width_mm?: number | null;
2302
2350
  };
2303
2351
  Update: {
2352
+ content_hash?: string | null;
2304
2353
  created_at?: string;
2305
2354
  customer_key?: string;
2306
2355
  file_name?: string;
2307
2356
  file_path?: string;
2308
2357
  file_size?: number | null;
2358
+ floriday_sticker_id?: string | null;
2359
+ floriday_synced_at?: string | null;
2360
+ height_mm?: number | null;
2309
2361
  id?: string;
2310
2362
  mime_type?: string | null;
2363
+ source?: string;
2311
2364
  trade_item_key?: string;
2312
2365
  updated_at?: string;
2313
2366
  uploaded_by?: string | null;
2367
+ width_mm?: number | null;
2314
2368
  };
2315
2369
  Relationships: [];
2316
2370
  };
@@ -11618,6 +11672,7 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
11618
11672
  Row: {
11619
11673
  actor: string | null;
11620
11674
  attempts: number;
11675
+ calc: import("../integrations/supabase/types").Json | null;
11621
11676
  cart_ref: string | null;
11622
11677
  created_at: string;
11623
11678
  db_action: string | null;
@@ -11628,6 +11683,7 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
11628
11683
  decision: string | null;
11629
11684
  duration_ms: number | null;
11630
11685
  error: string | null;
11686
+ error_class: string | null;
11631
11687
  external_action: string | null;
11632
11688
  external_ref: string | null;
11633
11689
  external_response: import("../integrations/supabase/types").Json | null;
@@ -11636,6 +11692,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
11636
11692
  id: string;
11637
11693
  input: import("../integrations/supabase/types").Json | null;
11638
11694
  next_attempt_at: string | null;
11695
+ next_step: string | null;
11696
+ node_id: string | null;
11639
11697
  order_ref: string | null;
11640
11698
  order_source: string | null;
11641
11699
  output: import("../integrations/supabase/types").Json | null;
@@ -11652,6 +11710,7 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
11652
11710
  Insert: {
11653
11711
  actor?: string | null;
11654
11712
  attempts?: number;
11713
+ calc?: import("../integrations/supabase/types").Json | null;
11655
11714
  cart_ref?: string | null;
11656
11715
  created_at?: string;
11657
11716
  db_action?: string | null;
@@ -11662,6 +11721,7 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
11662
11721
  decision?: string | null;
11663
11722
  duration_ms?: number | null;
11664
11723
  error?: string | null;
11724
+ error_class?: string | null;
11665
11725
  external_action?: string | null;
11666
11726
  external_ref?: string | null;
11667
11727
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11670,6 +11730,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
11670
11730
  id?: string;
11671
11731
  input?: import("../integrations/supabase/types").Json | null;
11672
11732
  next_attempt_at?: string | null;
11733
+ next_step?: string | null;
11734
+ node_id?: string | null;
11673
11735
  order_ref?: string | null;
11674
11736
  order_source?: string | null;
11675
11737
  output?: import("../integrations/supabase/types").Json | null;
@@ -11686,6 +11748,7 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
11686
11748
  Update: {
11687
11749
  actor?: string | null;
11688
11750
  attempts?: number;
11751
+ calc?: import("../integrations/supabase/types").Json | null;
11689
11752
  cart_ref?: string | null;
11690
11753
  created_at?: string;
11691
11754
  db_action?: string | null;
@@ -11696,6 +11759,7 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
11696
11759
  decision?: string | null;
11697
11760
  duration_ms?: number | null;
11698
11761
  error?: string | null;
11762
+ error_class?: string | null;
11699
11763
  external_action?: string | null;
11700
11764
  external_ref?: string | null;
11701
11765
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11704,6 +11768,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
11704
11768
  id?: string;
11705
11769
  input?: import("../integrations/supabase/types").Json | null;
11706
11770
  next_attempt_at?: string | null;
11771
+ next_step?: string | null;
11772
+ node_id?: string | null;
11707
11773
  order_ref?: string | null;
11708
11774
  order_source?: string | null;
11709
11775
  output?: import("../integrations/supabase/types").Json | null;
@@ -25208,12 +25274,59 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
25208
25274
  };
25209
25275
  Returns: string;
25210
25276
  };
25277
+ logistics_trace_all_orders: {
25278
+ Args: {
25279
+ p_limit?: number;
25280
+ p_search?: string;
25281
+ };
25282
+ Returns: import("../integrations/supabase/types").Json;
25283
+ };
25211
25284
  logistics_trace_batch: {
25212
25285
  Args: {
25213
25286
  p: import("../integrations/supabase/types").Json;
25214
25287
  };
25215
25288
  Returns: number;
25216
25289
  };
25290
+ logistics_trace_node: {
25291
+ Args: {
25292
+ p_op?: string;
25293
+ p_status?: string;
25294
+ p_table: string;
25295
+ };
25296
+ Returns: string;
25297
+ };
25298
+ logistics_trace_order_overview: {
25299
+ Args: {
25300
+ p_error_class?: string;
25301
+ p_limit?: number;
25302
+ p_search?: string;
25303
+ p_since?: string;
25304
+ p_source?: string;
25305
+ p_state?: string;
25306
+ p_step?: string;
25307
+ };
25308
+ Returns: import("../integrations/supabase/types").Json;
25309
+ };
25310
+ logistics_trace_order_state: {
25311
+ Args: {
25312
+ p_order_ref: string;
25313
+ };
25314
+ Returns: import("../integrations/supabase/types").Json;
25315
+ };
25316
+ logistics_trace_order_step: {
25317
+ Args: {
25318
+ p_class?: string;
25319
+ p_decision?: string;
25320
+ p_error?: string;
25321
+ p_next_step?: string;
25322
+ p_node: string;
25323
+ p_order_id: string;
25324
+ p_reason?: string;
25325
+ p_status: string;
25326
+ p_step: string;
25327
+ };
25328
+ Returns: undefined;
25329
+ };
25217
25330
  logistics_trace_orders: {
25218
25331
  Args: {
25219
25332
  p_limit?: number;
@@ -25236,6 +25349,22 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
25236
25349
  };
25237
25350
  Returns: import("../integrations/supabase/types").Json;
25238
25351
  };
25352
+ logistics_trace_version_events: {
25353
+ Args: {
25354
+ p_from?: string;
25355
+ p_limit?: number;
25356
+ p_order_ref: string;
25357
+ p_to?: string;
25358
+ p_version_id: string;
25359
+ };
25360
+ Returns: import("../integrations/supabase/types").Json;
25361
+ };
25362
+ logistics_trace_versions: {
25363
+ Args: {
25364
+ p_order_ref: string;
25365
+ };
25366
+ Returns: import("../integrations/supabase/types").Json;
25367
+ };
25239
25368
  logistics_upsert_task: {
25240
25369
  Args: {
25241
25370
  p_buffer_ref: string;
@@ -29070,6 +29199,42 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
29070
29199
  };
29071
29200
  Relationships: [];
29072
29201
  };
29202
+ customer_assortment_items: {
29203
+ Row: {
29204
+ created_at: string;
29205
+ customer_key: string;
29206
+ id: string;
29207
+ in_assortment: boolean;
29208
+ manual_override: boolean;
29209
+ source: string;
29210
+ synced_at: string | null;
29211
+ trade_item_key: string;
29212
+ updated_at: string;
29213
+ };
29214
+ Insert: {
29215
+ created_at?: string;
29216
+ customer_key: string;
29217
+ id?: string;
29218
+ in_assortment?: boolean;
29219
+ manual_override?: boolean;
29220
+ source?: string;
29221
+ synced_at?: string | null;
29222
+ trade_item_key: string;
29223
+ updated_at?: string;
29224
+ };
29225
+ Update: {
29226
+ created_at?: string;
29227
+ customer_key?: string;
29228
+ id?: string;
29229
+ in_assortment?: boolean;
29230
+ manual_override?: boolean;
29231
+ source?: string;
29232
+ synced_at?: string | null;
29233
+ trade_item_key?: string;
29234
+ updated_at?: string;
29235
+ };
29236
+ Relationships: [];
29237
+ };
29073
29238
  customer_audit_log: {
29074
29239
  Row: {
29075
29240
  action: string;
@@ -29474,40 +29639,58 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
29474
29639
  };
29475
29640
  customer_product_stickers: {
29476
29641
  Row: {
29642
+ content_hash: string | null;
29477
29643
  created_at: string;
29478
29644
  customer_key: string;
29479
29645
  file_name: string;
29480
29646
  file_path: string;
29481
29647
  file_size: number | null;
29648
+ floriday_sticker_id: string | null;
29649
+ floriday_synced_at: string | null;
29650
+ height_mm: number | null;
29482
29651
  id: string;
29483
29652
  mime_type: string | null;
29653
+ source: string;
29484
29654
  trade_item_key: string;
29485
29655
  updated_at: string;
29486
29656
  uploaded_by: string | null;
29657
+ width_mm: number | null;
29487
29658
  };
29488
29659
  Insert: {
29660
+ content_hash?: string | null;
29489
29661
  created_at?: string;
29490
29662
  customer_key: string;
29491
29663
  file_name: string;
29492
29664
  file_path: string;
29493
29665
  file_size?: number | null;
29666
+ floriday_sticker_id?: string | null;
29667
+ floriday_synced_at?: string | null;
29668
+ height_mm?: number | null;
29494
29669
  id?: string;
29495
29670
  mime_type?: string | null;
29671
+ source?: string;
29496
29672
  trade_item_key: string;
29497
29673
  updated_at?: string;
29498
29674
  uploaded_by?: string | null;
29675
+ width_mm?: number | null;
29499
29676
  };
29500
29677
  Update: {
29678
+ content_hash?: string | null;
29501
29679
  created_at?: string;
29502
29680
  customer_key?: string;
29503
29681
  file_name?: string;
29504
29682
  file_path?: string;
29505
29683
  file_size?: number | null;
29684
+ floriday_sticker_id?: string | null;
29685
+ floriday_synced_at?: string | null;
29686
+ height_mm?: number | null;
29506
29687
  id?: string;
29507
29688
  mime_type?: string | null;
29689
+ source?: string;
29508
29690
  trade_item_key?: string;
29509
29691
  updated_at?: string;
29510
29692
  uploaded_by?: string | null;
29693
+ width_mm?: number | null;
29511
29694
  };
29512
29695
  Relationships: [];
29513
29696
  };
@@ -38815,6 +38998,7 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38815
38998
  Row: {
38816
38999
  actor: string | null;
38817
39000
  attempts: number;
39001
+ calc: import("../integrations/supabase/types").Json | null;
38818
39002
  cart_ref: string | null;
38819
39003
  created_at: string;
38820
39004
  db_action: string | null;
@@ -38825,6 +39009,7 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38825
39009
  decision: string | null;
38826
39010
  duration_ms: number | null;
38827
39011
  error: string | null;
39012
+ error_class: string | null;
38828
39013
  external_action: string | null;
38829
39014
  external_ref: string | null;
38830
39015
  external_response: import("../integrations/supabase/types").Json | null;
@@ -38833,6 +39018,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38833
39018
  id: string;
38834
39019
  input: import("../integrations/supabase/types").Json | null;
38835
39020
  next_attempt_at: string | null;
39021
+ next_step: string | null;
39022
+ node_id: string | null;
38836
39023
  order_ref: string | null;
38837
39024
  order_source: string | null;
38838
39025
  output: import("../integrations/supabase/types").Json | null;
@@ -38849,6 +39036,7 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38849
39036
  Insert: {
38850
39037
  actor?: string | null;
38851
39038
  attempts?: number;
39039
+ calc?: import("../integrations/supabase/types").Json | null;
38852
39040
  cart_ref?: string | null;
38853
39041
  created_at?: string;
38854
39042
  db_action?: string | null;
@@ -38859,6 +39047,7 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38859
39047
  decision?: string | null;
38860
39048
  duration_ms?: number | null;
38861
39049
  error?: string | null;
39050
+ error_class?: string | null;
38862
39051
  external_action?: string | null;
38863
39052
  external_ref?: string | null;
38864
39053
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38867,6 +39056,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38867
39056
  id?: string;
38868
39057
  input?: import("../integrations/supabase/types").Json | null;
38869
39058
  next_attempt_at?: string | null;
39059
+ next_step?: string | null;
39060
+ node_id?: string | null;
38870
39061
  order_ref?: string | null;
38871
39062
  order_source?: string | null;
38872
39063
  output?: import("../integrations/supabase/types").Json | null;
@@ -38883,6 +39074,7 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38883
39074
  Update: {
38884
39075
  actor?: string | null;
38885
39076
  attempts?: number;
39077
+ calc?: import("../integrations/supabase/types").Json | null;
38886
39078
  cart_ref?: string | null;
38887
39079
  created_at?: string;
38888
39080
  db_action?: string | null;
@@ -38893,6 +39085,7 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38893
39085
  decision?: string | null;
38894
39086
  duration_ms?: number | null;
38895
39087
  error?: string | null;
39088
+ error_class?: string | null;
38896
39089
  external_action?: string | null;
38897
39090
  external_ref?: string | null;
38898
39091
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38901,6 +39094,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38901
39094
  id?: string;
38902
39095
  input?: import("../integrations/supabase/types").Json | null;
38903
39096
  next_attempt_at?: string | null;
39097
+ next_step?: string | null;
39098
+ node_id?: string | null;
38904
39099
  order_ref?: string | null;
38905
39100
  order_source?: string | null;
38906
39101
  output?: import("../integrations/supabase/types").Json | null;
@@ -52405,12 +52600,59 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
52405
52600
  };
52406
52601
  Returns: string;
52407
52602
  };
52603
+ logistics_trace_all_orders: {
52604
+ Args: {
52605
+ p_limit?: number;
52606
+ p_search?: string;
52607
+ };
52608
+ Returns: import("../integrations/supabase/types").Json;
52609
+ };
52408
52610
  logistics_trace_batch: {
52409
52611
  Args: {
52410
52612
  p: import("../integrations/supabase/types").Json;
52411
52613
  };
52412
52614
  Returns: number;
52413
52615
  };
52616
+ logistics_trace_node: {
52617
+ Args: {
52618
+ p_op?: string;
52619
+ p_status?: string;
52620
+ p_table: string;
52621
+ };
52622
+ Returns: string;
52623
+ };
52624
+ logistics_trace_order_overview: {
52625
+ Args: {
52626
+ p_error_class?: string;
52627
+ p_limit?: number;
52628
+ p_search?: string;
52629
+ p_since?: string;
52630
+ p_source?: string;
52631
+ p_state?: string;
52632
+ p_step?: string;
52633
+ };
52634
+ Returns: import("../integrations/supabase/types").Json;
52635
+ };
52636
+ logistics_trace_order_state: {
52637
+ Args: {
52638
+ p_order_ref: string;
52639
+ };
52640
+ Returns: import("../integrations/supabase/types").Json;
52641
+ };
52642
+ logistics_trace_order_step: {
52643
+ Args: {
52644
+ p_class?: string;
52645
+ p_decision?: string;
52646
+ p_error?: string;
52647
+ p_next_step?: string;
52648
+ p_node: string;
52649
+ p_order_id: string;
52650
+ p_reason?: string;
52651
+ p_status: string;
52652
+ p_step: string;
52653
+ };
52654
+ Returns: undefined;
52655
+ };
52414
52656
  logistics_trace_orders: {
52415
52657
  Args: {
52416
52658
  p_limit?: number;
@@ -52433,6 +52675,22 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
52433
52675
  };
52434
52676
  Returns: import("../integrations/supabase/types").Json;
52435
52677
  };
52678
+ logistics_trace_version_events: {
52679
+ Args: {
52680
+ p_from?: string;
52681
+ p_limit?: number;
52682
+ p_order_ref: string;
52683
+ p_to?: string;
52684
+ p_version_id: string;
52685
+ };
52686
+ Returns: import("../integrations/supabase/types").Json;
52687
+ };
52688
+ logistics_trace_versions: {
52689
+ Args: {
52690
+ p_order_ref: string;
52691
+ };
52692
+ Returns: import("../integrations/supabase/types").Json;
52693
+ };
52436
52694
  logistics_upsert_task: {
52437
52695
  Args: {
52438
52696
  p_buffer_ref: string;