@flowselections/floriday-verkoop-module 1.0.45 → 1.0.47

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 (69) hide show
  1. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts +3 -1
  2. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
  3. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.js +90 -19
  4. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
  5. package/dist-lib/components/verkoop/SalesOrderDetailView.js +1 -1
  6. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts +6 -0
  7. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts.map +1 -0
  8. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.js +26 -0
  9. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
  10. package/dist-lib/components/verkoop/VerkoopOrdersPage.js +2 -1
  11. package/dist-lib/integrations/supabase/auth-middleware.d.ts +864 -161
  12. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  13. package/dist-lib/integrations/supabase/client.d.ts +864 -161
  14. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/client.js +2 -1
  16. package/dist-lib/integrations/supabase/client.server.d.ts +864 -161
  17. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts +6 -0
  19. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -0
  20. package/dist-lib/integrations/supabase/previewAuthStorage.js +92 -0
  21. package/dist-lib/integrations/supabase/types.d.ts +904 -185
  22. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  23. package/dist-lib/lib/cart-lock.functions.d.ts +864 -161
  24. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/cart-planning-settings.functions.d.ts +9577 -1844
  26. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/cart-replan.functions.d.ts +2544 -435
  28. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/create-order.functions.d.ts +14914 -2963
  30. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +2544 -435
  32. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +864 -161
  34. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/floriday-mirror.functions.d.ts +864 -161
  36. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/floriday-mirror.functions.js +39 -10
  38. package/dist-lib/lib/floriday-public.functions.d.ts +6019 -1098
  39. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/floriday-writes.functions.d.ts +4240 -725
  41. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/invoice-timing.functions.d.ts +3392 -580
  43. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/load-carriers.functions.d.ts +864 -161
  45. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/logistics-engine.functions.d.ts +4240 -725
  47. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/logistics-stock.functions.d.ts +1696 -290
  49. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/order-addresses.functions.d.ts +864 -161
  51. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/order-buffers.functions.d.ts +2544 -435
  53. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  54. package/dist-lib/lib/order-carrier.functions.d.ts +1696 -290
  55. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/order-pickup.functions.d.ts +1696 -290
  57. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  58. package/dist-lib/lib/order-shipments.functions.d.ts +3392 -580
  59. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  60. package/dist-lib/lib/salesorders-list.functions.d.ts +864 -161
  61. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/salesorders.functions.d.ts +4240 -725
  63. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +45850 -0
  65. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -0
  66. package/dist-lib/lib/stock-consumption-alerts.functions.js +50 -0
  67. package/dist-lib/lib/tradeitems.functions.d.ts +864 -161
  68. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  69. package/package.json +2 -1
@@ -683,6 +683,99 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
683
683
  };
684
684
  Relationships: [];
685
685
  };
686
+ artikelen_cache: {
687
+ Row: {
688
+ artikelcode: string;
689
+ bron: string;
690
+ bruto_prijs_cent: number | null;
691
+ created_at: string;
692
+ eenheid: string;
693
+ fabrikant: string | null;
694
+ fetched_at: string;
695
+ gtin: string | null;
696
+ id: string;
697
+ naam: string;
698
+ netto_prijs_cent: number | null;
699
+ omschrijving: string | null;
700
+ raw: import("../integrations/supabase/types").Json;
701
+ updated_at: string;
702
+ valuta: string;
703
+ };
704
+ Insert: {
705
+ artikelcode: string;
706
+ bron?: string;
707
+ bruto_prijs_cent?: number | null;
708
+ created_at?: string;
709
+ eenheid?: string;
710
+ fabrikant?: string | null;
711
+ fetched_at?: string;
712
+ gtin?: string | null;
713
+ id?: string;
714
+ naam: string;
715
+ netto_prijs_cent?: number | null;
716
+ omschrijving?: string | null;
717
+ raw?: import("../integrations/supabase/types").Json;
718
+ updated_at?: string;
719
+ valuta?: string;
720
+ };
721
+ Update: {
722
+ artikelcode?: string;
723
+ bron?: string;
724
+ bruto_prijs_cent?: number | null;
725
+ created_at?: string;
726
+ eenheid?: string;
727
+ fabrikant?: string | null;
728
+ fetched_at?: string;
729
+ gtin?: string | null;
730
+ id?: string;
731
+ naam?: string;
732
+ netto_prijs_cent?: number | null;
733
+ omschrijving?: string | null;
734
+ raw?: import("../integrations/supabase/types").Json;
735
+ updated_at?: string;
736
+ valuta?: string;
737
+ };
738
+ Relationships: [];
739
+ };
740
+ artikelen_veldconfig: {
741
+ Row: {
742
+ bron_pad: string;
743
+ created_at: string;
744
+ id: string;
745
+ label: string;
746
+ sort_order: number;
747
+ type: string;
748
+ updated_at: string;
749
+ veld_key: string;
750
+ zichtbaar_in_detail: boolean;
751
+ zichtbaar_in_lijst: boolean;
752
+ };
753
+ Insert: {
754
+ bron_pad: string;
755
+ created_at?: string;
756
+ id?: string;
757
+ label: string;
758
+ sort_order?: number;
759
+ type?: string;
760
+ updated_at?: string;
761
+ veld_key: string;
762
+ zichtbaar_in_detail?: boolean;
763
+ zichtbaar_in_lijst?: boolean;
764
+ };
765
+ Update: {
766
+ bron_pad?: string;
767
+ created_at?: string;
768
+ id?: string;
769
+ label?: string;
770
+ sort_order?: number;
771
+ type?: string;
772
+ updated_at?: string;
773
+ veld_key?: string;
774
+ zichtbaar_in_detail?: boolean;
775
+ zichtbaar_in_lijst?: boolean;
776
+ };
777
+ Relationships: [];
778
+ };
686
779
  booking_items: {
687
780
  Row: {
688
781
  booking_id: string;
@@ -2768,6 +2861,42 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
2768
2861
  };
2769
2862
  Relationships: [];
2770
2863
  };
2864
+ document_bronregels: {
2865
+ Row: {
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
+ Insert: {
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
+ Update: {
2884
+ bron?: string;
2885
+ created_at?: string;
2886
+ documenttype?: string;
2887
+ herkomst?: string;
2888
+ id?: string;
2889
+ layout_id?: string | null;
2890
+ updated_at?: string;
2891
+ };
2892
+ Relationships: [{
2893
+ foreignKeyName: "document_bronregels_layout_id_fkey";
2894
+ columns: ["layout_id"];
2895
+ isOneToOne: false;
2896
+ referencedRelation: "document_layouts";
2897
+ referencedColumns: ["id"];
2898
+ }];
2899
+ };
2771
2900
  document_formaat_printers: {
2772
2901
  Row: {
2773
2902
  created_at: string;
@@ -3045,6 +3174,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
3045
3174
  Row: {
3046
3175
  actief: boolean;
3047
3176
  breedte_mm: number;
3177
+ bron: string;
3048
3178
  config: import("../integrations/supabase/types").Json;
3049
3179
  created_at: string;
3050
3180
  created_by: string | null;
@@ -3062,12 +3192,14 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
3062
3192
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3063
3193
  page_settings: import("../integrations/supabase/types").Json;
3064
3194
  papierformaat: string;
3195
+ systeem: boolean;
3065
3196
  thumbnail_url: string | null;
3066
3197
  updated_at: string;
3067
3198
  };
3068
3199
  Insert: {
3069
3200
  actief?: boolean;
3070
3201
  breedte_mm?: number;
3202
+ bron?: string;
3071
3203
  config?: import("../integrations/supabase/types").Json;
3072
3204
  created_at?: string;
3073
3205
  created_by?: string | null;
@@ -3085,12 +3217,14 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
3085
3217
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3086
3218
  page_settings?: import("../integrations/supabase/types").Json;
3087
3219
  papierformaat?: string;
3220
+ systeem?: boolean;
3088
3221
  thumbnail_url?: string | null;
3089
3222
  updated_at?: string;
3090
3223
  };
3091
3224
  Update: {
3092
3225
  actief?: boolean;
3093
3226
  breedte_mm?: number;
3227
+ bron?: string;
3094
3228
  config?: import("../integrations/supabase/types").Json;
3095
3229
  created_at?: string;
3096
3230
  created_by?: string | null;
@@ -3108,11 +3242,90 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
3108
3242
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3109
3243
  page_settings?: import("../integrations/supabase/types").Json;
3110
3244
  papierformaat?: string;
3245
+ systeem?: boolean;
3111
3246
  thumbnail_url?: string | null;
3112
3247
  updated_at?: string;
3113
3248
  };
3114
3249
  Relationships: [];
3115
3250
  };
3251
+ document_printplek_printers: {
3252
+ Row: {
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
+ Insert: {
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
+ Update: {
3271
+ created_at?: string;
3272
+ documenttype?: string;
3273
+ id?: string;
3274
+ papierformaat?: string | null;
3275
+ print_plek_id?: string;
3276
+ printer_id?: string | null;
3277
+ updated_at?: string;
3278
+ };
3279
+ Relationships: [{
3280
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
3281
+ columns: ["print_plek_id"];
3282
+ isOneToOne: false;
3283
+ referencedRelation: "print_plekken";
3284
+ referencedColumns: ["id"];
3285
+ }, {
3286
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
3287
+ columns: ["printer_id"];
3288
+ isOneToOne: false;
3289
+ referencedRelation: "printers";
3290
+ referencedColumns: ["id"];
3291
+ }];
3292
+ };
3293
+ document_werkplek_printers: {
3294
+ Row: {
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
+ Insert: {
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
+ Update: {
3313
+ created_at?: string;
3314
+ documenttype?: string;
3315
+ id?: string;
3316
+ papierformaat?: string | null;
3317
+ printer_id?: string | null;
3318
+ updated_at?: string;
3319
+ werkplek?: string;
3320
+ };
3321
+ Relationships: [{
3322
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
3323
+ columns: ["printer_id"];
3324
+ isOneToOne: false;
3325
+ referencedRelation: "printers";
3326
+ referencedColumns: ["id"];
3327
+ }];
3328
+ };
3116
3329
  email_auth_connections: {
3117
3330
  Row: {
3118
3331
  access_token_encrypted: string | null;
@@ -5054,42 +5267,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
5054
5267
  };
5055
5268
  Relationships: [];
5056
5269
  };
5057
- facturen: {
5058
- Row: {
5059
- bedrag_incl_btw: number;
5060
- created_at: string;
5061
- datum: string;
5062
- factuurnummer: string;
5063
- id: string;
5064
- klantnaam: string;
5065
- status: string;
5066
- updated_at: string;
5067
- user_id: string;
5068
- };
5069
- Insert: {
5070
- bedrag_incl_btw: number;
5071
- created_at?: string;
5072
- datum?: string;
5073
- factuurnummer: string;
5074
- id?: string;
5075
- klantnaam: string;
5076
- status?: string;
5077
- updated_at?: string;
5078
- user_id?: string;
5079
- };
5080
- Update: {
5081
- bedrag_incl_btw?: number;
5082
- created_at?: string;
5083
- datum?: string;
5084
- factuurnummer?: string;
5085
- id?: string;
5086
- klantnaam?: string;
5087
- status?: string;
5088
- updated_at?: string;
5089
- user_id?: string;
5090
- };
5091
- Relationships: [];
5092
- };
5093
5270
  floricode_connection_settings: {
5094
5271
  Row: {
5095
5272
  catalog_key: string | null;
@@ -7394,8 +7571,63 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
7394
7571
  };
7395
7572
  Relationships: [];
7396
7573
  };
7574
+ invoice_items: {
7575
+ Row: {
7576
+ created_at: string;
7577
+ description: string;
7578
+ id: string;
7579
+ invoice_id: string;
7580
+ kind: string;
7581
+ quantity: number;
7582
+ sort_order: number;
7583
+ source_line_ref: string | null;
7584
+ total_cents: number;
7585
+ unit: string;
7586
+ unit_price_cents: number;
7587
+ };
7588
+ Insert: {
7589
+ created_at?: string;
7590
+ description?: string;
7591
+ id?: string;
7592
+ invoice_id: string;
7593
+ kind?: string;
7594
+ quantity?: number;
7595
+ sort_order?: number;
7596
+ source_line_ref?: string | null;
7597
+ total_cents?: number;
7598
+ unit?: string;
7599
+ unit_price_cents?: number;
7600
+ };
7601
+ Update: {
7602
+ created_at?: string;
7603
+ description?: string;
7604
+ id?: string;
7605
+ invoice_id?: string;
7606
+ kind?: string;
7607
+ quantity?: number;
7608
+ sort_order?: number;
7609
+ source_line_ref?: string | null;
7610
+ total_cents?: number;
7611
+ unit?: string;
7612
+ unit_price_cents?: number;
7613
+ };
7614
+ Relationships: [{
7615
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7616
+ columns: ["invoice_id"];
7617
+ isOneToOne: false;
7618
+ referencedRelation: "invoices";
7619
+ referencedColumns: ["id"];
7620
+ }, {
7621
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7622
+ columns: ["invoice_id"];
7623
+ isOneToOne: false;
7624
+ referencedRelation: "uren_facturen";
7625
+ referencedColumns: ["id"];
7626
+ }];
7627
+ };
7397
7628
  invoice_post_idempotency: {
7398
7629
  Row: {
7630
+ administration_code: string;
7399
7631
  client_request_id: string;
7400
7632
  completed_at: string | null;
7401
7633
  created_at: string;
@@ -7405,6 +7637,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
7405
7637
  user_id: string;
7406
7638
  };
7407
7639
  Insert: {
7640
+ administration_code?: string;
7408
7641
  client_request_id: string;
7409
7642
  completed_at?: string | null;
7410
7643
  created_at?: string;
@@ -7414,6 +7647,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
7414
7647
  user_id: string;
7415
7648
  };
7416
7649
  Update: {
7650
+ administration_code?: string;
7417
7651
  client_request_id?: string;
7418
7652
  completed_at?: string | null;
7419
7653
  created_at?: string;
@@ -7619,34 +7853,103 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
7619
7853
  };
7620
7854
  Relationships: [];
7621
7855
  };
7622
- itk_contact_persons: {
7856
+ invoices: {
7623
7857
  Row: {
7624
7858
  created_at: string;
7625
- customer_id: string;
7626
- email: string | null;
7859
+ created_by: string | null;
7860
+ customer_id: string | null;
7861
+ customer_name: string | null;
7862
+ due_date: string | null;
7627
7863
  id: string;
7628
- name: string;
7629
- phone: string | null;
7630
- role: string | null;
7864
+ invoice_date: string;
7865
+ invoice_number: string | null;
7866
+ note: string | null;
7867
+ source_number: string | null;
7868
+ source_ref: string | null;
7869
+ source_type: string;
7870
+ status: string;
7871
+ subtotal_cents: number;
7872
+ total_cents: number;
7631
7873
  updated_at: string;
7874
+ vat_cents: number;
7875
+ vat_rate: number;
7632
7876
  };
7633
7877
  Insert: {
7634
7878
  created_at?: string;
7635
- customer_id: string;
7636
- email?: string | null;
7879
+ created_by?: string | null;
7880
+ customer_id?: string | null;
7881
+ customer_name?: string | null;
7882
+ due_date?: string | null;
7637
7883
  id?: string;
7638
- name: string;
7639
- phone?: string | null;
7640
- role?: string | null;
7884
+ invoice_date?: string;
7885
+ invoice_number?: string | null;
7886
+ note?: string | null;
7887
+ source_number?: string | null;
7888
+ source_ref?: string | null;
7889
+ source_type?: string;
7890
+ status?: string;
7891
+ subtotal_cents?: number;
7892
+ total_cents?: number;
7641
7893
  updated_at?: string;
7894
+ vat_cents?: number;
7895
+ vat_rate?: number;
7642
7896
  };
7643
7897
  Update: {
7644
7898
  created_at?: string;
7645
- customer_id?: string;
7646
- email?: string | null;
7647
- id?: string;
7648
- name?: string;
7649
- phone?: string | null;
7899
+ created_by?: string | null;
7900
+ customer_id?: string | null;
7901
+ customer_name?: string | null;
7902
+ due_date?: string | null;
7903
+ id?: string;
7904
+ invoice_date?: string;
7905
+ invoice_number?: string | null;
7906
+ note?: string | null;
7907
+ source_number?: string | null;
7908
+ source_ref?: string | null;
7909
+ source_type?: string;
7910
+ status?: string;
7911
+ subtotal_cents?: number;
7912
+ total_cents?: number;
7913
+ updated_at?: string;
7914
+ vat_cents?: number;
7915
+ vat_rate?: number;
7916
+ };
7917
+ Relationships: [{
7918
+ foreignKeyName: "invoices_customer_id_fkey";
7919
+ columns: ["customer_id"];
7920
+ isOneToOne: false;
7921
+ referencedRelation: "itk_customers";
7922
+ referencedColumns: ["id"];
7923
+ }];
7924
+ };
7925
+ itk_contact_persons: {
7926
+ Row: {
7927
+ created_at: string;
7928
+ customer_id: string;
7929
+ email: string | null;
7930
+ id: string;
7931
+ name: string;
7932
+ phone: string | null;
7933
+ role: string | null;
7934
+ updated_at: string;
7935
+ };
7936
+ Insert: {
7937
+ created_at?: string;
7938
+ customer_id: string;
7939
+ email?: string | null;
7940
+ id?: string;
7941
+ name: string;
7942
+ phone?: string | null;
7943
+ role?: string | null;
7944
+ updated_at?: string;
7945
+ };
7946
+ Update: {
7947
+ created_at?: string;
7948
+ customer_id?: string;
7949
+ email?: string | null;
7950
+ id?: string;
7951
+ name?: string;
7952
+ phone?: string | null;
7650
7953
  role?: string | null;
7651
7954
  updated_at?: string;
7652
7955
  };
@@ -8966,6 +9269,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
8966
9269
  id: string;
8967
9270
  last_error: string | null;
8968
9271
  last_error_at: string | null;
9272
+ last_error_code: string | null;
9273
+ last_gateway_status: number | null;
9274
+ last_queued_at: string | null;
9275
+ last_response: import("../integrations/supabase/types").Json | null;
8969
9276
  last_sent_hash: string | null;
8970
9277
  locked_by: string | null;
8971
9278
  locked_until: string | null;
@@ -8986,6 +9293,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
8986
9293
  id?: string;
8987
9294
  last_error?: string | null;
8988
9295
  last_error_at?: string | null;
9296
+ last_error_code?: string | null;
9297
+ last_gateway_status?: number | null;
9298
+ last_queued_at?: string | null;
9299
+ last_response?: import("../integrations/supabase/types").Json | null;
8989
9300
  last_sent_hash?: string | null;
8990
9301
  locked_by?: string | null;
8991
9302
  locked_until?: string | null;
@@ -9006,6 +9317,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
9006
9317
  id?: string;
9007
9318
  last_error?: string | null;
9008
9319
  last_error_at?: string | null;
9320
+ last_error_code?: string | null;
9321
+ last_gateway_status?: number | null;
9322
+ last_queued_at?: string | null;
9323
+ last_response?: import("../integrations/supabase/types").Json | null;
9009
9324
  last_sent_hash?: string | null;
9010
9325
  locked_by?: string | null;
9011
9326
  locked_until?: string | null;
@@ -10559,6 +10874,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
10559
10874
  enforce: boolean;
10560
10875
  is_active: boolean;
10561
10876
  last_seen_at: string;
10877
+ missing_count: number;
10562
10878
  module_id: string;
10563
10879
  name: string;
10564
10880
  shell_id: string | null;
@@ -10569,6 +10885,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
10569
10885
  enforce?: boolean;
10570
10886
  is_active?: boolean;
10571
10887
  last_seen_at?: string;
10888
+ missing_count?: number;
10572
10889
  module_id: string;
10573
10890
  name: string;
10574
10891
  shell_id?: string | null;
@@ -10579,6 +10896,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
10579
10896
  enforce?: boolean;
10580
10897
  is_active?: boolean;
10581
10898
  last_seen_at?: string;
10899
+ missing_count?: number;
10582
10900
  module_id?: string;
10583
10901
  name?: string;
10584
10902
  shell_id?: string | null;
@@ -11578,6 +11896,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
11578
11896
  };
11579
11897
  order_invoice_links: {
11580
11898
  Row: {
11899
+ administration_code: string | null;
11581
11900
  attempts: number;
11582
11901
  created_at: string;
11583
11902
  error_message: string | null;
@@ -11590,6 +11909,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
11590
11909
  updated_at: string;
11591
11910
  };
11592
11911
  Insert: {
11912
+ administration_code?: string | null;
11593
11913
  attempts?: number;
11594
11914
  created_at?: string;
11595
11915
  error_message?: string | null;
@@ -11602,6 +11922,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
11602
11922
  updated_at?: string;
11603
11923
  };
11604
11924
  Update: {
11925
+ administration_code?: string | null;
11605
11926
  attempts?: number;
11606
11927
  created_at?: string;
11607
11928
  error_message?: string | null;
@@ -12767,6 +13088,27 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
12767
13088
  referencedColumns: ["id"];
12768
13089
  }];
12769
13090
  };
13091
+ pick_sync_state: {
13092
+ Row: {
13093
+ id: boolean;
13094
+ last_cleanup_at: string | null;
13095
+ last_sync_at: string | null;
13096
+ updated_at: string;
13097
+ };
13098
+ Insert: {
13099
+ id?: boolean;
13100
+ last_cleanup_at?: string | null;
13101
+ last_sync_at?: string | null;
13102
+ updated_at?: string;
13103
+ };
13104
+ Update: {
13105
+ id?: boolean;
13106
+ last_cleanup_at?: string | null;
13107
+ last_sync_at?: string | null;
13108
+ updated_at?: string;
13109
+ };
13110
+ Relationships: [];
13111
+ };
12770
13112
  pick_task_document_types: {
12771
13113
  Row: {
12772
13114
  created_at: string;
@@ -13049,6 +13391,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13049
13391
  gebruiker_id: string | null;
13050
13392
  gebruiker_naam: string;
13051
13393
  gestart_op: string | null;
13394
+ herkomst: string | null;
13052
13395
  id: string;
13053
13396
  idempotentie_sleutel: string | null;
13054
13397
  is_herprint: boolean;
@@ -13078,6 +13421,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13078
13421
  gebruiker_id?: string | null;
13079
13422
  gebruiker_naam?: string;
13080
13423
  gestart_op?: string | null;
13424
+ herkomst?: string | null;
13081
13425
  id?: string;
13082
13426
  idempotentie_sleutel?: string | null;
13083
13427
  is_herprint?: boolean;
@@ -13107,6 +13451,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13107
13451
  gebruiker_id?: string | null;
13108
13452
  gebruiker_naam?: string;
13109
13453
  gestart_op?: string | null;
13454
+ herkomst?: string | null;
13110
13455
  id?: string;
13111
13456
  idempotentie_sleutel?: string | null;
13112
13457
  is_herprint?: boolean;
@@ -13145,6 +13490,99 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13145
13490
  referencedColumns: ["id"];
13146
13491
  }];
13147
13492
  };
13493
+ print_plek_computers: {
13494
+ Row: {
13495
+ computer_naam: string;
13496
+ created_at: string;
13497
+ id: string;
13498
+ print_plek_id: string;
13499
+ updated_at: string;
13500
+ };
13501
+ Insert: {
13502
+ computer_naam: string;
13503
+ created_at?: string;
13504
+ id?: string;
13505
+ print_plek_id: string;
13506
+ updated_at?: string;
13507
+ };
13508
+ Update: {
13509
+ computer_naam?: string;
13510
+ created_at?: string;
13511
+ id?: string;
13512
+ print_plek_id?: string;
13513
+ updated_at?: string;
13514
+ };
13515
+ Relationships: [{
13516
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
13517
+ columns: ["print_plek_id"];
13518
+ isOneToOne: false;
13519
+ referencedRelation: "print_plekken";
13520
+ referencedColumns: ["id"];
13521
+ }];
13522
+ };
13523
+ print_plek_koppelingen: {
13524
+ Row: {
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
+ Insert: {
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
+ Update: {
13543
+ bron?: string;
13544
+ bron_id?: string;
13545
+ created_at?: string;
13546
+ id?: string;
13547
+ label?: string | null;
13548
+ print_plek_id?: string;
13549
+ updated_at?: string;
13550
+ };
13551
+ Relationships: [{
13552
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
13553
+ columns: ["print_plek_id"];
13554
+ isOneToOne: false;
13555
+ referencedRelation: "print_plekken";
13556
+ referencedColumns: ["id"];
13557
+ }];
13558
+ };
13559
+ print_plekken: {
13560
+ Row: {
13561
+ actief: boolean;
13562
+ created_at: string;
13563
+ id: string;
13564
+ naam: string;
13565
+ omschrijving: string | null;
13566
+ updated_at: string;
13567
+ };
13568
+ Insert: {
13569
+ actief?: boolean;
13570
+ created_at?: string;
13571
+ id?: string;
13572
+ naam: string;
13573
+ omschrijving?: string | null;
13574
+ updated_at?: string;
13575
+ };
13576
+ Update: {
13577
+ actief?: boolean;
13578
+ created_at?: string;
13579
+ id?: string;
13580
+ naam?: string;
13581
+ omschrijving?: string | null;
13582
+ updated_at?: string;
13583
+ };
13584
+ Relationships: [];
13585
+ };
13148
13586
  print_queue_runners: {
13149
13587
  Row: {
13150
13588
  actief: boolean;
@@ -15299,6 +15737,45 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
15299
15737
  };
15300
15738
  Relationships: [];
15301
15739
  };
15740
+ stock_consumption_alerts: {
15741
+ Row: {
15742
+ alert_type: string;
15743
+ created_at: string;
15744
+ id: string;
15745
+ mutation_log_id: string | null;
15746
+ order_id: string | null;
15747
+ order_item_id: string | null;
15748
+ qty: number;
15749
+ reason: string | null;
15750
+ resolved_at: string | null;
15751
+ updated_at: string;
15752
+ };
15753
+ Insert: {
15754
+ alert_type: string;
15755
+ created_at?: string;
15756
+ id?: string;
15757
+ mutation_log_id?: string | null;
15758
+ order_id?: string | null;
15759
+ order_item_id?: string | null;
15760
+ qty?: number;
15761
+ reason?: string | null;
15762
+ resolved_at?: string | null;
15763
+ updated_at?: string;
15764
+ };
15765
+ Update: {
15766
+ alert_type?: string;
15767
+ created_at?: string;
15768
+ id?: string;
15769
+ mutation_log_id?: string | null;
15770
+ order_id?: string | null;
15771
+ order_item_id?: string | null;
15772
+ qty?: number;
15773
+ reason?: string | null;
15774
+ resolved_at?: string | null;
15775
+ updated_at?: string;
15776
+ };
15777
+ Relationships: [];
15778
+ };
15302
15779
  stock_import_runs: {
15303
15780
  Row: {
15304
15781
  connection_id: string | null;
@@ -16111,12 +16588,16 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
16111
16588
  company_name: string | null;
16112
16589
  connected_at: string | null;
16113
16590
  created_at: string;
16591
+ disconnected_at: string | null;
16114
16592
  environment: string;
16115
16593
  id: string;
16594
+ initial_sync_completed_at: string | null;
16595
+ initial_sync_started_at: string | null;
16116
16596
  is_active: boolean;
16117
16597
  label: string | null;
16118
16598
  office_code: string | null;
16119
16599
  redirect_uri: string | null;
16600
+ superseded_at: string | null;
16120
16601
  updated_at: string;
16121
16602
  user_id: string;
16122
16603
  };
@@ -16127,12 +16608,16 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
16127
16608
  company_name?: string | null;
16128
16609
  connected_at?: string | null;
16129
16610
  created_at?: string;
16611
+ disconnected_at?: string | null;
16130
16612
  environment: string;
16131
16613
  id?: string;
16614
+ initial_sync_completed_at?: string | null;
16615
+ initial_sync_started_at?: string | null;
16132
16616
  is_active?: boolean;
16133
16617
  label?: string | null;
16134
16618
  office_code?: string | null;
16135
16619
  redirect_uri?: string | null;
16620
+ superseded_at?: string | null;
16136
16621
  updated_at?: string;
16137
16622
  user_id: string;
16138
16623
  };
@@ -16143,12 +16628,16 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
16143
16628
  company_name?: string | null;
16144
16629
  connected_at?: string | null;
16145
16630
  created_at?: string;
16631
+ disconnected_at?: string | null;
16146
16632
  environment?: string;
16147
16633
  id?: string;
16634
+ initial_sync_completed_at?: string | null;
16635
+ initial_sync_started_at?: string | null;
16148
16636
  is_active?: boolean;
16149
16637
  label?: string | null;
16150
16638
  office_code?: string | null;
16151
16639
  redirect_uri?: string | null;
16640
+ superseded_at?: string | null;
16152
16641
  updated_at?: string;
16153
16642
  user_id?: string;
16154
16643
  };
@@ -16208,6 +16697,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
16208
16697
  twinfield_customers: {
16209
16698
  Row: {
16210
16699
  address: string | null;
16700
+ administration_code: string;
16211
16701
  city: string | null;
16212
16702
  country: string | null;
16213
16703
  created_at: string;
@@ -16227,6 +16717,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
16227
16717
  };
16228
16718
  Insert: {
16229
16719
  address?: string | null;
16720
+ administration_code?: string;
16230
16721
  city?: string | null;
16231
16722
  country?: string | null;
16232
16723
  created_at?: string;
@@ -16246,6 +16737,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
16246
16737
  };
16247
16738
  Update: {
16248
16739
  address?: string | null;
16740
+ administration_code?: string;
16249
16741
  city?: string | null;
16250
16742
  country?: string | null;
16251
16743
  created_at?: string;
@@ -16459,7 +16951,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
16459
16951
  };
16460
16952
  twinfield_invoice_settings: {
16461
16953
  Row: {
16954
+ administration_code: string | null;
16462
16955
  auto_invoice_enabled: boolean;
16956
+ auto_invoice_start_date: string | null;
16463
16957
  auto_invoice_trigger_statuses: string[];
16464
16958
  created_at: string;
16465
16959
  debtor_gl_account: string;
@@ -16473,15 +16967,19 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
16473
16967
  invoice_enabled_fo: boolean;
16474
16968
  invoice_enabled_ho: boolean;
16475
16969
  invoice_enabled_mo: boolean;
16970
+ needs_review: boolean;
16476
16971
  payment_gl_account: string;
16477
16972
  payment_journal_code: string;
16973
+ settings_confirmed_at: string | null;
16478
16974
  updated_at: string;
16479
16975
  user_id: string;
16480
16976
  vat_code_eu_reverse: string | null;
16481
16977
  vat_code_export: string | null;
16482
16978
  };
16483
16979
  Insert: {
16980
+ administration_code?: string | null;
16484
16981
  auto_invoice_enabled?: boolean;
16982
+ auto_invoice_start_date?: string | null;
16485
16983
  auto_invoice_trigger_statuses?: string[];
16486
16984
  created_at?: string;
16487
16985
  debtor_gl_account?: string;
@@ -16495,15 +16993,19 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
16495
16993
  invoice_enabled_fo?: boolean;
16496
16994
  invoice_enabled_ho?: boolean;
16497
16995
  invoice_enabled_mo?: boolean;
16996
+ needs_review?: boolean;
16498
16997
  payment_gl_account?: string;
16499
16998
  payment_journal_code?: string;
16999
+ settings_confirmed_at?: string | null;
16500
17000
  updated_at?: string;
16501
17001
  user_id: string;
16502
17002
  vat_code_eu_reverse?: string | null;
16503
17003
  vat_code_export?: string | null;
16504
17004
  };
16505
17005
  Update: {
17006
+ administration_code?: string | null;
16506
17007
  auto_invoice_enabled?: boolean;
17008
+ auto_invoice_start_date?: string | null;
16507
17009
  auto_invoice_trigger_statuses?: string[];
16508
17010
  created_at?: string;
16509
17011
  debtor_gl_account?: string;
@@ -16517,8 +17019,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
16517
17019
  invoice_enabled_fo?: boolean;
16518
17020
  invoice_enabled_ho?: boolean;
16519
17021
  invoice_enabled_mo?: boolean;
17022
+ needs_review?: boolean;
16520
17023
  payment_gl_account?: string;
16521
17024
  payment_journal_code?: string;
17025
+ settings_confirmed_at?: string | null;
16522
17026
  updated_at?: string;
16523
17027
  user_id?: string;
16524
17028
  vat_code_eu_reverse?: string | null;
@@ -17123,114 +17627,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
17123
17627
  };
17124
17628
  Relationships: [];
17125
17629
  };
17126
- uren_facturen: {
17127
- Row: {
17128
- created_at: string;
17129
- created_by: string | null;
17130
- customer_id: string | null;
17131
- customer_name: string | null;
17132
- id: string;
17133
- invoice_number: string | null;
17134
- note: string | null;
17135
- status: string;
17136
- total_excl_cents: number;
17137
- total_incl_cents: number;
17138
- updated_at: string;
17139
- vat_cents: number;
17140
- vat_percentage: number;
17141
- werkbon_id: string | null;
17142
- };
17143
- Insert: {
17144
- created_at?: string;
17145
- created_by?: string | null;
17146
- customer_id?: string | null;
17147
- customer_name?: string | null;
17148
- id?: string;
17149
- invoice_number?: string | null;
17150
- note?: string | null;
17151
- status?: string;
17152
- total_excl_cents?: number;
17153
- total_incl_cents?: number;
17154
- updated_at?: string;
17155
- vat_cents?: number;
17156
- vat_percentage?: number;
17157
- werkbon_id?: string | null;
17158
- };
17159
- Update: {
17160
- created_at?: string;
17161
- created_by?: string | null;
17162
- customer_id?: string | null;
17163
- customer_name?: string | null;
17164
- id?: string;
17165
- invoice_number?: string | null;
17166
- note?: string | null;
17167
- status?: string;
17168
- total_excl_cents?: number;
17169
- total_incl_cents?: number;
17170
- updated_at?: string;
17171
- vat_cents?: number;
17172
- vat_percentage?: number;
17173
- werkbon_id?: string | null;
17174
- };
17175
- Relationships: [{
17176
- foreignKeyName: "uren_facturen_customer_id_fkey";
17177
- columns: ["customer_id"];
17178
- isOneToOne: false;
17179
- referencedRelation: "itk_customers";
17180
- referencedColumns: ["id"];
17181
- }, {
17182
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
17183
- columns: ["werkbon_id"];
17184
- isOneToOne: true;
17185
- referencedRelation: "werkbonnen";
17186
- referencedColumns: ["id"];
17187
- }];
17188
- };
17189
- uren_factuur_regels: {
17190
- Row: {
17191
- created_at: string;
17192
- description: string;
17193
- factuur_id: string;
17194
- id: string;
17195
- kind: string | null;
17196
- quantity: number;
17197
- sort_order: number;
17198
- total_cents: number;
17199
- unit: string;
17200
- unit_price_cents: number;
17201
- };
17202
- Insert: {
17203
- created_at?: string;
17204
- description: string;
17205
- factuur_id: string;
17206
- id?: string;
17207
- kind?: string | null;
17208
- quantity?: number;
17209
- sort_order?: number;
17210
- total_cents?: number;
17211
- unit?: string;
17212
- unit_price_cents?: number;
17213
- };
17214
- Update: {
17215
- created_at?: string;
17216
- description?: string;
17217
- factuur_id?: string;
17218
- id?: string;
17219
- kind?: string | null;
17220
- quantity?: number;
17221
- sort_order?: number;
17222
- total_cents?: number;
17223
- unit?: string;
17224
- unit_price_cents?: number;
17225
- };
17226
- Relationships: [{
17227
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
17228
- columns: ["factuur_id"];
17229
- isOneToOne: false;
17230
- referencedRelation: "uren_facturen";
17231
- referencedColumns: ["id"];
17232
- }];
17233
- };
17234
17630
  uren_offerte_regels: {
17235
17631
  Row: {
17236
17632
  created_at: string;
@@ -18484,6 +18880,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18484
18880
  scheduled_end_time: string | null;
18485
18881
  scheduled_start_time: string | null;
18486
18882
  sequence_number: number;
18883
+ signature_accepted_at: string | null;
18884
+ signature_by_user_id: string | null;
18885
+ signature_name: string | null;
18487
18886
  source_email_meta: import("../integrations/supabase/types").Json | null;
18488
18887
  source_mailbox_message_id: string | null;
18489
18888
  source_pdf_path: string | null;
@@ -18519,6 +18918,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18519
18918
  scheduled_end_time?: string | null;
18520
18919
  scheduled_start_time?: string | null;
18521
18920
  sequence_number: number;
18921
+ signature_accepted_at?: string | null;
18922
+ signature_by_user_id?: string | null;
18923
+ signature_name?: string | null;
18522
18924
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18523
18925
  source_mailbox_message_id?: string | null;
18524
18926
  source_pdf_path?: string | null;
@@ -18554,6 +18956,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
18554
18956
  scheduled_end_time?: string | null;
18555
18957
  scheduled_start_time?: string | null;
18556
18958
  sequence_number?: number;
18959
+ signature_accepted_at?: string | null;
18960
+ signature_by_user_id?: string | null;
18961
+ signature_name?: string | null;
18557
18962
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18558
18963
  source_mailbox_message_id?: string | null;
18559
18964
  source_pdf_path?: string | null;
@@ -19070,6 +19475,114 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
19070
19475
  };
19071
19476
  Relationships: [];
19072
19477
  };
19478
+ uren_facturen: {
19479
+ Row: {
19480
+ created_at: string | null;
19481
+ created_by: string | null;
19482
+ customer_id: string | null;
19483
+ customer_name: string | null;
19484
+ id: string | null;
19485
+ invoice_number: string | null;
19486
+ note: string | null;
19487
+ status: string | null;
19488
+ total_excl_cents: number | null;
19489
+ total_incl_cents: number | null;
19490
+ updated_at: string | null;
19491
+ vat_cents: number | null;
19492
+ vat_percentage: number | null;
19493
+ werkbon_id: string | null;
19494
+ };
19495
+ Insert: {
19496
+ created_at?: string | null;
19497
+ created_by?: string | null;
19498
+ customer_id?: string | null;
19499
+ customer_name?: string | null;
19500
+ id?: string | null;
19501
+ invoice_number?: string | null;
19502
+ note?: string | null;
19503
+ status?: string | null;
19504
+ total_excl_cents?: number | null;
19505
+ total_incl_cents?: number | null;
19506
+ updated_at?: string | null;
19507
+ vat_cents?: number | null;
19508
+ vat_percentage?: number | null;
19509
+ werkbon_id?: never;
19510
+ };
19511
+ Update: {
19512
+ created_at?: string | null;
19513
+ created_by?: string | null;
19514
+ customer_id?: string | null;
19515
+ customer_name?: string | null;
19516
+ id?: string | null;
19517
+ invoice_number?: string | null;
19518
+ note?: string | null;
19519
+ status?: string | null;
19520
+ total_excl_cents?: number | null;
19521
+ total_incl_cents?: number | null;
19522
+ updated_at?: string | null;
19523
+ vat_cents?: number | null;
19524
+ vat_percentage?: number | null;
19525
+ werkbon_id?: never;
19526
+ };
19527
+ Relationships: [{
19528
+ foreignKeyName: "invoices_customer_id_fkey";
19529
+ columns: ["customer_id"];
19530
+ isOneToOne: false;
19531
+ referencedRelation: "itk_customers";
19532
+ referencedColumns: ["id"];
19533
+ }];
19534
+ };
19535
+ uren_factuur_regels: {
19536
+ Row: {
19537
+ created_at: string | null;
19538
+ description: string | null;
19539
+ factuur_id: string | null;
19540
+ id: string | null;
19541
+ kind: string | null;
19542
+ quantity: number | null;
19543
+ sort_order: number | null;
19544
+ total_cents: number | null;
19545
+ unit: string | null;
19546
+ unit_price_cents: number | null;
19547
+ };
19548
+ Insert: {
19549
+ created_at?: string | null;
19550
+ description?: string | null;
19551
+ factuur_id?: string | null;
19552
+ id?: string | null;
19553
+ kind?: string | null;
19554
+ quantity?: number | null;
19555
+ sort_order?: number | null;
19556
+ total_cents?: number | null;
19557
+ unit?: string | null;
19558
+ unit_price_cents?: number | null;
19559
+ };
19560
+ Update: {
19561
+ created_at?: string | null;
19562
+ description?: string | null;
19563
+ factuur_id?: string | null;
19564
+ id?: string | null;
19565
+ kind?: string | null;
19566
+ quantity?: number | null;
19567
+ sort_order?: number | null;
19568
+ total_cents?: number | null;
19569
+ unit?: string | null;
19570
+ unit_price_cents?: number | null;
19571
+ };
19572
+ Relationships: [{
19573
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19574
+ columns: ["factuur_id"];
19575
+ isOneToOne: false;
19576
+ referencedRelation: "invoices";
19577
+ referencedColumns: ["id"];
19578
+ }, {
19579
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19580
+ columns: ["factuur_id"];
19581
+ isOneToOne: false;
19582
+ referencedRelation: "uren_facturen";
19583
+ referencedColumns: ["id"];
19584
+ }];
19585
+ };
19073
19586
  v_external_customers_exact: {
19074
19587
  Row: {
19075
19588
  account_number: string | null;
@@ -19575,6 +20088,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
19575
20088
  gebruiker_id: string | null;
19576
20089
  gebruiker_naam: string;
19577
20090
  gestart_op: string | null;
20091
+ herkomst: string | null;
19578
20092
  id: string;
19579
20093
  idempotentie_sleutel: string | null;
19580
20094
  is_herprint: boolean;
@@ -19695,6 +20209,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
19695
20209
  gebruiker_id: string | null;
19696
20210
  gebruiker_naam: string;
19697
20211
  gestart_op: string | null;
20212
+ herkomst: string | null;
19698
20213
  id: string;
19699
20214
  idempotentie_sleutel: string | null;
19700
20215
  is_herprint: boolean;
@@ -20296,6 +20811,46 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
20296
20811
  Args: never;
20297
20812
  Returns: boolean;
20298
20813
  };
20814
+ invoice_create_from_source: {
20815
+ Args: {
20816
+ _payload?: import("../integrations/supabase/types").Json;
20817
+ _source_id: string;
20818
+ _source_type: string;
20819
+ };
20820
+ Returns: import("../integrations/supabase/types").Json;
20821
+ };
20822
+ invoice_get_billable_lines: {
20823
+ Args: {
20824
+ _invoice_id: string;
20825
+ };
20826
+ Returns: import("../integrations/supabase/types").Json;
20827
+ };
20828
+ invoice_get_for_source: {
20829
+ Args: {
20830
+ _source_id: string;
20831
+ _source_type: string;
20832
+ };
20833
+ Returns: import("../integrations/supabase/types").Json;
20834
+ };
20835
+ invoice_get_summary: {
20836
+ Args: {
20837
+ _invoice_id: string;
20838
+ };
20839
+ Returns: import("../integrations/supabase/types").Json;
20840
+ };
20841
+ invoice_list_sources: {
20842
+ Args: {
20843
+ _limit?: number;
20844
+ _source_type?: string;
20845
+ };
20846
+ Returns: import("../integrations/supabase/types").Json;
20847
+ };
20848
+ invoice_recalc_totals: {
20849
+ Args: {
20850
+ _invoice_id: string;
20851
+ };
20852
+ Returns: import("../integrations/supabase/types").Json;
20853
+ };
20299
20854
  is_authenticated: {
20300
20855
  Args: never;
20301
20856
  Returns: boolean;
@@ -20364,6 +20919,29 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
20364
20919
  roles: string[];
20365
20920
  }[];
20366
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
+ };
20367
20945
  list_my_planning_items: {
20368
20946
  Args: {
20369
20947
  _from: string;
@@ -20775,6 +21353,41 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
20775
21353
  };
20776
21354
  Returns: string;
20777
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
+ };
20778
21391
  logistics_floriday_prune_pushes: {
20779
21392
  Args: {
20780
21393
  _days?: number;
@@ -21203,6 +21816,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
21203
21816
  verwijderd: number;
21204
21817
  }[];
21205
21818
  };
21819
+ order_departure_proof: {
21820
+ Args: {
21821
+ p_order_id: string;
21822
+ };
21823
+ Returns: import("../integrations/supabase/types").Json;
21824
+ };
21206
21825
  order_number_prefix: {
21207
21826
  Args: {
21208
21827
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -21317,6 +21936,13 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
21317
21936
  isSetofReturn: false;
21318
21937
  };
21319
21938
  };
21939
+ pick_cleanup_maintenance: {
21940
+ Args: {
21941
+ _heartbeat_hours?: number;
21942
+ _log_days?: number;
21943
+ };
21944
+ Returns: import("../integrations/supabase/types").Json;
21945
+ };
21320
21946
  pick_complete_print: {
21321
21947
  Args: {
21322
21948
  _printer_id: string;
@@ -21368,6 +21994,14 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
21368
21994
  Args: never;
21369
21995
  Returns: string;
21370
21996
  };
21997
+ pick_day_counts: {
21998
+ Args: {
21999
+ _pick_day?: string;
22000
+ _screen_id?: string;
22001
+ _station_id?: string;
22002
+ };
22003
+ Returns: import("../integrations/supabase/types").Json;
22004
+ };
21371
22005
  pick_document_layout_data: {
21372
22006
  Args: {
21373
22007
  _layout_id: string;
@@ -21395,6 +22029,14 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
21395
22029
  };
21396
22030
  Returns: import("../integrations/supabase/types").Json;
21397
22031
  };
22032
+ pick_print_plekken: {
22033
+ Args: never;
22034
+ Returns: {
22035
+ id: string;
22036
+ naam: string;
22037
+ omschrijving: string;
22038
+ }[];
22039
+ };
21398
22040
  pick_release_expired_locks: {
21399
22041
  Args: never;
21400
22042
  Returns: number;
@@ -21405,6 +22047,14 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
21405
22047
  };
21406
22048
  Returns: undefined;
21407
22049
  };
22050
+ pick_reprint_document: {
22051
+ Args: {
22052
+ _queue_item_id: string;
22053
+ _session_id: string;
22054
+ _throttle_seconds?: number;
22055
+ };
22056
+ Returns: string;
22057
+ };
21408
22058
  pick_reset_print: {
21409
22059
  Args: {
21410
22060
  _queue_item_id: string;
@@ -21451,6 +22101,13 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
21451
22101
  isSetofReturn: false;
21452
22102
  };
21453
22103
  };
22104
+ pick_set_station_print_plek: {
22105
+ Args: {
22106
+ _print_plek_id: string;
22107
+ _station_id: string;
22108
+ };
22109
+ Returns: string;
22110
+ };
21454
22111
  pick_station_dashboard: {
21455
22112
  Args: never;
21456
22113
  Returns: {
@@ -21463,6 +22120,25 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
21463
22120
  waiting: number;
21464
22121
  }[];
21465
22122
  };
22123
+ pick_station_print_plek: {
22124
+ Args: {
22125
+ _station_id: string;
22126
+ };
22127
+ Returns: {
22128
+ naam: string;
22129
+ omschrijving: string;
22130
+ print_plek_id: string;
22131
+ }[];
22132
+ };
22133
+ pick_station_print_plekken: {
22134
+ Args: never;
22135
+ Returns: {
22136
+ naam: string;
22137
+ omschrijving: string;
22138
+ print_plek_id: string;
22139
+ station_id: string;
22140
+ }[];
22141
+ };
21466
22142
  pick_station_slugify: {
21467
22143
  Args: {
21468
22144
  _id: string;
@@ -21470,6 +22146,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
21470
22146
  };
21471
22147
  Returns: string;
21472
22148
  };
22149
+ pick_sync_queue_throttled: {
22150
+ Args: {
22151
+ _min_seconds?: number;
22152
+ };
22153
+ Returns: import("../integrations/supabase/types").Json;
22154
+ };
21473
22155
  pickstation_get_orders_raw: {
21474
22156
  Args: never;
21475
22157
  Returns: import("../integrations/supabase/types").Json;
@@ -21615,6 +22297,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
21615
22297
  };
21616
22298
  Returns: boolean;
21617
22299
  };
22300
+ release_stale_order_invoice_links: {
22301
+ Args: {
22302
+ _minutes?: number;
22303
+ };
22304
+ Returns: number;
22305
+ };
21618
22306
  reorder_customer_price_groups: {
21619
22307
  Args: {
21620
22308
  _ids: string[];
@@ -22133,6 +22821,20 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
22133
22821
  };
22134
22822
  Returns: undefined;
22135
22823
  };
22824
+ twinfield_deactivate_connection: {
22825
+ Args: {
22826
+ p_connection_id: string;
22827
+ p_user_id: string;
22828
+ };
22829
+ Returns: import("../integrations/supabase/types").Json;
22830
+ };
22831
+ twinfield_handle_administration_change: {
22832
+ Args: {
22833
+ _administration_code: string;
22834
+ _user_id: string;
22835
+ };
22836
+ Returns: undefined;
22837
+ };
22136
22838
  twinfield_prune_push_queue: {
22137
22839
  Args: never;
22138
22840
  Returns: number;
@@ -22152,10 +22854,11 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
22152
22854
  p_company_name?: string;
22153
22855
  p_environment: string;
22154
22856
  p_office_code?: string;
22857
+ p_reset_sync?: boolean;
22155
22858
  p_status?: string;
22156
22859
  p_user_id: string;
22157
22860
  };
22158
- Returns: string;
22861
+ Returns: import("../integrations/supabase/types").Json;
22159
22862
  };
22160
22863
  upsert_auto_fulfillment_log: {
22161
22864
  Args: {