@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
@@ -1837,6 +1837,42 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
1837
1837
  };
1838
1838
  Relationships: [];
1839
1839
  };
1840
+ customer_assortment_items: {
1841
+ Row: {
1842
+ created_at: string;
1843
+ customer_key: string;
1844
+ id: string;
1845
+ in_assortment: boolean;
1846
+ manual_override: boolean;
1847
+ source: string;
1848
+ synced_at: string | null;
1849
+ trade_item_key: string;
1850
+ updated_at: string;
1851
+ };
1852
+ Insert: {
1853
+ created_at?: string;
1854
+ customer_key: string;
1855
+ id?: string;
1856
+ in_assortment?: boolean;
1857
+ manual_override?: boolean;
1858
+ source?: string;
1859
+ synced_at?: string | null;
1860
+ trade_item_key: string;
1861
+ updated_at?: string;
1862
+ };
1863
+ Update: {
1864
+ created_at?: string;
1865
+ customer_key?: string;
1866
+ id?: string;
1867
+ in_assortment?: boolean;
1868
+ manual_override?: boolean;
1869
+ source?: string;
1870
+ synced_at?: string | null;
1871
+ trade_item_key?: string;
1872
+ updated_at?: string;
1873
+ };
1874
+ Relationships: [];
1875
+ };
1840
1876
  customer_audit_log: {
1841
1877
  Row: {
1842
1878
  action: string;
@@ -2241,40 +2277,58 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
2241
2277
  };
2242
2278
  customer_product_stickers: {
2243
2279
  Row: {
2280
+ content_hash: string | null;
2244
2281
  created_at: string;
2245
2282
  customer_key: string;
2246
2283
  file_name: string;
2247
2284
  file_path: string;
2248
2285
  file_size: number | null;
2286
+ floriday_sticker_id: string | null;
2287
+ floriday_synced_at: string | null;
2288
+ height_mm: number | null;
2249
2289
  id: string;
2250
2290
  mime_type: string | null;
2291
+ source: string;
2251
2292
  trade_item_key: string;
2252
2293
  updated_at: string;
2253
2294
  uploaded_by: string | null;
2295
+ width_mm: number | null;
2254
2296
  };
2255
2297
  Insert: {
2298
+ content_hash?: string | null;
2256
2299
  created_at?: string;
2257
2300
  customer_key: string;
2258
2301
  file_name: string;
2259
2302
  file_path: string;
2260
2303
  file_size?: number | null;
2304
+ floriday_sticker_id?: string | null;
2305
+ floriday_synced_at?: string | null;
2306
+ height_mm?: number | null;
2261
2307
  id?: string;
2262
2308
  mime_type?: string | null;
2309
+ source?: string;
2263
2310
  trade_item_key: string;
2264
2311
  updated_at?: string;
2265
2312
  uploaded_by?: string | null;
2313
+ width_mm?: number | null;
2266
2314
  };
2267
2315
  Update: {
2316
+ content_hash?: string | null;
2268
2317
  created_at?: string;
2269
2318
  customer_key?: string;
2270
2319
  file_name?: string;
2271
2320
  file_path?: string;
2272
2321
  file_size?: number | null;
2322
+ floriday_sticker_id?: string | null;
2323
+ floriday_synced_at?: string | null;
2324
+ height_mm?: number | null;
2273
2325
  id?: string;
2274
2326
  mime_type?: string | null;
2327
+ source?: string;
2275
2328
  trade_item_key?: string;
2276
2329
  updated_at?: string;
2277
2330
  uploaded_by?: string | null;
2331
+ width_mm?: number | null;
2278
2332
  };
2279
2333
  Relationships: [];
2280
2334
  };
@@ -11582,6 +11636,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11582
11636
  Row: {
11583
11637
  actor: string | null;
11584
11638
  attempts: number;
11639
+ calc: import("../integrations/supabase/types").Json | null;
11585
11640
  cart_ref: string | null;
11586
11641
  created_at: string;
11587
11642
  db_action: string | null;
@@ -11592,6 +11647,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11592
11647
  decision: string | null;
11593
11648
  duration_ms: number | null;
11594
11649
  error: string | null;
11650
+ error_class: string | null;
11595
11651
  external_action: string | null;
11596
11652
  external_ref: string | null;
11597
11653
  external_response: import("../integrations/supabase/types").Json | null;
@@ -11600,6 +11656,8 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11600
11656
  id: string;
11601
11657
  input: import("../integrations/supabase/types").Json | null;
11602
11658
  next_attempt_at: string | null;
11659
+ next_step: string | null;
11660
+ node_id: string | null;
11603
11661
  order_ref: string | null;
11604
11662
  order_source: string | null;
11605
11663
  output: import("../integrations/supabase/types").Json | null;
@@ -11616,6 +11674,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11616
11674
  Insert: {
11617
11675
  actor?: string | null;
11618
11676
  attempts?: number;
11677
+ calc?: import("../integrations/supabase/types").Json | null;
11619
11678
  cart_ref?: string | null;
11620
11679
  created_at?: string;
11621
11680
  db_action?: string | null;
@@ -11626,6 +11685,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11626
11685
  decision?: string | null;
11627
11686
  duration_ms?: number | null;
11628
11687
  error?: string | null;
11688
+ error_class?: string | null;
11629
11689
  external_action?: string | null;
11630
11690
  external_ref?: string | null;
11631
11691
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11634,6 +11694,8 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11634
11694
  id?: string;
11635
11695
  input?: import("../integrations/supabase/types").Json | null;
11636
11696
  next_attempt_at?: string | null;
11697
+ next_step?: string | null;
11698
+ node_id?: string | null;
11637
11699
  order_ref?: string | null;
11638
11700
  order_source?: string | null;
11639
11701
  output?: import("../integrations/supabase/types").Json | null;
@@ -11650,6 +11712,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11650
11712
  Update: {
11651
11713
  actor?: string | null;
11652
11714
  attempts?: number;
11715
+ calc?: import("../integrations/supabase/types").Json | null;
11653
11716
  cart_ref?: string | null;
11654
11717
  created_at?: string;
11655
11718
  db_action?: string | null;
@@ -11660,6 +11723,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11660
11723
  decision?: string | null;
11661
11724
  duration_ms?: number | null;
11662
11725
  error?: string | null;
11726
+ error_class?: string | null;
11663
11727
  external_action?: string | null;
11664
11728
  external_ref?: string | null;
11665
11729
  external_response?: import("../integrations/supabase/types").Json | null;
@@ -11668,6 +11732,8 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11668
11732
  id?: string;
11669
11733
  input?: import("../integrations/supabase/types").Json | null;
11670
11734
  next_attempt_at?: string | null;
11735
+ next_step?: string | null;
11736
+ node_id?: string | null;
11671
11737
  order_ref?: string | null;
11672
11738
  order_source?: string | null;
11673
11739
  output?: import("../integrations/supabase/types").Json | null;
@@ -25172,12 +25238,59 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
25172
25238
  };
25173
25239
  Returns: string;
25174
25240
  };
25241
+ logistics_trace_all_orders: {
25242
+ Args: {
25243
+ p_limit?: number;
25244
+ p_search?: string;
25245
+ };
25246
+ Returns: import("../integrations/supabase/types").Json;
25247
+ };
25175
25248
  logistics_trace_batch: {
25176
25249
  Args: {
25177
25250
  p: import("../integrations/supabase/types").Json;
25178
25251
  };
25179
25252
  Returns: number;
25180
25253
  };
25254
+ logistics_trace_node: {
25255
+ Args: {
25256
+ p_op?: string;
25257
+ p_status?: string;
25258
+ p_table: string;
25259
+ };
25260
+ Returns: string;
25261
+ };
25262
+ logistics_trace_order_overview: {
25263
+ Args: {
25264
+ p_error_class?: string;
25265
+ p_limit?: number;
25266
+ p_search?: string;
25267
+ p_since?: string;
25268
+ p_source?: string;
25269
+ p_state?: string;
25270
+ p_step?: string;
25271
+ };
25272
+ Returns: import("../integrations/supabase/types").Json;
25273
+ };
25274
+ logistics_trace_order_state: {
25275
+ Args: {
25276
+ p_order_ref: string;
25277
+ };
25278
+ Returns: import("../integrations/supabase/types").Json;
25279
+ };
25280
+ logistics_trace_order_step: {
25281
+ Args: {
25282
+ p_class?: string;
25283
+ p_decision?: string;
25284
+ p_error?: string;
25285
+ p_next_step?: string;
25286
+ p_node: string;
25287
+ p_order_id: string;
25288
+ p_reason?: string;
25289
+ p_status: string;
25290
+ p_step: string;
25291
+ };
25292
+ Returns: undefined;
25293
+ };
25181
25294
  logistics_trace_orders: {
25182
25295
  Args: {
25183
25296
  p_limit?: number;
@@ -25200,6 +25313,22 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
25200
25313
  };
25201
25314
  Returns: import("../integrations/supabase/types").Json;
25202
25315
  };
25316
+ logistics_trace_version_events: {
25317
+ Args: {
25318
+ p_from?: string;
25319
+ p_limit?: number;
25320
+ p_order_ref: string;
25321
+ p_to?: string;
25322
+ p_version_id: string;
25323
+ };
25324
+ Returns: import("../integrations/supabase/types").Json;
25325
+ };
25326
+ logistics_trace_versions: {
25327
+ Args: {
25328
+ p_order_ref: string;
25329
+ };
25330
+ Returns: import("../integrations/supabase/types").Json;
25331
+ };
25203
25332
  logistics_upsert_task: {
25204
25333
  Args: {
25205
25334
  p_buffer_ref: string;