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