@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
@@ -1831,6 +1831,42 @@ export declare const getFloricodeSettings: import("@tanstack/start-client-core")
1831
1831
  };
1832
1832
  Relationships: [];
1833
1833
  };
1834
+ customer_assortment_items: {
1835
+ Row: {
1836
+ created_at: string;
1837
+ customer_key: string;
1838
+ id: string;
1839
+ in_assortment: boolean;
1840
+ manual_override: boolean;
1841
+ source: string;
1842
+ synced_at: string | null;
1843
+ trade_item_key: string;
1844
+ updated_at: string;
1845
+ };
1846
+ Insert: {
1847
+ created_at?: string;
1848
+ customer_key: string;
1849
+ id?: string;
1850
+ in_assortment?: boolean;
1851
+ manual_override?: boolean;
1852
+ source?: string;
1853
+ synced_at?: string | null;
1854
+ trade_item_key: string;
1855
+ updated_at?: string;
1856
+ };
1857
+ Update: {
1858
+ created_at?: string;
1859
+ customer_key?: string;
1860
+ id?: string;
1861
+ in_assortment?: boolean;
1862
+ manual_override?: boolean;
1863
+ source?: string;
1864
+ synced_at?: string | null;
1865
+ trade_item_key?: string;
1866
+ updated_at?: string;
1867
+ };
1868
+ Relationships: [];
1869
+ };
1834
1870
  customer_audit_log: {
1835
1871
  Row: {
1836
1872
  action: string;
@@ -2235,40 +2271,58 @@ export declare const getFloricodeSettings: import("@tanstack/start-client-core")
2235
2271
  };
2236
2272
  customer_product_stickers: {
2237
2273
  Row: {
2274
+ content_hash: string | null;
2238
2275
  created_at: string;
2239
2276
  customer_key: string;
2240
2277
  file_name: string;
2241
2278
  file_path: string;
2242
2279
  file_size: number | null;
2280
+ floriday_sticker_id: string | null;
2281
+ floriday_synced_at: string | null;
2282
+ height_mm: number | null;
2243
2283
  id: string;
2244
2284
  mime_type: string | null;
2285
+ source: string;
2245
2286
  trade_item_key: string;
2246
2287
  updated_at: string;
2247
2288
  uploaded_by: string | null;
2289
+ width_mm: number | null;
2248
2290
  };
2249
2291
  Insert: {
2292
+ content_hash?: string | null;
2250
2293
  created_at?: string;
2251
2294
  customer_key: string;
2252
2295
  file_name: string;
2253
2296
  file_path: string;
2254
2297
  file_size?: number | null;
2298
+ floriday_sticker_id?: string | null;
2299
+ floriday_synced_at?: string | null;
2300
+ height_mm?: number | null;
2255
2301
  id?: string;
2256
2302
  mime_type?: string | null;
2303
+ source?: string;
2257
2304
  trade_item_key: string;
2258
2305
  updated_at?: string;
2259
2306
  uploaded_by?: string | null;
2307
+ width_mm?: number | null;
2260
2308
  };
2261
2309
  Update: {
2310
+ content_hash?: string | null;
2262
2311
  created_at?: string;
2263
2312
  customer_key?: string;
2264
2313
  file_name?: string;
2265
2314
  file_path?: string;
2266
2315
  file_size?: number | null;
2316
+ floriday_sticker_id?: string | null;
2317
+ floriday_synced_at?: string | null;
2318
+ height_mm?: number | null;
2267
2319
  id?: string;
2268
2320
  mime_type?: string | null;
2321
+ source?: string;
2269
2322
  trade_item_key?: string;
2270
2323
  updated_at?: string;
2271
2324
  uploaded_by?: string | null;
2325
+ width_mm?: number | null;
2272
2326
  };
2273
2327
  Relationships: [];
2274
2328
  };
@@ -11576,6 +11630,7 @@ export declare const getFloricodeSettings: import("@tanstack/start-client-core")
11576
11630
  Row: {
11577
11631
  actor: string | null;
11578
11632
  attempts: number;
11633
+ calc: import("../integrations/supabase/types.js").Json | null;
11579
11634
  cart_ref: string | null;
11580
11635
  created_at: string;
11581
11636
  db_action: string | null;
@@ -11586,6 +11641,7 @@ export declare const getFloricodeSettings: import("@tanstack/start-client-core")
11586
11641
  decision: string | null;
11587
11642
  duration_ms: number | null;
11588
11643
  error: string | null;
11644
+ error_class: string | null;
11589
11645
  external_action: string | null;
11590
11646
  external_ref: string | null;
11591
11647
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -11594,6 +11650,8 @@ export declare const getFloricodeSettings: import("@tanstack/start-client-core")
11594
11650
  id: string;
11595
11651
  input: import("../integrations/supabase/types.js").Json | null;
11596
11652
  next_attempt_at: string | null;
11653
+ next_step: string | null;
11654
+ node_id: string | null;
11597
11655
  order_ref: string | null;
11598
11656
  order_source: string | null;
11599
11657
  output: import("../integrations/supabase/types.js").Json | null;
@@ -11610,6 +11668,7 @@ export declare const getFloricodeSettings: import("@tanstack/start-client-core")
11610
11668
  Insert: {
11611
11669
  actor?: string | null;
11612
11670
  attempts?: number;
11671
+ calc?: import("../integrations/supabase/types.js").Json | null;
11613
11672
  cart_ref?: string | null;
11614
11673
  created_at?: string;
11615
11674
  db_action?: string | null;
@@ -11620,6 +11679,7 @@ export declare const getFloricodeSettings: import("@tanstack/start-client-core")
11620
11679
  decision?: string | null;
11621
11680
  duration_ms?: number | null;
11622
11681
  error?: string | null;
11682
+ error_class?: string | null;
11623
11683
  external_action?: string | null;
11624
11684
  external_ref?: string | null;
11625
11685
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -11628,6 +11688,8 @@ export declare const getFloricodeSettings: import("@tanstack/start-client-core")
11628
11688
  id?: string;
11629
11689
  input?: import("../integrations/supabase/types.js").Json | null;
11630
11690
  next_attempt_at?: string | null;
11691
+ next_step?: string | null;
11692
+ node_id?: string | null;
11631
11693
  order_ref?: string | null;
11632
11694
  order_source?: string | null;
11633
11695
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -11644,6 +11706,7 @@ export declare const getFloricodeSettings: import("@tanstack/start-client-core")
11644
11706
  Update: {
11645
11707
  actor?: string | null;
11646
11708
  attempts?: number;
11709
+ calc?: import("../integrations/supabase/types.js").Json | null;
11647
11710
  cart_ref?: string | null;
11648
11711
  created_at?: string;
11649
11712
  db_action?: string | null;
@@ -11654,6 +11717,7 @@ export declare const getFloricodeSettings: import("@tanstack/start-client-core")
11654
11717
  decision?: string | null;
11655
11718
  duration_ms?: number | null;
11656
11719
  error?: string | null;
11720
+ error_class?: string | null;
11657
11721
  external_action?: string | null;
11658
11722
  external_ref?: string | null;
11659
11723
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -11662,6 +11726,8 @@ export declare const getFloricodeSettings: import("@tanstack/start-client-core")
11662
11726
  id?: string;
11663
11727
  input?: import("../integrations/supabase/types.js").Json | null;
11664
11728
  next_attempt_at?: string | null;
11729
+ next_step?: string | null;
11730
+ node_id?: string | null;
11665
11731
  order_ref?: string | null;
11666
11732
  order_source?: string | null;
11667
11733
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -25179,6 +25245,24 @@ export declare const getFloricodeSettings: import("@tanstack/start-client-core")
25179
25245
  };
25180
25246
  Returns: number;
25181
25247
  };
25248
+ logistics_trace_order_overview: {
25249
+ Args: {
25250
+ p_error_class?: string;
25251
+ p_limit?: number;
25252
+ p_search?: string;
25253
+ p_since?: string;
25254
+ p_source?: string;
25255
+ p_state?: string;
25256
+ p_step?: string;
25257
+ };
25258
+ Returns: import("../integrations/supabase/types.js").Json;
25259
+ };
25260
+ logistics_trace_order_state: {
25261
+ Args: {
25262
+ p_order_ref: string;
25263
+ };
25264
+ Returns: import("../integrations/supabase/types.js").Json;
25265
+ };
25182
25266
  logistics_trace_orders: {
25183
25267
  Args: {
25184
25268
  p_limit?: number;
@@ -29035,6 +29119,42 @@ export declare const saveFloricodeCredentials: import("@tanstack/start-client-co
29035
29119
  };
29036
29120
  Relationships: [];
29037
29121
  };
29122
+ customer_assortment_items: {
29123
+ Row: {
29124
+ created_at: string;
29125
+ customer_key: string;
29126
+ id: string;
29127
+ in_assortment: boolean;
29128
+ manual_override: boolean;
29129
+ source: string;
29130
+ synced_at: string | null;
29131
+ trade_item_key: string;
29132
+ updated_at: string;
29133
+ };
29134
+ Insert: {
29135
+ created_at?: string;
29136
+ customer_key: string;
29137
+ id?: string;
29138
+ in_assortment?: boolean;
29139
+ manual_override?: boolean;
29140
+ source?: string;
29141
+ synced_at?: string | null;
29142
+ trade_item_key: string;
29143
+ updated_at?: string;
29144
+ };
29145
+ Update: {
29146
+ created_at?: string;
29147
+ customer_key?: string;
29148
+ id?: string;
29149
+ in_assortment?: boolean;
29150
+ manual_override?: boolean;
29151
+ source?: string;
29152
+ synced_at?: string | null;
29153
+ trade_item_key?: string;
29154
+ updated_at?: string;
29155
+ };
29156
+ Relationships: [];
29157
+ };
29038
29158
  customer_audit_log: {
29039
29159
  Row: {
29040
29160
  action: string;
@@ -29439,40 +29559,58 @@ export declare const saveFloricodeCredentials: import("@tanstack/start-client-co
29439
29559
  };
29440
29560
  customer_product_stickers: {
29441
29561
  Row: {
29562
+ content_hash: string | null;
29442
29563
  created_at: string;
29443
29564
  customer_key: string;
29444
29565
  file_name: string;
29445
29566
  file_path: string;
29446
29567
  file_size: number | null;
29568
+ floriday_sticker_id: string | null;
29569
+ floriday_synced_at: string | null;
29570
+ height_mm: number | null;
29447
29571
  id: string;
29448
29572
  mime_type: string | null;
29573
+ source: string;
29449
29574
  trade_item_key: string;
29450
29575
  updated_at: string;
29451
29576
  uploaded_by: string | null;
29577
+ width_mm: number | null;
29452
29578
  };
29453
29579
  Insert: {
29580
+ content_hash?: string | null;
29454
29581
  created_at?: string;
29455
29582
  customer_key: string;
29456
29583
  file_name: string;
29457
29584
  file_path: string;
29458
29585
  file_size?: number | null;
29586
+ floriday_sticker_id?: string | null;
29587
+ floriday_synced_at?: string | null;
29588
+ height_mm?: number | null;
29459
29589
  id?: string;
29460
29590
  mime_type?: string | null;
29591
+ source?: string;
29461
29592
  trade_item_key: string;
29462
29593
  updated_at?: string;
29463
29594
  uploaded_by?: string | null;
29595
+ width_mm?: number | null;
29464
29596
  };
29465
29597
  Update: {
29598
+ content_hash?: string | null;
29466
29599
  created_at?: string;
29467
29600
  customer_key?: string;
29468
29601
  file_name?: string;
29469
29602
  file_path?: string;
29470
29603
  file_size?: number | null;
29604
+ floriday_sticker_id?: string | null;
29605
+ floriday_synced_at?: string | null;
29606
+ height_mm?: number | null;
29471
29607
  id?: string;
29472
29608
  mime_type?: string | null;
29609
+ source?: string;
29473
29610
  trade_item_key?: string;
29474
29611
  updated_at?: string;
29475
29612
  uploaded_by?: string | null;
29613
+ width_mm?: number | null;
29476
29614
  };
29477
29615
  Relationships: [];
29478
29616
  };
@@ -38780,6 +38918,7 @@ export declare const saveFloricodeCredentials: import("@tanstack/start-client-co
38780
38918
  Row: {
38781
38919
  actor: string | null;
38782
38920
  attempts: number;
38921
+ calc: import("../integrations/supabase/types.js").Json | null;
38783
38922
  cart_ref: string | null;
38784
38923
  created_at: string;
38785
38924
  db_action: string | null;
@@ -38790,6 +38929,7 @@ export declare const saveFloricodeCredentials: import("@tanstack/start-client-co
38790
38929
  decision: string | null;
38791
38930
  duration_ms: number | null;
38792
38931
  error: string | null;
38932
+ error_class: string | null;
38793
38933
  external_action: string | null;
38794
38934
  external_ref: string | null;
38795
38935
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -38798,6 +38938,8 @@ export declare const saveFloricodeCredentials: import("@tanstack/start-client-co
38798
38938
  id: string;
38799
38939
  input: import("../integrations/supabase/types.js").Json | null;
38800
38940
  next_attempt_at: string | null;
38941
+ next_step: string | null;
38942
+ node_id: string | null;
38801
38943
  order_ref: string | null;
38802
38944
  order_source: string | null;
38803
38945
  output: import("../integrations/supabase/types.js").Json | null;
@@ -38814,6 +38956,7 @@ export declare const saveFloricodeCredentials: import("@tanstack/start-client-co
38814
38956
  Insert: {
38815
38957
  actor?: string | null;
38816
38958
  attempts?: number;
38959
+ calc?: import("../integrations/supabase/types.js").Json | null;
38817
38960
  cart_ref?: string | null;
38818
38961
  created_at?: string;
38819
38962
  db_action?: string | null;
@@ -38824,6 +38967,7 @@ export declare const saveFloricodeCredentials: import("@tanstack/start-client-co
38824
38967
  decision?: string | null;
38825
38968
  duration_ms?: number | null;
38826
38969
  error?: string | null;
38970
+ error_class?: string | null;
38827
38971
  external_action?: string | null;
38828
38972
  external_ref?: string | null;
38829
38973
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -38832,6 +38976,8 @@ export declare const saveFloricodeCredentials: import("@tanstack/start-client-co
38832
38976
  id?: string;
38833
38977
  input?: import("../integrations/supabase/types.js").Json | null;
38834
38978
  next_attempt_at?: string | null;
38979
+ next_step?: string | null;
38980
+ node_id?: string | null;
38835
38981
  order_ref?: string | null;
38836
38982
  order_source?: string | null;
38837
38983
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -38848,6 +38994,7 @@ export declare const saveFloricodeCredentials: import("@tanstack/start-client-co
38848
38994
  Update: {
38849
38995
  actor?: string | null;
38850
38996
  attempts?: number;
38997
+ calc?: import("../integrations/supabase/types.js").Json | null;
38851
38998
  cart_ref?: string | null;
38852
38999
  created_at?: string;
38853
39000
  db_action?: string | null;
@@ -38858,6 +39005,7 @@ export declare const saveFloricodeCredentials: import("@tanstack/start-client-co
38858
39005
  decision?: string | null;
38859
39006
  duration_ms?: number | null;
38860
39007
  error?: string | null;
39008
+ error_class?: string | null;
38861
39009
  external_action?: string | null;
38862
39010
  external_ref?: string | null;
38863
39011
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -38866,6 +39014,8 @@ export declare const saveFloricodeCredentials: import("@tanstack/start-client-co
38866
39014
  id?: string;
38867
39015
  input?: import("../integrations/supabase/types.js").Json | null;
38868
39016
  next_attempt_at?: string | null;
39017
+ next_step?: string | null;
39018
+ node_id?: string | null;
38869
39019
  order_ref?: string | null;
38870
39020
  order_source?: string | null;
38871
39021
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -52383,6 +52533,24 @@ export declare const saveFloricodeCredentials: import("@tanstack/start-client-co
52383
52533
  };
52384
52534
  Returns: number;
52385
52535
  };
52536
+ logistics_trace_order_overview: {
52537
+ Args: {
52538
+ p_error_class?: string;
52539
+ p_limit?: number;
52540
+ p_search?: string;
52541
+ p_since?: string;
52542
+ p_source?: string;
52543
+ p_state?: string;
52544
+ p_step?: string;
52545
+ };
52546
+ Returns: import("../integrations/supabase/types.js").Json;
52547
+ };
52548
+ logistics_trace_order_state: {
52549
+ Args: {
52550
+ p_order_ref: string;
52551
+ };
52552
+ Returns: import("../integrations/supabase/types.js").Json;
52553
+ };
52386
52554
  logistics_trace_orders: {
52387
52555
  Args: {
52388
52556
  p_limit?: number;
@@ -56244,6 +56412,42 @@ export declare const clearFloricodeCredentials: import("@tanstack/start-client-c
56244
56412
  };
56245
56413
  Relationships: [];
56246
56414
  };
56415
+ customer_assortment_items: {
56416
+ Row: {
56417
+ created_at: string;
56418
+ customer_key: string;
56419
+ id: string;
56420
+ in_assortment: boolean;
56421
+ manual_override: boolean;
56422
+ source: string;
56423
+ synced_at: string | null;
56424
+ trade_item_key: string;
56425
+ updated_at: string;
56426
+ };
56427
+ Insert: {
56428
+ created_at?: string;
56429
+ customer_key: string;
56430
+ id?: string;
56431
+ in_assortment?: boolean;
56432
+ manual_override?: boolean;
56433
+ source?: string;
56434
+ synced_at?: string | null;
56435
+ trade_item_key: string;
56436
+ updated_at?: string;
56437
+ };
56438
+ Update: {
56439
+ created_at?: string;
56440
+ customer_key?: string;
56441
+ id?: string;
56442
+ in_assortment?: boolean;
56443
+ manual_override?: boolean;
56444
+ source?: string;
56445
+ synced_at?: string | null;
56446
+ trade_item_key?: string;
56447
+ updated_at?: string;
56448
+ };
56449
+ Relationships: [];
56450
+ };
56247
56451
  customer_audit_log: {
56248
56452
  Row: {
56249
56453
  action: string;
@@ -56648,40 +56852,58 @@ export declare const clearFloricodeCredentials: import("@tanstack/start-client-c
56648
56852
  };
56649
56853
  customer_product_stickers: {
56650
56854
  Row: {
56855
+ content_hash: string | null;
56651
56856
  created_at: string;
56652
56857
  customer_key: string;
56653
56858
  file_name: string;
56654
56859
  file_path: string;
56655
56860
  file_size: number | null;
56861
+ floriday_sticker_id: string | null;
56862
+ floriday_synced_at: string | null;
56863
+ height_mm: number | null;
56656
56864
  id: string;
56657
56865
  mime_type: string | null;
56866
+ source: string;
56658
56867
  trade_item_key: string;
56659
56868
  updated_at: string;
56660
56869
  uploaded_by: string | null;
56870
+ width_mm: number | null;
56661
56871
  };
56662
56872
  Insert: {
56873
+ content_hash?: string | null;
56663
56874
  created_at?: string;
56664
56875
  customer_key: string;
56665
56876
  file_name: string;
56666
56877
  file_path: string;
56667
56878
  file_size?: number | null;
56879
+ floriday_sticker_id?: string | null;
56880
+ floriday_synced_at?: string | null;
56881
+ height_mm?: number | null;
56668
56882
  id?: string;
56669
56883
  mime_type?: string | null;
56884
+ source?: string;
56670
56885
  trade_item_key: string;
56671
56886
  updated_at?: string;
56672
56887
  uploaded_by?: string | null;
56888
+ width_mm?: number | null;
56673
56889
  };
56674
56890
  Update: {
56891
+ content_hash?: string | null;
56675
56892
  created_at?: string;
56676
56893
  customer_key?: string;
56677
56894
  file_name?: string;
56678
56895
  file_path?: string;
56679
56896
  file_size?: number | null;
56897
+ floriday_sticker_id?: string | null;
56898
+ floriday_synced_at?: string | null;
56899
+ height_mm?: number | null;
56680
56900
  id?: string;
56681
56901
  mime_type?: string | null;
56902
+ source?: string;
56682
56903
  trade_item_key?: string;
56683
56904
  updated_at?: string;
56684
56905
  uploaded_by?: string | null;
56906
+ width_mm?: number | null;
56685
56907
  };
56686
56908
  Relationships: [];
56687
56909
  };
@@ -65989,6 +66211,7 @@ export declare const clearFloricodeCredentials: import("@tanstack/start-client-c
65989
66211
  Row: {
65990
66212
  actor: string | null;
65991
66213
  attempts: number;
66214
+ calc: import("../integrations/supabase/types.js").Json | null;
65992
66215
  cart_ref: string | null;
65993
66216
  created_at: string;
65994
66217
  db_action: string | null;
@@ -65999,6 +66222,7 @@ export declare const clearFloricodeCredentials: import("@tanstack/start-client-c
65999
66222
  decision: string | null;
66000
66223
  duration_ms: number | null;
66001
66224
  error: string | null;
66225
+ error_class: string | null;
66002
66226
  external_action: string | null;
66003
66227
  external_ref: string | null;
66004
66228
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -66007,6 +66231,8 @@ export declare const clearFloricodeCredentials: import("@tanstack/start-client-c
66007
66231
  id: string;
66008
66232
  input: import("../integrations/supabase/types.js").Json | null;
66009
66233
  next_attempt_at: string | null;
66234
+ next_step: string | null;
66235
+ node_id: string | null;
66010
66236
  order_ref: string | null;
66011
66237
  order_source: string | null;
66012
66238
  output: import("../integrations/supabase/types.js").Json | null;
@@ -66023,6 +66249,7 @@ export declare const clearFloricodeCredentials: import("@tanstack/start-client-c
66023
66249
  Insert: {
66024
66250
  actor?: string | null;
66025
66251
  attempts?: number;
66252
+ calc?: import("../integrations/supabase/types.js").Json | null;
66026
66253
  cart_ref?: string | null;
66027
66254
  created_at?: string;
66028
66255
  db_action?: string | null;
@@ -66033,6 +66260,7 @@ export declare const clearFloricodeCredentials: import("@tanstack/start-client-c
66033
66260
  decision?: string | null;
66034
66261
  duration_ms?: number | null;
66035
66262
  error?: string | null;
66263
+ error_class?: string | null;
66036
66264
  external_action?: string | null;
66037
66265
  external_ref?: string | null;
66038
66266
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -66041,6 +66269,8 @@ export declare const clearFloricodeCredentials: import("@tanstack/start-client-c
66041
66269
  id?: string;
66042
66270
  input?: import("../integrations/supabase/types.js").Json | null;
66043
66271
  next_attempt_at?: string | null;
66272
+ next_step?: string | null;
66273
+ node_id?: string | null;
66044
66274
  order_ref?: string | null;
66045
66275
  order_source?: string | null;
66046
66276
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -66057,6 +66287,7 @@ export declare const clearFloricodeCredentials: import("@tanstack/start-client-c
66057
66287
  Update: {
66058
66288
  actor?: string | null;
66059
66289
  attempts?: number;
66290
+ calc?: import("../integrations/supabase/types.js").Json | null;
66060
66291
  cart_ref?: string | null;
66061
66292
  created_at?: string;
66062
66293
  db_action?: string | null;
@@ -66067,6 +66298,7 @@ export declare const clearFloricodeCredentials: import("@tanstack/start-client-c
66067
66298
  decision?: string | null;
66068
66299
  duration_ms?: number | null;
66069
66300
  error?: string | null;
66301
+ error_class?: string | null;
66070
66302
  external_action?: string | null;
66071
66303
  external_ref?: string | null;
66072
66304
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -66075,6 +66307,8 @@ export declare const clearFloricodeCredentials: import("@tanstack/start-client-c
66075
66307
  id?: string;
66076
66308
  input?: import("../integrations/supabase/types.js").Json | null;
66077
66309
  next_attempt_at?: string | null;
66310
+ next_step?: string | null;
66311
+ node_id?: string | null;
66078
66312
  order_ref?: string | null;
66079
66313
  order_source?: string | null;
66080
66314
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -79592,6 +79826,24 @@ export declare const clearFloricodeCredentials: import("@tanstack/start-client-c
79592
79826
  };
79593
79827
  Returns: number;
79594
79828
  };
79829
+ logistics_trace_order_overview: {
79830
+ Args: {
79831
+ p_error_class?: string;
79832
+ p_limit?: number;
79833
+ p_search?: string;
79834
+ p_since?: string;
79835
+ p_source?: string;
79836
+ p_state?: string;
79837
+ p_step?: string;
79838
+ };
79839
+ Returns: import("../integrations/supabase/types.js").Json;
79840
+ };
79841
+ logistics_trace_order_state: {
79842
+ Args: {
79843
+ p_order_ref: string;
79844
+ };
79845
+ Returns: import("../integrations/supabase/types.js").Json;
79846
+ };
79595
79847
  logistics_trace_orders: {
79596
79848
  Args: {
79597
79849
  p_limit?: number;
@@ -83450,6 +83702,42 @@ export declare const testFloricodeConnection: import("@tanstack/start-client-cor
83450
83702
  };
83451
83703
  Relationships: [];
83452
83704
  };
83705
+ customer_assortment_items: {
83706
+ Row: {
83707
+ created_at: string;
83708
+ customer_key: string;
83709
+ id: string;
83710
+ in_assortment: boolean;
83711
+ manual_override: boolean;
83712
+ source: string;
83713
+ synced_at: string | null;
83714
+ trade_item_key: string;
83715
+ updated_at: string;
83716
+ };
83717
+ Insert: {
83718
+ created_at?: string;
83719
+ customer_key: string;
83720
+ id?: string;
83721
+ in_assortment?: boolean;
83722
+ manual_override?: boolean;
83723
+ source?: string;
83724
+ synced_at?: string | null;
83725
+ trade_item_key: string;
83726
+ updated_at?: string;
83727
+ };
83728
+ Update: {
83729
+ created_at?: string;
83730
+ customer_key?: string;
83731
+ id?: string;
83732
+ in_assortment?: boolean;
83733
+ manual_override?: boolean;
83734
+ source?: string;
83735
+ synced_at?: string | null;
83736
+ trade_item_key?: string;
83737
+ updated_at?: string;
83738
+ };
83739
+ Relationships: [];
83740
+ };
83453
83741
  customer_audit_log: {
83454
83742
  Row: {
83455
83743
  action: string;
@@ -83854,40 +84142,58 @@ export declare const testFloricodeConnection: import("@tanstack/start-client-cor
83854
84142
  };
83855
84143
  customer_product_stickers: {
83856
84144
  Row: {
84145
+ content_hash: string | null;
83857
84146
  created_at: string;
83858
84147
  customer_key: string;
83859
84148
  file_name: string;
83860
84149
  file_path: string;
83861
84150
  file_size: number | null;
84151
+ floriday_sticker_id: string | null;
84152
+ floriday_synced_at: string | null;
84153
+ height_mm: number | null;
83862
84154
  id: string;
83863
84155
  mime_type: string | null;
84156
+ source: string;
83864
84157
  trade_item_key: string;
83865
84158
  updated_at: string;
83866
84159
  uploaded_by: string | null;
84160
+ width_mm: number | null;
83867
84161
  };
83868
84162
  Insert: {
84163
+ content_hash?: string | null;
83869
84164
  created_at?: string;
83870
84165
  customer_key: string;
83871
84166
  file_name: string;
83872
84167
  file_path: string;
83873
84168
  file_size?: number | null;
84169
+ floriday_sticker_id?: string | null;
84170
+ floriday_synced_at?: string | null;
84171
+ height_mm?: number | null;
83874
84172
  id?: string;
83875
84173
  mime_type?: string | null;
84174
+ source?: string;
83876
84175
  trade_item_key: string;
83877
84176
  updated_at?: string;
83878
84177
  uploaded_by?: string | null;
84178
+ width_mm?: number | null;
83879
84179
  };
83880
84180
  Update: {
84181
+ content_hash?: string | null;
83881
84182
  created_at?: string;
83882
84183
  customer_key?: string;
83883
84184
  file_name?: string;
83884
84185
  file_path?: string;
83885
84186
  file_size?: number | null;
84187
+ floriday_sticker_id?: string | null;
84188
+ floriday_synced_at?: string | null;
84189
+ height_mm?: number | null;
83886
84190
  id?: string;
83887
84191
  mime_type?: string | null;
84192
+ source?: string;
83888
84193
  trade_item_key?: string;
83889
84194
  updated_at?: string;
83890
84195
  uploaded_by?: string | null;
84196
+ width_mm?: number | null;
83891
84197
  };
83892
84198
  Relationships: [];
83893
84199
  };
@@ -93195,6 +93501,7 @@ export declare const testFloricodeConnection: import("@tanstack/start-client-cor
93195
93501
  Row: {
93196
93502
  actor: string | null;
93197
93503
  attempts: number;
93504
+ calc: import("../integrations/supabase/types.js").Json | null;
93198
93505
  cart_ref: string | null;
93199
93506
  created_at: string;
93200
93507
  db_action: string | null;
@@ -93205,6 +93512,7 @@ export declare const testFloricodeConnection: import("@tanstack/start-client-cor
93205
93512
  decision: string | null;
93206
93513
  duration_ms: number | null;
93207
93514
  error: string | null;
93515
+ error_class: string | null;
93208
93516
  external_action: string | null;
93209
93517
  external_ref: string | null;
93210
93518
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -93213,6 +93521,8 @@ export declare const testFloricodeConnection: import("@tanstack/start-client-cor
93213
93521
  id: string;
93214
93522
  input: import("../integrations/supabase/types.js").Json | null;
93215
93523
  next_attempt_at: string | null;
93524
+ next_step: string | null;
93525
+ node_id: string | null;
93216
93526
  order_ref: string | null;
93217
93527
  order_source: string | null;
93218
93528
  output: import("../integrations/supabase/types.js").Json | null;
@@ -93229,6 +93539,7 @@ export declare const testFloricodeConnection: import("@tanstack/start-client-cor
93229
93539
  Insert: {
93230
93540
  actor?: string | null;
93231
93541
  attempts?: number;
93542
+ calc?: import("../integrations/supabase/types.js").Json | null;
93232
93543
  cart_ref?: string | null;
93233
93544
  created_at?: string;
93234
93545
  db_action?: string | null;
@@ -93239,6 +93550,7 @@ export declare const testFloricodeConnection: import("@tanstack/start-client-cor
93239
93550
  decision?: string | null;
93240
93551
  duration_ms?: number | null;
93241
93552
  error?: string | null;
93553
+ error_class?: string | null;
93242
93554
  external_action?: string | null;
93243
93555
  external_ref?: string | null;
93244
93556
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -93247,6 +93559,8 @@ export declare const testFloricodeConnection: import("@tanstack/start-client-cor
93247
93559
  id?: string;
93248
93560
  input?: import("../integrations/supabase/types.js").Json | null;
93249
93561
  next_attempt_at?: string | null;
93562
+ next_step?: string | null;
93563
+ node_id?: string | null;
93250
93564
  order_ref?: string | null;
93251
93565
  order_source?: string | null;
93252
93566
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -93263,6 +93577,7 @@ export declare const testFloricodeConnection: import("@tanstack/start-client-cor
93263
93577
  Update: {
93264
93578
  actor?: string | null;
93265
93579
  attempts?: number;
93580
+ calc?: import("../integrations/supabase/types.js").Json | null;
93266
93581
  cart_ref?: string | null;
93267
93582
  created_at?: string;
93268
93583
  db_action?: string | null;
@@ -93273,6 +93588,7 @@ export declare const testFloricodeConnection: import("@tanstack/start-client-cor
93273
93588
  decision?: string | null;
93274
93589
  duration_ms?: number | null;
93275
93590
  error?: string | null;
93591
+ error_class?: string | null;
93276
93592
  external_action?: string | null;
93277
93593
  external_ref?: string | null;
93278
93594
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -93281,6 +93597,8 @@ export declare const testFloricodeConnection: import("@tanstack/start-client-cor
93281
93597
  id?: string;
93282
93598
  input?: import("../integrations/supabase/types.js").Json | null;
93283
93599
  next_attempt_at?: string | null;
93600
+ next_step?: string | null;
93601
+ node_id?: string | null;
93284
93602
  order_ref?: string | null;
93285
93603
  order_source?: string | null;
93286
93604
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -106798,6 +107116,24 @@ export declare const testFloricodeConnection: import("@tanstack/start-client-cor
106798
107116
  };
106799
107117
  Returns: number;
106800
107118
  };
107119
+ logistics_trace_order_overview: {
107120
+ Args: {
107121
+ p_error_class?: string;
107122
+ p_limit?: number;
107123
+ p_search?: string;
107124
+ p_since?: string;
107125
+ p_source?: string;
107126
+ p_state?: string;
107127
+ p_step?: string;
107128
+ };
107129
+ Returns: import("../integrations/supabase/types.js").Json;
107130
+ };
107131
+ logistics_trace_order_state: {
107132
+ Args: {
107133
+ p_order_ref: string;
107134
+ };
107135
+ Returns: import("../integrations/supabase/types.js").Json;
107136
+ };
106801
107137
  logistics_trace_orders: {
106802
107138
  Args: {
106803
107139
  p_limit?: number;
@@ -110667,6 +111003,42 @@ export declare const getFloricodeSyncStatus: import("@tanstack/start-client-core
110667
111003
  };
110668
111004
  Relationships: [];
110669
111005
  };
111006
+ customer_assortment_items: {
111007
+ Row: {
111008
+ created_at: string;
111009
+ customer_key: string;
111010
+ id: string;
111011
+ in_assortment: boolean;
111012
+ manual_override: boolean;
111013
+ source: string;
111014
+ synced_at: string | null;
111015
+ trade_item_key: string;
111016
+ updated_at: string;
111017
+ };
111018
+ Insert: {
111019
+ created_at?: string;
111020
+ customer_key: string;
111021
+ id?: string;
111022
+ in_assortment?: boolean;
111023
+ manual_override?: boolean;
111024
+ source?: string;
111025
+ synced_at?: string | null;
111026
+ trade_item_key: string;
111027
+ updated_at?: string;
111028
+ };
111029
+ Update: {
111030
+ created_at?: string;
111031
+ customer_key?: string;
111032
+ id?: string;
111033
+ in_assortment?: boolean;
111034
+ manual_override?: boolean;
111035
+ source?: string;
111036
+ synced_at?: string | null;
111037
+ trade_item_key?: string;
111038
+ updated_at?: string;
111039
+ };
111040
+ Relationships: [];
111041
+ };
110670
111042
  customer_audit_log: {
110671
111043
  Row: {
110672
111044
  action: string;
@@ -111071,40 +111443,58 @@ export declare const getFloricodeSyncStatus: import("@tanstack/start-client-core
111071
111443
  };
111072
111444
  customer_product_stickers: {
111073
111445
  Row: {
111446
+ content_hash: string | null;
111074
111447
  created_at: string;
111075
111448
  customer_key: string;
111076
111449
  file_name: string;
111077
111450
  file_path: string;
111078
111451
  file_size: number | null;
111452
+ floriday_sticker_id: string | null;
111453
+ floriday_synced_at: string | null;
111454
+ height_mm: number | null;
111079
111455
  id: string;
111080
111456
  mime_type: string | null;
111457
+ source: string;
111081
111458
  trade_item_key: string;
111082
111459
  updated_at: string;
111083
111460
  uploaded_by: string | null;
111461
+ width_mm: number | null;
111084
111462
  };
111085
111463
  Insert: {
111464
+ content_hash?: string | null;
111086
111465
  created_at?: string;
111087
111466
  customer_key: string;
111088
111467
  file_name: string;
111089
111468
  file_path: string;
111090
111469
  file_size?: number | null;
111470
+ floriday_sticker_id?: string | null;
111471
+ floriday_synced_at?: string | null;
111472
+ height_mm?: number | null;
111091
111473
  id?: string;
111092
111474
  mime_type?: string | null;
111475
+ source?: string;
111093
111476
  trade_item_key: string;
111094
111477
  updated_at?: string;
111095
111478
  uploaded_by?: string | null;
111479
+ width_mm?: number | null;
111096
111480
  };
111097
111481
  Update: {
111482
+ content_hash?: string | null;
111098
111483
  created_at?: string;
111099
111484
  customer_key?: string;
111100
111485
  file_name?: string;
111101
111486
  file_path?: string;
111102
111487
  file_size?: number | null;
111488
+ floriday_sticker_id?: string | null;
111489
+ floriday_synced_at?: string | null;
111490
+ height_mm?: number | null;
111103
111491
  id?: string;
111104
111492
  mime_type?: string | null;
111493
+ source?: string;
111105
111494
  trade_item_key?: string;
111106
111495
  updated_at?: string;
111107
111496
  uploaded_by?: string | null;
111497
+ width_mm?: number | null;
111108
111498
  };
111109
111499
  Relationships: [];
111110
111500
  };
@@ -120412,6 +120802,7 @@ export declare const getFloricodeSyncStatus: import("@tanstack/start-client-core
120412
120802
  Row: {
120413
120803
  actor: string | null;
120414
120804
  attempts: number;
120805
+ calc: import("../integrations/supabase/types.js").Json | null;
120415
120806
  cart_ref: string | null;
120416
120807
  created_at: string;
120417
120808
  db_action: string | null;
@@ -120422,6 +120813,7 @@ export declare const getFloricodeSyncStatus: import("@tanstack/start-client-core
120422
120813
  decision: string | null;
120423
120814
  duration_ms: number | null;
120424
120815
  error: string | null;
120816
+ error_class: string | null;
120425
120817
  external_action: string | null;
120426
120818
  external_ref: string | null;
120427
120819
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -120430,6 +120822,8 @@ export declare const getFloricodeSyncStatus: import("@tanstack/start-client-core
120430
120822
  id: string;
120431
120823
  input: import("../integrations/supabase/types.js").Json | null;
120432
120824
  next_attempt_at: string | null;
120825
+ next_step: string | null;
120826
+ node_id: string | null;
120433
120827
  order_ref: string | null;
120434
120828
  order_source: string | null;
120435
120829
  output: import("../integrations/supabase/types.js").Json | null;
@@ -120446,6 +120840,7 @@ export declare const getFloricodeSyncStatus: import("@tanstack/start-client-core
120446
120840
  Insert: {
120447
120841
  actor?: string | null;
120448
120842
  attempts?: number;
120843
+ calc?: import("../integrations/supabase/types.js").Json | null;
120449
120844
  cart_ref?: string | null;
120450
120845
  created_at?: string;
120451
120846
  db_action?: string | null;
@@ -120456,6 +120851,7 @@ export declare const getFloricodeSyncStatus: import("@tanstack/start-client-core
120456
120851
  decision?: string | null;
120457
120852
  duration_ms?: number | null;
120458
120853
  error?: string | null;
120854
+ error_class?: string | null;
120459
120855
  external_action?: string | null;
120460
120856
  external_ref?: string | null;
120461
120857
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -120464,6 +120860,8 @@ export declare const getFloricodeSyncStatus: import("@tanstack/start-client-core
120464
120860
  id?: string;
120465
120861
  input?: import("../integrations/supabase/types.js").Json | null;
120466
120862
  next_attempt_at?: string | null;
120863
+ next_step?: string | null;
120864
+ node_id?: string | null;
120467
120865
  order_ref?: string | null;
120468
120866
  order_source?: string | null;
120469
120867
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -120480,6 +120878,7 @@ export declare const getFloricodeSyncStatus: import("@tanstack/start-client-core
120480
120878
  Update: {
120481
120879
  actor?: string | null;
120482
120880
  attempts?: number;
120881
+ calc?: import("../integrations/supabase/types.js").Json | null;
120483
120882
  cart_ref?: string | null;
120484
120883
  created_at?: string;
120485
120884
  db_action?: string | null;
@@ -120490,6 +120889,7 @@ export declare const getFloricodeSyncStatus: import("@tanstack/start-client-core
120490
120889
  decision?: string | null;
120491
120890
  duration_ms?: number | null;
120492
120891
  error?: string | null;
120892
+ error_class?: string | null;
120493
120893
  external_action?: string | null;
120494
120894
  external_ref?: string | null;
120495
120895
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -120498,6 +120898,8 @@ export declare const getFloricodeSyncStatus: import("@tanstack/start-client-core
120498
120898
  id?: string;
120499
120899
  input?: import("../integrations/supabase/types.js").Json | null;
120500
120900
  next_attempt_at?: string | null;
120901
+ next_step?: string | null;
120902
+ node_id?: string | null;
120501
120903
  order_ref?: string | null;
120502
120904
  order_source?: string | null;
120503
120905
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -134015,6 +134417,24 @@ export declare const getFloricodeSyncStatus: import("@tanstack/start-client-core
134015
134417
  };
134016
134418
  Returns: number;
134017
134419
  };
134420
+ logistics_trace_order_overview: {
134421
+ Args: {
134422
+ p_error_class?: string;
134423
+ p_limit?: number;
134424
+ p_search?: string;
134425
+ p_since?: string;
134426
+ p_source?: string;
134427
+ p_state?: string;
134428
+ p_step?: string;
134429
+ };
134430
+ Returns: import("../integrations/supabase/types.js").Json;
134431
+ };
134432
+ logistics_trace_order_state: {
134433
+ Args: {
134434
+ p_order_ref: string;
134435
+ };
134436
+ Returns: import("../integrations/supabase/types.js").Json;
134437
+ };
134018
134438
  logistics_trace_orders: {
134019
134439
  Args: {
134020
134440
  p_limit?: number;
@@ -137871,6 +138291,42 @@ export declare const triggerFloricodeResourceSync: import("@tanstack/start-clien
137871
138291
  };
137872
138292
  Relationships: [];
137873
138293
  };
138294
+ customer_assortment_items: {
138295
+ Row: {
138296
+ created_at: string;
138297
+ customer_key: string;
138298
+ id: string;
138299
+ in_assortment: boolean;
138300
+ manual_override: boolean;
138301
+ source: string;
138302
+ synced_at: string | null;
138303
+ trade_item_key: string;
138304
+ updated_at: string;
138305
+ };
138306
+ Insert: {
138307
+ created_at?: string;
138308
+ customer_key: string;
138309
+ id?: string;
138310
+ in_assortment?: boolean;
138311
+ manual_override?: boolean;
138312
+ source?: string;
138313
+ synced_at?: string | null;
138314
+ trade_item_key: string;
138315
+ updated_at?: string;
138316
+ };
138317
+ Update: {
138318
+ created_at?: string;
138319
+ customer_key?: string;
138320
+ id?: string;
138321
+ in_assortment?: boolean;
138322
+ manual_override?: boolean;
138323
+ source?: string;
138324
+ synced_at?: string | null;
138325
+ trade_item_key?: string;
138326
+ updated_at?: string;
138327
+ };
138328
+ Relationships: [];
138329
+ };
137874
138330
  customer_audit_log: {
137875
138331
  Row: {
137876
138332
  action: string;
@@ -138275,40 +138731,58 @@ export declare const triggerFloricodeResourceSync: import("@tanstack/start-clien
138275
138731
  };
138276
138732
  customer_product_stickers: {
138277
138733
  Row: {
138734
+ content_hash: string | null;
138278
138735
  created_at: string;
138279
138736
  customer_key: string;
138280
138737
  file_name: string;
138281
138738
  file_path: string;
138282
138739
  file_size: number | null;
138740
+ floriday_sticker_id: string | null;
138741
+ floriday_synced_at: string | null;
138742
+ height_mm: number | null;
138283
138743
  id: string;
138284
138744
  mime_type: string | null;
138745
+ source: string;
138285
138746
  trade_item_key: string;
138286
138747
  updated_at: string;
138287
138748
  uploaded_by: string | null;
138749
+ width_mm: number | null;
138288
138750
  };
138289
138751
  Insert: {
138752
+ content_hash?: string | null;
138290
138753
  created_at?: string;
138291
138754
  customer_key: string;
138292
138755
  file_name: string;
138293
138756
  file_path: string;
138294
138757
  file_size?: number | null;
138758
+ floriday_sticker_id?: string | null;
138759
+ floriday_synced_at?: string | null;
138760
+ height_mm?: number | null;
138295
138761
  id?: string;
138296
138762
  mime_type?: string | null;
138763
+ source?: string;
138297
138764
  trade_item_key: string;
138298
138765
  updated_at?: string;
138299
138766
  uploaded_by?: string | null;
138767
+ width_mm?: number | null;
138300
138768
  };
138301
138769
  Update: {
138770
+ content_hash?: string | null;
138302
138771
  created_at?: string;
138303
138772
  customer_key?: string;
138304
138773
  file_name?: string;
138305
138774
  file_path?: string;
138306
138775
  file_size?: number | null;
138776
+ floriday_sticker_id?: string | null;
138777
+ floriday_synced_at?: string | null;
138778
+ height_mm?: number | null;
138307
138779
  id?: string;
138308
138780
  mime_type?: string | null;
138781
+ source?: string;
138309
138782
  trade_item_key?: string;
138310
138783
  updated_at?: string;
138311
138784
  uploaded_by?: string | null;
138785
+ width_mm?: number | null;
138312
138786
  };
138313
138787
  Relationships: [];
138314
138788
  };
@@ -147616,6 +148090,7 @@ export declare const triggerFloricodeResourceSync: import("@tanstack/start-clien
147616
148090
  Row: {
147617
148091
  actor: string | null;
147618
148092
  attempts: number;
148093
+ calc: import("../integrations/supabase/types.js").Json | null;
147619
148094
  cart_ref: string | null;
147620
148095
  created_at: string;
147621
148096
  db_action: string | null;
@@ -147626,6 +148101,7 @@ export declare const triggerFloricodeResourceSync: import("@tanstack/start-clien
147626
148101
  decision: string | null;
147627
148102
  duration_ms: number | null;
147628
148103
  error: string | null;
148104
+ error_class: string | null;
147629
148105
  external_action: string | null;
147630
148106
  external_ref: string | null;
147631
148107
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -147634,6 +148110,8 @@ export declare const triggerFloricodeResourceSync: import("@tanstack/start-clien
147634
148110
  id: string;
147635
148111
  input: import("../integrations/supabase/types.js").Json | null;
147636
148112
  next_attempt_at: string | null;
148113
+ next_step: string | null;
148114
+ node_id: string | null;
147637
148115
  order_ref: string | null;
147638
148116
  order_source: string | null;
147639
148117
  output: import("../integrations/supabase/types.js").Json | null;
@@ -147650,6 +148128,7 @@ export declare const triggerFloricodeResourceSync: import("@tanstack/start-clien
147650
148128
  Insert: {
147651
148129
  actor?: string | null;
147652
148130
  attempts?: number;
148131
+ calc?: import("../integrations/supabase/types.js").Json | null;
147653
148132
  cart_ref?: string | null;
147654
148133
  created_at?: string;
147655
148134
  db_action?: string | null;
@@ -147660,6 +148139,7 @@ export declare const triggerFloricodeResourceSync: import("@tanstack/start-clien
147660
148139
  decision?: string | null;
147661
148140
  duration_ms?: number | null;
147662
148141
  error?: string | null;
148142
+ error_class?: string | null;
147663
148143
  external_action?: string | null;
147664
148144
  external_ref?: string | null;
147665
148145
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -147668,6 +148148,8 @@ export declare const triggerFloricodeResourceSync: import("@tanstack/start-clien
147668
148148
  id?: string;
147669
148149
  input?: import("../integrations/supabase/types.js").Json | null;
147670
148150
  next_attempt_at?: string | null;
148151
+ next_step?: string | null;
148152
+ node_id?: string | null;
147671
148153
  order_ref?: string | null;
147672
148154
  order_source?: string | null;
147673
148155
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -147684,6 +148166,7 @@ export declare const triggerFloricodeResourceSync: import("@tanstack/start-clien
147684
148166
  Update: {
147685
148167
  actor?: string | null;
147686
148168
  attempts?: number;
148169
+ calc?: import("../integrations/supabase/types.js").Json | null;
147687
148170
  cart_ref?: string | null;
147688
148171
  created_at?: string;
147689
148172
  db_action?: string | null;
@@ -147694,6 +148177,7 @@ export declare const triggerFloricodeResourceSync: import("@tanstack/start-clien
147694
148177
  decision?: string | null;
147695
148178
  duration_ms?: number | null;
147696
148179
  error?: string | null;
148180
+ error_class?: string | null;
147697
148181
  external_action?: string | null;
147698
148182
  external_ref?: string | null;
147699
148183
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -147702,6 +148186,8 @@ export declare const triggerFloricodeResourceSync: import("@tanstack/start-clien
147702
148186
  id?: string;
147703
148187
  input?: import("../integrations/supabase/types.js").Json | null;
147704
148188
  next_attempt_at?: string | null;
148189
+ next_step?: string | null;
148190
+ node_id?: string | null;
147705
148191
  order_ref?: string | null;
147706
148192
  order_source?: string | null;
147707
148193
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -161219,6 +161705,24 @@ export declare const triggerFloricodeResourceSync: import("@tanstack/start-clien
161219
161705
  };
161220
161706
  Returns: number;
161221
161707
  };
161708
+ logistics_trace_order_overview: {
161709
+ Args: {
161710
+ p_error_class?: string;
161711
+ p_limit?: number;
161712
+ p_search?: string;
161713
+ p_since?: string;
161714
+ p_source?: string;
161715
+ p_state?: string;
161716
+ p_step?: string;
161717
+ };
161718
+ Returns: import("../integrations/supabase/types.js").Json;
161719
+ };
161720
+ logistics_trace_order_state: {
161721
+ Args: {
161722
+ p_order_ref: string;
161723
+ };
161724
+ Returns: import("../integrations/supabase/types.js").Json;
161725
+ };
161222
161726
  logistics_trace_orders: {
161223
161727
  Args: {
161224
161728
  p_limit?: number;
@@ -165077,6 +165581,42 @@ export declare const resetFloricodeResourceCursor: import("@tanstack/start-clien
165077
165581
  };
165078
165582
  Relationships: [];
165079
165583
  };
165584
+ customer_assortment_items: {
165585
+ Row: {
165586
+ created_at: string;
165587
+ customer_key: string;
165588
+ id: string;
165589
+ in_assortment: boolean;
165590
+ manual_override: boolean;
165591
+ source: string;
165592
+ synced_at: string | null;
165593
+ trade_item_key: string;
165594
+ updated_at: string;
165595
+ };
165596
+ Insert: {
165597
+ created_at?: string;
165598
+ customer_key: string;
165599
+ id?: string;
165600
+ in_assortment?: boolean;
165601
+ manual_override?: boolean;
165602
+ source?: string;
165603
+ synced_at?: string | null;
165604
+ trade_item_key: string;
165605
+ updated_at?: string;
165606
+ };
165607
+ Update: {
165608
+ created_at?: string;
165609
+ customer_key?: string;
165610
+ id?: string;
165611
+ in_assortment?: boolean;
165612
+ manual_override?: boolean;
165613
+ source?: string;
165614
+ synced_at?: string | null;
165615
+ trade_item_key?: string;
165616
+ updated_at?: string;
165617
+ };
165618
+ Relationships: [];
165619
+ };
165080
165620
  customer_audit_log: {
165081
165621
  Row: {
165082
165622
  action: string;
@@ -165481,40 +166021,58 @@ export declare const resetFloricodeResourceCursor: import("@tanstack/start-clien
165481
166021
  };
165482
166022
  customer_product_stickers: {
165483
166023
  Row: {
166024
+ content_hash: string | null;
165484
166025
  created_at: string;
165485
166026
  customer_key: string;
165486
166027
  file_name: string;
165487
166028
  file_path: string;
165488
166029
  file_size: number | null;
166030
+ floriday_sticker_id: string | null;
166031
+ floriday_synced_at: string | null;
166032
+ height_mm: number | null;
165489
166033
  id: string;
165490
166034
  mime_type: string | null;
166035
+ source: string;
165491
166036
  trade_item_key: string;
165492
166037
  updated_at: string;
165493
166038
  uploaded_by: string | null;
166039
+ width_mm: number | null;
165494
166040
  };
165495
166041
  Insert: {
166042
+ content_hash?: string | null;
165496
166043
  created_at?: string;
165497
166044
  customer_key: string;
165498
166045
  file_name: string;
165499
166046
  file_path: string;
165500
166047
  file_size?: number | null;
166048
+ floriday_sticker_id?: string | null;
166049
+ floriday_synced_at?: string | null;
166050
+ height_mm?: number | null;
165501
166051
  id?: string;
165502
166052
  mime_type?: string | null;
166053
+ source?: string;
165503
166054
  trade_item_key: string;
165504
166055
  updated_at?: string;
165505
166056
  uploaded_by?: string | null;
166057
+ width_mm?: number | null;
165506
166058
  };
165507
166059
  Update: {
166060
+ content_hash?: string | null;
165508
166061
  created_at?: string;
165509
166062
  customer_key?: string;
165510
166063
  file_name?: string;
165511
166064
  file_path?: string;
165512
166065
  file_size?: number | null;
166066
+ floriday_sticker_id?: string | null;
166067
+ floriday_synced_at?: string | null;
166068
+ height_mm?: number | null;
165513
166069
  id?: string;
165514
166070
  mime_type?: string | null;
166071
+ source?: string;
165515
166072
  trade_item_key?: string;
165516
166073
  updated_at?: string;
165517
166074
  uploaded_by?: string | null;
166075
+ width_mm?: number | null;
165518
166076
  };
165519
166077
  Relationships: [];
165520
166078
  };
@@ -174822,6 +175380,7 @@ export declare const resetFloricodeResourceCursor: import("@tanstack/start-clien
174822
175380
  Row: {
174823
175381
  actor: string | null;
174824
175382
  attempts: number;
175383
+ calc: import("../integrations/supabase/types.js").Json | null;
174825
175384
  cart_ref: string | null;
174826
175385
  created_at: string;
174827
175386
  db_action: string | null;
@@ -174832,6 +175391,7 @@ export declare const resetFloricodeResourceCursor: import("@tanstack/start-clien
174832
175391
  decision: string | null;
174833
175392
  duration_ms: number | null;
174834
175393
  error: string | null;
175394
+ error_class: string | null;
174835
175395
  external_action: string | null;
174836
175396
  external_ref: string | null;
174837
175397
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -174840,6 +175400,8 @@ export declare const resetFloricodeResourceCursor: import("@tanstack/start-clien
174840
175400
  id: string;
174841
175401
  input: import("../integrations/supabase/types.js").Json | null;
174842
175402
  next_attempt_at: string | null;
175403
+ next_step: string | null;
175404
+ node_id: string | null;
174843
175405
  order_ref: string | null;
174844
175406
  order_source: string | null;
174845
175407
  output: import("../integrations/supabase/types.js").Json | null;
@@ -174856,6 +175418,7 @@ export declare const resetFloricodeResourceCursor: import("@tanstack/start-clien
174856
175418
  Insert: {
174857
175419
  actor?: string | null;
174858
175420
  attempts?: number;
175421
+ calc?: import("../integrations/supabase/types.js").Json | null;
174859
175422
  cart_ref?: string | null;
174860
175423
  created_at?: string;
174861
175424
  db_action?: string | null;
@@ -174866,6 +175429,7 @@ export declare const resetFloricodeResourceCursor: import("@tanstack/start-clien
174866
175429
  decision?: string | null;
174867
175430
  duration_ms?: number | null;
174868
175431
  error?: string | null;
175432
+ error_class?: string | null;
174869
175433
  external_action?: string | null;
174870
175434
  external_ref?: string | null;
174871
175435
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -174874,6 +175438,8 @@ export declare const resetFloricodeResourceCursor: import("@tanstack/start-clien
174874
175438
  id?: string;
174875
175439
  input?: import("../integrations/supabase/types.js").Json | null;
174876
175440
  next_attempt_at?: string | null;
175441
+ next_step?: string | null;
175442
+ node_id?: string | null;
174877
175443
  order_ref?: string | null;
174878
175444
  order_source?: string | null;
174879
175445
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -174890,6 +175456,7 @@ export declare const resetFloricodeResourceCursor: import("@tanstack/start-clien
174890
175456
  Update: {
174891
175457
  actor?: string | null;
174892
175458
  attempts?: number;
175459
+ calc?: import("../integrations/supabase/types.js").Json | null;
174893
175460
  cart_ref?: string | null;
174894
175461
  created_at?: string;
174895
175462
  db_action?: string | null;
@@ -174900,6 +175467,7 @@ export declare const resetFloricodeResourceCursor: import("@tanstack/start-clien
174900
175467
  decision?: string | null;
174901
175468
  duration_ms?: number | null;
174902
175469
  error?: string | null;
175470
+ error_class?: string | null;
174903
175471
  external_action?: string | null;
174904
175472
  external_ref?: string | null;
174905
175473
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -174908,6 +175476,8 @@ export declare const resetFloricodeResourceCursor: import("@tanstack/start-clien
174908
175476
  id?: string;
174909
175477
  input?: import("../integrations/supabase/types.js").Json | null;
174910
175478
  next_attempt_at?: string | null;
175479
+ next_step?: string | null;
175480
+ node_id?: string | null;
174911
175481
  order_ref?: string | null;
174912
175482
  order_source?: string | null;
174913
175483
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -188425,6 +188995,24 @@ export declare const resetFloricodeResourceCursor: import("@tanstack/start-clien
188425
188995
  };
188426
188996
  Returns: number;
188427
188997
  };
188998
+ logistics_trace_order_overview: {
188999
+ Args: {
189000
+ p_error_class?: string;
189001
+ p_limit?: number;
189002
+ p_search?: string;
189003
+ p_since?: string;
189004
+ p_source?: string;
189005
+ p_state?: string;
189006
+ p_step?: string;
189007
+ };
189008
+ Returns: import("../integrations/supabase/types.js").Json;
189009
+ };
189010
+ logistics_trace_order_state: {
189011
+ Args: {
189012
+ p_order_ref: string;
189013
+ };
189014
+ Returns: import("../integrations/supabase/types.js").Json;
189015
+ };
188428
189016
  logistics_trace_orders: {
188429
189017
  Args: {
188430
189018
  p_limit?: number;