@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
@@ -2272,6 +2272,45 @@ export type Database = {
2272
2272
  };
2273
2273
  Relationships: [];
2274
2274
  };
2275
+ customer_product_stickers: {
2276
+ Row: {
2277
+ created_at: string;
2278
+ customer_key: string;
2279
+ file_name: string;
2280
+ file_path: string;
2281
+ file_size: number | null;
2282
+ id: string;
2283
+ mime_type: string | null;
2284
+ trade_item_key: string;
2285
+ updated_at: string;
2286
+ uploaded_by: string | null;
2287
+ };
2288
+ Insert: {
2289
+ created_at?: string;
2290
+ customer_key: string;
2291
+ file_name: string;
2292
+ file_path: string;
2293
+ file_size?: number | null;
2294
+ id?: string;
2295
+ mime_type?: string | null;
2296
+ trade_item_key: string;
2297
+ updated_at?: string;
2298
+ uploaded_by?: string | null;
2299
+ };
2300
+ Update: {
2301
+ created_at?: string;
2302
+ customer_key?: string;
2303
+ file_name?: string;
2304
+ file_path?: string;
2305
+ file_size?: number | null;
2306
+ id?: string;
2307
+ mime_type?: string | null;
2308
+ trade_item_key?: string;
2309
+ updated_at?: string;
2310
+ uploaded_by?: string | null;
2311
+ };
2312
+ Relationships: [];
2313
+ };
2275
2314
  customer_selected_assortment: {
2276
2315
  Row: {
2277
2316
  article_number: string | null;
@@ -2322,6 +2361,30 @@ export type Database = {
2322
2361
  }
2323
2362
  ];
2324
2363
  };
2364
+ customer_sticker_settings: {
2365
+ Row: {
2366
+ created_at: string;
2367
+ customer_key: string;
2368
+ height_mm: number;
2369
+ updated_at: string;
2370
+ width_mm: number;
2371
+ };
2372
+ Insert: {
2373
+ created_at?: string;
2374
+ customer_key: string;
2375
+ height_mm?: number;
2376
+ updated_at?: string;
2377
+ width_mm?: number;
2378
+ };
2379
+ Update: {
2380
+ created_at?: string;
2381
+ customer_key?: string;
2382
+ height_mm?: number;
2383
+ updated_at?: string;
2384
+ width_mm?: number;
2385
+ };
2386
+ Relationships: [];
2387
+ };
2325
2388
  customer_trade_settings: {
2326
2389
  Row: {
2327
2390
  category: string;
@@ -5731,6 +5794,105 @@ export type Database = {
5731
5794
  }
5732
5795
  ];
5733
5796
  };
5797
+ floriday_api_log: {
5798
+ Row: {
5799
+ action: string | null;
5800
+ caller: string | null;
5801
+ connection_id: string | null;
5802
+ created_at: string;
5803
+ cursor_from: number | null;
5804
+ direction: string;
5805
+ duration_ms: number | null;
5806
+ environment: string | null;
5807
+ error: string | null;
5808
+ floriday_id: string | null;
5809
+ floriday_reference: string | null;
5810
+ http_status: number;
5811
+ id: string;
5812
+ item_count: number | null;
5813
+ kind: string | null;
5814
+ local_id: string | null;
5815
+ local_reference: string | null;
5816
+ method: string;
5817
+ module: string | null;
5818
+ ok: boolean;
5819
+ path: string;
5820
+ request: Json | null;
5821
+ resource_type: string | null;
5822
+ response: Json | null;
5823
+ write_log_id: string | null;
5824
+ };
5825
+ Insert: {
5826
+ action?: string | null;
5827
+ caller?: string | null;
5828
+ connection_id?: string | null;
5829
+ created_at?: string;
5830
+ cursor_from?: number | null;
5831
+ direction: string;
5832
+ duration_ms?: number | null;
5833
+ environment?: string | null;
5834
+ error?: string | null;
5835
+ floriday_id?: string | null;
5836
+ floriday_reference?: string | null;
5837
+ http_status?: number;
5838
+ id?: string;
5839
+ item_count?: number | null;
5840
+ kind?: string | null;
5841
+ local_id?: string | null;
5842
+ local_reference?: string | null;
5843
+ method: string;
5844
+ module?: string | null;
5845
+ ok?: boolean;
5846
+ path: string;
5847
+ request?: Json | null;
5848
+ resource_type?: string | null;
5849
+ response?: Json | null;
5850
+ write_log_id?: string | null;
5851
+ };
5852
+ Update: {
5853
+ action?: string | null;
5854
+ caller?: string | null;
5855
+ connection_id?: string | null;
5856
+ created_at?: string;
5857
+ cursor_from?: number | null;
5858
+ direction?: string;
5859
+ duration_ms?: number | null;
5860
+ environment?: string | null;
5861
+ error?: string | null;
5862
+ floriday_id?: string | null;
5863
+ floriday_reference?: string | null;
5864
+ http_status?: number;
5865
+ id?: string;
5866
+ item_count?: number | null;
5867
+ kind?: string | null;
5868
+ local_id?: string | null;
5869
+ local_reference?: string | null;
5870
+ method?: string;
5871
+ module?: string | null;
5872
+ ok?: boolean;
5873
+ path?: string;
5874
+ request?: Json | null;
5875
+ resource_type?: string | null;
5876
+ response?: Json | null;
5877
+ write_log_id?: string | null;
5878
+ };
5879
+ Relationships: [
5880
+ {
5881
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5882
+ columns: ["connection_id"];
5883
+ isOneToOne: false;
5884
+ referencedRelation: "floriday_connections";
5885
+ referencedColumns: ["id"];
5886
+ },
5887
+ {
5888
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5889
+ columns: ["write_log_id"];
5890
+ isOneToOne: false;
5891
+ referencedRelation: "floriday_write_log";
5892
+ referencedColumns: ["id"];
5893
+ }
5894
+ ];
5895
+ };
5734
5896
  floriday_auction_letters_cache: {
5735
5897
  Row: {
5736
5898
  auction_letter_code: string;
@@ -6973,6 +7135,69 @@ export type Database = {
6973
7135
  }
6974
7136
  ];
6975
7137
  };
7138
+ floriday_link_templates: {
7139
+ Row: {
7140
+ created_at: string;
7141
+ floriday_url_template: string | null;
7142
+ is_active: boolean;
7143
+ label: string;
7144
+ local_url_template: string | null;
7145
+ resource_type: string;
7146
+ updated_at: string;
7147
+ };
7148
+ Insert: {
7149
+ created_at?: string;
7150
+ floriday_url_template?: string | null;
7151
+ is_active?: boolean;
7152
+ label: string;
7153
+ local_url_template?: string | null;
7154
+ resource_type: string;
7155
+ updated_at?: string;
7156
+ };
7157
+ Update: {
7158
+ created_at?: string;
7159
+ floriday_url_template?: string | null;
7160
+ is_active?: boolean;
7161
+ label?: string;
7162
+ local_url_template?: string | null;
7163
+ resource_type?: string;
7164
+ updated_at?: string;
7165
+ };
7166
+ Relationships: [];
7167
+ };
7168
+ floriday_log_retention: {
7169
+ Row: {
7170
+ created_at: string;
7171
+ direction: string | null;
7172
+ id: string;
7173
+ keep_failed_days: number | null;
7174
+ keep_ok_days: number | null;
7175
+ note: string | null;
7176
+ resource_type: string | null;
7177
+ updated_at: string;
7178
+ };
7179
+ Insert: {
7180
+ created_at?: string;
7181
+ direction?: string | null;
7182
+ id?: string;
7183
+ keep_failed_days?: number | null;
7184
+ keep_ok_days?: number | null;
7185
+ note?: string | null;
7186
+ resource_type?: string | null;
7187
+ updated_at?: string;
7188
+ };
7189
+ Update: {
7190
+ created_at?: string;
7191
+ direction?: string | null;
7192
+ id?: string;
7193
+ keep_failed_days?: number | null;
7194
+ keep_ok_days?: number | null;
7195
+ note?: string | null;
7196
+ resource_type?: string | null;
7197
+ updated_at?: string;
7198
+ };
7199
+ Relationships: [];
7200
+ };
6976
7201
  floriday_logistic_labels_cache: {
6977
7202
  Row: {
6978
7203
  byte_size: number | null;
@@ -11204,6 +11429,69 @@ export type Database = {
11204
11429
  };
11205
11430
  Relationships: [];
11206
11431
  };
11432
+ logistics_slip_shipping_note: {
11433
+ Row: {
11434
+ attempts: number;
11435
+ batch_key: string | null;
11436
+ cart_id: string | null;
11437
+ created_at: string;
11438
+ error: string | null;
11439
+ error_code: string | null;
11440
+ fulfillment_order_id: string | null;
11441
+ id: string;
11442
+ locked_until: string | null;
11443
+ next_attempt_at: string | null;
11444
+ order_id: string | null;
11445
+ order_number: string | null;
11446
+ print_job_id: string | null;
11447
+ printer_id: string | null;
11448
+ retry_class: string | null;
11449
+ slip_job_id: string;
11450
+ status: string;
11451
+ updated_at: string;
11452
+ };
11453
+ Insert: {
11454
+ attempts?: number;
11455
+ batch_key?: string | null;
11456
+ cart_id?: string | null;
11457
+ created_at?: string;
11458
+ error?: string | null;
11459
+ error_code?: string | null;
11460
+ fulfillment_order_id?: string | null;
11461
+ id?: string;
11462
+ locked_until?: string | null;
11463
+ next_attempt_at?: string | null;
11464
+ order_id?: string | null;
11465
+ order_number?: string | null;
11466
+ print_job_id?: string | null;
11467
+ printer_id?: string | null;
11468
+ retry_class?: string | null;
11469
+ slip_job_id: string;
11470
+ status?: string;
11471
+ updated_at?: string;
11472
+ };
11473
+ Update: {
11474
+ attempts?: number;
11475
+ batch_key?: string | null;
11476
+ cart_id?: string | null;
11477
+ created_at?: string;
11478
+ error?: string | null;
11479
+ error_code?: string | null;
11480
+ fulfillment_order_id?: string | null;
11481
+ id?: string;
11482
+ locked_until?: string | null;
11483
+ next_attempt_at?: string | null;
11484
+ order_id?: string | null;
11485
+ order_number?: string | null;
11486
+ print_job_id?: string | null;
11487
+ printer_id?: string | null;
11488
+ retry_class?: string | null;
11489
+ slip_job_id?: string;
11490
+ status?: string;
11491
+ updated_at?: string;
11492
+ };
11493
+ Relationships: [];
11494
+ };
11207
11495
  logistics_staff_planning: {
11208
11496
  Row: {
11209
11497
  created_at: string;
@@ -11561,6 +11849,111 @@ export type Database = {
11561
11849
  };
11562
11850
  Relationships: [];
11563
11851
  };
11852
+ logistics_trace_events: {
11853
+ Row: {
11854
+ actor: string | null;
11855
+ attempts: number;
11856
+ cart_ref: string | null;
11857
+ created_at: string;
11858
+ db_action: string | null;
11859
+ db_new: Json | null;
11860
+ db_old: Json | null;
11861
+ db_record: string | null;
11862
+ db_table: string | null;
11863
+ decision: string | null;
11864
+ duration_ms: number | null;
11865
+ error: string | null;
11866
+ external_action: string | null;
11867
+ external_ref: string | null;
11868
+ external_response: Json | null;
11869
+ external_status: string | null;
11870
+ external_system: string | null;
11871
+ id: string;
11872
+ input: Json | null;
11873
+ next_attempt_at: string | null;
11874
+ order_ref: string | null;
11875
+ order_source: string | null;
11876
+ output: Json | null;
11877
+ phase: string;
11878
+ reads: Json | null;
11879
+ reason: string | null;
11880
+ rule: string | null;
11881
+ slip_ref: string | null;
11882
+ status: string;
11883
+ step: string;
11884
+ trace_id: string;
11885
+ values_used: Json | null;
11886
+ };
11887
+ Insert: {
11888
+ actor?: string | null;
11889
+ attempts?: number;
11890
+ cart_ref?: string | null;
11891
+ created_at?: string;
11892
+ db_action?: string | null;
11893
+ db_new?: Json | null;
11894
+ db_old?: Json | null;
11895
+ db_record?: string | null;
11896
+ db_table?: string | null;
11897
+ decision?: string | null;
11898
+ duration_ms?: number | null;
11899
+ error?: string | null;
11900
+ external_action?: string | null;
11901
+ external_ref?: string | null;
11902
+ external_response?: Json | null;
11903
+ external_status?: string | null;
11904
+ external_system?: string | null;
11905
+ id?: string;
11906
+ input?: Json | null;
11907
+ next_attempt_at?: string | null;
11908
+ order_ref?: string | null;
11909
+ order_source?: string | null;
11910
+ output?: Json | null;
11911
+ phase: string;
11912
+ reads?: Json | null;
11913
+ reason?: string | null;
11914
+ rule?: string | null;
11915
+ slip_ref?: string | null;
11916
+ status: string;
11917
+ step: string;
11918
+ trace_id?: string;
11919
+ values_used?: Json | null;
11920
+ };
11921
+ Update: {
11922
+ actor?: string | null;
11923
+ attempts?: number;
11924
+ cart_ref?: string | null;
11925
+ created_at?: string;
11926
+ db_action?: string | null;
11927
+ db_new?: Json | null;
11928
+ db_old?: Json | null;
11929
+ db_record?: string | null;
11930
+ db_table?: string | null;
11931
+ decision?: string | null;
11932
+ duration_ms?: number | null;
11933
+ error?: string | null;
11934
+ external_action?: string | null;
11935
+ external_ref?: string | null;
11936
+ external_response?: Json | null;
11937
+ external_status?: string | null;
11938
+ external_system?: string | null;
11939
+ id?: string;
11940
+ input?: Json | null;
11941
+ next_attempt_at?: string | null;
11942
+ order_ref?: string | null;
11943
+ order_source?: string | null;
11944
+ output?: Json | null;
11945
+ phase?: string;
11946
+ reads?: Json | null;
11947
+ reason?: string | null;
11948
+ rule?: string | null;
11949
+ slip_ref?: string | null;
11950
+ status?: string;
11951
+ step?: string;
11952
+ trace_id?: string;
11953
+ values_used?: Json | null;
11954
+ };
11955
+ Relationships: [];
11956
+ };
11564
11957
  logistics_variables: {
11565
11958
  Row: {
11566
11959
  created_at: string;
@@ -22437,6 +22830,15 @@ export type Database = {
22437
22830
  Args: never;
22438
22831
  Returns: boolean;
22439
22832
  };
22833
+ cancel_open_print_jobs: {
22834
+ Args: {
22835
+ _cutoff: string;
22836
+ };
22837
+ Returns: {
22838
+ extern_job_id: string;
22839
+ id: string;
22840
+ }[];
22841
+ };
22440
22842
  check_offer_product_available_stock: {
22441
22843
  Args: {
22442
22844
  p_campaign_product_id: string;
@@ -24049,6 +24451,12 @@ export type Database = {
24049
24451
  };
24050
24452
  Returns: Json;
24051
24453
  };
24454
+ logistics_cart_plan_status_core: {
24455
+ Args: {
24456
+ p_ref: string;
24457
+ };
24458
+ Returns: Json;
24459
+ };
24052
24460
  logistics_cart_release_reason: {
24053
24461
  Args: {
24054
24462
  p_cart_id: string;
@@ -24111,6 +24519,10 @@ export type Database = {
24111
24519
  unit_ref: string;
24112
24520
  }[];
24113
24521
  };
24522
+ logistics_carts_per_print: {
24523
+ Args: never;
24524
+ Returns: number;
24525
+ };
24114
24526
  logistics_check_order_allowed: {
24115
24527
  Args: {
24116
24528
  p_lines: Json;
@@ -24477,6 +24889,12 @@ export type Database = {
24477
24889
  };
24478
24890
  Returns: Json;
24479
24891
  };
24892
+ logistics_ensure_shipping_notes: {
24893
+ Args: {
24894
+ p_limit?: number;
24895
+ };
24896
+ Returns: Json;
24897
+ };
24480
24898
  logistics_fail_task: {
24481
24899
  Args: {
24482
24900
  p_error: string;
@@ -24522,6 +24940,10 @@ export type Database = {
24522
24940
  isSetofReturn: false;
24523
24941
  };
24524
24942
  };
24943
+ logistics_fix_wrong_shipping_notes: {
24944
+ Args: never;
24945
+ Returns: Json;
24946
+ };
24525
24947
  logistics_floriday_cart_plan: {
24526
24948
  Args: {
24527
24949
  p_order_id: string;
@@ -24549,6 +24971,10 @@ export type Database = {
24549
24971
  revision: number;
24550
24972
  }[];
24551
24973
  };
24974
+ logistics_floriday_delivery_note_create_enabled: {
24975
+ Args: never;
24976
+ Returns: boolean;
24977
+ };
24552
24978
  logistics_floriday_finish_push: {
24553
24979
  Args: {
24554
24980
  _error?: string;
@@ -24792,6 +25218,12 @@ export type Database = {
24792
25218
  };
24793
25219
  Returns: string;
24794
25220
  };
25221
+ logistics_payload_is_floriday: {
25222
+ Args: {
25223
+ _payload: Json;
25224
+ };
25225
+ Returns: boolean;
25226
+ };
24795
25227
  logistics_pick_agenda: {
24796
25228
  Args: {
24797
25229
  p_from?: string;
@@ -24914,6 +25346,20 @@ export type Database = {
24914
25346
  Args: never;
24915
25347
  Returns: undefined;
24916
25348
  };
25349
+ logistics_plan_progress: {
25350
+ Args: {
25351
+ p_refs: string[];
25352
+ };
25353
+ Returns: {
25354
+ cart_plan_ready: boolean;
25355
+ cart_plan_reason: string;
25356
+ cart_plan_released: boolean;
25357
+ plan_progress: number;
25358
+ plan_state: string;
25359
+ plan_state_since: string;
25360
+ unit_ref: string;
25361
+ }[];
25362
+ };
24917
25363
  logistics_plan_prune: {
24918
25364
  Args: never;
24919
25365
  Returns: number;
@@ -24935,6 +25381,12 @@ export type Database = {
24935
25381
  };
24936
25382
  Returns: number;
24937
25383
  };
25384
+ logistics_plan_state_for: {
25385
+ Args: {
25386
+ p_ref: string;
25387
+ };
25388
+ Returns: Json;
25389
+ };
24938
25390
  logistics_prepare_pick_documents: {
24939
25391
  Args: {
24940
25392
  p_limit?: number;
@@ -24993,6 +25445,12 @@ export type Database = {
24993
25445
  };
24994
25446
  Returns: Json;
24995
25447
  };
25448
+ logistics_refresh_plan_state: {
25449
+ Args: {
25450
+ p_limit?: number;
25451
+ };
25452
+ Returns: Json;
25453
+ };
24996
25454
  logistics_replan_all: {
24997
25455
  Args: {
24998
25456
  p_reason?: string;
@@ -25161,6 +25619,74 @@ export type Database = {
25161
25619
  };
25162
25620
  Returns: Json;
25163
25621
  };
25622
+ logistics_shipping_note_job_for_slip: {
25623
+ Args: {
25624
+ _slip_job_id: string;
25625
+ };
25626
+ Returns: string;
25627
+ };
25628
+ logistics_shipping_notes_wake_all: {
25629
+ Args: never;
25630
+ Returns: Json;
25631
+ };
25632
+ logistics_slip_is_floriday: {
25633
+ Args: {
25634
+ _slip_job_id: string;
25635
+ };
25636
+ Returns: boolean;
25637
+ };
25638
+ logistics_slip_note_claim: {
25639
+ Args: {
25640
+ _lease_seconds?: number;
25641
+ _limit?: number;
25642
+ };
25643
+ Returns: {
25644
+ attempts: number;
25645
+ batch_key: string | null;
25646
+ cart_id: string | null;
25647
+ created_at: string;
25648
+ error: string | null;
25649
+ error_code: string | null;
25650
+ fulfillment_order_id: string | null;
25651
+ id: string;
25652
+ locked_until: string | null;
25653
+ next_attempt_at: string | null;
25654
+ order_id: string | null;
25655
+ order_number: string | null;
25656
+ print_job_id: string | null;
25657
+ printer_id: string | null;
25658
+ retry_class: string | null;
25659
+ slip_job_id: string;
25660
+ status: string;
25661
+ updated_at: string;
25662
+ }[];
25663
+ SetofOptions: {
25664
+ from: "*";
25665
+ to: "logistics_slip_shipping_note";
25666
+ isOneToOne: false;
25667
+ isSetofReturn: true;
25668
+ };
25669
+ };
25670
+ logistics_slip_note_finish: {
25671
+ Args: {
25672
+ _error?: string;
25673
+ _error_code?: string;
25674
+ _fulfillment_order_id?: string;
25675
+ _id: string;
25676
+ _ok: boolean;
25677
+ _print_job_id?: string;
25678
+ _status?: string;
25679
+ };
25680
+ Returns: undefined;
25681
+ };
25682
+ logistics_slip_note_keep_waiting: {
25683
+ Args: {
25684
+ _class?: string;
25685
+ _id: string;
25686
+ _reason: string;
25687
+ };
25688
+ Returns: undefined;
25689
+ };
25164
25690
  logistics_sticker_follows_slip: {
25165
25691
  Args: never;
25166
25692
  Returns: boolean;
@@ -25215,6 +25741,40 @@ export type Database = {
25215
25741
  name: string;
25216
25742
  }[];
25217
25743
  };
25744
+ logistics_trace: {
25745
+ Args: {
25746
+ p: Json;
25747
+ };
25748
+ Returns: string;
25749
+ };
25750
+ logistics_trace_batch: {
25751
+ Args: {
25752
+ p: Json;
25753
+ };
25754
+ Returns: number;
25755
+ };
25756
+ logistics_trace_orders: {
25757
+ Args: {
25758
+ p_limit?: number;
25759
+ p_search?: string;
25760
+ p_since?: string;
25761
+ p_status?: string;
25762
+ };
25763
+ Returns: Json;
25764
+ };
25765
+ logistics_trace_redact: {
25766
+ Args: {
25767
+ p: Json;
25768
+ };
25769
+ Returns: Json;
25770
+ };
25771
+ logistics_trace_timeline: {
25772
+ Args: {
25773
+ p_limit?: number;
25774
+ p_order_ref: string;
25775
+ };
25776
+ Returns: Json;
25777
+ };
25218
25778
  logistics_upsert_task: {
25219
25779
  Args: {
25220
25780
  p_buffer_ref: string;
@@ -26256,6 +26816,10 @@ export type Database = {
26256
26816
  };
26257
26817
  Returns: undefined;
26258
26818
  };
26819
+ prune_floriday_api_log: {
26820
+ Args: never;
26821
+ Returns: number;
26822
+ };
26259
26823
  quote_create_from_source: {
26260
26824
  Args: {
26261
26825
  _payload?: Json;
@@ -27132,6 +27696,10 @@ export type Database = {
27132
27696
  Args: never;
27133
27697
  Returns: string;
27134
27698
  };
27699
+ voorraad_cleanup_old_rows: {
27700
+ Args: never;
27701
+ Returns: Json;
27702
+ };
27135
27703
  wake_print_queue: {
27136
27704
  Args: {
27137
27705
  _min_interval_ms?: number;