@flowselections/floriday-voorraad 1.0.42 → 1.0.43

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 (44) hide show
  1. package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
  2. package/dist-lib/components/voorraad/ArtikelWizard.js +15 -11
  3. package/dist-lib/components/voorraad/OrderHistoryCard.js +2 -2
  4. package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts +7 -0
  5. package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -0
  6. package/dist-lib/components/voorraad/StockMutationHistoryCard.js +134 -0
  7. package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
  8. package/dist-lib/components/voorraad/StockPushMonitor.js +90 -12
  9. package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
  10. package/dist-lib/components/voorraad/VoorraadPage.js +1 -1
  11. package/dist-lib/hooks/useFloriday.d.ts.map +1 -1
  12. package/dist-lib/hooks/useFloriday.js +5 -2
  13. package/dist-lib/hooks/useStockPushJobs.d.ts +2 -0
  14. package/dist-lib/hooks/useStockPushJobs.d.ts.map +1 -1
  15. package/dist-lib/hooks/useStockPushJobs.js +18 -5
  16. package/dist-lib/integrations/supabase/auth-middleware.d.ts +440 -0
  17. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/client.d.ts +440 -0
  19. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  20. package/dist-lib/integrations/supabase/client.server.d.ts +440 -0
  21. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  22. package/dist-lib/integrations/supabase/types.d.ts +443 -0
  23. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  24. package/dist-lib/lib/floricode-required-features.functions.d.ts +440 -0
  25. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floriday-2026v1.server.d.ts.map +1 -1
  27. package/dist-lib/lib/floriday-2026v1.server.js +6 -0
  28. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +440 -0
  29. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/floriday-env.functions.d.ts +880 -0
  31. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/floriday-gateway.functions.d.ts +2640 -0
  33. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +880 -0
  35. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/floriday-warehouse.functions.d.ts +1320 -0
  37. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/floriday-writes.functions.d.ts +880 -0
  39. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/inventory-settings.functions.d.ts +880 -0
  41. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/stock-sync.functions.d.ts +880 -0
  43. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  44. package/package.json +1 -1
@@ -2224,6 +2224,45 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
2224
2224
  };
2225
2225
  Relationships: [];
2226
2226
  };
2227
+ customer_product_stickers: {
2228
+ Row: {
2229
+ created_at: string;
2230
+ customer_key: string;
2231
+ file_name: string;
2232
+ file_path: string;
2233
+ file_size: number | null;
2234
+ id: string;
2235
+ mime_type: string | null;
2236
+ trade_item_key: string;
2237
+ updated_at: string;
2238
+ uploaded_by: string | null;
2239
+ };
2240
+ Insert: {
2241
+ created_at?: string;
2242
+ customer_key: string;
2243
+ file_name: string;
2244
+ file_path: string;
2245
+ file_size?: number | null;
2246
+ id?: string;
2247
+ mime_type?: string | null;
2248
+ trade_item_key: string;
2249
+ updated_at?: string;
2250
+ uploaded_by?: string | null;
2251
+ };
2252
+ Update: {
2253
+ created_at?: string;
2254
+ customer_key?: string;
2255
+ file_name?: string;
2256
+ file_path?: string;
2257
+ file_size?: number | null;
2258
+ id?: string;
2259
+ mime_type?: string | null;
2260
+ trade_item_key?: string;
2261
+ updated_at?: string;
2262
+ uploaded_by?: string | null;
2263
+ };
2264
+ Relationships: [];
2265
+ };
2227
2266
  customer_selected_assortment: {
2228
2267
  Row: {
2229
2268
  article_number: string | null;
@@ -2272,6 +2311,30 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
2272
2311
  referencedColumns: ["id"];
2273
2312
  }];
2274
2313
  };
2314
+ customer_sticker_settings: {
2315
+ Row: {
2316
+ created_at: string;
2317
+ customer_key: string;
2318
+ height_mm: number;
2319
+ updated_at: string;
2320
+ width_mm: number;
2321
+ };
2322
+ Insert: {
2323
+ created_at?: string;
2324
+ customer_key: string;
2325
+ height_mm?: number;
2326
+ updated_at?: string;
2327
+ width_mm?: number;
2328
+ };
2329
+ Update: {
2330
+ created_at?: string;
2331
+ customer_key?: string;
2332
+ height_mm?: number;
2333
+ updated_at?: string;
2334
+ width_mm?: number;
2335
+ };
2336
+ Relationships: [];
2337
+ };
2275
2338
  customer_trade_settings: {
2276
2339
  Row: {
2277
2340
  category: string;
@@ -5602,6 +5665,102 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
5602
5665
  referencedColumns: ["id"];
5603
5666
  }];
5604
5667
  };
5668
+ floriday_api_log: {
5669
+ Row: {
5670
+ action: string | null;
5671
+ caller: string | null;
5672
+ connection_id: string | null;
5673
+ created_at: string;
5674
+ cursor_from: number | null;
5675
+ direction: string;
5676
+ duration_ms: number | null;
5677
+ environment: string | null;
5678
+ error: string | null;
5679
+ floriday_id: string | null;
5680
+ floriday_reference: string | null;
5681
+ http_status: number;
5682
+ id: string;
5683
+ item_count: number | null;
5684
+ kind: string | null;
5685
+ local_id: string | null;
5686
+ local_reference: string | null;
5687
+ method: string;
5688
+ module: string | null;
5689
+ ok: boolean;
5690
+ path: string;
5691
+ request: import("../integrations/supabase/types").Json | null;
5692
+ resource_type: string | null;
5693
+ response: import("../integrations/supabase/types").Json | null;
5694
+ write_log_id: string | null;
5695
+ };
5696
+ Insert: {
5697
+ action?: string | null;
5698
+ caller?: string | null;
5699
+ connection_id?: string | null;
5700
+ created_at?: string;
5701
+ cursor_from?: number | null;
5702
+ direction: string;
5703
+ duration_ms?: number | null;
5704
+ environment?: string | null;
5705
+ error?: string | null;
5706
+ floriday_id?: string | null;
5707
+ floriday_reference?: string | null;
5708
+ http_status?: number;
5709
+ id?: string;
5710
+ item_count?: number | null;
5711
+ kind?: string | null;
5712
+ local_id?: string | null;
5713
+ local_reference?: string | null;
5714
+ method: string;
5715
+ module?: string | null;
5716
+ ok?: boolean;
5717
+ path: string;
5718
+ request?: import("../integrations/supabase/types").Json | null;
5719
+ resource_type?: string | null;
5720
+ response?: import("../integrations/supabase/types").Json | null;
5721
+ write_log_id?: string | null;
5722
+ };
5723
+ Update: {
5724
+ action?: string | null;
5725
+ caller?: string | null;
5726
+ connection_id?: string | null;
5727
+ created_at?: string;
5728
+ cursor_from?: number | null;
5729
+ direction?: string;
5730
+ duration_ms?: number | null;
5731
+ environment?: string | null;
5732
+ error?: string | null;
5733
+ floriday_id?: string | null;
5734
+ floriday_reference?: string | null;
5735
+ http_status?: number;
5736
+ id?: string;
5737
+ item_count?: number | null;
5738
+ kind?: string | null;
5739
+ local_id?: string | null;
5740
+ local_reference?: string | null;
5741
+ method?: string;
5742
+ module?: string | null;
5743
+ ok?: boolean;
5744
+ path?: string;
5745
+ request?: import("../integrations/supabase/types").Json | null;
5746
+ resource_type?: string | null;
5747
+ response?: import("../integrations/supabase/types").Json | null;
5748
+ write_log_id?: string | null;
5749
+ };
5750
+ Relationships: [{
5751
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5752
+ columns: ["connection_id"];
5753
+ isOneToOne: false;
5754
+ referencedRelation: "floriday_connections";
5755
+ referencedColumns: ["id"];
5756
+ }, {
5757
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5758
+ columns: ["write_log_id"];
5759
+ isOneToOne: false;
5760
+ referencedRelation: "floriday_write_log";
5761
+ referencedColumns: ["id"];
5762
+ }];
5763
+ };
5605
5764
  floriday_auction_letters_cache: {
5606
5765
  Row: {
5607
5766
  auction_letter_code: string;
@@ -6802,6 +6961,69 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
6802
6961
  referencedColumns: ["id"];
6803
6962
  }];
6804
6963
  };
6964
+ floriday_link_templates: {
6965
+ Row: {
6966
+ created_at: string;
6967
+ floriday_url_template: string | null;
6968
+ is_active: boolean;
6969
+ label: string;
6970
+ local_url_template: string | null;
6971
+ resource_type: string;
6972
+ updated_at: string;
6973
+ };
6974
+ Insert: {
6975
+ created_at?: string;
6976
+ floriday_url_template?: string | null;
6977
+ is_active?: boolean;
6978
+ label: string;
6979
+ local_url_template?: string | null;
6980
+ resource_type: string;
6981
+ updated_at?: string;
6982
+ };
6983
+ Update: {
6984
+ created_at?: string;
6985
+ floriday_url_template?: string | null;
6986
+ is_active?: boolean;
6987
+ label?: string;
6988
+ local_url_template?: string | null;
6989
+ resource_type?: string;
6990
+ updated_at?: string;
6991
+ };
6992
+ Relationships: [];
6993
+ };
6994
+ floriday_log_retention: {
6995
+ Row: {
6996
+ created_at: string;
6997
+ direction: string | null;
6998
+ id: string;
6999
+ keep_failed_days: number | null;
7000
+ keep_ok_days: number | null;
7001
+ note: string | null;
7002
+ resource_type: string | null;
7003
+ updated_at: string;
7004
+ };
7005
+ Insert: {
7006
+ created_at?: string;
7007
+ direction?: string | null;
7008
+ id?: string;
7009
+ keep_failed_days?: number | null;
7010
+ keep_ok_days?: number | null;
7011
+ note?: string | null;
7012
+ resource_type?: string | null;
7013
+ updated_at?: string;
7014
+ };
7015
+ Update: {
7016
+ created_at?: string;
7017
+ direction?: string | null;
7018
+ id?: string;
7019
+ keep_failed_days?: number | null;
7020
+ keep_ok_days?: number | null;
7021
+ note?: string | null;
7022
+ resource_type?: string | null;
7023
+ updated_at?: string;
7024
+ };
7025
+ Relationships: [];
7026
+ };
6805
7027
  floriday_logistic_labels_cache: {
6806
7028
  Row: {
6807
7029
  byte_size: number | null;
@@ -11341,6 +11563,111 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
11341
11563
  };
11342
11564
  Relationships: [];
11343
11565
  };
11566
+ logistics_trace_events: {
11567
+ Row: {
11568
+ actor: string | null;
11569
+ attempts: number;
11570
+ cart_ref: string | null;
11571
+ created_at: string;
11572
+ db_action: string | null;
11573
+ db_new: import("../integrations/supabase/types").Json | null;
11574
+ db_old: import("../integrations/supabase/types").Json | null;
11575
+ db_record: string | null;
11576
+ db_table: string | null;
11577
+ decision: string | null;
11578
+ duration_ms: number | null;
11579
+ error: string | null;
11580
+ external_action: string | null;
11581
+ external_ref: string | null;
11582
+ external_response: import("../integrations/supabase/types").Json | null;
11583
+ external_status: string | null;
11584
+ external_system: string | null;
11585
+ id: string;
11586
+ input: import("../integrations/supabase/types").Json | null;
11587
+ next_attempt_at: string | null;
11588
+ order_ref: string | null;
11589
+ order_source: string | null;
11590
+ output: import("../integrations/supabase/types").Json | null;
11591
+ phase: string;
11592
+ reads: import("../integrations/supabase/types").Json | null;
11593
+ reason: string | null;
11594
+ rule: string | null;
11595
+ slip_ref: string | null;
11596
+ status: string;
11597
+ step: string;
11598
+ trace_id: string;
11599
+ values_used: import("../integrations/supabase/types").Json | null;
11600
+ };
11601
+ Insert: {
11602
+ actor?: string | null;
11603
+ attempts?: number;
11604
+ cart_ref?: string | null;
11605
+ created_at?: string;
11606
+ db_action?: string | null;
11607
+ db_new?: import("../integrations/supabase/types").Json | null;
11608
+ db_old?: import("../integrations/supabase/types").Json | null;
11609
+ db_record?: string | null;
11610
+ db_table?: string | null;
11611
+ decision?: string | null;
11612
+ duration_ms?: number | null;
11613
+ error?: string | null;
11614
+ external_action?: string | null;
11615
+ external_ref?: string | null;
11616
+ external_response?: import("../integrations/supabase/types").Json | null;
11617
+ external_status?: string | null;
11618
+ external_system?: string | null;
11619
+ id?: string;
11620
+ input?: import("../integrations/supabase/types").Json | null;
11621
+ next_attempt_at?: string | null;
11622
+ order_ref?: string | null;
11623
+ order_source?: string | null;
11624
+ output?: import("../integrations/supabase/types").Json | null;
11625
+ phase: string;
11626
+ reads?: import("../integrations/supabase/types").Json | null;
11627
+ reason?: string | null;
11628
+ rule?: string | null;
11629
+ slip_ref?: string | null;
11630
+ status: string;
11631
+ step: string;
11632
+ trace_id?: string;
11633
+ values_used?: import("../integrations/supabase/types").Json | null;
11634
+ };
11635
+ Update: {
11636
+ actor?: string | null;
11637
+ attempts?: number;
11638
+ cart_ref?: string | null;
11639
+ created_at?: string;
11640
+ db_action?: string | null;
11641
+ db_new?: import("../integrations/supabase/types").Json | null;
11642
+ db_old?: import("../integrations/supabase/types").Json | null;
11643
+ db_record?: string | null;
11644
+ db_table?: string | null;
11645
+ decision?: string | null;
11646
+ duration_ms?: number | null;
11647
+ error?: string | null;
11648
+ external_action?: string | null;
11649
+ external_ref?: string | null;
11650
+ external_response?: import("../integrations/supabase/types").Json | null;
11651
+ external_status?: string | null;
11652
+ external_system?: string | null;
11653
+ id?: string;
11654
+ input?: import("../integrations/supabase/types").Json | null;
11655
+ next_attempt_at?: string | null;
11656
+ order_ref?: string | null;
11657
+ order_source?: string | null;
11658
+ output?: import("../integrations/supabase/types").Json | null;
11659
+ phase?: string;
11660
+ reads?: import("../integrations/supabase/types").Json | null;
11661
+ reason?: string | null;
11662
+ rule?: string | null;
11663
+ slip_ref?: string | null;
11664
+ status?: string;
11665
+ step?: string;
11666
+ trace_id?: string;
11667
+ values_used?: import("../integrations/supabase/types").Json | null;
11668
+ };
11669
+ Relationships: [];
11670
+ };
11344
11671
  logistics_variables: {
11345
11672
  Row: {
11346
11673
  created_at: string;
@@ -21913,6 +22240,15 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
21913
22240
  Args: never;
21914
22241
  Returns: boolean;
21915
22242
  };
22243
+ cancel_open_print_jobs: {
22244
+ Args: {
22245
+ _cutoff: string;
22246
+ };
22247
+ Returns: {
22248
+ extern_job_id: string;
22249
+ id: string;
22250
+ }[];
22251
+ };
21916
22252
  check_offer_product_available_stock: {
21917
22253
  Args: {
21918
22254
  p_campaign_product_id: string;
@@ -23525,6 +23861,12 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
23525
23861
  };
23526
23862
  Returns: import("../integrations/supabase/types").Json;
23527
23863
  };
23864
+ logistics_cart_plan_status_core: {
23865
+ Args: {
23866
+ p_ref: string;
23867
+ };
23868
+ Returns: import("../integrations/supabase/types").Json;
23869
+ };
23528
23870
  logistics_cart_release_reason: {
23529
23871
  Args: {
23530
23872
  p_cart_id: string;
@@ -23957,6 +24299,12 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
23957
24299
  };
23958
24300
  Returns: import("../integrations/supabase/types").Json;
23959
24301
  };
24302
+ logistics_ensure_shipping_notes: {
24303
+ Args: {
24304
+ p_limit?: number;
24305
+ };
24306
+ Returns: import("../integrations/supabase/types").Json;
24307
+ };
23960
24308
  logistics_fail_task: {
23961
24309
  Args: {
23962
24310
  p_error: string;
@@ -24002,6 +24350,10 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
24002
24350
  isSetofReturn: false;
24003
24351
  };
24004
24352
  };
24353
+ logistics_fix_wrong_shipping_notes: {
24354
+ Args: never;
24355
+ Returns: import("../integrations/supabase/types").Json;
24356
+ };
24005
24357
  logistics_floriday_cart_plan: {
24006
24358
  Args: {
24007
24359
  p_order_id: string;
@@ -24029,6 +24381,10 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
24029
24381
  revision: number;
24030
24382
  }[];
24031
24383
  };
24384
+ logistics_floriday_delivery_note_create_enabled: {
24385
+ Args: never;
24386
+ Returns: boolean;
24387
+ };
24032
24388
  logistics_floriday_finish_push: {
24033
24389
  Args: {
24034
24390
  _error?: string;
@@ -24272,6 +24628,12 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
24272
24628
  };
24273
24629
  Returns: string;
24274
24630
  };
24631
+ logistics_payload_is_floriday: {
24632
+ Args: {
24633
+ _payload: import("../integrations/supabase/types").Json;
24634
+ };
24635
+ Returns: boolean;
24636
+ };
24275
24637
  logistics_pick_agenda: {
24276
24638
  Args: {
24277
24639
  p_from?: string;
@@ -24394,6 +24756,20 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
24394
24756
  Args: never;
24395
24757
  Returns: undefined;
24396
24758
  };
24759
+ logistics_plan_progress: {
24760
+ Args: {
24761
+ p_refs: string[];
24762
+ };
24763
+ Returns: {
24764
+ cart_plan_ready: boolean;
24765
+ cart_plan_reason: string;
24766
+ cart_plan_released: boolean;
24767
+ plan_progress: number;
24768
+ plan_state: string;
24769
+ plan_state_since: string;
24770
+ unit_ref: string;
24771
+ }[];
24772
+ };
24397
24773
  logistics_plan_prune: {
24398
24774
  Args: never;
24399
24775
  Returns: number;
@@ -24415,6 +24791,12 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
24415
24791
  };
24416
24792
  Returns: number;
24417
24793
  };
24794
+ logistics_plan_state_for: {
24795
+ Args: {
24796
+ p_ref: string;
24797
+ };
24798
+ Returns: import("../integrations/supabase/types").Json;
24799
+ };
24418
24800
  logistics_prepare_pick_documents: {
24419
24801
  Args: {
24420
24802
  p_limit?: number;
@@ -24473,6 +24855,12 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
24473
24855
  };
24474
24856
  Returns: import("../integrations/supabase/types").Json;
24475
24857
  };
24858
+ logistics_refresh_plan_state: {
24859
+ Args: {
24860
+ p_limit?: number;
24861
+ };
24862
+ Returns: import("../integrations/supabase/types").Json;
24863
+ };
24476
24864
  logistics_replan_all: {
24477
24865
  Args: {
24478
24866
  p_reason?: string;
@@ -24647,6 +25035,16 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
24647
25035
  };
24648
25036
  Returns: string;
24649
25037
  };
25038
+ logistics_shipping_notes_wake_all: {
25039
+ Args: never;
25040
+ Returns: import("../integrations/supabase/types").Json;
25041
+ };
25042
+ logistics_slip_is_floriday: {
25043
+ Args: {
25044
+ _slip_job_id: string;
25045
+ };
25046
+ Returns: boolean;
25047
+ };
24650
25048
  logistics_slip_note_claim: {
24651
25049
  Args: {
24652
25050
  _lease_seconds?: number;
@@ -24753,6 +25151,40 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
24753
25151
  name: string;
24754
25152
  }[];
24755
25153
  };
25154
+ logistics_trace: {
25155
+ Args: {
25156
+ p: import("../integrations/supabase/types").Json;
25157
+ };
25158
+ Returns: string;
25159
+ };
25160
+ logistics_trace_batch: {
25161
+ Args: {
25162
+ p: import("../integrations/supabase/types").Json;
25163
+ };
25164
+ Returns: number;
25165
+ };
25166
+ logistics_trace_orders: {
25167
+ Args: {
25168
+ p_limit?: number;
25169
+ p_search?: string;
25170
+ p_since?: string;
25171
+ p_status?: string;
25172
+ };
25173
+ Returns: import("../integrations/supabase/types").Json;
25174
+ };
25175
+ logistics_trace_redact: {
25176
+ Args: {
25177
+ p: import("../integrations/supabase/types").Json;
25178
+ };
25179
+ Returns: import("../integrations/supabase/types").Json;
25180
+ };
25181
+ logistics_trace_timeline: {
25182
+ Args: {
25183
+ p_limit?: number;
25184
+ p_order_ref: string;
25185
+ };
25186
+ Returns: import("../integrations/supabase/types").Json;
25187
+ };
24756
25188
  logistics_upsert_task: {
24757
25189
  Args: {
24758
25190
  p_buffer_ref: string;
@@ -25794,6 +26226,10 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
25794
26226
  };
25795
26227
  Returns: undefined;
25796
26228
  };
26229
+ prune_floriday_api_log: {
26230
+ Args: never;
26231
+ Returns: number;
26232
+ };
25797
26233
  quote_create_from_source: {
25798
26234
  Args: {
25799
26235
  _payload?: import("../integrations/supabase/types").Json;
@@ -26670,6 +27106,10 @@ export declare const saveInventorySettings: import("@tanstack/start-client-core"
26670
27106
  Args: never;
26671
27107
  Returns: string;
26672
27108
  };
27109
+ voorraad_cleanup_old_rows: {
27110
+ Args: never;
27111
+ Returns: import("../integrations/supabase/types").Json;
27112
+ };
26673
27113
  wake_print_queue: {
26674
27114
  Args: {
26675
27115
  _min_interval_ms?: number;
@@ -28976,6 +29416,45 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
28976
29416
  };
28977
29417
  Relationships: [];
28978
29418
  };
29419
+ customer_product_stickers: {
29420
+ Row: {
29421
+ created_at: string;
29422
+ customer_key: string;
29423
+ file_name: string;
29424
+ file_path: string;
29425
+ file_size: number | null;
29426
+ id: string;
29427
+ mime_type: string | null;
29428
+ trade_item_key: string;
29429
+ updated_at: string;
29430
+ uploaded_by: string | null;
29431
+ };
29432
+ Insert: {
29433
+ created_at?: string;
29434
+ customer_key: string;
29435
+ file_name: string;
29436
+ file_path: string;
29437
+ file_size?: number | null;
29438
+ id?: string;
29439
+ mime_type?: string | null;
29440
+ trade_item_key: string;
29441
+ updated_at?: string;
29442
+ uploaded_by?: string | null;
29443
+ };
29444
+ Update: {
29445
+ created_at?: string;
29446
+ customer_key?: string;
29447
+ file_name?: string;
29448
+ file_path?: string;
29449
+ file_size?: number | null;
29450
+ id?: string;
29451
+ mime_type?: string | null;
29452
+ trade_item_key?: string;
29453
+ updated_at?: string;
29454
+ uploaded_by?: string | null;
29455
+ };
29456
+ Relationships: [];
29457
+ };
28979
29458
  customer_selected_assortment: {
28980
29459
  Row: {
28981
29460
  article_number: string | null;
@@ -29024,6 +29503,30 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
29024
29503
  referencedColumns: ["id"];
29025
29504
  }];
29026
29505
  };
29506
+ customer_sticker_settings: {
29507
+ Row: {
29508
+ created_at: string;
29509
+ customer_key: string;
29510
+ height_mm: number;
29511
+ updated_at: string;
29512
+ width_mm: number;
29513
+ };
29514
+ Insert: {
29515
+ created_at?: string;
29516
+ customer_key: string;
29517
+ height_mm?: number;
29518
+ updated_at?: string;
29519
+ width_mm?: number;
29520
+ };
29521
+ Update: {
29522
+ created_at?: string;
29523
+ customer_key?: string;
29524
+ height_mm?: number;
29525
+ updated_at?: string;
29526
+ width_mm?: number;
29527
+ };
29528
+ Relationships: [];
29529
+ };
29027
29530
  customer_trade_settings: {
29028
29531
  Row: {
29029
29532
  category: string;
@@ -32354,6 +32857,102 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
32354
32857
  referencedColumns: ["id"];
32355
32858
  }];
32356
32859
  };
32860
+ floriday_api_log: {
32861
+ Row: {
32862
+ action: string | null;
32863
+ caller: string | null;
32864
+ connection_id: string | null;
32865
+ created_at: string;
32866
+ cursor_from: number | null;
32867
+ direction: string;
32868
+ duration_ms: number | null;
32869
+ environment: string | null;
32870
+ error: string | null;
32871
+ floriday_id: string | null;
32872
+ floriday_reference: string | null;
32873
+ http_status: number;
32874
+ id: string;
32875
+ item_count: number | null;
32876
+ kind: string | null;
32877
+ local_id: string | null;
32878
+ local_reference: string | null;
32879
+ method: string;
32880
+ module: string | null;
32881
+ ok: boolean;
32882
+ path: string;
32883
+ request: import("../integrations/supabase/types").Json | null;
32884
+ resource_type: string | null;
32885
+ response: import("../integrations/supabase/types").Json | null;
32886
+ write_log_id: string | null;
32887
+ };
32888
+ Insert: {
32889
+ action?: string | null;
32890
+ caller?: string | null;
32891
+ connection_id?: string | null;
32892
+ created_at?: string;
32893
+ cursor_from?: number | null;
32894
+ direction: string;
32895
+ duration_ms?: number | null;
32896
+ environment?: string | null;
32897
+ error?: string | null;
32898
+ floriday_id?: string | null;
32899
+ floriday_reference?: string | null;
32900
+ http_status?: number;
32901
+ id?: string;
32902
+ item_count?: number | null;
32903
+ kind?: string | null;
32904
+ local_id?: string | null;
32905
+ local_reference?: string | null;
32906
+ method: string;
32907
+ module?: string | null;
32908
+ ok?: boolean;
32909
+ path: string;
32910
+ request?: import("../integrations/supabase/types").Json | null;
32911
+ resource_type?: string | null;
32912
+ response?: import("../integrations/supabase/types").Json | null;
32913
+ write_log_id?: string | null;
32914
+ };
32915
+ Update: {
32916
+ action?: string | null;
32917
+ caller?: string | null;
32918
+ connection_id?: string | null;
32919
+ created_at?: string;
32920
+ cursor_from?: number | null;
32921
+ direction?: string;
32922
+ duration_ms?: number | null;
32923
+ environment?: string | null;
32924
+ error?: string | null;
32925
+ floriday_id?: string | null;
32926
+ floriday_reference?: string | null;
32927
+ http_status?: number;
32928
+ id?: string;
32929
+ item_count?: number | null;
32930
+ kind?: string | null;
32931
+ local_id?: string | null;
32932
+ local_reference?: string | null;
32933
+ method?: string;
32934
+ module?: string | null;
32935
+ ok?: boolean;
32936
+ path?: string;
32937
+ request?: import("../integrations/supabase/types").Json | null;
32938
+ resource_type?: string | null;
32939
+ response?: import("../integrations/supabase/types").Json | null;
32940
+ write_log_id?: string | null;
32941
+ };
32942
+ Relationships: [{
32943
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
32944
+ columns: ["connection_id"];
32945
+ isOneToOne: false;
32946
+ referencedRelation: "floriday_connections";
32947
+ referencedColumns: ["id"];
32948
+ }, {
32949
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
32950
+ columns: ["write_log_id"];
32951
+ isOneToOne: false;
32952
+ referencedRelation: "floriday_write_log";
32953
+ referencedColumns: ["id"];
32954
+ }];
32955
+ };
32357
32956
  floriday_auction_letters_cache: {
32358
32957
  Row: {
32359
32958
  auction_letter_code: string;
@@ -33554,6 +34153,69 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
33554
34153
  referencedColumns: ["id"];
33555
34154
  }];
33556
34155
  };
34156
+ floriday_link_templates: {
34157
+ Row: {
34158
+ created_at: string;
34159
+ floriday_url_template: string | null;
34160
+ is_active: boolean;
34161
+ label: string;
34162
+ local_url_template: string | null;
34163
+ resource_type: string;
34164
+ updated_at: string;
34165
+ };
34166
+ Insert: {
34167
+ created_at?: string;
34168
+ floriday_url_template?: string | null;
34169
+ is_active?: boolean;
34170
+ label: string;
34171
+ local_url_template?: string | null;
34172
+ resource_type: string;
34173
+ updated_at?: string;
34174
+ };
34175
+ Update: {
34176
+ created_at?: string;
34177
+ floriday_url_template?: string | null;
34178
+ is_active?: boolean;
34179
+ label?: string;
34180
+ local_url_template?: string | null;
34181
+ resource_type?: string;
34182
+ updated_at?: string;
34183
+ };
34184
+ Relationships: [];
34185
+ };
34186
+ floriday_log_retention: {
34187
+ Row: {
34188
+ created_at: string;
34189
+ direction: string | null;
34190
+ id: string;
34191
+ keep_failed_days: number | null;
34192
+ keep_ok_days: number | null;
34193
+ note: string | null;
34194
+ resource_type: string | null;
34195
+ updated_at: string;
34196
+ };
34197
+ Insert: {
34198
+ created_at?: string;
34199
+ direction?: string | null;
34200
+ id?: string;
34201
+ keep_failed_days?: number | null;
34202
+ keep_ok_days?: number | null;
34203
+ note?: string | null;
34204
+ resource_type?: string | null;
34205
+ updated_at?: string;
34206
+ };
34207
+ Update: {
34208
+ created_at?: string;
34209
+ direction?: string | null;
34210
+ id?: string;
34211
+ keep_failed_days?: number | null;
34212
+ keep_ok_days?: number | null;
34213
+ note?: string | null;
34214
+ resource_type?: string | null;
34215
+ updated_at?: string;
34216
+ };
34217
+ Relationships: [];
34218
+ };
33557
34219
  floriday_logistic_labels_cache: {
33558
34220
  Row: {
33559
34221
  byte_size: number | null;
@@ -38093,6 +38755,111 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
38093
38755
  };
38094
38756
  Relationships: [];
38095
38757
  };
38758
+ logistics_trace_events: {
38759
+ Row: {
38760
+ actor: string | null;
38761
+ attempts: number;
38762
+ cart_ref: string | null;
38763
+ created_at: string;
38764
+ db_action: string | null;
38765
+ db_new: import("../integrations/supabase/types").Json | null;
38766
+ db_old: import("../integrations/supabase/types").Json | null;
38767
+ db_record: string | null;
38768
+ db_table: string | null;
38769
+ decision: string | null;
38770
+ duration_ms: number | null;
38771
+ error: string | null;
38772
+ external_action: string | null;
38773
+ external_ref: string | null;
38774
+ external_response: import("../integrations/supabase/types").Json | null;
38775
+ external_status: string | null;
38776
+ external_system: string | null;
38777
+ id: string;
38778
+ input: import("../integrations/supabase/types").Json | null;
38779
+ next_attempt_at: string | null;
38780
+ order_ref: string | null;
38781
+ order_source: string | null;
38782
+ output: import("../integrations/supabase/types").Json | null;
38783
+ phase: string;
38784
+ reads: import("../integrations/supabase/types").Json | null;
38785
+ reason: string | null;
38786
+ rule: string | null;
38787
+ slip_ref: string | null;
38788
+ status: string;
38789
+ step: string;
38790
+ trace_id: string;
38791
+ values_used: import("../integrations/supabase/types").Json | null;
38792
+ };
38793
+ Insert: {
38794
+ actor?: string | null;
38795
+ attempts?: number;
38796
+ cart_ref?: string | null;
38797
+ created_at?: string;
38798
+ db_action?: string | null;
38799
+ db_new?: import("../integrations/supabase/types").Json | null;
38800
+ db_old?: import("../integrations/supabase/types").Json | null;
38801
+ db_record?: string | null;
38802
+ db_table?: string | null;
38803
+ decision?: string | null;
38804
+ duration_ms?: number | null;
38805
+ error?: string | null;
38806
+ external_action?: string | null;
38807
+ external_ref?: string | null;
38808
+ external_response?: import("../integrations/supabase/types").Json | null;
38809
+ external_status?: string | null;
38810
+ external_system?: string | null;
38811
+ id?: string;
38812
+ input?: import("../integrations/supabase/types").Json | null;
38813
+ next_attempt_at?: string | null;
38814
+ order_ref?: string | null;
38815
+ order_source?: string | null;
38816
+ output?: import("../integrations/supabase/types").Json | null;
38817
+ phase: string;
38818
+ reads?: import("../integrations/supabase/types").Json | null;
38819
+ reason?: string | null;
38820
+ rule?: string | null;
38821
+ slip_ref?: string | null;
38822
+ status: string;
38823
+ step: string;
38824
+ trace_id?: string;
38825
+ values_used?: import("../integrations/supabase/types").Json | null;
38826
+ };
38827
+ Update: {
38828
+ actor?: string | null;
38829
+ attempts?: number;
38830
+ cart_ref?: string | null;
38831
+ created_at?: string;
38832
+ db_action?: string | null;
38833
+ db_new?: import("../integrations/supabase/types").Json | null;
38834
+ db_old?: import("../integrations/supabase/types").Json | null;
38835
+ db_record?: string | null;
38836
+ db_table?: string | null;
38837
+ decision?: string | null;
38838
+ duration_ms?: number | null;
38839
+ error?: string | null;
38840
+ external_action?: string | null;
38841
+ external_ref?: string | null;
38842
+ external_response?: import("../integrations/supabase/types").Json | null;
38843
+ external_status?: string | null;
38844
+ external_system?: string | null;
38845
+ id?: string;
38846
+ input?: import("../integrations/supabase/types").Json | null;
38847
+ next_attempt_at?: string | null;
38848
+ order_ref?: string | null;
38849
+ order_source?: string | null;
38850
+ output?: import("../integrations/supabase/types").Json | null;
38851
+ phase?: string;
38852
+ reads?: import("../integrations/supabase/types").Json | null;
38853
+ reason?: string | null;
38854
+ rule?: string | null;
38855
+ slip_ref?: string | null;
38856
+ status?: string;
38857
+ step?: string;
38858
+ trace_id?: string;
38859
+ values_used?: import("../integrations/supabase/types").Json | null;
38860
+ };
38861
+ Relationships: [];
38862
+ };
38096
38863
  logistics_variables: {
38097
38864
  Row: {
38098
38865
  created_at: string;
@@ -48665,6 +49432,15 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
48665
49432
  Args: never;
48666
49433
  Returns: boolean;
48667
49434
  };
49435
+ cancel_open_print_jobs: {
49436
+ Args: {
49437
+ _cutoff: string;
49438
+ };
49439
+ Returns: {
49440
+ extern_job_id: string;
49441
+ id: string;
49442
+ }[];
49443
+ };
48668
49444
  check_offer_product_available_stock: {
48669
49445
  Args: {
48670
49446
  p_campaign_product_id: string;
@@ -50277,6 +51053,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
50277
51053
  };
50278
51054
  Returns: import("../integrations/supabase/types").Json;
50279
51055
  };
51056
+ logistics_cart_plan_status_core: {
51057
+ Args: {
51058
+ p_ref: string;
51059
+ };
51060
+ Returns: import("../integrations/supabase/types").Json;
51061
+ };
50280
51062
  logistics_cart_release_reason: {
50281
51063
  Args: {
50282
51064
  p_cart_id: string;
@@ -50709,6 +51491,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
50709
51491
  };
50710
51492
  Returns: import("../integrations/supabase/types").Json;
50711
51493
  };
51494
+ logistics_ensure_shipping_notes: {
51495
+ Args: {
51496
+ p_limit?: number;
51497
+ };
51498
+ Returns: import("../integrations/supabase/types").Json;
51499
+ };
50712
51500
  logistics_fail_task: {
50713
51501
  Args: {
50714
51502
  p_error: string;
@@ -50754,6 +51542,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
50754
51542
  isSetofReturn: false;
50755
51543
  };
50756
51544
  };
51545
+ logistics_fix_wrong_shipping_notes: {
51546
+ Args: never;
51547
+ Returns: import("../integrations/supabase/types").Json;
51548
+ };
50757
51549
  logistics_floriday_cart_plan: {
50758
51550
  Args: {
50759
51551
  p_order_id: string;
@@ -50781,6 +51573,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
50781
51573
  revision: number;
50782
51574
  }[];
50783
51575
  };
51576
+ logistics_floriday_delivery_note_create_enabled: {
51577
+ Args: never;
51578
+ Returns: boolean;
51579
+ };
50784
51580
  logistics_floriday_finish_push: {
50785
51581
  Args: {
50786
51582
  _error?: string;
@@ -51024,6 +51820,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
51024
51820
  };
51025
51821
  Returns: string;
51026
51822
  };
51823
+ logistics_payload_is_floriday: {
51824
+ Args: {
51825
+ _payload: import("../integrations/supabase/types").Json;
51826
+ };
51827
+ Returns: boolean;
51828
+ };
51027
51829
  logistics_pick_agenda: {
51028
51830
  Args: {
51029
51831
  p_from?: string;
@@ -51146,6 +51948,20 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
51146
51948
  Args: never;
51147
51949
  Returns: undefined;
51148
51950
  };
51951
+ logistics_plan_progress: {
51952
+ Args: {
51953
+ p_refs: string[];
51954
+ };
51955
+ Returns: {
51956
+ cart_plan_ready: boolean;
51957
+ cart_plan_reason: string;
51958
+ cart_plan_released: boolean;
51959
+ plan_progress: number;
51960
+ plan_state: string;
51961
+ plan_state_since: string;
51962
+ unit_ref: string;
51963
+ }[];
51964
+ };
51149
51965
  logistics_plan_prune: {
51150
51966
  Args: never;
51151
51967
  Returns: number;
@@ -51167,6 +51983,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
51167
51983
  };
51168
51984
  Returns: number;
51169
51985
  };
51986
+ logistics_plan_state_for: {
51987
+ Args: {
51988
+ p_ref: string;
51989
+ };
51990
+ Returns: import("../integrations/supabase/types").Json;
51991
+ };
51170
51992
  logistics_prepare_pick_documents: {
51171
51993
  Args: {
51172
51994
  p_limit?: number;
@@ -51225,6 +52047,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
51225
52047
  };
51226
52048
  Returns: import("../integrations/supabase/types").Json;
51227
52049
  };
52050
+ logistics_refresh_plan_state: {
52051
+ Args: {
52052
+ p_limit?: number;
52053
+ };
52054
+ Returns: import("../integrations/supabase/types").Json;
52055
+ };
51228
52056
  logistics_replan_all: {
51229
52057
  Args: {
51230
52058
  p_reason?: string;
@@ -51399,6 +52227,16 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
51399
52227
  };
51400
52228
  Returns: string;
51401
52229
  };
52230
+ logistics_shipping_notes_wake_all: {
52231
+ Args: never;
52232
+ Returns: import("../integrations/supabase/types").Json;
52233
+ };
52234
+ logistics_slip_is_floriday: {
52235
+ Args: {
52236
+ _slip_job_id: string;
52237
+ };
52238
+ Returns: boolean;
52239
+ };
51402
52240
  logistics_slip_note_claim: {
51403
52241
  Args: {
51404
52242
  _lease_seconds?: number;
@@ -51505,6 +52343,40 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
51505
52343
  name: string;
51506
52344
  }[];
51507
52345
  };
52346
+ logistics_trace: {
52347
+ Args: {
52348
+ p: import("../integrations/supabase/types").Json;
52349
+ };
52350
+ Returns: string;
52351
+ };
52352
+ logistics_trace_batch: {
52353
+ Args: {
52354
+ p: import("../integrations/supabase/types").Json;
52355
+ };
52356
+ Returns: number;
52357
+ };
52358
+ logistics_trace_orders: {
52359
+ Args: {
52360
+ p_limit?: number;
52361
+ p_search?: string;
52362
+ p_since?: string;
52363
+ p_status?: string;
52364
+ };
52365
+ Returns: import("../integrations/supabase/types").Json;
52366
+ };
52367
+ logistics_trace_redact: {
52368
+ Args: {
52369
+ p: import("../integrations/supabase/types").Json;
52370
+ };
52371
+ Returns: import("../integrations/supabase/types").Json;
52372
+ };
52373
+ logistics_trace_timeline: {
52374
+ Args: {
52375
+ p_limit?: number;
52376
+ p_order_ref: string;
52377
+ };
52378
+ Returns: import("../integrations/supabase/types").Json;
52379
+ };
51508
52380
  logistics_upsert_task: {
51509
52381
  Args: {
51510
52382
  p_buffer_ref: string;
@@ -52546,6 +53418,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
52546
53418
  };
52547
53419
  Returns: undefined;
52548
53420
  };
53421
+ prune_floriday_api_log: {
53422
+ Args: never;
53423
+ Returns: number;
53424
+ };
52549
53425
  quote_create_from_source: {
52550
53426
  Args: {
52551
53427
  _payload?: import("../integrations/supabase/types").Json;
@@ -53422,6 +54298,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
53422
54298
  Args: never;
53423
54299
  Returns: string;
53424
54300
  };
54301
+ voorraad_cleanup_old_rows: {
54302
+ Args: never;
54303
+ Returns: import("../integrations/supabase/types").Json;
54304
+ };
53425
54305
  wake_print_queue: {
53426
54306
  Args: {
53427
54307
  _min_interval_ms?: number;