@flowselections/floriday-voorraad 1.0.43 → 1.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
  2. package/dist-lib/components/voorraad/StockPushMonitor.js +31 -2
  3. package/dist-lib/hooks/useStockPushJobs.d.ts +2 -0
  4. package/dist-lib/hooks/useStockPushJobs.d.ts.map +1 -1
  5. package/dist-lib/hooks/useStockPushJobs.js +3 -1
  6. package/dist-lib/integrations/supabase/auth-middleware.d.ts +107 -0
  7. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  8. package/dist-lib/integrations/supabase/client.d.ts +107 -0
  9. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  10. package/dist-lib/integrations/supabase/client.server.d.ts +107 -0
  11. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  12. package/dist-lib/integrations/supabase/types.d.ts +107 -0
  13. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  14. package/dist-lib/lib/floricode-required-features.functions.d.ts +107 -0
  15. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  16. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +107 -0
  17. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/floriday-env.functions.d.ts +214 -0
  19. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/floriday-gateway.functions.d.ts +642 -0
  21. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +214 -0
  23. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/floriday-warehouse.functions.d.ts +321 -0
  25. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floriday-writes.functions.d.ts +214 -0
  27. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/inventory-settings.functions.d.ts +214 -0
  29. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/stock-sync.functions.d.ts +214 -0
  31. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  32. package/package.json +1 -1
@@ -1822,6 +1822,42 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
1822
1822
  };
1823
1823
  Relationships: [];
1824
1824
  };
1825
+ customer_assortment_items: {
1826
+ Row: {
1827
+ created_at: string;
1828
+ customer_key: string;
1829
+ id: string;
1830
+ in_assortment: boolean;
1831
+ manual_override: boolean;
1832
+ source: string;
1833
+ synced_at: string | null;
1834
+ trade_item_key: string;
1835
+ updated_at: string;
1836
+ };
1837
+ Insert: {
1838
+ created_at?: string;
1839
+ customer_key: string;
1840
+ id?: string;
1841
+ in_assortment?: boolean;
1842
+ manual_override?: boolean;
1843
+ source?: string;
1844
+ synced_at?: string | null;
1845
+ trade_item_key: string;
1846
+ updated_at?: string;
1847
+ };
1848
+ Update: {
1849
+ created_at?: string;
1850
+ customer_key?: string;
1851
+ id?: string;
1852
+ in_assortment?: boolean;
1853
+ manual_override?: boolean;
1854
+ source?: string;
1855
+ synced_at?: string | null;
1856
+ trade_item_key?: string;
1857
+ updated_at?: string;
1858
+ };
1859
+ Relationships: [];
1860
+ };
1825
1861
  customer_audit_log: {
1826
1862
  Row: {
1827
1863
  action: string;
@@ -2226,40 +2262,58 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
2226
2262
  };
2227
2263
  customer_product_stickers: {
2228
2264
  Row: {
2265
+ content_hash: string | null;
2229
2266
  created_at: string;
2230
2267
  customer_key: string;
2231
2268
  file_name: string;
2232
2269
  file_path: string;
2233
2270
  file_size: number | null;
2271
+ floriday_sticker_id: string | null;
2272
+ floriday_synced_at: string | null;
2273
+ height_mm: number | null;
2234
2274
  id: string;
2235
2275
  mime_type: string | null;
2276
+ source: string;
2236
2277
  trade_item_key: string;
2237
2278
  updated_at: string;
2238
2279
  uploaded_by: string | null;
2280
+ width_mm: number | null;
2239
2281
  };
2240
2282
  Insert: {
2283
+ content_hash?: string | null;
2241
2284
  created_at?: string;
2242
2285
  customer_key: string;
2243
2286
  file_name: string;
2244
2287
  file_path: string;
2245
2288
  file_size?: number | null;
2289
+ floriday_sticker_id?: string | null;
2290
+ floriday_synced_at?: string | null;
2291
+ height_mm?: number | null;
2246
2292
  id?: string;
2247
2293
  mime_type?: string | null;
2294
+ source?: string;
2248
2295
  trade_item_key: string;
2249
2296
  updated_at?: string;
2250
2297
  uploaded_by?: string | null;
2298
+ width_mm?: number | null;
2251
2299
  };
2252
2300
  Update: {
2301
+ content_hash?: string | null;
2253
2302
  created_at?: string;
2254
2303
  customer_key?: string;
2255
2304
  file_name?: string;
2256
2305
  file_path?: string;
2257
2306
  file_size?: number | null;
2307
+ floriday_sticker_id?: string | null;
2308
+ floriday_synced_at?: string | null;
2309
+ height_mm?: number | null;
2258
2310
  id?: string;
2259
2311
  mime_type?: string | null;
2312
+ source?: string;
2260
2313
  trade_item_key?: string;
2261
2314
  updated_at?: string;
2262
2315
  uploaded_by?: string | null;
2316
+ width_mm?: number | null;
2263
2317
  };
2264
2318
  Relationships: [];
2265
2319
  };
@@ -11567,6 +11621,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
11567
11621
  Row: {
11568
11622
  actor: string | null;
11569
11623
  attempts: number;
11624
+ calc: import("../integrations/supabase/types").Json | null;
11570
11625
  cart_ref: string | null;
11571
11626
  created_at: string;
11572
11627
  db_action: string | null;
@@ -11577,6 +11632,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
11577
11632
  decision: string | null;
11578
11633
  duration_ms: number | null;
11579
11634
  error: string | null;
11635
+ error_class: string | null;
11580
11636
  external_action: string | null;
11581
11637
  external_ref: string | null;
11582
11638
  external_response: import("../integrations/supabase/types").Json | null;
@@ -11585,6 +11641,8 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
11585
11641
  id: string;
11586
11642
  input: import("../integrations/supabase/types").Json | null;
11587
11643
  next_attempt_at: string | null;
11644
+ next_step: string | null;
11645
+ node_id: string | null;
11588
11646
  order_ref: string | null;
11589
11647
  order_source: string | null;
11590
11648
  output: import("../integrations/supabase/types").Json | null;
@@ -11601,6 +11659,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
11601
11659
  Insert: {
11602
11660
  actor?: string | null;
11603
11661
  attempts?: number;
11662
+ calc?: import("../integrations/supabase/types").Json | null;
11604
11663
  cart_ref?: string | null;
11605
11664
  created_at?: string;
11606
11665
  db_action?: string | null;
@@ -11611,6 +11670,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
11611
11670
  decision?: string | null;
11612
11671
  duration_ms?: number | null;
11613
11672
  error?: string | null;
11673
+ error_class?: string | null;
11614
11674
  external_action?: string | null;
11615
11675
  external_ref?: string | null;
11616
11676
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11619,6 +11679,8 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
11619
11679
  id?: string;
11620
11680
  input?: import("../integrations/supabase/types").Json | null;
11621
11681
  next_attempt_at?: string | null;
11682
+ next_step?: string | null;
11683
+ node_id?: string | null;
11622
11684
  order_ref?: string | null;
11623
11685
  order_source?: string | null;
11624
11686
  output?: import("../integrations/supabase/types").Json | null;
@@ -11635,6 +11697,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
11635
11697
  Update: {
11636
11698
  actor?: string | null;
11637
11699
  attempts?: number;
11700
+ calc?: import("../integrations/supabase/types").Json | null;
11638
11701
  cart_ref?: string | null;
11639
11702
  created_at?: string;
11640
11703
  db_action?: string | null;
@@ -11645,6 +11708,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
11645
11708
  decision?: string | null;
11646
11709
  duration_ms?: number | null;
11647
11710
  error?: string | null;
11711
+ error_class?: string | null;
11648
11712
  external_action?: string | null;
11649
11713
  external_ref?: string | null;
11650
11714
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11653,6 +11717,8 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
11653
11717
  id?: string;
11654
11718
  input?: import("../integrations/supabase/types").Json | null;
11655
11719
  next_attempt_at?: string | null;
11720
+ next_step?: string | null;
11721
+ node_id?: string | null;
11656
11722
  order_ref?: string | null;
11657
11723
  order_source?: string | null;
11658
11724
  output?: import("../integrations/supabase/types").Json | null;
@@ -25157,12 +25223,37 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25157
25223
  };
25158
25224
  Returns: string;
25159
25225
  };
25226
+ logistics_trace_all_orders: {
25227
+ Args: {
25228
+ p_limit?: number;
25229
+ p_search?: string;
25230
+ };
25231
+ Returns: import("../integrations/supabase/types").Json;
25232
+ };
25160
25233
  logistics_trace_batch: {
25161
25234
  Args: {
25162
25235
  p: import("../integrations/supabase/types").Json;
25163
25236
  };
25164
25237
  Returns: number;
25165
25238
  };
25239
+ logistics_trace_order_overview: {
25240
+ Args: {
25241
+ p_error_class?: string;
25242
+ p_limit?: number;
25243
+ p_search?: string;
25244
+ p_since?: string;
25245
+ p_source?: string;
25246
+ p_state?: string;
25247
+ p_step?: string;
25248
+ };
25249
+ Returns: import("../integrations/supabase/types").Json;
25250
+ };
25251
+ logistics_trace_order_state: {
25252
+ Args: {
25253
+ p_order_ref: string;
25254
+ };
25255
+ Returns: import("../integrations/supabase/types").Json;
25256
+ };
25166
25257
  logistics_trace_orders: {
25167
25258
  Args: {
25168
25259
  p_limit?: number;
@@ -25185,6 +25276,22 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25185
25276
  };
25186
25277
  Returns: import("../integrations/supabase/types").Json;
25187
25278
  };
25279
+ logistics_trace_version_events: {
25280
+ Args: {
25281
+ p_from?: string;
25282
+ p_limit?: number;
25283
+ p_order_ref: string;
25284
+ p_to?: string;
25285
+ p_version_id: string;
25286
+ };
25287
+ Returns: import("../integrations/supabase/types").Json;
25288
+ };
25289
+ logistics_trace_versions: {
25290
+ Args: {
25291
+ p_order_ref: string;
25292
+ };
25293
+ Returns: import("../integrations/supabase/types").Json;
25294
+ };
25188
25295
  logistics_upsert_task: {
25189
25296
  Args: {
25190
25297
  p_buffer_ref: string;
@@ -29006,6 +29113,42 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
29006
29113
  };
29007
29114
  Relationships: [];
29008
29115
  };
29116
+ customer_assortment_items: {
29117
+ Row: {
29118
+ created_at: string;
29119
+ customer_key: string;
29120
+ id: string;
29121
+ in_assortment: boolean;
29122
+ manual_override: boolean;
29123
+ source: string;
29124
+ synced_at: string | null;
29125
+ trade_item_key: string;
29126
+ updated_at: string;
29127
+ };
29128
+ Insert: {
29129
+ created_at?: string;
29130
+ customer_key: string;
29131
+ id?: string;
29132
+ in_assortment?: boolean;
29133
+ manual_override?: boolean;
29134
+ source?: string;
29135
+ synced_at?: string | null;
29136
+ trade_item_key: string;
29137
+ updated_at?: string;
29138
+ };
29139
+ Update: {
29140
+ created_at?: string;
29141
+ customer_key?: string;
29142
+ id?: string;
29143
+ in_assortment?: boolean;
29144
+ manual_override?: boolean;
29145
+ source?: string;
29146
+ synced_at?: string | null;
29147
+ trade_item_key?: string;
29148
+ updated_at?: string;
29149
+ };
29150
+ Relationships: [];
29151
+ };
29009
29152
  customer_audit_log: {
29010
29153
  Row: {
29011
29154
  action: string;
@@ -29410,40 +29553,58 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
29410
29553
  };
29411
29554
  customer_product_stickers: {
29412
29555
  Row: {
29556
+ content_hash: string | null;
29413
29557
  created_at: string;
29414
29558
  customer_key: string;
29415
29559
  file_name: string;
29416
29560
  file_path: string;
29417
29561
  file_size: number | null;
29562
+ floriday_sticker_id: string | null;
29563
+ floriday_synced_at: string | null;
29564
+ height_mm: number | null;
29418
29565
  id: string;
29419
29566
  mime_type: string | null;
29567
+ source: string;
29420
29568
  trade_item_key: string;
29421
29569
  updated_at: string;
29422
29570
  uploaded_by: string | null;
29571
+ width_mm: number | null;
29423
29572
  };
29424
29573
  Insert: {
29574
+ content_hash?: string | null;
29425
29575
  created_at?: string;
29426
29576
  customer_key: string;
29427
29577
  file_name: string;
29428
29578
  file_path: string;
29429
29579
  file_size?: number | null;
29580
+ floriday_sticker_id?: string | null;
29581
+ floriday_synced_at?: string | null;
29582
+ height_mm?: number | null;
29430
29583
  id?: string;
29431
29584
  mime_type?: string | null;
29585
+ source?: string;
29432
29586
  trade_item_key: string;
29433
29587
  updated_at?: string;
29434
29588
  uploaded_by?: string | null;
29589
+ width_mm?: number | null;
29435
29590
  };
29436
29591
  Update: {
29592
+ content_hash?: string | null;
29437
29593
  created_at?: string;
29438
29594
  customer_key?: string;
29439
29595
  file_name?: string;
29440
29596
  file_path?: string;
29441
29597
  file_size?: number | null;
29598
+ floriday_sticker_id?: string | null;
29599
+ floriday_synced_at?: string | null;
29600
+ height_mm?: number | null;
29442
29601
  id?: string;
29443
29602
  mime_type?: string | null;
29603
+ source?: string;
29444
29604
  trade_item_key?: string;
29445
29605
  updated_at?: string;
29446
29606
  uploaded_by?: string | null;
29607
+ width_mm?: number | null;
29447
29608
  };
29448
29609
  Relationships: [];
29449
29610
  };
@@ -38751,6 +38912,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38751
38912
  Row: {
38752
38913
  actor: string | null;
38753
38914
  attempts: number;
38915
+ calc: import("../integrations/supabase/types").Json | null;
38754
38916
  cart_ref: string | null;
38755
38917
  created_at: string;
38756
38918
  db_action: string | null;
@@ -38761,6 +38923,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38761
38923
  decision: string | null;
38762
38924
  duration_ms: number | null;
38763
38925
  error: string | null;
38926
+ error_class: string | null;
38764
38927
  external_action: string | null;
38765
38928
  external_ref: string | null;
38766
38929
  external_response: import("../integrations/supabase/types").Json | null;
@@ -38769,6 +38932,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38769
38932
  id: string;
38770
38933
  input: import("../integrations/supabase/types").Json | null;
38771
38934
  next_attempt_at: string | null;
38935
+ next_step: string | null;
38936
+ node_id: string | null;
38772
38937
  order_ref: string | null;
38773
38938
  order_source: string | null;
38774
38939
  output: import("../integrations/supabase/types").Json | null;
@@ -38785,6 +38950,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38785
38950
  Insert: {
38786
38951
  actor?: string | null;
38787
38952
  attempts?: number;
38953
+ calc?: import("../integrations/supabase/types").Json | null;
38788
38954
  cart_ref?: string | null;
38789
38955
  created_at?: string;
38790
38956
  db_action?: string | null;
@@ -38795,6 +38961,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38795
38961
  decision?: string | null;
38796
38962
  duration_ms?: number | null;
38797
38963
  error?: string | null;
38964
+ error_class?: string | null;
38798
38965
  external_action?: string | null;
38799
38966
  external_ref?: string | null;
38800
38967
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38803,6 +38970,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38803
38970
  id?: string;
38804
38971
  input?: import("../integrations/supabase/types").Json | null;
38805
38972
  next_attempt_at?: string | null;
38973
+ next_step?: string | null;
38974
+ node_id?: string | null;
38806
38975
  order_ref?: string | null;
38807
38976
  order_source?: string | null;
38808
38977
  output?: import("../integrations/supabase/types").Json | null;
@@ -38819,6 +38988,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38819
38988
  Update: {
38820
38989
  actor?: string | null;
38821
38990
  attempts?: number;
38991
+ calc?: import("../integrations/supabase/types").Json | null;
38822
38992
  cart_ref?: string | null;
38823
38993
  created_at?: string;
38824
38994
  db_action?: string | null;
@@ -38829,6 +38999,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38829
38999
  decision?: string | null;
38830
39000
  duration_ms?: number | null;
38831
39001
  error?: string | null;
39002
+ error_class?: string | null;
38832
39003
  external_action?: string | null;
38833
39004
  external_ref?: string | null;
38834
39005
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38837,6 +39008,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38837
39008
  id?: string;
38838
39009
  input?: import("../integrations/supabase/types").Json | null;
38839
39010
  next_attempt_at?: string | null;
39011
+ next_step?: string | null;
39012
+ node_id?: string | null;
38840
39013
  order_ref?: string | null;
38841
39014
  order_source?: string | null;
38842
39015
  output?: import("../integrations/supabase/types").Json | null;
@@ -52341,12 +52514,37 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
52341
52514
  };
52342
52515
  Returns: string;
52343
52516
  };
52517
+ logistics_trace_all_orders: {
52518
+ Args: {
52519
+ p_limit?: number;
52520
+ p_search?: string;
52521
+ };
52522
+ Returns: import("../integrations/supabase/types").Json;
52523
+ };
52344
52524
  logistics_trace_batch: {
52345
52525
  Args: {
52346
52526
  p: import("../integrations/supabase/types").Json;
52347
52527
  };
52348
52528
  Returns: number;
52349
52529
  };
52530
+ logistics_trace_order_overview: {
52531
+ Args: {
52532
+ p_error_class?: string;
52533
+ p_limit?: number;
52534
+ p_search?: string;
52535
+ p_since?: string;
52536
+ p_source?: string;
52537
+ p_state?: string;
52538
+ p_step?: string;
52539
+ };
52540
+ Returns: import("../integrations/supabase/types").Json;
52541
+ };
52542
+ logistics_trace_order_state: {
52543
+ Args: {
52544
+ p_order_ref: string;
52545
+ };
52546
+ Returns: import("../integrations/supabase/types").Json;
52547
+ };
52350
52548
  logistics_trace_orders: {
52351
52549
  Args: {
52352
52550
  p_limit?: number;
@@ -52369,6 +52567,22 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
52369
52567
  };
52370
52568
  Returns: import("../integrations/supabase/types").Json;
52371
52569
  };
52570
+ logistics_trace_version_events: {
52571
+ Args: {
52572
+ p_from?: string;
52573
+ p_limit?: number;
52574
+ p_order_ref: string;
52575
+ p_to?: string;
52576
+ p_version_id: string;
52577
+ };
52578
+ Returns: import("../integrations/supabase/types").Json;
52579
+ };
52580
+ logistics_trace_versions: {
52581
+ Args: {
52582
+ p_order_ref: string;
52583
+ };
52584
+ Returns: import("../integrations/supabase/types").Json;
52585
+ };
52372
52586
  logistics_upsert_task: {
52373
52587
  Args: {
52374
52588
  p_buffer_ref: string;