@nxtedition/types 23.0.41 → 23.0.43

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.
@@ -1724,7 +1724,7 @@ function _validateExactRecord(name, input) {
1724
1724
  }; })()(input);
1725
1725
  }
1726
1726
  case "media.consolidate": {
1727
- return (() => { const _io0 = input => undefined === input.presets || "object" === typeof input.presets && null !== input.presets && _io1(input.presets); const _io1 = input => null !== input.audio && undefined !== input.audio && ("string" === typeof input.audio || "object" === typeof input.audio && null !== input.audio && _io2(input.audio)) && (null !== input.video && undefined !== input.video && ("string" === typeof input.video || "object" === typeof input.video && null !== input.video && _io2(input.video))) && (null !== input.image && undefined !== input.image && ("string" === typeof input.image || "object" === typeof input.image && null !== input.image && _io2(input.image))); const _io2 = input => "string" === typeof input.type && (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 && _io3(elem))) || "object" === typeof input.profile && null !== input.profile && _io3(input.profile)))); const _io3 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io4(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io5(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io6(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) && _io7(input.subtitle))); const _io4 = input => "string" === typeof input.engine; const _io5 = input => "string" === typeof input.language; const _io6 = input => undefined === input.pan || "string" === typeof input.pan; const _io7 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.presets || ("object" === typeof input.presets && null !== input.presets || _report(_exceptionable, {
1727
+ return (() => { const _io0 = input => undefined === input.presets || "object" === typeof input.presets && null !== input.presets && _io1(input.presets); const _io1 = input => null !== input.audio && undefined !== input.audio && ("string" === typeof input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io2(input.audio)) && (null !== input.video && undefined !== input.video && ("string" === typeof input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video))) && (null !== input.image && undefined !== input.image && ("string" === typeof input.image || "object" === typeof input.image && null !== input.image && false === Array.isArray(input.image) && _io2(input.image))); const _io2 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (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 && _io3(elem))) || "object" === typeof input.profile && null !== input.profile && _io3(input.profile)))); const _io3 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io4(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io5(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io6(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) && _io7(input.subtitle))); const _io4 = input => "string" === typeof input.engine; const _io5 = input => "string" === typeof input.language; const _io6 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io7 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.presets || ("object" === typeof input.presets && null !== input.presets || _report(_exceptionable, {
1728
1728
  path: _path + ".presets",
1729
1729
  expected: "(__type | undefined)",
1730
1730
  value: input.presets
@@ -1740,7 +1740,7 @@ function _validateExactRecord(name, input) {
1740
1740
  path: _path + ".audio",
1741
1741
  expected: "(RenderPresetObject | string)",
1742
1742
  value: input.audio
1743
- })) && ("string" === typeof input.audio || ("object" === typeof input.audio && null !== input.audio || _report(_exceptionable, {
1743
+ })) && ("string" === typeof input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || _report(_exceptionable, {
1744
1744
  path: _path + ".audio",
1745
1745
  expected: "(RenderPresetObject | string)",
1746
1746
  value: input.audio
@@ -1756,7 +1756,7 @@ function _validateExactRecord(name, input) {
1756
1756
  path: _path + ".video",
1757
1757
  expected: "(RenderPresetObject | string)",
1758
1758
  value: input.video
1759
- })) && ("string" === typeof input.video || ("object" === typeof input.video && null !== input.video || _report(_exceptionable, {
1759
+ })) && ("string" === typeof input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || _report(_exceptionable, {
1760
1760
  path: _path + ".video",
1761
1761
  expected: "(RenderPresetObject | string)",
1762
1762
  value: input.video
@@ -1772,7 +1772,7 @@ function _validateExactRecord(name, input) {
1772
1772
  path: _path + ".image",
1773
1773
  expected: "(RenderPresetObject | string)",
1774
1774
  value: input.image
1775
- })) && ("string" === typeof input.image || ("object" === typeof input.image && null !== input.image || _report(_exceptionable, {
1775
+ })) && ("string" === typeof input.image || ("object" === typeof input.image && null !== input.image && false === Array.isArray(input.image) || _report(_exceptionable, {
1776
1776
  path: _path + ".image",
1777
1777
  expected: "(RenderPresetObject | string)",
1778
1778
  value: input.image
@@ -1780,19 +1780,15 @@ function _validateExactRecord(name, input) {
1780
1780
  path: _path + ".image",
1781
1781
  expected: "(RenderPresetObject | string)",
1782
1782
  value: input.image
1783
- }))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
1783
+ }))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
1784
1784
  path: _path + ".type",
1785
- expected: "string",
1785
+ expected: "(null | string | undefined)",
1786
1786
  value: input.type
1787
1787
  }), (null !== input.profile || _report(_exceptionable, {
1788
1788
  path: _path + ".profile",
1789
- expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
1789
+ expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
1790
1790
  value: input.profile
1791
- })) && (undefined !== input.profile || _report(_exceptionable, {
1792
- path: _path + ".profile",
1793
- expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
1794
- value: input.profile
1795
- })) && ("string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.map((elem, _index3) => (null !== elem || _report(_exceptionable, {
1791
+ })) && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.map((elem, _index3) => (null !== elem || _report(_exceptionable, {
1796
1792
  path: _path + ".profile[" + _index3 + "]",
1797
1793
  expected: "(RenderProfileObject | string)",
1798
1794
  value: elem
@@ -1810,11 +1806,11 @@ function _validateExactRecord(name, input) {
1810
1806
  value: elem
1811
1807
  }))).every(flag => flag) || "object" === typeof input.profile && null !== input.profile && _vo3(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
1812
1808
  path: _path + ".profile",
1813
- expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
1809
+ expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
1814
1810
  value: input.profile
1815
1811
  })) || _report(_exceptionable, {
1816
1812
  path: _path + ".profile",
1817
- expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
1813
+ expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
1818
1814
  value: input.profile
1819
1815
  }))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
1820
1816
  path: _path + ".format",
@@ -1876,10 +1872,22 @@ function _validateExactRecord(name, input) {
1876
1872
  path: _path + ".language",
1877
1873
  expected: "string",
1878
1874
  value: input.language
1879
- })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.pan || "string" === typeof input.pan || _report(_exceptionable, {
1875
+ })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
1876
+ path: _path + ".codec",
1877
+ expected: "(string | undefined)",
1878
+ value: input.codec
1879
+ }), undefined === input.pan || "string" === typeof input.pan || _report(_exceptionable, {
1880
1880
  path: _path + ".pan",
1881
1881
  expected: "(string | undefined)",
1882
1882
  value: input.pan
1883
+ }), undefined === input.samplerate || "number" === typeof input.samplerate || _report(_exceptionable, {
1884
+ path: _path + ".samplerate",
1885
+ expected: "(number | undefined)",
1886
+ value: input.samplerate
1887
+ }), undefined === input.split || "boolean" === typeof input.split || _report(_exceptionable, {
1888
+ path: _path + ".split",
1889
+ expected: "(boolean | undefined)",
1890
+ value: input.split
1883
1891
  })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
1884
1892
  path: _path + ".lang",
1885
1893
  expected: "(string | undefined)",
@@ -4181,7 +4189,7 @@ function _validateDomainRecord(domain, input) {
4181
4189
  }; })()(input);
4182
4190
  }
4183
4191
  case ":deepstream.replicate": {
4184
- return (() => { const _io0 = input => (undefined === input.synced || "boolean" === typeof input.synced) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.synced || "boolean" === typeof input.synced || _report(_exceptionable, {
4192
+ return (() => { const _io0 = input => (undefined === input.synced || "boolean" === typeof input.synced) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since) && (undefined === input.version || "number" === typeof input.version); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.synced || "boolean" === typeof input.synced || _report(_exceptionable, {
4185
4193
  path: _path + ".synced",
4186
4194
  expected: "(boolean | undefined)",
4187
4195
  value: input.synced
@@ -4189,6 +4197,10 @@ function _validateDomainRecord(domain, input) {
4189
4197
  path: _path + ".since",
4190
4198
  expected: "(0 | null | string | undefined)",
4191
4199
  value: input.since
4200
+ }), undefined === input.version || "number" === typeof input.version || _report(_exceptionable, {
4201
+ path: _path + ".version",
4202
+ expected: "(number | undefined)",
4203
+ value: input.version
4192
4204
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
4193
4205
  if (false === __is(input)) {
4194
4206
  errors = [];
@@ -5728,7 +5740,7 @@ function _validateDomainRecord(domain, input) {
5728
5740
  }; })()(input);
5729
5741
  }
5730
5742
  case ":media.source": {
5731
- return (() => { const _io0 = 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) && _io1(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) && _io2(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io5(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) && _io7(input.transcribe)); const _io1 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io2 = input => Object.keys(input).every(key => {
5743
+ return (() => { const _io0 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io1(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) && _io2(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io5(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) && _io7(input.transcribe)); const _io1 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io2 = input => Object.keys(input).every(key => {
5732
5744
  const value = input[key];
5733
5745
  if (undefined === value)
5734
5746
  return true;
@@ -5741,13 +5753,13 @@ function _validateDomainRecord(domain, input) {
5741
5753
  path: _path + ".preset",
5742
5754
  expected: "(string | undefined)",
5743
5755
  value: input.preset
5744
- }), undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || _report(_exceptionable, {
5756
+ }), null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || _report(_exceptionable, {
5745
5757
  path: _path + ".input",
5746
- expected: "(__type | undefined)",
5758
+ expected: "(__type | null | undefined)",
5747
5759
  value: input.input
5748
5760
  })) && _vo1(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
5749
5761
  path: _path + ".input",
5750
- expected: "(__type | undefined)",
5762
+ expected: "(__type | null | undefined)",
5751
5763
  value: input.input
5752
5764
  }), undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
5753
5765
  path: _path + ".lang",
@@ -5984,11 +5996,11 @@ function _validateDomainRecord(domain, input) {
5984
5996
  }; })()(input);
5985
5997
  }
5986
5998
  case ":media.consolidate": {
5987
- return (() => { const _io0 = input => true && true && (null !== input.preset && (undefined === input.preset || "string" === typeof input.preset || "object" === typeof input.preset && null !== input.preset && _io1(input.preset))) && true; const _io1 = input => "string" === typeof input.type && (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 && _io2(elem))) || "object" === typeof input.profile && null !== input.profile && _io2(input.profile)))); const _io2 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io3(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io4(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io5(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) && _io6(input.subtitle))); const _io3 = input => "string" === typeof input.engine; const _io4 = input => "string" === typeof input.language; const _io5 = input => undefined === input.pan || "string" === typeof input.pan; const _io6 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => [true, true, (null !== input.preset || _report(_exceptionable, {
5999
+ return (() => { const _io0 = input => true && true && (null !== input.preset && (undefined === input.preset || "string" === typeof input.preset || "object" === typeof input.preset && null !== input.preset && false === Array.isArray(input.preset) && _io1(input.preset))) && true; const _io1 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (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 && _io2(elem))) || "object" === typeof input.profile && null !== input.profile && _io2(input.profile)))); const _io2 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io3(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io4(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io5(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) && _io6(input.subtitle))); const _io3 = input => "string" === typeof input.engine; const _io4 = input => "string" === typeof input.language; const _io5 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io6 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => [true, true, (null !== input.preset || _report(_exceptionable, {
5988
6000
  path: _path + ".preset",
5989
6001
  expected: "(RenderPresetObject | string | undefined)",
5990
6002
  value: input.preset
5991
- })) && (undefined === input.preset || "string" === typeof input.preset || ("object" === typeof input.preset && null !== input.preset || _report(_exceptionable, {
6003
+ })) && (undefined === input.preset || "string" === typeof input.preset || ("object" === typeof input.preset && null !== input.preset && false === Array.isArray(input.preset) || _report(_exceptionable, {
5992
6004
  path: _path + ".preset",
5993
6005
  expected: "(RenderPresetObject | string | undefined)",
5994
6006
  value: input.preset
@@ -5996,19 +6008,15 @@ function _validateDomainRecord(domain, input) {
5996
6008
  path: _path + ".preset",
5997
6009
  expected: "(RenderPresetObject | string | undefined)",
5998
6010
  value: input.preset
5999
- })), true].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
6011
+ })), true].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
6000
6012
  path: _path + ".type",
6001
- expected: "string",
6013
+ expected: "(null | string | undefined)",
6002
6014
  value: input.type
6003
6015
  }), (null !== input.profile || _report(_exceptionable, {
6004
6016
  path: _path + ".profile",
6005
- expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
6006
- value: input.profile
6007
- })) && (undefined !== input.profile || _report(_exceptionable, {
6008
- path: _path + ".profile",
6009
- expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
6017
+ expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
6010
6018
  value: input.profile
6011
- })) && ("string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.map((elem, _index3) => (null !== elem || _report(_exceptionable, {
6019
+ })) && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.map((elem, _index3) => (null !== elem || _report(_exceptionable, {
6012
6020
  path: _path + ".profile[" + _index3 + "]",
6013
6021
  expected: "(RenderProfileObject | string)",
6014
6022
  value: elem
@@ -6026,11 +6034,11 @@ function _validateDomainRecord(domain, input) {
6026
6034
  value: elem
6027
6035
  }))).every(flag => flag) || "object" === typeof input.profile && null !== input.profile && _vo2(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
6028
6036
  path: _path + ".profile",
6029
- expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
6037
+ expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
6030
6038
  value: input.profile
6031
6039
  })) || _report(_exceptionable, {
6032
6040
  path: _path + ".profile",
6033
- expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
6041
+ expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
6034
6042
  value: input.profile
6035
6043
  }))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
6036
6044
  path: _path + ".format",
@@ -6092,10 +6100,22 @@ function _validateDomainRecord(domain, input) {
6092
6100
  path: _path + ".language",
6093
6101
  expected: "string",
6094
6102
  value: input.language
6095
- })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [undefined === input.pan || "string" === typeof input.pan || _report(_exceptionable, {
6103
+ })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
6104
+ path: _path + ".codec",
6105
+ expected: "(string | undefined)",
6106
+ value: input.codec
6107
+ }), undefined === input.pan || "string" === typeof input.pan || _report(_exceptionable, {
6096
6108
  path: _path + ".pan",
6097
6109
  expected: "(string | undefined)",
6098
6110
  value: input.pan
6111
+ }), undefined === input.samplerate || "number" === typeof input.samplerate || _report(_exceptionable, {
6112
+ path: _path + ".samplerate",
6113
+ expected: "(number | undefined)",
6114
+ value: input.samplerate
6115
+ }), undefined === input.split || "boolean" === typeof input.split || _report(_exceptionable, {
6116
+ path: _path + ".split",
6117
+ expected: "(boolean | undefined)",
6118
+ value: input.split
6099
6119
  })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
6100
6120
  path: _path + ".lang",
6101
6121
  expected: "(string | undefined)",
@@ -8290,17 +8310,17 @@ function _validateDomainRecord(domain, input) {
8290
8310
  }; })()(input);
8291
8311
  }
8292
8312
  case ":publish": {
8293
- return (() => { const _io0 = input => (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io1(input.draft)) && "youtube" === input.type && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) && _io17(input.published)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io17(input.remote)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io1 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io2(input.snippet); const _io2 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description); const _io3 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io4(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io12(input.profile)); const _io4 = 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) && _io5(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) && _io6(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io9(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) && _io11(input.transcribe)); const _io5 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io6 = input => Object.keys(input).every(key => {
8313
+ return (() => { const _io0 = input => (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io1(input.draft)) && "youtube" === input.type && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) && _io17(input.published)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io17(input.remote)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io1 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io2(input.snippet); const _io2 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description); const _io3 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io4(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io12(input.profile)); const _io4 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io5(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) && _io6(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io9(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) && _io11(input.transcribe)); const _io5 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io6 = input => Object.keys(input).every(key => {
8294
8314
  const value = input[key];
8295
8315
  if (undefined === value)
8296
8316
  return true;
8297
8317
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
8298
- }); const _io7 = 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) && _io8(input.styleOverrides)); const _io8 = 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); const _io9 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io10(input.crop); const _io10 = 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); const _io11 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io12 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io13(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io14(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io15(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) && _io16(input.subtitle))); const _io13 = input => "string" === typeof input.engine; const _io14 = input => "string" === typeof input.language; const _io15 = input => undefined === input.pan || "string" === typeof input.pan; const _io16 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io17 = input => Object.keys(input).every(key => {
8318
+ }); const _io7 = 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) && _io8(input.styleOverrides)); const _io8 = 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); const _io9 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io10(input.crop); const _io10 = 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); const _io11 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io12 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io13(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io14(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io15(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) && _io16(input.subtitle))); const _io13 = input => "string" === typeof input.engine; const _io14 = input => "string" === typeof input.language; const _io15 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io16 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io17 = input => Object.keys(input).every(key => {
8299
8319
  const value = input[key];
8300
8320
  if (undefined === value)
8301
8321
  return true;
8302
8322
  return true;
8303
- }); const _io18 = input => "string" === typeof input.method; const _io19 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io20 = input => (undefined === input.pageId || "string" === typeof input.pageId) && "facebook" === input.type && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io17(input.draft)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) && _io17(input.published)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io17(input.remote)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io21 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io22(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && "file" === input.type && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io22 = input => Object.keys(input).every(key => {
8323
+ }); const _io18 = input => "string" === typeof input.method; const _io19 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io20 = input => (undefined === input.pageId || "string" === typeof input.pageId) && "facebook" === input.type && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io17(input.draft)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) && _io17(input.published)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io17(input.remote)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io21 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io22(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && "file" === input.type && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io22 = input => Object.keys(input).every(key => {
8304
8324
  const value = input[key];
8305
8325
  if (undefined === value)
8306
8326
  return true;
@@ -8331,14 +8351,14 @@ function _validateDomainRecord(domain, input) {
8331
8351
  if (undefined === value)
8332
8352
  return true;
8333
8353
  return true;
8334
- }); const _io31 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io32(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && (null !== input.renders && undefined === input.renders) && "file" === input.type && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io32 = input => (undefined === input.id || "string" === typeof input.id) && "string" === typeof input.path && "string" === typeof input.filename && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && _io33(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io34(input.metafile)) && Object.keys(input).every(key => {
8354
+ }); const _io31 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io32(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && (null !== input.renders && undefined === input.renders) && "file" === input.type && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io32 = input => (undefined === input.id || "string" === typeof input.id) && "string" === typeof input.path && "string" === typeof input.filename && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && _io33(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io34(input.metafile)) && Object.keys(input).every(key => {
8335
8355
  if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
8336
8356
  return true;
8337
8357
  const value = input[key];
8338
8358
  if (undefined === value)
8339
8359
  return true;
8340
8360
  return true;
8341
- }); const _io33 = input => "string" === typeof input.path; const _io34 = input => "string" === typeof input.path; const _iu0 = input => (() => {
8361
+ }); const _io33 = input => "string" === typeof input.path; const _io34 = input => "string" === typeof input.path; const _io35 = input => undefined !== input.type && null === input.type && (null === input.asset || undefined === input.asset || "string" === typeof input.asset); const _iu0 = input => (() => {
8342
8362
  if (undefined !== input.path)
8343
8363
  return _io23(input);
8344
8364
  else if (undefined !== input.__context)
@@ -8350,6 +8370,8 @@ function _validateDomainRecord(domain, input) {
8350
8370
  return _io0(input);
8351
8371
  else if ("facebook" === input.type)
8352
8372
  return _io20(input);
8373
+ else if (undefined !== input.type && null === input.type)
8374
+ return _io35(input);
8353
8375
  else
8354
8376
  return (() => {
8355
8377
  if (_io31(input))
@@ -8370,9 +8392,9 @@ function _validateDomainRecord(domain, input) {
8370
8392
  path: _path + ".type",
8371
8393
  expected: "\"youtube\"",
8372
8394
  value: input.type
8373
- }), undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
8395
+ }), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
8374
8396
  path: _path + ".asset",
8375
- expected: "(string | undefined)",
8397
+ expected: "(null | string | undefined)",
8376
8398
  value: input.asset
8377
8399
  }), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
8378
8400
  path: _path + ".connection",
@@ -8486,13 +8508,13 @@ function _validateDomainRecord(domain, input) {
8486
8508
  path: _path + ".preset",
8487
8509
  expected: "(string | undefined)",
8488
8510
  value: input.preset
8489
- }), undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || _report(_exceptionable, {
8511
+ }), null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || _report(_exceptionable, {
8490
8512
  path: _path + ".input",
8491
- expected: "(__type.o2 | undefined)",
8513
+ expected: "(__type.o2 | null | undefined)",
8492
8514
  value: input.input
8493
8515
  })) && _vo5(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
8494
8516
  path: _path + ".input",
8495
- expected: "(__type.o2 | undefined)",
8517
+ expected: "(__type.o2 | null | undefined)",
8496
8518
  value: input.input
8497
8519
  }), undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
8498
8520
  path: _path + ".lang",
@@ -8759,10 +8781,22 @@ function _validateDomainRecord(domain, input) {
8759
8781
  path: _path + ".language",
8760
8782
  expected: "string",
8761
8783
  value: input.language
8762
- })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.pan || "string" === typeof input.pan || _report(_exceptionable, {
8784
+ })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
8785
+ path: _path + ".codec",
8786
+ expected: "(string | undefined)",
8787
+ value: input.codec
8788
+ }), undefined === input.pan || "string" === typeof input.pan || _report(_exceptionable, {
8763
8789
  path: _path + ".pan",
8764
8790
  expected: "(string | undefined)",
8765
8791
  value: input.pan
8792
+ }), undefined === input.samplerate || "number" === typeof input.samplerate || _report(_exceptionable, {
8793
+ path: _path + ".samplerate",
8794
+ expected: "(number | undefined)",
8795
+ value: input.samplerate
8796
+ }), undefined === input.split || "boolean" === typeof input.split || _report(_exceptionable, {
8797
+ path: _path + ".split",
8798
+ expected: "(boolean | undefined)",
8799
+ value: input.split
8766
8800
  })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
8767
8801
  path: _path + ".lang",
8768
8802
  expected: "(string | undefined)",
@@ -8800,9 +8834,9 @@ function _validateDomainRecord(domain, input) {
8800
8834
  path: _path + ".type",
8801
8835
  expected: "\"facebook\"",
8802
8836
  value: input.type
8803
- }), undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
8837
+ }), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
8804
8838
  path: _path + ".asset",
8805
- expected: "(string | undefined)",
8839
+ expected: "(null | string | undefined)",
8806
8840
  value: input.asset
8807
8841
  }), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
8808
8842
  path: _path + ".connection",
@@ -8908,9 +8942,9 @@ function _validateDomainRecord(domain, input) {
8908
8942
  path: _path + ".type",
8909
8943
  expected: "\"file\"",
8910
8944
  value: input.type
8911
- }), undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
8945
+ }), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
8912
8946
  path: _path + ".asset",
8913
- expected: "(string | undefined)",
8947
+ expected: "(null | string | undefined)",
8914
8948
  value: input.asset
8915
8949
  }), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
8916
8950
  path: _path + ".connection",
@@ -9183,9 +9217,9 @@ function _validateDomainRecord(domain, input) {
9183
9217
  path: _path + ".type",
9184
9218
  expected: "\"file\"",
9185
9219
  value: input.type
9186
- }), undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
9220
+ }), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
9187
9221
  path: _path + ".asset",
9188
- expected: "(string | undefined)",
9222
+ expected: "(null | string | undefined)",
9189
9223
  value: input.asset
9190
9224
  }), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
9191
9225
  path: _path + ".connection",
@@ -9270,6 +9304,18 @@ function _validateDomainRecord(domain, input) {
9270
9304
  path: _path + ".path",
9271
9305
  expected: "string",
9272
9306
  value: input.path
9307
+ })].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [(undefined !== input.type || _report(_exceptionable, {
9308
+ path: _path + ".type",
9309
+ expected: "null",
9310
+ value: input.type
9311
+ })) && (null === input.type || _report(_exceptionable, {
9312
+ path: _path + ".type",
9313
+ expected: "null",
9314
+ value: input.type
9315
+ })), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
9316
+ path: _path + ".asset",
9317
+ expected: "(null | string | undefined)",
9318
+ value: input.asset
9273
9319
  })].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
9274
9320
  if (undefined !== input.path)
9275
9321
  return _vo23(input, _path, true && _exceptionable);
@@ -9286,6 +9332,8 @@ function _validateDomainRecord(domain, input) {
9286
9332
  return _vo0(input, _path, true && _exceptionable);
9287
9333
  else if ("facebook" === input.type)
9288
9334
  return _vo20(input, _path, true && _exceptionable);
9335
+ else if (undefined !== input.type && null === input.type)
9336
+ return _vo35(input, _path, true && _exceptionable);
9289
9337
  else
9290
9338
  return _vo31(input, _path, false && _exceptionable) || _vo21(input, _path, false && _exceptionable);
9291
9339
  })(); const __is = input => "object" === typeof input && null !== input && _iu1(input); let errors; let _report; return input => {
@@ -9294,11 +9342,11 @@ function _validateDomainRecord(domain, input) {
9294
9342
  _report = __typia_transform__validateReport._validateReport(errors);
9295
9343
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
9296
9344
  path: _path + "",
9297
- expected: "(FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
9345
+ expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
9298
9346
  value: input
9299
9347
  })) && _vu1(input, _path + "", true) || _report(true, {
9300
9348
  path: _path + "",
9301
- expected: "(FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
9349
+ expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
9302
9350
  value: input
9303
9351
  }))(input, "$input", true);
9304
9352
  const success = 0 === errors.length;
@@ -9347,12 +9395,12 @@ function _validateDomainRecord(domain, input) {
9347
9395
  if (undefined === value)
9348
9396
  return true;
9349
9397
  return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
9350
- }); const _io10 = input => (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io11(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io19(input.profile)); const _io11 = 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) && _io12(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) && _io13(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io16(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) && _io18(input.transcribe)); const _io12 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io13 = input => Object.keys(input).every(key => {
9398
+ }); const _io10 = input => (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io11(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io19(input.profile)); const _io11 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io12(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) && _io13(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io16(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) && _io18(input.transcribe)); const _io12 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io13 = input => Object.keys(input).every(key => {
9351
9399
  const value = input[key];
9352
9400
  if (undefined === value)
9353
9401
  return true;
9354
9402
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io14(value);
9355
- }); const _io14 = 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) && _io15(input.styleOverrides)); const _io15 = 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); const _io16 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io17(input.crop); const _io17 = 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); const _io18 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io19 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io20(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io21(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io22(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) && _io23(input.subtitle))); const _io20 = input => "string" === typeof input.engine; const _io21 = input => "string" === typeof input.language; const _io22 = input => undefined === input.pan || "string" === typeof input.pan; const _io23 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io24 = input => "object" === typeof input.__context && null !== input.__context && _io25(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io10(input.__returnValue)); const _io25 = input => "object" === typeof input.publish && null !== input.publish && _io26(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io26 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io9(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io27(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io28(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io31(input.published)) && "file" === input.type && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io32(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io33(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
9403
+ }); const _io14 = 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) && _io15(input.styleOverrides)); const _io15 = 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); const _io16 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io17(input.crop); const _io17 = 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); const _io18 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io19 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io20(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io21(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io22(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) && _io23(input.subtitle))); const _io20 = input => "string" === typeof input.engine; const _io21 = input => "string" === typeof input.language; const _io22 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io23 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io24 = input => "object" === typeof input.__context && null !== input.__context && _io25(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io10(input.__returnValue)); const _io25 = input => "object" === typeof input.publish && null !== input.publish && _io26(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io26 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io9(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io27(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io28(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io31(input.published)) && "file" === input.type && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io32(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io33(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
9356
9404
  if (["directory", "filename"].some(prop => key === prop))
9357
9405
  return true;
9358
9406
  const value = input[key];
@@ -9670,13 +9718,13 @@ function _validateDomainRecord(domain, input) {
9670
9718
  path: _path + ".preset",
9671
9719
  expected: "(string | undefined)",
9672
9720
  value: input.preset
9673
- }), undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || _report(_exceptionable, {
9721
+ }), null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || _report(_exceptionable, {
9674
9722
  path: _path + ".input",
9675
- expected: "(__type | undefined)",
9723
+ expected: "(__type | null | undefined)",
9676
9724
  value: input.input
9677
9725
  })) && _vo12(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
9678
9726
  path: _path + ".input",
9679
- expected: "(__type | undefined)",
9727
+ expected: "(__type | null | undefined)",
9680
9728
  value: input.input
9681
9729
  }), undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
9682
9730
  path: _path + ".lang",
@@ -9943,10 +9991,22 @@ function _validateDomainRecord(domain, input) {
9943
9991
  path: _path + ".language",
9944
9992
  expected: "string",
9945
9993
  value: input.language
9946
- })].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.pan || "string" === typeof input.pan || _report(_exceptionable, {
9994
+ })].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
9995
+ path: _path + ".codec",
9996
+ expected: "(string | undefined)",
9997
+ value: input.codec
9998
+ }), undefined === input.pan || "string" === typeof input.pan || _report(_exceptionable, {
9947
9999
  path: _path + ".pan",
9948
10000
  expected: "(string | undefined)",
9949
10001
  value: input.pan
10002
+ }), undefined === input.samplerate || "number" === typeof input.samplerate || _report(_exceptionable, {
10003
+ path: _path + ".samplerate",
10004
+ expected: "(number | undefined)",
10005
+ value: input.samplerate
10006
+ }), undefined === input.split || "boolean" === typeof input.split || _report(_exceptionable, {
10007
+ path: _path + ".split",
10008
+ expected: "(boolean | undefined)",
10009
+ value: input.split
9950
10010
  })].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
9951
10011
  path: _path + ".lang",
9952
10012
  expected: "(string | undefined)",
@@ -10031,9 +10091,9 @@ function _validateDomainRecord(domain, input) {
10031
10091
  path: _path + ".type",
10032
10092
  expected: "\"file\"",
10033
10093
  value: input.type
10034
- }), undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
10094
+ }), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
10035
10095
  path: _path + ".asset",
10036
- expected: "(string | undefined)",
10096
+ expected: "(null | string | undefined)",
10037
10097
  value: input.asset
10038
10098
  }), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
10039
10099
  path: _path + ".connection",
@@ -10404,19 +10464,15 @@ function _validateDomainRecord(domain, input) {
10404
10464
  }; })()(input);
10405
10465
  }
10406
10466
  case ":render-preset": {
10407
- return (() => { const _io0 = input => "string" === typeof input.type && (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 && _io1(elem))) || "object" === typeof input.profile && null !== input.profile && _io1(input.profile)))); const _io1 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io2(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io3(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(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) && _io5(input.subtitle))); const _io2 = input => "string" === typeof input.engine; const _io3 = input => "string" === typeof input.language; const _io4 = input => undefined === input.pan || "string" === typeof input.pan; const _io5 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
10467
+ return (() => { const _io0 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (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 && _io1(elem))) || "object" === typeof input.profile && null !== input.profile && _io1(input.profile)))); const _io1 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io2(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io3(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(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) && _io5(input.subtitle))); const _io2 = input => "string" === typeof input.engine; const _io3 = input => "string" === typeof input.language; const _io4 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io5 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
10408
10468
  path: _path + ".type",
10409
- expected: "string",
10469
+ expected: "(null | string | undefined)",
10410
10470
  value: input.type
10411
10471
  }), (null !== input.profile || _report(_exceptionable, {
10412
10472
  path: _path + ".profile",
10413
- expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
10414
- value: input.profile
10415
- })) && (undefined !== input.profile || _report(_exceptionable, {
10416
- path: _path + ".profile",
10417
- expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
10473
+ expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
10418
10474
  value: input.profile
10419
- })) && ("string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.map((elem, _index3) => (null !== elem || _report(_exceptionable, {
10475
+ })) && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.map((elem, _index3) => (null !== elem || _report(_exceptionable, {
10420
10476
  path: _path + ".profile[" + _index3 + "]",
10421
10477
  expected: "(RenderProfileObject | string)",
10422
10478
  value: elem
@@ -10434,11 +10490,11 @@ function _validateDomainRecord(domain, input) {
10434
10490
  value: elem
10435
10491
  }))).every(flag => flag) || "object" === typeof input.profile && null !== input.profile && _vo1(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
10436
10492
  path: _path + ".profile",
10437
- expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
10493
+ expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
10438
10494
  value: input.profile
10439
10495
  })) || _report(_exceptionable, {
10440
10496
  path: _path + ".profile",
10441
- expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
10497
+ expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
10442
10498
  value: input.profile
10443
10499
  }))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
10444
10500
  path: _path + ".format",
@@ -10500,10 +10556,22 @@ function _validateDomainRecord(domain, input) {
10500
10556
  path: _path + ".language",
10501
10557
  expected: "string",
10502
10558
  value: input.language
10503
- })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.pan || "string" === typeof input.pan || _report(_exceptionable, {
10559
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
10560
+ path: _path + ".codec",
10561
+ expected: "(string | undefined)",
10562
+ value: input.codec
10563
+ }), undefined === input.pan || "string" === typeof input.pan || _report(_exceptionable, {
10504
10564
  path: _path + ".pan",
10505
10565
  expected: "(string | undefined)",
10506
10566
  value: input.pan
10567
+ }), undefined === input.samplerate || "number" === typeof input.samplerate || _report(_exceptionable, {
10568
+ path: _path + ".samplerate",
10569
+ expected: "(number | undefined)",
10570
+ value: input.samplerate
10571
+ }), undefined === input.split || "boolean" === typeof input.split || _report(_exceptionable, {
10572
+ path: _path + ".split",
10573
+ expected: "(boolean | undefined)",
10574
+ value: input.split
10507
10575
  })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
10508
10576
  path: _path + ".lang",
10509
10577
  expected: "(string | undefined)",
@@ -10512,11 +10580,11 @@ function _validateDomainRecord(domain, input) {
10512
10580
  path: _path + ".style",
10513
10581
  expected: "(string | undefined)",
10514
10582
  value: input.style
10515
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
10583
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
10516
10584
  if (false === __is(input)) {
10517
10585
  errors = [];
10518
10586
  _report = __typia_transform__validateReport._validateReport(errors);
10519
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
10587
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
10520
10588
  path: _path + "",
10521
10589
  expected: "RenderPresetObject",
10522
10590
  value: input
@@ -10950,12 +11018,12 @@ function _validateDomainRecord(domain, input) {
10950
11018
  }; })()(input);
10951
11019
  }
10952
11020
  case ":render.query?": {
10953
- return (() => { const _io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && ("object" === typeof input.description && null !== input.description && _io1(input.description)); const _io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && _io10(input.profile)); 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)); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io4 = input => Object.keys(input).every(key => {
11021
+ return (() => { const _io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && ("object" === typeof input.description && null !== input.description && _io1(input.description)); const _io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || 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)); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io4 = input => Object.keys(input).every(key => {
10954
11022
  const value = input[key];
10955
11023
  if (undefined === value)
10956
11024
  return true;
10957
11025
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
10958
- }); 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)); 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); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); 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); const _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); 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))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = input => undefined === input.pan || "string" === typeof input.pan; const _io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
11026
+ }); 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)); 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); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); 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); const _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); 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))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
10959
11027
  path: _path + ".type",
10960
11028
  expected: "string",
10961
11029
  value: input.type
@@ -10999,13 +11067,13 @@ function _validateDomainRecord(domain, input) {
10999
11067
  path: _path + ".preset",
11000
11068
  expected: "(string | undefined)",
11001
11069
  value: input.preset
11002
- }), undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || _report(_exceptionable, {
11070
+ }), null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || _report(_exceptionable, {
11003
11071
  path: _path + ".input",
11004
- expected: "(__type.o1 | undefined)",
11072
+ expected: "(__type.o1 | null | undefined)",
11005
11073
  value: input.input
11006
11074
  })) && _vo3(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
11007
11075
  path: _path + ".input",
11008
- expected: "(__type.o1 | undefined)",
11076
+ expected: "(__type.o1 | null | undefined)",
11009
11077
  value: input.input
11010
11078
  }), undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
11011
11079
  path: _path + ".lang",
@@ -11272,10 +11340,22 @@ function _validateDomainRecord(domain, input) {
11272
11340
  path: _path + ".language",
11273
11341
  expected: "string",
11274
11342
  value: input.language
11275
- })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.pan || "string" === typeof input.pan || _report(_exceptionable, {
11343
+ })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
11344
+ path: _path + ".codec",
11345
+ expected: "(string | undefined)",
11346
+ value: input.codec
11347
+ }), undefined === input.pan || "string" === typeof input.pan || _report(_exceptionable, {
11276
11348
  path: _path + ".pan",
11277
11349
  expected: "(string | undefined)",
11278
11350
  value: input.pan
11351
+ }), undefined === input.samplerate || "number" === typeof input.samplerate || _report(_exceptionable, {
11352
+ path: _path + ".samplerate",
11353
+ expected: "(number | undefined)",
11354
+ value: input.samplerate
11355
+ }), undefined === input.split || "boolean" === typeof input.split || _report(_exceptionable, {
11356
+ path: _path + ".split",
11357
+ expected: "(boolean | undefined)",
11358
+ value: input.split
11279
11359
  })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
11280
11360
  path: _path + ".lang",
11281
11361
  expected: "(string | undefined)",
@@ -12277,6 +12357,106 @@ function _validateDomainRecord(domain, input) {
12277
12357
  };
12278
12358
  }; })()(input);
12279
12359
  }
12360
+ case ":search": {
12361
+ return (() => { const _io0 = input => (undefined === input.type || "conditions_and" === input.type) && (undefined === input.sort || Array.isArray(input.sort) && input.sort.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (undefined === input.showDefault || "boolean" === typeof input.showDefault) && (undefined === input.showDeleted || "boolean" === typeof input.showDeleted) && (undefined === input.showHidden || "boolean" === typeof input.showHidden) && (undefined === input.view || "GRID_VIEW" === input.view || "LIST_VIEW" === input.view || "CALENDAR_VIEW" === input.view || "MAP_VIEW" === input.view || "AGENDA_VIEW" === input.view || "RESOURCE_VIEW" === input.view) && (undefined === input.conditions || Array.isArray(input.conditions)) && (null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || Array.isArray(input.visibleColumnKeys) && input.visibleColumnKeys.every(elem => "string" === typeof elem)) && (null === input.connectionId || undefined === input.connectionId || "string" === typeof input.connectionId); const _io1 = input => Object.keys(input).every(key => {
12362
+ const value = input[key];
12363
+ if (undefined === value)
12364
+ return true;
12365
+ return "asc" === value || "desc" === value;
12366
+ }); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.type || "conditions_and" === input.type || _report(_exceptionable, {
12367
+ path: _path + ".type",
12368
+ expected: "(\"conditions_and\" | undefined)",
12369
+ value: input.type
12370
+ }), undefined === input.sort || (Array.isArray(input.sort) || _report(_exceptionable, {
12371
+ path: _path + ".sort",
12372
+ expected: "(Array<__type> | undefined)",
12373
+ value: input.sort
12374
+ })) && input.sort.map((elem, _index3) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
12375
+ path: _path + ".sort[" + _index3 + "]",
12376
+ expected: "__type",
12377
+ value: elem
12378
+ })) && _vo1(elem, _path + ".sort[" + _index3 + "]", true && _exceptionable) || _report(_exceptionable, {
12379
+ path: _path + ".sort[" + _index3 + "]",
12380
+ expected: "__type",
12381
+ value: elem
12382
+ })).every(flag => flag) || _report(_exceptionable, {
12383
+ path: _path + ".sort",
12384
+ expected: "(Array<__type> | undefined)",
12385
+ value: input.sort
12386
+ }), undefined === input.showDefault || "boolean" === typeof input.showDefault || _report(_exceptionable, {
12387
+ path: _path + ".showDefault",
12388
+ expected: "(boolean | undefined)",
12389
+ value: input.showDefault
12390
+ }), undefined === input.showDeleted || "boolean" === typeof input.showDeleted || _report(_exceptionable, {
12391
+ path: _path + ".showDeleted",
12392
+ expected: "(boolean | undefined)",
12393
+ value: input.showDeleted
12394
+ }), undefined === input.showHidden || "boolean" === typeof input.showHidden || _report(_exceptionable, {
12395
+ path: _path + ".showHidden",
12396
+ expected: "(boolean | undefined)",
12397
+ value: input.showHidden
12398
+ }), undefined === input.view || "GRID_VIEW" === input.view || "LIST_VIEW" === input.view || "CALENDAR_VIEW" === input.view || "MAP_VIEW" === input.view || "AGENDA_VIEW" === input.view || "RESOURCE_VIEW" === input.view || _report(_exceptionable, {
12399
+ path: _path + ".view",
12400
+ expected: "(\"AGENDA_VIEW\" | \"CALENDAR_VIEW\" | \"GRID_VIEW\" | \"LIST_VIEW\" | \"MAP_VIEW\" | \"RESOURCE_VIEW\" | undefined)",
12401
+ value: input.view
12402
+ }), undefined === input.conditions || Array.isArray(input.conditions) || _report(_exceptionable, {
12403
+ path: _path + ".conditions",
12404
+ expected: "(Array<unknown> | undefined)",
12405
+ value: input.conditions
12406
+ }), null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || (Array.isArray(input.visibleColumnKeys) || _report(_exceptionable, {
12407
+ path: _path + ".visibleColumnKeys",
12408
+ expected: "(Array<string> | null | undefined)",
12409
+ value: input.visibleColumnKeys
12410
+ })) && input.visibleColumnKeys.map((elem, _index4) => "string" === typeof elem || _report(_exceptionable, {
12411
+ path: _path + ".visibleColumnKeys[" + _index4 + "]",
12412
+ expected: "string",
12413
+ value: elem
12414
+ })).every(flag => flag) || _report(_exceptionable, {
12415
+ path: _path + ".visibleColumnKeys",
12416
+ expected: "(Array<string> | null | undefined)",
12417
+ value: input.visibleColumnKeys
12418
+ }), null === input.connectionId || undefined === input.connectionId || "string" === typeof input.connectionId || _report(_exceptionable, {
12419
+ path: _path + ".connectionId",
12420
+ expected: "(null | string | undefined)",
12421
+ value: input.connectionId
12422
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
12423
+ const value = input[key];
12424
+ if (undefined === value)
12425
+ return true;
12426
+ return "asc" === value || "desc" === value || _report(_exceptionable, {
12427
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
12428
+ expected: "(\"asc\" | \"desc\")",
12429
+ value: value
12430
+ });
12431
+ }).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
12432
+ if (false === __is(input)) {
12433
+ errors = [];
12434
+ _report = __typia_transform__validateReport._validateReport(errors);
12435
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
12436
+ path: _path + "",
12437
+ expected: "SearchRecord",
12438
+ value: input
12439
+ })) && _vo0(input, _path + "", true) || _report(true, {
12440
+ path: _path + "",
12441
+ expected: "SearchRecord",
12442
+ value: input
12443
+ }))(input, "$input", true);
12444
+ const success = 0 === errors.length;
12445
+ return success ? {
12446
+ success,
12447
+ data: input
12448
+ } : {
12449
+ success,
12450
+ errors,
12451
+ data: input
12452
+ };
12453
+ }
12454
+ return {
12455
+ success: true,
12456
+ data: input
12457
+ };
12458
+ }; })()(input);
12459
+ }
12280
12460
  case ":search?": {
12281
12461
  return (() => { const _io0 = input => Array.isArray(input.hits) && input.hits.every(elem => "string" === typeof elem) && (undefined === input.total || "number" === typeof input.total) && (undefined === input.relation || "string" === typeof input.relation) && (undefined === input.error || "string" === typeof input.error); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.hits) || _report(_exceptionable, {
12282
12462
  path: _path + ".hits",
@@ -12308,11 +12488,11 @@ function _validateDomainRecord(domain, input) {
12308
12488
  _report = __typia_transform__validateReport._validateReport(errors);
12309
12489
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
12310
12490
  path: _path + "",
12311
- expected: "SearchRecord",
12491
+ expected: "SearchRecordProvided",
12312
12492
  value: input
12313
12493
  })) && _vo0(input, _path + "", true) || _report(true, {
12314
12494
  path: _path + "",
12315
- expected: "SearchRecord",
12495
+ expected: "SearchRecordProvided",
12316
12496
  value: input
12317
12497
  }))(input, "$input", true);
12318
12498
  const success = 0 === errors.length;
@@ -14302,12 +14482,16 @@ function _validateDomainRecord(domain, input) {
14302
14482
  }; })()(input);
14303
14483
  }
14304
14484
  case ":template": {
14305
- return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)); const _io1 = input => Object.keys(input).every(key => {
14485
+ return (() => { const _io0 = input => (undefined === input.controller || "string" === typeof input.controller) && (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)); const _io1 = input => Object.keys(input).every(key => {
14306
14486
  const value = input[key];
14307
14487
  if (undefined === value)
14308
14488
  return true;
14309
14489
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
14310
- }); const _io2 = input => undefined === input.path || "string" === typeof input.path; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.mixin || (Array.isArray(input.mixin) || _report(_exceptionable, {
14490
+ }); const _io2 = input => undefined === input.path || "string" === typeof input.path; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.controller || "string" === typeof input.controller || _report(_exceptionable, {
14491
+ path: _path + ".controller",
14492
+ expected: "(string | undefined)",
14493
+ value: input.controller
14494
+ }), undefined === input.mixin || (Array.isArray(input.mixin) || _report(_exceptionable, {
14311
14495
  path: _path + ".mixin",
14312
14496
  expected: "(Array<string> | undefined)",
14313
14497
  value: input.mixin