zou 0.20.67__py3-none-any.whl → 0.20.69__py3-none-any.whl

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.
Files changed (49) hide show
  1. zou/__init__.py +1 -1
  2. zou/app/blueprints/assets/resources.py +134 -91
  3. zou/app/blueprints/auth/resources.py +6 -6
  4. zou/app/blueprints/breakdown/resources.py +47 -47
  5. zou/app/blueprints/chats/resources.py +8 -8
  6. zou/app/blueprints/comments/resources.py +62 -49
  7. zou/app/blueprints/concepts/resources.py +23 -23
  8. zou/app/blueprints/crud/base.py +6 -6
  9. zou/app/blueprints/crud/output_file.py +2 -2
  10. zou/app/blueprints/crud/output_type.py +2 -2
  11. zou/app/blueprints/crud/preview_file.py +2 -2
  12. zou/app/blueprints/crud/software.py +2 -2
  13. zou/app/blueprints/crud/working_file.py +2 -2
  14. zou/app/blueprints/departments/resources.py +20 -20
  15. zou/app/blueprints/edits/resources.py +33 -33
  16. zou/app/blueprints/entities/resources.py +8 -8
  17. zou/app/blueprints/events/resources.py +7 -7
  18. zou/app/blueprints/export/csv/assets.py +2 -2
  19. zou/app/blueprints/export/csv/casting.py +2 -2
  20. zou/app/blueprints/export/csv/edits.py +2 -2
  21. zou/app/blueprints/export/csv/playlists.py +2 -2
  22. zou/app/blueprints/export/csv/shots.py +2 -2
  23. zou/app/blueprints/files/resources.py +123 -123
  24. zou/app/blueprints/news/resources.py +28 -28
  25. zou/app/blueprints/persons/resources.py +75 -75
  26. zou/app/blueprints/playlists/resources.py +37 -37
  27. zou/app/blueprints/previews/resources.py +36 -36
  28. zou/app/blueprints/projects/resources.py +159 -159
  29. zou/app/blueprints/search/resources.py +3 -3
  30. zou/app/blueprints/shots/resources.py +250 -198
  31. zou/app/blueprints/source/csv/assets.py +2 -2
  32. zou/app/blueprints/source/csv/casting.py +2 -2
  33. zou/app/blueprints/source/csv/edits.py +2 -2
  34. zou/app/blueprints/source/csv/shots.py +2 -2
  35. zou/app/blueprints/source/csv/task_type_estimations.py +10 -10
  36. zou/app/blueprints/source/otio.py +6 -6
  37. zou/app/blueprints/source/shotgun/import_errors.py +2 -2
  38. zou/app/blueprints/tasks/resources.py +135 -135
  39. zou/app/blueprints/user/resources.py +87 -87
  40. zou/app/models/attachment_file.py +4 -0
  41. zou/app/services/comments_service.py +41 -9
  42. zou/app/services/tasks_service.py +1 -0
  43. zou/migrations/versions/1b0ab951adca_add_reply_id_to_attachments.py +44 -0
  44. {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/METADATA +5 -5
  45. {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/RECORD +49 -48
  46. {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/WHEEL +0 -0
  47. {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/entry_points.txt +0 -0
  48. {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/licenses/LICENSE +0 -0
  49. {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/top_level.txt +0 -0
@@ -49,14 +49,14 @@ class AddPreviewResource(Resource, ArgsMixin):
49
49
  name: task_id
50
50
  required: True
51
51
  type: string
52
- format: UUID
53
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
52
+ format: uuid
53
+ example: a24a6ea4-ce75-4665-a070-57453082c25
54
54
  - in: path
55
55
  name: comment_id
56
56
  required: True
57
57
  type: string
58
- format: UUID
59
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
58
+ format: uuid
59
+ example: a24a6ea4-ce75-4665-a070-57453082c25
60
60
  - in: body
61
61
  schema:
62
62
  type: object
@@ -95,20 +95,20 @@ class AddExtraPreviewResource(Resource, ArgsMixin):
95
95
  name: task_id
96
96
  required: True
97
97
  type: string
98
- format: UUID
99
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
98
+ format: uuid
99
+ example: a24a6ea4-ce75-4665-a070-57453082c25
100
100
  - in: path
101
101
  name: comment_id
102
102
  required: True
103
103
  type: string
104
- format: UUID
105
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
104
+ format: uuid
105
+ example: a24a6ea4-ce75-4665-a070-57453082c25
106
106
  - in: path
107
107
  name: preview_file_id
108
108
  required: True
109
109
  type: string
110
- format: UUID
111
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
110
+ format: uuid
111
+ example: a24a6ea4-ce75-4665-a070-57453082c25
112
112
  - in: formData
113
113
  name: file
114
114
  type: file
@@ -140,20 +140,20 @@ class AddExtraPreviewResource(Resource, ArgsMixin):
140
140
  name: task_id
141
141
  required: True
142
142
  type: string
143
- format: UUID
144
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
143
+ format: uuid
144
+ example: a24a6ea4-ce75-4665-a070-57453082c25
145
145
  - in: path
146
146
  name: comment_id
147
147
  required: True
148
148
  type: string
149
- format: UUID
150
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
149
+ format: uuid
150
+ example: a24a6ea4-ce75-4665-a070-57453082c25
151
151
  - in: path
152
152
  name: preview_file_id
153
153
  required: True
154
154
  type: string
155
- format: UUID
156
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
155
+ format: uuid
156
+ example: a24a6ea4-ce75-4665-a070-57453082c25
157
157
  responses:
158
158
  204:
159
159
  description: Preview deleted from given comment
@@ -183,8 +183,8 @@ class TaskPreviewsResource(Resource):
183
183
  name: task_id
184
184
  required: True
185
185
  type: string
186
- format: UUID
187
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
186
+ format: uuid
187
+ example: a24a6ea4-ce75-4665-a070-57453082c25
188
188
  responses:
189
189
  200:
190
190
  description: Previews linked to given task
@@ -210,8 +210,8 @@ class TaskCommentsResource(Resource):
210
210
  name: task_id
211
211
  required: True
212
212
  type: string
213
- format: UUID
214
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
213
+ format: uuid
214
+ example: a24a6ea4-ce75-4665-a070-57453082c25
215
215
  responses:
216
216
  200:
217
217
  description: Comments linked to given task
@@ -242,14 +242,14 @@ class TaskCommentResource(Resource):
242
242
  name: task_id
243
243
  required: True
244
244
  type: string
245
- format: UUID
246
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
245
+ format: uuid
246
+ example: a24a6ea4-ce75-4665-a070-57453082c25
247
247
  - in: path
248
248
  name: comment_id
249
249
  required: True
250
250
  type: string
251
- format: UUID
252
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
251
+ format: uuid
252
+ example: a24a6ea4-ce75-4665-a070-57453082c25
253
253
  responses:
254
254
  200:
255
255
  description: Comment corresponding at given ID
@@ -291,14 +291,14 @@ class TaskCommentResource(Resource):
291
291
  name: task_id
292
292
  required: True
293
293
  type: string
294
- format: UUID
295
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
294
+ format: uuid
295
+ example: a24a6ea4-ce75-4665-a070-57453082c25
296
296
  - in: path
297
297
  name: comment_id
298
298
  required: True
299
299
  type: string
300
- format: UUID
301
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
300
+ format: uuid
301
+ example: a24a6ea4-ce75-4665-a070-57453082c25
302
302
  responses:
303
303
  204:
304
304
  description: Comment corresponding at given ID deleted
@@ -335,8 +335,8 @@ class PersonTasksResource(Resource):
335
335
  name: person_id
336
336
  required: True
337
337
  type: string
338
- format: UUID
339
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
338
+ format: uuid
339
+ example: a24a6ea4-ce75-4665-a070-57453082c25
340
340
  responses:
341
341
  200:
342
342
  description: Tasks assigned to user that are not done
@@ -373,14 +373,14 @@ class PersonRelatedTasksResource(Resource):
373
373
  name: person_id
374
374
  required: True
375
375
  type: string
376
- format: UUID
377
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
376
+ format: uuid
377
+ example: a24a6ea4-ce75-4665-a070-57453082c25
378
378
  - in: path
379
379
  name: task_type_id
380
380
  required: True
381
381
  type: string
382
- format: UUID
383
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
382
+ format: uuid
383
+ example: a24a6ea4-ce75-4665-a070-57453082c25
384
384
  responses:
385
385
  200:
386
386
  description: All Tasks for given task type
@@ -411,8 +411,8 @@ class PersonDoneTasksResource(Resource):
411
411
  name: person_id
412
412
  required: True
413
413
  type: string
414
- format: UUID
415
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
414
+ format: uuid
415
+ example: a24a6ea4-ce75-4665-a070-57453082c25
416
416
  responses:
417
417
  200:
418
418
  description: Tasks assigned to user that are done
@@ -448,14 +448,14 @@ class CreateShotTasksResource(Resource):
448
448
  name: project_id
449
449
  required: True
450
450
  type: string
451
- format: UUID
452
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
451
+ format: uuid
452
+ example: a24a6ea4-ce75-4665-a070-57453082c25
453
453
  - in: path
454
454
  name: task_type_id
455
455
  required: True
456
456
  type: string
457
- format: UUID
458
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
457
+ format: uuid
458
+ example: a24a6ea4-ce75-4665-a070-57453082c25
459
459
  responses:
460
460
  201:
461
461
  description: New task for given shot and task type created
@@ -497,14 +497,14 @@ class CreateConceptTasksResource(Resource):
497
497
  name: project_id
498
498
  required: True
499
499
  type: string
500
- format: UUID
501
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
500
+ format: uuid
501
+ example: a24a6ea4-ce75-4665-a070-57453082c25
502
502
  - in: path
503
503
  name: task_type_id
504
504
  required: True
505
505
  type: string
506
- format: UUID
507
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
506
+ format: uuid
507
+ example: a24a6ea4-ce75-4665-a070-57453082c25
508
508
  responses:
509
509
  201:
510
510
  description: New task for given concept and task type created
@@ -551,20 +551,20 @@ class CreateEntityTasksResource(Resource):
551
551
  name: project_id
552
552
  required: True
553
553
  type: string
554
- format: UUID
555
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
554
+ format: uuid
555
+ example: a24a6ea4-ce75-4665-a070-57453082c25
556
556
  - in: path
557
557
  name: task_type_id
558
558
  required: True
559
559
  type: string
560
- format: UUID
561
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
560
+ format: uuid
561
+ example: a24a6ea4-ce75-4665-a070-57453082c25
562
562
  - in: path
563
563
  name: task_type_id
564
564
  required: True
565
565
  type: string
566
- format: UUID
567
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
566
+ format: uuid
567
+ example: a24a6ea4-ce75-4665-a070-57453082c25
568
568
  responses:
569
569
  201:
570
570
  description: List of created tasks.
@@ -612,14 +612,14 @@ class CreateAssetTasksResource(Resource):
612
612
  name: project_id
613
613
  required: True
614
614
  type: string
615
- format: UUID
616
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
615
+ format: uuid
616
+ example: a24a6ea4-ce75-4665-a070-57453082c25
617
617
  - in: path
618
618
  name: task_type_id
619
619
  required: True
620
620
  type: string
621
- format: UUID
622
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
621
+ format: uuid
622
+ example: a24a6ea4-ce75-4665-a070-57453082c25
623
623
  responses:
624
624
  201:
625
625
  description: New task for given asset and task type created
@@ -660,14 +660,14 @@ class CreateEditTasksResource(Resource):
660
660
  name: project_id
661
661
  required: True
662
662
  type: string
663
- format: UUID
664
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
663
+ format: uuid
664
+ example: a24a6ea4-ce75-4665-a070-57453082c25
665
665
  - in: path
666
666
  name: task_type_id
667
667
  required: True
668
668
  type: string
669
- format: UUID
670
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
669
+ format: uuid
670
+ example: a24a6ea4-ce75-4665-a070-57453082c25
671
671
  responses:
672
672
  201:
673
673
  description: New task for given edit and task type created
@@ -710,8 +710,8 @@ class ToReviewResource(Resource, ArgsMixin):
710
710
  name: task_id
711
711
  required: True
712
712
  type: string
713
- format: UUID
714
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
713
+ format: uuid
714
+ example: a24a6ea4-ce75-4665-a070-57453082c25
715
715
  - in: body
716
716
  name: Task
717
717
  description: person ID, name, comment, revision and change status of task
@@ -720,7 +720,7 @@ class ToReviewResource(Resource, ArgsMixin):
720
720
  properties:
721
721
  person_id:
722
722
  type: string
723
- format: UUID
723
+ format: uuid
724
724
  example: a24a6ea4-ce75-4665-a070-57453082c25
725
725
  comment:
726
726
  type: string
@@ -824,11 +824,11 @@ class ClearAssignationResource(Resource, ArgsMixin):
824
824
  properties:
825
825
  task_ids:
826
826
  type: string
827
- format: UUID
827
+ format: uuid
828
828
  example: a24a6ea4-ce75-4665-a070-57453082c25
829
829
  person_id:
830
830
  type: string
831
- format: UUID
831
+ format: uuid
832
832
  example: a24a6ea4-ce75-4665-a070-57453082c25
833
833
  responses:
834
834
  200:
@@ -885,8 +885,8 @@ class TasksAssignResource(Resource, ArgsMixin):
885
885
  - in: path
886
886
  name: person_id
887
887
  type: string
888
- format: UUID
889
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
888
+ format: uuid
889
+ example: a24a6ea4-ce75-4665-a070-57453082c25
890
890
  required: True
891
891
  - in: body
892
892
  name: Task
@@ -898,7 +898,7 @@ class TasksAssignResource(Resource, ArgsMixin):
898
898
  properties:
899
899
  task_ids:
900
900
  type: string
901
- format: UUID
901
+ format: uuid
902
902
  example: a24a6ea4-ce75-4665-a070-57453082c25
903
903
  responses:
904
904
  200:
@@ -957,8 +957,8 @@ class TaskAssignResource(Resource, ArgsMixin):
957
957
  name: task_id
958
958
  required: True
959
959
  type: string
960
- format: UUID
961
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
960
+ format: uuid
961
+ example: a24a6ea4-ce75-4665-a070-57453082c25
962
962
  - in: body
963
963
  name: Person
964
964
  description: Person ID
@@ -969,7 +969,7 @@ class TaskAssignResource(Resource, ArgsMixin):
969
969
  properties:
970
970
  person_id:
971
971
  type: string
972
- format: UUID
972
+ format: uuid
973
973
  example: a24a6ea4-ce75-4665-a070-57453082c25
974
974
  responses:
975
975
  200:
@@ -1023,8 +1023,8 @@ class TaskFullResource(Resource):
1023
1023
  name: task_id
1024
1024
  required: True
1025
1025
  type: string
1026
- format: UUID
1027
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1026
+ format: uuid
1027
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1028
1028
  responses:
1029
1029
  200:
1030
1030
  description: Task with many information
@@ -1055,14 +1055,14 @@ class TaskForEntityResource(Resource):
1055
1055
  name: entity_id
1056
1056
  required: True
1057
1057
  type: string
1058
- format: UUID
1059
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1058
+ format: uuid
1059
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1060
1060
  - in: path
1061
1061
  name: task_type_id
1062
1062
  required: True
1063
1063
  type: string
1064
- format: UUID
1065
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1064
+ format: uuid
1065
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1066
1066
  responses:
1067
1067
  200:
1068
1068
  description: Tasks related to given entity asset, episode, sequence, shot or scene
@@ -1091,20 +1091,20 @@ class SetTimeSpentResource(Resource, ArgsMixin):
1091
1091
  name: task_id
1092
1092
  required: True
1093
1093
  type: string
1094
- format: UUID
1095
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1094
+ format: uuid
1095
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1096
1096
  - in: path
1097
1097
  name: date
1098
1098
  required: True
1099
1099
  type: string
1100
1100
  format: date
1101
- x-example: "2022-07-12"
1101
+ example: "2022-07-12"
1102
1102
  - in: path
1103
1103
  name: person_id
1104
1104
  required: True
1105
1105
  type: string
1106
- format: UUID
1107
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1106
+ format: uuid
1107
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1108
1108
  - in: body
1109
1109
  name: Duration
1110
1110
  schema:
@@ -1148,20 +1148,20 @@ class SetTimeSpentResource(Resource, ArgsMixin):
1148
1148
  name: task_id
1149
1149
  required: True
1150
1150
  type: string
1151
- format: UUID
1152
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1151
+ format: uuid
1152
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1153
1153
  - in: path
1154
1154
  name: date
1155
1155
  required: True
1156
1156
  type: string
1157
1157
  format: date
1158
- x-example: "2022-07-12"
1158
+ example: "2022-07-12"
1159
1159
  - in: path
1160
1160
  name: person_id
1161
1161
  required: True
1162
1162
  type: string
1163
- format: UUID
1164
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1163
+ format: uuid
1164
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1165
1165
  responses:
1166
1166
  201:
1167
1167
  description: Time spent by given person on given task for given day is removed
@@ -1200,20 +1200,20 @@ class AddTimeSpentResource(Resource, ArgsMixin):
1200
1200
  name: task_id
1201
1201
  required: True
1202
1202
  type: string
1203
- format: UUID
1204
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1203
+ format: uuid
1204
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1205
1205
  - in: path
1206
1206
  name: date
1207
1207
  required: True
1208
1208
  type: string
1209
1209
  format: date
1210
- x-example: "2022-07-12"
1210
+ example: "2022-07-12"
1211
1211
  - in: path
1212
1212
  name: person_id
1213
1213
  required: True
1214
1214
  type: string
1215
- format: UUID
1216
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1215
+ format: uuid
1216
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1217
1217
  - in: body
1218
1218
  name: Duration
1219
1219
  schema:
@@ -1260,8 +1260,8 @@ class GetTimeSpentResource(Resource):
1260
1260
  name: task_id
1261
1261
  required: True
1262
1262
  type: string
1263
- format: UUID
1264
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1263
+ format: uuid
1264
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1265
1265
  responses:
1266
1266
  200:
1267
1267
  description: Time spent on given task
@@ -1289,14 +1289,14 @@ class GetTimeSpentDateResource(Resource):
1289
1289
  name: task_id
1290
1290
  required: True
1291
1291
  type: string
1292
- format: UUID
1293
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1292
+ format: uuid
1293
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1294
1294
  - in: path
1295
1295
  name: date
1296
1296
  required: True
1297
1297
  type: string
1298
1298
  format: date
1299
- x-example: "2022-07-12"
1299
+ example: "2022-07-12"
1300
1300
  responses:
1301
1301
  200:
1302
1302
  description: Time spent on given task and date
@@ -1329,14 +1329,14 @@ class DeleteAllTasksForTaskTypeResource(Resource):
1329
1329
  name: project_id
1330
1330
  required: True
1331
1331
  type: string
1332
- format: UUID
1333
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1332
+ format: uuid
1333
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1334
1334
  - in: path
1335
1335
  name: task_type_id
1336
1336
  required: True
1337
1337
  type: string
1338
- format: UUID
1339
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1338
+ format: uuid
1339
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1340
1340
  responses:
1341
1341
  204:
1342
1342
  description: All tasks for given task type and project deleted
@@ -1370,8 +1370,8 @@ class DeleteTasksResource(Resource):
1370
1370
  name: project_id
1371
1371
  required: True
1372
1372
  type: string
1373
- format: UUID
1374
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1373
+ format: uuid
1374
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1375
1375
  responses:
1376
1376
  200:
1377
1377
  description: Tasks matching id list given in parameter deleted
@@ -1404,8 +1404,8 @@ class ProjectSubscriptionsResource(Resource):
1404
1404
  name: project_id
1405
1405
  required: True
1406
1406
  type: string
1407
- format: UUID
1408
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1407
+ format: uuid
1408
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1409
1409
  responses:
1410
1410
  200:
1411
1411
  description: All subcriptions to tasks related to given project
@@ -1434,8 +1434,8 @@ class ProjectNotificationsResource(Resource, ArgsMixin):
1434
1434
  name: project_id
1435
1435
  required: True
1436
1436
  type: string
1437
- format: UUID
1438
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1437
+ format: uuid
1438
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1439
1439
  responses:
1440
1440
  200:
1441
1441
  description: All notifications to tasks related to given project
@@ -1466,25 +1466,25 @@ class ProjectTasksResource(Resource, ArgsMixin):
1466
1466
  name: project_id
1467
1467
  required: True
1468
1468
  type: string
1469
- format: UUID
1470
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1469
+ format: uuid
1470
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1471
1471
  - in: query
1472
1472
  name: page
1473
1473
  required: False
1474
1474
  type: integer
1475
- x-example: 1
1475
+ example: 1
1476
1476
  - in: query
1477
1477
  name: task_type_id
1478
1478
  required: False
1479
1479
  type: string
1480
- format: UUID
1481
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1480
+ format: uuid
1481
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1482
1482
  - in: query
1483
1483
  name: episode_id
1484
1484
  required: False
1485
1485
  type: string
1486
- format: UUID
1487
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1486
+ format: uuid
1487
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1488
1488
  responses:
1489
1489
  200:
1490
1490
  description: All tasks related to given project
@@ -1517,13 +1517,13 @@ class ProjectCommentsResource(Resource, ArgsMixin):
1517
1517
  name: project_id
1518
1518
  required: True
1519
1519
  type: string
1520
- format: UUID
1521
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1520
+ format: uuid
1521
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1522
1522
  - in: query
1523
1523
  name: limit
1524
1524
  type: integer
1525
1525
  default: 100
1526
- x-example: 100
1526
+ example: 100
1527
1527
  responses:
1528
1528
  200:
1529
1529
  description: All comments to tasks related to given project
@@ -1558,8 +1558,8 @@ class ProjectPreviewFilesResource(Resource, ArgsMixin):
1558
1558
  name: project_id
1559
1559
  required: True
1560
1560
  type: string
1561
- format: UUID
1562
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1561
+ format: uuid
1562
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1563
1563
  responses:
1564
1564
  200:
1565
1565
  description: Preview files related to given project
@@ -1584,8 +1584,8 @@ class SetTaskMainPreviewResource(Resource):
1584
1584
  name: preview_file_id
1585
1585
  required: True
1586
1586
  type: string
1587
- format: UUID
1588
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1587
+ format: uuid
1588
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1589
1589
  responses:
1590
1590
  200:
1591
1591
  description: Given preview set as main preview
@@ -1618,14 +1618,14 @@ class PersonsTasksDatesResource(Resource, ArgsMixin):
1618
1618
  name: project_id
1619
1619
  required: True
1620
1620
  type: string
1621
- format: UUID
1622
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1621
+ format: uuid
1622
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1623
1623
  responses:
1624
1624
  200:
1625
1625
  description: For each person, the first start date of all tasks of assigned to this person and the last end date.
1626
1626
  """
1627
1627
  permissions.check_admin_permissions()
1628
- args = self.get_args([("project_id", None, True, str)])
1628
+ args = self.get_args([("project_id", None, False, str)])
1629
1629
  return tasks_service.get_persons_tasks_dates(
1630
1630
  project_id=args["project_id"]
1631
1631
  )
@@ -1648,54 +1648,54 @@ class OpenTasksResource(Resource, ArgsMixin):
1648
1648
  name: project_id
1649
1649
  description: Filter tasks on given project ID
1650
1650
  type: string
1651
- format: UUID
1652
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1651
+ format: uuid
1652
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1653
1653
  - in: query
1654
1654
  name: task_status_id
1655
1655
  description: Filter tasks on given task status ID
1656
1656
  type: string
1657
- format: UUID
1658
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1657
+ format: uuid
1658
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1659
1659
  - in: query
1660
1660
  name: task_type_id
1661
1661
  description: Filter tasks on given task type ID ID
1662
1662
  type: string
1663
- format: UUID
1664
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1663
+ format: uuid
1664
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1665
1665
  - in: query
1666
1666
  name: person_id
1667
1667
  description: Filter tasks on given person ID
1668
1668
  type: string
1669
- format: UUID
1670
- x-example: a24a6ea4-ce75-4665-a070-57453082c25
1669
+ format: uuid
1670
+ example: a24a6ea4-ce75-4665-a070-57453082c25
1671
1671
  - in: query
1672
1672
  name: start_date
1673
1673
  description: Filter tasks posterior to given start date
1674
1674
  type: string
1675
1675
  format: date
1676
- x-example: "2022-07-12"
1676
+ example: "2022-07-12"
1677
1677
  - in: query
1678
1678
  name: due_date
1679
1679
  description: Filter tasks anterior to given due date
1680
1680
  type: string
1681
1681
  format: date
1682
- x-example: "2022-07-12"
1682
+ example: "2022-07-12"
1683
1683
  - in: query
1684
1684
  name: priority
1685
1685
  description: Filter tasks on given priority
1686
1686
  type: integer
1687
- x-example: "3"
1687
+ example: "3"
1688
1688
  - in: query
1689
1689
  name: page
1690
1690
  description: Page number
1691
1691
  type: integer
1692
- x-example: 1
1692
+ example: 1
1693
1693
  default: 1
1694
1694
  - in: query
1695
1695
  name: limit
1696
1696
  description: Number of tasks per page
1697
1697
  type: integer
1698
- x-example: 100
1698
+ example: 100
1699
1699
  default: 100
1700
1700
 
1701
1701
  responses: