@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
@@ -674,6 +674,99 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
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("../integrations/supabase/types").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("../integrations/supabase/types").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("../integrations/supabase/types").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 retryFloridayPush: import("@tanstack/start-client-core").Re
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;
@@ -9127,6 +9262,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
9127
9262
  last_error_at: string | null;
9128
9263
  last_error_code: string | null;
9129
9264
  last_gateway_status: number | null;
9265
+ last_queued_at: string | null;
9130
9266
  last_response: import("../integrations/supabase/types").Json | null;
9131
9267
  last_sent_hash: string | null;
9132
9268
  locked_by: string | null;
@@ -9150,6 +9286,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
9150
9286
  last_error_at?: string | null;
9151
9287
  last_error_code?: string | null;
9152
9288
  last_gateway_status?: number | null;
9289
+ last_queued_at?: string | null;
9153
9290
  last_response?: import("../integrations/supabase/types").Json | null;
9154
9291
  last_sent_hash?: string | null;
9155
9292
  locked_by?: string | null;
@@ -9173,6 +9310,7 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
9173
9310
  last_error_at?: string | null;
9174
9311
  last_error_code?: string | null;
9175
9312
  last_gateway_status?: number | null;
9313
+ last_queued_at?: string | null;
9176
9314
  last_response?: import("../integrations/supabase/types").Json | null;
9177
9315
  last_sent_hash?: string | null;
9178
9316
  locked_by?: string | null;
@@ -13343,6 +13481,99 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
13343
13481
  referencedColumns: ["id"];
13344
13482
  }];
13345
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
+ };
13346
13577
  print_queue_runners: {
13347
13578
  Row: {
13348
13579
  actief: boolean;
@@ -18601,6 +18832,9 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
18601
18832
  scheduled_end_time: string | null;
18602
18833
  scheduled_start_time: string | null;
18603
18834
  sequence_number: number;
18835
+ signature_accepted_at: string | null;
18836
+ signature_by_user_id: string | null;
18837
+ signature_name: string | null;
18604
18838
  source_email_meta: import("../integrations/supabase/types").Json | null;
18605
18839
  source_mailbox_message_id: string | null;
18606
18840
  source_pdf_path: string | null;
@@ -18636,6 +18870,9 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
18636
18870
  scheduled_end_time?: string | null;
18637
18871
  scheduled_start_time?: string | null;
18638
18872
  sequence_number: number;
18873
+ signature_accepted_at?: string | null;
18874
+ signature_by_user_id?: string | null;
18875
+ signature_name?: string | null;
18639
18876
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18640
18877
  source_mailbox_message_id?: string | null;
18641
18878
  source_pdf_path?: string | null;
@@ -18671,6 +18908,9 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
18671
18908
  scheduled_end_time?: string | null;
18672
18909
  scheduled_start_time?: string | null;
18673
18910
  sequence_number?: number;
18911
+ signature_accepted_at?: string | null;
18912
+ signature_by_user_id?: string | null;
18913
+ signature_name?: string | null;
18674
18914
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18675
18915
  source_mailbox_message_id?: string | null;
18676
18916
  source_pdf_path?: string | null;
@@ -21082,6 +21322,24 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21082
21322
  };
21083
21323
  Returns: string;
21084
21324
  };
21325
+ logistics_floriday_finish_push_v3: {
21326
+ Args: {
21327
+ _error?: string;
21328
+ _error_code?: string;
21329
+ _fulfillment_order_id?: string;
21330
+ _gateway_status?: number;
21331
+ _id: string;
21332
+ _max_age_hours?: number;
21333
+ _max_attempts?: number;
21334
+ _outcome: string;
21335
+ _permanent?: boolean;
21336
+ _response?: import("../integrations/supabase/types").Json;
21337
+ _revision: number;
21338
+ _sent_hash?: string;
21339
+ _wait_max_age_hours?: number;
21340
+ };
21341
+ Returns: string;
21342
+ };
21085
21343
  logistics_floriday_prune_pushes: {
21086
21344
  Args: {
21087
21345
  _days?: number;
@@ -21717,6 +21975,14 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21717
21975
  };
21718
21976
  Returns: import("../integrations/supabase/types").Json;
21719
21977
  };
21978
+ pick_print_plekken: {
21979
+ Args: never;
21980
+ Returns: {
21981
+ id: string;
21982
+ naam: string;
21983
+ omschrijving: string;
21984
+ }[];
21985
+ };
21720
21986
  pick_release_expired_locks: {
21721
21987
  Args: never;
21722
21988
  Returns: number;
@@ -21781,6 +22047,13 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21781
22047
  isSetofReturn: false;
21782
22048
  };
21783
22049
  };
22050
+ pick_set_station_print_plek: {
22051
+ Args: {
22052
+ _print_plek_id: string;
22053
+ _station_id: string;
22054
+ };
22055
+ Returns: string;
22056
+ };
21784
22057
  pick_station_dashboard: {
21785
22058
  Args: never;
21786
22059
  Returns: {
@@ -21793,6 +22066,25 @@ export declare const retryFloridayPush: import("@tanstack/start-client-core").Re
21793
22066
  waiting: number;
21794
22067
  }[];
21795
22068
  };
22069
+ pick_station_print_plek: {
22070
+ Args: {
22071
+ _station_id: string;
22072
+ };
22073
+ Returns: {
22074
+ naam: string;
22075
+ omschrijving: string;
22076
+ print_plek_id: string;
22077
+ }[];
22078
+ };
22079
+ pick_station_print_plekken: {
22080
+ Args: never;
22081
+ Returns: {
22082
+ naam: string;
22083
+ omschrijving: string;
22084
+ print_plek_id: string;
22085
+ station_id: string;
22086
+ }[];
22087
+ };
21796
22088
  pick_station_slugify: {
21797
22089
  Args: {
21798
22090
  _id: string;