@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
@@ -5817,6 +5817,84 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
5817
5817
  referencedColumns: ["id"];
5818
5818
  }];
5819
5819
  };
5820
+ floriday_catalog_prices_cache: {
5821
+ Row: {
5822
+ connection_id: string;
5823
+ created_at: string;
5824
+ currency: string;
5825
+ id: string;
5826
+ is_deleted: boolean;
5827
+ price: number | null;
5828
+ price_group_id: string | null;
5829
+ price_group_name: string | null;
5830
+ price_type: string;
5831
+ raw: import("../integrations/supabase/types").Json | null;
5832
+ sales_unit: string | null;
5833
+ sequence_number: number;
5834
+ supplier_article_code: string | null;
5835
+ supply_line_id: string;
5836
+ synced_at: string;
5837
+ trade_item_id: string | null;
5838
+ updated_at: string;
5839
+ valid_from: string | null;
5840
+ valid_to: string | null;
5841
+ week: number | null;
5842
+ year: number | null;
5843
+ };
5844
+ Insert: {
5845
+ connection_id: string;
5846
+ created_at?: string;
5847
+ currency?: string;
5848
+ id?: string;
5849
+ is_deleted?: boolean;
5850
+ price?: number | null;
5851
+ price_group_id?: string | null;
5852
+ price_group_name?: string | null;
5853
+ price_type?: string;
5854
+ raw?: import("../integrations/supabase/types").Json | null;
5855
+ sales_unit?: string | null;
5856
+ sequence_number?: number;
5857
+ supplier_article_code?: string | null;
5858
+ supply_line_id: string;
5859
+ synced_at?: string;
5860
+ trade_item_id?: string | null;
5861
+ updated_at?: string;
5862
+ valid_from?: string | null;
5863
+ valid_to?: string | null;
5864
+ week?: number | null;
5865
+ year?: number | null;
5866
+ };
5867
+ Update: {
5868
+ connection_id?: string;
5869
+ created_at?: string;
5870
+ currency?: string;
5871
+ id?: string;
5872
+ is_deleted?: boolean;
5873
+ price?: number | null;
5874
+ price_group_id?: string | null;
5875
+ price_group_name?: string | null;
5876
+ price_type?: string;
5877
+ raw?: import("../integrations/supabase/types").Json | null;
5878
+ sales_unit?: string | null;
5879
+ sequence_number?: number;
5880
+ supplier_article_code?: string | null;
5881
+ supply_line_id?: string;
5882
+ synced_at?: string;
5883
+ trade_item_id?: string | null;
5884
+ updated_at?: string;
5885
+ valid_from?: string | null;
5886
+ valid_to?: string | null;
5887
+ week?: number | null;
5888
+ year?: number | null;
5889
+ };
5890
+ Relationships: [{
5891
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5892
+ columns: ["connection_id"];
5893
+ isOneToOne: false;
5894
+ referencedRelation: "floriday_connections";
5895
+ referencedColumns: ["id"];
5896
+ }];
5897
+ };
5820
5898
  floriday_clock_presales_cache: {
5821
5899
  Row: {
5822
5900
  buyer_organization_id: string | null;
@@ -10083,6 +10161,36 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
10083
10161
  };
10084
10162
  Relationships: [];
10085
10163
  };
10164
+ logistics_floriday_push_refusals: {
10165
+ Row: {
10166
+ action: string | null;
10167
+ created_at: string;
10168
+ id: string;
10169
+ order_ref: string;
10170
+ reason: string;
10171
+ source_module: string | null;
10172
+ source_shell: string | null;
10173
+ };
10174
+ Insert: {
10175
+ action?: string | null;
10176
+ created_at?: string;
10177
+ id?: string;
10178
+ order_ref: string;
10179
+ reason: string;
10180
+ source_module?: string | null;
10181
+ source_shell?: string | null;
10182
+ };
10183
+ Update: {
10184
+ action?: string | null;
10185
+ created_at?: string;
10186
+ id?: string;
10187
+ order_ref?: string;
10188
+ reason?: string;
10189
+ source_module?: string | null;
10190
+ source_shell?: string | null;
10191
+ };
10192
+ Relationships: [];
10193
+ };
10086
10194
  logistics_floriday_pushes: {
10087
10195
  Row: {
10088
10196
  attempts: number;
@@ -10158,6 +10266,42 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
10158
10266
  };
10159
10267
  Relationships: [];
10160
10268
  };
10269
+ logistics_floriday_status_sends: {
10270
+ Row: {
10271
+ action: string;
10272
+ created_at: string;
10273
+ detail: string | null;
10274
+ http_status: number | null;
10275
+ id: string;
10276
+ ok: boolean;
10277
+ order_ref: string;
10278
+ source_module: string | null;
10279
+ source_shell: string | null;
10280
+ };
10281
+ Insert: {
10282
+ action: string;
10283
+ created_at?: string;
10284
+ detail?: string | null;
10285
+ http_status?: number | null;
10286
+ id?: string;
10287
+ ok?: boolean;
10288
+ order_ref: string;
10289
+ source_module?: string | null;
10290
+ source_shell?: string | null;
10291
+ };
10292
+ Update: {
10293
+ action?: string;
10294
+ created_at?: string;
10295
+ detail?: string | null;
10296
+ http_status?: number | null;
10297
+ id?: string;
10298
+ ok?: boolean;
10299
+ order_ref?: string;
10300
+ source_module?: string | null;
10301
+ source_shell?: string | null;
10302
+ };
10303
+ Relationships: [];
10304
+ };
10161
10305
  logistics_formulas: {
10162
10306
  Row: {
10163
10307
  created_at: string;
@@ -10230,6 +10374,108 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
10230
10374
  };
10231
10375
  Relationships: [];
10232
10376
  };
10377
+ logistics_opening_exceptions: {
10378
+ Row: {
10379
+ closes: string | null;
10380
+ created_at: string;
10381
+ day: string;
10382
+ id: string;
10383
+ is_closed: boolean;
10384
+ note: string | null;
10385
+ opens: string | null;
10386
+ };
10387
+ Insert: {
10388
+ closes?: string | null;
10389
+ created_at?: string;
10390
+ day: string;
10391
+ id?: string;
10392
+ is_closed?: boolean;
10393
+ note?: string | null;
10394
+ opens?: string | null;
10395
+ };
10396
+ Update: {
10397
+ closes?: string | null;
10398
+ created_at?: string;
10399
+ day?: string;
10400
+ id?: string;
10401
+ is_closed?: boolean;
10402
+ note?: string | null;
10403
+ opens?: string | null;
10404
+ };
10405
+ Relationships: [];
10406
+ };
10407
+ logistics_opening_hours: {
10408
+ Row: {
10409
+ closes: string;
10410
+ created_at: string;
10411
+ id: string;
10412
+ is_active: boolean;
10413
+ note: string | null;
10414
+ opens: string;
10415
+ weekday: number;
10416
+ };
10417
+ Insert: {
10418
+ closes: string;
10419
+ created_at?: string;
10420
+ id?: string;
10421
+ is_active?: boolean;
10422
+ note?: string | null;
10423
+ opens: string;
10424
+ weekday: number;
10425
+ };
10426
+ Update: {
10427
+ closes?: string;
10428
+ created_at?: string;
10429
+ id?: string;
10430
+ is_active?: boolean;
10431
+ note?: string | null;
10432
+ opens?: string;
10433
+ weekday?: number;
10434
+ };
10435
+ Relationships: [];
10436
+ };
10437
+ logistics_pick_data_requests: {
10438
+ Row: {
10439
+ actions: import("../integrations/supabase/types").Json;
10440
+ created_at: string;
10441
+ event_id: string | null;
10442
+ finished_at: string | null;
10443
+ id: string;
10444
+ missing: import("../integrations/supabase/types").Json;
10445
+ order_ref: string;
10446
+ reason: string | null;
10447
+ result: import("../integrations/supabase/types").Json | null;
10448
+ status: string;
10449
+ unit_ref: string | null;
10450
+ };
10451
+ Insert: {
10452
+ actions?: import("../integrations/supabase/types").Json;
10453
+ created_at?: string;
10454
+ event_id?: string | null;
10455
+ finished_at?: string | null;
10456
+ id?: string;
10457
+ missing?: import("../integrations/supabase/types").Json;
10458
+ order_ref: string;
10459
+ reason?: string | null;
10460
+ result?: import("../integrations/supabase/types").Json | null;
10461
+ status?: string;
10462
+ unit_ref?: string | null;
10463
+ };
10464
+ Update: {
10465
+ actions?: import("../integrations/supabase/types").Json;
10466
+ created_at?: string;
10467
+ event_id?: string | null;
10468
+ finished_at?: string | null;
10469
+ id?: string;
10470
+ missing?: import("../integrations/supabase/types").Json;
10471
+ order_ref?: string;
10472
+ reason?: string | null;
10473
+ result?: import("../integrations/supabase/types").Json | null;
10474
+ status?: string;
10475
+ unit_ref?: string | null;
10476
+ };
10477
+ Relationships: [];
10478
+ };
10233
10479
  logistics_pickup_moments: {
10234
10480
  Row: {
10235
10481
  carrier_ref: string | null;
@@ -11022,6 +11268,24 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
11022
11268
  };
11023
11269
  Relationships: [];
11024
11270
  };
11271
+ logistics_time_settings: {
11272
+ Row: {
11273
+ id: boolean;
11274
+ timezone: string;
11275
+ updated_at: string;
11276
+ };
11277
+ Insert: {
11278
+ id?: boolean;
11279
+ timezone: string;
11280
+ updated_at?: string;
11281
+ };
11282
+ Update: {
11283
+ id?: boolean;
11284
+ timezone?: string;
11285
+ updated_at?: string;
11286
+ };
11287
+ Relationships: [];
11288
+ };
11025
11289
  logistics_variables: {
11026
11290
  Row: {
11027
11291
  created_at: string;
@@ -13412,6 +13676,7 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
13412
13676
  customer_name: string;
13413
13677
  deleted_at: string | null;
13414
13678
  delivery_date: string | null;
13679
+ floriday_order_group_key: string | null;
13415
13680
  floriday_sales_order_id: string | null;
13416
13681
  id: string;
13417
13682
  invoice_due_at: string | null;
@@ -13439,6 +13704,7 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
13439
13704
  customer_name?: string;
13440
13705
  deleted_at?: string | null;
13441
13706
  delivery_date?: string | null;
13707
+ floriday_order_group_key?: string | null;
13442
13708
  floriday_sales_order_id?: string | null;
13443
13709
  id?: string;
13444
13710
  invoice_due_at?: string | null;
@@ -13466,6 +13732,7 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
13466
13732
  customer_name?: string;
13467
13733
  deleted_at?: string | null;
13468
13734
  delivery_date?: string | null;
13735
+ floriday_order_group_key?: string | null;
13469
13736
  floriday_sales_order_id?: string | null;
13470
13737
  id?: string;
13471
13738
  invoice_due_at?: string | null;
@@ -13659,6 +13926,27 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
13659
13926
  };
13660
13927
  Relationships: [];
13661
13928
  };
13929
+ pick_buffer_event_cursor: {
13930
+ Row: {
13931
+ created_at: string;
13932
+ id: boolean;
13933
+ last_event_at: string;
13934
+ updated_at: string;
13935
+ };
13936
+ Insert: {
13937
+ created_at?: string;
13938
+ id?: boolean;
13939
+ last_event_at?: string;
13940
+ updated_at?: string;
13941
+ };
13942
+ Update: {
13943
+ created_at?: string;
13944
+ id?: boolean;
13945
+ last_event_at?: string;
13946
+ updated_at?: string;
13947
+ };
13948
+ Relationships: [];
13949
+ };
13662
13950
  pick_countries: {
13663
13951
  Row: {
13664
13952
  active: boolean;
@@ -19308,6 +19596,36 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
19308
19596
  referencedColumns: ["id"];
19309
19597
  }];
19310
19598
  };
19599
+ voorraad_buffer_state: {
19600
+ Row: {
19601
+ buffer_id: string;
19602
+ buffer_key: string | null;
19603
+ closed_at: string | null;
19604
+ created_at: string;
19605
+ detached_orders: import("../integrations/supabase/types").Json;
19606
+ reason: string | null;
19607
+ updated_at: string;
19608
+ };
19609
+ Insert: {
19610
+ buffer_id: string;
19611
+ buffer_key?: string | null;
19612
+ closed_at?: string | null;
19613
+ created_at?: string;
19614
+ detached_orders?: import("../integrations/supabase/types").Json;
19615
+ reason?: string | null;
19616
+ updated_at?: string;
19617
+ };
19618
+ Update: {
19619
+ buffer_id?: string;
19620
+ buffer_key?: string | null;
19621
+ closed_at?: string | null;
19622
+ created_at?: string;
19623
+ detached_orders?: import("../integrations/supabase/types").Json;
19624
+ reason?: string | null;
19625
+ updated_at?: string;
19626
+ };
19627
+ Relationships: [];
19628
+ };
19311
19629
  voorraad_custom_fields: {
19312
19630
  Row: {
19313
19631
  created_at: string;
@@ -19350,6 +19668,36 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
19350
19668
  };
19351
19669
  Relationships: [];
19352
19670
  };
19671
+ voorraad_logistics_event_log: {
19672
+ Row: {
19673
+ created_at: string;
19674
+ event_id: string;
19675
+ event_type: string;
19676
+ order_ref: string | null;
19677
+ processed_at: string;
19678
+ result: import("../integrations/supabase/types").Json;
19679
+ updated_at: string;
19680
+ };
19681
+ Insert: {
19682
+ created_at?: string;
19683
+ event_id: string;
19684
+ event_type: string;
19685
+ order_ref?: string | null;
19686
+ processed_at?: string;
19687
+ result?: import("../integrations/supabase/types").Json;
19688
+ updated_at?: string;
19689
+ };
19690
+ Update: {
19691
+ created_at?: string;
19692
+ event_id?: string;
19693
+ event_type?: string;
19694
+ order_ref?: string | null;
19695
+ processed_at?: string;
19696
+ result?: import("../integrations/supabase/types").Json;
19697
+ updated_at?: string;
19698
+ };
19699
+ Relationships: [];
19700
+ };
19353
19701
  voorraad_media_upload_failures: {
19354
19702
  Row: {
19355
19703
  action: string;
@@ -22175,6 +22523,17 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
22175
22523
  };
22176
22524
  Returns: boolean;
22177
22525
  };
22526
+ floriday_adopt_connection: {
22527
+ Args: {
22528
+ p_new: string;
22529
+ p_old: string;
22530
+ };
22531
+ Returns: import("../integrations/supabase/types").Json;
22532
+ };
22533
+ floriday_autoheal_connections: {
22534
+ Args: never;
22535
+ Returns: import("../integrations/supabase/types").Json;
22536
+ };
22178
22537
  floriday_capture_stock_snapshot: {
22179
22538
  Args: never;
22180
22539
  Returns: number;
@@ -22232,6 +22591,12 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
22232
22591
  };
22233
22592
  Returns: undefined;
22234
22593
  };
22594
+ floriday_relink_products: {
22595
+ Args: {
22596
+ p_connection_id?: string;
22597
+ };
22598
+ Returns: import("../integrations/supabase/types").Json;
22599
+ };
22235
22600
  floriday_requeue_dead_letters: {
22236
22601
  Args: {
22237
22602
  p_connection_id?: string;
@@ -22853,6 +23218,10 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
22853
23218
  };
22854
23219
  Returns: string;
22855
23220
  };
23221
+ logistics_active_layout_method: {
23222
+ Args: never;
23223
+ Returns: string;
23224
+ };
22856
23225
  logistics_active_pick_workdays: {
22857
23226
  Args: never;
22858
23227
  Returns: string[];
@@ -22960,6 +23329,15 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
22960
23329
  };
22961
23330
  Returns: boolean;
22962
23331
  };
23332
+ logistics_buffer_notify: {
23333
+ Args: {
23334
+ p_event_type: string;
23335
+ p_idempotency_key: string;
23336
+ p_order_ref: string;
23337
+ p_payload: import("../integrations/supabase/types").Json;
23338
+ };
23339
+ Returns: string;
23340
+ };
22963
23341
  logistics_buffer_open_key: {
22964
23342
  Args: {
22965
23343
  p_base_key: string;
@@ -23018,6 +23396,12 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23018
23396
  };
23019
23397
  Returns: string;
23020
23398
  };
23399
+ logistics_cart_checkin_at: {
23400
+ Args: {
23401
+ p_cart_id: string;
23402
+ };
23403
+ Returns: string;
23404
+ };
23021
23405
  logistics_cart_handled: {
23022
23406
  Args: {
23023
23407
  p_cart_index: number;
@@ -23051,10 +23435,22 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23051
23435
  task_status: string;
23052
23436
  }[];
23053
23437
  };
23438
+ logistics_cart_is_full: {
23439
+ Args: {
23440
+ p_cart_id: string;
23441
+ };
23442
+ Returns: boolean;
23443
+ };
23054
23444
  logistics_cart_layout_method: {
23055
23445
  Args: never;
23056
23446
  Returns: import("../integrations/supabase/types").Json;
23057
23447
  };
23448
+ logistics_cart_order_refs: {
23449
+ Args: {
23450
+ p_cart_id: string;
23451
+ };
23452
+ Returns: string[];
23453
+ };
23058
23454
  logistics_cart_plan_overview: {
23059
23455
  Args: {
23060
23456
  p_days?: number;
@@ -23074,6 +23470,18 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23074
23470
  };
23075
23471
  Returns: import("../integrations/supabase/types").Json;
23076
23472
  };
23473
+ logistics_cart_release_reason: {
23474
+ Args: {
23475
+ p_cart_id: string;
23476
+ };
23477
+ Returns: string;
23478
+ };
23479
+ logistics_cart_released: {
23480
+ Args: {
23481
+ p_cart_id: string;
23482
+ };
23483
+ Returns: boolean;
23484
+ };
23077
23485
  logistics_cart_seq: {
23078
23486
  Args: {
23079
23487
  p_order_uuid?: string;
@@ -23227,6 +23635,10 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23227
23635
  isSetofReturn: false;
23228
23636
  };
23229
23637
  };
23638
+ logistics_cleanup_orphan_print_jobs: {
23639
+ Args: never;
23640
+ Returns: import("../integrations/supabase/types").Json;
23641
+ };
23230
23642
  logistics_complete_task: {
23231
23643
  Args: {
23232
23644
  p_result?: import("../integrations/supabase/types").Json;
@@ -23289,6 +23701,12 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23289
23701
  station_carts: number;
23290
23702
  }[];
23291
23703
  };
23704
+ logistics_control_complete_cart: {
23705
+ Args: {
23706
+ p_cart_id: string;
23707
+ };
23708
+ Returns: number;
23709
+ };
23292
23710
  logistics_control_scan_approve: {
23293
23711
  Args: {
23294
23712
  p_allow_reprint?: boolean;
@@ -23368,6 +23786,15 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23368
23786
  Args: never;
23369
23787
  Returns: import("../integrations/supabase/types").Json;
23370
23788
  };
23789
+ logistics_day_windows: {
23790
+ Args: {
23791
+ p_day: string;
23792
+ };
23793
+ Returns: {
23794
+ win_end: string;
23795
+ win_start: string;
23796
+ }[];
23797
+ };
23371
23798
  logistics_delay_customer_email: {
23372
23799
  Args: {
23373
23800
  p_customer: string;
@@ -23435,6 +23862,17 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23435
23862
  };
23436
23863
  Returns: import("../integrations/supabase/types").Json;
23437
23864
  };
23865
+ logistics_enqueue_shipping_note_with_slip: {
23866
+ Args: {
23867
+ _cart_id: string;
23868
+ _is_herprint: boolean;
23869
+ _printer_id: string;
23870
+ _queue_item_id: string;
23871
+ _session_id: string;
23872
+ _slip_job_id: string;
23873
+ };
23874
+ Returns: string;
23875
+ };
23438
23876
  logistics_enqueue_sticker_with_slip: {
23439
23877
  Args: {
23440
23878
  _cart_id: string;
@@ -23452,6 +23890,14 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23452
23890
  };
23453
23891
  Returns: string;
23454
23892
  };
23893
+ logistics_ensure_pick_data: {
23894
+ Args: {
23895
+ p_event_id?: string;
23896
+ p_missing?: import("../integrations/supabase/types").Json;
23897
+ p_ref: string;
23898
+ };
23899
+ Returns: import("../integrations/supabase/types").Json;
23900
+ };
23455
23901
  logistics_fail_task: {
23456
23902
  Args: {
23457
23903
  p_error: string;
@@ -23573,6 +24019,38 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23573
24019
  };
23574
24020
  Returns: string;
23575
24021
  };
24022
+ logistics_floriday_gate_status: {
24023
+ Args: never;
24024
+ Returns: import("../integrations/supabase/types").Json;
24025
+ };
24026
+ logistics_floriday_log_refusal: {
24027
+ Args: {
24028
+ _action?: string;
24029
+ _module?: string;
24030
+ _order_ref: string;
24031
+ _reason: string;
24032
+ _shell?: string;
24033
+ };
24034
+ Returns: undefined;
24035
+ };
24036
+ logistics_floriday_log_send: {
24037
+ Args: {
24038
+ _action: string;
24039
+ _detail?: string;
24040
+ _http_status?: number;
24041
+ _module?: string;
24042
+ _ok: boolean;
24043
+ _order_ref: string;
24044
+ _shell?: string;
24045
+ };
24046
+ Returns: undefined;
24047
+ };
24048
+ logistics_floriday_order_approved: {
24049
+ Args: {
24050
+ _order_ref: string;
24051
+ };
24052
+ Returns: boolean;
24053
+ };
23576
24054
  logistics_floriday_prune_pushes: {
23577
24055
  Args: {
23578
24056
  _days?: number;
@@ -23587,6 +24065,20 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23587
24065
  };
23588
24066
  Returns: string;
23589
24067
  };
24068
+ logistics_floriday_status_updates_enabled: {
24069
+ Args: never;
24070
+ Returns: boolean;
24071
+ };
24072
+ logistics_floriday_stock_updates_enabled: {
24073
+ Args: never;
24074
+ Returns: boolean;
24075
+ };
24076
+ logistics_floriday_write_allowed: {
24077
+ Args: {
24078
+ _action: string;
24079
+ };
24080
+ Returns: boolean;
24081
+ };
23590
24082
  logistics_fulfill_barcode_requests: {
23591
24083
  Args: {
23592
24084
  p_limit?: number;
@@ -23607,6 +24099,16 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23607
24099
  };
23608
24100
  Returns: boolean;
23609
24101
  };
24102
+ logistics_layout_method_status: {
24103
+ Args: never;
24104
+ Returns: import("../integrations/supabase/types").Json;
24105
+ };
24106
+ logistics_link_order_items: {
24107
+ Args: {
24108
+ p_order?: string;
24109
+ };
24110
+ Returns: import("../integrations/supabase/types").Json;
24111
+ };
23610
24112
  logistics_live_carriers: {
23611
24113
  Args: {
23612
24114
  p_order_ref: string;
@@ -23619,6 +24121,12 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23619
24121
  };
23620
24122
  Returns: number;
23621
24123
  };
24124
+ logistics_merge_partial_carts: {
24125
+ Args: {
24126
+ p_limit?: number;
24127
+ };
24128
+ Returns: import("../integrations/supabase/types").Json;
24129
+ };
23622
24130
  logistics_next_workday_date: {
23623
24131
  Args: {
23624
24132
  p_date: string;
@@ -23633,12 +24141,22 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23633
24141
  };
23634
24142
  Returns: string;
23635
24143
  };
24144
+ logistics_normalize_product_label: {
24145
+ Args: {
24146
+ p_label: string;
24147
+ };
24148
+ Returns: string;
24149
+ };
23636
24150
  logistics_not_past: {
23637
24151
  Args: {
23638
24152
  p_ts: string;
23639
24153
  };
23640
24154
  Returns: string;
23641
24155
  };
24156
+ logistics_opening_timezone: {
24157
+ Args: never;
24158
+ Returns: string;
24159
+ };
23642
24160
  logistics_order_cart_count: {
23643
24161
  Args: {
23644
24162
  p_order_ref: string;
@@ -23723,6 +24241,10 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23723
24241
  Args: never;
23724
24242
  Returns: import("../integrations/supabase/types").Json;
23725
24243
  };
24244
+ logistics_pick_partial_mode: {
24245
+ Args: never;
24246
+ Returns: string;
24247
+ };
23726
24248
  logistics_pick_start_estimate: {
23727
24249
  Args: {
23728
24250
  p_order: import("../integrations/supabase/types").Json;
@@ -23834,6 +24356,12 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23834
24356
  };
23835
24357
  Returns: number;
23836
24358
  };
24359
+ logistics_prepare_pick_documents: {
24360
+ Args: {
24361
+ p_limit?: number;
24362
+ };
24363
+ Returns: import("../integrations/supabase/types").Json;
24364
+ };
23837
24365
  logistics_prune_buffer_member_queue: {
23838
24366
  Args: never;
23839
24367
  Returns: number;
@@ -23874,12 +24402,30 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23874
24402
  Args: never;
23875
24403
  Returns: import("../integrations/supabase/types").Json;
23876
24404
  };
24405
+ logistics_refresh_pick_queue_status: {
24406
+ Args: {
24407
+ p_ref: string;
24408
+ };
24409
+ Returns: number;
24410
+ };
23877
24411
  logistics_refresh_pickup_moments: {
23878
24412
  Args: {
23879
24413
  p_weeks?: number;
23880
24414
  };
23881
24415
  Returns: import("../integrations/supabase/types").Json;
23882
24416
  };
24417
+ logistics_replan_all: {
24418
+ Args: {
24419
+ p_reason?: string;
24420
+ };
24421
+ Returns: import("../integrations/supabase/types").Json;
24422
+ };
24423
+ logistics_replan_all_force: {
24424
+ Args: {
24425
+ p_reason?: string;
24426
+ };
24427
+ Returns: import("../integrations/supabase/types").Json;
24428
+ };
23883
24429
  logistics_report_delay: {
23884
24430
  Args: {
23885
24431
  p_expected_date?: string;
@@ -23933,6 +24479,12 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
23933
24479
  };
23934
24480
  Returns: import("../integrations/supabase/types").Json;
23935
24481
  };
24482
+ logistics_resolve_product_id: {
24483
+ Args: {
24484
+ p_label: string;
24485
+ };
24486
+ Returns: string;
24487
+ };
23936
24488
  logistics_resolve_settings: {
23937
24489
  Args: {
23938
24490
  p_config_id: string;
@@ -24018,6 +24570,10 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
24018
24570
  };
24019
24571
  Returns: string;
24020
24572
  };
24573
+ logistics_shipping_note_follows_slip: {
24574
+ Args: never;
24575
+ Returns: boolean;
24576
+ };
24021
24577
  logistics_shipping_note_from_barcode: {
24022
24578
  Args: {
24023
24579
  p_allow_reprint?: boolean;
@@ -24030,6 +24586,14 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
24030
24586
  Args: never;
24031
24587
  Returns: boolean;
24032
24588
  };
24589
+ logistics_subtract_working_minutes: {
24590
+ Args: {
24591
+ p_deadline: string;
24592
+ p_max_workdays?: number;
24593
+ p_minutes: number;
24594
+ };
24595
+ Returns: import("../integrations/supabase/types").Json;
24596
+ };
24033
24597
  logistics_supersede_stale_tasks: {
24034
24598
  Args: {
24035
24599
  p_keep: string[];
@@ -24066,6 +24630,12 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
24066
24630
  Args: never;
24067
24631
  Returns: string;
24068
24632
  };
24633
+ logistics_timezone_options: {
24634
+ Args: never;
24635
+ Returns: {
24636
+ name: string;
24637
+ }[];
24638
+ };
24069
24639
  logistics_upsert_task: {
24070
24640
  Args: {
24071
24641
  p_buffer_ref: string;
@@ -24085,6 +24655,16 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
24085
24655
  };
24086
24656
  Returns: string;
24087
24657
  };
24658
+ logistics_valid_timezone: {
24659
+ Args: {
24660
+ _tz: string;
24661
+ };
24662
+ Returns: boolean;
24663
+ };
24664
+ logistics_working_hours_status: {
24665
+ Args: never;
24666
+ Returns: import("../integrations/supabase/types").Json;
24667
+ };
24088
24668
  logistics_write_buffer_layer_positions: {
24089
24669
  Args: {
24090
24670
  p_buffer_id: string;
@@ -24250,6 +24830,10 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
24250
24830
  online: boolean;
24251
24831
  }[];
24252
24832
  };
24833
+ pick_apply_buffer_events: {
24834
+ Args: never;
24835
+ Returns: import("../integrations/supabase/types").Json;
24836
+ };
24253
24837
  pick_available_pick_days: {
24254
24838
  Args: {
24255
24839
  _max_days?: number;
@@ -25526,6 +26110,13 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
25526
26110
  };
25527
26111
  Returns: number;
25528
26112
  };
26113
+ schedule_floriday_catalog_prices_sync: {
26114
+ Args: {
26115
+ p_apikey: string;
26116
+ p_url: string;
26117
+ };
26118
+ Returns: number;
26119
+ };
25529
26120
  schedule_floriday_clock_presales_sync: {
25530
26121
  Args: {
25531
26122
  p_apikey: string;
@@ -25826,6 +26417,10 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
25826
26417
  };
25827
26418
  Returns: undefined;
25828
26419
  };
26420
+ sync_floriday_prices_into_price_groups: {
26421
+ Args: never;
26422
+ Returns: number;
26423
+ };
25829
26424
  sync_layer_stock: {
25830
26425
  Args: {
25831
26426
  p_product_id: string;