@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.
@@ -2758,6 +2758,42 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
3035
3071
  Row: {
3036
3072
  actief: boolean;
3037
3073
  breedte_mm: number;
3074
+ bron: string;
3038
3075
  config: import("./types").Json;
3039
3076
  created_at: string;
3040
3077
  created_by: string | null;
@@ -3052,12 +3089,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
3052
3089
  orientatie: Database["public"]["Enums"]["doc_orientation"];
3053
3090
  page_settings: import("./types").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("./types").Json;
3062
3101
  created_at?: string;
3063
3102
  created_by?: string | null;
@@ -3075,12 +3114,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
3075
3114
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3076
3115
  page_settings?: import("./types").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("./types").Json;
3085
3126
  created_at?: string;
3086
3127
  created_by?: string | null;
@@ -3098,11 +3139,48 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
3098
3139
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3099
3140
  page_settings?: import("./types").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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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("./types").Json;
11784
11960
  customer_id: string | null;
@@ -11801,6 +11977,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
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("./types").Json;
11806
11984
  customer_id?: string | null;
@@ -11823,6 +12001,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
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("./types").Json;
11828
12008
  customer_id?: string | null;
@@ -12751,6 +12931,27 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
20280
20513
  Args: never;
20281
20514
  Returns: boolean;
20282
20515
  };
20516
+ invoice_create_from_source: {
20517
+ Args: {
20518
+ _payload?: import("./types").Json;
20519
+ _source_id: string;
20520
+ _source_type: string;
20521
+ };
20522
+ Returns: import("./types").Json;
20523
+ };
20524
+ invoice_get_billable_lines: {
20525
+ Args: {
20526
+ _invoice_id: string;
20527
+ };
20528
+ Returns: import("./types").Json;
20529
+ };
20530
+ invoice_get_for_source: {
20531
+ Args: {
20532
+ _source_id: string;
20533
+ _source_type: string;
20534
+ };
20535
+ Returns: import("./types").Json;
20536
+ };
20537
+ invoice_get_summary: {
20538
+ Args: {
20539
+ _invoice_id: string;
20540
+ };
20541
+ Returns: import("./types").Json;
20542
+ };
20543
+ invoice_list_sources: {
20544
+ Args: {
20545
+ _limit?: number;
20546
+ _source_type?: string;
20547
+ };
20548
+ Returns: import("./types").Json;
20549
+ };
20550
+ invoice_recalc_totals: {
20551
+ Args: {
20552
+ _invoice_id: string;
20553
+ };
20554
+ Returns: import("./types").Json;
20555
+ };
20283
20556
  is_authenticated: {
20284
20557
  Args: never;
20285
20558
  Returns: boolean;
@@ -20348,6 +20621,29 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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("./types").Json;
21606
+ };
21304
21607
  pick_complete_print: {
21305
21608
  Args: {
21306
21609
  _printer_id: string;
@@ -21352,6 +21655,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
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("./types").Json;
21665
+ };
21355
21666
  pick_document_layout_data: {
21356
21667
  Args: {
21357
21668
  _layout_id: string;
@@ -21389,6 +21700,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
21454
21773
  };
21455
21774
  Returns: string;
21456
21775
  };
21776
+ pick_sync_queue_throttled: {
21777
+ Args: {
21778
+ _min_seconds?: number;
21779
+ };
21780
+ Returns: import("./types").Json;
21781
+ };
21457
21782
  pickstation_get_orders_raw: {
21458
21783
  Args: never;
21459
21784
  Returns: import("./types").Json;
@@ -21599,6 +21924,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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("./types").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 supabase: import("@supabase/supabase-js").SupabaseClient<Da
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("./types").Json;
22143
22489
  };
22144
22490
  upsert_auto_fulfillment_log: {
22145
22491
  Args: {
@@ -22160,6 +22506,26 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22160
22506
  Args: never;
22161
22507
  Returns: string;
22162
22508
  };
22509
+ wo_create_from_source: {
22510
+ Args: {
22511
+ _payload?: import("./types").Json;
22512
+ _source_id: string;
22513
+ _source_type: string;
22514
+ };
22515
+ Returns: string;
22516
+ };
22517
+ wo_get_billable_lines: {
22518
+ Args: {
22519
+ _work_order_id: string;
22520
+ };
22521
+ Returns: import("./types").Json;
22522
+ };
22523
+ wo_get_summary: {
22524
+ Args: {
22525
+ _work_order_id: string;
22526
+ };
22527
+ Returns: import("./types").Json;
22528
+ };
22163
22529
  };
22164
22530
  Enums: {
22165
22531
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";