@flowselections/layout-maker 1.13.1 → 1.19.0

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 (86) hide show
  1. package/dist-lib/components/AfdrukKnop.d.ts +5 -0
  2. package/dist-lib/components/AfdrukKnop.d.ts.map +1 -1
  3. package/dist-lib/components/AfdrukKnop.js +5 -0
  4. package/dist-lib/components/DocumentRouteringPage.d.ts +3 -1
  5. package/dist-lib/components/DocumentRouteringPage.d.ts.map +1 -1
  6. package/dist-lib/components/DocumentRouteringPage.js +66 -64
  7. package/dist-lib/components/DocumentenPage.d.ts +4 -0
  8. package/dist-lib/components/DocumentenPage.d.ts.map +1 -0
  9. package/dist-lib/components/DocumentenPage.js +16 -0
  10. package/dist-lib/components/LayoutsPage.d.ts +3 -1
  11. package/dist-lib/components/LayoutsPage.d.ts.map +1 -1
  12. package/dist-lib/components/LayoutsPage.js +3 -2
  13. package/dist-lib/components/LayoutsPrintersTabPage.d.ts +2 -0
  14. package/dist-lib/components/LayoutsPrintersTabPage.d.ts.map +1 -0
  15. package/dist-lib/components/LayoutsPrintersTabPage.js +32 -0
  16. package/dist-lib/components/LogosPage.d.ts +3 -1
  17. package/dist-lib/components/LogosPage.d.ts.map +1 -1
  18. package/dist-lib/components/LogosPage.js +3 -2
  19. package/dist-lib/components/ModuleTabs.d.ts +19 -0
  20. package/dist-lib/components/ModuleTabs.d.ts.map +1 -0
  21. package/dist-lib/components/ModuleTabs.js +17 -0
  22. package/dist-lib/components/PakbonBuilderPage.d.ts.map +1 -1
  23. package/dist-lib/components/PakbonBuilderPage.js +30 -4
  24. package/dist-lib/components/PrintQueuePage.d.ts.map +1 -1
  25. package/dist-lib/components/PrintQueuePage.js +15 -2
  26. package/dist-lib/components/PrintenPage.d.ts +4 -0
  27. package/dist-lib/components/PrintenPage.d.ts.map +1 -0
  28. package/dist-lib/components/PrintenPage.js +21 -0
  29. package/dist-lib/components/PrinterSetupWizard.js +3 -3
  30. package/dist-lib/components/PrintersPage.d.ts +3 -1
  31. package/dist-lib/components/PrintersPage.d.ts.map +1 -1
  32. package/dist-lib/components/PrintersPage.js +20 -38
  33. package/dist-lib/components/PrintersRedirectPage.d.ts +2 -0
  34. package/dist-lib/components/PrintersRedirectPage.d.ts.map +1 -0
  35. package/dist-lib/components/PrintersRedirectPage.js +14 -0
  36. package/dist-lib/components/PrintplekDetailPage.d.ts +2 -0
  37. package/dist-lib/components/PrintplekDetailPage.d.ts.map +1 -0
  38. package/dist-lib/components/PrintplekDetailPage.js +81 -0
  39. package/dist-lib/components/PrintplekWizard.d.ts +8 -0
  40. package/dist-lib/components/PrintplekWizard.d.ts.map +1 -0
  41. package/dist-lib/components/PrintplekWizard.js +194 -0
  42. package/dist-lib/components/PrintplekkenPage.d.ts +4 -0
  43. package/dist-lib/components/PrintplekkenPage.d.ts.map +1 -0
  44. package/dist-lib/components/PrintplekkenPage.js +110 -0
  45. package/dist-lib/index.d.ts +15 -1
  46. package/dist-lib/index.d.ts.map +1 -1
  47. package/dist-lib/index.js +16 -7
  48. package/dist-lib/integrations/supabase/auth-middleware.d.ts +363 -0
  49. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  50. package/dist-lib/integrations/supabase/client.server.d.ts +363 -0
  51. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  52. package/dist-lib/integrations/supabase/types.d.ts +370 -0
  53. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  54. package/dist-lib/lib/aiLayout.functions.d.ts +363 -0
  55. package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/browserPrint.d.ts +4 -0
  57. package/dist-lib/lib/browserPrint.d.ts.map +1 -1
  58. package/dist-lib/lib/browserPrint.js +4 -0
  59. package/dist-lib/lib/documentTypes.d.ts +7 -0
  60. package/dist-lib/lib/documentTypes.d.ts.map +1 -1
  61. package/dist-lib/lib/documentTypes.js +8 -0
  62. package/dist-lib/lib/pakbonHtml.d.ts +5 -2
  63. package/dist-lib/lib/pakbonHtml.d.ts.map +1 -1
  64. package/dist-lib/lib/pakbonHtml.js +5 -2
  65. package/dist-lib/lib/printApi.d.ts +23 -7
  66. package/dist-lib/lib/printApi.d.ts.map +1 -1
  67. package/dist-lib/lib/printApi.js +51 -15
  68. package/dist-lib/lib/printQueue.d.ts +28 -0
  69. package/dist-lib/lib/printQueue.d.ts.map +1 -0
  70. package/dist-lib/lib/printQueue.js +70 -0
  71. package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
  72. package/dist-lib/lib/printQueue.server.js +141 -18
  73. package/dist-lib/lib/printService.functions.d.ts +1452 -0
  74. package/dist-lib/lib/printService.functions.d.ts.map +1 -1
  75. package/dist-lib/lib/printplekWizard.d.ts +57 -0
  76. package/dist-lib/lib/printplekWizard.d.ts.map +1 -0
  77. package/dist-lib/lib/printplekWizard.js +87 -0
  78. package/dist-lib/lib/printplekken.d.ts +75 -0
  79. package/dist-lib/lib/printplekken.d.ts.map +1 -0
  80. package/dist-lib/lib/printplekken.js +198 -0
  81. package/dist-lib/lib/testpagina.d.ts.map +1 -1
  82. package/dist-lib/lib/testpagina.js +5 -5
  83. package/dist-lib/lib/useDocumentData.d.ts +6 -0
  84. package/dist-lib/lib/useDocumentData.d.ts.map +1 -1
  85. package/dist-lib/lib/useDocumentData.js +64 -9
  86. package/package.json +14 -14
@@ -692,6 +692,99 @@ export type Database = {
692
692
  };
693
693
  Relationships: [];
694
694
  };
695
+ artikelen_cache: {
696
+ Row: {
697
+ artikelcode: string;
698
+ bron: string;
699
+ bruto_prijs_cent: number | null;
700
+ created_at: string;
701
+ eenheid: string;
702
+ fabrikant: string | null;
703
+ fetched_at: string;
704
+ gtin: string | null;
705
+ id: string;
706
+ naam: string;
707
+ netto_prijs_cent: number | null;
708
+ omschrijving: string | null;
709
+ raw: Json;
710
+ updated_at: string;
711
+ valuta: string;
712
+ };
713
+ Insert: {
714
+ artikelcode: string;
715
+ bron?: string;
716
+ bruto_prijs_cent?: number | null;
717
+ created_at?: string;
718
+ eenheid?: string;
719
+ fabrikant?: string | null;
720
+ fetched_at?: string;
721
+ gtin?: string | null;
722
+ id?: string;
723
+ naam: string;
724
+ netto_prijs_cent?: number | null;
725
+ omschrijving?: string | null;
726
+ raw?: Json;
727
+ updated_at?: string;
728
+ valuta?: string;
729
+ };
730
+ Update: {
731
+ artikelcode?: string;
732
+ bron?: string;
733
+ bruto_prijs_cent?: number | null;
734
+ created_at?: string;
735
+ eenheid?: string;
736
+ fabrikant?: string | null;
737
+ fetched_at?: string;
738
+ gtin?: string | null;
739
+ id?: string;
740
+ naam?: string;
741
+ netto_prijs_cent?: number | null;
742
+ omschrijving?: string | null;
743
+ raw?: Json;
744
+ updated_at?: string;
745
+ valuta?: string;
746
+ };
747
+ Relationships: [];
748
+ };
749
+ artikelen_veldconfig: {
750
+ Row: {
751
+ bron_pad: string;
752
+ created_at: string;
753
+ id: string;
754
+ label: string;
755
+ sort_order: number;
756
+ type: string;
757
+ updated_at: string;
758
+ veld_key: string;
759
+ zichtbaar_in_detail: boolean;
760
+ zichtbaar_in_lijst: boolean;
761
+ };
762
+ Insert: {
763
+ bron_pad: string;
764
+ created_at?: string;
765
+ id?: string;
766
+ label: string;
767
+ sort_order?: number;
768
+ type?: string;
769
+ updated_at?: string;
770
+ veld_key: string;
771
+ zichtbaar_in_detail?: boolean;
772
+ zichtbaar_in_lijst?: boolean;
773
+ };
774
+ Update: {
775
+ bron_pad?: string;
776
+ created_at?: string;
777
+ id?: string;
778
+ label?: string;
779
+ sort_order?: number;
780
+ type?: string;
781
+ updated_at?: string;
782
+ veld_key?: string;
783
+ zichtbaar_in_detail?: boolean;
784
+ zichtbaar_in_lijst?: boolean;
785
+ };
786
+ Relationships: [];
787
+ };
695
788
  booking_items: {
696
789
  Row: {
697
790
  booking_id: string;
@@ -3220,6 +3313,51 @@ export type Database = {
3220
3313
  };
3221
3314
  Relationships: [];
3222
3315
  };
3316
+ document_printplek_printers: {
3317
+ Row: {
3318
+ created_at: string;
3319
+ documenttype: string;
3320
+ id: string;
3321
+ papierformaat: string | null;
3322
+ print_plek_id: string;
3323
+ printer_id: string | null;
3324
+ updated_at: string;
3325
+ };
3326
+ Insert: {
3327
+ created_at?: string;
3328
+ documenttype: string;
3329
+ id?: string;
3330
+ papierformaat?: string | null;
3331
+ print_plek_id: string;
3332
+ printer_id?: string | null;
3333
+ updated_at?: string;
3334
+ };
3335
+ Update: {
3336
+ created_at?: string;
3337
+ documenttype?: string;
3338
+ id?: string;
3339
+ papierformaat?: string | null;
3340
+ print_plek_id?: string;
3341
+ printer_id?: string | null;
3342
+ updated_at?: string;
3343
+ };
3344
+ Relationships: [
3345
+ {
3346
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
3347
+ columns: ["print_plek_id"];
3348
+ isOneToOne: false;
3349
+ referencedRelation: "print_plekken";
3350
+ referencedColumns: ["id"];
3351
+ },
3352
+ {
3353
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
3354
+ columns: ["printer_id"];
3355
+ isOneToOne: false;
3356
+ referencedRelation: "printers";
3357
+ referencedColumns: ["id"];
3358
+ }
3359
+ ];
3360
+ };
3223
3361
  document_werkplek_printers: {
3224
3362
  Row: {
3225
3363
  created_at: string;
@@ -9377,6 +9515,10 @@ export type Database = {
9377
9515
  id: string;
9378
9516
  last_error: string | null;
9379
9517
  last_error_at: string | null;
9518
+ last_error_code: string | null;
9519
+ last_gateway_status: number | null;
9520
+ last_queued_at: string | null;
9521
+ last_response: Json | null;
9380
9522
  last_sent_hash: string | null;
9381
9523
  locked_by: string | null;
9382
9524
  locked_until: string | null;
@@ -9397,6 +9539,10 @@ export type Database = {
9397
9539
  id?: string;
9398
9540
  last_error?: string | null;
9399
9541
  last_error_at?: string | null;
9542
+ last_error_code?: string | null;
9543
+ last_gateway_status?: number | null;
9544
+ last_queued_at?: string | null;
9545
+ last_response?: Json | null;
9400
9546
  last_sent_hash?: string | null;
9401
9547
  locked_by?: string | null;
9402
9548
  locked_until?: string | null;
@@ -9417,6 +9563,10 @@ export type Database = {
9417
9563
  id?: string;
9418
9564
  last_error?: string | null;
9419
9565
  last_error_at?: string | null;
9566
+ last_error_code?: string | null;
9567
+ last_gateway_status?: number | null;
9568
+ last_queued_at?: string | null;
9569
+ last_response?: Json | null;
9420
9570
  last_sent_hash?: string | null;
9421
9571
  locked_by?: string | null;
9422
9572
  locked_until?: string | null;
@@ -13713,6 +13863,103 @@ export type Database = {
13713
13863
  }
13714
13864
  ];
13715
13865
  };
13866
+ print_plek_computers: {
13867
+ Row: {
13868
+ computer_naam: string;
13869
+ created_at: string;
13870
+ id: string;
13871
+ print_plek_id: string;
13872
+ updated_at: string;
13873
+ };
13874
+ Insert: {
13875
+ computer_naam: string;
13876
+ created_at?: string;
13877
+ id?: string;
13878
+ print_plek_id: string;
13879
+ updated_at?: string;
13880
+ };
13881
+ Update: {
13882
+ computer_naam?: string;
13883
+ created_at?: string;
13884
+ id?: string;
13885
+ print_plek_id?: string;
13886
+ updated_at?: string;
13887
+ };
13888
+ Relationships: [
13889
+ {
13890
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
13891
+ columns: ["print_plek_id"];
13892
+ isOneToOne: false;
13893
+ referencedRelation: "print_plekken";
13894
+ referencedColumns: ["id"];
13895
+ }
13896
+ ];
13897
+ };
13898
+ print_plek_koppelingen: {
13899
+ Row: {
13900
+ bron: string;
13901
+ bron_id: string;
13902
+ created_at: string;
13903
+ id: string;
13904
+ label: string | null;
13905
+ print_plek_id: string;
13906
+ updated_at: string;
13907
+ };
13908
+ Insert: {
13909
+ bron: string;
13910
+ bron_id: string;
13911
+ created_at?: string;
13912
+ id?: string;
13913
+ label?: string | null;
13914
+ print_plek_id: string;
13915
+ updated_at?: string;
13916
+ };
13917
+ Update: {
13918
+ bron?: string;
13919
+ bron_id?: string;
13920
+ created_at?: string;
13921
+ id?: string;
13922
+ label?: string | null;
13923
+ print_plek_id?: string;
13924
+ updated_at?: string;
13925
+ };
13926
+ Relationships: [
13927
+ {
13928
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
13929
+ columns: ["print_plek_id"];
13930
+ isOneToOne: false;
13931
+ referencedRelation: "print_plekken";
13932
+ referencedColumns: ["id"];
13933
+ }
13934
+ ];
13935
+ };
13936
+ print_plekken: {
13937
+ Row: {
13938
+ actief: boolean;
13939
+ created_at: string;
13940
+ id: string;
13941
+ naam: string;
13942
+ omschrijving: string | null;
13943
+ updated_at: string;
13944
+ };
13945
+ Insert: {
13946
+ actief?: boolean;
13947
+ created_at?: string;
13948
+ id?: string;
13949
+ naam: string;
13950
+ omschrijving?: string | null;
13951
+ updated_at?: string;
13952
+ };
13953
+ Update: {
13954
+ actief?: boolean;
13955
+ created_at?: string;
13956
+ id?: string;
13957
+ naam?: string;
13958
+ omschrijving?: string | null;
13959
+ updated_at?: string;
13960
+ };
13961
+ Relationships: [];
13962
+ };
13716
13963
  print_queue_runners: {
13717
13964
  Row: {
13718
13965
  actief: boolean;
@@ -15945,6 +16192,45 @@ export type Database = {
15945
16192
  };
15946
16193
  Relationships: [];
15947
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
+ };
15948
16234
  stock_import_runs: {
15949
16235
  Row: {
15950
16236
  connection_id: string | null;
@@ -19109,6 +19395,9 @@ export type Database = {
19109
19395
  scheduled_end_time: string | null;
19110
19396
  scheduled_start_time: string | null;
19111
19397
  sequence_number: number;
19398
+ signature_accepted_at: string | null;
19399
+ signature_by_user_id: string | null;
19400
+ signature_name: string | null;
19112
19401
  source_email_meta: Json | null;
19113
19402
  source_mailbox_message_id: string | null;
19114
19403
  source_pdf_path: string | null;
@@ -19144,6 +19433,9 @@ export type Database = {
19144
19433
  scheduled_end_time?: string | null;
19145
19434
  scheduled_start_time?: string | null;
19146
19435
  sequence_number: number;
19436
+ signature_accepted_at?: string | null;
19437
+ signature_by_user_id?: string | null;
19438
+ signature_name?: string | null;
19147
19439
  source_email_meta?: Json | null;
19148
19440
  source_mailbox_message_id?: string | null;
19149
19441
  source_pdf_path?: string | null;
@@ -19179,6 +19471,9 @@ export type Database = {
19179
19471
  scheduled_end_time?: string | null;
19180
19472
  scheduled_start_time?: string | null;
19181
19473
  sequence_number?: number;
19474
+ signature_accepted_at?: string | null;
19475
+ signature_by_user_id?: string | null;
19476
+ signature_name?: string | null;
19182
19477
  source_email_meta?: Json | null;
19183
19478
  source_mailbox_message_id?: string | null;
19184
19479
  source_pdf_path?: string | null;
@@ -21601,6 +21896,41 @@ export type Database = {
21601
21896
  };
21602
21897
  Returns: string;
21603
21898
  };
21899
+ logistics_floriday_finish_push_v2: {
21900
+ Args: {
21901
+ _error?: string;
21902
+ _error_code?: string;
21903
+ _fulfillment_order_id?: string;
21904
+ _gateway_status?: number;
21905
+ _id: string;
21906
+ _max_age_hours?: number;
21907
+ _max_attempts?: number;
21908
+ _ok: boolean;
21909
+ _permanent?: boolean;
21910
+ _response?: Json;
21911
+ _revision: number;
21912
+ _sent_hash?: string;
21913
+ };
21914
+ Returns: string;
21915
+ };
21916
+ logistics_floriday_finish_push_v3: {
21917
+ Args: {
21918
+ _error?: string;
21919
+ _error_code?: string;
21920
+ _fulfillment_order_id?: string;
21921
+ _gateway_status?: number;
21922
+ _id: string;
21923
+ _max_age_hours?: number;
21924
+ _max_attempts?: number;
21925
+ _outcome: string;
21926
+ _permanent?: boolean;
21927
+ _response?: Json;
21928
+ _revision: number;
21929
+ _sent_hash?: string;
21930
+ _wait_max_age_hours?: number;
21931
+ };
21932
+ Returns: string;
21933
+ };
21604
21934
  logistics_floriday_prune_pushes: {
21605
21935
  Args: {
21606
21936
  _days?: number;
@@ -22029,6 +22359,12 @@ export type Database = {
22029
22359
  verwijderd: number;
22030
22360
  }[];
22031
22361
  };
22362
+ order_departure_proof: {
22363
+ Args: {
22364
+ p_order_id: string;
22365
+ };
22366
+ Returns: Json;
22367
+ };
22032
22368
  order_number_prefix: {
22033
22369
  Args: {
22034
22370
  p_custom_fields?: Json;
@@ -22236,6 +22572,14 @@ export type Database = {
22236
22572
  };
22237
22573
  Returns: Json;
22238
22574
  };
22575
+ pick_print_plekken: {
22576
+ Args: never;
22577
+ Returns: {
22578
+ id: string;
22579
+ naam: string;
22580
+ omschrijving: string;
22581
+ }[];
22582
+ };
22239
22583
  pick_release_expired_locks: {
22240
22584
  Args: never;
22241
22585
  Returns: number;
@@ -22300,6 +22644,13 @@ export type Database = {
22300
22644
  isSetofReturn: false;
22301
22645
  };
22302
22646
  };
22647
+ pick_set_station_print_plek: {
22648
+ Args: {
22649
+ _print_plek_id: string;
22650
+ _station_id: string;
22651
+ };
22652
+ Returns: string;
22653
+ };
22303
22654
  pick_station_dashboard: {
22304
22655
  Args: never;
22305
22656
  Returns: {
@@ -22312,6 +22663,25 @@ export type Database = {
22312
22663
  waiting: number;
22313
22664
  }[];
22314
22665
  };
22666
+ pick_station_print_plek: {
22667
+ Args: {
22668
+ _station_id: string;
22669
+ };
22670
+ Returns: {
22671
+ naam: string;
22672
+ omschrijving: string;
22673
+ print_plek_id: string;
22674
+ }[];
22675
+ };
22676
+ pick_station_print_plekken: {
22677
+ Args: never;
22678
+ Returns: {
22679
+ naam: string;
22680
+ omschrijving: string;
22681
+ print_plek_id: string;
22682
+ station_id: string;
22683
+ }[];
22684
+ };
22315
22685
  pick_station_slugify: {
22316
22686
  Args: {
22317
22687
  _id: string;