@flowselections/admin-installatietechniek 1.0.9 → 1.0.10

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.
@@ -8,6 +8,5 @@ export type { PermissionLevel, ModuleAccessGuardProps } from '@flowselections/co
8
8
  export type ModulePermission = import('@flowselections/core').PermissionLevel;
9
9
  export { useDiscoveredModules } from './lib/moduleDiscovery';
10
10
  export type { DiscoveredModule, DiscoveredFeature } from './lib/moduleDiscovery';
11
- export { requireModulePermission } from '@flowselections/core/server';
12
11
  export declare const adminInstallatietechniekModule: FlowModule;
13
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,YAAY,EAAE,gCAAgC,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAEnH,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,EAC5B,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AACpF,mEAAmE;AACnE,MAAM,MAAM,gBAAgB,GAAG,OAAO,sBAAsB,EAAE,eAAe,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAItE,eAAO,MAAM,8BAA8B,EAAE,UAY5C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,YAAY,EAAE,gCAAgC,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAEnH,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,EAC5B,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AACpF,mEAAmE;AACnE,MAAM,MAAM,gBAAgB,GAAG,OAAO,sBAAsB,EAAE,eAAe,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAIjF,eAAO,MAAM,8BAA8B,EAAE,UAY5C,CAAC"}
package/dist-lib/index.js CHANGED
@@ -7,7 +7,6 @@ export { AdminForInstallatieTechniek } from './components/AdminForInstallatieTec
7
7
  // Check-laag komt uit core; deze module blijft alleen het beheer leveren.
8
8
  export { useModulePermission, useMyModulePermissions, useModulePermissionTransform, ModuleAccessGuard, } from '@flowselections/core';
9
9
  export { useDiscoveredModules } from './lib/moduleDiscovery';
10
- export { requireModulePermission } from '@flowselections/core/server';
11
10
  export const adminInstallatietechniekModule = {
12
11
  id: "admin-installatietechniek",
13
12
  name: "Admin Installatietechniek",
@@ -3141,6 +3141,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3141
3141
  formaat_code: string;
3142
3142
  id: string;
3143
3143
  printer_id: string | null;
3144
+ printer_ontbreekt_sinds: string | null;
3144
3145
  updated_at: string;
3145
3146
  };
3146
3147
  Insert: {
@@ -3149,6 +3150,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3149
3150
  formaat_code: string;
3150
3151
  id?: string;
3151
3152
  printer_id?: string | null;
3153
+ printer_ontbreekt_sinds?: string | null;
3152
3154
  updated_at?: string;
3153
3155
  };
3154
3156
  Update: {
@@ -3157,6 +3159,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3157
3159
  formaat_code?: string;
3158
3160
  id?: string;
3159
3161
  printer_id?: string | null;
3162
+ printer_ontbreekt_sinds?: string | null;
3160
3163
  updated_at?: string;
3161
3164
  };
3162
3165
  Relationships: [{
@@ -3493,6 +3496,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3493
3496
  papierformaat: string | null;
3494
3497
  print_plek_id: string;
3495
3498
  printer_id: string | null;
3499
+ printer_ontbreekt_sinds: string | null;
3496
3500
  updated_at: string;
3497
3501
  };
3498
3502
  Insert: {
@@ -3502,6 +3506,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3502
3506
  papierformaat?: string | null;
3503
3507
  print_plek_id: string;
3504
3508
  printer_id?: string | null;
3509
+ printer_ontbreekt_sinds?: string | null;
3505
3510
  updated_at?: string;
3506
3511
  };
3507
3512
  Update: {
@@ -3511,6 +3516,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3511
3516
  papierformaat?: string | null;
3512
3517
  print_plek_id?: string;
3513
3518
  printer_id?: string | null;
3519
+ printer_ontbreekt_sinds?: string | null;
3514
3520
  updated_at?: string;
3515
3521
  };
3516
3522
  Relationships: [{
@@ -3534,6 +3540,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3534
3540
  id: string;
3535
3541
  papierformaat: string | null;
3536
3542
  printer_id: string | null;
3543
+ printer_ontbreekt_sinds: string | null;
3537
3544
  updated_at: string;
3538
3545
  werkplek: string;
3539
3546
  };
@@ -3543,6 +3550,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3543
3550
  id?: string;
3544
3551
  papierformaat?: string | null;
3545
3552
  printer_id?: string | null;
3553
+ printer_ontbreekt_sinds?: string | null;
3546
3554
  updated_at?: string;
3547
3555
  werkplek: string;
3548
3556
  };
@@ -3552,6 +3560,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3552
3560
  id?: string;
3553
3561
  papierformaat?: string | null;
3554
3562
  printer_id?: string | null;
3563
+ printer_ontbreekt_sinds?: string | null;
3555
3564
  updated_at?: string;
3556
3565
  werkplek?: string;
3557
3566
  };
@@ -6854,6 +6863,78 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6854
6863
  referencedColumns: ["id"];
6855
6864
  }];
6856
6865
  };
6866
+ floriday_document_fetch_queue: {
6867
+ Row: {
6868
+ attempts: number;
6869
+ cancelled_reason: string | null;
6870
+ completed_at: string | null;
6871
+ connection_id: string;
6872
+ created_at: string;
6873
+ document_key: string;
6874
+ environment: string;
6875
+ id: string;
6876
+ kind: string;
6877
+ last_error: string | null;
6878
+ last_http_status: number | null;
6879
+ locked_at: string | null;
6880
+ locked_by: string | null;
6881
+ max_attempts: number;
6882
+ next_attempt_at: string;
6883
+ order_ref: string | null;
6884
+ params: import("./types").Json;
6885
+ status: string;
6886
+ updated_at: string;
6887
+ };
6888
+ Insert: {
6889
+ attempts?: number;
6890
+ cancelled_reason?: string | null;
6891
+ completed_at?: string | null;
6892
+ connection_id: string;
6893
+ created_at?: string;
6894
+ document_key: string;
6895
+ environment: string;
6896
+ id?: string;
6897
+ kind: string;
6898
+ last_error?: string | null;
6899
+ last_http_status?: number | null;
6900
+ locked_at?: string | null;
6901
+ locked_by?: string | null;
6902
+ max_attempts?: number;
6903
+ next_attempt_at?: string;
6904
+ order_ref?: string | null;
6905
+ params?: import("./types").Json;
6906
+ status?: string;
6907
+ updated_at?: string;
6908
+ };
6909
+ Update: {
6910
+ attempts?: number;
6911
+ cancelled_reason?: string | null;
6912
+ completed_at?: string | null;
6913
+ connection_id?: string;
6914
+ created_at?: string;
6915
+ document_key?: string;
6916
+ environment?: string;
6917
+ id?: string;
6918
+ kind?: string;
6919
+ last_error?: string | null;
6920
+ last_http_status?: number | null;
6921
+ locked_at?: string | null;
6922
+ locked_by?: string | null;
6923
+ max_attempts?: number;
6924
+ next_attempt_at?: string;
6925
+ order_ref?: string | null;
6926
+ params?: import("./types").Json;
6927
+ status?: string;
6928
+ updated_at?: string;
6929
+ };
6930
+ Relationships: [{
6931
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
6932
+ columns: ["connection_id"];
6933
+ isOneToOne: false;
6934
+ referencedRelation: "floriday_connections";
6935
+ referencedColumns: ["id"];
6936
+ }];
6937
+ };
6857
6938
  floriday_fulfillment_orders_cache: {
6858
6939
  Row: {
6859
6940
  auction_date: string | null;
@@ -9617,6 +9698,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9617
9698
  onderwerp: string | null;
9618
9699
  rejected_at: string | null;
9619
9700
  sent_at: string | null;
9701
+ sign_token: string;
9702
+ signature_data: string | null;
9703
+ signed_at: string | null;
9704
+ signer_name: string | null;
9620
9705
  source_number: string | null;
9621
9706
  source_ref: string | null;
9622
9707
  source_type: string;
@@ -9631,6 +9716,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9631
9716
  viewed_at: string | null;
9632
9717
  volgnummer: number | null;
9633
9718
  voorwaarden: string | null;
9719
+ werkbon_concept: import("./types").Json | null;
9634
9720
  werkbon_id: string | null;
9635
9721
  work_location_id: string | null;
9636
9722
  };
@@ -9654,6 +9740,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9654
9740
  onderwerp?: string | null;
9655
9741
  rejected_at?: string | null;
9656
9742
  sent_at?: string | null;
9743
+ sign_token?: string;
9744
+ signature_data?: string | null;
9745
+ signed_at?: string | null;
9746
+ signer_name?: string | null;
9657
9747
  source_number?: string | null;
9658
9748
  source_ref?: string | null;
9659
9749
  source_type?: string;
@@ -9668,6 +9758,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9668
9758
  viewed_at?: string | null;
9669
9759
  volgnummer?: number | null;
9670
9760
  voorwaarden?: string | null;
9761
+ werkbon_concept?: import("./types").Json | null;
9671
9762
  werkbon_id?: string | null;
9672
9763
  work_location_id?: string | null;
9673
9764
  };
@@ -9691,6 +9782,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9691
9782
  onderwerp?: string | null;
9692
9783
  rejected_at?: string | null;
9693
9784
  sent_at?: string | null;
9785
+ sign_token?: string;
9786
+ signature_data?: string | null;
9787
+ signed_at?: string | null;
9788
+ signer_name?: string | null;
9694
9789
  source_number?: string | null;
9695
9790
  source_ref?: string | null;
9696
9791
  source_type?: string;
@@ -9705,6 +9800,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9705
9800
  viewed_at?: string | null;
9706
9801
  volgnummer?: number | null;
9707
9802
  voorwaarden?: string | null;
9803
+ werkbon_concept?: import("./types").Json | null;
9708
9804
  werkbon_id?: string | null;
9709
9805
  work_location_id?: string | null;
9710
9806
  };
@@ -16823,6 +16919,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16823
16919
  };
16824
16920
  Relationships: [];
16825
16921
  };
16922
+ print_genegeerde_computers: {
16923
+ Row: {
16924
+ computer_naam: string;
16925
+ genegeerd_door: string | null;
16926
+ genegeerd_op: string;
16927
+ id: string;
16928
+ };
16929
+ Insert: {
16930
+ computer_naam: string;
16931
+ genegeerd_door?: string | null;
16932
+ genegeerd_op?: string;
16933
+ id?: string;
16934
+ };
16935
+ Update: {
16936
+ computer_naam?: string;
16937
+ genegeerd_door?: string | null;
16938
+ genegeerd_op?: string;
16939
+ id?: string;
16940
+ };
16941
+ Relationships: [];
16942
+ };
16826
16943
  print_job_logs: {
16827
16944
  Row: {
16828
16945
  created_at: string;
@@ -17093,6 +17210,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17093
17210
  referencedColumns: ["id"];
17094
17211
  }];
17095
17212
  };
17213
+ print_plek_printers: {
17214
+ Row: {
17215
+ id: string;
17216
+ print_plek_id: string;
17217
+ printer_id: string;
17218
+ toegevoegd_op: string;
17219
+ };
17220
+ Insert: {
17221
+ id?: string;
17222
+ print_plek_id: string;
17223
+ printer_id: string;
17224
+ toegevoegd_op?: string;
17225
+ };
17226
+ Update: {
17227
+ id?: string;
17228
+ print_plek_id?: string;
17229
+ printer_id?: string;
17230
+ toegevoegd_op?: string;
17231
+ };
17232
+ Relationships: [{
17233
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
17234
+ columns: ["print_plek_id"];
17235
+ isOneToOne: false;
17236
+ referencedRelation: "print_plekken";
17237
+ referencedColumns: ["id"];
17238
+ }, {
17239
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
17240
+ columns: ["printer_id"];
17241
+ isOneToOne: false;
17242
+ referencedRelation: "printers";
17243
+ referencedColumns: ["id"];
17244
+ }];
17245
+ };
17096
17246
  print_plekken: {
17097
17247
  Row: {
17098
17248
  actief: boolean;
@@ -17308,7 +17458,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17308
17458
  created_at: string;
17309
17459
  id: string;
17310
17460
  layout_id: string;
17311
- printer_id: string;
17461
+ printer_id: string | null;
17462
+ printer_ontbreekt_sinds: string | null;
17312
17463
  prioriteit: number;
17313
17464
  updated_at: string;
17314
17465
  };
@@ -17316,7 +17467,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17316
17467
  created_at?: string;
17317
17468
  id?: string;
17318
17469
  layout_id: string;
17319
- printer_id: string;
17470
+ printer_id?: string | null;
17471
+ printer_ontbreekt_sinds?: string | null;
17320
17472
  prioriteit?: number;
17321
17473
  updated_at?: string;
17322
17474
  };
@@ -17324,7 +17476,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17324
17476
  created_at?: string;
17325
17477
  id?: string;
17326
17478
  layout_id?: string;
17327
- printer_id?: string;
17479
+ printer_id?: string | null;
17480
+ printer_ontbreekt_sinds?: string | null;
17328
17481
  prioriteit?: number;
17329
17482
  updated_at?: string;
17330
17483
  };
@@ -23218,10 +23371,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23218
23371
  description: string | null;
23219
23372
  duration_minutes: number;
23220
23373
  id: string;
23374
+ labor_minutes: number;
23221
23375
  mandaat_type: string | null;
23222
23376
  name: string;
23223
23377
  price_mode: string;
23224
23378
  sort_order: number;
23379
+ travel_minutes: number;
23225
23380
  unit_price_cents: number;
23226
23381
  updated_at: string;
23227
23382
  };
@@ -23235,10 +23390,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23235
23390
  description?: string | null;
23236
23391
  duration_minutes?: number;
23237
23392
  id?: string;
23393
+ labor_minutes?: number;
23238
23394
  mandaat_type?: string | null;
23239
23395
  name: string;
23240
23396
  price_mode?: string;
23241
23397
  sort_order?: number;
23398
+ travel_minutes?: number;
23242
23399
  unit_price_cents?: number;
23243
23400
  updated_at?: string;
23244
23401
  };
@@ -23252,10 +23409,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23252
23409
  description?: string | null;
23253
23410
  duration_minutes?: number;
23254
23411
  id?: string;
23412
+ labor_minutes?: number;
23255
23413
  mandaat_type?: string | null;
23256
23414
  name?: string;
23257
23415
  price_mode?: string;
23258
23416
  sort_order?: number;
23417
+ travel_minutes?: number;
23259
23418
  unit_price_cents?: number;
23260
23419
  updated_at?: string;
23261
23420
  };
@@ -24810,6 +24969,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24810
24969
  };
24811
24970
  Returns: undefined;
24812
24971
  };
24972
+ _quote_release_work_order_intern: {
24973
+ Args: {
24974
+ _offerte_id: string;
24975
+ };
24976
+ Returns: import("./types").Json;
24977
+ };
24813
24978
  _wo_is_planner: {
24814
24979
  Args: never;
24815
24980
  Returns: boolean;
@@ -29821,6 +29986,29 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
29821
29986
  };
29822
29987
  Returns: undefined;
29823
29988
  };
29989
+ printer_gebruik: {
29990
+ Args: {
29991
+ _printer: string;
29992
+ };
29993
+ Returns: import("./types").Json;
29994
+ };
29995
+ printer_routering: {
29996
+ Args: {
29997
+ _documenttype: string;
29998
+ _layout_id?: string;
29999
+ _papierformaat?: string;
30000
+ _print_plek_id?: string;
30001
+ _werkplek?: string;
30002
+ };
30003
+ Returns: import("./types").Json;
30004
+ };
30005
+ printplek_printer: {
30006
+ Args: {
30007
+ _documenttype: string;
30008
+ _plek: string;
30009
+ };
30010
+ Returns: string;
30011
+ };
29824
30012
  process_logistics_event: {
29825
30013
  Args: {
29826
30014
  p_event_id: string;
@@ -29888,6 +30076,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
29888
30076
  };
29889
30077
  Returns: boolean;
29890
30078
  };
30079
+ quote_fill_from_form: {
30080
+ Args: {
30081
+ _offerte_id: string;
30082
+ _payload: import("./types").Json;
30083
+ };
30084
+ Returns: import("./types").Json;
30085
+ };
29891
30086
  quote_get_billable_lines: {
29892
30087
  Args: {
29893
30088
  _quotation_id: string;
@@ -29917,12 +30112,32 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
29917
30112
  };
29918
30113
  Returns: import("./types").Json;
29919
30114
  };
30115
+ quote_public_get: {
30116
+ Args: {
30117
+ _token: string;
30118
+ };
30119
+ Returns: import("./types").Json;
30120
+ };
30121
+ quote_public_sign: {
30122
+ Args: {
30123
+ _handtekening: string;
30124
+ _naam: string;
30125
+ _token: string;
30126
+ };
30127
+ Returns: import("./types").Json;
30128
+ };
29920
30129
  quote_queue_follow_up: {
29921
30130
  Args: {
29922
30131
  _offerte_id: string;
29923
30132
  };
29924
30133
  Returns: string;
29925
30134
  };
30135
+ quote_release_work_order: {
30136
+ Args: {
30137
+ _offerte_id: string;
30138
+ };
30139
+ Returns: import("./types").Json;
30140
+ };
29926
30141
  quote_sync_work_order: {
29927
30142
  Args: {
29928
30143
  _monteur_instructies?: string;
@@ -31208,6 +31423,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
31208
31423
  user_id: string;
31209
31424
  }[];
31210
31425
  };
31426
+ vervang_printer: {
31427
+ Args: {
31428
+ _nieuw: string;
31429
+ _oud: string;
31430
+ };
31431
+ Returns: import("./types").Json;
31432
+ };
31211
31433
  voorraad_cleanup_old_rows: {
31212
31434
  Args: never;
31213
31435
  Returns: import("./types").Json;
@@ -31218,6 +31440,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
31218
31440
  };
31219
31441
  Returns: number;
31220
31442
  };
31443
+ werkbon_pakket_tijden: {
31444
+ Args: {
31445
+ _werkbon_id: string;
31446
+ };
31447
+ Returns: {
31448
+ labor_minutes: number;
31449
+ total_minutes: number;
31450
+ travel_minutes: number;
31451
+ }[];
31452
+ };
31221
31453
  werkbon_totalen: {
31222
31454
  Args: {
31223
31455
  _werkbon_id: string;