-
Notifications
You must be signed in to change notification settings - Fork 3
/
generatedTypes.ts
4511 lines (4510 loc) · 134 KB
/
generatedTypes.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/**
* This file was auto-generated by swagger-to-ts.
* Do not make direct changes to the file.
*/
export interface components {
schemas: {
authentication_getaccesstoken: {
grant_type?: 'refresh_token' | 'password';
client_id?: string;
client_secret?: string;
username?: string;
password?: string;
refresh_token?: string;
};
absenceBans: {
id?: number;
department_id?: number;
reason?: string;
date_from?: string;
date_to?: string;
/**
* Timestamp of last change
*/
_since?: string;
};
absenceDays: {
id?: number;
user_id?: number;
user_department_id?: number;
user_role_id?: number;
date?: string;
type?: string;
other_paid_leave_id?: number;
value?: number;
value_unit?: string;
request_id?: number;
status?: number;
comment?: string;
begin?: string;
updated?: string;
};
absenceMultistageResponsibilities: {
id?: number;
options_id?: number;
request_id?: number;
user_id?: number;
/**
* level of the chane
*/
level?: number;
/**
* 0 - open; 1 - ready for approval; 2- approved; 3 - declined
*/
status?: number;
/**
* Comment of the request response in this level/interation
*/
comment?: string;
data_changed?: string;
};
absences: {
id?: number;
type_id?: number;
subtype_id?: number;
user_id?: number;
/**
* The user replacement for this request.
*/
replacement_user_id?: number;
/**
* The department id to which the request user (request_user_id) was assigned at the time of holiday request
*/
request_user_department_id?: number;
/**
* The department role id to which the request user (request_user_id) was assigned at the time of holiday request
*/
request_user_role_id?: number;
created?: string;
status?: number;
granted_user_id?: number;
granted_as_substitute_user_id?: number;
granted_timestamp?: string;
request_comment?: string;
granted_comment?: string;
from_date?: string;
to_date?: string;
duration?: number;
/**
* If the request ends with a partial day, the value of the last partial day.
*/
request_partial_begin_duration?: number;
/**
* If the request begins with a partial day, the value of the first partial day.
*/
request_partial_end_duration?: number;
duration_unit?: string;
begin?: string;
substitute_enabled?: boolean;
/**
* Arbitrary data for requests
*/
individual_value_1?: string;
/**
* If the multistage approval for this reuest is active.
*/
is_multistage_request?: boolean;
/**
* The last level in the chain responsibility table (autoupdated) that is not approved yet
*/
chain_level?: number;
updated?: string;
};
absenceTypes: {
/**
* Id of the absence.
*/
id?: number;
/**
* Id of the absence type.
*/
absence_type_id?: number;
/**
* Id of the sub absence (other paid leaves).
*/
absence_subtype_id?: number;
/**
* Group of the absence defined in pm_absece_groups.
*/
absence_group_id?: number;
/**
* Sort order in views.
*/
sort_order?: number;
/**
* Absence name.
*/
name_const?: string;
/**
* Absence abbrevation constant.
*/
abbreviation_const?: string;
/**
* If the absence is shown in the selection for user.
*/
show_in_selection?: boolean;
/**
* The task_id of pm_tasks_subprojects which will be used to automatically create timestamps based on the absence.
*/
cost_acc_task_id?: number;
/**
* If the users can request this absence.
*/
enabled_for_requests?: boolean;
/**
* If the leave should be added to working hours.
*/
add_to_working_hours?: boolean;
/**
* If 0, the the user cannot enter more time of the day of absence as the target working hour according to his working time model.
*/
allow_tracking_more_then_target_working_hours?: boolean;
/**
* The possible types are WORKFLOW, USER, HR_MANAGER, MANAGER, SYSTEM
*/
request_type?: string;
/**
* Whether the absence can be entered on a non working day like weekends and public holidays
*/
allow_entry_on_non_working_days?: boolean;
/**
* Whether the type of absence ALWAYS will be shown in the team calendar independently of the user setting: "Show type of absence..."
*/
public_leave_type?: boolean;
/**
* Whether the comment field in the application window needs to be filled out by the applicant.
*/
comment_is_mandatory?: boolean;
/**
* Whether the comment field in the rejection window is mandatory or not.
*/
reject_request_comment_is_mandatory?: boolean;
/**
* This JSON setting tells which days should be shown in the request window for the duration. Defaults are 0.25, 0.50, 0.75 and 1. Amounts can be added, removed or changed. The value needs to be a valid JSON string. The durations are procentual digits separated by a comma. (so for 0.10 add 10).
*/
show_day_amount_config?: string;
/**
* Duration unit of the absence (hours or days).
*/
duration_unit?: string;
/**
* Whether the user limitation config is enabled for this absence.
*/
enable_user_limitations?: boolean;
/**
* If enable_user_limitations is enabled, the JSON config for the limitation
*/
user_limitations_config?: string;
/**
* Whether to enable/disable the substitute mode for the leave type. e.g. usually during the absence home office we dont need the substitute to handle all requests.
*/
enable_for_substitute_mode?: boolean;
/**
* If request_type = "USER" and the user enters an absence, a notification email will be sent to the responsible manager.
*/
send_email_notification_to_responsible_manager?: boolean;
/**
* If a manager enters an absence for somebody else, this person will be notified by email of this entry.
*/
send_email_notification_to_user_if_entered_by_manager?: boolean;
/**
* The HEX code for the color to be shown in the holiday planers.
*/
color?: string;
/**
* If there is a country restriction for this other paid leave. The limitations are defined in pm_working_hour_other_paid_leave_to_countries.
*/
restrict_for_country?: boolean;
/**
* If a replacement is needed for this absence.
*/
absence_window_show_replacement?: boolean;
/**
* Datev key
*/
datev_absence_key?: string;
/**
* Datev wage type id
*/
datev_wage_type_id?: number;
individual_value_1?: string;
/**
* Tells if user can edit it in app.
*/
is_visible_for_edit?: boolean;
};
absenceTypesRestrictToCountries: {
id?: number;
other_paid_leave_id?: number;
country_id?: number;
/**
* 0: inactive (hidden) for country / 1: active for country
*/
status?: boolean;
};
accessCredentials: {
/**
* Autoincrement ID for Access Credentials.
*/
id?: number;
/**
* Access Credential textual identification.
*/
name_const?: string;
/**
* Access Credentials textual description.
*/
description_const?: string;
/**
* FK which indicates the Access Credentials Type. This field is important because it indicates on how to handle specific Access Credential row.
*/
type_id?: number;
/**
* Field for storing a host data.
*/
host?: string;
/**
* Field for storing a port data.
*/
port?: number;
/**
* Field for storing a symmetrically encrypted username.
*/
username?: string;
/**
* Field for storing a symmetrically encrypted password.
*/
password?: string;
/**
* Field for storing a database name.
*/
database_name?: string;
/**
* Field for storing mail sender name.
*/
mail_sender_name?: string;
/**
* Field for storing mail sender address
*/
mail_sender_address?: string;
/**
* Field for storing a symmetrically encrypted SMTP secure data.
*/
mail_smtp_secure?: string;
/**
* Field for storing a symmetrically encrypted SMTP auth data.
*/
mail_smtp_auth?: string;
/**
* Datetime for creation date, generated by the backend.
*/
created_at?: string;
/**
* Timestamp for update date.
*/
updated_at?: string;
};
changeTimeTrackingRequests: {
id?: number;
type?: string;
time_tracking_id?: number;
request_user_id?: number;
granted_user_id?: number;
granted_as_substitute_user_id?: number;
new_start_time?: string;
new_end_time?: string;
old_start_time?: string;
old_end_time?: string;
request_timestamp?: string;
status?: string;
/**
* Comment from the user who created the request
*/
request_user_comment?: string;
/**
* Comment from the user who handled the request.
*/
granted_user_comment?: string;
data_changed?: string;
};
checkpoints: {
id?: number;
name?: string;
mon?: boolean;
tue?: boolean;
wed?: boolean;
thu?: boolean;
fri?: boolean;
sat?: boolean;
sun?: boolean;
start_time?: string;
end_time?: string;
mandatory?: boolean;
task_id?: number;
allowed_days_in_future?: number;
allowed_days_in_past?: number;
data_changed?: string;
};
checkpointTrackings: {
id?: number;
checkpoint_id?: number;
time_tracking_id?: number;
timestamp?: string;
geo_long?: number;
geo_lat?: number;
geo_accuracy?: number;
notes?: string;
timezone?: string;
/**
* Timestamp of last change
*/
data_changed?: string;
/**
* Flag if the request was sent live (within 5 minutes) or postdated
*/
is_live?: boolean;
/**
* oauth client id from token
*/
oauth_client_id?: number;
/**
* Special unique case: If a to-be-inserted value is not null and exists already, the create action should successfully return the existing row instead of creating (and no unique error)
*/
client_unique_id?: string;
};
clients: {
id?: number;
company_name?: string;
active?: boolean;
username?: string;
address_1?: string;
address_2?: string;
zip?: string;
city?: string;
country_id?: string;
url?: string;
customer_number?: string;
contact_person_salutation_id?: number;
contact_person_firstname?: string;
contact_person_lastname?: string;
contact_person_department?: string;
phone_1?: string;
phone_2?: string;
email_address?: string;
};
countries: { id?: number; name?: string };
departments: {
id?: number;
department_name?: string;
active?: boolean;
supervisor_id?: number;
supervisor_assistant_id?: number;
mother_id?: number;
view_order?: number;
node_path?: string;
};
files: {
id?: number;
title?: string;
filename?: string;
extension?: string;
content_type?: string;
/**
* Whether this file should also be stored on the filesystem
*/
mirror_file_to_filesystem?: boolean;
relative_url?: string;
/**
* Absolute URL to a stored file.
*/
absolute_url?: string;
path?: string;
size?: number;
owner?: number;
permissions?: number;
description?: string;
expires?: string;
updated?: string;
created?: string;
};
generalSettingsChangeLog: {
id?: number;
setting_type?: string;
old_setting_value?: string;
new_setting_value?: string;
/**
* User that did the change
*/
changed_by_user_id?: number;
/**
* Timestamp of change
*/
change_timestamp?: string;
};
generalSettings: {
id?: number;
/**
* Column to group the settings by translation constants
*/
group_const?: string;
setting_type?: string;
setting_value?: string;
is_updatable_by_customer?: boolean;
/**
* Sort order for settings displayed in property grid (Settings->AccountAdministration->General settings grid). Sorting starts with 1, 0 means no sort order
*/
sort_order?: number;
/**
* Datatype for the editor used in property grid (Settings->AccountAdministration->General settings grid). Values: combo, number, boolean, string. If the value is combo, its values are fetched from pm_general_settings_combo_select_values
*/
datatype?: string;
super_user?: boolean;
description?: string;
default_value?: string;
value_range?: string;
text?: string;
type?: number;
update_value?: string;
update_query?: string;
/**
* Timestamp of last change
*/
data_changed?: string;
};
geofences: {
id?: number;
/**
* Name for display in UI
*/
name?: string;
/**
* Latitude of the geofences center point
*/
geo_lat?: number;
/**
* Longitude of the geofences center point
*/
geo_long?: number;
/**
* Radius [meters] of the geofence
*/
radius?: number;
updated?: string;
};
geofenceToNodes: {
id?: number;
geofence_id?: number;
node_id?: number;
updated?: string;
};
invoices: {
id?: number;
invoice_number?: string;
comment?: string;
invoice_date?: string;
payment_date?: string;
net_revenue?: number;
cost?: number;
customer_id?: number;
status?: boolean;
creation_timestamp?: string;
};
JobParams: {
id?: number;
/**
* Reference to the job (job_queue.id) to which this job belongs
*/
job_id?: number;
name?: string;
value_int?: number;
value_text?: string;
value_double?: number;
value_timestamp?: string;
value_blob?: string;
};
JobQueues: {
id?: number;
/**
* name of the task. An entry for this name must exist in the "job_config" table (either for this customer or globally in pm_general.job_config).
*/
task?: string;
/**
* internal state of the scheduler (0 = waiting, 1 = scheduled, 2 = success, 3 = failed permantently). The default value of 0 (waiting) must be used for new jobs
*/
state?: number;
/**
* worker name that picked up this job
*/
claimed_by?: string;
/**
* Number of previous scheduling attempts.
*/
tries?: number;
/**
* Date on which the job was created. The default value uses the current time. This should also not be overwritten because it is important for the scheduling sequence after a restart.
*/
created_at?: string;
/**
* Job will be executed at given time.
*/
run_at?: string;
/**
* Date on which the job was last shipped. Important for the time-tracking of the user accounts and the recognition of crashed jobs.
*/
scheduled_at?: string;
/**
* Date on which the job was last terminated by a worker (not necessarily successful). Good for time tracking and backoff at the Rescheduling.
*/
completed_at?: string;
params?: { [key: string]: any };
};
legalDocumentAcceptanceLog: {
/**
* Autoincrement PK assigned to each legal document acceptance log.
*/
id?: number;
/**
* FK which indicates legal document.
*/
legal_document_type_id?: number;
/**
* Flag which indicates accepted state of log.
*/
accepted?: boolean;
/**
* Indicates datetime when the document is accepted.
*/
accepted_at?: string;
/**
* OAuth of the client who accepted legal document.
*/
accepted_oauth_client_id?: string;
/**
* Indicates who accepted the legal document.
*/
accepted_by_user_id?: number;
/**
* Datetime for creation date, generated by the backend.
*/
created_at?: string;
/**
* Timestamp for update date.
*/
updated_at?: string;
};
legalDocuments: {
/**
* Autoincrement PK assigned to each legal document.
*/
id?: number;
/**
* FK which indicates legal document type.
*/
legal_document_type_id?: number;
/**
* Indicates the language of the legal document.
*/
language_id?: number;
/**
* Version name of the legal document.
*/
name_const?: string;
/**
* ID which indicates file related to this legal document.
*/
file_id?: number;
/**
* Flag which defines if this document is the latest version.
*/
latest_version?: boolean;
/**
* Datetime for creation date, generated by the backend.
*/
created_at?: string;
/**
* Timestamp for update date.
*/
updated_at?: string;
};
legalDocumentTypes: {
/**
* Autoincrement PK assigned to each legal document type.
*/
id?: number;
/**
* Legal document type textual identification.
*/
name_const?: string;
/**
* Defines if this document has to be accepted by users.
*/
acceptance_required?: boolean;
/**
* Datetime for creation date, generated by the backend.
*/
created_at?: string;
/**
* Timestamp for update date.
*/
updated_at?: string;
};
messages: {
id?: number;
sender_id?: number;
message?: string;
receiver_type?: string;
receiver_id?: number;
include_sub_department?: boolean;
data_changed?: string;
timestamp_update?: string;
timestamp?: string;
};
multiuserToTasks: { task_id?: number; multiuser_id?: number };
multiuserToUsers: { assigned_user_id?: number; user_id?: number };
nfcTransponder: {
id?: number;
mode_id?: number;
unique_id?: string;
user_id?: number;
task_id?: number;
start_task_afterwards?: number;
project_id?: number;
checkpoint_id?: number;
skill_id?: number;
/**
* Special unique case: If a to-be-inserted value is not null and exists already, the create action should successfully return the existing row instead of creating (and no unique error)
*/
client_unique_id?: string;
created?: string;
data_changed?: string;
};
nfcTransponders: {
id?: number;
mode_id?: number;
unique_id?: string;
user_id?: number;
task_id?: number;
start_task_afterwards?: number;
project_id?: number;
checkpoint_id?: number;
skill_id?: number;
/**
* Special unique case: If a to-be-inserted value is not null and exists already, the create action should successfully return the existing row instead of creating (and no unique error)
*/
client_unique_id?: string;
created?: string;
data_changed?: string;
};
nodesToUsers: {
node?: number;
user?: number;
is_favourite?: boolean;
is_todo?: boolean;
access?: boolean;
/**
* Specifies a date from which on the user should be granted access
*/
access_start?: string;
/**
* Specifies a date from which on the access should be revoked
*/
access_end?: string;
/**
* Specifies the start date for a bookable timeframe
*/
allow_tracking_from?: string;
/**
* Specifies the end date for a bookable timeframe
*/
allow_tracking_to?: string;
last_started?: string;
target_duration?: number;
revenue_per_hour?: number;
};
notifications: {
id?: number;
user_id?: number;
notification_type?: number;
is_response?: boolean;
notification_timestamp?: string;
status?: number;
assoc_id?: number;
user_id_sender?: number;
user_id_responder?: number;
processed?: boolean;
email_send_status?: number;
email_send_timestamp?: string;
executable_1_id?: number;
executable_2_id?: number;
data_changed?: string;
};
notificationsTypeHtml: {
id?: number;
created?: string;
status?: boolean;
title?: string;
/**
* The title for email (subject), if empty, the notification title will be used
*/
email_subject?: string;
/**
* The footer for email, if empty, only the greeting will be shown.
*/
email_footer?: string;
content?: string;
recipient?: number;
sender?: number;
content_css_class?: string;
content_css_styles?: string;
/**
* If this notification will be sent over email with notification manager.
*/
send_mail_per_email_notification_manager?: boolean;
/**
* Timestamp of last change
*/
data_changed?: string;
};
notificationUrls: {
id?: number;
headline?: string;
url?: string;
/**
* Timestamp of last change
*/
data_changed?: string;
};
offlineSyncError: { id?: number; user_id?: number; error?: string };
offlineSyncErrors: { id?: number; user_id?: number; error?: string };
permissionResolveAbsenceTypesAndUsers: {
id?: number;
/**
* Question id from pm_acl_tt_resolve_questions
*/
resolve_question_id?: number;
/**
* For which user we are resolving question
*/
subject_user_id?: number;
/**
* Absence id on which subject_user_id has some permission
*/
resolve_absence_type_id?: number;
/**
* Absence subtype id on which subject_user_id has some permission
*/
resolve_absence_subtype_id?: number;
/**
* User id on which subject_user_id has some permission
*/
resolve_user_id?: number;
/**
* If subject_user_id have permissions for all absences then we will use wildcard. (e.g. * )
*/
resolve_absence_type_wildcard?: string;
/**
* If subject_user_id have permissions for all subtypes of one absence type then we will use wildcard. (e.g. * )
*/
resolve_absence_subtype_wildcard?: string;
/**
* If subject_user_id have permissions for all users then we will use wildcard. (e.g. * )
*/
resolve_user_wildcard?: string;
/**
* User ids from which permission is inherited
*/
inherited_user_ids?: string;
};
permissionResolveDepartments: {
id?: number;
/**
* Question id from pm_acl_tt_resolve_questions
*/
resolve_question_id?: number;
/**
* For which user we are resolving question
*/
subject_user_id?: number;
/**
* Department id on which subject_user_id has some permission
*/
resolve_department_id?: number;
/**
* If subject_user_id have permissions for all users in department then we will use wildcard. (e.g. * )
*/
resolve_department_wildcard?: string;
};
permissionResolveHolidayRequests: {
id?: number;
/**
* Question id from pm_acl_tt_resolve_questions
*/
resolve_question_id?: number;
/**
* For which user we are resolving question
*/
subject_user_id?: number;
/**
* Holiday request id on which subject_user_id has some permission
*/
resolve_holiday_request_id?: number;
};
permissionResolveOauthClients: {
id?: number;
/**
* Question id from pm_acl_tt_resolve_questions
*/
resolve_question_id?: number;
/**
* For which user we are resolving question
*/
subject_user_id?: number;
/**
* oauth_client id on which subject_user_id has some permission
*/
resolve_oauth_client_id?: number;
/**
* If subject_user_id have permissions for all oauth_clients then we will use wildcard. (e.g. * )
*/
resolve_oauth_client_wildcard?: string;
};
permissionResolveQuestions: {
id?: number;
question_name?: string;
question_description?: string;
/**
* Which endpoint should be called to get answer for this question
*/
question_endpoint?: string;
};
permissionResolveTeams: {
id?: number;
/**
* Question id from pm_acl_tt_resolve_questions
*/
resolve_question_id?: number;
/**
* For which user we are resolving question
*/
subject_user_id?: number;
/**
* Team id on which subject_user_id has some permission
*/
resolve_team_id?: number;
/**
* If subject_user_id have permissions for all teams then we will use wildcard. (e.g. * )
*/
resolve_team_wildcard?: string;
};
permissionResolveUsers: {
id?: number;
/**
* Question id from pm_acl_tt_resolve_questions
*/
resolve_question_id?: number;
/**
* For which user we are resolving question
*/
subject_user_id?: number;
/**
* User id on which subject_user_id has some permission
*/
resolve_user_id?: number;
/**
* If subject_user_id have permissions for all users then we will use wildcard. (e.g. * )
*/
resolve_user_wildcard?: string;
/**
* User ids from which permission is inherited
*/
inherited_user_ids?: string;
};
permissions: {
id?: number;
user_id?: number;
resource_name?: string;
permission_name?: string;
permission_scope_id?: number;
permission_scope_data_1?: number;
permission_scope_data_2?: number;
permission_scope_data_3?: number;
};
permissionScopes: {
id?: number;
name?: string;
string_definition?: string;
};
projects: {
id?: number;
mother_id?: number;
view_id?: string;
sort_order?: number;
node_path?: string;
ultimate_mother_id?: number;
name?: string;
is_done?: boolean;
view_order?: number;
icon_name?: string;
initial_duration?: number;
target_duration?: number;
begin?: string;
deadline?: string;
object_type?: string;
notes?: string;
client_id?: number;
t_iv_1?: string;
t_iv_2?: string;
t_iv_3?: string;
t_iv_4?: string;
t_iv_5?: string;
t_iv_6?: string;
approve_by_project_leader?: boolean;
is_blocked?: boolean;
is_hidden?: boolean;
restrict_tracking_from_to?: boolean;
duration?: number;
};
PublicHolidayTemplates: {
id?: number;
mother_id?: number;
template_name?: string;
};
salutations: { id?: number; const?: string; gender?: string };
schedulings: {
id?: number;
user_id?: number;
task_id?: number;
start_date?: string;
end_date?: string;
note?: string;
/**
* User id of the user that created the schedule.
*/
created_user_id?: number;
/**
* Datetime of when the entry was created.
*/
created?: string;
/**
* User id of the user that changed the schedule.
*/
change_user_id?: number;
/**
* Datetime of when the entry was changed.
*/
data_changed?: string;
};
serverEvents: {
id?: number;
/**