@flowselections/floriday-klanten-module 1.0.34 → 1.0.35

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 (90) hide show
  1. package/dist-lib/assets/floriday-logo.png.asset.json +11 -0
  2. package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts +5 -0
  3. package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts.map +1 -0
  4. package/dist-lib/components/klanten/CustomerAssortmentTab.js +74 -0
  5. package/dist-lib/components/klanten/FloridayPriceImportDialog.d.ts +5 -0
  6. package/dist-lib/components/klanten/FloridayPriceImportDialog.d.ts.map +1 -0
  7. package/dist-lib/components/klanten/FloridayPriceImportDialog.js +55 -0
  8. package/dist-lib/components/klanten/GroupedKlantDetail.d.ts.map +1 -1
  9. package/dist-lib/components/klanten/GroupedKlantDetail.js +4 -3
  10. package/dist-lib/components/klanten/KlantDetail.d.ts.map +1 -1
  11. package/dist-lib/components/klanten/KlantDetail.js +10 -2
  12. package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
  13. package/dist-lib/components/klanten/KlantenOverzicht.js +24 -3
  14. package/dist-lib/components/klanten/pricegroups/CustomerPriceGroupSelect.d.ts +4 -0
  15. package/dist-lib/components/klanten/pricegroups/CustomerPriceGroupSelect.d.ts.map +1 -0
  16. package/dist-lib/components/klanten/pricegroups/CustomerPriceGroupSelect.js +47 -0
  17. package/dist-lib/components/klanten/pricegroups/PriceGroupFormPage.d.ts.map +1 -1
  18. package/dist-lib/components/klanten/pricegroups/PriceGroupFormPage.js +2 -1
  19. package/dist-lib/components/klanten/pricegroups/PriceGroupItemPrices.d.ts +5 -0
  20. package/dist-lib/components/klanten/pricegroups/PriceGroupItemPrices.d.ts.map +1 -0
  21. package/dist-lib/components/klanten/pricegroups/PriceGroupItemPrices.js +83 -0
  22. package/dist-lib/index.d.ts +8 -0
  23. package/dist-lib/index.d.ts.map +1 -1
  24. package/dist-lib/index.js +8 -0
  25. package/dist-lib/integrations/supabase/auth-middleware.d.ts +595 -0
  26. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  27. package/dist-lib/integrations/supabase/client.d.ts +595 -0
  28. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  29. package/dist-lib/integrations/supabase/client.server.d.ts +595 -0
  30. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  31. package/dist-lib/integrations/supabase/types.d.ts +597 -0
  32. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  33. package/dist-lib/lib/accounting/twinfield/mapping.js +13 -13
  34. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +1785 -0
  35. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/accounting.functions.d.ts +1785 -0
  37. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/customer-analytics.functions.d.ts +595 -0
  39. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/customer-assortment.functions.d.ts +26666 -0
  41. package/dist-lib/lib/customer-assortment.functions.d.ts.map +1 -0
  42. package/dist-lib/lib/customer-assortment.functions.js +280 -0
  43. package/dist-lib/lib/customer-notes.functions.d.ts +1190 -0
  44. package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/customer-revenue.functions.d.ts +595 -0
  46. package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -1
  47. package/dist-lib/lib/customers.functions.d.ts +5355 -0
  48. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/delivery-locations.functions.d.ts +2975 -0
  50. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/errors.d.ts +12 -0
  52. package/dist-lib/lib/errors.d.ts.map +1 -1
  53. package/dist-lib/lib/errors.js +24 -0
  54. package/dist-lib/lib/external-customers.functions.d.ts +2380 -0
  55. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/floriday-assortment.functions.d.ts +595 -0
  57. package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
  58. package/dist-lib/lib/floriday-catalog-prices.d.ts +33 -0
  59. package/dist-lib/lib/floriday-catalog-prices.d.ts.map +1 -0
  60. package/dist-lib/lib/floriday-catalog-prices.js +98 -0
  61. package/dist-lib/lib/floriday-discounts.functions.d.ts +1190 -0
  62. package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
  63. package/dist-lib/lib/floriday-price-import.functions.d.ts +53265 -0
  64. package/dist-lib/lib/floriday-price-import.functions.d.ts.map +1 -0
  65. package/dist-lib/lib/floriday-price-import.functions.js +219 -0
  66. package/dist-lib/lib/floriday-trade-items.functions.d.ts +595 -0
  67. package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
  68. package/dist-lib/lib/floriday.server.d.ts +55 -0
  69. package/dist-lib/lib/floriday.server.d.ts.map +1 -0
  70. package/dist-lib/lib/floriday.server.js +765 -0
  71. package/dist-lib/lib/local-discounts.functions.d.ts +4165 -0
  72. package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
  73. package/dist-lib/lib/logistics-events.functions.d.ts +595 -0
  74. package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
  75. package/dist-lib/lib/logistics-strategy.functions.d.ts +2380 -0
  76. package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
  77. package/dist-lib/lib/overdue-invoices.functions.d.ts +595 -0
  78. package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
  79. package/dist-lib/lib/price-groups-local.functions.d.ts +137905 -27
  80. package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
  81. package/dist-lib/lib/price-groups-local.functions.js +145 -0
  82. package/dist-lib/lib/price-groups.functions.d.ts +601 -1
  83. package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
  84. package/dist-lib/lib/twinfield-adopt.functions.d.ts +1190 -0
  85. package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
  86. package/dist-lib/lib/twinfield-ledger.functions.d.ts +595 -0
  87. package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
  88. package/dist-lib/lib/twinfield-ledger.server.js +21 -21
  89. package/package.json +1 -1
  90. package/public/flowselections-assets/Klanten/twinfield-logo.svg +217 -217
@@ -5862,6 +5862,84 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
5862
5862
  referencedColumns: ["id"];
5863
5863
  }];
5864
5864
  };
5865
+ floriday_catalog_prices_cache: {
5866
+ Row: {
5867
+ connection_id: string;
5868
+ created_at: string;
5869
+ currency: string;
5870
+ id: string;
5871
+ is_deleted: boolean;
5872
+ price: number | null;
5873
+ price_group_id: string | null;
5874
+ price_group_name: string | null;
5875
+ price_type: string;
5876
+ raw: import("../integrations/supabase/types").Json | null;
5877
+ sales_unit: string | null;
5878
+ sequence_number: number;
5879
+ supplier_article_code: string | null;
5880
+ supply_line_id: string;
5881
+ synced_at: string;
5882
+ trade_item_id: string | null;
5883
+ updated_at: string;
5884
+ valid_from: string | null;
5885
+ valid_to: string | null;
5886
+ week: number | null;
5887
+ year: number | null;
5888
+ };
5889
+ Insert: {
5890
+ connection_id: string;
5891
+ created_at?: string;
5892
+ currency?: string;
5893
+ id?: string;
5894
+ is_deleted?: boolean;
5895
+ price?: number | null;
5896
+ price_group_id?: string | null;
5897
+ price_group_name?: string | null;
5898
+ price_type?: string;
5899
+ raw?: import("../integrations/supabase/types").Json | null;
5900
+ sales_unit?: string | null;
5901
+ sequence_number?: number;
5902
+ supplier_article_code?: string | null;
5903
+ supply_line_id: string;
5904
+ synced_at?: string;
5905
+ trade_item_id?: string | null;
5906
+ updated_at?: string;
5907
+ valid_from?: string | null;
5908
+ valid_to?: string | null;
5909
+ week?: number | null;
5910
+ year?: number | null;
5911
+ };
5912
+ Update: {
5913
+ connection_id?: string;
5914
+ created_at?: string;
5915
+ currency?: string;
5916
+ id?: string;
5917
+ is_deleted?: boolean;
5918
+ price?: number | null;
5919
+ price_group_id?: string | null;
5920
+ price_group_name?: string | null;
5921
+ price_type?: string;
5922
+ raw?: import("../integrations/supabase/types").Json | null;
5923
+ sales_unit?: string | null;
5924
+ sequence_number?: number;
5925
+ supplier_article_code?: string | null;
5926
+ supply_line_id?: string;
5927
+ synced_at?: string;
5928
+ trade_item_id?: string | null;
5929
+ updated_at?: string;
5930
+ valid_from?: string | null;
5931
+ valid_to?: string | null;
5932
+ week?: number | null;
5933
+ year?: number | null;
5934
+ };
5935
+ Relationships: [{
5936
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5937
+ columns: ["connection_id"];
5938
+ isOneToOne: false;
5939
+ referencedRelation: "floriday_connections";
5940
+ referencedColumns: ["id"];
5941
+ }];
5942
+ };
5865
5943
  floriday_clock_presales_cache: {
5866
5944
  Row: {
5867
5945
  buyer_organization_id: string | null;
@@ -10128,6 +10206,36 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
10128
10206
  };
10129
10207
  Relationships: [];
10130
10208
  };
10209
+ logistics_floriday_push_refusals: {
10210
+ Row: {
10211
+ action: string | null;
10212
+ created_at: string;
10213
+ id: string;
10214
+ order_ref: string;
10215
+ reason: string;
10216
+ source_module: string | null;
10217
+ source_shell: string | null;
10218
+ };
10219
+ Insert: {
10220
+ action?: string | null;
10221
+ created_at?: string;
10222
+ id?: string;
10223
+ order_ref: string;
10224
+ reason: string;
10225
+ source_module?: string | null;
10226
+ source_shell?: string | null;
10227
+ };
10228
+ Update: {
10229
+ action?: string | null;
10230
+ created_at?: string;
10231
+ id?: string;
10232
+ order_ref?: string;
10233
+ reason?: string;
10234
+ source_module?: string | null;
10235
+ source_shell?: string | null;
10236
+ };
10237
+ Relationships: [];
10238
+ };
10131
10239
  logistics_floriday_pushes: {
10132
10240
  Row: {
10133
10241
  attempts: number;
@@ -10203,6 +10311,42 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
10203
10311
  };
10204
10312
  Relationships: [];
10205
10313
  };
10314
+ logistics_floriday_status_sends: {
10315
+ Row: {
10316
+ action: string;
10317
+ created_at: string;
10318
+ detail: string | null;
10319
+ http_status: number | null;
10320
+ id: string;
10321
+ ok: boolean;
10322
+ order_ref: string;
10323
+ source_module: string | null;
10324
+ source_shell: string | null;
10325
+ };
10326
+ Insert: {
10327
+ action: string;
10328
+ created_at?: string;
10329
+ detail?: string | null;
10330
+ http_status?: number | null;
10331
+ id?: string;
10332
+ ok?: boolean;
10333
+ order_ref: string;
10334
+ source_module?: string | null;
10335
+ source_shell?: string | null;
10336
+ };
10337
+ Update: {
10338
+ action?: string;
10339
+ created_at?: string;
10340
+ detail?: string | null;
10341
+ http_status?: number | null;
10342
+ id?: string;
10343
+ ok?: boolean;
10344
+ order_ref?: string;
10345
+ source_module?: string | null;
10346
+ source_shell?: string | null;
10347
+ };
10348
+ Relationships: [];
10349
+ };
10206
10350
  logistics_formulas: {
10207
10351
  Row: {
10208
10352
  created_at: string;
@@ -10275,6 +10419,108 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
10275
10419
  };
10276
10420
  Relationships: [];
10277
10421
  };
10422
+ logistics_opening_exceptions: {
10423
+ Row: {
10424
+ closes: string | null;
10425
+ created_at: string;
10426
+ day: string;
10427
+ id: string;
10428
+ is_closed: boolean;
10429
+ note: string | null;
10430
+ opens: string | null;
10431
+ };
10432
+ Insert: {
10433
+ closes?: string | null;
10434
+ created_at?: string;
10435
+ day: string;
10436
+ id?: string;
10437
+ is_closed?: boolean;
10438
+ note?: string | null;
10439
+ opens?: string | null;
10440
+ };
10441
+ Update: {
10442
+ closes?: string | null;
10443
+ created_at?: string;
10444
+ day?: string;
10445
+ id?: string;
10446
+ is_closed?: boolean;
10447
+ note?: string | null;
10448
+ opens?: string | null;
10449
+ };
10450
+ Relationships: [];
10451
+ };
10452
+ logistics_opening_hours: {
10453
+ Row: {
10454
+ closes: string;
10455
+ created_at: string;
10456
+ id: string;
10457
+ is_active: boolean;
10458
+ note: string | null;
10459
+ opens: string;
10460
+ weekday: number;
10461
+ };
10462
+ Insert: {
10463
+ closes: string;
10464
+ created_at?: string;
10465
+ id?: string;
10466
+ is_active?: boolean;
10467
+ note?: string | null;
10468
+ opens: string;
10469
+ weekday: number;
10470
+ };
10471
+ Update: {
10472
+ closes?: string;
10473
+ created_at?: string;
10474
+ id?: string;
10475
+ is_active?: boolean;
10476
+ note?: string | null;
10477
+ opens?: string;
10478
+ weekday?: number;
10479
+ };
10480
+ Relationships: [];
10481
+ };
10482
+ logistics_pick_data_requests: {
10483
+ Row: {
10484
+ actions: import("../integrations/supabase/types").Json;
10485
+ created_at: string;
10486
+ event_id: string | null;
10487
+ finished_at: string | null;
10488
+ id: string;
10489
+ missing: import("../integrations/supabase/types").Json;
10490
+ order_ref: string;
10491
+ reason: string | null;
10492
+ result: import("../integrations/supabase/types").Json | null;
10493
+ status: string;
10494
+ unit_ref: string | null;
10495
+ };
10496
+ Insert: {
10497
+ actions?: import("../integrations/supabase/types").Json;
10498
+ created_at?: string;
10499
+ event_id?: string | null;
10500
+ finished_at?: string | null;
10501
+ id?: string;
10502
+ missing?: import("../integrations/supabase/types").Json;
10503
+ order_ref: string;
10504
+ reason?: string | null;
10505
+ result?: import("../integrations/supabase/types").Json | null;
10506
+ status?: string;
10507
+ unit_ref?: string | null;
10508
+ };
10509
+ Update: {
10510
+ actions?: import("../integrations/supabase/types").Json;
10511
+ created_at?: string;
10512
+ event_id?: string | null;
10513
+ finished_at?: string | null;
10514
+ id?: string;
10515
+ missing?: import("../integrations/supabase/types").Json;
10516
+ order_ref?: string;
10517
+ reason?: string | null;
10518
+ result?: import("../integrations/supabase/types").Json | null;
10519
+ status?: string;
10520
+ unit_ref?: string | null;
10521
+ };
10522
+ Relationships: [];
10523
+ };
10278
10524
  logistics_pickup_moments: {
10279
10525
  Row: {
10280
10526
  carrier_ref: string | null;
@@ -11067,6 +11313,24 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
11067
11313
  };
11068
11314
  Relationships: [];
11069
11315
  };
11316
+ logistics_time_settings: {
11317
+ Row: {
11318
+ id: boolean;
11319
+ timezone: string;
11320
+ updated_at: string;
11321
+ };
11322
+ Insert: {
11323
+ id?: boolean;
11324
+ timezone: string;
11325
+ updated_at?: string;
11326
+ };
11327
+ Update: {
11328
+ id?: boolean;
11329
+ timezone?: string;
11330
+ updated_at?: string;
11331
+ };
11332
+ Relationships: [];
11333
+ };
11070
11334
  logistics_variables: {
11071
11335
  Row: {
11072
11336
  created_at: string;
@@ -13457,6 +13721,7 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
13457
13721
  customer_name: string;
13458
13722
  deleted_at: string | null;
13459
13723
  delivery_date: string | null;
13724
+ floriday_order_group_key: string | null;
13460
13725
  floriday_sales_order_id: string | null;
13461
13726
  id: string;
13462
13727
  invoice_due_at: string | null;
@@ -13484,6 +13749,7 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
13484
13749
  customer_name?: string;
13485
13750
  deleted_at?: string | null;
13486
13751
  delivery_date?: string | null;
13752
+ floriday_order_group_key?: string | null;
13487
13753
  floriday_sales_order_id?: string | null;
13488
13754
  id?: string;
13489
13755
  invoice_due_at?: string | null;
@@ -13511,6 +13777,7 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
13511
13777
  customer_name?: string;
13512
13778
  deleted_at?: string | null;
13513
13779
  delivery_date?: string | null;
13780
+ floriday_order_group_key?: string | null;
13514
13781
  floriday_sales_order_id?: string | null;
13515
13782
  id?: string;
13516
13783
  invoice_due_at?: string | null;
@@ -13704,6 +13971,27 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
13704
13971
  };
13705
13972
  Relationships: [];
13706
13973
  };
13974
+ pick_buffer_event_cursor: {
13975
+ Row: {
13976
+ created_at: string;
13977
+ id: boolean;
13978
+ last_event_at: string;
13979
+ updated_at: string;
13980
+ };
13981
+ Insert: {
13982
+ created_at?: string;
13983
+ id?: boolean;
13984
+ last_event_at?: string;
13985
+ updated_at?: string;
13986
+ };
13987
+ Update: {
13988
+ created_at?: string;
13989
+ id?: boolean;
13990
+ last_event_at?: string;
13991
+ updated_at?: string;
13992
+ };
13993
+ Relationships: [];
13994
+ };
13707
13995
  pick_countries: {
13708
13996
  Row: {
13709
13997
  active: boolean;
@@ -19353,6 +19641,36 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
19353
19641
  referencedColumns: ["id"];
19354
19642
  }];
19355
19643
  };
19644
+ voorraad_buffer_state: {
19645
+ Row: {
19646
+ buffer_id: string;
19647
+ buffer_key: string | null;
19648
+ closed_at: string | null;
19649
+ created_at: string;
19650
+ detached_orders: import("../integrations/supabase/types").Json;
19651
+ reason: string | null;
19652
+ updated_at: string;
19653
+ };
19654
+ Insert: {
19655
+ buffer_id: string;
19656
+ buffer_key?: string | null;
19657
+ closed_at?: string | null;
19658
+ created_at?: string;
19659
+ detached_orders?: import("../integrations/supabase/types").Json;
19660
+ reason?: string | null;
19661
+ updated_at?: string;
19662
+ };
19663
+ Update: {
19664
+ buffer_id?: string;
19665
+ buffer_key?: string | null;
19666
+ closed_at?: string | null;
19667
+ created_at?: string;
19668
+ detached_orders?: import("../integrations/supabase/types").Json;
19669
+ reason?: string | null;
19670
+ updated_at?: string;
19671
+ };
19672
+ Relationships: [];
19673
+ };
19356
19674
  voorraad_custom_fields: {
19357
19675
  Row: {
19358
19676
  created_at: string;
@@ -19395,6 +19713,36 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
19395
19713
  };
19396
19714
  Relationships: [];
19397
19715
  };
19716
+ voorraad_logistics_event_log: {
19717
+ Row: {
19718
+ created_at: string;
19719
+ event_id: string;
19720
+ event_type: string;
19721
+ order_ref: string | null;
19722
+ processed_at: string;
19723
+ result: import("../integrations/supabase/types").Json;
19724
+ updated_at: string;
19725
+ };
19726
+ Insert: {
19727
+ created_at?: string;
19728
+ event_id: string;
19729
+ event_type: string;
19730
+ order_ref?: string | null;
19731
+ processed_at?: string;
19732
+ result?: import("../integrations/supabase/types").Json;
19733
+ updated_at?: string;
19734
+ };
19735
+ Update: {
19736
+ created_at?: string;
19737
+ event_id?: string;
19738
+ event_type?: string;
19739
+ order_ref?: string | null;
19740
+ processed_at?: string;
19741
+ result?: import("../integrations/supabase/types").Json;
19742
+ updated_at?: string;
19743
+ };
19744
+ Relationships: [];
19745
+ };
19398
19746
  voorraad_media_upload_failures: {
19399
19747
  Row: {
19400
19748
  action: string;
@@ -22220,6 +22568,17 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
22220
22568
  };
22221
22569
  Returns: boolean;
22222
22570
  };
22571
+ floriday_adopt_connection: {
22572
+ Args: {
22573
+ p_new: string;
22574
+ p_old: string;
22575
+ };
22576
+ Returns: import("../integrations/supabase/types").Json;
22577
+ };
22578
+ floriday_autoheal_connections: {
22579
+ Args: never;
22580
+ Returns: import("../integrations/supabase/types").Json;
22581
+ };
22223
22582
  floriday_capture_stock_snapshot: {
22224
22583
  Args: never;
22225
22584
  Returns: number;
@@ -22277,6 +22636,12 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
22277
22636
  };
22278
22637
  Returns: undefined;
22279
22638
  };
22639
+ floriday_relink_products: {
22640
+ Args: {
22641
+ p_connection_id?: string;
22642
+ };
22643
+ Returns: import("../integrations/supabase/types").Json;
22644
+ };
22280
22645
  floriday_requeue_dead_letters: {
22281
22646
  Args: {
22282
22647
  p_connection_id?: string;
@@ -22898,6 +23263,10 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
22898
23263
  };
22899
23264
  Returns: string;
22900
23265
  };
23266
+ logistics_active_layout_method: {
23267
+ Args: never;
23268
+ Returns: string;
23269
+ };
22901
23270
  logistics_active_pick_workdays: {
22902
23271
  Args: never;
22903
23272
  Returns: string[];
@@ -23005,6 +23374,15 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23005
23374
  };
23006
23375
  Returns: boolean;
23007
23376
  };
23377
+ logistics_buffer_notify: {
23378
+ Args: {
23379
+ p_event_type: string;
23380
+ p_idempotency_key: string;
23381
+ p_order_ref: string;
23382
+ p_payload: import("../integrations/supabase/types").Json;
23383
+ };
23384
+ Returns: string;
23385
+ };
23008
23386
  logistics_buffer_open_key: {
23009
23387
  Args: {
23010
23388
  p_base_key: string;
@@ -23063,6 +23441,12 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23063
23441
  };
23064
23442
  Returns: string;
23065
23443
  };
23444
+ logistics_cart_checkin_at: {
23445
+ Args: {
23446
+ p_cart_id: string;
23447
+ };
23448
+ Returns: string;
23449
+ };
23066
23450
  logistics_cart_handled: {
23067
23451
  Args: {
23068
23452
  p_cart_index: number;
@@ -23096,10 +23480,22 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23096
23480
  task_status: string;
23097
23481
  }[];
23098
23482
  };
23483
+ logistics_cart_is_full: {
23484
+ Args: {
23485
+ p_cart_id: string;
23486
+ };
23487
+ Returns: boolean;
23488
+ };
23099
23489
  logistics_cart_layout_method: {
23100
23490
  Args: never;
23101
23491
  Returns: import("../integrations/supabase/types").Json;
23102
23492
  };
23493
+ logistics_cart_order_refs: {
23494
+ Args: {
23495
+ p_cart_id: string;
23496
+ };
23497
+ Returns: string[];
23498
+ };
23103
23499
  logistics_cart_plan_overview: {
23104
23500
  Args: {
23105
23501
  p_days?: number;
@@ -23119,6 +23515,18 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23119
23515
  };
23120
23516
  Returns: import("../integrations/supabase/types").Json;
23121
23517
  };
23518
+ logistics_cart_release_reason: {
23519
+ Args: {
23520
+ p_cart_id: string;
23521
+ };
23522
+ Returns: string;
23523
+ };
23524
+ logistics_cart_released: {
23525
+ Args: {
23526
+ p_cart_id: string;
23527
+ };
23528
+ Returns: boolean;
23529
+ };
23122
23530
  logistics_cart_seq: {
23123
23531
  Args: {
23124
23532
  p_order_uuid?: string;
@@ -23272,6 +23680,10 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23272
23680
  isSetofReturn: false;
23273
23681
  };
23274
23682
  };
23683
+ logistics_cleanup_orphan_print_jobs: {
23684
+ Args: never;
23685
+ Returns: import("../integrations/supabase/types").Json;
23686
+ };
23275
23687
  logistics_complete_task: {
23276
23688
  Args: {
23277
23689
  p_result?: import("../integrations/supabase/types").Json;
@@ -23334,6 +23746,12 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23334
23746
  station_carts: number;
23335
23747
  }[];
23336
23748
  };
23749
+ logistics_control_complete_cart: {
23750
+ Args: {
23751
+ p_cart_id: string;
23752
+ };
23753
+ Returns: number;
23754
+ };
23337
23755
  logistics_control_scan_approve: {
23338
23756
  Args: {
23339
23757
  p_allow_reprint?: boolean;
@@ -23413,6 +23831,15 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23413
23831
  Args: never;
23414
23832
  Returns: import("../integrations/supabase/types").Json;
23415
23833
  };
23834
+ logistics_day_windows: {
23835
+ Args: {
23836
+ p_day: string;
23837
+ };
23838
+ Returns: {
23839
+ win_end: string;
23840
+ win_start: string;
23841
+ }[];
23842
+ };
23416
23843
  logistics_delay_customer_email: {
23417
23844
  Args: {
23418
23845
  p_customer: string;
@@ -23480,6 +23907,17 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23480
23907
  };
23481
23908
  Returns: import("../integrations/supabase/types").Json;
23482
23909
  };
23910
+ logistics_enqueue_shipping_note_with_slip: {
23911
+ Args: {
23912
+ _cart_id: string;
23913
+ _is_herprint: boolean;
23914
+ _printer_id: string;
23915
+ _queue_item_id: string;
23916
+ _session_id: string;
23917
+ _slip_job_id: string;
23918
+ };
23919
+ Returns: string;
23920
+ };
23483
23921
  logistics_enqueue_sticker_with_slip: {
23484
23922
  Args: {
23485
23923
  _cart_id: string;
@@ -23497,6 +23935,14 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23497
23935
  };
23498
23936
  Returns: string;
23499
23937
  };
23938
+ logistics_ensure_pick_data: {
23939
+ Args: {
23940
+ p_event_id?: string;
23941
+ p_missing?: import("../integrations/supabase/types").Json;
23942
+ p_ref: string;
23943
+ };
23944
+ Returns: import("../integrations/supabase/types").Json;
23945
+ };
23500
23946
  logistics_fail_task: {
23501
23947
  Args: {
23502
23948
  p_error: string;
@@ -23618,6 +24064,38 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23618
24064
  };
23619
24065
  Returns: string;
23620
24066
  };
24067
+ logistics_floriday_gate_status: {
24068
+ Args: never;
24069
+ Returns: import("../integrations/supabase/types").Json;
24070
+ };
24071
+ logistics_floriday_log_refusal: {
24072
+ Args: {
24073
+ _action?: string;
24074
+ _module?: string;
24075
+ _order_ref: string;
24076
+ _reason: string;
24077
+ _shell?: string;
24078
+ };
24079
+ Returns: undefined;
24080
+ };
24081
+ logistics_floriday_log_send: {
24082
+ Args: {
24083
+ _action: string;
24084
+ _detail?: string;
24085
+ _http_status?: number;
24086
+ _module?: string;
24087
+ _ok: boolean;
24088
+ _order_ref: string;
24089
+ _shell?: string;
24090
+ };
24091
+ Returns: undefined;
24092
+ };
24093
+ logistics_floriday_order_approved: {
24094
+ Args: {
24095
+ _order_ref: string;
24096
+ };
24097
+ Returns: boolean;
24098
+ };
23621
24099
  logistics_floriday_prune_pushes: {
23622
24100
  Args: {
23623
24101
  _days?: number;
@@ -23632,6 +24110,20 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23632
24110
  };
23633
24111
  Returns: string;
23634
24112
  };
24113
+ logistics_floriday_status_updates_enabled: {
24114
+ Args: never;
24115
+ Returns: boolean;
24116
+ };
24117
+ logistics_floriday_stock_updates_enabled: {
24118
+ Args: never;
24119
+ Returns: boolean;
24120
+ };
24121
+ logistics_floriday_write_allowed: {
24122
+ Args: {
24123
+ _action: string;
24124
+ };
24125
+ Returns: boolean;
24126
+ };
23635
24127
  logistics_fulfill_barcode_requests: {
23636
24128
  Args: {
23637
24129
  p_limit?: number;
@@ -23652,6 +24144,16 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23652
24144
  };
23653
24145
  Returns: boolean;
23654
24146
  };
24147
+ logistics_layout_method_status: {
24148
+ Args: never;
24149
+ Returns: import("../integrations/supabase/types").Json;
24150
+ };
24151
+ logistics_link_order_items: {
24152
+ Args: {
24153
+ p_order?: string;
24154
+ };
24155
+ Returns: import("../integrations/supabase/types").Json;
24156
+ };
23655
24157
  logistics_live_carriers: {
23656
24158
  Args: {
23657
24159
  p_order_ref: string;
@@ -23664,6 +24166,12 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23664
24166
  };
23665
24167
  Returns: number;
23666
24168
  };
24169
+ logistics_merge_partial_carts: {
24170
+ Args: {
24171
+ p_limit?: number;
24172
+ };
24173
+ Returns: import("../integrations/supabase/types").Json;
24174
+ };
23667
24175
  logistics_next_workday_date: {
23668
24176
  Args: {
23669
24177
  p_date: string;
@@ -23678,12 +24186,22 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23678
24186
  };
23679
24187
  Returns: string;
23680
24188
  };
24189
+ logistics_normalize_product_label: {
24190
+ Args: {
24191
+ p_label: string;
24192
+ };
24193
+ Returns: string;
24194
+ };
23681
24195
  logistics_not_past: {
23682
24196
  Args: {
23683
24197
  p_ts: string;
23684
24198
  };
23685
24199
  Returns: string;
23686
24200
  };
24201
+ logistics_opening_timezone: {
24202
+ Args: never;
24203
+ Returns: string;
24204
+ };
23687
24205
  logistics_order_cart_count: {
23688
24206
  Args: {
23689
24207
  p_order_ref: string;
@@ -23768,6 +24286,10 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23768
24286
  Args: never;
23769
24287
  Returns: import("../integrations/supabase/types").Json;
23770
24288
  };
24289
+ logistics_pick_partial_mode: {
24290
+ Args: never;
24291
+ Returns: string;
24292
+ };
23771
24293
  logistics_pick_start_estimate: {
23772
24294
  Args: {
23773
24295
  p_order: import("../integrations/supabase/types").Json;
@@ -23879,6 +24401,12 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23879
24401
  };
23880
24402
  Returns: number;
23881
24403
  };
24404
+ logistics_prepare_pick_documents: {
24405
+ Args: {
24406
+ p_limit?: number;
24407
+ };
24408
+ Returns: import("../integrations/supabase/types").Json;
24409
+ };
23882
24410
  logistics_prune_buffer_member_queue: {
23883
24411
  Args: never;
23884
24412
  Returns: number;
@@ -23919,12 +24447,30 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23919
24447
  Args: never;
23920
24448
  Returns: import("../integrations/supabase/types").Json;
23921
24449
  };
24450
+ logistics_refresh_pick_queue_status: {
24451
+ Args: {
24452
+ p_ref: string;
24453
+ };
24454
+ Returns: number;
24455
+ };
23922
24456
  logistics_refresh_pickup_moments: {
23923
24457
  Args: {
23924
24458
  p_weeks?: number;
23925
24459
  };
23926
24460
  Returns: import("../integrations/supabase/types").Json;
23927
24461
  };
24462
+ logistics_replan_all: {
24463
+ Args: {
24464
+ p_reason?: string;
24465
+ };
24466
+ Returns: import("../integrations/supabase/types").Json;
24467
+ };
24468
+ logistics_replan_all_force: {
24469
+ Args: {
24470
+ p_reason?: string;
24471
+ };
24472
+ Returns: import("../integrations/supabase/types").Json;
24473
+ };
23928
24474
  logistics_report_delay: {
23929
24475
  Args: {
23930
24476
  p_expected_date?: string;
@@ -23978,6 +24524,12 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
23978
24524
  };
23979
24525
  Returns: import("../integrations/supabase/types").Json;
23980
24526
  };
24527
+ logistics_resolve_product_id: {
24528
+ Args: {
24529
+ p_label: string;
24530
+ };
24531
+ Returns: string;
24532
+ };
23981
24533
  logistics_resolve_settings: {
23982
24534
  Args: {
23983
24535
  p_config_id: string;
@@ -24063,6 +24615,10 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
24063
24615
  };
24064
24616
  Returns: string;
24065
24617
  };
24618
+ logistics_shipping_note_follows_slip: {
24619
+ Args: never;
24620
+ Returns: boolean;
24621
+ };
24066
24622
  logistics_shipping_note_from_barcode: {
24067
24623
  Args: {
24068
24624
  p_allow_reprint?: boolean;
@@ -24075,6 +24631,14 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
24075
24631
  Args: never;
24076
24632
  Returns: boolean;
24077
24633
  };
24634
+ logistics_subtract_working_minutes: {
24635
+ Args: {
24636
+ p_deadline: string;
24637
+ p_max_workdays?: number;
24638
+ p_minutes: number;
24639
+ };
24640
+ Returns: import("../integrations/supabase/types").Json;
24641
+ };
24078
24642
  logistics_supersede_stale_tasks: {
24079
24643
  Args: {
24080
24644
  p_keep: string[];
@@ -24111,6 +24675,12 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
24111
24675
  Args: never;
24112
24676
  Returns: string;
24113
24677
  };
24678
+ logistics_timezone_options: {
24679
+ Args: never;
24680
+ Returns: {
24681
+ name: string;
24682
+ }[];
24683
+ };
24114
24684
  logistics_upsert_task: {
24115
24685
  Args: {
24116
24686
  p_buffer_ref: string;
@@ -24130,6 +24700,16 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
24130
24700
  };
24131
24701
  Returns: string;
24132
24702
  };
24703
+ logistics_valid_timezone: {
24704
+ Args: {
24705
+ _tz: string;
24706
+ };
24707
+ Returns: boolean;
24708
+ };
24709
+ logistics_working_hours_status: {
24710
+ Args: never;
24711
+ Returns: import("../integrations/supabase/types").Json;
24712
+ };
24133
24713
  logistics_write_buffer_layer_positions: {
24134
24714
  Args: {
24135
24715
  p_buffer_id: string;
@@ -24295,6 +24875,10 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
24295
24875
  online: boolean;
24296
24876
  }[];
24297
24877
  };
24878
+ pick_apply_buffer_events: {
24879
+ Args: never;
24880
+ Returns: import("../integrations/supabase/types").Json;
24881
+ };
24298
24882
  pick_available_pick_days: {
24299
24883
  Args: {
24300
24884
  _max_days?: number;
@@ -25571,6 +26155,13 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
25571
26155
  };
25572
26156
  Returns: number;
25573
26157
  };
26158
+ schedule_floriday_catalog_prices_sync: {
26159
+ Args: {
26160
+ p_apikey: string;
26161
+ p_url: string;
26162
+ };
26163
+ Returns: number;
26164
+ };
25574
26165
  schedule_floriday_clock_presales_sync: {
25575
26166
  Args: {
25576
26167
  p_apikey: string;
@@ -25871,6 +26462,10 @@ export declare const getCustomerAnalytics: import("@tanstack/start-client-core")
25871
26462
  };
25872
26463
  Returns: undefined;
25873
26464
  };
26465
+ sync_floriday_prices_into_price_groups: {
26466
+ Args: never;
26467
+ Returns: number;
26468
+ };
25874
26469
  sync_layer_stock: {
25875
26470
  Args: {
25876
26471
  p_product_id: string;