@flowselections/layout-maker 1.13.2 → 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 (83) 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/pakbonHtml.d.ts +5 -2
  60. package/dist-lib/lib/pakbonHtml.d.ts.map +1 -1
  61. package/dist-lib/lib/pakbonHtml.js +5 -2
  62. package/dist-lib/lib/printApi.d.ts +23 -7
  63. package/dist-lib/lib/printApi.d.ts.map +1 -1
  64. package/dist-lib/lib/printApi.js +51 -15
  65. package/dist-lib/lib/printQueue.d.ts +28 -0
  66. package/dist-lib/lib/printQueue.d.ts.map +1 -0
  67. package/dist-lib/lib/printQueue.js +70 -0
  68. package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
  69. package/dist-lib/lib/printQueue.server.js +141 -18
  70. package/dist-lib/lib/printService.functions.d.ts +1452 -0
  71. package/dist-lib/lib/printService.functions.d.ts.map +1 -1
  72. package/dist-lib/lib/printplekWizard.d.ts +57 -0
  73. package/dist-lib/lib/printplekWizard.d.ts.map +1 -0
  74. package/dist-lib/lib/printplekWizard.js +87 -0
  75. package/dist-lib/lib/printplekken.d.ts +75 -0
  76. package/dist-lib/lib/printplekken.d.ts.map +1 -0
  77. package/dist-lib/lib/printplekken.js +198 -0
  78. package/dist-lib/lib/testpagina.d.ts.map +1 -1
  79. package/dist-lib/lib/testpagina.js +5 -5
  80. package/dist-lib/lib/useDocumentData.d.ts +6 -0
  81. package/dist-lib/lib/useDocumentData.d.ts.map +1 -1
  82. package/dist-lib/lib/useDocumentData.js +31 -0
  83. package/package.json +14 -14
@@ -674,6 +674,99 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
674
674
  };
675
675
  Relationships: [];
676
676
  };
677
+ artikelen_cache: {
678
+ Row: {
679
+ artikelcode: string;
680
+ bron: string;
681
+ bruto_prijs_cent: number | null;
682
+ created_at: string;
683
+ eenheid: string;
684
+ fabrikant: string | null;
685
+ fetched_at: string;
686
+ gtin: string | null;
687
+ id: string;
688
+ naam: string;
689
+ netto_prijs_cent: number | null;
690
+ omschrijving: string | null;
691
+ raw: import("./types.js").Json;
692
+ updated_at: string;
693
+ valuta: string;
694
+ };
695
+ Insert: {
696
+ artikelcode: string;
697
+ bron?: string;
698
+ bruto_prijs_cent?: number | null;
699
+ created_at?: string;
700
+ eenheid?: string;
701
+ fabrikant?: string | null;
702
+ fetched_at?: string;
703
+ gtin?: string | null;
704
+ id?: string;
705
+ naam: string;
706
+ netto_prijs_cent?: number | null;
707
+ omschrijving?: string | null;
708
+ raw?: import("./types.js").Json;
709
+ updated_at?: string;
710
+ valuta?: string;
711
+ };
712
+ Update: {
713
+ artikelcode?: string;
714
+ bron?: string;
715
+ bruto_prijs_cent?: number | null;
716
+ created_at?: string;
717
+ eenheid?: string;
718
+ fabrikant?: string | null;
719
+ fetched_at?: string;
720
+ gtin?: string | null;
721
+ id?: string;
722
+ naam?: string;
723
+ netto_prijs_cent?: number | null;
724
+ omschrijving?: string | null;
725
+ raw?: import("./types.js").Json;
726
+ updated_at?: string;
727
+ valuta?: string;
728
+ };
729
+ Relationships: [];
730
+ };
731
+ artikelen_veldconfig: {
732
+ Row: {
733
+ bron_pad: string;
734
+ created_at: string;
735
+ id: string;
736
+ label: string;
737
+ sort_order: number;
738
+ type: string;
739
+ updated_at: string;
740
+ veld_key: string;
741
+ zichtbaar_in_detail: boolean;
742
+ zichtbaar_in_lijst: boolean;
743
+ };
744
+ Insert: {
745
+ bron_pad: string;
746
+ created_at?: string;
747
+ id?: string;
748
+ label: string;
749
+ sort_order?: number;
750
+ type?: string;
751
+ updated_at?: string;
752
+ veld_key: string;
753
+ zichtbaar_in_detail?: boolean;
754
+ zichtbaar_in_lijst?: boolean;
755
+ };
756
+ Update: {
757
+ bron_pad?: string;
758
+ created_at?: string;
759
+ id?: string;
760
+ label?: string;
761
+ sort_order?: number;
762
+ type?: string;
763
+ updated_at?: string;
764
+ veld_key?: string;
765
+ zichtbaar_in_detail?: boolean;
766
+ zichtbaar_in_lijst?: boolean;
767
+ };
768
+ Relationships: [];
769
+ };
677
770
  booking_items: {
678
771
  Row: {
679
772
  booking_id: string;
@@ -3146,6 +3239,48 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3146
3239
  };
3147
3240
  Relationships: [];
3148
3241
  };
3242
+ document_printplek_printers: {
3243
+ Row: {
3244
+ created_at: string;
3245
+ documenttype: string;
3246
+ id: string;
3247
+ papierformaat: string | null;
3248
+ print_plek_id: string;
3249
+ printer_id: string | null;
3250
+ updated_at: string;
3251
+ };
3252
+ Insert: {
3253
+ created_at?: string;
3254
+ documenttype: string;
3255
+ id?: string;
3256
+ papierformaat?: string | null;
3257
+ print_plek_id: string;
3258
+ printer_id?: string | null;
3259
+ updated_at?: string;
3260
+ };
3261
+ Update: {
3262
+ created_at?: string;
3263
+ documenttype?: string;
3264
+ id?: string;
3265
+ papierformaat?: string | null;
3266
+ print_plek_id?: string;
3267
+ printer_id?: string | null;
3268
+ updated_at?: string;
3269
+ };
3270
+ Relationships: [{
3271
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
3272
+ columns: ["print_plek_id"];
3273
+ isOneToOne: false;
3274
+ referencedRelation: "print_plekken";
3275
+ referencedColumns: ["id"];
3276
+ }, {
3277
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
3278
+ columns: ["printer_id"];
3279
+ isOneToOne: false;
3280
+ referencedRelation: "printers";
3281
+ referencedColumns: ["id"];
3282
+ }];
3283
+ };
3149
3284
  document_werkplek_printers: {
3150
3285
  Row: {
3151
3286
  created_at: string;
@@ -9125,6 +9260,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9125
9260
  id: string;
9126
9261
  last_error: string | null;
9127
9262
  last_error_at: string | null;
9263
+ last_error_code: string | null;
9264
+ last_gateway_status: number | null;
9265
+ last_queued_at: string | null;
9266
+ last_response: import("./types.js").Json | null;
9128
9267
  last_sent_hash: string | null;
9129
9268
  locked_by: string | null;
9130
9269
  locked_until: string | null;
@@ -9145,6 +9284,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9145
9284
  id?: string;
9146
9285
  last_error?: string | null;
9147
9286
  last_error_at?: string | null;
9287
+ last_error_code?: string | null;
9288
+ last_gateway_status?: number | null;
9289
+ last_queued_at?: string | null;
9290
+ last_response?: import("./types.js").Json | null;
9148
9291
  last_sent_hash?: string | null;
9149
9292
  locked_by?: string | null;
9150
9293
  locked_until?: string | null;
@@ -9165,6 +9308,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9165
9308
  id?: string;
9166
9309
  last_error?: string | null;
9167
9310
  last_error_at?: string | null;
9311
+ last_error_code?: string | null;
9312
+ last_gateway_status?: number | null;
9313
+ last_queued_at?: string | null;
9314
+ last_response?: import("./types.js").Json | null;
9168
9315
  last_sent_hash?: string | null;
9169
9316
  locked_by?: string | null;
9170
9317
  locked_until?: string | null;
@@ -13334,6 +13481,99 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13334
13481
  referencedColumns: ["id"];
13335
13482
  }];
13336
13483
  };
13484
+ print_plek_computers: {
13485
+ Row: {
13486
+ computer_naam: string;
13487
+ created_at: string;
13488
+ id: string;
13489
+ print_plek_id: string;
13490
+ updated_at: string;
13491
+ };
13492
+ Insert: {
13493
+ computer_naam: string;
13494
+ created_at?: string;
13495
+ id?: string;
13496
+ print_plek_id: string;
13497
+ updated_at?: string;
13498
+ };
13499
+ Update: {
13500
+ computer_naam?: string;
13501
+ created_at?: string;
13502
+ id?: string;
13503
+ print_plek_id?: string;
13504
+ updated_at?: string;
13505
+ };
13506
+ Relationships: [{
13507
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
13508
+ columns: ["print_plek_id"];
13509
+ isOneToOne: false;
13510
+ referencedRelation: "print_plekken";
13511
+ referencedColumns: ["id"];
13512
+ }];
13513
+ };
13514
+ print_plek_koppelingen: {
13515
+ Row: {
13516
+ bron: string;
13517
+ bron_id: string;
13518
+ created_at: string;
13519
+ id: string;
13520
+ label: string | null;
13521
+ print_plek_id: string;
13522
+ updated_at: string;
13523
+ };
13524
+ Insert: {
13525
+ bron: string;
13526
+ bron_id: string;
13527
+ created_at?: string;
13528
+ id?: string;
13529
+ label?: string | null;
13530
+ print_plek_id: string;
13531
+ updated_at?: string;
13532
+ };
13533
+ Update: {
13534
+ bron?: string;
13535
+ bron_id?: string;
13536
+ created_at?: string;
13537
+ id?: string;
13538
+ label?: string | null;
13539
+ print_plek_id?: string;
13540
+ updated_at?: string;
13541
+ };
13542
+ Relationships: [{
13543
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
13544
+ columns: ["print_plek_id"];
13545
+ isOneToOne: false;
13546
+ referencedRelation: "print_plekken";
13547
+ referencedColumns: ["id"];
13548
+ }];
13549
+ };
13550
+ print_plekken: {
13551
+ Row: {
13552
+ actief: boolean;
13553
+ created_at: string;
13554
+ id: string;
13555
+ naam: string;
13556
+ omschrijving: string | null;
13557
+ updated_at: string;
13558
+ };
13559
+ Insert: {
13560
+ actief?: boolean;
13561
+ created_at?: string;
13562
+ id?: string;
13563
+ naam: string;
13564
+ omschrijving?: string | null;
13565
+ updated_at?: string;
13566
+ };
13567
+ Update: {
13568
+ actief?: boolean;
13569
+ created_at?: string;
13570
+ id?: string;
13571
+ naam?: string;
13572
+ omschrijving?: string | null;
13573
+ updated_at?: string;
13574
+ };
13575
+ Relationships: [];
13576
+ };
13337
13577
  print_queue_runners: {
13338
13578
  Row: {
13339
13579
  actief: boolean;
@@ -15488,6 +15728,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15488
15728
  };
15489
15729
  Relationships: [];
15490
15730
  };
15731
+ stock_consumption_alerts: {
15732
+ Row: {
15733
+ alert_type: string;
15734
+ created_at: string;
15735
+ id: string;
15736
+ mutation_log_id: string | null;
15737
+ order_id: string | null;
15738
+ order_item_id: string | null;
15739
+ qty: number;
15740
+ reason: string | null;
15741
+ resolved_at: string | null;
15742
+ updated_at: string;
15743
+ };
15744
+ Insert: {
15745
+ alert_type: string;
15746
+ created_at?: string;
15747
+ id?: string;
15748
+ mutation_log_id?: string | null;
15749
+ order_id?: string | null;
15750
+ order_item_id?: string | null;
15751
+ qty?: number;
15752
+ reason?: string | null;
15753
+ resolved_at?: string | null;
15754
+ updated_at?: string;
15755
+ };
15756
+ Update: {
15757
+ alert_type?: string;
15758
+ created_at?: string;
15759
+ id?: string;
15760
+ mutation_log_id?: string | null;
15761
+ order_id?: string | null;
15762
+ order_item_id?: string | null;
15763
+ qty?: number;
15764
+ reason?: string | null;
15765
+ resolved_at?: string | null;
15766
+ updated_at?: string;
15767
+ };
15768
+ Relationships: [];
15769
+ };
15491
15770
  stock_import_runs: {
15492
15771
  Row: {
15493
15772
  connection_id: string | null;
@@ -18592,6 +18871,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18592
18871
  scheduled_end_time: string | null;
18593
18872
  scheduled_start_time: string | null;
18594
18873
  sequence_number: number;
18874
+ signature_accepted_at: string | null;
18875
+ signature_by_user_id: string | null;
18876
+ signature_name: string | null;
18595
18877
  source_email_meta: import("./types.js").Json | null;
18596
18878
  source_mailbox_message_id: string | null;
18597
18879
  source_pdf_path: string | null;
@@ -18627,6 +18909,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18627
18909
  scheduled_end_time?: string | null;
18628
18910
  scheduled_start_time?: string | null;
18629
18911
  sequence_number: number;
18912
+ signature_accepted_at?: string | null;
18913
+ signature_by_user_id?: string | null;
18914
+ signature_name?: string | null;
18630
18915
  source_email_meta?: import("./types.js").Json | null;
18631
18916
  source_mailbox_message_id?: string | null;
18632
18917
  source_pdf_path?: string | null;
@@ -18662,6 +18947,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18662
18947
  scheduled_end_time?: string | null;
18663
18948
  scheduled_start_time?: string | null;
18664
18949
  sequence_number?: number;
18950
+ signature_accepted_at?: string | null;
18951
+ signature_by_user_id?: string | null;
18952
+ signature_name?: string | null;
18665
18953
  source_email_meta?: import("./types.js").Json | null;
18666
18954
  source_mailbox_message_id?: string | null;
18667
18955
  source_pdf_path?: string | null;
@@ -21056,6 +21344,41 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21056
21344
  };
21057
21345
  Returns: string;
21058
21346
  };
21347
+ logistics_floriday_finish_push_v2: {
21348
+ Args: {
21349
+ _error?: string;
21350
+ _error_code?: string;
21351
+ _fulfillment_order_id?: string;
21352
+ _gateway_status?: number;
21353
+ _id: string;
21354
+ _max_age_hours?: number;
21355
+ _max_attempts?: number;
21356
+ _ok: boolean;
21357
+ _permanent?: boolean;
21358
+ _response?: import("./types.js").Json;
21359
+ _revision: number;
21360
+ _sent_hash?: string;
21361
+ };
21362
+ Returns: string;
21363
+ };
21364
+ logistics_floriday_finish_push_v3: {
21365
+ Args: {
21366
+ _error?: string;
21367
+ _error_code?: string;
21368
+ _fulfillment_order_id?: string;
21369
+ _gateway_status?: number;
21370
+ _id: string;
21371
+ _max_age_hours?: number;
21372
+ _max_attempts?: number;
21373
+ _outcome: string;
21374
+ _permanent?: boolean;
21375
+ _response?: import("./types.js").Json;
21376
+ _revision: number;
21377
+ _sent_hash?: string;
21378
+ _wait_max_age_hours?: number;
21379
+ };
21380
+ Returns: string;
21381
+ };
21059
21382
  logistics_floriday_prune_pushes: {
21060
21383
  Args: {
21061
21384
  _days?: number;
@@ -21484,6 +21807,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21484
21807
  verwijderd: number;
21485
21808
  }[];
21486
21809
  };
21810
+ order_departure_proof: {
21811
+ Args: {
21812
+ p_order_id: string;
21813
+ };
21814
+ Returns: import("./types.js").Json;
21815
+ };
21487
21816
  order_number_prefix: {
21488
21817
  Args: {
21489
21818
  p_custom_fields?: import("./types.js").Json;
@@ -21691,6 +22020,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21691
22020
  };
21692
22021
  Returns: import("./types.js").Json;
21693
22022
  };
22023
+ pick_print_plekken: {
22024
+ Args: never;
22025
+ Returns: {
22026
+ id: string;
22027
+ naam: string;
22028
+ omschrijving: string;
22029
+ }[];
22030
+ };
21694
22031
  pick_release_expired_locks: {
21695
22032
  Args: never;
21696
22033
  Returns: number;
@@ -21755,6 +22092,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21755
22092
  isSetofReturn: false;
21756
22093
  };
21757
22094
  };
22095
+ pick_set_station_print_plek: {
22096
+ Args: {
22097
+ _print_plek_id: string;
22098
+ _station_id: string;
22099
+ };
22100
+ Returns: string;
22101
+ };
21758
22102
  pick_station_dashboard: {
21759
22103
  Args: never;
21760
22104
  Returns: {
@@ -21767,6 +22111,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21767
22111
  waiting: number;
21768
22112
  }[];
21769
22113
  };
22114
+ pick_station_print_plek: {
22115
+ Args: {
22116
+ _station_id: string;
22117
+ };
22118
+ Returns: {
22119
+ naam: string;
22120
+ omschrijving: string;
22121
+ print_plek_id: string;
22122
+ }[];
22123
+ };
22124
+ pick_station_print_plekken: {
22125
+ Args: never;
22126
+ Returns: {
22127
+ naam: string;
22128
+ omschrijving: string;
22129
+ print_plek_id: string;
22130
+ station_id: string;
22131
+ }[];
22132
+ };
21770
22133
  pick_station_slugify: {
21771
22134
  Args: {
21772
22135
  _id: string;