@flowselections/layout-maker 1.8.3 → 1.13.2

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 (68) hide show
  1. package/README.md +139 -132
  2. package/dist-lib/components/ComputersLijst.d.ts +2 -1
  3. package/dist-lib/components/ComputersLijst.d.ts.map +1 -1
  4. package/dist-lib/components/ComputersLijst.js +2 -2
  5. package/dist-lib/components/DocumentRouteringPage.d.ts +2 -0
  6. package/dist-lib/components/DocumentRouteringPage.d.ts.map +1 -0
  7. package/dist-lib/components/DocumentRouteringPage.js +115 -0
  8. package/dist-lib/components/LayoutsPage.d.ts.map +1 -1
  9. package/dist-lib/components/LayoutsPage.js +13 -8
  10. package/dist-lib/components/PrintQueuePage.d.ts.map +1 -1
  11. package/dist-lib/components/PrintQueuePage.js +16 -1
  12. package/dist-lib/components/PrintStatusBanner.d.ts +8 -0
  13. package/dist-lib/components/PrintStatusBanner.d.ts.map +1 -0
  14. package/dist-lib/components/PrintStatusBanner.js +15 -0
  15. package/dist-lib/components/PrinterSetupWizard.js +1 -1
  16. package/dist-lib/components/PrintersPage.d.ts.map +1 -1
  17. package/dist-lib/components/PrintersPage.js +7 -23
  18. package/dist-lib/components/WerkplekConfiguratiePage.d.ts.map +1 -1
  19. package/dist-lib/components/WerkplekConfiguratiePage.js +35 -24
  20. package/dist-lib/components/WerkplekkenTabel.d.ts +2 -2
  21. package/dist-lib/components/WerkplekkenTabel.d.ts.map +1 -1
  22. package/dist-lib/components/WerkplekkenTabel.js +4 -3
  23. package/dist-lib/index.d.ts +8 -3
  24. package/dist-lib/index.d.ts.map +1 -1
  25. package/dist-lib/index.js +9 -5
  26. package/dist-lib/integrations/supabase/auth-middleware.d.ts +491 -145
  27. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  28. package/dist-lib/integrations/supabase/client.server.d.ts +491 -145
  29. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  30. package/dist-lib/integrations/supabase/types.d.ts +505 -150
  31. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  32. package/dist-lib/lib/aiLayout.functions.d.ts +491 -145
  33. package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/aiLayout.server.js +9 -9
  35. package/dist-lib/lib/browserPrint.js +5 -5
  36. package/dist-lib/lib/documentBron.d.ts +35 -0
  37. package/dist-lib/lib/documentBron.d.ts.map +1 -0
  38. package/dist-lib/lib/documentBron.js +62 -0
  39. package/dist-lib/lib/documentRoutering.d.ts +23 -0
  40. package/dist-lib/lib/documentRoutering.d.ts.map +1 -0
  41. package/dist-lib/lib/documentRoutering.js +58 -0
  42. package/dist-lib/lib/documentTypes.d.ts +61 -0
  43. package/dist-lib/lib/documentTypes.d.ts.map +1 -1
  44. package/dist-lib/lib/documentTypes.js +64 -0
  45. package/dist-lib/lib/formaatPrinters.d.ts +5 -0
  46. package/dist-lib/lib/formaatPrinters.d.ts.map +1 -1
  47. package/dist-lib/lib/formaatPrinters.js +12 -0
  48. package/dist-lib/lib/layoutPreview.js +7 -7
  49. package/dist-lib/lib/pakbonHtml.js +50 -50
  50. package/dist-lib/lib/printApi.d.ts +20 -5
  51. package/dist-lib/lib/printApi.d.ts.map +1 -1
  52. package/dist-lib/lib/printApi.js +93 -32
  53. package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
  54. package/dist-lib/lib/printQueue.server.js +72 -1
  55. package/dist-lib/lib/printService.functions.d.ts +1964 -580
  56. package/dist-lib/lib/printService.functions.d.ts.map +1 -1
  57. package/dist-lib/lib/printerTelling.d.ts +24 -0
  58. package/dist-lib/lib/printerTelling.d.ts.map +1 -0
  59. package/dist-lib/lib/printerTelling.js +41 -0
  60. package/dist-lib/lib/productiebonHtml.js +15 -15
  61. package/dist-lib/lib/profielHtml.js +18 -18
  62. package/dist-lib/lib/supabaseAdmin.server.d.ts +5 -5
  63. package/dist-lib/lib/supabaseAdmin.server.js +43 -43
  64. package/dist-lib/lib/testpagina.js +1 -1
  65. package/dist-lib/lib/useDocumentData.d.ts +4 -0
  66. package/dist-lib/lib/useDocumentData.d.ts.map +1 -1
  67. package/dist-lib/lib/useDocumentData.js +130 -1
  68. package/package.json +6 -1
@@ -2758,6 +2758,42 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
2758
2758
  };
2759
2759
  Relationships: [];
2760
2760
  };
2761
+ document_bronregels: {
2762
+ Row: {
2763
+ bron: string;
2764
+ created_at: string;
2765
+ documenttype: string;
2766
+ herkomst: string;
2767
+ id: string;
2768
+ layout_id: string | null;
2769
+ updated_at: string;
2770
+ };
2771
+ Insert: {
2772
+ bron?: string;
2773
+ created_at?: string;
2774
+ documenttype: string;
2775
+ herkomst: string;
2776
+ id?: string;
2777
+ layout_id?: string | null;
2778
+ updated_at?: string;
2779
+ };
2780
+ Update: {
2781
+ bron?: string;
2782
+ created_at?: string;
2783
+ documenttype?: string;
2784
+ herkomst?: string;
2785
+ id?: string;
2786
+ layout_id?: string | null;
2787
+ updated_at?: string;
2788
+ };
2789
+ Relationships: [{
2790
+ foreignKeyName: "document_bronregels_layout_id_fkey";
2791
+ columns: ["layout_id"];
2792
+ isOneToOne: false;
2793
+ referencedRelation: "document_layouts";
2794
+ referencedColumns: ["id"];
2795
+ }];
2796
+ };
2761
2797
  document_formaat_printers: {
2762
2798
  Row: {
2763
2799
  created_at: string;
@@ -3035,6 +3071,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
3035
3071
  Row: {
3036
3072
  actief: boolean;
3037
3073
  breedte_mm: number;
3074
+ bron: string;
3038
3075
  config: import("../integrations/supabase/types.js").Json;
3039
3076
  created_at: string;
3040
3077
  created_by: string | null;
@@ -3052,12 +3089,14 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
3052
3089
  orientatie: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_orientation"];
3053
3090
  page_settings: import("../integrations/supabase/types.js").Json;
3054
3091
  papierformaat: string;
3092
+ systeem: boolean;
3055
3093
  thumbnail_url: string | null;
3056
3094
  updated_at: string;
3057
3095
  };
3058
3096
  Insert: {
3059
3097
  actief?: boolean;
3060
3098
  breedte_mm?: number;
3099
+ bron?: string;
3061
3100
  config?: import("../integrations/supabase/types.js").Json;
3062
3101
  created_at?: string;
3063
3102
  created_by?: string | null;
@@ -3075,12 +3114,14 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
3075
3114
  orientatie?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_orientation"];
3076
3115
  page_settings?: import("../integrations/supabase/types.js").Json;
3077
3116
  papierformaat?: string;
3117
+ systeem?: boolean;
3078
3118
  thumbnail_url?: string | null;
3079
3119
  updated_at?: string;
3080
3120
  };
3081
3121
  Update: {
3082
3122
  actief?: boolean;
3083
3123
  breedte_mm?: number;
3124
+ bron?: string;
3084
3125
  config?: import("../integrations/supabase/types.js").Json;
3085
3126
  created_at?: string;
3086
3127
  created_by?: string | null;
@@ -3098,11 +3139,48 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
3098
3139
  orientatie?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_orientation"];
3099
3140
  page_settings?: import("../integrations/supabase/types.js").Json;
3100
3141
  papierformaat?: string;
3142
+ systeem?: boolean;
3101
3143
  thumbnail_url?: string | null;
3102
3144
  updated_at?: string;
3103
3145
  };
3104
3146
  Relationships: [];
3105
3147
  };
3148
+ document_werkplek_printers: {
3149
+ Row: {
3150
+ created_at: string;
3151
+ documenttype: string;
3152
+ id: string;
3153
+ papierformaat: string | null;
3154
+ printer_id: string | null;
3155
+ updated_at: string;
3156
+ werkplek: string;
3157
+ };
3158
+ Insert: {
3159
+ created_at?: string;
3160
+ documenttype: string;
3161
+ id?: string;
3162
+ papierformaat?: string | null;
3163
+ printer_id?: string | null;
3164
+ updated_at?: string;
3165
+ werkplek: string;
3166
+ };
3167
+ Update: {
3168
+ created_at?: string;
3169
+ documenttype?: string;
3170
+ id?: string;
3171
+ papierformaat?: string | null;
3172
+ printer_id?: string | null;
3173
+ updated_at?: string;
3174
+ werkplek?: string;
3175
+ };
3176
+ Relationships: [{
3177
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
3178
+ columns: ["printer_id"];
3179
+ isOneToOne: false;
3180
+ referencedRelation: "printers";
3181
+ referencedColumns: ["id"];
3182
+ }];
3183
+ };
3106
3184
  email_auth_connections: {
3107
3185
  Row: {
3108
3186
  access_token_encrypted: string | null;
@@ -5044,42 +5122,6 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
5044
5122
  };
5045
5123
  Relationships: [];
5046
5124
  };
5047
- facturen: {
5048
- Row: {
5049
- bedrag_incl_btw: number;
5050
- created_at: string;
5051
- datum: string;
5052
- factuurnummer: string;
5053
- id: string;
5054
- klantnaam: string;
5055
- status: string;
5056
- updated_at: string;
5057
- user_id: string;
5058
- };
5059
- Insert: {
5060
- bedrag_incl_btw: number;
5061
- created_at?: string;
5062
- datum?: string;
5063
- factuurnummer: string;
5064
- id?: string;
5065
- klantnaam: string;
5066
- status?: string;
5067
- updated_at?: string;
5068
- user_id?: string;
5069
- };
5070
- Update: {
5071
- bedrag_incl_btw?: number;
5072
- created_at?: string;
5073
- datum?: string;
5074
- factuurnummer?: string;
5075
- id?: string;
5076
- klantnaam?: string;
5077
- status?: string;
5078
- updated_at?: string;
5079
- user_id?: string;
5080
- };
5081
- Relationships: [];
5082
- };
5083
5125
  floricode_connection_settings: {
5084
5126
  Row: {
5085
5127
  catalog_key: string | null;
@@ -7384,8 +7426,63 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
7384
7426
  };
7385
7427
  Relationships: [];
7386
7428
  };
7429
+ invoice_items: {
7430
+ Row: {
7431
+ created_at: string;
7432
+ description: string;
7433
+ id: string;
7434
+ invoice_id: string;
7435
+ kind: string;
7436
+ quantity: number;
7437
+ sort_order: number;
7438
+ source_line_ref: string | null;
7439
+ total_cents: number;
7440
+ unit: string;
7441
+ unit_price_cents: number;
7442
+ };
7443
+ Insert: {
7444
+ created_at?: string;
7445
+ description?: string;
7446
+ id?: string;
7447
+ invoice_id: string;
7448
+ kind?: string;
7449
+ quantity?: number;
7450
+ sort_order?: number;
7451
+ source_line_ref?: string | null;
7452
+ total_cents?: number;
7453
+ unit?: string;
7454
+ unit_price_cents?: number;
7455
+ };
7456
+ Update: {
7457
+ created_at?: string;
7458
+ description?: string;
7459
+ id?: string;
7460
+ invoice_id?: string;
7461
+ kind?: string;
7462
+ quantity?: number;
7463
+ sort_order?: number;
7464
+ source_line_ref?: string | null;
7465
+ total_cents?: number;
7466
+ unit?: string;
7467
+ unit_price_cents?: number;
7468
+ };
7469
+ Relationships: [{
7470
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7471
+ columns: ["invoice_id"];
7472
+ isOneToOne: false;
7473
+ referencedRelation: "invoices";
7474
+ referencedColumns: ["id"];
7475
+ }, {
7476
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7477
+ columns: ["invoice_id"];
7478
+ isOneToOne: false;
7479
+ referencedRelation: "uren_facturen";
7480
+ referencedColumns: ["id"];
7481
+ }];
7482
+ };
7387
7483
  invoice_post_idempotency: {
7388
7484
  Row: {
7485
+ administration_code: string;
7389
7486
  client_request_id: string;
7390
7487
  completed_at: string | null;
7391
7488
  created_at: string;
@@ -7395,6 +7492,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
7395
7492
  user_id: string;
7396
7493
  };
7397
7494
  Insert: {
7495
+ administration_code?: string;
7398
7496
  client_request_id: string;
7399
7497
  completed_at?: string | null;
7400
7498
  created_at?: string;
@@ -7404,6 +7502,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
7404
7502
  user_id: string;
7405
7503
  };
7406
7504
  Update: {
7505
+ administration_code?: string;
7407
7506
  client_request_id?: string;
7408
7507
  completed_at?: string | null;
7409
7508
  created_at?: string;
@@ -7609,6 +7708,75 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
7609
7708
  };
7610
7709
  Relationships: [];
7611
7710
  };
7711
+ invoices: {
7712
+ Row: {
7713
+ created_at: string;
7714
+ created_by: string | null;
7715
+ customer_id: string | null;
7716
+ customer_name: string | null;
7717
+ due_date: string | null;
7718
+ id: string;
7719
+ invoice_date: string;
7720
+ invoice_number: string | null;
7721
+ note: string | null;
7722
+ source_number: string | null;
7723
+ source_ref: string | null;
7724
+ source_type: string;
7725
+ status: string;
7726
+ subtotal_cents: number;
7727
+ total_cents: number;
7728
+ updated_at: string;
7729
+ vat_cents: number;
7730
+ vat_rate: number;
7731
+ };
7732
+ Insert: {
7733
+ created_at?: string;
7734
+ created_by?: string | null;
7735
+ customer_id?: string | null;
7736
+ customer_name?: string | null;
7737
+ due_date?: string | null;
7738
+ id?: string;
7739
+ invoice_date?: string;
7740
+ invoice_number?: string | null;
7741
+ note?: string | null;
7742
+ source_number?: string | null;
7743
+ source_ref?: string | null;
7744
+ source_type?: string;
7745
+ status?: string;
7746
+ subtotal_cents?: number;
7747
+ total_cents?: number;
7748
+ updated_at?: string;
7749
+ vat_cents?: number;
7750
+ vat_rate?: number;
7751
+ };
7752
+ Update: {
7753
+ created_at?: string;
7754
+ created_by?: string | null;
7755
+ customer_id?: string | null;
7756
+ customer_name?: string | null;
7757
+ due_date?: string | null;
7758
+ id?: string;
7759
+ invoice_date?: string;
7760
+ invoice_number?: string | null;
7761
+ note?: string | null;
7762
+ source_number?: string | null;
7763
+ source_ref?: string | null;
7764
+ source_type?: string;
7765
+ status?: string;
7766
+ subtotal_cents?: number;
7767
+ total_cents?: number;
7768
+ updated_at?: string;
7769
+ vat_cents?: number;
7770
+ vat_rate?: number;
7771
+ };
7772
+ Relationships: [{
7773
+ foreignKeyName: "invoices_customer_id_fkey";
7774
+ columns: ["customer_id"];
7775
+ isOneToOne: false;
7776
+ referencedRelation: "itk_customers";
7777
+ referencedColumns: ["id"];
7778
+ }];
7779
+ };
7612
7780
  itk_contact_persons: {
7613
7781
  Row: {
7614
7782
  created_at: string;
@@ -10549,6 +10717,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
10549
10717
  enforce: boolean;
10550
10718
  is_active: boolean;
10551
10719
  last_seen_at: string;
10720
+ missing_count: number;
10552
10721
  module_id: string;
10553
10722
  name: string;
10554
10723
  shell_id: string | null;
@@ -10559,6 +10728,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
10559
10728
  enforce?: boolean;
10560
10729
  is_active?: boolean;
10561
10730
  last_seen_at?: string;
10731
+ missing_count?: number;
10562
10732
  module_id: string;
10563
10733
  name: string;
10564
10734
  shell_id?: string | null;
@@ -10569,6 +10739,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
10569
10739
  enforce?: boolean;
10570
10740
  is_active?: boolean;
10571
10741
  last_seen_at?: string;
10742
+ missing_count?: number;
10572
10743
  module_id?: string;
10573
10744
  name?: string;
10574
10745
  shell_id?: string | null;
@@ -11568,6 +11739,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
11568
11739
  };
11569
11740
  order_invoice_links: {
11570
11741
  Row: {
11742
+ administration_code: string | null;
11571
11743
  attempts: number;
11572
11744
  created_at: string;
11573
11745
  error_message: string | null;
@@ -11580,6 +11752,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
11580
11752
  updated_at: string;
11581
11753
  };
11582
11754
  Insert: {
11755
+ administration_code?: string | null;
11583
11756
  attempts?: number;
11584
11757
  created_at?: string;
11585
11758
  error_message?: string | null;
@@ -11592,6 +11765,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
11592
11765
  updated_at?: string;
11593
11766
  };
11594
11767
  Update: {
11768
+ administration_code?: string | null;
11595
11769
  attempts?: number;
11596
11770
  created_at?: string;
11597
11771
  error_message?: string | null;
@@ -11779,6 +11953,8 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
11779
11953
  orders: {
11780
11954
  Row: {
11781
11955
  buffer_id: string | null;
11956
+ cancel_reason: string | null;
11957
+ cancelled_at: string | null;
11782
11958
  created_at: string;
11783
11959
  custom_fields: import("../integrations/supabase/types.js").Json;
11784
11960
  customer_id: string | null;
@@ -11801,6 +11977,8 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
11801
11977
  };
11802
11978
  Insert: {
11803
11979
  buffer_id?: string | null;
11980
+ cancel_reason?: string | null;
11981
+ cancelled_at?: string | null;
11804
11982
  created_at?: string;
11805
11983
  custom_fields?: import("../integrations/supabase/types.js").Json;
11806
11984
  customer_id?: string | null;
@@ -11823,6 +12001,8 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
11823
12001
  };
11824
12002
  Update: {
11825
12003
  buffer_id?: string | null;
12004
+ cancel_reason?: string | null;
12005
+ cancelled_at?: string | null;
11826
12006
  created_at?: string;
11827
12007
  custom_fields?: import("../integrations/supabase/types.js").Json;
11828
12008
  customer_id?: string | null;
@@ -12751,6 +12931,27 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
12751
12931
  referencedColumns: ["id"];
12752
12932
  }];
12753
12933
  };
12934
+ pick_sync_state: {
12935
+ Row: {
12936
+ id: boolean;
12937
+ last_cleanup_at: string | null;
12938
+ last_sync_at: string | null;
12939
+ updated_at: string;
12940
+ };
12941
+ Insert: {
12942
+ id?: boolean;
12943
+ last_cleanup_at?: string | null;
12944
+ last_sync_at?: string | null;
12945
+ updated_at?: string;
12946
+ };
12947
+ Update: {
12948
+ id?: boolean;
12949
+ last_cleanup_at?: string | null;
12950
+ last_sync_at?: string | null;
12951
+ updated_at?: string;
12952
+ };
12953
+ Relationships: [];
12954
+ };
12754
12955
  pick_task_document_types: {
12755
12956
  Row: {
12756
12957
  created_at: string;
@@ -13033,6 +13234,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
13033
13234
  gebruiker_id: string | null;
13034
13235
  gebruiker_naam: string;
13035
13236
  gestart_op: string | null;
13237
+ herkomst: string | null;
13036
13238
  id: string;
13037
13239
  idempotentie_sleutel: string | null;
13038
13240
  is_herprint: boolean;
@@ -13062,6 +13264,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
13062
13264
  gebruiker_id?: string | null;
13063
13265
  gebruiker_naam?: string;
13064
13266
  gestart_op?: string | null;
13267
+ herkomst?: string | null;
13065
13268
  id?: string;
13066
13269
  idempotentie_sleutel?: string | null;
13067
13270
  is_herprint?: boolean;
@@ -13091,6 +13294,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
13091
13294
  gebruiker_id?: string | null;
13092
13295
  gebruiker_naam?: string;
13093
13296
  gestart_op?: string | null;
13297
+ herkomst?: string | null;
13094
13298
  id?: string;
13095
13299
  idempotentie_sleutel?: string | null;
13096
13300
  is_herprint?: boolean;
@@ -16095,12 +16299,16 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
16095
16299
  company_name: string | null;
16096
16300
  connected_at: string | null;
16097
16301
  created_at: string;
16302
+ disconnected_at: string | null;
16098
16303
  environment: string;
16099
16304
  id: string;
16305
+ initial_sync_completed_at: string | null;
16306
+ initial_sync_started_at: string | null;
16100
16307
  is_active: boolean;
16101
16308
  label: string | null;
16102
16309
  office_code: string | null;
16103
16310
  redirect_uri: string | null;
16311
+ superseded_at: string | null;
16104
16312
  updated_at: string;
16105
16313
  user_id: string;
16106
16314
  };
@@ -16111,12 +16319,16 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
16111
16319
  company_name?: string | null;
16112
16320
  connected_at?: string | null;
16113
16321
  created_at?: string;
16322
+ disconnected_at?: string | null;
16114
16323
  environment: string;
16115
16324
  id?: string;
16325
+ initial_sync_completed_at?: string | null;
16326
+ initial_sync_started_at?: string | null;
16116
16327
  is_active?: boolean;
16117
16328
  label?: string | null;
16118
16329
  office_code?: string | null;
16119
16330
  redirect_uri?: string | null;
16331
+ superseded_at?: string | null;
16120
16332
  updated_at?: string;
16121
16333
  user_id: string;
16122
16334
  };
@@ -16127,12 +16339,16 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
16127
16339
  company_name?: string | null;
16128
16340
  connected_at?: string | null;
16129
16341
  created_at?: string;
16342
+ disconnected_at?: string | null;
16130
16343
  environment?: string;
16131
16344
  id?: string;
16345
+ initial_sync_completed_at?: string | null;
16346
+ initial_sync_started_at?: string | null;
16132
16347
  is_active?: boolean;
16133
16348
  label?: string | null;
16134
16349
  office_code?: string | null;
16135
16350
  redirect_uri?: string | null;
16351
+ superseded_at?: string | null;
16136
16352
  updated_at?: string;
16137
16353
  user_id?: string;
16138
16354
  };
@@ -16192,6 +16408,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
16192
16408
  twinfield_customers: {
16193
16409
  Row: {
16194
16410
  address: string | null;
16411
+ administration_code: string;
16195
16412
  city: string | null;
16196
16413
  country: string | null;
16197
16414
  created_at: string;
@@ -16211,6 +16428,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
16211
16428
  };
16212
16429
  Insert: {
16213
16430
  address?: string | null;
16431
+ administration_code?: string;
16214
16432
  city?: string | null;
16215
16433
  country?: string | null;
16216
16434
  created_at?: string;
@@ -16230,6 +16448,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
16230
16448
  };
16231
16449
  Update: {
16232
16450
  address?: string | null;
16451
+ administration_code?: string;
16233
16452
  city?: string | null;
16234
16453
  country?: string | null;
16235
16454
  created_at?: string;
@@ -16443,7 +16662,9 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
16443
16662
  };
16444
16663
  twinfield_invoice_settings: {
16445
16664
  Row: {
16665
+ administration_code: string | null;
16446
16666
  auto_invoice_enabled: boolean;
16667
+ auto_invoice_start_date: string | null;
16447
16668
  auto_invoice_trigger_statuses: string[];
16448
16669
  created_at: string;
16449
16670
  debtor_gl_account: string;
@@ -16457,15 +16678,19 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
16457
16678
  invoice_enabled_fo: boolean;
16458
16679
  invoice_enabled_ho: boolean;
16459
16680
  invoice_enabled_mo: boolean;
16681
+ needs_review: boolean;
16460
16682
  payment_gl_account: string;
16461
16683
  payment_journal_code: string;
16684
+ settings_confirmed_at: string | null;
16462
16685
  updated_at: string;
16463
16686
  user_id: string;
16464
16687
  vat_code_eu_reverse: string | null;
16465
16688
  vat_code_export: string | null;
16466
16689
  };
16467
16690
  Insert: {
16691
+ administration_code?: string | null;
16468
16692
  auto_invoice_enabled?: boolean;
16693
+ auto_invoice_start_date?: string | null;
16469
16694
  auto_invoice_trigger_statuses?: string[];
16470
16695
  created_at?: string;
16471
16696
  debtor_gl_account?: string;
@@ -16479,15 +16704,19 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
16479
16704
  invoice_enabled_fo?: boolean;
16480
16705
  invoice_enabled_ho?: boolean;
16481
16706
  invoice_enabled_mo?: boolean;
16707
+ needs_review?: boolean;
16482
16708
  payment_gl_account?: string;
16483
16709
  payment_journal_code?: string;
16710
+ settings_confirmed_at?: string | null;
16484
16711
  updated_at?: string;
16485
16712
  user_id: string;
16486
16713
  vat_code_eu_reverse?: string | null;
16487
16714
  vat_code_export?: string | null;
16488
16715
  };
16489
16716
  Update: {
16717
+ administration_code?: string | null;
16490
16718
  auto_invoice_enabled?: boolean;
16719
+ auto_invoice_start_date?: string | null;
16491
16720
  auto_invoice_trigger_statuses?: string[];
16492
16721
  created_at?: string;
16493
16722
  debtor_gl_account?: string;
@@ -16501,8 +16730,10 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
16501
16730
  invoice_enabled_fo?: boolean;
16502
16731
  invoice_enabled_ho?: boolean;
16503
16732
  invoice_enabled_mo?: boolean;
16733
+ needs_review?: boolean;
16504
16734
  payment_gl_account?: string;
16505
16735
  payment_journal_code?: string;
16736
+ settings_confirmed_at?: string | null;
16506
16737
  updated_at?: string;
16507
16738
  user_id?: string;
16508
16739
  vat_code_eu_reverse?: string | null;
@@ -17107,114 +17338,6 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
17107
17338
  };
17108
17339
  Relationships: [];
17109
17340
  };
17110
- uren_facturen: {
17111
- Row: {
17112
- created_at: string;
17113
- created_by: string | null;
17114
- customer_id: string | null;
17115
- customer_name: string | null;
17116
- id: string;
17117
- invoice_number: string | null;
17118
- note: string | null;
17119
- status: string;
17120
- total_excl_cents: number;
17121
- total_incl_cents: number;
17122
- updated_at: string;
17123
- vat_cents: number;
17124
- vat_percentage: number;
17125
- werkbon_id: string | null;
17126
- };
17127
- Insert: {
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
- Update: {
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
- Relationships: [{
17160
- foreignKeyName: "uren_facturen_customer_id_fkey";
17161
- columns: ["customer_id"];
17162
- isOneToOne: false;
17163
- referencedRelation: "itk_customers";
17164
- referencedColumns: ["id"];
17165
- }, {
17166
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
17167
- columns: ["werkbon_id"];
17168
- isOneToOne: true;
17169
- referencedRelation: "werkbonnen";
17170
- referencedColumns: ["id"];
17171
- }];
17172
- };
17173
- uren_factuur_regels: {
17174
- Row: {
17175
- created_at: string;
17176
- description: string;
17177
- factuur_id: string;
17178
- id: string;
17179
- kind: string | null;
17180
- quantity: number;
17181
- sort_order: number;
17182
- total_cents: number;
17183
- unit: string;
17184
- unit_price_cents: number;
17185
- };
17186
- Insert: {
17187
- created_at?: string;
17188
- description: string;
17189
- factuur_id: string;
17190
- id?: string;
17191
- kind?: string | null;
17192
- quantity?: number;
17193
- sort_order?: number;
17194
- total_cents?: number;
17195
- unit?: string;
17196
- unit_price_cents?: number;
17197
- };
17198
- Update: {
17199
- created_at?: string;
17200
- description?: string;
17201
- factuur_id?: string;
17202
- id?: string;
17203
- kind?: string | null;
17204
- quantity?: number;
17205
- sort_order?: number;
17206
- total_cents?: number;
17207
- unit?: string;
17208
- unit_price_cents?: number;
17209
- };
17210
- Relationships: [{
17211
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
17212
- columns: ["factuur_id"];
17213
- isOneToOne: false;
17214
- referencedRelation: "uren_facturen";
17215
- referencedColumns: ["id"];
17216
- }];
17217
- };
17218
17341
  uren_offerte_regels: {
17219
17342
  Row: {
17220
17343
  created_at: string;
@@ -19054,6 +19177,114 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
19054
19177
  };
19055
19178
  Relationships: [];
19056
19179
  };
19180
+ uren_facturen: {
19181
+ Row: {
19182
+ created_at: string | null;
19183
+ created_by: string | null;
19184
+ customer_id: string | null;
19185
+ customer_name: string | null;
19186
+ id: string | null;
19187
+ invoice_number: string | null;
19188
+ note: string | null;
19189
+ status: string | null;
19190
+ total_excl_cents: number | null;
19191
+ total_incl_cents: number | null;
19192
+ updated_at: string | null;
19193
+ vat_cents: number | null;
19194
+ vat_percentage: number | null;
19195
+ werkbon_id: string | null;
19196
+ };
19197
+ Insert: {
19198
+ created_at?: string | null;
19199
+ created_by?: string | null;
19200
+ customer_id?: string | null;
19201
+ customer_name?: string | null;
19202
+ id?: string | null;
19203
+ invoice_number?: string | null;
19204
+ note?: string | null;
19205
+ status?: string | null;
19206
+ total_excl_cents?: number | null;
19207
+ total_incl_cents?: number | null;
19208
+ updated_at?: string | null;
19209
+ vat_cents?: number | null;
19210
+ vat_percentage?: number | null;
19211
+ werkbon_id?: never;
19212
+ };
19213
+ Update: {
19214
+ created_at?: string | null;
19215
+ created_by?: string | null;
19216
+ customer_id?: string | null;
19217
+ customer_name?: string | null;
19218
+ id?: string | null;
19219
+ invoice_number?: string | null;
19220
+ note?: string | null;
19221
+ status?: string | null;
19222
+ total_excl_cents?: number | null;
19223
+ total_incl_cents?: number | null;
19224
+ updated_at?: string | null;
19225
+ vat_cents?: number | null;
19226
+ vat_percentage?: number | null;
19227
+ werkbon_id?: never;
19228
+ };
19229
+ Relationships: [{
19230
+ foreignKeyName: "invoices_customer_id_fkey";
19231
+ columns: ["customer_id"];
19232
+ isOneToOne: false;
19233
+ referencedRelation: "itk_customers";
19234
+ referencedColumns: ["id"];
19235
+ }];
19236
+ };
19237
+ uren_factuur_regels: {
19238
+ Row: {
19239
+ created_at: string | null;
19240
+ description: string | null;
19241
+ factuur_id: string | null;
19242
+ id: string | null;
19243
+ kind: string | null;
19244
+ quantity: number | null;
19245
+ sort_order: number | null;
19246
+ total_cents: number | null;
19247
+ unit: string | null;
19248
+ unit_price_cents: number | null;
19249
+ };
19250
+ Insert: {
19251
+ created_at?: string | null;
19252
+ description?: string | null;
19253
+ factuur_id?: string | null;
19254
+ id?: string | null;
19255
+ kind?: string | null;
19256
+ quantity?: number | null;
19257
+ sort_order?: number | null;
19258
+ total_cents?: number | null;
19259
+ unit?: string | null;
19260
+ unit_price_cents?: number | null;
19261
+ };
19262
+ Update: {
19263
+ created_at?: string | null;
19264
+ description?: string | null;
19265
+ factuur_id?: string | null;
19266
+ id?: string | null;
19267
+ kind?: string | null;
19268
+ quantity?: number | null;
19269
+ sort_order?: number | null;
19270
+ total_cents?: number | null;
19271
+ unit?: string | null;
19272
+ unit_price_cents?: number | null;
19273
+ };
19274
+ Relationships: [{
19275
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19276
+ columns: ["factuur_id"];
19277
+ isOneToOne: false;
19278
+ referencedRelation: "invoices";
19279
+ referencedColumns: ["id"];
19280
+ }, {
19281
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19282
+ columns: ["factuur_id"];
19283
+ isOneToOne: false;
19284
+ referencedRelation: "uren_facturen";
19285
+ referencedColumns: ["id"];
19286
+ }];
19287
+ };
19057
19288
  v_external_customers_exact: {
19058
19289
  Row: {
19059
19290
  account_number: string | null;
@@ -19559,6 +19790,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
19559
19790
  gebruiker_id: string | null;
19560
19791
  gebruiker_naam: string;
19561
19792
  gestart_op: string | null;
19793
+ herkomst: string | null;
19562
19794
  id: string;
19563
19795
  idempotentie_sleutel: string | null;
19564
19796
  is_herprint: boolean;
@@ -19679,6 +19911,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
19679
19911
  gebruiker_id: string | null;
19680
19912
  gebruiker_naam: string;
19681
19913
  gestart_op: string | null;
19914
+ herkomst: string | null;
19682
19915
  id: string;
19683
19916
  idempotentie_sleutel: string | null;
19684
19917
  is_herprint: boolean;
@@ -20280,6 +20513,46 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
20280
20513
  Args: never;
20281
20514
  Returns: boolean;
20282
20515
  };
20516
+ invoice_create_from_source: {
20517
+ Args: {
20518
+ _payload?: import("../integrations/supabase/types.js").Json;
20519
+ _source_id: string;
20520
+ _source_type: string;
20521
+ };
20522
+ Returns: import("../integrations/supabase/types.js").Json;
20523
+ };
20524
+ invoice_get_billable_lines: {
20525
+ Args: {
20526
+ _invoice_id: string;
20527
+ };
20528
+ Returns: import("../integrations/supabase/types.js").Json;
20529
+ };
20530
+ invoice_get_for_source: {
20531
+ Args: {
20532
+ _source_id: string;
20533
+ _source_type: string;
20534
+ };
20535
+ Returns: import("../integrations/supabase/types.js").Json;
20536
+ };
20537
+ invoice_get_summary: {
20538
+ Args: {
20539
+ _invoice_id: string;
20540
+ };
20541
+ Returns: import("../integrations/supabase/types.js").Json;
20542
+ };
20543
+ invoice_list_sources: {
20544
+ Args: {
20545
+ _limit?: number;
20546
+ _source_type?: string;
20547
+ };
20548
+ Returns: import("../integrations/supabase/types.js").Json;
20549
+ };
20550
+ invoice_recalc_totals: {
20551
+ Args: {
20552
+ _invoice_id: string;
20553
+ };
20554
+ Returns: import("../integrations/supabase/types.js").Json;
20555
+ };
20283
20556
  is_authenticated: {
20284
20557
  Args: never;
20285
20558
  Returns: boolean;
@@ -20348,6 +20621,29 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
20348
20621
  roles: string[];
20349
20622
  }[];
20350
20623
  };
20624
+ list_monteur_absences: {
20625
+ Args: {
20626
+ _from: string;
20627
+ _to: string;
20628
+ };
20629
+ Returns: {
20630
+ absence_date: string;
20631
+ end_time: string;
20632
+ full_day: boolean;
20633
+ kind: string;
20634
+ monteur_id: string;
20635
+ start_time: string;
20636
+ }[];
20637
+ };
20638
+ list_monteurs: {
20639
+ Args: never;
20640
+ Returns: {
20641
+ avatar_url: string;
20642
+ display_name: string;
20643
+ email: string;
20644
+ id: string;
20645
+ }[];
20646
+ };
20351
20647
  list_my_planning_items: {
20352
20648
  Args: {
20353
20649
  _from: string;
@@ -21301,6 +21597,13 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21301
21597
  isSetofReturn: false;
21302
21598
  };
21303
21599
  };
21600
+ pick_cleanup_maintenance: {
21601
+ Args: {
21602
+ _heartbeat_hours?: number;
21603
+ _log_days?: number;
21604
+ };
21605
+ Returns: import("../integrations/supabase/types.js").Json;
21606
+ };
21304
21607
  pick_complete_print: {
21305
21608
  Args: {
21306
21609
  _printer_id: string;
@@ -21352,6 +21655,14 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21352
21655
  Args: never;
21353
21656
  Returns: string;
21354
21657
  };
21658
+ pick_day_counts: {
21659
+ Args: {
21660
+ _pick_day?: string;
21661
+ _screen_id?: string;
21662
+ _station_id?: string;
21663
+ };
21664
+ Returns: import("../integrations/supabase/types.js").Json;
21665
+ };
21355
21666
  pick_document_layout_data: {
21356
21667
  Args: {
21357
21668
  _layout_id: string;
@@ -21389,6 +21700,14 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21389
21700
  };
21390
21701
  Returns: undefined;
21391
21702
  };
21703
+ pick_reprint_document: {
21704
+ Args: {
21705
+ _queue_item_id: string;
21706
+ _session_id: string;
21707
+ _throttle_seconds?: number;
21708
+ };
21709
+ Returns: string;
21710
+ };
21392
21711
  pick_reset_print: {
21393
21712
  Args: {
21394
21713
  _queue_item_id: string;
@@ -21454,6 +21773,12 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21454
21773
  };
21455
21774
  Returns: string;
21456
21775
  };
21776
+ pick_sync_queue_throttled: {
21777
+ Args: {
21778
+ _min_seconds?: number;
21779
+ };
21780
+ Returns: import("../integrations/supabase/types.js").Json;
21781
+ };
21457
21782
  pickstation_get_orders_raw: {
21458
21783
  Args: never;
21459
21784
  Returns: import("../integrations/supabase/types.js").Json;
@@ -21599,6 +21924,12 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21599
21924
  };
21600
21925
  Returns: boolean;
21601
21926
  };
21927
+ release_stale_order_invoice_links: {
21928
+ Args: {
21929
+ _minutes?: number;
21930
+ };
21931
+ Returns: number;
21932
+ };
21602
21933
  reorder_customer_price_groups: {
21603
21934
  Args: {
21604
21935
  _ids: string[];
@@ -22117,6 +22448,20 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
22117
22448
  };
22118
22449
  Returns: undefined;
22119
22450
  };
22451
+ twinfield_deactivate_connection: {
22452
+ Args: {
22453
+ p_connection_id: string;
22454
+ p_user_id: string;
22455
+ };
22456
+ Returns: import("../integrations/supabase/types.js").Json;
22457
+ };
22458
+ twinfield_handle_administration_change: {
22459
+ Args: {
22460
+ _administration_code: string;
22461
+ _user_id: string;
22462
+ };
22463
+ Returns: undefined;
22464
+ };
22120
22465
  twinfield_prune_push_queue: {
22121
22466
  Args: never;
22122
22467
  Returns: number;
@@ -22136,10 +22481,11 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
22136
22481
  p_company_name?: string;
22137
22482
  p_environment: string;
22138
22483
  p_office_code?: string;
22484
+ p_reset_sync?: boolean;
22139
22485
  p_status?: string;
22140
22486
  p_user_id: string;
22141
22487
  };
22142
- Returns: string;
22488
+ Returns: import("../integrations/supabase/types.js").Json;
22143
22489
  };
22144
22490
  upsert_auto_fulfillment_log: {
22145
22491
  Args: {
@@ -24971,6 +25317,42 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
24971
25317
  };
24972
25318
  Relationships: [];
24973
25319
  };
25320
+ document_bronregels: {
25321
+ Row: {
25322
+ bron: string;
25323
+ created_at: string;
25324
+ documenttype: string;
25325
+ herkomst: string;
25326
+ id: string;
25327
+ layout_id: string | null;
25328
+ updated_at: string;
25329
+ };
25330
+ Insert: {
25331
+ bron?: string;
25332
+ created_at?: string;
25333
+ documenttype: string;
25334
+ herkomst: string;
25335
+ id?: string;
25336
+ layout_id?: string | null;
25337
+ updated_at?: string;
25338
+ };
25339
+ Update: {
25340
+ bron?: string;
25341
+ created_at?: string;
25342
+ documenttype?: string;
25343
+ herkomst?: string;
25344
+ id?: string;
25345
+ layout_id?: string | null;
25346
+ updated_at?: string;
25347
+ };
25348
+ Relationships: [{
25349
+ foreignKeyName: "document_bronregels_layout_id_fkey";
25350
+ columns: ["layout_id"];
25351
+ isOneToOne: false;
25352
+ referencedRelation: "document_layouts";
25353
+ referencedColumns: ["id"];
25354
+ }];
25355
+ };
24974
25356
  document_formaat_printers: {
24975
25357
  Row: {
24976
25358
  created_at: string;
@@ -25248,6 +25630,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
25248
25630
  Row: {
25249
25631
  actief: boolean;
25250
25632
  breedte_mm: number;
25633
+ bron: string;
25251
25634
  config: import("../integrations/supabase/types.js").Json;
25252
25635
  created_at: string;
25253
25636
  created_by: string | null;
@@ -25265,12 +25648,14 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
25265
25648
  orientatie: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_orientation"];
25266
25649
  page_settings: import("../integrations/supabase/types.js").Json;
25267
25650
  papierformaat: string;
25651
+ systeem: boolean;
25268
25652
  thumbnail_url: string | null;
25269
25653
  updated_at: string;
25270
25654
  };
25271
25655
  Insert: {
25272
25656
  actief?: boolean;
25273
25657
  breedte_mm?: number;
25658
+ bron?: string;
25274
25659
  config?: import("../integrations/supabase/types.js").Json;
25275
25660
  created_at?: string;
25276
25661
  created_by?: string | null;
@@ -25288,12 +25673,14 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
25288
25673
  orientatie?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_orientation"];
25289
25674
  page_settings?: import("../integrations/supabase/types.js").Json;
25290
25675
  papierformaat?: string;
25676
+ systeem?: boolean;
25291
25677
  thumbnail_url?: string | null;
25292
25678
  updated_at?: string;
25293
25679
  };
25294
25680
  Update: {
25295
25681
  actief?: boolean;
25296
25682
  breedte_mm?: number;
25683
+ bron?: string;
25297
25684
  config?: import("../integrations/supabase/types.js").Json;
25298
25685
  created_at?: string;
25299
25686
  created_by?: string | null;
@@ -25311,11 +25698,48 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
25311
25698
  orientatie?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_orientation"];
25312
25699
  page_settings?: import("../integrations/supabase/types.js").Json;
25313
25700
  papierformaat?: string;
25701
+ systeem?: boolean;
25314
25702
  thumbnail_url?: string | null;
25315
25703
  updated_at?: string;
25316
25704
  };
25317
25705
  Relationships: [];
25318
25706
  };
25707
+ document_werkplek_printers: {
25708
+ Row: {
25709
+ created_at: string;
25710
+ documenttype: string;
25711
+ id: string;
25712
+ papierformaat: string | null;
25713
+ printer_id: string | null;
25714
+ updated_at: string;
25715
+ werkplek: string;
25716
+ };
25717
+ Insert: {
25718
+ created_at?: string;
25719
+ documenttype: string;
25720
+ id?: string;
25721
+ papierformaat?: string | null;
25722
+ printer_id?: string | null;
25723
+ updated_at?: string;
25724
+ werkplek: string;
25725
+ };
25726
+ Update: {
25727
+ created_at?: string;
25728
+ documenttype?: string;
25729
+ id?: string;
25730
+ papierformaat?: string | null;
25731
+ printer_id?: string | null;
25732
+ updated_at?: string;
25733
+ werkplek?: string;
25734
+ };
25735
+ Relationships: [{
25736
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
25737
+ columns: ["printer_id"];
25738
+ isOneToOne: false;
25739
+ referencedRelation: "printers";
25740
+ referencedColumns: ["id"];
25741
+ }];
25742
+ };
25319
25743
  email_auth_connections: {
25320
25744
  Row: {
25321
25745
  access_token_encrypted: string | null;
@@ -27257,42 +27681,6 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
27257
27681
  };
27258
27682
  Relationships: [];
27259
27683
  };
27260
- facturen: {
27261
- Row: {
27262
- bedrag_incl_btw: number;
27263
- created_at: string;
27264
- datum: string;
27265
- factuurnummer: string;
27266
- id: string;
27267
- klantnaam: string;
27268
- status: string;
27269
- updated_at: string;
27270
- user_id: string;
27271
- };
27272
- Insert: {
27273
- bedrag_incl_btw: number;
27274
- created_at?: string;
27275
- datum?: string;
27276
- factuurnummer: string;
27277
- id?: string;
27278
- klantnaam: string;
27279
- status?: string;
27280
- updated_at?: string;
27281
- user_id?: string;
27282
- };
27283
- Update: {
27284
- bedrag_incl_btw?: number;
27285
- created_at?: string;
27286
- datum?: string;
27287
- factuurnummer?: string;
27288
- id?: string;
27289
- klantnaam?: string;
27290
- status?: string;
27291
- updated_at?: string;
27292
- user_id?: string;
27293
- };
27294
- Relationships: [];
27295
- };
27296
27684
  floricode_connection_settings: {
27297
27685
  Row: {
27298
27686
  catalog_key: string | null;
@@ -29597,8 +29985,63 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
29597
29985
  };
29598
29986
  Relationships: [];
29599
29987
  };
29988
+ invoice_items: {
29989
+ Row: {
29990
+ created_at: string;
29991
+ description: string;
29992
+ id: string;
29993
+ invoice_id: string;
29994
+ kind: string;
29995
+ quantity: number;
29996
+ sort_order: number;
29997
+ source_line_ref: string | null;
29998
+ total_cents: number;
29999
+ unit: string;
30000
+ unit_price_cents: number;
30001
+ };
30002
+ Insert: {
30003
+ created_at?: string;
30004
+ description?: string;
30005
+ id?: string;
30006
+ invoice_id: string;
30007
+ kind?: string;
30008
+ quantity?: number;
30009
+ sort_order?: number;
30010
+ source_line_ref?: string | null;
30011
+ total_cents?: number;
30012
+ unit?: string;
30013
+ unit_price_cents?: number;
30014
+ };
30015
+ Update: {
30016
+ created_at?: string;
30017
+ description?: string;
30018
+ id?: string;
30019
+ invoice_id?: string;
30020
+ kind?: string;
30021
+ quantity?: number;
30022
+ sort_order?: number;
30023
+ source_line_ref?: string | null;
30024
+ total_cents?: number;
30025
+ unit?: string;
30026
+ unit_price_cents?: number;
30027
+ };
30028
+ Relationships: [{
30029
+ foreignKeyName: "invoice_items_invoice_id_fkey";
30030
+ columns: ["invoice_id"];
30031
+ isOneToOne: false;
30032
+ referencedRelation: "invoices";
30033
+ referencedColumns: ["id"];
30034
+ }, {
30035
+ foreignKeyName: "invoice_items_invoice_id_fkey";
30036
+ columns: ["invoice_id"];
30037
+ isOneToOne: false;
30038
+ referencedRelation: "uren_facturen";
30039
+ referencedColumns: ["id"];
30040
+ }];
30041
+ };
29600
30042
  invoice_post_idempotency: {
29601
30043
  Row: {
30044
+ administration_code: string;
29602
30045
  client_request_id: string;
29603
30046
  completed_at: string | null;
29604
30047
  created_at: string;
@@ -29608,6 +30051,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
29608
30051
  user_id: string;
29609
30052
  };
29610
30053
  Insert: {
30054
+ administration_code?: string;
29611
30055
  client_request_id: string;
29612
30056
  completed_at?: string | null;
29613
30057
  created_at?: string;
@@ -29617,6 +30061,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
29617
30061
  user_id: string;
29618
30062
  };
29619
30063
  Update: {
30064
+ administration_code?: string;
29620
30065
  client_request_id?: string;
29621
30066
  completed_at?: string | null;
29622
30067
  created_at?: string;
@@ -29822,6 +30267,75 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
29822
30267
  };
29823
30268
  Relationships: [];
29824
30269
  };
30270
+ invoices: {
30271
+ Row: {
30272
+ created_at: string;
30273
+ created_by: string | null;
30274
+ customer_id: string | null;
30275
+ customer_name: string | null;
30276
+ due_date: string | null;
30277
+ id: string;
30278
+ invoice_date: string;
30279
+ invoice_number: string | null;
30280
+ note: string | null;
30281
+ source_number: string | null;
30282
+ source_ref: string | null;
30283
+ source_type: string;
30284
+ status: string;
30285
+ subtotal_cents: number;
30286
+ total_cents: number;
30287
+ updated_at: string;
30288
+ vat_cents: number;
30289
+ vat_rate: number;
30290
+ };
30291
+ Insert: {
30292
+ created_at?: string;
30293
+ created_by?: string | null;
30294
+ customer_id?: string | null;
30295
+ customer_name?: string | null;
30296
+ due_date?: string | null;
30297
+ id?: string;
30298
+ invoice_date?: string;
30299
+ invoice_number?: string | null;
30300
+ note?: string | null;
30301
+ source_number?: string | null;
30302
+ source_ref?: string | null;
30303
+ source_type?: string;
30304
+ status?: string;
30305
+ subtotal_cents?: number;
30306
+ total_cents?: number;
30307
+ updated_at?: string;
30308
+ vat_cents?: number;
30309
+ vat_rate?: number;
30310
+ };
30311
+ Update: {
30312
+ created_at?: string;
30313
+ created_by?: string | null;
30314
+ customer_id?: string | null;
30315
+ customer_name?: string | null;
30316
+ due_date?: string | null;
30317
+ id?: string;
30318
+ invoice_date?: string;
30319
+ invoice_number?: string | null;
30320
+ note?: string | null;
30321
+ source_number?: string | null;
30322
+ source_ref?: string | null;
30323
+ source_type?: string;
30324
+ status?: string;
30325
+ subtotal_cents?: number;
30326
+ total_cents?: number;
30327
+ updated_at?: string;
30328
+ vat_cents?: number;
30329
+ vat_rate?: number;
30330
+ };
30331
+ Relationships: [{
30332
+ foreignKeyName: "invoices_customer_id_fkey";
30333
+ columns: ["customer_id"];
30334
+ isOneToOne: false;
30335
+ referencedRelation: "itk_customers";
30336
+ referencedColumns: ["id"];
30337
+ }];
30338
+ };
29825
30339
  itk_contact_persons: {
29826
30340
  Row: {
29827
30341
  created_at: string;
@@ -32762,6 +33276,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
32762
33276
  enforce: boolean;
32763
33277
  is_active: boolean;
32764
33278
  last_seen_at: string;
33279
+ missing_count: number;
32765
33280
  module_id: string;
32766
33281
  name: string;
32767
33282
  shell_id: string | null;
@@ -32772,6 +33287,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
32772
33287
  enforce?: boolean;
32773
33288
  is_active?: boolean;
32774
33289
  last_seen_at?: string;
33290
+ missing_count?: number;
32775
33291
  module_id: string;
32776
33292
  name: string;
32777
33293
  shell_id?: string | null;
@@ -32782,6 +33298,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
32782
33298
  enforce?: boolean;
32783
33299
  is_active?: boolean;
32784
33300
  last_seen_at?: string;
33301
+ missing_count?: number;
32785
33302
  module_id?: string;
32786
33303
  name?: string;
32787
33304
  shell_id?: string | null;
@@ -33781,6 +34298,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
33781
34298
  };
33782
34299
  order_invoice_links: {
33783
34300
  Row: {
34301
+ administration_code: string | null;
33784
34302
  attempts: number;
33785
34303
  created_at: string;
33786
34304
  error_message: string | null;
@@ -33793,6 +34311,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
33793
34311
  updated_at: string;
33794
34312
  };
33795
34313
  Insert: {
34314
+ administration_code?: string | null;
33796
34315
  attempts?: number;
33797
34316
  created_at?: string;
33798
34317
  error_message?: string | null;
@@ -33805,6 +34324,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
33805
34324
  updated_at?: string;
33806
34325
  };
33807
34326
  Update: {
34327
+ administration_code?: string | null;
33808
34328
  attempts?: number;
33809
34329
  created_at?: string;
33810
34330
  error_message?: string | null;
@@ -33992,6 +34512,8 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
33992
34512
  orders: {
33993
34513
  Row: {
33994
34514
  buffer_id: string | null;
34515
+ cancel_reason: string | null;
34516
+ cancelled_at: string | null;
33995
34517
  created_at: string;
33996
34518
  custom_fields: import("../integrations/supabase/types.js").Json;
33997
34519
  customer_id: string | null;
@@ -34014,6 +34536,8 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
34014
34536
  };
34015
34537
  Insert: {
34016
34538
  buffer_id?: string | null;
34539
+ cancel_reason?: string | null;
34540
+ cancelled_at?: string | null;
34017
34541
  created_at?: string;
34018
34542
  custom_fields?: import("../integrations/supabase/types.js").Json;
34019
34543
  customer_id?: string | null;
@@ -34036,6 +34560,8 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
34036
34560
  };
34037
34561
  Update: {
34038
34562
  buffer_id?: string | null;
34563
+ cancel_reason?: string | null;
34564
+ cancelled_at?: string | null;
34039
34565
  created_at?: string;
34040
34566
  custom_fields?: import("../integrations/supabase/types.js").Json;
34041
34567
  customer_id?: string | null;
@@ -34964,6 +35490,27 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
34964
35490
  referencedColumns: ["id"];
34965
35491
  }];
34966
35492
  };
35493
+ pick_sync_state: {
35494
+ Row: {
35495
+ id: boolean;
35496
+ last_cleanup_at: string | null;
35497
+ last_sync_at: string | null;
35498
+ updated_at: string;
35499
+ };
35500
+ Insert: {
35501
+ id?: boolean;
35502
+ last_cleanup_at?: string | null;
35503
+ last_sync_at?: string | null;
35504
+ updated_at?: string;
35505
+ };
35506
+ Update: {
35507
+ id?: boolean;
35508
+ last_cleanup_at?: string | null;
35509
+ last_sync_at?: string | null;
35510
+ updated_at?: string;
35511
+ };
35512
+ Relationships: [];
35513
+ };
34967
35514
  pick_task_document_types: {
34968
35515
  Row: {
34969
35516
  created_at: string;
@@ -35246,6 +35793,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
35246
35793
  gebruiker_id: string | null;
35247
35794
  gebruiker_naam: string;
35248
35795
  gestart_op: string | null;
35796
+ herkomst: string | null;
35249
35797
  id: string;
35250
35798
  idempotentie_sleutel: string | null;
35251
35799
  is_herprint: boolean;
@@ -35275,6 +35823,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
35275
35823
  gebruiker_id?: string | null;
35276
35824
  gebruiker_naam?: string;
35277
35825
  gestart_op?: string | null;
35826
+ herkomst?: string | null;
35278
35827
  id?: string;
35279
35828
  idempotentie_sleutel?: string | null;
35280
35829
  is_herprint?: boolean;
@@ -35304,6 +35853,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
35304
35853
  gebruiker_id?: string | null;
35305
35854
  gebruiker_naam?: string;
35306
35855
  gestart_op?: string | null;
35856
+ herkomst?: string | null;
35307
35857
  id?: string;
35308
35858
  idempotentie_sleutel?: string | null;
35309
35859
  is_herprint?: boolean;
@@ -38308,12 +38858,16 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
38308
38858
  company_name: string | null;
38309
38859
  connected_at: string | null;
38310
38860
  created_at: string;
38861
+ disconnected_at: string | null;
38311
38862
  environment: string;
38312
38863
  id: string;
38864
+ initial_sync_completed_at: string | null;
38865
+ initial_sync_started_at: string | null;
38313
38866
  is_active: boolean;
38314
38867
  label: string | null;
38315
38868
  office_code: string | null;
38316
38869
  redirect_uri: string | null;
38870
+ superseded_at: string | null;
38317
38871
  updated_at: string;
38318
38872
  user_id: string;
38319
38873
  };
@@ -38324,12 +38878,16 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
38324
38878
  company_name?: string | null;
38325
38879
  connected_at?: string | null;
38326
38880
  created_at?: string;
38881
+ disconnected_at?: string | null;
38327
38882
  environment: string;
38328
38883
  id?: string;
38884
+ initial_sync_completed_at?: string | null;
38885
+ initial_sync_started_at?: string | null;
38329
38886
  is_active?: boolean;
38330
38887
  label?: string | null;
38331
38888
  office_code?: string | null;
38332
38889
  redirect_uri?: string | null;
38890
+ superseded_at?: string | null;
38333
38891
  updated_at?: string;
38334
38892
  user_id: string;
38335
38893
  };
@@ -38340,12 +38898,16 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
38340
38898
  company_name?: string | null;
38341
38899
  connected_at?: string | null;
38342
38900
  created_at?: string;
38901
+ disconnected_at?: string | null;
38343
38902
  environment?: string;
38344
38903
  id?: string;
38904
+ initial_sync_completed_at?: string | null;
38905
+ initial_sync_started_at?: string | null;
38345
38906
  is_active?: boolean;
38346
38907
  label?: string | null;
38347
38908
  office_code?: string | null;
38348
38909
  redirect_uri?: string | null;
38910
+ superseded_at?: string | null;
38349
38911
  updated_at?: string;
38350
38912
  user_id?: string;
38351
38913
  };
@@ -38405,6 +38967,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
38405
38967
  twinfield_customers: {
38406
38968
  Row: {
38407
38969
  address: string | null;
38970
+ administration_code: string;
38408
38971
  city: string | null;
38409
38972
  country: string | null;
38410
38973
  created_at: string;
@@ -38424,6 +38987,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
38424
38987
  };
38425
38988
  Insert: {
38426
38989
  address?: string | null;
38990
+ administration_code?: string;
38427
38991
  city?: string | null;
38428
38992
  country?: string | null;
38429
38993
  created_at?: string;
@@ -38443,6 +39007,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
38443
39007
  };
38444
39008
  Update: {
38445
39009
  address?: string | null;
39010
+ administration_code?: string;
38446
39011
  city?: string | null;
38447
39012
  country?: string | null;
38448
39013
  created_at?: string;
@@ -38656,7 +39221,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
38656
39221
  };
38657
39222
  twinfield_invoice_settings: {
38658
39223
  Row: {
39224
+ administration_code: string | null;
38659
39225
  auto_invoice_enabled: boolean;
39226
+ auto_invoice_start_date: string | null;
38660
39227
  auto_invoice_trigger_statuses: string[];
38661
39228
  created_at: string;
38662
39229
  debtor_gl_account: string;
@@ -38670,15 +39237,19 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
38670
39237
  invoice_enabled_fo: boolean;
38671
39238
  invoice_enabled_ho: boolean;
38672
39239
  invoice_enabled_mo: boolean;
39240
+ needs_review: boolean;
38673
39241
  payment_gl_account: string;
38674
39242
  payment_journal_code: string;
39243
+ settings_confirmed_at: string | null;
38675
39244
  updated_at: string;
38676
39245
  user_id: string;
38677
39246
  vat_code_eu_reverse: string | null;
38678
39247
  vat_code_export: string | null;
38679
39248
  };
38680
39249
  Insert: {
39250
+ administration_code?: string | null;
38681
39251
  auto_invoice_enabled?: boolean;
39252
+ auto_invoice_start_date?: string | null;
38682
39253
  auto_invoice_trigger_statuses?: string[];
38683
39254
  created_at?: string;
38684
39255
  debtor_gl_account?: string;
@@ -38692,15 +39263,19 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
38692
39263
  invoice_enabled_fo?: boolean;
38693
39264
  invoice_enabled_ho?: boolean;
38694
39265
  invoice_enabled_mo?: boolean;
39266
+ needs_review?: boolean;
38695
39267
  payment_gl_account?: string;
38696
39268
  payment_journal_code?: string;
39269
+ settings_confirmed_at?: string | null;
38697
39270
  updated_at?: string;
38698
39271
  user_id: string;
38699
39272
  vat_code_eu_reverse?: string | null;
38700
39273
  vat_code_export?: string | null;
38701
39274
  };
38702
39275
  Update: {
39276
+ administration_code?: string | null;
38703
39277
  auto_invoice_enabled?: boolean;
39278
+ auto_invoice_start_date?: string | null;
38704
39279
  auto_invoice_trigger_statuses?: string[];
38705
39280
  created_at?: string;
38706
39281
  debtor_gl_account?: string;
@@ -38714,8 +39289,10 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
38714
39289
  invoice_enabled_fo?: boolean;
38715
39290
  invoice_enabled_ho?: boolean;
38716
39291
  invoice_enabled_mo?: boolean;
39292
+ needs_review?: boolean;
38717
39293
  payment_gl_account?: string;
38718
39294
  payment_journal_code?: string;
39295
+ settings_confirmed_at?: string | null;
38719
39296
  updated_at?: string;
38720
39297
  user_id?: string;
38721
39298
  vat_code_eu_reverse?: string | null;
@@ -39320,114 +39897,6 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
39320
39897
  };
39321
39898
  Relationships: [];
39322
39899
  };
39323
- uren_facturen: {
39324
- Row: {
39325
- created_at: string;
39326
- created_by: string | null;
39327
- customer_id: string | null;
39328
- customer_name: string | null;
39329
- id: string;
39330
- invoice_number: string | null;
39331
- note: string | null;
39332
- status: string;
39333
- total_excl_cents: number;
39334
- total_incl_cents: number;
39335
- updated_at: string;
39336
- vat_cents: number;
39337
- vat_percentage: number;
39338
- werkbon_id: string | null;
39339
- };
39340
- Insert: {
39341
- created_at?: string;
39342
- created_by?: string | null;
39343
- customer_id?: string | null;
39344
- customer_name?: string | null;
39345
- id?: string;
39346
- invoice_number?: string | null;
39347
- note?: string | null;
39348
- status?: string;
39349
- total_excl_cents?: number;
39350
- total_incl_cents?: number;
39351
- updated_at?: string;
39352
- vat_cents?: number;
39353
- vat_percentage?: number;
39354
- werkbon_id?: string | null;
39355
- };
39356
- Update: {
39357
- created_at?: string;
39358
- created_by?: string | null;
39359
- customer_id?: string | null;
39360
- customer_name?: string | null;
39361
- id?: string;
39362
- invoice_number?: string | null;
39363
- note?: string | null;
39364
- status?: string;
39365
- total_excl_cents?: number;
39366
- total_incl_cents?: number;
39367
- updated_at?: string;
39368
- vat_cents?: number;
39369
- vat_percentage?: number;
39370
- werkbon_id?: string | null;
39371
- };
39372
- Relationships: [{
39373
- foreignKeyName: "uren_facturen_customer_id_fkey";
39374
- columns: ["customer_id"];
39375
- isOneToOne: false;
39376
- referencedRelation: "itk_customers";
39377
- referencedColumns: ["id"];
39378
- }, {
39379
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
39380
- columns: ["werkbon_id"];
39381
- isOneToOne: true;
39382
- referencedRelation: "werkbonnen";
39383
- referencedColumns: ["id"];
39384
- }];
39385
- };
39386
- uren_factuur_regels: {
39387
- Row: {
39388
- created_at: string;
39389
- description: string;
39390
- factuur_id: string;
39391
- id: string;
39392
- kind: string | null;
39393
- quantity: number;
39394
- sort_order: number;
39395
- total_cents: number;
39396
- unit: string;
39397
- unit_price_cents: number;
39398
- };
39399
- Insert: {
39400
- created_at?: string;
39401
- description: string;
39402
- factuur_id: string;
39403
- id?: string;
39404
- kind?: string | null;
39405
- quantity?: number;
39406
- sort_order?: number;
39407
- total_cents?: number;
39408
- unit?: string;
39409
- unit_price_cents?: number;
39410
- };
39411
- Update: {
39412
- created_at?: string;
39413
- description?: string;
39414
- factuur_id?: string;
39415
- id?: string;
39416
- kind?: string | null;
39417
- quantity?: number;
39418
- sort_order?: number;
39419
- total_cents?: number;
39420
- unit?: string;
39421
- unit_price_cents?: number;
39422
- };
39423
- Relationships: [{
39424
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
39425
- columns: ["factuur_id"];
39426
- isOneToOne: false;
39427
- referencedRelation: "uren_facturen";
39428
- referencedColumns: ["id"];
39429
- }];
39430
- };
39431
39900
  uren_offerte_regels: {
39432
39901
  Row: {
39433
39902
  created_at: string;
@@ -41267,6 +41736,114 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
41267
41736
  };
41268
41737
  Relationships: [];
41269
41738
  };
41739
+ uren_facturen: {
41740
+ Row: {
41741
+ created_at: string | null;
41742
+ created_by: string | null;
41743
+ customer_id: string | null;
41744
+ customer_name: string | null;
41745
+ id: string | null;
41746
+ invoice_number: string | null;
41747
+ note: string | null;
41748
+ status: string | null;
41749
+ total_excl_cents: number | null;
41750
+ total_incl_cents: number | null;
41751
+ updated_at: string | null;
41752
+ vat_cents: number | null;
41753
+ vat_percentage: number | null;
41754
+ werkbon_id: string | null;
41755
+ };
41756
+ Insert: {
41757
+ created_at?: string | null;
41758
+ created_by?: string | null;
41759
+ customer_id?: string | null;
41760
+ customer_name?: string | null;
41761
+ id?: string | null;
41762
+ invoice_number?: string | null;
41763
+ note?: string | null;
41764
+ status?: string | null;
41765
+ total_excl_cents?: number | null;
41766
+ total_incl_cents?: number | null;
41767
+ updated_at?: string | null;
41768
+ vat_cents?: number | null;
41769
+ vat_percentage?: number | null;
41770
+ werkbon_id?: never;
41771
+ };
41772
+ Update: {
41773
+ created_at?: string | null;
41774
+ created_by?: string | null;
41775
+ customer_id?: string | null;
41776
+ customer_name?: string | null;
41777
+ id?: string | null;
41778
+ invoice_number?: string | null;
41779
+ note?: string | null;
41780
+ status?: string | null;
41781
+ total_excl_cents?: number | null;
41782
+ total_incl_cents?: number | null;
41783
+ updated_at?: string | null;
41784
+ vat_cents?: number | null;
41785
+ vat_percentage?: number | null;
41786
+ werkbon_id?: never;
41787
+ };
41788
+ Relationships: [{
41789
+ foreignKeyName: "invoices_customer_id_fkey";
41790
+ columns: ["customer_id"];
41791
+ isOneToOne: false;
41792
+ referencedRelation: "itk_customers";
41793
+ referencedColumns: ["id"];
41794
+ }];
41795
+ };
41796
+ uren_factuur_regels: {
41797
+ Row: {
41798
+ created_at: string | null;
41799
+ description: string | null;
41800
+ factuur_id: string | null;
41801
+ id: string | null;
41802
+ kind: string | null;
41803
+ quantity: number | null;
41804
+ sort_order: number | null;
41805
+ total_cents: number | null;
41806
+ unit: string | null;
41807
+ unit_price_cents: number | null;
41808
+ };
41809
+ Insert: {
41810
+ created_at?: string | null;
41811
+ description?: string | null;
41812
+ factuur_id?: string | null;
41813
+ id?: string | null;
41814
+ kind?: string | null;
41815
+ quantity?: number | null;
41816
+ sort_order?: number | null;
41817
+ total_cents?: number | null;
41818
+ unit?: string | null;
41819
+ unit_price_cents?: number | null;
41820
+ };
41821
+ Update: {
41822
+ created_at?: string | null;
41823
+ description?: string | null;
41824
+ factuur_id?: string | null;
41825
+ id?: string | null;
41826
+ kind?: string | null;
41827
+ quantity?: number | null;
41828
+ sort_order?: number | null;
41829
+ total_cents?: number | null;
41830
+ unit?: string | null;
41831
+ unit_price_cents?: number | null;
41832
+ };
41833
+ Relationships: [{
41834
+ foreignKeyName: "invoice_items_invoice_id_fkey";
41835
+ columns: ["factuur_id"];
41836
+ isOneToOne: false;
41837
+ referencedRelation: "invoices";
41838
+ referencedColumns: ["id"];
41839
+ }, {
41840
+ foreignKeyName: "invoice_items_invoice_id_fkey";
41841
+ columns: ["factuur_id"];
41842
+ isOneToOne: false;
41843
+ referencedRelation: "uren_facturen";
41844
+ referencedColumns: ["id"];
41845
+ }];
41846
+ };
41270
41847
  v_external_customers_exact: {
41271
41848
  Row: {
41272
41849
  account_number: string | null;
@@ -41772,6 +42349,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
41772
42349
  gebruiker_id: string | null;
41773
42350
  gebruiker_naam: string;
41774
42351
  gestart_op: string | null;
42352
+ herkomst: string | null;
41775
42353
  id: string;
41776
42354
  idempotentie_sleutel: string | null;
41777
42355
  is_herprint: boolean;
@@ -41892,6 +42470,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
41892
42470
  gebruiker_id: string | null;
41893
42471
  gebruiker_naam: string;
41894
42472
  gestart_op: string | null;
42473
+ herkomst: string | null;
41895
42474
  id: string;
41896
42475
  idempotentie_sleutel: string | null;
41897
42476
  is_herprint: boolean;
@@ -42493,6 +43072,46 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
42493
43072
  Args: never;
42494
43073
  Returns: boolean;
42495
43074
  };
43075
+ invoice_create_from_source: {
43076
+ Args: {
43077
+ _payload?: import("../integrations/supabase/types.js").Json;
43078
+ _source_id: string;
43079
+ _source_type: string;
43080
+ };
43081
+ Returns: import("../integrations/supabase/types.js").Json;
43082
+ };
43083
+ invoice_get_billable_lines: {
43084
+ Args: {
43085
+ _invoice_id: string;
43086
+ };
43087
+ Returns: import("../integrations/supabase/types.js").Json;
43088
+ };
43089
+ invoice_get_for_source: {
43090
+ Args: {
43091
+ _source_id: string;
43092
+ _source_type: string;
43093
+ };
43094
+ Returns: import("../integrations/supabase/types.js").Json;
43095
+ };
43096
+ invoice_get_summary: {
43097
+ Args: {
43098
+ _invoice_id: string;
43099
+ };
43100
+ Returns: import("../integrations/supabase/types.js").Json;
43101
+ };
43102
+ invoice_list_sources: {
43103
+ Args: {
43104
+ _limit?: number;
43105
+ _source_type?: string;
43106
+ };
43107
+ Returns: import("../integrations/supabase/types.js").Json;
43108
+ };
43109
+ invoice_recalc_totals: {
43110
+ Args: {
43111
+ _invoice_id: string;
43112
+ };
43113
+ Returns: import("../integrations/supabase/types.js").Json;
43114
+ };
42496
43115
  is_authenticated: {
42497
43116
  Args: never;
42498
43117
  Returns: boolean;
@@ -42561,6 +43180,29 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
42561
43180
  roles: string[];
42562
43181
  }[];
42563
43182
  };
43183
+ list_monteur_absences: {
43184
+ Args: {
43185
+ _from: string;
43186
+ _to: string;
43187
+ };
43188
+ Returns: {
43189
+ absence_date: string;
43190
+ end_time: string;
43191
+ full_day: boolean;
43192
+ kind: string;
43193
+ monteur_id: string;
43194
+ start_time: string;
43195
+ }[];
43196
+ };
43197
+ list_monteurs: {
43198
+ Args: never;
43199
+ Returns: {
43200
+ avatar_url: string;
43201
+ display_name: string;
43202
+ email: string;
43203
+ id: string;
43204
+ }[];
43205
+ };
42564
43206
  list_my_planning_items: {
42565
43207
  Args: {
42566
43208
  _from: string;
@@ -43514,6 +44156,13 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43514
44156
  isSetofReturn: false;
43515
44157
  };
43516
44158
  };
44159
+ pick_cleanup_maintenance: {
44160
+ Args: {
44161
+ _heartbeat_hours?: number;
44162
+ _log_days?: number;
44163
+ };
44164
+ Returns: import("../integrations/supabase/types.js").Json;
44165
+ };
43517
44166
  pick_complete_print: {
43518
44167
  Args: {
43519
44168
  _printer_id: string;
@@ -43565,6 +44214,14 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43565
44214
  Args: never;
43566
44215
  Returns: string;
43567
44216
  };
44217
+ pick_day_counts: {
44218
+ Args: {
44219
+ _pick_day?: string;
44220
+ _screen_id?: string;
44221
+ _station_id?: string;
44222
+ };
44223
+ Returns: import("../integrations/supabase/types.js").Json;
44224
+ };
43568
44225
  pick_document_layout_data: {
43569
44226
  Args: {
43570
44227
  _layout_id: string;
@@ -43602,6 +44259,14 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43602
44259
  };
43603
44260
  Returns: undefined;
43604
44261
  };
44262
+ pick_reprint_document: {
44263
+ Args: {
44264
+ _queue_item_id: string;
44265
+ _session_id: string;
44266
+ _throttle_seconds?: number;
44267
+ };
44268
+ Returns: string;
44269
+ };
43605
44270
  pick_reset_print: {
43606
44271
  Args: {
43607
44272
  _queue_item_id: string;
@@ -43667,6 +44332,12 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43667
44332
  };
43668
44333
  Returns: string;
43669
44334
  };
44335
+ pick_sync_queue_throttled: {
44336
+ Args: {
44337
+ _min_seconds?: number;
44338
+ };
44339
+ Returns: import("../integrations/supabase/types.js").Json;
44340
+ };
43670
44341
  pickstation_get_orders_raw: {
43671
44342
  Args: never;
43672
44343
  Returns: import("../integrations/supabase/types.js").Json;
@@ -43812,6 +44483,12 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43812
44483
  };
43813
44484
  Returns: boolean;
43814
44485
  };
44486
+ release_stale_order_invoice_links: {
44487
+ Args: {
44488
+ _minutes?: number;
44489
+ };
44490
+ Returns: number;
44491
+ };
43815
44492
  reorder_customer_price_groups: {
43816
44493
  Args: {
43817
44494
  _ids: string[];
@@ -44330,6 +45007,20 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
44330
45007
  };
44331
45008
  Returns: undefined;
44332
45009
  };
45010
+ twinfield_deactivate_connection: {
45011
+ Args: {
45012
+ p_connection_id: string;
45013
+ p_user_id: string;
45014
+ };
45015
+ Returns: import("../integrations/supabase/types.js").Json;
45016
+ };
45017
+ twinfield_handle_administration_change: {
45018
+ Args: {
45019
+ _administration_code: string;
45020
+ _user_id: string;
45021
+ };
45022
+ Returns: undefined;
45023
+ };
44333
45024
  twinfield_prune_push_queue: {
44334
45025
  Args: never;
44335
45026
  Returns: number;
@@ -44349,10 +45040,11 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
44349
45040
  p_company_name?: string;
44350
45041
  p_environment: string;
44351
45042
  p_office_code?: string;
45043
+ p_reset_sync?: boolean;
44352
45044
  p_status?: string;
44353
45045
  p_user_id: string;
44354
45046
  };
44355
- Returns: string;
45047
+ Returns: import("../integrations/supabase/types.js").Json;
44356
45048
  };
44357
45049
  upsert_auto_fulfillment_log: {
44358
45050
  Args: {
@@ -47194,6 +47886,42 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
47194
47886
  };
47195
47887
  Relationships: [];
47196
47888
  };
47889
+ document_bronregels: {
47890
+ Row: {
47891
+ bron: string;
47892
+ created_at: string;
47893
+ documenttype: string;
47894
+ herkomst: string;
47895
+ id: string;
47896
+ layout_id: string | null;
47897
+ updated_at: string;
47898
+ };
47899
+ Insert: {
47900
+ bron?: string;
47901
+ created_at?: string;
47902
+ documenttype: string;
47903
+ herkomst: string;
47904
+ id?: string;
47905
+ layout_id?: string | null;
47906
+ updated_at?: string;
47907
+ };
47908
+ Update: {
47909
+ bron?: string;
47910
+ created_at?: string;
47911
+ documenttype?: string;
47912
+ herkomst?: string;
47913
+ id?: string;
47914
+ layout_id?: string | null;
47915
+ updated_at?: string;
47916
+ };
47917
+ Relationships: [{
47918
+ foreignKeyName: "document_bronregels_layout_id_fkey";
47919
+ columns: ["layout_id"];
47920
+ isOneToOne: false;
47921
+ referencedRelation: "document_layouts";
47922
+ referencedColumns: ["id"];
47923
+ }];
47924
+ };
47197
47925
  document_formaat_printers: {
47198
47926
  Row: {
47199
47927
  created_at: string;
@@ -47471,6 +48199,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
47471
48199
  Row: {
47472
48200
  actief: boolean;
47473
48201
  breedte_mm: number;
48202
+ bron: string;
47474
48203
  config: import("../integrations/supabase/types.js").Json;
47475
48204
  created_at: string;
47476
48205
  created_by: string | null;
@@ -47488,12 +48217,14 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
47488
48217
  orientatie: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_orientation"];
47489
48218
  page_settings: import("../integrations/supabase/types.js").Json;
47490
48219
  papierformaat: string;
48220
+ systeem: boolean;
47491
48221
  thumbnail_url: string | null;
47492
48222
  updated_at: string;
47493
48223
  };
47494
48224
  Insert: {
47495
48225
  actief?: boolean;
47496
48226
  breedte_mm?: number;
48227
+ bron?: string;
47497
48228
  config?: import("../integrations/supabase/types.js").Json;
47498
48229
  created_at?: string;
47499
48230
  created_by?: string | null;
@@ -47511,12 +48242,14 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
47511
48242
  orientatie?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_orientation"];
47512
48243
  page_settings?: import("../integrations/supabase/types.js").Json;
47513
48244
  papierformaat?: string;
48245
+ systeem?: boolean;
47514
48246
  thumbnail_url?: string | null;
47515
48247
  updated_at?: string;
47516
48248
  };
47517
48249
  Update: {
47518
48250
  actief?: boolean;
47519
48251
  breedte_mm?: number;
48252
+ bron?: string;
47520
48253
  config?: import("../integrations/supabase/types.js").Json;
47521
48254
  created_at?: string;
47522
48255
  created_by?: string | null;
@@ -47534,11 +48267,48 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
47534
48267
  orientatie?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_orientation"];
47535
48268
  page_settings?: import("../integrations/supabase/types.js").Json;
47536
48269
  papierformaat?: string;
48270
+ systeem?: boolean;
47537
48271
  thumbnail_url?: string | null;
47538
48272
  updated_at?: string;
47539
48273
  };
47540
48274
  Relationships: [];
47541
48275
  };
48276
+ document_werkplek_printers: {
48277
+ Row: {
48278
+ created_at: string;
48279
+ documenttype: string;
48280
+ id: string;
48281
+ papierformaat: string | null;
48282
+ printer_id: string | null;
48283
+ updated_at: string;
48284
+ werkplek: string;
48285
+ };
48286
+ Insert: {
48287
+ created_at?: string;
48288
+ documenttype: string;
48289
+ id?: string;
48290
+ papierformaat?: string | null;
48291
+ printer_id?: string | null;
48292
+ updated_at?: string;
48293
+ werkplek: string;
48294
+ };
48295
+ Update: {
48296
+ created_at?: string;
48297
+ documenttype?: string;
48298
+ id?: string;
48299
+ papierformaat?: string | null;
48300
+ printer_id?: string | null;
48301
+ updated_at?: string;
48302
+ werkplek?: string;
48303
+ };
48304
+ Relationships: [{
48305
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
48306
+ columns: ["printer_id"];
48307
+ isOneToOne: false;
48308
+ referencedRelation: "printers";
48309
+ referencedColumns: ["id"];
48310
+ }];
48311
+ };
47542
48312
  email_auth_connections: {
47543
48313
  Row: {
47544
48314
  access_token_encrypted: string | null;
@@ -49480,42 +50250,6 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
49480
50250
  };
49481
50251
  Relationships: [];
49482
50252
  };
49483
- facturen: {
49484
- Row: {
49485
- bedrag_incl_btw: number;
49486
- created_at: string;
49487
- datum: string;
49488
- factuurnummer: string;
49489
- id: string;
49490
- klantnaam: string;
49491
- status: string;
49492
- updated_at: string;
49493
- user_id: string;
49494
- };
49495
- Insert: {
49496
- bedrag_incl_btw: number;
49497
- created_at?: string;
49498
- datum?: string;
49499
- factuurnummer: string;
49500
- id?: string;
49501
- klantnaam: string;
49502
- status?: string;
49503
- updated_at?: string;
49504
- user_id?: string;
49505
- };
49506
- Update: {
49507
- bedrag_incl_btw?: number;
49508
- created_at?: string;
49509
- datum?: string;
49510
- factuurnummer?: string;
49511
- id?: string;
49512
- klantnaam?: string;
49513
- status?: string;
49514
- updated_at?: string;
49515
- user_id?: string;
49516
- };
49517
- Relationships: [];
49518
- };
49519
50253
  floricode_connection_settings: {
49520
50254
  Row: {
49521
50255
  catalog_key: string | null;
@@ -51820,8 +52554,63 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
51820
52554
  };
51821
52555
  Relationships: [];
51822
52556
  };
52557
+ invoice_items: {
52558
+ Row: {
52559
+ created_at: string;
52560
+ description: string;
52561
+ id: string;
52562
+ invoice_id: string;
52563
+ kind: string;
52564
+ quantity: number;
52565
+ sort_order: number;
52566
+ source_line_ref: string | null;
52567
+ total_cents: number;
52568
+ unit: string;
52569
+ unit_price_cents: number;
52570
+ };
52571
+ Insert: {
52572
+ created_at?: string;
52573
+ description?: string;
52574
+ id?: string;
52575
+ invoice_id: string;
52576
+ kind?: string;
52577
+ quantity?: number;
52578
+ sort_order?: number;
52579
+ source_line_ref?: string | null;
52580
+ total_cents?: number;
52581
+ unit?: string;
52582
+ unit_price_cents?: number;
52583
+ };
52584
+ Update: {
52585
+ created_at?: string;
52586
+ description?: string;
52587
+ id?: string;
52588
+ invoice_id?: string;
52589
+ kind?: string;
52590
+ quantity?: number;
52591
+ sort_order?: number;
52592
+ source_line_ref?: string | null;
52593
+ total_cents?: number;
52594
+ unit?: string;
52595
+ unit_price_cents?: number;
52596
+ };
52597
+ Relationships: [{
52598
+ foreignKeyName: "invoice_items_invoice_id_fkey";
52599
+ columns: ["invoice_id"];
52600
+ isOneToOne: false;
52601
+ referencedRelation: "invoices";
52602
+ referencedColumns: ["id"];
52603
+ }, {
52604
+ foreignKeyName: "invoice_items_invoice_id_fkey";
52605
+ columns: ["invoice_id"];
52606
+ isOneToOne: false;
52607
+ referencedRelation: "uren_facturen";
52608
+ referencedColumns: ["id"];
52609
+ }];
52610
+ };
51823
52611
  invoice_post_idempotency: {
51824
52612
  Row: {
52613
+ administration_code: string;
51825
52614
  client_request_id: string;
51826
52615
  completed_at: string | null;
51827
52616
  created_at: string;
@@ -51831,6 +52620,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
51831
52620
  user_id: string;
51832
52621
  };
51833
52622
  Insert: {
52623
+ administration_code?: string;
51834
52624
  client_request_id: string;
51835
52625
  completed_at?: string | null;
51836
52626
  created_at?: string;
@@ -51840,6 +52630,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
51840
52630
  user_id: string;
51841
52631
  };
51842
52632
  Update: {
52633
+ administration_code?: string;
51843
52634
  client_request_id?: string;
51844
52635
  completed_at?: string | null;
51845
52636
  created_at?: string;
@@ -52045,6 +52836,75 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
52045
52836
  };
52046
52837
  Relationships: [];
52047
52838
  };
52839
+ invoices: {
52840
+ Row: {
52841
+ created_at: string;
52842
+ created_by: string | null;
52843
+ customer_id: string | null;
52844
+ customer_name: string | null;
52845
+ due_date: string | null;
52846
+ id: string;
52847
+ invoice_date: string;
52848
+ invoice_number: string | null;
52849
+ note: string | null;
52850
+ source_number: string | null;
52851
+ source_ref: string | null;
52852
+ source_type: string;
52853
+ status: string;
52854
+ subtotal_cents: number;
52855
+ total_cents: number;
52856
+ updated_at: string;
52857
+ vat_cents: number;
52858
+ vat_rate: number;
52859
+ };
52860
+ Insert: {
52861
+ created_at?: string;
52862
+ created_by?: string | null;
52863
+ customer_id?: string | null;
52864
+ customer_name?: string | null;
52865
+ due_date?: string | null;
52866
+ id?: string;
52867
+ invoice_date?: string;
52868
+ invoice_number?: string | null;
52869
+ note?: string | null;
52870
+ source_number?: string | null;
52871
+ source_ref?: string | null;
52872
+ source_type?: string;
52873
+ status?: string;
52874
+ subtotal_cents?: number;
52875
+ total_cents?: number;
52876
+ updated_at?: string;
52877
+ vat_cents?: number;
52878
+ vat_rate?: number;
52879
+ };
52880
+ Update: {
52881
+ created_at?: string;
52882
+ created_by?: string | null;
52883
+ customer_id?: string | null;
52884
+ customer_name?: string | null;
52885
+ due_date?: string | null;
52886
+ id?: string;
52887
+ invoice_date?: string;
52888
+ invoice_number?: string | null;
52889
+ note?: string | null;
52890
+ source_number?: string | null;
52891
+ source_ref?: string | null;
52892
+ source_type?: string;
52893
+ status?: string;
52894
+ subtotal_cents?: number;
52895
+ total_cents?: number;
52896
+ updated_at?: string;
52897
+ vat_cents?: number;
52898
+ vat_rate?: number;
52899
+ };
52900
+ Relationships: [{
52901
+ foreignKeyName: "invoices_customer_id_fkey";
52902
+ columns: ["customer_id"];
52903
+ isOneToOne: false;
52904
+ referencedRelation: "itk_customers";
52905
+ referencedColumns: ["id"];
52906
+ }];
52907
+ };
52048
52908
  itk_contact_persons: {
52049
52909
  Row: {
52050
52910
  created_at: string;
@@ -54985,6 +55845,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
54985
55845
  enforce: boolean;
54986
55846
  is_active: boolean;
54987
55847
  last_seen_at: string;
55848
+ missing_count: number;
54988
55849
  module_id: string;
54989
55850
  name: string;
54990
55851
  shell_id: string | null;
@@ -54995,6 +55856,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
54995
55856
  enforce?: boolean;
54996
55857
  is_active?: boolean;
54997
55858
  last_seen_at?: string;
55859
+ missing_count?: number;
54998
55860
  module_id: string;
54999
55861
  name: string;
55000
55862
  shell_id?: string | null;
@@ -55005,6 +55867,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
55005
55867
  enforce?: boolean;
55006
55868
  is_active?: boolean;
55007
55869
  last_seen_at?: string;
55870
+ missing_count?: number;
55008
55871
  module_id?: string;
55009
55872
  name?: string;
55010
55873
  shell_id?: string | null;
@@ -56004,6 +56867,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
56004
56867
  };
56005
56868
  order_invoice_links: {
56006
56869
  Row: {
56870
+ administration_code: string | null;
56007
56871
  attempts: number;
56008
56872
  created_at: string;
56009
56873
  error_message: string | null;
@@ -56016,6 +56880,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
56016
56880
  updated_at: string;
56017
56881
  };
56018
56882
  Insert: {
56883
+ administration_code?: string | null;
56019
56884
  attempts?: number;
56020
56885
  created_at?: string;
56021
56886
  error_message?: string | null;
@@ -56028,6 +56893,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
56028
56893
  updated_at?: string;
56029
56894
  };
56030
56895
  Update: {
56896
+ administration_code?: string | null;
56031
56897
  attempts?: number;
56032
56898
  created_at?: string;
56033
56899
  error_message?: string | null;
@@ -56215,6 +57081,8 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
56215
57081
  orders: {
56216
57082
  Row: {
56217
57083
  buffer_id: string | null;
57084
+ cancel_reason: string | null;
57085
+ cancelled_at: string | null;
56218
57086
  created_at: string;
56219
57087
  custom_fields: import("../integrations/supabase/types.js").Json;
56220
57088
  customer_id: string | null;
@@ -56237,6 +57105,8 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
56237
57105
  };
56238
57106
  Insert: {
56239
57107
  buffer_id?: string | null;
57108
+ cancel_reason?: string | null;
57109
+ cancelled_at?: string | null;
56240
57110
  created_at?: string;
56241
57111
  custom_fields?: import("../integrations/supabase/types.js").Json;
56242
57112
  customer_id?: string | null;
@@ -56259,6 +57129,8 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
56259
57129
  };
56260
57130
  Update: {
56261
57131
  buffer_id?: string | null;
57132
+ cancel_reason?: string | null;
57133
+ cancelled_at?: string | null;
56262
57134
  created_at?: string;
56263
57135
  custom_fields?: import("../integrations/supabase/types.js").Json;
56264
57136
  customer_id?: string | null;
@@ -57187,6 +58059,27 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
57187
58059
  referencedColumns: ["id"];
57188
58060
  }];
57189
58061
  };
58062
+ pick_sync_state: {
58063
+ Row: {
58064
+ id: boolean;
58065
+ last_cleanup_at: string | null;
58066
+ last_sync_at: string | null;
58067
+ updated_at: string;
58068
+ };
58069
+ Insert: {
58070
+ id?: boolean;
58071
+ last_cleanup_at?: string | null;
58072
+ last_sync_at?: string | null;
58073
+ updated_at?: string;
58074
+ };
58075
+ Update: {
58076
+ id?: boolean;
58077
+ last_cleanup_at?: string | null;
58078
+ last_sync_at?: string | null;
58079
+ updated_at?: string;
58080
+ };
58081
+ Relationships: [];
58082
+ };
57190
58083
  pick_task_document_types: {
57191
58084
  Row: {
57192
58085
  created_at: string;
@@ -57469,6 +58362,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
57469
58362
  gebruiker_id: string | null;
57470
58363
  gebruiker_naam: string;
57471
58364
  gestart_op: string | null;
58365
+ herkomst: string | null;
57472
58366
  id: string;
57473
58367
  idempotentie_sleutel: string | null;
57474
58368
  is_herprint: boolean;
@@ -57498,6 +58392,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
57498
58392
  gebruiker_id?: string | null;
57499
58393
  gebruiker_naam?: string;
57500
58394
  gestart_op?: string | null;
58395
+ herkomst?: string | null;
57501
58396
  id?: string;
57502
58397
  idempotentie_sleutel?: string | null;
57503
58398
  is_herprint?: boolean;
@@ -57527,6 +58422,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
57527
58422
  gebruiker_id?: string | null;
57528
58423
  gebruiker_naam?: string;
57529
58424
  gestart_op?: string | null;
58425
+ herkomst?: string | null;
57530
58426
  id?: string;
57531
58427
  idempotentie_sleutel?: string | null;
57532
58428
  is_herprint?: boolean;
@@ -60531,12 +61427,16 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60531
61427
  company_name: string | null;
60532
61428
  connected_at: string | null;
60533
61429
  created_at: string;
61430
+ disconnected_at: string | null;
60534
61431
  environment: string;
60535
61432
  id: string;
61433
+ initial_sync_completed_at: string | null;
61434
+ initial_sync_started_at: string | null;
60536
61435
  is_active: boolean;
60537
61436
  label: string | null;
60538
61437
  office_code: string | null;
60539
61438
  redirect_uri: string | null;
61439
+ superseded_at: string | null;
60540
61440
  updated_at: string;
60541
61441
  user_id: string;
60542
61442
  };
@@ -60547,12 +61447,16 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60547
61447
  company_name?: string | null;
60548
61448
  connected_at?: string | null;
60549
61449
  created_at?: string;
61450
+ disconnected_at?: string | null;
60550
61451
  environment: string;
60551
61452
  id?: string;
61453
+ initial_sync_completed_at?: string | null;
61454
+ initial_sync_started_at?: string | null;
60552
61455
  is_active?: boolean;
60553
61456
  label?: string | null;
60554
61457
  office_code?: string | null;
60555
61458
  redirect_uri?: string | null;
61459
+ superseded_at?: string | null;
60556
61460
  updated_at?: string;
60557
61461
  user_id: string;
60558
61462
  };
@@ -60563,12 +61467,16 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60563
61467
  company_name?: string | null;
60564
61468
  connected_at?: string | null;
60565
61469
  created_at?: string;
61470
+ disconnected_at?: string | null;
60566
61471
  environment?: string;
60567
61472
  id?: string;
61473
+ initial_sync_completed_at?: string | null;
61474
+ initial_sync_started_at?: string | null;
60568
61475
  is_active?: boolean;
60569
61476
  label?: string | null;
60570
61477
  office_code?: string | null;
60571
61478
  redirect_uri?: string | null;
61479
+ superseded_at?: string | null;
60572
61480
  updated_at?: string;
60573
61481
  user_id?: string;
60574
61482
  };
@@ -60628,6 +61536,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60628
61536
  twinfield_customers: {
60629
61537
  Row: {
60630
61538
  address: string | null;
61539
+ administration_code: string;
60631
61540
  city: string | null;
60632
61541
  country: string | null;
60633
61542
  created_at: string;
@@ -60647,6 +61556,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60647
61556
  };
60648
61557
  Insert: {
60649
61558
  address?: string | null;
61559
+ administration_code?: string;
60650
61560
  city?: string | null;
60651
61561
  country?: string | null;
60652
61562
  created_at?: string;
@@ -60666,6 +61576,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60666
61576
  };
60667
61577
  Update: {
60668
61578
  address?: string | null;
61579
+ administration_code?: string;
60669
61580
  city?: string | null;
60670
61581
  country?: string | null;
60671
61582
  created_at?: string;
@@ -60879,7 +61790,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60879
61790
  };
60880
61791
  twinfield_invoice_settings: {
60881
61792
  Row: {
61793
+ administration_code: string | null;
60882
61794
  auto_invoice_enabled: boolean;
61795
+ auto_invoice_start_date: string | null;
60883
61796
  auto_invoice_trigger_statuses: string[];
60884
61797
  created_at: string;
60885
61798
  debtor_gl_account: string;
@@ -60893,15 +61806,19 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60893
61806
  invoice_enabled_fo: boolean;
60894
61807
  invoice_enabled_ho: boolean;
60895
61808
  invoice_enabled_mo: boolean;
61809
+ needs_review: boolean;
60896
61810
  payment_gl_account: string;
60897
61811
  payment_journal_code: string;
61812
+ settings_confirmed_at: string | null;
60898
61813
  updated_at: string;
60899
61814
  user_id: string;
60900
61815
  vat_code_eu_reverse: string | null;
60901
61816
  vat_code_export: string | null;
60902
61817
  };
60903
61818
  Insert: {
61819
+ administration_code?: string | null;
60904
61820
  auto_invoice_enabled?: boolean;
61821
+ auto_invoice_start_date?: string | null;
60905
61822
  auto_invoice_trigger_statuses?: string[];
60906
61823
  created_at?: string;
60907
61824
  debtor_gl_account?: string;
@@ -60915,15 +61832,19 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60915
61832
  invoice_enabled_fo?: boolean;
60916
61833
  invoice_enabled_ho?: boolean;
60917
61834
  invoice_enabled_mo?: boolean;
61835
+ needs_review?: boolean;
60918
61836
  payment_gl_account?: string;
60919
61837
  payment_journal_code?: string;
61838
+ settings_confirmed_at?: string | null;
60920
61839
  updated_at?: string;
60921
61840
  user_id: string;
60922
61841
  vat_code_eu_reverse?: string | null;
60923
61842
  vat_code_export?: string | null;
60924
61843
  };
60925
61844
  Update: {
61845
+ administration_code?: string | null;
60926
61846
  auto_invoice_enabled?: boolean;
61847
+ auto_invoice_start_date?: string | null;
60927
61848
  auto_invoice_trigger_statuses?: string[];
60928
61849
  created_at?: string;
60929
61850
  debtor_gl_account?: string;
@@ -60937,8 +61858,10 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60937
61858
  invoice_enabled_fo?: boolean;
60938
61859
  invoice_enabled_ho?: boolean;
60939
61860
  invoice_enabled_mo?: boolean;
61861
+ needs_review?: boolean;
60940
61862
  payment_gl_account?: string;
60941
61863
  payment_journal_code?: string;
61864
+ settings_confirmed_at?: string | null;
60942
61865
  updated_at?: string;
60943
61866
  user_id?: string;
60944
61867
  vat_code_eu_reverse?: string | null;
@@ -61543,114 +62466,6 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
61543
62466
  };
61544
62467
  Relationships: [];
61545
62468
  };
61546
- uren_facturen: {
61547
- Row: {
61548
- created_at: string;
61549
- created_by: string | null;
61550
- customer_id: string | null;
61551
- customer_name: string | null;
61552
- id: string;
61553
- invoice_number: string | null;
61554
- note: string | null;
61555
- status: string;
61556
- total_excl_cents: number;
61557
- total_incl_cents: number;
61558
- updated_at: string;
61559
- vat_cents: number;
61560
- vat_percentage: number;
61561
- werkbon_id: string | null;
61562
- };
61563
- Insert: {
61564
- created_at?: string;
61565
- created_by?: string | null;
61566
- customer_id?: string | null;
61567
- customer_name?: string | null;
61568
- id?: string;
61569
- invoice_number?: string | null;
61570
- note?: string | null;
61571
- status?: string;
61572
- total_excl_cents?: number;
61573
- total_incl_cents?: number;
61574
- updated_at?: string;
61575
- vat_cents?: number;
61576
- vat_percentage?: number;
61577
- werkbon_id?: string | null;
61578
- };
61579
- Update: {
61580
- created_at?: string;
61581
- created_by?: string | null;
61582
- customer_id?: string | null;
61583
- customer_name?: string | null;
61584
- id?: string;
61585
- invoice_number?: string | null;
61586
- note?: string | null;
61587
- status?: string;
61588
- total_excl_cents?: number;
61589
- total_incl_cents?: number;
61590
- updated_at?: string;
61591
- vat_cents?: number;
61592
- vat_percentage?: number;
61593
- werkbon_id?: string | null;
61594
- };
61595
- Relationships: [{
61596
- foreignKeyName: "uren_facturen_customer_id_fkey";
61597
- columns: ["customer_id"];
61598
- isOneToOne: false;
61599
- referencedRelation: "itk_customers";
61600
- referencedColumns: ["id"];
61601
- }, {
61602
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
61603
- columns: ["werkbon_id"];
61604
- isOneToOne: true;
61605
- referencedRelation: "werkbonnen";
61606
- referencedColumns: ["id"];
61607
- }];
61608
- };
61609
- uren_factuur_regels: {
61610
- Row: {
61611
- created_at: string;
61612
- description: string;
61613
- factuur_id: string;
61614
- id: string;
61615
- kind: string | null;
61616
- quantity: number;
61617
- sort_order: number;
61618
- total_cents: number;
61619
- unit: string;
61620
- unit_price_cents: number;
61621
- };
61622
- Insert: {
61623
- created_at?: string;
61624
- description: string;
61625
- factuur_id: string;
61626
- id?: string;
61627
- kind?: string | null;
61628
- quantity?: number;
61629
- sort_order?: number;
61630
- total_cents?: number;
61631
- unit?: string;
61632
- unit_price_cents?: number;
61633
- };
61634
- Update: {
61635
- created_at?: string;
61636
- description?: string;
61637
- factuur_id?: string;
61638
- id?: string;
61639
- kind?: string | null;
61640
- quantity?: number;
61641
- sort_order?: number;
61642
- total_cents?: number;
61643
- unit?: string;
61644
- unit_price_cents?: number;
61645
- };
61646
- Relationships: [{
61647
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
61648
- columns: ["factuur_id"];
61649
- isOneToOne: false;
61650
- referencedRelation: "uren_facturen";
61651
- referencedColumns: ["id"];
61652
- }];
61653
- };
61654
62469
  uren_offerte_regels: {
61655
62470
  Row: {
61656
62471
  created_at: string;
@@ -63490,6 +64305,114 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
63490
64305
  };
63491
64306
  Relationships: [];
63492
64307
  };
64308
+ uren_facturen: {
64309
+ Row: {
64310
+ created_at: string | null;
64311
+ created_by: string | null;
64312
+ customer_id: string | null;
64313
+ customer_name: string | null;
64314
+ id: string | null;
64315
+ invoice_number: string | null;
64316
+ note: string | null;
64317
+ status: string | null;
64318
+ total_excl_cents: number | null;
64319
+ total_incl_cents: number | null;
64320
+ updated_at: string | null;
64321
+ vat_cents: number | null;
64322
+ vat_percentage: number | null;
64323
+ werkbon_id: string | null;
64324
+ };
64325
+ Insert: {
64326
+ created_at?: string | null;
64327
+ created_by?: string | null;
64328
+ customer_id?: string | null;
64329
+ customer_name?: string | null;
64330
+ id?: string | null;
64331
+ invoice_number?: string | null;
64332
+ note?: string | null;
64333
+ status?: string | null;
64334
+ total_excl_cents?: number | null;
64335
+ total_incl_cents?: number | null;
64336
+ updated_at?: string | null;
64337
+ vat_cents?: number | null;
64338
+ vat_percentage?: number | null;
64339
+ werkbon_id?: never;
64340
+ };
64341
+ Update: {
64342
+ created_at?: string | null;
64343
+ created_by?: string | null;
64344
+ customer_id?: string | null;
64345
+ customer_name?: string | null;
64346
+ id?: string | null;
64347
+ invoice_number?: string | null;
64348
+ note?: string | null;
64349
+ status?: string | null;
64350
+ total_excl_cents?: number | null;
64351
+ total_incl_cents?: number | null;
64352
+ updated_at?: string | null;
64353
+ vat_cents?: number | null;
64354
+ vat_percentage?: number | null;
64355
+ werkbon_id?: never;
64356
+ };
64357
+ Relationships: [{
64358
+ foreignKeyName: "invoices_customer_id_fkey";
64359
+ columns: ["customer_id"];
64360
+ isOneToOne: false;
64361
+ referencedRelation: "itk_customers";
64362
+ referencedColumns: ["id"];
64363
+ }];
64364
+ };
64365
+ uren_factuur_regels: {
64366
+ Row: {
64367
+ created_at: string | null;
64368
+ description: string | null;
64369
+ factuur_id: string | null;
64370
+ id: string | null;
64371
+ kind: string | null;
64372
+ quantity: number | null;
64373
+ sort_order: number | null;
64374
+ total_cents: number | null;
64375
+ unit: string | null;
64376
+ unit_price_cents: number | null;
64377
+ };
64378
+ Insert: {
64379
+ created_at?: string | null;
64380
+ description?: string | null;
64381
+ factuur_id?: string | null;
64382
+ id?: string | null;
64383
+ kind?: string | null;
64384
+ quantity?: number | null;
64385
+ sort_order?: number | null;
64386
+ total_cents?: number | null;
64387
+ unit?: string | null;
64388
+ unit_price_cents?: number | null;
64389
+ };
64390
+ Update: {
64391
+ created_at?: string | null;
64392
+ description?: string | null;
64393
+ factuur_id?: string | null;
64394
+ id?: string | null;
64395
+ kind?: string | null;
64396
+ quantity?: number | null;
64397
+ sort_order?: number | null;
64398
+ total_cents?: number | null;
64399
+ unit?: string | null;
64400
+ unit_price_cents?: number | null;
64401
+ };
64402
+ Relationships: [{
64403
+ foreignKeyName: "invoice_items_invoice_id_fkey";
64404
+ columns: ["factuur_id"];
64405
+ isOneToOne: false;
64406
+ referencedRelation: "invoices";
64407
+ referencedColumns: ["id"];
64408
+ }, {
64409
+ foreignKeyName: "invoice_items_invoice_id_fkey";
64410
+ columns: ["factuur_id"];
64411
+ isOneToOne: false;
64412
+ referencedRelation: "uren_facturen";
64413
+ referencedColumns: ["id"];
64414
+ }];
64415
+ };
63493
64416
  v_external_customers_exact: {
63494
64417
  Row: {
63495
64418
  account_number: string | null;
@@ -63995,6 +64918,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
63995
64918
  gebruiker_id: string | null;
63996
64919
  gebruiker_naam: string;
63997
64920
  gestart_op: string | null;
64921
+ herkomst: string | null;
63998
64922
  id: string;
63999
64923
  idempotentie_sleutel: string | null;
64000
64924
  is_herprint: boolean;
@@ -64115,6 +65039,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
64115
65039
  gebruiker_id: string | null;
64116
65040
  gebruiker_naam: string;
64117
65041
  gestart_op: string | null;
65042
+ herkomst: string | null;
64118
65043
  id: string;
64119
65044
  idempotentie_sleutel: string | null;
64120
65045
  is_herprint: boolean;
@@ -64716,6 +65641,46 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
64716
65641
  Args: never;
64717
65642
  Returns: boolean;
64718
65643
  };
65644
+ invoice_create_from_source: {
65645
+ Args: {
65646
+ _payload?: import("../integrations/supabase/types.js").Json;
65647
+ _source_id: string;
65648
+ _source_type: string;
65649
+ };
65650
+ Returns: import("../integrations/supabase/types.js").Json;
65651
+ };
65652
+ invoice_get_billable_lines: {
65653
+ Args: {
65654
+ _invoice_id: string;
65655
+ };
65656
+ Returns: import("../integrations/supabase/types.js").Json;
65657
+ };
65658
+ invoice_get_for_source: {
65659
+ Args: {
65660
+ _source_id: string;
65661
+ _source_type: string;
65662
+ };
65663
+ Returns: import("../integrations/supabase/types.js").Json;
65664
+ };
65665
+ invoice_get_summary: {
65666
+ Args: {
65667
+ _invoice_id: string;
65668
+ };
65669
+ Returns: import("../integrations/supabase/types.js").Json;
65670
+ };
65671
+ invoice_list_sources: {
65672
+ Args: {
65673
+ _limit?: number;
65674
+ _source_type?: string;
65675
+ };
65676
+ Returns: import("../integrations/supabase/types.js").Json;
65677
+ };
65678
+ invoice_recalc_totals: {
65679
+ Args: {
65680
+ _invoice_id: string;
65681
+ };
65682
+ Returns: import("../integrations/supabase/types.js").Json;
65683
+ };
64719
65684
  is_authenticated: {
64720
65685
  Args: never;
64721
65686
  Returns: boolean;
@@ -64784,6 +65749,29 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
64784
65749
  roles: string[];
64785
65750
  }[];
64786
65751
  };
65752
+ list_monteur_absences: {
65753
+ Args: {
65754
+ _from: string;
65755
+ _to: string;
65756
+ };
65757
+ Returns: {
65758
+ absence_date: string;
65759
+ end_time: string;
65760
+ full_day: boolean;
65761
+ kind: string;
65762
+ monteur_id: string;
65763
+ start_time: string;
65764
+ }[];
65765
+ };
65766
+ list_monteurs: {
65767
+ Args: never;
65768
+ Returns: {
65769
+ avatar_url: string;
65770
+ display_name: string;
65771
+ email: string;
65772
+ id: string;
65773
+ }[];
65774
+ };
64787
65775
  list_my_planning_items: {
64788
65776
  Args: {
64789
65777
  _from: string;
@@ -65737,6 +66725,13 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
65737
66725
  isSetofReturn: false;
65738
66726
  };
65739
66727
  };
66728
+ pick_cleanup_maintenance: {
66729
+ Args: {
66730
+ _heartbeat_hours?: number;
66731
+ _log_days?: number;
66732
+ };
66733
+ Returns: import("../integrations/supabase/types.js").Json;
66734
+ };
65740
66735
  pick_complete_print: {
65741
66736
  Args: {
65742
66737
  _printer_id: string;
@@ -65788,6 +66783,14 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
65788
66783
  Args: never;
65789
66784
  Returns: string;
65790
66785
  };
66786
+ pick_day_counts: {
66787
+ Args: {
66788
+ _pick_day?: string;
66789
+ _screen_id?: string;
66790
+ _station_id?: string;
66791
+ };
66792
+ Returns: import("../integrations/supabase/types.js").Json;
66793
+ };
65791
66794
  pick_document_layout_data: {
65792
66795
  Args: {
65793
66796
  _layout_id: string;
@@ -65825,6 +66828,14 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
65825
66828
  };
65826
66829
  Returns: undefined;
65827
66830
  };
66831
+ pick_reprint_document: {
66832
+ Args: {
66833
+ _queue_item_id: string;
66834
+ _session_id: string;
66835
+ _throttle_seconds?: number;
66836
+ };
66837
+ Returns: string;
66838
+ };
65828
66839
  pick_reset_print: {
65829
66840
  Args: {
65830
66841
  _queue_item_id: string;
@@ -65890,6 +66901,12 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
65890
66901
  };
65891
66902
  Returns: string;
65892
66903
  };
66904
+ pick_sync_queue_throttled: {
66905
+ Args: {
66906
+ _min_seconds?: number;
66907
+ };
66908
+ Returns: import("../integrations/supabase/types.js").Json;
66909
+ };
65893
66910
  pickstation_get_orders_raw: {
65894
66911
  Args: never;
65895
66912
  Returns: import("../integrations/supabase/types.js").Json;
@@ -66035,6 +67052,12 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
66035
67052
  };
66036
67053
  Returns: boolean;
66037
67054
  };
67055
+ release_stale_order_invoice_links: {
67056
+ Args: {
67057
+ _minutes?: number;
67058
+ };
67059
+ Returns: number;
67060
+ };
66038
67061
  reorder_customer_price_groups: {
66039
67062
  Args: {
66040
67063
  _ids: string[];
@@ -66553,6 +67576,20 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
66553
67576
  };
66554
67577
  Returns: undefined;
66555
67578
  };
67579
+ twinfield_deactivate_connection: {
67580
+ Args: {
67581
+ p_connection_id: string;
67582
+ p_user_id: string;
67583
+ };
67584
+ Returns: import("../integrations/supabase/types.js").Json;
67585
+ };
67586
+ twinfield_handle_administration_change: {
67587
+ Args: {
67588
+ _administration_code: string;
67589
+ _user_id: string;
67590
+ };
67591
+ Returns: undefined;
67592
+ };
66556
67593
  twinfield_prune_push_queue: {
66557
67594
  Args: never;
66558
67595
  Returns: number;
@@ -66572,10 +67609,11 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
66572
67609
  p_company_name?: string;
66573
67610
  p_environment: string;
66574
67611
  p_office_code?: string;
67612
+ p_reset_sync?: boolean;
66575
67613
  p_status?: string;
66576
67614
  p_user_id: string;
66577
67615
  };
66578
- Returns: string;
67616
+ Returns: import("../integrations/supabase/types.js").Json;
66579
67617
  };
66580
67618
  upsert_auto_fulfillment_log: {
66581
67619
  Args: {
@@ -69411,6 +70449,42 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
69411
70449
  };
69412
70450
  Relationships: [];
69413
70451
  };
70452
+ document_bronregels: {
70453
+ Row: {
70454
+ bron: string;
70455
+ created_at: string;
70456
+ documenttype: string;
70457
+ herkomst: string;
70458
+ id: string;
70459
+ layout_id: string | null;
70460
+ updated_at: string;
70461
+ };
70462
+ Insert: {
70463
+ bron?: string;
70464
+ created_at?: string;
70465
+ documenttype: string;
70466
+ herkomst: string;
70467
+ id?: string;
70468
+ layout_id?: string | null;
70469
+ updated_at?: string;
70470
+ };
70471
+ Update: {
70472
+ bron?: string;
70473
+ created_at?: string;
70474
+ documenttype?: string;
70475
+ herkomst?: string;
70476
+ id?: string;
70477
+ layout_id?: string | null;
70478
+ updated_at?: string;
70479
+ };
70480
+ Relationships: [{
70481
+ foreignKeyName: "document_bronregels_layout_id_fkey";
70482
+ columns: ["layout_id"];
70483
+ isOneToOne: false;
70484
+ referencedRelation: "document_layouts";
70485
+ referencedColumns: ["id"];
70486
+ }];
70487
+ };
69414
70488
  document_formaat_printers: {
69415
70489
  Row: {
69416
70490
  created_at: string;
@@ -69688,6 +70762,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
69688
70762
  Row: {
69689
70763
  actief: boolean;
69690
70764
  breedte_mm: number;
70765
+ bron: string;
69691
70766
  config: import("../integrations/supabase/types.js").Json;
69692
70767
  created_at: string;
69693
70768
  created_by: string | null;
@@ -69705,12 +70780,14 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
69705
70780
  orientatie: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_orientation"];
69706
70781
  page_settings: import("../integrations/supabase/types.js").Json;
69707
70782
  papierformaat: string;
70783
+ systeem: boolean;
69708
70784
  thumbnail_url: string | null;
69709
70785
  updated_at: string;
69710
70786
  };
69711
70787
  Insert: {
69712
70788
  actief?: boolean;
69713
70789
  breedte_mm?: number;
70790
+ bron?: string;
69714
70791
  config?: import("../integrations/supabase/types.js").Json;
69715
70792
  created_at?: string;
69716
70793
  created_by?: string | null;
@@ -69728,12 +70805,14 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
69728
70805
  orientatie?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_orientation"];
69729
70806
  page_settings?: import("../integrations/supabase/types.js").Json;
69730
70807
  papierformaat?: string;
70808
+ systeem?: boolean;
69731
70809
  thumbnail_url?: string | null;
69732
70810
  updated_at?: string;
69733
70811
  };
69734
70812
  Update: {
69735
70813
  actief?: boolean;
69736
70814
  breedte_mm?: number;
70815
+ bron?: string;
69737
70816
  config?: import("../integrations/supabase/types.js").Json;
69738
70817
  created_at?: string;
69739
70818
  created_by?: string | null;
@@ -69751,11 +70830,48 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
69751
70830
  orientatie?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_orientation"];
69752
70831
  page_settings?: import("../integrations/supabase/types.js").Json;
69753
70832
  papierformaat?: string;
70833
+ systeem?: boolean;
69754
70834
  thumbnail_url?: string | null;
69755
70835
  updated_at?: string;
69756
70836
  };
69757
70837
  Relationships: [];
69758
70838
  };
70839
+ document_werkplek_printers: {
70840
+ Row: {
70841
+ created_at: string;
70842
+ documenttype: string;
70843
+ id: string;
70844
+ papierformaat: string | null;
70845
+ printer_id: string | null;
70846
+ updated_at: string;
70847
+ werkplek: string;
70848
+ };
70849
+ Insert: {
70850
+ created_at?: string;
70851
+ documenttype: string;
70852
+ id?: string;
70853
+ papierformaat?: string | null;
70854
+ printer_id?: string | null;
70855
+ updated_at?: string;
70856
+ werkplek: string;
70857
+ };
70858
+ Update: {
70859
+ created_at?: string;
70860
+ documenttype?: string;
70861
+ id?: string;
70862
+ papierformaat?: string | null;
70863
+ printer_id?: string | null;
70864
+ updated_at?: string;
70865
+ werkplek?: string;
70866
+ };
70867
+ Relationships: [{
70868
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
70869
+ columns: ["printer_id"];
70870
+ isOneToOne: false;
70871
+ referencedRelation: "printers";
70872
+ referencedColumns: ["id"];
70873
+ }];
70874
+ };
69759
70875
  email_auth_connections: {
69760
70876
  Row: {
69761
70877
  access_token_encrypted: string | null;
@@ -71697,42 +72813,6 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
71697
72813
  };
71698
72814
  Relationships: [];
71699
72815
  };
71700
- facturen: {
71701
- Row: {
71702
- bedrag_incl_btw: number;
71703
- created_at: string;
71704
- datum: string;
71705
- factuurnummer: string;
71706
- id: string;
71707
- klantnaam: string;
71708
- status: string;
71709
- updated_at: string;
71710
- user_id: string;
71711
- };
71712
- Insert: {
71713
- bedrag_incl_btw: number;
71714
- created_at?: string;
71715
- datum?: string;
71716
- factuurnummer: string;
71717
- id?: string;
71718
- klantnaam: string;
71719
- status?: string;
71720
- updated_at?: string;
71721
- user_id?: string;
71722
- };
71723
- Update: {
71724
- bedrag_incl_btw?: number;
71725
- created_at?: string;
71726
- datum?: string;
71727
- factuurnummer?: string;
71728
- id?: string;
71729
- klantnaam?: string;
71730
- status?: string;
71731
- updated_at?: string;
71732
- user_id?: string;
71733
- };
71734
- Relationships: [];
71735
- };
71736
72816
  floricode_connection_settings: {
71737
72817
  Row: {
71738
72818
  catalog_key: string | null;
@@ -74037,8 +75117,63 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
74037
75117
  };
74038
75118
  Relationships: [];
74039
75119
  };
75120
+ invoice_items: {
75121
+ Row: {
75122
+ created_at: string;
75123
+ description: string;
75124
+ id: string;
75125
+ invoice_id: string;
75126
+ kind: string;
75127
+ quantity: number;
75128
+ sort_order: number;
75129
+ source_line_ref: string | null;
75130
+ total_cents: number;
75131
+ unit: string;
75132
+ unit_price_cents: number;
75133
+ };
75134
+ Insert: {
75135
+ created_at?: string;
75136
+ description?: string;
75137
+ id?: string;
75138
+ invoice_id: string;
75139
+ kind?: string;
75140
+ quantity?: number;
75141
+ sort_order?: number;
75142
+ source_line_ref?: string | null;
75143
+ total_cents?: number;
75144
+ unit?: string;
75145
+ unit_price_cents?: number;
75146
+ };
75147
+ Update: {
75148
+ created_at?: string;
75149
+ description?: string;
75150
+ id?: string;
75151
+ invoice_id?: string;
75152
+ kind?: string;
75153
+ quantity?: number;
75154
+ sort_order?: number;
75155
+ source_line_ref?: string | null;
75156
+ total_cents?: number;
75157
+ unit?: string;
75158
+ unit_price_cents?: number;
75159
+ };
75160
+ Relationships: [{
75161
+ foreignKeyName: "invoice_items_invoice_id_fkey";
75162
+ columns: ["invoice_id"];
75163
+ isOneToOne: false;
75164
+ referencedRelation: "invoices";
75165
+ referencedColumns: ["id"];
75166
+ }, {
75167
+ foreignKeyName: "invoice_items_invoice_id_fkey";
75168
+ columns: ["invoice_id"];
75169
+ isOneToOne: false;
75170
+ referencedRelation: "uren_facturen";
75171
+ referencedColumns: ["id"];
75172
+ }];
75173
+ };
74040
75174
  invoice_post_idempotency: {
74041
75175
  Row: {
75176
+ administration_code: string;
74042
75177
  client_request_id: string;
74043
75178
  completed_at: string | null;
74044
75179
  created_at: string;
@@ -74048,6 +75183,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
74048
75183
  user_id: string;
74049
75184
  };
74050
75185
  Insert: {
75186
+ administration_code?: string;
74051
75187
  client_request_id: string;
74052
75188
  completed_at?: string | null;
74053
75189
  created_at?: string;
@@ -74057,6 +75193,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
74057
75193
  user_id: string;
74058
75194
  };
74059
75195
  Update: {
75196
+ administration_code?: string;
74060
75197
  client_request_id?: string;
74061
75198
  completed_at?: string | null;
74062
75199
  created_at?: string;
@@ -74262,6 +75399,75 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
74262
75399
  };
74263
75400
  Relationships: [];
74264
75401
  };
75402
+ invoices: {
75403
+ Row: {
75404
+ created_at: string;
75405
+ created_by: string | null;
75406
+ customer_id: string | null;
75407
+ customer_name: string | null;
75408
+ due_date: string | null;
75409
+ id: string;
75410
+ invoice_date: string;
75411
+ invoice_number: string | null;
75412
+ note: string | null;
75413
+ source_number: string | null;
75414
+ source_ref: string | null;
75415
+ source_type: string;
75416
+ status: string;
75417
+ subtotal_cents: number;
75418
+ total_cents: number;
75419
+ updated_at: string;
75420
+ vat_cents: number;
75421
+ vat_rate: number;
75422
+ };
75423
+ Insert: {
75424
+ created_at?: string;
75425
+ created_by?: string | null;
75426
+ customer_id?: string | null;
75427
+ customer_name?: string | null;
75428
+ due_date?: string | null;
75429
+ id?: string;
75430
+ invoice_date?: string;
75431
+ invoice_number?: string | null;
75432
+ note?: string | null;
75433
+ source_number?: string | null;
75434
+ source_ref?: string | null;
75435
+ source_type?: string;
75436
+ status?: string;
75437
+ subtotal_cents?: number;
75438
+ total_cents?: number;
75439
+ updated_at?: string;
75440
+ vat_cents?: number;
75441
+ vat_rate?: number;
75442
+ };
75443
+ Update: {
75444
+ created_at?: string;
75445
+ created_by?: string | null;
75446
+ customer_id?: string | null;
75447
+ customer_name?: string | null;
75448
+ due_date?: string | null;
75449
+ id?: string;
75450
+ invoice_date?: string;
75451
+ invoice_number?: string | null;
75452
+ note?: string | null;
75453
+ source_number?: string | null;
75454
+ source_ref?: string | null;
75455
+ source_type?: string;
75456
+ status?: string;
75457
+ subtotal_cents?: number;
75458
+ total_cents?: number;
75459
+ updated_at?: string;
75460
+ vat_cents?: number;
75461
+ vat_rate?: number;
75462
+ };
75463
+ Relationships: [{
75464
+ foreignKeyName: "invoices_customer_id_fkey";
75465
+ columns: ["customer_id"];
75466
+ isOneToOne: false;
75467
+ referencedRelation: "itk_customers";
75468
+ referencedColumns: ["id"];
75469
+ }];
75470
+ };
74265
75471
  itk_contact_persons: {
74266
75472
  Row: {
74267
75473
  created_at: string;
@@ -77202,6 +78408,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
77202
78408
  enforce: boolean;
77203
78409
  is_active: boolean;
77204
78410
  last_seen_at: string;
78411
+ missing_count: number;
77205
78412
  module_id: string;
77206
78413
  name: string;
77207
78414
  shell_id: string | null;
@@ -77212,6 +78419,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
77212
78419
  enforce?: boolean;
77213
78420
  is_active?: boolean;
77214
78421
  last_seen_at?: string;
78422
+ missing_count?: number;
77215
78423
  module_id: string;
77216
78424
  name: string;
77217
78425
  shell_id?: string | null;
@@ -77222,6 +78430,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
77222
78430
  enforce?: boolean;
77223
78431
  is_active?: boolean;
77224
78432
  last_seen_at?: string;
78433
+ missing_count?: number;
77225
78434
  module_id?: string;
77226
78435
  name?: string;
77227
78436
  shell_id?: string | null;
@@ -78221,6 +79430,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
78221
79430
  };
78222
79431
  order_invoice_links: {
78223
79432
  Row: {
79433
+ administration_code: string | null;
78224
79434
  attempts: number;
78225
79435
  created_at: string;
78226
79436
  error_message: string | null;
@@ -78233,6 +79443,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
78233
79443
  updated_at: string;
78234
79444
  };
78235
79445
  Insert: {
79446
+ administration_code?: string | null;
78236
79447
  attempts?: number;
78237
79448
  created_at?: string;
78238
79449
  error_message?: string | null;
@@ -78245,6 +79456,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
78245
79456
  updated_at?: string;
78246
79457
  };
78247
79458
  Update: {
79459
+ administration_code?: string | null;
78248
79460
  attempts?: number;
78249
79461
  created_at?: string;
78250
79462
  error_message?: string | null;
@@ -78432,6 +79644,8 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
78432
79644
  orders: {
78433
79645
  Row: {
78434
79646
  buffer_id: string | null;
79647
+ cancel_reason: string | null;
79648
+ cancelled_at: string | null;
78435
79649
  created_at: string;
78436
79650
  custom_fields: import("../integrations/supabase/types.js").Json;
78437
79651
  customer_id: string | null;
@@ -78454,6 +79668,8 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
78454
79668
  };
78455
79669
  Insert: {
78456
79670
  buffer_id?: string | null;
79671
+ cancel_reason?: string | null;
79672
+ cancelled_at?: string | null;
78457
79673
  created_at?: string;
78458
79674
  custom_fields?: import("../integrations/supabase/types.js").Json;
78459
79675
  customer_id?: string | null;
@@ -78476,6 +79692,8 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
78476
79692
  };
78477
79693
  Update: {
78478
79694
  buffer_id?: string | null;
79695
+ cancel_reason?: string | null;
79696
+ cancelled_at?: string | null;
78479
79697
  created_at?: string;
78480
79698
  custom_fields?: import("../integrations/supabase/types.js").Json;
78481
79699
  customer_id?: string | null;
@@ -79404,6 +80622,27 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
79404
80622
  referencedColumns: ["id"];
79405
80623
  }];
79406
80624
  };
80625
+ pick_sync_state: {
80626
+ Row: {
80627
+ id: boolean;
80628
+ last_cleanup_at: string | null;
80629
+ last_sync_at: string | null;
80630
+ updated_at: string;
80631
+ };
80632
+ Insert: {
80633
+ id?: boolean;
80634
+ last_cleanup_at?: string | null;
80635
+ last_sync_at?: string | null;
80636
+ updated_at?: string;
80637
+ };
80638
+ Update: {
80639
+ id?: boolean;
80640
+ last_cleanup_at?: string | null;
80641
+ last_sync_at?: string | null;
80642
+ updated_at?: string;
80643
+ };
80644
+ Relationships: [];
80645
+ };
79407
80646
  pick_task_document_types: {
79408
80647
  Row: {
79409
80648
  created_at: string;
@@ -79686,6 +80925,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
79686
80925
  gebruiker_id: string | null;
79687
80926
  gebruiker_naam: string;
79688
80927
  gestart_op: string | null;
80928
+ herkomst: string | null;
79689
80929
  id: string;
79690
80930
  idempotentie_sleutel: string | null;
79691
80931
  is_herprint: boolean;
@@ -79715,6 +80955,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
79715
80955
  gebruiker_id?: string | null;
79716
80956
  gebruiker_naam?: string;
79717
80957
  gestart_op?: string | null;
80958
+ herkomst?: string | null;
79718
80959
  id?: string;
79719
80960
  idempotentie_sleutel?: string | null;
79720
80961
  is_herprint?: boolean;
@@ -79744,6 +80985,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
79744
80985
  gebruiker_id?: string | null;
79745
80986
  gebruiker_naam?: string;
79746
80987
  gestart_op?: string | null;
80988
+ herkomst?: string | null;
79747
80989
  id?: string;
79748
80990
  idempotentie_sleutel?: string | null;
79749
80991
  is_herprint?: boolean;
@@ -82748,12 +83990,16 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
82748
83990
  company_name: string | null;
82749
83991
  connected_at: string | null;
82750
83992
  created_at: string;
83993
+ disconnected_at: string | null;
82751
83994
  environment: string;
82752
83995
  id: string;
83996
+ initial_sync_completed_at: string | null;
83997
+ initial_sync_started_at: string | null;
82753
83998
  is_active: boolean;
82754
83999
  label: string | null;
82755
84000
  office_code: string | null;
82756
84001
  redirect_uri: string | null;
84002
+ superseded_at: string | null;
82757
84003
  updated_at: string;
82758
84004
  user_id: string;
82759
84005
  };
@@ -82764,12 +84010,16 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
82764
84010
  company_name?: string | null;
82765
84011
  connected_at?: string | null;
82766
84012
  created_at?: string;
84013
+ disconnected_at?: string | null;
82767
84014
  environment: string;
82768
84015
  id?: string;
84016
+ initial_sync_completed_at?: string | null;
84017
+ initial_sync_started_at?: string | null;
82769
84018
  is_active?: boolean;
82770
84019
  label?: string | null;
82771
84020
  office_code?: string | null;
82772
84021
  redirect_uri?: string | null;
84022
+ superseded_at?: string | null;
82773
84023
  updated_at?: string;
82774
84024
  user_id: string;
82775
84025
  };
@@ -82780,12 +84030,16 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
82780
84030
  company_name?: string | null;
82781
84031
  connected_at?: string | null;
82782
84032
  created_at?: string;
84033
+ disconnected_at?: string | null;
82783
84034
  environment?: string;
82784
84035
  id?: string;
84036
+ initial_sync_completed_at?: string | null;
84037
+ initial_sync_started_at?: string | null;
82785
84038
  is_active?: boolean;
82786
84039
  label?: string | null;
82787
84040
  office_code?: string | null;
82788
84041
  redirect_uri?: string | null;
84042
+ superseded_at?: string | null;
82789
84043
  updated_at?: string;
82790
84044
  user_id?: string;
82791
84045
  };
@@ -82845,6 +84099,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
82845
84099
  twinfield_customers: {
82846
84100
  Row: {
82847
84101
  address: string | null;
84102
+ administration_code: string;
82848
84103
  city: string | null;
82849
84104
  country: string | null;
82850
84105
  created_at: string;
@@ -82864,6 +84119,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
82864
84119
  };
82865
84120
  Insert: {
82866
84121
  address?: string | null;
84122
+ administration_code?: string;
82867
84123
  city?: string | null;
82868
84124
  country?: string | null;
82869
84125
  created_at?: string;
@@ -82883,6 +84139,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
82883
84139
  };
82884
84140
  Update: {
82885
84141
  address?: string | null;
84142
+ administration_code?: string;
82886
84143
  city?: string | null;
82887
84144
  country?: string | null;
82888
84145
  created_at?: string;
@@ -83096,7 +84353,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83096
84353
  };
83097
84354
  twinfield_invoice_settings: {
83098
84355
  Row: {
84356
+ administration_code: string | null;
83099
84357
  auto_invoice_enabled: boolean;
84358
+ auto_invoice_start_date: string | null;
83100
84359
  auto_invoice_trigger_statuses: string[];
83101
84360
  created_at: string;
83102
84361
  debtor_gl_account: string;
@@ -83110,15 +84369,19 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83110
84369
  invoice_enabled_fo: boolean;
83111
84370
  invoice_enabled_ho: boolean;
83112
84371
  invoice_enabled_mo: boolean;
84372
+ needs_review: boolean;
83113
84373
  payment_gl_account: string;
83114
84374
  payment_journal_code: string;
84375
+ settings_confirmed_at: string | null;
83115
84376
  updated_at: string;
83116
84377
  user_id: string;
83117
84378
  vat_code_eu_reverse: string | null;
83118
84379
  vat_code_export: string | null;
83119
84380
  };
83120
84381
  Insert: {
84382
+ administration_code?: string | null;
83121
84383
  auto_invoice_enabled?: boolean;
84384
+ auto_invoice_start_date?: string | null;
83122
84385
  auto_invoice_trigger_statuses?: string[];
83123
84386
  created_at?: string;
83124
84387
  debtor_gl_account?: string;
@@ -83132,15 +84395,19 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83132
84395
  invoice_enabled_fo?: boolean;
83133
84396
  invoice_enabled_ho?: boolean;
83134
84397
  invoice_enabled_mo?: boolean;
84398
+ needs_review?: boolean;
83135
84399
  payment_gl_account?: string;
83136
84400
  payment_journal_code?: string;
84401
+ settings_confirmed_at?: string | null;
83137
84402
  updated_at?: string;
83138
84403
  user_id: string;
83139
84404
  vat_code_eu_reverse?: string | null;
83140
84405
  vat_code_export?: string | null;
83141
84406
  };
83142
84407
  Update: {
84408
+ administration_code?: string | null;
83143
84409
  auto_invoice_enabled?: boolean;
84410
+ auto_invoice_start_date?: string | null;
83144
84411
  auto_invoice_trigger_statuses?: string[];
83145
84412
  created_at?: string;
83146
84413
  debtor_gl_account?: string;
@@ -83154,8 +84421,10 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83154
84421
  invoice_enabled_fo?: boolean;
83155
84422
  invoice_enabled_ho?: boolean;
83156
84423
  invoice_enabled_mo?: boolean;
84424
+ needs_review?: boolean;
83157
84425
  payment_gl_account?: string;
83158
84426
  payment_journal_code?: string;
84427
+ settings_confirmed_at?: string | null;
83159
84428
  updated_at?: string;
83160
84429
  user_id?: string;
83161
84430
  vat_code_eu_reverse?: string | null;
@@ -83760,114 +85029,6 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
83760
85029
  };
83761
85030
  Relationships: [];
83762
85031
  };
83763
- uren_facturen: {
83764
- Row: {
83765
- created_at: string;
83766
- created_by: string | null;
83767
- customer_id: string | null;
83768
- customer_name: string | null;
83769
- id: string;
83770
- invoice_number: string | null;
83771
- note: string | null;
83772
- status: string;
83773
- total_excl_cents: number;
83774
- total_incl_cents: number;
83775
- updated_at: string;
83776
- vat_cents: number;
83777
- vat_percentage: number;
83778
- werkbon_id: string | null;
83779
- };
83780
- Insert: {
83781
- created_at?: string;
83782
- created_by?: string | null;
83783
- customer_id?: string | null;
83784
- customer_name?: string | null;
83785
- id?: string;
83786
- invoice_number?: string | null;
83787
- note?: string | null;
83788
- status?: string;
83789
- total_excl_cents?: number;
83790
- total_incl_cents?: number;
83791
- updated_at?: string;
83792
- vat_cents?: number;
83793
- vat_percentage?: number;
83794
- werkbon_id?: string | null;
83795
- };
83796
- Update: {
83797
- created_at?: string;
83798
- created_by?: string | null;
83799
- customer_id?: string | null;
83800
- customer_name?: string | null;
83801
- id?: string;
83802
- invoice_number?: string | null;
83803
- note?: string | null;
83804
- status?: string;
83805
- total_excl_cents?: number;
83806
- total_incl_cents?: number;
83807
- updated_at?: string;
83808
- vat_cents?: number;
83809
- vat_percentage?: number;
83810
- werkbon_id?: string | null;
83811
- };
83812
- Relationships: [{
83813
- foreignKeyName: "uren_facturen_customer_id_fkey";
83814
- columns: ["customer_id"];
83815
- isOneToOne: false;
83816
- referencedRelation: "itk_customers";
83817
- referencedColumns: ["id"];
83818
- }, {
83819
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
83820
- columns: ["werkbon_id"];
83821
- isOneToOne: true;
83822
- referencedRelation: "werkbonnen";
83823
- referencedColumns: ["id"];
83824
- }];
83825
- };
83826
- uren_factuur_regels: {
83827
- Row: {
83828
- created_at: string;
83829
- description: string;
83830
- factuur_id: string;
83831
- id: string;
83832
- kind: string | null;
83833
- quantity: number;
83834
- sort_order: number;
83835
- total_cents: number;
83836
- unit: string;
83837
- unit_price_cents: number;
83838
- };
83839
- Insert: {
83840
- created_at?: string;
83841
- description: string;
83842
- factuur_id: string;
83843
- id?: string;
83844
- kind?: string | null;
83845
- quantity?: number;
83846
- sort_order?: number;
83847
- total_cents?: number;
83848
- unit?: string;
83849
- unit_price_cents?: number;
83850
- };
83851
- Update: {
83852
- created_at?: string;
83853
- description?: string;
83854
- factuur_id?: string;
83855
- id?: string;
83856
- kind?: string | null;
83857
- quantity?: number;
83858
- sort_order?: number;
83859
- total_cents?: number;
83860
- unit?: string;
83861
- unit_price_cents?: number;
83862
- };
83863
- Relationships: [{
83864
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
83865
- columns: ["factuur_id"];
83866
- isOneToOne: false;
83867
- referencedRelation: "uren_facturen";
83868
- referencedColumns: ["id"];
83869
- }];
83870
- };
83871
85032
  uren_offerte_regels: {
83872
85033
  Row: {
83873
85034
  created_at: string;
@@ -85707,6 +86868,114 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
85707
86868
  };
85708
86869
  Relationships: [];
85709
86870
  };
86871
+ uren_facturen: {
86872
+ Row: {
86873
+ created_at: string | null;
86874
+ created_by: string | null;
86875
+ customer_id: string | null;
86876
+ customer_name: string | null;
86877
+ id: string | null;
86878
+ invoice_number: string | null;
86879
+ note: string | null;
86880
+ status: string | null;
86881
+ total_excl_cents: number | null;
86882
+ total_incl_cents: number | null;
86883
+ updated_at: string | null;
86884
+ vat_cents: number | null;
86885
+ vat_percentage: number | null;
86886
+ werkbon_id: string | null;
86887
+ };
86888
+ Insert: {
86889
+ created_at?: string | null;
86890
+ created_by?: string | null;
86891
+ customer_id?: string | null;
86892
+ customer_name?: string | null;
86893
+ id?: string | null;
86894
+ invoice_number?: string | null;
86895
+ note?: string | null;
86896
+ status?: string | null;
86897
+ total_excl_cents?: number | null;
86898
+ total_incl_cents?: number | null;
86899
+ updated_at?: string | null;
86900
+ vat_cents?: number | null;
86901
+ vat_percentage?: number | null;
86902
+ werkbon_id?: never;
86903
+ };
86904
+ Update: {
86905
+ created_at?: string | null;
86906
+ created_by?: string | null;
86907
+ customer_id?: string | null;
86908
+ customer_name?: string | null;
86909
+ id?: string | null;
86910
+ invoice_number?: string | null;
86911
+ note?: string | null;
86912
+ status?: string | null;
86913
+ total_excl_cents?: number | null;
86914
+ total_incl_cents?: number | null;
86915
+ updated_at?: string | null;
86916
+ vat_cents?: number | null;
86917
+ vat_percentage?: number | null;
86918
+ werkbon_id?: never;
86919
+ };
86920
+ Relationships: [{
86921
+ foreignKeyName: "invoices_customer_id_fkey";
86922
+ columns: ["customer_id"];
86923
+ isOneToOne: false;
86924
+ referencedRelation: "itk_customers";
86925
+ referencedColumns: ["id"];
86926
+ }];
86927
+ };
86928
+ uren_factuur_regels: {
86929
+ Row: {
86930
+ created_at: string | null;
86931
+ description: string | null;
86932
+ factuur_id: string | null;
86933
+ id: string | null;
86934
+ kind: string | null;
86935
+ quantity: number | null;
86936
+ sort_order: number | null;
86937
+ total_cents: number | null;
86938
+ unit: string | null;
86939
+ unit_price_cents: number | null;
86940
+ };
86941
+ Insert: {
86942
+ created_at?: string | null;
86943
+ description?: string | null;
86944
+ factuur_id?: string | null;
86945
+ id?: string | null;
86946
+ kind?: string | null;
86947
+ quantity?: number | null;
86948
+ sort_order?: number | null;
86949
+ total_cents?: number | null;
86950
+ unit?: string | null;
86951
+ unit_price_cents?: number | null;
86952
+ };
86953
+ Update: {
86954
+ created_at?: string | null;
86955
+ description?: string | null;
86956
+ factuur_id?: string | null;
86957
+ id?: string | null;
86958
+ kind?: string | null;
86959
+ quantity?: number | null;
86960
+ sort_order?: number | null;
86961
+ total_cents?: number | null;
86962
+ unit?: string | null;
86963
+ unit_price_cents?: number | null;
86964
+ };
86965
+ Relationships: [{
86966
+ foreignKeyName: "invoice_items_invoice_id_fkey";
86967
+ columns: ["factuur_id"];
86968
+ isOneToOne: false;
86969
+ referencedRelation: "invoices";
86970
+ referencedColumns: ["id"];
86971
+ }, {
86972
+ foreignKeyName: "invoice_items_invoice_id_fkey";
86973
+ columns: ["factuur_id"];
86974
+ isOneToOne: false;
86975
+ referencedRelation: "uren_facturen";
86976
+ referencedColumns: ["id"];
86977
+ }];
86978
+ };
85710
86979
  v_external_customers_exact: {
85711
86980
  Row: {
85712
86981
  account_number: string | null;
@@ -86212,6 +87481,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
86212
87481
  gebruiker_id: string | null;
86213
87482
  gebruiker_naam: string;
86214
87483
  gestart_op: string | null;
87484
+ herkomst: string | null;
86215
87485
  id: string;
86216
87486
  idempotentie_sleutel: string | null;
86217
87487
  is_herprint: boolean;
@@ -86332,6 +87602,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
86332
87602
  gebruiker_id: string | null;
86333
87603
  gebruiker_naam: string;
86334
87604
  gestart_op: string | null;
87605
+ herkomst: string | null;
86335
87606
  id: string;
86336
87607
  idempotentie_sleutel: string | null;
86337
87608
  is_herprint: boolean;
@@ -86933,6 +88204,46 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
86933
88204
  Args: never;
86934
88205
  Returns: boolean;
86935
88206
  };
88207
+ invoice_create_from_source: {
88208
+ Args: {
88209
+ _payload?: import("../integrations/supabase/types.js").Json;
88210
+ _source_id: string;
88211
+ _source_type: string;
88212
+ };
88213
+ Returns: import("../integrations/supabase/types.js").Json;
88214
+ };
88215
+ invoice_get_billable_lines: {
88216
+ Args: {
88217
+ _invoice_id: string;
88218
+ };
88219
+ Returns: import("../integrations/supabase/types.js").Json;
88220
+ };
88221
+ invoice_get_for_source: {
88222
+ Args: {
88223
+ _source_id: string;
88224
+ _source_type: string;
88225
+ };
88226
+ Returns: import("../integrations/supabase/types.js").Json;
88227
+ };
88228
+ invoice_get_summary: {
88229
+ Args: {
88230
+ _invoice_id: string;
88231
+ };
88232
+ Returns: import("../integrations/supabase/types.js").Json;
88233
+ };
88234
+ invoice_list_sources: {
88235
+ Args: {
88236
+ _limit?: number;
88237
+ _source_type?: string;
88238
+ };
88239
+ Returns: import("../integrations/supabase/types.js").Json;
88240
+ };
88241
+ invoice_recalc_totals: {
88242
+ Args: {
88243
+ _invoice_id: string;
88244
+ };
88245
+ Returns: import("../integrations/supabase/types.js").Json;
88246
+ };
86936
88247
  is_authenticated: {
86937
88248
  Args: never;
86938
88249
  Returns: boolean;
@@ -87001,6 +88312,29 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
87001
88312
  roles: string[];
87002
88313
  }[];
87003
88314
  };
88315
+ list_monteur_absences: {
88316
+ Args: {
88317
+ _from: string;
88318
+ _to: string;
88319
+ };
88320
+ Returns: {
88321
+ absence_date: string;
88322
+ end_time: string;
88323
+ full_day: boolean;
88324
+ kind: string;
88325
+ monteur_id: string;
88326
+ start_time: string;
88327
+ }[];
88328
+ };
88329
+ list_monteurs: {
88330
+ Args: never;
88331
+ Returns: {
88332
+ avatar_url: string;
88333
+ display_name: string;
88334
+ email: string;
88335
+ id: string;
88336
+ }[];
88337
+ };
87004
88338
  list_my_planning_items: {
87005
88339
  Args: {
87006
88340
  _from: string;
@@ -87954,6 +89288,13 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
87954
89288
  isSetofReturn: false;
87955
89289
  };
87956
89290
  };
89291
+ pick_cleanup_maintenance: {
89292
+ Args: {
89293
+ _heartbeat_hours?: number;
89294
+ _log_days?: number;
89295
+ };
89296
+ Returns: import("../integrations/supabase/types.js").Json;
89297
+ };
87957
89298
  pick_complete_print: {
87958
89299
  Args: {
87959
89300
  _printer_id: string;
@@ -88005,6 +89346,14 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
88005
89346
  Args: never;
88006
89347
  Returns: string;
88007
89348
  };
89349
+ pick_day_counts: {
89350
+ Args: {
89351
+ _pick_day?: string;
89352
+ _screen_id?: string;
89353
+ _station_id?: string;
89354
+ };
89355
+ Returns: import("../integrations/supabase/types.js").Json;
89356
+ };
88008
89357
  pick_document_layout_data: {
88009
89358
  Args: {
88010
89359
  _layout_id: string;
@@ -88042,6 +89391,14 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
88042
89391
  };
88043
89392
  Returns: undefined;
88044
89393
  };
89394
+ pick_reprint_document: {
89395
+ Args: {
89396
+ _queue_item_id: string;
89397
+ _session_id: string;
89398
+ _throttle_seconds?: number;
89399
+ };
89400
+ Returns: string;
89401
+ };
88045
89402
  pick_reset_print: {
88046
89403
  Args: {
88047
89404
  _queue_item_id: string;
@@ -88107,6 +89464,12 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
88107
89464
  };
88108
89465
  Returns: string;
88109
89466
  };
89467
+ pick_sync_queue_throttled: {
89468
+ Args: {
89469
+ _min_seconds?: number;
89470
+ };
89471
+ Returns: import("../integrations/supabase/types.js").Json;
89472
+ };
88110
89473
  pickstation_get_orders_raw: {
88111
89474
  Args: never;
88112
89475
  Returns: import("../integrations/supabase/types.js").Json;
@@ -88252,6 +89615,12 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
88252
89615
  };
88253
89616
  Returns: boolean;
88254
89617
  };
89618
+ release_stale_order_invoice_links: {
89619
+ Args: {
89620
+ _minutes?: number;
89621
+ };
89622
+ Returns: number;
89623
+ };
88255
89624
  reorder_customer_price_groups: {
88256
89625
  Args: {
88257
89626
  _ids: string[];
@@ -88770,6 +90139,20 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
88770
90139
  };
88771
90140
  Returns: undefined;
88772
90141
  };
90142
+ twinfield_deactivate_connection: {
90143
+ Args: {
90144
+ p_connection_id: string;
90145
+ p_user_id: string;
90146
+ };
90147
+ Returns: import("../integrations/supabase/types.js").Json;
90148
+ };
90149
+ twinfield_handle_administration_change: {
90150
+ Args: {
90151
+ _administration_code: string;
90152
+ _user_id: string;
90153
+ };
90154
+ Returns: undefined;
90155
+ };
88773
90156
  twinfield_prune_push_queue: {
88774
90157
  Args: never;
88775
90158
  Returns: number;
@@ -88789,10 +90172,11 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
88789
90172
  p_company_name?: string;
88790
90173
  p_environment: string;
88791
90174
  p_office_code?: string;
90175
+ p_reset_sync?: boolean;
88792
90176
  p_status?: string;
88793
90177
  p_user_id: string;
88794
90178
  };
88795
- Returns: string;
90179
+ Returns: import("../integrations/supabase/types.js").Json;
88796
90180
  };
88797
90181
  upsert_auto_fulfillment_log: {
88798
90182
  Args: {