@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
@@ -1833,6 +1833,42 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
1833
1833
  };
1834
1834
  Relationships: [];
1835
1835
  };
1836
+ customer_assortment_items: {
1837
+ Row: {
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
+ Insert: {
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
+ Update: {
1860
+ created_at?: string;
1861
+ customer_key?: string;
1862
+ id?: string;
1863
+ in_assortment?: boolean;
1864
+ manual_override?: boolean;
1865
+ source?: string;
1866
+ synced_at?: string | null;
1867
+ trade_item_key?: string;
1868
+ updated_at?: string;
1869
+ };
1870
+ Relationships: [];
1871
+ };
1836
1872
  customer_audit_log: {
1837
1873
  Row: {
1838
1874
  action: string;
@@ -2237,40 +2273,58 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
2237
2273
  };
2238
2274
  customer_product_stickers: {
2239
2275
  Row: {
2276
+ content_hash: string | null;
2240
2277
  created_at: string;
2241
2278
  customer_key: string;
2242
2279
  file_name: string;
2243
2280
  file_path: string;
2244
2281
  file_size: number | null;
2282
+ floriday_sticker_id: string | null;
2283
+ floriday_synced_at: string | null;
2284
+ height_mm: number | null;
2245
2285
  id: string;
2246
2286
  mime_type: string | null;
2287
+ source: string;
2247
2288
  trade_item_key: string;
2248
2289
  updated_at: string;
2249
2290
  uploaded_by: string | null;
2291
+ width_mm: number | null;
2250
2292
  };
2251
2293
  Insert: {
2294
+ content_hash?: string | null;
2252
2295
  created_at?: string;
2253
2296
  customer_key: string;
2254
2297
  file_name: string;
2255
2298
  file_path: string;
2256
2299
  file_size?: number | null;
2300
+ floriday_sticker_id?: string | null;
2301
+ floriday_synced_at?: string | null;
2302
+ height_mm?: number | null;
2257
2303
  id?: string;
2258
2304
  mime_type?: string | null;
2305
+ source?: string;
2259
2306
  trade_item_key: string;
2260
2307
  updated_at?: string;
2261
2308
  uploaded_by?: string | null;
2309
+ width_mm?: number | null;
2262
2310
  };
2263
2311
  Update: {
2312
+ content_hash?: string | null;
2264
2313
  created_at?: string;
2265
2314
  customer_key?: string;
2266
2315
  file_name?: string;
2267
2316
  file_path?: string;
2268
2317
  file_size?: number | null;
2318
+ floriday_sticker_id?: string | null;
2319
+ floriday_synced_at?: string | null;
2320
+ height_mm?: number | null;
2269
2321
  id?: string;
2270
2322
  mime_type?: string | null;
2323
+ source?: string;
2271
2324
  trade_item_key?: string;
2272
2325
  updated_at?: string;
2273
2326
  uploaded_by?: string | null;
2327
+ width_mm?: number | null;
2274
2328
  };
2275
2329
  Relationships: [];
2276
2330
  };
@@ -11578,6 +11632,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
11578
11632
  Row: {
11579
11633
  actor: string | null;
11580
11634
  attempts: number;
11635
+ calc: import("../integrations/supabase/types").Json | null;
11581
11636
  cart_ref: string | null;
11582
11637
  created_at: string;
11583
11638
  db_action: string | null;
@@ -11588,6 +11643,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
11588
11643
  decision: string | null;
11589
11644
  duration_ms: number | null;
11590
11645
  error: string | null;
11646
+ error_class: string | null;
11591
11647
  external_action: string | null;
11592
11648
  external_ref: string | null;
11593
11649
  external_response: import("../integrations/supabase/types").Json | null;
@@ -11596,6 +11652,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
11596
11652
  id: string;
11597
11653
  input: import("../integrations/supabase/types").Json | null;
11598
11654
  next_attempt_at: string | null;
11655
+ next_step: string | null;
11656
+ node_id: string | null;
11599
11657
  order_ref: string | null;
11600
11658
  order_source: string | null;
11601
11659
  output: import("../integrations/supabase/types").Json | null;
@@ -11612,6 +11670,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
11612
11670
  Insert: {
11613
11671
  actor?: string | null;
11614
11672
  attempts?: number;
11673
+ calc?: import("../integrations/supabase/types").Json | null;
11615
11674
  cart_ref?: string | null;
11616
11675
  created_at?: string;
11617
11676
  db_action?: string | null;
@@ -11622,6 +11681,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
11622
11681
  decision?: string | null;
11623
11682
  duration_ms?: number | null;
11624
11683
  error?: string | null;
11684
+ error_class?: string | null;
11625
11685
  external_action?: string | null;
11626
11686
  external_ref?: string | null;
11627
11687
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11630,6 +11690,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
11630
11690
  id?: string;
11631
11691
  input?: import("../integrations/supabase/types").Json | null;
11632
11692
  next_attempt_at?: string | null;
11693
+ next_step?: string | null;
11694
+ node_id?: string | null;
11633
11695
  order_ref?: string | null;
11634
11696
  order_source?: string | null;
11635
11697
  output?: import("../integrations/supabase/types").Json | null;
@@ -11646,6 +11708,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
11646
11708
  Update: {
11647
11709
  actor?: string | null;
11648
11710
  attempts?: number;
11711
+ calc?: import("../integrations/supabase/types").Json | null;
11649
11712
  cart_ref?: string | null;
11650
11713
  created_at?: string;
11651
11714
  db_action?: string | null;
@@ -11656,6 +11719,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
11656
11719
  decision?: string | null;
11657
11720
  duration_ms?: number | null;
11658
11721
  error?: string | null;
11722
+ error_class?: string | null;
11659
11723
  external_action?: string | null;
11660
11724
  external_ref?: string | null;
11661
11725
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11664,6 +11728,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
11664
11728
  id?: string;
11665
11729
  input?: import("../integrations/supabase/types").Json | null;
11666
11730
  next_attempt_at?: string | null;
11731
+ next_step?: string | null;
11732
+ node_id?: string | null;
11667
11733
  order_ref?: string | null;
11668
11734
  order_source?: string | null;
11669
11735
  output?: import("../integrations/supabase/types").Json | null;
@@ -25168,12 +25234,37 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
25168
25234
  };
25169
25235
  Returns: string;
25170
25236
  };
25237
+ logistics_trace_all_orders: {
25238
+ Args: {
25239
+ p_limit?: number;
25240
+ p_search?: string;
25241
+ };
25242
+ Returns: import("../integrations/supabase/types").Json;
25243
+ };
25171
25244
  logistics_trace_batch: {
25172
25245
  Args: {
25173
25246
  p: import("../integrations/supabase/types").Json;
25174
25247
  };
25175
25248
  Returns: number;
25176
25249
  };
25250
+ logistics_trace_order_overview: {
25251
+ Args: {
25252
+ p_error_class?: string;
25253
+ p_limit?: number;
25254
+ p_search?: string;
25255
+ p_since?: string;
25256
+ p_source?: string;
25257
+ p_state?: string;
25258
+ p_step?: string;
25259
+ };
25260
+ Returns: import("../integrations/supabase/types").Json;
25261
+ };
25262
+ logistics_trace_order_state: {
25263
+ Args: {
25264
+ p_order_ref: string;
25265
+ };
25266
+ Returns: import("../integrations/supabase/types").Json;
25267
+ };
25177
25268
  logistics_trace_orders: {
25178
25269
  Args: {
25179
25270
  p_limit?: number;
@@ -25196,6 +25287,22 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
25196
25287
  };
25197
25288
  Returns: import("../integrations/supabase/types").Json;
25198
25289
  };
25290
+ logistics_trace_version_events: {
25291
+ Args: {
25292
+ p_from?: string;
25293
+ p_limit?: number;
25294
+ p_order_ref: string;
25295
+ p_to?: string;
25296
+ p_version_id: string;
25297
+ };
25298
+ Returns: import("../integrations/supabase/types").Json;
25299
+ };
25300
+ logistics_trace_versions: {
25301
+ Args: {
25302
+ p_order_ref: string;
25303
+ };
25304
+ Returns: import("../integrations/supabase/types").Json;
25305
+ };
25199
25306
  logistics_upsert_task: {
25200
25307
  Args: {
25201
25308
  p_buffer_ref: string;
@@ -29014,6 +29121,42 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
29014
29121
  };
29015
29122
  Relationships: [];
29016
29123
  };
29124
+ customer_assortment_items: {
29125
+ Row: {
29126
+ created_at: string;
29127
+ customer_key: string;
29128
+ id: string;
29129
+ in_assortment: boolean;
29130
+ manual_override: boolean;
29131
+ source: string;
29132
+ synced_at: string | null;
29133
+ trade_item_key: string;
29134
+ updated_at: string;
29135
+ };
29136
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
29159
+ };
29017
29160
  customer_audit_log: {
29018
29161
  Row: {
29019
29162
  action: string;
@@ -29418,40 +29561,58 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
29418
29561
  };
29419
29562
  customer_product_stickers: {
29420
29563
  Row: {
29564
+ content_hash: string | null;
29421
29565
  created_at: string;
29422
29566
  customer_key: string;
29423
29567
  file_name: string;
29424
29568
  file_path: string;
29425
29569
  file_size: number | null;
29570
+ floriday_sticker_id: string | null;
29571
+ floriday_synced_at: string | null;
29572
+ height_mm: number | null;
29426
29573
  id: string;
29427
29574
  mime_type: string | null;
29575
+ source: string;
29428
29576
  trade_item_key: string;
29429
29577
  updated_at: string;
29430
29578
  uploaded_by: string | null;
29579
+ width_mm: number | null;
29431
29580
  };
29432
29581
  Insert: {
29582
+ content_hash?: string | null;
29433
29583
  created_at?: string;
29434
29584
  customer_key: string;
29435
29585
  file_name: string;
29436
29586
  file_path: string;
29437
29587
  file_size?: number | null;
29588
+ floriday_sticker_id?: string | null;
29589
+ floriday_synced_at?: string | null;
29590
+ height_mm?: number | null;
29438
29591
  id?: string;
29439
29592
  mime_type?: string | null;
29593
+ source?: string;
29440
29594
  trade_item_key: string;
29441
29595
  updated_at?: string;
29442
29596
  uploaded_by?: string | null;
29597
+ width_mm?: number | null;
29443
29598
  };
29444
29599
  Update: {
29600
+ content_hash?: string | null;
29445
29601
  created_at?: string;
29446
29602
  customer_key?: string;
29447
29603
  file_name?: string;
29448
29604
  file_path?: string;
29449
29605
  file_size?: number | null;
29606
+ floriday_sticker_id?: string | null;
29607
+ floriday_synced_at?: string | null;
29608
+ height_mm?: number | null;
29450
29609
  id?: string;
29451
29610
  mime_type?: string | null;
29611
+ source?: string;
29452
29612
  trade_item_key?: string;
29453
29613
  updated_at?: string;
29454
29614
  uploaded_by?: string | null;
29615
+ width_mm?: number | null;
29455
29616
  };
29456
29617
  Relationships: [];
29457
29618
  };
@@ -38759,6 +38920,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
38759
38920
  Row: {
38760
38921
  actor: string | null;
38761
38922
  attempts: number;
38923
+ calc: import("../integrations/supabase/types").Json | null;
38762
38924
  cart_ref: string | null;
38763
38925
  created_at: string;
38764
38926
  db_action: string | null;
@@ -38769,6 +38931,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
38769
38931
  decision: string | null;
38770
38932
  duration_ms: number | null;
38771
38933
  error: string | null;
38934
+ error_class: string | null;
38772
38935
  external_action: string | null;
38773
38936
  external_ref: string | null;
38774
38937
  external_response: import("../integrations/supabase/types").Json | null;
@@ -38777,6 +38940,8 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
38777
38940
  id: string;
38778
38941
  input: import("../integrations/supabase/types").Json | null;
38779
38942
  next_attempt_at: string | null;
38943
+ next_step: string | null;
38944
+ node_id: string | null;
38780
38945
  order_ref: string | null;
38781
38946
  order_source: string | null;
38782
38947
  output: import("../integrations/supabase/types").Json | null;
@@ -38793,6 +38958,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
38793
38958
  Insert: {
38794
38959
  actor?: string | null;
38795
38960
  attempts?: number;
38961
+ calc?: import("../integrations/supabase/types").Json | null;
38796
38962
  cart_ref?: string | null;
38797
38963
  created_at?: string;
38798
38964
  db_action?: string | null;
@@ -38803,6 +38969,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
38803
38969
  decision?: string | null;
38804
38970
  duration_ms?: number | null;
38805
38971
  error?: string | null;
38972
+ error_class?: string | null;
38806
38973
  external_action?: string | null;
38807
38974
  external_ref?: string | null;
38808
38975
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38811,6 +38978,8 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
38811
38978
  id?: string;
38812
38979
  input?: import("../integrations/supabase/types").Json | null;
38813
38980
  next_attempt_at?: string | null;
38981
+ next_step?: string | null;
38982
+ node_id?: string | null;
38814
38983
  order_ref?: string | null;
38815
38984
  order_source?: string | null;
38816
38985
  output?: import("../integrations/supabase/types").Json | null;
@@ -38827,6 +38996,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
38827
38996
  Update: {
38828
38997
  actor?: string | null;
38829
38998
  attempts?: number;
38999
+ calc?: import("../integrations/supabase/types").Json | null;
38830
39000
  cart_ref?: string | null;
38831
39001
  created_at?: string;
38832
39002
  db_action?: string | null;
@@ -38837,6 +39007,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
38837
39007
  decision?: string | null;
38838
39008
  duration_ms?: number | null;
38839
39009
  error?: string | null;
39010
+ error_class?: string | null;
38840
39011
  external_action?: string | null;
38841
39012
  external_ref?: string | null;
38842
39013
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -38845,6 +39016,8 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
38845
39016
  id?: string;
38846
39017
  input?: import("../integrations/supabase/types").Json | null;
38847
39018
  next_attempt_at?: string | null;
39019
+ next_step?: string | null;
39020
+ node_id?: string | null;
38848
39021
  order_ref?: string | null;
38849
39022
  order_source?: string | null;
38850
39023
  output?: import("../integrations/supabase/types").Json | null;
@@ -52349,12 +52522,37 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
52349
52522
  };
52350
52523
  Returns: string;
52351
52524
  };
52525
+ logistics_trace_all_orders: {
52526
+ Args: {
52527
+ p_limit?: number;
52528
+ p_search?: string;
52529
+ };
52530
+ Returns: import("../integrations/supabase/types").Json;
52531
+ };
52352
52532
  logistics_trace_batch: {
52353
52533
  Args: {
52354
52534
  p: import("../integrations/supabase/types").Json;
52355
52535
  };
52356
52536
  Returns: number;
52357
52537
  };
52538
+ logistics_trace_order_overview: {
52539
+ Args: {
52540
+ p_error_class?: string;
52541
+ p_limit?: number;
52542
+ p_search?: string;
52543
+ p_since?: string;
52544
+ p_source?: string;
52545
+ p_state?: string;
52546
+ p_step?: string;
52547
+ };
52548
+ Returns: import("../integrations/supabase/types").Json;
52549
+ };
52550
+ logistics_trace_order_state: {
52551
+ Args: {
52552
+ p_order_ref: string;
52553
+ };
52554
+ Returns: import("../integrations/supabase/types").Json;
52555
+ };
52358
52556
  logistics_trace_orders: {
52359
52557
  Args: {
52360
52558
  p_limit?: number;
@@ -52377,6 +52575,22 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
52377
52575
  };
52378
52576
  Returns: import("../integrations/supabase/types").Json;
52379
52577
  };
52578
+ logistics_trace_version_events: {
52579
+ Args: {
52580
+ p_from?: string;
52581
+ p_limit?: number;
52582
+ p_order_ref: string;
52583
+ p_to?: string;
52584
+ p_version_id: string;
52585
+ };
52586
+ Returns: import("../integrations/supabase/types").Json;
52587
+ };
52588
+ logistics_trace_versions: {
52589
+ Args: {
52590
+ p_order_ref: string;
52591
+ };
52592
+ Returns: import("../integrations/supabase/types").Json;
52593
+ };
52380
52594
  logistics_upsert_task: {
52381
52595
  Args: {
52382
52596
  p_buffer_ref: string;