@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.
@@ -2818,6 +2818,44 @@ export type Database = {
2818
2818
  };
2819
2819
  Relationships: [];
2820
2820
  };
2821
+ document_bronregels: {
2822
+ Row: {
2823
+ bron: string;
2824
+ created_at: string;
2825
+ documenttype: string;
2826
+ herkomst: string;
2827
+ id: string;
2828
+ layout_id: string | null;
2829
+ updated_at: string;
2830
+ };
2831
+ Insert: {
2832
+ bron?: string;
2833
+ created_at?: string;
2834
+ documenttype: string;
2835
+ herkomst: string;
2836
+ id?: string;
2837
+ layout_id?: string | null;
2838
+ updated_at?: string;
2839
+ };
2840
+ Update: {
2841
+ bron?: string;
2842
+ created_at?: string;
2843
+ documenttype?: string;
2844
+ herkomst?: string;
2845
+ id?: string;
2846
+ layout_id?: string | null;
2847
+ updated_at?: string;
2848
+ };
2849
+ Relationships: [
2850
+ {
2851
+ foreignKeyName: "document_bronregels_layout_id_fkey";
2852
+ columns: ["layout_id"];
2853
+ isOneToOne: false;
2854
+ referencedRelation: "document_layouts";
2855
+ referencedColumns: ["id"];
2856
+ }
2857
+ ];
2858
+ };
2821
2859
  document_formaat_printers: {
2822
2860
  Row: {
2823
2861
  created_at: string;
@@ -3108,6 +3146,7 @@ export type Database = {
3108
3146
  Row: {
3109
3147
  actief: boolean;
3110
3148
  breedte_mm: number;
3149
+ bron: string;
3111
3150
  config: Json;
3112
3151
  created_at: string;
3113
3152
  created_by: string | null;
@@ -3125,12 +3164,14 @@ export type Database = {
3125
3164
  orientatie: Database["public"]["Enums"]["doc_orientation"];
3126
3165
  page_settings: Json;
3127
3166
  papierformaat: string;
3167
+ systeem: boolean;
3128
3168
  thumbnail_url: string | null;
3129
3169
  updated_at: string;
3130
3170
  };
3131
3171
  Insert: {
3132
3172
  actief?: boolean;
3133
3173
  breedte_mm?: number;
3174
+ bron?: string;
3134
3175
  config?: Json;
3135
3176
  created_at?: string;
3136
3177
  created_by?: string | null;
@@ -3148,12 +3189,14 @@ export type Database = {
3148
3189
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3149
3190
  page_settings?: Json;
3150
3191
  papierformaat?: string;
3192
+ systeem?: boolean;
3151
3193
  thumbnail_url?: string | null;
3152
3194
  updated_at?: string;
3153
3195
  };
3154
3196
  Update: {
3155
3197
  actief?: boolean;
3156
3198
  breedte_mm?: number;
3199
+ bron?: string;
3157
3200
  config?: Json;
3158
3201
  created_at?: string;
3159
3202
  created_by?: string | null;
@@ -3171,11 +3214,50 @@ export type Database = {
3171
3214
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3172
3215
  page_settings?: Json;
3173
3216
  papierformaat?: string;
3217
+ systeem?: boolean;
3174
3218
  thumbnail_url?: string | null;
3175
3219
  updated_at?: string;
3176
3220
  };
3177
3221
  Relationships: [];
3178
3222
  };
3223
+ document_werkplek_printers: {
3224
+ Row: {
3225
+ created_at: string;
3226
+ documenttype: string;
3227
+ id: string;
3228
+ papierformaat: string | null;
3229
+ printer_id: string | null;
3230
+ updated_at: string;
3231
+ werkplek: string;
3232
+ };
3233
+ Insert: {
3234
+ created_at?: string;
3235
+ documenttype: string;
3236
+ id?: string;
3237
+ papierformaat?: string | null;
3238
+ printer_id?: string | null;
3239
+ updated_at?: string;
3240
+ werkplek: string;
3241
+ };
3242
+ Update: {
3243
+ created_at?: string;
3244
+ documenttype?: string;
3245
+ id?: string;
3246
+ papierformaat?: string | null;
3247
+ printer_id?: string | null;
3248
+ updated_at?: string;
3249
+ werkplek?: string;
3250
+ };
3251
+ Relationships: [
3252
+ {
3253
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
3254
+ columns: ["printer_id"];
3255
+ isOneToOne: false;
3256
+ referencedRelation: "printers";
3257
+ referencedColumns: ["id"];
3258
+ }
3259
+ ];
3260
+ };
3179
3261
  email_auth_connections: {
3180
3262
  Row: {
3181
3263
  access_token_encrypted: string | null;
@@ -7601,6 +7683,7 @@ export type Database = {
7601
7683
  };
7602
7684
  invoice_post_idempotency: {
7603
7685
  Row: {
7686
+ administration_code: string;
7604
7687
  client_request_id: string;
7605
7688
  completed_at: string | null;
7606
7689
  created_at: string;
@@ -7610,6 +7693,7 @@ export type Database = {
7610
7693
  user_id: string;
7611
7694
  };
7612
7695
  Insert: {
7696
+ administration_code?: string;
7613
7697
  client_request_id: string;
7614
7698
  completed_at?: string | null;
7615
7699
  created_at?: string;
@@ -7619,6 +7703,7 @@ export type Database = {
7619
7703
  user_id: string;
7620
7704
  };
7621
7705
  Update: {
7706
+ administration_code?: string;
7622
7707
  client_request_id?: string;
7623
7708
  completed_at?: string | null;
7624
7709
  created_at?: string;
@@ -10923,6 +11008,7 @@ export type Database = {
10923
11008
  enforce: boolean;
10924
11009
  is_active: boolean;
10925
11010
  last_seen_at: string;
11011
+ missing_count: number;
10926
11012
  module_id: string;
10927
11013
  name: string;
10928
11014
  shell_id: string | null;
@@ -10933,6 +11019,7 @@ export type Database = {
10933
11019
  enforce?: boolean;
10934
11020
  is_active?: boolean;
10935
11021
  last_seen_at?: string;
11022
+ missing_count?: number;
10936
11023
  module_id: string;
10937
11024
  name: string;
10938
11025
  shell_id?: string | null;
@@ -10943,6 +11030,7 @@ export type Database = {
10943
11030
  enforce?: boolean;
10944
11031
  is_active?: boolean;
10945
11032
  last_seen_at?: string;
11033
+ missing_count?: number;
10946
11034
  module_id?: string;
10947
11035
  name?: string;
10948
11036
  shell_id?: string | null;
@@ -11974,6 +12062,7 @@ export type Database = {
11974
12062
  };
11975
12063
  order_invoice_links: {
11976
12064
  Row: {
12065
+ administration_code: string | null;
11977
12066
  attempts: number;
11978
12067
  created_at: string;
11979
12068
  error_message: string | null;
@@ -11986,6 +12075,7 @@ export type Database = {
11986
12075
  updated_at: string;
11987
12076
  };
11988
12077
  Insert: {
12078
+ administration_code?: string | null;
11989
12079
  attempts?: number;
11990
12080
  created_at?: string;
11991
12081
  error_message?: string | null;
@@ -11998,6 +12088,7 @@ export type Database = {
11998
12088
  updated_at?: string;
11999
12089
  };
12000
12090
  Update: {
12091
+ administration_code?: string | null;
12001
12092
  attempts?: number;
12002
12093
  created_at?: string;
12003
12094
  error_message?: string | null;
@@ -13207,6 +13298,27 @@ export type Database = {
13207
13298
  }
13208
13299
  ];
13209
13300
  };
13301
+ pick_sync_state: {
13302
+ Row: {
13303
+ id: boolean;
13304
+ last_cleanup_at: string | null;
13305
+ last_sync_at: string | null;
13306
+ updated_at: string;
13307
+ };
13308
+ Insert: {
13309
+ id?: boolean;
13310
+ last_cleanup_at?: string | null;
13311
+ last_sync_at?: string | null;
13312
+ updated_at?: string;
13313
+ };
13314
+ Update: {
13315
+ id?: boolean;
13316
+ last_cleanup_at?: string | null;
13317
+ last_sync_at?: string | null;
13318
+ updated_at?: string;
13319
+ };
13320
+ Relationships: [];
13321
+ };
13210
13322
  pick_task_document_types: {
13211
13323
  Row: {
13212
13324
  created_at: string;
@@ -13498,6 +13610,7 @@ export type Database = {
13498
13610
  gebruiker_id: string | null;
13499
13611
  gebruiker_naam: string;
13500
13612
  gestart_op: string | null;
13613
+ herkomst: string | null;
13501
13614
  id: string;
13502
13615
  idempotentie_sleutel: string | null;
13503
13616
  is_herprint: boolean;
@@ -13527,6 +13640,7 @@ export type Database = {
13527
13640
  gebruiker_id?: string | null;
13528
13641
  gebruiker_naam?: string;
13529
13642
  gestart_op?: string | null;
13643
+ herkomst?: string | null;
13530
13644
  id?: string;
13531
13645
  idempotentie_sleutel?: string | null;
13532
13646
  is_herprint?: boolean;
@@ -13556,6 +13670,7 @@ export type Database = {
13556
13670
  gebruiker_id?: string | null;
13557
13671
  gebruiker_naam?: string;
13558
13672
  gestart_op?: string | null;
13673
+ herkomst?: string | null;
13559
13674
  id?: string;
13560
13675
  idempotentie_sleutel?: string | null;
13561
13676
  is_herprint?: boolean;
@@ -16655,12 +16770,16 @@ export type Database = {
16655
16770
  company_name: string | null;
16656
16771
  connected_at: string | null;
16657
16772
  created_at: string;
16773
+ disconnected_at: string | null;
16658
16774
  environment: string;
16659
16775
  id: string;
16776
+ initial_sync_completed_at: string | null;
16777
+ initial_sync_started_at: string | null;
16660
16778
  is_active: boolean;
16661
16779
  label: string | null;
16662
16780
  office_code: string | null;
16663
16781
  redirect_uri: string | null;
16782
+ superseded_at: string | null;
16664
16783
  updated_at: string;
16665
16784
  user_id: string;
16666
16785
  };
@@ -16671,12 +16790,16 @@ export type Database = {
16671
16790
  company_name?: string | null;
16672
16791
  connected_at?: string | null;
16673
16792
  created_at?: string;
16793
+ disconnected_at?: string | null;
16674
16794
  environment: string;
16675
16795
  id?: string;
16796
+ initial_sync_completed_at?: string | null;
16797
+ initial_sync_started_at?: string | null;
16676
16798
  is_active?: boolean;
16677
16799
  label?: string | null;
16678
16800
  office_code?: string | null;
16679
16801
  redirect_uri?: string | null;
16802
+ superseded_at?: string | null;
16680
16803
  updated_at?: string;
16681
16804
  user_id: string;
16682
16805
  };
@@ -16687,12 +16810,16 @@ export type Database = {
16687
16810
  company_name?: string | null;
16688
16811
  connected_at?: string | null;
16689
16812
  created_at?: string;
16813
+ disconnected_at?: string | null;
16690
16814
  environment?: string;
16691
16815
  id?: string;
16816
+ initial_sync_completed_at?: string | null;
16817
+ initial_sync_started_at?: string | null;
16692
16818
  is_active?: boolean;
16693
16819
  label?: string | null;
16694
16820
  office_code?: string | null;
16695
16821
  redirect_uri?: string | null;
16822
+ superseded_at?: string | null;
16696
16823
  updated_at?: string;
16697
16824
  user_id?: string;
16698
16825
  };
@@ -16752,6 +16879,7 @@ export type Database = {
16752
16879
  twinfield_customers: {
16753
16880
  Row: {
16754
16881
  address: string | null;
16882
+ administration_code: string;
16755
16883
  city: string | null;
16756
16884
  country: string | null;
16757
16885
  created_at: string;
@@ -16771,6 +16899,7 @@ export type Database = {
16771
16899
  };
16772
16900
  Insert: {
16773
16901
  address?: string | null;
16902
+ administration_code?: string;
16774
16903
  city?: string | null;
16775
16904
  country?: string | null;
16776
16905
  created_at?: string;
@@ -16790,6 +16919,7 @@ export type Database = {
16790
16919
  };
16791
16920
  Update: {
16792
16921
  address?: string | null;
16922
+ administration_code?: string;
16793
16923
  city?: string | null;
16794
16924
  country?: string | null;
16795
16925
  created_at?: string;
@@ -17011,7 +17141,9 @@ export type Database = {
17011
17141
  };
17012
17142
  twinfield_invoice_settings: {
17013
17143
  Row: {
17144
+ administration_code: string | null;
17014
17145
  auto_invoice_enabled: boolean;
17146
+ auto_invoice_start_date: string | null;
17015
17147
  auto_invoice_trigger_statuses: string[];
17016
17148
  created_at: string;
17017
17149
  debtor_gl_account: string;
@@ -17025,15 +17157,19 @@ export type Database = {
17025
17157
  invoice_enabled_fo: boolean;
17026
17158
  invoice_enabled_ho: boolean;
17027
17159
  invoice_enabled_mo: boolean;
17160
+ needs_review: boolean;
17028
17161
  payment_gl_account: string;
17029
17162
  payment_journal_code: string;
17163
+ settings_confirmed_at: string | null;
17030
17164
  updated_at: string;
17031
17165
  user_id: string;
17032
17166
  vat_code_eu_reverse: string | null;
17033
17167
  vat_code_export: string | null;
17034
17168
  };
17035
17169
  Insert: {
17170
+ administration_code?: string | null;
17036
17171
  auto_invoice_enabled?: boolean;
17172
+ auto_invoice_start_date?: string | null;
17037
17173
  auto_invoice_trigger_statuses?: string[];
17038
17174
  created_at?: string;
17039
17175
  debtor_gl_account?: string;
@@ -17047,15 +17183,19 @@ export type Database = {
17047
17183
  invoice_enabled_fo?: boolean;
17048
17184
  invoice_enabled_ho?: boolean;
17049
17185
  invoice_enabled_mo?: boolean;
17186
+ needs_review?: boolean;
17050
17187
  payment_gl_account?: string;
17051
17188
  payment_journal_code?: string;
17189
+ settings_confirmed_at?: string | null;
17052
17190
  updated_at?: string;
17053
17191
  user_id: string;
17054
17192
  vat_code_eu_reverse?: string | null;
17055
17193
  vat_code_export?: string | null;
17056
17194
  };
17057
17195
  Update: {
17196
+ administration_code?: string | null;
17058
17197
  auto_invoice_enabled?: boolean;
17198
+ auto_invoice_start_date?: string | null;
17059
17199
  auto_invoice_trigger_statuses?: string[];
17060
17200
  created_at?: string;
17061
17201
  debtor_gl_account?: string;
@@ -17069,8 +17209,10 @@ export type Database = {
17069
17209
  invoice_enabled_fo?: boolean;
17070
17210
  invoice_enabled_ho?: boolean;
17071
17211
  invoice_enabled_mo?: boolean;
17212
+ needs_review?: boolean;
17072
17213
  payment_gl_account?: string;
17073
17214
  payment_journal_code?: string;
17215
+ settings_confirmed_at?: string | null;
17074
17216
  updated_at?: string;
17075
17217
  user_id?: string;
17076
17218
  vat_code_eu_reverse?: string | null;
@@ -20194,6 +20336,7 @@ export type Database = {
20194
20336
  gebruiker_id: string | null;
20195
20337
  gebruiker_naam: string;
20196
20338
  gestart_op: string | null;
20339
+ herkomst: string | null;
20197
20340
  id: string;
20198
20341
  idempotentie_sleutel: string | null;
20199
20342
  is_herprint: boolean;
@@ -20314,6 +20457,7 @@ export type Database = {
20314
20457
  gebruiker_id: string | null;
20315
20458
  gebruiker_naam: string;
20316
20459
  gestart_op: string | null;
20460
+ herkomst: string | null;
20317
20461
  id: string;
20318
20462
  idempotentie_sleutel: string | null;
20319
20463
  is_herprint: boolean;
@@ -21023,6 +21167,29 @@ export type Database = {
21023
21167
  roles: string[];
21024
21168
  }[];
21025
21169
  };
21170
+ list_monteur_absences: {
21171
+ Args: {
21172
+ _from: string;
21173
+ _to: string;
21174
+ };
21175
+ Returns: {
21176
+ absence_date: string;
21177
+ end_time: string;
21178
+ full_day: boolean;
21179
+ kind: string;
21180
+ monteur_id: string;
21181
+ start_time: string;
21182
+ }[];
21183
+ };
21184
+ list_monteurs: {
21185
+ Args: never;
21186
+ Returns: {
21187
+ avatar_url: string;
21188
+ display_name: string;
21189
+ email: string;
21190
+ id: string;
21191
+ }[];
21192
+ };
21026
21193
  list_my_planning_items: {
21027
21194
  Args: {
21028
21195
  _from: string;
@@ -21976,6 +22143,13 @@ export type Database = {
21976
22143
  isSetofReturn: false;
21977
22144
  };
21978
22145
  };
22146
+ pick_cleanup_maintenance: {
22147
+ Args: {
22148
+ _heartbeat_hours?: number;
22149
+ _log_days?: number;
22150
+ };
22151
+ Returns: Json;
22152
+ };
21979
22153
  pick_complete_print: {
21980
22154
  Args: {
21981
22155
  _printer_id: string;
@@ -22027,6 +22201,14 @@ export type Database = {
22027
22201
  Args: never;
22028
22202
  Returns: string;
22029
22203
  };
22204
+ pick_day_counts: {
22205
+ Args: {
22206
+ _pick_day?: string;
22207
+ _screen_id?: string;
22208
+ _station_id?: string;
22209
+ };
22210
+ Returns: Json;
22211
+ };
22030
22212
  pick_document_layout_data: {
22031
22213
  Args: {
22032
22214
  _layout_id: string;
@@ -22064,6 +22246,14 @@ export type Database = {
22064
22246
  };
22065
22247
  Returns: undefined;
22066
22248
  };
22249
+ pick_reprint_document: {
22250
+ Args: {
22251
+ _queue_item_id: string;
22252
+ _session_id: string;
22253
+ _throttle_seconds?: number;
22254
+ };
22255
+ Returns: string;
22256
+ };
22067
22257
  pick_reset_print: {
22068
22258
  Args: {
22069
22259
  _queue_item_id: string;
@@ -22129,6 +22319,12 @@ export type Database = {
22129
22319
  };
22130
22320
  Returns: string;
22131
22321
  };
22322
+ pick_sync_queue_throttled: {
22323
+ Args: {
22324
+ _min_seconds?: number;
22325
+ };
22326
+ Returns: Json;
22327
+ };
22132
22328
  pickstation_get_orders_raw: {
22133
22329
  Args: never;
22134
22330
  Returns: Json;
@@ -22274,6 +22470,12 @@ export type Database = {
22274
22470
  };
22275
22471
  Returns: boolean;
22276
22472
  };
22473
+ release_stale_order_invoice_links: {
22474
+ Args: {
22475
+ _minutes?: number;
22476
+ };
22477
+ Returns: number;
22478
+ };
22277
22479
  reorder_customer_price_groups: {
22278
22480
  Args: {
22279
22481
  _ids: string[];
@@ -22792,6 +22994,20 @@ export type Database = {
22792
22994
  };
22793
22995
  Returns: undefined;
22794
22996
  };
22997
+ twinfield_deactivate_connection: {
22998
+ Args: {
22999
+ p_connection_id: string;
23000
+ p_user_id: string;
23001
+ };
23002
+ Returns: Json;
23003
+ };
23004
+ twinfield_handle_administration_change: {
23005
+ Args: {
23006
+ _administration_code: string;
23007
+ _user_id: string;
23008
+ };
23009
+ Returns: undefined;
23010
+ };
22795
23011
  twinfield_prune_push_queue: {
22796
23012
  Args: never;
22797
23013
  Returns: number;
@@ -22811,10 +23027,11 @@ export type Database = {
22811
23027
  p_company_name?: string;
22812
23028
  p_environment: string;
22813
23029
  p_office_code?: string;
23030
+ p_reset_sync?: boolean;
22814
23031
  p_status?: string;
22815
23032
  p_user_id: string;
22816
23033
  };
22817
- Returns: string;
23034
+ Returns: Json;
22818
23035
  };
22819
23036
  upsert_auto_fulfillment_log: {
22820
23037
  Args: {