@flowselections/floriday-verkoop-module 1.0.55 → 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 (72) 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/OrderKarindelingCard.d.ts.map +1 -1
  4. package/dist-lib/components/verkoop/OrderKarindelingCard.js +2 -1
  5. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  6. package/dist-lib/components/verkoop/SalesOrdersTable.js +17 -4
  7. package/dist-lib/integrations/supabase/auth-middleware.d.ts +355 -18
  8. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/client.d.ts +355 -18
  10. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  11. package/dist-lib/integrations/supabase/client.server.d.ts +355 -18
  12. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  13. package/dist-lib/integrations/supabase/types.d.ts +357 -18
  14. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  15. package/dist-lib/lib/cart-lock.functions.d.ts +355 -18
  16. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/cart-planning-settings.functions.d.ts +3948 -241
  18. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/cart-replan.functions.d.ts +1065 -54
  20. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/cart-replan.functions.js +38 -31
  22. package/dist-lib/lib/create-order.functions.d.ts +6164 -435
  23. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1065 -54
  25. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floriday-gateway.server.d.ts +14 -0
  27. package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-gateway.server.js +46 -0
  29. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +23972 -28
  30. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-logistic-labels.functions.js +209 -90
  32. package/dist-lib/lib/floriday-mirror.functions.d.ts +355 -18
  33. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/floriday-public.functions.d.ts +2485 -126
  35. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/floriday-sync.d.ts.map +1 -1
  37. package/dist-lib/lib/floriday-writes.functions.d.ts +1775 -90
  38. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/invoice-timing.functions.d.ts +1420 -72
  40. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/load-carriers.functions.d.ts +355 -18
  42. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/logistics-engine.functions.d.ts +1775 -90
  44. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/logistics-stock.functions.d.ts +710 -36
  46. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  47. package/dist-lib/lib/order-addresses.functions.d.ts +355 -18
  48. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/order-buffers.functions.d.ts +1065 -54
  50. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/order-carrier.functions.d.ts +710 -36
  52. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  53. package/dist-lib/lib/order-pickup.functions.d.ts +710 -36
  54. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  55. package/dist-lib/lib/order-shipments.functions.d.ts +1420 -72
  56. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  57. package/dist-lib/lib/product-name.d.ts +3 -0
  58. package/dist-lib/lib/product-name.d.ts.map +1 -0
  59. package/dist-lib/lib/product-name.js +43 -0
  60. package/dist-lib/lib/salesorders-list.functions.d.ts +355 -18
  61. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  63. package/dist-lib/lib/salesorders-list.server.js +43 -1
  64. package/dist-lib/lib/salesorders-mapping.d.ts +8 -0
  65. package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
  66. package/dist-lib/lib/salesorders.functions.d.ts +1775 -90
  67. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  68. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +710 -36
  69. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  70. package/dist-lib/lib/tradeitems.functions.d.ts +355 -18
  71. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  72. 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;
@@ -11102,6 +11173,7 @@ export type Database = {
11102
11173
  last_error: string | null;
11103
11174
  last_error_at: string | null;
11104
11175
  last_success_at: string | null;
11176
+ provider: string;
11105
11177
  updated_at: string;
11106
11178
  };
11107
11179
  Insert: {
@@ -11113,6 +11185,7 @@ export type Database = {
11113
11185
  last_error?: string | null;
11114
11186
  last_error_at?: string | null;
11115
11187
  last_success_at?: string | null;
11188
+ provider?: string;
11116
11189
  updated_at?: string;
11117
11190
  };
11118
11191
  Update: {
@@ -11124,6 +11197,7 @@ export type Database = {
11124
11197
  last_error?: string | null;
11125
11198
  last_error_at?: string | null;
11126
11199
  last_success_at?: string | null;
11200
+ provider?: string;
11127
11201
  updated_at?: string;
11128
11202
  };
11129
11203
  Relationships: [];
@@ -13953,6 +14027,39 @@ export type Database = {
13953
14027
  };
13954
14028
  Relationships: [];
13955
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
+ };
13956
14063
  print_job_logs: {
13957
14064
  Row: {
13958
14065
  created_at: string;
@@ -14005,6 +14112,9 @@ export type Database = {
14005
14112
  is_herprint: boolean;
14006
14113
  kopieen: number;
14007
14114
  layout_id: string | null;
14115
+ lokaal_opgeslagen_op: string | null;
14116
+ lokale_pdf_fout: string | null;
14117
+ lokale_pdf_status: string | null;
14008
14118
  opgepakt_op: string | null;
14009
14119
  paginas: number;
14010
14120
  payload: Json;
@@ -14013,6 +14123,7 @@ export type Database = {
14013
14123
  pogingen: number;
14014
14124
  printer_id: string | null;
14015
14125
  render_html: string | null;
14126
+ resultaat_pdf_base64: string | null;
14016
14127
  status: Database["public"]["Enums"]["print_job_status"];
14017
14128
  updated_at: string;
14018
14129
  volgende_poging: string | null;
@@ -14037,6 +14148,9 @@ export type Database = {
14037
14148
  is_herprint?: boolean;
14038
14149
  kopieen?: number;
14039
14150
  layout_id?: string | null;
14151
+ lokaal_opgeslagen_op?: string | null;
14152
+ lokale_pdf_fout?: string | null;
14153
+ lokale_pdf_status?: string | null;
14040
14154
  opgepakt_op?: string | null;
14041
14155
  paginas?: number;
14042
14156
  payload?: Json;
@@ -14045,6 +14159,7 @@ export type Database = {
14045
14159
  pogingen?: number;
14046
14160
  printer_id?: string | null;
14047
14161
  render_html?: string | null;
14162
+ resultaat_pdf_base64?: string | null;
14048
14163
  status?: Database["public"]["Enums"]["print_job_status"];
14049
14164
  updated_at?: string;
14050
14165
  volgende_poging?: string | null;
@@ -14069,6 +14184,9 @@ export type Database = {
14069
14184
  is_herprint?: boolean;
14070
14185
  kopieen?: number;
14071
14186
  layout_id?: string | null;
14187
+ lokaal_opgeslagen_op?: string | null;
14188
+ lokale_pdf_fout?: string | null;
14189
+ lokale_pdf_status?: string | null;
14072
14190
  opgepakt_op?: string | null;
14073
14191
  paginas?: number;
14074
14192
  payload?: Json;
@@ -14077,6 +14195,7 @@ export type Database = {
14077
14195
  pogingen?: number;
14078
14196
  printer_id?: string | null;
14079
14197
  render_html?: string | null;
14198
+ resultaat_pdf_base64?: string | null;
14080
14199
  status?: Database["public"]["Enums"]["print_job_status"];
14081
14200
  updated_at?: string;
14082
14201
  volgende_poging?: string | null;
@@ -14203,6 +14322,39 @@ export type Database = {
14203
14322
  };
14204
14323
  Relationships: [];
14205
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
+ };
14206
14358
  print_queue_runners: {
14207
14359
  Row: {
14208
14360
  actief: boolean;
@@ -14450,6 +14602,7 @@ export type Database = {
14450
14602
  ondersteunde_laden: Json | null;
14451
14603
  online: boolean;
14452
14604
  papierformaat: string;
14605
+ pdf_map: string | null;
14453
14606
  poort: number | null;
14454
14607
  soort: Database["public"]["Enums"]["printer_kind"];
14455
14608
  systeemnaam: string;
@@ -14475,6 +14628,7 @@ export type Database = {
14475
14628
  ondersteunde_laden?: Json | null;
14476
14629
  online?: boolean;
14477
14630
  papierformaat?: string;
14631
+ pdf_map?: string | null;
14478
14632
  poort?: number | null;
14479
14633
  soort?: Database["public"]["Enums"]["printer_kind"];
14480
14634
  systeemnaam?: string;
@@ -14500,6 +14654,7 @@ export type Database = {
14500
14654
  ondersteunde_laden?: Json | null;
14501
14655
  online?: boolean;
14502
14656
  papierformaat?: string;
14657
+ pdf_map?: string | null;
14503
14658
  poort?: number | null;
14504
14659
  soort?: Database["public"]["Enums"]["printer_kind"];
14505
14660
  systeemnaam?: string;
@@ -20917,6 +21072,9 @@ export type Database = {
20917
21072
  is_herprint: boolean;
20918
21073
  kopieen: number;
20919
21074
  layout_id: string | null;
21075
+ lokaal_opgeslagen_op: string | null;
21076
+ lokale_pdf_fout: string | null;
21077
+ lokale_pdf_status: string | null;
20920
21078
  opgepakt_op: string | null;
20921
21079
  paginas: number;
20922
21080
  payload: Json;
@@ -20925,6 +21083,7 @@ export type Database = {
20925
21083
  pogingen: number;
20926
21084
  printer_id: string | null;
20927
21085
  render_html: string | null;
21086
+ resultaat_pdf_base64: string | null;
20928
21087
  status: Database["public"]["Enums"]["print_job_status"];
20929
21088
  updated_at: string;
20930
21089
  volgende_poging: string | null;
@@ -21016,6 +21175,53 @@ export type Database = {
21016
21175
  isSetofReturn: true;
21017
21176
  };
21018
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
+ };
21019
21225
  claim_print_jobs: {
21020
21226
  Args: {
21021
21227
  _agent_id: string;
@@ -21040,6 +21246,9 @@ export type Database = {
21040
21246
  is_herprint: boolean;
21041
21247
  kopieen: number;
21042
21248
  layout_id: string | null;
21249
+ lokaal_opgeslagen_op: string | null;
21250
+ lokale_pdf_fout: string | null;
21251
+ lokale_pdf_status: string | null;
21043
21252
  opgepakt_op: string | null;
21044
21253
  paginas: number;
21045
21254
  payload: Json;
@@ -21048,6 +21257,7 @@ export type Database = {
21048
21257
  pogingen: number;
21049
21258
  printer_id: string | null;
21050
21259
  render_html: string | null;
21260
+ resultaat_pdf_base64: string | null;
21051
21261
  status: Database["public"]["Enums"]["print_job_status"];
21052
21262
  updated_at: string;
21053
21263
  volgende_poging: string | null;
@@ -21188,6 +21398,8 @@ export type Database = {
21188
21398
  order_id: string;
21189
21399
  order_source: string;
21190
21400
  pick_date: string;
21401
+ printed_at: string;
21402
+ printed_today: boolean;
21191
21403
  status: string;
21192
21404
  }[];
21193
21405
  };
@@ -21896,6 +22108,10 @@ export type Database = {
21896
22108
  };
21897
22109
  Returns: number;
21898
22110
  };
22111
+ logistics_cancel_orphan_tasks: {
22112
+ Args: never;
22113
+ Returns: number;
22114
+ };
21899
22115
  logistics_capacity_day_check: {
21900
22116
  Args: {
21901
22117
  p_from?: string;
@@ -21916,6 +22132,25 @@ export type Database = {
21916
22132
  };
21917
22133
  Returns: number;
21918
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
+ };
21919
22154
  logistics_check_order_allowed: {
21920
22155
  Args: {
21921
22156
  p_lines: Json;
@@ -22064,6 +22299,17 @@ export type Database = {
22064
22299
  isSetofReturn: false;
22065
22300
  };
22066
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
+ };
22067
22313
  logistics_delay_customer_email: {
22068
22314
  Args: {
22069
22315
  p_customer: string;
@@ -22153,6 +22399,16 @@ export type Database = {
22153
22399
  isSetofReturn: false;
22154
22400
  };
22155
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
+ };
22156
22412
  logistics_floriday_claim_pushes: {
22157
22413
  Args: {
22158
22414
  _lease_seconds?: number;
@@ -22257,6 +22513,25 @@ export type Database = {
22257
22513
  };
22258
22514
  Returns: number;
22259
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
+ };
22260
22535
  logistics_order_pick_day: {
22261
22536
  Args: {
22262
22537
  p_order_ref: string;
@@ -22269,6 +22544,22 @@ export type Database = {
22269
22544
  };
22270
22545
  Returns: string;
22271
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
+ };
22272
22563
  logistics_pick_email_purpose: {
22273
22564
  Args: never;
22274
22565
  Returns: string;
@@ -22323,6 +22614,13 @@ export type Database = {
22323
22614
  };
22324
22615
  Returns: undefined;
22325
22616
  };
22617
+ logistics_plan_floriday_order: {
22618
+ Args: {
22619
+ p_buffer_id?: string;
22620
+ p_order_id: string;
22621
+ };
22622
+ Returns: number;
22623
+ };
22326
22624
  logistics_plan_impact_orders: {
22327
22625
  Args: {
22328
22626
  p_order_id: string;
@@ -22428,6 +22726,15 @@ export type Database = {
22428
22726
  };
22429
22727
  Returns: Json;
22430
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
+ };
22431
22738
  logistics_resolve_settings: {
22432
22739
  Args: {
22433
22740
  p_config_id: string;
@@ -22558,14 +22865,6 @@ export type Database = {
22558
22865
  };
22559
22866
  Returns: string;
22560
22867
  };
22561
- maps_cron_token: {
22562
- Args: never;
22563
- Returns: string;
22564
- };
22565
- maps_kick_queue: {
22566
- Args: never;
22567
- Returns: undefined;
22568
- };
22569
22868
  mark_offer_clicked: {
22570
22869
  Args: {
22571
22870
  p_code: string;
@@ -22876,6 +23175,7 @@ export type Database = {
22876
23175
  };
22877
23176
  pick_enqueue_print_job: {
22878
23177
  Args: {
23178
+ _is_herprint?: boolean;
22879
23179
  _printer_id?: string;
22880
23180
  _queue_item_id: string;
22881
23181
  _session_id?: string;
@@ -22889,6 +23189,13 @@ export type Database = {
22889
23189
  };
22890
23190
  Returns: Json;
22891
23191
  };
23192
+ pick_preview_job: {
23193
+ Args: {
23194
+ _queue_item_id: string;
23195
+ _station_slug: string;
23196
+ };
23197
+ Returns: Json;
23198
+ };
22892
23199
  pick_print_job_status: {
22893
23200
  Args: {
22894
23201
  _job_id: string;
@@ -23066,6 +23373,24 @@ export type Database = {
23066
23373
  };
23067
23374
  Returns: undefined;
23068
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
+ };
23069
23394
  process_logistics_event: {
23070
23395
  Args: {
23071
23396
  p_event_id: string;
@@ -23183,6 +23508,14 @@ export type Database = {
23183
23508
  };
23184
23509
  Returns: undefined;
23185
23510
  };
23511
+ replace_order_carts: {
23512
+ Args: {
23513
+ p_buffer_id: string;
23514
+ p_carts: Json;
23515
+ p_order_id: string;
23516
+ };
23517
+ Returns: Json;
23518
+ };
23186
23519
  reset_floriday_sync_cursor: {
23187
23520
  Args: {
23188
23521
  p_connection_id: string;
@@ -23212,6 +23545,12 @@ export type Database = {
23212
23545
  };
23213
23546
  Returns: string;
23214
23547
  };
23548
+ resolve_print_job_printer_id: {
23549
+ Args: {
23550
+ _job: Database["public"]["Tables"]["print_jobs"]["Row"];
23551
+ };
23552
+ Returns: string;
23553
+ };
23215
23554
  resolve_product_id_for_item: {
23216
23555
  Args: {
23217
23556
  p_product_name: string;