@flowselections/floriday-voorraad 1.0.44 → 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 +84 -0
  7. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  8. package/dist-lib/integrations/supabase/client.d.ts +84 -0
  9. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  10. package/dist-lib/integrations/supabase/client.server.d.ts +84 -0
  11. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  12. package/dist-lib/integrations/supabase/types.d.ts +84 -0
  13. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  14. package/dist-lib/lib/floricode-required-features.functions.d.ts +84 -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 +84 -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 +168 -0
  19. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/floriday-gateway.functions.d.ts +504 -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 +168 -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 +252 -0
  25. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floriday-writes.functions.d.ts +168 -0
  27. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/inventory-settings.functions.d.ts +168 -0
  29. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/stock-sync.functions.d.ts +168 -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 retryFailedStockSync: import("@tanstack/start-client-core")
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 retryFailedStockSync: import("@tanstack/start-client-core")
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 retryFailedStockSync: import("@tanstack/start-client-core")
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 retryFailedStockSync: import("@tanstack/start-client-core")
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 retryFailedStockSync: import("@tanstack/start-client-core")
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 retryFailedStockSync: import("@tanstack/start-client-core")
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 retryFailedStockSync: import("@tanstack/start-client-core")
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 retryFailedStockSync: import("@tanstack/start-client-core")
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 retryFailedStockSync: import("@tanstack/start-client-core")
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 retryFailedStockSync: import("@tanstack/start-client-core")
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 retryFailedStockSync: import("@tanstack/start-client-core")
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;
@@ -25170,6 +25236,24 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
25170
25236
  };
25171
25237
  Returns: number;
25172
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
+ };
25173
25257
  logistics_trace_orders: {
25174
25258
  Args: {
25175
25259
  p_limit?: number;
@@ -29033,6 +29117,42 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
29033
29117
  };
29034
29118
  Relationships: [];
29035
29119
  };
29120
+ customer_assortment_items: {
29121
+ Row: {
29122
+ created_at: string;
29123
+ customer_key: string;
29124
+ id: string;
29125
+ in_assortment: boolean;
29126
+ manual_override: boolean;
29127
+ source: string;
29128
+ synced_at: string | null;
29129
+ trade_item_key: string;
29130
+ updated_at: string;
29131
+ };
29132
+ Insert: {
29133
+ created_at?: string;
29134
+ customer_key: string;
29135
+ id?: string;
29136
+ in_assortment?: boolean;
29137
+ manual_override?: boolean;
29138
+ source?: string;
29139
+ synced_at?: string | null;
29140
+ trade_item_key: string;
29141
+ updated_at?: string;
29142
+ };
29143
+ Update: {
29144
+ created_at?: string;
29145
+ customer_key?: string;
29146
+ id?: string;
29147
+ in_assortment?: boolean;
29148
+ manual_override?: boolean;
29149
+ source?: string;
29150
+ synced_at?: string | null;
29151
+ trade_item_key?: string;
29152
+ updated_at?: string;
29153
+ };
29154
+ Relationships: [];
29155
+ };
29036
29156
  customer_audit_log: {
29037
29157
  Row: {
29038
29158
  action: string;
@@ -29437,40 +29557,58 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
29437
29557
  };
29438
29558
  customer_product_stickers: {
29439
29559
  Row: {
29560
+ content_hash: string | null;
29440
29561
  created_at: string;
29441
29562
  customer_key: string;
29442
29563
  file_name: string;
29443
29564
  file_path: string;
29444
29565
  file_size: number | null;
29566
+ floriday_sticker_id: string | null;
29567
+ floriday_synced_at: string | null;
29568
+ height_mm: number | null;
29445
29569
  id: string;
29446
29570
  mime_type: string | null;
29571
+ source: string;
29447
29572
  trade_item_key: string;
29448
29573
  updated_at: string;
29449
29574
  uploaded_by: string | null;
29575
+ width_mm: number | null;
29450
29576
  };
29451
29577
  Insert: {
29578
+ content_hash?: string | null;
29452
29579
  created_at?: string;
29453
29580
  customer_key: string;
29454
29581
  file_name: string;
29455
29582
  file_path: string;
29456
29583
  file_size?: number | null;
29584
+ floriday_sticker_id?: string | null;
29585
+ floriday_synced_at?: string | null;
29586
+ height_mm?: number | null;
29457
29587
  id?: string;
29458
29588
  mime_type?: string | null;
29589
+ source?: string;
29459
29590
  trade_item_key: string;
29460
29591
  updated_at?: string;
29461
29592
  uploaded_by?: string | null;
29593
+ width_mm?: number | null;
29462
29594
  };
29463
29595
  Update: {
29596
+ content_hash?: string | null;
29464
29597
  created_at?: string;
29465
29598
  customer_key?: string;
29466
29599
  file_name?: string;
29467
29600
  file_path?: string;
29468
29601
  file_size?: number | null;
29602
+ floriday_sticker_id?: string | null;
29603
+ floriday_synced_at?: string | null;
29604
+ height_mm?: number | null;
29469
29605
  id?: string;
29470
29606
  mime_type?: string | null;
29607
+ source?: string;
29471
29608
  trade_item_key?: string;
29472
29609
  updated_at?: string;
29473
29610
  uploaded_by?: string | null;
29611
+ width_mm?: number | null;
29474
29612
  };
29475
29613
  Relationships: [];
29476
29614
  };
@@ -38778,6 +38916,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
38778
38916
  Row: {
38779
38917
  actor: string | null;
38780
38918
  attempts: number;
38919
+ calc: import("../integrations/supabase/types").Json | null;
38781
38920
  cart_ref: string | null;
38782
38921
  created_at: string;
38783
38922
  db_action: string | null;
@@ -38788,6 +38927,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
38788
38927
  decision: string | null;
38789
38928
  duration_ms: number | null;
38790
38929
  error: string | null;
38930
+ error_class: string | null;
38791
38931
  external_action: string | null;
38792
38932
  external_ref: string | null;
38793
38933
  external_response: import("../integrations/supabase/types").Json | null;
@@ -38796,6 +38936,8 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
38796
38936
  id: string;
38797
38937
  input: import("../integrations/supabase/types").Json | null;
38798
38938
  next_attempt_at: string | null;
38939
+ next_step: string | null;
38940
+ node_id: string | null;
38799
38941
  order_ref: string | null;
38800
38942
  order_source: string | null;
38801
38943
  output: import("../integrations/supabase/types").Json | null;
@@ -38812,6 +38954,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
38812
38954
  Insert: {
38813
38955
  actor?: string | null;
38814
38956
  attempts?: number;
38957
+ calc?: import("../integrations/supabase/types").Json | null;
38815
38958
  cart_ref?: string | null;
38816
38959
  created_at?: string;
38817
38960
  db_action?: string | null;
@@ -38822,6 +38965,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
38822
38965
  decision?: string | null;
38823
38966
  duration_ms?: number | null;
38824
38967
  error?: string | null;
38968
+ error_class?: string | null;
38825
38969
  external_action?: string | null;
38826
38970
  external_ref?: string | null;
38827
38971
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38830,6 +38974,8 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
38830
38974
  id?: string;
38831
38975
  input?: import("../integrations/supabase/types").Json | null;
38832
38976
  next_attempt_at?: string | null;
38977
+ next_step?: string | null;
38978
+ node_id?: string | null;
38833
38979
  order_ref?: string | null;
38834
38980
  order_source?: string | null;
38835
38981
  output?: import("../integrations/supabase/types").Json | null;
@@ -38846,6 +38992,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
38846
38992
  Update: {
38847
38993
  actor?: string | null;
38848
38994
  attempts?: number;
38995
+ calc?: import("../integrations/supabase/types").Json | null;
38849
38996
  cart_ref?: string | null;
38850
38997
  created_at?: string;
38851
38998
  db_action?: string | null;
@@ -38856,6 +39003,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
38856
39003
  decision?: string | null;
38857
39004
  duration_ms?: number | null;
38858
39005
  error?: string | null;
39006
+ error_class?: string | null;
38859
39007
  external_action?: string | null;
38860
39008
  external_ref?: string | null;
38861
39009
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38864,6 +39012,8 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
38864
39012
  id?: string;
38865
39013
  input?: import("../integrations/supabase/types").Json | null;
38866
39014
  next_attempt_at?: string | null;
39015
+ next_step?: string | null;
39016
+ node_id?: string | null;
38867
39017
  order_ref?: string | null;
38868
39018
  order_source?: string | null;
38869
39019
  output?: import("../integrations/supabase/types").Json | null;
@@ -52381,6 +52531,24 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
52381
52531
  };
52382
52532
  Returns: number;
52383
52533
  };
52534
+ logistics_trace_order_overview: {
52535
+ Args: {
52536
+ p_error_class?: string;
52537
+ p_limit?: number;
52538
+ p_search?: string;
52539
+ p_since?: string;
52540
+ p_source?: string;
52541
+ p_state?: string;
52542
+ p_step?: string;
52543
+ };
52544
+ Returns: import("../integrations/supabase/types").Json;
52545
+ };
52546
+ logistics_trace_order_state: {
52547
+ Args: {
52548
+ p_order_ref: string;
52549
+ };
52550
+ Returns: import("../integrations/supabase/types").Json;
52551
+ };
52384
52552
  logistics_trace_orders: {
52385
52553
  Args: {
52386
52554
  p_limit?: number;