@flowselections/floriday-afhandeling-module 1.0.38 → 1.0.39

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 (38) hide show
  1. package/dist-lib/components/afhandeling/ControleLijstPrint.js +54 -54
  2. package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
  3. package/dist-lib/components/afhandeling/ControlePage.js +1 -3
  4. package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
  5. package/dist-lib/components/afhandeling/DagDetailDialog.js +5 -38
  6. package/dist-lib/components/afhandeling/LeveringenPage.d.ts.map +1 -1
  7. package/dist-lib/components/afhandeling/LeveringenPage.js +1 -1
  8. package/dist-lib/components/afhandeling/WeekAgendaView.d.ts +1 -3
  9. package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
  10. package/dist-lib/components/afhandeling/WeekAgendaView.js +6 -57
  11. package/dist-lib/components/pickstation/PakbonTemplate.js +70 -70
  12. package/dist-lib/components/settings/AfhandelingSettingsCard.d.ts.map +1 -1
  13. package/dist-lib/components/settings/AfhandelingSettingsCard.js +4 -55
  14. package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
  15. package/dist-lib/hooks/useOrderPlanning.js +6 -27
  16. package/dist-lib/integrations/supabase/auth-middleware.d.ts +108 -1
  17. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/client.server.d.ts +108 -1
  19. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  20. package/dist-lib/integrations/supabase/moduleClient.d.ts +108 -1
  21. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  22. package/dist-lib/integrations/supabase/types.d.ts +111 -1
  23. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  24. package/dist-lib/lib/afhandelingSettings.functions.d.ts +226 -4
  25. package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/carrierSignupMail.server.js +26 -26
  27. package/dist-lib/lib/carriers.functions.d.ts +540 -5
  28. package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/cartAssignments.functions.d.ts +540 -5
  30. package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/cartControl.functions.d.ts +1110 -20
  32. package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday.functions.d.ts +109 -2
  34. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/printing.d.ts +2 -11
  36. package/dist-lib/lib/printing.d.ts.map +1 -1
  37. package/dist-lib/lib/printing.js +8 -64
  38. package/package.json +1 -1
@@ -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.5";
6
+ PostgrestVersion: "14.17";
7
7
  };
8
8
  public: {
9
9
  Tables: {
@@ -16192,6 +16192,45 @@ export type Database = {
16192
16192
  };
16193
16193
  Relationships: [];
16194
16194
  };
16195
+ stock_consumption_alerts: {
16196
+ Row: {
16197
+ alert_type: string;
16198
+ created_at: string;
16199
+ id: string;
16200
+ mutation_log_id: string | null;
16201
+ order_id: string | null;
16202
+ order_item_id: string | null;
16203
+ qty: number;
16204
+ reason: string | null;
16205
+ resolved_at: string | null;
16206
+ updated_at: string;
16207
+ };
16208
+ Insert: {
16209
+ alert_type: string;
16210
+ created_at?: string;
16211
+ id?: string;
16212
+ mutation_log_id?: string | null;
16213
+ order_id?: string | null;
16214
+ order_item_id?: string | null;
16215
+ qty?: number;
16216
+ reason?: string | null;
16217
+ resolved_at?: string | null;
16218
+ updated_at?: string;
16219
+ };
16220
+ Update: {
16221
+ alert_type?: string;
16222
+ created_at?: string;
16223
+ id?: string;
16224
+ mutation_log_id?: string | null;
16225
+ order_id?: string | null;
16226
+ order_item_id?: string | null;
16227
+ qty?: number;
16228
+ reason?: string | null;
16229
+ resolved_at?: string | null;
16230
+ updated_at?: string;
16231
+ };
16232
+ Relationships: [];
16233
+ };
16195
16234
  stock_import_runs: {
16196
16235
  Row: {
16197
16236
  connection_id: string | null;
@@ -19094,6 +19133,7 @@ export type Database = {
19094
19133
  werkbon_package_items: {
19095
19134
  Row: {
19096
19135
  article_number: string | null;
19136
+ artikel_id: string | null;
19097
19137
  created_at: string;
19098
19138
  gtin: string | null;
19099
19139
  id: string;
@@ -19111,6 +19151,7 @@ export type Database = {
19111
19151
  };
19112
19152
  Insert: {
19113
19153
  article_number?: string | null;
19154
+ artikel_id?: string | null;
19114
19155
  created_at?: string;
19115
19156
  gtin?: string | null;
19116
19157
  id?: string;
@@ -19128,6 +19169,7 @@ export type Database = {
19128
19169
  };
19129
19170
  Update: {
19130
19171
  article_number?: string | null;
19172
+ artikel_id?: string | null;
19131
19173
  created_at?: string;
19132
19174
  gtin?: string | null;
19133
19175
  id?: string;
@@ -19144,6 +19186,13 @@ export type Database = {
19144
19186
  updated_at?: string;
19145
19187
  };
19146
19188
  Relationships: [
19189
+ {
19190
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
19191
+ columns: ["artikel_id"];
19192
+ isOneToOne: false;
19193
+ referencedRelation: "artikelen_cache";
19194
+ referencedColumns: ["id"];
19195
+ },
19147
19196
  {
19148
19197
  foreignKeyName: "werkbon_package_items_package_id_fkey";
19149
19198
  columns: ["package_id"];
@@ -20405,6 +20454,22 @@ export type Database = {
20405
20454
  }
20406
20455
  ];
20407
20456
  };
20457
+ v_werkbon_totalen: {
20458
+ Row: {
20459
+ packages_cents: number | null;
20460
+ packages_minutes: number | null;
20461
+ werkbon_id: string | null;
20462
+ };
20463
+ Relationships: [
20464
+ {
20465
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20466
+ columns: ["werkbon_id"];
20467
+ isOneToOne: false;
20468
+ referencedRelation: "werkbonnen";
20469
+ referencedColumns: ["id"];
20470
+ }
20471
+ ];
20472
+ };
20408
20473
  };
20409
20474
  Functions: {
20410
20475
  _floriday_schedule_job: {
@@ -21952,6 +22017,14 @@ export type Database = {
21952
22017
  };
21953
22018
  Returns: Json;
21954
22019
  };
22020
+ logistics_plan_block: {
22021
+ Args: {
22022
+ p_details?: Json;
22023
+ p_order_ids: string[];
22024
+ p_reason: string;
22025
+ };
22026
+ Returns: number;
22027
+ };
21955
22028
  logistics_plan_buffer_sql: {
21956
22029
  Args: {
21957
22030
  p_buffer_id: string;
@@ -22320,6 +22393,12 @@ export type Database = {
22320
22393
  verwijderd: number;
22321
22394
  }[];
22322
22395
  };
22396
+ order_departure_proof: {
22397
+ Args: {
22398
+ p_order_id: string;
22399
+ };
22400
+ Returns: Json;
22401
+ };
22323
22402
  order_number_prefix: {
22324
22403
  Args: {
22325
22404
  p_custom_fields?: Json;
@@ -22327,6 +22406,25 @@ export type Database = {
22327
22406
  };
22328
22407
  Returns: string;
22329
22408
  };
22409
+ pakket_suggesties_voor_tekst: {
22410
+ Args: {
22411
+ _tekst: string;
22412
+ };
22413
+ Returns: {
22414
+ hit_type: string;
22415
+ package_id: string;
22416
+ priority: number;
22417
+ }[];
22418
+ };
22419
+ pakket_voor_reistijd: {
22420
+ Args: {
22421
+ _minuten: number;
22422
+ };
22423
+ Returns: {
22424
+ package_id: string;
22425
+ priority: number;
22426
+ }[];
22427
+ };
22330
22428
  pick_active_printers: {
22331
22429
  Args: never;
22332
22430
  Returns: {
@@ -23377,6 +23475,18 @@ export type Database = {
23377
23475
  Args: never;
23378
23476
  Returns: string;
23379
23477
  };
23478
+ werkbon_totalen: {
23479
+ Args: {
23480
+ _werkbon_id: string;
23481
+ };
23482
+ Returns: {
23483
+ materials_cents: number;
23484
+ packages_cents: number;
23485
+ packages_minutes: number;
23486
+ total_cents: number;
23487
+ total_minutes: number;
23488
+ }[];
23489
+ };
23380
23490
  wo_create_from_source: {
23381
23491
  Args: {
23382
23492
  _payload?: Json;