@nxtedition/types 23.0.39 → 23.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/dist/app.d.ts +0 -51
  2. package/dist/app.js +1 -823
  3. package/dist/common/block.d.ts +6 -13
  4. package/dist/common/block.js +597 -1607
  5. package/dist/common/clone.d.ts +0 -19
  6. package/dist/common/clone.js +1 -602
  7. package/dist/common/date.d.ts +0 -7
  8. package/dist/common/date.js +1 -59
  9. package/dist/common/error.d.ts +0 -7
  10. package/dist/common/error.js +1 -404
  11. package/dist/common/file.d.ts +1 -21
  12. package/dist/common/file.js +782 -2521
  13. package/dist/common/index.d.ts +20 -26
  14. package/dist/common/index.js +20 -134
  15. package/dist/common/location.d.ts +0 -6
  16. package/dist/common/location.js +73 -238
  17. package/dist/common/lock.d.ts +1 -8
  18. package/dist/common/lock.js +1 -211
  19. package/dist/common/media.d.ts +0 -7
  20. package/dist/common/media.js +1 -83
  21. package/dist/common/nxtpression.d.ts +2 -9
  22. package/dist/common/nxtpression.js +1 -277
  23. package/dist/common/pipeline.d.ts +0 -7
  24. package/dist/common/pipeline.js +1 -97
  25. package/dist/common/promoted-tag.d.ts +0 -7
  26. package/dist/common/promoted-tag.js +1 -147
  27. package/dist/common/render-preset.d.ts +2 -15
  28. package/dist/common/render-preset.js +1 -1202
  29. package/dist/common/render-profile.d.ts +0 -19
  30. package/dist/common/render-profile.js +1 -1052
  31. package/dist/common/render-query.d.ts +2 -9
  32. package/dist/common/render-query.js +1 -1754
  33. package/dist/common/render-scene.d.ts +2 -15
  34. package/dist/common/render-scene.js +1 -2230
  35. package/dist/common/rule.d.ts +1 -7
  36. package/dist/common/rule.js +84 -254
  37. package/dist/common/search.d.ts +0 -25
  38. package/dist/common/search.js +1 -1591
  39. package/dist/common/settings.d.ts +128 -121
  40. package/dist/common/settings.js +1 -6936
  41. package/dist/common/subtitle-style.d.ts +25 -0
  42. package/dist/common/user-notification.d.ts +0 -7
  43. package/dist/common/user-notification.js +1 -85
  44. package/dist/index.d.ts +5 -85
  45. package/dist/index.js +5 -187
  46. package/dist/nxtpression.d.ts +732 -344
  47. package/dist/nxtpression.js +1 -323
  48. package/dist/records/domains/asset.d.ts +106 -0
  49. package/dist/records/domains/bundle.d.ts +12 -0
  50. package/dist/records/domains/bundle.js +1 -0
  51. package/dist/records/domains/clone.d.ts +7 -0
  52. package/dist/records/domains/clone.js +1 -0
  53. package/dist/records/domains/comment-reaction.d.ts +8 -0
  54. package/dist/records/domains/comment-reaction.js +1 -0
  55. package/dist/records/domains/comment-read-mark.d.ts +8 -0
  56. package/dist/records/domains/comment-read-mark.js +1 -0
  57. package/dist/records/domains/comment.d.ts +81 -0
  58. package/dist/records/domains/comment.js +19 -0
  59. package/dist/records/domains/connection.d.ts +77 -0
  60. package/dist/records/domains/connection.js +1 -0
  61. package/dist/records/domains/contact.d.ts +9 -0
  62. package/dist/records/domains/contact.js +1 -0
  63. package/dist/records/domains/deepstream.d.ts +7 -0
  64. package/dist/records/domains/deepstream.js +1 -0
  65. package/dist/records/domains/design.d.ts +11 -0
  66. package/dist/records/domains/design.js +1 -0
  67. package/dist/records/domains/edit.d.ts +10 -0
  68. package/dist/records/domains/edit.js +1 -0
  69. package/dist/records/domains/event.d.ts +66 -0
  70. package/dist/records/domains/event.js +1 -0
  71. package/dist/records/domains/file.d.ts +26 -0
  72. package/dist/records/domains/file.js +1 -0
  73. package/dist/records/domains/general.d.ts +41 -0
  74. package/dist/records/domains/general.js +1 -0
  75. package/dist/records/domains/index.d.ts +77 -0
  76. package/dist/records/domains/index.js +38 -0
  77. package/dist/records/domains/media.d.ts +64 -0
  78. package/dist/records/domains/media.js +1 -0
  79. package/dist/records/domains/monitor.d.ts +116 -0
  80. package/dist/records/domains/monitor.js +1 -0
  81. package/dist/records/domains/panel.d.ts +55 -0
  82. package/dist/records/domains/panel.js +1 -0
  83. package/dist/records/domains/permission.d.ts +25 -0
  84. package/dist/records/domains/permission.js +2 -0
  85. package/dist/records/domains/pipeline-preset.d.ts +10 -0
  86. package/dist/records/domains/pipeline-preset.js +1 -0
  87. package/dist/records/domains/pipeline.d.ts +17 -0
  88. package/dist/records/domains/pipeline.js +1 -0
  89. package/dist/records/domains/planning.d.ts +14 -0
  90. package/dist/records/domains/planning.js +1 -0
  91. package/dist/records/domains/prompter.d.ts +18 -0
  92. package/dist/records/domains/prompter.js +1 -0
  93. package/dist/records/domains/publish.d.ts +145 -0
  94. package/dist/records/domains/publish.js +1 -0
  95. package/dist/records/domains/published.d.ts +12 -0
  96. package/dist/records/domains/published.js +1 -0
  97. package/dist/records/domains/render-preset.d.ts +5 -0
  98. package/dist/records/domains/render-preset.js +1 -0
  99. package/dist/records/domains/render.d.ts +115 -0
  100. package/dist/records/domains/render.js +1 -0
  101. package/dist/records/domains/revs.d.ts +6 -0
  102. package/dist/records/domains/revs.js +1 -0
  103. package/dist/records/domains/role.d.ts +6 -0
  104. package/dist/records/domains/role.js +1 -0
  105. package/dist/records/domains/script.d.ts +101 -0
  106. package/dist/records/domains/script.js +1 -0
  107. package/dist/records/domains/search.d.ts +9 -0
  108. package/dist/records/domains/search.js +1 -0
  109. package/dist/records/domains/settings.d.ts +5 -0
  110. package/dist/records/domains/settings.js +1 -0
  111. package/dist/records/domains/storyboard.d.ts +10 -0
  112. package/dist/records/domains/storyboard.js +1 -0
  113. package/dist/records/domains/subtitle-style.d.ts +13 -0
  114. package/dist/records/domains/subtitle-style.js +1 -0
  115. package/dist/records/domains/subtitle.d.ts +12 -0
  116. package/dist/records/domains/subtitle.js +1 -0
  117. package/dist/records/domains/template.d.ts +10 -0
  118. package/dist/records/domains/template.js +1 -0
  119. package/dist/records/domains/user-notification-status.d.ts +30 -0
  120. package/dist/records/domains/user-notification-status.js +1 -0
  121. package/dist/records/domains/user-notification.d.ts +69 -0
  122. package/dist/records/domains/user-notification.js +1 -0
  123. package/dist/records/domains/user.d.ts +23 -0
  124. package/dist/records/domains/user.js +1 -0
  125. package/dist/records/exact/asset.d.ts +83 -0
  126. package/dist/records/exact/asset.js +1 -0
  127. package/dist/records/exact/index.d.ts +36 -0
  128. package/dist/records/exact/index.js +4 -0
  129. package/dist/records/exact/media.d.ts +52 -0
  130. package/dist/records/exact/media.js +1 -0
  131. package/dist/records/exact/monitor.d.ts +46 -0
  132. package/dist/records/exact/monitor.js +1 -0
  133. package/dist/records/exact/storage.d.ts +32 -0
  134. package/dist/records/exact/storage.js +1 -0
  135. package/dist/records/index.d.ts +10 -0
  136. package/dist/records/index.js +2 -0
  137. package/dist/records/utils.d.ts +7 -0
  138. package/dist/records/utils.js +1 -0
  139. package/dist/records/utils.tds.d.ts +1 -0
  140. package/dist/records/utils.tds.js +7 -0
  141. package/dist/records/validate/assert-guard.d.ts +4 -0
  142. package/dist/records/validate/assert-guard.js +15861 -0
  143. package/dist/records/validate/assert.d.ts +4 -0
  144. package/dist/records/validate/assert.js +15990 -0
  145. package/dist/records/validate/is.d.ts +4 -0
  146. package/dist/records/validate/is.js +1017 -0
  147. package/dist/records/validate/schemas.d.ts +9 -0
  148. package/dist/records/validate/schemas.js +12613 -0
  149. package/dist/records/validate/stringify.d.ts +4 -0
  150. package/dist/records/validate/stringify.js +1904 -0
  151. package/dist/records/validate/utils.d.ts +15 -0
  152. package/dist/records/validate/utils.js +18 -0
  153. package/dist/records/validate/utils.test.d.ts +1 -0
  154. package/dist/records/validate/utils.test.js +35 -0
  155. package/dist/records/validate/validate.d.ts +5 -0
  156. package/dist/records/validate/validate.js +14943 -0
  157. package/dist/rpc.d.ts +13 -14
  158. package/dist/rpc.js +126 -511
  159. package/dist/tsdoc-metadata.json +1 -1
  160. package/package.json +26 -15
  161. package/dist/asset.d.ts +0 -72
  162. package/dist/domains/asset.d.ts +0 -227
  163. package/dist/domains/asset.js +0 -2672
  164. package/dist/domains/bundle.d.ts +0 -25
  165. package/dist/domains/bundle.js +0 -512
  166. package/dist/domains/clone.d.ts +0 -14
  167. package/dist/domains/clone.js +0 -192
  168. package/dist/domains/comment-reaction.d.ts +0 -15
  169. package/dist/domains/comment-reaction.js +0 -115
  170. package/dist/domains/comment-read-mark.d.ts +0 -15
  171. package/dist/domains/comment-read-mark.js +0 -115
  172. package/dist/domains/comment.d.ts +0 -153
  173. package/dist/domains/comment.js +0 -5906
  174. package/dist/domains/connection.d.ts +0 -141
  175. package/dist/domains/connection.js +0 -5860
  176. package/dist/domains/contact.d.ts +0 -16
  177. package/dist/domains/contact.js +0 -149
  178. package/dist/domains/deepstream.d.ts +0 -14
  179. package/dist/domains/deepstream.js +0 -139
  180. package/dist/domains/design.d.ts +0 -24
  181. package/dist/domains/design.js +0 -303
  182. package/dist/domains/edit.d.ts +0 -17
  183. package/dist/domains/edit.js +0 -224
  184. package/dist/domains/event.d.ts +0 -42
  185. package/dist/domains/event.js +0 -754
  186. package/dist/domains/file.d.ts +0 -51
  187. package/dist/domains/file.js +0 -2506
  188. package/dist/domains/general.d.ts +0 -84
  189. package/dist/domains/general.js +0 -906
  190. package/dist/domains/index.d.ts +0 -75
  191. package/dist/domains/index.js +0 -37
  192. package/dist/domains/media.d.ts +0 -113
  193. package/dist/domains/media.js +0 -4553
  194. package/dist/domains/monitor.d.ts +0 -416
  195. package/dist/domains/monitor.js +0 -6382
  196. package/dist/domains/panel.d.ts +0 -371
  197. package/dist/domains/panel.js +0 -3198
  198. package/dist/domains/permission.d.ts +0 -61
  199. package/dist/domains/permission.js +0 -1926
  200. package/dist/domains/pipeline-preset.d.ts +0 -17
  201. package/dist/domains/pipeline-preset.js +0 -236
  202. package/dist/domains/pipeline.d.ts +0 -30
  203. package/dist/domains/pipeline.js +0 -460
  204. package/dist/domains/planning.d.ts +0 -33
  205. package/dist/domains/planning.js +0 -324
  206. package/dist/domains/publish.d.ts +0 -1397
  207. package/dist/domains/publish.js +0 -34436
  208. package/dist/domains/published.d.ts +0 -19
  209. package/dist/domains/published.js +0 -204
  210. package/dist/domains/render-preset.d.ts +0 -4
  211. package/dist/domains/render.d.ts +0 -172
  212. package/dist/domains/render.js +0 -4783
  213. package/dist/domains/revs.d.ts +0 -13
  214. package/dist/domains/revs.js +0 -125
  215. package/dist/domains/role.d.ts +0 -13
  216. package/dist/domains/role.js +0 -119
  217. package/dist/domains/script.d.ts +0 -13
  218. package/dist/domains/script.js +0 -125
  219. package/dist/domains/search.d.ts +0 -16
  220. package/dist/domains/search.js +0 -168
  221. package/dist/domains/settings.d.ts +0 -12
  222. package/dist/domains/settings.js +0 -6624
  223. package/dist/domains/storyboard.d.ts +0 -14
  224. package/dist/domains/storyboard.js +0 -125
  225. package/dist/domains/subtitle-style.d.ts +0 -37
  226. package/dist/domains/subtitle-style.js +0 -485
  227. package/dist/domains/subtitle.d.ts +0 -19
  228. package/dist/domains/subtitle.js +0 -212
  229. package/dist/domains/template.d.ts +0 -23
  230. package/dist/domains/template.js +0 -372
  231. package/dist/domains/user-notification-status.d.ts +0 -55
  232. package/dist/domains/user-notification-status.js +0 -715
  233. package/dist/domains/user-notification.d.ts +0 -118
  234. package/dist/domains/user-notification.js +0 -3040
  235. package/dist/domains/user.d.ts +0 -48
  236. package/dist/domains/user.js +0 -481
  237. package/dist/monitor.d.ts +0 -71
  238. package/dist/monitor.js +0 -1942
  239. package/dist/schema.json +0 -9075
  240. package/dist/storage.d.ts +0 -51
  241. package/dist/storage.js +0 -1036
  242. /package/dist/{asset.js → common/subtitle-style.js} +0 -0
  243. /package/dist/{domains/render-preset.js → records/domains/asset.js} +0 -0
@@ -0,0 +1,1017 @@
1
+ import * as __typia_transform__isTypeUint64 from "typia/lib/internal/_isTypeUint64.js";
2
+ import { parseRecordName } from "./utils.js";
3
+ import typia from 'typia';
4
+ export function isRecord(name, input) {
5
+ const parsed = parseRecordName(name);
6
+ if (parsed.type === "domain-rows") {
7
+ return (() => { const _io0 = input => Array.isArray(input.rows) && input.rows.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
8
+ }
9
+ else if (parsed.type === "domain") {
10
+ return _isDomainRecord(parsed.domain, input);
11
+ }
12
+ else {
13
+ return _isExactRecord(parsed.exact, input);
14
+ }
15
+ }
16
+ export function isDomainRecord(domain, input) {
17
+ return _isDomainRecord(domain, input);
18
+ }
19
+ function _isExactRecord(name, input) {
20
+ {
21
+ switch (name) {
22
+ case "asset.assignees": {
23
+ return (() => { const _io0 = input => null !== input.value && (undefined === input.value || "string" === typeof input.value || (Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem) || "object" === typeof input.value && null !== input.value && _io1(input.value))) && (null !== input.dynamic && (undefined === input.dynamic || false === input.dynamic || Array.isArray(input.dynamic) && input.dynamic.every(elem => "string" === typeof elem))); const _io1 = input => "object" === typeof input.__context && null !== input.__context && _io2(input.__context) && (Array.isArray(input.__returnValue) && input.__returnValue.every(elem => "string" === typeof elem)); const _io2 = input => "string" === typeof input.id; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
24
+ }
25
+ case "asset.clone": {
26
+ return (() => { const _io0 = input => Array.isArray(input.rules) && input.rules.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.domain && (null === input.path || undefined === input.path || "string" === typeof input.path) && (null === input.template || undefined === input.template || "string" === typeof input.template); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
27
+ }
28
+ case "asset.deadlines": {
29
+ return (() => { const _io0 = input => null !== input.value && (undefined === input.value || "string" === typeof input.value || "object" === typeof input.value && null !== input.value && _io1(input.value)) && (null !== input.dynamic && (undefined === input.dynamic || false === input.dynamic || Array.isArray(input.dynamic) && input.dynamic.every(elem => "string" === typeof elem))); const _io1 = input => "object" === typeof input.__context && null !== input.__context && _io2(input.__context) && "string" === typeof input.__returnValue; const _io2 = input => "string" === typeof input.id; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
30
+ }
31
+ case "asset.duration": {
32
+ return (() => { const _io0 = input => null !== input.value && (undefined === input.value || "string" === typeof input.value || "number" === typeof input.value || "object" === typeof input.value && null !== input.value && _io1(input.value)) && (null !== input.dynamic && (undefined === input.dynamic || false === input.dynamic || Array.isArray(input.dynamic) && input.dynamic.every(elem => "string" === typeof elem))); const _io1 = input => "object" === typeof input.__context && null !== input.__context && _io2(input.__context) && "number" === typeof input.__returnValue; const _io2 = input => "string" === typeof input.id; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
33
+ }
34
+ case "asset.embedding": {
35
+ return (() => { const _io0 = input => null !== input.value && (undefined === input.value || "string" === typeof input.value || "object" === typeof input.value && null !== input.value && _io1(input.value)) && (null !== input.dynamic && (undefined === input.dynamic || false === input.dynamic || Array.isArray(input.dynamic) && input.dynamic.every(elem => "string" === typeof elem))); const _io1 = input => "object" === typeof input.__context && null !== input.__context && _io2(input.__context) && "string" === typeof input.__returnValue; const _io2 = input => "string" === typeof input.id; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
36
+ }
37
+ case "asset.icon": {
38
+ return (() => { const _io0 = input => null !== input.value && (undefined === input.value || "string" === typeof input.value || "object" === typeof input.value && null !== input.value && _io1(input.value)) && (null !== input.dynamic && (undefined === input.dynamic || false === input.dynamic || Array.isArray(input.dynamic) && input.dynamic.every(elem => "string" === typeof elem))); const _io1 = input => "object" === typeof input.__context && null !== input.__context && _io2(input.__context) && "string" === typeof input.__returnValue; const _io2 = input => "string" === typeof input.id; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
39
+ }
40
+ case "asset.locations": {
41
+ return (() => { const _io0 = input => null !== input.value && (undefined === input.value || "string" === typeof input.value || (Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && _io1(elem)) || "object" === typeof input.value && null !== input.value && _io2(input.value))) && (null !== input.dynamic && (undefined === input.dynamic || false === input.dynamic || Array.isArray(input.dynamic) && input.dynamic.every(elem => "string" === typeof elem))); const _io1 = input => "number" === typeof input.lat && "number" === typeof input.lon; const _io2 = input => "object" === typeof input.__context && null !== input.__context && _io3(input.__context) && (Array.isArray(input.__returnValue) && input.__returnValue.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io3 = input => "string" === typeof input.id; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
42
+ }
43
+ case "asset.media": {
44
+ return (() => { const _io0 = input => null !== input.value && (undefined === input.value || "string" === typeof input.value || "object" === typeof input.value && null !== input.value && false === Array.isArray(input.value) && _iu0(input.value)) && (null !== input.dynamic && (undefined === input.dynamic || false === input.dynamic || Array.isArray(input.dynamic) && input.dynamic.every(elem => "string" === typeof elem))); const _io1 = input => Object.keys(input).every(key => {
45
+ const value = input[key];
46
+ if (undefined === value)
47
+ return true;
48
+ return true;
49
+ }); const _io2 = input => "object" === typeof input.__context && null !== input.__context && _io3(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io1(input.__returnValue)); const _io3 = input => "string" === typeof input.id; const _iu0 = input => (() => {
50
+ if (undefined !== input.__context)
51
+ return _io2(input);
52
+ else
53
+ return _io1(input);
54
+ })(); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
55
+ }
56
+ case "asset.tags": {
57
+ return (() => { const _io0 = input => null !== input.value && (undefined === input.value || "string" === typeof input.value || (Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem) || "object" === typeof input.value && null !== input.value && _io1(input.value))) && (null !== input.dynamic && (undefined === input.dynamic || false === input.dynamic || Array.isArray(input.dynamic) && input.dynamic.every(elem => "string" === typeof elem))); const _io1 = input => "object" === typeof input.__context && null !== input.__context && _io2(input.__context) && (Array.isArray(input.__returnValue) && input.__returnValue.every(elem => "string" === typeof elem)); const _io2 = input => "string" === typeof input.id; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
58
+ }
59
+ case "asset.title": {
60
+ return (() => { const _io0 = input => null !== input.value && (undefined === input.value || "string" === typeof input.value || "object" === typeof input.value && null !== input.value && _io1(input.value)) && (null !== input.dynamic && (undefined === input.dynamic || false === input.dynamic || Array.isArray(input.dynamic) && input.dynamic.every(elem => "string" === typeof elem))); const _io1 = input => "object" === typeof input.__context && null !== input.__context && _io2(input.__context) && "string" === typeof input.__returnValue; const _io2 = input => "string" === typeof input.id; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
61
+ }
62
+ case "asset.types": {
63
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
64
+ const value = input[key];
65
+ if (undefined === value)
66
+ return true;
67
+ return undefined !== value && (null === value || "string" === typeof value || "object" === typeof value && null !== value && _io1(value));
68
+ }); const _io1 = input => (undefined === input.priority || "number" === typeof input.priority) && "string" === typeof input.label && (undefined === input.icon || "string" === typeof input.icon); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
69
+ }
70
+ case "storage.locations?": {
71
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
72
+ const value = input[key];
73
+ if (undefined === value)
74
+ return true;
75
+ return "object" === typeof value && null !== value && _io1(value);
76
+ }); const _io1 = input => "string" === typeof input.id && "string" === typeof input.location && "string" === typeof input.timestamp && "string" === typeof input.type && "string" === typeof input.zone && (null === input.free || "number" === typeof input.free) && (null === input.size || "number" === typeof input.size) && (null === input.available || "number" === typeof input.available) && (null === input.cache || "boolean" === typeof input.cache) && (null === input.capacity || "number" === typeof input.capacity) && "string" === typeof input.origin && (Array.isArray(input.allows) && input.allows.every(elem => "get" === elem || "put" === elem || "del" === elem)) && ("object" === typeof input.net && null !== input.net && _io2(input.net)) && "number" === typeof input.latency; const _io2 = input => "number" === typeof input.rx && "number" === typeof input.tx; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
77
+ }
78
+ case "storage.zones?": {
79
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
80
+ const value = input[key];
81
+ if (undefined === value)
82
+ return true;
83
+ return "object" === typeof value && null !== value && _io1(value);
84
+ }); const _io1 = input => "number" === typeof input.priority && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem)); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
85
+ }
86
+ case "nxt.status?": {
87
+ return (() => { const _io0 = input => "object" === typeof input.nodes && null !== input.nodes && false === Array.isArray(input.nodes) && _io1(input.nodes) && ("object" === typeof input.services && null !== input.services && false === Array.isArray(input.services) && _io4(input.services)) && "number" === typeof input.level && "string" === typeof input.status; const _io1 = input => Object.keys(input).every(key => {
88
+ const value = input[key];
89
+ if (undefined === value)
90
+ return true;
91
+ return "object" === typeof value && null !== value && _io2(value);
92
+ }); const _io2 = input => (undefined === input.state || "string" === typeof input.state) && (undefined === input.role || "string" === typeof input.role) && (undefined === input.leader || "boolean" === typeof input.leader) && (undefined === input.availability || "string" === typeof input.availability) && (undefined === input.classes || Array.isArray(input.classes) && input.classes.every(elem => "string" === typeof elem)) && (undefined === input.address || "string" === typeof input.address) && "number" === typeof input.level && "string" === typeof input.status && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); const _io3 = input => "string" === typeof input.msg && "number" === typeof input.level; const _io4 = input => Object.keys(input).every(key => {
93
+ const value = input[key];
94
+ if (undefined === value)
95
+ return true;
96
+ return "object" === typeof value && null !== value && _io5(value);
97
+ }); const _io5 = input => (undefined === input.image || "string" === typeof input.image) && (undefined === input.running || "number" === typeof input.running) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.total || "number" === typeof input.total) && (undefined === input.tasks || Array.isArray(input.tasks) && input.tasks.every(elem => "object" === typeof elem && null !== elem && _io6(elem))) && "number" === typeof input.level && "string" === typeof input.status && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); const _io6 = input => "string" === typeof input.id && "string" === typeof input.node && "string" === typeof input.container && (undefined === input.level || "number" === typeof input.level) && (undefined === input.status || "string" === typeof input.status) && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io7(elem))); const _io7 = input => "string" === typeof input.msg && "number" === typeof input.level; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
98
+ }
99
+ case "media.subtitles": {
100
+ return (() => { const _io0 = input => (undefined === input.languages || "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io1 = input => Object.keys(input).every(key => {
101
+ const value = input[key];
102
+ if (undefined === value)
103
+ return true;
104
+ return "string" === typeof value;
105
+ }); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight) && (undefined === input.style || "normal" === input.style || "italic" === input.style); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
106
+ }
107
+ case "media.subtitles?": {
108
+ return (() => { const _io0 = input => (undefined === input.languages || "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io1 = input => Object.keys(input).every(key => {
109
+ const value = input[key];
110
+ if (undefined === value)
111
+ return true;
112
+ return "string" === typeof value;
113
+ }); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight) && (undefined === input.style || "normal" === input.style || "italic" === input.style); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
114
+ }
115
+ case "media.transcribe?": {
116
+ return (() => { const _io0 = input => "object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) && _io1(input.engines) && ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io2(input.translate)); const _io1 = input => Object.keys(input).every(key => {
117
+ const value = input[key];
118
+ if (undefined === value)
119
+ return true;
120
+ return "string" === typeof value;
121
+ }); const _io2 = input => "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
122
+ }
123
+ case "media.fonts?": {
124
+ return (() => { const _io0 = input => (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.fontFamilyNames || Array.isArray(input.fontFamilyNames) && input.fontFamilyNames.every(elem => "string" === typeof elem)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("normal" === input.style || "italic" === input.style) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && "number" === typeof elem[0] && "number" === typeof elem[1]))); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
125
+ }
126
+ case "media.consolidate": {
127
+ 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); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
128
+ }
129
+ case "asset-daemon": {
130
+ return (() => { const _io0 = input => undefined === input["user-notify"] || "boolean" === typeof input["user-notify"]; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
131
+ }
132
+ case "asset-daemon:user-notify.state": {
133
+ return (() => { const _io0 = input => (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since) && (undefined === input.version || "number" === typeof input.version); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
134
+ }
135
+ case "deepstream-replicator.stats?": {
136
+ return (() => { const _io0 = input => (undefined === input.replicators || "object" === typeof input.replicators && null !== input.replicators && false === Array.isArray(input.replicators) && _io1(input.replicators)) && (undefined === input.synced || "boolean" === typeof input.synced); const _io1 = input => Object.keys(input).every(key => {
137
+ const value = input[key];
138
+ if (undefined === value)
139
+ return true;
140
+ return "object" === typeof value && null !== value && _io2(value);
141
+ }); const _io2 = input => "object" === typeof input.to && null !== input.to && false === Array.isArray(input.to) && _io3(input.to) && ("object" === typeof input.from && null !== input.from && false === Array.isArray(input.from) && _io4(input.from)); const _io3 = input => (undefined === input.synced || "boolean" === typeof input.synced) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since); const _io4 = input => null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
142
+ }
143
+ default: throw new Error("Unrecognized name \"" + name + "\"");
144
+ }
145
+ }
146
+ }
147
+ function _isDomainRecord(domain, input) {
148
+ {
149
+ switch (domain) {
150
+ case ":asset.title?": {
151
+ return (() => { const _io0 = input => undefined === input.value || "string" === typeof input.value; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
152
+ }
153
+ case ":asset.types?": {
154
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
155
+ }
156
+ case ":asset.assignees?": {
157
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
158
+ }
159
+ case ":asset.refs?": {
160
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.id && "string" === typeof input.key && "string" === typeof input.value; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
161
+ }
162
+ case ":asset.tags?": {
163
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
164
+ }
165
+ case ":asset.fileRefs?": {
166
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
167
+ }
168
+ case ":asset.created?": {
169
+ return (() => { const _io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.origin || "string" === typeof input.origin); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
170
+ }
171
+ case ":asset.modified?": {
172
+ return (() => { const _io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.users || Array.isArray(input.users) && input.users.every(elem => "string" === typeof elem)); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
173
+ }
174
+ case ":asset.status?": {
175
+ return (() => { const _io0 = input => undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && (undefined === input.code || "string" === typeof input.code) && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
176
+ }
177
+ case ":asset.icon?": {
178
+ return (() => { const _io0 = input => null === input.value || undefined === input.value || "string" === typeof input.value; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
179
+ }
180
+ case ":asset.deadlines?": {
181
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
182
+ }
183
+ case ":asset.publish?": {
184
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
185
+ }
186
+ case ":asset.published?": {
187
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
188
+ const value = input[key];
189
+ if (undefined === value)
190
+ return true;
191
+ return "string" === typeof value;
192
+ }); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
193
+ }
194
+ case ":asset.duration?": {
195
+ return (() => { const _io0 = input => null === input.value || undefined === input.value || "number" === typeof input.value; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
196
+ }
197
+ case ":asset.locations?": {
198
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "number" === typeof input.lat && "number" === typeof input.lon; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
199
+ }
200
+ case ":asset.controllers?": {
201
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
202
+ }
203
+ case ":asset.embedding?": {
204
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
205
+ }
206
+ case ":asset.media?": {
207
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
208
+ const value = input[key];
209
+ if (undefined === value)
210
+ return true;
211
+ return true;
212
+ }); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
213
+ }
214
+ case ":asset.presence?": {
215
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
216
+ }
217
+ case ":asset.comments?": {
218
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
219
+ }
220
+ case ":bundle": {
221
+ return (() => { const _io0 = input => (undefined === input.user || "string" === typeof input.user) && (undefined === input.description || "string" === typeof input.description) && ("object" === typeof input.files && null !== input.files && false === Array.isArray(input.files) && _io1(input.files)); const _io1 = input => Object.keys(input).every(key => {
222
+ const value = input[key];
223
+ if (undefined === value)
224
+ return true;
225
+ return "string" === typeof value;
226
+ }); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
227
+ }
228
+ case ":bundle.revisions": {
229
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
230
+ const value = input[key];
231
+ if (undefined === value)
232
+ return true;
233
+ return "object" === typeof value && null !== value && _io1(value);
234
+ }); const _io1 = input => (undefined === input.user || "string" === typeof input.user) && (undefined === input.description || "string" === typeof input.description) && ("object" === typeof input.files && null !== input.files && false === Array.isArray(input.files) && _io2(input.files)); const _io2 = input => Object.keys(input).every(key => {
235
+ const value = input[key];
236
+ if (undefined === value)
237
+ return true;
238
+ return "string" === typeof value;
239
+ }); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
240
+ }
241
+ case ":clone": {
242
+ return (() => { const _io0 = input => Array.isArray(input.rules) && input.rules.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.domain && (null === input.path || undefined === input.path || "string" === typeof input.path) && (null === input.template || undefined === input.template || "string" === typeof input.template); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
243
+ }
244
+ case ":comment-reaction": {
245
+ return (() => { const _io0 = input => "string" === typeof input.comment && "string" === typeof input.user && "string" === typeof input.reaction; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
246
+ }
247
+ case ":comment-read-mark": {
248
+ return (() => { const _io0 = input => "string" === typeof input.comment && "string" === typeof input.user && "string" === typeof input.time; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
249
+ }
250
+ case ":comment": {
251
+ return (() => { const _io0 = input => (undefined === input.asset || "string" === typeof input.asset) && (null === input.content || undefined === input.content || "object" === typeof input.content && null !== input.content && _io1(input.content)) && (null === input.mediaRevisionId || undefined === input.mediaRevisionId || "string" === typeof input.mediaRevisionId) && (undefined === input.timecode || "object" === typeof input.timecode && null !== input.timecode && _io8(input.timecode)) && (undefined === input.replyTo || "string" === typeof input.replyTo); const _io1 = input => "root" === input.type && 1 === input.version && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && "string" === typeof input.format && "number" === typeof input.indent && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io2 = input => "paragraph" === input.type && 1 === input.version && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && "string" === typeof input.format && "number" === typeof input.indent && "number" === typeof input.textFormat && "string" === typeof input.textStyle && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io3 = input => "text" === input.type && 1 === input.version && "number" === typeof input.detail && "number" === typeof input.format && "string" === typeof input.mode && "string" === typeof input.style && "string" === typeof input.text; const _io4 = input => "linebreak" === input.type && 1 === input.version; const _io5 = input => "mention" === input.type && 1 === input.version && "number" === typeof input.detail && "number" === typeof input.format && "string" === typeof input.mode && "string" === typeof input.style && "string" === typeof input.text && "string" === typeof input.mentionId; const _io6 = input => "emoji" === input.type && 1 === input.version && "string" === typeof input.emojiId; const _io7 = input => "autolink" === input.type && 1 === input.version && "string" === typeof input.url; const _io8 = input => "number" === typeof input.start && (undefined === input.end || "number" === typeof input.end); const _iu0 = input => (() => {
252
+ if ("root" === input.type)
253
+ return _io1(input);
254
+ else if ("paragraph" === input.type)
255
+ return _io2(input);
256
+ else if ("text" === input.type)
257
+ return _io3(input);
258
+ else if ("linebreak" === input.type)
259
+ return _io4(input);
260
+ else if ("mention" === input.type)
261
+ return _io5(input);
262
+ else if ("emoji" === input.type)
263
+ return _io6(input);
264
+ else if ("autolink" === input.type)
265
+ return _io7(input);
266
+ else
267
+ return false;
268
+ })(); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
269
+ }
270
+ case ":comment.reactions?": {
271
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
272
+ const value = input[key];
273
+ if (undefined === value)
274
+ return true;
275
+ return Array.isArray(value) && value.every(elem => "object" === typeof elem && null !== elem && _io1(elem));
276
+ }); const _io1 = input => "string" === typeof input.id && "string" === typeof input.user; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
277
+ }
278
+ case ":comment.replies?": {
279
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
280
+ }
281
+ case ":comment.readMarks?": {
282
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
283
+ }
284
+ case ":connection": {
285
+ return (() => { const _io0 = input => "s3" === input.protocol && true && (undefined === input.bucket || "string" === typeof input.bucket) && "file" === input.type && (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io1 = input => "string" === typeof input.content; const _io2 = input => "ftp" === input.protocol && "string" === typeof input.host && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.utf8 || "boolean" === typeof input.utf8) && (undefined === input.timezone || "string" === typeof input.timezone) && "file" === input.type && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io3 = input => "smb" === input.protocol && "string" === typeof input.host && "string" === typeof input.share && (undefined === input.workgroup || "string" === typeof input.workgroup) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && "file" === input.type && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io4 = input => "sftp" === input.protocol && "string" === typeof input.host && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.privateKey || "string" === typeof input.privateKey) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.mode || "libcurl" === input.mode || "lftp" === input.mode || "openssh" === input.mode || "ssh2" === input.mode) && "file" === input.type && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io5 = input => "reuters" === input.type && (undefined === input.clientId || "string" === typeof input.clientId) && (undefined === input.clientSecret || "string" === typeof input.clientSecret) && (undefined === input.audience || "string" === typeof input.audience) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io6 = input => "facebook" === input.type && (undefined === input.grantedScopes || Array.isArray(input.grantedScopes) && input.grantedScopes.every(elem => "string" === typeof elem)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _iu0 = input => (() => {
286
+ if ("s3" === input.protocol)
287
+ return _io0(input);
288
+ else if ("ftp" === input.protocol)
289
+ return _io2(input);
290
+ else if ("smb" === input.protocol)
291
+ return _io3(input);
292
+ else if ("sftp" === input.protocol)
293
+ return _io4(input);
294
+ else if ("reuters" === input.type)
295
+ return _io5(input);
296
+ else if ("facebook" === input.type)
297
+ return _io6(input);
298
+ else
299
+ return false;
300
+ })(); return input => "object" === typeof input && null !== input && _iu0(input); })()(input);
301
+ }
302
+ case ":connection.methods?": {
303
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
304
+ const value = input[key];
305
+ if (undefined === value)
306
+ return true;
307
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
308
+ }); const _io1 = input => true; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
309
+ }
310
+ case ":connection.stats?": {
311
+ return (() => { const _io0 = input => (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.pages || Array.isArray(input.pages) && input.pages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io1 = input => true; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
312
+ }
313
+ case ":contact": {
314
+ return (() => { const _io0 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.email || "string" === typeof input.email) && (undefined === input.firstName || "string" === typeof input.firstName) && (undefined === input.lastName || "string" === typeof input.lastName); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
315
+ }
316
+ case ":deepstream.replicate": {
317
+ return (() => { const _io0 = input => (undefined === input.synced || "boolean" === typeof input.synced) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
318
+ }
319
+ case ":design": {
320
+ return (() => { const _io0 = input => Array.isArray(input.rows) && input.rows.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.id && "string" === typeof input.key && true; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
321
+ }
322
+ case ":edit": {
323
+ return (() => { const _io0 = input => "object" === typeof input.nodes && null !== input.nodes && false === Array.isArray(input.nodes) && _io1(input.nodes) && (Array.isArray(input.tracks) && input.tracks.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && ("object" === typeof input.transitions && null !== input.transitions && false === Array.isArray(input.transitions) && _io1(input.transitions)) && (undefined === input.active || "boolean" === typeof input.active) && (undefined === input.changeId || "string" === typeof input.changeId); const _io1 = input => true; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
324
+ }
325
+ case ":event": {
326
+ return (() => { const _io0 = input => (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io1(input.styleOverrides)); const _io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (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); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
327
+ }
328
+ case ":event._template?": {
329
+ 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)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io2(input.layout)); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
330
+ }
331
+ case ":event.overlay?": {
332
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
333
+ const value = input[key];
334
+ if (undefined === value)
335
+ return true;
336
+ return "object" === typeof value && null !== value && _io1(value);
337
+ }); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && Object.keys(input).every(key => {
338
+ if (["source", "cueCard", "startTime"].some(prop => key === prop))
339
+ return true;
340
+ const value = input[key];
341
+ if (undefined === value)
342
+ return true;
343
+ return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
344
+ }); const _io3 = input => Object.keys(input).every(key => {
345
+ const value = input[key];
346
+ if (undefined === value)
347
+ return true;
348
+ return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
349
+ }); const _ia0 = input => input.every(elem => undefined !== elem && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem)))); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
350
+ }
351
+ case ":event.template?": {
352
+ 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)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io2(input.layout)); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
353
+ }
354
+ case ":event.duration?": {
355
+ return (() => { const _io0 = input => (undefined === input.scheduled || "number" === typeof input.scheduled) && (undefined === input.actual || "number" === typeof input.actual) && (undefined === input["in"] || "number" === typeof input["in"]) && (null === input.out || undefined === input.out || "number" === typeof input.out); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
356
+ }
357
+ case ":event.children?": {
358
+ return (() => { const _io0 = input => Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
359
+ }
360
+ case ":event.props?": {
361
+ return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && Object.keys(input).every(key => {
362
+ if (["source", "cueCard", "startTime"].some(prop => key === prop))
363
+ return true;
364
+ const value = input[key];
365
+ if (undefined === value)
366
+ return true;
367
+ return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value)));
368
+ }); const _io1 = input => Object.keys(input).every(key => {
369
+ const value = input[key];
370
+ if (undefined === value)
371
+ return true;
372
+ return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value)));
373
+ }); const _ia0 = input => input.every(elem => undefined !== elem && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem)))); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
374
+ }
375
+ case ":file.replicate": {
376
+ return (() => { const _io0 = input => Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem) && (null === input.error || "object" === typeof input.error && null !== input.error && _io1(input.error)); const _io1 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io2(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io3(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && _io1(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io2 = input => Object.keys(input).every(key => {
377
+ const value = input[key];
378
+ if (undefined === value)
379
+ return true;
380
+ return "string" === typeof value;
381
+ }); const _io3 = input => true; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
382
+ }
383
+ case ":file.restrictions": {
384
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
385
+ const value = input[key];
386
+ if (undefined === value)
387
+ return true;
388
+ return "object" === typeof value && null !== value && _io1(value);
389
+ }); const _io1 = input => "string" === typeof input.asset && "string" === typeof input.date && "string" === typeof input.user && "string" === typeof input.text && "number" === typeof input.start && "number" === typeof input.end; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
390
+ }
391
+ case ":file.stats?": {
392
+ return (() => { const _io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && __typia_transform__isTypeUint64._isTypeUint64(input.position))) && (null === input.uploading || "boolean" === typeof input.uploading) && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem)) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && ("number" === typeof elem[0] && 0 <= elem[0]) && ("number" === typeof elem[1] && 0 <= elem[1])))) && (undefined === input.progress || "number" === typeof input.progress && (0 <= input.progress && input.progress <= 1)) && (undefined === input.speed || "number" === typeof input.speed && 0 <= input.speed) && ("string" === typeof input.id && RegExp("^[0-9A-Za-z~][0-9A-Za-z~._: -]*$").test(input.id)) && (null === input.size || "number" === typeof input.size && (0 <= input.size && __typia_transform__isTypeUint64._isTypeUint64(input.size))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && "string" === typeof input.encoding && ("string" === typeof input.hash && RegExp("^([A-Fa-f0-9]{32})?$").test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && __typia_transform__isTypeUint64._isTypeUint64(input.btime))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && _io2(elem)) || "object" === typeof input.error && null !== input.error && _io2(input.error)))); const _io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end); const _io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && _io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io3 = input => Object.keys(input).every(key => {
393
+ const value = input[key];
394
+ if (undefined === value)
395
+ return true;
396
+ return "string" === typeof value;
397
+ }); const _io4 = input => true; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
398
+ }
399
+ case ":general.title": {
400
+ return (() => { const _io0 = input => undefined === input.value || "string" === typeof input.value; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
401
+ }
402
+ case ":general.tags": {
403
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
404
+ }
405
+ case ":general.created": {
406
+ return (() => { const _io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.origin || "string" === typeof input.origin); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
407
+ }
408
+ case ":general.poster": {
409
+ return (() => { const _io0 = input => (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io1(input.input)) && (undefined === input.preset || "string" === typeof input.preset); const _io1 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.file || "string" === typeof input.file); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
410
+ }
411
+ case ":general.status": {
412
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
413
+ const value = input[key];
414
+ if (undefined === value)
415
+ return true;
416
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
417
+ }); const _io1 = input => undefined === input.expose || "boolean" === typeof input.expose; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
418
+ }
419
+ case ":general.description": {
420
+ return (() => { const _io0 = input => undefined === input.value || "string" === typeof input.value; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
421
+ }
422
+ case ":media.source": {
423
+ 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 => {
424
+ const value = input[key];
425
+ if (undefined === value)
426
+ return true;
427
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value);
428
+ }); const _io3 = 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) && _io4(input.styleOverrides)); const _io4 = 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 _io5 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io6(input.crop); const _io6 = 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 _io7 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
429
+ }
430
+ case ":media.consolidate": {
431
+ 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); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
432
+ }
433
+ case ":media.renders?": {
434
+ return (() => { const _io0 = input => Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem)); const _io1 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.children || Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
435
+ }
436
+ case ":media.transcriptChanges": {
437
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
438
+ const value = input[key];
439
+ if (undefined === value)
440
+ return true;
441
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
442
+ }); const _io1 = input => undefined === input.patch || Array.isArray(input.patch) && input.patch.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io2 = input => "add" === input.op && "string" === typeof input.path && true; const _io3 = input => "remove" === input.op && "string" === typeof input.path; const _io4 = input => "replace" === input.op && "string" === typeof input.path && true; const _io5 = input => "move" === input.op && "string" === typeof input.from && "string" === typeof input.path; const _io6 = input => "copy" === input.op && "string" === typeof input.from && "string" === typeof input.path; const _io7 = input => "test" === input.op && "string" === typeof input.path && true; const _iu0 = input => (() => {
443
+ if ("add" === input.op)
444
+ return _io2(input);
445
+ else if ("remove" === input.op)
446
+ return _io3(input);
447
+ else if ("test" === input.op)
448
+ return _io7(input);
449
+ else if ("replace" === input.op)
450
+ return _io4(input);
451
+ else if ("copy" === input.op)
452
+ return _io6(input);
453
+ else if ("move" === input.op)
454
+ return _io5(input);
455
+ else
456
+ return false;
457
+ })(); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
458
+ }
459
+ case ":media.font": {
460
+ return (() => { const _io0 = input => undefined === input.sampleText || "string" === typeof input.sampleText; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
461
+ }
462
+ case ":media.restrictions?": {
463
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
464
+ const value = input[key];
465
+ if (undefined === value)
466
+ return true;
467
+ return "object" === typeof value && null !== value && _io1(value);
468
+ }); const _io1 = input => "string" === typeof input.asset && "string" === typeof input.date && "string" === typeof input.user && "string" === typeof input.text && "number" === typeof input.start && "number" === typeof input.end && "string" === typeof input.file; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
469
+ }
470
+ case ":media.probe?": {
471
+ return (() => { const _io0 = input => (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (null === input.error || "object" === typeof input.error && null !== input.error && _io1(input.error)) && ("audio" === input.type || "video" === input.type || "image" === input.type) && (null === input.live || undefined === input.live || "boolean" === typeof input.live) && (null === input.url || undefined === input.url || "string" === typeof input.url) && (undefined === input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io4(input.subtitle)); const _io1 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io2(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io3(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && _io1(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io2 = input => Object.keys(input).every(key => {
472
+ const value = input[key];
473
+ if (undefined === value)
474
+ return true;
475
+ return "string" === typeof value;
476
+ }); const _io3 = input => true; const _io4 = input => null === input.codec || undefined === input.codec || "string" === typeof input.codec; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
477
+ }
478
+ case ":media.updateSubtitles?": {
479
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
480
+ const value = input[key];
481
+ if (undefined === value)
482
+ return true;
483
+ return true;
484
+ }); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
485
+ }
486
+ case ":media.updateGraphics?": {
487
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
488
+ const value = input[key];
489
+ if (undefined === value)
490
+ return true;
491
+ return true;
492
+ }); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
493
+ }
494
+ case ":monitor.stats?": {
495
+ return (() => { const _io0 = input => true && ("object" === typeof input.proc && null !== input.proc && _io1(input.proc)) && ("object" === typeof input.buddyinfo && null !== input.buddyinfo && _io3(input.buddyinfo)) && ("object" === typeof input.meminfo && null !== input.meminfo && false === Array.isArray(input.meminfo) && _io4(input.meminfo)) && ("object" === typeof input.net && null !== input.net && _io5(input.net)) && ("object" === typeof input["var"] && null !== input["var"] && _io12(input["var"])); const _io1 = input => (null === input.cpu || "object" === typeof input.cpu && null !== input.cpu && false === Array.isArray(input.cpu) && _io2(input.cpu)) && (undefined === input.cpus || Array.isArray(input.cpus) && input.cpus.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && "number" === typeof input.threads && (null === input.load || Array.isArray(input.load) && input.load.every(elem => "number" === typeof elem)) && (null === input.interrupts || undefined === input.interrupts || Array.isArray(input.interrupts) && input.interrupts.every(elem => "number" === typeof elem)) && (null === input.contextSwitches || "number" === typeof input.contextSwitches) && (null === input.bootTime || "number" === typeof input.bootTime) && (null === input.processes || "number" === typeof input.processes) && (null === input.running || "number" === typeof input.running) && (null === input.blocked || "number" === typeof input.blocked) && true && true && "number" === typeof input.timestamp && (null === input.total || "number" === typeof input.total) && (null === input.idle || "number" === typeof input.idle) && (null === input.active || "number" === typeof input.active) && (null === input.utilization || "number" === typeof input.utilization); const _io2 = input => Object.keys(input).every(key => {
496
+ const value = input[key];
497
+ if (undefined === value)
498
+ return true;
499
+ return null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value;
500
+ }); const _io3 = input => (undefined === input.normal || Array.isArray(input.normal) && input.normal.every(elem => "number" === typeof elem)) && (undefined === input.high || Array.isArray(input.high) && input.high.every(elem => "number" === typeof elem)) && "number" === typeof input.timestamp; const _io4 = input => Object.keys(input).every(key => {
501
+ const value = input[key];
502
+ if (undefined === value)
503
+ return true;
504
+ return null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value;
505
+ }); const _io5 = input => "object" === typeof input.softnet && null !== input.softnet && _io6(input.softnet) && ("object" === typeof input.sockstat && null !== input.sockstat && _io8(input.sockstat)) && (Array.isArray(input.bonding) && input.bonding.every(elem => "object" === typeof elem && null !== elem && _io10(elem))) && (Array.isArray(input.eth) && input.eth.every(elem => "object" === typeof elem && null !== elem && _io11(elem))); const _io6 = input => "number" === typeof input.timestamp && (undefined === input.squeezed || "number" === typeof input.squeezed) && (undefined === input.squeezedDay || "number" === typeof input.squeezedDay) && (undefined === input.squeezedHour || "number" === typeof input.squeezedHour) && (undefined === input.processed || "number" === typeof input.processed) && (undefined === input.processedDay || "number" === typeof input.processedDay) && (undefined === input.processedHour || "number" === typeof input.processedHour) && (undefined === input.processedMinute || "number" === typeof input.processedMinute) && (Array.isArray(input.cpus) && input.cpus.every(elem => "object" === typeof elem && null !== elem && _io7(elem))); const _io7 = input => "number" === typeof input.cpu && (undefined === input.processed || "number" === typeof input.processed) && (undefined === input.dropped || "number" === typeof input.dropped) && (undefined === input.squeezed || "number" === typeof input.squeezed); const _io8 = input => "number" === typeof input.timestamp && (undefined === input.sockets || "object" === typeof input.sockets && null !== input.sockets && false === Array.isArray(input.sockets) && _io9(input.sockets)) && (undefined === input.tcp || "object" === typeof input.tcp && null !== input.tcp && false === Array.isArray(input.tcp) && _io9(input.tcp)) && (undefined === input.udp || "object" === typeof input.udp && null !== input.udp && false === Array.isArray(input.udp) && _io9(input.udp)) && (undefined === input.udplite || "object" === typeof input.udplite && null !== input.udplite && false === Array.isArray(input.udplite) && _io9(input.udplite)) && (undefined === input.raw || "object" === typeof input.raw && null !== input.raw && false === Array.isArray(input.raw) && _io9(input.raw)) && (undefined === input.frag || "object" === typeof input.frag && null !== input.frag && false === Array.isArray(input.frag) && _io9(input.frag)); const _io9 = input => Object.keys(input).every(key => {
506
+ const value = input[key];
507
+ if (undefined === value)
508
+ return true;
509
+ return true;
510
+ }); const _io10 = input => "string" === typeof input.name && (undefined === input.timestamp || "number" === typeof input.timestamp) && (undefined === input.rxBytes || "number" === typeof input.rxBytes) && (undefined === input.rxBytesOrigin || "number" === typeof input.rxBytesOrigin) && (undefined === input.rxBytesSec || "number" === typeof input.rxBytesSec) && (undefined === input.rxBytesValue || "number" === typeof input.rxBytesValue) && (undefined === input.rxDropped || "number" === typeof input.rxDropped) && (undefined === input.rxDroppedOrigin || "number" === typeof input.rxDroppedOrigin) && (undefined === input.rxDroppedSec || "number" === typeof input.rxDroppedSec) && (undefined === input.rxDroppedValue || "number" === typeof input.rxDroppedValue) && (undefined === input.rxErrors || "number" === typeof input.rxErrors) && (undefined === input.rxErrorsOrigin || "number" === typeof input.rxErrorsOrigin) && (undefined === input.rxErrorsSec || "number" === typeof input.rxErrorsSec) && (undefined === input.rxErrorsValue || "number" === typeof input.rxErrorsValue) && (undefined === input.rxPackets || "number" === typeof input.rxPackets) && (undefined === input.rxPacketsOrigin || "number" === typeof input.rxPacketsOrigin) && (undefined === input.rxPacketsSec || "number" === typeof input.rxPacketsSec) && (undefined === input.rxPacketsValue || "number" === typeof input.rxPacketsValue) && (undefined === input.txBytes || "number" === typeof input.txBytes) && (undefined === input.txBytesOrigin || "number" === typeof input.txBytesOrigin) && (undefined === input.txBytesSec || "number" === typeof input.txBytesSec) && (undefined === input.txBytesValue || "number" === typeof input.txBytesValue) && (undefined === input.txDropped || "number" === typeof input.txDropped) && (undefined === input.txDroppedOrigin || "number" === typeof input.txDroppedOrigin) && (undefined === input.txDroppedSec || "number" === typeof input.txDroppedSec) && (undefined === input.txDroppedValue || "number" === typeof input.txDroppedValue) && (undefined === input.txErrors || "number" === typeof input.txErrors) && (undefined === input.txErrorsOrigin || "number" === typeof input.txErrorsOrigin) && (undefined === input.txErrorsSec || "number" === typeof input.txErrorsSec) && (undefined === input.txErrorsValue || "number" === typeof input.txErrorsValue) && (Array.isArray(input.slaves) && input.slaves.every(elem => "string" === typeof elem)) && Object.keys(input).every(key => {
511
+ if (["name", "timestamp", "rxBytes", "rxBytesOrigin", "rxBytesSec", "rxBytesValue", "rxDropped", "rxDroppedOrigin", "rxDroppedSec", "rxDroppedValue", "rxErrors", "rxErrorsOrigin", "rxErrorsSec", "rxErrorsValue", "rxPackets", "rxPacketsOrigin", "rxPacketsSec", "rxPacketsValue", "txBytes", "txBytesOrigin", "txBytesSec", "txBytesValue", "txDropped", "txDroppedOrigin", "txDroppedSec", "txDroppedValue", "txErrors", "txErrorsOrigin", "txErrorsSec", "txErrorsValue", "slaves"].some(prop => key === prop))
512
+ return true;
513
+ const value = input[key];
514
+ if (undefined === value)
515
+ return true;
516
+ return true;
517
+ }); const _io11 = input => "string" === typeof input.name && (undefined === input.timestamp || "number" === typeof input.timestamp) && (undefined === input.rxBytes || "number" === typeof input.rxBytes) && (undefined === input.rxBytesOrigin || "number" === typeof input.rxBytesOrigin) && (undefined === input.rxBytesSec || "number" === typeof input.rxBytesSec) && (undefined === input.rxBytesValue || "number" === typeof input.rxBytesValue) && (undefined === input.rxDropped || "number" === typeof input.rxDropped) && (undefined === input.rxDroppedOrigin || "number" === typeof input.rxDroppedOrigin) && (undefined === input.rxDroppedSec || "number" === typeof input.rxDroppedSec) && (undefined === input.rxDroppedValue || "number" === typeof input.rxDroppedValue) && (undefined === input.rxErrors || "number" === typeof input.rxErrors) && (undefined === input.rxErrorsOrigin || "number" === typeof input.rxErrorsOrigin) && (undefined === input.rxErrorsSec || "number" === typeof input.rxErrorsSec) && (undefined === input.rxErrorsValue || "number" === typeof input.rxErrorsValue) && (undefined === input.rxPackets || "number" === typeof input.rxPackets) && (undefined === input.rxPacketsOrigin || "number" === typeof input.rxPacketsOrigin) && (undefined === input.rxPacketsSec || "number" === typeof input.rxPacketsSec) && (undefined === input.rxPacketsValue || "number" === typeof input.rxPacketsValue) && (undefined === input.txBytes || "number" === typeof input.txBytes) && (undefined === input.txBytesOrigin || "number" === typeof input.txBytesOrigin) && (undefined === input.txBytesSec || "number" === typeof input.txBytesSec) && (undefined === input.txBytesValue || "number" === typeof input.txBytesValue) && (undefined === input.txDropped || "number" === typeof input.txDropped) && (undefined === input.txDroppedOrigin || "number" === typeof input.txDroppedOrigin) && (undefined === input.txDroppedSec || "number" === typeof input.txDroppedSec) && (undefined === input.txDroppedValue || "number" === typeof input.txDroppedValue) && (undefined === input.txErrors || "number" === typeof input.txErrors) && (undefined === input.txErrorsOrigin || "number" === typeof input.txErrorsOrigin) && (undefined === input.txErrorsSec || "number" === typeof input.txErrorsSec) && (undefined === input.txErrorsValue || "number" === typeof input.txErrorsValue) && (undefined === input.speed || "number" === typeof input.speed) && (undefined === input.rxUnicastBytes || "number" === typeof input.rxUnicastBytes) && (undefined === input.rxMulticastBytes || "number" === typeof input.rxMulticastBytes) && (undefined === input.rxBroadcastBytes || "number" === typeof input.rxBroadcastBytes) && Object.keys(input).every(key => {
518
+ if (["name", "timestamp", "rxBytes", "rxBytesOrigin", "rxBytesSec", "rxBytesValue", "rxDropped", "rxDroppedOrigin", "rxDroppedSec", "rxDroppedValue", "rxErrors", "rxErrorsOrigin", "rxErrorsSec", "rxErrorsValue", "rxPackets", "rxPacketsOrigin", "rxPacketsSec", "rxPacketsValue", "txBytes", "txBytesOrigin", "txBytesSec", "txBytesValue", "txDropped", "txDroppedOrigin", "txDroppedSec", "txDroppedValue", "txErrors", "txErrorsOrigin", "txErrorsSec", "txErrorsValue", "speed", "rxUnicastBytes", "rxMulticastBytes", "rxBroadcastBytes"].some(prop => key === prop))
519
+ return true;
520
+ const value = input[key];
521
+ if (undefined === value)
522
+ return true;
523
+ return true;
524
+ }); const _io12 = input => "number" === typeof input.used && "number" === typeof input.available && "number" === typeof input.timestamp; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
525
+ }
526
+ case ":panel": {
527
+ return (() => { const _io0 = input => (undefined === input.title || "string" === typeof input.title) && (null !== input.supports && (undefined === input.supports || "string" === typeof input.supports || Array.isArray(input.supports) && input.supports.every(elem => "string" === typeof elem))) && (undefined === input.priority || "number" === typeof input.priority) && (undefined === input.editorPriority || "number" === typeof input.editorPriority) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io4(input.layout)) && (null !== input.filter && (undefined === input.filter || "string" === typeof input.filter || "object" === typeof input.filter && null !== input.filter && _io8(input.filter))) && (null !== input.expand && (undefined === input.expand || "string" === typeof input.expand || "object" === typeof input.expand && null !== input.expand && _io8(input.expand))); const _io1 = input => Object.keys(input).every(key => {
528
+ const value = input[key];
529
+ if (undefined === value)
530
+ return true;
531
+ return "object" === typeof value && null !== value && _io2(value);
532
+ }); const _io2 = input => ("string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io3(input.index)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf)); const _io3 = input => "string" === typeof input.label && "string" === typeof input.path; const _io4 = input => null !== input.panel && (undefined === input.panel || "string" === typeof input.panel || (Array.isArray(input.panel) && (_ia0(input.panel) || false) || "object" === typeof input.panel && null !== input.panel && _iu0(input.panel))) && (null !== input.editor && (undefined === input.editor || "string" === typeof input.editor || (Array.isArray(input.editor) && (_ia0(input.editor) || false) || "object" === typeof input.editor && null !== input.editor && _iu0(input.editor)))); const _io5 = input => "divider" === input.type && (undefined === input.title || "string" === typeof input.title); const _io6 = input => "string" === typeof input.property && (undefined === input.width || "string" === typeof input.width || "number" === typeof input.width) && (null !== input.widget && (undefined === input.widget || "default" === input.widget || "assetTypes" === input.widget || "assetTags" === input.widget || "geopoint" === input.widget || "poster" === input.widget || "textarea" === input.widget || "tags" === input.widget || "object" === typeof input.widget && null !== input.widget && _io7(input.widget))); const _io7 = input => ("default" === input.type || "assetTypes" === input.type || "assetTags" === input.type || "geopoint" === input.type || "poster" === input.type || "textarea" === input.type || "tags" === input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly); const _io8 = input => "object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) && _io9(input.__context) && "string" === typeof input.__returnValue; const _io9 = input => true; const _iu0 = input => (() => {
533
+ if (undefined !== input.type)
534
+ return _io5(input);
535
+ else if (undefined !== input.property)
536
+ return _io6(input);
537
+ else
538
+ return false;
539
+ })(); const _ia0 = input => input.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && _iu0(elem)))); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
540
+ }
541
+ case ":permission?": {
542
+ return (() => { const _io0 = input => Array.isArray(input.permissions) && input.permissions.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io1 = input => "tag" === input.type && (null !== input.method && undefined === input.method) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)); const _io2 = input => "asset" === input.type && "string" === typeof input.method && (null !== input.tags && undefined === input.tags); const _io3 = input => "rpc" === input.type && "string" === typeof input.method && (null !== input.tags && undefined === input.tags); const _iu0 = input => (() => {
543
+ if ("rpc" === input.type)
544
+ return _io3(input);
545
+ else if ("asset" === input.type)
546
+ return _io2(input);
547
+ else if ("tag" === input.type)
548
+ return _io1(input);
549
+ else
550
+ return false;
551
+ })(); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
552
+ }
553
+ case ":permission": {
554
+ return (() => { const _io0 = input => "tag" === input.type && (null !== input.method && undefined === input.method) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)); const _io1 = input => "asset" === input.type && "string" === typeof input.method && (null !== input.tags && undefined === input.tags); const _io2 = input => "rpc" === input.type && "string" === typeof input.method && (null !== input.tags && undefined === input.tags); const _iu0 = input => (() => {
555
+ if ("rpc" === input.type)
556
+ return _io2(input);
557
+ else if ("asset" === input.type)
558
+ return _io1(input);
559
+ else if ("tag" === input.type)
560
+ return _io0(input);
561
+ else
562
+ return false;
563
+ })(); return input => "object" === typeof input && null !== input && _iu0(input); })()(input);
564
+ }
565
+ case ":pipeline-preset": {
566
+ return (() => { const _iv3 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _io0 = input => (null === input.createMenuItems || undefined === input.createMenuItems || Array.isArray(input.createMenuItems) && input.createMenuItems.every(elem => "string" === typeof elem)) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.sortMode || true === _iv3.has(input.sortMode)); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
567
+ }
568
+ case ":pipeline": {
569
+ return (() => { const _io0 = input => (undefined === input.dummy || "boolean" === typeof input.dummy) && (undefined === input.assetType || "collection" === input.assetType || "pipeline" === input.assetType) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.bookmarkId || "string" === typeof input.bookmarkId) && (undefined === input.hiddenCreateMenuItems || "object" === typeof input.hiddenCreateMenuItems && null !== input.hiddenCreateMenuItems && false === Array.isArray(input.hiddenCreateMenuItems) && _io1(input.hiddenCreateMenuItems)); const _io1 = input => Object.keys(input).every(key => {
570
+ const value = input[key];
571
+ if (undefined === value)
572
+ return true;
573
+ return true;
574
+ }); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
575
+ }
576
+ case ":pipeline.items": {
577
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
578
+ }
579
+ case ":planning": {
580
+ return (() => { const _io0 = input => null === input.deadline || undefined === input.deadline || "string" === typeof input.deadline; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
581
+ }
582
+ case ":planning.assignees": {
583
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
584
+ }
585
+ case ":planning.deadline": {
586
+ return (() => { const _io0 = input => null === input.value || "string" === typeof input.value; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
587
+ }
588
+ case ":prompter": {
589
+ return (() => { const _io0 = input => "string" === typeof input.asset && "string" === typeof input.primaryColor && "string" === typeof input.secondaryColor && "string" === typeof input.backgroundColor && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem)) && (undefined === input.genericFontFamily || "string" === typeof input.genericFontFamily) && "number" === typeof input.fontSize && "number" === typeof input.lineHeight && "number" === typeof input.markerPosition && "number" === typeof input.padding && (undefined === input.dummy || "boolean" === typeof input.dummy) && (undefined === input.showInfo || "boolean" === typeof input.showInfo); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
590
+ }
591
+ case ":publish": {
592
+ 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 => {
593
+ const value = input[key];
594
+ if (undefined === value)
595
+ return true;
596
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
597
+ }); 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 => {
598
+ const value = input[key];
599
+ if (undefined === value)
600
+ return true;
601
+ return true;
602
+ }); 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 => {
603
+ const value = input[key];
604
+ if (undefined === value)
605
+ return true;
606
+ return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
607
+ }); const _io23 = 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) && _io4(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io12(input.profile)); const _io24 = input => "object" === typeof input.__context && null !== input.__context && _io25(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io23(input.__returnValue)); const _io25 = input => "object" === typeof input.publish && null !== input.publish && _io21(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) && Object.keys(input).every(key => {
608
+ if (["directory", "filename"].some(prop => key === prop))
609
+ return true;
610
+ const value = input[key];
611
+ if (undefined === value)
612
+ return true;
613
+ return true;
614
+ }); const _io27 = 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) && _io28(input.renders)) && Object.keys(input).every(key => {
615
+ if (["directory", "filename", "renders"].some(prop => key === prop))
616
+ return true;
617
+ const value = input[key];
618
+ if (undefined === value)
619
+ return true;
620
+ return true;
621
+ }); const _io28 = input => Object.keys(input).every(key => {
622
+ const value = input[key];
623
+ if (undefined === value)
624
+ return true;
625
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io29(value);
626
+ }); const _io29 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io30 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename && Object.keys(input).every(key => {
627
+ if (["directory", "filename"].some(prop => key === prop))
628
+ return true;
629
+ const value = input[key];
630
+ if (undefined === value)
631
+ return true;
632
+ return true;
633
+ }); 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 => {
634
+ if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
635
+ return true;
636
+ const value = input[key];
637
+ if (undefined === value)
638
+ return true;
639
+ return true;
640
+ }); const _io33 = input => "string" === typeof input.path; const _io34 = input => "string" === typeof input.path; const _iu0 = input => (() => {
641
+ if (undefined !== input.path)
642
+ return _io23(input);
643
+ else if (undefined !== input.__context)
644
+ return _io24(input);
645
+ else
646
+ return false;
647
+ })(); const _iu1 = input => (() => {
648
+ if ("youtube" === input.type)
649
+ return _io0(input);
650
+ else if ("facebook" === input.type)
651
+ return _io20(input);
652
+ else
653
+ return (() => {
654
+ if (_io31(input))
655
+ return _io31(input);
656
+ if (_io21(input))
657
+ return _io21(input);
658
+ return false;
659
+ })();
660
+ })(); return input => "object" === typeof input && null !== input && _iu1(input); })()(input);
661
+ }
662
+ case ":publish.stats?": {
663
+ return (() => { const _io0 = input => (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && _io2(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && _io2(input.defaults)); const _io1 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io2 = input => Object.keys(input).every(key => {
664
+ const value = input[key];
665
+ if (undefined === value)
666
+ return true;
667
+ return true;
668
+ }); const _io3 = input => (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && _io2(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && _io2(input.defaults)); const _io4 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && _io5(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && _io8(input.defaults)) && (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io5 = input => (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io6(input.renders)) && Object.keys(input).every(key => {
669
+ if (["filename", "directory", "renders"].some(prop => key === prop))
670
+ return true;
671
+ const value = input[key];
672
+ if (undefined === value)
673
+ return true;
674
+ return true;
675
+ }); const _io6 = input => Object.keys(input).every(key => {
676
+ const value = input[key];
677
+ if (undefined === value)
678
+ return true;
679
+ return "object" === typeof value && null !== value && _io7(value);
680
+ }); const _io7 = input => "string" === typeof input.path && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash); const _io8 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io9(input.renders)) && Object.keys(input).every(key => {
681
+ if (["directory", "filename", "renders"].some(prop => key === prop))
682
+ return true;
683
+ const value = input[key];
684
+ if (undefined === value)
685
+ return true;
686
+ return true;
687
+ }); const _io9 = input => Object.keys(input).every(key => {
688
+ const value = input[key];
689
+ if (undefined === value)
690
+ return true;
691
+ return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
692
+ }); 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 => {
693
+ const value = input[key];
694
+ if (undefined === value)
695
+ return true;
696
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io14(value);
697
+ }); 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 => {
698
+ if (["directory", "filename"].some(prop => key === prop))
699
+ return true;
700
+ const value = input[key];
701
+ if (undefined === value)
702
+ return true;
703
+ return true;
704
+ }); const _io28 = 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) && _io29(input.renders)) && Object.keys(input).every(key => {
705
+ if (["directory", "filename", "renders"].some(prop => key === prop))
706
+ return true;
707
+ const value = input[key];
708
+ if (undefined === value)
709
+ return true;
710
+ return true;
711
+ }); const _io29 = input => Object.keys(input).every(key => {
712
+ const value = input[key];
713
+ if (undefined === value)
714
+ return true;
715
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value);
716
+ }); const _io30 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io31 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename && Object.keys(input).every(key => {
717
+ if (["directory", "filename"].some(prop => key === prop))
718
+ return true;
719
+ const value = input[key];
720
+ if (undefined === value)
721
+ return true;
722
+ return true;
723
+ }); const _io32 = 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) && _io11(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io19(input.profile)); const _io33 = input => "string" === typeof input.method; const _iu0 = input => (() => {
724
+ if (undefined !== input.path)
725
+ return _io10(input);
726
+ else if (undefined !== input.__context)
727
+ return _io24(input);
728
+ else
729
+ return false;
730
+ })(); const _iu1 = input => (() => {
731
+ if (_io4(input))
732
+ return _io4(input);
733
+ if (_io3(input))
734
+ return _io3(input);
735
+ if (_io0(input))
736
+ return _io0(input);
737
+ return false;
738
+ })(); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); })()(input);
739
+ }
740
+ case ":publish.methods?": {
741
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
742
+ const value = input[key];
743
+ if (undefined === value)
744
+ return true;
745
+ return "object" === typeof value && null !== value && _io1(value);
746
+ }); const _io1 = input => "string" === typeof input.rpcId && ("object" === typeof input.rpcData && null !== input.rpcData && false === Array.isArray(input.rpcData) && _io2(input.rpcData)); const _io2 = input => Object.keys(input).every(key => {
747
+ const value = input[key];
748
+ if (undefined === value)
749
+ return true;
750
+ return true;
751
+ }); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
752
+ }
753
+ case ":publish.accepts": {
754
+ return (() => { const _io0 = input => true; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
755
+ }
756
+ case ":published": {
757
+ return (() => { const _io0 = input => "string" === typeof input.type && "string" === typeof input.parent && (Array.isArray(input.asset) && input.asset.every(elem => "string" === typeof elem)) && "number" === typeof input.time && "string" === typeof input.connection && (undefined === input.user || "string" === typeof input.user) && (undefined === input.error || "boolean" === typeof input.error); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
758
+ }
759
+ case ":render-preset": {
760
+ 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); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
761
+ }
762
+ case ":render.stats?": {
763
+ return (() => { const _io0 = input => (null === input.progress || undefined === input.progress || "number" === typeof input.progress) && (null === input.error || undefined === input.error || Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (null === input.status || undefined === input.status || "string" === typeof input.status || Array.isArray(input.status) && input.status.every(elem => "string" === typeof elem)) && (null === input.lag || undefined === input.lag || "number" === typeof input.lag) && (null === input.available || undefined === input.available || "boolean" === typeof input.available) && (null === input.toobusy || undefined === input.toobusy || "boolean" === typeof input.toobusy) && (null === input.cpuAvailable || undefined === input.cpuAvailable || "boolean" === typeof input.cpuAvailable) && (null === input.cpuComputeAvailable || undefined === input.cpuComputeAvailable || "number" === typeof input.cpuComputeAvailable) && (null === input.cpuComputeReservation || undefined === input.cpuComputeReservation || "number" === typeof input.cpuComputeReservation) && (null === input.cpuCompute || undefined === input.cpuCompute || "number" === typeof input.cpuCompute) && (null === input.cpuComputeLimit || undefined === input.cpuComputeLimit || "number" === typeof input.cpuComputeLimit) && (null === input.cpuComputeTotal || undefined === input.cpuComputeTotal || "number" === typeof input.cpuComputeTotal) && (null === input.cpuComputeValue || undefined === input.cpuComputeValue || "number" === typeof input.cpuComputeValue) && (null === input.cpuMemoryAvailable || undefined === input.cpuMemoryAvailable || "number" === typeof input.cpuMemoryAvailable) && (null === input.cpuMemoryReservation || undefined === input.cpuMemoryReservation || "number" === typeof input.cpuMemoryReservation) && (null === input.cpuMemory || undefined === input.cpuMemory || "number" === typeof input.cpuMemory) && (null === input.cpuMemoryLimit || undefined === input.cpuMemoryLimit || "number" === typeof input.cpuMemoryLimit) && (null === input.cpuMemoryValue || undefined === input.cpuMemoryValue || "number" === typeof input.cpuMemoryValue) && (null === input.cpuMemoryTotal || undefined === input.cpuMemoryTotal || "number" === typeof input.cpuMemoryTotal) && (null === input.gpuType || undefined === input.gpuType || "string" === typeof input.gpuType) && (null === input.gpuAvailable || undefined === input.gpuAvailable || "boolean" === typeof input.gpuAvailable) && (null === input.gpuComputeAvailable || undefined === input.gpuComputeAvailable || "number" === typeof input.gpuComputeAvailable) && (null === input.gpuComputeReservation || undefined === input.gpuComputeReservation || "number" === typeof input.gpuComputeReservation) && (null === input.gpuCompute || undefined === input.gpuCompute || "number" === typeof input.gpuCompute) && (null === input.gpuComputeLimit || undefined === input.gpuComputeLimit || "number" === typeof input.gpuComputeLimit) && (null === input.gpuComputeValue || undefined === input.gpuComputeValue || "number" === typeof input.gpuComputeValue) && (null === input.gpuComputeTotal || undefined === input.gpuComputeTotal || "number" === typeof input.gpuComputeTotal) && (null === input.gpuMemoryAvailable || undefined === input.gpuMemoryAvailable || "number" === typeof input.gpuMemoryAvailable) && (null === input.gpuMemoryReservation || undefined === input.gpuMemoryReservation || "number" === typeof input.gpuMemoryReservation) && (null === input.gpuMemory || undefined === input.gpuMemory || "number" === typeof input.gpuMemory) && (null === input.gpuMemoryLimit || undefined === input.gpuMemoryLimit || "number" === typeof input.gpuMemoryLimit) && (null === input.gpuMemoryValue || undefined === input.gpuMemoryValue || "number" === typeof input.gpuMemoryValue) && (null === input.gpuMemoryTotal || undefined === input.gpuMemoryTotal || "number" === typeof input.gpuMemoryTotal) && (null === input.gpuQueueAvailable || undefined === input.gpuQueueAvailable || "number" === typeof input.gpuQueueAvailable) && (null === input.gpuQueueReservation || undefined === input.gpuQueueReservation || "number" === typeof input.gpuQueueReservation) && (null === input.gpuQueueLimit || undefined === input.gpuQueueLimit || "number" === typeof input.gpuQueueLimit) && (null === input.gpuQueueValue || undefined === input.gpuQueueValue || "number" === typeof input.gpuQueueValue) && (null === input.gpuQueueTotal || undefined === input.gpuQueueTotal || "number" === typeof input.gpuQueueTotal) && (null === input.gpuEncoder || undefined === input.gpuEncoder || "number" === typeof input.gpuEncoder) && (null === input.gpuEncoderLimit || undefined === input.gpuEncoderLimit || "number" === typeof input.gpuEncoderLimit) && (null === input.gpuEncoderValue || undefined === input.gpuEncoderValue || "number" === typeof input.gpuEncoderValue) && (null === input.gpuEncoderTotal || undefined === input.gpuEncoderTotal || "number" === typeof input.gpuEncoderTotal) && (null === input.gpuDecoder || undefined === input.gpuDecoder || "number" === typeof input.gpuDecoder) && (null === input.gpuDecoderLimit || undefined === input.gpuDecoderLimit || "number" === typeof input.gpuDecoderLimit) && (null === input.gpuDecoderValue || undefined === input.gpuDecoderValue || "number" === typeof input.gpuDecoderValue) && (null === input.gpuDecoderTotal || undefined === input.gpuDecoderTotal || "number" === typeof input.gpuDecoderTotal) && (null === input.netAvailable || undefined === input.netAvailable || "boolean" === typeof input.netAvailable) && (null === input.netTransferAvailable || undefined === input.netTransferAvailable || "number" === typeof input.netTransferAvailable) && (null === input.netTransferReservation || undefined === input.netTransferReservation || "number" === typeof input.netTransferReservation) && (null === input.netTransfer || undefined === input.netTransfer || "number" === typeof input.netTransfer) && (null === input.netTransferLimit || undefined === input.netTransferLimit || "number" === typeof input.netTransferLimit) && (null === input.netTransferValue || undefined === input.netTransferValue || "number" === typeof input.netTransferValue) && (null === input.netTransferTotal || undefined === input.netTransferTotal || "number" === typeof input.netTransferTotal) && (null === input.cpu || undefined === input.cpu || "number" === typeof input.cpu) && (null === input.memory || undefined === input.memory || "number" === typeof input.memory) && (null === input.activeCount || "number" === typeof input.activeCount) && (null === input.totalCount || "number" === typeof input.totalCount) && (null === input.gpuStat || undefined === input.gpuStat || "object" === typeof input.gpuStat && null !== input.gpuStat && false === Array.isArray(input.gpuStat) && _io2(input.gpuStat)) && (null === input.cpuStat || undefined === input.cpuStat || "object" === typeof input.cpuStat && null !== input.cpuStat && _io3(input.cpuStat)) && (null === input.netStat || undefined === input.netStat || "object" === typeof input.netStat && null !== input.netStat && _io8(input.netStat)) && true && (undefined === input.taskset || "string" === typeof input.taskset); const _io1 = input => Object.keys(input).every(key => {
764
+ const value = input[key];
765
+ if (undefined === value)
766
+ return true;
767
+ return true;
768
+ }); const _io2 = input => Object.keys(input).every(key => {
769
+ const value = input[key];
770
+ if (undefined === value)
771
+ return true;
772
+ return true;
773
+ }); const _io3 = input => "object" === typeof input.cpu && null !== input.cpu && _io4(input.cpu) && ("object" === typeof input.mem && null !== input.mem && _io5(input.mem)); const _io4 = input => "number" === typeof input.idle && "number" === typeof input.total; const _io5 = input => "number" === typeof input.used && "number" === typeof input.total && ("object" === typeof input.arcstats && null !== input.arcstats && _io6(input.arcstats)) && ("object" === typeof input.meminfo && null !== input.meminfo && false === Array.isArray(input.meminfo) && _io7(input.meminfo)); const _io6 = input => null === input.size || "number" === typeof input.size; const _io7 = input => Object.keys(input).every(key => {
774
+ const value = input[key];
775
+ if (undefined === value)
776
+ return true;
777
+ return true;
778
+ }); const _io8 = input => "number" === typeof input.used && (undefined === input.type || "string" === typeof input.type) && (undefined === input.dev || "object" === typeof input.dev && null !== input.dev && _io9(input.dev)); const _io9 = input => "number" === typeof input.used; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
779
+ }
780
+ case ":render.query?": {
781
+ 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 => {
782
+ const value = input[key];
783
+ if (undefined === value)
784
+ return true;
785
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
786
+ }); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); 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); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
787
+ }
788
+ case ":render.result?": {
789
+ return (() => { const _io0 = input => (undefined === input.url || "string" === typeof input.url) && true && (null === input.error || undefined === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem)) || "object" === typeof input.error && null !== input.error && false === Array.isArray(input.error) && _io1(input.error))) && Object.keys(input).every(key => {
790
+ if (["url", "result", "error"].some(prop => key === prop))
791
+ return true;
792
+ const value = input[key];
793
+ if (undefined === value)
794
+ return true;
795
+ return true;
796
+ }); const _io1 = input => Object.keys(input).every(key => {
797
+ const value = input[key];
798
+ if (undefined === value)
799
+ return true;
800
+ return true;
801
+ }); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
802
+ }
803
+ case ":render.schedulers?": {
804
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
805
+ const value = input[key];
806
+ if (undefined === value)
807
+ return true;
808
+ return Array.isArray(value) && value.every(elem => "number" === typeof elem);
809
+ }); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
810
+ }
811
+ case ":revs?": {
812
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
813
+ }
814
+ case ":role.tags": {
815
+ return (() => { const _io0 = input => Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
816
+ }
817
+ case ":script": {
818
+ return (() => { const _io0 = input => "string" === typeof input.value; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
819
+ }
820
+ case ":script?": {
821
+ return (() => { const _io0 = input => "object" === typeof input.value && null !== input.value && _io1(input.value); const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "center" === input.format || "left" === input.format || "start" === input.format || "right" === input.format || "end" === input.format || "justify" === input.format) && "number" === typeof input.indent && (undefined === input.textFormat || "number" === typeof input.textFormat) && (undefined === input.textStyle || "string" === typeof input.textStyle); const _io3 = input => Object.keys(input).every(key => {
822
+ const value = input[key];
823
+ if (undefined === value)
824
+ return true;
825
+ return true;
826
+ }); const _io4 = input => "string" === typeof input.type && "number" === typeof input.version && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
827
+ }
828
+ case ":script.revisions?": {
829
+ return (() => { const _io0 = input => Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.id && "string" === typeof input.userId; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
830
+ }
831
+ case ":script.revision": {
832
+ return (() => { const _io0 = input => "string" === typeof input.$parent && "string" === typeof input.scriptId && "string" === typeof input.userId && "string" === typeof input.value; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
833
+ }
834
+ case ":script.revision?": {
835
+ return (() => { const _io0 = input => "string" === typeof input.$parent && "string" === typeof input.scriptId && "string" === typeof input.userId && ("object" === typeof input.value && null !== input.value && _io1(input.value)); const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "center" === input.format || "left" === input.format || "start" === input.format || "right" === input.format || "end" === input.format || "justify" === input.format) && "number" === typeof input.indent && (undefined === input.textFormat || "number" === typeof input.textFormat) && (undefined === input.textStyle || "string" === typeof input.textStyle); const _io3 = input => Object.keys(input).every(key => {
836
+ const value = input[key];
837
+ if (undefined === value)
838
+ return true;
839
+ return true;
840
+ }); const _io4 = input => "string" === typeof input.type && "number" === typeof input.version && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
841
+ }
842
+ case ":script.content?": {
843
+ return (() => { const _io0 = input => Array.isArray(input.nodes) && input.nodes.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io1 = input => "event" === input.type && "string" === typeof input.id && "string" === typeof input.mixin && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io2 = input => ("text" === input.type || "autolink" === input.type || "link" === input.type) && "string" === typeof input.text && (undefined === input.style || "string" === typeof input.style) && (undefined === input.format || "number" === typeof input.format); const _io3 = input => "listitem" === input.type && "number" === typeof input.value && (undefined === input.checked || "boolean" === typeof input.checked) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io4 = input => "list" === input.type && ("number" === input.listType || "bullet" === input.listType || "check" === input.listType) && ("ul" === input.tag || "ol" === input.tag) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); const _io5 = input => "paragraph" === input.type && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io6 = input => "comment" === input.type && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io7 = input => "heading" === input.type && ("h1" === input.tag || "h2" === input.tag || "h3" === input.tag) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io8 = input => "quote" === input.type && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io9 = input => "horizontalrule" === input.type; const _iu0 = input => (() => {
844
+ if ("event" === input.type)
845
+ return _io1(input);
846
+ else if ("text" === input.type || "autolink" === input.type || "link" === input.type)
847
+ return _io2(input);
848
+ else if ("listitem" === input.type)
849
+ return _io3(input);
850
+ else if ("list" === input.type)
851
+ return _io4(input);
852
+ else if ("quote" === input.type)
853
+ return _io8(input);
854
+ else if ("comment" === input.type)
855
+ return _io6(input);
856
+ else if ("paragraph" === input.type)
857
+ return _io5(input);
858
+ else if ("heading" === input.type)
859
+ return _io7(input);
860
+ else if ("horizontalrule" === input.type)
861
+ return _io9(input);
862
+ else
863
+ return false;
864
+ })(); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
865
+ }
866
+ case ":script.text?": {
867
+ return (() => { const _io0 = input => "string" === typeof input.content && "string" === typeof input.graphics; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
868
+ }
869
+ case ":script.children": {
870
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
871
+ }
872
+ case ":search?": {
873
+ 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); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
874
+ }
875
+ case ":settings": {
876
+ return (() => { const _iv23 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && _io1(input.permission)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io2(input["module"])) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io19(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io24(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io27(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io28(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io29(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io42(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io55(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io57(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && _io58(input.storyboard)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io67(input.print)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io68(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io69(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && _io72(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io73(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io74(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert); const _io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin); const _io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io3(input.tabs); const _io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
877
+ if (["settingsPanelStore"].some(prop => key === prop))
878
+ return true;
879
+ const value = input[key];
880
+ if (undefined === value)
881
+ return true;
882
+ return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
883
+ }); const _io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (undefined === input.activeTab || "string" === typeof input.activeTab); const _io5 = input => undefined === input.activeTab || "string" === typeof input.activeTab; const _io6 = input => (undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping) && (undefined === input.hideStoryboardCollection || "boolean" === typeof input.hideStoryboardCollection) && (undefined === input.displayUploadFilesDialog || "always" === input.displayUploadFilesDialog || "never" === input.displayUploadFilesDialog || "ifMultipleFiles" === input.displayUploadFilesDialog); const _io7 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io8 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io9(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io11(input.createMenu)); const _io9 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || "object" === typeof input.center && null !== input.center && false === Array.isArray(input.center) && _io10(input.center)); const _io10 = input => (undefined === input.lat || "number" === typeof input.lat) && (undefined === input.lon || "number" === typeof input.lon); const _io11 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem); const _io12 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem); const _io13 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io14 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io15 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format); const _io17 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io18 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs); const _io19 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io20(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && _io21(elem))) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.collapsedNodes || "object" === typeof input.collapsedNodes && null !== input.collapsedNodes && false === Array.isArray(input.collapsedNodes) && _io22(input.collapsedNodes)); const _io20 = input => (undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy) && (undefined === input.showPreview || "boolean" === typeof input.showPreview); const _io21 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description); const _io22 = input => Object.keys(input).every(key => {
884
+ const value = input[key];
885
+ if (undefined === value)
886
+ return true;
887
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io23(value);
888
+ }); const _io23 = input => (undefined === input.preview || "boolean" === typeof input.preview) && (undefined === input.children || "boolean" === typeof input.children); const _io24 = input => (undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate) && (undefined === input.favorites || Array.isArray(input.favorites) && input.favorites.every(elem => "string" === typeof elem)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && _io25(input.defaults)); const _io25 = input => Object.keys(input).every(key => {
889
+ const value = input[key];
890
+ if (undefined === value)
891
+ return true;
892
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value);
893
+ }); const _io26 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io27 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails; const _io28 = input => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur) && (undefined === input.float || "rundown" === input.float || "gallery" === input.float || "disabled" === input.float); const _io29 = input => (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io30(input.display)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io32(input.browser)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io33(input.gallery)) && (undefined === input.global || "object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) && _io34(input.global)) && (undefined === input.player || "object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) && _io35(input.player)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io36(input.script)) && (undefined === input.codeEditor || "object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) && _io37(input.codeEditor)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io38(input.bookmarks)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io39(input.edit)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io40(input.rundown)) && (undefined === input.segment || "object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) && _io41(input.segment)); const _io30 = input => Object.keys(input).every(key => {
894
+ const value = input[key];
895
+ if (undefined === value)
896
+ return true;
897
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
898
+ }); const _io31 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.sequence || "string" === typeof input.sequence); const _io32 = input => Object.keys(input).every(key => {
899
+ const value = input[key];
900
+ if (undefined === value)
901
+ return true;
902
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
903
+ }); const _io33 = input => Object.keys(input).every(key => {
904
+ const value = input[key];
905
+ if (undefined === value)
906
+ return true;
907
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
908
+ }); const _io34 = input => Object.keys(input).every(key => {
909
+ const value = input[key];
910
+ if (undefined === value)
911
+ return true;
912
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
913
+ }); const _io35 = input => Object.keys(input).every(key => {
914
+ const value = input[key];
915
+ if (undefined === value)
916
+ return true;
917
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
918
+ }); const _io36 = input => Object.keys(input).every(key => {
919
+ const value = input[key];
920
+ if (undefined === value)
921
+ return true;
922
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
923
+ }); const _io37 = input => Object.keys(input).every(key => {
924
+ const value = input[key];
925
+ if (undefined === value)
926
+ return true;
927
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
928
+ }); const _io38 = input => Object.keys(input).every(key => {
929
+ const value = input[key];
930
+ if (undefined === value)
931
+ return true;
932
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
933
+ }); const _io39 = input => Object.keys(input).every(key => {
934
+ const value = input[key];
935
+ if (undefined === value)
936
+ return true;
937
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
938
+ }); const _io40 = input => Object.keys(input).every(key => {
939
+ const value = input[key];
940
+ if (undefined === value)
941
+ return true;
942
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
943
+ }); const _io41 = input => Object.keys(input).every(key => {
944
+ const value = input[key];
945
+ if (undefined === value)
946
+ return true;
947
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
948
+ }); const _io42 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io43(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io44(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io45(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io49(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io50(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io54(input.openCommand))); const _io43 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io44 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io45 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem))); const _io46 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io47 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io48 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io49 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io50 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io51(input.subtitleDisclaimer); const _io51 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io52(input.defaultValue)); const _io52 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io53(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io53 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io54 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io55 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io56(input.voiceOver)); const _io56 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io57 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io58 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io59(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io60(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io64(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io66(input.item)); const _io59 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io60 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io61(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io63(input.note)); const _io61 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io62(input.excerpt); const _io62 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io63 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io64 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io65(input.search)) && (undefined === input.sortMode || true === _iv23.has(input.sortMode)); const _io65 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io68 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io69 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io70(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io71(input.rive)); const _io70 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io71 = input => undefined === input.template || "string" === typeof input.template; const _io72 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io73 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets); const _io74 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io75(input.events); const _io75 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io76(input.publishSucceeded)); const _io76 = input => Object.keys(input).every(key => {
949
+ const value = input[key];
950
+ if (undefined === value)
951
+ return true;
952
+ return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
953
+ }); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
954
+ }
955
+ case ":storyboard": {
956
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
957
+ const value = input[key];
958
+ if (undefined === value)
959
+ return true;
960
+ return true;
961
+ }); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
962
+ }
963
+ case ":storyboard.pipelines": {
964
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
965
+ }
966
+ case ":subtitle-style": {
967
+ return (() => { const _io0 = input => (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.previewSettings || "object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) && _io1(input.previewSettings)) && (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 _io1 = input => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId) && (undefined === input.text || "string" === typeof input.text); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
968
+ }
969
+ case ":subtitle": {
970
+ return (() => { const _io0 = input => (undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true; const _io1 = input => (undefined === input.lang || "string" === typeof input.lang) && "number" === typeof input.start && "number" === typeof input.end && (undefined === input.text || "string" === typeof input.text); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
971
+ }
972
+ case ":template": {
973
+ 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 => {
974
+ const value = input[key];
975
+ if (undefined === value)
976
+ return true;
977
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
978
+ }); const _io2 = input => undefined === input.path || "string" === typeof input.path; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
979
+ }
980
+ case ":_user-notification-status": {
981
+ return (() => { const _io0 = input => (undefined === input.assignee || "object" === typeof input.assignee && null !== input.assignee && false === Array.isArray(input.assignee) && _io1(input.assignee)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) && _io2(input.published)) && (undefined === input.comment || "object" === typeof input.comment && null !== input.comment && false === Array.isArray(input.comment) && _io3(input.comment)); const _io1 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _io2 = input => undefined === input.value || true === input.value; const _io3 = input => null !== input.value && (undefined === input.value || true === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem)); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
982
+ }
983
+ case ":user-notification": {
984
+ return (() => { const _io0 = input => "assigned" === input.type && ("object" === typeof input.payload && null !== input.payload && _io1(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.triggerId || "string" === typeof input.triggerId); const _io1 = input => "string" === typeof input.assetId && (undefined === input.actionBy || "string" === typeof input.actionBy); const _io2 = input => "unassigned" === input.type && ("object" === typeof input.payload && null !== input.payload && _io3(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.triggerId || "string" === typeof input.triggerId); const _io3 = input => "string" === typeof input.assetId && (undefined === input.actionBy || "string" === typeof input.actionBy); const _io4 = input => "comment" === input.type && ("object" === typeof input.payload && null !== input.payload && _io5(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.triggerId || "string" === typeof input.triggerId); const _io5 = input => "string" === typeof input.commentId; const _io6 = input => "added-to-search" === input.type && ("object" === typeof input.payload && null !== input.payload && _io7(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.triggerId || "string" === typeof input.triggerId); const _io7 = input => "string" === typeof input.searchId && "string" === typeof input.assetId; const _io8 = input => "publishSucceeded" === input.type && ("object" === typeof input.payload && null !== input.payload && _io9(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.triggerId || "string" === typeof input.triggerId); const _io9 = input => (undefined === input.userId || "string" === typeof input.userId) && "string" === typeof input.assetId && "string" === typeof input.publishId && "string" === typeof input.connectionId; const _iu0 = input => (() => {
985
+ if ("publishSucceeded" === input.type)
986
+ return _io8(input);
987
+ else if ("added-to-search" === input.type)
988
+ return _io6(input);
989
+ else if ("comment" === input.type)
990
+ return _io4(input);
991
+ else if ("unassigned" === input.type)
992
+ return _io2(input);
993
+ else if ("assigned" === input.type)
994
+ return _io0(input);
995
+ else
996
+ return false;
997
+ })(); return input => "object" === typeof input && null !== input && _iu0(input); })()(input);
998
+ }
999
+ case ":user-notification.readAt": {
1000
+ return (() => { const _io0 = input => undefined === input.value || "string" === typeof input.value; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
1001
+ }
1002
+ case ":user": {
1003
+ return (() => { const _io0 = input => (undefined === input.username || "string" === typeof input.username) && (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
1004
+ }
1005
+ case ":user.latestSeenNotification": {
1006
+ return (() => { const _io0 = input => undefined === input.value || "string" === typeof input.value; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
1007
+ }
1008
+ case ":user.receivedNotifications?": {
1009
+ return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
1010
+ }
1011
+ case ":user.unseenNotifications?": {
1012
+ return (() => { const _io0 = input => (undefined === input.hasUnseen || "boolean" === typeof input.hasUnseen) && (undefined === input.latestReceived || "string" === typeof input.latestReceived); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
1013
+ }
1014
+ default: throw new Error("Unrecognized domain \"" + domain + "\"");
1015
+ }
1016
+ }
1017
+ }