@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
@@ -9665,14 +9665,17 @@ export type Database = {
9665
9665
  };
9666
9666
  mailbox_messages: {
9667
9667
  Row: {
9668
+ attachments: Json;
9668
9669
  body_html: string | null;
9669
9670
  body_text: string | null;
9671
+ cc_recipients: Json;
9670
9672
  connection_id: string | null;
9671
9673
  created_at: string;
9672
9674
  error_message: string | null;
9673
9675
  external_id: string | null;
9674
9676
  from_email: string | null;
9675
9677
  from_name: string | null;
9678
+ has_attachments: boolean;
9676
9679
  id: string;
9677
9680
  message_id: string | null;
9678
9681
  profile_id: string | null;
@@ -9680,18 +9683,22 @@ export type Database = {
9680
9683
  received_at: string | null;
9681
9684
  status: string;
9682
9685
  subject: string | null;
9686
+ to_recipients: Json;
9683
9687
  uid: number | null;
9684
9688
  updated_at: string;
9685
9689
  };
9686
9690
  Insert: {
9691
+ attachments?: Json;
9687
9692
  body_html?: string | null;
9688
9693
  body_text?: string | null;
9694
+ cc_recipients?: Json;
9689
9695
  connection_id?: string | null;
9690
9696
  created_at?: string;
9691
9697
  error_message?: string | null;
9692
9698
  external_id?: string | null;
9693
9699
  from_email?: string | null;
9694
9700
  from_name?: string | null;
9701
+ has_attachments?: boolean;
9695
9702
  id?: string;
9696
9703
  message_id?: string | null;
9697
9704
  profile_id?: string | null;
@@ -9699,18 +9706,22 @@ export type Database = {
9699
9706
  received_at?: string | null;
9700
9707
  status?: string;
9701
9708
  subject?: string | null;
9709
+ to_recipients?: Json;
9702
9710
  uid?: number | null;
9703
9711
  updated_at?: string;
9704
9712
  };
9705
9713
  Update: {
9714
+ attachments?: Json;
9706
9715
  body_html?: string | null;
9707
9716
  body_text?: string | null;
9717
+ cc_recipients?: Json;
9708
9718
  connection_id?: string | null;
9709
9719
  created_at?: string;
9710
9720
  error_message?: string | null;
9711
9721
  external_id?: string | null;
9712
9722
  from_email?: string | null;
9713
9723
  from_name?: string | null;
9724
+ has_attachments?: boolean;
9714
9725
  id?: string;
9715
9726
  message_id?: string | null;
9716
9727
  profile_id?: string | null;
@@ -9718,6 +9729,7 @@ export type Database = {
9718
9729
  received_at?: string | null;
9719
9730
  status?: string;
9720
9731
  subject?: string | null;
9732
+ to_recipients?: Json;
9721
9733
  uid?: number | null;
9722
9734
  updated_at?: string;
9723
9735
  };
@@ -10142,6 +10154,36 @@ export type Database = {
10142
10154
  };
10143
10155
  Relationships: [];
10144
10156
  };
10157
+ module_registry: {
10158
+ Row: {
10159
+ created_at: string;
10160
+ is_active: boolean;
10161
+ last_seen_at: string;
10162
+ module_id: string;
10163
+ name: string;
10164
+ shell_id: string | null;
10165
+ sort_order: number | null;
10166
+ };
10167
+ Insert: {
10168
+ created_at?: string;
10169
+ is_active?: boolean;
10170
+ last_seen_at?: string;
10171
+ module_id: string;
10172
+ name: string;
10173
+ shell_id?: string | null;
10174
+ sort_order?: number | null;
10175
+ };
10176
+ Update: {
10177
+ created_at?: string;
10178
+ is_active?: boolean;
10179
+ last_seen_at?: string;
10180
+ module_id?: string;
10181
+ name?: string;
10182
+ shell_id?: string | null;
10183
+ sort_order?: number | null;
10184
+ };
10185
+ Relationships: [];
10186
+ };
10145
10187
  module_runtime_config: {
10146
10188
  Row: {
10147
10189
  key: string;
@@ -12846,6 +12888,33 @@ export type Database = {
12846
12888
  };
12847
12889
  Relationships: [];
12848
12890
  };
12891
+ print_queue_settings: {
12892
+ Row: {
12893
+ bewaar_bestanden_dagen: number;
12894
+ bewaar_opdrachten_dagen: number;
12895
+ created_at: string;
12896
+ dubbel_venster_minuten: number;
12897
+ id: string;
12898
+ updated_at: string;
12899
+ };
12900
+ Insert: {
12901
+ bewaar_bestanden_dagen?: number;
12902
+ bewaar_opdrachten_dagen?: number;
12903
+ created_at?: string;
12904
+ dubbel_venster_minuten?: number;
12905
+ id?: string;
12906
+ updated_at?: string;
12907
+ };
12908
+ Update: {
12909
+ bewaar_bestanden_dagen?: number;
12910
+ bewaar_opdrachten_dagen?: number;
12911
+ created_at?: string;
12912
+ dubbel_venster_minuten?: number;
12913
+ id?: string;
12914
+ updated_at?: string;
12915
+ };
12916
+ Relationships: [];
12917
+ };
12849
12918
  print_rules: {
12850
12919
  Row: {
12851
12920
  actief: boolean;
@@ -16897,6 +16966,33 @@ export type Database = {
16897
16966
  }
16898
16967
  ];
16899
16968
  };
16969
+ user_module_permissions: {
16970
+ Row: {
16971
+ created_at: string;
16972
+ id: string;
16973
+ module_id: string;
16974
+ permission: string;
16975
+ updated_at: string;
16976
+ user_id: string;
16977
+ };
16978
+ Insert: {
16979
+ created_at?: string;
16980
+ id?: string;
16981
+ module_id: string;
16982
+ permission: string;
16983
+ updated_at?: string;
16984
+ user_id: string;
16985
+ };
16986
+ Update: {
16987
+ created_at?: string;
16988
+ id?: string;
16989
+ module_id?: string;
16990
+ permission?: string;
16991
+ updated_at?: string;
16992
+ user_id?: string;
16993
+ };
16994
+ Relationships: [];
16995
+ };
16900
16996
  user_roles: {
16901
16997
  Row: {
16902
16998
  created_at: string;
@@ -19123,6 +19219,13 @@ export type Database = {
19123
19219
  };
19124
19220
  Returns: Json;
19125
19221
  };
19222
+ effective_module_permission: {
19223
+ Args: {
19224
+ _module_id: string;
19225
+ _user_id: string;
19226
+ };
19227
+ Returns: string;
19228
+ };
19126
19229
  email_auth_decrypt: {
19127
19230
  Args: {
19128
19231
  cipher: string;
@@ -20261,6 +20364,13 @@ export type Database = {
20261
20364
  };
20262
20365
  Returns: undefined;
20263
20366
  };
20367
+ my_module_permissions: {
20368
+ Args: never;
20369
+ Returns: {
20370
+ module_id: string;
20371
+ permission: string;
20372
+ }[];
20373
+ };
20264
20374
  next_manufacture_partij: {
20265
20375
  Args: {
20266
20376
  _tenant_id: string;
@@ -20311,6 +20421,13 @@ export type Database = {
20311
20421
  };
20312
20422
  Returns: boolean;
20313
20423
  };
20424
+ opruim_print_historie: {
20425
+ Args: never;
20426
+ Returns: {
20427
+ ontdaan: number;
20428
+ verwijderd: number;
20429
+ }[];
20430
+ };
20314
20431
  order_number_prefix: {
20315
20432
  Args: {
20316
20433
  p_custom_fields?: Json;
@@ -21154,6 +21271,15 @@ export type Database = {
21154
21271
  };
21155
21272
  Returns: undefined;
21156
21273
  };
21274
+ trade_item_stock_duplicates: {
21275
+ Args: never;
21276
+ Returns: {
21277
+ keys: string[];
21278
+ product_id: string;
21279
+ product_name: string;
21280
+ row_count: number;
21281
+ }[];
21282
+ };
21157
21283
  try_debtor_lock: {
21158
21284
  Args: {
21159
21285
  _group_key: string;