@flowselections/admin-installatietechniek 1.0.6 → 1.0.8

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.
@@ -2759,6 +2759,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2759
2759
  };
2760
2760
  Relationships: [];
2761
2761
  };
2762
+ document_bronregels: {
2763
+ Row: {
2764
+ bron: string;
2765
+ created_at: string;
2766
+ documenttype: string;
2767
+ herkomst: string;
2768
+ id: string;
2769
+ layout_id: string | null;
2770
+ updated_at: string;
2771
+ };
2772
+ Insert: {
2773
+ bron?: string;
2774
+ created_at?: string;
2775
+ documenttype: string;
2776
+ herkomst: string;
2777
+ id?: string;
2778
+ layout_id?: string | null;
2779
+ updated_at?: string;
2780
+ };
2781
+ Update: {
2782
+ bron?: string;
2783
+ created_at?: string;
2784
+ documenttype?: string;
2785
+ herkomst?: string;
2786
+ id?: string;
2787
+ layout_id?: string | null;
2788
+ updated_at?: string;
2789
+ };
2790
+ Relationships: [{
2791
+ foreignKeyName: "document_bronregels_layout_id_fkey";
2792
+ columns: ["layout_id"];
2793
+ isOneToOne: false;
2794
+ referencedRelation: "document_layouts";
2795
+ referencedColumns: ["id"];
2796
+ }];
2797
+ };
2762
2798
  document_formaat_printers: {
2763
2799
  Row: {
2764
2800
  created_at: string;
@@ -3036,6 +3072,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3036
3072
  Row: {
3037
3073
  actief: boolean;
3038
3074
  breedte_mm: number;
3075
+ bron: string;
3039
3076
  config: import("./types").Json;
3040
3077
  created_at: string;
3041
3078
  created_by: string | null;
@@ -3053,12 +3090,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3053
3090
  orientatie: Database["public"]["Enums"]["doc_orientation"];
3054
3091
  page_settings: import("./types").Json;
3055
3092
  papierformaat: string;
3093
+ systeem: boolean;
3056
3094
  thumbnail_url: string | null;
3057
3095
  updated_at: string;
3058
3096
  };
3059
3097
  Insert: {
3060
3098
  actief?: boolean;
3061
3099
  breedte_mm?: number;
3100
+ bron?: string;
3062
3101
  config?: import("./types").Json;
3063
3102
  created_at?: string;
3064
3103
  created_by?: string | null;
@@ -3076,12 +3115,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3076
3115
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3077
3116
  page_settings?: import("./types").Json;
3078
3117
  papierformaat?: string;
3118
+ systeem?: boolean;
3079
3119
  thumbnail_url?: string | null;
3080
3120
  updated_at?: string;
3081
3121
  };
3082
3122
  Update: {
3083
3123
  actief?: boolean;
3084
3124
  breedte_mm?: number;
3125
+ bron?: string;
3085
3126
  config?: import("./types").Json;
3086
3127
  created_at?: string;
3087
3128
  created_by?: string | null;
@@ -3099,11 +3140,48 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3099
3140
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3100
3141
  page_settings?: import("./types").Json;
3101
3142
  papierformaat?: string;
3143
+ systeem?: boolean;
3102
3144
  thumbnail_url?: string | null;
3103
3145
  updated_at?: string;
3104
3146
  };
3105
3147
  Relationships: [];
3106
3148
  };
3149
+ document_werkplek_printers: {
3150
+ Row: {
3151
+ created_at: string;
3152
+ documenttype: string;
3153
+ id: string;
3154
+ papierformaat: string | null;
3155
+ printer_id: string | null;
3156
+ updated_at: string;
3157
+ werkplek: string;
3158
+ };
3159
+ Insert: {
3160
+ created_at?: string;
3161
+ documenttype: string;
3162
+ id?: string;
3163
+ papierformaat?: string | null;
3164
+ printer_id?: string | null;
3165
+ updated_at?: string;
3166
+ werkplek: string;
3167
+ };
3168
+ Update: {
3169
+ created_at?: string;
3170
+ documenttype?: string;
3171
+ id?: string;
3172
+ papierformaat?: string | null;
3173
+ printer_id?: string | null;
3174
+ updated_at?: string;
3175
+ werkplek?: string;
3176
+ };
3177
+ Relationships: [{
3178
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
3179
+ columns: ["printer_id"];
3180
+ isOneToOne: false;
3181
+ referencedRelation: "printers";
3182
+ referencedColumns: ["id"];
3183
+ }];
3184
+ };
3107
3185
  email_auth_connections: {
3108
3186
  Row: {
3109
3187
  access_token_encrypted: string | null;
@@ -5045,42 +5123,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5045
5123
  };
5046
5124
  Relationships: [];
5047
5125
  };
5048
- facturen: {
5049
- Row: {
5050
- bedrag_incl_btw: number;
5051
- created_at: string;
5052
- datum: string;
5053
- factuurnummer: string;
5054
- id: string;
5055
- klantnaam: string;
5056
- status: string;
5057
- updated_at: string;
5058
- user_id: string;
5059
- };
5060
- Insert: {
5061
- bedrag_incl_btw: number;
5062
- created_at?: string;
5063
- datum?: string;
5064
- factuurnummer: string;
5065
- id?: string;
5066
- klantnaam: string;
5067
- status?: string;
5068
- updated_at?: string;
5069
- user_id?: string;
5070
- };
5071
- Update: {
5072
- bedrag_incl_btw?: number;
5073
- created_at?: string;
5074
- datum?: string;
5075
- factuurnummer?: string;
5076
- id?: string;
5077
- klantnaam?: string;
5078
- status?: string;
5079
- updated_at?: string;
5080
- user_id?: string;
5081
- };
5082
- Relationships: [];
5083
- };
5084
5126
  floricode_connection_settings: {
5085
5127
  Row: {
5086
5128
  catalog_key: string | null;
@@ -7385,8 +7427,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7385
7427
  };
7386
7428
  Relationships: [];
7387
7429
  };
7430
+ invoice_items: {
7431
+ Row: {
7432
+ created_at: string;
7433
+ description: string;
7434
+ id: string;
7435
+ invoice_id: string;
7436
+ kind: string;
7437
+ quantity: number;
7438
+ sort_order: number;
7439
+ source_line_ref: string | null;
7440
+ total_cents: number;
7441
+ unit: string;
7442
+ unit_price_cents: number;
7443
+ };
7444
+ Insert: {
7445
+ created_at?: string;
7446
+ description?: string;
7447
+ id?: string;
7448
+ invoice_id: string;
7449
+ kind?: string;
7450
+ quantity?: number;
7451
+ sort_order?: number;
7452
+ source_line_ref?: string | null;
7453
+ total_cents?: number;
7454
+ unit?: string;
7455
+ unit_price_cents?: number;
7456
+ };
7457
+ Update: {
7458
+ created_at?: string;
7459
+ description?: string;
7460
+ id?: string;
7461
+ invoice_id?: string;
7462
+ kind?: string;
7463
+ quantity?: number;
7464
+ sort_order?: number;
7465
+ source_line_ref?: string | null;
7466
+ total_cents?: number;
7467
+ unit?: string;
7468
+ unit_price_cents?: number;
7469
+ };
7470
+ Relationships: [{
7471
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7472
+ columns: ["invoice_id"];
7473
+ isOneToOne: false;
7474
+ referencedRelation: "invoices";
7475
+ referencedColumns: ["id"];
7476
+ }, {
7477
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7478
+ columns: ["invoice_id"];
7479
+ isOneToOne: false;
7480
+ referencedRelation: "uren_facturen";
7481
+ referencedColumns: ["id"];
7482
+ }];
7483
+ };
7388
7484
  invoice_post_idempotency: {
7389
7485
  Row: {
7486
+ administration_code: string;
7390
7487
  client_request_id: string;
7391
7488
  completed_at: string | null;
7392
7489
  created_at: string;
@@ -7396,6 +7493,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7396
7493
  user_id: string;
7397
7494
  };
7398
7495
  Insert: {
7496
+ administration_code?: string;
7399
7497
  client_request_id: string;
7400
7498
  completed_at?: string | null;
7401
7499
  created_at?: string;
@@ -7405,6 +7503,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7405
7503
  user_id: string;
7406
7504
  };
7407
7505
  Update: {
7506
+ administration_code?: string;
7408
7507
  client_request_id?: string;
7409
7508
  completed_at?: string | null;
7410
7509
  created_at?: string;
@@ -7610,6 +7709,75 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7610
7709
  };
7611
7710
  Relationships: [];
7612
7711
  };
7712
+ invoices: {
7713
+ Row: {
7714
+ created_at: string;
7715
+ created_by: string | null;
7716
+ customer_id: string | null;
7717
+ customer_name: string | null;
7718
+ due_date: string | null;
7719
+ id: string;
7720
+ invoice_date: string;
7721
+ invoice_number: string | null;
7722
+ note: string | null;
7723
+ source_number: string | null;
7724
+ source_ref: string | null;
7725
+ source_type: string;
7726
+ status: string;
7727
+ subtotal_cents: number;
7728
+ total_cents: number;
7729
+ updated_at: string;
7730
+ vat_cents: number;
7731
+ vat_rate: number;
7732
+ };
7733
+ Insert: {
7734
+ created_at?: string;
7735
+ created_by?: string | null;
7736
+ customer_id?: string | null;
7737
+ customer_name?: string | null;
7738
+ due_date?: string | null;
7739
+ id?: string;
7740
+ invoice_date?: string;
7741
+ invoice_number?: string | null;
7742
+ note?: string | null;
7743
+ source_number?: string | null;
7744
+ source_ref?: string | null;
7745
+ source_type?: string;
7746
+ status?: string;
7747
+ subtotal_cents?: number;
7748
+ total_cents?: number;
7749
+ updated_at?: string;
7750
+ vat_cents?: number;
7751
+ vat_rate?: number;
7752
+ };
7753
+ Update: {
7754
+ created_at?: string;
7755
+ created_by?: string | null;
7756
+ customer_id?: string | null;
7757
+ customer_name?: string | null;
7758
+ due_date?: string | null;
7759
+ id?: string;
7760
+ invoice_date?: string;
7761
+ invoice_number?: string | null;
7762
+ note?: string | null;
7763
+ source_number?: string | null;
7764
+ source_ref?: string | null;
7765
+ source_type?: string;
7766
+ status?: string;
7767
+ subtotal_cents?: number;
7768
+ total_cents?: number;
7769
+ updated_at?: string;
7770
+ vat_cents?: number;
7771
+ vat_rate?: number;
7772
+ };
7773
+ Relationships: [{
7774
+ foreignKeyName: "invoices_customer_id_fkey";
7775
+ columns: ["customer_id"];
7776
+ isOneToOne: false;
7777
+ referencedRelation: "itk_customers";
7778
+ referencedColumns: ["id"];
7779
+ }];
7780
+ };
7613
7781
  itk_contact_persons: {
7614
7782
  Row: {
7615
7783
  created_at: string;
@@ -10550,6 +10718,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10550
10718
  enforce: boolean;
10551
10719
  is_active: boolean;
10552
10720
  last_seen_at: string;
10721
+ missing_count: number;
10553
10722
  module_id: string;
10554
10723
  name: string;
10555
10724
  shell_id: string | null;
@@ -10560,6 +10729,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10560
10729
  enforce?: boolean;
10561
10730
  is_active?: boolean;
10562
10731
  last_seen_at?: string;
10732
+ missing_count?: number;
10563
10733
  module_id: string;
10564
10734
  name: string;
10565
10735
  shell_id?: string | null;
@@ -10570,6 +10740,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10570
10740
  enforce?: boolean;
10571
10741
  is_active?: boolean;
10572
10742
  last_seen_at?: string;
10743
+ missing_count?: number;
10573
10744
  module_id?: string;
10574
10745
  name?: string;
10575
10746
  shell_id?: string | null;
@@ -11569,6 +11740,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11569
11740
  };
11570
11741
  order_invoice_links: {
11571
11742
  Row: {
11743
+ administration_code: string | null;
11572
11744
  attempts: number;
11573
11745
  created_at: string;
11574
11746
  error_message: string | null;
@@ -11581,6 +11753,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11581
11753
  updated_at: string;
11582
11754
  };
11583
11755
  Insert: {
11756
+ administration_code?: string | null;
11584
11757
  attempts?: number;
11585
11758
  created_at?: string;
11586
11759
  error_message?: string | null;
@@ -11593,6 +11766,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11593
11766
  updated_at?: string;
11594
11767
  };
11595
11768
  Update: {
11769
+ administration_code?: string | null;
11596
11770
  attempts?: number;
11597
11771
  created_at?: string;
11598
11772
  error_message?: string | null;
@@ -11780,6 +11954,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11780
11954
  orders: {
11781
11955
  Row: {
11782
11956
  buffer_id: string | null;
11957
+ cancel_reason: string | null;
11958
+ cancelled_at: string | null;
11783
11959
  created_at: string;
11784
11960
  custom_fields: import("./types").Json;
11785
11961
  customer_id: string | null;
@@ -11802,6 +11978,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11802
11978
  };
11803
11979
  Insert: {
11804
11980
  buffer_id?: string | null;
11981
+ cancel_reason?: string | null;
11982
+ cancelled_at?: string | null;
11805
11983
  created_at?: string;
11806
11984
  custom_fields?: import("./types").Json;
11807
11985
  customer_id?: string | null;
@@ -11824,6 +12002,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11824
12002
  };
11825
12003
  Update: {
11826
12004
  buffer_id?: string | null;
12005
+ cancel_reason?: string | null;
12006
+ cancelled_at?: string | null;
11827
12007
  created_at?: string;
11828
12008
  custom_fields?: import("./types").Json;
11829
12009
  customer_id?: string | null;
@@ -12752,6 +12932,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12752
12932
  referencedColumns: ["id"];
12753
12933
  }];
12754
12934
  };
12935
+ pick_sync_state: {
12936
+ Row: {
12937
+ id: boolean;
12938
+ last_cleanup_at: string | null;
12939
+ last_sync_at: string | null;
12940
+ updated_at: string;
12941
+ };
12942
+ Insert: {
12943
+ id?: boolean;
12944
+ last_cleanup_at?: string | null;
12945
+ last_sync_at?: string | null;
12946
+ updated_at?: string;
12947
+ };
12948
+ Update: {
12949
+ id?: boolean;
12950
+ last_cleanup_at?: string | null;
12951
+ last_sync_at?: string | null;
12952
+ updated_at?: string;
12953
+ };
12954
+ Relationships: [];
12955
+ };
12755
12956
  pick_task_document_types: {
12756
12957
  Row: {
12757
12958
  created_at: string;
@@ -13034,6 +13235,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13034
13235
  gebruiker_id: string | null;
13035
13236
  gebruiker_naam: string;
13036
13237
  gestart_op: string | null;
13238
+ herkomst: string | null;
13037
13239
  id: string;
13038
13240
  idempotentie_sleutel: string | null;
13039
13241
  is_herprint: boolean;
@@ -13063,6 +13265,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13063
13265
  gebruiker_id?: string | null;
13064
13266
  gebruiker_naam?: string;
13065
13267
  gestart_op?: string | null;
13268
+ herkomst?: string | null;
13066
13269
  id?: string;
13067
13270
  idempotentie_sleutel?: string | null;
13068
13271
  is_herprint?: boolean;
@@ -13092,6 +13295,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13092
13295
  gebruiker_id?: string | null;
13093
13296
  gebruiker_naam?: string;
13094
13297
  gestart_op?: string | null;
13298
+ herkomst?: string | null;
13095
13299
  id?: string;
13096
13300
  idempotentie_sleutel?: string | null;
13097
13301
  is_herprint?: boolean;
@@ -16096,12 +16300,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16096
16300
  company_name: string | null;
16097
16301
  connected_at: string | null;
16098
16302
  created_at: string;
16303
+ disconnected_at: string | null;
16099
16304
  environment: string;
16100
16305
  id: string;
16306
+ initial_sync_completed_at: string | null;
16307
+ initial_sync_started_at: string | null;
16101
16308
  is_active: boolean;
16102
16309
  label: string | null;
16103
16310
  office_code: string | null;
16104
16311
  redirect_uri: string | null;
16312
+ superseded_at: string | null;
16105
16313
  updated_at: string;
16106
16314
  user_id: string;
16107
16315
  };
@@ -16112,12 +16320,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16112
16320
  company_name?: string | null;
16113
16321
  connected_at?: string | null;
16114
16322
  created_at?: string;
16323
+ disconnected_at?: string | null;
16115
16324
  environment: string;
16116
16325
  id?: string;
16326
+ initial_sync_completed_at?: string | null;
16327
+ initial_sync_started_at?: string | null;
16117
16328
  is_active?: boolean;
16118
16329
  label?: string | null;
16119
16330
  office_code?: string | null;
16120
16331
  redirect_uri?: string | null;
16332
+ superseded_at?: string | null;
16121
16333
  updated_at?: string;
16122
16334
  user_id: string;
16123
16335
  };
@@ -16128,12 +16340,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16128
16340
  company_name?: string | null;
16129
16341
  connected_at?: string | null;
16130
16342
  created_at?: string;
16343
+ disconnected_at?: string | null;
16131
16344
  environment?: string;
16132
16345
  id?: string;
16346
+ initial_sync_completed_at?: string | null;
16347
+ initial_sync_started_at?: string | null;
16133
16348
  is_active?: boolean;
16134
16349
  label?: string | null;
16135
16350
  office_code?: string | null;
16136
16351
  redirect_uri?: string | null;
16352
+ superseded_at?: string | null;
16137
16353
  updated_at?: string;
16138
16354
  user_id?: string;
16139
16355
  };
@@ -16193,6 +16409,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16193
16409
  twinfield_customers: {
16194
16410
  Row: {
16195
16411
  address: string | null;
16412
+ administration_code: string;
16196
16413
  city: string | null;
16197
16414
  country: string | null;
16198
16415
  created_at: string;
@@ -16212,6 +16429,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16212
16429
  };
16213
16430
  Insert: {
16214
16431
  address?: string | null;
16432
+ administration_code?: string;
16215
16433
  city?: string | null;
16216
16434
  country?: string | null;
16217
16435
  created_at?: string;
@@ -16231,6 +16449,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16231
16449
  };
16232
16450
  Update: {
16233
16451
  address?: string | null;
16452
+ administration_code?: string;
16234
16453
  city?: string | null;
16235
16454
  country?: string | null;
16236
16455
  created_at?: string;
@@ -16444,7 +16663,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16444
16663
  };
16445
16664
  twinfield_invoice_settings: {
16446
16665
  Row: {
16666
+ administration_code: string | null;
16447
16667
  auto_invoice_enabled: boolean;
16668
+ auto_invoice_start_date: string | null;
16448
16669
  auto_invoice_trigger_statuses: string[];
16449
16670
  created_at: string;
16450
16671
  debtor_gl_account: string;
@@ -16458,15 +16679,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16458
16679
  invoice_enabled_fo: boolean;
16459
16680
  invoice_enabled_ho: boolean;
16460
16681
  invoice_enabled_mo: boolean;
16682
+ needs_review: boolean;
16461
16683
  payment_gl_account: string;
16462
16684
  payment_journal_code: string;
16685
+ settings_confirmed_at: string | null;
16463
16686
  updated_at: string;
16464
16687
  user_id: string;
16465
16688
  vat_code_eu_reverse: string | null;
16466
16689
  vat_code_export: string | null;
16467
16690
  };
16468
16691
  Insert: {
16692
+ administration_code?: string | null;
16469
16693
  auto_invoice_enabled?: boolean;
16694
+ auto_invoice_start_date?: string | null;
16470
16695
  auto_invoice_trigger_statuses?: string[];
16471
16696
  created_at?: string;
16472
16697
  debtor_gl_account?: string;
@@ -16480,15 +16705,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16480
16705
  invoice_enabled_fo?: boolean;
16481
16706
  invoice_enabled_ho?: boolean;
16482
16707
  invoice_enabled_mo?: boolean;
16708
+ needs_review?: boolean;
16483
16709
  payment_gl_account?: string;
16484
16710
  payment_journal_code?: string;
16711
+ settings_confirmed_at?: string | null;
16485
16712
  updated_at?: string;
16486
16713
  user_id: string;
16487
16714
  vat_code_eu_reverse?: string | null;
16488
16715
  vat_code_export?: string | null;
16489
16716
  };
16490
16717
  Update: {
16718
+ administration_code?: string | null;
16491
16719
  auto_invoice_enabled?: boolean;
16720
+ auto_invoice_start_date?: string | null;
16492
16721
  auto_invoice_trigger_statuses?: string[];
16493
16722
  created_at?: string;
16494
16723
  debtor_gl_account?: string;
@@ -16502,8 +16731,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16502
16731
  invoice_enabled_fo?: boolean;
16503
16732
  invoice_enabled_ho?: boolean;
16504
16733
  invoice_enabled_mo?: boolean;
16734
+ needs_review?: boolean;
16505
16735
  payment_gl_account?: string;
16506
16736
  payment_journal_code?: string;
16737
+ settings_confirmed_at?: string | null;
16507
16738
  updated_at?: string;
16508
16739
  user_id?: string;
16509
16740
  vat_code_eu_reverse?: string | null;
@@ -17108,114 +17339,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17108
17339
  };
17109
17340
  Relationships: [];
17110
17341
  };
17111
- uren_facturen: {
17112
- Row: {
17113
- created_at: string;
17114
- created_by: string | null;
17115
- customer_id: string | null;
17116
- customer_name: string | null;
17117
- id: string;
17118
- invoice_number: string | null;
17119
- note: string | null;
17120
- status: string;
17121
- total_excl_cents: number;
17122
- total_incl_cents: number;
17123
- updated_at: string;
17124
- vat_cents: number;
17125
- vat_percentage: number;
17126
- werkbon_id: string | null;
17127
- };
17128
- Insert: {
17129
- created_at?: string;
17130
- created_by?: string | null;
17131
- customer_id?: string | null;
17132
- customer_name?: string | null;
17133
- id?: string;
17134
- invoice_number?: string | null;
17135
- note?: string | null;
17136
- status?: string;
17137
- total_excl_cents?: number;
17138
- total_incl_cents?: number;
17139
- updated_at?: string;
17140
- vat_cents?: number;
17141
- vat_percentage?: number;
17142
- werkbon_id?: string | null;
17143
- };
17144
- Update: {
17145
- created_at?: string;
17146
- created_by?: string | null;
17147
- customer_id?: string | null;
17148
- customer_name?: string | null;
17149
- id?: string;
17150
- invoice_number?: string | null;
17151
- note?: string | null;
17152
- status?: string;
17153
- total_excl_cents?: number;
17154
- total_incl_cents?: number;
17155
- updated_at?: string;
17156
- vat_cents?: number;
17157
- vat_percentage?: number;
17158
- werkbon_id?: string | null;
17159
- };
17160
- Relationships: [{
17161
- foreignKeyName: "uren_facturen_customer_id_fkey";
17162
- columns: ["customer_id"];
17163
- isOneToOne: false;
17164
- referencedRelation: "itk_customers";
17165
- referencedColumns: ["id"];
17166
- }, {
17167
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
17168
- columns: ["werkbon_id"];
17169
- isOneToOne: true;
17170
- referencedRelation: "werkbonnen";
17171
- referencedColumns: ["id"];
17172
- }];
17173
- };
17174
- uren_factuur_regels: {
17175
- Row: {
17176
- created_at: string;
17177
- description: string;
17178
- factuur_id: string;
17179
- id: string;
17180
- kind: string | null;
17181
- quantity: number;
17182
- sort_order: number;
17183
- total_cents: number;
17184
- unit: string;
17185
- unit_price_cents: number;
17186
- };
17187
- Insert: {
17188
- created_at?: string;
17189
- description: string;
17190
- factuur_id: string;
17191
- id?: string;
17192
- kind?: string | null;
17193
- quantity?: number;
17194
- sort_order?: number;
17195
- total_cents?: number;
17196
- unit?: string;
17197
- unit_price_cents?: number;
17198
- };
17199
- Update: {
17200
- created_at?: string;
17201
- description?: string;
17202
- factuur_id?: string;
17203
- id?: string;
17204
- kind?: string | null;
17205
- quantity?: number;
17206
- sort_order?: number;
17207
- total_cents?: number;
17208
- unit?: string;
17209
- unit_price_cents?: number;
17210
- };
17211
- Relationships: [{
17212
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
17213
- columns: ["factuur_id"];
17214
- isOneToOne: false;
17215
- referencedRelation: "uren_facturen";
17216
- referencedColumns: ["id"];
17217
- }];
17218
- };
17219
17342
  uren_offerte_regels: {
17220
17343
  Row: {
17221
17344
  created_at: string;
@@ -19055,6 +19178,114 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19055
19178
  };
19056
19179
  Relationships: [];
19057
19180
  };
19181
+ uren_facturen: {
19182
+ Row: {
19183
+ created_at: string | null;
19184
+ created_by: string | null;
19185
+ customer_id: string | null;
19186
+ customer_name: string | null;
19187
+ id: string | null;
19188
+ invoice_number: string | null;
19189
+ note: string | null;
19190
+ status: string | null;
19191
+ total_excl_cents: number | null;
19192
+ total_incl_cents: number | null;
19193
+ updated_at: string | null;
19194
+ vat_cents: number | null;
19195
+ vat_percentage: number | null;
19196
+ werkbon_id: string | null;
19197
+ };
19198
+ Insert: {
19199
+ created_at?: string | null;
19200
+ created_by?: string | null;
19201
+ customer_id?: string | null;
19202
+ customer_name?: string | null;
19203
+ id?: string | null;
19204
+ invoice_number?: string | null;
19205
+ note?: string | null;
19206
+ status?: string | null;
19207
+ total_excl_cents?: number | null;
19208
+ total_incl_cents?: number | null;
19209
+ updated_at?: string | null;
19210
+ vat_cents?: number | null;
19211
+ vat_percentage?: number | null;
19212
+ werkbon_id?: never;
19213
+ };
19214
+ Update: {
19215
+ created_at?: string | null;
19216
+ created_by?: string | null;
19217
+ customer_id?: string | null;
19218
+ customer_name?: string | null;
19219
+ id?: string | null;
19220
+ invoice_number?: string | null;
19221
+ note?: string | null;
19222
+ status?: string | null;
19223
+ total_excl_cents?: number | null;
19224
+ total_incl_cents?: number | null;
19225
+ updated_at?: string | null;
19226
+ vat_cents?: number | null;
19227
+ vat_percentage?: number | null;
19228
+ werkbon_id?: never;
19229
+ };
19230
+ Relationships: [{
19231
+ foreignKeyName: "invoices_customer_id_fkey";
19232
+ columns: ["customer_id"];
19233
+ isOneToOne: false;
19234
+ referencedRelation: "itk_customers";
19235
+ referencedColumns: ["id"];
19236
+ }];
19237
+ };
19238
+ uren_factuur_regels: {
19239
+ Row: {
19240
+ created_at: string | null;
19241
+ description: string | null;
19242
+ factuur_id: string | null;
19243
+ id: string | null;
19244
+ kind: string | null;
19245
+ quantity: number | null;
19246
+ sort_order: number | null;
19247
+ total_cents: number | null;
19248
+ unit: string | null;
19249
+ unit_price_cents: number | null;
19250
+ };
19251
+ Insert: {
19252
+ created_at?: string | null;
19253
+ description?: string | null;
19254
+ factuur_id?: string | null;
19255
+ id?: string | null;
19256
+ kind?: string | null;
19257
+ quantity?: number | null;
19258
+ sort_order?: number | null;
19259
+ total_cents?: number | null;
19260
+ unit?: string | null;
19261
+ unit_price_cents?: number | null;
19262
+ };
19263
+ Update: {
19264
+ created_at?: string | null;
19265
+ description?: string | null;
19266
+ factuur_id?: string | null;
19267
+ id?: string | null;
19268
+ kind?: string | null;
19269
+ quantity?: number | null;
19270
+ sort_order?: number | null;
19271
+ total_cents?: number | null;
19272
+ unit?: string | null;
19273
+ unit_price_cents?: number | null;
19274
+ };
19275
+ Relationships: [{
19276
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19277
+ columns: ["factuur_id"];
19278
+ isOneToOne: false;
19279
+ referencedRelation: "invoices";
19280
+ referencedColumns: ["id"];
19281
+ }, {
19282
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19283
+ columns: ["factuur_id"];
19284
+ isOneToOne: false;
19285
+ referencedRelation: "uren_facturen";
19286
+ referencedColumns: ["id"];
19287
+ }];
19288
+ };
19058
19289
  v_external_customers_exact: {
19059
19290
  Row: {
19060
19291
  account_number: string | null;
@@ -19560,6 +19791,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19560
19791
  gebruiker_id: string | null;
19561
19792
  gebruiker_naam: string;
19562
19793
  gestart_op: string | null;
19794
+ herkomst: string | null;
19563
19795
  id: string;
19564
19796
  idempotentie_sleutel: string | null;
19565
19797
  is_herprint: boolean;
@@ -19680,6 +19912,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19680
19912
  gebruiker_id: string | null;
19681
19913
  gebruiker_naam: string;
19682
19914
  gestart_op: string | null;
19915
+ herkomst: string | null;
19683
19916
  id: string;
19684
19917
  idempotentie_sleutel: string | null;
19685
19918
  is_herprint: boolean;
@@ -20281,6 +20514,46 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20281
20514
  Args: never;
20282
20515
  Returns: boolean;
20283
20516
  };
20517
+ invoice_create_from_source: {
20518
+ Args: {
20519
+ _payload?: import("./types").Json;
20520
+ _source_id: string;
20521
+ _source_type: string;
20522
+ };
20523
+ Returns: import("./types").Json;
20524
+ };
20525
+ invoice_get_billable_lines: {
20526
+ Args: {
20527
+ _invoice_id: string;
20528
+ };
20529
+ Returns: import("./types").Json;
20530
+ };
20531
+ invoice_get_for_source: {
20532
+ Args: {
20533
+ _source_id: string;
20534
+ _source_type: string;
20535
+ };
20536
+ Returns: import("./types").Json;
20537
+ };
20538
+ invoice_get_summary: {
20539
+ Args: {
20540
+ _invoice_id: string;
20541
+ };
20542
+ Returns: import("./types").Json;
20543
+ };
20544
+ invoice_list_sources: {
20545
+ Args: {
20546
+ _limit?: number;
20547
+ _source_type?: string;
20548
+ };
20549
+ Returns: import("./types").Json;
20550
+ };
20551
+ invoice_recalc_totals: {
20552
+ Args: {
20553
+ _invoice_id: string;
20554
+ };
20555
+ Returns: import("./types").Json;
20556
+ };
20284
20557
  is_authenticated: {
20285
20558
  Args: never;
20286
20559
  Returns: boolean;
@@ -20349,6 +20622,29 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20349
20622
  roles: string[];
20350
20623
  }[];
20351
20624
  };
20625
+ list_monteur_absences: {
20626
+ Args: {
20627
+ _from: string;
20628
+ _to: string;
20629
+ };
20630
+ Returns: {
20631
+ absence_date: string;
20632
+ end_time: string;
20633
+ full_day: boolean;
20634
+ kind: string;
20635
+ monteur_id: string;
20636
+ start_time: string;
20637
+ }[];
20638
+ };
20639
+ list_monteurs: {
20640
+ Args: never;
20641
+ Returns: {
20642
+ avatar_url: string;
20643
+ display_name: string;
20644
+ email: string;
20645
+ id: string;
20646
+ }[];
20647
+ };
20352
20648
  list_my_planning_items: {
20353
20649
  Args: {
20354
20650
  _from: string;
@@ -21302,6 +21598,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21302
21598
  isSetofReturn: false;
21303
21599
  };
21304
21600
  };
21601
+ pick_cleanup_maintenance: {
21602
+ Args: {
21603
+ _heartbeat_hours?: number;
21604
+ _log_days?: number;
21605
+ };
21606
+ Returns: import("./types").Json;
21607
+ };
21305
21608
  pick_complete_print: {
21306
21609
  Args: {
21307
21610
  _printer_id: string;
@@ -21353,6 +21656,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21353
21656
  Args: never;
21354
21657
  Returns: string;
21355
21658
  };
21659
+ pick_day_counts: {
21660
+ Args: {
21661
+ _pick_day?: string;
21662
+ _screen_id?: string;
21663
+ _station_id?: string;
21664
+ };
21665
+ Returns: import("./types").Json;
21666
+ };
21356
21667
  pick_document_layout_data: {
21357
21668
  Args: {
21358
21669
  _layout_id: string;
@@ -21390,6 +21701,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21390
21701
  };
21391
21702
  Returns: undefined;
21392
21703
  };
21704
+ pick_reprint_document: {
21705
+ Args: {
21706
+ _queue_item_id: string;
21707
+ _session_id: string;
21708
+ _throttle_seconds?: number;
21709
+ };
21710
+ Returns: string;
21711
+ };
21393
21712
  pick_reset_print: {
21394
21713
  Args: {
21395
21714
  _queue_item_id: string;
@@ -21455,6 +21774,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21455
21774
  };
21456
21775
  Returns: string;
21457
21776
  };
21777
+ pick_sync_queue_throttled: {
21778
+ Args: {
21779
+ _min_seconds?: number;
21780
+ };
21781
+ Returns: import("./types").Json;
21782
+ };
21458
21783
  pickstation_get_orders_raw: {
21459
21784
  Args: never;
21460
21785
  Returns: import("./types").Json;
@@ -21600,6 +21925,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21600
21925
  };
21601
21926
  Returns: boolean;
21602
21927
  };
21928
+ release_stale_order_invoice_links: {
21929
+ Args: {
21930
+ _minutes?: number;
21931
+ };
21932
+ Returns: number;
21933
+ };
21603
21934
  reorder_customer_price_groups: {
21604
21935
  Args: {
21605
21936
  _ids: string[];
@@ -22118,6 +22449,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22118
22449
  };
22119
22450
  Returns: undefined;
22120
22451
  };
22452
+ twinfield_deactivate_connection: {
22453
+ Args: {
22454
+ p_connection_id: string;
22455
+ p_user_id: string;
22456
+ };
22457
+ Returns: import("./types").Json;
22458
+ };
22459
+ twinfield_handle_administration_change: {
22460
+ Args: {
22461
+ _administration_code: string;
22462
+ _user_id: string;
22463
+ };
22464
+ Returns: undefined;
22465
+ };
22121
22466
  twinfield_prune_push_queue: {
22122
22467
  Args: never;
22123
22468
  Returns: number;
@@ -22137,10 +22482,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22137
22482
  p_company_name?: string;
22138
22483
  p_environment: string;
22139
22484
  p_office_code?: string;
22485
+ p_reset_sync?: boolean;
22140
22486
  p_status?: string;
22141
22487
  p_user_id: string;
22142
22488
  };
22143
- Returns: string;
22489
+ Returns: import("./types").Json;
22144
22490
  };
22145
22491
  upsert_auto_fulfillment_log: {
22146
22492
  Args: {
@@ -22161,6 +22507,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22161
22507
  Args: never;
22162
22508
  Returns: string;
22163
22509
  };
22510
+ wo_create_from_source: {
22511
+ Args: {
22512
+ _payload?: import("./types").Json;
22513
+ _source_id: string;
22514
+ _source_type: string;
22515
+ };
22516
+ Returns: string;
22517
+ };
22518
+ wo_get_billable_lines: {
22519
+ Args: {
22520
+ _work_order_id: string;
22521
+ };
22522
+ Returns: import("./types").Json;
22523
+ };
22524
+ wo_get_summary: {
22525
+ Args: {
22526
+ _work_order_id: string;
22527
+ };
22528
+ Returns: import("./types").Json;
22529
+ };
22164
22530
  };
22165
22531
  Enums: {
22166
22532
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";