@nxtedition/types 23.0.38 → 23.0.40

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.
@@ -1,8 +1,8 @@
1
1
  import __typia from "typia";
2
2
  export const isRenderQuery = input => {
3
3
  const $io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && (undefined === input.description || "object" === typeof input.description && null !== input.description && false === Array.isArray(input.description) && $io1(input.description));
4
- const $io1 = input => null !== input.scene && (undefined === input.scene || "string" === typeof input.scene || (Array.isArray(input.scene) && input.scene.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io2(elem))) || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene))) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && $io10(elem))) || "object" === typeof input.profile && null !== input.profile && $io10(input.profile))));
5
- const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io9(input.transcribe));
4
+ const $io1 = input => null !== input.scene && (undefined === input.scene || "string" === typeof input.scene || (Array.isArray(input.scene) && input.scene.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io2(elem))) || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene))) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && $io11(elem))) || "object" === typeof input.profile && null !== input.profile && $io11(input.profile))));
5
+ const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io8(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io10(input.transcribe));
6
6
  const $io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file);
7
7
  const $io4 = input => Object.keys(input).every(key => {
8
8
  const value = input[key];
@@ -11,22 +11,23 @@ export const isRenderQuery = input => {
11
11
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
12
12
  });
13
13
  const $io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io6(input.styleOverrides));
14
- const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
15
- const $io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io8(input.crop);
16
- const $io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
17
- const $io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
18
- const $io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io13(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io14(input.subtitle)));
19
- const $io11 = input => "string" === typeof input.engine;
20
- const $io12 = input => "string" === typeof input.language;
21
- const $io13 = input => undefined === input.pan || "string" === typeof input.pan;
22
- const $io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
14
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding) && (undefined === input.previewSettings || "object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) && $io7(input.previewSettings));
15
+ const $io7 = input => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId) && (undefined === input.text || "string" === typeof input.text);
16
+ const $io8 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io9(input.crop);
17
+ const $io9 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
18
+ const $io10 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
19
+ const $io11 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io12(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io13(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io14(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io15(input.subtitle)));
20
+ const $io12 = input => "string" === typeof input.engine;
21
+ const $io13 = input => "string" === typeof input.language;
22
+ const $io14 = input => undefined === input.pan || "string" === typeof input.pan;
23
+ const $io15 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
23
24
  return "object" === typeof input && null !== input && $io0(input);
24
25
  };
25
26
  export const assertRenderQuery = (input, errorFactory) => {
26
27
  const __is = input => {
27
28
  const $io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && (undefined === input.description || "object" === typeof input.description && null !== input.description && false === Array.isArray(input.description) && $io1(input.description));
28
- const $io1 = input => null !== input.scene && (undefined === input.scene || "string" === typeof input.scene || (Array.isArray(input.scene) && input.scene.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io2(elem))) || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene))) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && $io10(elem))) || "object" === typeof input.profile && null !== input.profile && $io10(input.profile))));
29
- const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io9(input.transcribe));
29
+ const $io1 = input => null !== input.scene && (undefined === input.scene || "string" === typeof input.scene || (Array.isArray(input.scene) && input.scene.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io2(elem))) || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene))) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && $io11(elem))) || "object" === typeof input.profile && null !== input.profile && $io11(input.profile))));
30
+ const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io8(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io10(input.transcribe));
30
31
  const $io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file);
31
32
  const $io4 = input => Object.keys(input).every(key => {
32
33
  const value = input[key];
@@ -35,15 +36,16 @@ export const assertRenderQuery = (input, errorFactory) => {
35
36
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
36
37
  });
37
38
  const $io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io6(input.styleOverrides));
38
- const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
39
- const $io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io8(input.crop);
40
- const $io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
41
- const $io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
42
- const $io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io13(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io14(input.subtitle)));
43
- const $io11 = input => "string" === typeof input.engine;
44
- const $io12 = input => "string" === typeof input.language;
45
- const $io13 = input => undefined === input.pan || "string" === typeof input.pan;
46
- const $io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
39
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding) && (undefined === input.previewSettings || "object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) && $io7(input.previewSettings));
40
+ const $io7 = input => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId) && (undefined === input.text || "string" === typeof input.text);
41
+ const $io8 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io9(input.crop);
42
+ const $io9 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
43
+ const $io10 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
44
+ const $io11 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io12(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io13(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io14(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io15(input.subtitle)));
45
+ const $io12 = input => "string" === typeof input.engine;
46
+ const $io13 = input => "string" === typeof input.language;
47
+ const $io14 = input => undefined === input.pan || "string" === typeof input.pan;
48
+ const $io15 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
47
49
  return "object" === typeof input && null !== input && $io0(input);
48
50
  };
49
51
  if (false === __is(input))
@@ -115,11 +117,11 @@ export const assertRenderQuery = (input, errorFactory) => {
115
117
  path: _path + ".profile[" + _index2 + "]",
116
118
  expected: "(RenderProfileObject | string)",
117
119
  value: elem
118
- }, errorFactory)) && $ao10(elem, _path + ".profile[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
120
+ }, errorFactory)) && $ao11(elem, _path + ".profile[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
119
121
  path: _path + ".profile[" + _index2 + "]",
120
122
  expected: "(RenderProfileObject | string)",
121
123
  value: elem
122
- }, errorFactory))) || "object" === typeof input.profile && null !== input.profile && $ao10(input.profile, _path + ".profile", true && _exceptionable) || $guard(_exceptionable, {
124
+ }, errorFactory))) || "object" === typeof input.profile && null !== input.profile && $ao11(input.profile, _path + ".profile", true && _exceptionable) || $guard(_exceptionable, {
123
125
  path: _path + ".profile",
124
126
  expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
125
127
  value: input.profile
@@ -162,11 +164,11 @@ export const assertRenderQuery = (input, errorFactory) => {
162
164
  value: input.subtitleTracks
163
165
  }, errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || $guard(_exceptionable, {
164
166
  path: _path + ".video",
165
- expected: "(__type.o4 | undefined)",
167
+ expected: "(__type.o5 | undefined)",
166
168
  value: input.video
167
- }, errorFactory)) && $ao7(input.video, _path + ".video", true && _exceptionable) || $guard(_exceptionable, {
169
+ }, errorFactory)) && $ao8(input.video, _path + ".video", true && _exceptionable) || $guard(_exceptionable, {
168
170
  path: _path + ".video",
169
- expected: "(__type.o4 | undefined)",
171
+ expected: "(__type.o5 | undefined)",
170
172
  value: input.video
171
173
  }, errorFactory)) && (undefined === input.start || "number" === typeof input.start || $guard(_exceptionable, {
172
174
  path: _path + ".start",
@@ -178,11 +180,11 @@ export const assertRenderQuery = (input, errorFactory) => {
178
180
  value: input.end
179
181
  }, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
180
182
  path: _path + ".transcribe",
181
- expected: "(__type.o6 | undefined)",
183
+ expected: "(__type.o7 | undefined)",
182
184
  value: input.transcribe
183
- }, errorFactory)) && $ao9(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
185
+ }, errorFactory)) && $ao10(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
184
186
  path: _path + ".transcribe",
185
- expected: "(__type.o6 | undefined)",
187
+ expected: "(__type.o7 | undefined)",
186
188
  value: input.transcribe
187
189
  }, errorFactory));
188
190
  const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
@@ -313,17 +315,38 @@ export const assertRenderQuery = (input, errorFactory) => {
313
315
  path: _path + ".encoding",
314
316
  expected: "(string | undefined)",
315
317
  value: input.encoding
318
+ }, errorFactory)) && (undefined === input.previewSettings || ("object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) || $guard(_exceptionable, {
319
+ path: _path + ".previewSettings",
320
+ expected: "(__type.o4 | undefined)",
321
+ value: input.previewSettings
322
+ }, errorFactory)) && $ao7(input.previewSettings, _path + ".previewSettings", true && _exceptionable) || $guard(_exceptionable, {
323
+ path: _path + ".previewSettings",
324
+ expected: "(__type.o4 | undefined)",
325
+ value: input.previewSettings
326
+ }, errorFactory));
327
+ const $ao7 = (input, _path, _exceptionable = true) => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio || $guard(_exceptionable, {
328
+ path: _path + ".aspectRatio",
329
+ expected: "(string | undefined)",
330
+ value: input.aspectRatio
331
+ }, errorFactory)) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId || $guard(_exceptionable, {
332
+ path: _path + ".backgroundAssetId",
333
+ expected: "(string | undefined)",
334
+ value: input.backgroundAssetId
335
+ }, errorFactory)) && (undefined === input.text || "string" === typeof input.text || $guard(_exceptionable, {
336
+ path: _path + ".text",
337
+ expected: "(string | undefined)",
338
+ value: input.text
316
339
  }, errorFactory));
317
- const $ao7 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || $guard(_exceptionable, {
340
+ const $ao8 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || $guard(_exceptionable, {
318
341
  path: _path + ".crop",
319
- expected: "(__type.o5 | undefined)",
342
+ expected: "(__type.o6 | undefined)",
320
343
  value: input.crop
321
- }, errorFactory)) && $ao8(input.crop, _path + ".crop", true && _exceptionable) || $guard(_exceptionable, {
344
+ }, errorFactory)) && $ao9(input.crop, _path + ".crop", true && _exceptionable) || $guard(_exceptionable, {
322
345
  path: _path + ".crop",
323
- expected: "(__type.o5 | undefined)",
346
+ expected: "(__type.o6 | undefined)",
324
347
  value: input.crop
325
348
  }, errorFactory);
326
- const $ao8 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || $guard(_exceptionable, {
349
+ const $ao9 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || $guard(_exceptionable, {
327
350
  path: _path + ".x",
328
351
  expected: "(number | undefined)",
329
352
  value: input.x
@@ -340,7 +363,7 @@ export const assertRenderQuery = (input, errorFactory) => {
340
363
  expected: "(number | undefined)",
341
364
  value: input.height
342
365
  }, errorFactory));
343
- const $ao9 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || $guard(_exceptionable, {
366
+ const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || $guard(_exceptionable, {
344
367
  path: _path + ".language",
345
368
  expected: "(string | undefined)",
346
369
  value: input.language
@@ -357,33 +380,33 @@ export const assertRenderQuery = (input, errorFactory) => {
357
380
  expected: "(Array<number> | undefined)",
358
381
  value: input.pan
359
382
  }, errorFactory));
360
- const $ao10 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || $guard(_exceptionable, {
383
+ const $ao11 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || $guard(_exceptionable, {
361
384
  path: _path + ".format",
362
385
  expected: "string",
363
386
  value: input.format
364
387
  }, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe || $guard(_exceptionable, {
365
388
  path: _path + ".transcribe",
366
- expected: "(__type.o7 | undefined)",
389
+ expected: "(__type.o8 | undefined)",
367
390
  value: input.transcribe
368
- }, errorFactory)) && $ao11(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
391
+ }, errorFactory)) && $ao12(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
369
392
  path: _path + ".transcribe",
370
- expected: "(__type.o7 | undefined)",
393
+ expected: "(__type.o8 | undefined)",
371
394
  value: input.transcribe
372
395
  }, errorFactory)) && (undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || $guard(_exceptionable, {
373
396
  path: _path + ".translate",
374
- expected: "(__type.o8 | undefined)",
397
+ expected: "(__type.o9 | undefined)",
375
398
  value: input.translate
376
- }, errorFactory)) && $ao12(input.translate, _path + ".translate", true && _exceptionable) || $guard(_exceptionable, {
399
+ }, errorFactory)) && $ao13(input.translate, _path + ".translate", true && _exceptionable) || $guard(_exceptionable, {
377
400
  path: _path + ".translate",
378
- expected: "(__type.o8 | undefined)",
401
+ expected: "(__type.o9 | undefined)",
379
402
  value: input.translate
380
403
  }, errorFactory)) && (undefined === input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || $guard(_exceptionable, {
381
404
  path: _path + ".audio",
382
- expected: "(__type.o9 | undefined)",
405
+ expected: "(__type.o10 | undefined)",
383
406
  value: input.audio
384
- }, errorFactory)) && $ao13(input.audio, _path + ".audio", true && _exceptionable) || $guard(_exceptionable, {
407
+ }, errorFactory)) && $ao14(input.audio, _path + ".audio", true && _exceptionable) || $guard(_exceptionable, {
385
408
  path: _path + ".audio",
386
- expected: "(__type.o9 | undefined)",
409
+ expected: "(__type.o10 | undefined)",
387
410
  value: input.audio
388
411
  }, errorFactory)) && true && (undefined === input.pick || (Array.isArray(input.pick) || $guard(_exceptionable, {
389
412
  path: _path + ".pick",
@@ -405,27 +428,27 @@ export const assertRenderQuery = (input, errorFactory) => {
405
428
  path: _path + ".subtitle",
406
429
  expected: "(SubtitleProfile | string | undefined)",
407
430
  value: input.subtitle
408
- }, errorFactory)) && $ao14(input.subtitle, _path + ".subtitle", true && _exceptionable) || $guard(_exceptionable, {
431
+ }, errorFactory)) && $ao15(input.subtitle, _path + ".subtitle", true && _exceptionable) || $guard(_exceptionable, {
409
432
  path: _path + ".subtitle",
410
433
  expected: "(SubtitleProfile | string | undefined)",
411
434
  value: input.subtitle
412
435
  }, errorFactory)));
413
- const $ao11 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || $guard(_exceptionable, {
436
+ const $ao12 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || $guard(_exceptionable, {
414
437
  path: _path + ".engine",
415
438
  expected: "string",
416
439
  value: input.engine
417
440
  }, errorFactory);
418
- const $ao12 = (input, _path, _exceptionable = true) => "string" === typeof input.language || $guard(_exceptionable, {
441
+ const $ao13 = (input, _path, _exceptionable = true) => "string" === typeof input.language || $guard(_exceptionable, {
419
442
  path: _path + ".language",
420
443
  expected: "string",
421
444
  value: input.language
422
445
  }, errorFactory);
423
- const $ao13 = (input, _path, _exceptionable = true) => undefined === input.pan || "string" === typeof input.pan || $guard(_exceptionable, {
446
+ const $ao14 = (input, _path, _exceptionable = true) => undefined === input.pan || "string" === typeof input.pan || $guard(_exceptionable, {
424
447
  path: _path + ".pan",
425
448
  expected: "(string | undefined)",
426
449
  value: input.pan
427
450
  }, errorFactory);
428
- const $ao14 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || $guard(_exceptionable, {
451
+ const $ao15 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || $guard(_exceptionable, {
429
452
  path: _path + ".lang",
430
453
  expected: "(string | undefined)",
431
454
  value: input.lang
@@ -476,9 +499,9 @@ export const randomRenderQuery = generator => {
476
499
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
477
500
  () => (generator?.array ?? $generator.array)(() => $pick([
478
501
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
479
- () => $ro10(_recursive, _recursive ? 1 + _depth : _depth)
502
+ () => $ro11(_recursive, _recursive ? 1 + _depth : _depth)
480
503
  ])()),
481
- () => $ro10(_recursive, _recursive ? 1 + _depth : _depth)
504
+ () => $ro11(_recursive, _recursive ? 1 + _depth : _depth)
482
505
  ])()
483
506
  });
484
507
  const $ro2 = (_recursive = false, _depth = 0) => ({
@@ -508,7 +531,7 @@ export const randomRenderQuery = generator => {
508
531
  ])(),
509
532
  video: $pick([
510
533
  () => undefined,
511
- () => $ro7(_recursive, _recursive ? 1 + _depth : _depth)
534
+ () => $ro8(_recursive, _recursive ? 1 + _depth : _depth)
512
535
  ])(),
513
536
  start: $pick([
514
537
  () => undefined,
@@ -520,7 +543,7 @@ export const randomRenderQuery = generator => {
520
543
  ])(),
521
544
  transcribe: $pick([
522
545
  () => undefined,
523
- () => $ro9(_recursive, _recursive ? 1 + _depth : _depth)
546
+ () => $ro10(_recursive, _recursive ? 1 + _depth : _depth)
524
547
  ])()
525
548
  });
526
549
  const $ro3 = (_recursive = false, _depth = 0) => ({
@@ -642,15 +665,33 @@ export const randomRenderQuery = generator => {
642
665
  encoding: $pick([
643
666
  () => undefined,
644
667
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
668
+ ])(),
669
+ previewSettings: $pick([
670
+ () => undefined,
671
+ () => $ro7(_recursive, _recursive ? 1 + _depth : _depth)
645
672
  ])()
646
673
  });
647
674
  const $ro7 = (_recursive = false, _depth = 0) => ({
648
- crop: $pick([
675
+ aspectRatio: $pick([
649
676
  () => undefined,
650
- () => $ro8(_recursive, _recursive ? 1 + _depth : _depth)
677
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
678
+ ])(),
679
+ backgroundAssetId: $pick([
680
+ () => undefined,
681
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
682
+ ])(),
683
+ text: $pick([
684
+ () => undefined,
685
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
651
686
  ])()
652
687
  });
653
688
  const $ro8 = (_recursive = false, _depth = 0) => ({
689
+ crop: $pick([
690
+ () => undefined,
691
+ () => $ro9(_recursive, _recursive ? 1 + _depth : _depth)
692
+ ])()
693
+ });
694
+ const $ro9 = (_recursive = false, _depth = 0) => ({
654
695
  x: $pick([
655
696
  () => undefined,
656
697
  () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
@@ -668,7 +709,7 @@ export const randomRenderQuery = generator => {
668
709
  () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
669
710
  ])()
670
711
  });
671
- const $ro9 = (_recursive = false, _depth = 0) => ({
712
+ const $ro10 = (_recursive = false, _depth = 0) => ({
672
713
  language: $pick([
673
714
  () => undefined,
674
715
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
@@ -678,19 +719,19 @@ export const randomRenderQuery = generator => {
678
719
  () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100))
679
720
  ])()
680
721
  });
681
- const $ro10 = (_recursive = false, _depth = 0) => ({
722
+ const $ro11 = (_recursive = false, _depth = 0) => ({
682
723
  format: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
683
724
  transcribe: $pick([
684
725
  () => undefined,
685
- () => $ro11(_recursive, _recursive ? 1 + _depth : _depth)
726
+ () => $ro12(_recursive, _recursive ? 1 + _depth : _depth)
686
727
  ])(),
687
728
  translate: $pick([
688
729
  () => undefined,
689
- () => $ro12(_recursive, _recursive ? 1 + _depth : _depth)
730
+ () => $ro13(_recursive, _recursive ? 1 + _depth : _depth)
690
731
  ])(),
691
732
  audio: $pick([
692
733
  () => undefined,
693
- () => $ro13(_recursive, _recursive ? 1 + _depth : _depth)
734
+ () => $ro14(_recursive, _recursive ? 1 + _depth : _depth)
694
735
  ])(),
695
736
  video: $pick([
696
737
  () => "any type used...",
@@ -703,22 +744,22 @@ export const randomRenderQuery = generator => {
703
744
  subtitle: $pick([
704
745
  () => undefined,
705
746
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
706
- () => $ro14(_recursive, _recursive ? 1 + _depth : _depth)
747
+ () => $ro15(_recursive, _recursive ? 1 + _depth : _depth)
707
748
  ])()
708
749
  });
709
- const $ro11 = (_recursive = false, _depth = 0) => ({
750
+ const $ro12 = (_recursive = false, _depth = 0) => ({
710
751
  engine: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
711
752
  });
712
- const $ro12 = (_recursive = false, _depth = 0) => ({
753
+ const $ro13 = (_recursive = false, _depth = 0) => ({
713
754
  language: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
714
755
  });
715
- const $ro13 = (_recursive = false, _depth = 0) => ({
756
+ const $ro14 = (_recursive = false, _depth = 0) => ({
716
757
  pan: $pick([
717
758
  () => undefined,
718
759
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
719
760
  ])()
720
761
  });
721
- const $ro14 = (_recursive = false, _depth = 0) => ({
762
+ const $ro15 = (_recursive = false, _depth = 0) => ({
722
763
  lang: $pick([
723
764
  () => undefined,
724
765
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
@@ -733,8 +774,8 @@ export const randomRenderQuery = generator => {
733
774
  export const assertGuardRenderQuery = (input, errorFactory) => {
734
775
  const __is = input => {
735
776
  const $io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && (undefined === input.description || "object" === typeof input.description && null !== input.description && false === Array.isArray(input.description) && $io1(input.description));
736
- const $io1 = input => null !== input.scene && (undefined === input.scene || "string" === typeof input.scene || (Array.isArray(input.scene) && input.scene.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io2(elem))) || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene))) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && $io10(elem))) || "object" === typeof input.profile && null !== input.profile && $io10(input.profile))));
737
- const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io9(input.transcribe));
777
+ const $io1 = input => null !== input.scene && (undefined === input.scene || "string" === typeof input.scene || (Array.isArray(input.scene) && input.scene.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io2(elem))) || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene))) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && $io11(elem))) || "object" === typeof input.profile && null !== input.profile && $io11(input.profile))));
778
+ const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io8(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io10(input.transcribe));
738
779
  const $io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file);
739
780
  const $io4 = input => Object.keys(input).every(key => {
740
781
  const value = input[key];
@@ -743,15 +784,16 @@ export const assertGuardRenderQuery = (input, errorFactory) => {
743
784
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
744
785
  });
745
786
  const $io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io6(input.styleOverrides));
746
- const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
747
- const $io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io8(input.crop);
748
- const $io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
749
- const $io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
750
- const $io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io13(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io14(input.subtitle)));
751
- const $io11 = input => "string" === typeof input.engine;
752
- const $io12 = input => "string" === typeof input.language;
753
- const $io13 = input => undefined === input.pan || "string" === typeof input.pan;
754
- const $io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
787
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding) && (undefined === input.previewSettings || "object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) && $io7(input.previewSettings));
788
+ const $io7 = input => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId) && (undefined === input.text || "string" === typeof input.text);
789
+ const $io8 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io9(input.crop);
790
+ const $io9 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
791
+ const $io10 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
792
+ const $io11 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io12(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io13(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io14(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io15(input.subtitle)));
793
+ const $io12 = input => "string" === typeof input.engine;
794
+ const $io13 = input => "string" === typeof input.language;
795
+ const $io14 = input => undefined === input.pan || "string" === typeof input.pan;
796
+ const $io15 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
755
797
  return "object" === typeof input && null !== input && $io0(input);
756
798
  };
757
799
  if (false === __is(input))
@@ -823,11 +865,11 @@ export const assertGuardRenderQuery = (input, errorFactory) => {
823
865
  path: _path + ".profile[" + _index2 + "]",
824
866
  expected: "(RenderProfileObject | string)",
825
867
  value: elem
826
- }, errorFactory)) && $ao10(elem, _path + ".profile[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
868
+ }, errorFactory)) && $ao11(elem, _path + ".profile[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
827
869
  path: _path + ".profile[" + _index2 + "]",
828
870
  expected: "(RenderProfileObject | string)",
829
871
  value: elem
830
- }, errorFactory))) || "object" === typeof input.profile && null !== input.profile && $ao10(input.profile, _path + ".profile", true && _exceptionable) || $guard(_exceptionable, {
872
+ }, errorFactory))) || "object" === typeof input.profile && null !== input.profile && $ao11(input.profile, _path + ".profile", true && _exceptionable) || $guard(_exceptionable, {
831
873
  path: _path + ".profile",
832
874
  expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
833
875
  value: input.profile
@@ -870,11 +912,11 @@ export const assertGuardRenderQuery = (input, errorFactory) => {
870
912
  value: input.subtitleTracks
871
913
  }, errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || $guard(_exceptionable, {
872
914
  path: _path + ".video",
873
- expected: "(__type.o4 | undefined)",
915
+ expected: "(__type.o5 | undefined)",
874
916
  value: input.video
875
- }, errorFactory)) && $ao7(input.video, _path + ".video", true && _exceptionable) || $guard(_exceptionable, {
917
+ }, errorFactory)) && $ao8(input.video, _path + ".video", true && _exceptionable) || $guard(_exceptionable, {
876
918
  path: _path + ".video",
877
- expected: "(__type.o4 | undefined)",
919
+ expected: "(__type.o5 | undefined)",
878
920
  value: input.video
879
921
  }, errorFactory)) && (undefined === input.start || "number" === typeof input.start || $guard(_exceptionable, {
880
922
  path: _path + ".start",
@@ -886,11 +928,11 @@ export const assertGuardRenderQuery = (input, errorFactory) => {
886
928
  value: input.end
887
929
  }, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
888
930
  path: _path + ".transcribe",
889
- expected: "(__type.o6 | undefined)",
931
+ expected: "(__type.o7 | undefined)",
890
932
  value: input.transcribe
891
- }, errorFactory)) && $ao9(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
933
+ }, errorFactory)) && $ao10(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
892
934
  path: _path + ".transcribe",
893
- expected: "(__type.o6 | undefined)",
935
+ expected: "(__type.o7 | undefined)",
894
936
  value: input.transcribe
895
937
  }, errorFactory));
896
938
  const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
@@ -1021,17 +1063,38 @@ export const assertGuardRenderQuery = (input, errorFactory) => {
1021
1063
  path: _path + ".encoding",
1022
1064
  expected: "(string | undefined)",
1023
1065
  value: input.encoding
1066
+ }, errorFactory)) && (undefined === input.previewSettings || ("object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) || $guard(_exceptionable, {
1067
+ path: _path + ".previewSettings",
1068
+ expected: "(__type.o4 | undefined)",
1069
+ value: input.previewSettings
1070
+ }, errorFactory)) && $ao7(input.previewSettings, _path + ".previewSettings", true && _exceptionable) || $guard(_exceptionable, {
1071
+ path: _path + ".previewSettings",
1072
+ expected: "(__type.o4 | undefined)",
1073
+ value: input.previewSettings
1074
+ }, errorFactory));
1075
+ const $ao7 = (input, _path, _exceptionable = true) => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio || $guard(_exceptionable, {
1076
+ path: _path + ".aspectRatio",
1077
+ expected: "(string | undefined)",
1078
+ value: input.aspectRatio
1079
+ }, errorFactory)) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId || $guard(_exceptionable, {
1080
+ path: _path + ".backgroundAssetId",
1081
+ expected: "(string | undefined)",
1082
+ value: input.backgroundAssetId
1083
+ }, errorFactory)) && (undefined === input.text || "string" === typeof input.text || $guard(_exceptionable, {
1084
+ path: _path + ".text",
1085
+ expected: "(string | undefined)",
1086
+ value: input.text
1024
1087
  }, errorFactory));
1025
- const $ao7 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || $guard(_exceptionable, {
1088
+ const $ao8 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || $guard(_exceptionable, {
1026
1089
  path: _path + ".crop",
1027
- expected: "(__type.o5 | undefined)",
1090
+ expected: "(__type.o6 | undefined)",
1028
1091
  value: input.crop
1029
- }, errorFactory)) && $ao8(input.crop, _path + ".crop", true && _exceptionable) || $guard(_exceptionable, {
1092
+ }, errorFactory)) && $ao9(input.crop, _path + ".crop", true && _exceptionable) || $guard(_exceptionable, {
1030
1093
  path: _path + ".crop",
1031
- expected: "(__type.o5 | undefined)",
1094
+ expected: "(__type.o6 | undefined)",
1032
1095
  value: input.crop
1033
1096
  }, errorFactory);
1034
- const $ao8 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || $guard(_exceptionable, {
1097
+ const $ao9 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || $guard(_exceptionable, {
1035
1098
  path: _path + ".x",
1036
1099
  expected: "(number | undefined)",
1037
1100
  value: input.x
@@ -1048,7 +1111,7 @@ export const assertGuardRenderQuery = (input, errorFactory) => {
1048
1111
  expected: "(number | undefined)",
1049
1112
  value: input.height
1050
1113
  }, errorFactory));
1051
- const $ao9 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || $guard(_exceptionable, {
1114
+ const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || $guard(_exceptionable, {
1052
1115
  path: _path + ".language",
1053
1116
  expected: "(string | undefined)",
1054
1117
  value: input.language
@@ -1065,33 +1128,33 @@ export const assertGuardRenderQuery = (input, errorFactory) => {
1065
1128
  expected: "(Array<number> | undefined)",
1066
1129
  value: input.pan
1067
1130
  }, errorFactory));
1068
- const $ao10 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || $guard(_exceptionable, {
1131
+ const $ao11 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || $guard(_exceptionable, {
1069
1132
  path: _path + ".format",
1070
1133
  expected: "string",
1071
1134
  value: input.format
1072
1135
  }, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe || $guard(_exceptionable, {
1073
1136
  path: _path + ".transcribe",
1074
- expected: "(__type.o7 | undefined)",
1137
+ expected: "(__type.o8 | undefined)",
1075
1138
  value: input.transcribe
1076
- }, errorFactory)) && $ao11(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
1139
+ }, errorFactory)) && $ao12(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
1077
1140
  path: _path + ".transcribe",
1078
- expected: "(__type.o7 | undefined)",
1141
+ expected: "(__type.o8 | undefined)",
1079
1142
  value: input.transcribe
1080
1143
  }, errorFactory)) && (undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || $guard(_exceptionable, {
1081
1144
  path: _path + ".translate",
1082
- expected: "(__type.o8 | undefined)",
1145
+ expected: "(__type.o9 | undefined)",
1083
1146
  value: input.translate
1084
- }, errorFactory)) && $ao12(input.translate, _path + ".translate", true && _exceptionable) || $guard(_exceptionable, {
1147
+ }, errorFactory)) && $ao13(input.translate, _path + ".translate", true && _exceptionable) || $guard(_exceptionable, {
1085
1148
  path: _path + ".translate",
1086
- expected: "(__type.o8 | undefined)",
1149
+ expected: "(__type.o9 | undefined)",
1087
1150
  value: input.translate
1088
1151
  }, errorFactory)) && (undefined === input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || $guard(_exceptionable, {
1089
1152
  path: _path + ".audio",
1090
- expected: "(__type.o9 | undefined)",
1153
+ expected: "(__type.o10 | undefined)",
1091
1154
  value: input.audio
1092
- }, errorFactory)) && $ao13(input.audio, _path + ".audio", true && _exceptionable) || $guard(_exceptionable, {
1155
+ }, errorFactory)) && $ao14(input.audio, _path + ".audio", true && _exceptionable) || $guard(_exceptionable, {
1093
1156
  path: _path + ".audio",
1094
- expected: "(__type.o9 | undefined)",
1157
+ expected: "(__type.o10 | undefined)",
1095
1158
  value: input.audio
1096
1159
  }, errorFactory)) && true && (undefined === input.pick || (Array.isArray(input.pick) || $guard(_exceptionable, {
1097
1160
  path: _path + ".pick",
@@ -1113,27 +1176,27 @@ export const assertGuardRenderQuery = (input, errorFactory) => {
1113
1176
  path: _path + ".subtitle",
1114
1177
  expected: "(SubtitleProfile | string | undefined)",
1115
1178
  value: input.subtitle
1116
- }, errorFactory)) && $ao14(input.subtitle, _path + ".subtitle", true && _exceptionable) || $guard(_exceptionable, {
1179
+ }, errorFactory)) && $ao15(input.subtitle, _path + ".subtitle", true && _exceptionable) || $guard(_exceptionable, {
1117
1180
  path: _path + ".subtitle",
1118
1181
  expected: "(SubtitleProfile | string | undefined)",
1119
1182
  value: input.subtitle
1120
1183
  }, errorFactory)));
1121
- const $ao11 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || $guard(_exceptionable, {
1184
+ const $ao12 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || $guard(_exceptionable, {
1122
1185
  path: _path + ".engine",
1123
1186
  expected: "string",
1124
1187
  value: input.engine
1125
1188
  }, errorFactory);
1126
- const $ao12 = (input, _path, _exceptionable = true) => "string" === typeof input.language || $guard(_exceptionable, {
1189
+ const $ao13 = (input, _path, _exceptionable = true) => "string" === typeof input.language || $guard(_exceptionable, {
1127
1190
  path: _path + ".language",
1128
1191
  expected: "string",
1129
1192
  value: input.language
1130
1193
  }, errorFactory);
1131
- const $ao13 = (input, _path, _exceptionable = true) => undefined === input.pan || "string" === typeof input.pan || $guard(_exceptionable, {
1194
+ const $ao14 = (input, _path, _exceptionable = true) => undefined === input.pan || "string" === typeof input.pan || $guard(_exceptionable, {
1132
1195
  path: _path + ".pan",
1133
1196
  expected: "(string | undefined)",
1134
1197
  value: input.pan
1135
1198
  }, errorFactory);
1136
- const $ao14 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || $guard(_exceptionable, {
1199
+ const $ao15 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || $guard(_exceptionable, {
1137
1200
  path: _path + ".lang",
1138
1201
  expected: "(string | undefined)",
1139
1202
  value: input.lang
@@ -1154,8 +1217,8 @@ export const assertGuardRenderQuery = (input, errorFactory) => {
1154
1217
  })(input, "$input", true);
1155
1218
  };
1156
1219
  export const stringifyRenderQuery = input => {
1157
- const $io1 = input => null !== input.scene && (undefined === input.scene || "string" === typeof input.scene || (Array.isArray(input.scene) && input.scene.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io2(elem))) || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene))) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && $io10(elem))) || "object" === typeof input.profile && null !== input.profile && $io10(input.profile))));
1158
- const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io9(input.transcribe));
1220
+ const $io1 = input => null !== input.scene && (undefined === input.scene || "string" === typeof input.scene || (Array.isArray(input.scene) && input.scene.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io2(elem))) || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene))) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && $io11(elem))) || "object" === typeof input.profile && null !== input.profile && $io11(input.profile))));
1221
+ const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io8(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io10(input.transcribe));
1159
1222
  const $io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file);
1160
1223
  const $io4 = input => Object.keys(input).every(key => {
1161
1224
  const value = input[key];
@@ -1164,15 +1227,16 @@ export const stringifyRenderQuery = input => {
1164
1227
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
1165
1228
  });
1166
1229
  const $io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io6(input.styleOverrides));
1167
- const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
1168
- const $io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io8(input.crop);
1169
- const $io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
1170
- const $io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
1171
- const $io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io13(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io14(input.subtitle)));
1172
- const $io11 = input => "string" === typeof input.engine;
1173
- const $io12 = input => "string" === typeof input.language;
1174
- const $io13 = input => undefined === input.pan || "string" === typeof input.pan;
1175
- const $io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
1230
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding) && (undefined === input.previewSettings || "object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) && $io7(input.previewSettings));
1231
+ const $io7 = input => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId) && (undefined === input.text || "string" === typeof input.text);
1232
+ const $io8 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io9(input.crop);
1233
+ const $io9 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
1234
+ const $io10 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
1235
+ const $io11 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io12(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io13(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io14(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io15(input.subtitle)));
1236
+ const $io12 = input => "string" === typeof input.engine;
1237
+ const $io13 = input => "string" === typeof input.language;
1238
+ const $io14 = input => undefined === input.pan || "string" === typeof input.pan;
1239
+ const $io15 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
1176
1240
  const $string = __typia.json.createStringify.string;
1177
1241
  const $throws = __typia.json.createStringify.throws;
1178
1242
  const $tail = __typia.json.createStringify.tail;
@@ -1205,47 +1269,48 @@ export const stringifyRenderQuery = input => {
1205
1269
  if ("string" === typeof elem)
1206
1270
  return $string(elem);
1207
1271
  if ("object" === typeof elem && null !== elem)
1208
- return $so10(elem);
1272
+ return $so11(elem);
1209
1273
  $throws({
1210
1274
  expected: "(RenderProfileObject | string)",
1211
1275
  value: elem
1212
1276
  });
1213
1277
  })()).join(",")}]`;
1214
1278
  if ("object" === typeof input.profile && null !== input.profile)
1215
- return $so10(input.profile);
1279
+ return $so11(input.profile);
1216
1280
  $throws({
1217
1281
  expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
1218
1282
  value: input.profile
1219
1283
  });
1220
1284
  })() : undefined}`}`)}}`;
1221
- const $so2 = input => `{${$tail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? $string(input.id) : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.input ? "" : `"input":${undefined !== input.input ? $so3(input.input) : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? $string(input.subtitle) : undefined},`}${undefined === input.subtitleTracks ? "" : `"subtitleTracks":${undefined !== input.subtitleTracks ? $so4(input.subtitleTracks) : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? $so7(input.video) : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so9(input.transcribe) : undefined}`}`)}}`;
1285
+ const $so2 = input => `{${$tail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? $string(input.id) : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.input ? "" : `"input":${undefined !== input.input ? $so3(input.input) : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? $string(input.subtitle) : undefined},`}${undefined === input.subtitleTracks ? "" : `"subtitleTracks":${undefined !== input.subtitleTracks ? $so4(input.subtitleTracks) : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? $so8(input.video) : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so10(input.transcribe) : undefined}`}`)}}`;
1222
1286
  const $so3 = input => `{${$tail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.file ? "" : `"file":${undefined !== input.file ? null !== input.file ? $string(input.file) : "null" : undefined}`}`)}}`;
1223
1287
  const $so4 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
1224
1288
  return ""; return `${JSON.stringify(key)}:${$so5(value)}`; }).filter(str => "" !== str).join(",")}}`;
1225
1289
  const $so5 = input => `{${$tail(`${undefined === input.style ? "" : `"style":${undefined !== input.style ? null !== input.style ? $string(input.style) : "null" : undefined},`}${undefined === input.styleOverrides ? "" : `"styleOverrides":${undefined !== input.styleOverrides ? $so6(input.styleOverrides) : undefined}`}`)}}`;
1226
- const $so6 = input => `{${$tail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined},`}${undefined === input.fontname ? "" : `"fontname":${undefined !== input.fontname ? $string(input.fontname) : undefined},`}${undefined === input.fontsize ? "" : `"fontsize":${undefined !== input.fontsize ? $string(input.fontsize) : undefined},`}${undefined === input.primaryColour ? "" : `"primaryColour":${undefined !== input.primaryColour ? $string(input.primaryColour) : undefined},`}${undefined === input.secondaryColour ? "" : `"secondaryColour":${undefined !== input.secondaryColour ? $string(input.secondaryColour) : undefined},`}${undefined === input.outlineColour ? "" : `"outlineColour":${undefined !== input.outlineColour ? $string(input.outlineColour) : undefined},`}${undefined === input.backColour ? "" : `"backColour":${undefined !== input.backColour ? $string(input.backColour) : undefined},`}${undefined === input.bold ? "" : `"bold":${undefined !== input.bold ? $string(input.bold) : undefined},`}${undefined === input.italic ? "" : `"italic":${undefined !== input.italic ? $string(input.italic) : undefined},`}${undefined === input.underline ? "" : `"underline":${undefined !== input.underline ? $string(input.underline) : undefined},`}${undefined === input.strikeOut ? "" : `"strikeOut":${undefined !== input.strikeOut ? $string(input.strikeOut) : undefined},`}${undefined === input.scaleX ? "" : `"scaleX":${undefined !== input.scaleX ? $string(input.scaleX) : undefined},`}${undefined === input.scaleY ? "" : `"scaleY":${undefined !== input.scaleY ? $string(input.scaleY) : undefined},`}${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? $string(input.spacing) : undefined},`}${undefined === input.angle ? "" : `"angle":${undefined !== input.angle ? $string(input.angle) : undefined},`}${undefined === input.borderStyle ? "" : `"borderStyle":${undefined !== input.borderStyle ? $string(input.borderStyle) : undefined},`}${undefined === input.outline ? "" : `"outline":${undefined !== input.outline ? $string(input.outline) : undefined},`}${undefined === input.shadow ? "" : `"shadow":${undefined !== input.shadow ? $string(input.shadow) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : undefined},`}${undefined === input.marginL ? "" : `"marginL":${undefined !== input.marginL ? $string(input.marginL) : undefined},`}${undefined === input.marginR ? "" : `"marginR":${undefined !== input.marginR ? $string(input.marginR) : undefined},`}${undefined === input.marginV ? "" : `"marginV":${undefined !== input.marginV ? $string(input.marginV) : undefined},`}${undefined === input.encoding ? "" : `"encoding":${undefined !== input.encoding ? $string(input.encoding) : undefined}`}`)}}`;
1227
- const $so7 = input => `{${$tail(`${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? $so8(input.crop) : undefined}`}`)}}`;
1228
- const $so8 = input => `{${$tail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`;
1229
- const $so9 = input => `{${$tail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? $string(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined}`}`)}}`;
1230
- const $so10 = input => `{${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? `{"engine":${$string(input.transcribe.engine)}}` : undefined},`}${undefined === input.translate ? "" : `"translate":${undefined !== input.translate ? `{"language":${$string(input.translate.language)}}` : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? $so13(input.audio) : undefined},`}${undefined === input.video || "function" === typeof input.video ? "" : `"video":${undefined !== input.video ? JSON.stringify(input.video) : undefined},`}${undefined === input.pick ? "" : `"pick":${undefined !== input.pick ? `[${input.pick.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? (() => {
1290
+ const $so6 = input => `{${$tail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined},`}${undefined === input.fontname ? "" : `"fontname":${undefined !== input.fontname ? $string(input.fontname) : undefined},`}${undefined === input.fontsize ? "" : `"fontsize":${undefined !== input.fontsize ? $string(input.fontsize) : undefined},`}${undefined === input.primaryColour ? "" : `"primaryColour":${undefined !== input.primaryColour ? $string(input.primaryColour) : undefined},`}${undefined === input.secondaryColour ? "" : `"secondaryColour":${undefined !== input.secondaryColour ? $string(input.secondaryColour) : undefined},`}${undefined === input.outlineColour ? "" : `"outlineColour":${undefined !== input.outlineColour ? $string(input.outlineColour) : undefined},`}${undefined === input.backColour ? "" : `"backColour":${undefined !== input.backColour ? $string(input.backColour) : undefined},`}${undefined === input.bold ? "" : `"bold":${undefined !== input.bold ? $string(input.bold) : undefined},`}${undefined === input.italic ? "" : `"italic":${undefined !== input.italic ? $string(input.italic) : undefined},`}${undefined === input.underline ? "" : `"underline":${undefined !== input.underline ? $string(input.underline) : undefined},`}${undefined === input.strikeOut ? "" : `"strikeOut":${undefined !== input.strikeOut ? $string(input.strikeOut) : undefined},`}${undefined === input.scaleX ? "" : `"scaleX":${undefined !== input.scaleX ? $string(input.scaleX) : undefined},`}${undefined === input.scaleY ? "" : `"scaleY":${undefined !== input.scaleY ? $string(input.scaleY) : undefined},`}${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? $string(input.spacing) : undefined},`}${undefined === input.angle ? "" : `"angle":${undefined !== input.angle ? $string(input.angle) : undefined},`}${undefined === input.borderStyle ? "" : `"borderStyle":${undefined !== input.borderStyle ? $string(input.borderStyle) : undefined},`}${undefined === input.outline ? "" : `"outline":${undefined !== input.outline ? $string(input.outline) : undefined},`}${undefined === input.shadow ? "" : `"shadow":${undefined !== input.shadow ? $string(input.shadow) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : undefined},`}${undefined === input.marginL ? "" : `"marginL":${undefined !== input.marginL ? $string(input.marginL) : undefined},`}${undefined === input.marginR ? "" : `"marginR":${undefined !== input.marginR ? $string(input.marginR) : undefined},`}${undefined === input.marginV ? "" : `"marginV":${undefined !== input.marginV ? $string(input.marginV) : undefined},`}${undefined === input.encoding ? "" : `"encoding":${undefined !== input.encoding ? $string(input.encoding) : undefined},`}${undefined === input.previewSettings ? "" : `"previewSettings":${undefined !== input.previewSettings ? $so7(input.previewSettings) : undefined}`}`)}}`;
1291
+ const $so7 = input => `{${$tail(`${undefined === input.aspectRatio ? "" : `"aspectRatio":${undefined !== input.aspectRatio ? $string(input.aspectRatio) : undefined},`}${undefined === input.backgroundAssetId ? "" : `"backgroundAssetId":${undefined !== input.backgroundAssetId ? $string(input.backgroundAssetId) : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? $string(input.text) : undefined}`}`)}}`;
1292
+ const $so8 = input => `{${$tail(`${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? $so9(input.crop) : undefined}`}`)}}`;
1293
+ const $so9 = input => `{${$tail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`;
1294
+ const $so10 = input => `{${$tail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? $string(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined}`}`)}}`;
1295
+ const $so11 = input => `{${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? `{"engine":${$string(input.transcribe.engine)}}` : undefined},`}${undefined === input.translate ? "" : `"translate":${undefined !== input.translate ? `{"language":${$string(input.translate.language)}}` : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? $so14(input.audio) : undefined},`}${undefined === input.video || "function" === typeof input.video ? "" : `"video":${undefined !== input.video ? JSON.stringify(input.video) : undefined},`}${undefined === input.pick ? "" : `"pick":${undefined !== input.pick ? `[${input.pick.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? (() => {
1231
1296
  if ("string" === typeof input.subtitle)
1232
1297
  return $string(input.subtitle);
1233
1298
  if ("object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle))
1234
- return $so14(input.subtitle);
1299
+ return $so15(input.subtitle);
1235
1300
  $throws({
1236
1301
  expected: "(SubtitleProfile | string | undefined)",
1237
1302
  value: input.subtitle
1238
1303
  });
1239
1304
  })() : undefined},`}"format":${$string(input.format)}}`;
1240
- const $so13 = input => `{${$tail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? $string(input.pan) : undefined}`}`)}}`;
1241
- const $so14 = input => `{${$tail(`${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.style ? "" : `"style":${undefined !== input.style ? $string(input.style) : undefined}`}`)}}`;
1305
+ const $so14 = input => `{${$tail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? $string(input.pan) : undefined}`}`)}}`;
1306
+ const $so15 = input => `{${$tail(`${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.style ? "" : `"style":${undefined !== input.style ? $string(input.style) : undefined}`}`)}}`;
1242
1307
  return $so0(input);
1243
1308
  };
1244
1309
  export const assertStringifyRenderQuery = (input, errorFactory) => { const assert = (input, errorFactory) => {
1245
1310
  const __is = input => {
1246
1311
  const $io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && (undefined === input.description || "object" === typeof input.description && null !== input.description && false === Array.isArray(input.description) && $io1(input.description));
1247
- const $io1 = input => null !== input.scene && (undefined === input.scene || "string" === typeof input.scene || (Array.isArray(input.scene) && input.scene.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io2(elem))) || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene))) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && $io10(elem))) || "object" === typeof input.profile && null !== input.profile && $io10(input.profile))));
1248
- const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io7(input.video)) && (undefined === input.start || "number" === typeof input.start && !Number.isNaN(input.start)) && (undefined === input.end || "number" === typeof input.end && !Number.isNaN(input.end)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io9(input.transcribe));
1312
+ const $io1 = input => null !== input.scene && (undefined === input.scene || "string" === typeof input.scene || (Array.isArray(input.scene) && input.scene.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io2(elem))) || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene))) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && $io11(elem))) || "object" === typeof input.profile && null !== input.profile && $io11(input.profile))));
1313
+ const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io8(input.video)) && (undefined === input.start || "number" === typeof input.start && !Number.isNaN(input.start)) && (undefined === input.end || "number" === typeof input.end && !Number.isNaN(input.end)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io10(input.transcribe));
1249
1314
  const $io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file);
1250
1315
  const $io4 = input => Object.keys(input).every(key => {
1251
1316
  const value = input[key];
@@ -1254,15 +1319,16 @@ export const assertStringifyRenderQuery = (input, errorFactory) => { const asser
1254
1319
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
1255
1320
  });
1256
1321
  const $io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io6(input.styleOverrides));
1257
- const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
1258
- const $io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io8(input.crop);
1259
- const $io8 = input => (undefined === input.x || "number" === typeof input.x && !Number.isNaN(input.x)) && (undefined === input.y || "number" === typeof input.y && !Number.isNaN(input.y)) && (undefined === input.width || "number" === typeof input.width && !Number.isNaN(input.width)) && (undefined === input.height || "number" === typeof input.height && !Number.isNaN(input.height));
1260
- const $io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem && !Number.isNaN(elem)));
1261
- const $io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io13(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io14(input.subtitle)));
1262
- const $io11 = input => "string" === typeof input.engine;
1263
- const $io12 = input => "string" === typeof input.language;
1264
- const $io13 = input => undefined === input.pan || "string" === typeof input.pan;
1265
- const $io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
1322
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding) && (undefined === input.previewSettings || "object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) && $io7(input.previewSettings));
1323
+ const $io7 = input => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId) && (undefined === input.text || "string" === typeof input.text);
1324
+ const $io8 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io9(input.crop);
1325
+ const $io9 = input => (undefined === input.x || "number" === typeof input.x && !Number.isNaN(input.x)) && (undefined === input.y || "number" === typeof input.y && !Number.isNaN(input.y)) && (undefined === input.width || "number" === typeof input.width && !Number.isNaN(input.width)) && (undefined === input.height || "number" === typeof input.height && !Number.isNaN(input.height));
1326
+ const $io10 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem && !Number.isNaN(elem)));
1327
+ const $io11 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io12(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io13(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io14(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io15(input.subtitle)));
1328
+ const $io12 = input => "string" === typeof input.engine;
1329
+ const $io13 = input => "string" === typeof input.language;
1330
+ const $io14 = input => undefined === input.pan || "string" === typeof input.pan;
1331
+ const $io15 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
1266
1332
  return "object" === typeof input && null !== input && $io0(input);
1267
1333
  };
1268
1334
  if (false === __is(input))
@@ -1334,11 +1400,11 @@ export const assertStringifyRenderQuery = (input, errorFactory) => { const asser
1334
1400
  path: _path + ".profile[" + _index2 + "]",
1335
1401
  expected: "(RenderProfileObject | string)",
1336
1402
  value: elem
1337
- }, errorFactory)) && $ao10(elem, _path + ".profile[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
1403
+ }, errorFactory)) && $ao11(elem, _path + ".profile[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
1338
1404
  path: _path + ".profile[" + _index2 + "]",
1339
1405
  expected: "(RenderProfileObject | string)",
1340
1406
  value: elem
1341
- }, errorFactory))) || "object" === typeof input.profile && null !== input.profile && $ao10(input.profile, _path + ".profile", true && _exceptionable) || $guard(_exceptionable, {
1407
+ }, errorFactory))) || "object" === typeof input.profile && null !== input.profile && $ao11(input.profile, _path + ".profile", true && _exceptionable) || $guard(_exceptionable, {
1342
1408
  path: _path + ".profile",
1343
1409
  expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
1344
1410
  value: input.profile
@@ -1381,11 +1447,11 @@ export const assertStringifyRenderQuery = (input, errorFactory) => { const asser
1381
1447
  value: input.subtitleTracks
1382
1448
  }, errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || $guard(_exceptionable, {
1383
1449
  path: _path + ".video",
1384
- expected: "(__type.o4 | undefined)",
1450
+ expected: "(__type.o5 | undefined)",
1385
1451
  value: input.video
1386
- }, errorFactory)) && $ao7(input.video, _path + ".video", true && _exceptionable) || $guard(_exceptionable, {
1452
+ }, errorFactory)) && $ao8(input.video, _path + ".video", true && _exceptionable) || $guard(_exceptionable, {
1387
1453
  path: _path + ".video",
1388
- expected: "(__type.o4 | undefined)",
1454
+ expected: "(__type.o5 | undefined)",
1389
1455
  value: input.video
1390
1456
  }, errorFactory)) && (undefined === input.start || "number" === typeof input.start && !Number.isNaN(input.start) || $guard(_exceptionable, {
1391
1457
  path: _path + ".start",
@@ -1397,11 +1463,11 @@ export const assertStringifyRenderQuery = (input, errorFactory) => { const asser
1397
1463
  value: input.end
1398
1464
  }, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
1399
1465
  path: _path + ".transcribe",
1400
- expected: "(__type.o6 | undefined)",
1466
+ expected: "(__type.o7 | undefined)",
1401
1467
  value: input.transcribe
1402
- }, errorFactory)) && $ao9(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
1468
+ }, errorFactory)) && $ao10(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
1403
1469
  path: _path + ".transcribe",
1404
- expected: "(__type.o6 | undefined)",
1470
+ expected: "(__type.o7 | undefined)",
1405
1471
  value: input.transcribe
1406
1472
  }, errorFactory));
1407
1473
  const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
@@ -1532,17 +1598,38 @@ export const assertStringifyRenderQuery = (input, errorFactory) => { const asser
1532
1598
  path: _path + ".encoding",
1533
1599
  expected: "(string | undefined)",
1534
1600
  value: input.encoding
1601
+ }, errorFactory)) && (undefined === input.previewSettings || ("object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) || $guard(_exceptionable, {
1602
+ path: _path + ".previewSettings",
1603
+ expected: "(__type.o4 | undefined)",
1604
+ value: input.previewSettings
1605
+ }, errorFactory)) && $ao7(input.previewSettings, _path + ".previewSettings", true && _exceptionable) || $guard(_exceptionable, {
1606
+ path: _path + ".previewSettings",
1607
+ expected: "(__type.o4 | undefined)",
1608
+ value: input.previewSettings
1535
1609
  }, errorFactory));
1536
- const $ao7 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || $guard(_exceptionable, {
1610
+ const $ao7 = (input, _path, _exceptionable = true) => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio || $guard(_exceptionable, {
1611
+ path: _path + ".aspectRatio",
1612
+ expected: "(string | undefined)",
1613
+ value: input.aspectRatio
1614
+ }, errorFactory)) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId || $guard(_exceptionable, {
1615
+ path: _path + ".backgroundAssetId",
1616
+ expected: "(string | undefined)",
1617
+ value: input.backgroundAssetId
1618
+ }, errorFactory)) && (undefined === input.text || "string" === typeof input.text || $guard(_exceptionable, {
1619
+ path: _path + ".text",
1620
+ expected: "(string | undefined)",
1621
+ value: input.text
1622
+ }, errorFactory));
1623
+ const $ao8 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || $guard(_exceptionable, {
1537
1624
  path: _path + ".crop",
1538
- expected: "(__type.o5 | undefined)",
1625
+ expected: "(__type.o6 | undefined)",
1539
1626
  value: input.crop
1540
- }, errorFactory)) && $ao8(input.crop, _path + ".crop", true && _exceptionable) || $guard(_exceptionable, {
1627
+ }, errorFactory)) && $ao9(input.crop, _path + ".crop", true && _exceptionable) || $guard(_exceptionable, {
1541
1628
  path: _path + ".crop",
1542
- expected: "(__type.o5 | undefined)",
1629
+ expected: "(__type.o6 | undefined)",
1543
1630
  value: input.crop
1544
1631
  }, errorFactory);
1545
- const $ao8 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x && !Number.isNaN(input.x) || $guard(_exceptionable, {
1632
+ const $ao9 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x && !Number.isNaN(input.x) || $guard(_exceptionable, {
1546
1633
  path: _path + ".x",
1547
1634
  expected: "(number | undefined)",
1548
1635
  value: input.x
@@ -1559,7 +1646,7 @@ export const assertStringifyRenderQuery = (input, errorFactory) => { const asser
1559
1646
  expected: "(number | undefined)",
1560
1647
  value: input.height
1561
1648
  }, errorFactory));
1562
- const $ao9 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || $guard(_exceptionable, {
1649
+ const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || $guard(_exceptionable, {
1563
1650
  path: _path + ".language",
1564
1651
  expected: "(string | undefined)",
1565
1652
  value: input.language
@@ -1576,33 +1663,33 @@ export const assertStringifyRenderQuery = (input, errorFactory) => { const asser
1576
1663
  expected: "(Array<number> | undefined)",
1577
1664
  value: input.pan
1578
1665
  }, errorFactory));
1579
- const $ao10 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || $guard(_exceptionable, {
1666
+ const $ao11 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || $guard(_exceptionable, {
1580
1667
  path: _path + ".format",
1581
1668
  expected: "string",
1582
1669
  value: input.format
1583
1670
  }, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe || $guard(_exceptionable, {
1584
1671
  path: _path + ".transcribe",
1585
- expected: "(__type.o7 | undefined)",
1672
+ expected: "(__type.o8 | undefined)",
1586
1673
  value: input.transcribe
1587
- }, errorFactory)) && $ao11(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
1674
+ }, errorFactory)) && $ao12(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
1588
1675
  path: _path + ".transcribe",
1589
- expected: "(__type.o7 | undefined)",
1676
+ expected: "(__type.o8 | undefined)",
1590
1677
  value: input.transcribe
1591
1678
  }, errorFactory)) && (undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || $guard(_exceptionable, {
1592
1679
  path: _path + ".translate",
1593
- expected: "(__type.o8 | undefined)",
1680
+ expected: "(__type.o9 | undefined)",
1594
1681
  value: input.translate
1595
- }, errorFactory)) && $ao12(input.translate, _path + ".translate", true && _exceptionable) || $guard(_exceptionable, {
1682
+ }, errorFactory)) && $ao13(input.translate, _path + ".translate", true && _exceptionable) || $guard(_exceptionable, {
1596
1683
  path: _path + ".translate",
1597
- expected: "(__type.o8 | undefined)",
1684
+ expected: "(__type.o9 | undefined)",
1598
1685
  value: input.translate
1599
1686
  }, errorFactory)) && (undefined === input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || $guard(_exceptionable, {
1600
1687
  path: _path + ".audio",
1601
- expected: "(__type.o9 | undefined)",
1688
+ expected: "(__type.o10 | undefined)",
1602
1689
  value: input.audio
1603
- }, errorFactory)) && $ao13(input.audio, _path + ".audio", true && _exceptionable) || $guard(_exceptionable, {
1690
+ }, errorFactory)) && $ao14(input.audio, _path + ".audio", true && _exceptionable) || $guard(_exceptionable, {
1604
1691
  path: _path + ".audio",
1605
- expected: "(__type.o9 | undefined)",
1692
+ expected: "(__type.o10 | undefined)",
1606
1693
  value: input.audio
1607
1694
  }, errorFactory)) && true && (undefined === input.pick || (Array.isArray(input.pick) || $guard(_exceptionable, {
1608
1695
  path: _path + ".pick",
@@ -1624,27 +1711,27 @@ export const assertStringifyRenderQuery = (input, errorFactory) => { const asser
1624
1711
  path: _path + ".subtitle",
1625
1712
  expected: "(SubtitleProfile | string | undefined)",
1626
1713
  value: input.subtitle
1627
- }, errorFactory)) && $ao14(input.subtitle, _path + ".subtitle", true && _exceptionable) || $guard(_exceptionable, {
1714
+ }, errorFactory)) && $ao15(input.subtitle, _path + ".subtitle", true && _exceptionable) || $guard(_exceptionable, {
1628
1715
  path: _path + ".subtitle",
1629
1716
  expected: "(SubtitleProfile | string | undefined)",
1630
1717
  value: input.subtitle
1631
1718
  }, errorFactory)));
1632
- const $ao11 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || $guard(_exceptionable, {
1719
+ const $ao12 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || $guard(_exceptionable, {
1633
1720
  path: _path + ".engine",
1634
1721
  expected: "string",
1635
1722
  value: input.engine
1636
1723
  }, errorFactory);
1637
- const $ao12 = (input, _path, _exceptionable = true) => "string" === typeof input.language || $guard(_exceptionable, {
1724
+ const $ao13 = (input, _path, _exceptionable = true) => "string" === typeof input.language || $guard(_exceptionable, {
1638
1725
  path: _path + ".language",
1639
1726
  expected: "string",
1640
1727
  value: input.language
1641
1728
  }, errorFactory);
1642
- const $ao13 = (input, _path, _exceptionable = true) => undefined === input.pan || "string" === typeof input.pan || $guard(_exceptionable, {
1729
+ const $ao14 = (input, _path, _exceptionable = true) => undefined === input.pan || "string" === typeof input.pan || $guard(_exceptionable, {
1643
1730
  path: _path + ".pan",
1644
1731
  expected: "(string | undefined)",
1645
1732
  value: input.pan
1646
1733
  }, errorFactory);
1647
- const $ao14 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || $guard(_exceptionable, {
1734
+ const $ao15 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || $guard(_exceptionable, {
1648
1735
  path: _path + ".lang",
1649
1736
  expected: "(string | undefined)",
1650
1737
  value: input.lang
@@ -1665,8 +1752,8 @@ export const assertStringifyRenderQuery = (input, errorFactory) => { const asser
1665
1752
  })(input, "$input", true);
1666
1753
  return input;
1667
1754
  }; const stringify = input => {
1668
- const $io1 = input => null !== input.scene && (undefined === input.scene || "string" === typeof input.scene || (Array.isArray(input.scene) && input.scene.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io2(elem))) || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene))) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && $io10(elem))) || "object" === typeof input.profile && null !== input.profile && $io10(input.profile))));
1669
- const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io9(input.transcribe));
1755
+ const $io1 = input => null !== input.scene && (undefined === input.scene || "string" === typeof input.scene || (Array.isArray(input.scene) && input.scene.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io2(elem))) || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && $io2(input.scene))) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && $io11(elem))) || "object" === typeof input.profile && null !== input.profile && $io11(input.profile))));
1756
+ const $io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && $io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && $io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && $io8(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io10(input.transcribe));
1670
1757
  const $io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file);
1671
1758
  const $io4 = input => Object.keys(input).every(key => {
1672
1759
  const value = input[key];
@@ -1675,15 +1762,16 @@ export const assertStringifyRenderQuery = (input, errorFactory) => { const asser
1675
1762
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
1676
1763
  });
1677
1764
  const $io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && $io6(input.styleOverrides));
1678
- const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding);
1679
- const $io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io8(input.crop);
1680
- const $io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
1681
- const $io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
1682
- const $io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io13(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io14(input.subtitle)));
1683
- const $io11 = input => "string" === typeof input.engine;
1684
- const $io12 = input => "string" === typeof input.language;
1685
- const $io13 = input => undefined === input.pan || "string" === typeof input.pan;
1686
- const $io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
1765
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding) && (undefined === input.previewSettings || "object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) && $io7(input.previewSettings));
1766
+ const $io7 = input => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId) && (undefined === input.text || "string" === typeof input.text);
1767
+ const $io8 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && $io9(input.crop);
1768
+ const $io9 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height);
1769
+ const $io10 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem));
1770
+ const $io11 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && $io12(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && $io13(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && $io14(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && $io15(input.subtitle)));
1771
+ const $io12 = input => "string" === typeof input.engine;
1772
+ const $io13 = input => "string" === typeof input.language;
1773
+ const $io14 = input => undefined === input.pan || "string" === typeof input.pan;
1774
+ const $io15 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style);
1687
1775
  const $string = __typia.json.createAssertStringify.string;
1688
1776
  const $throws = __typia.json.createAssertStringify.throws;
1689
1777
  const $tail = __typia.json.createAssertStringify.tail;
@@ -1716,39 +1804,40 @@ export const assertStringifyRenderQuery = (input, errorFactory) => { const asser
1716
1804
  if ("string" === typeof elem)
1717
1805
  return $string(elem);
1718
1806
  if ("object" === typeof elem && null !== elem)
1719
- return $so10(elem);
1807
+ return $so11(elem);
1720
1808
  $throws({
1721
1809
  expected: "(RenderProfileObject | string)",
1722
1810
  value: elem
1723
1811
  });
1724
1812
  })()).join(",")}]`;
1725
1813
  if ("object" === typeof input.profile && null !== input.profile)
1726
- return $so10(input.profile);
1814
+ return $so11(input.profile);
1727
1815
  $throws({
1728
1816
  expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
1729
1817
  value: input.profile
1730
1818
  });
1731
1819
  })() : undefined}`}`)}}`;
1732
- const $so2 = input => `{${$tail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? $string(input.id) : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.input ? "" : `"input":${undefined !== input.input ? $so3(input.input) : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? $string(input.subtitle) : undefined},`}${undefined === input.subtitleTracks ? "" : `"subtitleTracks":${undefined !== input.subtitleTracks ? $so4(input.subtitleTracks) : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? $so7(input.video) : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so9(input.transcribe) : undefined}`}`)}}`;
1820
+ const $so2 = input => `{${$tail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? $string(input.id) : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.input ? "" : `"input":${undefined !== input.input ? $so3(input.input) : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? $string(input.subtitle) : undefined},`}${undefined === input.subtitleTracks ? "" : `"subtitleTracks":${undefined !== input.subtitleTracks ? $so4(input.subtitleTracks) : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? $so8(input.video) : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so10(input.transcribe) : undefined}`}`)}}`;
1733
1821
  const $so3 = input => `{${$tail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.file ? "" : `"file":${undefined !== input.file ? null !== input.file ? $string(input.file) : "null" : undefined}`}`)}}`;
1734
1822
  const $so4 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
1735
1823
  return ""; return `${JSON.stringify(key)}:${$so5(value)}`; }).filter(str => "" !== str).join(",")}}`;
1736
1824
  const $so5 = input => `{${$tail(`${undefined === input.style ? "" : `"style":${undefined !== input.style ? null !== input.style ? $string(input.style) : "null" : undefined},`}${undefined === input.styleOverrides ? "" : `"styleOverrides":${undefined !== input.styleOverrides ? $so6(input.styleOverrides) : undefined}`}`)}}`;
1737
- const $so6 = input => `{${$tail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined},`}${undefined === input.fontname ? "" : `"fontname":${undefined !== input.fontname ? $string(input.fontname) : undefined},`}${undefined === input.fontsize ? "" : `"fontsize":${undefined !== input.fontsize ? $string(input.fontsize) : undefined},`}${undefined === input.primaryColour ? "" : `"primaryColour":${undefined !== input.primaryColour ? $string(input.primaryColour) : undefined},`}${undefined === input.secondaryColour ? "" : `"secondaryColour":${undefined !== input.secondaryColour ? $string(input.secondaryColour) : undefined},`}${undefined === input.outlineColour ? "" : `"outlineColour":${undefined !== input.outlineColour ? $string(input.outlineColour) : undefined},`}${undefined === input.backColour ? "" : `"backColour":${undefined !== input.backColour ? $string(input.backColour) : undefined},`}${undefined === input.bold ? "" : `"bold":${undefined !== input.bold ? $string(input.bold) : undefined},`}${undefined === input.italic ? "" : `"italic":${undefined !== input.italic ? $string(input.italic) : undefined},`}${undefined === input.underline ? "" : `"underline":${undefined !== input.underline ? $string(input.underline) : undefined},`}${undefined === input.strikeOut ? "" : `"strikeOut":${undefined !== input.strikeOut ? $string(input.strikeOut) : undefined},`}${undefined === input.scaleX ? "" : `"scaleX":${undefined !== input.scaleX ? $string(input.scaleX) : undefined},`}${undefined === input.scaleY ? "" : `"scaleY":${undefined !== input.scaleY ? $string(input.scaleY) : undefined},`}${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? $string(input.spacing) : undefined},`}${undefined === input.angle ? "" : `"angle":${undefined !== input.angle ? $string(input.angle) : undefined},`}${undefined === input.borderStyle ? "" : `"borderStyle":${undefined !== input.borderStyle ? $string(input.borderStyle) : undefined},`}${undefined === input.outline ? "" : `"outline":${undefined !== input.outline ? $string(input.outline) : undefined},`}${undefined === input.shadow ? "" : `"shadow":${undefined !== input.shadow ? $string(input.shadow) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : undefined},`}${undefined === input.marginL ? "" : `"marginL":${undefined !== input.marginL ? $string(input.marginL) : undefined},`}${undefined === input.marginR ? "" : `"marginR":${undefined !== input.marginR ? $string(input.marginR) : undefined},`}${undefined === input.marginV ? "" : `"marginV":${undefined !== input.marginV ? $string(input.marginV) : undefined},`}${undefined === input.encoding ? "" : `"encoding":${undefined !== input.encoding ? $string(input.encoding) : undefined}`}`)}}`;
1738
- const $so7 = input => `{${$tail(`${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? $so8(input.crop) : undefined}`}`)}}`;
1739
- const $so8 = input => `{${$tail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`;
1740
- const $so9 = input => `{${$tail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? $string(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined}`}`)}}`;
1741
- const $so10 = input => `{${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? `{"engine":${$string(input.transcribe.engine)}}` : undefined},`}${undefined === input.translate ? "" : `"translate":${undefined !== input.translate ? `{"language":${$string(input.translate.language)}}` : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? $so13(input.audio) : undefined},`}${undefined === input.video || "function" === typeof input.video ? "" : `"video":${undefined !== input.video ? JSON.stringify(input.video) : undefined},`}${undefined === input.pick ? "" : `"pick":${undefined !== input.pick ? `[${input.pick.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? (() => {
1825
+ const $so6 = input => `{${$tail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined},`}${undefined === input.fontname ? "" : `"fontname":${undefined !== input.fontname ? $string(input.fontname) : undefined},`}${undefined === input.fontsize ? "" : `"fontsize":${undefined !== input.fontsize ? $string(input.fontsize) : undefined},`}${undefined === input.primaryColour ? "" : `"primaryColour":${undefined !== input.primaryColour ? $string(input.primaryColour) : undefined},`}${undefined === input.secondaryColour ? "" : `"secondaryColour":${undefined !== input.secondaryColour ? $string(input.secondaryColour) : undefined},`}${undefined === input.outlineColour ? "" : `"outlineColour":${undefined !== input.outlineColour ? $string(input.outlineColour) : undefined},`}${undefined === input.backColour ? "" : `"backColour":${undefined !== input.backColour ? $string(input.backColour) : undefined},`}${undefined === input.bold ? "" : `"bold":${undefined !== input.bold ? $string(input.bold) : undefined},`}${undefined === input.italic ? "" : `"italic":${undefined !== input.italic ? $string(input.italic) : undefined},`}${undefined === input.underline ? "" : `"underline":${undefined !== input.underline ? $string(input.underline) : undefined},`}${undefined === input.strikeOut ? "" : `"strikeOut":${undefined !== input.strikeOut ? $string(input.strikeOut) : undefined},`}${undefined === input.scaleX ? "" : `"scaleX":${undefined !== input.scaleX ? $string(input.scaleX) : undefined},`}${undefined === input.scaleY ? "" : `"scaleY":${undefined !== input.scaleY ? $string(input.scaleY) : undefined},`}${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? $string(input.spacing) : undefined},`}${undefined === input.angle ? "" : `"angle":${undefined !== input.angle ? $string(input.angle) : undefined},`}${undefined === input.borderStyle ? "" : `"borderStyle":${undefined !== input.borderStyle ? $string(input.borderStyle) : undefined},`}${undefined === input.outline ? "" : `"outline":${undefined !== input.outline ? $string(input.outline) : undefined},`}${undefined === input.shadow ? "" : `"shadow":${undefined !== input.shadow ? $string(input.shadow) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? $string(input.alignment) : undefined},`}${undefined === input.marginL ? "" : `"marginL":${undefined !== input.marginL ? $string(input.marginL) : undefined},`}${undefined === input.marginR ? "" : `"marginR":${undefined !== input.marginR ? $string(input.marginR) : undefined},`}${undefined === input.marginV ? "" : `"marginV":${undefined !== input.marginV ? $string(input.marginV) : undefined},`}${undefined === input.encoding ? "" : `"encoding":${undefined !== input.encoding ? $string(input.encoding) : undefined},`}${undefined === input.previewSettings ? "" : `"previewSettings":${undefined !== input.previewSettings ? $so7(input.previewSettings) : undefined}`}`)}}`;
1826
+ const $so7 = input => `{${$tail(`${undefined === input.aspectRatio ? "" : `"aspectRatio":${undefined !== input.aspectRatio ? $string(input.aspectRatio) : undefined},`}${undefined === input.backgroundAssetId ? "" : `"backgroundAssetId":${undefined !== input.backgroundAssetId ? $string(input.backgroundAssetId) : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? $string(input.text) : undefined}`}`)}}`;
1827
+ const $so8 = input => `{${$tail(`${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? $so9(input.crop) : undefined}`}`)}}`;
1828
+ const $so9 = input => `{${$tail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`;
1829
+ const $so10 = input => `{${$tail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? $string(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined}`}`)}}`;
1830
+ const $so11 = input => `{${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? `{"engine":${$string(input.transcribe.engine)}}` : undefined},`}${undefined === input.translate ? "" : `"translate":${undefined !== input.translate ? `{"language":${$string(input.translate.language)}}` : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? $so14(input.audio) : undefined},`}${undefined === input.video || "function" === typeof input.video ? "" : `"video":${undefined !== input.video ? JSON.stringify(input.video) : undefined},`}${undefined === input.pick ? "" : `"pick":${undefined !== input.pick ? `[${input.pick.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? (() => {
1742
1831
  if ("string" === typeof input.subtitle)
1743
1832
  return $string(input.subtitle);
1744
1833
  if ("object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle))
1745
- return $so14(input.subtitle);
1834
+ return $so15(input.subtitle);
1746
1835
  $throws({
1747
1836
  expected: "(SubtitleProfile | string | undefined)",
1748
1837
  value: input.subtitle
1749
1838
  });
1750
1839
  })() : undefined},`}"format":${$string(input.format)}}`;
1751
- const $so13 = input => `{${$tail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? $string(input.pan) : undefined}`}`)}}`;
1752
- const $so14 = input => `{${$tail(`${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.style ? "" : `"style":${undefined !== input.style ? $string(input.style) : undefined}`}`)}}`;
1840
+ const $so14 = input => `{${$tail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? $string(input.pan) : undefined}`}`)}}`;
1841
+ const $so15 = input => `{${$tail(`${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? $string(input.lang) : undefined},`}${undefined === input.style ? "" : `"style":${undefined !== input.style ? $string(input.style) : undefined}`}`)}}`;
1753
1842
  return $so0(input);
1754
1843
  }; return stringify(assert(input, errorFactory)); };