@flowselections/floriday-authenticatie-module 1.0.46 → 1.0.48

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/settings/FlorydaySettingsCard.d.ts.map +1 -1
  2. package/dist-lib/components/settings/FlorydaySettingsCard.js +12 -2
  3. package/dist-lib/integrations/supabase/auth-middleware.d.ts +84 -0
  4. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.d.ts +84 -0
  6. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/client.server.d.ts +84 -0
  8. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/types.d.ts +84 -0
  10. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  11. package/dist-lib/lib/cron/process-stock-queue.d.ts.map +1 -1
  12. package/dist-lib/lib/cron/process-stock-queue.js +5 -0
  13. package/dist-lib/lib/floricode.functions.d.ts +588 -0
  14. package/dist-lib/lib/floricode.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/floriday-api-log.functions.d.ts +756 -0
  16. package/dist-lib/lib/floriday-api-log.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/floriday-auction-letters.functions.d.ts +84 -0
  18. package/dist-lib/lib/floriday-auction-letters.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/floriday-labels.functions.d.ts +84 -0
  20. package/dist-lib/lib/floriday-labels.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/floriday-public.functions.d.ts +504 -0
  22. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/floriday-stickers.functions.d.ts +84 -0
  24. package/dist-lib/lib/floriday-stickers.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday-sync.functions.d.ts +2772 -0
  26. package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/floriday-writes.functions.d.ts +672 -0
  28. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/floriday.functions.d.ts +56456 -50
  30. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday.functions.js +70 -10
  32. package/package.json +1 -1
@@ -1846,6 +1846,42 @@ export declare const listFlorydayApiLog: import("@tanstack/start-client-core").O
1846
1846
  };
1847
1847
  Relationships: [];
1848
1848
  };
1849
+ customer_assortment_items: {
1850
+ Row: {
1851
+ created_at: string;
1852
+ customer_key: string;
1853
+ id: string;
1854
+ in_assortment: boolean;
1855
+ manual_override: boolean;
1856
+ source: string;
1857
+ synced_at: string | null;
1858
+ trade_item_key: string;
1859
+ updated_at: string;
1860
+ };
1861
+ Insert: {
1862
+ created_at?: string;
1863
+ customer_key: string;
1864
+ id?: string;
1865
+ in_assortment?: boolean;
1866
+ manual_override?: boolean;
1867
+ source?: string;
1868
+ synced_at?: string | null;
1869
+ trade_item_key: string;
1870
+ updated_at?: string;
1871
+ };
1872
+ Update: {
1873
+ created_at?: string;
1874
+ customer_key?: string;
1875
+ id?: string;
1876
+ in_assortment?: boolean;
1877
+ manual_override?: boolean;
1878
+ source?: string;
1879
+ synced_at?: string | null;
1880
+ trade_item_key?: string;
1881
+ updated_at?: string;
1882
+ };
1883
+ Relationships: [];
1884
+ };
1849
1885
  customer_audit_log: {
1850
1886
  Row: {
1851
1887
  action: string;
@@ -2250,40 +2286,58 @@ export declare const listFlorydayApiLog: import("@tanstack/start-client-core").O
2250
2286
  };
2251
2287
  customer_product_stickers: {
2252
2288
  Row: {
2289
+ content_hash: string | null;
2253
2290
  created_at: string;
2254
2291
  customer_key: string;
2255
2292
  file_name: string;
2256
2293
  file_path: string;
2257
2294
  file_size: number | null;
2295
+ floriday_sticker_id: string | null;
2296
+ floriday_synced_at: string | null;
2297
+ height_mm: number | null;
2258
2298
  id: string;
2259
2299
  mime_type: string | null;
2300
+ source: string;
2260
2301
  trade_item_key: string;
2261
2302
  updated_at: string;
2262
2303
  uploaded_by: string | null;
2304
+ width_mm: number | null;
2263
2305
  };
2264
2306
  Insert: {
2307
+ content_hash?: string | null;
2265
2308
  created_at?: string;
2266
2309
  customer_key: string;
2267
2310
  file_name: string;
2268
2311
  file_path: string;
2269
2312
  file_size?: number | null;
2313
+ floriday_sticker_id?: string | null;
2314
+ floriday_synced_at?: string | null;
2315
+ height_mm?: number | null;
2270
2316
  id?: string;
2271
2317
  mime_type?: string | null;
2318
+ source?: string;
2272
2319
  trade_item_key: string;
2273
2320
  updated_at?: string;
2274
2321
  uploaded_by?: string | null;
2322
+ width_mm?: number | null;
2275
2323
  };
2276
2324
  Update: {
2325
+ content_hash?: string | null;
2277
2326
  created_at?: string;
2278
2327
  customer_key?: string;
2279
2328
  file_name?: string;
2280
2329
  file_path?: string;
2281
2330
  file_size?: number | null;
2331
+ floriday_sticker_id?: string | null;
2332
+ floriday_synced_at?: string | null;
2333
+ height_mm?: number | null;
2282
2334
  id?: string;
2283
2335
  mime_type?: string | null;
2336
+ source?: string;
2284
2337
  trade_item_key?: string;
2285
2338
  updated_at?: string;
2286
2339
  uploaded_by?: string | null;
2340
+ width_mm?: number | null;
2287
2341
  };
2288
2342
  Relationships: [];
2289
2343
  };
@@ -11591,6 +11645,7 @@ export declare const listFlorydayApiLog: import("@tanstack/start-client-core").O
11591
11645
  Row: {
11592
11646
  actor: string | null;
11593
11647
  attempts: number;
11648
+ calc: import("../integrations/supabase/types.js").Json | null;
11594
11649
  cart_ref: string | null;
11595
11650
  created_at: string;
11596
11651
  db_action: string | null;
@@ -11601,6 +11656,7 @@ export declare const listFlorydayApiLog: import("@tanstack/start-client-core").O
11601
11656
  decision: string | null;
11602
11657
  duration_ms: number | null;
11603
11658
  error: string | null;
11659
+ error_class: string | null;
11604
11660
  external_action: string | null;
11605
11661
  external_ref: string | null;
11606
11662
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -11609,6 +11665,8 @@ export declare const listFlorydayApiLog: import("@tanstack/start-client-core").O
11609
11665
  id: string;
11610
11666
  input: import("../integrations/supabase/types.js").Json | null;
11611
11667
  next_attempt_at: string | null;
11668
+ next_step: string | null;
11669
+ node_id: string | null;
11612
11670
  order_ref: string | null;
11613
11671
  order_source: string | null;
11614
11672
  output: import("../integrations/supabase/types.js").Json | null;
@@ -11625,6 +11683,7 @@ export declare const listFlorydayApiLog: import("@tanstack/start-client-core").O
11625
11683
  Insert: {
11626
11684
  actor?: string | null;
11627
11685
  attempts?: number;
11686
+ calc?: import("../integrations/supabase/types.js").Json | null;
11628
11687
  cart_ref?: string | null;
11629
11688
  created_at?: string;
11630
11689
  db_action?: string | null;
@@ -11635,6 +11694,7 @@ export declare const listFlorydayApiLog: import("@tanstack/start-client-core").O
11635
11694
  decision?: string | null;
11636
11695
  duration_ms?: number | null;
11637
11696
  error?: string | null;
11697
+ error_class?: string | null;
11638
11698
  external_action?: string | null;
11639
11699
  external_ref?: string | null;
11640
11700
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -11643,6 +11703,8 @@ export declare const listFlorydayApiLog: import("@tanstack/start-client-core").O
11643
11703
  id?: string;
11644
11704
  input?: import("../integrations/supabase/types.js").Json | null;
11645
11705
  next_attempt_at?: string | null;
11706
+ next_step?: string | null;
11707
+ node_id?: string | null;
11646
11708
  order_ref?: string | null;
11647
11709
  order_source?: string | null;
11648
11710
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -11659,6 +11721,7 @@ export declare const listFlorydayApiLog: import("@tanstack/start-client-core").O
11659
11721
  Update: {
11660
11722
  actor?: string | null;
11661
11723
  attempts?: number;
11724
+ calc?: import("../integrations/supabase/types.js").Json | null;
11662
11725
  cart_ref?: string | null;
11663
11726
  created_at?: string;
11664
11727
  db_action?: string | null;
@@ -11669,6 +11732,7 @@ export declare const listFlorydayApiLog: import("@tanstack/start-client-core").O
11669
11732
  decision?: string | null;
11670
11733
  duration_ms?: number | null;
11671
11734
  error?: string | null;
11735
+ error_class?: string | null;
11672
11736
  external_action?: string | null;
11673
11737
  external_ref?: string | null;
11674
11738
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -11677,6 +11741,8 @@ export declare const listFlorydayApiLog: import("@tanstack/start-client-core").O
11677
11741
  id?: string;
11678
11742
  input?: import("../integrations/supabase/types.js").Json | null;
11679
11743
  next_attempt_at?: string | null;
11744
+ next_step?: string | null;
11745
+ node_id?: string | null;
11680
11746
  order_ref?: string | null;
11681
11747
  order_source?: string | null;
11682
11748
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -25194,6 +25260,24 @@ export declare const listFlorydayApiLog: import("@tanstack/start-client-core").O
25194
25260
  };
25195
25261
  Returns: number;
25196
25262
  };
25263
+ logistics_trace_order_overview: {
25264
+ Args: {
25265
+ p_error_class?: string;
25266
+ p_limit?: number;
25267
+ p_search?: string;
25268
+ p_since?: string;
25269
+ p_source?: string;
25270
+ p_state?: string;
25271
+ p_step?: string;
25272
+ };
25273
+ Returns: import("../integrations/supabase/types.js").Json;
25274
+ };
25275
+ logistics_trace_order_state: {
25276
+ Args: {
25277
+ p_order_ref: string;
25278
+ };
25279
+ Returns: import("../integrations/supabase/types.js").Json;
25280
+ };
25197
25281
  logistics_trace_orders: {
25198
25282
  Args: {
25199
25283
  p_limit?: number;
@@ -29073,6 +29157,42 @@ export declare const getFlorydayApiLogEntry: import("@tanstack/start-client-core
29073
29157
  };
29074
29158
  Relationships: [];
29075
29159
  };
29160
+ customer_assortment_items: {
29161
+ Row: {
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
+ Insert: {
29173
+ created_at?: string;
29174
+ customer_key: string;
29175
+ id?: string;
29176
+ in_assortment?: boolean;
29177
+ manual_override?: boolean;
29178
+ source?: string;
29179
+ synced_at?: string | null;
29180
+ trade_item_key: string;
29181
+ updated_at?: string;
29182
+ };
29183
+ Update: {
29184
+ created_at?: string;
29185
+ customer_key?: string;
29186
+ id?: string;
29187
+ in_assortment?: boolean;
29188
+ manual_override?: boolean;
29189
+ source?: string;
29190
+ synced_at?: string | null;
29191
+ trade_item_key?: string;
29192
+ updated_at?: string;
29193
+ };
29194
+ Relationships: [];
29195
+ };
29076
29196
  customer_audit_log: {
29077
29197
  Row: {
29078
29198
  action: string;
@@ -29477,40 +29597,58 @@ export declare const getFlorydayApiLogEntry: import("@tanstack/start-client-core
29477
29597
  };
29478
29598
  customer_product_stickers: {
29479
29599
  Row: {
29600
+ content_hash: string | null;
29480
29601
  created_at: string;
29481
29602
  customer_key: string;
29482
29603
  file_name: string;
29483
29604
  file_path: string;
29484
29605
  file_size: number | null;
29606
+ floriday_sticker_id: string | null;
29607
+ floriday_synced_at: string | null;
29608
+ height_mm: number | null;
29485
29609
  id: string;
29486
29610
  mime_type: string | null;
29611
+ source: string;
29487
29612
  trade_item_key: string;
29488
29613
  updated_at: string;
29489
29614
  uploaded_by: string | null;
29615
+ width_mm: number | null;
29490
29616
  };
29491
29617
  Insert: {
29618
+ content_hash?: string | null;
29492
29619
  created_at?: string;
29493
29620
  customer_key: string;
29494
29621
  file_name: string;
29495
29622
  file_path: string;
29496
29623
  file_size?: number | null;
29624
+ floriday_sticker_id?: string | null;
29625
+ floriday_synced_at?: string | null;
29626
+ height_mm?: number | null;
29497
29627
  id?: string;
29498
29628
  mime_type?: string | null;
29629
+ source?: string;
29499
29630
  trade_item_key: string;
29500
29631
  updated_at?: string;
29501
29632
  uploaded_by?: string | null;
29633
+ width_mm?: number | null;
29502
29634
  };
29503
29635
  Update: {
29636
+ content_hash?: string | null;
29504
29637
  created_at?: string;
29505
29638
  customer_key?: string;
29506
29639
  file_name?: string;
29507
29640
  file_path?: string;
29508
29641
  file_size?: number | null;
29642
+ floriday_sticker_id?: string | null;
29643
+ floriday_synced_at?: string | null;
29644
+ height_mm?: number | null;
29509
29645
  id?: string;
29510
29646
  mime_type?: string | null;
29647
+ source?: string;
29511
29648
  trade_item_key?: string;
29512
29649
  updated_at?: string;
29513
29650
  uploaded_by?: string | null;
29651
+ width_mm?: number | null;
29514
29652
  };
29515
29653
  Relationships: [];
29516
29654
  };
@@ -38818,6 +38956,7 @@ export declare const getFlorydayApiLogEntry: import("@tanstack/start-client-core
38818
38956
  Row: {
38819
38957
  actor: string | null;
38820
38958
  attempts: number;
38959
+ calc: import("../integrations/supabase/types.js").Json | null;
38821
38960
  cart_ref: string | null;
38822
38961
  created_at: string;
38823
38962
  db_action: string | null;
@@ -38828,6 +38967,7 @@ export declare const getFlorydayApiLogEntry: import("@tanstack/start-client-core
38828
38967
  decision: string | null;
38829
38968
  duration_ms: number | null;
38830
38969
  error: string | null;
38970
+ error_class: string | null;
38831
38971
  external_action: string | null;
38832
38972
  external_ref: string | null;
38833
38973
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -38836,6 +38976,8 @@ export declare const getFlorydayApiLogEntry: import("@tanstack/start-client-core
38836
38976
  id: string;
38837
38977
  input: import("../integrations/supabase/types.js").Json | null;
38838
38978
  next_attempt_at: string | null;
38979
+ next_step: string | null;
38980
+ node_id: string | null;
38839
38981
  order_ref: string | null;
38840
38982
  order_source: string | null;
38841
38983
  output: import("../integrations/supabase/types.js").Json | null;
@@ -38852,6 +38994,7 @@ export declare const getFlorydayApiLogEntry: import("@tanstack/start-client-core
38852
38994
  Insert: {
38853
38995
  actor?: string | null;
38854
38996
  attempts?: number;
38997
+ calc?: import("../integrations/supabase/types.js").Json | null;
38855
38998
  cart_ref?: string | null;
38856
38999
  created_at?: string;
38857
39000
  db_action?: string | null;
@@ -38862,6 +39005,7 @@ export declare const getFlorydayApiLogEntry: import("@tanstack/start-client-core
38862
39005
  decision?: string | null;
38863
39006
  duration_ms?: number | null;
38864
39007
  error?: string | null;
39008
+ error_class?: string | null;
38865
39009
  external_action?: string | null;
38866
39010
  external_ref?: string | null;
38867
39011
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -38870,6 +39014,8 @@ export declare const getFlorydayApiLogEntry: import("@tanstack/start-client-core
38870
39014
  id?: string;
38871
39015
  input?: import("../integrations/supabase/types.js").Json | null;
38872
39016
  next_attempt_at?: string | null;
39017
+ next_step?: string | null;
39018
+ node_id?: string | null;
38873
39019
  order_ref?: string | null;
38874
39020
  order_source?: string | null;
38875
39021
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -38886,6 +39032,7 @@ export declare const getFlorydayApiLogEntry: import("@tanstack/start-client-core
38886
39032
  Update: {
38887
39033
  actor?: string | null;
38888
39034
  attempts?: number;
39035
+ calc?: import("../integrations/supabase/types.js").Json | null;
38889
39036
  cart_ref?: string | null;
38890
39037
  created_at?: string;
38891
39038
  db_action?: string | null;
@@ -38896,6 +39043,7 @@ export declare const getFlorydayApiLogEntry: import("@tanstack/start-client-core
38896
39043
  decision?: string | null;
38897
39044
  duration_ms?: number | null;
38898
39045
  error?: string | null;
39046
+ error_class?: string | null;
38899
39047
  external_action?: string | null;
38900
39048
  external_ref?: string | null;
38901
39049
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -38904,6 +39052,8 @@ export declare const getFlorydayApiLogEntry: import("@tanstack/start-client-core
38904
39052
  id?: string;
38905
39053
  input?: import("../integrations/supabase/types.js").Json | null;
38906
39054
  next_attempt_at?: string | null;
39055
+ next_step?: string | null;
39056
+ node_id?: string | null;
38907
39057
  order_ref?: string | null;
38908
39058
  order_source?: string | null;
38909
39059
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -52421,6 +52571,24 @@ export declare const getFlorydayApiLogEntry: import("@tanstack/start-client-core
52421
52571
  };
52422
52572
  Returns: number;
52423
52573
  };
52574
+ logistics_trace_order_overview: {
52575
+ Args: {
52576
+ p_error_class?: string;
52577
+ p_limit?: number;
52578
+ p_search?: string;
52579
+ p_since?: string;
52580
+ p_source?: string;
52581
+ p_state?: string;
52582
+ p_step?: string;
52583
+ };
52584
+ Returns: import("../integrations/supabase/types.js").Json;
52585
+ };
52586
+ logistics_trace_order_state: {
52587
+ Args: {
52588
+ p_order_ref: string;
52589
+ };
52590
+ Returns: import("../integrations/supabase/types.js").Json;
52591
+ };
52424
52592
  logistics_trace_orders: {
52425
52593
  Args: {
52426
52594
  p_limit?: number;
@@ -56281,6 +56449,42 @@ export declare const listFlorydayLinkTemplates: import("@tanstack/start-client-c
56281
56449
  };
56282
56450
  Relationships: [];
56283
56451
  };
56452
+ customer_assortment_items: {
56453
+ Row: {
56454
+ created_at: string;
56455
+ customer_key: string;
56456
+ id: string;
56457
+ in_assortment: boolean;
56458
+ manual_override: boolean;
56459
+ source: string;
56460
+ synced_at: string | null;
56461
+ trade_item_key: string;
56462
+ updated_at: string;
56463
+ };
56464
+ Insert: {
56465
+ created_at?: string;
56466
+ customer_key: string;
56467
+ id?: string;
56468
+ in_assortment?: boolean;
56469
+ manual_override?: boolean;
56470
+ source?: string;
56471
+ synced_at?: string | null;
56472
+ trade_item_key: string;
56473
+ updated_at?: string;
56474
+ };
56475
+ Update: {
56476
+ created_at?: string;
56477
+ customer_key?: string;
56478
+ id?: string;
56479
+ in_assortment?: boolean;
56480
+ manual_override?: boolean;
56481
+ source?: string;
56482
+ synced_at?: string | null;
56483
+ trade_item_key?: string;
56484
+ updated_at?: string;
56485
+ };
56486
+ Relationships: [];
56487
+ };
56284
56488
  customer_audit_log: {
56285
56489
  Row: {
56286
56490
  action: string;
@@ -56685,40 +56889,58 @@ export declare const listFlorydayLinkTemplates: import("@tanstack/start-client-c
56685
56889
  };
56686
56890
  customer_product_stickers: {
56687
56891
  Row: {
56892
+ content_hash: string | null;
56688
56893
  created_at: string;
56689
56894
  customer_key: string;
56690
56895
  file_name: string;
56691
56896
  file_path: string;
56692
56897
  file_size: number | null;
56898
+ floriday_sticker_id: string | null;
56899
+ floriday_synced_at: string | null;
56900
+ height_mm: number | null;
56693
56901
  id: string;
56694
56902
  mime_type: string | null;
56903
+ source: string;
56695
56904
  trade_item_key: string;
56696
56905
  updated_at: string;
56697
56906
  uploaded_by: string | null;
56907
+ width_mm: number | null;
56698
56908
  };
56699
56909
  Insert: {
56910
+ content_hash?: string | null;
56700
56911
  created_at?: string;
56701
56912
  customer_key: string;
56702
56913
  file_name: string;
56703
56914
  file_path: string;
56704
56915
  file_size?: number | null;
56916
+ floriday_sticker_id?: string | null;
56917
+ floriday_synced_at?: string | null;
56918
+ height_mm?: number | null;
56705
56919
  id?: string;
56706
56920
  mime_type?: string | null;
56921
+ source?: string;
56707
56922
  trade_item_key: string;
56708
56923
  updated_at?: string;
56709
56924
  uploaded_by?: string | null;
56925
+ width_mm?: number | null;
56710
56926
  };
56711
56927
  Update: {
56928
+ content_hash?: string | null;
56712
56929
  created_at?: string;
56713
56930
  customer_key?: string;
56714
56931
  file_name?: string;
56715
56932
  file_path?: string;
56716
56933
  file_size?: number | null;
56934
+ floriday_sticker_id?: string | null;
56935
+ floriday_synced_at?: string | null;
56936
+ height_mm?: number | null;
56717
56937
  id?: string;
56718
56938
  mime_type?: string | null;
56939
+ source?: string;
56719
56940
  trade_item_key?: string;
56720
56941
  updated_at?: string;
56721
56942
  uploaded_by?: string | null;
56943
+ width_mm?: number | null;
56722
56944
  };
56723
56945
  Relationships: [];
56724
56946
  };
@@ -66026,6 +66248,7 @@ export declare const listFlorydayLinkTemplates: import("@tanstack/start-client-c
66026
66248
  Row: {
66027
66249
  actor: string | null;
66028
66250
  attempts: number;
66251
+ calc: import("../integrations/supabase/types.js").Json | null;
66029
66252
  cart_ref: string | null;
66030
66253
  created_at: string;
66031
66254
  db_action: string | null;
@@ -66036,6 +66259,7 @@ export declare const listFlorydayLinkTemplates: import("@tanstack/start-client-c
66036
66259
  decision: string | null;
66037
66260
  duration_ms: number | null;
66038
66261
  error: string | null;
66262
+ error_class: string | null;
66039
66263
  external_action: string | null;
66040
66264
  external_ref: string | null;
66041
66265
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -66044,6 +66268,8 @@ export declare const listFlorydayLinkTemplates: import("@tanstack/start-client-c
66044
66268
  id: string;
66045
66269
  input: import("../integrations/supabase/types.js").Json | null;
66046
66270
  next_attempt_at: string | null;
66271
+ next_step: string | null;
66272
+ node_id: string | null;
66047
66273
  order_ref: string | null;
66048
66274
  order_source: string | null;
66049
66275
  output: import("../integrations/supabase/types.js").Json | null;
@@ -66060,6 +66286,7 @@ export declare const listFlorydayLinkTemplates: import("@tanstack/start-client-c
66060
66286
  Insert: {
66061
66287
  actor?: string | null;
66062
66288
  attempts?: number;
66289
+ calc?: import("../integrations/supabase/types.js").Json | null;
66063
66290
  cart_ref?: string | null;
66064
66291
  created_at?: string;
66065
66292
  db_action?: string | null;
@@ -66070,6 +66297,7 @@ export declare const listFlorydayLinkTemplates: import("@tanstack/start-client-c
66070
66297
  decision?: string | null;
66071
66298
  duration_ms?: number | null;
66072
66299
  error?: string | null;
66300
+ error_class?: string | null;
66073
66301
  external_action?: string | null;
66074
66302
  external_ref?: string | null;
66075
66303
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -66078,6 +66306,8 @@ export declare const listFlorydayLinkTemplates: import("@tanstack/start-client-c
66078
66306
  id?: string;
66079
66307
  input?: import("../integrations/supabase/types.js").Json | null;
66080
66308
  next_attempt_at?: string | null;
66309
+ next_step?: string | null;
66310
+ node_id?: string | null;
66081
66311
  order_ref?: string | null;
66082
66312
  order_source?: string | null;
66083
66313
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -66094,6 +66324,7 @@ export declare const listFlorydayLinkTemplates: import("@tanstack/start-client-c
66094
66324
  Update: {
66095
66325
  actor?: string | null;
66096
66326
  attempts?: number;
66327
+ calc?: import("../integrations/supabase/types.js").Json | null;
66097
66328
  cart_ref?: string | null;
66098
66329
  created_at?: string;
66099
66330
  db_action?: string | null;
@@ -66104,6 +66335,7 @@ export declare const listFlorydayLinkTemplates: import("@tanstack/start-client-c
66104
66335
  decision?: string | null;
66105
66336
  duration_ms?: number | null;
66106
66337
  error?: string | null;
66338
+ error_class?: string | null;
66107
66339
  external_action?: string | null;
66108
66340
  external_ref?: string | null;
66109
66341
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -66112,6 +66344,8 @@ export declare const listFlorydayLinkTemplates: import("@tanstack/start-client-c
66112
66344
  id?: string;
66113
66345
  input?: import("../integrations/supabase/types.js").Json | null;
66114
66346
  next_attempt_at?: string | null;
66347
+ next_step?: string | null;
66348
+ node_id?: string | null;
66115
66349
  order_ref?: string | null;
66116
66350
  order_source?: string | null;
66117
66351
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -79629,6 +79863,24 @@ export declare const listFlorydayLinkTemplates: import("@tanstack/start-client-c
79629
79863
  };
79630
79864
  Returns: number;
79631
79865
  };
79866
+ logistics_trace_order_overview: {
79867
+ Args: {
79868
+ p_error_class?: string;
79869
+ p_limit?: number;
79870
+ p_search?: string;
79871
+ p_since?: string;
79872
+ p_source?: string;
79873
+ p_state?: string;
79874
+ p_step?: string;
79875
+ };
79876
+ Returns: import("../integrations/supabase/types.js").Json;
79877
+ };
79878
+ logistics_trace_order_state: {
79879
+ Args: {
79880
+ p_order_ref: string;
79881
+ };
79882
+ Returns: import("../integrations/supabase/types.js").Json;
79883
+ };
79632
79884
  logistics_trace_orders: {
79633
79885
  Args: {
79634
79886
  p_limit?: number;
@@ -83485,6 +83737,42 @@ export declare const saveFlorydayLinkTemplate: import("@tanstack/start-client-co
83485
83737
  };
83486
83738
  Relationships: [];
83487
83739
  };
83740
+ customer_assortment_items: {
83741
+ Row: {
83742
+ created_at: string;
83743
+ customer_key: string;
83744
+ id: string;
83745
+ in_assortment: boolean;
83746
+ manual_override: boolean;
83747
+ source: string;
83748
+ synced_at: string | null;
83749
+ trade_item_key: string;
83750
+ updated_at: string;
83751
+ };
83752
+ Insert: {
83753
+ created_at?: string;
83754
+ customer_key: string;
83755
+ id?: string;
83756
+ in_assortment?: boolean;
83757
+ manual_override?: boolean;
83758
+ source?: string;
83759
+ synced_at?: string | null;
83760
+ trade_item_key: string;
83761
+ updated_at?: string;
83762
+ };
83763
+ Update: {
83764
+ created_at?: string;
83765
+ customer_key?: string;
83766
+ id?: string;
83767
+ in_assortment?: boolean;
83768
+ manual_override?: boolean;
83769
+ source?: string;
83770
+ synced_at?: string | null;
83771
+ trade_item_key?: string;
83772
+ updated_at?: string;
83773
+ };
83774
+ Relationships: [];
83775
+ };
83488
83776
  customer_audit_log: {
83489
83777
  Row: {
83490
83778
  action: string;
@@ -83889,40 +84177,58 @@ export declare const saveFlorydayLinkTemplate: import("@tanstack/start-client-co
83889
84177
  };
83890
84178
  customer_product_stickers: {
83891
84179
  Row: {
84180
+ content_hash: string | null;
83892
84181
  created_at: string;
83893
84182
  customer_key: string;
83894
84183
  file_name: string;
83895
84184
  file_path: string;
83896
84185
  file_size: number | null;
84186
+ floriday_sticker_id: string | null;
84187
+ floriday_synced_at: string | null;
84188
+ height_mm: number | null;
83897
84189
  id: string;
83898
84190
  mime_type: string | null;
84191
+ source: string;
83899
84192
  trade_item_key: string;
83900
84193
  updated_at: string;
83901
84194
  uploaded_by: string | null;
84195
+ width_mm: number | null;
83902
84196
  };
83903
84197
  Insert: {
84198
+ content_hash?: string | null;
83904
84199
  created_at?: string;
83905
84200
  customer_key: string;
83906
84201
  file_name: string;
83907
84202
  file_path: string;
83908
84203
  file_size?: number | null;
84204
+ floriday_sticker_id?: string | null;
84205
+ floriday_synced_at?: string | null;
84206
+ height_mm?: number | null;
83909
84207
  id?: string;
83910
84208
  mime_type?: string | null;
84209
+ source?: string;
83911
84210
  trade_item_key: string;
83912
84211
  updated_at?: string;
83913
84212
  uploaded_by?: string | null;
84213
+ width_mm?: number | null;
83914
84214
  };
83915
84215
  Update: {
84216
+ content_hash?: string | null;
83916
84217
  created_at?: string;
83917
84218
  customer_key?: string;
83918
84219
  file_name?: string;
83919
84220
  file_path?: string;
83920
84221
  file_size?: number | null;
84222
+ floriday_sticker_id?: string | null;
84223
+ floriday_synced_at?: string | null;
84224
+ height_mm?: number | null;
83921
84225
  id?: string;
83922
84226
  mime_type?: string | null;
84227
+ source?: string;
83923
84228
  trade_item_key?: string;
83924
84229
  updated_at?: string;
83925
84230
  uploaded_by?: string | null;
84231
+ width_mm?: number | null;
83926
84232
  };
83927
84233
  Relationships: [];
83928
84234
  };
@@ -93230,6 +93536,7 @@ export declare const saveFlorydayLinkTemplate: import("@tanstack/start-client-co
93230
93536
  Row: {
93231
93537
  actor: string | null;
93232
93538
  attempts: number;
93539
+ calc: import("../integrations/supabase/types.js").Json | null;
93233
93540
  cart_ref: string | null;
93234
93541
  created_at: string;
93235
93542
  db_action: string | null;
@@ -93240,6 +93547,7 @@ export declare const saveFlorydayLinkTemplate: import("@tanstack/start-client-co
93240
93547
  decision: string | null;
93241
93548
  duration_ms: number | null;
93242
93549
  error: string | null;
93550
+ error_class: string | null;
93243
93551
  external_action: string | null;
93244
93552
  external_ref: string | null;
93245
93553
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -93248,6 +93556,8 @@ export declare const saveFlorydayLinkTemplate: import("@tanstack/start-client-co
93248
93556
  id: string;
93249
93557
  input: import("../integrations/supabase/types.js").Json | null;
93250
93558
  next_attempt_at: string | null;
93559
+ next_step: string | null;
93560
+ node_id: string | null;
93251
93561
  order_ref: string | null;
93252
93562
  order_source: string | null;
93253
93563
  output: import("../integrations/supabase/types.js").Json | null;
@@ -93264,6 +93574,7 @@ export declare const saveFlorydayLinkTemplate: import("@tanstack/start-client-co
93264
93574
  Insert: {
93265
93575
  actor?: string | null;
93266
93576
  attempts?: number;
93577
+ calc?: import("../integrations/supabase/types.js").Json | null;
93267
93578
  cart_ref?: string | null;
93268
93579
  created_at?: string;
93269
93580
  db_action?: string | null;
@@ -93274,6 +93585,7 @@ export declare const saveFlorydayLinkTemplate: import("@tanstack/start-client-co
93274
93585
  decision?: string | null;
93275
93586
  duration_ms?: number | null;
93276
93587
  error?: string | null;
93588
+ error_class?: string | null;
93277
93589
  external_action?: string | null;
93278
93590
  external_ref?: string | null;
93279
93591
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -93282,6 +93594,8 @@ export declare const saveFlorydayLinkTemplate: import("@tanstack/start-client-co
93282
93594
  id?: string;
93283
93595
  input?: import("../integrations/supabase/types.js").Json | null;
93284
93596
  next_attempt_at?: string | null;
93597
+ next_step?: string | null;
93598
+ node_id?: string | null;
93285
93599
  order_ref?: string | null;
93286
93600
  order_source?: string | null;
93287
93601
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -93298,6 +93612,7 @@ export declare const saveFlorydayLinkTemplate: import("@tanstack/start-client-co
93298
93612
  Update: {
93299
93613
  actor?: string | null;
93300
93614
  attempts?: number;
93615
+ calc?: import("../integrations/supabase/types.js").Json | null;
93301
93616
  cart_ref?: string | null;
93302
93617
  created_at?: string;
93303
93618
  db_action?: string | null;
@@ -93308,6 +93623,7 @@ export declare const saveFlorydayLinkTemplate: import("@tanstack/start-client-co
93308
93623
  decision?: string | null;
93309
93624
  duration_ms?: number | null;
93310
93625
  error?: string | null;
93626
+ error_class?: string | null;
93311
93627
  external_action?: string | null;
93312
93628
  external_ref?: string | null;
93313
93629
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -93316,6 +93632,8 @@ export declare const saveFlorydayLinkTemplate: import("@tanstack/start-client-co
93316
93632
  id?: string;
93317
93633
  input?: import("../integrations/supabase/types.js").Json | null;
93318
93634
  next_attempt_at?: string | null;
93635
+ next_step?: string | null;
93636
+ node_id?: string | null;
93319
93637
  order_ref?: string | null;
93320
93638
  order_source?: string | null;
93321
93639
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -106833,6 +107151,24 @@ export declare const saveFlorydayLinkTemplate: import("@tanstack/start-client-co
106833
107151
  };
106834
107152
  Returns: number;
106835
107153
  };
107154
+ logistics_trace_order_overview: {
107155
+ Args: {
107156
+ p_error_class?: string;
107157
+ p_limit?: number;
107158
+ p_search?: string;
107159
+ p_since?: string;
107160
+ p_source?: string;
107161
+ p_state?: string;
107162
+ p_step?: string;
107163
+ };
107164
+ Returns: import("../integrations/supabase/types.js").Json;
107165
+ };
107166
+ logistics_trace_order_state: {
107167
+ Args: {
107168
+ p_order_ref: string;
107169
+ };
107170
+ Returns: import("../integrations/supabase/types.js").Json;
107171
+ };
106836
107172
  logistics_trace_orders: {
106837
107173
  Args: {
106838
107174
  p_limit?: number;
@@ -110701,6 +111037,42 @@ export declare const listFlorydayLogRetention: import("@tanstack/start-client-co
110701
111037
  };
110702
111038
  Relationships: [];
110703
111039
  };
111040
+ customer_assortment_items: {
111041
+ Row: {
111042
+ created_at: string;
111043
+ customer_key: string;
111044
+ id: string;
111045
+ in_assortment: boolean;
111046
+ manual_override: boolean;
111047
+ source: string;
111048
+ synced_at: string | null;
111049
+ trade_item_key: string;
111050
+ updated_at: string;
111051
+ };
111052
+ Insert: {
111053
+ created_at?: string;
111054
+ customer_key: string;
111055
+ id?: string;
111056
+ in_assortment?: boolean;
111057
+ manual_override?: boolean;
111058
+ source?: string;
111059
+ synced_at?: string | null;
111060
+ trade_item_key: string;
111061
+ updated_at?: string;
111062
+ };
111063
+ Update: {
111064
+ created_at?: string;
111065
+ customer_key?: string;
111066
+ id?: string;
111067
+ in_assortment?: boolean;
111068
+ manual_override?: boolean;
111069
+ source?: string;
111070
+ synced_at?: string | null;
111071
+ trade_item_key?: string;
111072
+ updated_at?: string;
111073
+ };
111074
+ Relationships: [];
111075
+ };
110704
111076
  customer_audit_log: {
110705
111077
  Row: {
110706
111078
  action: string;
@@ -111105,40 +111477,58 @@ export declare const listFlorydayLogRetention: import("@tanstack/start-client-co
111105
111477
  };
111106
111478
  customer_product_stickers: {
111107
111479
  Row: {
111480
+ content_hash: string | null;
111108
111481
  created_at: string;
111109
111482
  customer_key: string;
111110
111483
  file_name: string;
111111
111484
  file_path: string;
111112
111485
  file_size: number | null;
111486
+ floriday_sticker_id: string | null;
111487
+ floriday_synced_at: string | null;
111488
+ height_mm: number | null;
111113
111489
  id: string;
111114
111490
  mime_type: string | null;
111491
+ source: string;
111115
111492
  trade_item_key: string;
111116
111493
  updated_at: string;
111117
111494
  uploaded_by: string | null;
111495
+ width_mm: number | null;
111118
111496
  };
111119
111497
  Insert: {
111498
+ content_hash?: string | null;
111120
111499
  created_at?: string;
111121
111500
  customer_key: string;
111122
111501
  file_name: string;
111123
111502
  file_path: string;
111124
111503
  file_size?: number | null;
111504
+ floriday_sticker_id?: string | null;
111505
+ floriday_synced_at?: string | null;
111506
+ height_mm?: number | null;
111125
111507
  id?: string;
111126
111508
  mime_type?: string | null;
111509
+ source?: string;
111127
111510
  trade_item_key: string;
111128
111511
  updated_at?: string;
111129
111512
  uploaded_by?: string | null;
111513
+ width_mm?: number | null;
111130
111514
  };
111131
111515
  Update: {
111516
+ content_hash?: string | null;
111132
111517
  created_at?: string;
111133
111518
  customer_key?: string;
111134
111519
  file_name?: string;
111135
111520
  file_path?: string;
111136
111521
  file_size?: number | null;
111522
+ floriday_sticker_id?: string | null;
111523
+ floriday_synced_at?: string | null;
111524
+ height_mm?: number | null;
111137
111525
  id?: string;
111138
111526
  mime_type?: string | null;
111527
+ source?: string;
111139
111528
  trade_item_key?: string;
111140
111529
  updated_at?: string;
111141
111530
  uploaded_by?: string | null;
111531
+ width_mm?: number | null;
111142
111532
  };
111143
111533
  Relationships: [];
111144
111534
  };
@@ -120446,6 +120836,7 @@ export declare const listFlorydayLogRetention: import("@tanstack/start-client-co
120446
120836
  Row: {
120447
120837
  actor: string | null;
120448
120838
  attempts: number;
120839
+ calc: import("../integrations/supabase/types.js").Json | null;
120449
120840
  cart_ref: string | null;
120450
120841
  created_at: string;
120451
120842
  db_action: string | null;
@@ -120456,6 +120847,7 @@ export declare const listFlorydayLogRetention: import("@tanstack/start-client-co
120456
120847
  decision: string | null;
120457
120848
  duration_ms: number | null;
120458
120849
  error: string | null;
120850
+ error_class: string | null;
120459
120851
  external_action: string | null;
120460
120852
  external_ref: string | null;
120461
120853
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -120464,6 +120856,8 @@ export declare const listFlorydayLogRetention: import("@tanstack/start-client-co
120464
120856
  id: string;
120465
120857
  input: import("../integrations/supabase/types.js").Json | null;
120466
120858
  next_attempt_at: string | null;
120859
+ next_step: string | null;
120860
+ node_id: string | null;
120467
120861
  order_ref: string | null;
120468
120862
  order_source: string | null;
120469
120863
  output: import("../integrations/supabase/types.js").Json | null;
@@ -120480,6 +120874,7 @@ export declare const listFlorydayLogRetention: import("@tanstack/start-client-co
120480
120874
  Insert: {
120481
120875
  actor?: string | null;
120482
120876
  attempts?: number;
120877
+ calc?: import("../integrations/supabase/types.js").Json | null;
120483
120878
  cart_ref?: string | null;
120484
120879
  created_at?: string;
120485
120880
  db_action?: string | null;
@@ -120490,6 +120885,7 @@ export declare const listFlorydayLogRetention: import("@tanstack/start-client-co
120490
120885
  decision?: string | null;
120491
120886
  duration_ms?: number | null;
120492
120887
  error?: string | null;
120888
+ error_class?: string | null;
120493
120889
  external_action?: string | null;
120494
120890
  external_ref?: string | null;
120495
120891
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -120498,6 +120894,8 @@ export declare const listFlorydayLogRetention: import("@tanstack/start-client-co
120498
120894
  id?: string;
120499
120895
  input?: import("../integrations/supabase/types.js").Json | null;
120500
120896
  next_attempt_at?: string | null;
120897
+ next_step?: string | null;
120898
+ node_id?: string | null;
120501
120899
  order_ref?: string | null;
120502
120900
  order_source?: string | null;
120503
120901
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -120514,6 +120912,7 @@ export declare const listFlorydayLogRetention: import("@tanstack/start-client-co
120514
120912
  Update: {
120515
120913
  actor?: string | null;
120516
120914
  attempts?: number;
120915
+ calc?: import("../integrations/supabase/types.js").Json | null;
120517
120916
  cart_ref?: string | null;
120518
120917
  created_at?: string;
120519
120918
  db_action?: string | null;
@@ -120524,6 +120923,7 @@ export declare const listFlorydayLogRetention: import("@tanstack/start-client-co
120524
120923
  decision?: string | null;
120525
120924
  duration_ms?: number | null;
120526
120925
  error?: string | null;
120926
+ error_class?: string | null;
120527
120927
  external_action?: string | null;
120528
120928
  external_ref?: string | null;
120529
120929
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -120532,6 +120932,8 @@ export declare const listFlorydayLogRetention: import("@tanstack/start-client-co
120532
120932
  id?: string;
120533
120933
  input?: import("../integrations/supabase/types.js").Json | null;
120534
120934
  next_attempt_at?: string | null;
120935
+ next_step?: string | null;
120936
+ node_id?: string | null;
120535
120937
  order_ref?: string | null;
120536
120938
  order_source?: string | null;
120537
120939
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -134049,6 +134451,24 @@ export declare const listFlorydayLogRetention: import("@tanstack/start-client-co
134049
134451
  };
134050
134452
  Returns: number;
134051
134453
  };
134454
+ logistics_trace_order_overview: {
134455
+ Args: {
134456
+ p_error_class?: string;
134457
+ p_limit?: number;
134458
+ p_search?: string;
134459
+ p_since?: string;
134460
+ p_source?: string;
134461
+ p_state?: string;
134462
+ p_step?: string;
134463
+ };
134464
+ Returns: import("../integrations/supabase/types.js").Json;
134465
+ };
134466
+ logistics_trace_order_state: {
134467
+ Args: {
134468
+ p_order_ref: string;
134469
+ };
134470
+ Returns: import("../integrations/supabase/types.js").Json;
134471
+ };
134052
134472
  logistics_trace_orders: {
134053
134473
  Args: {
134054
134474
  p_limit?: number;
@@ -137905,6 +138325,42 @@ export declare const saveFlorydayLogRetention: import("@tanstack/start-client-co
137905
138325
  };
137906
138326
  Relationships: [];
137907
138327
  };
138328
+ customer_assortment_items: {
138329
+ Row: {
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
+ Insert: {
138341
+ created_at?: string;
138342
+ customer_key: string;
138343
+ id?: string;
138344
+ in_assortment?: boolean;
138345
+ manual_override?: boolean;
138346
+ source?: string;
138347
+ synced_at?: string | null;
138348
+ trade_item_key: string;
138349
+ updated_at?: string;
138350
+ };
138351
+ Update: {
138352
+ created_at?: string;
138353
+ customer_key?: string;
138354
+ id?: string;
138355
+ in_assortment?: boolean;
138356
+ manual_override?: boolean;
138357
+ source?: string;
138358
+ synced_at?: string | null;
138359
+ trade_item_key?: string;
138360
+ updated_at?: string;
138361
+ };
138362
+ Relationships: [];
138363
+ };
137908
138364
  customer_audit_log: {
137909
138365
  Row: {
137910
138366
  action: string;
@@ -138309,40 +138765,58 @@ export declare const saveFlorydayLogRetention: import("@tanstack/start-client-co
138309
138765
  };
138310
138766
  customer_product_stickers: {
138311
138767
  Row: {
138768
+ content_hash: string | null;
138312
138769
  created_at: string;
138313
138770
  customer_key: string;
138314
138771
  file_name: string;
138315
138772
  file_path: string;
138316
138773
  file_size: number | null;
138774
+ floriday_sticker_id: string | null;
138775
+ floriday_synced_at: string | null;
138776
+ height_mm: number | null;
138317
138777
  id: string;
138318
138778
  mime_type: string | null;
138779
+ source: string;
138319
138780
  trade_item_key: string;
138320
138781
  updated_at: string;
138321
138782
  uploaded_by: string | null;
138783
+ width_mm: number | null;
138322
138784
  };
138323
138785
  Insert: {
138786
+ content_hash?: string | null;
138324
138787
  created_at?: string;
138325
138788
  customer_key: string;
138326
138789
  file_name: string;
138327
138790
  file_path: string;
138328
138791
  file_size?: number | null;
138792
+ floriday_sticker_id?: string | null;
138793
+ floriday_synced_at?: string | null;
138794
+ height_mm?: number | null;
138329
138795
  id?: string;
138330
138796
  mime_type?: string | null;
138797
+ source?: string;
138331
138798
  trade_item_key: string;
138332
138799
  updated_at?: string;
138333
138800
  uploaded_by?: string | null;
138801
+ width_mm?: number | null;
138334
138802
  };
138335
138803
  Update: {
138804
+ content_hash?: string | null;
138336
138805
  created_at?: string;
138337
138806
  customer_key?: string;
138338
138807
  file_name?: string;
138339
138808
  file_path?: string;
138340
138809
  file_size?: number | null;
138810
+ floriday_sticker_id?: string | null;
138811
+ floriday_synced_at?: string | null;
138812
+ height_mm?: number | null;
138341
138813
  id?: string;
138342
138814
  mime_type?: string | null;
138815
+ source?: string;
138343
138816
  trade_item_key?: string;
138344
138817
  updated_at?: string;
138345
138818
  uploaded_by?: string | null;
138819
+ width_mm?: number | null;
138346
138820
  };
138347
138821
  Relationships: [];
138348
138822
  };
@@ -147650,6 +148124,7 @@ export declare const saveFlorydayLogRetention: import("@tanstack/start-client-co
147650
148124
  Row: {
147651
148125
  actor: string | null;
147652
148126
  attempts: number;
148127
+ calc: import("../integrations/supabase/types.js").Json | null;
147653
148128
  cart_ref: string | null;
147654
148129
  created_at: string;
147655
148130
  db_action: string | null;
@@ -147660,6 +148135,7 @@ export declare const saveFlorydayLogRetention: import("@tanstack/start-client-co
147660
148135
  decision: string | null;
147661
148136
  duration_ms: number | null;
147662
148137
  error: string | null;
148138
+ error_class: string | null;
147663
148139
  external_action: string | null;
147664
148140
  external_ref: string | null;
147665
148141
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -147668,6 +148144,8 @@ export declare const saveFlorydayLogRetention: import("@tanstack/start-client-co
147668
148144
  id: string;
147669
148145
  input: import("../integrations/supabase/types.js").Json | null;
147670
148146
  next_attempt_at: string | null;
148147
+ next_step: string | null;
148148
+ node_id: string | null;
147671
148149
  order_ref: string | null;
147672
148150
  order_source: string | null;
147673
148151
  output: import("../integrations/supabase/types.js").Json | null;
@@ -147684,6 +148162,7 @@ export declare const saveFlorydayLogRetention: import("@tanstack/start-client-co
147684
148162
  Insert: {
147685
148163
  actor?: string | null;
147686
148164
  attempts?: number;
148165
+ calc?: import("../integrations/supabase/types.js").Json | null;
147687
148166
  cart_ref?: string | null;
147688
148167
  created_at?: string;
147689
148168
  db_action?: string | null;
@@ -147694,6 +148173,7 @@ export declare const saveFlorydayLogRetention: import("@tanstack/start-client-co
147694
148173
  decision?: string | null;
147695
148174
  duration_ms?: number | null;
147696
148175
  error?: string | null;
148176
+ error_class?: string | null;
147697
148177
  external_action?: string | null;
147698
148178
  external_ref?: string | null;
147699
148179
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -147702,6 +148182,8 @@ export declare const saveFlorydayLogRetention: import("@tanstack/start-client-co
147702
148182
  id?: string;
147703
148183
  input?: import("../integrations/supabase/types.js").Json | null;
147704
148184
  next_attempt_at?: string | null;
148185
+ next_step?: string | null;
148186
+ node_id?: string | null;
147705
148187
  order_ref?: string | null;
147706
148188
  order_source?: string | null;
147707
148189
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -147718,6 +148200,7 @@ export declare const saveFlorydayLogRetention: import("@tanstack/start-client-co
147718
148200
  Update: {
147719
148201
  actor?: string | null;
147720
148202
  attempts?: number;
148203
+ calc?: import("../integrations/supabase/types.js").Json | null;
147721
148204
  cart_ref?: string | null;
147722
148205
  created_at?: string;
147723
148206
  db_action?: string | null;
@@ -147728,6 +148211,7 @@ export declare const saveFlorydayLogRetention: import("@tanstack/start-client-co
147728
148211
  decision?: string | null;
147729
148212
  duration_ms?: number | null;
147730
148213
  error?: string | null;
148214
+ error_class?: string | null;
147731
148215
  external_action?: string | null;
147732
148216
  external_ref?: string | null;
147733
148217
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -147736,6 +148220,8 @@ export declare const saveFlorydayLogRetention: import("@tanstack/start-client-co
147736
148220
  id?: string;
147737
148221
  input?: import("../integrations/supabase/types.js").Json | null;
147738
148222
  next_attempt_at?: string | null;
148223
+ next_step?: string | null;
148224
+ node_id?: string | null;
147739
148225
  order_ref?: string | null;
147740
148226
  order_source?: string | null;
147741
148227
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -161253,6 +161739,24 @@ export declare const saveFlorydayLogRetention: import("@tanstack/start-client-co
161253
161739
  };
161254
161740
  Returns: number;
161255
161741
  };
161742
+ logistics_trace_order_overview: {
161743
+ Args: {
161744
+ p_error_class?: string;
161745
+ p_limit?: number;
161746
+ p_search?: string;
161747
+ p_since?: string;
161748
+ p_source?: string;
161749
+ p_state?: string;
161750
+ p_step?: string;
161751
+ };
161752
+ Returns: import("../integrations/supabase/types.js").Json;
161753
+ };
161754
+ logistics_trace_order_state: {
161755
+ Args: {
161756
+ p_order_ref: string;
161757
+ };
161758
+ Returns: import("../integrations/supabase/types.js").Json;
161759
+ };
161256
161760
  logistics_trace_orders: {
161257
161761
  Args: {
161258
161762
  p_limit?: number;
@@ -165125,6 +165629,42 @@ export declare const deleteFlorydayLogRetention: import("@tanstack/start-client-
165125
165629
  };
165126
165630
  Relationships: [];
165127
165631
  };
165632
+ customer_assortment_items: {
165633
+ Row: {
165634
+ created_at: string;
165635
+ customer_key: string;
165636
+ id: string;
165637
+ in_assortment: boolean;
165638
+ manual_override: boolean;
165639
+ source: string;
165640
+ synced_at: string | null;
165641
+ trade_item_key: string;
165642
+ updated_at: string;
165643
+ };
165644
+ Insert: {
165645
+ created_at?: string;
165646
+ customer_key: string;
165647
+ id?: string;
165648
+ in_assortment?: boolean;
165649
+ manual_override?: boolean;
165650
+ source?: string;
165651
+ synced_at?: string | null;
165652
+ trade_item_key: string;
165653
+ updated_at?: string;
165654
+ };
165655
+ Update: {
165656
+ created_at?: string;
165657
+ customer_key?: string;
165658
+ id?: string;
165659
+ in_assortment?: boolean;
165660
+ manual_override?: boolean;
165661
+ source?: string;
165662
+ synced_at?: string | null;
165663
+ trade_item_key?: string;
165664
+ updated_at?: string;
165665
+ };
165666
+ Relationships: [];
165667
+ };
165128
165668
  customer_audit_log: {
165129
165669
  Row: {
165130
165670
  action: string;
@@ -165529,40 +166069,58 @@ export declare const deleteFlorydayLogRetention: import("@tanstack/start-client-
165529
166069
  };
165530
166070
  customer_product_stickers: {
165531
166071
  Row: {
166072
+ content_hash: string | null;
165532
166073
  created_at: string;
165533
166074
  customer_key: string;
165534
166075
  file_name: string;
165535
166076
  file_path: string;
165536
166077
  file_size: number | null;
166078
+ floriday_sticker_id: string | null;
166079
+ floriday_synced_at: string | null;
166080
+ height_mm: number | null;
165537
166081
  id: string;
165538
166082
  mime_type: string | null;
166083
+ source: string;
165539
166084
  trade_item_key: string;
165540
166085
  updated_at: string;
165541
166086
  uploaded_by: string | null;
166087
+ width_mm: number | null;
165542
166088
  };
165543
166089
  Insert: {
166090
+ content_hash?: string | null;
165544
166091
  created_at?: string;
165545
166092
  customer_key: string;
165546
166093
  file_name: string;
165547
166094
  file_path: string;
165548
166095
  file_size?: number | null;
166096
+ floriday_sticker_id?: string | null;
166097
+ floriday_synced_at?: string | null;
166098
+ height_mm?: number | null;
165549
166099
  id?: string;
165550
166100
  mime_type?: string | null;
166101
+ source?: string;
165551
166102
  trade_item_key: string;
165552
166103
  updated_at?: string;
165553
166104
  uploaded_by?: string | null;
166105
+ width_mm?: number | null;
165554
166106
  };
165555
166107
  Update: {
166108
+ content_hash?: string | null;
165556
166109
  created_at?: string;
165557
166110
  customer_key?: string;
165558
166111
  file_name?: string;
165559
166112
  file_path?: string;
165560
166113
  file_size?: number | null;
166114
+ floriday_sticker_id?: string | null;
166115
+ floriday_synced_at?: string | null;
166116
+ height_mm?: number | null;
165561
166117
  id?: string;
165562
166118
  mime_type?: string | null;
166119
+ source?: string;
165563
166120
  trade_item_key?: string;
165564
166121
  updated_at?: string;
165565
166122
  uploaded_by?: string | null;
166123
+ width_mm?: number | null;
165566
166124
  };
165567
166125
  Relationships: [];
165568
166126
  };
@@ -174870,6 +175428,7 @@ export declare const deleteFlorydayLogRetention: import("@tanstack/start-client-
174870
175428
  Row: {
174871
175429
  actor: string | null;
174872
175430
  attempts: number;
175431
+ calc: import("../integrations/supabase/types.js").Json | null;
174873
175432
  cart_ref: string | null;
174874
175433
  created_at: string;
174875
175434
  db_action: string | null;
@@ -174880,6 +175439,7 @@ export declare const deleteFlorydayLogRetention: import("@tanstack/start-client-
174880
175439
  decision: string | null;
174881
175440
  duration_ms: number | null;
174882
175441
  error: string | null;
175442
+ error_class: string | null;
174883
175443
  external_action: string | null;
174884
175444
  external_ref: string | null;
174885
175445
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -174888,6 +175448,8 @@ export declare const deleteFlorydayLogRetention: import("@tanstack/start-client-
174888
175448
  id: string;
174889
175449
  input: import("../integrations/supabase/types.js").Json | null;
174890
175450
  next_attempt_at: string | null;
175451
+ next_step: string | null;
175452
+ node_id: string | null;
174891
175453
  order_ref: string | null;
174892
175454
  order_source: string | null;
174893
175455
  output: import("../integrations/supabase/types.js").Json | null;
@@ -174904,6 +175466,7 @@ export declare const deleteFlorydayLogRetention: import("@tanstack/start-client-
174904
175466
  Insert: {
174905
175467
  actor?: string | null;
174906
175468
  attempts?: number;
175469
+ calc?: import("../integrations/supabase/types.js").Json | null;
174907
175470
  cart_ref?: string | null;
174908
175471
  created_at?: string;
174909
175472
  db_action?: string | null;
@@ -174914,6 +175477,7 @@ export declare const deleteFlorydayLogRetention: import("@tanstack/start-client-
174914
175477
  decision?: string | null;
174915
175478
  duration_ms?: number | null;
174916
175479
  error?: string | null;
175480
+ error_class?: string | null;
174917
175481
  external_action?: string | null;
174918
175482
  external_ref?: string | null;
174919
175483
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -174922,6 +175486,8 @@ export declare const deleteFlorydayLogRetention: import("@tanstack/start-client-
174922
175486
  id?: string;
174923
175487
  input?: import("../integrations/supabase/types.js").Json | null;
174924
175488
  next_attempt_at?: string | null;
175489
+ next_step?: string | null;
175490
+ node_id?: string | null;
174925
175491
  order_ref?: string | null;
174926
175492
  order_source?: string | null;
174927
175493
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -174938,6 +175504,7 @@ export declare const deleteFlorydayLogRetention: import("@tanstack/start-client-
174938
175504
  Update: {
174939
175505
  actor?: string | null;
174940
175506
  attempts?: number;
175507
+ calc?: import("../integrations/supabase/types.js").Json | null;
174941
175508
  cart_ref?: string | null;
174942
175509
  created_at?: string;
174943
175510
  db_action?: string | null;
@@ -174948,6 +175515,7 @@ export declare const deleteFlorydayLogRetention: import("@tanstack/start-client-
174948
175515
  decision?: string | null;
174949
175516
  duration_ms?: number | null;
174950
175517
  error?: string | null;
175518
+ error_class?: string | null;
174951
175519
  external_action?: string | null;
174952
175520
  external_ref?: string | null;
174953
175521
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -174956,6 +175524,8 @@ export declare const deleteFlorydayLogRetention: import("@tanstack/start-client-
174956
175524
  id?: string;
174957
175525
  input?: import("../integrations/supabase/types.js").Json | null;
174958
175526
  next_attempt_at?: string | null;
175527
+ next_step?: string | null;
175528
+ node_id?: string | null;
174959
175529
  order_ref?: string | null;
174960
175530
  order_source?: string | null;
174961
175531
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -188473,6 +189043,24 @@ export declare const deleteFlorydayLogRetention: import("@tanstack/start-client-
188473
189043
  };
188474
189044
  Returns: number;
188475
189045
  };
189046
+ logistics_trace_order_overview: {
189047
+ Args: {
189048
+ p_error_class?: string;
189049
+ p_limit?: number;
189050
+ p_search?: string;
189051
+ p_since?: string;
189052
+ p_source?: string;
189053
+ p_state?: string;
189054
+ p_step?: string;
189055
+ };
189056
+ Returns: import("../integrations/supabase/types.js").Json;
189057
+ };
189058
+ logistics_trace_order_state: {
189059
+ Args: {
189060
+ p_order_ref: string;
189061
+ };
189062
+ Returns: import("../integrations/supabase/types.js").Json;
189063
+ };
188476
189064
  logistics_trace_orders: {
188477
189065
  Args: {
188478
189066
  p_limit?: number;
@@ -192335,6 +192923,42 @@ export declare const pruneFlorydayApiLogNow: import("@tanstack/start-client-core
192335
192923
  };
192336
192924
  Relationships: [];
192337
192925
  };
192926
+ customer_assortment_items: {
192927
+ Row: {
192928
+ created_at: string;
192929
+ customer_key: string;
192930
+ id: string;
192931
+ in_assortment: boolean;
192932
+ manual_override: boolean;
192933
+ source: string;
192934
+ synced_at: string | null;
192935
+ trade_item_key: string;
192936
+ updated_at: string;
192937
+ };
192938
+ Insert: {
192939
+ created_at?: string;
192940
+ customer_key: string;
192941
+ id?: string;
192942
+ in_assortment?: boolean;
192943
+ manual_override?: boolean;
192944
+ source?: string;
192945
+ synced_at?: string | null;
192946
+ trade_item_key: string;
192947
+ updated_at?: string;
192948
+ };
192949
+ Update: {
192950
+ created_at?: string;
192951
+ customer_key?: string;
192952
+ id?: string;
192953
+ in_assortment?: boolean;
192954
+ manual_override?: boolean;
192955
+ source?: string;
192956
+ synced_at?: string | null;
192957
+ trade_item_key?: string;
192958
+ updated_at?: string;
192959
+ };
192960
+ Relationships: [];
192961
+ };
192338
192962
  customer_audit_log: {
192339
192963
  Row: {
192340
192964
  action: string;
@@ -192739,40 +193363,58 @@ export declare const pruneFlorydayApiLogNow: import("@tanstack/start-client-core
192739
193363
  };
192740
193364
  customer_product_stickers: {
192741
193365
  Row: {
193366
+ content_hash: string | null;
192742
193367
  created_at: string;
192743
193368
  customer_key: string;
192744
193369
  file_name: string;
192745
193370
  file_path: string;
192746
193371
  file_size: number | null;
193372
+ floriday_sticker_id: string | null;
193373
+ floriday_synced_at: string | null;
193374
+ height_mm: number | null;
192747
193375
  id: string;
192748
193376
  mime_type: string | null;
193377
+ source: string;
192749
193378
  trade_item_key: string;
192750
193379
  updated_at: string;
192751
193380
  uploaded_by: string | null;
193381
+ width_mm: number | null;
192752
193382
  };
192753
193383
  Insert: {
193384
+ content_hash?: string | null;
192754
193385
  created_at?: string;
192755
193386
  customer_key: string;
192756
193387
  file_name: string;
192757
193388
  file_path: string;
192758
193389
  file_size?: number | null;
193390
+ floriday_sticker_id?: string | null;
193391
+ floriday_synced_at?: string | null;
193392
+ height_mm?: number | null;
192759
193393
  id?: string;
192760
193394
  mime_type?: string | null;
193395
+ source?: string;
192761
193396
  trade_item_key: string;
192762
193397
  updated_at?: string;
192763
193398
  uploaded_by?: string | null;
193399
+ width_mm?: number | null;
192764
193400
  };
192765
193401
  Update: {
193402
+ content_hash?: string | null;
192766
193403
  created_at?: string;
192767
193404
  customer_key?: string;
192768
193405
  file_name?: string;
192769
193406
  file_path?: string;
192770
193407
  file_size?: number | null;
193408
+ floriday_sticker_id?: string | null;
193409
+ floriday_synced_at?: string | null;
193410
+ height_mm?: number | null;
192771
193411
  id?: string;
192772
193412
  mime_type?: string | null;
193413
+ source?: string;
192773
193414
  trade_item_key?: string;
192774
193415
  updated_at?: string;
192775
193416
  uploaded_by?: string | null;
193417
+ width_mm?: number | null;
192776
193418
  };
192777
193419
  Relationships: [];
192778
193420
  };
@@ -202080,6 +202722,7 @@ export declare const pruneFlorydayApiLogNow: import("@tanstack/start-client-core
202080
202722
  Row: {
202081
202723
  actor: string | null;
202082
202724
  attempts: number;
202725
+ calc: import("../integrations/supabase/types.js").Json | null;
202083
202726
  cart_ref: string | null;
202084
202727
  created_at: string;
202085
202728
  db_action: string | null;
@@ -202090,6 +202733,7 @@ export declare const pruneFlorydayApiLogNow: import("@tanstack/start-client-core
202090
202733
  decision: string | null;
202091
202734
  duration_ms: number | null;
202092
202735
  error: string | null;
202736
+ error_class: string | null;
202093
202737
  external_action: string | null;
202094
202738
  external_ref: string | null;
202095
202739
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -202098,6 +202742,8 @@ export declare const pruneFlorydayApiLogNow: import("@tanstack/start-client-core
202098
202742
  id: string;
202099
202743
  input: import("../integrations/supabase/types.js").Json | null;
202100
202744
  next_attempt_at: string | null;
202745
+ next_step: string | null;
202746
+ node_id: string | null;
202101
202747
  order_ref: string | null;
202102
202748
  order_source: string | null;
202103
202749
  output: import("../integrations/supabase/types.js").Json | null;
@@ -202114,6 +202760,7 @@ export declare const pruneFlorydayApiLogNow: import("@tanstack/start-client-core
202114
202760
  Insert: {
202115
202761
  actor?: string | null;
202116
202762
  attempts?: number;
202763
+ calc?: import("../integrations/supabase/types.js").Json | null;
202117
202764
  cart_ref?: string | null;
202118
202765
  created_at?: string;
202119
202766
  db_action?: string | null;
@@ -202124,6 +202771,7 @@ export declare const pruneFlorydayApiLogNow: import("@tanstack/start-client-core
202124
202771
  decision?: string | null;
202125
202772
  duration_ms?: number | null;
202126
202773
  error?: string | null;
202774
+ error_class?: string | null;
202127
202775
  external_action?: string | null;
202128
202776
  external_ref?: string | null;
202129
202777
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -202132,6 +202780,8 @@ export declare const pruneFlorydayApiLogNow: import("@tanstack/start-client-core
202132
202780
  id?: string;
202133
202781
  input?: import("../integrations/supabase/types.js").Json | null;
202134
202782
  next_attempt_at?: string | null;
202783
+ next_step?: string | null;
202784
+ node_id?: string | null;
202135
202785
  order_ref?: string | null;
202136
202786
  order_source?: string | null;
202137
202787
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -202148,6 +202798,7 @@ export declare const pruneFlorydayApiLogNow: import("@tanstack/start-client-core
202148
202798
  Update: {
202149
202799
  actor?: string | null;
202150
202800
  attempts?: number;
202801
+ calc?: import("../integrations/supabase/types.js").Json | null;
202151
202802
  cart_ref?: string | null;
202152
202803
  created_at?: string;
202153
202804
  db_action?: string | null;
@@ -202158,6 +202809,7 @@ export declare const pruneFlorydayApiLogNow: import("@tanstack/start-client-core
202158
202809
  decision?: string | null;
202159
202810
  duration_ms?: number | null;
202160
202811
  error?: string | null;
202812
+ error_class?: string | null;
202161
202813
  external_action?: string | null;
202162
202814
  external_ref?: string | null;
202163
202815
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -202166,6 +202818,8 @@ export declare const pruneFlorydayApiLogNow: import("@tanstack/start-client-core
202166
202818
  id?: string;
202167
202819
  input?: import("../integrations/supabase/types.js").Json | null;
202168
202820
  next_attempt_at?: string | null;
202821
+ next_step?: string | null;
202822
+ node_id?: string | null;
202169
202823
  order_ref?: string | null;
202170
202824
  order_source?: string | null;
202171
202825
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -215683,6 +216337,24 @@ export declare const pruneFlorydayApiLogNow: import("@tanstack/start-client-core
215683
216337
  };
215684
216338
  Returns: number;
215685
216339
  };
216340
+ logistics_trace_order_overview: {
216341
+ Args: {
216342
+ p_error_class?: string;
216343
+ p_limit?: number;
216344
+ p_search?: string;
216345
+ p_since?: string;
216346
+ p_source?: string;
216347
+ p_state?: string;
216348
+ p_step?: string;
216349
+ };
216350
+ Returns: import("../integrations/supabase/types.js").Json;
216351
+ };
216352
+ logistics_trace_order_state: {
216353
+ Args: {
216354
+ p_order_ref: string;
216355
+ };
216356
+ Returns: import("../integrations/supabase/types.js").Json;
216357
+ };
215686
216358
  logistics_trace_orders: {
215687
216359
  Args: {
215688
216360
  p_limit?: number;
@@ -219541,6 +220213,42 @@ export declare const clearFlorydayApiLog: import("@tanstack/start-client-core").
219541
220213
  };
219542
220214
  Relationships: [];
219543
220215
  };
220216
+ customer_assortment_items: {
220217
+ Row: {
220218
+ created_at: string;
220219
+ customer_key: string;
220220
+ id: string;
220221
+ in_assortment: boolean;
220222
+ manual_override: boolean;
220223
+ source: string;
220224
+ synced_at: string | null;
220225
+ trade_item_key: string;
220226
+ updated_at: string;
220227
+ };
220228
+ Insert: {
220229
+ created_at?: string;
220230
+ customer_key: string;
220231
+ id?: string;
220232
+ in_assortment?: boolean;
220233
+ manual_override?: boolean;
220234
+ source?: string;
220235
+ synced_at?: string | null;
220236
+ trade_item_key: string;
220237
+ updated_at?: string;
220238
+ };
220239
+ Update: {
220240
+ created_at?: string;
220241
+ customer_key?: string;
220242
+ id?: string;
220243
+ in_assortment?: boolean;
220244
+ manual_override?: boolean;
220245
+ source?: string;
220246
+ synced_at?: string | null;
220247
+ trade_item_key?: string;
220248
+ updated_at?: string;
220249
+ };
220250
+ Relationships: [];
220251
+ };
219544
220252
  customer_audit_log: {
219545
220253
  Row: {
219546
220254
  action: string;
@@ -219945,40 +220653,58 @@ export declare const clearFlorydayApiLog: import("@tanstack/start-client-core").
219945
220653
  };
219946
220654
  customer_product_stickers: {
219947
220655
  Row: {
220656
+ content_hash: string | null;
219948
220657
  created_at: string;
219949
220658
  customer_key: string;
219950
220659
  file_name: string;
219951
220660
  file_path: string;
219952
220661
  file_size: number | null;
220662
+ floriday_sticker_id: string | null;
220663
+ floriday_synced_at: string | null;
220664
+ height_mm: number | null;
219953
220665
  id: string;
219954
220666
  mime_type: string | null;
220667
+ source: string;
219955
220668
  trade_item_key: string;
219956
220669
  updated_at: string;
219957
220670
  uploaded_by: string | null;
220671
+ width_mm: number | null;
219958
220672
  };
219959
220673
  Insert: {
220674
+ content_hash?: string | null;
219960
220675
  created_at?: string;
219961
220676
  customer_key: string;
219962
220677
  file_name: string;
219963
220678
  file_path: string;
219964
220679
  file_size?: number | null;
220680
+ floriday_sticker_id?: string | null;
220681
+ floriday_synced_at?: string | null;
220682
+ height_mm?: number | null;
219965
220683
  id?: string;
219966
220684
  mime_type?: string | null;
220685
+ source?: string;
219967
220686
  trade_item_key: string;
219968
220687
  updated_at?: string;
219969
220688
  uploaded_by?: string | null;
220689
+ width_mm?: number | null;
219970
220690
  };
219971
220691
  Update: {
220692
+ content_hash?: string | null;
219972
220693
  created_at?: string;
219973
220694
  customer_key?: string;
219974
220695
  file_name?: string;
219975
220696
  file_path?: string;
219976
220697
  file_size?: number | null;
220698
+ floriday_sticker_id?: string | null;
220699
+ floriday_synced_at?: string | null;
220700
+ height_mm?: number | null;
219977
220701
  id?: string;
219978
220702
  mime_type?: string | null;
220703
+ source?: string;
219979
220704
  trade_item_key?: string;
219980
220705
  updated_at?: string;
219981
220706
  uploaded_by?: string | null;
220707
+ width_mm?: number | null;
219982
220708
  };
219983
220709
  Relationships: [];
219984
220710
  };
@@ -229286,6 +230012,7 @@ export declare const clearFlorydayApiLog: import("@tanstack/start-client-core").
229286
230012
  Row: {
229287
230013
  actor: string | null;
229288
230014
  attempts: number;
230015
+ calc: import("../integrations/supabase/types.js").Json | null;
229289
230016
  cart_ref: string | null;
229290
230017
  created_at: string;
229291
230018
  db_action: string | null;
@@ -229296,6 +230023,7 @@ export declare const clearFlorydayApiLog: import("@tanstack/start-client-core").
229296
230023
  decision: string | null;
229297
230024
  duration_ms: number | null;
229298
230025
  error: string | null;
230026
+ error_class: string | null;
229299
230027
  external_action: string | null;
229300
230028
  external_ref: string | null;
229301
230029
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -229304,6 +230032,8 @@ export declare const clearFlorydayApiLog: import("@tanstack/start-client-core").
229304
230032
  id: string;
229305
230033
  input: import("../integrations/supabase/types.js").Json | null;
229306
230034
  next_attempt_at: string | null;
230035
+ next_step: string | null;
230036
+ node_id: string | null;
229307
230037
  order_ref: string | null;
229308
230038
  order_source: string | null;
229309
230039
  output: import("../integrations/supabase/types.js").Json | null;
@@ -229320,6 +230050,7 @@ export declare const clearFlorydayApiLog: import("@tanstack/start-client-core").
229320
230050
  Insert: {
229321
230051
  actor?: string | null;
229322
230052
  attempts?: number;
230053
+ calc?: import("../integrations/supabase/types.js").Json | null;
229323
230054
  cart_ref?: string | null;
229324
230055
  created_at?: string;
229325
230056
  db_action?: string | null;
@@ -229330,6 +230061,7 @@ export declare const clearFlorydayApiLog: import("@tanstack/start-client-core").
229330
230061
  decision?: string | null;
229331
230062
  duration_ms?: number | null;
229332
230063
  error?: string | null;
230064
+ error_class?: string | null;
229333
230065
  external_action?: string | null;
229334
230066
  external_ref?: string | null;
229335
230067
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -229338,6 +230070,8 @@ export declare const clearFlorydayApiLog: import("@tanstack/start-client-core").
229338
230070
  id?: string;
229339
230071
  input?: import("../integrations/supabase/types.js").Json | null;
229340
230072
  next_attempt_at?: string | null;
230073
+ next_step?: string | null;
230074
+ node_id?: string | null;
229341
230075
  order_ref?: string | null;
229342
230076
  order_source?: string | null;
229343
230077
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -229354,6 +230088,7 @@ export declare const clearFlorydayApiLog: import("@tanstack/start-client-core").
229354
230088
  Update: {
229355
230089
  actor?: string | null;
229356
230090
  attempts?: number;
230091
+ calc?: import("../integrations/supabase/types.js").Json | null;
229357
230092
  cart_ref?: string | null;
229358
230093
  created_at?: string;
229359
230094
  db_action?: string | null;
@@ -229364,6 +230099,7 @@ export declare const clearFlorydayApiLog: import("@tanstack/start-client-core").
229364
230099
  decision?: string | null;
229365
230100
  duration_ms?: number | null;
229366
230101
  error?: string | null;
230102
+ error_class?: string | null;
229367
230103
  external_action?: string | null;
229368
230104
  external_ref?: string | null;
229369
230105
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -229372,6 +230108,8 @@ export declare const clearFlorydayApiLog: import("@tanstack/start-client-core").
229372
230108
  id?: string;
229373
230109
  input?: import("../integrations/supabase/types.js").Json | null;
229374
230110
  next_attempt_at?: string | null;
230111
+ next_step?: string | null;
230112
+ node_id?: string | null;
229375
230113
  order_ref?: string | null;
229376
230114
  order_source?: string | null;
229377
230115
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -242889,6 +243627,24 @@ export declare const clearFlorydayApiLog: import("@tanstack/start-client-core").
242889
243627
  };
242890
243628
  Returns: number;
242891
243629
  };
243630
+ logistics_trace_order_overview: {
243631
+ Args: {
243632
+ p_error_class?: string;
243633
+ p_limit?: number;
243634
+ p_search?: string;
243635
+ p_since?: string;
243636
+ p_source?: string;
243637
+ p_state?: string;
243638
+ p_step?: string;
243639
+ };
243640
+ Returns: import("../integrations/supabase/types.js").Json;
243641
+ };
243642
+ logistics_trace_order_state: {
243643
+ Args: {
243644
+ p_order_ref: string;
243645
+ };
243646
+ Returns: import("../integrations/supabase/types.js").Json;
243647
+ };
242892
243648
  logistics_trace_orders: {
242893
243649
  Args: {
242894
243650
  p_limit?: number;