@flowselections/mailbox-orders 1.0.12 → 1.0.14

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 (31) hide show
  1. package/dist-lib/components/EmailPreview.d.ts +26 -0
  2. package/dist-lib/components/EmailPreview.d.ts.map +1 -0
  3. package/dist-lib/components/EmailPreview.js +56 -0
  4. package/dist-lib/components/MailboxFilterBar.d.ts +31 -0
  5. package/dist-lib/components/MailboxFilterBar.d.ts.map +1 -0
  6. package/dist-lib/components/MailboxFilterBar.js +67 -0
  7. package/dist-lib/components/MailboxProcessedPage.d.ts.map +1 -1
  8. package/dist-lib/components/MailboxProcessedPage.js +45 -3
  9. package/dist-lib/components/MailboxProposalsPage.d.ts.map +1 -1
  10. package/dist-lib/components/MailboxProposalsPage.js +77 -38
  11. package/dist-lib/components/TablePagination.d.ts +12 -0
  12. package/dist-lib/components/TablePagination.d.ts.map +1 -0
  13. package/dist-lib/components/TablePagination.js +14 -0
  14. package/dist-lib/index.d.ts +3 -0
  15. package/dist-lib/index.d.ts.map +1 -1
  16. package/dist-lib/index.js +3 -0
  17. package/dist-lib/integrations/supabase/client.d.ts +140 -0
  18. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  19. package/dist-lib/integrations/supabase/client.server.d.ts +140 -0
  20. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  21. package/dist-lib/integrations/supabase/types.d.ts +140 -0
  22. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  23. package/dist-lib/lib/mailbox-body.d.ts +26 -0
  24. package/dist-lib/lib/mailbox-body.d.ts.map +1 -1
  25. package/dist-lib/lib/mailbox-body.js +77 -1
  26. package/dist-lib/lib/mailbox-ingest.server.d.ts.map +1 -1
  27. package/dist-lib/lib/mailbox-ingest.server.js +5 -0
  28. package/dist-lib/lib/mailbox.functions.d.ts +10 -0
  29. package/dist-lib/lib/mailbox.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/mailbox.functions.js +63 -11
  31. package/package.json +1 -1
@@ -9418,14 +9418,17 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
9418
9418
  };
9419
9419
  mailbox_messages: {
9420
9420
  Row: {
9421
+ attachments: import("./types").Json;
9421
9422
  body_html: string | null;
9422
9423
  body_text: string | null;
9424
+ cc_recipients: import("./types").Json;
9423
9425
  connection_id: string | null;
9424
9426
  created_at: string;
9425
9427
  error_message: string | null;
9426
9428
  external_id: string | null;
9427
9429
  from_email: string | null;
9428
9430
  from_name: string | null;
9431
+ has_attachments: boolean;
9429
9432
  id: string;
9430
9433
  message_id: string | null;
9431
9434
  profile_id: string | null;
@@ -9433,18 +9436,22 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
9433
9436
  received_at: string | null;
9434
9437
  status: string;
9435
9438
  subject: string | null;
9439
+ to_recipients: import("./types").Json;
9436
9440
  uid: number | null;
9437
9441
  updated_at: string;
9438
9442
  };
9439
9443
  Insert: {
9444
+ attachments?: import("./types").Json;
9440
9445
  body_html?: string | null;
9441
9446
  body_text?: string | null;
9447
+ cc_recipients?: import("./types").Json;
9442
9448
  connection_id?: string | null;
9443
9449
  created_at?: string;
9444
9450
  error_message?: string | null;
9445
9451
  external_id?: string | null;
9446
9452
  from_email?: string | null;
9447
9453
  from_name?: string | null;
9454
+ has_attachments?: boolean;
9448
9455
  id?: string;
9449
9456
  message_id?: string | null;
9450
9457
  profile_id?: string | null;
@@ -9452,18 +9459,22 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
9452
9459
  received_at?: string | null;
9453
9460
  status?: string;
9454
9461
  subject?: string | null;
9462
+ to_recipients?: import("./types").Json;
9455
9463
  uid?: number | null;
9456
9464
  updated_at?: string;
9457
9465
  };
9458
9466
  Update: {
9467
+ attachments?: import("./types").Json;
9459
9468
  body_html?: string | null;
9460
9469
  body_text?: string | null;
9470
+ cc_recipients?: import("./types").Json;
9461
9471
  connection_id?: string | null;
9462
9472
  created_at?: string;
9463
9473
  error_message?: string | null;
9464
9474
  external_id?: string | null;
9465
9475
  from_email?: string | null;
9466
9476
  from_name?: string | null;
9477
+ has_attachments?: boolean;
9467
9478
  id?: string;
9468
9479
  message_id?: string | null;
9469
9480
  profile_id?: string | null;
@@ -9471,6 +9482,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
9471
9482
  received_at?: string | null;
9472
9483
  status?: string;
9473
9484
  subject?: string | null;
9485
+ to_recipients?: import("./types").Json;
9474
9486
  uid?: number | null;
9475
9487
  updated_at?: string;
9476
9488
  };
@@ -9878,6 +9890,36 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
9878
9890
  };
9879
9891
  Relationships: [];
9880
9892
  };
9893
+ module_registry: {
9894
+ Row: {
9895
+ created_at: string;
9896
+ is_active: boolean;
9897
+ last_seen_at: string;
9898
+ module_id: string;
9899
+ name: string;
9900
+ shell_id: string | null;
9901
+ sort_order: number | null;
9902
+ };
9903
+ Insert: {
9904
+ created_at?: string;
9905
+ is_active?: boolean;
9906
+ last_seen_at?: string;
9907
+ module_id: string;
9908
+ name: string;
9909
+ shell_id?: string | null;
9910
+ sort_order?: number | null;
9911
+ };
9912
+ Update: {
9913
+ created_at?: string;
9914
+ is_active?: boolean;
9915
+ last_seen_at?: string;
9916
+ module_id?: string;
9917
+ name?: string;
9918
+ shell_id?: string | null;
9919
+ sort_order?: number | null;
9920
+ };
9921
+ Relationships: [];
9922
+ };
9881
9923
  module_runtime_config: {
9882
9924
  Row: {
9883
9925
  key: string;
@@ -12488,6 +12530,33 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
12488
12530
  };
12489
12531
  Relationships: [];
12490
12532
  };
12533
+ print_queue_settings: {
12534
+ Row: {
12535
+ bewaar_bestanden_dagen: number;
12536
+ bewaar_opdrachten_dagen: number;
12537
+ created_at: string;
12538
+ dubbel_venster_minuten: number;
12539
+ id: string;
12540
+ updated_at: string;
12541
+ };
12542
+ Insert: {
12543
+ bewaar_bestanden_dagen?: number;
12544
+ bewaar_opdrachten_dagen?: number;
12545
+ created_at?: string;
12546
+ dubbel_venster_minuten?: number;
12547
+ id?: string;
12548
+ updated_at?: string;
12549
+ };
12550
+ Update: {
12551
+ bewaar_bestanden_dagen?: number;
12552
+ bewaar_opdrachten_dagen?: number;
12553
+ created_at?: string;
12554
+ dubbel_venster_minuten?: number;
12555
+ id?: string;
12556
+ updated_at?: string;
12557
+ };
12558
+ Relationships: [];
12559
+ };
12491
12560
  print_rules: {
12492
12561
  Row: {
12493
12562
  actief: boolean;
@@ -16430,6 +16499,33 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
16430
16499
  referencedColumns: ["id"];
16431
16500
  }];
16432
16501
  };
16502
+ user_module_permissions: {
16503
+ Row: {
16504
+ created_at: string;
16505
+ id: string;
16506
+ module_id: string;
16507
+ permission: string;
16508
+ updated_at: string;
16509
+ user_id: string;
16510
+ };
16511
+ Insert: {
16512
+ created_at?: string;
16513
+ id?: string;
16514
+ module_id: string;
16515
+ permission: string;
16516
+ updated_at?: string;
16517
+ user_id: string;
16518
+ };
16519
+ Update: {
16520
+ created_at?: string;
16521
+ id?: string;
16522
+ module_id?: string;
16523
+ permission?: string;
16524
+ updated_at?: string;
16525
+ user_id?: string;
16526
+ };
16527
+ Relationships: [];
16528
+ };
16433
16529
  user_roles: {
16434
16530
  Row: {
16435
16531
  created_at: string;
@@ -18493,6 +18589,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
18493
18589
  Args: never;
18494
18590
  Returns: undefined;
18495
18591
  };
18592
+ cleanup_voorraad_module_history: {
18593
+ Args: never;
18594
+ Returns: undefined;
18595
+ };
18496
18596
  complete_floriday_stock_queue: {
18497
18597
  Args: {
18498
18598
  p_attempt_id?: string;
@@ -18614,6 +18714,13 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
18614
18714
  };
18615
18715
  Returns: import("./types").Json;
18616
18716
  };
18717
+ effective_module_permission: {
18718
+ Args: {
18719
+ _module_id: string;
18720
+ _user_id: string;
18721
+ };
18722
+ Returns: string;
18723
+ };
18617
18724
  email_auth_decrypt: {
18618
18725
  Args: {
18619
18726
  cipher: string;
@@ -19752,6 +19859,13 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
19752
19859
  };
19753
19860
  Returns: undefined;
19754
19861
  };
19862
+ my_module_permissions: {
19863
+ Args: never;
19864
+ Returns: {
19865
+ module_id: string;
19866
+ permission: string;
19867
+ }[];
19868
+ };
19755
19869
  next_manufacture_partij: {
19756
19870
  Args: {
19757
19871
  _tenant_id: string;
@@ -19802,6 +19916,13 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
19802
19916
  };
19803
19917
  Returns: boolean;
19804
19918
  };
19919
+ opruim_print_historie: {
19920
+ Args: never;
19921
+ Returns: {
19922
+ ontdaan: number;
19923
+ verwijderd: number;
19924
+ }[];
19925
+ };
19805
19926
  order_number_prefix: {
19806
19927
  Args: {
19807
19928
  p_custom_fields?: import("./types").Json;
@@ -20196,6 +20317,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
20196
20317
  };
20197
20318
  Returns: undefined;
20198
20319
  };
20320
+ reset_stalled_floriday_stock_queue: {
20321
+ Args: {
20322
+ p_include_failed?: boolean;
20323
+ };
20324
+ Returns: number;
20325
+ };
20199
20326
  resolve_group_allocation: {
20200
20327
  Args: {
20201
20328
  _needed: number;
@@ -20250,6 +20377,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
20250
20377
  Args: never;
20251
20378
  Returns: undefined;
20252
20379
  };
20380
+ run_floriday_stock_queue_process: {
20381
+ Args: never;
20382
+ Returns: undefined;
20383
+ };
20253
20384
  run_logistics_tasks_dispatch: {
20254
20385
  Args: never;
20255
20386
  Returns: undefined;
@@ -20645,6 +20776,15 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
20645
20776
  };
20646
20777
  Returns: undefined;
20647
20778
  };
20779
+ trade_item_stock_duplicates: {
20780
+ Args: never;
20781
+ Returns: {
20782
+ keys: string[];
20783
+ product_id: string;
20784
+ product_name: string;
20785
+ row_count: number;
20786
+ }[];
20787
+ };
20648
20788
  try_debtor_lock: {
20649
20789
  Args: {
20650
20790
  _group_key: string;