@flowselections/floriday-voorraad 1.0.44 → 1.0.45

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 (32) hide show
  1. package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
  2. package/dist-lib/components/voorraad/StockPushMonitor.js +31 -2
  3. package/dist-lib/hooks/useStockPushJobs.d.ts +2 -0
  4. package/dist-lib/hooks/useStockPushJobs.d.ts.map +1 -1
  5. package/dist-lib/hooks/useStockPushJobs.js +3 -1
  6. package/dist-lib/integrations/supabase/auth-middleware.d.ts +84 -0
  7. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  8. package/dist-lib/integrations/supabase/client.d.ts +84 -0
  9. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  10. package/dist-lib/integrations/supabase/client.server.d.ts +84 -0
  11. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  12. package/dist-lib/integrations/supabase/types.d.ts +84 -0
  13. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  14. package/dist-lib/lib/floricode-required-features.functions.d.ts +84 -0
  15. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  16. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +84 -0
  17. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/floriday-env.functions.d.ts +168 -0
  19. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/floriday-gateway.functions.d.ts +504 -0
  21. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +168 -0
  23. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/floriday-warehouse.functions.d.ts +252 -0
  25. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floriday-writes.functions.d.ts +168 -0
  27. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/inventory-settings.functions.d.ts +168 -0
  29. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/stock-sync.functions.d.ts +168 -0
  31. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  32. package/package.json +1 -1
@@ -1836,6 +1836,42 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
1836
1836
  };
1837
1837
  Relationships: [];
1838
1838
  };
1839
+ customer_assortment_items: {
1840
+ Row: {
1841
+ created_at: string;
1842
+ customer_key: string;
1843
+ id: string;
1844
+ in_assortment: boolean;
1845
+ manual_override: boolean;
1846
+ source: string;
1847
+ synced_at: string | null;
1848
+ trade_item_key: string;
1849
+ updated_at: string;
1850
+ };
1851
+ Insert: {
1852
+ created_at?: string;
1853
+ customer_key: string;
1854
+ id?: string;
1855
+ in_assortment?: boolean;
1856
+ manual_override?: boolean;
1857
+ source?: string;
1858
+ synced_at?: string | null;
1859
+ trade_item_key: string;
1860
+ updated_at?: string;
1861
+ };
1862
+ Update: {
1863
+ created_at?: string;
1864
+ customer_key?: string;
1865
+ id?: string;
1866
+ in_assortment?: boolean;
1867
+ manual_override?: boolean;
1868
+ source?: string;
1869
+ synced_at?: string | null;
1870
+ trade_item_key?: string;
1871
+ updated_at?: string;
1872
+ };
1873
+ Relationships: [];
1874
+ };
1839
1875
  customer_audit_log: {
1840
1876
  Row: {
1841
1877
  action: string;
@@ -2240,40 +2276,58 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
2240
2276
  };
2241
2277
  customer_product_stickers: {
2242
2278
  Row: {
2279
+ content_hash: string | null;
2243
2280
  created_at: string;
2244
2281
  customer_key: string;
2245
2282
  file_name: string;
2246
2283
  file_path: string;
2247
2284
  file_size: number | null;
2285
+ floriday_sticker_id: string | null;
2286
+ floriday_synced_at: string | null;
2287
+ height_mm: number | null;
2248
2288
  id: string;
2249
2289
  mime_type: string | null;
2290
+ source: string;
2250
2291
  trade_item_key: string;
2251
2292
  updated_at: string;
2252
2293
  uploaded_by: string | null;
2294
+ width_mm: number | null;
2253
2295
  };
2254
2296
  Insert: {
2297
+ content_hash?: string | null;
2255
2298
  created_at?: string;
2256
2299
  customer_key: string;
2257
2300
  file_name: string;
2258
2301
  file_path: string;
2259
2302
  file_size?: number | null;
2303
+ floriday_sticker_id?: string | null;
2304
+ floriday_synced_at?: string | null;
2305
+ height_mm?: number | null;
2260
2306
  id?: string;
2261
2307
  mime_type?: string | null;
2308
+ source?: string;
2262
2309
  trade_item_key: string;
2263
2310
  updated_at?: string;
2264
2311
  uploaded_by?: string | null;
2312
+ width_mm?: number | null;
2265
2313
  };
2266
2314
  Update: {
2315
+ content_hash?: string | null;
2267
2316
  created_at?: string;
2268
2317
  customer_key?: string;
2269
2318
  file_name?: string;
2270
2319
  file_path?: string;
2271
2320
  file_size?: number | null;
2321
+ floriday_sticker_id?: string | null;
2322
+ floriday_synced_at?: string | null;
2323
+ height_mm?: number | null;
2272
2324
  id?: string;
2273
2325
  mime_type?: string | null;
2326
+ source?: string;
2274
2327
  trade_item_key?: string;
2275
2328
  updated_at?: string;
2276
2329
  uploaded_by?: string | null;
2330
+ width_mm?: number | null;
2277
2331
  };
2278
2332
  Relationships: [];
2279
2333
  };
@@ -11581,6 +11635,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
11581
11635
  Row: {
11582
11636
  actor: string | null;
11583
11637
  attempts: number;
11638
+ calc: import("../integrations/supabase/types").Json | null;
11584
11639
  cart_ref: string | null;
11585
11640
  created_at: string;
11586
11641
  db_action: string | null;
@@ -11591,6 +11646,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
11591
11646
  decision: string | null;
11592
11647
  duration_ms: number | null;
11593
11648
  error: string | null;
11649
+ error_class: string | null;
11594
11650
  external_action: string | null;
11595
11651
  external_ref: string | null;
11596
11652
  external_response: import("../integrations/supabase/types").Json | null;
@@ -11599,6 +11655,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
11599
11655
  id: string;
11600
11656
  input: import("../integrations/supabase/types").Json | null;
11601
11657
  next_attempt_at: string | null;
11658
+ next_step: string | null;
11659
+ node_id: string | null;
11602
11660
  order_ref: string | null;
11603
11661
  order_source: string | null;
11604
11662
  output: import("../integrations/supabase/types").Json | null;
@@ -11615,6 +11673,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
11615
11673
  Insert: {
11616
11674
  actor?: string | null;
11617
11675
  attempts?: number;
11676
+ calc?: import("../integrations/supabase/types").Json | null;
11618
11677
  cart_ref?: string | null;
11619
11678
  created_at?: string;
11620
11679
  db_action?: string | null;
@@ -11625,6 +11684,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
11625
11684
  decision?: string | null;
11626
11685
  duration_ms?: number | null;
11627
11686
  error?: string | null;
11687
+ error_class?: string | null;
11628
11688
  external_action?: string | null;
11629
11689
  external_ref?: string | null;
11630
11690
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11633,6 +11693,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
11633
11693
  id?: string;
11634
11694
  input?: import("../integrations/supabase/types").Json | null;
11635
11695
  next_attempt_at?: string | null;
11696
+ next_step?: string | null;
11697
+ node_id?: string | null;
11636
11698
  order_ref?: string | null;
11637
11699
  order_source?: string | null;
11638
11700
  output?: import("../integrations/supabase/types").Json | null;
@@ -11649,6 +11711,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
11649
11711
  Update: {
11650
11712
  actor?: string | null;
11651
11713
  attempts?: number;
11714
+ calc?: import("../integrations/supabase/types").Json | null;
11652
11715
  cart_ref?: string | null;
11653
11716
  created_at?: string;
11654
11717
  db_action?: string | null;
@@ -11659,6 +11722,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
11659
11722
  decision?: string | null;
11660
11723
  duration_ms?: number | null;
11661
11724
  error?: string | null;
11725
+ error_class?: string | null;
11662
11726
  external_action?: string | null;
11663
11727
  external_ref?: string | null;
11664
11728
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11667,6 +11731,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
11667
11731
  id?: string;
11668
11732
  input?: import("../integrations/supabase/types").Json | null;
11669
11733
  next_attempt_at?: string | null;
11734
+ next_step?: string | null;
11735
+ node_id?: string | null;
11670
11736
  order_ref?: string | null;
11671
11737
  order_source?: string | null;
11672
11738
  output?: import("../integrations/supabase/types").Json | null;
@@ -25184,6 +25250,24 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
25184
25250
  };
25185
25251
  Returns: number;
25186
25252
  };
25253
+ logistics_trace_order_overview: {
25254
+ Args: {
25255
+ p_error_class?: string;
25256
+ p_limit?: number;
25257
+ p_search?: string;
25258
+ p_since?: string;
25259
+ p_source?: string;
25260
+ p_state?: string;
25261
+ p_step?: string;
25262
+ };
25263
+ Returns: import("../integrations/supabase/types").Json;
25264
+ };
25265
+ logistics_trace_order_state: {
25266
+ Args: {
25267
+ p_order_ref: string;
25268
+ };
25269
+ Returns: import("../integrations/supabase/types").Json;
25270
+ };
25187
25271
  logistics_trace_orders: {
25188
25272
  Args: {
25189
25273
  p_limit?: number;
@@ -29045,6 +29129,42 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
29045
29129
  };
29046
29130
  Relationships: [];
29047
29131
  };
29132
+ customer_assortment_items: {
29133
+ Row: {
29134
+ created_at: string;
29135
+ customer_key: string;
29136
+ id: string;
29137
+ in_assortment: boolean;
29138
+ manual_override: boolean;
29139
+ source: string;
29140
+ synced_at: string | null;
29141
+ trade_item_key: string;
29142
+ updated_at: string;
29143
+ };
29144
+ Insert: {
29145
+ created_at?: string;
29146
+ customer_key: string;
29147
+ id?: string;
29148
+ in_assortment?: boolean;
29149
+ manual_override?: boolean;
29150
+ source?: string;
29151
+ synced_at?: string | null;
29152
+ trade_item_key: string;
29153
+ updated_at?: string;
29154
+ };
29155
+ Update: {
29156
+ created_at?: string;
29157
+ customer_key?: string;
29158
+ id?: string;
29159
+ in_assortment?: boolean;
29160
+ manual_override?: boolean;
29161
+ source?: string;
29162
+ synced_at?: string | null;
29163
+ trade_item_key?: string;
29164
+ updated_at?: string;
29165
+ };
29166
+ Relationships: [];
29167
+ };
29048
29168
  customer_audit_log: {
29049
29169
  Row: {
29050
29170
  action: string;
@@ -29449,40 +29569,58 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
29449
29569
  };
29450
29570
  customer_product_stickers: {
29451
29571
  Row: {
29572
+ content_hash: string | null;
29452
29573
  created_at: string;
29453
29574
  customer_key: string;
29454
29575
  file_name: string;
29455
29576
  file_path: string;
29456
29577
  file_size: number | null;
29578
+ floriday_sticker_id: string | null;
29579
+ floriday_synced_at: string | null;
29580
+ height_mm: number | null;
29457
29581
  id: string;
29458
29582
  mime_type: string | null;
29583
+ source: string;
29459
29584
  trade_item_key: string;
29460
29585
  updated_at: string;
29461
29586
  uploaded_by: string | null;
29587
+ width_mm: number | null;
29462
29588
  };
29463
29589
  Insert: {
29590
+ content_hash?: string | null;
29464
29591
  created_at?: string;
29465
29592
  customer_key: string;
29466
29593
  file_name: string;
29467
29594
  file_path: string;
29468
29595
  file_size?: number | null;
29596
+ floriday_sticker_id?: string | null;
29597
+ floriday_synced_at?: string | null;
29598
+ height_mm?: number | null;
29469
29599
  id?: string;
29470
29600
  mime_type?: string | null;
29601
+ source?: string;
29471
29602
  trade_item_key: string;
29472
29603
  updated_at?: string;
29473
29604
  uploaded_by?: string | null;
29605
+ width_mm?: number | null;
29474
29606
  };
29475
29607
  Update: {
29608
+ content_hash?: string | null;
29476
29609
  created_at?: string;
29477
29610
  customer_key?: string;
29478
29611
  file_name?: string;
29479
29612
  file_path?: string;
29480
29613
  file_size?: number | null;
29614
+ floriday_sticker_id?: string | null;
29615
+ floriday_synced_at?: string | null;
29616
+ height_mm?: number | null;
29481
29617
  id?: string;
29482
29618
  mime_type?: string | null;
29619
+ source?: string;
29483
29620
  trade_item_key?: string;
29484
29621
  updated_at?: string;
29485
29622
  uploaded_by?: string | null;
29623
+ width_mm?: number | null;
29486
29624
  };
29487
29625
  Relationships: [];
29488
29626
  };
@@ -38790,6 +38928,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38790
38928
  Row: {
38791
38929
  actor: string | null;
38792
38930
  attempts: number;
38931
+ calc: import("../integrations/supabase/types").Json | null;
38793
38932
  cart_ref: string | null;
38794
38933
  created_at: string;
38795
38934
  db_action: string | null;
@@ -38800,6 +38939,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38800
38939
  decision: string | null;
38801
38940
  duration_ms: number | null;
38802
38941
  error: string | null;
38942
+ error_class: string | null;
38803
38943
  external_action: string | null;
38804
38944
  external_ref: string | null;
38805
38945
  external_response: import("../integrations/supabase/types").Json | null;
@@ -38808,6 +38948,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38808
38948
  id: string;
38809
38949
  input: import("../integrations/supabase/types").Json | null;
38810
38950
  next_attempt_at: string | null;
38951
+ next_step: string | null;
38952
+ node_id: string | null;
38811
38953
  order_ref: string | null;
38812
38954
  order_source: string | null;
38813
38955
  output: import("../integrations/supabase/types").Json | null;
@@ -38824,6 +38966,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38824
38966
  Insert: {
38825
38967
  actor?: string | null;
38826
38968
  attempts?: number;
38969
+ calc?: import("../integrations/supabase/types").Json | null;
38827
38970
  cart_ref?: string | null;
38828
38971
  created_at?: string;
38829
38972
  db_action?: string | null;
@@ -38834,6 +38977,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38834
38977
  decision?: string | null;
38835
38978
  duration_ms?: number | null;
38836
38979
  error?: string | null;
38980
+ error_class?: string | null;
38837
38981
  external_action?: string | null;
38838
38982
  external_ref?: string | null;
38839
38983
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38842,6 +38986,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38842
38986
  id?: string;
38843
38987
  input?: import("../integrations/supabase/types").Json | null;
38844
38988
  next_attempt_at?: string | null;
38989
+ next_step?: string | null;
38990
+ node_id?: string | null;
38845
38991
  order_ref?: string | null;
38846
38992
  order_source?: string | null;
38847
38993
  output?: import("../integrations/supabase/types").Json | null;
@@ -38858,6 +39004,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38858
39004
  Update: {
38859
39005
  actor?: string | null;
38860
39006
  attempts?: number;
39007
+ calc?: import("../integrations/supabase/types").Json | null;
38861
39008
  cart_ref?: string | null;
38862
39009
  created_at?: string;
38863
39010
  db_action?: string | null;
@@ -38868,6 +39015,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38868
39015
  decision?: string | null;
38869
39016
  duration_ms?: number | null;
38870
39017
  error?: string | null;
39018
+ error_class?: string | null;
38871
39019
  external_action?: string | null;
38872
39020
  external_ref?: string | null;
38873
39021
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38876,6 +39024,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38876
39024
  id?: string;
38877
39025
  input?: import("../integrations/supabase/types").Json | null;
38878
39026
  next_attempt_at?: string | null;
39027
+ next_step?: string | null;
39028
+ node_id?: string | null;
38879
39029
  order_ref?: string | null;
38880
39030
  order_source?: string | null;
38881
39031
  output?: import("../integrations/supabase/types").Json | null;
@@ -52393,6 +52543,24 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
52393
52543
  };
52394
52544
  Returns: number;
52395
52545
  };
52546
+ logistics_trace_order_overview: {
52547
+ Args: {
52548
+ p_error_class?: string;
52549
+ p_limit?: number;
52550
+ p_search?: string;
52551
+ p_since?: string;
52552
+ p_source?: string;
52553
+ p_state?: string;
52554
+ p_step?: string;
52555
+ };
52556
+ Returns: import("../integrations/supabase/types").Json;
52557
+ };
52558
+ logistics_trace_order_state: {
52559
+ Args: {
52560
+ p_order_ref: string;
52561
+ };
52562
+ Returns: import("../integrations/supabase/types").Json;
52563
+ };
52396
52564
  logistics_trace_orders: {
52397
52565
  Args: {
52398
52566
  p_limit?: number;
@@ -56249,6 +56417,42 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
56249
56417
  };
56250
56418
  Relationships: [];
56251
56419
  };
56420
+ customer_assortment_items: {
56421
+ Row: {
56422
+ created_at: string;
56423
+ customer_key: string;
56424
+ id: string;
56425
+ in_assortment: boolean;
56426
+ manual_override: boolean;
56427
+ source: string;
56428
+ synced_at: string | null;
56429
+ trade_item_key: string;
56430
+ updated_at: string;
56431
+ };
56432
+ Insert: {
56433
+ created_at?: string;
56434
+ customer_key: string;
56435
+ id?: string;
56436
+ in_assortment?: boolean;
56437
+ manual_override?: boolean;
56438
+ source?: string;
56439
+ synced_at?: string | null;
56440
+ trade_item_key: string;
56441
+ updated_at?: string;
56442
+ };
56443
+ Update: {
56444
+ created_at?: string;
56445
+ customer_key?: string;
56446
+ id?: string;
56447
+ in_assortment?: boolean;
56448
+ manual_override?: boolean;
56449
+ source?: string;
56450
+ synced_at?: string | null;
56451
+ trade_item_key?: string;
56452
+ updated_at?: string;
56453
+ };
56454
+ Relationships: [];
56455
+ };
56252
56456
  customer_audit_log: {
56253
56457
  Row: {
56254
56458
  action: string;
@@ -56653,40 +56857,58 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
56653
56857
  };
56654
56858
  customer_product_stickers: {
56655
56859
  Row: {
56860
+ content_hash: string | null;
56656
56861
  created_at: string;
56657
56862
  customer_key: string;
56658
56863
  file_name: string;
56659
56864
  file_path: string;
56660
56865
  file_size: number | null;
56866
+ floriday_sticker_id: string | null;
56867
+ floriday_synced_at: string | null;
56868
+ height_mm: number | null;
56661
56869
  id: string;
56662
56870
  mime_type: string | null;
56871
+ source: string;
56663
56872
  trade_item_key: string;
56664
56873
  updated_at: string;
56665
56874
  uploaded_by: string | null;
56875
+ width_mm: number | null;
56666
56876
  };
56667
56877
  Insert: {
56878
+ content_hash?: string | null;
56668
56879
  created_at?: string;
56669
56880
  customer_key: string;
56670
56881
  file_name: string;
56671
56882
  file_path: string;
56672
56883
  file_size?: number | null;
56884
+ floriday_sticker_id?: string | null;
56885
+ floriday_synced_at?: string | null;
56886
+ height_mm?: number | null;
56673
56887
  id?: string;
56674
56888
  mime_type?: string | null;
56889
+ source?: string;
56675
56890
  trade_item_key: string;
56676
56891
  updated_at?: string;
56677
56892
  uploaded_by?: string | null;
56893
+ width_mm?: number | null;
56678
56894
  };
56679
56895
  Update: {
56896
+ content_hash?: string | null;
56680
56897
  created_at?: string;
56681
56898
  customer_key?: string;
56682
56899
  file_name?: string;
56683
56900
  file_path?: string;
56684
56901
  file_size?: number | null;
56902
+ floriday_sticker_id?: string | null;
56903
+ floriday_synced_at?: string | null;
56904
+ height_mm?: number | null;
56685
56905
  id?: string;
56686
56906
  mime_type?: string | null;
56907
+ source?: string;
56687
56908
  trade_item_key?: string;
56688
56909
  updated_at?: string;
56689
56910
  uploaded_by?: string | null;
56911
+ width_mm?: number | null;
56690
56912
  };
56691
56913
  Relationships: [];
56692
56914
  };
@@ -65994,6 +66216,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
65994
66216
  Row: {
65995
66217
  actor: string | null;
65996
66218
  attempts: number;
66219
+ calc: import("../integrations/supabase/types").Json | null;
65997
66220
  cart_ref: string | null;
65998
66221
  created_at: string;
65999
66222
  db_action: string | null;
@@ -66004,6 +66227,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
66004
66227
  decision: string | null;
66005
66228
  duration_ms: number | null;
66006
66229
  error: string | null;
66230
+ error_class: string | null;
66007
66231
  external_action: string | null;
66008
66232
  external_ref: string | null;
66009
66233
  external_response: import("../integrations/supabase/types").Json | null;
@@ -66012,6 +66236,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
66012
66236
  id: string;
66013
66237
  input: import("../integrations/supabase/types").Json | null;
66014
66238
  next_attempt_at: string | null;
66239
+ next_step: string | null;
66240
+ node_id: string | null;
66015
66241
  order_ref: string | null;
66016
66242
  order_source: string | null;
66017
66243
  output: import("../integrations/supabase/types").Json | null;
@@ -66028,6 +66254,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
66028
66254
  Insert: {
66029
66255
  actor?: string | null;
66030
66256
  attempts?: number;
66257
+ calc?: import("../integrations/supabase/types").Json | null;
66031
66258
  cart_ref?: string | null;
66032
66259
  created_at?: string;
66033
66260
  db_action?: string | null;
@@ -66038,6 +66265,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
66038
66265
  decision?: string | null;
66039
66266
  duration_ms?: number | null;
66040
66267
  error?: string | null;
66268
+ error_class?: string | null;
66041
66269
  external_action?: string | null;
66042
66270
  external_ref?: string | null;
66043
66271
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -66046,6 +66274,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
66046
66274
  id?: string;
66047
66275
  input?: import("../integrations/supabase/types").Json | null;
66048
66276
  next_attempt_at?: string | null;
66277
+ next_step?: string | null;
66278
+ node_id?: string | null;
66049
66279
  order_ref?: string | null;
66050
66280
  order_source?: string | null;
66051
66281
  output?: import("../integrations/supabase/types").Json | null;
@@ -66062,6 +66292,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
66062
66292
  Update: {
66063
66293
  actor?: string | null;
66064
66294
  attempts?: number;
66295
+ calc?: import("../integrations/supabase/types").Json | null;
66065
66296
  cart_ref?: string | null;
66066
66297
  created_at?: string;
66067
66298
  db_action?: string | null;
@@ -66072,6 +66303,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
66072
66303
  decision?: string | null;
66073
66304
  duration_ms?: number | null;
66074
66305
  error?: string | null;
66306
+ error_class?: string | null;
66075
66307
  external_action?: string | null;
66076
66308
  external_ref?: string | null;
66077
66309
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -66080,6 +66312,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
66080
66312
  id?: string;
66081
66313
  input?: import("../integrations/supabase/types").Json | null;
66082
66314
  next_attempt_at?: string | null;
66315
+ next_step?: string | null;
66316
+ node_id?: string | null;
66083
66317
  order_ref?: string | null;
66084
66318
  order_source?: string | null;
66085
66319
  output?: import("../integrations/supabase/types").Json | null;
@@ -79597,6 +79831,24 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
79597
79831
  };
79598
79832
  Returns: number;
79599
79833
  };
79834
+ logistics_trace_order_overview: {
79835
+ Args: {
79836
+ p_error_class?: string;
79837
+ p_limit?: number;
79838
+ p_search?: string;
79839
+ p_since?: string;
79840
+ p_source?: string;
79841
+ p_state?: string;
79842
+ p_step?: string;
79843
+ };
79844
+ Returns: import("../integrations/supabase/types").Json;
79845
+ };
79846
+ logistics_trace_order_state: {
79847
+ Args: {
79848
+ p_order_ref: string;
79849
+ };
79850
+ Returns: import("../integrations/supabase/types").Json;
79851
+ };
79600
79852
  logistics_trace_orders: {
79601
79853
  Args: {
79602
79854
  p_limit?: number;