@flowselections/floriday-afhandeling-module 1.0.36 → 1.0.38

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 (34) hide show
  1. package/dist-lib/components/afhandeling/PickAgendaView.d.ts.map +1 -1
  2. package/dist-lib/components/afhandeling/PickAgendaView.js +20 -9
  3. package/dist-lib/hooks/useOrderPlanning.d.ts +20 -3
  4. package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
  5. package/dist-lib/hooks/useOrderPlanning.js +80 -15
  6. package/dist-lib/integrations/supabase/auth-middleware.d.ts +532 -1
  7. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  8. package/dist-lib/integrations/supabase/client.server.d.ts +532 -1
  9. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  10. package/dist-lib/integrations/supabase/moduleClient.d.ts +532 -1
  11. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  12. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts +6 -0
  13. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -0
  14. package/dist-lib/integrations/supabase/previewAuthStorage.js +92 -0
  15. package/dist-lib/integrations/supabase/types.d.ts +543 -1
  16. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  17. package/dist-lib/lib/afhandelingSettings.functions.d.ts +1064 -2
  18. package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/carriers.functions.d.ts +2884 -229
  20. package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/cartAssignments.functions.d.ts +2884 -229
  22. package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/cartControl.functions.d.ts +5544 -234
  24. package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday.functions.d.ts +541 -2
  26. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/floriday.functions.js +41 -9
  28. package/dist-lib/lib/logisticsEngine/engine.d.ts +21 -1
  29. package/dist-lib/lib/logisticsEngine/engine.d.ts.map +1 -1
  30. package/dist-lib/lib/logisticsEngine/engine.js +81 -19
  31. package/dist-lib/lib/orderRefs.d.ts +18 -0
  32. package/dist-lib/lib/orderRefs.d.ts.map +1 -0
  33. package/dist-lib/lib/orderRefs.js +30 -0
  34. 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;
@@ -2758,6 +2851,42 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
2758
2851
  };
2759
2852
  Relationships: [];
2760
2853
  };
2854
+ document_bronregels: {
2855
+ Row: {
2856
+ bron: string;
2857
+ created_at: string;
2858
+ documenttype: string;
2859
+ herkomst: string;
2860
+ id: string;
2861
+ layout_id: string | null;
2862
+ updated_at: string;
2863
+ };
2864
+ Insert: {
2865
+ bron?: string;
2866
+ created_at?: string;
2867
+ documenttype: string;
2868
+ herkomst: string;
2869
+ id?: string;
2870
+ layout_id?: string | null;
2871
+ updated_at?: string;
2872
+ };
2873
+ Update: {
2874
+ bron?: string;
2875
+ created_at?: string;
2876
+ documenttype?: string;
2877
+ herkomst?: string;
2878
+ id?: string;
2879
+ layout_id?: string | null;
2880
+ updated_at?: string;
2881
+ };
2882
+ Relationships: [{
2883
+ foreignKeyName: "document_bronregels_layout_id_fkey";
2884
+ columns: ["layout_id"];
2885
+ isOneToOne: false;
2886
+ referencedRelation: "document_layouts";
2887
+ referencedColumns: ["id"];
2888
+ }];
2889
+ };
2761
2890
  document_formaat_printers: {
2762
2891
  Row: {
2763
2892
  created_at: string;
@@ -3035,6 +3164,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3035
3164
  Row: {
3036
3165
  actief: boolean;
3037
3166
  breedte_mm: number;
3167
+ bron: string;
3038
3168
  config: import("./types").Json;
3039
3169
  created_at: string;
3040
3170
  created_by: string | null;
@@ -3052,12 +3182,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3052
3182
  orientatie: Database["public"]["Enums"]["doc_orientation"];
3053
3183
  page_settings: import("./types").Json;
3054
3184
  papierformaat: string;
3185
+ systeem: boolean;
3055
3186
  thumbnail_url: string | null;
3056
3187
  updated_at: string;
3057
3188
  };
3058
3189
  Insert: {
3059
3190
  actief?: boolean;
3060
3191
  breedte_mm?: number;
3192
+ bron?: string;
3061
3193
  config?: import("./types").Json;
3062
3194
  created_at?: string;
3063
3195
  created_by?: string | null;
@@ -3075,12 +3207,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3075
3207
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3076
3208
  page_settings?: import("./types").Json;
3077
3209
  papierformaat?: string;
3210
+ systeem?: boolean;
3078
3211
  thumbnail_url?: string | null;
3079
3212
  updated_at?: string;
3080
3213
  };
3081
3214
  Update: {
3082
3215
  actief?: boolean;
3083
3216
  breedte_mm?: number;
3217
+ bron?: string;
3084
3218
  config?: import("./types").Json;
3085
3219
  created_at?: string;
3086
3220
  created_by?: string | null;
@@ -3098,11 +3232,90 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3098
3232
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3099
3233
  page_settings?: import("./types").Json;
3100
3234
  papierformaat?: string;
3235
+ systeem?: boolean;
3101
3236
  thumbnail_url?: string | null;
3102
3237
  updated_at?: string;
3103
3238
  };
3104
3239
  Relationships: [];
3105
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
+ };
3283
+ document_werkplek_printers: {
3284
+ Row: {
3285
+ created_at: string;
3286
+ documenttype: string;
3287
+ id: string;
3288
+ papierformaat: string | null;
3289
+ printer_id: string | null;
3290
+ updated_at: string;
3291
+ werkplek: string;
3292
+ };
3293
+ Insert: {
3294
+ created_at?: string;
3295
+ documenttype: string;
3296
+ id?: string;
3297
+ papierformaat?: string | null;
3298
+ printer_id?: string | null;
3299
+ updated_at?: string;
3300
+ werkplek: string;
3301
+ };
3302
+ Update: {
3303
+ created_at?: string;
3304
+ documenttype?: string;
3305
+ id?: string;
3306
+ papierformaat?: string | null;
3307
+ printer_id?: string | null;
3308
+ updated_at?: string;
3309
+ werkplek?: string;
3310
+ };
3311
+ Relationships: [{
3312
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
3313
+ columns: ["printer_id"];
3314
+ isOneToOne: false;
3315
+ referencedRelation: "printers";
3316
+ referencedColumns: ["id"];
3317
+ }];
3318
+ };
3106
3319
  email_auth_connections: {
3107
3320
  Row: {
3108
3321
  access_token_encrypted: string | null;
@@ -7404,6 +7617,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
7404
7617
  };
7405
7618
  invoice_post_idempotency: {
7406
7619
  Row: {
7620
+ administration_code: string;
7407
7621
  client_request_id: string;
7408
7622
  completed_at: string | null;
7409
7623
  created_at: string;
@@ -7413,6 +7627,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
7413
7627
  user_id: string;
7414
7628
  };
7415
7629
  Insert: {
7630
+ administration_code?: string;
7416
7631
  client_request_id: string;
7417
7632
  completed_at?: string | null;
7418
7633
  created_at?: string;
@@ -7422,6 +7637,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
7422
7637
  user_id: string;
7423
7638
  };
7424
7639
  Update: {
7640
+ administration_code?: string;
7425
7641
  client_request_id?: string;
7426
7642
  completed_at?: string | null;
7427
7643
  created_at?: string;
@@ -9043,6 +9259,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9043
9259
  id: string;
9044
9260
  last_error: string | null;
9045
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;
9046
9266
  last_sent_hash: string | null;
9047
9267
  locked_by: string | null;
9048
9268
  locked_until: string | null;
@@ -9063,6 +9283,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9063
9283
  id?: string;
9064
9284
  last_error?: string | null;
9065
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;
9066
9290
  last_sent_hash?: string | null;
9067
9291
  locked_by?: string | null;
9068
9292
  locked_until?: string | null;
@@ -9083,6 +9307,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9083
9307
  id?: string;
9084
9308
  last_error?: string | null;
9085
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;
9086
9314
  last_sent_hash?: string | null;
9087
9315
  locked_by?: string | null;
9088
9316
  locked_until?: string | null;
@@ -10636,6 +10864,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10636
10864
  enforce: boolean;
10637
10865
  is_active: boolean;
10638
10866
  last_seen_at: string;
10867
+ missing_count: number;
10639
10868
  module_id: string;
10640
10869
  name: string;
10641
10870
  shell_id: string | null;
@@ -10646,6 +10875,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10646
10875
  enforce?: boolean;
10647
10876
  is_active?: boolean;
10648
10877
  last_seen_at?: string;
10878
+ missing_count?: number;
10649
10879
  module_id: string;
10650
10880
  name: string;
10651
10881
  shell_id?: string | null;
@@ -10656,6 +10886,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10656
10886
  enforce?: boolean;
10657
10887
  is_active?: boolean;
10658
10888
  last_seen_at?: string;
10889
+ missing_count?: number;
10659
10890
  module_id?: string;
10660
10891
  name?: string;
10661
10892
  shell_id?: string | null;
@@ -11655,6 +11886,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
11655
11886
  };
11656
11887
  order_invoice_links: {
11657
11888
  Row: {
11889
+ administration_code: string | null;
11658
11890
  attempts: number;
11659
11891
  created_at: string;
11660
11892
  error_message: string | null;
@@ -11667,6 +11899,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
11667
11899
  updated_at: string;
11668
11900
  };
11669
11901
  Insert: {
11902
+ administration_code?: string | null;
11670
11903
  attempts?: number;
11671
11904
  created_at?: string;
11672
11905
  error_message?: string | null;
@@ -11679,6 +11912,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
11679
11912
  updated_at?: string;
11680
11913
  };
11681
11914
  Update: {
11915
+ administration_code?: string | null;
11682
11916
  attempts?: number;
11683
11917
  created_at?: string;
11684
11918
  error_message?: string | null;
@@ -12844,6 +13078,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12844
13078
  referencedColumns: ["id"];
12845
13079
  }];
12846
13080
  };
13081
+ pick_sync_state: {
13082
+ Row: {
13083
+ id: boolean;
13084
+ last_cleanup_at: string | null;
13085
+ last_sync_at: string | null;
13086
+ updated_at: string;
13087
+ };
13088
+ Insert: {
13089
+ id?: boolean;
13090
+ last_cleanup_at?: string | null;
13091
+ last_sync_at?: string | null;
13092
+ updated_at?: string;
13093
+ };
13094
+ Update: {
13095
+ id?: boolean;
13096
+ last_cleanup_at?: string | null;
13097
+ last_sync_at?: string | null;
13098
+ updated_at?: string;
13099
+ };
13100
+ Relationships: [];
13101
+ };
12847
13102
  pick_task_document_types: {
12848
13103
  Row: {
12849
13104
  created_at: string;
@@ -13126,6 +13381,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13126
13381
  gebruiker_id: string | null;
13127
13382
  gebruiker_naam: string;
13128
13383
  gestart_op: string | null;
13384
+ herkomst: string | null;
13129
13385
  id: string;
13130
13386
  idempotentie_sleutel: string | null;
13131
13387
  is_herprint: boolean;
@@ -13155,6 +13411,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13155
13411
  gebruiker_id?: string | null;
13156
13412
  gebruiker_naam?: string;
13157
13413
  gestart_op?: string | null;
13414
+ herkomst?: string | null;
13158
13415
  id?: string;
13159
13416
  idempotentie_sleutel?: string | null;
13160
13417
  is_herprint?: boolean;
@@ -13184,6 +13441,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13184
13441
  gebruiker_id?: string | null;
13185
13442
  gebruiker_naam?: string;
13186
13443
  gestart_op?: string | null;
13444
+ herkomst?: string | null;
13187
13445
  id?: string;
13188
13446
  idempotentie_sleutel?: string | null;
13189
13447
  is_herprint?: boolean;
@@ -13222,6 +13480,99 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13222
13480
  referencedColumns: ["id"];
13223
13481
  }];
13224
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
+ };
13225
13576
  print_queue_runners: {
13226
13577
  Row: {
13227
13578
  actief: boolean;
@@ -16188,12 +16539,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16188
16539
  company_name: string | null;
16189
16540
  connected_at: string | null;
16190
16541
  created_at: string;
16542
+ disconnected_at: string | null;
16191
16543
  environment: string;
16192
16544
  id: string;
16545
+ initial_sync_completed_at: string | null;
16546
+ initial_sync_started_at: string | null;
16193
16547
  is_active: boolean;
16194
16548
  label: string | null;
16195
16549
  office_code: string | null;
16196
16550
  redirect_uri: string | null;
16551
+ superseded_at: string | null;
16197
16552
  updated_at: string;
16198
16553
  user_id: string;
16199
16554
  };
@@ -16204,12 +16559,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16204
16559
  company_name?: string | null;
16205
16560
  connected_at?: string | null;
16206
16561
  created_at?: string;
16562
+ disconnected_at?: string | null;
16207
16563
  environment: string;
16208
16564
  id?: string;
16565
+ initial_sync_completed_at?: string | null;
16566
+ initial_sync_started_at?: string | null;
16209
16567
  is_active?: boolean;
16210
16568
  label?: string | null;
16211
16569
  office_code?: string | null;
16212
16570
  redirect_uri?: string | null;
16571
+ superseded_at?: string | null;
16213
16572
  updated_at?: string;
16214
16573
  user_id: string;
16215
16574
  };
@@ -16220,12 +16579,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16220
16579
  company_name?: string | null;
16221
16580
  connected_at?: string | null;
16222
16581
  created_at?: string;
16582
+ disconnected_at?: string | null;
16223
16583
  environment?: string;
16224
16584
  id?: string;
16585
+ initial_sync_completed_at?: string | null;
16586
+ initial_sync_started_at?: string | null;
16225
16587
  is_active?: boolean;
16226
16588
  label?: string | null;
16227
16589
  office_code?: string | null;
16228
16590
  redirect_uri?: string | null;
16591
+ superseded_at?: string | null;
16229
16592
  updated_at?: string;
16230
16593
  user_id?: string;
16231
16594
  };
@@ -16285,6 +16648,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16285
16648
  twinfield_customers: {
16286
16649
  Row: {
16287
16650
  address: string | null;
16651
+ administration_code: string;
16288
16652
  city: string | null;
16289
16653
  country: string | null;
16290
16654
  created_at: string;
@@ -16304,6 +16668,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16304
16668
  };
16305
16669
  Insert: {
16306
16670
  address?: string | null;
16671
+ administration_code?: string;
16307
16672
  city?: string | null;
16308
16673
  country?: string | null;
16309
16674
  created_at?: string;
@@ -16323,6 +16688,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16323
16688
  };
16324
16689
  Update: {
16325
16690
  address?: string | null;
16691
+ administration_code?: string;
16326
16692
  city?: string | null;
16327
16693
  country?: string | null;
16328
16694
  created_at?: string;
@@ -16536,7 +16902,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16536
16902
  };
16537
16903
  twinfield_invoice_settings: {
16538
16904
  Row: {
16905
+ administration_code: string | null;
16539
16906
  auto_invoice_enabled: boolean;
16907
+ auto_invoice_start_date: string | null;
16540
16908
  auto_invoice_trigger_statuses: string[];
16541
16909
  created_at: string;
16542
16910
  debtor_gl_account: string;
@@ -16550,15 +16918,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16550
16918
  invoice_enabled_fo: boolean;
16551
16919
  invoice_enabled_ho: boolean;
16552
16920
  invoice_enabled_mo: boolean;
16921
+ needs_review: boolean;
16553
16922
  payment_gl_account: string;
16554
16923
  payment_journal_code: string;
16924
+ settings_confirmed_at: string | null;
16555
16925
  updated_at: string;
16556
16926
  user_id: string;
16557
16927
  vat_code_eu_reverse: string | null;
16558
16928
  vat_code_export: string | null;
16559
16929
  };
16560
16930
  Insert: {
16931
+ administration_code?: string | null;
16561
16932
  auto_invoice_enabled?: boolean;
16933
+ auto_invoice_start_date?: string | null;
16562
16934
  auto_invoice_trigger_statuses?: string[];
16563
16935
  created_at?: string;
16564
16936
  debtor_gl_account?: string;
@@ -16572,15 +16944,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16572
16944
  invoice_enabled_fo?: boolean;
16573
16945
  invoice_enabled_ho?: boolean;
16574
16946
  invoice_enabled_mo?: boolean;
16947
+ needs_review?: boolean;
16575
16948
  payment_gl_account?: string;
16576
16949
  payment_journal_code?: string;
16950
+ settings_confirmed_at?: string | null;
16577
16951
  updated_at?: string;
16578
16952
  user_id: string;
16579
16953
  vat_code_eu_reverse?: string | null;
16580
16954
  vat_code_export?: string | null;
16581
16955
  };
16582
16956
  Update: {
16957
+ administration_code?: string | null;
16583
16958
  auto_invoice_enabled?: boolean;
16959
+ auto_invoice_start_date?: string | null;
16584
16960
  auto_invoice_trigger_statuses?: string[];
16585
16961
  created_at?: string;
16586
16962
  debtor_gl_account?: string;
@@ -16594,8 +16970,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16594
16970
  invoice_enabled_fo?: boolean;
16595
16971
  invoice_enabled_ho?: boolean;
16596
16972
  invoice_enabled_mo?: boolean;
16973
+ needs_review?: boolean;
16597
16974
  payment_gl_account?: string;
16598
16975
  payment_journal_code?: string;
16976
+ settings_confirmed_at?: string | null;
16599
16977
  updated_at?: string;
16600
16978
  user_id?: string;
16601
16979
  vat_code_eu_reverse?: string | null;
@@ -18453,6 +18831,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18453
18831
  scheduled_end_time: string | null;
18454
18832
  scheduled_start_time: string | null;
18455
18833
  sequence_number: number;
18834
+ signature_accepted_at: string | null;
18835
+ signature_by_user_id: string | null;
18836
+ signature_name: string | null;
18456
18837
  source_email_meta: import("./types").Json | null;
18457
18838
  source_mailbox_message_id: string | null;
18458
18839
  source_pdf_path: string | null;
@@ -18488,6 +18869,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18488
18869
  scheduled_end_time?: string | null;
18489
18870
  scheduled_start_time?: string | null;
18490
18871
  sequence_number: number;
18872
+ signature_accepted_at?: string | null;
18873
+ signature_by_user_id?: string | null;
18874
+ signature_name?: string | null;
18491
18875
  source_email_meta?: import("./types").Json | null;
18492
18876
  source_mailbox_message_id?: string | null;
18493
18877
  source_pdf_path?: string | null;
@@ -18523,6 +18907,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18523
18907
  scheduled_end_time?: string | null;
18524
18908
  scheduled_start_time?: string | null;
18525
18909
  sequence_number?: number;
18910
+ signature_accepted_at?: string | null;
18911
+ signature_by_user_id?: string | null;
18912
+ signature_name?: string | null;
18526
18913
  source_email_meta?: import("./types").Json | null;
18527
18914
  source_mailbox_message_id?: string | null;
18528
18915
  source_pdf_path?: string | null;
@@ -19652,6 +20039,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19652
20039
  gebruiker_id: string | null;
19653
20040
  gebruiker_naam: string;
19654
20041
  gestart_op: string | null;
20042
+ herkomst: string | null;
19655
20043
  id: string;
19656
20044
  idempotentie_sleutel: string | null;
19657
20045
  is_herprint: boolean;
@@ -19772,6 +20160,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19772
20160
  gebruiker_id: string | null;
19773
20161
  gebruiker_naam: string;
19774
20162
  gestart_op: string | null;
20163
+ herkomst: string | null;
19775
20164
  id: string;
19776
20165
  idempotentie_sleutel: string | null;
19777
20166
  is_herprint: boolean;
@@ -20481,6 +20870,29 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20481
20870
  roles: string[];
20482
20871
  }[];
20483
20872
  };
20873
+ list_monteur_absences: {
20874
+ Args: {
20875
+ _from: string;
20876
+ _to: string;
20877
+ };
20878
+ Returns: {
20879
+ absence_date: string;
20880
+ end_time: string;
20881
+ full_day: boolean;
20882
+ kind: string;
20883
+ monteur_id: string;
20884
+ start_time: string;
20885
+ }[];
20886
+ };
20887
+ list_monteurs: {
20888
+ Args: never;
20889
+ Returns: {
20890
+ avatar_url: string;
20891
+ display_name: string;
20892
+ email: string;
20893
+ id: string;
20894
+ }[];
20895
+ };
20484
20896
  list_my_planning_items: {
20485
20897
  Args: {
20486
20898
  _from: string;
@@ -20892,6 +21304,41 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20892
21304
  };
20893
21305
  Returns: string;
20894
21306
  };
21307
+ logistics_floriday_finish_push_v2: {
21308
+ Args: {
21309
+ _error?: string;
21310
+ _error_code?: string;
21311
+ _fulfillment_order_id?: string;
21312
+ _gateway_status?: number;
21313
+ _id: string;
21314
+ _max_age_hours?: number;
21315
+ _max_attempts?: number;
21316
+ _ok: boolean;
21317
+ _permanent?: boolean;
21318
+ _response?: import("./types").Json;
21319
+ _revision: number;
21320
+ _sent_hash?: string;
21321
+ };
21322
+ Returns: string;
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
+ };
20895
21342
  logistics_floriday_prune_pushes: {
20896
21343
  Args: {
20897
21344
  _days?: number;
@@ -21434,6 +21881,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21434
21881
  isSetofReturn: false;
21435
21882
  };
21436
21883
  };
21884
+ pick_cleanup_maintenance: {
21885
+ Args: {
21886
+ _heartbeat_hours?: number;
21887
+ _log_days?: number;
21888
+ };
21889
+ Returns: import("./types").Json;
21890
+ };
21437
21891
  pick_complete_print: {
21438
21892
  Args: {
21439
21893
  _printer_id: string;
@@ -21485,6 +21939,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21485
21939
  Args: never;
21486
21940
  Returns: string;
21487
21941
  };
21942
+ pick_day_counts: {
21943
+ Args: {
21944
+ _pick_day?: string;
21945
+ _screen_id?: string;
21946
+ _station_id?: string;
21947
+ };
21948
+ Returns: import("./types").Json;
21949
+ };
21488
21950
  pick_document_layout_data: {
21489
21951
  Args: {
21490
21952
  _layout_id: string;
@@ -21512,6 +21974,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21512
21974
  };
21513
21975
  Returns: import("./types").Json;
21514
21976
  };
21977
+ pick_print_plekken: {
21978
+ Args: never;
21979
+ Returns: {
21980
+ id: string;
21981
+ naam: string;
21982
+ omschrijving: string;
21983
+ }[];
21984
+ };
21515
21985
  pick_release_expired_locks: {
21516
21986
  Args: never;
21517
21987
  Returns: number;
@@ -21522,6 +21992,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21522
21992
  };
21523
21993
  Returns: undefined;
21524
21994
  };
21995
+ pick_reprint_document: {
21996
+ Args: {
21997
+ _queue_item_id: string;
21998
+ _session_id: string;
21999
+ _throttle_seconds?: number;
22000
+ };
22001
+ Returns: string;
22002
+ };
21525
22003
  pick_reset_print: {
21526
22004
  Args: {
21527
22005
  _queue_item_id: string;
@@ -21568,6 +22046,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21568
22046
  isSetofReturn: false;
21569
22047
  };
21570
22048
  };
22049
+ pick_set_station_print_plek: {
22050
+ Args: {
22051
+ _print_plek_id: string;
22052
+ _station_id: string;
22053
+ };
22054
+ Returns: string;
22055
+ };
21571
22056
  pick_station_dashboard: {
21572
22057
  Args: never;
21573
22058
  Returns: {
@@ -21580,6 +22065,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21580
22065
  waiting: number;
21581
22066
  }[];
21582
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
+ };
21583
22087
  pick_station_slugify: {
21584
22088
  Args: {
21585
22089
  _id: string;
@@ -21587,6 +22091,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21587
22091
  };
21588
22092
  Returns: string;
21589
22093
  };
22094
+ pick_sync_queue_throttled: {
22095
+ Args: {
22096
+ _min_seconds?: number;
22097
+ };
22098
+ Returns: import("./types").Json;
22099
+ };
21590
22100
  pickstation_get_orders_raw: {
21591
22101
  Args: never;
21592
22102
  Returns: import("./types").Json;
@@ -21732,6 +22242,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21732
22242
  };
21733
22243
  Returns: boolean;
21734
22244
  };
22245
+ release_stale_order_invoice_links: {
22246
+ Args: {
22247
+ _minutes?: number;
22248
+ };
22249
+ Returns: number;
22250
+ };
21735
22251
  reorder_customer_price_groups: {
21736
22252
  Args: {
21737
22253
  _ids: string[];
@@ -22250,6 +22766,20 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22250
22766
  };
22251
22767
  Returns: undefined;
22252
22768
  };
22769
+ twinfield_deactivate_connection: {
22770
+ Args: {
22771
+ p_connection_id: string;
22772
+ p_user_id: string;
22773
+ };
22774
+ Returns: import("./types").Json;
22775
+ };
22776
+ twinfield_handle_administration_change: {
22777
+ Args: {
22778
+ _administration_code: string;
22779
+ _user_id: string;
22780
+ };
22781
+ Returns: undefined;
22782
+ };
22253
22783
  twinfield_prune_push_queue: {
22254
22784
  Args: never;
22255
22785
  Returns: number;
@@ -22269,10 +22799,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22269
22799
  p_company_name?: string;
22270
22800
  p_environment: string;
22271
22801
  p_office_code?: string;
22802
+ p_reset_sync?: boolean;
22272
22803
  p_status?: string;
22273
22804
  p_user_id: string;
22274
22805
  };
22275
- Returns: string;
22806
+ Returns: import("./types").Json;
22276
22807
  };
22277
22808
  upsert_auto_fulfillment_log: {
22278
22809
  Args: {