@flowselections/floriday-klanten-module 1.0.36 → 1.0.37

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 (67) hide show
  1. package/dist-lib/components/klanten/BulkStickerUploadDialog.d.ts.map +1 -1
  2. package/dist-lib/components/klanten/BulkStickerUploadDialog.js +30 -8
  3. package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts.map +1 -1
  4. package/dist-lib/components/klanten/CustomerAssortmentTab.js +48 -10
  5. package/dist-lib/integrations/supabase/auth-middleware.d.ts +129 -0
  6. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/client.d.ts +129 -0
  8. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/client.server.d.ts +129 -0
  10. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  11. package/dist-lib/integrations/supabase/types.d.ts +129 -0
  12. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  13. package/dist-lib/lib/accounting/twinfield/client.server.d.ts +7 -8
  14. package/dist-lib/lib/accounting/twinfield/client.server.d.ts.map +1 -1
  15. package/dist-lib/lib/accounting/twinfield/client.server.js +147 -78
  16. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +387 -0
  17. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/accounting/twinfield/worker.server.d.ts.map +1 -1
  19. package/dist-lib/lib/accounting/twinfield/worker.server.js +17 -0
  20. package/dist-lib/lib/accounting.functions.d.ts +387 -0
  21. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/customer-analytics.functions.d.ts +129 -0
  23. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/customer-assortment.functions.d.ts +132 -3
  25. package/dist-lib/lib/customer-assortment.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/customer-assortment.functions.js +12 -0
  27. package/dist-lib/lib/customer-notes.functions.d.ts +258 -0
  28. package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/customer-revenue.functions.d.ts +129 -0
  30. package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/customer-stickers.functions.d.ts +1165 -0
  32. package/dist-lib/lib/customer-stickers.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/customer-stickers.functions.js +122 -75
  34. package/dist-lib/lib/customers.functions.d.ts +1161 -0
  35. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/delivery-locations.functions.d.ts +645 -0
  37. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/external-customers.functions.d.ts +516 -0
  39. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/floriday-assortment.functions.d.ts +129 -0
  41. package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/floriday-discounts.functions.d.ts +258 -0
  43. package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/floriday-price-import.functions.d.ts +258 -0
  45. package/dist-lib/lib/floriday-price-import.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/floriday-sticker-import.functions.d.ts +27323 -0
  47. package/dist-lib/lib/floriday-sticker-import.functions.d.ts.map +1 -0
  48. package/dist-lib/lib/floriday-sticker-import.functions.js +307 -0
  49. package/dist-lib/lib/floriday-trade-items.functions.d.ts +129 -0
  50. package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/local-discounts.functions.d.ts +903 -0
  52. package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
  53. package/dist-lib/lib/logistics-events.functions.d.ts +129 -0
  54. package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
  55. package/dist-lib/lib/logistics-strategy.functions.d.ts +516 -0
  56. package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
  57. package/dist-lib/lib/overdue-invoices.functions.d.ts +129 -0
  58. package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
  59. package/dist-lib/lib/price-groups-local.functions.d.ts +1677 -0
  60. package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
  61. package/dist-lib/lib/price-groups.functions.d.ts +129 -0
  62. package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
  63. package/dist-lib/lib/twinfield-adopt.functions.d.ts +258 -0
  64. package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
  65. package/dist-lib/lib/twinfield-ledger.functions.d.ts +129 -0
  66. package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
  67. package/package.json +2 -2
@@ -1850,6 +1850,42 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
1850
1850
  };
1851
1851
  Relationships: [];
1852
1852
  };
1853
+ customer_assortment_items: {
1854
+ Row: {
1855
+ created_at: string;
1856
+ customer_key: string;
1857
+ id: string;
1858
+ in_assortment: boolean;
1859
+ manual_override: boolean;
1860
+ source: string;
1861
+ synced_at: string | null;
1862
+ trade_item_key: string;
1863
+ updated_at: string;
1864
+ };
1865
+ Insert: {
1866
+ created_at?: string;
1867
+ customer_key: string;
1868
+ id?: string;
1869
+ in_assortment?: boolean;
1870
+ manual_override?: boolean;
1871
+ source?: string;
1872
+ synced_at?: string | null;
1873
+ trade_item_key: string;
1874
+ updated_at?: string;
1875
+ };
1876
+ Update: {
1877
+ created_at?: string;
1878
+ customer_key?: string;
1879
+ id?: string;
1880
+ in_assortment?: boolean;
1881
+ manual_override?: boolean;
1882
+ source?: string;
1883
+ synced_at?: string | null;
1884
+ trade_item_key?: string;
1885
+ updated_at?: string;
1886
+ };
1887
+ Relationships: [];
1888
+ };
1853
1889
  customer_audit_log: {
1854
1890
  Row: {
1855
1891
  action: string;
@@ -2254,40 +2290,58 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
2254
2290
  };
2255
2291
  customer_product_stickers: {
2256
2292
  Row: {
2293
+ content_hash: string | null;
2257
2294
  created_at: string;
2258
2295
  customer_key: string;
2259
2296
  file_name: string;
2260
2297
  file_path: string;
2261
2298
  file_size: number | null;
2299
+ floriday_sticker_id: string | null;
2300
+ floriday_synced_at: string | null;
2301
+ height_mm: number | null;
2262
2302
  id: string;
2263
2303
  mime_type: string | null;
2304
+ source: string;
2264
2305
  trade_item_key: string;
2265
2306
  updated_at: string;
2266
2307
  uploaded_by: string | null;
2308
+ width_mm: number | null;
2267
2309
  };
2268
2310
  Insert: {
2311
+ content_hash?: string | null;
2269
2312
  created_at?: string;
2270
2313
  customer_key: string;
2271
2314
  file_name: string;
2272
2315
  file_path: string;
2273
2316
  file_size?: number | null;
2317
+ floriday_sticker_id?: string | null;
2318
+ floriday_synced_at?: string | null;
2319
+ height_mm?: number | null;
2274
2320
  id?: string;
2275
2321
  mime_type?: string | null;
2322
+ source?: string;
2276
2323
  trade_item_key: string;
2277
2324
  updated_at?: string;
2278
2325
  uploaded_by?: string | null;
2326
+ width_mm?: number | null;
2279
2327
  };
2280
2328
  Update: {
2329
+ content_hash?: string | null;
2281
2330
  created_at?: string;
2282
2331
  customer_key?: string;
2283
2332
  file_name?: string;
2284
2333
  file_path?: string;
2285
2334
  file_size?: number | null;
2335
+ floriday_sticker_id?: string | null;
2336
+ floriday_synced_at?: string | null;
2337
+ height_mm?: number | null;
2286
2338
  id?: string;
2287
2339
  mime_type?: string | null;
2340
+ source?: string;
2288
2341
  trade_item_key?: string;
2289
2342
  updated_at?: string;
2290
2343
  uploaded_by?: string | null;
2344
+ width_mm?: number | null;
2291
2345
  };
2292
2346
  Relationships: [];
2293
2347
  };
@@ -11595,6 +11649,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11595
11649
  Row: {
11596
11650
  actor: string | null;
11597
11651
  attempts: number;
11652
+ calc: import("../integrations/supabase/types").Json | null;
11598
11653
  cart_ref: string | null;
11599
11654
  created_at: string;
11600
11655
  db_action: string | null;
@@ -11605,6 +11660,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11605
11660
  decision: string | null;
11606
11661
  duration_ms: number | null;
11607
11662
  error: string | null;
11663
+ error_class: string | null;
11608
11664
  external_action: string | null;
11609
11665
  external_ref: string | null;
11610
11666
  external_response: import("../integrations/supabase/types").Json | null;
@@ -11613,6 +11669,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11613
11669
  id: string;
11614
11670
  input: import("../integrations/supabase/types").Json | null;
11615
11671
  next_attempt_at: string | null;
11672
+ next_step: string | null;
11673
+ node_id: string | null;
11616
11674
  order_ref: string | null;
11617
11675
  order_source: string | null;
11618
11676
  output: import("../integrations/supabase/types").Json | null;
@@ -11629,6 +11687,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11629
11687
  Insert: {
11630
11688
  actor?: string | null;
11631
11689
  attempts?: number;
11690
+ calc?: import("../integrations/supabase/types").Json | null;
11632
11691
  cart_ref?: string | null;
11633
11692
  created_at?: string;
11634
11693
  db_action?: string | null;
@@ -11639,6 +11698,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11639
11698
  decision?: string | null;
11640
11699
  duration_ms?: number | null;
11641
11700
  error?: string | null;
11701
+ error_class?: string | null;
11642
11702
  external_action?: string | null;
11643
11703
  external_ref?: string | null;
11644
11704
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11647,6 +11707,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11647
11707
  id?: string;
11648
11708
  input?: import("../integrations/supabase/types").Json | null;
11649
11709
  next_attempt_at?: string | null;
11710
+ next_step?: string | null;
11711
+ node_id?: string | null;
11650
11712
  order_ref?: string | null;
11651
11713
  order_source?: string | null;
11652
11714
  output?: import("../integrations/supabase/types").Json | null;
@@ -11663,6 +11725,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11663
11725
  Update: {
11664
11726
  actor?: string | null;
11665
11727
  attempts?: number;
11728
+ calc?: import("../integrations/supabase/types").Json | null;
11666
11729
  cart_ref?: string | null;
11667
11730
  created_at?: string;
11668
11731
  db_action?: string | null;
@@ -11673,6 +11736,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11673
11736
  decision?: string | null;
11674
11737
  duration_ms?: number | null;
11675
11738
  error?: string | null;
11739
+ error_class?: string | null;
11676
11740
  external_action?: string | null;
11677
11741
  external_ref?: string | null;
11678
11742
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11681,6 +11745,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11681
11745
  id?: string;
11682
11746
  input?: import("../integrations/supabase/types").Json | null;
11683
11747
  next_attempt_at?: string | null;
11748
+ next_step?: string | null;
11749
+ node_id?: string | null;
11684
11750
  order_ref?: string | null;
11685
11751
  order_source?: string | null;
11686
11752
  output?: import("../integrations/supabase/types").Json | null;
@@ -25185,12 +25251,59 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
25185
25251
  };
25186
25252
  Returns: string;
25187
25253
  };
25254
+ logistics_trace_all_orders: {
25255
+ Args: {
25256
+ p_limit?: number;
25257
+ p_search?: string;
25258
+ };
25259
+ Returns: import("../integrations/supabase/types").Json;
25260
+ };
25188
25261
  logistics_trace_batch: {
25189
25262
  Args: {
25190
25263
  p: import("../integrations/supabase/types").Json;
25191
25264
  };
25192
25265
  Returns: number;
25193
25266
  };
25267
+ logistics_trace_node: {
25268
+ Args: {
25269
+ p_op?: string;
25270
+ p_status?: string;
25271
+ p_table: string;
25272
+ };
25273
+ Returns: string;
25274
+ };
25275
+ logistics_trace_order_overview: {
25276
+ Args: {
25277
+ p_error_class?: string;
25278
+ p_limit?: number;
25279
+ p_search?: string;
25280
+ p_since?: string;
25281
+ p_source?: string;
25282
+ p_state?: string;
25283
+ p_step?: string;
25284
+ };
25285
+ Returns: import("../integrations/supabase/types").Json;
25286
+ };
25287
+ logistics_trace_order_state: {
25288
+ Args: {
25289
+ p_order_ref: string;
25290
+ };
25291
+ Returns: import("../integrations/supabase/types").Json;
25292
+ };
25293
+ logistics_trace_order_step: {
25294
+ Args: {
25295
+ p_class?: string;
25296
+ p_decision?: string;
25297
+ p_error?: string;
25298
+ p_next_step?: string;
25299
+ p_node: string;
25300
+ p_order_id: string;
25301
+ p_reason?: string;
25302
+ p_status: string;
25303
+ p_step: string;
25304
+ };
25305
+ Returns: undefined;
25306
+ };
25194
25307
  logistics_trace_orders: {
25195
25308
  Args: {
25196
25309
  p_limit?: number;
@@ -25213,6 +25326,22 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
25213
25326
  };
25214
25327
  Returns: import("../integrations/supabase/types").Json;
25215
25328
  };
25329
+ logistics_trace_version_events: {
25330
+ Args: {
25331
+ p_from?: string;
25332
+ p_limit?: number;
25333
+ p_order_ref: string;
25334
+ p_to?: string;
25335
+ p_version_id: string;
25336
+ };
25337
+ Returns: import("../integrations/supabase/types").Json;
25338
+ };
25339
+ logistics_trace_versions: {
25340
+ Args: {
25341
+ p_order_ref: string;
25342
+ };
25343
+ Returns: import("../integrations/supabase/types").Json;
25344
+ };
25216
25345
  logistics_upsert_task: {
25217
25346
  Args: {
25218
25347
  p_buffer_ref: string;