@flowselections/admin-installatietechniek 1.0.9 → 1.0.11

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.
@@ -3205,6 +3205,7 @@ export type Database = {
3205
3205
  formaat_code: string;
3206
3206
  id: string;
3207
3207
  printer_id: string | null;
3208
+ printer_ontbreekt_sinds: string | null;
3208
3209
  updated_at: string;
3209
3210
  };
3210
3211
  Insert: {
@@ -3213,6 +3214,7 @@ export type Database = {
3213
3214
  formaat_code: string;
3214
3215
  id?: string;
3215
3216
  printer_id?: string | null;
3217
+ printer_ontbreekt_sinds?: string | null;
3216
3218
  updated_at?: string;
3217
3219
  };
3218
3220
  Update: {
@@ -3221,6 +3223,7 @@ export type Database = {
3221
3223
  formaat_code?: string;
3222
3224
  id?: string;
3223
3225
  printer_id?: string | null;
3226
+ printer_ontbreekt_sinds?: string | null;
3224
3227
  updated_at?: string;
3225
3228
  };
3226
3229
  Relationships: [
@@ -3570,6 +3573,7 @@ export type Database = {
3570
3573
  papierformaat: string | null;
3571
3574
  print_plek_id: string;
3572
3575
  printer_id: string | null;
3576
+ printer_ontbreekt_sinds: string | null;
3573
3577
  updated_at: string;
3574
3578
  };
3575
3579
  Insert: {
@@ -3579,6 +3583,7 @@ export type Database = {
3579
3583
  papierformaat?: string | null;
3580
3584
  print_plek_id: string;
3581
3585
  printer_id?: string | null;
3586
+ printer_ontbreekt_sinds?: string | null;
3582
3587
  updated_at?: string;
3583
3588
  };
3584
3589
  Update: {
@@ -3588,6 +3593,7 @@ export type Database = {
3588
3593
  papierformaat?: string | null;
3589
3594
  print_plek_id?: string;
3590
3595
  printer_id?: string | null;
3596
+ printer_ontbreekt_sinds?: string | null;
3591
3597
  updated_at?: string;
3592
3598
  };
3593
3599
  Relationships: [
@@ -3614,6 +3620,7 @@ export type Database = {
3614
3620
  id: string;
3615
3621
  papierformaat: string | null;
3616
3622
  printer_id: string | null;
3623
+ printer_ontbreekt_sinds: string | null;
3617
3624
  updated_at: string;
3618
3625
  werkplek: string;
3619
3626
  };
@@ -3623,6 +3630,7 @@ export type Database = {
3623
3630
  id?: string;
3624
3631
  papierformaat?: string | null;
3625
3632
  printer_id?: string | null;
3633
+ printer_ontbreekt_sinds?: string | null;
3626
3634
  updated_at?: string;
3627
3635
  werkplek: string;
3628
3636
  };
@@ -3632,6 +3640,7 @@ export type Database = {
3632
3640
  id?: string;
3633
3641
  papierformaat?: string | null;
3634
3642
  printer_id?: string | null;
3643
+ printer_ontbreekt_sinds?: string | null;
3635
3644
  updated_at?: string;
3636
3645
  werkplek?: string;
3637
3646
  };
@@ -7023,6 +7032,80 @@ export type Database = {
7023
7032
  }
7024
7033
  ];
7025
7034
  };
7035
+ floriday_document_fetch_queue: {
7036
+ Row: {
7037
+ attempts: number;
7038
+ cancelled_reason: string | null;
7039
+ completed_at: string | null;
7040
+ connection_id: string;
7041
+ created_at: string;
7042
+ document_key: string;
7043
+ environment: string;
7044
+ id: string;
7045
+ kind: string;
7046
+ last_error: string | null;
7047
+ last_http_status: number | null;
7048
+ locked_at: string | null;
7049
+ locked_by: string | null;
7050
+ max_attempts: number;
7051
+ next_attempt_at: string;
7052
+ order_ref: string | null;
7053
+ params: Json;
7054
+ status: string;
7055
+ updated_at: string;
7056
+ };
7057
+ Insert: {
7058
+ attempts?: number;
7059
+ cancelled_reason?: string | null;
7060
+ completed_at?: string | null;
7061
+ connection_id: string;
7062
+ created_at?: string;
7063
+ document_key: string;
7064
+ environment: string;
7065
+ id?: string;
7066
+ kind: string;
7067
+ last_error?: string | null;
7068
+ last_http_status?: number | null;
7069
+ locked_at?: string | null;
7070
+ locked_by?: string | null;
7071
+ max_attempts?: number;
7072
+ next_attempt_at?: string;
7073
+ order_ref?: string | null;
7074
+ params?: Json;
7075
+ status?: string;
7076
+ updated_at?: string;
7077
+ };
7078
+ Update: {
7079
+ attempts?: number;
7080
+ cancelled_reason?: string | null;
7081
+ completed_at?: string | null;
7082
+ connection_id?: string;
7083
+ created_at?: string;
7084
+ document_key?: string;
7085
+ environment?: string;
7086
+ id?: string;
7087
+ kind?: string;
7088
+ last_error?: string | null;
7089
+ last_http_status?: number | null;
7090
+ locked_at?: string | null;
7091
+ locked_by?: string | null;
7092
+ max_attempts?: number;
7093
+ next_attempt_at?: string;
7094
+ order_ref?: string | null;
7095
+ params?: Json;
7096
+ status?: string;
7097
+ updated_at?: string;
7098
+ };
7099
+ Relationships: [
7100
+ {
7101
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
7102
+ columns: ["connection_id"];
7103
+ isOneToOne: false;
7104
+ referencedRelation: "floriday_connections";
7105
+ referencedColumns: ["id"];
7106
+ }
7107
+ ];
7108
+ };
7026
7109
  floriday_fulfillment_orders_cache: {
7027
7110
  Row: {
7028
7111
  auction_date: string | null;
@@ -9615,6 +9698,59 @@ export type Database = {
9615
9698
  };
9616
9699
  Relationships: [];
9617
9700
  };
9701
+ itk_offerte_acceptaties: {
9702
+ Row: {
9703
+ accepted_at: string;
9704
+ akkoordgever_email: string;
9705
+ akkoordgever_naam: string;
9706
+ akkoordverklaring: string;
9707
+ id: string;
9708
+ inhoud_hash: string;
9709
+ ip_address: unknown;
9710
+ offerte_id: string;
9711
+ offerte_number: string;
9712
+ offerte_snapshot: Json;
9713
+ user_agent: string | null;
9714
+ versie: string;
9715
+ };
9716
+ Insert: {
9717
+ accepted_at?: string;
9718
+ akkoordgever_email: string;
9719
+ akkoordgever_naam: string;
9720
+ akkoordverklaring: string;
9721
+ id?: string;
9722
+ inhoud_hash: string;
9723
+ ip_address?: unknown;
9724
+ offerte_id: string;
9725
+ offerte_number: string;
9726
+ offerte_snapshot: Json;
9727
+ user_agent?: string | null;
9728
+ versie: string;
9729
+ };
9730
+ Update: {
9731
+ accepted_at?: string;
9732
+ akkoordgever_email?: string;
9733
+ akkoordgever_naam?: string;
9734
+ akkoordverklaring?: string;
9735
+ id?: string;
9736
+ inhoud_hash?: string;
9737
+ ip_address?: unknown;
9738
+ offerte_id?: string;
9739
+ offerte_number?: string;
9740
+ offerte_snapshot?: Json;
9741
+ user_agent?: string | null;
9742
+ versie?: string;
9743
+ };
9744
+ Relationships: [
9745
+ {
9746
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
9747
+ columns: ["offerte_id"];
9748
+ isOneToOne: true;
9749
+ referencedRelation: "itk_offertes";
9750
+ referencedColumns: ["id"];
9751
+ }
9752
+ ];
9753
+ };
9618
9754
  itk_offerte_events: {
9619
9755
  Row: {
9620
9756
  created_at: string;
@@ -9837,6 +9973,7 @@ export type Database = {
9837
9973
  itk_offertes: {
9838
9974
  Row: {
9839
9975
  aandachtspunten: string | null;
9976
+ acceptance_id: string | null;
9840
9977
  ai_generated: boolean;
9841
9978
  approved_at: string | null;
9842
9979
  binnen_mandaat: boolean;
@@ -9855,6 +9992,11 @@ export type Database = {
9855
9992
  onderwerp: string | null;
9856
9993
  rejected_at: string | null;
9857
9994
  sent_at: string | null;
9995
+ sign_token: string;
9996
+ signature_data: string | null;
9997
+ signed_at: string | null;
9998
+ signer_email: string | null;
9999
+ signer_name: string | null;
9858
10000
  source_number: string | null;
9859
10001
  source_ref: string | null;
9860
10002
  source_type: string;
@@ -9869,11 +10011,13 @@ export type Database = {
9869
10011
  viewed_at: string | null;
9870
10012
  volgnummer: number | null;
9871
10013
  voorwaarden: string | null;
10014
+ werkbon_concept: Json | null;
9872
10015
  werkbon_id: string | null;
9873
10016
  work_location_id: string | null;
9874
10017
  };
9875
10018
  Insert: {
9876
10019
  aandachtspunten?: string | null;
10020
+ acceptance_id?: string | null;
9877
10021
  ai_generated?: boolean;
9878
10022
  approved_at?: string | null;
9879
10023
  binnen_mandaat?: boolean;
@@ -9892,6 +10036,11 @@ export type Database = {
9892
10036
  onderwerp?: string | null;
9893
10037
  rejected_at?: string | null;
9894
10038
  sent_at?: string | null;
10039
+ sign_token?: string;
10040
+ signature_data?: string | null;
10041
+ signed_at?: string | null;
10042
+ signer_email?: string | null;
10043
+ signer_name?: string | null;
9895
10044
  source_number?: string | null;
9896
10045
  source_ref?: string | null;
9897
10046
  source_type?: string;
@@ -9906,11 +10055,13 @@ export type Database = {
9906
10055
  viewed_at?: string | null;
9907
10056
  volgnummer?: number | null;
9908
10057
  voorwaarden?: string | null;
10058
+ werkbon_concept?: Json | null;
9909
10059
  werkbon_id?: string | null;
9910
10060
  work_location_id?: string | null;
9911
10061
  };
9912
10062
  Update: {
9913
10063
  aandachtspunten?: string | null;
10064
+ acceptance_id?: string | null;
9914
10065
  ai_generated?: boolean;
9915
10066
  approved_at?: string | null;
9916
10067
  binnen_mandaat?: boolean;
@@ -9929,6 +10080,11 @@ export type Database = {
9929
10080
  onderwerp?: string | null;
9930
10081
  rejected_at?: string | null;
9931
10082
  sent_at?: string | null;
10083
+ sign_token?: string;
10084
+ signature_data?: string | null;
10085
+ signed_at?: string | null;
10086
+ signer_email?: string | null;
10087
+ signer_name?: string | null;
9932
10088
  source_number?: string | null;
9933
10089
  source_ref?: string | null;
9934
10090
  source_type?: string;
@@ -9943,10 +10099,18 @@ export type Database = {
9943
10099
  viewed_at?: string | null;
9944
10100
  volgnummer?: number | null;
9945
10101
  voorwaarden?: string | null;
10102
+ werkbon_concept?: Json | null;
9946
10103
  werkbon_id?: string | null;
9947
10104
  work_location_id?: string | null;
9948
10105
  };
9949
10106
  Relationships: [
10107
+ {
10108
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
10109
+ columns: ["acceptance_id"];
10110
+ isOneToOne: false;
10111
+ referencedRelation: "itk_offerte_acceptaties";
10112
+ referencedColumns: ["id"];
10113
+ },
9950
10114
  {
9951
10115
  foreignKeyName: "itk_offertes_contact_id_fkey";
9952
10116
  columns: ["contact_id"];
@@ -16799,6 +16963,7 @@ export type Database = {
16799
16963
  cc: string[];
16800
16964
  connection_id: string | null;
16801
16965
  created_at: string;
16966
+ email_purpose: string | null;
16802
16967
  enabled: boolean;
16803
16968
  id: boolean;
16804
16969
  reply_to: string | null;
@@ -16812,6 +16977,7 @@ export type Database = {
16812
16977
  cc?: string[];
16813
16978
  connection_id?: string | null;
16814
16979
  created_at?: string;
16980
+ email_purpose?: string | null;
16815
16981
  enabled?: boolean;
16816
16982
  id?: boolean;
16817
16983
  reply_to?: string | null;
@@ -16825,6 +16991,7 @@ export type Database = {
16825
16991
  cc?: string[];
16826
16992
  connection_id?: string | null;
16827
16993
  created_at?: string;
16994
+ email_purpose?: string | null;
16828
16995
  enabled?: boolean;
16829
16996
  id?: boolean;
16830
16997
  reply_to?: string | null;
@@ -17249,6 +17416,27 @@ export type Database = {
17249
17416
  };
17250
17417
  Relationships: [];
17251
17418
  };
17419
+ print_genegeerde_computers: {
17420
+ Row: {
17421
+ computer_naam: string;
17422
+ genegeerd_door: string | null;
17423
+ genegeerd_op: string;
17424
+ id: string;
17425
+ };
17426
+ Insert: {
17427
+ computer_naam: string;
17428
+ genegeerd_door?: string | null;
17429
+ genegeerd_op?: string;
17430
+ id?: string;
17431
+ };
17432
+ Update: {
17433
+ computer_naam?: string;
17434
+ genegeerd_door?: string | null;
17435
+ genegeerd_op?: string;
17436
+ id?: string;
17437
+ };
17438
+ Relationships: [];
17439
+ };
17252
17440
  print_job_logs: {
17253
17441
  Row: {
17254
17442
  created_at: string;
@@ -17530,6 +17718,42 @@ export type Database = {
17530
17718
  }
17531
17719
  ];
17532
17720
  };
17721
+ print_plek_printers: {
17722
+ Row: {
17723
+ id: string;
17724
+ print_plek_id: string;
17725
+ printer_id: string;
17726
+ toegevoegd_op: string;
17727
+ };
17728
+ Insert: {
17729
+ id?: string;
17730
+ print_plek_id: string;
17731
+ printer_id: string;
17732
+ toegevoegd_op?: string;
17733
+ };
17734
+ Update: {
17735
+ id?: string;
17736
+ print_plek_id?: string;
17737
+ printer_id?: string;
17738
+ toegevoegd_op?: string;
17739
+ };
17740
+ Relationships: [
17741
+ {
17742
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
17743
+ columns: ["print_plek_id"];
17744
+ isOneToOne: false;
17745
+ referencedRelation: "print_plekken";
17746
+ referencedColumns: ["id"];
17747
+ },
17748
+ {
17749
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
17750
+ columns: ["printer_id"];
17751
+ isOneToOne: false;
17752
+ referencedRelation: "printers";
17753
+ referencedColumns: ["id"];
17754
+ }
17755
+ ];
17756
+ };
17533
17757
  print_plekken: {
17534
17758
  Row: {
17535
17759
  actief: boolean;
@@ -17748,7 +17972,8 @@ export type Database = {
17748
17972
  created_at: string;
17749
17973
  id: string;
17750
17974
  layout_id: string;
17751
- printer_id: string;
17975
+ printer_id: string | null;
17976
+ printer_ontbreekt_sinds: string | null;
17752
17977
  prioriteit: number;
17753
17978
  updated_at: string;
17754
17979
  };
@@ -17756,7 +17981,8 @@ export type Database = {
17756
17981
  created_at?: string;
17757
17982
  id?: string;
17758
17983
  layout_id: string;
17759
- printer_id: string;
17984
+ printer_id?: string | null;
17985
+ printer_ontbreekt_sinds?: string | null;
17760
17986
  prioriteit?: number;
17761
17987
  updated_at?: string;
17762
17988
  };
@@ -17764,7 +17990,8 @@ export type Database = {
17764
17990
  created_at?: string;
17765
17991
  id?: string;
17766
17992
  layout_id?: string;
17767
- printer_id?: string;
17993
+ printer_id?: string | null;
17994
+ printer_ontbreekt_sinds?: string | null;
17768
17995
  prioriteit?: number;
17769
17996
  updated_at?: string;
17770
17997
  };
@@ -22382,6 +22609,32 @@ export type Database = {
22382
22609
  };
22383
22610
  Relationships: [];
22384
22611
  };
22612
+ uren_pagina_toegang: {
22613
+ Row: {
22614
+ created_at: string;
22615
+ id: string;
22616
+ user_id: string;
22617
+ };
22618
+ Insert: {
22619
+ created_at?: string;
22620
+ id?: string;
22621
+ user_id: string;
22622
+ };
22623
+ Update: {
22624
+ created_at?: string;
22625
+ id?: string;
22626
+ user_id?: string;
22627
+ };
22628
+ Relationships: [
22629
+ {
22630
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
22631
+ columns: ["user_id"];
22632
+ isOneToOne: true;
22633
+ referencedRelation: "profiles";
22634
+ referencedColumns: ["id"];
22635
+ }
22636
+ ];
22637
+ };
22385
22638
  uren_settings: {
22386
22639
  Row: {
22387
22640
  break_minutes: number;
@@ -23819,10 +24072,12 @@ export type Database = {
23819
24072
  description: string | null;
23820
24073
  duration_minutes: number;
23821
24074
  id: string;
24075
+ labor_minutes: number;
23822
24076
  mandaat_type: string | null;
23823
24077
  name: string;
23824
24078
  price_mode: string;
23825
24079
  sort_order: number;
24080
+ travel_minutes: number;
23826
24081
  unit_price_cents: number;
23827
24082
  updated_at: string;
23828
24083
  };
@@ -23836,10 +24091,12 @@ export type Database = {
23836
24091
  description?: string | null;
23837
24092
  duration_minutes?: number;
23838
24093
  id?: string;
24094
+ labor_minutes?: number;
23839
24095
  mandaat_type?: string | null;
23840
24096
  name: string;
23841
24097
  price_mode?: string;
23842
24098
  sort_order?: number;
24099
+ travel_minutes?: number;
23843
24100
  unit_price_cents?: number;
23844
24101
  updated_at?: string;
23845
24102
  };
@@ -23853,10 +24110,12 @@ export type Database = {
23853
24110
  description?: string | null;
23854
24111
  duration_minutes?: number;
23855
24112
  id?: string;
24113
+ labor_minutes?: number;
23856
24114
  mandaat_type?: string | null;
23857
24115
  name?: string;
23858
24116
  price_mode?: string;
23859
24117
  sort_order?: number;
24118
+ travel_minutes?: number;
23860
24119
  unit_price_cents?: number;
23861
24120
  updated_at?: string;
23862
24121
  };
@@ -25464,6 +25723,12 @@ export type Database = {
25464
25723
  };
25465
25724
  Returns: undefined;
25466
25725
  };
25726
+ _quote_release_work_order_intern: {
25727
+ Args: {
25728
+ _offerte_id: string;
25729
+ };
25730
+ Returns: Json;
25731
+ };
25467
25732
  _wo_is_planner: {
25468
25733
  Args: never;
25469
25734
  Returns: boolean;
@@ -30475,6 +30740,35 @@ export type Database = {
30475
30740
  };
30476
30741
  Returns: undefined;
30477
30742
  };
30743
+ printer_gebruik: {
30744
+ Args: {
30745
+ _printer: string;
30746
+ };
30747
+ Returns: Json;
30748
+ };
30749
+ printer_routering: {
30750
+ Args: {
30751
+ _documenttype: string;
30752
+ _layout_id?: string;
30753
+ _papierformaat?: string;
30754
+ _print_plek_id?: string;
30755
+ _werkplek?: string;
30756
+ };
30757
+ Returns: Json;
30758
+ };
30759
+ printplek_printer: {
30760
+ Args: {
30761
+ _documenttype: string;
30762
+ _plek: string;
30763
+ };
30764
+ Returns: string;
30765
+ };
30766
+ printplek_verwijder_impact: {
30767
+ Args: {
30768
+ _id: string;
30769
+ };
30770
+ Returns: Json;
30771
+ };
30478
30772
  process_logistics_event: {
30479
30773
  Args: {
30480
30774
  p_event_id: string;
@@ -30542,6 +30836,13 @@ export type Database = {
30542
30836
  };
30543
30837
  Returns: boolean;
30544
30838
  };
30839
+ quote_fill_from_form: {
30840
+ Args: {
30841
+ _offerte_id: string;
30842
+ _payload: Json;
30843
+ };
30844
+ Returns: Json;
30845
+ };
30545
30846
  quote_get_billable_lines: {
30546
30847
  Args: {
30547
30848
  _quotation_id: string;
@@ -30571,12 +30872,43 @@ export type Database = {
30571
30872
  };
30572
30873
  Returns: Json;
30573
30874
  };
30875
+ quote_public_accept: {
30876
+ Args: {
30877
+ _akkoord: boolean;
30878
+ _email: string;
30879
+ _ip_address?: string;
30880
+ _naam: string;
30881
+ _token: string;
30882
+ _user_agent?: string;
30883
+ };
30884
+ Returns: Json;
30885
+ };
30886
+ quote_public_get: {
30887
+ Args: {
30888
+ _token: string;
30889
+ };
30890
+ Returns: Json;
30891
+ };
30892
+ quote_public_sign: {
30893
+ Args: {
30894
+ _handtekening: string;
30895
+ _naam: string;
30896
+ _token: string;
30897
+ };
30898
+ Returns: Json;
30899
+ };
30574
30900
  quote_queue_follow_up: {
30575
30901
  Args: {
30576
30902
  _offerte_id: string;
30577
30903
  };
30578
30904
  Returns: string;
30579
30905
  };
30906
+ quote_release_work_order: {
30907
+ Args: {
30908
+ _offerte_id: string;
30909
+ };
30910
+ Returns: Json;
30911
+ };
30580
30912
  quote_sync_work_order: {
30581
30913
  Args: {
30582
30914
  _monteur_instructies?: string;
@@ -31535,6 +31867,10 @@ export type Database = {
31535
31867
  };
31536
31868
  Returns: number;
31537
31869
  };
31870
+ uren_heeft_pagina_toegang: {
31871
+ Args: never;
31872
+ Returns: boolean;
31873
+ };
31538
31874
  uren_is_beheerder: {
31539
31875
  Args: never;
31540
31876
  Returns: boolean;
@@ -31618,6 +31954,13 @@ export type Database = {
31618
31954
  Args: never;
31619
31955
  Returns: string;
31620
31956
  };
31957
+ uren_pagina_toegang_instellen: {
31958
+ Args: {
31959
+ _toegang: boolean;
31960
+ _user_id: string;
31961
+ };
31962
+ Returns: undefined;
31963
+ };
31621
31964
  uren_planning_dagagenda: {
31622
31965
  Args: {
31623
31966
  _tot: string;
@@ -31862,6 +32205,19 @@ export type Database = {
31862
32205
  user_id: string;
31863
32206
  }[];
31864
32207
  };
32208
+ vervang_printer: {
32209
+ Args: {
32210
+ _nieuw: string;
32211
+ _oud: string;
32212
+ };
32213
+ Returns: Json;
32214
+ };
32215
+ verwijder_printplek: {
32216
+ Args: {
32217
+ _id: string;
32218
+ };
32219
+ Returns: Json;
32220
+ };
31865
32221
  voorraad_cleanup_old_rows: {
31866
32222
  Args: never;
31867
32223
  Returns: Json;
@@ -31872,6 +32228,16 @@ export type Database = {
31872
32228
  };
31873
32229
  Returns: number;
31874
32230
  };
32231
+ werkbon_pakket_tijden: {
32232
+ Args: {
32233
+ _werkbon_id: string;
32234
+ };
32235
+ Returns: {
32236
+ labor_minutes: number;
32237
+ total_minutes: number;
32238
+ travel_minutes: number;
32239
+ }[];
32240
+ };
31875
32241
  werkbon_totalen: {
31876
32242
  Args: {
31877
32243
  _werkbon_id: string;