@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
@@ -5820,6 +5820,84 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
5820
5820
  referencedColumns: ["id"];
5821
5821
  }];
5822
5822
  };
5823
+ floriday_catalog_prices_cache: {
5824
+ Row: {
5825
+ connection_id: string;
5826
+ created_at: string;
5827
+ currency: string;
5828
+ id: string;
5829
+ is_deleted: boolean;
5830
+ price: number | null;
5831
+ price_group_id: string | null;
5832
+ price_group_name: string | null;
5833
+ price_type: string;
5834
+ raw: import("../integrations/supabase/types").Json | null;
5835
+ sales_unit: string | null;
5836
+ sequence_number: number;
5837
+ supplier_article_code: string | null;
5838
+ supply_line_id: string;
5839
+ synced_at: string;
5840
+ trade_item_id: string | null;
5841
+ updated_at: string;
5842
+ valid_from: string | null;
5843
+ valid_to: string | null;
5844
+ week: number | null;
5845
+ year: number | null;
5846
+ };
5847
+ Insert: {
5848
+ connection_id: string;
5849
+ created_at?: string;
5850
+ currency?: string;
5851
+ id?: string;
5852
+ is_deleted?: boolean;
5853
+ price?: number | null;
5854
+ price_group_id?: string | null;
5855
+ price_group_name?: string | null;
5856
+ price_type?: string;
5857
+ raw?: import("../integrations/supabase/types").Json | null;
5858
+ sales_unit?: string | null;
5859
+ sequence_number?: number;
5860
+ supplier_article_code?: string | null;
5861
+ supply_line_id: string;
5862
+ synced_at?: string;
5863
+ trade_item_id?: string | null;
5864
+ updated_at?: string;
5865
+ valid_from?: string | null;
5866
+ valid_to?: string | null;
5867
+ week?: number | null;
5868
+ year?: number | null;
5869
+ };
5870
+ Update: {
5871
+ connection_id?: string;
5872
+ created_at?: string;
5873
+ currency?: string;
5874
+ id?: string;
5875
+ is_deleted?: boolean;
5876
+ price?: number | null;
5877
+ price_group_id?: string | null;
5878
+ price_group_name?: string | null;
5879
+ price_type?: string;
5880
+ raw?: import("../integrations/supabase/types").Json | null;
5881
+ sales_unit?: string | null;
5882
+ sequence_number?: number;
5883
+ supplier_article_code?: string | null;
5884
+ supply_line_id?: string;
5885
+ synced_at?: string;
5886
+ trade_item_id?: string | null;
5887
+ updated_at?: string;
5888
+ valid_from?: string | null;
5889
+ valid_to?: string | null;
5890
+ week?: number | null;
5891
+ year?: number | null;
5892
+ };
5893
+ Relationships: [{
5894
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5895
+ columns: ["connection_id"];
5896
+ isOneToOne: false;
5897
+ referencedRelation: "floriday_connections";
5898
+ referencedColumns: ["id"];
5899
+ }];
5900
+ };
5823
5901
  floriday_clock_presales_cache: {
5824
5902
  Row: {
5825
5903
  buyer_organization_id: string | null;
@@ -10086,6 +10164,36 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
10086
10164
  };
10087
10165
  Relationships: [];
10088
10166
  };
10167
+ logistics_floriday_push_refusals: {
10168
+ Row: {
10169
+ action: string | null;
10170
+ created_at: string;
10171
+ id: string;
10172
+ order_ref: string;
10173
+ reason: string;
10174
+ source_module: string | null;
10175
+ source_shell: string | null;
10176
+ };
10177
+ Insert: {
10178
+ action?: string | null;
10179
+ created_at?: string;
10180
+ id?: string;
10181
+ order_ref: string;
10182
+ reason: string;
10183
+ source_module?: string | null;
10184
+ source_shell?: string | null;
10185
+ };
10186
+ Update: {
10187
+ action?: string | null;
10188
+ created_at?: string;
10189
+ id?: string;
10190
+ order_ref?: string;
10191
+ reason?: string;
10192
+ source_module?: string | null;
10193
+ source_shell?: string | null;
10194
+ };
10195
+ Relationships: [];
10196
+ };
10089
10197
  logistics_floriday_pushes: {
10090
10198
  Row: {
10091
10199
  attempts: number;
@@ -10161,6 +10269,42 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
10161
10269
  };
10162
10270
  Relationships: [];
10163
10271
  };
10272
+ logistics_floriday_status_sends: {
10273
+ Row: {
10274
+ action: string;
10275
+ created_at: string;
10276
+ detail: string | null;
10277
+ http_status: number | null;
10278
+ id: string;
10279
+ ok: boolean;
10280
+ order_ref: string;
10281
+ source_module: string | null;
10282
+ source_shell: string | null;
10283
+ };
10284
+ Insert: {
10285
+ action: string;
10286
+ created_at?: string;
10287
+ detail?: string | null;
10288
+ http_status?: number | null;
10289
+ id?: string;
10290
+ ok?: boolean;
10291
+ order_ref: string;
10292
+ source_module?: string | null;
10293
+ source_shell?: string | null;
10294
+ };
10295
+ Update: {
10296
+ action?: string;
10297
+ created_at?: string;
10298
+ detail?: string | null;
10299
+ http_status?: number | null;
10300
+ id?: string;
10301
+ ok?: boolean;
10302
+ order_ref?: string;
10303
+ source_module?: string | null;
10304
+ source_shell?: string | null;
10305
+ };
10306
+ Relationships: [];
10307
+ };
10164
10308
  logistics_formulas: {
10165
10309
  Row: {
10166
10310
  created_at: string;
@@ -10233,6 +10377,108 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
10233
10377
  };
10234
10378
  Relationships: [];
10235
10379
  };
10380
+ logistics_opening_exceptions: {
10381
+ Row: {
10382
+ closes: string | null;
10383
+ created_at: string;
10384
+ day: string;
10385
+ id: string;
10386
+ is_closed: boolean;
10387
+ note: string | null;
10388
+ opens: string | null;
10389
+ };
10390
+ Insert: {
10391
+ closes?: string | null;
10392
+ created_at?: string;
10393
+ day: string;
10394
+ id?: string;
10395
+ is_closed?: boolean;
10396
+ note?: string | null;
10397
+ opens?: string | null;
10398
+ };
10399
+ Update: {
10400
+ closes?: string | null;
10401
+ created_at?: string;
10402
+ day?: string;
10403
+ id?: string;
10404
+ is_closed?: boolean;
10405
+ note?: string | null;
10406
+ opens?: string | null;
10407
+ };
10408
+ Relationships: [];
10409
+ };
10410
+ logistics_opening_hours: {
10411
+ Row: {
10412
+ closes: string;
10413
+ created_at: string;
10414
+ id: string;
10415
+ is_active: boolean;
10416
+ note: string | null;
10417
+ opens: string;
10418
+ weekday: number;
10419
+ };
10420
+ Insert: {
10421
+ closes: string;
10422
+ created_at?: string;
10423
+ id?: string;
10424
+ is_active?: boolean;
10425
+ note?: string | null;
10426
+ opens: string;
10427
+ weekday: number;
10428
+ };
10429
+ Update: {
10430
+ closes?: string;
10431
+ created_at?: string;
10432
+ id?: string;
10433
+ is_active?: boolean;
10434
+ note?: string | null;
10435
+ opens?: string;
10436
+ weekday?: number;
10437
+ };
10438
+ Relationships: [];
10439
+ };
10440
+ logistics_pick_data_requests: {
10441
+ Row: {
10442
+ actions: import("../integrations/supabase/types").Json;
10443
+ created_at: string;
10444
+ event_id: string | null;
10445
+ finished_at: string | null;
10446
+ id: string;
10447
+ missing: import("../integrations/supabase/types").Json;
10448
+ order_ref: string;
10449
+ reason: string | null;
10450
+ result: import("../integrations/supabase/types").Json | null;
10451
+ status: string;
10452
+ unit_ref: string | null;
10453
+ };
10454
+ Insert: {
10455
+ actions?: import("../integrations/supabase/types").Json;
10456
+ created_at?: string;
10457
+ event_id?: string | null;
10458
+ finished_at?: string | null;
10459
+ id?: string;
10460
+ missing?: import("../integrations/supabase/types").Json;
10461
+ order_ref: string;
10462
+ reason?: string | null;
10463
+ result?: import("../integrations/supabase/types").Json | null;
10464
+ status?: string;
10465
+ unit_ref?: string | null;
10466
+ };
10467
+ Update: {
10468
+ actions?: import("../integrations/supabase/types").Json;
10469
+ created_at?: string;
10470
+ event_id?: string | null;
10471
+ finished_at?: string | null;
10472
+ id?: string;
10473
+ missing?: import("../integrations/supabase/types").Json;
10474
+ order_ref?: string;
10475
+ reason?: string | null;
10476
+ result?: import("../integrations/supabase/types").Json | null;
10477
+ status?: string;
10478
+ unit_ref?: string | null;
10479
+ };
10480
+ Relationships: [];
10481
+ };
10236
10482
  logistics_pickup_moments: {
10237
10483
  Row: {
10238
10484
  carrier_ref: string | null;
@@ -11025,6 +11271,24 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
11025
11271
  };
11026
11272
  Relationships: [];
11027
11273
  };
11274
+ logistics_time_settings: {
11275
+ Row: {
11276
+ id: boolean;
11277
+ timezone: string;
11278
+ updated_at: string;
11279
+ };
11280
+ Insert: {
11281
+ id?: boolean;
11282
+ timezone: string;
11283
+ updated_at?: string;
11284
+ };
11285
+ Update: {
11286
+ id?: boolean;
11287
+ timezone?: string;
11288
+ updated_at?: string;
11289
+ };
11290
+ Relationships: [];
11291
+ };
11028
11292
  logistics_variables: {
11029
11293
  Row: {
11030
11294
  created_at: string;
@@ -13415,6 +13679,7 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
13415
13679
  customer_name: string;
13416
13680
  deleted_at: string | null;
13417
13681
  delivery_date: string | null;
13682
+ floriday_order_group_key: string | null;
13418
13683
  floriday_sales_order_id: string | null;
13419
13684
  id: string;
13420
13685
  invoice_due_at: string | null;
@@ -13442,6 +13707,7 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
13442
13707
  customer_name?: string;
13443
13708
  deleted_at?: string | null;
13444
13709
  delivery_date?: string | null;
13710
+ floriday_order_group_key?: string | null;
13445
13711
  floriday_sales_order_id?: string | null;
13446
13712
  id?: string;
13447
13713
  invoice_due_at?: string | null;
@@ -13469,6 +13735,7 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
13469
13735
  customer_name?: string;
13470
13736
  deleted_at?: string | null;
13471
13737
  delivery_date?: string | null;
13738
+ floriday_order_group_key?: string | null;
13472
13739
  floriday_sales_order_id?: string | null;
13473
13740
  id?: string;
13474
13741
  invoice_due_at?: string | null;
@@ -13662,6 +13929,27 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
13662
13929
  };
13663
13930
  Relationships: [];
13664
13931
  };
13932
+ pick_buffer_event_cursor: {
13933
+ Row: {
13934
+ created_at: string;
13935
+ id: boolean;
13936
+ last_event_at: string;
13937
+ updated_at: string;
13938
+ };
13939
+ Insert: {
13940
+ created_at?: string;
13941
+ id?: boolean;
13942
+ last_event_at?: string;
13943
+ updated_at?: string;
13944
+ };
13945
+ Update: {
13946
+ created_at?: string;
13947
+ id?: boolean;
13948
+ last_event_at?: string;
13949
+ updated_at?: string;
13950
+ };
13951
+ Relationships: [];
13952
+ };
13665
13953
  pick_countries: {
13666
13954
  Row: {
13667
13955
  active: boolean;
@@ -19311,6 +19599,36 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
19311
19599
  referencedColumns: ["id"];
19312
19600
  }];
19313
19601
  };
19602
+ voorraad_buffer_state: {
19603
+ Row: {
19604
+ buffer_id: string;
19605
+ buffer_key: string | null;
19606
+ closed_at: string | null;
19607
+ created_at: string;
19608
+ detached_orders: import("../integrations/supabase/types").Json;
19609
+ reason: string | null;
19610
+ updated_at: string;
19611
+ };
19612
+ Insert: {
19613
+ buffer_id: string;
19614
+ buffer_key?: string | null;
19615
+ closed_at?: string | null;
19616
+ created_at?: string;
19617
+ detached_orders?: import("../integrations/supabase/types").Json;
19618
+ reason?: string | null;
19619
+ updated_at?: string;
19620
+ };
19621
+ Update: {
19622
+ buffer_id?: string;
19623
+ buffer_key?: string | null;
19624
+ closed_at?: string | null;
19625
+ created_at?: string;
19626
+ detached_orders?: import("../integrations/supabase/types").Json;
19627
+ reason?: string | null;
19628
+ updated_at?: string;
19629
+ };
19630
+ Relationships: [];
19631
+ };
19314
19632
  voorraad_custom_fields: {
19315
19633
  Row: {
19316
19634
  created_at: string;
@@ -19353,6 +19671,36 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
19353
19671
  };
19354
19672
  Relationships: [];
19355
19673
  };
19674
+ voorraad_logistics_event_log: {
19675
+ Row: {
19676
+ created_at: string;
19677
+ event_id: string;
19678
+ event_type: string;
19679
+ order_ref: string | null;
19680
+ processed_at: string;
19681
+ result: import("../integrations/supabase/types").Json;
19682
+ updated_at: string;
19683
+ };
19684
+ Insert: {
19685
+ created_at?: string;
19686
+ event_id: string;
19687
+ event_type: string;
19688
+ order_ref?: string | null;
19689
+ processed_at?: string;
19690
+ result?: import("../integrations/supabase/types").Json;
19691
+ updated_at?: string;
19692
+ };
19693
+ Update: {
19694
+ created_at?: string;
19695
+ event_id?: string;
19696
+ event_type?: string;
19697
+ order_ref?: string | null;
19698
+ processed_at?: string;
19699
+ result?: import("../integrations/supabase/types").Json;
19700
+ updated_at?: string;
19701
+ };
19702
+ Relationships: [];
19703
+ };
19356
19704
  voorraad_media_upload_failures: {
19357
19705
  Row: {
19358
19706
  action: string;
@@ -22178,6 +22526,17 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
22178
22526
  };
22179
22527
  Returns: boolean;
22180
22528
  };
22529
+ floriday_adopt_connection: {
22530
+ Args: {
22531
+ p_new: string;
22532
+ p_old: string;
22533
+ };
22534
+ Returns: import("../integrations/supabase/types").Json;
22535
+ };
22536
+ floriday_autoheal_connections: {
22537
+ Args: never;
22538
+ Returns: import("../integrations/supabase/types").Json;
22539
+ };
22181
22540
  floriday_capture_stock_snapshot: {
22182
22541
  Args: never;
22183
22542
  Returns: number;
@@ -22235,6 +22594,12 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
22235
22594
  };
22236
22595
  Returns: undefined;
22237
22596
  };
22597
+ floriday_relink_products: {
22598
+ Args: {
22599
+ p_connection_id?: string;
22600
+ };
22601
+ Returns: import("../integrations/supabase/types").Json;
22602
+ };
22238
22603
  floriday_requeue_dead_letters: {
22239
22604
  Args: {
22240
22605
  p_connection_id?: string;
@@ -22856,6 +23221,10 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
22856
23221
  };
22857
23222
  Returns: string;
22858
23223
  };
23224
+ logistics_active_layout_method: {
23225
+ Args: never;
23226
+ Returns: string;
23227
+ };
22859
23228
  logistics_active_pick_workdays: {
22860
23229
  Args: never;
22861
23230
  Returns: string[];
@@ -22963,6 +23332,15 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
22963
23332
  };
22964
23333
  Returns: boolean;
22965
23334
  };
23335
+ logistics_buffer_notify: {
23336
+ Args: {
23337
+ p_event_type: string;
23338
+ p_idempotency_key: string;
23339
+ p_order_ref: string;
23340
+ p_payload: import("../integrations/supabase/types").Json;
23341
+ };
23342
+ Returns: string;
23343
+ };
22966
23344
  logistics_buffer_open_key: {
22967
23345
  Args: {
22968
23346
  p_base_key: string;
@@ -23021,6 +23399,12 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23021
23399
  };
23022
23400
  Returns: string;
23023
23401
  };
23402
+ logistics_cart_checkin_at: {
23403
+ Args: {
23404
+ p_cart_id: string;
23405
+ };
23406
+ Returns: string;
23407
+ };
23024
23408
  logistics_cart_handled: {
23025
23409
  Args: {
23026
23410
  p_cart_index: number;
@@ -23054,10 +23438,22 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23054
23438
  task_status: string;
23055
23439
  }[];
23056
23440
  };
23441
+ logistics_cart_is_full: {
23442
+ Args: {
23443
+ p_cart_id: string;
23444
+ };
23445
+ Returns: boolean;
23446
+ };
23057
23447
  logistics_cart_layout_method: {
23058
23448
  Args: never;
23059
23449
  Returns: import("../integrations/supabase/types").Json;
23060
23450
  };
23451
+ logistics_cart_order_refs: {
23452
+ Args: {
23453
+ p_cart_id: string;
23454
+ };
23455
+ Returns: string[];
23456
+ };
23061
23457
  logistics_cart_plan_overview: {
23062
23458
  Args: {
23063
23459
  p_days?: number;
@@ -23077,6 +23473,18 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23077
23473
  };
23078
23474
  Returns: import("../integrations/supabase/types").Json;
23079
23475
  };
23476
+ logistics_cart_release_reason: {
23477
+ Args: {
23478
+ p_cart_id: string;
23479
+ };
23480
+ Returns: string;
23481
+ };
23482
+ logistics_cart_released: {
23483
+ Args: {
23484
+ p_cart_id: string;
23485
+ };
23486
+ Returns: boolean;
23487
+ };
23080
23488
  logistics_cart_seq: {
23081
23489
  Args: {
23082
23490
  p_order_uuid?: string;
@@ -23230,6 +23638,10 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23230
23638
  isSetofReturn: false;
23231
23639
  };
23232
23640
  };
23641
+ logistics_cleanup_orphan_print_jobs: {
23642
+ Args: never;
23643
+ Returns: import("../integrations/supabase/types").Json;
23644
+ };
23233
23645
  logistics_complete_task: {
23234
23646
  Args: {
23235
23647
  p_result?: import("../integrations/supabase/types").Json;
@@ -23292,6 +23704,12 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23292
23704
  station_carts: number;
23293
23705
  }[];
23294
23706
  };
23707
+ logistics_control_complete_cart: {
23708
+ Args: {
23709
+ p_cart_id: string;
23710
+ };
23711
+ Returns: number;
23712
+ };
23295
23713
  logistics_control_scan_approve: {
23296
23714
  Args: {
23297
23715
  p_allow_reprint?: boolean;
@@ -23371,6 +23789,15 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23371
23789
  Args: never;
23372
23790
  Returns: import("../integrations/supabase/types").Json;
23373
23791
  };
23792
+ logistics_day_windows: {
23793
+ Args: {
23794
+ p_day: string;
23795
+ };
23796
+ Returns: {
23797
+ win_end: string;
23798
+ win_start: string;
23799
+ }[];
23800
+ };
23374
23801
  logistics_delay_customer_email: {
23375
23802
  Args: {
23376
23803
  p_customer: string;
@@ -23438,6 +23865,17 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23438
23865
  };
23439
23866
  Returns: import("../integrations/supabase/types").Json;
23440
23867
  };
23868
+ logistics_enqueue_shipping_note_with_slip: {
23869
+ Args: {
23870
+ _cart_id: string;
23871
+ _is_herprint: boolean;
23872
+ _printer_id: string;
23873
+ _queue_item_id: string;
23874
+ _session_id: string;
23875
+ _slip_job_id: string;
23876
+ };
23877
+ Returns: string;
23878
+ };
23441
23879
  logistics_enqueue_sticker_with_slip: {
23442
23880
  Args: {
23443
23881
  _cart_id: string;
@@ -23455,6 +23893,14 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23455
23893
  };
23456
23894
  Returns: string;
23457
23895
  };
23896
+ logistics_ensure_pick_data: {
23897
+ Args: {
23898
+ p_event_id?: string;
23899
+ p_missing?: import("../integrations/supabase/types").Json;
23900
+ p_ref: string;
23901
+ };
23902
+ Returns: import("../integrations/supabase/types").Json;
23903
+ };
23458
23904
  logistics_fail_task: {
23459
23905
  Args: {
23460
23906
  p_error: string;
@@ -23576,6 +24022,38 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23576
24022
  };
23577
24023
  Returns: string;
23578
24024
  };
24025
+ logistics_floriday_gate_status: {
24026
+ Args: never;
24027
+ Returns: import("../integrations/supabase/types").Json;
24028
+ };
24029
+ logistics_floriday_log_refusal: {
24030
+ Args: {
24031
+ _action?: string;
24032
+ _module?: string;
24033
+ _order_ref: string;
24034
+ _reason: string;
24035
+ _shell?: string;
24036
+ };
24037
+ Returns: undefined;
24038
+ };
24039
+ logistics_floriday_log_send: {
24040
+ Args: {
24041
+ _action: string;
24042
+ _detail?: string;
24043
+ _http_status?: number;
24044
+ _module?: string;
24045
+ _ok: boolean;
24046
+ _order_ref: string;
24047
+ _shell?: string;
24048
+ };
24049
+ Returns: undefined;
24050
+ };
24051
+ logistics_floriday_order_approved: {
24052
+ Args: {
24053
+ _order_ref: string;
24054
+ };
24055
+ Returns: boolean;
24056
+ };
23579
24057
  logistics_floriday_prune_pushes: {
23580
24058
  Args: {
23581
24059
  _days?: number;
@@ -23590,6 +24068,20 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23590
24068
  };
23591
24069
  Returns: string;
23592
24070
  };
24071
+ logistics_floriday_status_updates_enabled: {
24072
+ Args: never;
24073
+ Returns: boolean;
24074
+ };
24075
+ logistics_floriday_stock_updates_enabled: {
24076
+ Args: never;
24077
+ Returns: boolean;
24078
+ };
24079
+ logistics_floriday_write_allowed: {
24080
+ Args: {
24081
+ _action: string;
24082
+ };
24083
+ Returns: boolean;
24084
+ };
23593
24085
  logistics_fulfill_barcode_requests: {
23594
24086
  Args: {
23595
24087
  p_limit?: number;
@@ -23610,6 +24102,16 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23610
24102
  };
23611
24103
  Returns: boolean;
23612
24104
  };
24105
+ logistics_layout_method_status: {
24106
+ Args: never;
24107
+ Returns: import("../integrations/supabase/types").Json;
24108
+ };
24109
+ logistics_link_order_items: {
24110
+ Args: {
24111
+ p_order?: string;
24112
+ };
24113
+ Returns: import("../integrations/supabase/types").Json;
24114
+ };
23613
24115
  logistics_live_carriers: {
23614
24116
  Args: {
23615
24117
  p_order_ref: string;
@@ -23622,6 +24124,12 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23622
24124
  };
23623
24125
  Returns: number;
23624
24126
  };
24127
+ logistics_merge_partial_carts: {
24128
+ Args: {
24129
+ p_limit?: number;
24130
+ };
24131
+ Returns: import("../integrations/supabase/types").Json;
24132
+ };
23625
24133
  logistics_next_workday_date: {
23626
24134
  Args: {
23627
24135
  p_date: string;
@@ -23636,12 +24144,22 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23636
24144
  };
23637
24145
  Returns: string;
23638
24146
  };
24147
+ logistics_normalize_product_label: {
24148
+ Args: {
24149
+ p_label: string;
24150
+ };
24151
+ Returns: string;
24152
+ };
23639
24153
  logistics_not_past: {
23640
24154
  Args: {
23641
24155
  p_ts: string;
23642
24156
  };
23643
24157
  Returns: string;
23644
24158
  };
24159
+ logistics_opening_timezone: {
24160
+ Args: never;
24161
+ Returns: string;
24162
+ };
23645
24163
  logistics_order_cart_count: {
23646
24164
  Args: {
23647
24165
  p_order_ref: string;
@@ -23726,6 +24244,10 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23726
24244
  Args: never;
23727
24245
  Returns: import("../integrations/supabase/types").Json;
23728
24246
  };
24247
+ logistics_pick_partial_mode: {
24248
+ Args: never;
24249
+ Returns: string;
24250
+ };
23729
24251
  logistics_pick_start_estimate: {
23730
24252
  Args: {
23731
24253
  p_order: import("../integrations/supabase/types").Json;
@@ -23837,6 +24359,12 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23837
24359
  };
23838
24360
  Returns: number;
23839
24361
  };
24362
+ logistics_prepare_pick_documents: {
24363
+ Args: {
24364
+ p_limit?: number;
24365
+ };
24366
+ Returns: import("../integrations/supabase/types").Json;
24367
+ };
23840
24368
  logistics_prune_buffer_member_queue: {
23841
24369
  Args: never;
23842
24370
  Returns: number;
@@ -23877,12 +24405,30 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23877
24405
  Args: never;
23878
24406
  Returns: import("../integrations/supabase/types").Json;
23879
24407
  };
24408
+ logistics_refresh_pick_queue_status: {
24409
+ Args: {
24410
+ p_ref: string;
24411
+ };
24412
+ Returns: number;
24413
+ };
23880
24414
  logistics_refresh_pickup_moments: {
23881
24415
  Args: {
23882
24416
  p_weeks?: number;
23883
24417
  };
23884
24418
  Returns: import("../integrations/supabase/types").Json;
23885
24419
  };
24420
+ logistics_replan_all: {
24421
+ Args: {
24422
+ p_reason?: string;
24423
+ };
24424
+ Returns: import("../integrations/supabase/types").Json;
24425
+ };
24426
+ logistics_replan_all_force: {
24427
+ Args: {
24428
+ p_reason?: string;
24429
+ };
24430
+ Returns: import("../integrations/supabase/types").Json;
24431
+ };
23886
24432
  logistics_report_delay: {
23887
24433
  Args: {
23888
24434
  p_expected_date?: string;
@@ -23936,6 +24482,12 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
23936
24482
  };
23937
24483
  Returns: import("../integrations/supabase/types").Json;
23938
24484
  };
24485
+ logistics_resolve_product_id: {
24486
+ Args: {
24487
+ p_label: string;
24488
+ };
24489
+ Returns: string;
24490
+ };
23939
24491
  logistics_resolve_settings: {
23940
24492
  Args: {
23941
24493
  p_config_id: string;
@@ -24021,6 +24573,10 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
24021
24573
  };
24022
24574
  Returns: string;
24023
24575
  };
24576
+ logistics_shipping_note_follows_slip: {
24577
+ Args: never;
24578
+ Returns: boolean;
24579
+ };
24024
24580
  logistics_shipping_note_from_barcode: {
24025
24581
  Args: {
24026
24582
  p_allow_reprint?: boolean;
@@ -24033,6 +24589,14 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
24033
24589
  Args: never;
24034
24590
  Returns: boolean;
24035
24591
  };
24592
+ logistics_subtract_working_minutes: {
24593
+ Args: {
24594
+ p_deadline: string;
24595
+ p_max_workdays?: number;
24596
+ p_minutes: number;
24597
+ };
24598
+ Returns: import("../integrations/supabase/types").Json;
24599
+ };
24036
24600
  logistics_supersede_stale_tasks: {
24037
24601
  Args: {
24038
24602
  p_keep: string[];
@@ -24069,6 +24633,12 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
24069
24633
  Args: never;
24070
24634
  Returns: string;
24071
24635
  };
24636
+ logistics_timezone_options: {
24637
+ Args: never;
24638
+ Returns: {
24639
+ name: string;
24640
+ }[];
24641
+ };
24072
24642
  logistics_upsert_task: {
24073
24643
  Args: {
24074
24644
  p_buffer_ref: string;
@@ -24088,6 +24658,16 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
24088
24658
  };
24089
24659
  Returns: string;
24090
24660
  };
24661
+ logistics_valid_timezone: {
24662
+ Args: {
24663
+ _tz: string;
24664
+ };
24665
+ Returns: boolean;
24666
+ };
24667
+ logistics_working_hours_status: {
24668
+ Args: never;
24669
+ Returns: import("../integrations/supabase/types").Json;
24670
+ };
24091
24671
  logistics_write_buffer_layer_positions: {
24092
24672
  Args: {
24093
24673
  p_buffer_id: string;
@@ -24253,6 +24833,10 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
24253
24833
  online: boolean;
24254
24834
  }[];
24255
24835
  };
24836
+ pick_apply_buffer_events: {
24837
+ Args: never;
24838
+ Returns: import("../integrations/supabase/types").Json;
24839
+ };
24256
24840
  pick_available_pick_days: {
24257
24841
  Args: {
24258
24842
  _max_days?: number;
@@ -25529,6 +26113,13 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
25529
26113
  };
25530
26114
  Returns: number;
25531
26115
  };
26116
+ schedule_floriday_catalog_prices_sync: {
26117
+ Args: {
26118
+ p_apikey: string;
26119
+ p_url: string;
26120
+ };
26121
+ Returns: number;
26122
+ };
25532
26123
  schedule_floriday_clock_presales_sync: {
25533
26124
  Args: {
25534
26125
  p_apikey: string;
@@ -25829,6 +26420,10 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
25829
26420
  };
25830
26421
  Returns: undefined;
25831
26422
  };
26423
+ sync_floriday_prices_into_price_groups: {
26424
+ Args: never;
26425
+ Returns: number;
26426
+ };
25832
26427
  sync_layer_stock: {
25833
26428
  Args: {
25834
26429
  p_product_id: string;