@flowselections/logistiek-engine 1.0.12 → 1.0.14

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 (37) hide show
  1. package/dist-lib/components/FloridayPushCard.d.ts.map +1 -1
  2. package/dist-lib/components/FloridayPushCard.js +7 -2
  3. package/dist-lib/components/PrintjobsCard.d.ts.map +1 -1
  4. package/dist-lib/components/PrintjobsCard.js +3 -1
  5. package/dist-lib/hooks/useFloridayPushes.d.ts +7 -0
  6. package/dist-lib/hooks/useFloridayPushes.d.ts.map +1 -1
  7. package/dist-lib/hooks/useFloridayPushes.js +11 -0
  8. package/dist-lib/hooks/usePrintjobs.d.ts +1 -0
  9. package/dist-lib/hooks/usePrintjobs.d.ts.map +1 -1
  10. package/dist-lib/hooks/usePrintjobs.js +17 -1
  11. package/dist-lib/integrations/supabase/auth-middleware.d.ts +292 -0
  12. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  13. package/dist-lib/integrations/supabase/client.server.d.ts +292 -0
  14. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/moduleClient.d.ts +292 -0
  16. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  17. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts +6 -0
  18. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -0
  19. package/dist-lib/integrations/supabase/previewAuthStorage.js +92 -0
  20. package/dist-lib/integrations/supabase/types.d.ts +299 -0
  21. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  22. package/dist-lib/lib/floridayDocuments.functions.d.ts +876 -0
  23. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/floridayPush.functions.d.ts +292 -0
  25. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floridayPush.server.d.ts +39 -21
  27. package/dist-lib/lib/floridayPush.server.d.ts.map +1 -1
  28. package/dist-lib/lib/floridayPush.server.js +156 -49
  29. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +1460 -0
  30. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +584 -0
  32. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +292 -0
  34. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
  36. package/dist-lib/lib/modulePrompts.js +39 -0
  37. package/package.json +1 -1
@@ -673,6 +673,99 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
673
673
  };
674
674
  Relationships: [];
675
675
  };
676
+ artikelen_cache: {
677
+ Row: {
678
+ artikelcode: string;
679
+ bron: string;
680
+ bruto_prijs_cent: number | null;
681
+ created_at: string;
682
+ eenheid: string;
683
+ fabrikant: string | null;
684
+ fetched_at: string;
685
+ gtin: string | null;
686
+ id: string;
687
+ naam: string;
688
+ netto_prijs_cent: number | null;
689
+ omschrijving: string | null;
690
+ raw: import("./types").Json;
691
+ updated_at: string;
692
+ valuta: string;
693
+ };
694
+ Insert: {
695
+ artikelcode: string;
696
+ bron?: string;
697
+ bruto_prijs_cent?: number | null;
698
+ created_at?: string;
699
+ eenheid?: string;
700
+ fabrikant?: string | null;
701
+ fetched_at?: string;
702
+ gtin?: string | null;
703
+ id?: string;
704
+ naam: string;
705
+ netto_prijs_cent?: number | null;
706
+ omschrijving?: string | null;
707
+ raw?: import("./types").Json;
708
+ updated_at?: string;
709
+ valuta?: string;
710
+ };
711
+ Update: {
712
+ artikelcode?: string;
713
+ bron?: string;
714
+ bruto_prijs_cent?: number | null;
715
+ created_at?: string;
716
+ eenheid?: string;
717
+ fabrikant?: string | null;
718
+ fetched_at?: string;
719
+ gtin?: string | null;
720
+ id?: string;
721
+ naam?: string;
722
+ netto_prijs_cent?: number | null;
723
+ omschrijving?: string | null;
724
+ raw?: import("./types").Json;
725
+ updated_at?: string;
726
+ valuta?: string;
727
+ };
728
+ Relationships: [];
729
+ };
730
+ artikelen_veldconfig: {
731
+ Row: {
732
+ bron_pad: string;
733
+ created_at: string;
734
+ id: string;
735
+ label: string;
736
+ sort_order: number;
737
+ type: string;
738
+ updated_at: string;
739
+ veld_key: string;
740
+ zichtbaar_in_detail: boolean;
741
+ zichtbaar_in_lijst: boolean;
742
+ };
743
+ Insert: {
744
+ bron_pad: string;
745
+ created_at?: string;
746
+ id?: string;
747
+ label: string;
748
+ sort_order?: number;
749
+ type?: string;
750
+ updated_at?: string;
751
+ veld_key: string;
752
+ zichtbaar_in_detail?: boolean;
753
+ zichtbaar_in_lijst?: boolean;
754
+ };
755
+ Update: {
756
+ bron_pad?: string;
757
+ created_at?: string;
758
+ id?: string;
759
+ label?: string;
760
+ sort_order?: number;
761
+ type?: string;
762
+ updated_at?: string;
763
+ veld_key?: string;
764
+ zichtbaar_in_detail?: boolean;
765
+ zichtbaar_in_lijst?: boolean;
766
+ };
767
+ Relationships: [];
768
+ };
676
769
  booking_items: {
677
770
  Row: {
678
771
  booking_id: string;
@@ -3145,6 +3238,48 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3145
3238
  };
3146
3239
  Relationships: [];
3147
3240
  };
3241
+ document_printplek_printers: {
3242
+ Row: {
3243
+ created_at: string;
3244
+ documenttype: string;
3245
+ id: string;
3246
+ papierformaat: string | null;
3247
+ print_plek_id: string;
3248
+ printer_id: string | null;
3249
+ updated_at: string;
3250
+ };
3251
+ Insert: {
3252
+ created_at?: string;
3253
+ documenttype: string;
3254
+ id?: string;
3255
+ papierformaat?: string | null;
3256
+ print_plek_id: string;
3257
+ printer_id?: string | null;
3258
+ updated_at?: string;
3259
+ };
3260
+ Update: {
3261
+ created_at?: string;
3262
+ documenttype?: string;
3263
+ id?: string;
3264
+ papierformaat?: string | null;
3265
+ print_plek_id?: string;
3266
+ printer_id?: string | null;
3267
+ updated_at?: string;
3268
+ };
3269
+ Relationships: [{
3270
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
3271
+ columns: ["print_plek_id"];
3272
+ isOneToOne: false;
3273
+ referencedRelation: "print_plekken";
3274
+ referencedColumns: ["id"];
3275
+ }, {
3276
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
3277
+ columns: ["printer_id"];
3278
+ isOneToOne: false;
3279
+ referencedRelation: "printers";
3280
+ referencedColumns: ["id"];
3281
+ }];
3282
+ };
3148
3283
  document_werkplek_printers: {
3149
3284
  Row: {
3150
3285
  created_at: string;
@@ -9126,6 +9261,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9126
9261
  last_error_at: string | null;
9127
9262
  last_error_code: string | null;
9128
9263
  last_gateway_status: number | null;
9264
+ last_queued_at: string | null;
9129
9265
  last_response: import("./types").Json | null;
9130
9266
  last_sent_hash: string | null;
9131
9267
  locked_by: string | null;
@@ -9149,6 +9285,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9149
9285
  last_error_at?: string | null;
9150
9286
  last_error_code?: string | null;
9151
9287
  last_gateway_status?: number | null;
9288
+ last_queued_at?: string | null;
9152
9289
  last_response?: import("./types").Json | null;
9153
9290
  last_sent_hash?: string | null;
9154
9291
  locked_by?: string | null;
@@ -9172,6 +9309,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9172
9309
  last_error_at?: string | null;
9173
9310
  last_error_code?: string | null;
9174
9311
  last_gateway_status?: number | null;
9312
+ last_queued_at?: string | null;
9175
9313
  last_response?: import("./types").Json | null;
9176
9314
  last_sent_hash?: string | null;
9177
9315
  locked_by?: string | null;
@@ -13342,6 +13480,99 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13342
13480
  referencedColumns: ["id"];
13343
13481
  }];
13344
13482
  };
13483
+ print_plek_computers: {
13484
+ Row: {
13485
+ computer_naam: string;
13486
+ created_at: string;
13487
+ id: string;
13488
+ print_plek_id: string;
13489
+ updated_at: string;
13490
+ };
13491
+ Insert: {
13492
+ computer_naam: string;
13493
+ created_at?: string;
13494
+ id?: string;
13495
+ print_plek_id: string;
13496
+ updated_at?: string;
13497
+ };
13498
+ Update: {
13499
+ computer_naam?: string;
13500
+ created_at?: string;
13501
+ id?: string;
13502
+ print_plek_id?: string;
13503
+ updated_at?: string;
13504
+ };
13505
+ Relationships: [{
13506
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
13507
+ columns: ["print_plek_id"];
13508
+ isOneToOne: false;
13509
+ referencedRelation: "print_plekken";
13510
+ referencedColumns: ["id"];
13511
+ }];
13512
+ };
13513
+ print_plek_koppelingen: {
13514
+ Row: {
13515
+ bron: string;
13516
+ bron_id: string;
13517
+ created_at: string;
13518
+ id: string;
13519
+ label: string | null;
13520
+ print_plek_id: string;
13521
+ updated_at: string;
13522
+ };
13523
+ Insert: {
13524
+ bron: string;
13525
+ bron_id: string;
13526
+ created_at?: string;
13527
+ id?: string;
13528
+ label?: string | null;
13529
+ print_plek_id: string;
13530
+ updated_at?: string;
13531
+ };
13532
+ Update: {
13533
+ bron?: string;
13534
+ bron_id?: string;
13535
+ created_at?: string;
13536
+ id?: string;
13537
+ label?: string | null;
13538
+ print_plek_id?: string;
13539
+ updated_at?: string;
13540
+ };
13541
+ Relationships: [{
13542
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
13543
+ columns: ["print_plek_id"];
13544
+ isOneToOne: false;
13545
+ referencedRelation: "print_plekken";
13546
+ referencedColumns: ["id"];
13547
+ }];
13548
+ };
13549
+ print_plekken: {
13550
+ Row: {
13551
+ actief: boolean;
13552
+ created_at: string;
13553
+ id: string;
13554
+ naam: string;
13555
+ omschrijving: string | null;
13556
+ updated_at: string;
13557
+ };
13558
+ Insert: {
13559
+ actief?: boolean;
13560
+ created_at?: string;
13561
+ id?: string;
13562
+ naam: string;
13563
+ omschrijving?: string | null;
13564
+ updated_at?: string;
13565
+ };
13566
+ Update: {
13567
+ actief?: boolean;
13568
+ created_at?: string;
13569
+ id?: string;
13570
+ naam?: string;
13571
+ omschrijving?: string | null;
13572
+ updated_at?: string;
13573
+ };
13574
+ Relationships: [];
13575
+ };
13345
13576
  print_queue_runners: {
13346
13577
  Row: {
13347
13578
  actief: boolean;
@@ -18600,6 +18831,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18600
18831
  scheduled_end_time: string | null;
18601
18832
  scheduled_start_time: string | null;
18602
18833
  sequence_number: number;
18834
+ signature_accepted_at: string | null;
18835
+ signature_by_user_id: string | null;
18836
+ signature_name: string | null;
18603
18837
  source_email_meta: import("./types").Json | null;
18604
18838
  source_mailbox_message_id: string | null;
18605
18839
  source_pdf_path: string | null;
@@ -18635,6 +18869,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18635
18869
  scheduled_end_time?: string | null;
18636
18870
  scheduled_start_time?: string | null;
18637
18871
  sequence_number: number;
18872
+ signature_accepted_at?: string | null;
18873
+ signature_by_user_id?: string | null;
18874
+ signature_name?: string | null;
18638
18875
  source_email_meta?: import("./types").Json | null;
18639
18876
  source_mailbox_message_id?: string | null;
18640
18877
  source_pdf_path?: string | null;
@@ -18670,6 +18907,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18670
18907
  scheduled_end_time?: string | null;
18671
18908
  scheduled_start_time?: string | null;
18672
18909
  sequence_number?: number;
18910
+ signature_accepted_at?: string | null;
18911
+ signature_by_user_id?: string | null;
18912
+ signature_name?: string | null;
18673
18913
  source_email_meta?: import("./types").Json | null;
18674
18914
  source_mailbox_message_id?: string | null;
18675
18915
  source_pdf_path?: string | null;
@@ -21081,6 +21321,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21081
21321
  };
21082
21322
  Returns: string;
21083
21323
  };
21324
+ logistics_floriday_finish_push_v3: {
21325
+ Args: {
21326
+ _error?: string;
21327
+ _error_code?: string;
21328
+ _fulfillment_order_id?: string;
21329
+ _gateway_status?: number;
21330
+ _id: string;
21331
+ _max_age_hours?: number;
21332
+ _max_attempts?: number;
21333
+ _outcome: string;
21334
+ _permanent?: boolean;
21335
+ _response?: import("./types").Json;
21336
+ _revision: number;
21337
+ _sent_hash?: string;
21338
+ _wait_max_age_hours?: number;
21339
+ };
21340
+ Returns: string;
21341
+ };
21084
21342
  logistics_floriday_prune_pushes: {
21085
21343
  Args: {
21086
21344
  _days?: number;
@@ -21716,6 +21974,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21716
21974
  };
21717
21975
  Returns: import("./types").Json;
21718
21976
  };
21977
+ pick_print_plekken: {
21978
+ Args: never;
21979
+ Returns: {
21980
+ id: string;
21981
+ naam: string;
21982
+ omschrijving: string;
21983
+ }[];
21984
+ };
21719
21985
  pick_release_expired_locks: {
21720
21986
  Args: never;
21721
21987
  Returns: number;
@@ -21780,6 +22046,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21780
22046
  isSetofReturn: false;
21781
22047
  };
21782
22048
  };
22049
+ pick_set_station_print_plek: {
22050
+ Args: {
22051
+ _print_plek_id: string;
22052
+ _station_id: string;
22053
+ };
22054
+ Returns: string;
22055
+ };
21783
22056
  pick_station_dashboard: {
21784
22057
  Args: never;
21785
22058
  Returns: {
@@ -21792,6 +22065,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21792
22065
  waiting: number;
21793
22066
  }[];
21794
22067
  };
22068
+ pick_station_print_plek: {
22069
+ Args: {
22070
+ _station_id: string;
22071
+ };
22072
+ Returns: {
22073
+ naam: string;
22074
+ omschrijving: string;
22075
+ print_plek_id: string;
22076
+ }[];
22077
+ };
22078
+ pick_station_print_plekken: {
22079
+ Args: never;
22080
+ Returns: {
22081
+ naam: string;
22082
+ omschrijving: string;
22083
+ print_plek_id: string;
22084
+ station_id: string;
22085
+ }[];
22086
+ };
21795
22087
  pick_station_slugify: {
21796
22088
  Args: {
21797
22089
  _id: string;