@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
@@ -5813,6 +5813,84 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
5813
5813
  referencedColumns: ["id"];
5814
5814
  }];
5815
5815
  };
5816
+ floriday_catalog_prices_cache: {
5817
+ Row: {
5818
+ connection_id: string;
5819
+ created_at: string;
5820
+ currency: string;
5821
+ id: string;
5822
+ is_deleted: boolean;
5823
+ price: number | null;
5824
+ price_group_id: string | null;
5825
+ price_group_name: string | null;
5826
+ price_type: string;
5827
+ raw: import("../integrations/supabase/types").Json | null;
5828
+ sales_unit: string | null;
5829
+ sequence_number: number;
5830
+ supplier_article_code: string | null;
5831
+ supply_line_id: string;
5832
+ synced_at: string;
5833
+ trade_item_id: string | null;
5834
+ updated_at: string;
5835
+ valid_from: string | null;
5836
+ valid_to: string | null;
5837
+ week: number | null;
5838
+ year: number | null;
5839
+ };
5840
+ Insert: {
5841
+ connection_id: string;
5842
+ created_at?: string;
5843
+ currency?: string;
5844
+ id?: string;
5845
+ is_deleted?: boolean;
5846
+ price?: number | null;
5847
+ price_group_id?: string | null;
5848
+ price_group_name?: string | null;
5849
+ price_type?: string;
5850
+ raw?: import("../integrations/supabase/types").Json | null;
5851
+ sales_unit?: string | null;
5852
+ sequence_number?: number;
5853
+ supplier_article_code?: string | null;
5854
+ supply_line_id: string;
5855
+ synced_at?: string;
5856
+ trade_item_id?: string | null;
5857
+ updated_at?: string;
5858
+ valid_from?: string | null;
5859
+ valid_to?: string | null;
5860
+ week?: number | null;
5861
+ year?: number | null;
5862
+ };
5863
+ Update: {
5864
+ connection_id?: string;
5865
+ created_at?: string;
5866
+ currency?: string;
5867
+ id?: string;
5868
+ is_deleted?: boolean;
5869
+ price?: number | null;
5870
+ price_group_id?: string | null;
5871
+ price_group_name?: string | null;
5872
+ price_type?: string;
5873
+ raw?: import("../integrations/supabase/types").Json | null;
5874
+ sales_unit?: string | null;
5875
+ sequence_number?: number;
5876
+ supplier_article_code?: string | null;
5877
+ supply_line_id?: string;
5878
+ synced_at?: string;
5879
+ trade_item_id?: string | null;
5880
+ updated_at?: string;
5881
+ valid_from?: string | null;
5882
+ valid_to?: string | null;
5883
+ week?: number | null;
5884
+ year?: number | null;
5885
+ };
5886
+ Relationships: [{
5887
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5888
+ columns: ["connection_id"];
5889
+ isOneToOne: false;
5890
+ referencedRelation: "floriday_connections";
5891
+ referencedColumns: ["id"];
5892
+ }];
5893
+ };
5816
5894
  floriday_clock_presales_cache: {
5817
5895
  Row: {
5818
5896
  buyer_organization_id: string | null;
@@ -10079,6 +10157,36 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
10079
10157
  };
10080
10158
  Relationships: [];
10081
10159
  };
10160
+ logistics_floriday_push_refusals: {
10161
+ Row: {
10162
+ action: string | null;
10163
+ created_at: string;
10164
+ id: string;
10165
+ order_ref: string;
10166
+ reason: string;
10167
+ source_module: string | null;
10168
+ source_shell: string | null;
10169
+ };
10170
+ Insert: {
10171
+ action?: string | null;
10172
+ created_at?: string;
10173
+ id?: string;
10174
+ order_ref: string;
10175
+ reason: string;
10176
+ source_module?: string | null;
10177
+ source_shell?: string | null;
10178
+ };
10179
+ Update: {
10180
+ action?: string | null;
10181
+ created_at?: string;
10182
+ id?: string;
10183
+ order_ref?: string;
10184
+ reason?: string;
10185
+ source_module?: string | null;
10186
+ source_shell?: string | null;
10187
+ };
10188
+ Relationships: [];
10189
+ };
10082
10190
  logistics_floriday_pushes: {
10083
10191
  Row: {
10084
10192
  attempts: number;
@@ -10154,6 +10262,42 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
10154
10262
  };
10155
10263
  Relationships: [];
10156
10264
  };
10265
+ logistics_floriday_status_sends: {
10266
+ Row: {
10267
+ action: string;
10268
+ created_at: string;
10269
+ detail: string | null;
10270
+ http_status: number | null;
10271
+ id: string;
10272
+ ok: boolean;
10273
+ order_ref: string;
10274
+ source_module: string | null;
10275
+ source_shell: string | null;
10276
+ };
10277
+ Insert: {
10278
+ action: string;
10279
+ created_at?: string;
10280
+ detail?: string | null;
10281
+ http_status?: number | null;
10282
+ id?: string;
10283
+ ok?: boolean;
10284
+ order_ref: string;
10285
+ source_module?: string | null;
10286
+ source_shell?: string | null;
10287
+ };
10288
+ Update: {
10289
+ action?: string;
10290
+ created_at?: string;
10291
+ detail?: string | null;
10292
+ http_status?: number | null;
10293
+ id?: string;
10294
+ ok?: boolean;
10295
+ order_ref?: string;
10296
+ source_module?: string | null;
10297
+ source_shell?: string | null;
10298
+ };
10299
+ Relationships: [];
10300
+ };
10157
10301
  logistics_formulas: {
10158
10302
  Row: {
10159
10303
  created_at: string;
@@ -10226,6 +10370,108 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
10226
10370
  };
10227
10371
  Relationships: [];
10228
10372
  };
10373
+ logistics_opening_exceptions: {
10374
+ Row: {
10375
+ closes: string | null;
10376
+ created_at: string;
10377
+ day: string;
10378
+ id: string;
10379
+ is_closed: boolean;
10380
+ note: string | null;
10381
+ opens: string | null;
10382
+ };
10383
+ Insert: {
10384
+ closes?: string | null;
10385
+ created_at?: string;
10386
+ day: string;
10387
+ id?: string;
10388
+ is_closed?: boolean;
10389
+ note?: string | null;
10390
+ opens?: string | null;
10391
+ };
10392
+ Update: {
10393
+ closes?: string | null;
10394
+ created_at?: string;
10395
+ day?: string;
10396
+ id?: string;
10397
+ is_closed?: boolean;
10398
+ note?: string | null;
10399
+ opens?: string | null;
10400
+ };
10401
+ Relationships: [];
10402
+ };
10403
+ logistics_opening_hours: {
10404
+ Row: {
10405
+ closes: string;
10406
+ created_at: string;
10407
+ id: string;
10408
+ is_active: boolean;
10409
+ note: string | null;
10410
+ opens: string;
10411
+ weekday: number;
10412
+ };
10413
+ Insert: {
10414
+ closes: string;
10415
+ created_at?: string;
10416
+ id?: string;
10417
+ is_active?: boolean;
10418
+ note?: string | null;
10419
+ opens: string;
10420
+ weekday: number;
10421
+ };
10422
+ Update: {
10423
+ closes?: string;
10424
+ created_at?: string;
10425
+ id?: string;
10426
+ is_active?: boolean;
10427
+ note?: string | null;
10428
+ opens?: string;
10429
+ weekday?: number;
10430
+ };
10431
+ Relationships: [];
10432
+ };
10433
+ logistics_pick_data_requests: {
10434
+ Row: {
10435
+ actions: import("../integrations/supabase/types").Json;
10436
+ created_at: string;
10437
+ event_id: string | null;
10438
+ finished_at: string | null;
10439
+ id: string;
10440
+ missing: import("../integrations/supabase/types").Json;
10441
+ order_ref: string;
10442
+ reason: string | null;
10443
+ result: import("../integrations/supabase/types").Json | null;
10444
+ status: string;
10445
+ unit_ref: string | null;
10446
+ };
10447
+ Insert: {
10448
+ actions?: import("../integrations/supabase/types").Json;
10449
+ created_at?: string;
10450
+ event_id?: string | null;
10451
+ finished_at?: string | null;
10452
+ id?: string;
10453
+ missing?: import("../integrations/supabase/types").Json;
10454
+ order_ref: string;
10455
+ reason?: string | null;
10456
+ result?: import("../integrations/supabase/types").Json | null;
10457
+ status?: string;
10458
+ unit_ref?: string | null;
10459
+ };
10460
+ Update: {
10461
+ actions?: import("../integrations/supabase/types").Json;
10462
+ created_at?: string;
10463
+ event_id?: string | null;
10464
+ finished_at?: string | null;
10465
+ id?: string;
10466
+ missing?: import("../integrations/supabase/types").Json;
10467
+ order_ref?: string;
10468
+ reason?: string | null;
10469
+ result?: import("../integrations/supabase/types").Json | null;
10470
+ status?: string;
10471
+ unit_ref?: string | null;
10472
+ };
10473
+ Relationships: [];
10474
+ };
10229
10475
  logistics_pickup_moments: {
10230
10476
  Row: {
10231
10477
  carrier_ref: string | null;
@@ -11018,6 +11264,24 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
11018
11264
  };
11019
11265
  Relationships: [];
11020
11266
  };
11267
+ logistics_time_settings: {
11268
+ Row: {
11269
+ id: boolean;
11270
+ timezone: string;
11271
+ updated_at: string;
11272
+ };
11273
+ Insert: {
11274
+ id?: boolean;
11275
+ timezone: string;
11276
+ updated_at?: string;
11277
+ };
11278
+ Update: {
11279
+ id?: boolean;
11280
+ timezone?: string;
11281
+ updated_at?: string;
11282
+ };
11283
+ Relationships: [];
11284
+ };
11021
11285
  logistics_variables: {
11022
11286
  Row: {
11023
11287
  created_at: string;
@@ -13408,6 +13672,7 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
13408
13672
  customer_name: string;
13409
13673
  deleted_at: string | null;
13410
13674
  delivery_date: string | null;
13675
+ floriday_order_group_key: string | null;
13411
13676
  floriday_sales_order_id: string | null;
13412
13677
  id: string;
13413
13678
  invoice_due_at: string | null;
@@ -13435,6 +13700,7 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
13435
13700
  customer_name?: string;
13436
13701
  deleted_at?: string | null;
13437
13702
  delivery_date?: string | null;
13703
+ floriday_order_group_key?: string | null;
13438
13704
  floriday_sales_order_id?: string | null;
13439
13705
  id?: string;
13440
13706
  invoice_due_at?: string | null;
@@ -13462,6 +13728,7 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
13462
13728
  customer_name?: string;
13463
13729
  deleted_at?: string | null;
13464
13730
  delivery_date?: string | null;
13731
+ floriday_order_group_key?: string | null;
13465
13732
  floriday_sales_order_id?: string | null;
13466
13733
  id?: string;
13467
13734
  invoice_due_at?: string | null;
@@ -13655,6 +13922,27 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
13655
13922
  };
13656
13923
  Relationships: [];
13657
13924
  };
13925
+ pick_buffer_event_cursor: {
13926
+ Row: {
13927
+ created_at: string;
13928
+ id: boolean;
13929
+ last_event_at: string;
13930
+ updated_at: string;
13931
+ };
13932
+ Insert: {
13933
+ created_at?: string;
13934
+ id?: boolean;
13935
+ last_event_at?: string;
13936
+ updated_at?: string;
13937
+ };
13938
+ Update: {
13939
+ created_at?: string;
13940
+ id?: boolean;
13941
+ last_event_at?: string;
13942
+ updated_at?: string;
13943
+ };
13944
+ Relationships: [];
13945
+ };
13658
13946
  pick_countries: {
13659
13947
  Row: {
13660
13948
  active: boolean;
@@ -19304,6 +19592,36 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
19304
19592
  referencedColumns: ["id"];
19305
19593
  }];
19306
19594
  };
19595
+ voorraad_buffer_state: {
19596
+ Row: {
19597
+ buffer_id: string;
19598
+ buffer_key: string | null;
19599
+ closed_at: string | null;
19600
+ created_at: string;
19601
+ detached_orders: import("../integrations/supabase/types").Json;
19602
+ reason: string | null;
19603
+ updated_at: string;
19604
+ };
19605
+ Insert: {
19606
+ buffer_id: string;
19607
+ buffer_key?: string | null;
19608
+ closed_at?: string | null;
19609
+ created_at?: string;
19610
+ detached_orders?: import("../integrations/supabase/types").Json;
19611
+ reason?: string | null;
19612
+ updated_at?: string;
19613
+ };
19614
+ Update: {
19615
+ buffer_id?: string;
19616
+ buffer_key?: string | null;
19617
+ closed_at?: string | null;
19618
+ created_at?: string;
19619
+ detached_orders?: import("../integrations/supabase/types").Json;
19620
+ reason?: string | null;
19621
+ updated_at?: string;
19622
+ };
19623
+ Relationships: [];
19624
+ };
19307
19625
  voorraad_custom_fields: {
19308
19626
  Row: {
19309
19627
  created_at: string;
@@ -19346,6 +19664,36 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
19346
19664
  };
19347
19665
  Relationships: [];
19348
19666
  };
19667
+ voorraad_logistics_event_log: {
19668
+ Row: {
19669
+ created_at: string;
19670
+ event_id: string;
19671
+ event_type: string;
19672
+ order_ref: string | null;
19673
+ processed_at: string;
19674
+ result: import("../integrations/supabase/types").Json;
19675
+ updated_at: string;
19676
+ };
19677
+ Insert: {
19678
+ created_at?: string;
19679
+ event_id: string;
19680
+ event_type: string;
19681
+ order_ref?: string | null;
19682
+ processed_at?: string;
19683
+ result?: import("../integrations/supabase/types").Json;
19684
+ updated_at?: string;
19685
+ };
19686
+ Update: {
19687
+ created_at?: string;
19688
+ event_id?: string;
19689
+ event_type?: string;
19690
+ order_ref?: string | null;
19691
+ processed_at?: string;
19692
+ result?: import("../integrations/supabase/types").Json;
19693
+ updated_at?: string;
19694
+ };
19695
+ Relationships: [];
19696
+ };
19349
19697
  voorraad_media_upload_failures: {
19350
19698
  Row: {
19351
19699
  action: string;
@@ -22171,6 +22519,17 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
22171
22519
  };
22172
22520
  Returns: boolean;
22173
22521
  };
22522
+ floriday_adopt_connection: {
22523
+ Args: {
22524
+ p_new: string;
22525
+ p_old: string;
22526
+ };
22527
+ Returns: import("../integrations/supabase/types").Json;
22528
+ };
22529
+ floriday_autoheal_connections: {
22530
+ Args: never;
22531
+ Returns: import("../integrations/supabase/types").Json;
22532
+ };
22174
22533
  floriday_capture_stock_snapshot: {
22175
22534
  Args: never;
22176
22535
  Returns: number;
@@ -22228,6 +22587,12 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
22228
22587
  };
22229
22588
  Returns: undefined;
22230
22589
  };
22590
+ floriday_relink_products: {
22591
+ Args: {
22592
+ p_connection_id?: string;
22593
+ };
22594
+ Returns: import("../integrations/supabase/types").Json;
22595
+ };
22231
22596
  floriday_requeue_dead_letters: {
22232
22597
  Args: {
22233
22598
  p_connection_id?: string;
@@ -22849,6 +23214,10 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
22849
23214
  };
22850
23215
  Returns: string;
22851
23216
  };
23217
+ logistics_active_layout_method: {
23218
+ Args: never;
23219
+ Returns: string;
23220
+ };
22852
23221
  logistics_active_pick_workdays: {
22853
23222
  Args: never;
22854
23223
  Returns: string[];
@@ -22956,6 +23325,15 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
22956
23325
  };
22957
23326
  Returns: boolean;
22958
23327
  };
23328
+ logistics_buffer_notify: {
23329
+ Args: {
23330
+ p_event_type: string;
23331
+ p_idempotency_key: string;
23332
+ p_order_ref: string;
23333
+ p_payload: import("../integrations/supabase/types").Json;
23334
+ };
23335
+ Returns: string;
23336
+ };
22959
23337
  logistics_buffer_open_key: {
22960
23338
  Args: {
22961
23339
  p_base_key: string;
@@ -23014,6 +23392,12 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23014
23392
  };
23015
23393
  Returns: string;
23016
23394
  };
23395
+ logistics_cart_checkin_at: {
23396
+ Args: {
23397
+ p_cart_id: string;
23398
+ };
23399
+ Returns: string;
23400
+ };
23017
23401
  logistics_cart_handled: {
23018
23402
  Args: {
23019
23403
  p_cart_index: number;
@@ -23047,10 +23431,22 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23047
23431
  task_status: string;
23048
23432
  }[];
23049
23433
  };
23434
+ logistics_cart_is_full: {
23435
+ Args: {
23436
+ p_cart_id: string;
23437
+ };
23438
+ Returns: boolean;
23439
+ };
23050
23440
  logistics_cart_layout_method: {
23051
23441
  Args: never;
23052
23442
  Returns: import("../integrations/supabase/types").Json;
23053
23443
  };
23444
+ logistics_cart_order_refs: {
23445
+ Args: {
23446
+ p_cart_id: string;
23447
+ };
23448
+ Returns: string[];
23449
+ };
23054
23450
  logistics_cart_plan_overview: {
23055
23451
  Args: {
23056
23452
  p_days?: number;
@@ -23070,6 +23466,18 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23070
23466
  };
23071
23467
  Returns: import("../integrations/supabase/types").Json;
23072
23468
  };
23469
+ logistics_cart_release_reason: {
23470
+ Args: {
23471
+ p_cart_id: string;
23472
+ };
23473
+ Returns: string;
23474
+ };
23475
+ logistics_cart_released: {
23476
+ Args: {
23477
+ p_cart_id: string;
23478
+ };
23479
+ Returns: boolean;
23480
+ };
23073
23481
  logistics_cart_seq: {
23074
23482
  Args: {
23075
23483
  p_order_uuid?: string;
@@ -23223,6 +23631,10 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23223
23631
  isSetofReturn: false;
23224
23632
  };
23225
23633
  };
23634
+ logistics_cleanup_orphan_print_jobs: {
23635
+ Args: never;
23636
+ Returns: import("../integrations/supabase/types").Json;
23637
+ };
23226
23638
  logistics_complete_task: {
23227
23639
  Args: {
23228
23640
  p_result?: import("../integrations/supabase/types").Json;
@@ -23285,6 +23697,12 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23285
23697
  station_carts: number;
23286
23698
  }[];
23287
23699
  };
23700
+ logistics_control_complete_cart: {
23701
+ Args: {
23702
+ p_cart_id: string;
23703
+ };
23704
+ Returns: number;
23705
+ };
23288
23706
  logistics_control_scan_approve: {
23289
23707
  Args: {
23290
23708
  p_allow_reprint?: boolean;
@@ -23364,6 +23782,15 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23364
23782
  Args: never;
23365
23783
  Returns: import("../integrations/supabase/types").Json;
23366
23784
  };
23785
+ logistics_day_windows: {
23786
+ Args: {
23787
+ p_day: string;
23788
+ };
23789
+ Returns: {
23790
+ win_end: string;
23791
+ win_start: string;
23792
+ }[];
23793
+ };
23367
23794
  logistics_delay_customer_email: {
23368
23795
  Args: {
23369
23796
  p_customer: string;
@@ -23431,6 +23858,17 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23431
23858
  };
23432
23859
  Returns: import("../integrations/supabase/types").Json;
23433
23860
  };
23861
+ logistics_enqueue_shipping_note_with_slip: {
23862
+ Args: {
23863
+ _cart_id: string;
23864
+ _is_herprint: boolean;
23865
+ _printer_id: string;
23866
+ _queue_item_id: string;
23867
+ _session_id: string;
23868
+ _slip_job_id: string;
23869
+ };
23870
+ Returns: string;
23871
+ };
23434
23872
  logistics_enqueue_sticker_with_slip: {
23435
23873
  Args: {
23436
23874
  _cart_id: string;
@@ -23448,6 +23886,14 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23448
23886
  };
23449
23887
  Returns: string;
23450
23888
  };
23889
+ logistics_ensure_pick_data: {
23890
+ Args: {
23891
+ p_event_id?: string;
23892
+ p_missing?: import("../integrations/supabase/types").Json;
23893
+ p_ref: string;
23894
+ };
23895
+ Returns: import("../integrations/supabase/types").Json;
23896
+ };
23451
23897
  logistics_fail_task: {
23452
23898
  Args: {
23453
23899
  p_error: string;
@@ -23569,6 +24015,38 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23569
24015
  };
23570
24016
  Returns: string;
23571
24017
  };
24018
+ logistics_floriday_gate_status: {
24019
+ Args: never;
24020
+ Returns: import("../integrations/supabase/types").Json;
24021
+ };
24022
+ logistics_floriday_log_refusal: {
24023
+ Args: {
24024
+ _action?: string;
24025
+ _module?: string;
24026
+ _order_ref: string;
24027
+ _reason: string;
24028
+ _shell?: string;
24029
+ };
24030
+ Returns: undefined;
24031
+ };
24032
+ logistics_floriday_log_send: {
24033
+ Args: {
24034
+ _action: string;
24035
+ _detail?: string;
24036
+ _http_status?: number;
24037
+ _module?: string;
24038
+ _ok: boolean;
24039
+ _order_ref: string;
24040
+ _shell?: string;
24041
+ };
24042
+ Returns: undefined;
24043
+ };
24044
+ logistics_floriday_order_approved: {
24045
+ Args: {
24046
+ _order_ref: string;
24047
+ };
24048
+ Returns: boolean;
24049
+ };
23572
24050
  logistics_floriday_prune_pushes: {
23573
24051
  Args: {
23574
24052
  _days?: number;
@@ -23583,6 +24061,20 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23583
24061
  };
23584
24062
  Returns: string;
23585
24063
  };
24064
+ logistics_floriday_status_updates_enabled: {
24065
+ Args: never;
24066
+ Returns: boolean;
24067
+ };
24068
+ logistics_floriday_stock_updates_enabled: {
24069
+ Args: never;
24070
+ Returns: boolean;
24071
+ };
24072
+ logistics_floriday_write_allowed: {
24073
+ Args: {
24074
+ _action: string;
24075
+ };
24076
+ Returns: boolean;
24077
+ };
23586
24078
  logistics_fulfill_barcode_requests: {
23587
24079
  Args: {
23588
24080
  p_limit?: number;
@@ -23603,6 +24095,16 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23603
24095
  };
23604
24096
  Returns: boolean;
23605
24097
  };
24098
+ logistics_layout_method_status: {
24099
+ Args: never;
24100
+ Returns: import("../integrations/supabase/types").Json;
24101
+ };
24102
+ logistics_link_order_items: {
24103
+ Args: {
24104
+ p_order?: string;
24105
+ };
24106
+ Returns: import("../integrations/supabase/types").Json;
24107
+ };
23606
24108
  logistics_live_carriers: {
23607
24109
  Args: {
23608
24110
  p_order_ref: string;
@@ -23615,6 +24117,12 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23615
24117
  };
23616
24118
  Returns: number;
23617
24119
  };
24120
+ logistics_merge_partial_carts: {
24121
+ Args: {
24122
+ p_limit?: number;
24123
+ };
24124
+ Returns: import("../integrations/supabase/types").Json;
24125
+ };
23618
24126
  logistics_next_workday_date: {
23619
24127
  Args: {
23620
24128
  p_date: string;
@@ -23629,12 +24137,22 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23629
24137
  };
23630
24138
  Returns: string;
23631
24139
  };
24140
+ logistics_normalize_product_label: {
24141
+ Args: {
24142
+ p_label: string;
24143
+ };
24144
+ Returns: string;
24145
+ };
23632
24146
  logistics_not_past: {
23633
24147
  Args: {
23634
24148
  p_ts: string;
23635
24149
  };
23636
24150
  Returns: string;
23637
24151
  };
24152
+ logistics_opening_timezone: {
24153
+ Args: never;
24154
+ Returns: string;
24155
+ };
23638
24156
  logistics_order_cart_count: {
23639
24157
  Args: {
23640
24158
  p_order_ref: string;
@@ -23719,6 +24237,10 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23719
24237
  Args: never;
23720
24238
  Returns: import("../integrations/supabase/types").Json;
23721
24239
  };
24240
+ logistics_pick_partial_mode: {
24241
+ Args: never;
24242
+ Returns: string;
24243
+ };
23722
24244
  logistics_pick_start_estimate: {
23723
24245
  Args: {
23724
24246
  p_order: import("../integrations/supabase/types").Json;
@@ -23830,6 +24352,12 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23830
24352
  };
23831
24353
  Returns: number;
23832
24354
  };
24355
+ logistics_prepare_pick_documents: {
24356
+ Args: {
24357
+ p_limit?: number;
24358
+ };
24359
+ Returns: import("../integrations/supabase/types").Json;
24360
+ };
23833
24361
  logistics_prune_buffer_member_queue: {
23834
24362
  Args: never;
23835
24363
  Returns: number;
@@ -23870,12 +24398,30 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23870
24398
  Args: never;
23871
24399
  Returns: import("../integrations/supabase/types").Json;
23872
24400
  };
24401
+ logistics_refresh_pick_queue_status: {
24402
+ Args: {
24403
+ p_ref: string;
24404
+ };
24405
+ Returns: number;
24406
+ };
23873
24407
  logistics_refresh_pickup_moments: {
23874
24408
  Args: {
23875
24409
  p_weeks?: number;
23876
24410
  };
23877
24411
  Returns: import("../integrations/supabase/types").Json;
23878
24412
  };
24413
+ logistics_replan_all: {
24414
+ Args: {
24415
+ p_reason?: string;
24416
+ };
24417
+ Returns: import("../integrations/supabase/types").Json;
24418
+ };
24419
+ logistics_replan_all_force: {
24420
+ Args: {
24421
+ p_reason?: string;
24422
+ };
24423
+ Returns: import("../integrations/supabase/types").Json;
24424
+ };
23879
24425
  logistics_report_delay: {
23880
24426
  Args: {
23881
24427
  p_expected_date?: string;
@@ -23929,6 +24475,12 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
23929
24475
  };
23930
24476
  Returns: import("../integrations/supabase/types").Json;
23931
24477
  };
24478
+ logistics_resolve_product_id: {
24479
+ Args: {
24480
+ p_label: string;
24481
+ };
24482
+ Returns: string;
24483
+ };
23932
24484
  logistics_resolve_settings: {
23933
24485
  Args: {
23934
24486
  p_config_id: string;
@@ -24014,6 +24566,10 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
24014
24566
  };
24015
24567
  Returns: string;
24016
24568
  };
24569
+ logistics_shipping_note_follows_slip: {
24570
+ Args: never;
24571
+ Returns: boolean;
24572
+ };
24017
24573
  logistics_shipping_note_from_barcode: {
24018
24574
  Args: {
24019
24575
  p_allow_reprint?: boolean;
@@ -24026,6 +24582,14 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
24026
24582
  Args: never;
24027
24583
  Returns: boolean;
24028
24584
  };
24585
+ logistics_subtract_working_minutes: {
24586
+ Args: {
24587
+ p_deadline: string;
24588
+ p_max_workdays?: number;
24589
+ p_minutes: number;
24590
+ };
24591
+ Returns: import("../integrations/supabase/types").Json;
24592
+ };
24029
24593
  logistics_supersede_stale_tasks: {
24030
24594
  Args: {
24031
24595
  p_keep: string[];
@@ -24062,6 +24626,12 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
24062
24626
  Args: never;
24063
24627
  Returns: string;
24064
24628
  };
24629
+ logistics_timezone_options: {
24630
+ Args: never;
24631
+ Returns: {
24632
+ name: string;
24633
+ }[];
24634
+ };
24065
24635
  logistics_upsert_task: {
24066
24636
  Args: {
24067
24637
  p_buffer_ref: string;
@@ -24081,6 +24651,16 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
24081
24651
  };
24082
24652
  Returns: string;
24083
24653
  };
24654
+ logistics_valid_timezone: {
24655
+ Args: {
24656
+ _tz: string;
24657
+ };
24658
+ Returns: boolean;
24659
+ };
24660
+ logistics_working_hours_status: {
24661
+ Args: never;
24662
+ Returns: import("../integrations/supabase/types").Json;
24663
+ };
24084
24664
  logistics_write_buffer_layer_positions: {
24085
24665
  Args: {
24086
24666
  p_buffer_id: string;
@@ -24246,6 +24826,10 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
24246
24826
  online: boolean;
24247
24827
  }[];
24248
24828
  };
24829
+ pick_apply_buffer_events: {
24830
+ Args: never;
24831
+ Returns: import("../integrations/supabase/types").Json;
24832
+ };
24249
24833
  pick_available_pick_days: {
24250
24834
  Args: {
24251
24835
  _max_days?: number;
@@ -25522,6 +26106,13 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
25522
26106
  };
25523
26107
  Returns: number;
25524
26108
  };
26109
+ schedule_floriday_catalog_prices_sync: {
26110
+ Args: {
26111
+ p_apikey: string;
26112
+ p_url: string;
26113
+ };
26114
+ Returns: number;
26115
+ };
25525
26116
  schedule_floriday_clock_presales_sync: {
25526
26117
  Args: {
25527
26118
  p_apikey: string;
@@ -25822,6 +26413,10 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
25822
26413
  };
25823
26414
  Returns: undefined;
25824
26415
  };
26416
+ sync_floriday_prices_into_price_groups: {
26417
+ Args: never;
26418
+ Returns: number;
26419
+ };
25825
26420
  sync_layer_stock: {
25826
26421
  Args: {
25827
26422
  p_product_id: string;