@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
@@ -1847,6 +1847,42 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
1847
1847
  };
1848
1848
  Relationships: [];
1849
1849
  };
1850
+ customer_assortment_items: {
1851
+ Row: {
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
+ Insert: {
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
+ Update: {
1874
+ created_at?: string;
1875
+ customer_key?: string;
1876
+ id?: string;
1877
+ in_assortment?: boolean;
1878
+ manual_override?: boolean;
1879
+ source?: string;
1880
+ synced_at?: string | null;
1881
+ trade_item_key?: string;
1882
+ updated_at?: string;
1883
+ };
1884
+ Relationships: [];
1885
+ };
1850
1886
  customer_audit_log: {
1851
1887
  Row: {
1852
1888
  action: string;
@@ -2251,40 +2287,58 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
2251
2287
  };
2252
2288
  customer_product_stickers: {
2253
2289
  Row: {
2290
+ content_hash: string | null;
2254
2291
  created_at: string;
2255
2292
  customer_key: string;
2256
2293
  file_name: string;
2257
2294
  file_path: string;
2258
2295
  file_size: number | null;
2296
+ floriday_sticker_id: string | null;
2297
+ floriday_synced_at: string | null;
2298
+ height_mm: number | null;
2259
2299
  id: string;
2260
2300
  mime_type: string | null;
2301
+ source: string;
2261
2302
  trade_item_key: string;
2262
2303
  updated_at: string;
2263
2304
  uploaded_by: string | null;
2305
+ width_mm: number | null;
2264
2306
  };
2265
2307
  Insert: {
2308
+ content_hash?: string | null;
2266
2309
  created_at?: string;
2267
2310
  customer_key: string;
2268
2311
  file_name: string;
2269
2312
  file_path: string;
2270
2313
  file_size?: number | null;
2314
+ floriday_sticker_id?: string | null;
2315
+ floriday_synced_at?: string | null;
2316
+ height_mm?: number | null;
2271
2317
  id?: string;
2272
2318
  mime_type?: string | null;
2319
+ source?: string;
2273
2320
  trade_item_key: string;
2274
2321
  updated_at?: string;
2275
2322
  uploaded_by?: string | null;
2323
+ width_mm?: number | null;
2276
2324
  };
2277
2325
  Update: {
2326
+ content_hash?: string | null;
2278
2327
  created_at?: string;
2279
2328
  customer_key?: string;
2280
2329
  file_name?: string;
2281
2330
  file_path?: string;
2282
2331
  file_size?: number | null;
2332
+ floriday_sticker_id?: string | null;
2333
+ floriday_synced_at?: string | null;
2334
+ height_mm?: number | null;
2283
2335
  id?: string;
2284
2336
  mime_type?: string | null;
2337
+ source?: string;
2285
2338
  trade_item_key?: string;
2286
2339
  updated_at?: string;
2287
2340
  uploaded_by?: string | null;
2341
+ width_mm?: number | null;
2288
2342
  };
2289
2343
  Relationships: [];
2290
2344
  };
@@ -11592,6 +11646,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
11592
11646
  Row: {
11593
11647
  actor: string | null;
11594
11648
  attempts: number;
11649
+ calc: import("../integrations/supabase/types").Json | null;
11595
11650
  cart_ref: string | null;
11596
11651
  created_at: string;
11597
11652
  db_action: string | null;
@@ -11602,6 +11657,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
11602
11657
  decision: string | null;
11603
11658
  duration_ms: number | null;
11604
11659
  error: string | null;
11660
+ error_class: string | null;
11605
11661
  external_action: string | null;
11606
11662
  external_ref: string | null;
11607
11663
  external_response: import("../integrations/supabase/types").Json | null;
@@ -11610,6 +11666,8 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
11610
11666
  id: string;
11611
11667
  input: import("../integrations/supabase/types").Json | null;
11612
11668
  next_attempt_at: string | null;
11669
+ next_step: string | null;
11670
+ node_id: string | null;
11613
11671
  order_ref: string | null;
11614
11672
  order_source: string | null;
11615
11673
  output: import("../integrations/supabase/types").Json | null;
@@ -11626,6 +11684,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
11626
11684
  Insert: {
11627
11685
  actor?: string | null;
11628
11686
  attempts?: number;
11687
+ calc?: import("../integrations/supabase/types").Json | null;
11629
11688
  cart_ref?: string | null;
11630
11689
  created_at?: string;
11631
11690
  db_action?: string | null;
@@ -11636,6 +11695,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
11636
11695
  decision?: string | null;
11637
11696
  duration_ms?: number | null;
11638
11697
  error?: string | null;
11698
+ error_class?: string | null;
11639
11699
  external_action?: string | null;
11640
11700
  external_ref?: string | null;
11641
11701
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11644,6 +11704,8 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
11644
11704
  id?: string;
11645
11705
  input?: import("../integrations/supabase/types").Json | null;
11646
11706
  next_attempt_at?: string | null;
11707
+ next_step?: string | null;
11708
+ node_id?: string | null;
11647
11709
  order_ref?: string | null;
11648
11710
  order_source?: string | null;
11649
11711
  output?: import("../integrations/supabase/types").Json | null;
@@ -11660,6 +11722,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
11660
11722
  Update: {
11661
11723
  actor?: string | null;
11662
11724
  attempts?: number;
11725
+ calc?: import("../integrations/supabase/types").Json | null;
11663
11726
  cart_ref?: string | null;
11664
11727
  created_at?: string;
11665
11728
  db_action?: string | null;
@@ -11670,6 +11733,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
11670
11733
  decision?: string | null;
11671
11734
  duration_ms?: number | null;
11672
11735
  error?: string | null;
11736
+ error_class?: string | null;
11673
11737
  external_action?: string | null;
11674
11738
  external_ref?: string | null;
11675
11739
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11678,6 +11742,8 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
11678
11742
  id?: string;
11679
11743
  input?: import("../integrations/supabase/types").Json | null;
11680
11744
  next_attempt_at?: string | null;
11745
+ next_step?: string | null;
11746
+ node_id?: string | null;
11681
11747
  order_ref?: string | null;
11682
11748
  order_source?: string | null;
11683
11749
  output?: import("../integrations/supabase/types").Json | null;
@@ -25195,6 +25261,24 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
25195
25261
  };
25196
25262
  Returns: number;
25197
25263
  };
25264
+ logistics_trace_order_overview: {
25265
+ Args: {
25266
+ p_error_class?: string;
25267
+ p_limit?: number;
25268
+ p_search?: string;
25269
+ p_since?: string;
25270
+ p_source?: string;
25271
+ p_state?: string;
25272
+ p_step?: string;
25273
+ };
25274
+ Returns: import("../integrations/supabase/types").Json;
25275
+ };
25276
+ logistics_trace_order_state: {
25277
+ Args: {
25278
+ p_order_ref: string;
25279
+ };
25280
+ Returns: import("../integrations/supabase/types").Json;
25281
+ };
25198
25282
  logistics_trace_orders: {
25199
25283
  Args: {
25200
25284
  p_limit?: number;
@@ -29051,6 +29135,42 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
29051
29135
  };
29052
29136
  Relationships: [];
29053
29137
  };
29138
+ customer_assortment_items: {
29139
+ Row: {
29140
+ created_at: string;
29141
+ customer_key: string;
29142
+ id: string;
29143
+ in_assortment: boolean;
29144
+ manual_override: boolean;
29145
+ source: string;
29146
+ synced_at: string | null;
29147
+ trade_item_key: string;
29148
+ updated_at: string;
29149
+ };
29150
+ Insert: {
29151
+ created_at?: string;
29152
+ customer_key: string;
29153
+ id?: string;
29154
+ in_assortment?: boolean;
29155
+ manual_override?: boolean;
29156
+ source?: string;
29157
+ synced_at?: string | null;
29158
+ trade_item_key: string;
29159
+ updated_at?: string;
29160
+ };
29161
+ Update: {
29162
+ created_at?: string;
29163
+ customer_key?: string;
29164
+ id?: string;
29165
+ in_assortment?: boolean;
29166
+ manual_override?: boolean;
29167
+ source?: string;
29168
+ synced_at?: string | null;
29169
+ trade_item_key?: string;
29170
+ updated_at?: string;
29171
+ };
29172
+ Relationships: [];
29173
+ };
29054
29174
  customer_audit_log: {
29055
29175
  Row: {
29056
29176
  action: string;
@@ -29455,40 +29575,58 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
29455
29575
  };
29456
29576
  customer_product_stickers: {
29457
29577
  Row: {
29578
+ content_hash: string | null;
29458
29579
  created_at: string;
29459
29580
  customer_key: string;
29460
29581
  file_name: string;
29461
29582
  file_path: string;
29462
29583
  file_size: number | null;
29584
+ floriday_sticker_id: string | null;
29585
+ floriday_synced_at: string | null;
29586
+ height_mm: number | null;
29463
29587
  id: string;
29464
29588
  mime_type: string | null;
29589
+ source: string;
29465
29590
  trade_item_key: string;
29466
29591
  updated_at: string;
29467
29592
  uploaded_by: string | null;
29593
+ width_mm: number | null;
29468
29594
  };
29469
29595
  Insert: {
29596
+ content_hash?: string | null;
29470
29597
  created_at?: string;
29471
29598
  customer_key: string;
29472
29599
  file_name: string;
29473
29600
  file_path: string;
29474
29601
  file_size?: number | null;
29602
+ floriday_sticker_id?: string | null;
29603
+ floriday_synced_at?: string | null;
29604
+ height_mm?: number | null;
29475
29605
  id?: string;
29476
29606
  mime_type?: string | null;
29607
+ source?: string;
29477
29608
  trade_item_key: string;
29478
29609
  updated_at?: string;
29479
29610
  uploaded_by?: string | null;
29611
+ width_mm?: number | null;
29480
29612
  };
29481
29613
  Update: {
29614
+ content_hash?: string | null;
29482
29615
  created_at?: string;
29483
29616
  customer_key?: string;
29484
29617
  file_name?: string;
29485
29618
  file_path?: string;
29486
29619
  file_size?: number | null;
29620
+ floriday_sticker_id?: string | null;
29621
+ floriday_synced_at?: string | null;
29622
+ height_mm?: number | null;
29487
29623
  id?: string;
29488
29624
  mime_type?: string | null;
29625
+ source?: string;
29489
29626
  trade_item_key?: string;
29490
29627
  updated_at?: string;
29491
29628
  uploaded_by?: string | null;
29629
+ width_mm?: number | null;
29492
29630
  };
29493
29631
  Relationships: [];
29494
29632
  };
@@ -38796,6 +38934,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
38796
38934
  Row: {
38797
38935
  actor: string | null;
38798
38936
  attempts: number;
38937
+ calc: import("../integrations/supabase/types").Json | null;
38799
38938
  cart_ref: string | null;
38800
38939
  created_at: string;
38801
38940
  db_action: string | null;
@@ -38806,6 +38945,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
38806
38945
  decision: string | null;
38807
38946
  duration_ms: number | null;
38808
38947
  error: string | null;
38948
+ error_class: string | null;
38809
38949
  external_action: string | null;
38810
38950
  external_ref: string | null;
38811
38951
  external_response: import("../integrations/supabase/types").Json | null;
@@ -38814,6 +38954,8 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
38814
38954
  id: string;
38815
38955
  input: import("../integrations/supabase/types").Json | null;
38816
38956
  next_attempt_at: string | null;
38957
+ next_step: string | null;
38958
+ node_id: string | null;
38817
38959
  order_ref: string | null;
38818
38960
  order_source: string | null;
38819
38961
  output: import("../integrations/supabase/types").Json | null;
@@ -38830,6 +38972,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
38830
38972
  Insert: {
38831
38973
  actor?: string | null;
38832
38974
  attempts?: number;
38975
+ calc?: import("../integrations/supabase/types").Json | null;
38833
38976
  cart_ref?: string | null;
38834
38977
  created_at?: string;
38835
38978
  db_action?: string | null;
@@ -38840,6 +38983,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
38840
38983
  decision?: string | null;
38841
38984
  duration_ms?: number | null;
38842
38985
  error?: string | null;
38986
+ error_class?: string | null;
38843
38987
  external_action?: string | null;
38844
38988
  external_ref?: string | null;
38845
38989
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38848,6 +38992,8 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
38848
38992
  id?: string;
38849
38993
  input?: import("../integrations/supabase/types").Json | null;
38850
38994
  next_attempt_at?: string | null;
38995
+ next_step?: string | null;
38996
+ node_id?: string | null;
38851
38997
  order_ref?: string | null;
38852
38998
  order_source?: string | null;
38853
38999
  output?: import("../integrations/supabase/types").Json | null;
@@ -38864,6 +39010,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
38864
39010
  Update: {
38865
39011
  actor?: string | null;
38866
39012
  attempts?: number;
39013
+ calc?: import("../integrations/supabase/types").Json | null;
38867
39014
  cart_ref?: string | null;
38868
39015
  created_at?: string;
38869
39016
  db_action?: string | null;
@@ -38874,6 +39021,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
38874
39021
  decision?: string | null;
38875
39022
  duration_ms?: number | null;
38876
39023
  error?: string | null;
39024
+ error_class?: string | null;
38877
39025
  external_action?: string | null;
38878
39026
  external_ref?: string | null;
38879
39027
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38882,6 +39030,8 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
38882
39030
  id?: string;
38883
39031
  input?: import("../integrations/supabase/types").Json | null;
38884
39032
  next_attempt_at?: string | null;
39033
+ next_step?: string | null;
39034
+ node_id?: string | null;
38885
39035
  order_ref?: string | null;
38886
39036
  order_source?: string | null;
38887
39037
  output?: import("../integrations/supabase/types").Json | null;
@@ -52399,6 +52549,24 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
52399
52549
  };
52400
52550
  Returns: number;
52401
52551
  };
52552
+ logistics_trace_order_overview: {
52553
+ Args: {
52554
+ p_error_class?: string;
52555
+ p_limit?: number;
52556
+ p_search?: string;
52557
+ p_since?: string;
52558
+ p_source?: string;
52559
+ p_state?: string;
52560
+ p_step?: string;
52561
+ };
52562
+ Returns: import("../integrations/supabase/types").Json;
52563
+ };
52564
+ logistics_trace_order_state: {
52565
+ Args: {
52566
+ p_order_ref: string;
52567
+ };
52568
+ Returns: import("../integrations/supabase/types").Json;
52569
+ };
52402
52570
  logistics_trace_orders: {
52403
52571
  Args: {
52404
52572
  p_limit?: number;
@@ -56255,6 +56423,42 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
56255
56423
  };
56256
56424
  Relationships: [];
56257
56425
  };
56426
+ customer_assortment_items: {
56427
+ Row: {
56428
+ created_at: string;
56429
+ customer_key: string;
56430
+ id: string;
56431
+ in_assortment: boolean;
56432
+ manual_override: boolean;
56433
+ source: string;
56434
+ synced_at: string | null;
56435
+ trade_item_key: string;
56436
+ updated_at: string;
56437
+ };
56438
+ Insert: {
56439
+ created_at?: string;
56440
+ customer_key: string;
56441
+ id?: string;
56442
+ in_assortment?: boolean;
56443
+ manual_override?: boolean;
56444
+ source?: string;
56445
+ synced_at?: string | null;
56446
+ trade_item_key: string;
56447
+ updated_at?: string;
56448
+ };
56449
+ Update: {
56450
+ created_at?: string;
56451
+ customer_key?: string;
56452
+ id?: string;
56453
+ in_assortment?: boolean;
56454
+ manual_override?: boolean;
56455
+ source?: string;
56456
+ synced_at?: string | null;
56457
+ trade_item_key?: string;
56458
+ updated_at?: string;
56459
+ };
56460
+ Relationships: [];
56461
+ };
56258
56462
  customer_audit_log: {
56259
56463
  Row: {
56260
56464
  action: string;
@@ -56659,40 +56863,58 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
56659
56863
  };
56660
56864
  customer_product_stickers: {
56661
56865
  Row: {
56866
+ content_hash: string | null;
56662
56867
  created_at: string;
56663
56868
  customer_key: string;
56664
56869
  file_name: string;
56665
56870
  file_path: string;
56666
56871
  file_size: number | null;
56872
+ floriday_sticker_id: string | null;
56873
+ floriday_synced_at: string | null;
56874
+ height_mm: number | null;
56667
56875
  id: string;
56668
56876
  mime_type: string | null;
56877
+ source: string;
56669
56878
  trade_item_key: string;
56670
56879
  updated_at: string;
56671
56880
  uploaded_by: string | null;
56881
+ width_mm: number | null;
56672
56882
  };
56673
56883
  Insert: {
56884
+ content_hash?: string | null;
56674
56885
  created_at?: string;
56675
56886
  customer_key: string;
56676
56887
  file_name: string;
56677
56888
  file_path: string;
56678
56889
  file_size?: number | null;
56890
+ floriday_sticker_id?: string | null;
56891
+ floriday_synced_at?: string | null;
56892
+ height_mm?: number | null;
56679
56893
  id?: string;
56680
56894
  mime_type?: string | null;
56895
+ source?: string;
56681
56896
  trade_item_key: string;
56682
56897
  updated_at?: string;
56683
56898
  uploaded_by?: string | null;
56899
+ width_mm?: number | null;
56684
56900
  };
56685
56901
  Update: {
56902
+ content_hash?: string | null;
56686
56903
  created_at?: string;
56687
56904
  customer_key?: string;
56688
56905
  file_name?: string;
56689
56906
  file_path?: string;
56690
56907
  file_size?: number | null;
56908
+ floriday_sticker_id?: string | null;
56909
+ floriday_synced_at?: string | null;
56910
+ height_mm?: number | null;
56691
56911
  id?: string;
56692
56912
  mime_type?: string | null;
56913
+ source?: string;
56693
56914
  trade_item_key?: string;
56694
56915
  updated_at?: string;
56695
56916
  uploaded_by?: string | null;
56917
+ width_mm?: number | null;
56696
56918
  };
56697
56919
  Relationships: [];
56698
56920
  };
@@ -66000,6 +66222,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
66000
66222
  Row: {
66001
66223
  actor: string | null;
66002
66224
  attempts: number;
66225
+ calc: import("../integrations/supabase/types").Json | null;
66003
66226
  cart_ref: string | null;
66004
66227
  created_at: string;
66005
66228
  db_action: string | null;
@@ -66010,6 +66233,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
66010
66233
  decision: string | null;
66011
66234
  duration_ms: number | null;
66012
66235
  error: string | null;
66236
+ error_class: string | null;
66013
66237
  external_action: string | null;
66014
66238
  external_ref: string | null;
66015
66239
  external_response: import("../integrations/supabase/types").Json | null;
@@ -66018,6 +66242,8 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
66018
66242
  id: string;
66019
66243
  input: import("../integrations/supabase/types").Json | null;
66020
66244
  next_attempt_at: string | null;
66245
+ next_step: string | null;
66246
+ node_id: string | null;
66021
66247
  order_ref: string | null;
66022
66248
  order_source: string | null;
66023
66249
  output: import("../integrations/supabase/types").Json | null;
@@ -66034,6 +66260,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
66034
66260
  Insert: {
66035
66261
  actor?: string | null;
66036
66262
  attempts?: number;
66263
+ calc?: import("../integrations/supabase/types").Json | null;
66037
66264
  cart_ref?: string | null;
66038
66265
  created_at?: string;
66039
66266
  db_action?: string | null;
@@ -66044,6 +66271,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
66044
66271
  decision?: string | null;
66045
66272
  duration_ms?: number | null;
66046
66273
  error?: string | null;
66274
+ error_class?: string | null;
66047
66275
  external_action?: string | null;
66048
66276
  external_ref?: string | null;
66049
66277
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -66052,6 +66280,8 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
66052
66280
  id?: string;
66053
66281
  input?: import("../integrations/supabase/types").Json | null;
66054
66282
  next_attempt_at?: string | null;
66283
+ next_step?: string | null;
66284
+ node_id?: string | null;
66055
66285
  order_ref?: string | null;
66056
66286
  order_source?: string | null;
66057
66287
  output?: import("../integrations/supabase/types").Json | null;
@@ -66068,6 +66298,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
66068
66298
  Update: {
66069
66299
  actor?: string | null;
66070
66300
  attempts?: number;
66301
+ calc?: import("../integrations/supabase/types").Json | null;
66071
66302
  cart_ref?: string | null;
66072
66303
  created_at?: string;
66073
66304
  db_action?: string | null;
@@ -66078,6 +66309,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
66078
66309
  decision?: string | null;
66079
66310
  duration_ms?: number | null;
66080
66311
  error?: string | null;
66312
+ error_class?: string | null;
66081
66313
  external_action?: string | null;
66082
66314
  external_ref?: string | null;
66083
66315
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -66086,6 +66318,8 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
66086
66318
  id?: string;
66087
66319
  input?: import("../integrations/supabase/types").Json | null;
66088
66320
  next_attempt_at?: string | null;
66321
+ next_step?: string | null;
66322
+ node_id?: string | null;
66089
66323
  order_ref?: string | null;
66090
66324
  order_source?: string | null;
66091
66325
  output?: import("../integrations/supabase/types").Json | null;
@@ -79603,6 +79837,24 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
79603
79837
  };
79604
79838
  Returns: number;
79605
79839
  };
79840
+ logistics_trace_order_overview: {
79841
+ Args: {
79842
+ p_error_class?: string;
79843
+ p_limit?: number;
79844
+ p_search?: string;
79845
+ p_since?: string;
79846
+ p_source?: string;
79847
+ p_state?: string;
79848
+ p_step?: string;
79849
+ };
79850
+ Returns: import("../integrations/supabase/types").Json;
79851
+ };
79852
+ logistics_trace_order_state: {
79853
+ Args: {
79854
+ p_order_ref: string;
79855
+ };
79856
+ Returns: import("../integrations/supabase/types").Json;
79857
+ };
79606
79858
  logistics_trace_orders: {
79607
79859
  Args: {
79608
79860
  p_limit?: number;
@@ -83459,6 +83711,42 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
83459
83711
  };
83460
83712
  Relationships: [];
83461
83713
  };
83714
+ customer_assortment_items: {
83715
+ Row: {
83716
+ created_at: string;
83717
+ customer_key: string;
83718
+ id: string;
83719
+ in_assortment: boolean;
83720
+ manual_override: boolean;
83721
+ source: string;
83722
+ synced_at: string | null;
83723
+ trade_item_key: string;
83724
+ updated_at: string;
83725
+ };
83726
+ Insert: {
83727
+ created_at?: string;
83728
+ customer_key: string;
83729
+ id?: string;
83730
+ in_assortment?: boolean;
83731
+ manual_override?: boolean;
83732
+ source?: string;
83733
+ synced_at?: string | null;
83734
+ trade_item_key: string;
83735
+ updated_at?: string;
83736
+ };
83737
+ Update: {
83738
+ created_at?: string;
83739
+ customer_key?: string;
83740
+ id?: string;
83741
+ in_assortment?: boolean;
83742
+ manual_override?: boolean;
83743
+ source?: string;
83744
+ synced_at?: string | null;
83745
+ trade_item_key?: string;
83746
+ updated_at?: string;
83747
+ };
83748
+ Relationships: [];
83749
+ };
83462
83750
  customer_audit_log: {
83463
83751
  Row: {
83464
83752
  action: string;
@@ -83863,40 +84151,58 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
83863
84151
  };
83864
84152
  customer_product_stickers: {
83865
84153
  Row: {
84154
+ content_hash: string | null;
83866
84155
  created_at: string;
83867
84156
  customer_key: string;
83868
84157
  file_name: string;
83869
84158
  file_path: string;
83870
84159
  file_size: number | null;
84160
+ floriday_sticker_id: string | null;
84161
+ floriday_synced_at: string | null;
84162
+ height_mm: number | null;
83871
84163
  id: string;
83872
84164
  mime_type: string | null;
84165
+ source: string;
83873
84166
  trade_item_key: string;
83874
84167
  updated_at: string;
83875
84168
  uploaded_by: string | null;
84169
+ width_mm: number | null;
83876
84170
  };
83877
84171
  Insert: {
84172
+ content_hash?: string | null;
83878
84173
  created_at?: string;
83879
84174
  customer_key: string;
83880
84175
  file_name: string;
83881
84176
  file_path: string;
83882
84177
  file_size?: number | null;
84178
+ floriday_sticker_id?: string | null;
84179
+ floriday_synced_at?: string | null;
84180
+ height_mm?: number | null;
83883
84181
  id?: string;
83884
84182
  mime_type?: string | null;
84183
+ source?: string;
83885
84184
  trade_item_key: string;
83886
84185
  updated_at?: string;
83887
84186
  uploaded_by?: string | null;
84187
+ width_mm?: number | null;
83888
84188
  };
83889
84189
  Update: {
84190
+ content_hash?: string | null;
83890
84191
  created_at?: string;
83891
84192
  customer_key?: string;
83892
84193
  file_name?: string;
83893
84194
  file_path?: string;
83894
84195
  file_size?: number | null;
84196
+ floriday_sticker_id?: string | null;
84197
+ floriday_synced_at?: string | null;
84198
+ height_mm?: number | null;
83895
84199
  id?: string;
83896
84200
  mime_type?: string | null;
84201
+ source?: string;
83897
84202
  trade_item_key?: string;
83898
84203
  updated_at?: string;
83899
84204
  uploaded_by?: string | null;
84205
+ width_mm?: number | null;
83900
84206
  };
83901
84207
  Relationships: [];
83902
84208
  };
@@ -93204,6 +93510,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
93204
93510
  Row: {
93205
93511
  actor: string | null;
93206
93512
  attempts: number;
93513
+ calc: import("../integrations/supabase/types").Json | null;
93207
93514
  cart_ref: string | null;
93208
93515
  created_at: string;
93209
93516
  db_action: string | null;
@@ -93214,6 +93521,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
93214
93521
  decision: string | null;
93215
93522
  duration_ms: number | null;
93216
93523
  error: string | null;
93524
+ error_class: string | null;
93217
93525
  external_action: string | null;
93218
93526
  external_ref: string | null;
93219
93527
  external_response: import("../integrations/supabase/types").Json | null;
@@ -93222,6 +93530,8 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
93222
93530
  id: string;
93223
93531
  input: import("../integrations/supabase/types").Json | null;
93224
93532
  next_attempt_at: string | null;
93533
+ next_step: string | null;
93534
+ node_id: string | null;
93225
93535
  order_ref: string | null;
93226
93536
  order_source: string | null;
93227
93537
  output: import("../integrations/supabase/types").Json | null;
@@ -93238,6 +93548,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
93238
93548
  Insert: {
93239
93549
  actor?: string | null;
93240
93550
  attempts?: number;
93551
+ calc?: import("../integrations/supabase/types").Json | null;
93241
93552
  cart_ref?: string | null;
93242
93553
  created_at?: string;
93243
93554
  db_action?: string | null;
@@ -93248,6 +93559,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
93248
93559
  decision?: string | null;
93249
93560
  duration_ms?: number | null;
93250
93561
  error?: string | null;
93562
+ error_class?: string | null;
93251
93563
  external_action?: string | null;
93252
93564
  external_ref?: string | null;
93253
93565
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -93256,6 +93568,8 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
93256
93568
  id?: string;
93257
93569
  input?: import("../integrations/supabase/types").Json | null;
93258
93570
  next_attempt_at?: string | null;
93571
+ next_step?: string | null;
93572
+ node_id?: string | null;
93259
93573
  order_ref?: string | null;
93260
93574
  order_source?: string | null;
93261
93575
  output?: import("../integrations/supabase/types").Json | null;
@@ -93272,6 +93586,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
93272
93586
  Update: {
93273
93587
  actor?: string | null;
93274
93588
  attempts?: number;
93589
+ calc?: import("../integrations/supabase/types").Json | null;
93275
93590
  cart_ref?: string | null;
93276
93591
  created_at?: string;
93277
93592
  db_action?: string | null;
@@ -93282,6 +93597,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
93282
93597
  decision?: string | null;
93283
93598
  duration_ms?: number | null;
93284
93599
  error?: string | null;
93600
+ error_class?: string | null;
93285
93601
  external_action?: string | null;
93286
93602
  external_ref?: string | null;
93287
93603
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -93290,6 +93606,8 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
93290
93606
  id?: string;
93291
93607
  input?: import("../integrations/supabase/types").Json | null;
93292
93608
  next_attempt_at?: string | null;
93609
+ next_step?: string | null;
93610
+ node_id?: string | null;
93293
93611
  order_ref?: string | null;
93294
93612
  order_source?: string | null;
93295
93613
  output?: import("../integrations/supabase/types").Json | null;
@@ -106807,6 +107125,24 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
106807
107125
  };
106808
107126
  Returns: number;
106809
107127
  };
107128
+ logistics_trace_order_overview: {
107129
+ Args: {
107130
+ p_error_class?: string;
107131
+ p_limit?: number;
107132
+ p_search?: string;
107133
+ p_since?: string;
107134
+ p_source?: string;
107135
+ p_state?: string;
107136
+ p_step?: string;
107137
+ };
107138
+ Returns: import("../integrations/supabase/types").Json;
107139
+ };
107140
+ logistics_trace_order_state: {
107141
+ Args: {
107142
+ p_order_ref: string;
107143
+ };
107144
+ Returns: import("../integrations/supabase/types").Json;
107145
+ };
106810
107146
  logistics_trace_orders: {
106811
107147
  Args: {
106812
107148
  p_limit?: number;
@@ -110666,6 +111002,42 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
110666
111002
  };
110667
111003
  Relationships: [];
110668
111004
  };
111005
+ customer_assortment_items: {
111006
+ Row: {
111007
+ created_at: string;
111008
+ customer_key: string;
111009
+ id: string;
111010
+ in_assortment: boolean;
111011
+ manual_override: boolean;
111012
+ source: string;
111013
+ synced_at: string | null;
111014
+ trade_item_key: string;
111015
+ updated_at: string;
111016
+ };
111017
+ Insert: {
111018
+ created_at?: string;
111019
+ customer_key: string;
111020
+ id?: string;
111021
+ in_assortment?: boolean;
111022
+ manual_override?: boolean;
111023
+ source?: string;
111024
+ synced_at?: string | null;
111025
+ trade_item_key: string;
111026
+ updated_at?: string;
111027
+ };
111028
+ Update: {
111029
+ created_at?: string;
111030
+ customer_key?: string;
111031
+ id?: string;
111032
+ in_assortment?: boolean;
111033
+ manual_override?: boolean;
111034
+ source?: string;
111035
+ synced_at?: string | null;
111036
+ trade_item_key?: string;
111037
+ updated_at?: string;
111038
+ };
111039
+ Relationships: [];
111040
+ };
110669
111041
  customer_audit_log: {
110670
111042
  Row: {
110671
111043
  action: string;
@@ -111070,40 +111442,58 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
111070
111442
  };
111071
111443
  customer_product_stickers: {
111072
111444
  Row: {
111445
+ content_hash: string | null;
111073
111446
  created_at: string;
111074
111447
  customer_key: string;
111075
111448
  file_name: string;
111076
111449
  file_path: string;
111077
111450
  file_size: number | null;
111451
+ floriday_sticker_id: string | null;
111452
+ floriday_synced_at: string | null;
111453
+ height_mm: number | null;
111078
111454
  id: string;
111079
111455
  mime_type: string | null;
111456
+ source: string;
111080
111457
  trade_item_key: string;
111081
111458
  updated_at: string;
111082
111459
  uploaded_by: string | null;
111460
+ width_mm: number | null;
111083
111461
  };
111084
111462
  Insert: {
111463
+ content_hash?: string | null;
111085
111464
  created_at?: string;
111086
111465
  customer_key: string;
111087
111466
  file_name: string;
111088
111467
  file_path: string;
111089
111468
  file_size?: number | null;
111469
+ floriday_sticker_id?: string | null;
111470
+ floriday_synced_at?: string | null;
111471
+ height_mm?: number | null;
111090
111472
  id?: string;
111091
111473
  mime_type?: string | null;
111474
+ source?: string;
111092
111475
  trade_item_key: string;
111093
111476
  updated_at?: string;
111094
111477
  uploaded_by?: string | null;
111478
+ width_mm?: number | null;
111095
111479
  };
111096
111480
  Update: {
111481
+ content_hash?: string | null;
111097
111482
  created_at?: string;
111098
111483
  customer_key?: string;
111099
111484
  file_name?: string;
111100
111485
  file_path?: string;
111101
111486
  file_size?: number | null;
111487
+ floriday_sticker_id?: string | null;
111488
+ floriday_synced_at?: string | null;
111489
+ height_mm?: number | null;
111102
111490
  id?: string;
111103
111491
  mime_type?: string | null;
111492
+ source?: string;
111104
111493
  trade_item_key?: string;
111105
111494
  updated_at?: string;
111106
111495
  uploaded_by?: string | null;
111496
+ width_mm?: number | null;
111107
111497
  };
111108
111498
  Relationships: [];
111109
111499
  };
@@ -120411,6 +120801,7 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
120411
120801
  Row: {
120412
120802
  actor: string | null;
120413
120803
  attempts: number;
120804
+ calc: import("../integrations/supabase/types").Json | null;
120414
120805
  cart_ref: string | null;
120415
120806
  created_at: string;
120416
120807
  db_action: string | null;
@@ -120421,6 +120812,7 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
120421
120812
  decision: string | null;
120422
120813
  duration_ms: number | null;
120423
120814
  error: string | null;
120815
+ error_class: string | null;
120424
120816
  external_action: string | null;
120425
120817
  external_ref: string | null;
120426
120818
  external_response: import("../integrations/supabase/types").Json | null;
@@ -120429,6 +120821,8 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
120429
120821
  id: string;
120430
120822
  input: import("../integrations/supabase/types").Json | null;
120431
120823
  next_attempt_at: string | null;
120824
+ next_step: string | null;
120825
+ node_id: string | null;
120432
120826
  order_ref: string | null;
120433
120827
  order_source: string | null;
120434
120828
  output: import("../integrations/supabase/types").Json | null;
@@ -120445,6 +120839,7 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
120445
120839
  Insert: {
120446
120840
  actor?: string | null;
120447
120841
  attempts?: number;
120842
+ calc?: import("../integrations/supabase/types").Json | null;
120448
120843
  cart_ref?: string | null;
120449
120844
  created_at?: string;
120450
120845
  db_action?: string | null;
@@ -120455,6 +120850,7 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
120455
120850
  decision?: string | null;
120456
120851
  duration_ms?: number | null;
120457
120852
  error?: string | null;
120853
+ error_class?: string | null;
120458
120854
  external_action?: string | null;
120459
120855
  external_ref?: string | null;
120460
120856
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -120463,6 +120859,8 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
120463
120859
  id?: string;
120464
120860
  input?: import("../integrations/supabase/types").Json | null;
120465
120861
  next_attempt_at?: string | null;
120862
+ next_step?: string | null;
120863
+ node_id?: string | null;
120466
120864
  order_ref?: string | null;
120467
120865
  order_source?: string | null;
120468
120866
  output?: import("../integrations/supabase/types").Json | null;
@@ -120479,6 +120877,7 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
120479
120877
  Update: {
120480
120878
  actor?: string | null;
120481
120879
  attempts?: number;
120880
+ calc?: import("../integrations/supabase/types").Json | null;
120482
120881
  cart_ref?: string | null;
120483
120882
  created_at?: string;
120484
120883
  db_action?: string | null;
@@ -120489,6 +120888,7 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
120489
120888
  decision?: string | null;
120490
120889
  duration_ms?: number | null;
120491
120890
  error?: string | null;
120891
+ error_class?: string | null;
120492
120892
  external_action?: string | null;
120493
120893
  external_ref?: string | null;
120494
120894
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -120497,6 +120897,8 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
120497
120897
  id?: string;
120498
120898
  input?: import("../integrations/supabase/types").Json | null;
120499
120899
  next_attempt_at?: string | null;
120900
+ next_step?: string | null;
120901
+ node_id?: string | null;
120500
120902
  order_ref?: string | null;
120501
120903
  order_source?: string | null;
120502
120904
  output?: import("../integrations/supabase/types").Json | null;
@@ -134014,6 +134416,24 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
134014
134416
  };
134015
134417
  Returns: number;
134016
134418
  };
134419
+ logistics_trace_order_overview: {
134420
+ Args: {
134421
+ p_error_class?: string;
134422
+ p_limit?: number;
134423
+ p_search?: string;
134424
+ p_since?: string;
134425
+ p_source?: string;
134426
+ p_state?: string;
134427
+ p_step?: string;
134428
+ };
134429
+ Returns: import("../integrations/supabase/types").Json;
134430
+ };
134431
+ logistics_trace_order_state: {
134432
+ Args: {
134433
+ p_order_ref: string;
134434
+ };
134435
+ Returns: import("../integrations/supabase/types").Json;
134436
+ };
134017
134437
  logistics_trace_orders: {
134018
134438
  Args: {
134019
134439
  p_limit?: number;
@@ -137883,6 +138303,42 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
137883
138303
  };
137884
138304
  Relationships: [];
137885
138305
  };
138306
+ customer_assortment_items: {
138307
+ Row: {
138308
+ created_at: string;
138309
+ customer_key: string;
138310
+ id: string;
138311
+ in_assortment: boolean;
138312
+ manual_override: boolean;
138313
+ source: string;
138314
+ synced_at: string | null;
138315
+ trade_item_key: string;
138316
+ updated_at: string;
138317
+ };
138318
+ Insert: {
138319
+ created_at?: string;
138320
+ customer_key: string;
138321
+ id?: string;
138322
+ in_assortment?: boolean;
138323
+ manual_override?: boolean;
138324
+ source?: string;
138325
+ synced_at?: string | null;
138326
+ trade_item_key: string;
138327
+ updated_at?: string;
138328
+ };
138329
+ Update: {
138330
+ created_at?: string;
138331
+ customer_key?: string;
138332
+ id?: string;
138333
+ in_assortment?: boolean;
138334
+ manual_override?: boolean;
138335
+ source?: string;
138336
+ synced_at?: string | null;
138337
+ trade_item_key?: string;
138338
+ updated_at?: string;
138339
+ };
138340
+ Relationships: [];
138341
+ };
137886
138342
  customer_audit_log: {
137887
138343
  Row: {
137888
138344
  action: string;
@@ -138287,40 +138743,58 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
138287
138743
  };
138288
138744
  customer_product_stickers: {
138289
138745
  Row: {
138746
+ content_hash: string | null;
138290
138747
  created_at: string;
138291
138748
  customer_key: string;
138292
138749
  file_name: string;
138293
138750
  file_path: string;
138294
138751
  file_size: number | null;
138752
+ floriday_sticker_id: string | null;
138753
+ floriday_synced_at: string | null;
138754
+ height_mm: number | null;
138295
138755
  id: string;
138296
138756
  mime_type: string | null;
138757
+ source: string;
138297
138758
  trade_item_key: string;
138298
138759
  updated_at: string;
138299
138760
  uploaded_by: string | null;
138761
+ width_mm: number | null;
138300
138762
  };
138301
138763
  Insert: {
138764
+ content_hash?: string | null;
138302
138765
  created_at?: string;
138303
138766
  customer_key: string;
138304
138767
  file_name: string;
138305
138768
  file_path: string;
138306
138769
  file_size?: number | null;
138770
+ floriday_sticker_id?: string | null;
138771
+ floriday_synced_at?: string | null;
138772
+ height_mm?: number | null;
138307
138773
  id?: string;
138308
138774
  mime_type?: string | null;
138775
+ source?: string;
138309
138776
  trade_item_key: string;
138310
138777
  updated_at?: string;
138311
138778
  uploaded_by?: string | null;
138779
+ width_mm?: number | null;
138312
138780
  };
138313
138781
  Update: {
138782
+ content_hash?: string | null;
138314
138783
  created_at?: string;
138315
138784
  customer_key?: string;
138316
138785
  file_name?: string;
138317
138786
  file_path?: string;
138318
138787
  file_size?: number | null;
138788
+ floriday_sticker_id?: string | null;
138789
+ floriday_synced_at?: string | null;
138790
+ height_mm?: number | null;
138319
138791
  id?: string;
138320
138792
  mime_type?: string | null;
138793
+ source?: string;
138321
138794
  trade_item_key?: string;
138322
138795
  updated_at?: string;
138323
138796
  uploaded_by?: string | null;
138797
+ width_mm?: number | null;
138324
138798
  };
138325
138799
  Relationships: [];
138326
138800
  };
@@ -147628,6 +148102,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
147628
148102
  Row: {
147629
148103
  actor: string | null;
147630
148104
  attempts: number;
148105
+ calc: import("../integrations/supabase/types").Json | null;
147631
148106
  cart_ref: string | null;
147632
148107
  created_at: string;
147633
148108
  db_action: string | null;
@@ -147638,6 +148113,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
147638
148113
  decision: string | null;
147639
148114
  duration_ms: number | null;
147640
148115
  error: string | null;
148116
+ error_class: string | null;
147641
148117
  external_action: string | null;
147642
148118
  external_ref: string | null;
147643
148119
  external_response: import("../integrations/supabase/types").Json | null;
@@ -147646,6 +148122,8 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
147646
148122
  id: string;
147647
148123
  input: import("../integrations/supabase/types").Json | null;
147648
148124
  next_attempt_at: string | null;
148125
+ next_step: string | null;
148126
+ node_id: string | null;
147649
148127
  order_ref: string | null;
147650
148128
  order_source: string | null;
147651
148129
  output: import("../integrations/supabase/types").Json | null;
@@ -147662,6 +148140,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
147662
148140
  Insert: {
147663
148141
  actor?: string | null;
147664
148142
  attempts?: number;
148143
+ calc?: import("../integrations/supabase/types").Json | null;
147665
148144
  cart_ref?: string | null;
147666
148145
  created_at?: string;
147667
148146
  db_action?: string | null;
@@ -147672,6 +148151,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
147672
148151
  decision?: string | null;
147673
148152
  duration_ms?: number | null;
147674
148153
  error?: string | null;
148154
+ error_class?: string | null;
147675
148155
  external_action?: string | null;
147676
148156
  external_ref?: string | null;
147677
148157
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -147680,6 +148160,8 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
147680
148160
  id?: string;
147681
148161
  input?: import("../integrations/supabase/types").Json | null;
147682
148162
  next_attempt_at?: string | null;
148163
+ next_step?: string | null;
148164
+ node_id?: string | null;
147683
148165
  order_ref?: string | null;
147684
148166
  order_source?: string | null;
147685
148167
  output?: import("../integrations/supabase/types").Json | null;
@@ -147696,6 +148178,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
147696
148178
  Update: {
147697
148179
  actor?: string | null;
147698
148180
  attempts?: number;
148181
+ calc?: import("../integrations/supabase/types").Json | null;
147699
148182
  cart_ref?: string | null;
147700
148183
  created_at?: string;
147701
148184
  db_action?: string | null;
@@ -147706,6 +148189,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
147706
148189
  decision?: string | null;
147707
148190
  duration_ms?: number | null;
147708
148191
  error?: string | null;
148192
+ error_class?: string | null;
147709
148193
  external_action?: string | null;
147710
148194
  external_ref?: string | null;
147711
148195
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -147714,6 +148198,8 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
147714
148198
  id?: string;
147715
148199
  input?: import("../integrations/supabase/types").Json | null;
147716
148200
  next_attempt_at?: string | null;
148201
+ next_step?: string | null;
148202
+ node_id?: string | null;
147717
148203
  order_ref?: string | null;
147718
148204
  order_source?: string | null;
147719
148205
  output?: import("../integrations/supabase/types").Json | null;
@@ -161231,6 +161717,24 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
161231
161717
  };
161232
161718
  Returns: number;
161233
161719
  };
161720
+ logistics_trace_order_overview: {
161721
+ Args: {
161722
+ p_error_class?: string;
161723
+ p_limit?: number;
161724
+ p_search?: string;
161725
+ p_since?: string;
161726
+ p_source?: string;
161727
+ p_state?: string;
161728
+ p_step?: string;
161729
+ };
161730
+ Returns: import("../integrations/supabase/types").Json;
161731
+ };
161732
+ logistics_trace_order_state: {
161733
+ Args: {
161734
+ p_order_ref: string;
161735
+ };
161736
+ Returns: import("../integrations/supabase/types").Json;
161737
+ };
161234
161738
  logistics_trace_orders: {
161235
161739
  Args: {
161236
161740
  p_limit?: number;