@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
@@ -40,7 +40,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
40
40
  pick_distribution_enabled?: boolean;
41
41
  pick_weekdays?: number[];
42
42
  signup_mail_enabled?: boolean;
43
- signup_mail_lead_minutes?: number;
43
+ signup_mail_lead_minutes
44
+ /**
45
+ * Bouw een map van organizationId → price groups uit floriday_price_groups_cache.
46
+ * `organizationIds` mag leeg zijn; in dat geval geven we een lege map terug.
47
+ */
48
+ ?: number;
44
49
  signup_mail_purpose?: string;
45
50
  transport_register_days_before?: number;
46
51
  updated_at?: string;
@@ -5819,6 +5824,84 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
5819
5824
  referencedColumns: ["id"];
5820
5825
  }];
5821
5826
  };
5827
+ floriday_catalog_prices_cache: {
5828
+ Row: {
5829
+ connection_id: string;
5830
+ created_at: string;
5831
+ currency: string;
5832
+ id: string;
5833
+ is_deleted: boolean;
5834
+ price: number | null;
5835
+ price_group_id: string | null;
5836
+ price_group_name: string | null;
5837
+ price_type: string;
5838
+ raw: import("../integrations/supabase/types").Json | null;
5839
+ sales_unit: string | null;
5840
+ sequence_number: number;
5841
+ supplier_article_code: string | null;
5842
+ supply_line_id: string;
5843
+ synced_at: string;
5844
+ trade_item_id: string | null;
5845
+ updated_at: string;
5846
+ valid_from: string | null;
5847
+ valid_to: string | null;
5848
+ week: number | null;
5849
+ year: number | null;
5850
+ };
5851
+ Insert: {
5852
+ connection_id: string;
5853
+ created_at?: string;
5854
+ currency?: string;
5855
+ id?: string;
5856
+ is_deleted?: boolean;
5857
+ price?: number | null;
5858
+ price_group_id?: string | null;
5859
+ price_group_name?: string | null;
5860
+ price_type?: string;
5861
+ raw?: import("../integrations/supabase/types").Json | null;
5862
+ sales_unit?: string | null;
5863
+ sequence_number?: number;
5864
+ supplier_article_code?: string | null;
5865
+ supply_line_id: string;
5866
+ synced_at?: string;
5867
+ trade_item_id?: string | null;
5868
+ updated_at?: string;
5869
+ valid_from?: string | null;
5870
+ valid_to?: string | null;
5871
+ week?: number | null;
5872
+ year?: number | null;
5873
+ };
5874
+ Update: {
5875
+ connection_id?: string;
5876
+ created_at?: string;
5877
+ currency?: string;
5878
+ id?: string;
5879
+ is_deleted?: boolean;
5880
+ price?: number | null;
5881
+ price_group_id?: string | null;
5882
+ price_group_name?: string | null;
5883
+ price_type?: string;
5884
+ raw?: import("../integrations/supabase/types").Json | null;
5885
+ sales_unit?: string | null;
5886
+ sequence_number?: number;
5887
+ supplier_article_code?: string | null;
5888
+ supply_line_id?: string;
5889
+ synced_at?: string;
5890
+ trade_item_id?: string | null;
5891
+ updated_at?: string;
5892
+ valid_from?: string | null;
5893
+ valid_to?: string | null;
5894
+ week?: number | null;
5895
+ year?: number | null;
5896
+ };
5897
+ Relationships: [{
5898
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5899
+ columns: ["connection_id"];
5900
+ isOneToOne: false;
5901
+ referencedRelation: "floriday_connections";
5902
+ referencedColumns: ["id"];
5903
+ }];
5904
+ };
5822
5905
  floriday_clock_presales_cache: {
5823
5906
  Row: {
5824
5907
  buyer_organization_id: string | null;
@@ -10085,6 +10168,36 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
10085
10168
  };
10086
10169
  Relationships: [];
10087
10170
  };
10171
+ logistics_floriday_push_refusals: {
10172
+ Row: {
10173
+ action: string | null;
10174
+ created_at: string;
10175
+ id: string;
10176
+ order_ref: string;
10177
+ reason: string;
10178
+ source_module: string | null;
10179
+ source_shell: string | null;
10180
+ };
10181
+ Insert: {
10182
+ action?: string | null;
10183
+ created_at?: string;
10184
+ id?: string;
10185
+ order_ref: string;
10186
+ reason: string;
10187
+ source_module?: string | null;
10188
+ source_shell?: string | null;
10189
+ };
10190
+ Update: {
10191
+ action?: string | null;
10192
+ created_at?: string;
10193
+ id?: string;
10194
+ order_ref?: string;
10195
+ reason?: string;
10196
+ source_module?: string | null;
10197
+ source_shell?: string | null;
10198
+ };
10199
+ Relationships: [];
10200
+ };
10088
10201
  logistics_floriday_pushes: {
10089
10202
  Row: {
10090
10203
  attempts: number;
@@ -10160,6 +10273,42 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
10160
10273
  };
10161
10274
  Relationships: [];
10162
10275
  };
10276
+ logistics_floriday_status_sends: {
10277
+ Row: {
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
+ Insert: {
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
+ Update: {
10300
+ action?: string;
10301
+ created_at?: string;
10302
+ detail?: string | null;
10303
+ http_status?: number | null;
10304
+ id?: string;
10305
+ ok?: boolean;
10306
+ order_ref?: string;
10307
+ source_module?: string | null;
10308
+ source_shell?: string | null;
10309
+ };
10310
+ Relationships: [];
10311
+ };
10163
10312
  logistics_formulas: {
10164
10313
  Row: {
10165
10314
  created_at: string;
@@ -10232,6 +10381,108 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
10232
10381
  };
10233
10382
  Relationships: [];
10234
10383
  };
10384
+ logistics_opening_exceptions: {
10385
+ Row: {
10386
+ closes: string | null;
10387
+ created_at: string;
10388
+ day: string;
10389
+ id: string;
10390
+ is_closed: boolean;
10391
+ note: string | null;
10392
+ opens: string | null;
10393
+ };
10394
+ Insert: {
10395
+ closes?: string | null;
10396
+ created_at?: string;
10397
+ day: string;
10398
+ id?: string;
10399
+ is_closed?: boolean;
10400
+ note?: string | null;
10401
+ opens?: string | null;
10402
+ };
10403
+ Update: {
10404
+ closes?: string | null;
10405
+ created_at?: string;
10406
+ day?: string;
10407
+ id?: string;
10408
+ is_closed?: boolean;
10409
+ note?: string | null;
10410
+ opens?: string | null;
10411
+ };
10412
+ Relationships: [];
10413
+ };
10414
+ logistics_opening_hours: {
10415
+ Row: {
10416
+ closes: string;
10417
+ created_at: string;
10418
+ id: string;
10419
+ is_active: boolean;
10420
+ note: string | null;
10421
+ opens: string;
10422
+ weekday: number;
10423
+ };
10424
+ Insert: {
10425
+ closes: string;
10426
+ created_at?: string;
10427
+ id?: string;
10428
+ is_active?: boolean;
10429
+ note?: string | null;
10430
+ opens: string;
10431
+ weekday: number;
10432
+ };
10433
+ Update: {
10434
+ closes?: string;
10435
+ created_at?: string;
10436
+ id?: string;
10437
+ is_active?: boolean;
10438
+ note?: string | null;
10439
+ opens?: string;
10440
+ weekday?: number;
10441
+ };
10442
+ Relationships: [];
10443
+ };
10444
+ logistics_pick_data_requests: {
10445
+ Row: {
10446
+ actions: import("../integrations/supabase/types").Json;
10447
+ created_at: string;
10448
+ event_id: string | null;
10449
+ finished_at: string | null;
10450
+ id: string;
10451
+ missing: import("../integrations/supabase/types").Json;
10452
+ order_ref: string;
10453
+ reason: string | null;
10454
+ result: import("../integrations/supabase/types").Json | null;
10455
+ status: string;
10456
+ unit_ref: string | null;
10457
+ };
10458
+ Insert: {
10459
+ actions?: import("../integrations/supabase/types").Json;
10460
+ created_at?: string;
10461
+ event_id?: string | null;
10462
+ finished_at?: string | null;
10463
+ id?: string;
10464
+ missing?: import("../integrations/supabase/types").Json;
10465
+ order_ref: string;
10466
+ reason?: string | null;
10467
+ result?: import("../integrations/supabase/types").Json | null;
10468
+ status?: string;
10469
+ unit_ref?: string | null;
10470
+ };
10471
+ Update: {
10472
+ actions?: import("../integrations/supabase/types").Json;
10473
+ created_at?: string;
10474
+ event_id?: string | null;
10475
+ finished_at?: string | null;
10476
+ id?: string;
10477
+ missing?: import("../integrations/supabase/types").Json;
10478
+ order_ref?: string;
10479
+ reason?: string | null;
10480
+ result?: import("../integrations/supabase/types").Json | null;
10481
+ status?: string;
10482
+ unit_ref?: string | null;
10483
+ };
10484
+ Relationships: [];
10485
+ };
10235
10486
  logistics_pickup_moments: {
10236
10487
  Row: {
10237
10488
  carrier_ref: string | null;
@@ -11024,6 +11275,24 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11024
11275
  };
11025
11276
  Relationships: [];
11026
11277
  };
11278
+ logistics_time_settings: {
11279
+ Row: {
11280
+ id: boolean;
11281
+ timezone: string;
11282
+ updated_at: string;
11283
+ };
11284
+ Insert: {
11285
+ id?: boolean;
11286
+ timezone: string;
11287
+ updated_at?: string;
11288
+ };
11289
+ Update: {
11290
+ id?: boolean;
11291
+ timezone?: string;
11292
+ updated_at?: string;
11293
+ };
11294
+ Relationships: [];
11295
+ };
11027
11296
  logistics_variables: {
11028
11297
  Row: {
11029
11298
  created_at: string;
@@ -13414,6 +13683,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
13414
13683
  customer_name: string;
13415
13684
  deleted_at: string | null;
13416
13685
  delivery_date: string | null;
13686
+ floriday_order_group_key: string | null;
13417
13687
  floriday_sales_order_id: string | null;
13418
13688
  id: string;
13419
13689
  invoice_due_at: string | null;
@@ -13441,6 +13711,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
13441
13711
  customer_name?: string;
13442
13712
  deleted_at?: string | null;
13443
13713
  delivery_date?: string | null;
13714
+ floriday_order_group_key?: string | null;
13444
13715
  floriday_sales_order_id?: string | null;
13445
13716
  id?: string;
13446
13717
  invoice_due_at?: string | null;
@@ -13468,6 +13739,7 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
13468
13739
  customer_name?: string;
13469
13740
  deleted_at?: string | null;
13470
13741
  delivery_date?: string | null;
13742
+ floriday_order_group_key?: string | null;
13471
13743
  floriday_sales_order_id?: string | null;
13472
13744
  id?: string;
13473
13745
  invoice_due_at?: string | null;
@@ -13661,6 +13933,27 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
13661
13933
  };
13662
13934
  Relationships: [];
13663
13935
  };
13936
+ pick_buffer_event_cursor: {
13937
+ Row: {
13938
+ created_at: string;
13939
+ id: boolean;
13940
+ last_event_at: string;
13941
+ updated_at: string;
13942
+ };
13943
+ Insert: {
13944
+ created_at?: string;
13945
+ id?: boolean;
13946
+ last_event_at?: string;
13947
+ updated_at?: string;
13948
+ };
13949
+ Update: {
13950
+ created_at?: string;
13951
+ id?: boolean;
13952
+ last_event_at?: string;
13953
+ updated_at?: string;
13954
+ };
13955
+ Relationships: [];
13956
+ };
13664
13957
  pick_countries: {
13665
13958
  Row: {
13666
13959
  active: boolean;
@@ -19310,6 +19603,36 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
19310
19603
  referencedColumns: ["id"];
19311
19604
  }];
19312
19605
  };
19606
+ voorraad_buffer_state: {
19607
+ Row: {
19608
+ buffer_id: string;
19609
+ buffer_key: string | null;
19610
+ closed_at: string | null;
19611
+ created_at: string;
19612
+ detached_orders: import("../integrations/supabase/types").Json;
19613
+ reason: string | null;
19614
+ updated_at: string;
19615
+ };
19616
+ Insert: {
19617
+ buffer_id: string;
19618
+ buffer_key?: string | null;
19619
+ closed_at?: string | null;
19620
+ created_at?: string;
19621
+ detached_orders?: import("../integrations/supabase/types").Json;
19622
+ reason?: string | null;
19623
+ updated_at?: string;
19624
+ };
19625
+ Update: {
19626
+ buffer_id?: string;
19627
+ buffer_key?: string | null;
19628
+ closed_at?: string | null;
19629
+ created_at?: string;
19630
+ detached_orders?: import("../integrations/supabase/types").Json;
19631
+ reason?: string | null;
19632
+ updated_at?: string;
19633
+ };
19634
+ Relationships: [];
19635
+ };
19313
19636
  voorraad_custom_fields: {
19314
19637
  Row: {
19315
19638
  created_at: string;
@@ -19352,6 +19675,36 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
19352
19675
  };
19353
19676
  Relationships: [];
19354
19677
  };
19678
+ voorraad_logistics_event_log: {
19679
+ Row: {
19680
+ created_at: string;
19681
+ event_id: string;
19682
+ event_type: string;
19683
+ order_ref: string | null;
19684
+ processed_at: string;
19685
+ result: import("../integrations/supabase/types").Json;
19686
+ updated_at: string;
19687
+ };
19688
+ Insert: {
19689
+ created_at?: string;
19690
+ event_id: string;
19691
+ event_type: string;
19692
+ order_ref?: string | null;
19693
+ processed_at?: string;
19694
+ result?: import("../integrations/supabase/types").Json;
19695
+ updated_at?: string;
19696
+ };
19697
+ Update: {
19698
+ created_at?: string;
19699
+ event_id?: string;
19700
+ event_type?: string;
19701
+ order_ref?: string | null;
19702
+ processed_at?: string;
19703
+ result?: import("../integrations/supabase/types").Json;
19704
+ updated_at?: string;
19705
+ };
19706
+ Relationships: [];
19707
+ };
19355
19708
  voorraad_media_upload_failures: {
19356
19709
  Row: {
19357
19710
  action: string;
@@ -22177,6 +22530,17 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
22177
22530
  };
22178
22531
  Returns: boolean;
22179
22532
  };
22533
+ floriday_adopt_connection: {
22534
+ Args: {
22535
+ p_new: string;
22536
+ p_old: string;
22537
+ };
22538
+ Returns: import("../integrations/supabase/types").Json;
22539
+ };
22540
+ floriday_autoheal_connections: {
22541
+ Args: never;
22542
+ Returns: import("../integrations/supabase/types").Json;
22543
+ };
22180
22544
  floriday_capture_stock_snapshot: {
22181
22545
  Args: never;
22182
22546
  Returns: number;
@@ -22234,6 +22598,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
22234
22598
  };
22235
22599
  Returns: undefined;
22236
22600
  };
22601
+ floriday_relink_products: {
22602
+ Args: {
22603
+ p_connection_id?: string;
22604
+ };
22605
+ Returns: import("../integrations/supabase/types").Json;
22606
+ };
22237
22607
  floriday_requeue_dead_letters: {
22238
22608
  Args: {
22239
22609
  p_connection_id?: string;
@@ -22855,6 +23225,10 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
22855
23225
  };
22856
23226
  Returns: string;
22857
23227
  };
23228
+ logistics_active_layout_method: {
23229
+ Args: never;
23230
+ Returns: string;
23231
+ };
22858
23232
  logistics_active_pick_workdays: {
22859
23233
  Args: never;
22860
23234
  Returns: string[];
@@ -22962,6 +23336,15 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
22962
23336
  };
22963
23337
  Returns: boolean;
22964
23338
  };
23339
+ logistics_buffer_notify: {
23340
+ Args: {
23341
+ p_event_type: string;
23342
+ p_idempotency_key: string;
23343
+ p_order_ref: string;
23344
+ p_payload: import("../integrations/supabase/types").Json;
23345
+ };
23346
+ Returns: string;
23347
+ };
22965
23348
  logistics_buffer_open_key: {
22966
23349
  Args: {
22967
23350
  p_base_key: string;
@@ -23020,6 +23403,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23020
23403
  };
23021
23404
  Returns: string;
23022
23405
  };
23406
+ logistics_cart_checkin_at: {
23407
+ Args: {
23408
+ p_cart_id: string;
23409
+ };
23410
+ Returns: string;
23411
+ };
23023
23412
  logistics_cart_handled: {
23024
23413
  Args: {
23025
23414
  p_cart_index: number;
@@ -23053,10 +23442,22 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23053
23442
  task_status: string;
23054
23443
  }[];
23055
23444
  };
23445
+ logistics_cart_is_full: {
23446
+ Args: {
23447
+ p_cart_id: string;
23448
+ };
23449
+ Returns: boolean;
23450
+ };
23056
23451
  logistics_cart_layout_method: {
23057
23452
  Args: never;
23058
23453
  Returns: import("../integrations/supabase/types").Json;
23059
23454
  };
23455
+ logistics_cart_order_refs: {
23456
+ Args: {
23457
+ p_cart_id: string;
23458
+ };
23459
+ Returns: string[];
23460
+ };
23060
23461
  logistics_cart_plan_overview: {
23061
23462
  Args: {
23062
23463
  p_days?: number;
@@ -23076,6 +23477,18 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23076
23477
  };
23077
23478
  Returns: import("../integrations/supabase/types").Json;
23078
23479
  };
23480
+ logistics_cart_release_reason: {
23481
+ Args: {
23482
+ p_cart_id: string;
23483
+ };
23484
+ Returns: string;
23485
+ };
23486
+ logistics_cart_released: {
23487
+ Args: {
23488
+ p_cart_id: string;
23489
+ };
23490
+ Returns: boolean;
23491
+ };
23079
23492
  logistics_cart_seq: {
23080
23493
  Args: {
23081
23494
  p_order_uuid?: string;
@@ -23229,6 +23642,10 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23229
23642
  isSetofReturn: false;
23230
23643
  };
23231
23644
  };
23645
+ logistics_cleanup_orphan_print_jobs: {
23646
+ Args: never;
23647
+ Returns: import("../integrations/supabase/types").Json;
23648
+ };
23232
23649
  logistics_complete_task: {
23233
23650
  Args: {
23234
23651
  p_result?: import("../integrations/supabase/types").Json;
@@ -23291,6 +23708,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23291
23708
  station_carts: number;
23292
23709
  }[];
23293
23710
  };
23711
+ logistics_control_complete_cart: {
23712
+ Args: {
23713
+ p_cart_id: string;
23714
+ };
23715
+ Returns: number;
23716
+ };
23294
23717
  logistics_control_scan_approve: {
23295
23718
  Args: {
23296
23719
  p_allow_reprint?: boolean;
@@ -23370,6 +23793,15 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23370
23793
  Args: never;
23371
23794
  Returns: import("../integrations/supabase/types").Json;
23372
23795
  };
23796
+ logistics_day_windows: {
23797
+ Args: {
23798
+ p_day: string;
23799
+ };
23800
+ Returns: {
23801
+ win_end: string;
23802
+ win_start: string;
23803
+ }[];
23804
+ };
23373
23805
  logistics_delay_customer_email: {
23374
23806
  Args: {
23375
23807
  p_customer: string;
@@ -23437,6 +23869,17 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23437
23869
  };
23438
23870
  Returns: import("../integrations/supabase/types").Json;
23439
23871
  };
23872
+ logistics_enqueue_shipping_note_with_slip: {
23873
+ Args: {
23874
+ _cart_id: string;
23875
+ _is_herprint: boolean;
23876
+ _printer_id: string;
23877
+ _queue_item_id: string;
23878
+ _session_id: string;
23879
+ _slip_job_id: string;
23880
+ };
23881
+ Returns: string;
23882
+ };
23440
23883
  logistics_enqueue_sticker_with_slip: {
23441
23884
  Args: {
23442
23885
  _cart_id: string;
@@ -23454,6 +23897,14 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23454
23897
  };
23455
23898
  Returns: string;
23456
23899
  };
23900
+ logistics_ensure_pick_data: {
23901
+ Args: {
23902
+ p_event_id?: string;
23903
+ p_missing?: import("../integrations/supabase/types").Json;
23904
+ p_ref: string;
23905
+ };
23906
+ Returns: import("../integrations/supabase/types").Json;
23907
+ };
23457
23908
  logistics_fail_task: {
23458
23909
  Args: {
23459
23910
  p_error: string;
@@ -23575,6 +24026,38 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23575
24026
  };
23576
24027
  Returns: string;
23577
24028
  };
24029
+ logistics_floriday_gate_status: {
24030
+ Args: never;
24031
+ Returns: import("../integrations/supabase/types").Json;
24032
+ };
24033
+ logistics_floriday_log_refusal: {
24034
+ Args: {
24035
+ _action?: string;
24036
+ _module?: string;
24037
+ _order_ref: string;
24038
+ _reason: string;
24039
+ _shell?: string;
24040
+ };
24041
+ Returns: undefined;
24042
+ };
24043
+ logistics_floriday_log_send: {
24044
+ Args: {
24045
+ _action: string;
24046
+ _detail?: string;
24047
+ _http_status?: number;
24048
+ _module?: string;
24049
+ _ok: boolean;
24050
+ _order_ref: string;
24051
+ _shell?: string;
24052
+ };
24053
+ Returns: undefined;
24054
+ };
24055
+ logistics_floriday_order_approved: {
24056
+ Args: {
24057
+ _order_ref: string;
24058
+ };
24059
+ Returns: boolean;
24060
+ };
23578
24061
  logistics_floriday_prune_pushes: {
23579
24062
  Args: {
23580
24063
  _days?: number;
@@ -23589,6 +24072,20 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23589
24072
  };
23590
24073
  Returns: string;
23591
24074
  };
24075
+ logistics_floriday_status_updates_enabled: {
24076
+ Args: never;
24077
+ Returns: boolean;
24078
+ };
24079
+ logistics_floriday_stock_updates_enabled: {
24080
+ Args: never;
24081
+ Returns: boolean;
24082
+ };
24083
+ logistics_floriday_write_allowed: {
24084
+ Args: {
24085
+ _action: string;
24086
+ };
24087
+ Returns: boolean;
24088
+ };
23592
24089
  logistics_fulfill_barcode_requests: {
23593
24090
  Args: {
23594
24091
  p_limit?: number;
@@ -23609,6 +24106,16 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23609
24106
  };
23610
24107
  Returns: boolean;
23611
24108
  };
24109
+ logistics_layout_method_status: {
24110
+ Args: never;
24111
+ Returns: import("../integrations/supabase/types").Json;
24112
+ };
24113
+ logistics_link_order_items: {
24114
+ Args: {
24115
+ p_order?: string;
24116
+ };
24117
+ Returns: import("../integrations/supabase/types").Json;
24118
+ };
23612
24119
  logistics_live_carriers: {
23613
24120
  Args: {
23614
24121
  p_order_ref: string;
@@ -23621,6 +24128,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23621
24128
  };
23622
24129
  Returns: number;
23623
24130
  };
24131
+ logistics_merge_partial_carts: {
24132
+ Args: {
24133
+ p_limit?: number;
24134
+ };
24135
+ Returns: import("../integrations/supabase/types").Json;
24136
+ };
23624
24137
  logistics_next_workday_date: {
23625
24138
  Args: {
23626
24139
  p_date: string;
@@ -23635,12 +24148,22 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23635
24148
  };
23636
24149
  Returns: string;
23637
24150
  };
24151
+ logistics_normalize_product_label: {
24152
+ Args: {
24153
+ p_label: string;
24154
+ };
24155
+ Returns: string;
24156
+ };
23638
24157
  logistics_not_past: {
23639
24158
  Args: {
23640
24159
  p_ts: string;
23641
24160
  };
23642
24161
  Returns: string;
23643
24162
  };
24163
+ logistics_opening_timezone: {
24164
+ Args: never;
24165
+ Returns: string;
24166
+ };
23644
24167
  logistics_order_cart_count: {
23645
24168
  Args: {
23646
24169
  p_order_ref: string;
@@ -23725,6 +24248,10 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23725
24248
  Args: never;
23726
24249
  Returns: import("../integrations/supabase/types").Json;
23727
24250
  };
24251
+ logistics_pick_partial_mode: {
24252
+ Args: never;
24253
+ Returns: string;
24254
+ };
23728
24255
  logistics_pick_start_estimate: {
23729
24256
  Args: {
23730
24257
  p_order: import("../integrations/supabase/types").Json;
@@ -23836,6 +24363,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23836
24363
  };
23837
24364
  Returns: number;
23838
24365
  };
24366
+ logistics_prepare_pick_documents: {
24367
+ Args: {
24368
+ p_limit?: number;
24369
+ };
24370
+ Returns: import("../integrations/supabase/types").Json;
24371
+ };
23839
24372
  logistics_prune_buffer_member_queue: {
23840
24373
  Args: never;
23841
24374
  Returns: number;
@@ -23876,12 +24409,30 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23876
24409
  Args: never;
23877
24410
  Returns: import("../integrations/supabase/types").Json;
23878
24411
  };
24412
+ logistics_refresh_pick_queue_status: {
24413
+ Args: {
24414
+ p_ref: string;
24415
+ };
24416
+ Returns: number;
24417
+ };
23879
24418
  logistics_refresh_pickup_moments: {
23880
24419
  Args: {
23881
24420
  p_weeks?: number;
23882
24421
  };
23883
24422
  Returns: import("../integrations/supabase/types").Json;
23884
24423
  };
24424
+ logistics_replan_all: {
24425
+ Args: {
24426
+ p_reason?: string;
24427
+ };
24428
+ Returns: import("../integrations/supabase/types").Json;
24429
+ };
24430
+ logistics_replan_all_force: {
24431
+ Args: {
24432
+ p_reason?: string;
24433
+ };
24434
+ Returns: import("../integrations/supabase/types").Json;
24435
+ };
23885
24436
  logistics_report_delay: {
23886
24437
  Args: {
23887
24438
  p_expected_date?: string;
@@ -23935,6 +24486,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23935
24486
  };
23936
24487
  Returns: import("../integrations/supabase/types").Json;
23937
24488
  };
24489
+ logistics_resolve_product_id: {
24490
+ Args: {
24491
+ p_label: string;
24492
+ };
24493
+ Returns: string;
24494
+ };
23938
24495
  logistics_resolve_settings: {
23939
24496
  Args: {
23940
24497
  p_config_id: string;
@@ -24020,6 +24577,10 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
24020
24577
  };
24021
24578
  Returns: string;
24022
24579
  };
24580
+ logistics_shipping_note_follows_slip: {
24581
+ Args: never;
24582
+ Returns: boolean;
24583
+ };
24023
24584
  logistics_shipping_note_from_barcode: {
24024
24585
  Args: {
24025
24586
  p_allow_reprint?: boolean;
@@ -24032,6 +24593,14 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
24032
24593
  Args: never;
24033
24594
  Returns: boolean;
24034
24595
  };
24596
+ logistics_subtract_working_minutes: {
24597
+ Args: {
24598
+ p_deadline: string;
24599
+ p_max_workdays?: number;
24600
+ p_minutes: number;
24601
+ };
24602
+ Returns: import("../integrations/supabase/types").Json;
24603
+ };
24035
24604
  logistics_supersede_stale_tasks: {
24036
24605
  Args: {
24037
24606
  p_keep: string[];
@@ -24068,6 +24637,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
24068
24637
  Args: never;
24069
24638
  Returns: string;
24070
24639
  };
24640
+ logistics_timezone_options: {
24641
+ Args: never;
24642
+ Returns: {
24643
+ name: string;
24644
+ }[];
24645
+ };
24071
24646
  logistics_upsert_task: {
24072
24647
  Args: {
24073
24648
  p_buffer_ref: string;
@@ -24087,6 +24662,16 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
24087
24662
  };
24088
24663
  Returns: string;
24089
24664
  };
24665
+ logistics_valid_timezone: {
24666
+ Args: {
24667
+ _tz: string;
24668
+ };
24669
+ Returns: boolean;
24670
+ };
24671
+ logistics_working_hours_status: {
24672
+ Args: never;
24673
+ Returns: import("../integrations/supabase/types").Json;
24674
+ };
24090
24675
  logistics_write_buffer_layer_positions: {
24091
24676
  Args: {
24092
24677
  p_buffer_id: string;
@@ -24252,6 +24837,10 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
24252
24837
  online: boolean;
24253
24838
  }[];
24254
24839
  };
24840
+ pick_apply_buffer_events: {
24841
+ Args: never;
24842
+ Returns: import("../integrations/supabase/types").Json;
24843
+ };
24255
24844
  pick_available_pick_days: {
24256
24845
  Args: {
24257
24846
  _max_days?: number;
@@ -25528,6 +26117,13 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
25528
26117
  };
25529
26118
  Returns: number;
25530
26119
  };
26120
+ schedule_floriday_catalog_prices_sync: {
26121
+ Args: {
26122
+ p_apikey: string;
26123
+ p_url: string;
26124
+ };
26125
+ Returns: number;
26126
+ };
25531
26127
  schedule_floriday_clock_presales_sync: {
25532
26128
  Args: {
25533
26129
  p_apikey: string;
@@ -25828,6 +26424,10 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
25828
26424
  };
25829
26425
  Returns: undefined;
25830
26426
  };
26427
+ sync_floriday_prices_into_price_groups: {
26428
+ Args: never;
26429
+ Returns: number;
26430
+ };
25831
26431
  sync_layer_stock: {
25832
26432
  Args: {
25833
26433
  p_product_id: string;