@flowselections/pick-schermen-kwekers 1.0.11 → 1.0.13

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 (31) hide show
  1. package/dist-lib/components/PickstationsPage.d.ts.map +1 -1
  2. package/dist-lib/components/PickstationsPage.js +11 -4
  3. package/dist-lib/components/pick/PickScherm.d.ts.map +1 -1
  4. package/dist-lib/components/pick/PickScherm.js +3 -2
  5. package/dist-lib/hooks/useKoppelingVoorBron.d.ts +12 -0
  6. package/dist-lib/hooks/useKoppelingVoorBron.d.ts.map +1 -0
  7. package/dist-lib/hooks/useKoppelingVoorBron.js +48 -0
  8. package/dist-lib/hooks/usePickConfig.d.ts +6 -0
  9. package/dist-lib/hooks/usePickConfig.d.ts.map +1 -1
  10. package/dist-lib/hooks/usePickConfig.js +19 -0
  11. package/dist-lib/index.d.ts +1 -0
  12. package/dist-lib/index.d.ts.map +1 -1
  13. package/dist-lib/index.js +1 -0
  14. package/dist-lib/integrations/supabase/auth-middleware.d.ts +371 -0
  15. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  16. package/dist-lib/integrations/supabase/client.d.ts +371 -0
  17. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/client.js +2 -1
  19. package/dist-lib/integrations/supabase/client.server.d.ts +371 -0
  20. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  21. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts +6 -0
  22. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -0
  23. package/dist-lib/integrations/supabase/previewAuthStorage.js +92 -0
  24. package/dist-lib/integrations/supabase/types.d.ts +378 -0
  25. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  26. package/dist-lib/lib/pickApi.d.ts +9 -1
  27. package/dist-lib/lib/pickApi.d.ts.map +1 -1
  28. package/dist-lib/lib/pickApi.js +30 -0
  29. package/dist-lib/lib/pickTypes.d.ts +15 -0
  30. package/dist-lib/lib/pickTypes.d.ts.map +1 -1
  31. package/package.json +7 -5
@@ -673,6 +673,99 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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;
@@ -9124,6 +9259,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
9124
9259
  id: string;
9125
9260
  last_error: string | null;
9126
9261
  last_error_at: string | null;
9262
+ last_error_code: string | null;
9263
+ last_gateway_status: number | null;
9264
+ last_queued_at: string | null;
9265
+ last_response: import("./types").Json | null;
9127
9266
  last_sent_hash: string | null;
9128
9267
  locked_by: string | null;
9129
9268
  locked_until: string | null;
@@ -9144,6 +9283,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
9144
9283
  id?: string;
9145
9284
  last_error?: string | null;
9146
9285
  last_error_at?: string | null;
9286
+ last_error_code?: string | null;
9287
+ last_gateway_status?: number | null;
9288
+ last_queued_at?: string | null;
9289
+ last_response?: import("./types").Json | null;
9147
9290
  last_sent_hash?: string | null;
9148
9291
  locked_by?: string | null;
9149
9292
  locked_until?: string | null;
@@ -9164,6 +9307,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
9164
9307
  id?: string;
9165
9308
  last_error?: string | null;
9166
9309
  last_error_at?: string | null;
9310
+ last_error_code?: string | null;
9311
+ last_gateway_status?: number | null;
9312
+ last_queued_at?: string | null;
9313
+ last_response?: import("./types").Json | null;
9167
9314
  last_sent_hash?: string | null;
9168
9315
  locked_by?: string | null;
9169
9316
  locked_until?: string | null;
@@ -13333,6 +13480,99 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13333
13480
  referencedColumns: ["id"];
13334
13481
  }];
13335
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
+ };
13336
13576
  print_queue_runners: {
13337
13577
  Row: {
13338
13578
  actief: boolean;
@@ -15487,6 +15727,45 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
15487
15727
  };
15488
15728
  Relationships: [];
15489
15729
  };
15730
+ stock_consumption_alerts: {
15731
+ Row: {
15732
+ alert_type: string;
15733
+ created_at: string;
15734
+ id: string;
15735
+ mutation_log_id: string | null;
15736
+ order_id: string | null;
15737
+ order_item_id: string | null;
15738
+ qty: number;
15739
+ reason: string | null;
15740
+ resolved_at: string | null;
15741
+ updated_at: string;
15742
+ };
15743
+ Insert: {
15744
+ alert_type: string;
15745
+ created_at?: string;
15746
+ id?: string;
15747
+ mutation_log_id?: string | null;
15748
+ order_id?: string | null;
15749
+ order_item_id?: string | null;
15750
+ qty?: number;
15751
+ reason?: string | null;
15752
+ resolved_at?: string | null;
15753
+ updated_at?: string;
15754
+ };
15755
+ Update: {
15756
+ alert_type?: string;
15757
+ created_at?: string;
15758
+ id?: string;
15759
+ mutation_log_id?: string | null;
15760
+ order_id?: string | null;
15761
+ order_item_id?: string | null;
15762
+ qty?: number;
15763
+ reason?: string | null;
15764
+ resolved_at?: string | null;
15765
+ updated_at?: string;
15766
+ };
15767
+ Relationships: [];
15768
+ };
15490
15769
  stock_import_runs: {
15491
15770
  Row: {
15492
15771
  connection_id: string | null;
@@ -18591,6 +18870,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
18591
18870
  scheduled_end_time: string | null;
18592
18871
  scheduled_start_time: string | null;
18593
18872
  sequence_number: number;
18873
+ signature_accepted_at: string | null;
18874
+ signature_by_user_id: string | null;
18875
+ signature_name: string | null;
18594
18876
  source_email_meta: import("./types").Json | null;
18595
18877
  source_mailbox_message_id: string | null;
18596
18878
  source_pdf_path: string | null;
@@ -18626,6 +18908,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
18626
18908
  scheduled_end_time?: string | null;
18627
18909
  scheduled_start_time?: string | null;
18628
18910
  sequence_number: number;
18911
+ signature_accepted_at?: string | null;
18912
+ signature_by_user_id?: string | null;
18913
+ signature_name?: string | null;
18629
18914
  source_email_meta?: import("./types").Json | null;
18630
18915
  source_mailbox_message_id?: string | null;
18631
18916
  source_pdf_path?: string | null;
@@ -18661,6 +18946,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
18661
18946
  scheduled_end_time?: string | null;
18662
18947
  scheduled_start_time?: string | null;
18663
18948
  sequence_number?: number;
18949
+ signature_accepted_at?: string | null;
18950
+ signature_by_user_id?: string | null;
18951
+ signature_name?: string | null;
18664
18952
  source_email_meta?: import("./types").Json | null;
18665
18953
  source_mailbox_message_id?: string | null;
18666
18954
  source_pdf_path?: string | null;
@@ -21055,6 +21343,41 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21055
21343
  };
21056
21344
  Returns: string;
21057
21345
  };
21346
+ logistics_floriday_finish_push_v2: {
21347
+ Args: {
21348
+ _error?: string;
21349
+ _error_code?: string;
21350
+ _fulfillment_order_id?: string;
21351
+ _gateway_status?: number;
21352
+ _id: string;
21353
+ _max_age_hours?: number;
21354
+ _max_attempts?: number;
21355
+ _ok: boolean;
21356
+ _permanent?: boolean;
21357
+ _response?: import("./types").Json;
21358
+ _revision: number;
21359
+ _sent_hash?: string;
21360
+ };
21361
+ Returns: string;
21362
+ };
21363
+ logistics_floriday_finish_push_v3: {
21364
+ Args: {
21365
+ _error?: string;
21366
+ _error_code?: string;
21367
+ _fulfillment_order_id?: string;
21368
+ _gateway_status?: number;
21369
+ _id: string;
21370
+ _max_age_hours?: number;
21371
+ _max_attempts?: number;
21372
+ _outcome: string;
21373
+ _permanent?: boolean;
21374
+ _response?: import("./types").Json;
21375
+ _revision: number;
21376
+ _sent_hash?: string;
21377
+ _wait_max_age_hours?: number;
21378
+ };
21379
+ Returns: string;
21380
+ };
21058
21381
  logistics_floriday_prune_pushes: {
21059
21382
  Args: {
21060
21383
  _days?: number;
@@ -21115,6 +21438,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21115
21438
  };
21116
21439
  Returns: import("./types").Json;
21117
21440
  };
21441
+ logistics_plan_block: {
21442
+ Args: {
21443
+ p_details?: import("./types").Json;
21444
+ p_order_ids: string[];
21445
+ p_reason: string;
21446
+ };
21447
+ Returns: number;
21448
+ };
21118
21449
  logistics_plan_buffer_sql: {
21119
21450
  Args: {
21120
21451
  p_buffer_id: string;
@@ -21483,6 +21814,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21483
21814
  verwijderd: number;
21484
21815
  }[];
21485
21816
  };
21817
+ order_departure_proof: {
21818
+ Args: {
21819
+ p_order_id: string;
21820
+ };
21821
+ Returns: import("./types").Json;
21822
+ };
21486
21823
  order_number_prefix: {
21487
21824
  Args: {
21488
21825
  p_custom_fields?: import("./types").Json;
@@ -21690,6 +22027,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21690
22027
  };
21691
22028
  Returns: import("./types").Json;
21692
22029
  };
22030
+ pick_print_plekken: {
22031
+ Args: never;
22032
+ Returns: {
22033
+ id: string;
22034
+ naam: string;
22035
+ omschrijving: string;
22036
+ }[];
22037
+ };
21693
22038
  pick_release_expired_locks: {
21694
22039
  Args: never;
21695
22040
  Returns: number;
@@ -21754,6 +22099,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21754
22099
  isSetofReturn: false;
21755
22100
  };
21756
22101
  };
22102
+ pick_set_station_print_plek: {
22103
+ Args: {
22104
+ _print_plek_id: string;
22105
+ _station_id: string;
22106
+ };
22107
+ Returns: string;
22108
+ };
21757
22109
  pick_station_dashboard: {
21758
22110
  Args: never;
21759
22111
  Returns: {
@@ -21766,6 +22118,25 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21766
22118
  waiting: number;
21767
22119
  }[];
21768
22120
  };
22121
+ pick_station_print_plek: {
22122
+ Args: {
22123
+ _station_id: string;
22124
+ };
22125
+ Returns: {
22126
+ naam: string;
22127
+ omschrijving: string;
22128
+ print_plek_id: string;
22129
+ }[];
22130
+ };
22131
+ pick_station_print_plekken: {
22132
+ Args: never;
22133
+ Returns: {
22134
+ naam: string;
22135
+ omschrijving: string;
22136
+ print_plek_id: string;
22137
+ station_id: string;
22138
+ }[];
22139
+ };
21769
22140
  pick_station_slugify: {
21770
22141
  Args: {
21771
22142
  _id: string;