zou 0.20.66__py3-none-any.whl → 0.20.68__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.
- zou/__init__.py +1 -1
- zou/app/blueprints/assets/resources.py +134 -91
- zou/app/blueprints/auth/resources.py +6 -6
- zou/app/blueprints/breakdown/resources.py +47 -47
- zou/app/blueprints/chats/resources.py +8 -8
- zou/app/blueprints/comments/resources.py +41 -41
- zou/app/blueprints/concepts/resources.py +23 -23
- zou/app/blueprints/crud/base.py +6 -6
- zou/app/blueprints/crud/output_file.py +2 -2
- zou/app/blueprints/crud/output_type.py +2 -2
- zou/app/blueprints/crud/preview_file.py +2 -2
- zou/app/blueprints/crud/software.py +2 -2
- zou/app/blueprints/crud/working_file.py +2 -2
- zou/app/blueprints/departments/resources.py +20 -20
- zou/app/blueprints/edits/resources.py +33 -33
- zou/app/blueprints/entities/resources.py +9 -9
- zou/app/blueprints/events/resources.py +7 -7
- zou/app/blueprints/export/csv/assets.py +2 -2
- zou/app/blueprints/export/csv/casting.py +2 -2
- zou/app/blueprints/export/csv/edits.py +2 -2
- zou/app/blueprints/export/csv/playlists.py +2 -2
- zou/app/blueprints/export/csv/shots.py +2 -2
- zou/app/blueprints/files/resources.py +123 -123
- zou/app/blueprints/news/resources.py +28 -28
- zou/app/blueprints/persons/resources.py +75 -75
- zou/app/blueprints/playlists/resources.py +37 -37
- zou/app/blueprints/previews/resources.py +37 -37
- zou/app/blueprints/projects/resources.py +159 -159
- zou/app/blueprints/search/resources.py +3 -3
- zou/app/blueprints/shots/resources.py +143 -143
- zou/app/blueprints/source/csv/assets.py +2 -2
- zou/app/blueprints/source/csv/casting.py +2 -2
- zou/app/blueprints/source/csv/edits.py +2 -2
- zou/app/blueprints/source/csv/shots.py +2 -2
- zou/app/blueprints/source/csv/task_type_estimations.py +10 -10
- zou/app/blueprints/source/otio.py +6 -6
- zou/app/blueprints/source/shotgun/import_errors.py +2 -2
- zou/app/blueprints/tasks/resources.py +135 -135
- zou/app/blueprints/user/resources.py +87 -87
- zou/app/swagger.py +4 -3
- {zou-0.20.66.dist-info → zou-0.20.68.dist-info}/METADATA +5 -5
- {zou-0.20.66.dist-info → zou-0.20.68.dist-info}/RECORD +46 -46
- {zou-0.20.66.dist-info → zou-0.20.68.dist-info}/WHEEL +0 -0
- {zou-0.20.66.dist-info → zou-0.20.68.dist-info}/entry_points.txt +0 -0
- {zou-0.20.66.dist-info → zou-0.20.68.dist-info}/licenses/LICENSE +0 -0
- {zou-0.20.66.dist-info → zou-0.20.68.dist-info}/top_level.txt +0 -0
|
@@ -36,8 +36,8 @@ class OutputTypeResource(BaseModelResource):
|
|
|
36
36
|
name: output_type_id
|
|
37
37
|
required: True
|
|
38
38
|
type: string
|
|
39
|
-
format:
|
|
40
|
-
|
|
39
|
+
format: uuid
|
|
40
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
41
41
|
responses:
|
|
42
42
|
200:
|
|
43
43
|
description: Model as a JSON object
|
|
@@ -86,8 +86,8 @@ class PreviewFileResource(BaseModelResource):
|
|
|
86
86
|
name: instance_id
|
|
87
87
|
required: True
|
|
88
88
|
type: string
|
|
89
|
-
format:
|
|
90
|
-
|
|
89
|
+
format: uuid
|
|
90
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
91
91
|
responses:
|
|
92
92
|
204:
|
|
93
93
|
description: Model deleted
|
|
@@ -36,8 +36,8 @@ class SoftwareResource(BaseModelResource):
|
|
|
36
36
|
name: software_id
|
|
37
37
|
required: True
|
|
38
38
|
type: string
|
|
39
|
-
format:
|
|
40
|
-
|
|
39
|
+
format: uuid
|
|
40
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
41
41
|
responses:
|
|
42
42
|
200:
|
|
43
43
|
description: Model as a JSON object
|
|
@@ -67,8 +67,8 @@ class WorkingFileResource(BaseModelResource):
|
|
|
67
67
|
name: working_file_id
|
|
68
68
|
required: True
|
|
69
69
|
type: string
|
|
70
|
-
format:
|
|
71
|
-
|
|
70
|
+
format: uuid
|
|
71
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
72
72
|
responses:
|
|
73
73
|
200:
|
|
74
74
|
description: Model as a JSON object
|
|
@@ -41,14 +41,14 @@ class AddSoftwareToDepartmentResource(Resource, ArgsMixin):
|
|
|
41
41
|
name: department_id
|
|
42
42
|
required: True
|
|
43
43
|
type: string
|
|
44
|
-
format:
|
|
45
|
-
|
|
44
|
+
format: uuid
|
|
45
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
46
46
|
- in: body
|
|
47
47
|
name: software_id
|
|
48
48
|
required: True
|
|
49
49
|
type: string
|
|
50
|
-
format:
|
|
51
|
-
|
|
50
|
+
format: uuid
|
|
51
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
52
52
|
responses:
|
|
53
53
|
201:
|
|
54
54
|
description: User added to given department
|
|
@@ -83,8 +83,8 @@ class SoftwareDepartmentResource(Resource, ArgsMixin):
|
|
|
83
83
|
name: department_id
|
|
84
84
|
required: True
|
|
85
85
|
type: string
|
|
86
|
-
format:
|
|
87
|
-
|
|
86
|
+
format: uuid
|
|
87
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
88
88
|
responses:
|
|
89
89
|
200:
|
|
90
90
|
description: Software items for given department
|
|
@@ -110,14 +110,14 @@ class SoftwareDepartmentResource(Resource, ArgsMixin):
|
|
|
110
110
|
name: software_id
|
|
111
111
|
required: True
|
|
112
112
|
type: string
|
|
113
|
-
format:
|
|
114
|
-
|
|
113
|
+
format: uuid
|
|
114
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
115
115
|
- in: path
|
|
116
116
|
name: department_id
|
|
117
117
|
required: True
|
|
118
118
|
type: string
|
|
119
|
-
format:
|
|
120
|
-
|
|
119
|
+
format: uuid
|
|
120
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
121
121
|
responses:
|
|
122
122
|
204:
|
|
123
123
|
description: User removed from given department
|
|
@@ -167,14 +167,14 @@ class AddHardwareItemToDepartmentResource(Resource, ArgsMixin):
|
|
|
167
167
|
name: department_id
|
|
168
168
|
required: True
|
|
169
169
|
type: string
|
|
170
|
-
format:
|
|
171
|
-
|
|
170
|
+
format: uuid
|
|
171
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
172
172
|
- in: body
|
|
173
173
|
name: hardware_item_id
|
|
174
174
|
required: True
|
|
175
175
|
type: string
|
|
176
|
-
format:
|
|
177
|
-
|
|
176
|
+
format: uuid
|
|
177
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
178
178
|
responses:
|
|
179
179
|
201:
|
|
180
180
|
description: Hardware item added to given department
|
|
@@ -213,8 +213,8 @@ class HardwareItemDepartmentResource(Resource, ArgsMixin):
|
|
|
213
213
|
name: department_id
|
|
214
214
|
required: True
|
|
215
215
|
type: string
|
|
216
|
-
format:
|
|
217
|
-
|
|
216
|
+
format: uuid
|
|
217
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
218
218
|
responses:
|
|
219
219
|
200:
|
|
220
220
|
description: Hardware items for given department
|
|
@@ -240,14 +240,14 @@ class HardwareItemDepartmentResource(Resource, ArgsMixin):
|
|
|
240
240
|
name: department_id
|
|
241
241
|
required: True
|
|
242
242
|
type: string
|
|
243
|
-
format:
|
|
244
|
-
|
|
243
|
+
format: uuid
|
|
244
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
245
245
|
- in: path
|
|
246
246
|
name: hardware_item_id
|
|
247
247
|
required: True
|
|
248
248
|
type: string
|
|
249
|
-
format:
|
|
250
|
-
|
|
249
|
+
format: uuid
|
|
250
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
251
251
|
responses:
|
|
252
252
|
204:
|
|
253
253
|
description: User removed from given department
|
|
@@ -28,8 +28,8 @@ class EditResource(Resource, ArgsMixin):
|
|
|
28
28
|
name: edit_id
|
|
29
29
|
required: True
|
|
30
30
|
type: string
|
|
31
|
-
format:
|
|
32
|
-
|
|
31
|
+
format: uuid
|
|
32
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
33
33
|
responses:
|
|
34
34
|
200:
|
|
35
35
|
description: Given edit
|
|
@@ -54,8 +54,8 @@ class EditResource(Resource, ArgsMixin):
|
|
|
54
54
|
name: edit_id
|
|
55
55
|
required: True
|
|
56
56
|
type: string
|
|
57
|
-
format:
|
|
58
|
-
|
|
57
|
+
format: uuid
|
|
58
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
59
59
|
responses:
|
|
60
60
|
204:
|
|
61
61
|
description: Given edit deleted
|
|
@@ -84,13 +84,13 @@ class EditsResource(Resource):
|
|
|
84
84
|
name: project_id
|
|
85
85
|
required: False
|
|
86
86
|
type: string
|
|
87
|
-
format:
|
|
88
|
-
|
|
87
|
+
format: uuid
|
|
88
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
89
89
|
- in: query
|
|
90
90
|
name: name
|
|
91
91
|
required: False
|
|
92
92
|
type: string
|
|
93
|
-
|
|
93
|
+
example: Name of edit
|
|
94
94
|
- in: query
|
|
95
95
|
name: force
|
|
96
96
|
required: False
|
|
@@ -123,13 +123,13 @@ class AllEditsResource(Resource):
|
|
|
123
123
|
name: project_id
|
|
124
124
|
required: False
|
|
125
125
|
type: string
|
|
126
|
-
format:
|
|
127
|
-
|
|
126
|
+
format: uuid
|
|
127
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
128
128
|
- in: query
|
|
129
129
|
name: name
|
|
130
130
|
required: False
|
|
131
131
|
type: string
|
|
132
|
-
|
|
132
|
+
example: Name of edit
|
|
133
133
|
- in: query
|
|
134
134
|
name: force
|
|
135
135
|
required: False
|
|
@@ -161,8 +161,8 @@ class EditTaskTypesResource(Resource):
|
|
|
161
161
|
name: edit_id
|
|
162
162
|
required: True
|
|
163
163
|
type: string
|
|
164
|
-
format:
|
|
165
|
-
|
|
164
|
+
format: uuid
|
|
165
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
166
166
|
responses:
|
|
167
167
|
200:
|
|
168
168
|
description: All task types related to given edit
|
|
@@ -186,8 +186,8 @@ class EditTasksResource(Resource, ArgsMixin):
|
|
|
186
186
|
name: edit_id
|
|
187
187
|
required: True
|
|
188
188
|
type: string
|
|
189
|
-
format:
|
|
190
|
-
|
|
189
|
+
format: uuid
|
|
190
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
191
191
|
responses:
|
|
192
192
|
200:
|
|
193
193
|
description: All tasks related to given edit
|
|
@@ -212,8 +212,8 @@ class EpisodeEditTasksResource(Resource, ArgsMixin):
|
|
|
212
212
|
name: episode_id
|
|
213
213
|
required: True
|
|
214
214
|
type: string
|
|
215
|
-
format:
|
|
216
|
-
|
|
215
|
+
format: uuid
|
|
216
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
217
217
|
responses:
|
|
218
218
|
200:
|
|
219
219
|
description: All tasks related to given episode
|
|
@@ -242,8 +242,8 @@ class EpisodeEditsResource(Resource, ArgsMixin):
|
|
|
242
242
|
name: episode_id
|
|
243
243
|
required: True
|
|
244
244
|
type: string
|
|
245
|
-
format:
|
|
246
|
-
|
|
245
|
+
format: uuid
|
|
246
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
247
247
|
responses:
|
|
248
248
|
200:
|
|
249
249
|
description: All efits related to given episode
|
|
@@ -271,8 +271,8 @@ class EditPreviewsResource(Resource):
|
|
|
271
271
|
name: edit_id
|
|
272
272
|
required: True
|
|
273
273
|
type: string
|
|
274
|
-
format:
|
|
275
|
-
|
|
274
|
+
format: uuid
|
|
275
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
276
276
|
responses:
|
|
277
277
|
200:
|
|
278
278
|
description: All previews related to given edit
|
|
@@ -296,13 +296,13 @@ class EditsAndTasksResource(Resource):
|
|
|
296
296
|
name: project_id
|
|
297
297
|
required: False
|
|
298
298
|
type: string
|
|
299
|
-
format:
|
|
300
|
-
|
|
299
|
+
format: uuid
|
|
300
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
301
301
|
- in: query
|
|
302
302
|
name: name
|
|
303
303
|
required: False
|
|
304
304
|
type: string
|
|
305
|
-
|
|
305
|
+
example: Name of edit
|
|
306
306
|
- in: query
|
|
307
307
|
name: force
|
|
308
308
|
required: False
|
|
@@ -338,8 +338,8 @@ class ProjectEditsResource(Resource, ArgsMixin):
|
|
|
338
338
|
name: project_id
|
|
339
339
|
required: True
|
|
340
340
|
type: string
|
|
341
|
-
format:
|
|
342
|
-
|
|
341
|
+
format: uuid
|
|
342
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
343
343
|
responses:
|
|
344
344
|
200:
|
|
345
345
|
description: All edits related to given project
|
|
@@ -362,22 +362,22 @@ class ProjectEditsResource(Resource, ArgsMixin):
|
|
|
362
362
|
name: project_id
|
|
363
363
|
required: True
|
|
364
364
|
type: string
|
|
365
|
-
format:
|
|
366
|
-
|
|
365
|
+
format: uuid
|
|
366
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
367
367
|
- in: formData
|
|
368
368
|
name: name
|
|
369
369
|
required: True
|
|
370
370
|
type: string
|
|
371
|
-
|
|
371
|
+
example: Name of edit
|
|
372
372
|
- in: formData
|
|
373
373
|
name: description
|
|
374
374
|
type: string
|
|
375
|
-
|
|
375
|
+
example: Description of edit
|
|
376
376
|
- in: formData
|
|
377
377
|
name: episode_id
|
|
378
378
|
type: string
|
|
379
|
-
format:
|
|
380
|
-
|
|
379
|
+
format: uuid
|
|
380
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
381
381
|
responses:
|
|
382
382
|
201:
|
|
383
383
|
description: Edit created for given project
|
|
@@ -435,8 +435,8 @@ class EditVersionsResource(Resource):
|
|
|
435
435
|
name: edit_id
|
|
436
436
|
required: True
|
|
437
437
|
type: string
|
|
438
|
-
format:
|
|
439
|
-
|
|
438
|
+
format: uuid
|
|
439
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
440
440
|
responses:
|
|
441
441
|
200:
|
|
442
442
|
description: Data versions of given edit
|
|
@@ -24,8 +24,8 @@ class EntityNewsResource(Resource):
|
|
|
24
24
|
name: entity_id
|
|
25
25
|
required: True
|
|
26
26
|
type: string
|
|
27
|
-
format:
|
|
28
|
-
|
|
27
|
+
format: uuid
|
|
28
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
29
29
|
responses:
|
|
30
30
|
200:
|
|
31
31
|
description: All news linked to given entity
|
|
@@ -48,8 +48,8 @@ class EntityPreviewFilesResource(Resource):
|
|
|
48
48
|
name: entity_id
|
|
49
49
|
required: True
|
|
50
50
|
type: string
|
|
51
|
-
format:
|
|
52
|
-
|
|
51
|
+
format: uuid
|
|
52
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
53
53
|
responses:
|
|
54
54
|
200:
|
|
55
55
|
description: All preview files linked to given entity
|
|
@@ -72,8 +72,8 @@ class EntityTimeSpentsResource(Resource):
|
|
|
72
72
|
name: entity_id
|
|
73
73
|
required: True
|
|
74
74
|
type: string
|
|
75
|
-
format:
|
|
76
|
-
|
|
75
|
+
format: uuid
|
|
76
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
77
77
|
responses:
|
|
78
78
|
200:
|
|
79
79
|
description: All time spents linked to given entity
|
|
@@ -90,14 +90,14 @@ class EntitiesLinkedWithTasksResource(Resource):
|
|
|
90
90
|
Resource to retrieve the entities linked on a given entity.
|
|
91
91
|
---
|
|
92
92
|
tags:
|
|
93
|
-
-
|
|
93
|
+
- Entities
|
|
94
94
|
parameters:
|
|
95
95
|
- in: path
|
|
96
96
|
name: entity_id
|
|
97
97
|
required: True
|
|
98
98
|
type: string
|
|
99
|
-
format:
|
|
100
|
-
|
|
99
|
+
format: uuid
|
|
100
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
101
101
|
responses:
|
|
102
102
|
200:
|
|
103
103
|
description: Entities linked on given entity
|
|
@@ -21,12 +21,12 @@ class EventsResource(Resource, ArgsMixin):
|
|
|
21
21
|
name: after
|
|
22
22
|
type: string
|
|
23
23
|
format: date
|
|
24
|
-
|
|
24
|
+
example: "2022-07-12"
|
|
25
25
|
- in: query
|
|
26
26
|
name: before
|
|
27
27
|
type: string
|
|
28
28
|
format: date
|
|
29
|
-
|
|
29
|
+
example: "2022-07-12"
|
|
30
30
|
- in: query
|
|
31
31
|
name: only_files
|
|
32
32
|
type: boolean
|
|
@@ -35,12 +35,12 @@ class EventsResource(Resource, ArgsMixin):
|
|
|
35
35
|
name: limit
|
|
36
36
|
type: integer
|
|
37
37
|
default: 100
|
|
38
|
-
|
|
38
|
+
example: 100
|
|
39
39
|
- in: query
|
|
40
40
|
name: project_id
|
|
41
41
|
type: string
|
|
42
|
-
format:
|
|
43
|
-
|
|
42
|
+
format: uuid
|
|
43
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
44
44
|
responses:
|
|
45
45
|
200:
|
|
46
46
|
description: All login logs
|
|
@@ -91,11 +91,11 @@ class LoginLogsResource(Resource, ArgsMixin):
|
|
|
91
91
|
name: before
|
|
92
92
|
type: string
|
|
93
93
|
format: date
|
|
94
|
-
|
|
94
|
+
example: "2022-07-12T00:00:00"
|
|
95
95
|
- in: query
|
|
96
96
|
name: limit
|
|
97
97
|
type: integer
|
|
98
|
-
|
|
98
|
+
example: 100
|
|
99
99
|
responses:
|
|
100
100
|
200:
|
|
101
101
|
description: All login logs
|
|
@@ -26,8 +26,8 @@ class AssetsCsvExport(Resource):
|
|
|
26
26
|
name: project_id
|
|
27
27
|
required: True
|
|
28
28
|
type: string
|
|
29
|
-
format:
|
|
30
|
-
|
|
29
|
+
format: uuid
|
|
30
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
31
31
|
responses:
|
|
32
32
|
200:
|
|
33
33
|
description: Assets exported as csv
|
|
@@ -25,8 +25,8 @@ class CastingCsvExport(Resource, ArgsMixin):
|
|
|
25
25
|
name: project_id
|
|
26
26
|
required: True
|
|
27
27
|
type: string
|
|
28
|
-
format:
|
|
29
|
-
|
|
28
|
+
format: uuid
|
|
29
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
30
30
|
responses:
|
|
31
31
|
200:
|
|
32
32
|
description: Casting exported as csv
|
|
@@ -25,8 +25,8 @@ class EditsCsvExport(Resource):
|
|
|
25
25
|
name: project_id
|
|
26
26
|
required: True
|
|
27
27
|
type: string
|
|
28
|
-
format:
|
|
29
|
-
|
|
28
|
+
format: uuid
|
|
29
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
30
30
|
responses:
|
|
31
31
|
200:
|
|
32
32
|
description: Edits exported as csv
|
|
@@ -31,8 +31,8 @@ class PlaylistCsvExport(Resource):
|
|
|
31
31
|
name: playlist_id
|
|
32
32
|
required: True
|
|
33
33
|
type: string
|
|
34
|
-
format:
|
|
35
|
-
|
|
34
|
+
format: uuid
|
|
35
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
36
36
|
responses:
|
|
37
37
|
200:
|
|
38
38
|
description: Playlist exported as csv
|
|
@@ -26,8 +26,8 @@ class ShotsCsvExport(Resource):
|
|
|
26
26
|
name: project_id
|
|
27
27
|
required: True
|
|
28
28
|
type: string
|
|
29
|
-
format:
|
|
30
|
-
|
|
29
|
+
format: uuid
|
|
30
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
31
31
|
responses:
|
|
32
32
|
200:
|
|
33
33
|
description: Shots exported as csv
|