@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
@@ -674,6 +674,99 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
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 requireSupabaseAuth: import("@tanstack/start-client-core").
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 requireSupabaseAuth: import("@tanstack/start-client-core").
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 requireSupabaseAuth: import("@tanstack/start-client-core").
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 requireSupabaseAuth: import("@tanstack/start-client-core").
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 requireSupabaseAuth: import("@tanstack/start-client-core").
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;
@@ -5045,42 +5258,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5045
5258
  };
5046
5259
  Relationships: [];
5047
5260
  };
5048
- facturen: {
5049
- Row: {
5050
- bedrag_incl_btw: number;
5051
- created_at: string;
5052
- datum: string;
5053
- factuurnummer: string;
5054
- id: string;
5055
- klantnaam: string;
5056
- status: string;
5057
- updated_at: string;
5058
- user_id: string;
5059
- };
5060
- Insert: {
5061
- bedrag_incl_btw: number;
5062
- created_at?: string;
5063
- datum?: string;
5064
- factuurnummer: string;
5065
- id?: string;
5066
- klantnaam: string;
5067
- status?: string;
5068
- updated_at?: string;
5069
- user_id?: string;
5070
- };
5071
- Update: {
5072
- bedrag_incl_btw?: number;
5073
- created_at?: string;
5074
- datum?: string;
5075
- factuurnummer?: string;
5076
- id?: string;
5077
- klantnaam?: string;
5078
- status?: string;
5079
- updated_at?: string;
5080
- user_id?: string;
5081
- };
5082
- Relationships: [];
5083
- };
5084
5261
  floricode_connection_settings: {
5085
5262
  Row: {
5086
5263
  catalog_key: string | null;
@@ -7385,8 +7562,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7385
7562
  };
7386
7563
  Relationships: [];
7387
7564
  };
7565
+ invoice_items: {
7566
+ Row: {
7567
+ created_at: string;
7568
+ description: string;
7569
+ id: string;
7570
+ invoice_id: string;
7571
+ kind: string;
7572
+ quantity: number;
7573
+ sort_order: number;
7574
+ source_line_ref: string | null;
7575
+ total_cents: number;
7576
+ unit: string;
7577
+ unit_price_cents: number;
7578
+ };
7579
+ Insert: {
7580
+ created_at?: string;
7581
+ description?: string;
7582
+ id?: string;
7583
+ invoice_id: string;
7584
+ kind?: string;
7585
+ quantity?: number;
7586
+ sort_order?: number;
7587
+ source_line_ref?: string | null;
7588
+ total_cents?: number;
7589
+ unit?: string;
7590
+ unit_price_cents?: number;
7591
+ };
7592
+ Update: {
7593
+ created_at?: string;
7594
+ description?: string;
7595
+ id?: string;
7596
+ invoice_id?: string;
7597
+ kind?: string;
7598
+ quantity?: number;
7599
+ sort_order?: number;
7600
+ source_line_ref?: string | null;
7601
+ total_cents?: number;
7602
+ unit?: string;
7603
+ unit_price_cents?: number;
7604
+ };
7605
+ Relationships: [{
7606
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7607
+ columns: ["invoice_id"];
7608
+ isOneToOne: false;
7609
+ referencedRelation: "invoices";
7610
+ referencedColumns: ["id"];
7611
+ }, {
7612
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7613
+ columns: ["invoice_id"];
7614
+ isOneToOne: false;
7615
+ referencedRelation: "uren_facturen";
7616
+ referencedColumns: ["id"];
7617
+ }];
7618
+ };
7388
7619
  invoice_post_idempotency: {
7389
7620
  Row: {
7621
+ administration_code: string;
7390
7622
  client_request_id: string;
7391
7623
  completed_at: string | null;
7392
7624
  created_at: string;
@@ -7396,6 +7628,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7396
7628
  user_id: string;
7397
7629
  };
7398
7630
  Insert: {
7631
+ administration_code?: string;
7399
7632
  client_request_id: string;
7400
7633
  completed_at?: string | null;
7401
7634
  created_at?: string;
@@ -7405,6 +7638,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7405
7638
  user_id: string;
7406
7639
  };
7407
7640
  Update: {
7641
+ administration_code?: string;
7408
7642
  client_request_id?: string;
7409
7643
  completed_at?: string | null;
7410
7644
  created_at?: string;
@@ -7610,34 +7844,103 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7610
7844
  };
7611
7845
  Relationships: [];
7612
7846
  };
7613
- itk_contact_persons: {
7847
+ invoices: {
7614
7848
  Row: {
7615
7849
  created_at: string;
7616
- customer_id: string;
7617
- email: string | null;
7850
+ created_by: string | null;
7851
+ customer_id: string | null;
7852
+ customer_name: string | null;
7853
+ due_date: string | null;
7618
7854
  id: string;
7619
- name: string;
7620
- phone: string | null;
7621
- role: string | null;
7855
+ invoice_date: string;
7856
+ invoice_number: string | null;
7857
+ note: string | null;
7858
+ source_number: string | null;
7859
+ source_ref: string | null;
7860
+ source_type: string;
7861
+ status: string;
7862
+ subtotal_cents: number;
7863
+ total_cents: number;
7622
7864
  updated_at: string;
7865
+ vat_cents: number;
7866
+ vat_rate: number;
7623
7867
  };
7624
7868
  Insert: {
7625
7869
  created_at?: string;
7626
- customer_id: string;
7627
- email?: string | null;
7870
+ created_by?: string | null;
7871
+ customer_id?: string | null;
7872
+ customer_name?: string | null;
7873
+ due_date?: string | null;
7628
7874
  id?: string;
7629
- name: string;
7630
- phone?: string | null;
7631
- role?: string | null;
7875
+ invoice_date?: string;
7876
+ invoice_number?: string | null;
7877
+ note?: string | null;
7878
+ source_number?: string | null;
7879
+ source_ref?: string | null;
7880
+ source_type?: string;
7881
+ status?: string;
7882
+ subtotal_cents?: number;
7883
+ total_cents?: number;
7632
7884
  updated_at?: string;
7885
+ vat_cents?: number;
7886
+ vat_rate?: number;
7633
7887
  };
7634
7888
  Update: {
7635
7889
  created_at?: string;
7636
- customer_id?: string;
7637
- email?: string | null;
7638
- id?: string;
7639
- name?: string;
7640
- phone?: string | null;
7890
+ created_by?: string | null;
7891
+ customer_id?: string | null;
7892
+ customer_name?: string | null;
7893
+ due_date?: string | null;
7894
+ id?: string;
7895
+ invoice_date?: string;
7896
+ invoice_number?: string | null;
7897
+ note?: string | null;
7898
+ source_number?: string | null;
7899
+ source_ref?: string | null;
7900
+ source_type?: string;
7901
+ status?: string;
7902
+ subtotal_cents?: number;
7903
+ total_cents?: number;
7904
+ updated_at?: string;
7905
+ vat_cents?: number;
7906
+ vat_rate?: number;
7907
+ };
7908
+ Relationships: [{
7909
+ foreignKeyName: "invoices_customer_id_fkey";
7910
+ columns: ["customer_id"];
7911
+ isOneToOne: false;
7912
+ referencedRelation: "itk_customers";
7913
+ referencedColumns: ["id"];
7914
+ }];
7915
+ };
7916
+ itk_contact_persons: {
7917
+ Row: {
7918
+ created_at: string;
7919
+ customer_id: string;
7920
+ email: string | null;
7921
+ id: string;
7922
+ name: string;
7923
+ phone: string | null;
7924
+ role: string | null;
7925
+ updated_at: string;
7926
+ };
7927
+ Insert: {
7928
+ created_at?: string;
7929
+ customer_id: string;
7930
+ email?: string | null;
7931
+ id?: string;
7932
+ name: string;
7933
+ phone?: string | null;
7934
+ role?: string | null;
7935
+ updated_at?: string;
7936
+ };
7937
+ Update: {
7938
+ created_at?: string;
7939
+ customer_id?: string;
7940
+ email?: string | null;
7941
+ id?: string;
7942
+ name?: string;
7943
+ phone?: string | null;
7641
7944
  role?: string | null;
7642
7945
  updated_at?: string;
7643
7946
  };
@@ -8957,6 +9260,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8957
9260
  id: string;
8958
9261
  last_error: string | null;
8959
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;
8960
9267
  last_sent_hash: string | null;
8961
9268
  locked_by: string | null;
8962
9269
  locked_until: string | null;
@@ -8977,6 +9284,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8977
9284
  id?: string;
8978
9285
  last_error?: string | null;
8979
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;
8980
9291
  last_sent_hash?: string | null;
8981
9292
  locked_by?: string | null;
8982
9293
  locked_until?: string | null;
@@ -8997,6 +9308,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8997
9308
  id?: string;
8998
9309
  last_error?: string | null;
8999
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;
9000
9315
  last_sent_hash?: string | null;
9001
9316
  locked_by?: string | null;
9002
9317
  locked_until?: string | null;
@@ -10550,6 +10865,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10550
10865
  enforce: boolean;
10551
10866
  is_active: boolean;
10552
10867
  last_seen_at: string;
10868
+ missing_count: number;
10553
10869
  module_id: string;
10554
10870
  name: string;
10555
10871
  shell_id: string | null;
@@ -10560,6 +10876,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10560
10876
  enforce?: boolean;
10561
10877
  is_active?: boolean;
10562
10878
  last_seen_at?: string;
10879
+ missing_count?: number;
10563
10880
  module_id: string;
10564
10881
  name: string;
10565
10882
  shell_id?: string | null;
@@ -10570,6 +10887,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10570
10887
  enforce?: boolean;
10571
10888
  is_active?: boolean;
10572
10889
  last_seen_at?: string;
10890
+ missing_count?: number;
10573
10891
  module_id?: string;
10574
10892
  name?: string;
10575
10893
  shell_id?: string | null;
@@ -11569,6 +11887,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11569
11887
  };
11570
11888
  order_invoice_links: {
11571
11889
  Row: {
11890
+ administration_code: string | null;
11572
11891
  attempts: number;
11573
11892
  created_at: string;
11574
11893
  error_message: string | null;
@@ -11581,6 +11900,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11581
11900
  updated_at: string;
11582
11901
  };
11583
11902
  Insert: {
11903
+ administration_code?: string | null;
11584
11904
  attempts?: number;
11585
11905
  created_at?: string;
11586
11906
  error_message?: string | null;
@@ -11593,6 +11913,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11593
11913
  updated_at?: string;
11594
11914
  };
11595
11915
  Update: {
11916
+ administration_code?: string | null;
11596
11917
  attempts?: number;
11597
11918
  created_at?: string;
11598
11919
  error_message?: string | null;
@@ -12758,6 +13079,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12758
13079
  referencedColumns: ["id"];
12759
13080
  }];
12760
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
+ };
12761
13103
  pick_task_document_types: {
12762
13104
  Row: {
12763
13105
  created_at: string;
@@ -13040,6 +13382,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13040
13382
  gebruiker_id: string | null;
13041
13383
  gebruiker_naam: string;
13042
13384
  gestart_op: string | null;
13385
+ herkomst: string | null;
13043
13386
  id: string;
13044
13387
  idempotentie_sleutel: string | null;
13045
13388
  is_herprint: boolean;
@@ -13069,6 +13412,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13069
13412
  gebruiker_id?: string | null;
13070
13413
  gebruiker_naam?: string;
13071
13414
  gestart_op?: string | null;
13415
+ herkomst?: string | null;
13072
13416
  id?: string;
13073
13417
  idempotentie_sleutel?: string | null;
13074
13418
  is_herprint?: boolean;
@@ -13098,6 +13442,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13098
13442
  gebruiker_id?: string | null;
13099
13443
  gebruiker_naam?: string;
13100
13444
  gestart_op?: string | null;
13445
+ herkomst?: string | null;
13101
13446
  id?: string;
13102
13447
  idempotentie_sleutel?: string | null;
13103
13448
  is_herprint?: boolean;
@@ -13136,6 +13481,99 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13136
13481
  referencedColumns: ["id"];
13137
13482
  }];
13138
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
+ };
13139
13577
  print_queue_runners: {
13140
13578
  Row: {
13141
13579
  actief: boolean;
@@ -15290,6 +15728,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15290
15728
  };
15291
15729
  Relationships: [];
15292
15730
  };
15731
+ stock_consumption_alerts: {
15732
+ Row: {
15733
+ alert_type: string;
15734
+ created_at: string;
15735
+ id: string;
15736
+ mutation_log_id: string | null;
15737
+ order_id: string | null;
15738
+ order_item_id: string | null;
15739
+ qty: number;
15740
+ reason: string | null;
15741
+ resolved_at: string | null;
15742
+ updated_at: string;
15743
+ };
15744
+ Insert: {
15745
+ alert_type: string;
15746
+ created_at?: string;
15747
+ id?: string;
15748
+ mutation_log_id?: string | null;
15749
+ order_id?: string | null;
15750
+ order_item_id?: string | null;
15751
+ qty?: number;
15752
+ reason?: string | null;
15753
+ resolved_at?: string | null;
15754
+ updated_at?: string;
15755
+ };
15756
+ Update: {
15757
+ alert_type?: string;
15758
+ created_at?: string;
15759
+ id?: string;
15760
+ mutation_log_id?: string | null;
15761
+ order_id?: string | null;
15762
+ order_item_id?: string | null;
15763
+ qty?: number;
15764
+ reason?: string | null;
15765
+ resolved_at?: string | null;
15766
+ updated_at?: string;
15767
+ };
15768
+ Relationships: [];
15769
+ };
15293
15770
  stock_import_runs: {
15294
15771
  Row: {
15295
15772
  connection_id: string | null;
@@ -16102,12 +16579,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16102
16579
  company_name: string | null;
16103
16580
  connected_at: string | null;
16104
16581
  created_at: string;
16582
+ disconnected_at: string | null;
16105
16583
  environment: string;
16106
16584
  id: string;
16585
+ initial_sync_completed_at: string | null;
16586
+ initial_sync_started_at: string | null;
16107
16587
  is_active: boolean;
16108
16588
  label: string | null;
16109
16589
  office_code: string | null;
16110
16590
  redirect_uri: string | null;
16591
+ superseded_at: string | null;
16111
16592
  updated_at: string;
16112
16593
  user_id: string;
16113
16594
  };
@@ -16118,12 +16599,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16118
16599
  company_name?: string | null;
16119
16600
  connected_at?: string | null;
16120
16601
  created_at?: string;
16602
+ disconnected_at?: string | null;
16121
16603
  environment: string;
16122
16604
  id?: string;
16605
+ initial_sync_completed_at?: string | null;
16606
+ initial_sync_started_at?: string | null;
16123
16607
  is_active?: boolean;
16124
16608
  label?: string | null;
16125
16609
  office_code?: string | null;
16126
16610
  redirect_uri?: string | null;
16611
+ superseded_at?: string | null;
16127
16612
  updated_at?: string;
16128
16613
  user_id: string;
16129
16614
  };
@@ -16134,12 +16619,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16134
16619
  company_name?: string | null;
16135
16620
  connected_at?: string | null;
16136
16621
  created_at?: string;
16622
+ disconnected_at?: string | null;
16137
16623
  environment?: string;
16138
16624
  id?: string;
16625
+ initial_sync_completed_at?: string | null;
16626
+ initial_sync_started_at?: string | null;
16139
16627
  is_active?: boolean;
16140
16628
  label?: string | null;
16141
16629
  office_code?: string | null;
16142
16630
  redirect_uri?: string | null;
16631
+ superseded_at?: string | null;
16143
16632
  updated_at?: string;
16144
16633
  user_id?: string;
16145
16634
  };
@@ -16199,6 +16688,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16199
16688
  twinfield_customers: {
16200
16689
  Row: {
16201
16690
  address: string | null;
16691
+ administration_code: string;
16202
16692
  city: string | null;
16203
16693
  country: string | null;
16204
16694
  created_at: string;
@@ -16218,6 +16708,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16218
16708
  };
16219
16709
  Insert: {
16220
16710
  address?: string | null;
16711
+ administration_code?: string;
16221
16712
  city?: string | null;
16222
16713
  country?: string | null;
16223
16714
  created_at?: string;
@@ -16237,6 +16728,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16237
16728
  };
16238
16729
  Update: {
16239
16730
  address?: string | null;
16731
+ administration_code?: string;
16240
16732
  city?: string | null;
16241
16733
  country?: string | null;
16242
16734
  created_at?: string;
@@ -16450,7 +16942,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16450
16942
  };
16451
16943
  twinfield_invoice_settings: {
16452
16944
  Row: {
16945
+ administration_code: string | null;
16453
16946
  auto_invoice_enabled: boolean;
16947
+ auto_invoice_start_date: string | null;
16454
16948
  auto_invoice_trigger_statuses: string[];
16455
16949
  created_at: string;
16456
16950
  debtor_gl_account: string;
@@ -16464,15 +16958,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16464
16958
  invoice_enabled_fo: boolean;
16465
16959
  invoice_enabled_ho: boolean;
16466
16960
  invoice_enabled_mo: boolean;
16961
+ needs_review: boolean;
16467
16962
  payment_gl_account: string;
16468
16963
  payment_journal_code: string;
16964
+ settings_confirmed_at: string | null;
16469
16965
  updated_at: string;
16470
16966
  user_id: string;
16471
16967
  vat_code_eu_reverse: string | null;
16472
16968
  vat_code_export: string | null;
16473
16969
  };
16474
16970
  Insert: {
16971
+ administration_code?: string | null;
16475
16972
  auto_invoice_enabled?: boolean;
16973
+ auto_invoice_start_date?: string | null;
16476
16974
  auto_invoice_trigger_statuses?: string[];
16477
16975
  created_at?: string;
16478
16976
  debtor_gl_account?: string;
@@ -16486,15 +16984,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16486
16984
  invoice_enabled_fo?: boolean;
16487
16985
  invoice_enabled_ho?: boolean;
16488
16986
  invoice_enabled_mo?: boolean;
16987
+ needs_review?: boolean;
16489
16988
  payment_gl_account?: string;
16490
16989
  payment_journal_code?: string;
16990
+ settings_confirmed_at?: string | null;
16491
16991
  updated_at?: string;
16492
16992
  user_id: string;
16493
16993
  vat_code_eu_reverse?: string | null;
16494
16994
  vat_code_export?: string | null;
16495
16995
  };
16496
16996
  Update: {
16997
+ administration_code?: string | null;
16497
16998
  auto_invoice_enabled?: boolean;
16999
+ auto_invoice_start_date?: string | null;
16498
17000
  auto_invoice_trigger_statuses?: string[];
16499
17001
  created_at?: string;
16500
17002
  debtor_gl_account?: string;
@@ -16508,8 +17010,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16508
17010
  invoice_enabled_fo?: boolean;
16509
17011
  invoice_enabled_ho?: boolean;
16510
17012
  invoice_enabled_mo?: boolean;
17013
+ needs_review?: boolean;
16511
17014
  payment_gl_account?: string;
16512
17015
  payment_journal_code?: string;
17016
+ settings_confirmed_at?: string | null;
16513
17017
  updated_at?: string;
16514
17018
  user_id?: string;
16515
17019
  vat_code_eu_reverse?: string | null;
@@ -17114,114 +17618,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17114
17618
  };
17115
17619
  Relationships: [];
17116
17620
  };
17117
- uren_facturen: {
17118
- Row: {
17119
- created_at: string;
17120
- created_by: string | null;
17121
- customer_id: string | null;
17122
- customer_name: string | null;
17123
- id: string;
17124
- invoice_number: string | null;
17125
- note: string | null;
17126
- status: string;
17127
- total_excl_cents: number;
17128
- total_incl_cents: number;
17129
- updated_at: string;
17130
- vat_cents: number;
17131
- vat_percentage: number;
17132
- werkbon_id: string | null;
17133
- };
17134
- Insert: {
17135
- created_at?: string;
17136
- created_by?: string | null;
17137
- customer_id?: string | null;
17138
- customer_name?: string | null;
17139
- id?: string;
17140
- invoice_number?: string | null;
17141
- note?: string | null;
17142
- status?: string;
17143
- total_excl_cents?: number;
17144
- total_incl_cents?: number;
17145
- updated_at?: string;
17146
- vat_cents?: number;
17147
- vat_percentage?: number;
17148
- werkbon_id?: string | null;
17149
- };
17150
- Update: {
17151
- created_at?: string;
17152
- created_by?: string | null;
17153
- customer_id?: string | null;
17154
- customer_name?: string | null;
17155
- id?: string;
17156
- invoice_number?: string | null;
17157
- note?: string | null;
17158
- status?: string;
17159
- total_excl_cents?: number;
17160
- total_incl_cents?: number;
17161
- updated_at?: string;
17162
- vat_cents?: number;
17163
- vat_percentage?: number;
17164
- werkbon_id?: string | null;
17165
- };
17166
- Relationships: [{
17167
- foreignKeyName: "uren_facturen_customer_id_fkey";
17168
- columns: ["customer_id"];
17169
- isOneToOne: false;
17170
- referencedRelation: "itk_customers";
17171
- referencedColumns: ["id"];
17172
- }, {
17173
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
17174
- columns: ["werkbon_id"];
17175
- isOneToOne: true;
17176
- referencedRelation: "werkbonnen";
17177
- referencedColumns: ["id"];
17178
- }];
17179
- };
17180
- uren_factuur_regels: {
17181
- Row: {
17182
- created_at: string;
17183
- description: string;
17184
- factuur_id: string;
17185
- id: string;
17186
- kind: string | null;
17187
- quantity: number;
17188
- sort_order: number;
17189
- total_cents: number;
17190
- unit: string;
17191
- unit_price_cents: number;
17192
- };
17193
- Insert: {
17194
- created_at?: string;
17195
- description: string;
17196
- factuur_id: string;
17197
- id?: string;
17198
- kind?: string | null;
17199
- quantity?: number;
17200
- sort_order?: number;
17201
- total_cents?: number;
17202
- unit?: string;
17203
- unit_price_cents?: number;
17204
- };
17205
- Update: {
17206
- created_at?: string;
17207
- description?: string;
17208
- factuur_id?: string;
17209
- id?: string;
17210
- kind?: string | null;
17211
- quantity?: number;
17212
- sort_order?: number;
17213
- total_cents?: number;
17214
- unit?: string;
17215
- unit_price_cents?: number;
17216
- };
17217
- Relationships: [{
17218
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
17219
- columns: ["factuur_id"];
17220
- isOneToOne: false;
17221
- referencedRelation: "uren_facturen";
17222
- referencedColumns: ["id"];
17223
- }];
17224
- };
17225
17621
  uren_offerte_regels: {
17226
17622
  Row: {
17227
17623
  created_at: string;
@@ -18475,6 +18871,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18475
18871
  scheduled_end_time: string | null;
18476
18872
  scheduled_start_time: string | null;
18477
18873
  sequence_number: number;
18874
+ signature_accepted_at: string | null;
18875
+ signature_by_user_id: string | null;
18876
+ signature_name: string | null;
18478
18877
  source_email_meta: import("./types").Json | null;
18479
18878
  source_mailbox_message_id: string | null;
18480
18879
  source_pdf_path: string | null;
@@ -18510,6 +18909,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18510
18909
  scheduled_end_time?: string | null;
18511
18910
  scheduled_start_time?: string | null;
18512
18911
  sequence_number: number;
18912
+ signature_accepted_at?: string | null;
18913
+ signature_by_user_id?: string | null;
18914
+ signature_name?: string | null;
18513
18915
  source_email_meta?: import("./types").Json | null;
18514
18916
  source_mailbox_message_id?: string | null;
18515
18917
  source_pdf_path?: string | null;
@@ -18545,6 +18947,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18545
18947
  scheduled_end_time?: string | null;
18546
18948
  scheduled_start_time?: string | null;
18547
18949
  sequence_number?: number;
18950
+ signature_accepted_at?: string | null;
18951
+ signature_by_user_id?: string | null;
18952
+ signature_name?: string | null;
18548
18953
  source_email_meta?: import("./types").Json | null;
18549
18954
  source_mailbox_message_id?: string | null;
18550
18955
  source_pdf_path?: string | null;
@@ -19061,6 +19466,114 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19061
19466
  };
19062
19467
  Relationships: [];
19063
19468
  };
19469
+ uren_facturen: {
19470
+ Row: {
19471
+ created_at: string | null;
19472
+ created_by: string | null;
19473
+ customer_id: string | null;
19474
+ customer_name: string | null;
19475
+ id: string | null;
19476
+ invoice_number: string | null;
19477
+ note: string | null;
19478
+ status: string | null;
19479
+ total_excl_cents: number | null;
19480
+ total_incl_cents: number | null;
19481
+ updated_at: string | null;
19482
+ vat_cents: number | null;
19483
+ vat_percentage: number | null;
19484
+ werkbon_id: string | null;
19485
+ };
19486
+ Insert: {
19487
+ created_at?: string | null;
19488
+ created_by?: string | null;
19489
+ customer_id?: string | null;
19490
+ customer_name?: string | null;
19491
+ id?: string | null;
19492
+ invoice_number?: string | null;
19493
+ note?: string | null;
19494
+ status?: string | null;
19495
+ total_excl_cents?: number | null;
19496
+ total_incl_cents?: number | null;
19497
+ updated_at?: string | null;
19498
+ vat_cents?: number | null;
19499
+ vat_percentage?: number | null;
19500
+ werkbon_id?: never;
19501
+ };
19502
+ Update: {
19503
+ created_at?: string | null;
19504
+ created_by?: string | null;
19505
+ customer_id?: string | null;
19506
+ customer_name?: string | null;
19507
+ id?: string | null;
19508
+ invoice_number?: string | null;
19509
+ note?: string | null;
19510
+ status?: string | null;
19511
+ total_excl_cents?: number | null;
19512
+ total_incl_cents?: number | null;
19513
+ updated_at?: string | null;
19514
+ vat_cents?: number | null;
19515
+ vat_percentage?: number | null;
19516
+ werkbon_id?: never;
19517
+ };
19518
+ Relationships: [{
19519
+ foreignKeyName: "invoices_customer_id_fkey";
19520
+ columns: ["customer_id"];
19521
+ isOneToOne: false;
19522
+ referencedRelation: "itk_customers";
19523
+ referencedColumns: ["id"];
19524
+ }];
19525
+ };
19526
+ uren_factuur_regels: {
19527
+ Row: {
19528
+ created_at: string | null;
19529
+ description: string | null;
19530
+ factuur_id: string | null;
19531
+ id: string | null;
19532
+ kind: string | null;
19533
+ quantity: number | null;
19534
+ sort_order: number | null;
19535
+ total_cents: number | null;
19536
+ unit: string | null;
19537
+ unit_price_cents: number | null;
19538
+ };
19539
+ Insert: {
19540
+ created_at?: string | null;
19541
+ description?: string | null;
19542
+ factuur_id?: string | null;
19543
+ id?: string | null;
19544
+ kind?: string | null;
19545
+ quantity?: number | null;
19546
+ sort_order?: number | null;
19547
+ total_cents?: number | null;
19548
+ unit?: string | null;
19549
+ unit_price_cents?: number | null;
19550
+ };
19551
+ Update: {
19552
+ created_at?: string | null;
19553
+ description?: string | null;
19554
+ factuur_id?: string | null;
19555
+ id?: string | null;
19556
+ kind?: string | null;
19557
+ quantity?: number | null;
19558
+ sort_order?: number | null;
19559
+ total_cents?: number | null;
19560
+ unit?: string | null;
19561
+ unit_price_cents?: number | null;
19562
+ };
19563
+ Relationships: [{
19564
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19565
+ columns: ["factuur_id"];
19566
+ isOneToOne: false;
19567
+ referencedRelation: "invoices";
19568
+ referencedColumns: ["id"];
19569
+ }, {
19570
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19571
+ columns: ["factuur_id"];
19572
+ isOneToOne: false;
19573
+ referencedRelation: "uren_facturen";
19574
+ referencedColumns: ["id"];
19575
+ }];
19576
+ };
19064
19577
  v_external_customers_exact: {
19065
19578
  Row: {
19066
19579
  account_number: string | null;
@@ -19566,6 +20079,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19566
20079
  gebruiker_id: string | null;
19567
20080
  gebruiker_naam: string;
19568
20081
  gestart_op: string | null;
20082
+ herkomst: string | null;
19569
20083
  id: string;
19570
20084
  idempotentie_sleutel: string | null;
19571
20085
  is_herprint: boolean;
@@ -19686,6 +20200,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19686
20200
  gebruiker_id: string | null;
19687
20201
  gebruiker_naam: string;
19688
20202
  gestart_op: string | null;
20203
+ herkomst: string | null;
19689
20204
  id: string;
19690
20205
  idempotentie_sleutel: string | null;
19691
20206
  is_herprint: boolean;
@@ -20287,6 +20802,46 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20287
20802
  Args: never;
20288
20803
  Returns: boolean;
20289
20804
  };
20805
+ invoice_create_from_source: {
20806
+ Args: {
20807
+ _payload?: import("./types").Json;
20808
+ _source_id: string;
20809
+ _source_type: string;
20810
+ };
20811
+ Returns: import("./types").Json;
20812
+ };
20813
+ invoice_get_billable_lines: {
20814
+ Args: {
20815
+ _invoice_id: string;
20816
+ };
20817
+ Returns: import("./types").Json;
20818
+ };
20819
+ invoice_get_for_source: {
20820
+ Args: {
20821
+ _source_id: string;
20822
+ _source_type: string;
20823
+ };
20824
+ Returns: import("./types").Json;
20825
+ };
20826
+ invoice_get_summary: {
20827
+ Args: {
20828
+ _invoice_id: string;
20829
+ };
20830
+ Returns: import("./types").Json;
20831
+ };
20832
+ invoice_list_sources: {
20833
+ Args: {
20834
+ _limit?: number;
20835
+ _source_type?: string;
20836
+ };
20837
+ Returns: import("./types").Json;
20838
+ };
20839
+ invoice_recalc_totals: {
20840
+ Args: {
20841
+ _invoice_id: string;
20842
+ };
20843
+ Returns: import("./types").Json;
20844
+ };
20290
20845
  is_authenticated: {
20291
20846
  Args: never;
20292
20847
  Returns: boolean;
@@ -20355,6 +20910,29 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20355
20910
  roles: string[];
20356
20911
  }[];
20357
20912
  };
20913
+ list_monteur_absences: {
20914
+ Args: {
20915
+ _from: string;
20916
+ _to: string;
20917
+ };
20918
+ Returns: {
20919
+ absence_date: string;
20920
+ end_time: string;
20921
+ full_day: boolean;
20922
+ kind: string;
20923
+ monteur_id: string;
20924
+ start_time: string;
20925
+ }[];
20926
+ };
20927
+ list_monteurs: {
20928
+ Args: never;
20929
+ Returns: {
20930
+ avatar_url: string;
20931
+ display_name: string;
20932
+ email: string;
20933
+ id: string;
20934
+ }[];
20935
+ };
20358
20936
  list_my_planning_items: {
20359
20937
  Args: {
20360
20938
  _from: string;
@@ -20766,6 +21344,41 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20766
21344
  };
20767
21345
  Returns: string;
20768
21346
  };
21347
+ logistics_floriday_finish_push_v2: {
21348
+ Args: {
21349
+ _error?: string;
21350
+ _error_code?: string;
21351
+ _fulfillment_order_id?: string;
21352
+ _gateway_status?: number;
21353
+ _id: string;
21354
+ _max_age_hours?: number;
21355
+ _max_attempts?: number;
21356
+ _ok: boolean;
21357
+ _permanent?: boolean;
21358
+ _response?: import("./types").Json;
21359
+ _revision: number;
21360
+ _sent_hash?: string;
21361
+ };
21362
+ Returns: string;
21363
+ };
21364
+ logistics_floriday_finish_push_v3: {
21365
+ Args: {
21366
+ _error?: string;
21367
+ _error_code?: string;
21368
+ _fulfillment_order_id?: string;
21369
+ _gateway_status?: number;
21370
+ _id: string;
21371
+ _max_age_hours?: number;
21372
+ _max_attempts?: number;
21373
+ _outcome: string;
21374
+ _permanent?: boolean;
21375
+ _response?: import("./types").Json;
21376
+ _revision: number;
21377
+ _sent_hash?: string;
21378
+ _wait_max_age_hours?: number;
21379
+ };
21380
+ Returns: string;
21381
+ };
20769
21382
  logistics_floriday_prune_pushes: {
20770
21383
  Args: {
20771
21384
  _days?: number;
@@ -21194,6 +21807,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21194
21807
  verwijderd: number;
21195
21808
  }[];
21196
21809
  };
21810
+ order_departure_proof: {
21811
+ Args: {
21812
+ p_order_id: string;
21813
+ };
21814
+ Returns: import("./types").Json;
21815
+ };
21197
21816
  order_number_prefix: {
21198
21817
  Args: {
21199
21818
  p_custom_fields?: import("./types").Json;
@@ -21308,6 +21927,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21308
21927
  isSetofReturn: false;
21309
21928
  };
21310
21929
  };
21930
+ pick_cleanup_maintenance: {
21931
+ Args: {
21932
+ _heartbeat_hours?: number;
21933
+ _log_days?: number;
21934
+ };
21935
+ Returns: import("./types").Json;
21936
+ };
21311
21937
  pick_complete_print: {
21312
21938
  Args: {
21313
21939
  _printer_id: string;
@@ -21359,6 +21985,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21359
21985
  Args: never;
21360
21986
  Returns: string;
21361
21987
  };
21988
+ pick_day_counts: {
21989
+ Args: {
21990
+ _pick_day?: string;
21991
+ _screen_id?: string;
21992
+ _station_id?: string;
21993
+ };
21994
+ Returns: import("./types").Json;
21995
+ };
21362
21996
  pick_document_layout_data: {
21363
21997
  Args: {
21364
21998
  _layout_id: string;
@@ -21386,6 +22020,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21386
22020
  };
21387
22021
  Returns: import("./types").Json;
21388
22022
  };
22023
+ pick_print_plekken: {
22024
+ Args: never;
22025
+ Returns: {
22026
+ id: string;
22027
+ naam: string;
22028
+ omschrijving: string;
22029
+ }[];
22030
+ };
21389
22031
  pick_release_expired_locks: {
21390
22032
  Args: never;
21391
22033
  Returns: number;
@@ -21396,6 +22038,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21396
22038
  };
21397
22039
  Returns: undefined;
21398
22040
  };
22041
+ pick_reprint_document: {
22042
+ Args: {
22043
+ _queue_item_id: string;
22044
+ _session_id: string;
22045
+ _throttle_seconds?: number;
22046
+ };
22047
+ Returns: string;
22048
+ };
21399
22049
  pick_reset_print: {
21400
22050
  Args: {
21401
22051
  _queue_item_id: string;
@@ -21442,6 +22092,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21442
22092
  isSetofReturn: false;
21443
22093
  };
21444
22094
  };
22095
+ pick_set_station_print_plek: {
22096
+ Args: {
22097
+ _print_plek_id: string;
22098
+ _station_id: string;
22099
+ };
22100
+ Returns: string;
22101
+ };
21445
22102
  pick_station_dashboard: {
21446
22103
  Args: never;
21447
22104
  Returns: {
@@ -21454,6 +22111,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21454
22111
  waiting: number;
21455
22112
  }[];
21456
22113
  };
22114
+ pick_station_print_plek: {
22115
+ Args: {
22116
+ _station_id: string;
22117
+ };
22118
+ Returns: {
22119
+ naam: string;
22120
+ omschrijving: string;
22121
+ print_plek_id: string;
22122
+ }[];
22123
+ };
22124
+ pick_station_print_plekken: {
22125
+ Args: never;
22126
+ Returns: {
22127
+ naam: string;
22128
+ omschrijving: string;
22129
+ print_plek_id: string;
22130
+ station_id: string;
22131
+ }[];
22132
+ };
21457
22133
  pick_station_slugify: {
21458
22134
  Args: {
21459
22135
  _id: string;
@@ -21461,6 +22137,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21461
22137
  };
21462
22138
  Returns: string;
21463
22139
  };
22140
+ pick_sync_queue_throttled: {
22141
+ Args: {
22142
+ _min_seconds?: number;
22143
+ };
22144
+ Returns: import("./types").Json;
22145
+ };
21464
22146
  pickstation_get_orders_raw: {
21465
22147
  Args: never;
21466
22148
  Returns: import("./types").Json;
@@ -21606,6 +22288,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21606
22288
  };
21607
22289
  Returns: boolean;
21608
22290
  };
22291
+ release_stale_order_invoice_links: {
22292
+ Args: {
22293
+ _minutes?: number;
22294
+ };
22295
+ Returns: number;
22296
+ };
21609
22297
  reorder_customer_price_groups: {
21610
22298
  Args: {
21611
22299
  _ids: string[];
@@ -22124,6 +22812,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22124
22812
  };
22125
22813
  Returns: undefined;
22126
22814
  };
22815
+ twinfield_deactivate_connection: {
22816
+ Args: {
22817
+ p_connection_id: string;
22818
+ p_user_id: string;
22819
+ };
22820
+ Returns: import("./types").Json;
22821
+ };
22822
+ twinfield_handle_administration_change: {
22823
+ Args: {
22824
+ _administration_code: string;
22825
+ _user_id: string;
22826
+ };
22827
+ Returns: undefined;
22828
+ };
22127
22829
  twinfield_prune_push_queue: {
22128
22830
  Args: never;
22129
22831
  Returns: number;
@@ -22143,10 +22845,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22143
22845
  p_company_name?: string;
22144
22846
  p_environment: string;
22145
22847
  p_office_code?: string;
22848
+ p_reset_sync?: boolean;
22146
22849
  p_status?: string;
22147
22850
  p_user_id: string;
22148
22851
  };
22149
- Returns: string;
22852
+ Returns: import("./types").Json;
22150
22853
  };
22151
22854
  upsert_auto_fulfillment_log: {
22152
22855
  Args: {