@flowselections/admin-installatietechniek 1.0.7 → 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;
@@ -7405,6 +7483,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7405
7483
  };
7406
7484
  invoice_post_idempotency: {
7407
7485
  Row: {
7486
+ administration_code: string;
7408
7487
  client_request_id: string;
7409
7488
  completed_at: string | null;
7410
7489
  created_at: string;
@@ -7414,6 +7493,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7414
7493
  user_id: string;
7415
7494
  };
7416
7495
  Insert: {
7496
+ administration_code?: string;
7417
7497
  client_request_id: string;
7418
7498
  completed_at?: string | null;
7419
7499
  created_at?: string;
@@ -7423,6 +7503,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7423
7503
  user_id: string;
7424
7504
  };
7425
7505
  Update: {
7506
+ administration_code?: string;
7426
7507
  client_request_id?: string;
7427
7508
  completed_at?: string | null;
7428
7509
  created_at?: string;
@@ -10637,6 +10718,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10637
10718
  enforce: boolean;
10638
10719
  is_active: boolean;
10639
10720
  last_seen_at: string;
10721
+ missing_count: number;
10640
10722
  module_id: string;
10641
10723
  name: string;
10642
10724
  shell_id: string | null;
@@ -10647,6 +10729,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10647
10729
  enforce?: boolean;
10648
10730
  is_active?: boolean;
10649
10731
  last_seen_at?: string;
10732
+ missing_count?: number;
10650
10733
  module_id: string;
10651
10734
  name: string;
10652
10735
  shell_id?: string | null;
@@ -10657,6 +10740,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10657
10740
  enforce?: boolean;
10658
10741
  is_active?: boolean;
10659
10742
  last_seen_at?: string;
10743
+ missing_count?: number;
10660
10744
  module_id?: string;
10661
10745
  name?: string;
10662
10746
  shell_id?: string | null;
@@ -11656,6 +11740,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11656
11740
  };
11657
11741
  order_invoice_links: {
11658
11742
  Row: {
11743
+ administration_code: string | null;
11659
11744
  attempts: number;
11660
11745
  created_at: string;
11661
11746
  error_message: string | null;
@@ -11668,6 +11753,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11668
11753
  updated_at: string;
11669
11754
  };
11670
11755
  Insert: {
11756
+ administration_code?: string | null;
11671
11757
  attempts?: number;
11672
11758
  created_at?: string;
11673
11759
  error_message?: string | null;
@@ -11680,6 +11766,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11680
11766
  updated_at?: string;
11681
11767
  };
11682
11768
  Update: {
11769
+ administration_code?: string | null;
11683
11770
  attempts?: number;
11684
11771
  created_at?: string;
11685
11772
  error_message?: string | null;
@@ -12845,6 +12932,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12845
12932
  referencedColumns: ["id"];
12846
12933
  }];
12847
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
+ };
12848
12956
  pick_task_document_types: {
12849
12957
  Row: {
12850
12958
  created_at: string;
@@ -13127,6 +13235,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13127
13235
  gebruiker_id: string | null;
13128
13236
  gebruiker_naam: string;
13129
13237
  gestart_op: string | null;
13238
+ herkomst: string | null;
13130
13239
  id: string;
13131
13240
  idempotentie_sleutel: string | null;
13132
13241
  is_herprint: boolean;
@@ -13156,6 +13265,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13156
13265
  gebruiker_id?: string | null;
13157
13266
  gebruiker_naam?: string;
13158
13267
  gestart_op?: string | null;
13268
+ herkomst?: string | null;
13159
13269
  id?: string;
13160
13270
  idempotentie_sleutel?: string | null;
13161
13271
  is_herprint?: boolean;
@@ -13185,6 +13295,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13185
13295
  gebruiker_id?: string | null;
13186
13296
  gebruiker_naam?: string;
13187
13297
  gestart_op?: string | null;
13298
+ herkomst?: string | null;
13188
13299
  id?: string;
13189
13300
  idempotentie_sleutel?: string | null;
13190
13301
  is_herprint?: boolean;
@@ -16189,12 +16300,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16189
16300
  company_name: string | null;
16190
16301
  connected_at: string | null;
16191
16302
  created_at: string;
16303
+ disconnected_at: string | null;
16192
16304
  environment: string;
16193
16305
  id: string;
16306
+ initial_sync_completed_at: string | null;
16307
+ initial_sync_started_at: string | null;
16194
16308
  is_active: boolean;
16195
16309
  label: string | null;
16196
16310
  office_code: string | null;
16197
16311
  redirect_uri: string | null;
16312
+ superseded_at: string | null;
16198
16313
  updated_at: string;
16199
16314
  user_id: string;
16200
16315
  };
@@ -16205,12 +16320,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16205
16320
  company_name?: string | null;
16206
16321
  connected_at?: string | null;
16207
16322
  created_at?: string;
16323
+ disconnected_at?: string | null;
16208
16324
  environment: string;
16209
16325
  id?: string;
16326
+ initial_sync_completed_at?: string | null;
16327
+ initial_sync_started_at?: string | null;
16210
16328
  is_active?: boolean;
16211
16329
  label?: string | null;
16212
16330
  office_code?: string | null;
16213
16331
  redirect_uri?: string | null;
16332
+ superseded_at?: string | null;
16214
16333
  updated_at?: string;
16215
16334
  user_id: string;
16216
16335
  };
@@ -16221,12 +16340,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16221
16340
  company_name?: string | null;
16222
16341
  connected_at?: string | null;
16223
16342
  created_at?: string;
16343
+ disconnected_at?: string | null;
16224
16344
  environment?: string;
16225
16345
  id?: string;
16346
+ initial_sync_completed_at?: string | null;
16347
+ initial_sync_started_at?: string | null;
16226
16348
  is_active?: boolean;
16227
16349
  label?: string | null;
16228
16350
  office_code?: string | null;
16229
16351
  redirect_uri?: string | null;
16352
+ superseded_at?: string | null;
16230
16353
  updated_at?: string;
16231
16354
  user_id?: string;
16232
16355
  };
@@ -16286,6 +16409,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16286
16409
  twinfield_customers: {
16287
16410
  Row: {
16288
16411
  address: string | null;
16412
+ administration_code: string;
16289
16413
  city: string | null;
16290
16414
  country: string | null;
16291
16415
  created_at: string;
@@ -16305,6 +16429,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16305
16429
  };
16306
16430
  Insert: {
16307
16431
  address?: string | null;
16432
+ administration_code?: string;
16308
16433
  city?: string | null;
16309
16434
  country?: string | null;
16310
16435
  created_at?: string;
@@ -16324,6 +16449,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16324
16449
  };
16325
16450
  Update: {
16326
16451
  address?: string | null;
16452
+ administration_code?: string;
16327
16453
  city?: string | null;
16328
16454
  country?: string | null;
16329
16455
  created_at?: string;
@@ -16537,7 +16663,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16537
16663
  };
16538
16664
  twinfield_invoice_settings: {
16539
16665
  Row: {
16666
+ administration_code: string | null;
16540
16667
  auto_invoice_enabled: boolean;
16668
+ auto_invoice_start_date: string | null;
16541
16669
  auto_invoice_trigger_statuses: string[];
16542
16670
  created_at: string;
16543
16671
  debtor_gl_account: string;
@@ -16551,15 +16679,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16551
16679
  invoice_enabled_fo: boolean;
16552
16680
  invoice_enabled_ho: boolean;
16553
16681
  invoice_enabled_mo: boolean;
16682
+ needs_review: boolean;
16554
16683
  payment_gl_account: string;
16555
16684
  payment_journal_code: string;
16685
+ settings_confirmed_at: string | null;
16556
16686
  updated_at: string;
16557
16687
  user_id: string;
16558
16688
  vat_code_eu_reverse: string | null;
16559
16689
  vat_code_export: string | null;
16560
16690
  };
16561
16691
  Insert: {
16692
+ administration_code?: string | null;
16562
16693
  auto_invoice_enabled?: boolean;
16694
+ auto_invoice_start_date?: string | null;
16563
16695
  auto_invoice_trigger_statuses?: string[];
16564
16696
  created_at?: string;
16565
16697
  debtor_gl_account?: string;
@@ -16573,15 +16705,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16573
16705
  invoice_enabled_fo?: boolean;
16574
16706
  invoice_enabled_ho?: boolean;
16575
16707
  invoice_enabled_mo?: boolean;
16708
+ needs_review?: boolean;
16576
16709
  payment_gl_account?: string;
16577
16710
  payment_journal_code?: string;
16711
+ settings_confirmed_at?: string | null;
16578
16712
  updated_at?: string;
16579
16713
  user_id: string;
16580
16714
  vat_code_eu_reverse?: string | null;
16581
16715
  vat_code_export?: string | null;
16582
16716
  };
16583
16717
  Update: {
16718
+ administration_code?: string | null;
16584
16719
  auto_invoice_enabled?: boolean;
16720
+ auto_invoice_start_date?: string | null;
16585
16721
  auto_invoice_trigger_statuses?: string[];
16586
16722
  created_at?: string;
16587
16723
  debtor_gl_account?: string;
@@ -16595,8 +16731,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16595
16731
  invoice_enabled_fo?: boolean;
16596
16732
  invoice_enabled_ho?: boolean;
16597
16733
  invoice_enabled_mo?: boolean;
16734
+ needs_review?: boolean;
16598
16735
  payment_gl_account?: string;
16599
16736
  payment_journal_code?: string;
16737
+ settings_confirmed_at?: string | null;
16600
16738
  updated_at?: string;
16601
16739
  user_id?: string;
16602
16740
  vat_code_eu_reverse?: string | null;
@@ -19653,6 +19791,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19653
19791
  gebruiker_id: string | null;
19654
19792
  gebruiker_naam: string;
19655
19793
  gestart_op: string | null;
19794
+ herkomst: string | null;
19656
19795
  id: string;
19657
19796
  idempotentie_sleutel: string | null;
19658
19797
  is_herprint: boolean;
@@ -19773,6 +19912,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19773
19912
  gebruiker_id: string | null;
19774
19913
  gebruiker_naam: string;
19775
19914
  gestart_op: string | null;
19915
+ herkomst: string | null;
19776
19916
  id: string;
19777
19917
  idempotentie_sleutel: string | null;
19778
19918
  is_herprint: boolean;
@@ -20482,6 +20622,29 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20482
20622
  roles: string[];
20483
20623
  }[];
20484
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
+ };
20485
20648
  list_my_planning_items: {
20486
20649
  Args: {
20487
20650
  _from: string;
@@ -21435,6 +21598,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21435
21598
  isSetofReturn: false;
21436
21599
  };
21437
21600
  };
21601
+ pick_cleanup_maintenance: {
21602
+ Args: {
21603
+ _heartbeat_hours?: number;
21604
+ _log_days?: number;
21605
+ };
21606
+ Returns: import("./types").Json;
21607
+ };
21438
21608
  pick_complete_print: {
21439
21609
  Args: {
21440
21610
  _printer_id: string;
@@ -21486,6 +21656,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21486
21656
  Args: never;
21487
21657
  Returns: string;
21488
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
+ };
21489
21667
  pick_document_layout_data: {
21490
21668
  Args: {
21491
21669
  _layout_id: string;
@@ -21523,6 +21701,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21523
21701
  };
21524
21702
  Returns: undefined;
21525
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
+ };
21526
21712
  pick_reset_print: {
21527
21713
  Args: {
21528
21714
  _queue_item_id: string;
@@ -21588,6 +21774,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21588
21774
  };
21589
21775
  Returns: string;
21590
21776
  };
21777
+ pick_sync_queue_throttled: {
21778
+ Args: {
21779
+ _min_seconds?: number;
21780
+ };
21781
+ Returns: import("./types").Json;
21782
+ };
21591
21783
  pickstation_get_orders_raw: {
21592
21784
  Args: never;
21593
21785
  Returns: import("./types").Json;
@@ -21733,6 +21925,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21733
21925
  };
21734
21926
  Returns: boolean;
21735
21927
  };
21928
+ release_stale_order_invoice_links: {
21929
+ Args: {
21930
+ _minutes?: number;
21931
+ };
21932
+ Returns: number;
21933
+ };
21736
21934
  reorder_customer_price_groups: {
21737
21935
  Args: {
21738
21936
  _ids: string[];
@@ -22251,6 +22449,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22251
22449
  };
22252
22450
  Returns: undefined;
22253
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
+ };
22254
22466
  twinfield_prune_push_queue: {
22255
22467
  Args: never;
22256
22468
  Returns: number;
@@ -22270,10 +22482,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22270
22482
  p_company_name?: string;
22271
22483
  p_environment: string;
22272
22484
  p_office_code?: string;
22485
+ p_reset_sync?: boolean;
22273
22486
  p_status?: string;
22274
22487
  p_user_id: string;
22275
22488
  };
22276
- Returns: string;
22489
+ Returns: import("./types").Json;
22277
22490
  };
22278
22491
  upsert_auto_fulfillment_log: {
22279
22492
  Args: {