@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
@@ -1838,6 +1838,42 @@ export declare const commitSalesOrder: import("@tanstack/start-client-core").Req
1838
1838
  };
1839
1839
  Relationships: [];
1840
1840
  };
1841
+ customer_assortment_items: {
1842
+ Row: {
1843
+ created_at: string;
1844
+ customer_key: string;
1845
+ id: string;
1846
+ in_assortment: boolean;
1847
+ manual_override: boolean;
1848
+ source: string;
1849
+ synced_at: string | null;
1850
+ trade_item_key: string;
1851
+ updated_at: string;
1852
+ };
1853
+ Insert: {
1854
+ created_at?: string;
1855
+ customer_key: string;
1856
+ id?: string;
1857
+ in_assortment?: boolean;
1858
+ manual_override?: boolean;
1859
+ source?: string;
1860
+ synced_at?: string | null;
1861
+ trade_item_key: string;
1862
+ updated_at?: string;
1863
+ };
1864
+ Update: {
1865
+ created_at?: string;
1866
+ customer_key?: string;
1867
+ id?: string;
1868
+ in_assortment?: boolean;
1869
+ manual_override?: boolean;
1870
+ source?: string;
1871
+ synced_at?: string | null;
1872
+ trade_item_key?: string;
1873
+ updated_at?: string;
1874
+ };
1875
+ Relationships: [];
1876
+ };
1841
1877
  customer_audit_log: {
1842
1878
  Row: {
1843
1879
  action: string;
@@ -2242,40 +2278,58 @@ export declare const commitSalesOrder: import("@tanstack/start-client-core").Req
2242
2278
  };
2243
2279
  customer_product_stickers: {
2244
2280
  Row: {
2281
+ content_hash: string | null;
2245
2282
  created_at: string;
2246
2283
  customer_key: string;
2247
2284
  file_name: string;
2248
2285
  file_path: string;
2249
2286
  file_size: number | null;
2287
+ floriday_sticker_id: string | null;
2288
+ floriday_synced_at: string | null;
2289
+ height_mm: number | null;
2250
2290
  id: string;
2251
2291
  mime_type: string | null;
2292
+ source: string;
2252
2293
  trade_item_key: string;
2253
2294
  updated_at: string;
2254
2295
  uploaded_by: string | null;
2296
+ width_mm: number | null;
2255
2297
  };
2256
2298
  Insert: {
2299
+ content_hash?: string | null;
2257
2300
  created_at?: string;
2258
2301
  customer_key: string;
2259
2302
  file_name: string;
2260
2303
  file_path: string;
2261
2304
  file_size?: number | null;
2305
+ floriday_sticker_id?: string | null;
2306
+ floriday_synced_at?: string | null;
2307
+ height_mm?: number | null;
2262
2308
  id?: string;
2263
2309
  mime_type?: string | null;
2310
+ source?: string;
2264
2311
  trade_item_key: string;
2265
2312
  updated_at?: string;
2266
2313
  uploaded_by?: string | null;
2314
+ width_mm?: number | null;
2267
2315
  };
2268
2316
  Update: {
2317
+ content_hash?: string | null;
2269
2318
  created_at?: string;
2270
2319
  customer_key?: string;
2271
2320
  file_name?: string;
2272
2321
  file_path?: string;
2273
2322
  file_size?: number | null;
2323
+ floriday_sticker_id?: string | null;
2324
+ floriday_synced_at?: string | null;
2325
+ height_mm?: number | null;
2274
2326
  id?: string;
2275
2327
  mime_type?: string | null;
2328
+ source?: string;
2276
2329
  trade_item_key?: string;
2277
2330
  updated_at?: string;
2278
2331
  uploaded_by?: string | null;
2332
+ width_mm?: number | null;
2279
2333
  };
2280
2334
  Relationships: [];
2281
2335
  };
@@ -11583,6 +11637,7 @@ export declare const commitSalesOrder: import("@tanstack/start-client-core").Req
11583
11637
  Row: {
11584
11638
  actor: string | null;
11585
11639
  attempts: number;
11640
+ calc: import("../integrations/supabase/types.js").Json | null;
11586
11641
  cart_ref: string | null;
11587
11642
  created_at: string;
11588
11643
  db_action: string | null;
@@ -11593,6 +11648,7 @@ export declare const commitSalesOrder: import("@tanstack/start-client-core").Req
11593
11648
  decision: string | null;
11594
11649
  duration_ms: number | null;
11595
11650
  error: string | null;
11651
+ error_class: string | null;
11596
11652
  external_action: string | null;
11597
11653
  external_ref: string | null;
11598
11654
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -11601,6 +11657,8 @@ export declare const commitSalesOrder: import("@tanstack/start-client-core").Req
11601
11657
  id: string;
11602
11658
  input: import("../integrations/supabase/types.js").Json | null;
11603
11659
  next_attempt_at: string | null;
11660
+ next_step: string | null;
11661
+ node_id: string | null;
11604
11662
  order_ref: string | null;
11605
11663
  order_source: string | null;
11606
11664
  output: import("../integrations/supabase/types.js").Json | null;
@@ -11617,6 +11675,7 @@ export declare const commitSalesOrder: import("@tanstack/start-client-core").Req
11617
11675
  Insert: {
11618
11676
  actor?: string | null;
11619
11677
  attempts?: number;
11678
+ calc?: import("../integrations/supabase/types.js").Json | null;
11620
11679
  cart_ref?: string | null;
11621
11680
  created_at?: string;
11622
11681
  db_action?: string | null;
@@ -11627,6 +11686,7 @@ export declare const commitSalesOrder: import("@tanstack/start-client-core").Req
11627
11686
  decision?: string | null;
11628
11687
  duration_ms?: number | null;
11629
11688
  error?: string | null;
11689
+ error_class?: string | null;
11630
11690
  external_action?: string | null;
11631
11691
  external_ref?: string | null;
11632
11692
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -11635,6 +11695,8 @@ export declare const commitSalesOrder: import("@tanstack/start-client-core").Req
11635
11695
  id?: string;
11636
11696
  input?: import("../integrations/supabase/types.js").Json | null;
11637
11697
  next_attempt_at?: string | null;
11698
+ next_step?: string | null;
11699
+ node_id?: string | null;
11638
11700
  order_ref?: string | null;
11639
11701
  order_source?: string | null;
11640
11702
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -11651,6 +11713,7 @@ export declare const commitSalesOrder: import("@tanstack/start-client-core").Req
11651
11713
  Update: {
11652
11714
  actor?: string | null;
11653
11715
  attempts?: number;
11716
+ calc?: import("../integrations/supabase/types.js").Json | null;
11654
11717
  cart_ref?: string | null;
11655
11718
  created_at?: string;
11656
11719
  db_action?: string | null;
@@ -11661,6 +11724,7 @@ export declare const commitSalesOrder: import("@tanstack/start-client-core").Req
11661
11724
  decision?: string | null;
11662
11725
  duration_ms?: number | null;
11663
11726
  error?: string | null;
11727
+ error_class?: string | null;
11664
11728
  external_action?: string | null;
11665
11729
  external_ref?: string | null;
11666
11730
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -11669,6 +11733,8 @@ export declare const commitSalesOrder: import("@tanstack/start-client-core").Req
11669
11733
  id?: string;
11670
11734
  input?: import("../integrations/supabase/types.js").Json | null;
11671
11735
  next_attempt_at?: string | null;
11736
+ next_step?: string | null;
11737
+ node_id?: string | null;
11672
11738
  order_ref?: string | null;
11673
11739
  order_source?: string | null;
11674
11740
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -25186,6 +25252,24 @@ export declare const commitSalesOrder: import("@tanstack/start-client-core").Req
25186
25252
  };
25187
25253
  Returns: number;
25188
25254
  };
25255
+ logistics_trace_order_overview: {
25256
+ Args: {
25257
+ p_error_class?: string;
25258
+ p_limit?: number;
25259
+ p_search?: string;
25260
+ p_since?: string;
25261
+ p_source?: string;
25262
+ p_state?: string;
25263
+ p_step?: string;
25264
+ };
25265
+ Returns: import("../integrations/supabase/types.js").Json;
25266
+ };
25267
+ logistics_trace_order_state: {
25268
+ Args: {
25269
+ p_order_ref: string;
25270
+ };
25271
+ Returns: import("../integrations/supabase/types.js").Json;
25272
+ };
25189
25273
  logistics_trace_orders: {
25190
25274
  Args: {
25191
25275
  p_limit?: number;
@@ -29048,6 +29132,42 @@ export declare const cancelSalesOrder: import("@tanstack/start-client-core").Req
29048
29132
  };
29049
29133
  Relationships: [];
29050
29134
  };
29135
+ customer_assortment_items: {
29136
+ Row: {
29137
+ created_at: string;
29138
+ customer_key: string;
29139
+ id: string;
29140
+ in_assortment: boolean;
29141
+ manual_override: boolean;
29142
+ source: string;
29143
+ synced_at: string | null;
29144
+ trade_item_key: string;
29145
+ updated_at: string;
29146
+ };
29147
+ Insert: {
29148
+ created_at?: string;
29149
+ customer_key: string;
29150
+ id?: string;
29151
+ in_assortment?: boolean;
29152
+ manual_override?: boolean;
29153
+ source?: string;
29154
+ synced_at?: string | null;
29155
+ trade_item_key: string;
29156
+ updated_at?: string;
29157
+ };
29158
+ Update: {
29159
+ created_at?: string;
29160
+ customer_key?: string;
29161
+ id?: string;
29162
+ in_assortment?: boolean;
29163
+ manual_override?: boolean;
29164
+ source?: string;
29165
+ synced_at?: string | null;
29166
+ trade_item_key?: string;
29167
+ updated_at?: string;
29168
+ };
29169
+ Relationships: [];
29170
+ };
29051
29171
  customer_audit_log: {
29052
29172
  Row: {
29053
29173
  action: string;
@@ -29452,40 +29572,58 @@ export declare const cancelSalesOrder: import("@tanstack/start-client-core").Req
29452
29572
  };
29453
29573
  customer_product_stickers: {
29454
29574
  Row: {
29575
+ content_hash: string | null;
29455
29576
  created_at: string;
29456
29577
  customer_key: string;
29457
29578
  file_name: string;
29458
29579
  file_path: string;
29459
29580
  file_size: number | null;
29581
+ floriday_sticker_id: string | null;
29582
+ floriday_synced_at: string | null;
29583
+ height_mm: number | null;
29460
29584
  id: string;
29461
29585
  mime_type: string | null;
29586
+ source: string;
29462
29587
  trade_item_key: string;
29463
29588
  updated_at: string;
29464
29589
  uploaded_by: string | null;
29590
+ width_mm: number | null;
29465
29591
  };
29466
29592
  Insert: {
29593
+ content_hash?: string | null;
29467
29594
  created_at?: string;
29468
29595
  customer_key: string;
29469
29596
  file_name: string;
29470
29597
  file_path: string;
29471
29598
  file_size?: number | null;
29599
+ floriday_sticker_id?: string | null;
29600
+ floriday_synced_at?: string | null;
29601
+ height_mm?: number | null;
29472
29602
  id?: string;
29473
29603
  mime_type?: string | null;
29604
+ source?: string;
29474
29605
  trade_item_key: string;
29475
29606
  updated_at?: string;
29476
29607
  uploaded_by?: string | null;
29608
+ width_mm?: number | null;
29477
29609
  };
29478
29610
  Update: {
29611
+ content_hash?: string | null;
29479
29612
  created_at?: string;
29480
29613
  customer_key?: string;
29481
29614
  file_name?: string;
29482
29615
  file_path?: string;
29483
29616
  file_size?: number | null;
29617
+ floriday_sticker_id?: string | null;
29618
+ floriday_synced_at?: string | null;
29619
+ height_mm?: number | null;
29484
29620
  id?: string;
29485
29621
  mime_type?: string | null;
29622
+ source?: string;
29486
29623
  trade_item_key?: string;
29487
29624
  updated_at?: string;
29488
29625
  uploaded_by?: string | null;
29626
+ width_mm?: number | null;
29489
29627
  };
29490
29628
  Relationships: [];
29491
29629
  };
@@ -38793,6 +38931,7 @@ export declare const cancelSalesOrder: import("@tanstack/start-client-core").Req
38793
38931
  Row: {
38794
38932
  actor: string | null;
38795
38933
  attempts: number;
38934
+ calc: import("../integrations/supabase/types.js").Json | null;
38796
38935
  cart_ref: string | null;
38797
38936
  created_at: string;
38798
38937
  db_action: string | null;
@@ -38803,6 +38942,7 @@ export declare const cancelSalesOrder: import("@tanstack/start-client-core").Req
38803
38942
  decision: string | null;
38804
38943
  duration_ms: number | null;
38805
38944
  error: string | null;
38945
+ error_class: string | null;
38806
38946
  external_action: string | null;
38807
38947
  external_ref: string | null;
38808
38948
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -38811,6 +38951,8 @@ export declare const cancelSalesOrder: import("@tanstack/start-client-core").Req
38811
38951
  id: string;
38812
38952
  input: import("../integrations/supabase/types.js").Json | null;
38813
38953
  next_attempt_at: string | null;
38954
+ next_step: string | null;
38955
+ node_id: string | null;
38814
38956
  order_ref: string | null;
38815
38957
  order_source: string | null;
38816
38958
  output: import("../integrations/supabase/types.js").Json | null;
@@ -38827,6 +38969,7 @@ export declare const cancelSalesOrder: import("@tanstack/start-client-core").Req
38827
38969
  Insert: {
38828
38970
  actor?: string | null;
38829
38971
  attempts?: number;
38972
+ calc?: import("../integrations/supabase/types.js").Json | null;
38830
38973
  cart_ref?: string | null;
38831
38974
  created_at?: string;
38832
38975
  db_action?: string | null;
@@ -38837,6 +38980,7 @@ export declare const cancelSalesOrder: import("@tanstack/start-client-core").Req
38837
38980
  decision?: string | null;
38838
38981
  duration_ms?: number | null;
38839
38982
  error?: string | null;
38983
+ error_class?: string | null;
38840
38984
  external_action?: string | null;
38841
38985
  external_ref?: string | null;
38842
38986
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -38845,6 +38989,8 @@ export declare const cancelSalesOrder: import("@tanstack/start-client-core").Req
38845
38989
  id?: string;
38846
38990
  input?: import("../integrations/supabase/types.js").Json | null;
38847
38991
  next_attempt_at?: string | null;
38992
+ next_step?: string | null;
38993
+ node_id?: string | null;
38848
38994
  order_ref?: string | null;
38849
38995
  order_source?: string | null;
38850
38996
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -38861,6 +39007,7 @@ export declare const cancelSalesOrder: import("@tanstack/start-client-core").Req
38861
39007
  Update: {
38862
39008
  actor?: string | null;
38863
39009
  attempts?: number;
39010
+ calc?: import("../integrations/supabase/types.js").Json | null;
38864
39011
  cart_ref?: string | null;
38865
39012
  created_at?: string;
38866
39013
  db_action?: string | null;
@@ -38871,6 +39018,7 @@ export declare const cancelSalesOrder: import("@tanstack/start-client-core").Req
38871
39018
  decision?: string | null;
38872
39019
  duration_ms?: number | null;
38873
39020
  error?: string | null;
39021
+ error_class?: string | null;
38874
39022
  external_action?: string | null;
38875
39023
  external_ref?: string | null;
38876
39024
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -38879,6 +39027,8 @@ export declare const cancelSalesOrder: import("@tanstack/start-client-core").Req
38879
39027
  id?: string;
38880
39028
  input?: import("../integrations/supabase/types.js").Json | null;
38881
39029
  next_attempt_at?: string | null;
39030
+ next_step?: string | null;
39031
+ node_id?: string | null;
38882
39032
  order_ref?: string | null;
38883
39033
  order_source?: string | null;
38884
39034
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -52396,6 +52546,24 @@ export declare const cancelSalesOrder: import("@tanstack/start-client-core").Req
52396
52546
  };
52397
52547
  Returns: number;
52398
52548
  };
52549
+ logistics_trace_order_overview: {
52550
+ Args: {
52551
+ p_error_class?: string;
52552
+ p_limit?: number;
52553
+ p_search?: string;
52554
+ p_since?: string;
52555
+ p_source?: string;
52556
+ p_state?: string;
52557
+ p_step?: string;
52558
+ };
52559
+ Returns: import("../integrations/supabase/types.js").Json;
52560
+ };
52561
+ logistics_trace_order_state: {
52562
+ Args: {
52563
+ p_order_ref: string;
52564
+ };
52565
+ Returns: import("../integrations/supabase/types.js").Json;
52566
+ };
52399
52567
  logistics_trace_orders: {
52400
52568
  Args: {
52401
52569
  p_limit?: number;
@@ -56263,6 +56431,42 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
56263
56431
  };
56264
56432
  Relationships: [];
56265
56433
  };
56434
+ customer_assortment_items: {
56435
+ Row: {
56436
+ created_at: string;
56437
+ customer_key: string;
56438
+ id: string;
56439
+ in_assortment: boolean;
56440
+ manual_override: boolean;
56441
+ source: string;
56442
+ synced_at: string | null;
56443
+ trade_item_key: string;
56444
+ updated_at: string;
56445
+ };
56446
+ Insert: {
56447
+ created_at?: string;
56448
+ customer_key: string;
56449
+ id?: string;
56450
+ in_assortment?: boolean;
56451
+ manual_override?: boolean;
56452
+ source?: string;
56453
+ synced_at?: string | null;
56454
+ trade_item_key: string;
56455
+ updated_at?: string;
56456
+ };
56457
+ Update: {
56458
+ created_at?: string;
56459
+ customer_key?: string;
56460
+ id?: string;
56461
+ in_assortment?: boolean;
56462
+ manual_override?: boolean;
56463
+ source?: string;
56464
+ synced_at?: string | null;
56465
+ trade_item_key?: string;
56466
+ updated_at?: string;
56467
+ };
56468
+ Relationships: [];
56469
+ };
56266
56470
  customer_audit_log: {
56267
56471
  Row: {
56268
56472
  action: string;
@@ -56667,40 +56871,58 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
56667
56871
  };
56668
56872
  customer_product_stickers: {
56669
56873
  Row: {
56874
+ content_hash: string | null;
56670
56875
  created_at: string;
56671
56876
  customer_key: string;
56672
56877
  file_name: string;
56673
56878
  file_path: string;
56674
56879
  file_size: number | null;
56880
+ floriday_sticker_id: string | null;
56881
+ floriday_synced_at: string | null;
56882
+ height_mm: number | null;
56675
56883
  id: string;
56676
56884
  mime_type: string | null;
56885
+ source: string;
56677
56886
  trade_item_key: string;
56678
56887
  updated_at: string;
56679
56888
  uploaded_by: string | null;
56889
+ width_mm: number | null;
56680
56890
  };
56681
56891
  Insert: {
56892
+ content_hash?: string | null;
56682
56893
  created_at?: string;
56683
56894
  customer_key: string;
56684
56895
  file_name: string;
56685
56896
  file_path: string;
56686
56897
  file_size?: number | null;
56898
+ floriday_sticker_id?: string | null;
56899
+ floriday_synced_at?: string | null;
56900
+ height_mm?: number | null;
56687
56901
  id?: string;
56688
56902
  mime_type?: string | null;
56903
+ source?: string;
56689
56904
  trade_item_key: string;
56690
56905
  updated_at?: string;
56691
56906
  uploaded_by?: string | null;
56907
+ width_mm?: number | null;
56692
56908
  };
56693
56909
  Update: {
56910
+ content_hash?: string | null;
56694
56911
  created_at?: string;
56695
56912
  customer_key?: string;
56696
56913
  file_name?: string;
56697
56914
  file_path?: string;
56698
56915
  file_size?: number | null;
56916
+ floriday_sticker_id?: string | null;
56917
+ floriday_synced_at?: string | null;
56918
+ height_mm?: number | null;
56699
56919
  id?: string;
56700
56920
  mime_type?: string | null;
56921
+ source?: string;
56701
56922
  trade_item_key?: string;
56702
56923
  updated_at?: string;
56703
56924
  uploaded_by?: string | null;
56925
+ width_mm?: number | null;
56704
56926
  };
56705
56927
  Relationships: [];
56706
56928
  };
@@ -66008,6 +66230,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
66008
66230
  Row: {
66009
66231
  actor: string | null;
66010
66232
  attempts: number;
66233
+ calc: import("../integrations/supabase/types.js").Json | null;
66011
66234
  cart_ref: string | null;
66012
66235
  created_at: string;
66013
66236
  db_action: string | null;
@@ -66018,6 +66241,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
66018
66241
  decision: string | null;
66019
66242
  duration_ms: number | null;
66020
66243
  error: string | null;
66244
+ error_class: string | null;
66021
66245
  external_action: string | null;
66022
66246
  external_ref: string | null;
66023
66247
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -66026,6 +66250,8 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
66026
66250
  id: string;
66027
66251
  input: import("../integrations/supabase/types.js").Json | null;
66028
66252
  next_attempt_at: string | null;
66253
+ next_step: string | null;
66254
+ node_id: string | null;
66029
66255
  order_ref: string | null;
66030
66256
  order_source: string | null;
66031
66257
  output: import("../integrations/supabase/types.js").Json | null;
@@ -66042,6 +66268,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
66042
66268
  Insert: {
66043
66269
  actor?: string | null;
66044
66270
  attempts?: number;
66271
+ calc?: import("../integrations/supabase/types.js").Json | null;
66045
66272
  cart_ref?: string | null;
66046
66273
  created_at?: string;
66047
66274
  db_action?: string | null;
@@ -66052,6 +66279,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
66052
66279
  decision?: string | null;
66053
66280
  duration_ms?: number | null;
66054
66281
  error?: string | null;
66282
+ error_class?: string | null;
66055
66283
  external_action?: string | null;
66056
66284
  external_ref?: string | null;
66057
66285
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -66060,6 +66288,8 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
66060
66288
  id?: string;
66061
66289
  input?: import("../integrations/supabase/types.js").Json | null;
66062
66290
  next_attempt_at?: string | null;
66291
+ next_step?: string | null;
66292
+ node_id?: string | null;
66063
66293
  order_ref?: string | null;
66064
66294
  order_source?: string | null;
66065
66295
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -66076,6 +66306,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
66076
66306
  Update: {
66077
66307
  actor?: string | null;
66078
66308
  attempts?: number;
66309
+ calc?: import("../integrations/supabase/types.js").Json | null;
66079
66310
  cart_ref?: string | null;
66080
66311
  created_at?: string;
66081
66312
  db_action?: string | null;
@@ -66086,6 +66317,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
66086
66317
  decision?: string | null;
66087
66318
  duration_ms?: number | null;
66088
66319
  error?: string | null;
66320
+ error_class?: string | null;
66089
66321
  external_action?: string | null;
66090
66322
  external_ref?: string | null;
66091
66323
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -66094,6 +66326,8 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
66094
66326
  id?: string;
66095
66327
  input?: import("../integrations/supabase/types.js").Json | null;
66096
66328
  next_attempt_at?: string | null;
66329
+ next_step?: string | null;
66330
+ node_id?: string | null;
66097
66331
  order_ref?: string | null;
66098
66332
  order_source?: string | null;
66099
66333
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -79611,6 +79845,24 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
79611
79845
  };
79612
79846
  Returns: number;
79613
79847
  };
79848
+ logistics_trace_order_overview: {
79849
+ Args: {
79850
+ p_error_class?: string;
79851
+ p_limit?: number;
79852
+ p_search?: string;
79853
+ p_since?: string;
79854
+ p_source?: string;
79855
+ p_state?: string;
79856
+ p_step?: string;
79857
+ };
79858
+ Returns: import("../integrations/supabase/types.js").Json;
79859
+ };
79860
+ logistics_trace_order_state: {
79861
+ Args: {
79862
+ p_order_ref: string;
79863
+ };
79864
+ Returns: import("../integrations/supabase/types.js").Json;
79865
+ };
79614
79866
  logistics_trace_orders: {
79615
79867
  Args: {
79616
79868
  p_limit?: number;
@@ -83474,6 +83726,42 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Req
83474
83726
  };
83475
83727
  Relationships: [];
83476
83728
  };
83729
+ customer_assortment_items: {
83730
+ Row: {
83731
+ created_at: string;
83732
+ customer_key: string;
83733
+ id: string;
83734
+ in_assortment: boolean;
83735
+ manual_override: boolean;
83736
+ source: string;
83737
+ synced_at: string | null;
83738
+ trade_item_key: string;
83739
+ updated_at: string;
83740
+ };
83741
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
83764
+ };
83477
83765
  customer_audit_log: {
83478
83766
  Row: {
83479
83767
  action: string;
@@ -83878,40 +84166,58 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Req
83878
84166
  };
83879
84167
  customer_product_stickers: {
83880
84168
  Row: {
84169
+ content_hash: string | null;
83881
84170
  created_at: string;
83882
84171
  customer_key: string;
83883
84172
  file_name: string;
83884
84173
  file_path: string;
83885
84174
  file_size: number | null;
84175
+ floriday_sticker_id: string | null;
84176
+ floriday_synced_at: string | null;
84177
+ height_mm: number | null;
83886
84178
  id: string;
83887
84179
  mime_type: string | null;
84180
+ source: string;
83888
84181
  trade_item_key: string;
83889
84182
  updated_at: string;
83890
84183
  uploaded_by: string | null;
84184
+ width_mm: number | null;
83891
84185
  };
83892
84186
  Insert: {
84187
+ content_hash?: string | null;
83893
84188
  created_at?: string;
83894
84189
  customer_key: string;
83895
84190
  file_name: string;
83896
84191
  file_path: string;
83897
84192
  file_size?: number | null;
84193
+ floriday_sticker_id?: string | null;
84194
+ floriday_synced_at?: string | null;
84195
+ height_mm?: number | null;
83898
84196
  id?: string;
83899
84197
  mime_type?: string | null;
84198
+ source?: string;
83900
84199
  trade_item_key: string;
83901
84200
  updated_at?: string;
83902
84201
  uploaded_by?: string | null;
84202
+ width_mm?: number | null;
83903
84203
  };
83904
84204
  Update: {
84205
+ content_hash?: string | null;
83905
84206
  created_at?: string;
83906
84207
  customer_key?: string;
83907
84208
  file_name?: string;
83908
84209
  file_path?: string;
83909
84210
  file_size?: number | null;
84211
+ floriday_sticker_id?: string | null;
84212
+ floriday_synced_at?: string | null;
84213
+ height_mm?: number | null;
83910
84214
  id?: string;
83911
84215
  mime_type?: string | null;
84216
+ source?: string;
83912
84217
  trade_item_key?: string;
83913
84218
  updated_at?: string;
83914
84219
  uploaded_by?: string | null;
84220
+ width_mm?: number | null;
83915
84221
  };
83916
84222
  Relationships: [];
83917
84223
  };
@@ -93219,6 +93525,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Req
93219
93525
  Row: {
93220
93526
  actor: string | null;
93221
93527
  attempts: number;
93528
+ calc: import("../integrations/supabase/types.js").Json | null;
93222
93529
  cart_ref: string | null;
93223
93530
  created_at: string;
93224
93531
  db_action: string | null;
@@ -93229,6 +93536,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Req
93229
93536
  decision: string | null;
93230
93537
  duration_ms: number | null;
93231
93538
  error: string | null;
93539
+ error_class: string | null;
93232
93540
  external_action: string | null;
93233
93541
  external_ref: string | null;
93234
93542
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -93237,6 +93545,8 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Req
93237
93545
  id: string;
93238
93546
  input: import("../integrations/supabase/types.js").Json | null;
93239
93547
  next_attempt_at: string | null;
93548
+ next_step: string | null;
93549
+ node_id: string | null;
93240
93550
  order_ref: string | null;
93241
93551
  order_source: string | null;
93242
93552
  output: import("../integrations/supabase/types.js").Json | null;
@@ -93253,6 +93563,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Req
93253
93563
  Insert: {
93254
93564
  actor?: string | null;
93255
93565
  attempts?: number;
93566
+ calc?: import("../integrations/supabase/types.js").Json | null;
93256
93567
  cart_ref?: string | null;
93257
93568
  created_at?: string;
93258
93569
  db_action?: string | null;
@@ -93263,6 +93574,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Req
93263
93574
  decision?: string | null;
93264
93575
  duration_ms?: number | null;
93265
93576
  error?: string | null;
93577
+ error_class?: string | null;
93266
93578
  external_action?: string | null;
93267
93579
  external_ref?: string | null;
93268
93580
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -93271,6 +93583,8 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Req
93271
93583
  id?: string;
93272
93584
  input?: import("../integrations/supabase/types.js").Json | null;
93273
93585
  next_attempt_at?: string | null;
93586
+ next_step?: string | null;
93587
+ node_id?: string | null;
93274
93588
  order_ref?: string | null;
93275
93589
  order_source?: string | null;
93276
93590
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -93287,6 +93601,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Req
93287
93601
  Update: {
93288
93602
  actor?: string | null;
93289
93603
  attempts?: number;
93604
+ calc?: import("../integrations/supabase/types.js").Json | null;
93290
93605
  cart_ref?: string | null;
93291
93606
  created_at?: string;
93292
93607
  db_action?: string | null;
@@ -93297,6 +93612,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Req
93297
93612
  decision?: string | null;
93298
93613
  duration_ms?: number | null;
93299
93614
  error?: string | null;
93615
+ error_class?: string | null;
93300
93616
  external_action?: string | null;
93301
93617
  external_ref?: string | null;
93302
93618
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -93305,6 +93621,8 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Req
93305
93621
  id?: string;
93306
93622
  input?: import("../integrations/supabase/types.js").Json | null;
93307
93623
  next_attempt_at?: string | null;
93624
+ next_step?: string | null;
93625
+ node_id?: string | null;
93308
93626
  order_ref?: string | null;
93309
93627
  order_source?: string | null;
93310
93628
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -106822,6 +107140,24 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Req
106822
107140
  };
106823
107141
  Returns: number;
106824
107142
  };
107143
+ logistics_trace_order_overview: {
107144
+ Args: {
107145
+ p_error_class?: string;
107146
+ p_limit?: number;
107147
+ p_search?: string;
107148
+ p_since?: string;
107149
+ p_source?: string;
107150
+ p_state?: string;
107151
+ p_step?: string;
107152
+ };
107153
+ Returns: import("../integrations/supabase/types.js").Json;
107154
+ };
107155
+ logistics_trace_order_state: {
107156
+ Args: {
107157
+ p_order_ref: string;
107158
+ };
107159
+ Returns: import("../integrations/supabase/types.js").Json;
107160
+ };
106825
107161
  logistics_trace_orders: {
106826
107162
  Args: {
106827
107163
  p_limit?: number;
@@ -110688,6 +111024,42 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
110688
111024
  };
110689
111025
  Relationships: [];
110690
111026
  };
111027
+ customer_assortment_items: {
111028
+ Row: {
111029
+ created_at: string;
111030
+ customer_key: string;
111031
+ id: string;
111032
+ in_assortment: boolean;
111033
+ manual_override: boolean;
111034
+ source: string;
111035
+ synced_at: string | null;
111036
+ trade_item_key: string;
111037
+ updated_at: string;
111038
+ };
111039
+ Insert: {
111040
+ created_at?: string;
111041
+ customer_key: string;
111042
+ id?: string;
111043
+ in_assortment?: boolean;
111044
+ manual_override?: boolean;
111045
+ source?: string;
111046
+ synced_at?: string | null;
111047
+ trade_item_key: string;
111048
+ updated_at?: string;
111049
+ };
111050
+ Update: {
111051
+ created_at?: string;
111052
+ customer_key?: string;
111053
+ id?: string;
111054
+ in_assortment?: boolean;
111055
+ manual_override?: boolean;
111056
+ source?: string;
111057
+ synced_at?: string | null;
111058
+ trade_item_key?: string;
111059
+ updated_at?: string;
111060
+ };
111061
+ Relationships: [];
111062
+ };
110691
111063
  customer_audit_log: {
110692
111064
  Row: {
110693
111065
  action: string;
@@ -111092,40 +111464,58 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
111092
111464
  };
111093
111465
  customer_product_stickers: {
111094
111466
  Row: {
111467
+ content_hash: string | null;
111095
111468
  created_at: string;
111096
111469
  customer_key: string;
111097
111470
  file_name: string;
111098
111471
  file_path: string;
111099
111472
  file_size: number | null;
111473
+ floriday_sticker_id: string | null;
111474
+ floriday_synced_at: string | null;
111475
+ height_mm: number | null;
111100
111476
  id: string;
111101
111477
  mime_type: string | null;
111478
+ source: string;
111102
111479
  trade_item_key: string;
111103
111480
  updated_at: string;
111104
111481
  uploaded_by: string | null;
111482
+ width_mm: number | null;
111105
111483
  };
111106
111484
  Insert: {
111485
+ content_hash?: string | null;
111107
111486
  created_at?: string;
111108
111487
  customer_key: string;
111109
111488
  file_name: string;
111110
111489
  file_path: string;
111111
111490
  file_size?: number | null;
111491
+ floriday_sticker_id?: string | null;
111492
+ floriday_synced_at?: string | null;
111493
+ height_mm?: number | null;
111112
111494
  id?: string;
111113
111495
  mime_type?: string | null;
111496
+ source?: string;
111114
111497
  trade_item_key: string;
111115
111498
  updated_at?: string;
111116
111499
  uploaded_by?: string | null;
111500
+ width_mm?: number | null;
111117
111501
  };
111118
111502
  Update: {
111503
+ content_hash?: string | null;
111119
111504
  created_at?: string;
111120
111505
  customer_key?: string;
111121
111506
  file_name?: string;
111122
111507
  file_path?: string;
111123
111508
  file_size?: number | null;
111509
+ floriday_sticker_id?: string | null;
111510
+ floriday_synced_at?: string | null;
111511
+ height_mm?: number | null;
111124
111512
  id?: string;
111125
111513
  mime_type?: string | null;
111514
+ source?: string;
111126
111515
  trade_item_key?: string;
111127
111516
  updated_at?: string;
111128
111517
  uploaded_by?: string | null;
111518
+ width_mm?: number | null;
111129
111519
  };
111130
111520
  Relationships: [];
111131
111521
  };
@@ -120433,6 +120823,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
120433
120823
  Row: {
120434
120824
  actor: string | null;
120435
120825
  attempts: number;
120826
+ calc: import("../integrations/supabase/types.js").Json | null;
120436
120827
  cart_ref: string | null;
120437
120828
  created_at: string;
120438
120829
  db_action: string | null;
@@ -120443,6 +120834,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
120443
120834
  decision: string | null;
120444
120835
  duration_ms: number | null;
120445
120836
  error: string | null;
120837
+ error_class: string | null;
120446
120838
  external_action: string | null;
120447
120839
  external_ref: string | null;
120448
120840
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -120451,6 +120843,8 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
120451
120843
  id: string;
120452
120844
  input: import("../integrations/supabase/types.js").Json | null;
120453
120845
  next_attempt_at: string | null;
120846
+ next_step: string | null;
120847
+ node_id: string | null;
120454
120848
  order_ref: string | null;
120455
120849
  order_source: string | null;
120456
120850
  output: import("../integrations/supabase/types.js").Json | null;
@@ -120467,6 +120861,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
120467
120861
  Insert: {
120468
120862
  actor?: string | null;
120469
120863
  attempts?: number;
120864
+ calc?: import("../integrations/supabase/types.js").Json | null;
120470
120865
  cart_ref?: string | null;
120471
120866
  created_at?: string;
120472
120867
  db_action?: string | null;
@@ -120477,6 +120872,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
120477
120872
  decision?: string | null;
120478
120873
  duration_ms?: number | null;
120479
120874
  error?: string | null;
120875
+ error_class?: string | null;
120480
120876
  external_action?: string | null;
120481
120877
  external_ref?: string | null;
120482
120878
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -120485,6 +120881,8 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
120485
120881
  id?: string;
120486
120882
  input?: import("../integrations/supabase/types.js").Json | null;
120487
120883
  next_attempt_at?: string | null;
120884
+ next_step?: string | null;
120885
+ node_id?: string | null;
120488
120886
  order_ref?: string | null;
120489
120887
  order_source?: string | null;
120490
120888
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -120501,6 +120899,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
120501
120899
  Update: {
120502
120900
  actor?: string | null;
120503
120901
  attempts?: number;
120902
+ calc?: import("../integrations/supabase/types.js").Json | null;
120504
120903
  cart_ref?: string | null;
120505
120904
  created_at?: string;
120506
120905
  db_action?: string | null;
@@ -120511,6 +120910,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
120511
120910
  decision?: string | null;
120512
120911
  duration_ms?: number | null;
120513
120912
  error?: string | null;
120913
+ error_class?: string | null;
120514
120914
  external_action?: string | null;
120515
120915
  external_ref?: string | null;
120516
120916
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -120519,6 +120919,8 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
120519
120919
  id?: string;
120520
120920
  input?: import("../integrations/supabase/types.js").Json | null;
120521
120921
  next_attempt_at?: string | null;
120922
+ next_step?: string | null;
120923
+ node_id?: string | null;
120522
120924
  order_ref?: string | null;
120523
120925
  order_source?: string | null;
120524
120926
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -134036,6 +134438,24 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
134036
134438
  };
134037
134439
  Returns: number;
134038
134440
  };
134441
+ logistics_trace_order_overview: {
134442
+ Args: {
134443
+ p_error_class?: string;
134444
+ p_limit?: number;
134445
+ p_search?: string;
134446
+ p_since?: string;
134447
+ p_source?: string;
134448
+ p_state?: string;
134449
+ p_step?: string;
134450
+ };
134451
+ Returns: import("../integrations/supabase/types.js").Json;
134452
+ };
134453
+ logistics_trace_order_state: {
134454
+ Args: {
134455
+ p_order_ref: string;
134456
+ };
134457
+ Returns: import("../integrations/supabase/types.js").Json;
134458
+ };
134039
134459
  logistics_trace_orders: {
134040
134460
  Args: {
134041
134461
  p_limit?: number;
@@ -137908,6 +138328,42 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
137908
138328
  };
137909
138329
  Relationships: [];
137910
138330
  };
138331
+ customer_assortment_items: {
138332
+ Row: {
138333
+ created_at: string;
138334
+ customer_key: string;
138335
+ id: string;
138336
+ in_assortment: boolean;
138337
+ manual_override: boolean;
138338
+ source: string;
138339
+ synced_at: string | null;
138340
+ trade_item_key: string;
138341
+ updated_at: string;
138342
+ };
138343
+ Insert: {
138344
+ created_at?: string;
138345
+ customer_key: string;
138346
+ id?: string;
138347
+ in_assortment?: boolean;
138348
+ manual_override?: boolean;
138349
+ source?: string;
138350
+ synced_at?: string | null;
138351
+ trade_item_key: string;
138352
+ updated_at?: string;
138353
+ };
138354
+ Update: {
138355
+ created_at?: string;
138356
+ customer_key?: string;
138357
+ id?: string;
138358
+ in_assortment?: boolean;
138359
+ manual_override?: boolean;
138360
+ source?: string;
138361
+ synced_at?: string | null;
138362
+ trade_item_key?: string;
138363
+ updated_at?: string;
138364
+ };
138365
+ Relationships: [];
138366
+ };
137911
138367
  customer_audit_log: {
137912
138368
  Row: {
137913
138369
  action: string;
@@ -138312,40 +138768,58 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
138312
138768
  };
138313
138769
  customer_product_stickers: {
138314
138770
  Row: {
138771
+ content_hash: string | null;
138315
138772
  created_at: string;
138316
138773
  customer_key: string;
138317
138774
  file_name: string;
138318
138775
  file_path: string;
138319
138776
  file_size: number | null;
138777
+ floriday_sticker_id: string | null;
138778
+ floriday_synced_at: string | null;
138779
+ height_mm: number | null;
138320
138780
  id: string;
138321
138781
  mime_type: string | null;
138782
+ source: string;
138322
138783
  trade_item_key: string;
138323
138784
  updated_at: string;
138324
138785
  uploaded_by: string | null;
138786
+ width_mm: number | null;
138325
138787
  };
138326
138788
  Insert: {
138789
+ content_hash?: string | null;
138327
138790
  created_at?: string;
138328
138791
  customer_key: string;
138329
138792
  file_name: string;
138330
138793
  file_path: string;
138331
138794
  file_size?: number | null;
138795
+ floriday_sticker_id?: string | null;
138796
+ floriday_synced_at?: string | null;
138797
+ height_mm?: number | null;
138332
138798
  id?: string;
138333
138799
  mime_type?: string | null;
138800
+ source?: string;
138334
138801
  trade_item_key: string;
138335
138802
  updated_at?: string;
138336
138803
  uploaded_by?: string | null;
138804
+ width_mm?: number | null;
138337
138805
  };
138338
138806
  Update: {
138807
+ content_hash?: string | null;
138339
138808
  created_at?: string;
138340
138809
  customer_key?: string;
138341
138810
  file_name?: string;
138342
138811
  file_path?: string;
138343
138812
  file_size?: number | null;
138813
+ floriday_sticker_id?: string | null;
138814
+ floriday_synced_at?: string | null;
138815
+ height_mm?: number | null;
138344
138816
  id?: string;
138345
138817
  mime_type?: string | null;
138818
+ source?: string;
138346
138819
  trade_item_key?: string;
138347
138820
  updated_at?: string;
138348
138821
  uploaded_by?: string | null;
138822
+ width_mm?: number | null;
138349
138823
  };
138350
138824
  Relationships: [];
138351
138825
  };
@@ -147653,6 +148127,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
147653
148127
  Row: {
147654
148128
  actor: string | null;
147655
148129
  attempts: number;
148130
+ calc: import("../integrations/supabase/types.js").Json | null;
147656
148131
  cart_ref: string | null;
147657
148132
  created_at: string;
147658
148133
  db_action: string | null;
@@ -147663,6 +148138,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
147663
148138
  decision: string | null;
147664
148139
  duration_ms: number | null;
147665
148140
  error: string | null;
148141
+ error_class: string | null;
147666
148142
  external_action: string | null;
147667
148143
  external_ref: string | null;
147668
148144
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -147671,6 +148147,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
147671
148147
  id: string;
147672
148148
  input: import("../integrations/supabase/types.js").Json | null;
147673
148149
  next_attempt_at: string | null;
148150
+ next_step: string | null;
148151
+ node_id: string | null;
147674
148152
  order_ref: string | null;
147675
148153
  order_source: string | null;
147676
148154
  output: import("../integrations/supabase/types.js").Json | null;
@@ -147687,6 +148165,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
147687
148165
  Insert: {
147688
148166
  actor?: string | null;
147689
148167
  attempts?: number;
148168
+ calc?: import("../integrations/supabase/types.js").Json | null;
147690
148169
  cart_ref?: string | null;
147691
148170
  created_at?: string;
147692
148171
  db_action?: string | null;
@@ -147697,6 +148176,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
147697
148176
  decision?: string | null;
147698
148177
  duration_ms?: number | null;
147699
148178
  error?: string | null;
148179
+ error_class?: string | null;
147700
148180
  external_action?: string | null;
147701
148181
  external_ref?: string | null;
147702
148182
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -147705,6 +148185,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
147705
148185
  id?: string;
147706
148186
  input?: import("../integrations/supabase/types.js").Json | null;
147707
148187
  next_attempt_at?: string | null;
148188
+ next_step?: string | null;
148189
+ node_id?: string | null;
147708
148190
  order_ref?: string | null;
147709
148191
  order_source?: string | null;
147710
148192
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -147721,6 +148203,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
147721
148203
  Update: {
147722
148204
  actor?: string | null;
147723
148205
  attempts?: number;
148206
+ calc?: import("../integrations/supabase/types.js").Json | null;
147724
148207
  cart_ref?: string | null;
147725
148208
  created_at?: string;
147726
148209
  db_action?: string | null;
@@ -147731,6 +148214,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
147731
148214
  decision?: string | null;
147732
148215
  duration_ms?: number | null;
147733
148216
  error?: string | null;
148217
+ error_class?: string | null;
147734
148218
  external_action?: string | null;
147735
148219
  external_ref?: string | null;
147736
148220
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -147739,6 +148223,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
147739
148223
  id?: string;
147740
148224
  input?: import("../integrations/supabase/types.js").Json | null;
147741
148225
  next_attempt_at?: string | null;
148226
+ next_step?: string | null;
148227
+ node_id?: string | null;
147742
148228
  order_ref?: string | null;
147743
148229
  order_source?: string | null;
147744
148230
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -161256,6 +161742,24 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
161256
161742
  };
161257
161743
  Returns: number;
161258
161744
  };
161745
+ logistics_trace_order_overview: {
161746
+ Args: {
161747
+ p_error_class?: string;
161748
+ p_limit?: number;
161749
+ p_search?: string;
161750
+ p_since?: string;
161751
+ p_source?: string;
161752
+ p_state?: string;
161753
+ p_step?: string;
161754
+ };
161755
+ Returns: import("../integrations/supabase/types.js").Json;
161756
+ };
161757
+ logistics_trace_order_state: {
161758
+ Args: {
161759
+ p_order_ref: string;
161760
+ };
161761
+ Returns: import("../integrations/supabase/types.js").Json;
161762
+ };
161259
161763
  logistics_trace_orders: {
161260
161764
  Args: {
161261
161765
  p_limit?: number;
@@ -165120,6 +165624,42 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Req
165120
165624
  };
165121
165625
  Relationships: [];
165122
165626
  };
165627
+ customer_assortment_items: {
165628
+ Row: {
165629
+ created_at: string;
165630
+ customer_key: string;
165631
+ id: string;
165632
+ in_assortment: boolean;
165633
+ manual_override: boolean;
165634
+ source: string;
165635
+ synced_at: string | null;
165636
+ trade_item_key: string;
165637
+ updated_at: string;
165638
+ };
165639
+ Insert: {
165640
+ created_at?: string;
165641
+ customer_key: string;
165642
+ id?: string;
165643
+ in_assortment?: boolean;
165644
+ manual_override?: boolean;
165645
+ source?: string;
165646
+ synced_at?: string | null;
165647
+ trade_item_key: string;
165648
+ updated_at?: string;
165649
+ };
165650
+ Update: {
165651
+ created_at?: string;
165652
+ customer_key?: string;
165653
+ id?: string;
165654
+ in_assortment?: boolean;
165655
+ manual_override?: boolean;
165656
+ source?: string;
165657
+ synced_at?: string | null;
165658
+ trade_item_key?: string;
165659
+ updated_at?: string;
165660
+ };
165661
+ Relationships: [];
165662
+ };
165123
165663
  customer_audit_log: {
165124
165664
  Row: {
165125
165665
  action: string;
@@ -165524,40 +166064,58 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Req
165524
166064
  };
165525
166065
  customer_product_stickers: {
165526
166066
  Row: {
166067
+ content_hash: string | null;
165527
166068
  created_at: string;
165528
166069
  customer_key: string;
165529
166070
  file_name: string;
165530
166071
  file_path: string;
165531
166072
  file_size: number | null;
166073
+ floriday_sticker_id: string | null;
166074
+ floriday_synced_at: string | null;
166075
+ height_mm: number | null;
165532
166076
  id: string;
165533
166077
  mime_type: string | null;
166078
+ source: string;
165534
166079
  trade_item_key: string;
165535
166080
  updated_at: string;
165536
166081
  uploaded_by: string | null;
166082
+ width_mm: number | null;
165537
166083
  };
165538
166084
  Insert: {
166085
+ content_hash?: string | null;
165539
166086
  created_at?: string;
165540
166087
  customer_key: string;
165541
166088
  file_name: string;
165542
166089
  file_path: string;
165543
166090
  file_size?: number | null;
166091
+ floriday_sticker_id?: string | null;
166092
+ floriday_synced_at?: string | null;
166093
+ height_mm?: number | null;
165544
166094
  id?: string;
165545
166095
  mime_type?: string | null;
166096
+ source?: string;
165546
166097
  trade_item_key: string;
165547
166098
  updated_at?: string;
165548
166099
  uploaded_by?: string | null;
166100
+ width_mm?: number | null;
165549
166101
  };
165550
166102
  Update: {
166103
+ content_hash?: string | null;
165551
166104
  created_at?: string;
165552
166105
  customer_key?: string;
165553
166106
  file_name?: string;
165554
166107
  file_path?: string;
165555
166108
  file_size?: number | null;
166109
+ floriday_sticker_id?: string | null;
166110
+ floriday_synced_at?: string | null;
166111
+ height_mm?: number | null;
165556
166112
  id?: string;
165557
166113
  mime_type?: string | null;
166114
+ source?: string;
165558
166115
  trade_item_key?: string;
165559
166116
  updated_at?: string;
165560
166117
  uploaded_by?: string | null;
166118
+ width_mm?: number | null;
165561
166119
  };
165562
166120
  Relationships: [];
165563
166121
  };
@@ -174865,6 +175423,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Req
174865
175423
  Row: {
174866
175424
  actor: string | null;
174867
175425
  attempts: number;
175426
+ calc: import("../integrations/supabase/types.js").Json | null;
174868
175427
  cart_ref: string | null;
174869
175428
  created_at: string;
174870
175429
  db_action: string | null;
@@ -174875,6 +175434,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Req
174875
175434
  decision: string | null;
174876
175435
  duration_ms: number | null;
174877
175436
  error: string | null;
175437
+ error_class: string | null;
174878
175438
  external_action: string | null;
174879
175439
  external_ref: string | null;
174880
175440
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -174883,6 +175443,8 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Req
174883
175443
  id: string;
174884
175444
  input: import("../integrations/supabase/types.js").Json | null;
174885
175445
  next_attempt_at: string | null;
175446
+ next_step: string | null;
175447
+ node_id: string | null;
174886
175448
  order_ref: string | null;
174887
175449
  order_source: string | null;
174888
175450
  output: import("../integrations/supabase/types.js").Json | null;
@@ -174899,6 +175461,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Req
174899
175461
  Insert: {
174900
175462
  actor?: string | null;
174901
175463
  attempts?: number;
175464
+ calc?: import("../integrations/supabase/types.js").Json | null;
174902
175465
  cart_ref?: string | null;
174903
175466
  created_at?: string;
174904
175467
  db_action?: string | null;
@@ -174909,6 +175472,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Req
174909
175472
  decision?: string | null;
174910
175473
  duration_ms?: number | null;
174911
175474
  error?: string | null;
175475
+ error_class?: string | null;
174912
175476
  external_action?: string | null;
174913
175477
  external_ref?: string | null;
174914
175478
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -174917,6 +175481,8 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Req
174917
175481
  id?: string;
174918
175482
  input?: import("../integrations/supabase/types.js").Json | null;
174919
175483
  next_attempt_at?: string | null;
175484
+ next_step?: string | null;
175485
+ node_id?: string | null;
174920
175486
  order_ref?: string | null;
174921
175487
  order_source?: string | null;
174922
175488
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -174933,6 +175499,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Req
174933
175499
  Update: {
174934
175500
  actor?: string | null;
174935
175501
  attempts?: number;
175502
+ calc?: import("../integrations/supabase/types.js").Json | null;
174936
175503
  cart_ref?: string | null;
174937
175504
  created_at?: string;
174938
175505
  db_action?: string | null;
@@ -174943,6 +175510,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Req
174943
175510
  decision?: string | null;
174944
175511
  duration_ms?: number | null;
174945
175512
  error?: string | null;
175513
+ error_class?: string | null;
174946
175514
  external_action?: string | null;
174947
175515
  external_ref?: string | null;
174948
175516
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -174951,6 +175519,8 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Req
174951
175519
  id?: string;
174952
175520
  input?: import("../integrations/supabase/types.js").Json | null;
174953
175521
  next_attempt_at?: string | null;
175522
+ next_step?: string | null;
175523
+ node_id?: string | null;
174954
175524
  order_ref?: string | null;
174955
175525
  order_source?: string | null;
174956
175526
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -188468,6 +189038,24 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Req
188468
189038
  };
188469
189039
  Returns: number;
188470
189040
  };
189041
+ logistics_trace_order_overview: {
189042
+ Args: {
189043
+ p_error_class?: string;
189044
+ p_limit?: number;
189045
+ p_search?: string;
189046
+ p_since?: string;
189047
+ p_source?: string;
189048
+ p_state?: string;
189049
+ p_step?: string;
189050
+ };
189051
+ Returns: import("../integrations/supabase/types.js").Json;
189052
+ };
189053
+ logistics_trace_order_state: {
189054
+ Args: {
189055
+ p_order_ref: string;
189056
+ };
189057
+ Returns: import("../integrations/supabase/types.js").Json;
189058
+ };
188471
189059
  logistics_trace_orders: {
188472
189060
  Args: {
188473
189061
  p_limit?: number;
@@ -192337,6 +192925,42 @@ export declare const florydayWriteThrough: import("@tanstack/start-client-core")
192337
192925
  };
192338
192926
  Relationships: [];
192339
192927
  };
192928
+ customer_assortment_items: {
192929
+ Row: {
192930
+ created_at: string;
192931
+ customer_key: string;
192932
+ id: string;
192933
+ in_assortment: boolean;
192934
+ manual_override: boolean;
192935
+ source: string;
192936
+ synced_at: string | null;
192937
+ trade_item_key: string;
192938
+ updated_at: string;
192939
+ };
192940
+ Insert: {
192941
+ created_at?: string;
192942
+ customer_key: string;
192943
+ id?: string;
192944
+ in_assortment?: boolean;
192945
+ manual_override?: boolean;
192946
+ source?: string;
192947
+ synced_at?: string | null;
192948
+ trade_item_key: string;
192949
+ updated_at?: string;
192950
+ };
192951
+ Update: {
192952
+ created_at?: string;
192953
+ customer_key?: string;
192954
+ id?: string;
192955
+ in_assortment?: boolean;
192956
+ manual_override?: boolean;
192957
+ source?: string;
192958
+ synced_at?: string | null;
192959
+ trade_item_key?: string;
192960
+ updated_at?: string;
192961
+ };
192962
+ Relationships: [];
192963
+ };
192340
192964
  customer_audit_log: {
192341
192965
  Row: {
192342
192966
  action: string;
@@ -192741,40 +193365,58 @@ export declare const florydayWriteThrough: import("@tanstack/start-client-core")
192741
193365
  };
192742
193366
  customer_product_stickers: {
192743
193367
  Row: {
193368
+ content_hash: string | null;
192744
193369
  created_at: string;
192745
193370
  customer_key: string;
192746
193371
  file_name: string;
192747
193372
  file_path: string;
192748
193373
  file_size: number | null;
193374
+ floriday_sticker_id: string | null;
193375
+ floriday_synced_at: string | null;
193376
+ height_mm: number | null;
192749
193377
  id: string;
192750
193378
  mime_type: string | null;
193379
+ source: string;
192751
193380
  trade_item_key: string;
192752
193381
  updated_at: string;
192753
193382
  uploaded_by: string | null;
193383
+ width_mm: number | null;
192754
193384
  };
192755
193385
  Insert: {
193386
+ content_hash?: string | null;
192756
193387
  created_at?: string;
192757
193388
  customer_key: string;
192758
193389
  file_name: string;
192759
193390
  file_path: string;
192760
193391
  file_size?: number | null;
193392
+ floriday_sticker_id?: string | null;
193393
+ floriday_synced_at?: string | null;
193394
+ height_mm?: number | null;
192761
193395
  id?: string;
192762
193396
  mime_type?: string | null;
193397
+ source?: string;
192763
193398
  trade_item_key: string;
192764
193399
  updated_at?: string;
192765
193400
  uploaded_by?: string | null;
193401
+ width_mm?: number | null;
192766
193402
  };
192767
193403
  Update: {
193404
+ content_hash?: string | null;
192768
193405
  created_at?: string;
192769
193406
  customer_key?: string;
192770
193407
  file_name?: string;
192771
193408
  file_path?: string;
192772
193409
  file_size?: number | null;
193410
+ floriday_sticker_id?: string | null;
193411
+ floriday_synced_at?: string | null;
193412
+ height_mm?: number | null;
192773
193413
  id?: string;
192774
193414
  mime_type?: string | null;
193415
+ source?: string;
192775
193416
  trade_item_key?: string;
192776
193417
  updated_at?: string;
192777
193418
  uploaded_by?: string | null;
193419
+ width_mm?: number | null;
192778
193420
  };
192779
193421
  Relationships: [];
192780
193422
  };
@@ -202082,6 +202724,7 @@ export declare const florydayWriteThrough: import("@tanstack/start-client-core")
202082
202724
  Row: {
202083
202725
  actor: string | null;
202084
202726
  attempts: number;
202727
+ calc: import("../integrations/supabase/types.js").Json | null;
202085
202728
  cart_ref: string | null;
202086
202729
  created_at: string;
202087
202730
  db_action: string | null;
@@ -202092,6 +202735,7 @@ export declare const florydayWriteThrough: import("@tanstack/start-client-core")
202092
202735
  decision: string | null;
202093
202736
  duration_ms: number | null;
202094
202737
  error: string | null;
202738
+ error_class: string | null;
202095
202739
  external_action: string | null;
202096
202740
  external_ref: string | null;
202097
202741
  external_response: import("../integrations/supabase/types.js").Json | null;
@@ -202100,6 +202744,8 @@ export declare const florydayWriteThrough: import("@tanstack/start-client-core")
202100
202744
  id: string;
202101
202745
  input: import("../integrations/supabase/types.js").Json | null;
202102
202746
  next_attempt_at: string | null;
202747
+ next_step: string | null;
202748
+ node_id: string | null;
202103
202749
  order_ref: string | null;
202104
202750
  order_source: string | null;
202105
202751
  output: import("../integrations/supabase/types.js").Json | null;
@@ -202116,6 +202762,7 @@ export declare const florydayWriteThrough: import("@tanstack/start-client-core")
202116
202762
  Insert: {
202117
202763
  actor?: string | null;
202118
202764
  attempts?: number;
202765
+ calc?: import("../integrations/supabase/types.js").Json | null;
202119
202766
  cart_ref?: string | null;
202120
202767
  created_at?: string;
202121
202768
  db_action?: string | null;
@@ -202126,6 +202773,7 @@ export declare const florydayWriteThrough: import("@tanstack/start-client-core")
202126
202773
  decision?: string | null;
202127
202774
  duration_ms?: number | null;
202128
202775
  error?: string | null;
202776
+ error_class?: string | null;
202129
202777
  external_action?: string | null;
202130
202778
  external_ref?: string | null;
202131
202779
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -202134,6 +202782,8 @@ export declare const florydayWriteThrough: import("@tanstack/start-client-core")
202134
202782
  id?: string;
202135
202783
  input?: import("../integrations/supabase/types.js").Json | null;
202136
202784
  next_attempt_at?: string | null;
202785
+ next_step?: string | null;
202786
+ node_id?: string | null;
202137
202787
  order_ref?: string | null;
202138
202788
  order_source?: string | null;
202139
202789
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -202150,6 +202800,7 @@ export declare const florydayWriteThrough: import("@tanstack/start-client-core")
202150
202800
  Update: {
202151
202801
  actor?: string | null;
202152
202802
  attempts?: number;
202803
+ calc?: import("../integrations/supabase/types.js").Json | null;
202153
202804
  cart_ref?: string | null;
202154
202805
  created_at?: string;
202155
202806
  db_action?: string | null;
@@ -202160,6 +202811,7 @@ export declare const florydayWriteThrough: import("@tanstack/start-client-core")
202160
202811
  decision?: string | null;
202161
202812
  duration_ms?: number | null;
202162
202813
  error?: string | null;
202814
+ error_class?: string | null;
202163
202815
  external_action?: string | null;
202164
202816
  external_ref?: string | null;
202165
202817
  external_response?: import("../integrations/supabase/types.js").Json | null;
@@ -202168,6 +202820,8 @@ export declare const florydayWriteThrough: import("@tanstack/start-client-core")
202168
202820
  id?: string;
202169
202821
  input?: import("../integrations/supabase/types.js").Json | null;
202170
202822
  next_attempt_at?: string | null;
202823
+ next_step?: string | null;
202824
+ node_id?: string | null;
202171
202825
  order_ref?: string | null;
202172
202826
  order_source?: string | null;
202173
202827
  output?: import("../integrations/supabase/types.js").Json | null;
@@ -215685,6 +216339,24 @@ export declare const florydayWriteThrough: import("@tanstack/start-client-core")
215685
216339
  };
215686
216340
  Returns: number;
215687
216341
  };
216342
+ logistics_trace_order_overview: {
216343
+ Args: {
216344
+ p_error_class?: string;
216345
+ p_limit?: number;
216346
+ p_search?: string;
216347
+ p_since?: string;
216348
+ p_source?: string;
216349
+ p_state?: string;
216350
+ p_step?: string;
216351
+ };
216352
+ Returns: import("../integrations/supabase/types.js").Json;
216353
+ };
216354
+ logistics_trace_order_state: {
216355
+ Args: {
216356
+ p_order_ref: string;
216357
+ };
216358
+ Returns: import("../integrations/supabase/types.js").Json;
216359
+ };
215688
216360
  logistics_trace_orders: {
215689
216361
  Args: {
215690
216362
  p_limit?: number;