@flowselections/floriday-voorraad 1.0.43 → 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 +107 -0
  7. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  8. package/dist-lib/integrations/supabase/client.d.ts +107 -0
  9. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  10. package/dist-lib/integrations/supabase/client.server.d.ts +107 -0
  11. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  12. package/dist-lib/integrations/supabase/types.d.ts +107 -0
  13. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  14. package/dist-lib/lib/floricode-required-features.functions.d.ts +107 -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 +107 -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 +214 -0
  19. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/floriday-gateway.functions.d.ts +642 -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 +214 -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 +321 -0
  25. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floriday-writes.functions.d.ts +214 -0
  27. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/inventory-settings.functions.d.ts +214 -0
  29. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/stock-sync.functions.d.ts +214 -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;
@@ -25171,12 +25237,37 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
25171
25237
  };
25172
25238
  Returns: string;
25173
25239
  };
25240
+ logistics_trace_all_orders: {
25241
+ Args: {
25242
+ p_limit?: number;
25243
+ p_search?: string;
25244
+ };
25245
+ Returns: import("../integrations/supabase/types").Json;
25246
+ };
25174
25247
  logistics_trace_batch: {
25175
25248
  Args: {
25176
25249
  p: import("../integrations/supabase/types").Json;
25177
25250
  };
25178
25251
  Returns: number;
25179
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
+ };
25180
25271
  logistics_trace_orders: {
25181
25272
  Args: {
25182
25273
  p_limit?: number;
@@ -25199,6 +25290,22 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
25199
25290
  };
25200
25291
  Returns: import("../integrations/supabase/types").Json;
25201
25292
  };
25293
+ logistics_trace_version_events: {
25294
+ Args: {
25295
+ p_from?: string;
25296
+ p_limit?: number;
25297
+ p_order_ref: string;
25298
+ p_to?: string;
25299
+ p_version_id: string;
25300
+ };
25301
+ Returns: import("../integrations/supabase/types").Json;
25302
+ };
25303
+ logistics_trace_versions: {
25304
+ Args: {
25305
+ p_order_ref: string;
25306
+ };
25307
+ Returns: import("../integrations/supabase/types").Json;
25308
+ };
25202
25309
  logistics_upsert_task: {
25203
25310
  Args: {
25204
25311
  p_buffer_ref: string;
@@ -29022,6 +29129,42 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
29022
29129
  };
29023
29130
  Relationships: [];
29024
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
+ };
29025
29168
  customer_audit_log: {
29026
29169
  Row: {
29027
29170
  action: string;
@@ -29426,40 +29569,58 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
29426
29569
  };
29427
29570
  customer_product_stickers: {
29428
29571
  Row: {
29572
+ content_hash: string | null;
29429
29573
  created_at: string;
29430
29574
  customer_key: string;
29431
29575
  file_name: string;
29432
29576
  file_path: string;
29433
29577
  file_size: number | null;
29578
+ floriday_sticker_id: string | null;
29579
+ floriday_synced_at: string | null;
29580
+ height_mm: number | null;
29434
29581
  id: string;
29435
29582
  mime_type: string | null;
29583
+ source: string;
29436
29584
  trade_item_key: string;
29437
29585
  updated_at: string;
29438
29586
  uploaded_by: string | null;
29587
+ width_mm: number | null;
29439
29588
  };
29440
29589
  Insert: {
29590
+ content_hash?: string | null;
29441
29591
  created_at?: string;
29442
29592
  customer_key: string;
29443
29593
  file_name: string;
29444
29594
  file_path: string;
29445
29595
  file_size?: number | null;
29596
+ floriday_sticker_id?: string | null;
29597
+ floriday_synced_at?: string | null;
29598
+ height_mm?: number | null;
29446
29599
  id?: string;
29447
29600
  mime_type?: string | null;
29601
+ source?: string;
29448
29602
  trade_item_key: string;
29449
29603
  updated_at?: string;
29450
29604
  uploaded_by?: string | null;
29605
+ width_mm?: number | null;
29451
29606
  };
29452
29607
  Update: {
29608
+ content_hash?: string | null;
29453
29609
  created_at?: string;
29454
29610
  customer_key?: string;
29455
29611
  file_name?: string;
29456
29612
  file_path?: string;
29457
29613
  file_size?: number | null;
29614
+ floriday_sticker_id?: string | null;
29615
+ floriday_synced_at?: string | null;
29616
+ height_mm?: number | null;
29458
29617
  id?: string;
29459
29618
  mime_type?: string | null;
29619
+ source?: string;
29460
29620
  trade_item_key?: string;
29461
29621
  updated_at?: string;
29462
29622
  uploaded_by?: string | null;
29623
+ width_mm?: number | null;
29463
29624
  };
29464
29625
  Relationships: [];
29465
29626
  };
@@ -38767,6 +38928,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38767
38928
  Row: {
38768
38929
  actor: string | null;
38769
38930
  attempts: number;
38931
+ calc: import("../integrations/supabase/types").Json | null;
38770
38932
  cart_ref: string | null;
38771
38933
  created_at: string;
38772
38934
  db_action: string | null;
@@ -38777,6 +38939,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38777
38939
  decision: string | null;
38778
38940
  duration_ms: number | null;
38779
38941
  error: string | null;
38942
+ error_class: string | null;
38780
38943
  external_action: string | null;
38781
38944
  external_ref: string | null;
38782
38945
  external_response: import("../integrations/supabase/types").Json | null;
@@ -38785,6 +38948,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38785
38948
  id: string;
38786
38949
  input: import("../integrations/supabase/types").Json | null;
38787
38950
  next_attempt_at: string | null;
38951
+ next_step: string | null;
38952
+ node_id: string | null;
38788
38953
  order_ref: string | null;
38789
38954
  order_source: string | null;
38790
38955
  output: import("../integrations/supabase/types").Json | null;
@@ -38801,6 +38966,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38801
38966
  Insert: {
38802
38967
  actor?: string | null;
38803
38968
  attempts?: number;
38969
+ calc?: import("../integrations/supabase/types").Json | null;
38804
38970
  cart_ref?: string | null;
38805
38971
  created_at?: string;
38806
38972
  db_action?: string | null;
@@ -38811,6 +38977,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38811
38977
  decision?: string | null;
38812
38978
  duration_ms?: number | null;
38813
38979
  error?: string | null;
38980
+ error_class?: string | null;
38814
38981
  external_action?: string | null;
38815
38982
  external_ref?: string | null;
38816
38983
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38819,6 +38986,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38819
38986
  id?: string;
38820
38987
  input?: import("../integrations/supabase/types").Json | null;
38821
38988
  next_attempt_at?: string | null;
38989
+ next_step?: string | null;
38990
+ node_id?: string | null;
38822
38991
  order_ref?: string | null;
38823
38992
  order_source?: string | null;
38824
38993
  output?: import("../integrations/supabase/types").Json | null;
@@ -38835,6 +39004,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38835
39004
  Update: {
38836
39005
  actor?: string | null;
38837
39006
  attempts?: number;
39007
+ calc?: import("../integrations/supabase/types").Json | null;
38838
39008
  cart_ref?: string | null;
38839
39009
  created_at?: string;
38840
39010
  db_action?: string | null;
@@ -38845,6 +39015,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38845
39015
  decision?: string | null;
38846
39016
  duration_ms?: number | null;
38847
39017
  error?: string | null;
39018
+ error_class?: string | null;
38848
39019
  external_action?: string | null;
38849
39020
  external_ref?: string | null;
38850
39021
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38853,6 +39024,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
38853
39024
  id?: string;
38854
39025
  input?: import("../integrations/supabase/types").Json | null;
38855
39026
  next_attempt_at?: string | null;
39027
+ next_step?: string | null;
39028
+ node_id?: string | null;
38856
39029
  order_ref?: string | null;
38857
39030
  order_source?: string | null;
38858
39031
  output?: import("../integrations/supabase/types").Json | null;
@@ -52357,12 +52530,37 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
52357
52530
  };
52358
52531
  Returns: string;
52359
52532
  };
52533
+ logistics_trace_all_orders: {
52534
+ Args: {
52535
+ p_limit?: number;
52536
+ p_search?: string;
52537
+ };
52538
+ Returns: import("../integrations/supabase/types").Json;
52539
+ };
52360
52540
  logistics_trace_batch: {
52361
52541
  Args: {
52362
52542
  p: import("../integrations/supabase/types").Json;
52363
52543
  };
52364
52544
  Returns: number;
52365
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
+ };
52366
52564
  logistics_trace_orders: {
52367
52565
  Args: {
52368
52566
  p_limit?: number;
@@ -52385,6 +52583,22 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
52385
52583
  };
52386
52584
  Returns: import("../integrations/supabase/types").Json;
52387
52585
  };
52586
+ logistics_trace_version_events: {
52587
+ Args: {
52588
+ p_from?: string;
52589
+ p_limit?: number;
52590
+ p_order_ref: string;
52591
+ p_to?: string;
52592
+ p_version_id: string;
52593
+ };
52594
+ Returns: import("../integrations/supabase/types").Json;
52595
+ };
52596
+ logistics_trace_versions: {
52597
+ Args: {
52598
+ p_order_ref: string;
52599
+ };
52600
+ Returns: import("../integrations/supabase/types").Json;
52601
+ };
52388
52602
  logistics_upsert_task: {
52389
52603
  Args: {
52390
52604
  p_buffer_ref: string;
@@ -56203,6 +56417,42 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
56203
56417
  };
56204
56418
  Relationships: [];
56205
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
+ };
56206
56456
  customer_audit_log: {
56207
56457
  Row: {
56208
56458
  action: string;
@@ -56607,40 +56857,58 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
56607
56857
  };
56608
56858
  customer_product_stickers: {
56609
56859
  Row: {
56860
+ content_hash: string | null;
56610
56861
  created_at: string;
56611
56862
  customer_key: string;
56612
56863
  file_name: string;
56613
56864
  file_path: string;
56614
56865
  file_size: number | null;
56866
+ floriday_sticker_id: string | null;
56867
+ floriday_synced_at: string | null;
56868
+ height_mm: number | null;
56615
56869
  id: string;
56616
56870
  mime_type: string | null;
56871
+ source: string;
56617
56872
  trade_item_key: string;
56618
56873
  updated_at: string;
56619
56874
  uploaded_by: string | null;
56875
+ width_mm: number | null;
56620
56876
  };
56621
56877
  Insert: {
56878
+ content_hash?: string | null;
56622
56879
  created_at?: string;
56623
56880
  customer_key: string;
56624
56881
  file_name: string;
56625
56882
  file_path: string;
56626
56883
  file_size?: number | null;
56884
+ floriday_sticker_id?: string | null;
56885
+ floriday_synced_at?: string | null;
56886
+ height_mm?: number | null;
56627
56887
  id?: string;
56628
56888
  mime_type?: string | null;
56889
+ source?: string;
56629
56890
  trade_item_key: string;
56630
56891
  updated_at?: string;
56631
56892
  uploaded_by?: string | null;
56893
+ width_mm?: number | null;
56632
56894
  };
56633
56895
  Update: {
56896
+ content_hash?: string | null;
56634
56897
  created_at?: string;
56635
56898
  customer_key?: string;
56636
56899
  file_name?: string;
56637
56900
  file_path?: string;
56638
56901
  file_size?: number | null;
56902
+ floriday_sticker_id?: string | null;
56903
+ floriday_synced_at?: string | null;
56904
+ height_mm?: number | null;
56639
56905
  id?: string;
56640
56906
  mime_type?: string | null;
56907
+ source?: string;
56641
56908
  trade_item_key?: string;
56642
56909
  updated_at?: string;
56643
56910
  uploaded_by?: string | null;
56911
+ width_mm?: number | null;
56644
56912
  };
56645
56913
  Relationships: [];
56646
56914
  };
@@ -65948,6 +66216,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
65948
66216
  Row: {
65949
66217
  actor: string | null;
65950
66218
  attempts: number;
66219
+ calc: import("../integrations/supabase/types").Json | null;
65951
66220
  cart_ref: string | null;
65952
66221
  created_at: string;
65953
66222
  db_action: string | null;
@@ -65958,6 +66227,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
65958
66227
  decision: string | null;
65959
66228
  duration_ms: number | null;
65960
66229
  error: string | null;
66230
+ error_class: string | null;
65961
66231
  external_action: string | null;
65962
66232
  external_ref: string | null;
65963
66233
  external_response: import("../integrations/supabase/types").Json | null;
@@ -65966,6 +66236,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
65966
66236
  id: string;
65967
66237
  input: import("../integrations/supabase/types").Json | null;
65968
66238
  next_attempt_at: string | null;
66239
+ next_step: string | null;
66240
+ node_id: string | null;
65969
66241
  order_ref: string | null;
65970
66242
  order_source: string | null;
65971
66243
  output: import("../integrations/supabase/types").Json | null;
@@ -65982,6 +66254,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
65982
66254
  Insert: {
65983
66255
  actor?: string | null;
65984
66256
  attempts?: number;
66257
+ calc?: import("../integrations/supabase/types").Json | null;
65985
66258
  cart_ref?: string | null;
65986
66259
  created_at?: string;
65987
66260
  db_action?: string | null;
@@ -65992,6 +66265,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
65992
66265
  decision?: string | null;
65993
66266
  duration_ms?: number | null;
65994
66267
  error?: string | null;
66268
+ error_class?: string | null;
65995
66269
  external_action?: string | null;
65996
66270
  external_ref?: string | null;
65997
66271
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -66000,6 +66274,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
66000
66274
  id?: string;
66001
66275
  input?: import("../integrations/supabase/types").Json | null;
66002
66276
  next_attempt_at?: string | null;
66277
+ next_step?: string | null;
66278
+ node_id?: string | null;
66003
66279
  order_ref?: string | null;
66004
66280
  order_source?: string | null;
66005
66281
  output?: import("../integrations/supabase/types").Json | null;
@@ -66016,6 +66292,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
66016
66292
  Update: {
66017
66293
  actor?: string | null;
66018
66294
  attempts?: number;
66295
+ calc?: import("../integrations/supabase/types").Json | null;
66019
66296
  cart_ref?: string | null;
66020
66297
  created_at?: string;
66021
66298
  db_action?: string | null;
@@ -66026,6 +66303,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
66026
66303
  decision?: string | null;
66027
66304
  duration_ms?: number | null;
66028
66305
  error?: string | null;
66306
+ error_class?: string | null;
66029
66307
  external_action?: string | null;
66030
66308
  external_ref?: string | null;
66031
66309
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -66034,6 +66312,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
66034
66312
  id?: string;
66035
66313
  input?: import("../integrations/supabase/types").Json | null;
66036
66314
  next_attempt_at?: string | null;
66315
+ next_step?: string | null;
66316
+ node_id?: string | null;
66037
66317
  order_ref?: string | null;
66038
66318
  order_source?: string | null;
66039
66319
  output?: import("../integrations/supabase/types").Json | null;
@@ -79538,12 +79818,37 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
79538
79818
  };
79539
79819
  Returns: string;
79540
79820
  };
79821
+ logistics_trace_all_orders: {
79822
+ Args: {
79823
+ p_limit?: number;
79824
+ p_search?: string;
79825
+ };
79826
+ Returns: import("../integrations/supabase/types").Json;
79827
+ };
79541
79828
  logistics_trace_batch: {
79542
79829
  Args: {
79543
79830
  p: import("../integrations/supabase/types").Json;
79544
79831
  };
79545
79832
  Returns: number;
79546
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
+ };
79547
79852
  logistics_trace_orders: {
79548
79853
  Args: {
79549
79854
  p_limit?: number;
@@ -79566,6 +79871,22 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
79566
79871
  };
79567
79872
  Returns: import("../integrations/supabase/types").Json;
79568
79873
  };
79874
+ logistics_trace_version_events: {
79875
+ Args: {
79876
+ p_from?: string;
79877
+ p_limit?: number;
79878
+ p_order_ref: string;
79879
+ p_to?: string;
79880
+ p_version_id: string;
79881
+ };
79882
+ Returns: import("../integrations/supabase/types").Json;
79883
+ };
79884
+ logistics_trace_versions: {
79885
+ Args: {
79886
+ p_order_ref: string;
79887
+ };
79888
+ Returns: import("../integrations/supabase/types").Json;
79889
+ };
79569
79890
  logistics_upsert_task: {
79570
79891
  Args: {
79571
79892
  p_buffer_ref: string;