@flowselections/mailbox-orders 1.0.12 → 1.0.13

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 (28) 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/MailboxProcessedPage.d.ts.map +1 -1
  5. package/dist-lib/components/MailboxProcessedPage.js +7 -1
  6. package/dist-lib/components/MailboxProposalsPage.d.ts.map +1 -1
  7. package/dist-lib/components/MailboxProposalsPage.js +46 -17
  8. package/dist-lib/components/TablePagination.d.ts +12 -0
  9. package/dist-lib/components/TablePagination.d.ts.map +1 -0
  10. package/dist-lib/components/TablePagination.js +14 -0
  11. package/dist-lib/index.d.ts +2 -0
  12. package/dist-lib/index.d.ts.map +1 -1
  13. package/dist-lib/index.js +2 -0
  14. package/dist-lib/integrations/supabase/client.d.ts +126 -0
  15. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  16. package/dist-lib/integrations/supabase/client.server.d.ts +126 -0
  17. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/types.d.ts +126 -0
  19. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  20. package/dist-lib/lib/mailbox-body.d.ts +26 -0
  21. package/dist-lib/lib/mailbox-body.d.ts.map +1 -1
  22. package/dist-lib/lib/mailbox-body.js +77 -1
  23. package/dist-lib/lib/mailbox-ingest.server.d.ts.map +1 -1
  24. package/dist-lib/lib/mailbox-ingest.server.js +5 -0
  25. package/dist-lib/lib/mailbox.functions.d.ts +10 -0
  26. package/dist-lib/lib/mailbox.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/mailbox.functions.js +54 -14
  28. 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;
@@ -18614,6 +18710,13 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
18614
18710
  };
18615
18711
  Returns: import("./types").Json;
18616
18712
  };
18713
+ effective_module_permission: {
18714
+ Args: {
18715
+ _module_id: string;
18716
+ _user_id: string;
18717
+ };
18718
+ Returns: string;
18719
+ };
18617
18720
  email_auth_decrypt: {
18618
18721
  Args: {
18619
18722
  cipher: string;
@@ -19752,6 +19855,13 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
19752
19855
  };
19753
19856
  Returns: undefined;
19754
19857
  };
19858
+ my_module_permissions: {
19859
+ Args: never;
19860
+ Returns: {
19861
+ module_id: string;
19862
+ permission: string;
19863
+ }[];
19864
+ };
19755
19865
  next_manufacture_partij: {
19756
19866
  Args: {
19757
19867
  _tenant_id: string;
@@ -19802,6 +19912,13 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
19802
19912
  };
19803
19913
  Returns: boolean;
19804
19914
  };
19915
+ opruim_print_historie: {
19916
+ Args: never;
19917
+ Returns: {
19918
+ ontdaan: number;
19919
+ verwijderd: number;
19920
+ }[];
19921
+ };
19805
19922
  order_number_prefix: {
19806
19923
  Args: {
19807
19924
  p_custom_fields?: import("./types").Json;
@@ -20645,6 +20762,15 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
20645
20762
  };
20646
20763
  Returns: undefined;
20647
20764
  };
20765
+ trade_item_stock_duplicates: {
20766
+ Args: never;
20767
+ Returns: {
20768
+ keys: string[];
20769
+ product_id: string;
20770
+ product_name: string;
20771
+ row_count: number;
20772
+ }[];
20773
+ };
20648
20774
  try_debtor_lock: {
20649
20775
  Args: {
20650
20776
  _group_key: string;