@flowselections/floriday-klanten-module 1.0.35 → 1.0.36

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 (73) hide show
  1. package/dist-lib/components/klanten/BewerkKlant.d.ts.map +1 -1
  2. package/dist-lib/components/klanten/BewerkKlant.js +21 -1
  3. package/dist-lib/components/klanten/BulkStickerUploadDialog.d.ts +14 -0
  4. package/dist-lib/components/klanten/BulkStickerUploadDialog.d.ts.map +1 -0
  5. package/dist-lib/components/klanten/BulkStickerUploadDialog.js +231 -0
  6. package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts.map +1 -1
  7. package/dist-lib/components/klanten/CustomerAssortmentTab.js +37 -5
  8. package/dist-lib/components/klanten/CustomerStickerCell.d.ts +7 -0
  9. package/dist-lib/components/klanten/CustomerStickerCell.d.ts.map +1 -0
  10. package/dist-lib/components/klanten/CustomerStickerCell.js +90 -0
  11. package/dist-lib/components/klanten/CustomerStickerFormatDialog.d.ts +7 -0
  12. package/dist-lib/components/klanten/CustomerStickerFormatDialog.d.ts.map +1 -0
  13. package/dist-lib/components/klanten/CustomerStickerFormatDialog.js +36 -0
  14. package/dist-lib/index.d.ts +4 -0
  15. package/dist-lib/index.d.ts.map +1 -1
  16. package/dist-lib/index.js +4 -0
  17. package/dist-lib/integrations/supabase/auth-middleware.d.ts +565 -0
  18. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  19. package/dist-lib/integrations/supabase/client.d.ts +565 -0
  20. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  21. package/dist-lib/integrations/supabase/client.server.d.ts +565 -0
  22. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  23. package/dist-lib/integrations/supabase/types.d.ts +568 -0
  24. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  25. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +1695 -0
  26. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/accounting.functions.d.ts +1695 -0
  28. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/ai-module.server.d.ts +20 -0
  30. package/dist-lib/lib/ai-module.server.d.ts.map +1 -0
  31. package/dist-lib/lib/ai-module.server.js +86 -0
  32. package/dist-lib/lib/customer-analytics.functions.d.ts +565 -0
  33. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/customer-assortment.functions.d.ts +565 -0
  35. package/dist-lib/lib/customer-assortment.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/customer-notes.functions.d.ts +1130 -0
  37. package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/customer-revenue.functions.d.ts +565 -0
  39. package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/customer-stickers.functions.d.ts +244731 -0
  41. package/dist-lib/lib/customer-stickers.functions.d.ts.map +1 -0
  42. package/dist-lib/lib/customer-stickers.functions.js +467 -0
  43. package/dist-lib/lib/customers.functions.d.ts +5085 -0
  44. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/delivery-locations.functions.d.ts +2825 -0
  46. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  47. package/dist-lib/lib/external-customers.functions.d.ts +2260 -0
  48. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/floriday-assortment.functions.d.ts +565 -0
  50. package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/floriday-discounts.functions.d.ts +1130 -0
  52. package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
  53. package/dist-lib/lib/floriday-price-import.functions.d.ts +1130 -0
  54. package/dist-lib/lib/floriday-price-import.functions.d.ts.map +1 -1
  55. package/dist-lib/lib/floriday-trade-items.functions.d.ts +565 -0
  56. package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
  57. package/dist-lib/lib/local-discounts.functions.d.ts +3956 -1
  58. package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
  59. package/dist-lib/lib/logistics-events.functions.d.ts +565 -0
  60. package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
  61. package/dist-lib/lib/logistics-strategy.functions.d.ts +2260 -0
  62. package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
  63. package/dist-lib/lib/overdue-invoices.functions.d.ts +565 -0
  64. package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
  65. package/dist-lib/lib/price-groups-local.functions.d.ts +7348 -3
  66. package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
  67. package/dist-lib/lib/price-groups.functions.d.ts +565 -0
  68. package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
  69. package/dist-lib/lib/twinfield-adopt.functions.d.ts +1130 -0
  70. package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
  71. package/dist-lib/lib/twinfield-ledger.functions.d.ts +565 -0
  72. package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
  73. package/package.json +1 -1
@@ -2239,6 +2239,45 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
2239
2239
  };
2240
2240
  Relationships: [];
2241
2241
  };
2242
+ customer_product_stickers: {
2243
+ Row: {
2244
+ created_at: string;
2245
+ customer_key: string;
2246
+ file_name: string;
2247
+ file_path: string;
2248
+ file_size: number | null;
2249
+ id: string;
2250
+ mime_type: string | null;
2251
+ trade_item_key: string;
2252
+ updated_at: string;
2253
+ uploaded_by: string | null;
2254
+ };
2255
+ Insert: {
2256
+ created_at?: string;
2257
+ customer_key: string;
2258
+ file_name: string;
2259
+ file_path: string;
2260
+ file_size?: number | null;
2261
+ id?: string;
2262
+ mime_type?: string | null;
2263
+ trade_item_key: string;
2264
+ updated_at?: string;
2265
+ uploaded_by?: string | null;
2266
+ };
2267
+ Update: {
2268
+ created_at?: string;
2269
+ customer_key?: string;
2270
+ file_name?: string;
2271
+ file_path?: string;
2272
+ file_size?: number | null;
2273
+ id?: string;
2274
+ mime_type?: string | null;
2275
+ trade_item_key?: string;
2276
+ updated_at?: string;
2277
+ uploaded_by?: string | null;
2278
+ };
2279
+ Relationships: [];
2280
+ };
2242
2281
  customer_selected_assortment: {
2243
2282
  Row: {
2244
2283
  article_number: string | null;
@@ -2287,6 +2326,30 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
2287
2326
  referencedColumns: ["id"];
2288
2327
  }];
2289
2328
  };
2329
+ customer_sticker_settings: {
2330
+ Row: {
2331
+ created_at: string;
2332
+ customer_key: string;
2333
+ height_mm: number;
2334
+ updated_at: string;
2335
+ width_mm: number;
2336
+ };
2337
+ Insert: {
2338
+ created_at?: string;
2339
+ customer_key: string;
2340
+ height_mm?: number;
2341
+ updated_at?: string;
2342
+ width_mm?: number;
2343
+ };
2344
+ Update: {
2345
+ created_at?: string;
2346
+ customer_key?: string;
2347
+ height_mm?: number;
2348
+ updated_at?: string;
2349
+ width_mm?: number;
2350
+ };
2351
+ Relationships: [];
2352
+ };
2290
2353
  customer_trade_settings: {
2291
2354
  Row: {
2292
2355
  category: string;
@@ -5617,6 +5680,102 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
5617
5680
  referencedColumns: ["id"];
5618
5681
  }];
5619
5682
  };
5683
+ floriday_api_log: {
5684
+ Row: {
5685
+ action: string | null;
5686
+ caller: string | null;
5687
+ connection_id: string | null;
5688
+ created_at: string;
5689
+ cursor_from: number | null;
5690
+ direction: string;
5691
+ duration_ms: number | null;
5692
+ environment: string | null;
5693
+ error: string | null;
5694
+ floriday_id: string | null;
5695
+ floriday_reference: string | null;
5696
+ http_status: number;
5697
+ id: string;
5698
+ item_count: number | null;
5699
+ kind: string | null;
5700
+ local_id: string | null;
5701
+ local_reference: string | null;
5702
+ method: string;
5703
+ module: string | null;
5704
+ ok: boolean;
5705
+ path: string;
5706
+ request: import("../integrations/supabase/types").Json | null;
5707
+ resource_type: string | null;
5708
+ response: import("../integrations/supabase/types").Json | null;
5709
+ write_log_id: string | null;
5710
+ };
5711
+ Insert: {
5712
+ action?: string | null;
5713
+ caller?: string | null;
5714
+ connection_id?: string | null;
5715
+ created_at?: string;
5716
+ cursor_from?: number | null;
5717
+ direction: string;
5718
+ duration_ms?: number | null;
5719
+ environment?: string | null;
5720
+ error?: string | null;
5721
+ floriday_id?: string | null;
5722
+ floriday_reference?: string | null;
5723
+ http_status?: number;
5724
+ id?: string;
5725
+ item_count?: number | null;
5726
+ kind?: string | null;
5727
+ local_id?: string | null;
5728
+ local_reference?: string | null;
5729
+ method: string;
5730
+ module?: string | null;
5731
+ ok?: boolean;
5732
+ path: string;
5733
+ request?: import("../integrations/supabase/types").Json | null;
5734
+ resource_type?: string | null;
5735
+ response?: import("../integrations/supabase/types").Json | null;
5736
+ write_log_id?: string | null;
5737
+ };
5738
+ Update: {
5739
+ action?: string | null;
5740
+ caller?: string | null;
5741
+ connection_id?: string | null;
5742
+ created_at?: string;
5743
+ cursor_from?: number | null;
5744
+ direction?: string;
5745
+ duration_ms?: number | null;
5746
+ environment?: string | null;
5747
+ error?: string | null;
5748
+ floriday_id?: string | null;
5749
+ floriday_reference?: string | null;
5750
+ http_status?: number;
5751
+ id?: string;
5752
+ item_count?: number | null;
5753
+ kind?: string | null;
5754
+ local_id?: string | null;
5755
+ local_reference?: string | null;
5756
+ method?: string;
5757
+ module?: string | null;
5758
+ ok?: boolean;
5759
+ path?: string;
5760
+ request?: import("../integrations/supabase/types").Json | null;
5761
+ resource_type?: string | null;
5762
+ response?: import("../integrations/supabase/types").Json | null;
5763
+ write_log_id?: string | null;
5764
+ };
5765
+ Relationships: [{
5766
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5767
+ columns: ["connection_id"];
5768
+ isOneToOne: false;
5769
+ referencedRelation: "floriday_connections";
5770
+ referencedColumns: ["id"];
5771
+ }, {
5772
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5773
+ columns: ["write_log_id"];
5774
+ isOneToOne: false;
5775
+ referencedRelation: "floriday_write_log";
5776
+ referencedColumns: ["id"];
5777
+ }];
5778
+ };
5620
5779
  floriday_auction_letters_cache: {
5621
5780
  Row: {
5622
5781
  auction_letter_code: string;
@@ -6817,6 +6976,69 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
6817
6976
  referencedColumns: ["id"];
6818
6977
  }];
6819
6978
  };
6979
+ floriday_link_templates: {
6980
+ Row: {
6981
+ created_at: string;
6982
+ floriday_url_template: string | null;
6983
+ is_active: boolean;
6984
+ label: string;
6985
+ local_url_template: string | null;
6986
+ resource_type: string;
6987
+ updated_at: string;
6988
+ };
6989
+ Insert: {
6990
+ created_at?: string;
6991
+ floriday_url_template?: string | null;
6992
+ is_active?: boolean;
6993
+ label: string;
6994
+ local_url_template?: string | null;
6995
+ resource_type: string;
6996
+ updated_at?: string;
6997
+ };
6998
+ Update: {
6999
+ created_at?: string;
7000
+ floriday_url_template?: string | null;
7001
+ is_active?: boolean;
7002
+ label?: string;
7003
+ local_url_template?: string | null;
7004
+ resource_type?: string;
7005
+ updated_at?: string;
7006
+ };
7007
+ Relationships: [];
7008
+ };
7009
+ floriday_log_retention: {
7010
+ Row: {
7011
+ created_at: string;
7012
+ direction: string | null;
7013
+ id: string;
7014
+ keep_failed_days: number | null;
7015
+ keep_ok_days: number | null;
7016
+ note: string | null;
7017
+ resource_type: string | null;
7018
+ updated_at: string;
7019
+ };
7020
+ Insert: {
7021
+ created_at?: string;
7022
+ direction?: string | null;
7023
+ id?: string;
7024
+ keep_failed_days?: number | null;
7025
+ keep_ok_days?: number | null;
7026
+ note?: string | null;
7027
+ resource_type?: string | null;
7028
+ updated_at?: string;
7029
+ };
7030
+ Update: {
7031
+ created_at?: string;
7032
+ direction?: string | null;
7033
+ id?: string;
7034
+ keep_failed_days?: number | null;
7035
+ keep_ok_days?: number | null;
7036
+ note?: string | null;
7037
+ resource_type?: string | null;
7038
+ updated_at?: string;
7039
+ };
7040
+ Relationships: [];
7041
+ };
6820
7042
  floriday_logistic_labels_cache: {
6821
7043
  Row: {
6822
7044
  byte_size: number | null;
@@ -10942,6 +11164,69 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
10942
11164
  };
10943
11165
  Relationships: [];
10944
11166
  };
11167
+ logistics_slip_shipping_note: {
11168
+ Row: {
11169
+ attempts: number;
11170
+ batch_key: string | null;
11171
+ cart_id: string | null;
11172
+ created_at: string;
11173
+ error: string | null;
11174
+ error_code: string | null;
11175
+ fulfillment_order_id: string | null;
11176
+ id: string;
11177
+ locked_until: string | null;
11178
+ next_attempt_at: string | null;
11179
+ order_id: string | null;
11180
+ order_number: string | null;
11181
+ print_job_id: string | null;
11182
+ printer_id: string | null;
11183
+ retry_class: string | null;
11184
+ slip_job_id: string;
11185
+ status: string;
11186
+ updated_at: string;
11187
+ };
11188
+ Insert: {
11189
+ attempts?: number;
11190
+ batch_key?: string | null;
11191
+ cart_id?: string | null;
11192
+ created_at?: string;
11193
+ error?: string | null;
11194
+ error_code?: string | null;
11195
+ fulfillment_order_id?: string | null;
11196
+ id?: string;
11197
+ locked_until?: string | null;
11198
+ next_attempt_at?: string | null;
11199
+ order_id?: string | null;
11200
+ order_number?: string | null;
11201
+ print_job_id?: string | null;
11202
+ printer_id?: string | null;
11203
+ retry_class?: string | null;
11204
+ slip_job_id: string;
11205
+ status?: string;
11206
+ updated_at?: string;
11207
+ };
11208
+ Update: {
11209
+ attempts?: number;
11210
+ batch_key?: string | null;
11211
+ cart_id?: string | null;
11212
+ created_at?: string;
11213
+ error?: string | null;
11214
+ error_code?: string | null;
11215
+ fulfillment_order_id?: string | null;
11216
+ id?: string;
11217
+ locked_until?: string | null;
11218
+ next_attempt_at?: string | null;
11219
+ order_id?: string | null;
11220
+ order_number?: string | null;
11221
+ print_job_id?: string | null;
11222
+ printer_id?: string | null;
11223
+ retry_class?: string | null;
11224
+ slip_job_id?: string;
11225
+ status?: string;
11226
+ updated_at?: string;
11227
+ };
11228
+ Relationships: [];
11229
+ };
10945
11230
  logistics_staff_planning: {
10946
11231
  Row: {
10947
11232
  created_at: string;
@@ -11293,6 +11578,111 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
11293
11578
  };
11294
11579
  Relationships: [];
11295
11580
  };
11581
+ logistics_trace_events: {
11582
+ Row: {
11583
+ actor: string | null;
11584
+ attempts: number;
11585
+ cart_ref: string | null;
11586
+ created_at: string;
11587
+ db_action: string | null;
11588
+ db_new: import("../integrations/supabase/types").Json | null;
11589
+ db_old: import("../integrations/supabase/types").Json | null;
11590
+ db_record: string | null;
11591
+ db_table: string | null;
11592
+ decision: string | null;
11593
+ duration_ms: number | null;
11594
+ error: string | null;
11595
+ external_action: string | null;
11596
+ external_ref: string | null;
11597
+ external_response: import("../integrations/supabase/types").Json | null;
11598
+ external_status: string | null;
11599
+ external_system: string | null;
11600
+ id: string;
11601
+ input: import("../integrations/supabase/types").Json | null;
11602
+ next_attempt_at: string | null;
11603
+ order_ref: string | null;
11604
+ order_source: string | null;
11605
+ output: import("../integrations/supabase/types").Json | null;
11606
+ phase: string;
11607
+ reads: import("../integrations/supabase/types").Json | null;
11608
+ reason: string | null;
11609
+ rule: string | null;
11610
+ slip_ref: string | null;
11611
+ status: string;
11612
+ step: string;
11613
+ trace_id: string;
11614
+ values_used: import("../integrations/supabase/types").Json | null;
11615
+ };
11616
+ Insert: {
11617
+ actor?: string | null;
11618
+ attempts?: number;
11619
+ cart_ref?: string | null;
11620
+ created_at?: string;
11621
+ db_action?: string | null;
11622
+ db_new?: import("../integrations/supabase/types").Json | null;
11623
+ db_old?: import("../integrations/supabase/types").Json | null;
11624
+ db_record?: string | null;
11625
+ db_table?: string | null;
11626
+ decision?: string | null;
11627
+ duration_ms?: number | null;
11628
+ error?: string | null;
11629
+ external_action?: string | null;
11630
+ external_ref?: string | null;
11631
+ external_response?: import("../integrations/supabase/types").Json | null;
11632
+ external_status?: string | null;
11633
+ external_system?: string | null;
11634
+ id?: string;
11635
+ input?: import("../integrations/supabase/types").Json | null;
11636
+ next_attempt_at?: string | null;
11637
+ order_ref?: string | null;
11638
+ order_source?: string | null;
11639
+ output?: import("../integrations/supabase/types").Json | null;
11640
+ phase: string;
11641
+ reads?: import("../integrations/supabase/types").Json | null;
11642
+ reason?: string | null;
11643
+ rule?: string | null;
11644
+ slip_ref?: string | null;
11645
+ status: string;
11646
+ step: string;
11647
+ trace_id?: string;
11648
+ values_used?: import("../integrations/supabase/types").Json | null;
11649
+ };
11650
+ Update: {
11651
+ actor?: string | null;
11652
+ attempts?: number;
11653
+ cart_ref?: string | null;
11654
+ created_at?: string;
11655
+ db_action?: string | null;
11656
+ db_new?: import("../integrations/supabase/types").Json | null;
11657
+ db_old?: import("../integrations/supabase/types").Json | null;
11658
+ db_record?: string | null;
11659
+ db_table?: string | null;
11660
+ decision?: string | null;
11661
+ duration_ms?: number | null;
11662
+ error?: string | null;
11663
+ external_action?: string | null;
11664
+ external_ref?: string | null;
11665
+ external_response?: import("../integrations/supabase/types").Json | null;
11666
+ external_status?: string | null;
11667
+ external_system?: string | null;
11668
+ id?: string;
11669
+ input?: import("../integrations/supabase/types").Json | null;
11670
+ next_attempt_at?: string | null;
11671
+ order_ref?: string | null;
11672
+ order_source?: string | null;
11673
+ output?: import("../integrations/supabase/types").Json | null;
11674
+ phase?: string;
11675
+ reads?: import("../integrations/supabase/types").Json | null;
11676
+ reason?: string | null;
11677
+ rule?: string | null;
11678
+ slip_ref?: string | null;
11679
+ status?: string;
11680
+ step?: string;
11681
+ trace_id?: string;
11682
+ values_used?: import("../integrations/supabase/types").Json | null;
11683
+ };
11684
+ Relationships: [];
11685
+ };
11296
11686
  logistics_variables: {
11297
11687
  Row: {
11298
11688
  created_at: string;
@@ -21865,6 +22255,15 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
21865
22255
  Args: never;
21866
22256
  Returns: boolean;
21867
22257
  };
22258
+ cancel_open_print_jobs: {
22259
+ Args: {
22260
+ _cutoff: string;
22261
+ };
22262
+ Returns: {
22263
+ extern_job_id: string;
22264
+ id: string;
22265
+ }[];
22266
+ };
21868
22267
  check_offer_product_available_stock: {
21869
22268
  Args: {
21870
22269
  p_campaign_product_id: string;
@@ -23477,6 +23876,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23477
23876
  };
23478
23877
  Returns: import("../integrations/supabase/types").Json;
23479
23878
  };
23879
+ logistics_cart_plan_status_core: {
23880
+ Args: {
23881
+ p_ref: string;
23882
+ };
23883
+ Returns: import("../integrations/supabase/types").Json;
23884
+ };
23480
23885
  logistics_cart_release_reason: {
23481
23886
  Args: {
23482
23887
  p_cart_id: string;
@@ -23539,6 +23944,10 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23539
23944
  unit_ref: string;
23540
23945
  }[];
23541
23946
  };
23947
+ logistics_carts_per_print: {
23948
+ Args: never;
23949
+ Returns: number;
23950
+ };
23542
23951
  logistics_check_order_allowed: {
23543
23952
  Args: {
23544
23953
  p_lines: import("../integrations/supabase/types").Json;
@@ -23905,6 +24314,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23905
24314
  };
23906
24315
  Returns: import("../integrations/supabase/types").Json;
23907
24316
  };
24317
+ logistics_ensure_shipping_notes: {
24318
+ Args: {
24319
+ p_limit?: number;
24320
+ };
24321
+ Returns: import("../integrations/supabase/types").Json;
24322
+ };
23908
24323
  logistics_fail_task: {
23909
24324
  Args: {
23910
24325
  p_error: string;
@@ -23950,6 +24365,10 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23950
24365
  isSetofReturn: false;
23951
24366
  };
23952
24367
  };
24368
+ logistics_fix_wrong_shipping_notes: {
24369
+ Args: never;
24370
+ Returns: import("../integrations/supabase/types").Json;
24371
+ };
23953
24372
  logistics_floriday_cart_plan: {
23954
24373
  Args: {
23955
24374
  p_order_id: string;
@@ -23977,6 +24396,10 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
23977
24396
  revision: number;
23978
24397
  }[];
23979
24398
  };
24399
+ logistics_floriday_delivery_note_create_enabled: {
24400
+ Args: never;
24401
+ Returns: boolean;
24402
+ };
23980
24403
  logistics_floriday_finish_push: {
23981
24404
  Args: {
23982
24405
  _error?: string;
@@ -24220,6 +24643,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
24220
24643
  };
24221
24644
  Returns: string;
24222
24645
  };
24646
+ logistics_payload_is_floriday: {
24647
+ Args: {
24648
+ _payload: import("../integrations/supabase/types").Json;
24649
+ };
24650
+ Returns: boolean;
24651
+ };
24223
24652
  logistics_pick_agenda: {
24224
24653
  Args: {
24225
24654
  p_from?: string;
@@ -24342,6 +24771,20 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
24342
24771
  Args: never;
24343
24772
  Returns: undefined;
24344
24773
  };
24774
+ logistics_plan_progress: {
24775
+ Args: {
24776
+ p_refs: string[];
24777
+ };
24778
+ Returns: {
24779
+ cart_plan_ready: boolean;
24780
+ cart_plan_reason: string;
24781
+ cart_plan_released: boolean;
24782
+ plan_progress: number;
24783
+ plan_state: string;
24784
+ plan_state_since: string;
24785
+ unit_ref: string;
24786
+ }[];
24787
+ };
24345
24788
  logistics_plan_prune: {
24346
24789
  Args: never;
24347
24790
  Returns: number;
@@ -24363,6 +24806,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
24363
24806
  };
24364
24807
  Returns: number;
24365
24808
  };
24809
+ logistics_plan_state_for: {
24810
+ Args: {
24811
+ p_ref: string;
24812
+ };
24813
+ Returns: import("../integrations/supabase/types").Json;
24814
+ };
24366
24815
  logistics_prepare_pick_documents: {
24367
24816
  Args: {
24368
24817
  p_limit?: number;
@@ -24421,6 +24870,12 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
24421
24870
  };
24422
24871
  Returns: import("../integrations/supabase/types").Json;
24423
24872
  };
24873
+ logistics_refresh_plan_state: {
24874
+ Args: {
24875
+ p_limit?: number;
24876
+ };
24877
+ Returns: import("../integrations/supabase/types").Json;
24878
+ };
24424
24879
  logistics_replan_all: {
24425
24880
  Args: {
24426
24881
  p_reason?: string;
@@ -24589,6 +25044,74 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
24589
25044
  };
24590
25045
  Returns: import("../integrations/supabase/types").Json;
24591
25046
  };
25047
+ logistics_shipping_note_job_for_slip: {
25048
+ Args: {
25049
+ _slip_job_id: string;
25050
+ };
25051
+ Returns: string;
25052
+ };
25053
+ logistics_shipping_notes_wake_all: {
25054
+ Args: never;
25055
+ Returns: import("../integrations/supabase/types").Json;
25056
+ };
25057
+ logistics_slip_is_floriday: {
25058
+ Args: {
25059
+ _slip_job_id: string;
25060
+ };
25061
+ Returns: boolean;
25062
+ };
25063
+ logistics_slip_note_claim: {
25064
+ Args: {
25065
+ _lease_seconds?: number;
25066
+ _limit?: number;
25067
+ };
25068
+ Returns: {
25069
+ attempts: number;
25070
+ batch_key: string | null;
25071
+ cart_id: string | null;
25072
+ created_at: string;
25073
+ error: string | null;
25074
+ error_code: string | null;
25075
+ fulfillment_order_id: string | null;
25076
+ id: string;
25077
+ locked_until: string | null;
25078
+ next_attempt_at: string | null;
25079
+ order_id: string | null;
25080
+ order_number: string | null;
25081
+ print_job_id: string | null;
25082
+ printer_id: string | null;
25083
+ retry_class: string | null;
25084
+ slip_job_id: string;
25085
+ status: string;
25086
+ updated_at: string;
25087
+ }[];
25088
+ SetofOptions: {
25089
+ from: "*";
25090
+ to: "logistics_slip_shipping_note";
25091
+ isOneToOne: false;
25092
+ isSetofReturn: true;
25093
+ };
25094
+ };
25095
+ logistics_slip_note_finish: {
25096
+ Args: {
25097
+ _error?: string;
25098
+ _error_code?: string;
25099
+ _fulfillment_order_id?: string;
25100
+ _id: string;
25101
+ _ok: boolean;
25102
+ _print_job_id?: string;
25103
+ _status?: string;
25104
+ };
25105
+ Returns: undefined;
25106
+ };
25107
+ logistics_slip_note_keep_waiting: {
25108
+ Args: {
25109
+ _class?: string;
25110
+ _id: string;
25111
+ _reason: string;
25112
+ };
25113
+ Returns: undefined;
25114
+ };
24592
25115
  logistics_sticker_follows_slip: {
24593
25116
  Args: never;
24594
25117
  Returns: boolean;
@@ -24643,6 +25166,40 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
24643
25166
  name: string;
24644
25167
  }[];
24645
25168
  };
25169
+ logistics_trace: {
25170
+ Args: {
25171
+ p: import("../integrations/supabase/types").Json;
25172
+ };
25173
+ Returns: string;
25174
+ };
25175
+ logistics_trace_batch: {
25176
+ Args: {
25177
+ p: import("../integrations/supabase/types").Json;
25178
+ };
25179
+ Returns: number;
25180
+ };
25181
+ logistics_trace_orders: {
25182
+ Args: {
25183
+ p_limit?: number;
25184
+ p_search?: string;
25185
+ p_since?: string;
25186
+ p_status?: string;
25187
+ };
25188
+ Returns: import("../integrations/supabase/types").Json;
25189
+ };
25190
+ logistics_trace_redact: {
25191
+ Args: {
25192
+ p: import("../integrations/supabase/types").Json;
25193
+ };
25194
+ Returns: import("../integrations/supabase/types").Json;
25195
+ };
25196
+ logistics_trace_timeline: {
25197
+ Args: {
25198
+ p_limit?: number;
25199
+ p_order_ref: string;
25200
+ };
25201
+ Returns: import("../integrations/supabase/types").Json;
25202
+ };
24646
25203
  logistics_upsert_task: {
24647
25204
  Args: {
24648
25205
  p_buffer_ref: string;
@@ -25684,6 +26241,10 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
25684
26241
  };
25685
26242
  Returns: undefined;
25686
26243
  };
26244
+ prune_floriday_api_log: {
26245
+ Args: never;
26246
+ Returns: number;
26247
+ };
25687
26248
  quote_create_from_source: {
25688
26249
  Args: {
25689
26250
  _payload?: import("../integrations/supabase/types").Json;
@@ -26560,6 +27121,10 @@ export declare const listPriceGroupsForOrganizations: import("@tanstack/start-cl
26560
27121
  Args: never;
26561
27122
  Returns: string;
26562
27123
  };
27124
+ voorraad_cleanup_old_rows: {
27125
+ Args: never;
27126
+ Returns: import("../integrations/supabase/types").Json;
27127
+ };
26563
27128
  wake_print_queue: {
26564
27129
  Args: {
26565
27130
  _min_interval_ms?: number;