@flowselections/floriday-verkoop-module 1.0.56 → 1.0.57

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 (66) hide show
  1. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
  2. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.js +5 -5
  3. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  4. package/dist-lib/components/verkoop/SalesOrdersTable.js +17 -4
  5. package/dist-lib/integrations/supabase/auth-middleware.d.ts +344 -10
  6. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/client.d.ts +344 -10
  8. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/client.server.d.ts +344 -10
  10. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  11. package/dist-lib/integrations/supabase/types.d.ts +346 -10
  12. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  13. package/dist-lib/lib/cart-lock.functions.d.ts +344 -10
  14. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/cart-planning-settings.functions.d.ts +3906 -232
  16. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/cart-replan.functions.d.ts +1032 -30
  18. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/create-order.functions.d.ts +6128 -450
  20. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1032 -30
  22. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/floriday-gateway.server.d.ts +14 -0
  24. package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday-gateway.server.js +46 -0
  26. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +23961 -20
  27. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-logistic-labels.functions.js +209 -90
  29. package/dist-lib/lib/floriday-mirror.functions.d.ts +344 -10
  30. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-public.functions.d.ts +2451 -113
  32. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday-sync.d.ts.map +1 -1
  34. package/dist-lib/lib/floriday-writes.functions.d.ts +1763 -93
  35. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/invoice-timing.functions.d.ts +1376 -40
  37. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/load-carriers.functions.d.ts +344 -10
  39. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/logistics-engine.functions.d.ts +1763 -93
  41. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/logistics-stock.functions.d.ts +688 -20
  43. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/order-addresses.functions.d.ts +344 -10
  45. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/order-buffers.functions.d.ts +1032 -30
  47. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/order-carrier.functions.d.ts +688 -20
  49. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/order-pickup.functions.d.ts +688 -20
  51. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/order-shipments.functions.d.ts +1376 -40
  53. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  54. package/dist-lib/lib/salesorders-list.functions.d.ts +344 -10
  55. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  57. package/dist-lib/lib/salesorders-list.server.js +43 -1
  58. package/dist-lib/lib/salesorders-mapping.d.ts +8 -0
  59. package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
  60. package/dist-lib/lib/salesorders.functions.d.ts +1763 -93
  61. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +688 -20
  63. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/tradeitems.functions.d.ts +344 -10
  65. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  66. package/package.json +131 -131
@@ -3,7 +3,7 @@ export type Json = string | number | boolean | null | {
3
3
  } | Json[];
4
4
  export type Database = {
5
5
  __InternalSupabase: {
6
- PostgrestVersion: "14.17";
6
+ PostgrestVersion: "14.5";
7
7
  };
8
8
  public: {
9
9
  Tables: {
@@ -2911,6 +2911,86 @@ export type Database = {
2911
2911
  };
2912
2912
  Relationships: [];
2913
2913
  };
2914
+ delivery_notes: {
2915
+ Row: {
2916
+ byte_size: number | null;
2917
+ connection_id: string | null;
2918
+ content_type: string;
2919
+ created_at: string;
2920
+ error_message: string | null;
2921
+ fetched_at: string | null;
2922
+ fulfillment_order_id: string | null;
2923
+ http_status: number | null;
2924
+ id: string;
2925
+ label_code: string | null;
2926
+ letter: string | null;
2927
+ load_carrier_index: number | null;
2928
+ load_carrier_type: string | null;
2929
+ order_id: string | null;
2930
+ order_number: string | null;
2931
+ packages: number | null;
2932
+ source: string;
2933
+ status: string;
2934
+ storage_bucket: string;
2935
+ storage_path: string | null;
2936
+ updated_at: string;
2937
+ };
2938
+ Insert: {
2939
+ byte_size?: number | null;
2940
+ connection_id?: string | null;
2941
+ content_type?: string;
2942
+ created_at?: string;
2943
+ error_message?: string | null;
2944
+ fetched_at?: string | null;
2945
+ fulfillment_order_id?: string | null;
2946
+ http_status?: number | null;
2947
+ id?: string;
2948
+ label_code?: string | null;
2949
+ letter?: string | null;
2950
+ load_carrier_index?: number | null;
2951
+ load_carrier_type?: string | null;
2952
+ order_id?: string | null;
2953
+ order_number?: string | null;
2954
+ packages?: number | null;
2955
+ source?: string;
2956
+ status?: string;
2957
+ storage_bucket?: string;
2958
+ storage_path?: string | null;
2959
+ updated_at?: string;
2960
+ };
2961
+ Update: {
2962
+ byte_size?: number | null;
2963
+ connection_id?: string | null;
2964
+ content_type?: string;
2965
+ created_at?: string;
2966
+ error_message?: string | null;
2967
+ fetched_at?: string | null;
2968
+ fulfillment_order_id?: string | null;
2969
+ http_status?: number | null;
2970
+ id?: string;
2971
+ label_code?: string | null;
2972
+ letter?: string | null;
2973
+ load_carrier_index?: number | null;
2974
+ load_carrier_type?: string | null;
2975
+ order_id?: string | null;
2976
+ order_number?: string | null;
2977
+ packages?: number | null;
2978
+ source?: string;
2979
+ status?: string;
2980
+ storage_bucket?: string;
2981
+ storage_path?: string | null;
2982
+ updated_at?: string;
2983
+ };
2984
+ Relationships: [
2985
+ {
2986
+ foreignKeyName: "delivery_notes_order_id_fkey";
2987
+ columns: ["order_id"];
2988
+ isOneToOne: false;
2989
+ referencedRelation: "orders";
2990
+ referencedColumns: ["id"];
2991
+ }
2992
+ ];
2993
+ };
2914
2994
  document_bronregels: {
2915
2995
  Row: {
2916
2996
  bron: string;
@@ -6048,10 +6128,7 @@ export type Database = {
6048
6128
  };
6049
6129
  floriday_connections: {
6050
6130
  Row: {
6051
- access_token: string | null;
6052
6131
  api_key: string;
6053
- client_id: string;
6054
- client_secret: string;
6055
6132
  created_at: string;
6056
6133
  customers_endpoint: string | null;
6057
6134
  environment: string;
@@ -6066,10 +6143,7 @@ export type Database = {
6066
6143
  updated_at: string;
6067
6144
  };
6068
6145
  Insert: {
6069
- access_token?: string | null;
6070
6146
  api_key: string;
6071
- client_id: string;
6072
- client_secret: string;
6073
6147
  created_at?: string;
6074
6148
  customers_endpoint?: string | null;
6075
6149
  environment: string;
@@ -6084,10 +6158,7 @@ export type Database = {
6084
6158
  updated_at?: string;
6085
6159
  };
6086
6160
  Update: {
6087
- access_token?: string | null;
6088
6161
  api_key?: string;
6089
- client_id?: string;
6090
- client_secret?: string;
6091
6162
  created_at?: string;
6092
6163
  customers_endpoint?: string | null;
6093
6164
  environment?: string;
@@ -13956,6 +14027,39 @@ export type Database = {
13956
14027
  };
13957
14028
  Relationships: [];
13958
14029
  };
14030
+ print_dedupe_events: {
14031
+ Row: {
14032
+ bestaande_job_id: string | null;
14033
+ created_at: string;
14034
+ detail: string | null;
14035
+ documentnaam: string | null;
14036
+ documenttype: string | null;
14037
+ id: string;
14038
+ idempotentie_sleutel: string;
14039
+ reden: string;
14040
+ };
14041
+ Insert: {
14042
+ bestaande_job_id?: string | null;
14043
+ created_at?: string;
14044
+ detail?: string | null;
14045
+ documentnaam?: string | null;
14046
+ documenttype?: string | null;
14047
+ id?: string;
14048
+ idempotentie_sleutel: string;
14049
+ reden: string;
14050
+ };
14051
+ Update: {
14052
+ bestaande_job_id?: string | null;
14053
+ created_at?: string;
14054
+ detail?: string | null;
14055
+ documentnaam?: string | null;
14056
+ documenttype?: string | null;
14057
+ id?: string;
14058
+ idempotentie_sleutel?: string;
14059
+ reden?: string;
14060
+ };
14061
+ Relationships: [];
14062
+ };
13959
14063
  print_job_logs: {
13960
14064
  Row: {
13961
14065
  created_at: string;
@@ -14008,6 +14112,9 @@ export type Database = {
14008
14112
  is_herprint: boolean;
14009
14113
  kopieen: number;
14010
14114
  layout_id: string | null;
14115
+ lokaal_opgeslagen_op: string | null;
14116
+ lokale_pdf_fout: string | null;
14117
+ lokale_pdf_status: string | null;
14011
14118
  opgepakt_op: string | null;
14012
14119
  paginas: number;
14013
14120
  payload: Json;
@@ -14016,6 +14123,7 @@ export type Database = {
14016
14123
  pogingen: number;
14017
14124
  printer_id: string | null;
14018
14125
  render_html: string | null;
14126
+ resultaat_pdf_base64: string | null;
14019
14127
  status: Database["public"]["Enums"]["print_job_status"];
14020
14128
  updated_at: string;
14021
14129
  volgende_poging: string | null;
@@ -14040,6 +14148,9 @@ export type Database = {
14040
14148
  is_herprint?: boolean;
14041
14149
  kopieen?: number;
14042
14150
  layout_id?: string | null;
14151
+ lokaal_opgeslagen_op?: string | null;
14152
+ lokale_pdf_fout?: string | null;
14153
+ lokale_pdf_status?: string | null;
14043
14154
  opgepakt_op?: string | null;
14044
14155
  paginas?: number;
14045
14156
  payload?: Json;
@@ -14048,6 +14159,7 @@ export type Database = {
14048
14159
  pogingen?: number;
14049
14160
  printer_id?: string | null;
14050
14161
  render_html?: string | null;
14162
+ resultaat_pdf_base64?: string | null;
14051
14163
  status?: Database["public"]["Enums"]["print_job_status"];
14052
14164
  updated_at?: string;
14053
14165
  volgende_poging?: string | null;
@@ -14072,6 +14184,9 @@ export type Database = {
14072
14184
  is_herprint?: boolean;
14073
14185
  kopieen?: number;
14074
14186
  layout_id?: string | null;
14187
+ lokaal_opgeslagen_op?: string | null;
14188
+ lokale_pdf_fout?: string | null;
14189
+ lokale_pdf_status?: string | null;
14075
14190
  opgepakt_op?: string | null;
14076
14191
  paginas?: number;
14077
14192
  payload?: Json;
@@ -14080,6 +14195,7 @@ export type Database = {
14080
14195
  pogingen?: number;
14081
14196
  printer_id?: string | null;
14082
14197
  render_html?: string | null;
14198
+ resultaat_pdf_base64?: string | null;
14083
14199
  status?: Database["public"]["Enums"]["print_job_status"];
14084
14200
  updated_at?: string;
14085
14201
  volgende_poging?: string | null;
@@ -14206,6 +14322,39 @@ export type Database = {
14206
14322
  };
14207
14323
  Relationships: [];
14208
14324
  };
14325
+ print_preview_events: {
14326
+ Row: {
14327
+ code: string | null;
14328
+ created_at: string;
14329
+ detail: Json;
14330
+ id: string;
14331
+ queue_item_id: string | null;
14332
+ reden: string | null;
14333
+ station_slug: string | null;
14334
+ uitkomst: string;
14335
+ };
14336
+ Insert: {
14337
+ code?: string | null;
14338
+ created_at?: string;
14339
+ detail?: Json;
14340
+ id?: string;
14341
+ queue_item_id?: string | null;
14342
+ reden?: string | null;
14343
+ station_slug?: string | null;
14344
+ uitkomst?: string;
14345
+ };
14346
+ Update: {
14347
+ code?: string | null;
14348
+ created_at?: string;
14349
+ detail?: Json;
14350
+ id?: string;
14351
+ queue_item_id?: string | null;
14352
+ reden?: string | null;
14353
+ station_slug?: string | null;
14354
+ uitkomst?: string;
14355
+ };
14356
+ Relationships: [];
14357
+ };
14209
14358
  print_queue_runners: {
14210
14359
  Row: {
14211
14360
  actief: boolean;
@@ -14453,6 +14602,7 @@ export type Database = {
14453
14602
  ondersteunde_laden: Json | null;
14454
14603
  online: boolean;
14455
14604
  papierformaat: string;
14605
+ pdf_map: string | null;
14456
14606
  poort: number | null;
14457
14607
  soort: Database["public"]["Enums"]["printer_kind"];
14458
14608
  systeemnaam: string;
@@ -14478,6 +14628,7 @@ export type Database = {
14478
14628
  ondersteunde_laden?: Json | null;
14479
14629
  online?: boolean;
14480
14630
  papierformaat?: string;
14631
+ pdf_map?: string | null;
14481
14632
  poort?: number | null;
14482
14633
  soort?: Database["public"]["Enums"]["printer_kind"];
14483
14634
  systeemnaam?: string;
@@ -14503,6 +14654,7 @@ export type Database = {
14503
14654
  ondersteunde_laden?: Json | null;
14504
14655
  online?: boolean;
14505
14656
  papierformaat?: string;
14657
+ pdf_map?: string | null;
14506
14658
  poort?: number | null;
14507
14659
  soort?: Database["public"]["Enums"]["printer_kind"];
14508
14660
  systeemnaam?: string;
@@ -20920,6 +21072,9 @@ export type Database = {
20920
21072
  is_herprint: boolean;
20921
21073
  kopieen: number;
20922
21074
  layout_id: string | null;
21075
+ lokaal_opgeslagen_op: string | null;
21076
+ lokale_pdf_fout: string | null;
21077
+ lokale_pdf_status: string | null;
20923
21078
  opgepakt_op: string | null;
20924
21079
  paginas: number;
20925
21080
  payload: Json;
@@ -20928,6 +21083,7 @@ export type Database = {
20928
21083
  pogingen: number;
20929
21084
  printer_id: string | null;
20930
21085
  render_html: string | null;
21086
+ resultaat_pdf_base64: string | null;
20931
21087
  status: Database["public"]["Enums"]["print_job_status"];
20932
21088
  updated_at: string;
20933
21089
  volgende_poging: string | null;
@@ -21019,6 +21175,53 @@ export type Database = {
21019
21175
  isSetofReturn: true;
21020
21176
  };
21021
21177
  };
21178
+ claim_pdf_print_jobs: {
21179
+ Args: {
21180
+ _max?: number;
21181
+ };
21182
+ Returns: {
21183
+ agent_id: string | null;
21184
+ bron_job_id: string | null;
21185
+ created_at: string;
21186
+ documentnaam: string;
21187
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
21188
+ extern_job_id: string | null;
21189
+ foutmelding: string | null;
21190
+ gebruiker_id: string | null;
21191
+ gebruiker_naam: string;
21192
+ gebruikte_bron: string | null;
21193
+ gebruikte_layout_id: string | null;
21194
+ gestart_op: string | null;
21195
+ herkomst: string | null;
21196
+ id: string;
21197
+ idempotentie_sleutel: string | null;
21198
+ is_herprint: boolean;
21199
+ kopieen: number;
21200
+ layout_id: string | null;
21201
+ lokaal_opgeslagen_op: string | null;
21202
+ lokale_pdf_fout: string | null;
21203
+ lokale_pdf_status: string | null;
21204
+ opgepakt_op: string | null;
21205
+ paginas: number;
21206
+ payload: Json;
21207
+ pdf_base64: string | null;
21208
+ pdf_url: string | null;
21209
+ pogingen: number;
21210
+ printer_id: string | null;
21211
+ render_html: string | null;
21212
+ resultaat_pdf_base64: string | null;
21213
+ status: Database["public"]["Enums"]["print_job_status"];
21214
+ updated_at: string;
21215
+ volgende_poging: string | null;
21216
+ voltooid_op: string | null;
21217
+ }[];
21218
+ SetofOptions: {
21219
+ from: "*";
21220
+ to: "print_jobs";
21221
+ isOneToOne: false;
21222
+ isSetofReturn: true;
21223
+ };
21224
+ };
21022
21225
  claim_print_jobs: {
21023
21226
  Args: {
21024
21227
  _agent_id: string;
@@ -21043,6 +21246,9 @@ export type Database = {
21043
21246
  is_herprint: boolean;
21044
21247
  kopieen: number;
21045
21248
  layout_id: string | null;
21249
+ lokaal_opgeslagen_op: string | null;
21250
+ lokale_pdf_fout: string | null;
21251
+ lokale_pdf_status: string | null;
21046
21252
  opgepakt_op: string | null;
21047
21253
  paginas: number;
21048
21254
  payload: Json;
@@ -21051,6 +21257,7 @@ export type Database = {
21051
21257
  pogingen: number;
21052
21258
  printer_id: string | null;
21053
21259
  render_html: string | null;
21260
+ resultaat_pdf_base64: string | null;
21054
21261
  status: Database["public"]["Enums"]["print_job_status"];
21055
21262
  updated_at: string;
21056
21263
  volgende_poging: string | null;
@@ -21191,6 +21398,8 @@ export type Database = {
21191
21398
  order_id: string;
21192
21399
  order_source: string;
21193
21400
  pick_date: string;
21401
+ printed_at: string;
21402
+ printed_today: boolean;
21194
21403
  status: string;
21195
21404
  }[];
21196
21405
  };
@@ -21899,6 +22108,10 @@ export type Database = {
21899
22108
  };
21900
22109
  Returns: number;
21901
22110
  };
22111
+ logistics_cancel_orphan_tasks: {
22112
+ Args: never;
22113
+ Returns: number;
22114
+ };
21902
22115
  logistics_capacity_day_check: {
21903
22116
  Args: {
21904
22117
  p_from?: string;
@@ -21919,6 +22132,25 @@ export type Database = {
21919
22132
  };
21920
22133
  Returns: number;
21921
22134
  };
22135
+ logistics_cart_index: {
22136
+ Args: {
22137
+ p_from?: string;
22138
+ p_to?: string;
22139
+ };
22140
+ Returns: {
22141
+ cart_id: string;
22142
+ cart_index: number;
22143
+ cart_label: string;
22144
+ is_shared: boolean;
22145
+ order_number: string;
22146
+ order_source: string;
22147
+ order_uuid: string;
22148
+ pick_date: string;
22149
+ printed_at: string;
22150
+ shifted: boolean;
22151
+ task_status: string;
22152
+ }[];
22153
+ };
21922
22154
  logistics_check_order_allowed: {
21923
22155
  Args: {
21924
22156
  p_lines: Json;
@@ -22067,6 +22299,17 @@ export type Database = {
22067
22299
  isSetofReturn: false;
22068
22300
  };
22069
22301
  };
22302
+ logistics_consistency_check: {
22303
+ Args: never;
22304
+ Returns: {
22305
+ agenda_carts: number;
22306
+ control_carts: number;
22307
+ ok: boolean;
22308
+ orphan_tasks: number;
22309
+ pick_date: string;
22310
+ raw_carts: number;
22311
+ }[];
22312
+ };
22070
22313
  logistics_delay_customer_email: {
22071
22314
  Args: {
22072
22315
  p_customer: string;
@@ -22156,6 +22399,16 @@ export type Database = {
22156
22399
  isSetofReturn: false;
22157
22400
  };
22158
22401
  };
22402
+ logistics_floriday_cart_plan: {
22403
+ Args: {
22404
+ p_order_id: string;
22405
+ };
22406
+ Returns: {
22407
+ carrier_type: string;
22408
+ idx: number;
22409
+ packages: number;
22410
+ }[];
22411
+ };
22159
22412
  logistics_floriday_claim_pushes: {
22160
22413
  Args: {
22161
22414
  _lease_seconds?: number;
@@ -22260,6 +22513,25 @@ export type Database = {
22260
22513
  };
22261
22514
  Returns: number;
22262
22515
  };
22516
+ logistics_order_overview: {
22517
+ Args: {
22518
+ p_from?: string;
22519
+ p_to?: string;
22520
+ };
22521
+ Returns: {
22522
+ cart_count: number;
22523
+ customer_name: string;
22524
+ delivery_date: string;
22525
+ order_number: string;
22526
+ order_source: string;
22527
+ order_uuid: string;
22528
+ pick_date: string;
22529
+ plant_count: number;
22530
+ printed_at: string;
22531
+ shifted: boolean;
22532
+ status: string;
22533
+ }[];
22534
+ };
22263
22535
  logistics_order_pick_day: {
22264
22536
  Args: {
22265
22537
  p_order_ref: string;
@@ -22272,6 +22544,22 @@ export type Database = {
22272
22544
  };
22273
22545
  Returns: string;
22274
22546
  };
22547
+ logistics_pick_agenda: {
22548
+ Args: {
22549
+ p_from?: string;
22550
+ p_to?: string;
22551
+ };
22552
+ Returns: {
22553
+ cart_count: number;
22554
+ in_preparation: number;
22555
+ order_count: number;
22556
+ orders: Json;
22557
+ pick_date: string;
22558
+ plant_count: number;
22559
+ ready: number;
22560
+ shifted_count: number;
22561
+ }[];
22562
+ };
22275
22563
  logistics_pick_email_purpose: {
22276
22564
  Args: never;
22277
22565
  Returns: string;
@@ -22326,6 +22614,13 @@ export type Database = {
22326
22614
  };
22327
22615
  Returns: undefined;
22328
22616
  };
22617
+ logistics_plan_floriday_order: {
22618
+ Args: {
22619
+ p_buffer_id?: string;
22620
+ p_order_id: string;
22621
+ };
22622
+ Returns: number;
22623
+ };
22329
22624
  logistics_plan_impact_orders: {
22330
22625
  Args: {
22331
22626
  p_order_id: string;
@@ -22431,6 +22726,15 @@ export type Database = {
22431
22726
  };
22432
22727
  Returns: Json;
22433
22728
  };
22729
+ logistics_resolve_pick_document: {
22730
+ Args: {
22731
+ _is_herprint: boolean;
22732
+ _queue_item_id: string;
22733
+ _session_id: string;
22734
+ _voorbeeld: boolean;
22735
+ };
22736
+ Returns: Json;
22737
+ };
22434
22738
  logistics_resolve_settings: {
22435
22739
  Args: {
22436
22740
  p_config_id: string;
@@ -22871,6 +23175,7 @@ export type Database = {
22871
23175
  };
22872
23176
  pick_enqueue_print_job: {
22873
23177
  Args: {
23178
+ _is_herprint?: boolean;
22874
23179
  _printer_id?: string;
22875
23180
  _queue_item_id: string;
22876
23181
  _session_id?: string;
@@ -22884,6 +23189,13 @@ export type Database = {
22884
23189
  };
22885
23190
  Returns: Json;
22886
23191
  };
23192
+ pick_preview_job: {
23193
+ Args: {
23194
+ _queue_item_id: string;
23195
+ _station_slug: string;
23196
+ };
23197
+ Returns: Json;
23198
+ };
22887
23199
  pick_print_job_status: {
22888
23200
  Args: {
22889
23201
  _job_id: string;
@@ -23061,6 +23373,24 @@ export type Database = {
23061
23373
  };
23062
23374
  Returns: undefined;
23063
23375
  };
23376
+ print_preview_toestaan: {
23377
+ Args: {
23378
+ _max?: number;
23379
+ _queue_item_id: string;
23380
+ _station_slug: string;
23381
+ _venster_sec?: number;
23382
+ };
23383
+ Returns: Json;
23384
+ };
23385
+ print_preview_weiger: {
23386
+ Args: {
23387
+ _code: string;
23388
+ _queue_item_id: string;
23389
+ _reden: string;
23390
+ _station_slug: string;
23391
+ };
23392
+ Returns: undefined;
23393
+ };
23064
23394
  process_logistics_event: {
23065
23395
  Args: {
23066
23396
  p_event_id: string;
@@ -23215,6 +23545,12 @@ export type Database = {
23215
23545
  };
23216
23546
  Returns: string;
23217
23547
  };
23548
+ resolve_print_job_printer_id: {
23549
+ Args: {
23550
+ _job: Database["public"]["Tables"]["print_jobs"]["Row"];
23551
+ };
23552
+ Returns: string;
23553
+ };
23218
23554
  resolve_product_id_for_item: {
23219
23555
  Args: {
23220
23556
  p_product_name: string;