@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
@@ -21,6 +21,14 @@ export interface FloridayOrder {
21
21
  hasStickers?: boolean;
22
22
  /** Floriday salesOrderId — nodig voor afleverbrief PDF via gateway. */
23
23
  salesOrderId?: string | null;
24
+ /**
25
+ * Staat deze order (ook) als rij in public.orders? Cache-only orders hebben
26
+ * geen Engine-taak omdat de Verkoop-module ze nog niet gemirrord heeft; dat
27
+ * is een andere oorzaak dan "wacht op indeling".
28
+ */
29
+ mirrored?: boolean;
30
+ /** Id van de gemirrorde rij in public.orders (ref voor Engine-taken). */
31
+ mirroredOrderId?: string | null;
24
32
  }
25
33
  export interface GetFloridayOrdersInput {
26
34
  /** Ondergrens leverdatum (YYYY-MM-DD). */
@@ -177,7 +185,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
177
185
  id?: string;
178
186
  linked_data?: import("../integrations/supabase/types").Json;
179
187
  location?: string | null;
180
- notes?: string | null;
188
+ notes? /** Ondergrens leverdatum (YYYY-MM-DD). */: string | null;
181
189
  recurrence?: string | null;
182
190
  reminders?: import("../integrations/supabase/types").Json;
183
191
  source_id?: string | null;
@@ -714,6 +722,99 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
714
722
  };
715
723
  Relationships: [];
716
724
  };
725
+ artikelen_cache: {
726
+ Row: {
727
+ artikelcode: string;
728
+ bron: string;
729
+ bruto_prijs_cent: number | null;
730
+ created_at: string;
731
+ eenheid: string;
732
+ fabrikant: string | null;
733
+ fetched_at: string;
734
+ gtin: string | null;
735
+ id: string;
736
+ naam: string;
737
+ netto_prijs_cent: number | null;
738
+ omschrijving: string | null;
739
+ raw: import("../integrations/supabase/types").Json;
740
+ updated_at: string;
741
+ valuta: string;
742
+ };
743
+ Insert: {
744
+ artikelcode: string;
745
+ bron?: string;
746
+ bruto_prijs_cent?: number | null;
747
+ created_at?: string;
748
+ eenheid?: string;
749
+ fabrikant?: string | null;
750
+ fetched_at?: string;
751
+ gtin?: string | null;
752
+ id?: string;
753
+ naam: string;
754
+ netto_prijs_cent?: number | null;
755
+ omschrijving?: string | null;
756
+ raw?: import("../integrations/supabase/types").Json;
757
+ updated_at?: string;
758
+ valuta?: string;
759
+ };
760
+ Update: {
761
+ artikelcode?: string;
762
+ bron?: string;
763
+ bruto_prijs_cent?: number | null;
764
+ created_at?: string;
765
+ eenheid?: string;
766
+ fabrikant?: string | null;
767
+ fetched_at?: string;
768
+ gtin?: string | null;
769
+ id?: string;
770
+ naam?: string;
771
+ netto_prijs_cent?: number | null;
772
+ omschrijving?: string | null;
773
+ raw?: import("../integrations/supabase/types").Json;
774
+ updated_at?: string;
775
+ valuta?: string;
776
+ };
777
+ Relationships: [];
778
+ };
779
+ artikelen_veldconfig: {
780
+ Row: {
781
+ bron_pad: string;
782
+ created_at: string;
783
+ id: string;
784
+ label: string;
785
+ sort_order: number;
786
+ type: string;
787
+ updated_at: string;
788
+ veld_key: string;
789
+ zichtbaar_in_detail: boolean;
790
+ zichtbaar_in_lijst: boolean;
791
+ };
792
+ Insert: {
793
+ bron_pad: string;
794
+ created_at?: string;
795
+ id?: string;
796
+ label: string;
797
+ sort_order?: number;
798
+ type?: string;
799
+ updated_at?: string;
800
+ veld_key: string;
801
+ zichtbaar_in_detail?: boolean;
802
+ zichtbaar_in_lijst?: boolean;
803
+ };
804
+ Update: {
805
+ bron_pad?: string;
806
+ created_at?: string;
807
+ id?: string;
808
+ label?: string;
809
+ sort_order?: number;
810
+ type?: string;
811
+ updated_at?: string;
812
+ veld_key?: string;
813
+ zichtbaar_in_detail?: boolean;
814
+ zichtbaar_in_lijst?: boolean;
815
+ };
816
+ Relationships: [];
817
+ };
717
818
  booking_items: {
718
819
  Row: {
719
820
  booking_id: string;
@@ -2799,6 +2900,42 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
2799
2900
  };
2800
2901
  Relationships: [];
2801
2902
  };
2903
+ document_bronregels: {
2904
+ Row: {
2905
+ bron: string;
2906
+ created_at: string;
2907
+ documenttype: string;
2908
+ herkomst: string;
2909
+ id: string;
2910
+ layout_id: string | null;
2911
+ updated_at: string;
2912
+ };
2913
+ Insert: {
2914
+ bron?: string;
2915
+ created_at?: string;
2916
+ documenttype: string;
2917
+ herkomst: string;
2918
+ id?: string;
2919
+ layout_id?: string | null;
2920
+ updated_at?: string;
2921
+ };
2922
+ Update: {
2923
+ bron?: string;
2924
+ created_at?: string;
2925
+ documenttype?: string;
2926
+ herkomst?: string;
2927
+ id?: string;
2928
+ layout_id?: string | null;
2929
+ updated_at?: string;
2930
+ };
2931
+ Relationships: [{
2932
+ foreignKeyName: "document_bronregels_layout_id_fkey";
2933
+ columns: ["layout_id"];
2934
+ isOneToOne: false;
2935
+ referencedRelation: "document_layouts";
2936
+ referencedColumns: ["id"];
2937
+ }];
2938
+ };
2802
2939
  document_formaat_printers: {
2803
2940
  Row: {
2804
2941
  created_at: string;
@@ -3076,6 +3213,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
3076
3213
  Row: {
3077
3214
  actief: boolean;
3078
3215
  breedte_mm: number;
3216
+ bron: string;
3079
3217
  config: import("../integrations/supabase/types").Json;
3080
3218
  created_at: string;
3081
3219
  created_by: string | null;
@@ -3093,12 +3231,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
3093
3231
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3094
3232
  page_settings: import("../integrations/supabase/types").Json;
3095
3233
  papierformaat: string;
3234
+ systeem: boolean;
3096
3235
  thumbnail_url: string | null;
3097
3236
  updated_at: string;
3098
3237
  };
3099
3238
  Insert: {
3100
3239
  actief?: boolean;
3101
3240
  breedte_mm?: number;
3241
+ bron?: string;
3102
3242
  config?: import("../integrations/supabase/types").Json;
3103
3243
  created_at?: string;
3104
3244
  created_by?: string | null;
@@ -3116,12 +3256,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
3116
3256
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3117
3257
  page_settings?: import("../integrations/supabase/types").Json;
3118
3258
  papierformaat?: string;
3259
+ systeem?: boolean;
3119
3260
  thumbnail_url?: string | null;
3120
3261
  updated_at?: string;
3121
3262
  };
3122
3263
  Update: {
3123
3264
  actief?: boolean;
3124
3265
  breedte_mm?: number;
3266
+ bron?: string;
3125
3267
  config?: import("../integrations/supabase/types").Json;
3126
3268
  created_at?: string;
3127
3269
  created_by?: string | null;
@@ -3139,11 +3281,90 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
3139
3281
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3140
3282
  page_settings?: import("../integrations/supabase/types").Json;
3141
3283
  papierformaat?: string;
3284
+ systeem?: boolean;
3142
3285
  thumbnail_url?: string | null;
3143
3286
  updated_at?: string;
3144
3287
  };
3145
3288
  Relationships: [];
3146
3289
  };
3290
+ document_printplek_printers: {
3291
+ Row: {
3292
+ created_at: string;
3293
+ documenttype: string;
3294
+ id: string;
3295
+ papierformaat: string | null;
3296
+ print_plek_id: string;
3297
+ printer_id: string | null;
3298
+ updated_at: string;
3299
+ };
3300
+ Insert: {
3301
+ created_at?: string;
3302
+ documenttype: string;
3303
+ id?: string;
3304
+ papierformaat?: string | null;
3305
+ print_plek_id: string;
3306
+ printer_id?: string | null;
3307
+ updated_at?: string;
3308
+ };
3309
+ Update: {
3310
+ created_at?: string;
3311
+ documenttype?: string;
3312
+ id?: string;
3313
+ papierformaat?: string | null;
3314
+ print_plek_id?: string;
3315
+ printer_id?: string | null;
3316
+ updated_at?: string;
3317
+ };
3318
+ Relationships: [{
3319
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
3320
+ columns: ["print_plek_id"];
3321
+ isOneToOne: false;
3322
+ referencedRelation: "print_plekken";
3323
+ referencedColumns: ["id"];
3324
+ }, {
3325
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
3326
+ columns: ["printer_id"];
3327
+ isOneToOne: false;
3328
+ referencedRelation: "printers";
3329
+ referencedColumns: ["id"];
3330
+ }];
3331
+ };
3332
+ document_werkplek_printers: {
3333
+ Row: {
3334
+ created_at: string;
3335
+ documenttype: string;
3336
+ id: string;
3337
+ papierformaat: string | null;
3338
+ printer_id: string | null;
3339
+ updated_at: string;
3340
+ werkplek: string;
3341
+ };
3342
+ Insert: {
3343
+ created_at?: string;
3344
+ documenttype: string;
3345
+ id?: string;
3346
+ papierformaat?: string | null;
3347
+ printer_id?: string | null;
3348
+ updated_at?: string;
3349
+ werkplek: string;
3350
+ };
3351
+ Update: {
3352
+ created_at?: string;
3353
+ documenttype?: string;
3354
+ id?: string;
3355
+ papierformaat?: string | null;
3356
+ printer_id?: string | null;
3357
+ updated_at?: string;
3358
+ werkplek?: string;
3359
+ };
3360
+ Relationships: [{
3361
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
3362
+ columns: ["printer_id"];
3363
+ isOneToOne: false;
3364
+ referencedRelation: "printers";
3365
+ referencedColumns: ["id"];
3366
+ }];
3367
+ };
3147
3368
  email_auth_connections: {
3148
3369
  Row: {
3149
3370
  access_token_encrypted: string | null;
@@ -7445,6 +7666,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
7445
7666
  };
7446
7667
  invoice_post_idempotency: {
7447
7668
  Row: {
7669
+ administration_code: string;
7448
7670
  client_request_id: string;
7449
7671
  completed_at: string | null;
7450
7672
  created_at: string;
@@ -7454,6 +7676,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
7454
7676
  user_id: string;
7455
7677
  };
7456
7678
  Insert: {
7679
+ administration_code?: string;
7457
7680
  client_request_id: string;
7458
7681
  completed_at?: string | null;
7459
7682
  created_at?: string;
@@ -7463,6 +7686,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
7463
7686
  user_id: string;
7464
7687
  };
7465
7688
  Update: {
7689
+ administration_code?: string;
7466
7690
  client_request_id?: string;
7467
7691
  completed_at?: string | null;
7468
7692
  created_at?: string;
@@ -9084,6 +9308,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
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("../integrations/supabase/types").Json | null;
9087
9315
  last_sent_hash: string | null;
9088
9316
  locked_by: string | null;
9089
9317
  locked_until: string | null;
@@ -9104,6 +9332,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
9104
9332
  id?: string;
9105
9333
  last_error?: string | null;
9106
9334
  last_error_at?: string | null;
9335
+ last_error_code?: string | null;
9336
+ last_gateway_status?: number | null;
9337
+ last_queued_at?: string | null;
9338
+ last_response?: import("../integrations/supabase/types").Json | null;
9107
9339
  last_sent_hash?: string | null;
9108
9340
  locked_by?: string | null;
9109
9341
  locked_until?: string | null;
@@ -9124,6 +9356,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
9124
9356
  id?: string;
9125
9357
  last_error?: string | null;
9126
9358
  last_error_at?: string | null;
9359
+ last_error_code?: string | null;
9360
+ last_gateway_status?: number | null;
9361
+ last_queued_at?: string | null;
9362
+ last_response?: import("../integrations/supabase/types").Json | null;
9127
9363
  last_sent_hash?: string | null;
9128
9364
  locked_by?: string | null;
9129
9365
  locked_until?: string | null;
@@ -10677,6 +10913,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
10677
10913
  enforce: boolean;
10678
10914
  is_active: boolean;
10679
10915
  last_seen_at: string;
10916
+ missing_count: number;
10680
10917
  module_id: string;
10681
10918
  name: string;
10682
10919
  shell_id: string | null;
@@ -10687,6 +10924,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
10687
10924
  enforce?: boolean;
10688
10925
  is_active?: boolean;
10689
10926
  last_seen_at?: string;
10927
+ missing_count?: number;
10690
10928
  module_id: string;
10691
10929
  name: string;
10692
10930
  shell_id?: string | null;
@@ -10697,6 +10935,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
10697
10935
  enforce?: boolean;
10698
10936
  is_active?: boolean;
10699
10937
  last_seen_at?: string;
10938
+ missing_count?: number;
10700
10939
  module_id?: string;
10701
10940
  name?: string;
10702
10941
  shell_id?: string | null;
@@ -11696,6 +11935,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
11696
11935
  };
11697
11936
  order_invoice_links: {
11698
11937
  Row: {
11938
+ administration_code: string | null;
11699
11939
  attempts: number;
11700
11940
  created_at: string;
11701
11941
  error_message: string | null;
@@ -11708,6 +11948,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
11708
11948
  updated_at: string;
11709
11949
  };
11710
11950
  Insert: {
11951
+ administration_code?: string | null;
11711
11952
  attempts?: number;
11712
11953
  created_at?: string;
11713
11954
  error_message?: string | null;
@@ -11720,6 +11961,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
11720
11961
  updated_at?: string;
11721
11962
  };
11722
11963
  Update: {
11964
+ administration_code?: string | null;
11723
11965
  attempts?: number;
11724
11966
  created_at?: string;
11725
11967
  error_message?: string | null;
@@ -12885,6 +13127,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
12885
13127
  referencedColumns: ["id"];
12886
13128
  }];
12887
13129
  };
13130
+ pick_sync_state: {
13131
+ Row: {
13132
+ id: boolean;
13133
+ last_cleanup_at: string | null;
13134
+ last_sync_at: string | null;
13135
+ updated_at: string;
13136
+ };
13137
+ Insert: {
13138
+ id?: boolean;
13139
+ last_cleanup_at?: string | null;
13140
+ last_sync_at?: string | null;
13141
+ updated_at?: string;
13142
+ };
13143
+ Update: {
13144
+ id?: boolean;
13145
+ last_cleanup_at?: string | null;
13146
+ last_sync_at?: string | null;
13147
+ updated_at?: string;
13148
+ };
13149
+ Relationships: [];
13150
+ };
12888
13151
  pick_task_document_types: {
12889
13152
  Row: {
12890
13153
  created_at: string;
@@ -13167,6 +13430,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13167
13430
  gebruiker_id: string | null;
13168
13431
  gebruiker_naam: string;
13169
13432
  gestart_op: string | null;
13433
+ herkomst: string | null;
13170
13434
  id: string;
13171
13435
  idempotentie_sleutel: string | null;
13172
13436
  is_herprint: boolean;
@@ -13196,6 +13460,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13196
13460
  gebruiker_id?: string | null;
13197
13461
  gebruiker_naam?: string;
13198
13462
  gestart_op?: string | null;
13463
+ herkomst?: string | null;
13199
13464
  id?: string;
13200
13465
  idempotentie_sleutel?: string | null;
13201
13466
  is_herprint?: boolean;
@@ -13225,6 +13490,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13225
13490
  gebruiker_id?: string | null;
13226
13491
  gebruiker_naam?: string;
13227
13492
  gestart_op?: string | null;
13493
+ herkomst?: string | null;
13228
13494
  id?: string;
13229
13495
  idempotentie_sleutel?: string | null;
13230
13496
  is_herprint?: boolean;
@@ -13263,6 +13529,99 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
13263
13529
  referencedColumns: ["id"];
13264
13530
  }];
13265
13531
  };
13532
+ print_plek_computers: {
13533
+ Row: {
13534
+ computer_naam: string;
13535
+ created_at: string;
13536
+ id: string;
13537
+ print_plek_id: string;
13538
+ updated_at: string;
13539
+ };
13540
+ Insert: {
13541
+ computer_naam: string;
13542
+ created_at?: string;
13543
+ id?: string;
13544
+ print_plek_id: string;
13545
+ updated_at?: string;
13546
+ };
13547
+ Update: {
13548
+ computer_naam?: string;
13549
+ created_at?: string;
13550
+ id?: string;
13551
+ print_plek_id?: string;
13552
+ updated_at?: string;
13553
+ };
13554
+ Relationships: [{
13555
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
13556
+ columns: ["print_plek_id"];
13557
+ isOneToOne: false;
13558
+ referencedRelation: "print_plekken";
13559
+ referencedColumns: ["id"];
13560
+ }];
13561
+ };
13562
+ print_plek_koppelingen: {
13563
+ Row: {
13564
+ bron: string;
13565
+ bron_id: string;
13566
+ created_at: string;
13567
+ id: string;
13568
+ label: string | null;
13569
+ print_plek_id: string;
13570
+ updated_at: string;
13571
+ };
13572
+ Insert: {
13573
+ bron: string;
13574
+ bron_id: string;
13575
+ created_at?: string;
13576
+ id?: string;
13577
+ label?: string | null;
13578
+ print_plek_id: string;
13579
+ updated_at?: string;
13580
+ };
13581
+ Update: {
13582
+ bron?: string;
13583
+ bron_id?: string;
13584
+ created_at?: string;
13585
+ id?: string;
13586
+ label?: string | null;
13587
+ print_plek_id?: string;
13588
+ updated_at?: string;
13589
+ };
13590
+ Relationships: [{
13591
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
13592
+ columns: ["print_plek_id"];
13593
+ isOneToOne: false;
13594
+ referencedRelation: "print_plekken";
13595
+ referencedColumns: ["id"];
13596
+ }];
13597
+ };
13598
+ print_plekken: {
13599
+ Row: {
13600
+ actief: boolean;
13601
+ created_at: string;
13602
+ id: string;
13603
+ naam: string;
13604
+ omschrijving: string | null;
13605
+ updated_at: string;
13606
+ };
13607
+ Insert: {
13608
+ actief?: boolean;
13609
+ created_at?: string;
13610
+ id?: string;
13611
+ naam: string;
13612
+ omschrijving?: string | null;
13613
+ updated_at?: string;
13614
+ };
13615
+ Update: {
13616
+ actief?: boolean;
13617
+ created_at?: string;
13618
+ id?: string;
13619
+ naam?: string;
13620
+ omschrijving?: string | null;
13621
+ updated_at?: string;
13622
+ };
13623
+ Relationships: [];
13624
+ };
13266
13625
  print_queue_runners: {
13267
13626
  Row: {
13268
13627
  actief: boolean;
@@ -16229,12 +16588,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
16229
16588
  company_name: string | null;
16230
16589
  connected_at: string | null;
16231
16590
  created_at: string;
16591
+ disconnected_at: string | null;
16232
16592
  environment: string;
16233
16593
  id: string;
16594
+ initial_sync_completed_at: string | null;
16595
+ initial_sync_started_at: string | null;
16234
16596
  is_active: boolean;
16235
16597
  label: string | null;
16236
16598
  office_code: string | null;
16237
16599
  redirect_uri: string | null;
16600
+ superseded_at: string | null;
16238
16601
  updated_at: string;
16239
16602
  user_id: string;
16240
16603
  };
@@ -16245,12 +16608,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
16245
16608
  company_name?: string | null;
16246
16609
  connected_at?: string | null;
16247
16610
  created_at?: string;
16611
+ disconnected_at?: string | null;
16248
16612
  environment: string;
16249
16613
  id?: string;
16614
+ initial_sync_completed_at?: string | null;
16615
+ initial_sync_started_at?: string | null;
16250
16616
  is_active?: boolean;
16251
16617
  label?: string | null;
16252
16618
  office_code?: string | null;
16253
16619
  redirect_uri?: string | null;
16620
+ superseded_at?: string | null;
16254
16621
  updated_at?: string;
16255
16622
  user_id: string;
16256
16623
  };
@@ -16261,12 +16628,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
16261
16628
  company_name?: string | null;
16262
16629
  connected_at?: string | null;
16263
16630
  created_at?: string;
16631
+ disconnected_at?: string | null;
16264
16632
  environment?: string;
16265
16633
  id?: string;
16634
+ initial_sync_completed_at?: string | null;
16635
+ initial_sync_started_at?: string | null;
16266
16636
  is_active?: boolean;
16267
16637
  label?: string | null;
16268
16638
  office_code?: string | null;
16269
16639
  redirect_uri?: string | null;
16640
+ superseded_at?: string | null;
16270
16641
  updated_at?: string;
16271
16642
  user_id?: string;
16272
16643
  };
@@ -16326,6 +16697,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
16326
16697
  twinfield_customers: {
16327
16698
  Row: {
16328
16699
  address: string | null;
16700
+ administration_code: string;
16329
16701
  city: string | null;
16330
16702
  country: string | null;
16331
16703
  created_at: string;
@@ -16345,6 +16717,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
16345
16717
  };
16346
16718
  Insert: {
16347
16719
  address?: string | null;
16720
+ administration_code?: string;
16348
16721
  city?: string | null;
16349
16722
  country?: string | null;
16350
16723
  created_at?: string;
@@ -16364,6 +16737,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
16364
16737
  };
16365
16738
  Update: {
16366
16739
  address?: string | null;
16740
+ administration_code?: string;
16367
16741
  city?: string | null;
16368
16742
  country?: string | null;
16369
16743
  created_at?: string;
@@ -16577,7 +16951,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
16577
16951
  };
16578
16952
  twinfield_invoice_settings: {
16579
16953
  Row: {
16954
+ administration_code: string | null;
16580
16955
  auto_invoice_enabled: boolean;
16956
+ auto_invoice_start_date: string | null;
16581
16957
  auto_invoice_trigger_statuses: string[];
16582
16958
  created_at: string;
16583
16959
  debtor_gl_account: string;
@@ -16591,15 +16967,19 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
16591
16967
  invoice_enabled_fo: boolean;
16592
16968
  invoice_enabled_ho: boolean;
16593
16969
  invoice_enabled_mo: boolean;
16970
+ needs_review: boolean;
16594
16971
  payment_gl_account: string;
16595
16972
  payment_journal_code: string;
16973
+ settings_confirmed_at: string | null;
16596
16974
  updated_at: string;
16597
16975
  user_id: string;
16598
16976
  vat_code_eu_reverse: string | null;
16599
16977
  vat_code_export: string | null;
16600
16978
  };
16601
16979
  Insert: {
16980
+ administration_code?: string | null;
16602
16981
  auto_invoice_enabled?: boolean;
16982
+ auto_invoice_start_date?: string | null;
16603
16983
  auto_invoice_trigger_statuses?: string[];
16604
16984
  created_at?: string;
16605
16985
  debtor_gl_account?: string;
@@ -16613,15 +16993,19 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
16613
16993
  invoice_enabled_fo?: boolean;
16614
16994
  invoice_enabled_ho?: boolean;
16615
16995
  invoice_enabled_mo?: boolean;
16996
+ needs_review?: boolean;
16616
16997
  payment_gl_account?: string;
16617
16998
  payment_journal_code?: string;
16999
+ settings_confirmed_at?: string | null;
16618
17000
  updated_at?: string;
16619
17001
  user_id: string;
16620
17002
  vat_code_eu_reverse?: string | null;
16621
17003
  vat_code_export?: string | null;
16622
17004
  };
16623
17005
  Update: {
17006
+ administration_code?: string | null;
16624
17007
  auto_invoice_enabled?: boolean;
17008
+ auto_invoice_start_date?: string | null;
16625
17009
  auto_invoice_trigger_statuses?: string[];
16626
17010
  created_at?: string;
16627
17011
  debtor_gl_account?: string;
@@ -16635,8 +17019,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
16635
17019
  invoice_enabled_fo?: boolean;
16636
17020
  invoice_enabled_ho?: boolean;
16637
17021
  invoice_enabled_mo?: boolean;
17022
+ needs_review?: boolean;
16638
17023
  payment_gl_account?: string;
16639
17024
  payment_journal_code?: string;
17025
+ settings_confirmed_at?: string | null;
16640
17026
  updated_at?: string;
16641
17027
  user_id?: string;
16642
17028
  vat_code_eu_reverse?: string | null;
@@ -18494,6 +18880,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18494
18880
  scheduled_end_time: string | null;
18495
18881
  scheduled_start_time: string | null;
18496
18882
  sequence_number: number;
18883
+ signature_accepted_at: string | null;
18884
+ signature_by_user_id: string | null;
18885
+ signature_name: string | null;
18497
18886
  source_email_meta: import("../integrations/supabase/types").Json | null;
18498
18887
  source_mailbox_message_id: string | null;
18499
18888
  source_pdf_path: string | null;
@@ -18529,6 +18918,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18529
18918
  scheduled_end_time?: string | null;
18530
18919
  scheduled_start_time?: string | null;
18531
18920
  sequence_number: number;
18921
+ signature_accepted_at?: string | null;
18922
+ signature_by_user_id?: string | null;
18923
+ signature_name?: string | null;
18532
18924
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18533
18925
  source_mailbox_message_id?: string | null;
18534
18926
  source_pdf_path?: string | null;
@@ -18564,6 +18956,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18564
18956
  scheduled_end_time?: string | null;
18565
18957
  scheduled_start_time?: string | null;
18566
18958
  sequence_number?: number;
18959
+ signature_accepted_at?: string | null;
18960
+ signature_by_user_id?: string | null;
18961
+ signature_name?: string | null;
18567
18962
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18568
18963
  source_mailbox_message_id?: string | null;
18569
18964
  source_pdf_path?: string | null;
@@ -19693,6 +20088,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
19693
20088
  gebruiker_id: string | null;
19694
20089
  gebruiker_naam: string;
19695
20090
  gestart_op: string | null;
20091
+ herkomst: string | null;
19696
20092
  id: string;
19697
20093
  idempotentie_sleutel: string | null;
19698
20094
  is_herprint: boolean;
@@ -19813,6 +20209,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
19813
20209
  gebruiker_id: string | null;
19814
20210
  gebruiker_naam: string;
19815
20211
  gestart_op: string | null;
20212
+ herkomst: string | null;
19816
20213
  id: string;
19817
20214
  idempotentie_sleutel: string | null;
19818
20215
  is_herprint: boolean;
@@ -20522,6 +20919,29 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
20522
20919
  roles: string[];
20523
20920
  }[];
20524
20921
  };
20922
+ list_monteur_absences: {
20923
+ Args: {
20924
+ _from: string;
20925
+ _to: string;
20926
+ };
20927
+ Returns: {
20928
+ absence_date: string;
20929
+ end_time: string;
20930
+ full_day: boolean;
20931
+ kind: string;
20932
+ monteur_id: string;
20933
+ start_time: string;
20934
+ }[];
20935
+ };
20936
+ list_monteurs: {
20937
+ Args: never;
20938
+ Returns: {
20939
+ avatar_url: string;
20940
+ display_name: string;
20941
+ email: string;
20942
+ id: string;
20943
+ }[];
20944
+ };
20525
20945
  list_my_planning_items: {
20526
20946
  Args: {
20527
20947
  _from: string;
@@ -20933,6 +21353,41 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
20933
21353
  };
20934
21354
  Returns: string;
20935
21355
  };
21356
+ logistics_floriday_finish_push_v2: {
21357
+ Args: {
21358
+ _error?: string;
21359
+ _error_code?: string;
21360
+ _fulfillment_order_id?: string;
21361
+ _gateway_status?: number;
21362
+ _id: string;
21363
+ _max_age_hours?: number;
21364
+ _max_attempts?: number;
21365
+ _ok: boolean;
21366
+ _permanent?: boolean;
21367
+ _response?: import("../integrations/supabase/types").Json;
21368
+ _revision: number;
21369
+ _sent_hash?: string;
21370
+ };
21371
+ Returns: string;
21372
+ };
21373
+ logistics_floriday_finish_push_v3: {
21374
+ Args: {
21375
+ _error?: string;
21376
+ _error_code?: string;
21377
+ _fulfillment_order_id?: string;
21378
+ _gateway_status?: number;
21379
+ _id: string;
21380
+ _max_age_hours?: number;
21381
+ _max_attempts?: number;
21382
+ _outcome: string;
21383
+ _permanent?: boolean;
21384
+ _response?: import("../integrations/supabase/types").Json;
21385
+ _revision: number;
21386
+ _sent_hash?: string;
21387
+ _wait_max_age_hours?: number;
21388
+ };
21389
+ Returns: string;
21390
+ };
20936
21391
  logistics_floriday_prune_pushes: {
20937
21392
  Args: {
20938
21393
  _days?: number;
@@ -21475,6 +21930,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
21475
21930
  isSetofReturn: false;
21476
21931
  };
21477
21932
  };
21933
+ pick_cleanup_maintenance: {
21934
+ Args: {
21935
+ _heartbeat_hours?: number;
21936
+ _log_days?: number;
21937
+ };
21938
+ Returns: import("../integrations/supabase/types").Json;
21939
+ };
21478
21940
  pick_complete_print: {
21479
21941
  Args: {
21480
21942
  _printer_id: string;
@@ -21526,6 +21988,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
21526
21988
  Args: never;
21527
21989
  Returns: string;
21528
21990
  };
21991
+ pick_day_counts: {
21992
+ Args: {
21993
+ _pick_day?: string;
21994
+ _screen_id?: string;
21995
+ _station_id?: string;
21996
+ };
21997
+ Returns: import("../integrations/supabase/types").Json;
21998
+ };
21529
21999
  pick_document_layout_data: {
21530
22000
  Args: {
21531
22001
  _layout_id: string;
@@ -21553,6 +22023,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
21553
22023
  };
21554
22024
  Returns: import("../integrations/supabase/types").Json;
21555
22025
  };
22026
+ pick_print_plekken: {
22027
+ Args: never;
22028
+ Returns: {
22029
+ id: string;
22030
+ naam: string;
22031
+ omschrijving: string;
22032
+ }[];
22033
+ };
21556
22034
  pick_release_expired_locks: {
21557
22035
  Args: never;
21558
22036
  Returns: number;
@@ -21563,6 +22041,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
21563
22041
  };
21564
22042
  Returns: undefined;
21565
22043
  };
22044
+ pick_reprint_document: {
22045
+ Args: {
22046
+ _queue_item_id: string;
22047
+ _session_id: string;
22048
+ _throttle_seconds?: number;
22049
+ };
22050
+ Returns: string;
22051
+ };
21566
22052
  pick_reset_print: {
21567
22053
  Args: {
21568
22054
  _queue_item_id: string;
@@ -21609,6 +22095,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
21609
22095
  isSetofReturn: false;
21610
22096
  };
21611
22097
  };
22098
+ pick_set_station_print_plek: {
22099
+ Args: {
22100
+ _print_plek_id: string;
22101
+ _station_id: string;
22102
+ };
22103
+ Returns: string;
22104
+ };
21612
22105
  pick_station_dashboard: {
21613
22106
  Args: never;
21614
22107
  Returns: {
@@ -21621,6 +22114,25 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
21621
22114
  waiting: number;
21622
22115
  }[];
21623
22116
  };
22117
+ pick_station_print_plek: {
22118
+ Args: {
22119
+ _station_id: string;
22120
+ };
22121
+ Returns: {
22122
+ naam: string;
22123
+ omschrijving: string;
22124
+ print_plek_id: string;
22125
+ }[];
22126
+ };
22127
+ pick_station_print_plekken: {
22128
+ Args: never;
22129
+ Returns: {
22130
+ naam: string;
22131
+ omschrijving: string;
22132
+ print_plek_id: string;
22133
+ station_id: string;
22134
+ }[];
22135
+ };
21624
22136
  pick_station_slugify: {
21625
22137
  Args: {
21626
22138
  _id: string;
@@ -21628,6 +22140,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
21628
22140
  };
21629
22141
  Returns: string;
21630
22142
  };
22143
+ pick_sync_queue_throttled: {
22144
+ Args: {
22145
+ _min_seconds?: number;
22146
+ };
22147
+ Returns: import("../integrations/supabase/types").Json;
22148
+ };
21631
22149
  pickstation_get_orders_raw: {
21632
22150
  Args: never;
21633
22151
  Returns: import("../integrations/supabase/types").Json;
@@ -21773,6 +22291,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
21773
22291
  };
21774
22292
  Returns: boolean;
21775
22293
  };
22294
+ release_stale_order_invoice_links: {
22295
+ Args: {
22296
+ _minutes?: number;
22297
+ };
22298
+ Returns: number;
22299
+ };
21776
22300
  reorder_customer_price_groups: {
21777
22301
  Args: {
21778
22302
  _ids: string[];
@@ -22291,6 +22815,20 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
22291
22815
  };
22292
22816
  Returns: undefined;
22293
22817
  };
22818
+ twinfield_deactivate_connection: {
22819
+ Args: {
22820
+ p_connection_id: string;
22821
+ p_user_id: string;
22822
+ };
22823
+ Returns: import("../integrations/supabase/types").Json;
22824
+ };
22825
+ twinfield_handle_administration_change: {
22826
+ Args: {
22827
+ _administration_code: string;
22828
+ _user_id: string;
22829
+ };
22830
+ Returns: undefined;
22831
+ };
22294
22832
  twinfield_prune_push_queue: {
22295
22833
  Args: never;
22296
22834
  Returns: number;
@@ -22310,10 +22848,11 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
22310
22848
  p_company_name?: string;
22311
22849
  p_environment: string;
22312
22850
  p_office_code?: string;
22851
+ p_reset_sync?: boolean;
22313
22852
  p_status?: string;
22314
22853
  p_user_id: string;
22315
22854
  };
22316
- Returns: string;
22855
+ Returns: import("../integrations/supabase/types").Json;
22317
22856
  };
22318
22857
  upsert_auto_fulfillment_log: {
22319
22858
  Args: {