@flowselections/mailbox-orders 1.0.10 → 1.0.11

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 (44) hide show
  1. package/dist-lib/components/MailboxProposalsPage.d.ts +16 -0
  2. package/dist-lib/components/MailboxProposalsPage.d.ts.map +1 -1
  3. package/dist-lib/components/MailboxProposalsPage.js +101 -10
  4. package/dist-lib/integrations/supabase/client.d.ts +162 -4
  5. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  6. package/dist-lib/integrations/supabase/client.server.d.ts +162 -4
  7. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  8. package/dist-lib/integrations/supabase/types.d.ts +163 -5
  9. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  10. package/dist-lib/integrations/supabase/types.js +12 -1
  11. package/dist-lib/lib/ai-config.server.d.ts +14 -0
  12. package/dist-lib/lib/ai-config.server.d.ts.map +1 -1
  13. package/dist-lib/lib/ai-config.server.js +32 -19
  14. package/dist-lib/lib/mailbox-ai.server.d.ts +7 -0
  15. package/dist-lib/lib/mailbox-ai.server.d.ts.map +1 -1
  16. package/dist-lib/lib/mailbox-ai.server.js +83 -38
  17. package/dist-lib/lib/mailbox-ingest.server.d.ts +13 -0
  18. package/dist-lib/lib/mailbox-ingest.server.d.ts.map +1 -1
  19. package/dist-lib/lib/mailbox-ingest.server.js +77 -12
  20. package/dist-lib/lib/mailbox.functions.d.ts +23 -5
  21. package/dist-lib/lib/mailbox.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/mailbox.functions.js +97 -4
  23. package/package.json +2 -2
  24. package/dist-lib/components/CartAssignmentWizard.d.ts +0 -6
  25. package/dist-lib/components/CartAssignmentWizard.d.ts.map +0 -1
  26. package/dist-lib/components/CartAssignmentWizard.js +0 -199
  27. package/dist-lib/components/MailboxInboxPage.d.ts +0 -2
  28. package/dist-lib/components/MailboxInboxPage.d.ts.map +0 -1
  29. package/dist-lib/components/MailboxInboxPage.js +0 -120
  30. package/dist-lib/components/settings/ImapAccountsCard.d.ts +0 -2
  31. package/dist-lib/components/settings/ImapAccountsCard.d.ts.map +0 -1
  32. package/dist-lib/components/settings/ImapAccountsCard.js +0 -136
  33. package/dist-lib/components/settings/ImapProfilesCard.d.ts +0 -2
  34. package/dist-lib/components/settings/ImapProfilesCard.d.ts.map +0 -1
  35. package/dist-lib/components/settings/ImapProfilesCard.js +0 -101
  36. package/dist-lib/components/settings/MailboxSettingsCard.d.ts +0 -2
  37. package/dist-lib/components/settings/MailboxSettingsCard.d.ts.map +0 -1
  38. package/dist-lib/components/settings/MailboxSettingsCard.js +0 -85
  39. package/dist-lib/lib/imap.functions.d.ts +0 -32852
  40. package/dist-lib/lib/imap.functions.d.ts.map +0 -1
  41. package/dist-lib/lib/imap.functions.js +0 -235
  42. package/dist-lib/lib/mailbox-auto.server.d.ts +0 -9
  43. package/dist-lib/lib/mailbox-auto.server.d.ts.map +0 -1
  44. package/dist-lib/lib/mailbox-auto.server.js +0 -198
@@ -1684,7 +1684,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
1684
1684
  city: string | null;
1685
1685
  country: string | null;
1686
1686
  created_at: string;
1687
- customer_id: string | null;
1687
+ customer_id: string;
1688
1688
  external_key: string | null;
1689
1689
  external_provider: string | null;
1690
1690
  floriday_location_id: string | null;
@@ -1708,7 +1708,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
1708
1708
  city?: string | null;
1709
1709
  country?: string | null;
1710
1710
  created_at?: string;
1711
- customer_id?: string | null;
1711
+ customer_id: string;
1712
1712
  external_key?: string | null;
1713
1713
  external_provider?: string | null;
1714
1714
  floriday_location_id?: string | null;
@@ -1732,7 +1732,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
1732
1732
  city?: string | null;
1733
1733
  country?: string | null;
1734
1734
  created_at?: string;
1735
- customer_id?: string | null;
1735
+ customer_id?: string;
1736
1736
  external_key?: string | null;
1737
1737
  external_provider?: string | null;
1738
1738
  floriday_location_id?: string | null;
@@ -12357,22 +12357,27 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
12357
12357
  created_at: string;
12358
12358
  documentnaam: string;
12359
12359
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
12360
+ extern_job_id: string | null;
12360
12361
  foutmelding: string | null;
12361
12362
  gebruiker_id: string | null;
12362
12363
  gebruiker_naam: string;
12363
12364
  gestart_op: string | null;
12364
12365
  id: string;
12366
+ idempotentie_sleutel: string | null;
12365
12367
  is_herprint: boolean;
12366
12368
  kopieen: number;
12367
12369
  layout_id: string | null;
12368
12370
  opgepakt_op: string | null;
12369
12371
  paginas: number;
12370
12372
  payload: import("./types").Json;
12373
+ pdf_base64: string | null;
12374
+ pdf_url: string | null;
12371
12375
  pogingen: number;
12372
12376
  printer_id: string | null;
12373
12377
  render_html: string | null;
12374
12378
  status: Database["public"]["Enums"]["print_job_status"];
12375
12379
  updated_at: string;
12380
+ volgende_poging: string | null;
12376
12381
  voltooid_op: string | null;
12377
12382
  };
12378
12383
  Insert: {
@@ -12381,22 +12386,27 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
12381
12386
  created_at?: string;
12382
12387
  documentnaam?: string;
12383
12388
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
12389
+ extern_job_id?: string | null;
12384
12390
  foutmelding?: string | null;
12385
12391
  gebruiker_id?: string | null;
12386
12392
  gebruiker_naam?: string;
12387
12393
  gestart_op?: string | null;
12388
12394
  id?: string;
12395
+ idempotentie_sleutel?: string | null;
12389
12396
  is_herprint?: boolean;
12390
12397
  kopieen?: number;
12391
12398
  layout_id?: string | null;
12392
12399
  opgepakt_op?: string | null;
12393
12400
  paginas?: number;
12394
12401
  payload?: import("./types").Json;
12402
+ pdf_base64?: string | null;
12403
+ pdf_url?: string | null;
12395
12404
  pogingen?: number;
12396
12405
  printer_id?: string | null;
12397
12406
  render_html?: string | null;
12398
12407
  status?: Database["public"]["Enums"]["print_job_status"];
12399
12408
  updated_at?: string;
12409
+ volgende_poging?: string | null;
12400
12410
  voltooid_op?: string | null;
12401
12411
  };
12402
12412
  Update: {
@@ -12405,22 +12415,27 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
12405
12415
  created_at?: string;
12406
12416
  documentnaam?: string;
12407
12417
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
12418
+ extern_job_id?: string | null;
12408
12419
  foutmelding?: string | null;
12409
12420
  gebruiker_id?: string | null;
12410
12421
  gebruiker_naam?: string;
12411
12422
  gestart_op?: string | null;
12412
12423
  id?: string;
12424
+ idempotentie_sleutel?: string | null;
12413
12425
  is_herprint?: boolean;
12414
12426
  kopieen?: number;
12415
12427
  layout_id?: string | null;
12416
12428
  opgepakt_op?: string | null;
12417
12429
  paginas?: number;
12418
12430
  payload?: import("./types").Json;
12431
+ pdf_base64?: string | null;
12432
+ pdf_url?: string | null;
12419
12433
  pogingen?: number;
12420
12434
  printer_id?: string | null;
12421
12435
  render_html?: string | null;
12422
12436
  status?: Database["public"]["Enums"]["print_job_status"];
12423
12437
  updated_at?: string;
12438
+ volgende_poging?: string | null;
12424
12439
  voltooid_op?: string | null;
12425
12440
  };
12426
12441
  Relationships: [{
@@ -12443,6 +12458,36 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
12443
12458
  referencedColumns: ["id"];
12444
12459
  }];
12445
12460
  };
12461
+ print_queue_runners: {
12462
+ Row: {
12463
+ actief: boolean;
12464
+ basis_url: string;
12465
+ created_at: string;
12466
+ id: string;
12467
+ laatst_gezien: string;
12468
+ tick_sleutel: string;
12469
+ updated_at: string;
12470
+ };
12471
+ Insert: {
12472
+ actief?: boolean;
12473
+ basis_url: string;
12474
+ created_at?: string;
12475
+ id?: string;
12476
+ laatst_gezien?: string;
12477
+ tick_sleutel?: string;
12478
+ updated_at?: string;
12479
+ };
12480
+ Update: {
12481
+ actief?: boolean;
12482
+ basis_url?: string;
12483
+ created_at?: string;
12484
+ id?: string;
12485
+ laatst_gezien?: string;
12486
+ tick_sleutel?: string;
12487
+ updated_at?: string;
12488
+ };
12489
+ Relationships: [];
12490
+ };
12446
12491
  print_rules: {
12447
12492
  Row: {
12448
12493
  actief: boolean;
@@ -12603,6 +12648,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
12603
12648
  agent_id: string | null;
12604
12649
  created_at: string;
12605
12650
  driver: string;
12651
+ extern_printer_id: string | null;
12606
12652
  id: string;
12607
12653
  ip_adres: string | null;
12608
12654
  laatst_gezien: string | null;
@@ -12624,6 +12670,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
12624
12670
  agent_id?: string | null;
12625
12671
  created_at?: string;
12626
12672
  driver?: string;
12673
+ extern_printer_id?: string | null;
12627
12674
  id?: string;
12628
12675
  ip_adres?: string | null;
12629
12676
  laatst_gezien?: string | null;
@@ -12645,6 +12692,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
12645
12692
  agent_id?: string | null;
12646
12693
  created_at?: string;
12647
12694
  driver?: string;
12695
+ extern_printer_id?: string | null;
12648
12696
  id?: string;
12649
12697
  ip_adres?: string | null;
12650
12698
  laatst_gezien?: string | null;
@@ -18249,6 +18297,46 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
18249
18297
  };
18250
18298
  Returns: import("./types").Json;
18251
18299
  };
18300
+ claim_cloud_print_jobs: {
18301
+ Args: {
18302
+ _max?: number;
18303
+ };
18304
+ Returns: {
18305
+ agent_id: string | null;
18306
+ bron_job_id: string | null;
18307
+ created_at: string;
18308
+ documentnaam: string;
18309
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
18310
+ extern_job_id: string | null;
18311
+ foutmelding: string | null;
18312
+ gebruiker_id: string | null;
18313
+ gebruiker_naam: string;
18314
+ gestart_op: string | null;
18315
+ id: string;
18316
+ idempotentie_sleutel: string | null;
18317
+ is_herprint: boolean;
18318
+ kopieen: number;
18319
+ layout_id: string | null;
18320
+ opgepakt_op: string | null;
18321
+ paginas: number;
18322
+ payload: import("./types").Json;
18323
+ pdf_base64: string | null;
18324
+ pdf_url: string | null;
18325
+ pogingen: number;
18326
+ printer_id: string | null;
18327
+ render_html: string | null;
18328
+ status: Database["public"]["Enums"]["print_job_status"];
18329
+ updated_at: string;
18330
+ volgende_poging: string | null;
18331
+ voltooid_op: string | null;
18332
+ }[];
18333
+ SetofOptions: {
18334
+ from: "*";
18335
+ to: "print_jobs";
18336
+ isOneToOne: false;
18337
+ isSetofReturn: true;
18338
+ };
18339
+ };
18252
18340
  claim_floriday_stock_queue: {
18253
18341
  Args: {
18254
18342
  p_limit?: number;
@@ -18339,22 +18427,27 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
18339
18427
  created_at: string;
18340
18428
  documentnaam: string;
18341
18429
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
18430
+ extern_job_id: string | null;
18342
18431
  foutmelding: string | null;
18343
18432
  gebruiker_id: string | null;
18344
18433
  gebruiker_naam: string;
18345
18434
  gestart_op: string | null;
18346
18435
  id: string;
18436
+ idempotentie_sleutel: string | null;
18347
18437
  is_herprint: boolean;
18348
18438
  kopieen: number;
18349
18439
  layout_id: string | null;
18350
18440
  opgepakt_op: string | null;
18351
18441
  paginas: number;
18352
18442
  payload: import("./types").Json;
18443
+ pdf_base64: string | null;
18444
+ pdf_url: string | null;
18353
18445
  pogingen: number;
18354
18446
  printer_id: string | null;
18355
18447
  render_html: string | null;
18356
18448
  status: Database["public"]["Enums"]["print_job_status"];
18357
18449
  updated_at: string;
18450
+ volgende_poging: string | null;
18358
18451
  voltooid_op: string | null;
18359
18452
  }[];
18360
18453
  SetofOptions: {
@@ -19716,6 +19809,15 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
19716
19809
  };
19717
19810
  Returns: string;
19718
19811
  };
19812
+ pick_active_printers: {
19813
+ Args: never;
19814
+ Returns: {
19815
+ id: string;
19816
+ locatie: string;
19817
+ naam: string;
19818
+ online: boolean;
19819
+ }[];
19820
+ };
19719
19821
  pick_claim_document: {
19720
19822
  Args: {
19721
19823
  _queue_item_id: string;
@@ -19902,6 +20004,52 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
19902
20004
  };
19903
20005
  Returns: undefined;
19904
20006
  };
20007
+ pick_reset_print: {
20008
+ Args: {
20009
+ _queue_item_id: string;
20010
+ _session_id: string;
20011
+ };
20012
+ Returns: {
20013
+ announced_at: string;
20014
+ assigned_user_id: string | null;
20015
+ barcode: string | null;
20016
+ cancelled_at: string | null;
20017
+ cart_count: number;
20018
+ completed_at: string | null;
20019
+ country_code: string | null;
20020
+ created_at: string;
20021
+ customer_name: string | null;
20022
+ delivery_address: string | null;
20023
+ document_number: string | null;
20024
+ document_type_id: string | null;
20025
+ due_at: string | null;
20026
+ id: string;
20027
+ is_urgent: boolean;
20028
+ line_count: number;
20029
+ order_number: string | null;
20030
+ order_type: string | null;
20031
+ payload: import("./types").Json;
20032
+ print_count: number;
20033
+ print_job_id: string | null;
20034
+ printed_at: string | null;
20035
+ printed_by: string | null;
20036
+ printer_id: string | null;
20037
+ priority: number;
20038
+ reference: string | null;
20039
+ route: string | null;
20040
+ screen_id: string | null;
20041
+ station_id: string | null;
20042
+ status_id: string | null;
20043
+ updated_at: string;
20044
+ warnings: import("./types").Json;
20045
+ };
20046
+ SetofOptions: {
20047
+ from: "*";
20048
+ to: "pick_queue";
20049
+ isOneToOne: true;
20050
+ isSetofReturn: false;
20051
+ };
20052
+ };
19905
20053
  pick_station_dashboard: {
19906
20054
  Args: never;
19907
20055
  Returns: {
@@ -20092,6 +20240,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
20092
20240
  };
20093
20241
  Returns: import("./types").Json;
20094
20242
  };
20243
+ ruim_print_jobs_op: {
20244
+ Args: {
20245
+ _bewaar_dagen?: number;
20246
+ };
20247
+ Returns: number;
20248
+ };
20095
20249
  run_floriday_continuous_stock_sync: {
20096
20250
  Args: never;
20097
20251
  Returns: undefined;
@@ -20100,6 +20254,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
20100
20254
  Args: never;
20101
20255
  Returns: undefined;
20102
20256
  };
20257
+ run_print_queue_ticks: {
20258
+ Args: never;
20259
+ Returns: number;
20260
+ };
20103
20261
  run_twinfield_queue_tick: {
20104
20262
  Args: never;
20105
20263
  Returns: undefined;
@@ -20536,7 +20694,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
20536
20694
  };
20537
20695
  Enums: {
20538
20696
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
20539
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
20697
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
20540
20698
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
20541
20699
  doc_orientation: "portrait" | "landscape";
20542
20700
  exact_env: "staging" | "live";