ffmpeglab-sdk 0.3.5 → 0.3.7

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 (184) hide show
  1. package/.openapi-generator/FILES +41 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +33 -0
  4. package/dist/apis/AppApi.d.ts +49 -7
  5. package/dist/apis/AppApi.js +48 -30
  6. package/dist/apis/RendersApi.d.ts +145 -15
  7. package/dist/apis/RendersApi.js +174 -135
  8. package/dist/apis/index.d.ts +2 -0
  9. package/dist/apis/index.js +20 -0
  10. package/dist/esm/apis/AppApi.d.ts +51 -0
  11. package/dist/esm/apis/AppApi.js +60 -0
  12. package/dist/esm/apis/RendersApi.d.ts +147 -0
  13. package/dist/esm/apis/RendersApi.js +204 -0
  14. package/dist/esm/apis/index.d.ts +2 -0
  15. package/dist/esm/apis/index.js +4 -0
  16. package/dist/esm/index.d.ts +3 -0
  17. package/dist/esm/index.js +5 -0
  18. package/dist/esm/models/EditorLayer.d.ts +82 -0
  19. package/dist/esm/models/EditorLayer.js +77 -0
  20. package/dist/esm/models/EditorLayerParams.d.ts +44 -0
  21. package/dist/esm/models/EditorLayerParams.js +51 -0
  22. package/dist/esm/models/EditorProject.d.ts +69 -0
  23. package/dist/esm/models/EditorProject.js +68 -0
  24. package/dist/esm/models/EditorProjectConfiguration.d.ts +151 -0
  25. package/dist/esm/models/EditorProjectConfiguration.js +131 -0
  26. package/dist/esm/models/EncoderProject.d.ts +171 -0
  27. package/dist/esm/models/EncoderProject.js +136 -0
  28. package/dist/esm/models/EncoderProjectEncoding.d.ts +314 -0
  29. package/dist/esm/models/EncoderProjectEncoding.js +274 -0
  30. package/dist/esm/models/Media.d.ts +164 -0
  31. package/dist/esm/models/Media.js +131 -0
  32. package/dist/esm/models/PositionParams.d.ts +50 -0
  33. package/dist/esm/models/PositionParams.js +55 -0
  34. package/dist/esm/models/RGB.d.ts +44 -0
  35. package/dist/esm/models/RGB.js +51 -0
  36. package/dist/esm/models/RenderData.d.ts +40 -0
  37. package/dist/esm/models/RenderData.js +49 -0
  38. package/dist/esm/models/RenderDto.d.ts +40 -0
  39. package/dist/esm/models/RenderDto.js +49 -0
  40. package/dist/esm/models/RenderResponse.d.ts +88 -0
  41. package/dist/esm/models/RenderResponse.js +81 -0
  42. package/dist/esm/models/Resize.d.ts +38 -0
  43. package/dist/esm/models/Resize.js +47 -0
  44. package/dist/esm/models/RunDto.d.ts +32 -0
  45. package/dist/esm/models/RunDto.js +43 -0
  46. package/dist/esm/models/index.d.ts +14 -0
  47. package/dist/esm/models/index.js +16 -0
  48. package/dist/esm/runtime.d.ts +185 -0
  49. package/dist/esm/runtime.js +354 -0
  50. package/dist/index.d.ts +3 -11
  51. package/dist/index.js +21 -10
  52. package/dist/models/EditorLayer.d.ts +81 -29
  53. package/dist/models/EditorLayer.js +81 -63
  54. package/dist/models/EditorLayerParams.d.ts +43 -21
  55. package/dist/models/EditorLayerParams.js +55 -27
  56. package/dist/models/EditorProject.d.ts +68 -26
  57. package/dist/models/EditorProject.js +72 -51
  58. package/dist/models/EditorProjectConfiguration.d.ts +150 -56
  59. package/dist/models/EditorProjectConfiguration.js +136 -125
  60. package/dist/models/EncoderProject.d.ts +170 -43
  61. package/dist/models/EncoderProject.js +140 -153
  62. package/dist/models/EncoderProjectEncoding.d.ts +313 -166
  63. package/dist/models/EncoderProjectEncoding.js +279 -279
  64. package/dist/models/Media.d.ts +163 -41
  65. package/dist/models/Media.js +135 -147
  66. package/dist/models/PositionParams.d.ts +49 -22
  67. package/dist/models/PositionParams.js +59 -33
  68. package/dist/models/RGB.d.ts +43 -21
  69. package/dist/models/RGB.js +55 -27
  70. package/dist/models/RenderData.d.ts +39 -22
  71. package/dist/models/RenderData.js +53 -21
  72. package/dist/models/RenderDto.d.ts +39 -22
  73. package/dist/models/RenderDto.js +53 -21
  74. package/dist/models/RenderResponse.d.ts +87 -30
  75. package/dist/models/RenderResponse.js +85 -69
  76. package/dist/models/Resize.d.ts +37 -20
  77. package/dist/models/Resize.js +51 -21
  78. package/dist/models/RunDto.d.ts +31 -19
  79. package/dist/models/RunDto.js +47 -15
  80. package/dist/models/index.d.ts +14 -0
  81. package/dist/models/index.js +32 -0
  82. package/dist/runtime.d.ts +185 -0
  83. package/dist/runtime.js +371 -0
  84. package/docs/AppApi.md +66 -0
  85. package/docs/EditorLayer.md +50 -0
  86. package/docs/EditorLayerParams.md +38 -0
  87. package/docs/EditorProject.md +46 -0
  88. package/docs/EditorProjectConfiguration.md +62 -0
  89. package/docs/EncoderProject.md +80 -0
  90. package/docs/EncoderProjectEncoding.md +80 -0
  91. package/docs/Media.md +78 -0
  92. package/docs/PositionParams.md +40 -0
  93. package/docs/RGB.md +38 -0
  94. package/docs/RenderData.md +36 -0
  95. package/docs/RenderDto.md +36 -0
  96. package/docs/RenderResponse.md +52 -0
  97. package/docs/RendersApi.md +280 -0
  98. package/docs/Resize.md +36 -0
  99. package/docs/RunDto.md +34 -0
  100. package/package.json +10 -30
  101. package/src/apis/AppApi.ts +84 -0
  102. package/src/apis/RendersApi.ts +339 -0
  103. package/src/apis/index.ts +4 -0
  104. package/src/index.ts +5 -0
  105. package/src/models/EditorLayer.ts +153 -0
  106. package/src/models/EditorLayerParams.ts +84 -0
  107. package/src/models/EditorProject.ts +128 -0
  108. package/src/models/EditorProjectConfiguration.ts +232 -0
  109. package/src/models/EncoderProject.ts +281 -0
  110. package/src/models/EncoderProjectEncoding.ts +443 -0
  111. package/src/models/Media.ts +264 -0
  112. package/src/models/PositionParams.ts +93 -0
  113. package/src/models/RGB.ts +84 -0
  114. package/src/models/RenderData.ts +90 -0
  115. package/src/models/RenderDto.ts +90 -0
  116. package/src/models/RenderResponse.ts +162 -0
  117. package/src/models/Resize.ts +75 -0
  118. package/src/models/RunDto.ts +66 -0
  119. package/src/models/index.ts +16 -0
  120. package/src/runtime.ts +454 -0
  121. package/tsconfig.esm.json +7 -0
  122. package/tsconfig.json +16 -0
  123. package/dist/apis/AppApi.js.map +0 -1
  124. package/dist/apis/RendersApi.js.map +0 -1
  125. package/dist/apis/baseapi.d.ts +0 -18
  126. package/dist/apis/baseapi.js +0 -22
  127. package/dist/apis/baseapi.js.map +0 -1
  128. package/dist/apis/exception.d.ts +0 -10
  129. package/dist/apis/exception.js +0 -10
  130. package/dist/apis/exception.js.map +0 -1
  131. package/dist/auth/auth.d.ts +0 -35
  132. package/dist/auth/auth.js +0 -34
  133. package/dist/auth/auth.js.map +0 -1
  134. package/dist/configuration.d.ts +0 -26
  135. package/dist/configuration.js +0 -56
  136. package/dist/configuration.js.map +0 -1
  137. package/dist/http/http.d.ts +0 -71
  138. package/dist/http/http.js +0 -185
  139. package/dist/http/http.js.map +0 -1
  140. package/dist/http/isomorphic-fetch.d.ts +0 -6
  141. package/dist/http/isomorphic-fetch.js +0 -28
  142. package/dist/http/isomorphic-fetch.js.map +0 -1
  143. package/dist/index.js.map +0 -1
  144. package/dist/middleware.d.ts +0 -16
  145. package/dist/middleware.js +0 -13
  146. package/dist/middleware.js.map +0 -1
  147. package/dist/models/EditorLayer.js.map +0 -1
  148. package/dist/models/EditorLayerParams.js.map +0 -1
  149. package/dist/models/EditorProject.js.map +0 -1
  150. package/dist/models/EditorProjectConfiguration.js.map +0 -1
  151. package/dist/models/EncoderProject.js.map +0 -1
  152. package/dist/models/EncoderProjectEncoding.js.map +0 -1
  153. package/dist/models/Media.js.map +0 -1
  154. package/dist/models/ObjectSerializer.d.ts +0 -23
  155. package/dist/models/ObjectSerializer.js +0 -299
  156. package/dist/models/ObjectSerializer.js.map +0 -1
  157. package/dist/models/PositionParams.js.map +0 -1
  158. package/dist/models/RGB.js.map +0 -1
  159. package/dist/models/RenderData.js.map +0 -1
  160. package/dist/models/RenderDto.js.map +0 -1
  161. package/dist/models/RenderResponse.js.map +0 -1
  162. package/dist/models/Resize.js.map +0 -1
  163. package/dist/models/RunDto.js.map +0 -1
  164. package/dist/models/all.d.ts +0 -14
  165. package/dist/models/all.js +0 -15
  166. package/dist/models/all.js.map +0 -1
  167. package/dist/rxjsStub.d.ts +0 -10
  168. package/dist/rxjsStub.js +0 -24
  169. package/dist/rxjsStub.js.map +0 -1
  170. package/dist/servers.d.ts +0 -17
  171. package/dist/servers.js +0 -26
  172. package/dist/servers.js.map +0 -1
  173. package/dist/types/ObjectParamAPI.d.ts +0 -37
  174. package/dist/types/ObjectParamAPI.js +0 -43
  175. package/dist/types/ObjectParamAPI.js.map +0 -1
  176. package/dist/types/ObservableAPI.d.ts +0 -29
  177. package/dist/types/ObservableAPI.js +0 -115
  178. package/dist/types/ObservableAPI.js.map +0 -1
  179. package/dist/types/PromiseAPI.d.ts +0 -24
  180. package/dist/types/PromiseAPI.js +0 -64
  181. package/dist/types/PromiseAPI.js.map +0 -1
  182. package/dist/util.d.ts +0 -2
  183. package/dist/util.js +0 -24
  184. package/dist/util.js.map +0 -1
@@ -0,0 +1,314 @@
1
+ /**
2
+ * FFmpeglab
3
+ * FFmpeglab API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Resize } from './Resize';
13
+ import type { RGB } from './RGB';
14
+ import type { PositionParams } from './PositionParams';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface EncoderProjectEncoding
19
+ */
20
+ export interface EncoderProjectEncoding {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof EncoderProjectEncoding
25
+ */
26
+ outputFilePath: string;
27
+ /**
28
+ *
29
+ * @type {number}
30
+ * @memberof EncoderProjectEncoding
31
+ */
32
+ compressionLevel: number;
33
+ /**
34
+ *
35
+ * @type {number}
36
+ * @memberof EncoderProjectEncoding
37
+ */
38
+ width: number;
39
+ /**
40
+ *
41
+ * @type {number}
42
+ * @memberof EncoderProjectEncoding
43
+ */
44
+ height: number;
45
+ /**
46
+ *
47
+ * @type {number}
48
+ * @memberof EncoderProjectEncoding
49
+ */
50
+ crf: number;
51
+ /**
52
+ *
53
+ * @type {EncoderProjectEncodingPresetEnum}
54
+ * @memberof EncoderProjectEncoding
55
+ */
56
+ preset: EncoderProjectEncodingPresetEnum;
57
+ /**
58
+ *
59
+ * @type {EncoderProjectEncodingOutputEnum}
60
+ * @memberof EncoderProjectEncoding
61
+ */
62
+ output: EncoderProjectEncodingOutputEnum;
63
+ /**
64
+ *
65
+ * @type {Array<string>}
66
+ * @memberof EncoderProjectEncoding
67
+ */
68
+ code: Array<string>;
69
+ /**
70
+ *
71
+ * @type {number}
72
+ * @memberof EncoderProjectEncoding
73
+ */
74
+ lastUpdated: number;
75
+ /**
76
+ *
77
+ * @type {number}
78
+ * @memberof EncoderProjectEncoding
79
+ */
80
+ start: number;
81
+ /**
82
+ *
83
+ * @type {number}
84
+ * @memberof EncoderProjectEncoding
85
+ */
86
+ end: number;
87
+ /**
88
+ *
89
+ * @type {number}
90
+ * @memberof EncoderProjectEncoding
91
+ */
92
+ soundVolume: number;
93
+ /**
94
+ *
95
+ * @type {number}
96
+ * @memberof EncoderProjectEncoding
97
+ */
98
+ opacity: number;
99
+ /**
100
+ *
101
+ * @type {boolean}
102
+ * @memberof EncoderProjectEncoding
103
+ */
104
+ reverse: boolean;
105
+ /**
106
+ *
107
+ * @type {EncoderProjectEncodingSpeedEnum}
108
+ * @memberof EncoderProjectEncoding
109
+ */
110
+ speed: EncoderProjectEncodingSpeedEnum;
111
+ /**
112
+ *
113
+ * @type {EncoderProjectEncodingTransitionInEnum}
114
+ * @memberof EncoderProjectEncoding
115
+ */
116
+ transitionIn: EncoderProjectEncodingTransitionInEnum;
117
+ /**
118
+ *
119
+ * @type {EncoderProjectEncodingTransitionOutEnum}
120
+ * @memberof EncoderProjectEncoding
121
+ */
122
+ transitionOut: EncoderProjectEncodingTransitionOutEnum;
123
+ /**
124
+ *
125
+ * @type {number}
126
+ * @memberof EncoderProjectEncoding
127
+ */
128
+ transitionInDuration: number;
129
+ /**
130
+ *
131
+ * @type {number}
132
+ * @memberof EncoderProjectEncoding
133
+ */
134
+ transitionOutDuration: number;
135
+ /**
136
+ *
137
+ * @type {PositionParams}
138
+ * @memberof EncoderProjectEncoding
139
+ */
140
+ pan: PositionParams;
141
+ /**
142
+ *
143
+ * @type {PositionParams}
144
+ * @memberof EncoderProjectEncoding
145
+ */
146
+ crop: PositionParams;
147
+ /**
148
+ *
149
+ * @type {Resize}
150
+ * @memberof EncoderProjectEncoding
151
+ */
152
+ resize: Resize;
153
+ /**
154
+ *
155
+ * @type {RGB}
156
+ * @memberof EncoderProjectEncoding
157
+ */
158
+ color: RGB;
159
+ /**
160
+ *
161
+ * @type {number}
162
+ * @memberof EncoderProjectEncoding
163
+ */
164
+ scale: number;
165
+ }
166
+ /**
167
+ * @export
168
+ */
169
+ export declare const EncoderProjectEncodingPresetEnum: {
170
+ readonly Ultrafast: "ultrafast";
171
+ readonly Superfast: "superfast";
172
+ readonly Veryfast: "veryfast";
173
+ readonly Faster: "faster";
174
+ readonly Fast: "fast";
175
+ readonly Medium: "medium";
176
+ readonly Slow: "slow";
177
+ readonly Slower: "slower";
178
+ readonly Veryslow: "veryslow";
179
+ };
180
+ export type EncoderProjectEncodingPresetEnum = typeof EncoderProjectEncodingPresetEnum[keyof typeof EncoderProjectEncodingPresetEnum];
181
+ /**
182
+ * @export
183
+ */
184
+ export declare const EncoderProjectEncodingOutputEnum: {
185
+ readonly Mp4: "mp4";
186
+ readonly Gif: "gif";
187
+ readonly Mp3: "mp3";
188
+ readonly Mov: "mov";
189
+ readonly Avi: "avi";
190
+ readonly Mkv: "mkv";
191
+ };
192
+ export type EncoderProjectEncodingOutputEnum = typeof EncoderProjectEncodingOutputEnum[keyof typeof EncoderProjectEncodingOutputEnum];
193
+ /**
194
+ * @export
195
+ */
196
+ export declare const EncoderProjectEncodingSpeedEnum: {
197
+ readonly NUMBER_0_DOT_5: 0.5;
198
+ readonly NUMBER_0_DOT_6: 0.6;
199
+ readonly NUMBER_0_DOT_7: 0.7;
200
+ readonly NUMBER_0_DOT_8: 0.8;
201
+ readonly NUMBER_0_DOT_9: 0.9;
202
+ readonly NUMBER_1: 1;
203
+ readonly NUMBER_1_DOT_1: 1.1;
204
+ readonly NUMBER_1_DOT_2: 1.2;
205
+ readonly NUMBER_1_DOT_3: 1.3;
206
+ readonly NUMBER_1_DOT_4: 1.4;
207
+ readonly NUMBER_1_DOT_5: 1.5;
208
+ readonly NUMBER_1_DOT_6: 1.6;
209
+ readonly NUMBER_1_DOT_7: 1.7;
210
+ readonly NUMBER_1_DOT_8: 1.8;
211
+ readonly NUMBER_1_DOT_9: 1.9;
212
+ readonly NUMBER_2: 2;
213
+ };
214
+ export type EncoderProjectEncodingSpeedEnum = typeof EncoderProjectEncodingSpeedEnum[keyof typeof EncoderProjectEncodingSpeedEnum];
215
+ /**
216
+ * @export
217
+ */
218
+ export declare const EncoderProjectEncodingTransitionInEnum: {
219
+ readonly Fade: "fade";
220
+ readonly Fadeblack: "fadeblack";
221
+ readonly Fadewhite: "fadewhite";
222
+ readonly Distance: "distance";
223
+ readonly Wipeleft: "wipeleft";
224
+ readonly Wiperight: "wiperight";
225
+ readonly Wipeup: "wipeup";
226
+ readonly Wipedown: "wipedown";
227
+ readonly Slideleft: "slideleft";
228
+ readonly Slideright: "slideright";
229
+ readonly Slideup: "slideup";
230
+ readonly Slidedown: "slidedown";
231
+ readonly Smoothleft: "smoothleft";
232
+ readonly Smoothright: "smoothright";
233
+ readonly Smoothup: "smoothup";
234
+ readonly Smoothdown: "smoothdown";
235
+ readonly Fadegrays: "fadegrays";
236
+ readonly Squeezev: "squeezev";
237
+ readonly Squeezeh: "squeezeh";
238
+ readonly Zoomin: "zoomin";
239
+ readonly Dissolve: "dissolve";
240
+ readonly Pixelize: "pixelize";
241
+ readonly Radial: "radial";
242
+ readonly Hblur: "hblur";
243
+ readonly Wipetl: "wipetl";
244
+ readonly Wipetr: "wipetr";
245
+ readonly Wipebl: "wipebl";
246
+ readonly Wipebr: "wipebr";
247
+ readonly Hlslice: "hlslice";
248
+ readonly Hrslice: "hrslice";
249
+ readonly Vuslice: "vuslice";
250
+ readonly Vdslice: "vdslice";
251
+ readonly Circlecrop: "circlecrop";
252
+ readonly Rectcrop: "rectcrop";
253
+ readonly Circleclose: "circleclose";
254
+ readonly Circleopen: "circleopen";
255
+ readonly Horzclose: "horzclose";
256
+ readonly Horzopen: "horzopen";
257
+ readonly Vertclose: "vertclose";
258
+ readonly Vertopen: "vertopen";
259
+ };
260
+ export type EncoderProjectEncodingTransitionInEnum = typeof EncoderProjectEncodingTransitionInEnum[keyof typeof EncoderProjectEncodingTransitionInEnum];
261
+ /**
262
+ * @export
263
+ */
264
+ export declare const EncoderProjectEncodingTransitionOutEnum: {
265
+ readonly Fade: "fade";
266
+ readonly Fadeblack: "fadeblack";
267
+ readonly Fadewhite: "fadewhite";
268
+ readonly Distance: "distance";
269
+ readonly Wipeleft: "wipeleft";
270
+ readonly Wiperight: "wiperight";
271
+ readonly Wipeup: "wipeup";
272
+ readonly Wipedown: "wipedown";
273
+ readonly Slideleft: "slideleft";
274
+ readonly Slideright: "slideright";
275
+ readonly Slideup: "slideup";
276
+ readonly Slidedown: "slidedown";
277
+ readonly Smoothleft: "smoothleft";
278
+ readonly Smoothright: "smoothright";
279
+ readonly Smoothup: "smoothup";
280
+ readonly Smoothdown: "smoothdown";
281
+ readonly Fadegrays: "fadegrays";
282
+ readonly Squeezev: "squeezev";
283
+ readonly Squeezeh: "squeezeh";
284
+ readonly Zoomin: "zoomin";
285
+ readonly Dissolve: "dissolve";
286
+ readonly Pixelize: "pixelize";
287
+ readonly Radial: "radial";
288
+ readonly Hblur: "hblur";
289
+ readonly Wipetl: "wipetl";
290
+ readonly Wipetr: "wipetr";
291
+ readonly Wipebl: "wipebl";
292
+ readonly Wipebr: "wipebr";
293
+ readonly Hlslice: "hlslice";
294
+ readonly Hrslice: "hrslice";
295
+ readonly Vuslice: "vuslice";
296
+ readonly Vdslice: "vdslice";
297
+ readonly Circlecrop: "circlecrop";
298
+ readonly Rectcrop: "rectcrop";
299
+ readonly Circleclose: "circleclose";
300
+ readonly Circleopen: "circleopen";
301
+ readonly Horzclose: "horzclose";
302
+ readonly Horzopen: "horzopen";
303
+ readonly Vertclose: "vertclose";
304
+ readonly Vertopen: "vertopen";
305
+ };
306
+ export type EncoderProjectEncodingTransitionOutEnum = typeof EncoderProjectEncodingTransitionOutEnum[keyof typeof EncoderProjectEncodingTransitionOutEnum];
307
+ /**
308
+ * Check if a given object implements the EncoderProjectEncoding interface.
309
+ */
310
+ export declare function instanceOfEncoderProjectEncoding(value: object): value is EncoderProjectEncoding;
311
+ export declare function EncoderProjectEncodingFromJSON(json: any): EncoderProjectEncoding;
312
+ export declare function EncoderProjectEncodingFromJSONTyped(json: any, ignoreDiscriminator: boolean): EncoderProjectEncoding;
313
+ export declare function EncoderProjectEncodingToJSON(json: any): EncoderProjectEncoding;
314
+ export declare function EncoderProjectEncodingToJSONTyped(value?: EncoderProjectEncoding | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,274 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * FFmpeglab
5
+ * FFmpeglab API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ResizeFromJSON, ResizeToJSON, } from './Resize';
15
+ import { RGBFromJSON, RGBToJSON, } from './RGB';
16
+ import { PositionParamsFromJSON, PositionParamsToJSON, } from './PositionParams';
17
+ /**
18
+ * @export
19
+ */
20
+ export const EncoderProjectEncodingPresetEnum = {
21
+ Ultrafast: 'ultrafast',
22
+ Superfast: 'superfast',
23
+ Veryfast: 'veryfast',
24
+ Faster: 'faster',
25
+ Fast: 'fast',
26
+ Medium: 'medium',
27
+ Slow: 'slow',
28
+ Slower: 'slower',
29
+ Veryslow: 'veryslow'
30
+ };
31
+ /**
32
+ * @export
33
+ */
34
+ export const EncoderProjectEncodingOutputEnum = {
35
+ Mp4: 'mp4',
36
+ Gif: 'gif',
37
+ Mp3: 'mp3',
38
+ Mov: 'mov',
39
+ Avi: 'avi',
40
+ Mkv: 'mkv'
41
+ };
42
+ /**
43
+ * @export
44
+ */
45
+ export const EncoderProjectEncodingSpeedEnum = {
46
+ NUMBER_0_DOT_5: 0.5,
47
+ NUMBER_0_DOT_6: 0.6,
48
+ NUMBER_0_DOT_7: 0.7,
49
+ NUMBER_0_DOT_8: 0.8,
50
+ NUMBER_0_DOT_9: 0.9,
51
+ NUMBER_1: 1,
52
+ NUMBER_1_DOT_1: 1.1,
53
+ NUMBER_1_DOT_2: 1.2,
54
+ NUMBER_1_DOT_3: 1.3,
55
+ NUMBER_1_DOT_4: 1.4,
56
+ NUMBER_1_DOT_5: 1.5,
57
+ NUMBER_1_DOT_6: 1.6,
58
+ NUMBER_1_DOT_7: 1.7,
59
+ NUMBER_1_DOT_8: 1.8,
60
+ NUMBER_1_DOT_9: 1.9,
61
+ NUMBER_2: 2
62
+ };
63
+ /**
64
+ * @export
65
+ */
66
+ export const EncoderProjectEncodingTransitionInEnum = {
67
+ Fade: 'fade',
68
+ Fadeblack: 'fadeblack',
69
+ Fadewhite: 'fadewhite',
70
+ Distance: 'distance',
71
+ Wipeleft: 'wipeleft',
72
+ Wiperight: 'wiperight',
73
+ Wipeup: 'wipeup',
74
+ Wipedown: 'wipedown',
75
+ Slideleft: 'slideleft',
76
+ Slideright: 'slideright',
77
+ Slideup: 'slideup',
78
+ Slidedown: 'slidedown',
79
+ Smoothleft: 'smoothleft',
80
+ Smoothright: 'smoothright',
81
+ Smoothup: 'smoothup',
82
+ Smoothdown: 'smoothdown',
83
+ Fadegrays: 'fadegrays',
84
+ Squeezev: 'squeezev',
85
+ Squeezeh: 'squeezeh',
86
+ Zoomin: 'zoomin',
87
+ Dissolve: 'dissolve',
88
+ Pixelize: 'pixelize',
89
+ Radial: 'radial',
90
+ Hblur: 'hblur',
91
+ Wipetl: 'wipetl',
92
+ Wipetr: 'wipetr',
93
+ Wipebl: 'wipebl',
94
+ Wipebr: 'wipebr',
95
+ Hlslice: 'hlslice',
96
+ Hrslice: 'hrslice',
97
+ Vuslice: 'vuslice',
98
+ Vdslice: 'vdslice',
99
+ Circlecrop: 'circlecrop',
100
+ Rectcrop: 'rectcrop',
101
+ Circleclose: 'circleclose',
102
+ Circleopen: 'circleopen',
103
+ Horzclose: 'horzclose',
104
+ Horzopen: 'horzopen',
105
+ Vertclose: 'vertclose',
106
+ Vertopen: 'vertopen'
107
+ };
108
+ /**
109
+ * @export
110
+ */
111
+ export const EncoderProjectEncodingTransitionOutEnum = {
112
+ Fade: 'fade',
113
+ Fadeblack: 'fadeblack',
114
+ Fadewhite: 'fadewhite',
115
+ Distance: 'distance',
116
+ Wipeleft: 'wipeleft',
117
+ Wiperight: 'wiperight',
118
+ Wipeup: 'wipeup',
119
+ Wipedown: 'wipedown',
120
+ Slideleft: 'slideleft',
121
+ Slideright: 'slideright',
122
+ Slideup: 'slideup',
123
+ Slidedown: 'slidedown',
124
+ Smoothleft: 'smoothleft',
125
+ Smoothright: 'smoothright',
126
+ Smoothup: 'smoothup',
127
+ Smoothdown: 'smoothdown',
128
+ Fadegrays: 'fadegrays',
129
+ Squeezev: 'squeezev',
130
+ Squeezeh: 'squeezeh',
131
+ Zoomin: 'zoomin',
132
+ Dissolve: 'dissolve',
133
+ Pixelize: 'pixelize',
134
+ Radial: 'radial',
135
+ Hblur: 'hblur',
136
+ Wipetl: 'wipetl',
137
+ Wipetr: 'wipetr',
138
+ Wipebl: 'wipebl',
139
+ Wipebr: 'wipebr',
140
+ Hlslice: 'hlslice',
141
+ Hrslice: 'hrslice',
142
+ Vuslice: 'vuslice',
143
+ Vdslice: 'vdslice',
144
+ Circlecrop: 'circlecrop',
145
+ Rectcrop: 'rectcrop',
146
+ Circleclose: 'circleclose',
147
+ Circleopen: 'circleopen',
148
+ Horzclose: 'horzclose',
149
+ Horzopen: 'horzopen',
150
+ Vertclose: 'vertclose',
151
+ Vertopen: 'vertopen'
152
+ };
153
+ /**
154
+ * Check if a given object implements the EncoderProjectEncoding interface.
155
+ */
156
+ export function instanceOfEncoderProjectEncoding(value) {
157
+ if (!('outputFilePath' in value) || value['outputFilePath'] === undefined)
158
+ return false;
159
+ if (!('compressionLevel' in value) || value['compressionLevel'] === undefined)
160
+ return false;
161
+ if (!('width' in value) || value['width'] === undefined)
162
+ return false;
163
+ if (!('height' in value) || value['height'] === undefined)
164
+ return false;
165
+ if (!('crf' in value) || value['crf'] === undefined)
166
+ return false;
167
+ if (!('preset' in value) || value['preset'] === undefined)
168
+ return false;
169
+ if (!('output' in value) || value['output'] === undefined)
170
+ return false;
171
+ if (!('code' in value) || value['code'] === undefined)
172
+ return false;
173
+ if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
174
+ return false;
175
+ if (!('start' in value) || value['start'] === undefined)
176
+ return false;
177
+ if (!('end' in value) || value['end'] === undefined)
178
+ return false;
179
+ if (!('soundVolume' in value) || value['soundVolume'] === undefined)
180
+ return false;
181
+ if (!('opacity' in value) || value['opacity'] === undefined)
182
+ return false;
183
+ if (!('reverse' in value) || value['reverse'] === undefined)
184
+ return false;
185
+ if (!('speed' in value) || value['speed'] === undefined)
186
+ return false;
187
+ if (!('transitionIn' in value) || value['transitionIn'] === undefined)
188
+ return false;
189
+ if (!('transitionOut' in value) || value['transitionOut'] === undefined)
190
+ return false;
191
+ if (!('transitionInDuration' in value) || value['transitionInDuration'] === undefined)
192
+ return false;
193
+ if (!('transitionOutDuration' in value) || value['transitionOutDuration'] === undefined)
194
+ return false;
195
+ if (!('pan' in value) || value['pan'] === undefined)
196
+ return false;
197
+ if (!('crop' in value) || value['crop'] === undefined)
198
+ return false;
199
+ if (!('resize' in value) || value['resize'] === undefined)
200
+ return false;
201
+ if (!('color' in value) || value['color'] === undefined)
202
+ return false;
203
+ if (!('scale' in value) || value['scale'] === undefined)
204
+ return false;
205
+ return true;
206
+ }
207
+ export function EncoderProjectEncodingFromJSON(json) {
208
+ return EncoderProjectEncodingFromJSONTyped(json, false);
209
+ }
210
+ export function EncoderProjectEncodingFromJSONTyped(json, ignoreDiscriminator) {
211
+ if (json == null) {
212
+ return json;
213
+ }
214
+ return {
215
+ 'outputFilePath': json['outputFilePath'],
216
+ 'compressionLevel': json['compressionLevel'],
217
+ 'width': json['width'],
218
+ 'height': json['height'],
219
+ 'crf': json['crf'],
220
+ 'preset': json['preset'],
221
+ 'output': json['output'],
222
+ 'code': json['code'],
223
+ 'lastUpdated': json['lastUpdated'],
224
+ 'start': json['start'],
225
+ 'end': json['end'],
226
+ 'soundVolume': json['soundVolume'],
227
+ 'opacity': json['opacity'],
228
+ 'reverse': json['reverse'],
229
+ 'speed': json['speed'],
230
+ 'transitionIn': json['transitionIn'],
231
+ 'transitionOut': json['transitionOut'],
232
+ 'transitionInDuration': json['transitionInDuration'],
233
+ 'transitionOutDuration': json['transitionOutDuration'],
234
+ 'pan': PositionParamsFromJSON(json['pan']),
235
+ 'crop': PositionParamsFromJSON(json['crop']),
236
+ 'resize': ResizeFromJSON(json['resize']),
237
+ 'color': RGBFromJSON(json['color']),
238
+ 'scale': json['scale'],
239
+ };
240
+ }
241
+ export function EncoderProjectEncodingToJSON(json) {
242
+ return EncoderProjectEncodingToJSONTyped(json, false);
243
+ }
244
+ export function EncoderProjectEncodingToJSONTyped(value, ignoreDiscriminator = false) {
245
+ if (value == null) {
246
+ return value;
247
+ }
248
+ return {
249
+ 'outputFilePath': value['outputFilePath'],
250
+ 'compressionLevel': value['compressionLevel'],
251
+ 'width': value['width'],
252
+ 'height': value['height'],
253
+ 'crf': value['crf'],
254
+ 'preset': value['preset'],
255
+ 'output': value['output'],
256
+ 'code': value['code'],
257
+ 'lastUpdated': value['lastUpdated'],
258
+ 'start': value['start'],
259
+ 'end': value['end'],
260
+ 'soundVolume': value['soundVolume'],
261
+ 'opacity': value['opacity'],
262
+ 'reverse': value['reverse'],
263
+ 'speed': value['speed'],
264
+ 'transitionIn': value['transitionIn'],
265
+ 'transitionOut': value['transitionOut'],
266
+ 'transitionInDuration': value['transitionInDuration'],
267
+ 'transitionOutDuration': value['transitionOutDuration'],
268
+ 'pan': PositionParamsToJSON(value['pan']),
269
+ 'crop': PositionParamsToJSON(value['crop']),
270
+ 'resize': ResizeToJSON(value['resize']),
271
+ 'color': RGBToJSON(value['color']),
272
+ 'scale': value['scale'],
273
+ };
274
+ }