@nxtedition/types 23.1.8 → 23.1.9

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.
@@ -8236,135 +8236,42 @@ function _validateDomainRecord(domain, input) {
8236
8236
  };
8237
8237
  }; })()(input);
8238
8238
  }
8239
- case ":event": {
8240
- return (() => { const _io0 = input => (null === input.start || undefined === input.start || "number" === typeof input.start) && (null === input.end || undefined === input.end || "number" === typeof input.end) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (undefined === input.position || "string" === typeof input.position) && (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); const _vo0 = (input, _path, _exceptionable = true) => [null === input.start || undefined === input.start || "number" === typeof input.start || _report(_exceptionable, {
8241
- path: _path + ".start",
8242
- expected: "(null | number | undefined)",
8243
- value: input.start
8244
- }), null === input.end || undefined === input.end || "number" === typeof input.end || _report(_exceptionable, {
8245
- path: _path + ".end",
8246
- expected: "(null | number | undefined)",
8247
- value: input.end
8248
- }), null === input.duration || undefined === input.duration || "number" === typeof input.duration || _report(_exceptionable, {
8249
- path: _path + ".duration",
8250
- expected: "(null | number | undefined)",
8251
- value: input.duration
8252
- }), undefined === input.position || "string" === typeof input.position || _report(_exceptionable, {
8253
- path: _path + ".position",
8254
- expected: "(string | undefined)",
8255
- value: input.position
8256
- }), undefined === input.text || "string" === typeof input.text || _report(_exceptionable, {
8257
- path: _path + ".text",
8258
- expected: "(string | undefined)",
8259
- value: input.text
8260
- }), undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
8261
- path: _path + ".lang",
8262
- expected: "(string | undefined)",
8263
- value: input.lang
8264
- }), undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
8265
- path: _path + ".style",
8266
- expected: "(string | undefined)",
8267
- value: input.style
8268
- }), undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || _report(_exceptionable, {
8269
- path: _path + ".styleOverrides",
8270
- expected: "(SubtitleEventStyleOverrides | undefined)",
8271
- value: input.styleOverrides
8272
- })) && _vo1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
8273
- path: _path + ".styleOverrides",
8274
- expected: "(SubtitleEventStyleOverrides | undefined)",
8275
- value: input.styleOverrides
8276
- })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.marginL || "string" === typeof input.marginL || _report(_exceptionable, {
8277
- path: _path + ".marginL",
8278
- expected: "(string | undefined)",
8279
- value: input.marginL
8280
- }), undefined === input.marginR || "string" === typeof input.marginR || _report(_exceptionable, {
8281
- path: _path + ".marginR",
8282
- expected: "(string | undefined)",
8283
- value: input.marginR
8284
- }), undefined === input.marginV || "string" === typeof input.marginV || _report(_exceptionable, {
8285
- path: _path + ".marginV",
8286
- expected: "(string | undefined)",
8287
- value: input.marginV
8288
- }), undefined === input.alignment || "string" === typeof input.alignment || _report(_exceptionable, {
8289
- path: _path + ".alignment",
8290
- expected: "(string | undefined)",
8291
- value: input.alignment
8292
- }), undefined === input.fontname || "string" === typeof input.fontname || _report(_exceptionable, {
8293
- path: _path + ".fontname",
8294
- expected: "(string | undefined)",
8295
- value: input.fontname
8296
- }), undefined === input.fontsize || "string" === typeof input.fontsize || _report(_exceptionable, {
8297
- path: _path + ".fontsize",
8298
- expected: "(string | undefined)",
8299
- value: input.fontsize
8300
- }), undefined === input.primaryColour || "string" === typeof input.primaryColour || _report(_exceptionable, {
8301
- path: _path + ".primaryColour",
8302
- expected: "(string | undefined)",
8303
- value: input.primaryColour
8304
- }), undefined === input.secondaryColour || "string" === typeof input.secondaryColour || _report(_exceptionable, {
8305
- path: _path + ".secondaryColour",
8306
- expected: "(string | undefined)",
8307
- value: input.secondaryColour
8308
- }), undefined === input.outlineColour || "string" === typeof input.outlineColour || _report(_exceptionable, {
8309
- path: _path + ".outlineColour",
8310
- expected: "(string | undefined)",
8311
- value: input.outlineColour
8312
- }), undefined === input.backColour || "string" === typeof input.backColour || _report(_exceptionable, {
8313
- path: _path + ".backColour",
8314
- expected: "(string | undefined)",
8315
- value: input.backColour
8316
- }), undefined === input.bold || "string" === typeof input.bold || _report(_exceptionable, {
8317
- path: _path + ".bold",
8318
- expected: "(string | undefined)",
8319
- value: input.bold
8320
- }), undefined === input.italic || "string" === typeof input.italic || _report(_exceptionable, {
8321
- path: _path + ".italic",
8239
+ case ":template": {
8240
+ return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.controller || "string" === typeof input.controller) && (undefined === input.type || "string" === typeof input.type) && (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 => {
8241
+ const value = input[key];
8242
+ if (undefined === value)
8243
+ return true;
8244
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
8245
+ }); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.type || "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.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io4(input.profile)); const _io4 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io5(input.video)); const _io5 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _io6 = input => (undefined === input.type || "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.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
8246
+ const value = input[key];
8247
+ if (undefined === value)
8248
+ return true;
8249
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
8250
+ }); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
8251
+ if (["type", "readOnly"].some(prop => key === prop))
8252
+ return true;
8253
+ const value = input[key];
8254
+ if (undefined === value)
8255
+ return true;
8256
+ return true;
8257
+ }); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.source || "string" === typeof input.source || _report(_exceptionable, {
8258
+ path: _path + ".source",
8322
8259
  expected: "(string | undefined)",
8323
- value: input.italic
8324
- }), undefined === input.underline || "string" === typeof input.underline || _report(_exceptionable, {
8325
- path: _path + ".underline",
8260
+ value: input.source
8261
+ }), undefined === input.controller || "string" === typeof input.controller || _report(_exceptionable, {
8262
+ path: _path + ".controller",
8326
8263
  expected: "(string | undefined)",
8327
- value: input.underline
8328
- }), undefined === input.strikeOut || "string" === typeof input.strikeOut || _report(_exceptionable, {
8329
- path: _path + ".strikeOut",
8264
+ value: input.controller
8265
+ }), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
8266
+ path: _path + ".type",
8330
8267
  expected: "(string | undefined)",
8331
- value: input.strikeOut
8332
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
8333
- if (false === __is(input)) {
8334
- errors = [];
8335
- _report = __typia_transform__validateReport._validateReport(errors);
8336
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
8337
- path: _path + "",
8338
- expected: "EventRecord",
8339
- value: input
8340
- })) && _vo0(input, _path + "", true) || _report(true, {
8341
- path: _path + "",
8342
- expected: "EventRecord",
8343
- value: input
8344
- }))(input, "$input", true);
8345
- const success = 0 === errors.length;
8346
- return success ? {
8347
- success,
8348
- data: input
8349
- } : {
8350
- success,
8351
- errors,
8352
- data: input
8353
- };
8354
- }
8355
- return {
8356
- success: true,
8357
- data: input
8358
- };
8359
- }; })()(input);
8360
- }
8361
- case ":event._template?": {
8362
- 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)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.mixin || (Array.isArray(input.mixin) || _report(_exceptionable, {
8268
+ value: input.type
8269
+ }), undefined === input.mixin || (Array.isArray(input.mixin) || _report(_exceptionable, {
8363
8270
  path: _path + ".mixin",
8364
8271
  expected: "(Array<string> | undefined)",
8365
8272
  value: input.mixin
8366
- })) && input.mixin.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
8367
- path: _path + ".mixin[" + _index2 + "]",
8273
+ })) && input.mixin.map((elem, _index6) => "string" === typeof elem || _report(_exceptionable, {
8274
+ path: _path + ".mixin[" + _index6 + "]",
8368
8275
  expected: "string",
8369
8276
  value: elem
8370
8277
  })).every(flag => flag) || _report(_exceptionable, {
@@ -8373,110 +8280,877 @@ function _validateDomainRecord(domain, input) {
8373
8280
  value: input.mixin
8374
8281
  }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
8375
8282
  path: _path + ".properties",
8376
- expected: "(object | undefined)",
8283
+ expected: "(Record<string, TemplateProperty> | undefined)",
8377
8284
  value: input.properties
8378
8285
  })) && _vo1(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
8379
8286
  path: _path + ".properties",
8380
- expected: "(object | undefined)",
8287
+ expected: "(Record<string, TemplateProperty> | undefined)",
8381
8288
  value: input.properties
8382
- }), undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || _report(_exceptionable, {
8383
- path: _path + ".layout",
8384
- expected: "(__type | undefined)",
8385
- value: input.layout
8386
- })) && _vo2(input.layout, _path + ".layout", true && _exceptionable) || _report(_exceptionable, {
8387
- path: _path + ".layout",
8388
- expected: "(__type | undefined)",
8389
- value: input.layout
8390
- }), undefined === input.controller || "string" === typeof input.controller || _report(_exceptionable, {
8391
- path: _path + ".controller",
8392
- expected: "(string | undefined)",
8393
- value: input.controller
8394
- })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => true; const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
8395
- path: _path + ".title",
8396
- expected: "(string | undefined)",
8397
- value: input.title
8398
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
8399
- if (false === __is(input)) {
8400
- errors = [];
8401
- _report = __typia_transform__validateReport._validateReport(errors);
8402
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
8403
- path: _path + "",
8404
- expected: "EventTemplateRecord",
8405
- value: input
8406
- })) && _vo0(input, _path + "", true) || _report(true, {
8407
- path: _path + "",
8408
- expected: "EventTemplateRecord",
8409
- value: input
8410
- }))(input, "$input", true);
8411
- const success = 0 === errors.length;
8412
- return success ? {
8413
- success,
8414
- data: input
8415
- } : {
8416
- success,
8417
- errors,
8418
- data: input
8419
- };
8420
- }
8421
- return {
8422
- success: true,
8423
- data: input
8424
- };
8425
- }; })()(input);
8426
- }
8427
- case ":event.overlay?": {
8428
- return (() => { const _io0 = input => Object.keys(input).every(key => {
8429
- const value = input[key];
8430
- if (undefined === value)
8431
- return true;
8432
- return "object" === typeof value && null !== value && _io1(value);
8433
- }); 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.printRundownColor || "string" === typeof input.printRundownColor) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
8434
- if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
8435
- return true;
8436
- const value = input[key];
8437
- if (undefined === value)
8438
- return true;
8439
- 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)));
8440
- }); const _io3 = input => Object.keys(input).every(key => {
8441
- const value = input[key];
8442
- if (undefined === value)
8443
- return true;
8444
- 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)));
8445
- }); 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)))); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
8289
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
8446
8290
  const value = input[key];
8447
8291
  if (undefined === value)
8448
8292
  return true;
8449
- return ("object" === typeof value && null !== value || _report(_exceptionable, {
8293
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
8450
8294
  path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8451
- expected: "__type",
8295
+ expected: "TemplateProperty",
8452
8296
  value: value
8453
- })) && _vo1(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
8297
+ })) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
8454
8298
  path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8455
- expected: "__type",
8299
+ expected: "TemplateProperty",
8456
8300
  value: value
8457
8301
  });
8458
- }).every(flag => flag)].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || _report(_exceptionable, {
8459
- path: _path + ".data",
8460
- expected: "EventPropsRecord",
8461
- value: input.data
8462
- })) && _vo2(input.data, _path + ".data", true && _exceptionable) || _report(_exceptionable, {
8463
- path: _path + ".data",
8464
- expected: "EventPropsRecord",
8465
- value: input.data
8466
- })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.source || "string" === typeof input.source || _report(_exceptionable, {
8467
- path: _path + ".source",
8302
+ }).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
8303
+ path: _path + ".path",
8468
8304
  expected: "(string | undefined)",
8469
- value: input.source
8470
- }), undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard || _report(_exceptionable, {
8471
- path: _path + ".cueCard",
8472
- expected: "(boolean | string | undefined)",
8473
- value: input.cueCard
8474
- }), undefined === input.printRundownColor || "string" === typeof input.printRundownColor || _report(_exceptionable, {
8475
- path: _path + ".printRundownColor",
8305
+ value: input.path
8306
+ }), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
8307
+ path: _path + ".render",
8308
+ expected: "(__type | undefined)",
8309
+ value: input.render
8310
+ })) && _vo3(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
8311
+ path: _path + ".render",
8312
+ expected: "(__type | undefined)",
8313
+ value: input.render
8314
+ }), undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
8315
+ path: _path + ".type",
8316
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
8317
+ value: input.type
8318
+ }), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
8319
+ path: _path + ".title",
8476
8320
  expected: "(string | undefined)",
8477
- value: input.printRundownColor
8478
- }), undefined === input.startTime || "number" === typeof input.startTime || _report(_exceptionable, {
8479
- path: _path + ".startTime",
8321
+ value: input.title
8322
+ }), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
8323
+ path: _path + ".description",
8324
+ expected: "(string | undefined)",
8325
+ value: input.description
8326
+ }), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
8327
+ path: _path + ".required",
8328
+ expected: "(boolean | undefined)",
8329
+ value: input.required
8330
+ }), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
8331
+ path: _path + ".oneOf",
8332
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8333
+ value: input.oneOf
8334
+ })) && input.oneOf.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8335
+ path: _path + ".oneOf[" + _index7 + "]",
8336
+ expected: "SchemaProperty<unknown>",
8337
+ value: elem
8338
+ })) && _vo6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
8339
+ path: _path + ".oneOf[" + _index7 + "]",
8340
+ expected: "SchemaProperty<unknown>",
8341
+ value: elem
8342
+ })).every(flag => flag) || _report(_exceptionable, {
8343
+ path: _path + ".oneOf",
8344
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8345
+ value: input.oneOf
8346
+ }), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
8347
+ path: _path + ".anyOf",
8348
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8349
+ value: input.anyOf
8350
+ })) && input.anyOf.map((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8351
+ path: _path + ".anyOf[" + _index8 + "]",
8352
+ expected: "SchemaProperty<unknown>",
8353
+ value: elem
8354
+ })) && _vo6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
8355
+ path: _path + ".anyOf[" + _index8 + "]",
8356
+ expected: "SchemaProperty<unknown>",
8357
+ value: elem
8358
+ })).every(flag => flag) || _report(_exceptionable, {
8359
+ path: _path + ".anyOf",
8360
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8361
+ value: input.anyOf
8362
+ }), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
8363
+ path: _path + "[\"enum\"]",
8364
+ expected: "(ReadonlyArray<unknown> | undefined)",
8365
+ value: input["enum"]
8366
+ }), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
8367
+ path: _path + ".minItems",
8368
+ expected: "(number | undefined)",
8369
+ value: input.minItems
8370
+ }), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
8371
+ path: _path + ".maxItems",
8372
+ expected: "(number | undefined)",
8373
+ value: input.maxItems
8374
+ }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
8375
+ path: _path + ".items",
8376
+ expected: "(SchemaProperty<unknown> | undefined)",
8377
+ value: input.items
8378
+ })) && _vo6(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
8379
+ path: _path + ".items",
8380
+ expected: "(SchemaProperty<unknown> | undefined)",
8381
+ value: input.items
8382
+ }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
8383
+ path: _path + ".properties",
8384
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
8385
+ value: input.properties
8386
+ })) && _vo7(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
8387
+ path: _path + ".properties",
8388
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
8389
+ value: input.properties
8390
+ }), true, true, (null !== input.widget || _report(_exceptionable, {
8391
+ path: _path + ".widget",
8392
+ expected: "(WidgetOptions | string | undefined)",
8393
+ value: input.widget
8394
+ })) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
8395
+ path: _path + ".widget",
8396
+ expected: "(WidgetOptions | string | undefined)",
8397
+ value: input.widget
8398
+ })) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
8399
+ path: _path + ".widget",
8400
+ expected: "(WidgetOptions | string | undefined)",
8401
+ value: input.widget
8402
+ })), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
8403
+ path: _path + ".placeholder",
8404
+ expected: "(string | undefined)",
8405
+ value: input.placeholder
8406
+ }), undefined === input.helpText || "string" === typeof input.helpText || _report(_exceptionable, {
8407
+ path: _path + ".helpText",
8408
+ expected: "(string | undefined)",
8409
+ value: input.helpText
8410
+ }), undefined === input.invalid || "boolean" === typeof input.invalid || _report(_exceptionable, {
8411
+ path: _path + ".invalid",
8412
+ expected: "(boolean | undefined)",
8413
+ value: input.invalid
8414
+ }), true].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["image" === input.type || _report(_exceptionable, {
8415
+ path: _path + ".type",
8416
+ expected: "\"image\"",
8417
+ value: input.type
8418
+ }), undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || _report(_exceptionable, {
8419
+ path: _path + ".profile",
8420
+ expected: "(__type.o1 | undefined)",
8421
+ value: input.profile
8422
+ })) && _vo4(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
8423
+ path: _path + ".profile",
8424
+ expected: "(__type.o1 | undefined)",
8425
+ value: input.profile
8426
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.format || "string" === typeof input.format || _report(_exceptionable, {
8427
+ path: _path + ".format",
8428
+ expected: "(string | undefined)",
8429
+ value: input.format
8430
+ }), undefined === input.video || ("object" === typeof input.video && null !== input.video || _report(_exceptionable, {
8431
+ path: _path + ".video",
8432
+ expected: "(__type.o2 | undefined)",
8433
+ value: input.video
8434
+ })) && _vo5(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
8435
+ path: _path + ".video",
8436
+ expected: "(__type.o2 | undefined)",
8437
+ value: input.video
8438
+ })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["number" === typeof input.width || _report(_exceptionable, {
8439
+ path: _path + ".width",
8440
+ expected: "number",
8441
+ value: input.width
8442
+ }), "number" === typeof input.height || _report(_exceptionable, {
8443
+ path: _path + ".height",
8444
+ expected: "number",
8445
+ value: input.height
8446
+ }), "cover" === input.fit || _report(_exceptionable, {
8447
+ path: _path + ".fit",
8448
+ expected: "\"cover\"",
8449
+ value: input.fit
8450
+ })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
8451
+ path: _path + ".type",
8452
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
8453
+ value: input.type
8454
+ }), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
8455
+ path: _path + ".title",
8456
+ expected: "(string | undefined)",
8457
+ value: input.title
8458
+ }), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
8459
+ path: _path + ".description",
8460
+ expected: "(string | undefined)",
8461
+ value: input.description
8462
+ }), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
8463
+ path: _path + ".required",
8464
+ expected: "(boolean | undefined)",
8465
+ value: input.required
8466
+ }), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
8467
+ path: _path + ".oneOf",
8468
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8469
+ value: input.oneOf
8470
+ })) && input.oneOf.map((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8471
+ path: _path + ".oneOf[" + _index9 + "]",
8472
+ expected: "SchemaProperty<unknown>",
8473
+ value: elem
8474
+ })) && _vo6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
8475
+ path: _path + ".oneOf[" + _index9 + "]",
8476
+ expected: "SchemaProperty<unknown>",
8477
+ value: elem
8478
+ })).every(flag => flag) || _report(_exceptionable, {
8479
+ path: _path + ".oneOf",
8480
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8481
+ value: input.oneOf
8482
+ }), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
8483
+ path: _path + ".anyOf",
8484
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8485
+ value: input.anyOf
8486
+ })) && input.anyOf.map((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8487
+ path: _path + ".anyOf[" + _index10 + "]",
8488
+ expected: "SchemaProperty<unknown>",
8489
+ value: elem
8490
+ })) && _vo6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
8491
+ path: _path + ".anyOf[" + _index10 + "]",
8492
+ expected: "SchemaProperty<unknown>",
8493
+ value: elem
8494
+ })).every(flag => flag) || _report(_exceptionable, {
8495
+ path: _path + ".anyOf",
8496
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8497
+ value: input.anyOf
8498
+ }), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
8499
+ path: _path + "[\"enum\"]",
8500
+ expected: "(ReadonlyArray<unknown> | undefined)",
8501
+ value: input["enum"]
8502
+ }), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
8503
+ path: _path + ".minItems",
8504
+ expected: "(number | undefined)",
8505
+ value: input.minItems
8506
+ }), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
8507
+ path: _path + ".maxItems",
8508
+ expected: "(number | undefined)",
8509
+ value: input.maxItems
8510
+ }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
8511
+ path: _path + ".items",
8512
+ expected: "(SchemaProperty<unknown> | undefined)",
8513
+ value: input.items
8514
+ })) && _vo6(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
8515
+ path: _path + ".items",
8516
+ expected: "(SchemaProperty<unknown> | undefined)",
8517
+ value: input.items
8518
+ }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
8519
+ path: _path + ".properties",
8520
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
8521
+ value: input.properties
8522
+ })) && _vo7(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
8523
+ path: _path + ".properties",
8524
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
8525
+ value: input.properties
8526
+ }), true, true, (null !== input.widget || _report(_exceptionable, {
8527
+ path: _path + ".widget",
8528
+ expected: "(WidgetOptions | string | undefined)",
8529
+ value: input.widget
8530
+ })) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
8531
+ path: _path + ".widget",
8532
+ expected: "(WidgetOptions | string | undefined)",
8533
+ value: input.widget
8534
+ })) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
8535
+ path: _path + ".widget",
8536
+ expected: "(WidgetOptions | string | undefined)",
8537
+ value: input.widget
8538
+ })), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
8539
+ path: _path + ".placeholder",
8540
+ expected: "(string | undefined)",
8541
+ value: input.placeholder
8542
+ }), undefined === input.helpText || "string" === typeof input.helpText || _report(_exceptionable, {
8543
+ path: _path + ".helpText",
8544
+ expected: "(string | undefined)",
8545
+ value: input.helpText
8546
+ }), undefined === input.invalid || "boolean" === typeof input.invalid || _report(_exceptionable, {
8547
+ path: _path + ".invalid",
8548
+ expected: "(boolean | undefined)",
8549
+ value: input.invalid
8550
+ }), true].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
8551
+ const value = input[key];
8552
+ if (undefined === value)
8553
+ return true;
8554
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
8555
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8556
+ expected: "SchemaProperty<unknown>",
8557
+ value: value
8558
+ })) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
8559
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8560
+ expected: "SchemaProperty<unknown>",
8561
+ value: value
8562
+ });
8563
+ }).every(flag => flag)].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
8564
+ path: _path + ".type",
8565
+ expected: "(string | undefined)",
8566
+ value: input.type
8567
+ }), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
8568
+ path: _path + ".readOnly",
8569
+ expected: "(boolean | undefined)",
8570
+ value: input.readOnly
8571
+ }), false === _exceptionable || Object.keys(input).map(key => {
8572
+ if (["type", "readOnly"].some(prop => key === prop))
8573
+ return true;
8574
+ const value = input[key];
8575
+ if (undefined === value)
8576
+ return true;
8577
+ return true;
8578
+ }).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
8579
+ if (false === __is(input)) {
8580
+ errors = [];
8581
+ _report = __typia_transform__validateReport._validateReport(errors);
8582
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
8583
+ path: _path + "",
8584
+ expected: "TemplateRecord",
8585
+ value: input
8586
+ })) && _vo0(input, _path + "", true) || _report(true, {
8587
+ path: _path + "",
8588
+ expected: "TemplateRecord",
8589
+ value: input
8590
+ }))(input, "$input", true);
8591
+ const success = 0 === errors.length;
8592
+ return success ? {
8593
+ success,
8594
+ data: input
8595
+ } : {
8596
+ success,
8597
+ errors,
8598
+ data: input
8599
+ };
8600
+ }
8601
+ return {
8602
+ success: true,
8603
+ data: input
8604
+ };
8605
+ }; })()(input);
8606
+ }
8607
+ case ":event": {
8608
+ return (() => { const _io0 = input => (null === input.start || undefined === input.start || "number" === typeof input.start) && (null === input.end || undefined === input.end || "number" === typeof input.end) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (undefined === input.position || "string" === typeof input.position) && (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); const _vo0 = (input, _path, _exceptionable = true) => [null === input.start || undefined === input.start || "number" === typeof input.start || _report(_exceptionable, {
8609
+ path: _path + ".start",
8610
+ expected: "(null | number | undefined)",
8611
+ value: input.start
8612
+ }), null === input.end || undefined === input.end || "number" === typeof input.end || _report(_exceptionable, {
8613
+ path: _path + ".end",
8614
+ expected: "(null | number | undefined)",
8615
+ value: input.end
8616
+ }), null === input.duration || undefined === input.duration || "number" === typeof input.duration || _report(_exceptionable, {
8617
+ path: _path + ".duration",
8618
+ expected: "(null | number | undefined)",
8619
+ value: input.duration
8620
+ }), undefined === input.position || "string" === typeof input.position || _report(_exceptionable, {
8621
+ path: _path + ".position",
8622
+ expected: "(string | undefined)",
8623
+ value: input.position
8624
+ }), undefined === input.text || "string" === typeof input.text || _report(_exceptionable, {
8625
+ path: _path + ".text",
8626
+ expected: "(string | undefined)",
8627
+ value: input.text
8628
+ }), undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
8629
+ path: _path + ".lang",
8630
+ expected: "(string | undefined)",
8631
+ value: input.lang
8632
+ }), undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
8633
+ path: _path + ".style",
8634
+ expected: "(string | undefined)",
8635
+ value: input.style
8636
+ }), undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || _report(_exceptionable, {
8637
+ path: _path + ".styleOverrides",
8638
+ expected: "(SubtitleEventStyleOverrides | undefined)",
8639
+ value: input.styleOverrides
8640
+ })) && _vo1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
8641
+ path: _path + ".styleOverrides",
8642
+ expected: "(SubtitleEventStyleOverrides | undefined)",
8643
+ value: input.styleOverrides
8644
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.marginL || "string" === typeof input.marginL || _report(_exceptionable, {
8645
+ path: _path + ".marginL",
8646
+ expected: "(string | undefined)",
8647
+ value: input.marginL
8648
+ }), undefined === input.marginR || "string" === typeof input.marginR || _report(_exceptionable, {
8649
+ path: _path + ".marginR",
8650
+ expected: "(string | undefined)",
8651
+ value: input.marginR
8652
+ }), undefined === input.marginV || "string" === typeof input.marginV || _report(_exceptionable, {
8653
+ path: _path + ".marginV",
8654
+ expected: "(string | undefined)",
8655
+ value: input.marginV
8656
+ }), undefined === input.alignment || "string" === typeof input.alignment || _report(_exceptionable, {
8657
+ path: _path + ".alignment",
8658
+ expected: "(string | undefined)",
8659
+ value: input.alignment
8660
+ }), undefined === input.fontname || "string" === typeof input.fontname || _report(_exceptionable, {
8661
+ path: _path + ".fontname",
8662
+ expected: "(string | undefined)",
8663
+ value: input.fontname
8664
+ }), undefined === input.fontsize || "string" === typeof input.fontsize || _report(_exceptionable, {
8665
+ path: _path + ".fontsize",
8666
+ expected: "(string | undefined)",
8667
+ value: input.fontsize
8668
+ }), undefined === input.primaryColour || "string" === typeof input.primaryColour || _report(_exceptionable, {
8669
+ path: _path + ".primaryColour",
8670
+ expected: "(string | undefined)",
8671
+ value: input.primaryColour
8672
+ }), undefined === input.secondaryColour || "string" === typeof input.secondaryColour || _report(_exceptionable, {
8673
+ path: _path + ".secondaryColour",
8674
+ expected: "(string | undefined)",
8675
+ value: input.secondaryColour
8676
+ }), undefined === input.outlineColour || "string" === typeof input.outlineColour || _report(_exceptionable, {
8677
+ path: _path + ".outlineColour",
8678
+ expected: "(string | undefined)",
8679
+ value: input.outlineColour
8680
+ }), undefined === input.backColour || "string" === typeof input.backColour || _report(_exceptionable, {
8681
+ path: _path + ".backColour",
8682
+ expected: "(string | undefined)",
8683
+ value: input.backColour
8684
+ }), undefined === input.bold || "string" === typeof input.bold || _report(_exceptionable, {
8685
+ path: _path + ".bold",
8686
+ expected: "(string | undefined)",
8687
+ value: input.bold
8688
+ }), undefined === input.italic || "string" === typeof input.italic || _report(_exceptionable, {
8689
+ path: _path + ".italic",
8690
+ expected: "(string | undefined)",
8691
+ value: input.italic
8692
+ }), undefined === input.underline || "string" === typeof input.underline || _report(_exceptionable, {
8693
+ path: _path + ".underline",
8694
+ expected: "(string | undefined)",
8695
+ value: input.underline
8696
+ }), undefined === input.strikeOut || "string" === typeof input.strikeOut || _report(_exceptionable, {
8697
+ path: _path + ".strikeOut",
8698
+ expected: "(string | undefined)",
8699
+ value: input.strikeOut
8700
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
8701
+ if (false === __is(input)) {
8702
+ errors = [];
8703
+ _report = __typia_transform__validateReport._validateReport(errors);
8704
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
8705
+ path: _path + "",
8706
+ expected: "EventRecord",
8707
+ value: input
8708
+ })) && _vo0(input, _path + "", true) || _report(true, {
8709
+ path: _path + "",
8710
+ expected: "EventRecord",
8711
+ value: input
8712
+ }))(input, "$input", true);
8713
+ const success = 0 === errors.length;
8714
+ return success ? {
8715
+ success,
8716
+ data: input
8717
+ } : {
8718
+ success,
8719
+ errors,
8720
+ data: input
8721
+ };
8722
+ }
8723
+ return {
8724
+ success: true,
8725
+ data: input
8726
+ };
8727
+ }; })()(input);
8728
+ }
8729
+ case ":event._template?": {
8730
+ 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) && _io9(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => Object.keys(input).every(key => {
8731
+ const value = input[key];
8732
+ if (undefined === value)
8733
+ return true;
8734
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
8735
+ }); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.type || "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.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io4(input.profile)); const _io4 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io5(input.video)); const _io5 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _io6 = input => (undefined === input.type || "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.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
8736
+ const value = input[key];
8737
+ if (undefined === value)
8738
+ return true;
8739
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
8740
+ }); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
8741
+ if (["type", "readOnly"].some(prop => key === prop))
8742
+ return true;
8743
+ const value = input[key];
8744
+ if (undefined === value)
8745
+ return true;
8746
+ return true;
8747
+ }); const _io9 = input => undefined === input.title || "string" === typeof input.title; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.mixin || (Array.isArray(input.mixin) || _report(_exceptionable, {
8748
+ path: _path + ".mixin",
8749
+ expected: "(Array<string> | undefined)",
8750
+ value: input.mixin
8751
+ })) && input.mixin.map((elem, _index6) => "string" === typeof elem || _report(_exceptionable, {
8752
+ path: _path + ".mixin[" + _index6 + "]",
8753
+ expected: "string",
8754
+ value: elem
8755
+ })).every(flag => flag) || _report(_exceptionable, {
8756
+ path: _path + ".mixin",
8757
+ expected: "(Array<string> | undefined)",
8758
+ value: input.mixin
8759
+ }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
8760
+ path: _path + ".properties",
8761
+ expected: "(Record<string, TemplateProperty> | undefined)",
8762
+ value: input.properties
8763
+ })) && _vo1(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
8764
+ path: _path + ".properties",
8765
+ expected: "(Record<string, TemplateProperty> | undefined)",
8766
+ value: input.properties
8767
+ }), undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || _report(_exceptionable, {
8768
+ path: _path + ".layout",
8769
+ expected: "(__type.o3 | undefined)",
8770
+ value: input.layout
8771
+ })) && _vo9(input.layout, _path + ".layout", true && _exceptionable) || _report(_exceptionable, {
8772
+ path: _path + ".layout",
8773
+ expected: "(__type.o3 | undefined)",
8774
+ value: input.layout
8775
+ }), undefined === input.controller || "string" === typeof input.controller || _report(_exceptionable, {
8776
+ path: _path + ".controller",
8777
+ expected: "(string | undefined)",
8778
+ value: input.controller
8779
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
8780
+ const value = input[key];
8781
+ if (undefined === value)
8782
+ return true;
8783
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
8784
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8785
+ expected: "TemplateProperty",
8786
+ value: value
8787
+ })) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
8788
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8789
+ expected: "TemplateProperty",
8790
+ value: value
8791
+ });
8792
+ }).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
8793
+ path: _path + ".path",
8794
+ expected: "(string | undefined)",
8795
+ value: input.path
8796
+ }), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
8797
+ path: _path + ".render",
8798
+ expected: "(__type | undefined)",
8799
+ value: input.render
8800
+ })) && _vo3(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
8801
+ path: _path + ".render",
8802
+ expected: "(__type | undefined)",
8803
+ value: input.render
8804
+ }), undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
8805
+ path: _path + ".type",
8806
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
8807
+ value: input.type
8808
+ }), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
8809
+ path: _path + ".title",
8810
+ expected: "(string | undefined)",
8811
+ value: input.title
8812
+ }), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
8813
+ path: _path + ".description",
8814
+ expected: "(string | undefined)",
8815
+ value: input.description
8816
+ }), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
8817
+ path: _path + ".required",
8818
+ expected: "(boolean | undefined)",
8819
+ value: input.required
8820
+ }), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
8821
+ path: _path + ".oneOf",
8822
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8823
+ value: input.oneOf
8824
+ })) && input.oneOf.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8825
+ path: _path + ".oneOf[" + _index7 + "]",
8826
+ expected: "SchemaProperty<unknown>",
8827
+ value: elem
8828
+ })) && _vo6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
8829
+ path: _path + ".oneOf[" + _index7 + "]",
8830
+ expected: "SchemaProperty<unknown>",
8831
+ value: elem
8832
+ })).every(flag => flag) || _report(_exceptionable, {
8833
+ path: _path + ".oneOf",
8834
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8835
+ value: input.oneOf
8836
+ }), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
8837
+ path: _path + ".anyOf",
8838
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8839
+ value: input.anyOf
8840
+ })) && input.anyOf.map((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8841
+ path: _path + ".anyOf[" + _index8 + "]",
8842
+ expected: "SchemaProperty<unknown>",
8843
+ value: elem
8844
+ })) && _vo6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
8845
+ path: _path + ".anyOf[" + _index8 + "]",
8846
+ expected: "SchemaProperty<unknown>",
8847
+ value: elem
8848
+ })).every(flag => flag) || _report(_exceptionable, {
8849
+ path: _path + ".anyOf",
8850
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8851
+ value: input.anyOf
8852
+ }), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
8853
+ path: _path + "[\"enum\"]",
8854
+ expected: "(ReadonlyArray<unknown> | undefined)",
8855
+ value: input["enum"]
8856
+ }), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
8857
+ path: _path + ".minItems",
8858
+ expected: "(number | undefined)",
8859
+ value: input.minItems
8860
+ }), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
8861
+ path: _path + ".maxItems",
8862
+ expected: "(number | undefined)",
8863
+ value: input.maxItems
8864
+ }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
8865
+ path: _path + ".items",
8866
+ expected: "(SchemaProperty<unknown> | undefined)",
8867
+ value: input.items
8868
+ })) && _vo6(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
8869
+ path: _path + ".items",
8870
+ expected: "(SchemaProperty<unknown> | undefined)",
8871
+ value: input.items
8872
+ }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
8873
+ path: _path + ".properties",
8874
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
8875
+ value: input.properties
8876
+ })) && _vo7(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
8877
+ path: _path + ".properties",
8878
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
8879
+ value: input.properties
8880
+ }), true, true, (null !== input.widget || _report(_exceptionable, {
8881
+ path: _path + ".widget",
8882
+ expected: "(WidgetOptions | string | undefined)",
8883
+ value: input.widget
8884
+ })) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
8885
+ path: _path + ".widget",
8886
+ expected: "(WidgetOptions | string | undefined)",
8887
+ value: input.widget
8888
+ })) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
8889
+ path: _path + ".widget",
8890
+ expected: "(WidgetOptions | string | undefined)",
8891
+ value: input.widget
8892
+ })), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
8893
+ path: _path + ".placeholder",
8894
+ expected: "(string | undefined)",
8895
+ value: input.placeholder
8896
+ }), undefined === input.helpText || "string" === typeof input.helpText || _report(_exceptionable, {
8897
+ path: _path + ".helpText",
8898
+ expected: "(string | undefined)",
8899
+ value: input.helpText
8900
+ }), undefined === input.invalid || "boolean" === typeof input.invalid || _report(_exceptionable, {
8901
+ path: _path + ".invalid",
8902
+ expected: "(boolean | undefined)",
8903
+ value: input.invalid
8904
+ }), true].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["image" === input.type || _report(_exceptionable, {
8905
+ path: _path + ".type",
8906
+ expected: "\"image\"",
8907
+ value: input.type
8908
+ }), undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || _report(_exceptionable, {
8909
+ path: _path + ".profile",
8910
+ expected: "(__type.o1 | undefined)",
8911
+ value: input.profile
8912
+ })) && _vo4(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
8913
+ path: _path + ".profile",
8914
+ expected: "(__type.o1 | undefined)",
8915
+ value: input.profile
8916
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.format || "string" === typeof input.format || _report(_exceptionable, {
8917
+ path: _path + ".format",
8918
+ expected: "(string | undefined)",
8919
+ value: input.format
8920
+ }), undefined === input.video || ("object" === typeof input.video && null !== input.video || _report(_exceptionable, {
8921
+ path: _path + ".video",
8922
+ expected: "(__type.o2 | undefined)",
8923
+ value: input.video
8924
+ })) && _vo5(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
8925
+ path: _path + ".video",
8926
+ expected: "(__type.o2 | undefined)",
8927
+ value: input.video
8928
+ })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["number" === typeof input.width || _report(_exceptionable, {
8929
+ path: _path + ".width",
8930
+ expected: "number",
8931
+ value: input.width
8932
+ }), "number" === typeof input.height || _report(_exceptionable, {
8933
+ path: _path + ".height",
8934
+ expected: "number",
8935
+ value: input.height
8936
+ }), "cover" === input.fit || _report(_exceptionable, {
8937
+ path: _path + ".fit",
8938
+ expected: "\"cover\"",
8939
+ value: input.fit
8940
+ })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
8941
+ path: _path + ".type",
8942
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
8943
+ value: input.type
8944
+ }), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
8945
+ path: _path + ".title",
8946
+ expected: "(string | undefined)",
8947
+ value: input.title
8948
+ }), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
8949
+ path: _path + ".description",
8950
+ expected: "(string | undefined)",
8951
+ value: input.description
8952
+ }), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
8953
+ path: _path + ".required",
8954
+ expected: "(boolean | undefined)",
8955
+ value: input.required
8956
+ }), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
8957
+ path: _path + ".oneOf",
8958
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8959
+ value: input.oneOf
8960
+ })) && input.oneOf.map((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8961
+ path: _path + ".oneOf[" + _index9 + "]",
8962
+ expected: "SchemaProperty<unknown>",
8963
+ value: elem
8964
+ })) && _vo6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
8965
+ path: _path + ".oneOf[" + _index9 + "]",
8966
+ expected: "SchemaProperty<unknown>",
8967
+ value: elem
8968
+ })).every(flag => flag) || _report(_exceptionable, {
8969
+ path: _path + ".oneOf",
8970
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8971
+ value: input.oneOf
8972
+ }), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
8973
+ path: _path + ".anyOf",
8974
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8975
+ value: input.anyOf
8976
+ })) && input.anyOf.map((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
8977
+ path: _path + ".anyOf[" + _index10 + "]",
8978
+ expected: "SchemaProperty<unknown>",
8979
+ value: elem
8980
+ })) && _vo6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
8981
+ path: _path + ".anyOf[" + _index10 + "]",
8982
+ expected: "SchemaProperty<unknown>",
8983
+ value: elem
8984
+ })).every(flag => flag) || _report(_exceptionable, {
8985
+ path: _path + ".anyOf",
8986
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8987
+ value: input.anyOf
8988
+ }), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
8989
+ path: _path + "[\"enum\"]",
8990
+ expected: "(ReadonlyArray<unknown> | undefined)",
8991
+ value: input["enum"]
8992
+ }), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
8993
+ path: _path + ".minItems",
8994
+ expected: "(number | undefined)",
8995
+ value: input.minItems
8996
+ }), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
8997
+ path: _path + ".maxItems",
8998
+ expected: "(number | undefined)",
8999
+ value: input.maxItems
9000
+ }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
9001
+ path: _path + ".items",
9002
+ expected: "(SchemaProperty<unknown> | undefined)",
9003
+ value: input.items
9004
+ })) && _vo6(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
9005
+ path: _path + ".items",
9006
+ expected: "(SchemaProperty<unknown> | undefined)",
9007
+ value: input.items
9008
+ }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
9009
+ path: _path + ".properties",
9010
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9011
+ value: input.properties
9012
+ })) && _vo7(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
9013
+ path: _path + ".properties",
9014
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9015
+ value: input.properties
9016
+ }), true, true, (null !== input.widget || _report(_exceptionable, {
9017
+ path: _path + ".widget",
9018
+ expected: "(WidgetOptions | string | undefined)",
9019
+ value: input.widget
9020
+ })) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
9021
+ path: _path + ".widget",
9022
+ expected: "(WidgetOptions | string | undefined)",
9023
+ value: input.widget
9024
+ })) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
9025
+ path: _path + ".widget",
9026
+ expected: "(WidgetOptions | string | undefined)",
9027
+ value: input.widget
9028
+ })), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
9029
+ path: _path + ".placeholder",
9030
+ expected: "(string | undefined)",
9031
+ value: input.placeholder
9032
+ }), undefined === input.helpText || "string" === typeof input.helpText || _report(_exceptionable, {
9033
+ path: _path + ".helpText",
9034
+ expected: "(string | undefined)",
9035
+ value: input.helpText
9036
+ }), undefined === input.invalid || "boolean" === typeof input.invalid || _report(_exceptionable, {
9037
+ path: _path + ".invalid",
9038
+ expected: "(boolean | undefined)",
9039
+ value: input.invalid
9040
+ }), true].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
9041
+ const value = input[key];
9042
+ if (undefined === value)
9043
+ return true;
9044
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
9045
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9046
+ expected: "SchemaProperty<unknown>",
9047
+ value: value
9048
+ })) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
9049
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9050
+ expected: "SchemaProperty<unknown>",
9051
+ value: value
9052
+ });
9053
+ }).every(flag => flag)].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
9054
+ path: _path + ".type",
9055
+ expected: "(string | undefined)",
9056
+ value: input.type
9057
+ }), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
9058
+ path: _path + ".readOnly",
9059
+ expected: "(boolean | undefined)",
9060
+ value: input.readOnly
9061
+ }), false === _exceptionable || Object.keys(input).map(key => {
9062
+ if (["type", "readOnly"].some(prop => key === prop))
9063
+ return true;
9064
+ const value = input[key];
9065
+ if (undefined === value)
9066
+ return true;
9067
+ return true;
9068
+ }).every(flag => flag)].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
9069
+ path: _path + ".title",
9070
+ expected: "(string | undefined)",
9071
+ value: input.title
9072
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
9073
+ if (false === __is(input)) {
9074
+ errors = [];
9075
+ _report = __typia_transform__validateReport._validateReport(errors);
9076
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
9077
+ path: _path + "",
9078
+ expected: "EventTemplateRecord",
9079
+ value: input
9080
+ })) && _vo0(input, _path + "", true) || _report(true, {
9081
+ path: _path + "",
9082
+ expected: "EventTemplateRecord",
9083
+ value: input
9084
+ }))(input, "$input", true);
9085
+ const success = 0 === errors.length;
9086
+ return success ? {
9087
+ success,
9088
+ data: input
9089
+ } : {
9090
+ success,
9091
+ errors,
9092
+ data: input
9093
+ };
9094
+ }
9095
+ return {
9096
+ success: true,
9097
+ data: input
9098
+ };
9099
+ }; })()(input);
9100
+ }
9101
+ case ":event.overlay?": {
9102
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
9103
+ const value = input[key];
9104
+ if (undefined === value)
9105
+ return true;
9106
+ return "object" === typeof value && null !== value && _io1(value);
9107
+ }); 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.printRundownColor || "string" === typeof input.printRundownColor) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
9108
+ if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
9109
+ return true;
9110
+ const value = input[key];
9111
+ if (undefined === value)
9112
+ return true;
9113
+ 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)));
9114
+ }); const _io3 = input => Object.keys(input).every(key => {
9115
+ const value = input[key];
9116
+ if (undefined === value)
9117
+ return true;
9118
+ 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)));
9119
+ }); 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)))); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
9120
+ const value = input[key];
9121
+ if (undefined === value)
9122
+ return true;
9123
+ return ("object" === typeof value && null !== value || _report(_exceptionable, {
9124
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9125
+ expected: "__type",
9126
+ value: value
9127
+ })) && _vo1(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
9128
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9129
+ expected: "__type",
9130
+ value: value
9131
+ });
9132
+ }).every(flag => flag)].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || _report(_exceptionable, {
9133
+ path: _path + ".data",
9134
+ expected: "EventPropsRecord",
9135
+ value: input.data
9136
+ })) && _vo2(input.data, _path + ".data", true && _exceptionable) || _report(_exceptionable, {
9137
+ path: _path + ".data",
9138
+ expected: "EventPropsRecord",
9139
+ value: input.data
9140
+ })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.source || "string" === typeof input.source || _report(_exceptionable, {
9141
+ path: _path + ".source",
9142
+ expected: "(string | undefined)",
9143
+ value: input.source
9144
+ }), undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard || _report(_exceptionable, {
9145
+ path: _path + ".cueCard",
9146
+ expected: "(boolean | string | undefined)",
9147
+ value: input.cueCard
9148
+ }), undefined === input.printRundownColor || "string" === typeof input.printRundownColor || _report(_exceptionable, {
9149
+ path: _path + ".printRundownColor",
9150
+ expected: "(string | undefined)",
9151
+ value: input.printRundownColor
9152
+ }), undefined === input.startTime || "number" === typeof input.startTime || _report(_exceptionable, {
9153
+ path: _path + ".startTime",
8480
9154
  expected: "(number | undefined)",
8481
9155
  value: input.startTime
8482
9156
  }), (null !== input.shotboxGroup || _report(_exceptionable, {
@@ -8589,12 +9263,29 @@ function _validateDomainRecord(domain, input) {
8589
9263
  }; })()(input);
8590
9264
  }
8591
9265
  case ":event.template?": {
8592
- 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)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.mixin || (Array.isArray(input.mixin) || _report(_exceptionable, {
9266
+ 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) && _io9(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => Object.keys(input).every(key => {
9267
+ const value = input[key];
9268
+ if (undefined === value)
9269
+ return true;
9270
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
9271
+ }); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.type || "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.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io4(input.profile)); const _io4 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io5(input.video)); const _io5 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _io6 = input => (undefined === input.type || "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.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
9272
+ const value = input[key];
9273
+ if (undefined === value)
9274
+ return true;
9275
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
9276
+ }); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
9277
+ if (["type", "readOnly"].some(prop => key === prop))
9278
+ return true;
9279
+ const value = input[key];
9280
+ if (undefined === value)
9281
+ return true;
9282
+ return true;
9283
+ }); const _io9 = input => undefined === input.title || "string" === typeof input.title; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.mixin || (Array.isArray(input.mixin) || _report(_exceptionable, {
8593
9284
  path: _path + ".mixin",
8594
9285
  expected: "(Array<string> | undefined)",
8595
9286
  value: input.mixin
8596
- })) && input.mixin.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
8597
- path: _path + ".mixin[" + _index2 + "]",
9287
+ })) && input.mixin.map((elem, _index6) => "string" === typeof elem || _report(_exceptionable, {
9288
+ path: _path + ".mixin[" + _index6 + "]",
8598
9289
  expected: "string",
8599
9290
  value: elem
8600
9291
  })).every(flag => flag) || _report(_exceptionable, {
@@ -8603,25 +9294,314 @@ function _validateDomainRecord(domain, input) {
8603
9294
  value: input.mixin
8604
9295
  }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
8605
9296
  path: _path + ".properties",
8606
- expected: "(object | undefined)",
9297
+ expected: "(Record<string, TemplateProperty> | undefined)",
8607
9298
  value: input.properties
8608
9299
  })) && _vo1(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
8609
9300
  path: _path + ".properties",
8610
- expected: "(object | undefined)",
9301
+ expected: "(Record<string, TemplateProperty> | undefined)",
8611
9302
  value: input.properties
8612
9303
  }), undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || _report(_exceptionable, {
8613
9304
  path: _path + ".layout",
8614
- expected: "(__type | undefined)",
9305
+ expected: "(__type.o3 | undefined)",
8615
9306
  value: input.layout
8616
- })) && _vo2(input.layout, _path + ".layout", true && _exceptionable) || _report(_exceptionable, {
9307
+ })) && _vo9(input.layout, _path + ".layout", true && _exceptionable) || _report(_exceptionable, {
8617
9308
  path: _path + ".layout",
8618
- expected: "(__type | undefined)",
9309
+ expected: "(__type.o3 | undefined)",
8619
9310
  value: input.layout
8620
9311
  }), undefined === input.controller || "string" === typeof input.controller || _report(_exceptionable, {
8621
9312
  path: _path + ".controller",
8622
9313
  expected: "(string | undefined)",
8623
- value: input.controller
8624
- })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => true; const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
9314
+ value: input.controller
9315
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
9316
+ const value = input[key];
9317
+ if (undefined === value)
9318
+ return true;
9319
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
9320
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9321
+ expected: "TemplateProperty",
9322
+ value: value
9323
+ })) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
9324
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9325
+ expected: "TemplateProperty",
9326
+ value: value
9327
+ });
9328
+ }).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
9329
+ path: _path + ".path",
9330
+ expected: "(string | undefined)",
9331
+ value: input.path
9332
+ }), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
9333
+ path: _path + ".render",
9334
+ expected: "(__type | undefined)",
9335
+ value: input.render
9336
+ })) && _vo3(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
9337
+ path: _path + ".render",
9338
+ expected: "(__type | undefined)",
9339
+ value: input.render
9340
+ }), undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
9341
+ path: _path + ".type",
9342
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
9343
+ value: input.type
9344
+ }), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
9345
+ path: _path + ".title",
9346
+ expected: "(string | undefined)",
9347
+ value: input.title
9348
+ }), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
9349
+ path: _path + ".description",
9350
+ expected: "(string | undefined)",
9351
+ value: input.description
9352
+ }), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
9353
+ path: _path + ".required",
9354
+ expected: "(boolean | undefined)",
9355
+ value: input.required
9356
+ }), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
9357
+ path: _path + ".oneOf",
9358
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9359
+ value: input.oneOf
9360
+ })) && input.oneOf.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
9361
+ path: _path + ".oneOf[" + _index7 + "]",
9362
+ expected: "SchemaProperty<unknown>",
9363
+ value: elem
9364
+ })) && _vo6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
9365
+ path: _path + ".oneOf[" + _index7 + "]",
9366
+ expected: "SchemaProperty<unknown>",
9367
+ value: elem
9368
+ })).every(flag => flag) || _report(_exceptionable, {
9369
+ path: _path + ".oneOf",
9370
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9371
+ value: input.oneOf
9372
+ }), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
9373
+ path: _path + ".anyOf",
9374
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9375
+ value: input.anyOf
9376
+ })) && input.anyOf.map((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
9377
+ path: _path + ".anyOf[" + _index8 + "]",
9378
+ expected: "SchemaProperty<unknown>",
9379
+ value: elem
9380
+ })) && _vo6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
9381
+ path: _path + ".anyOf[" + _index8 + "]",
9382
+ expected: "SchemaProperty<unknown>",
9383
+ value: elem
9384
+ })).every(flag => flag) || _report(_exceptionable, {
9385
+ path: _path + ".anyOf",
9386
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9387
+ value: input.anyOf
9388
+ }), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
9389
+ path: _path + "[\"enum\"]",
9390
+ expected: "(ReadonlyArray<unknown> | undefined)",
9391
+ value: input["enum"]
9392
+ }), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
9393
+ path: _path + ".minItems",
9394
+ expected: "(number | undefined)",
9395
+ value: input.minItems
9396
+ }), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
9397
+ path: _path + ".maxItems",
9398
+ expected: "(number | undefined)",
9399
+ value: input.maxItems
9400
+ }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
9401
+ path: _path + ".items",
9402
+ expected: "(SchemaProperty<unknown> | undefined)",
9403
+ value: input.items
9404
+ })) && _vo6(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
9405
+ path: _path + ".items",
9406
+ expected: "(SchemaProperty<unknown> | undefined)",
9407
+ value: input.items
9408
+ }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
9409
+ path: _path + ".properties",
9410
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9411
+ value: input.properties
9412
+ })) && _vo7(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
9413
+ path: _path + ".properties",
9414
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9415
+ value: input.properties
9416
+ }), true, true, (null !== input.widget || _report(_exceptionable, {
9417
+ path: _path + ".widget",
9418
+ expected: "(WidgetOptions | string | undefined)",
9419
+ value: input.widget
9420
+ })) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
9421
+ path: _path + ".widget",
9422
+ expected: "(WidgetOptions | string | undefined)",
9423
+ value: input.widget
9424
+ })) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
9425
+ path: _path + ".widget",
9426
+ expected: "(WidgetOptions | string | undefined)",
9427
+ value: input.widget
9428
+ })), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
9429
+ path: _path + ".placeholder",
9430
+ expected: "(string | undefined)",
9431
+ value: input.placeholder
9432
+ }), undefined === input.helpText || "string" === typeof input.helpText || _report(_exceptionable, {
9433
+ path: _path + ".helpText",
9434
+ expected: "(string | undefined)",
9435
+ value: input.helpText
9436
+ }), undefined === input.invalid || "boolean" === typeof input.invalid || _report(_exceptionable, {
9437
+ path: _path + ".invalid",
9438
+ expected: "(boolean | undefined)",
9439
+ value: input.invalid
9440
+ }), true].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["image" === input.type || _report(_exceptionable, {
9441
+ path: _path + ".type",
9442
+ expected: "\"image\"",
9443
+ value: input.type
9444
+ }), undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || _report(_exceptionable, {
9445
+ path: _path + ".profile",
9446
+ expected: "(__type.o1 | undefined)",
9447
+ value: input.profile
9448
+ })) && _vo4(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
9449
+ path: _path + ".profile",
9450
+ expected: "(__type.o1 | undefined)",
9451
+ value: input.profile
9452
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.format || "string" === typeof input.format || _report(_exceptionable, {
9453
+ path: _path + ".format",
9454
+ expected: "(string | undefined)",
9455
+ value: input.format
9456
+ }), undefined === input.video || ("object" === typeof input.video && null !== input.video || _report(_exceptionable, {
9457
+ path: _path + ".video",
9458
+ expected: "(__type.o2 | undefined)",
9459
+ value: input.video
9460
+ })) && _vo5(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
9461
+ path: _path + ".video",
9462
+ expected: "(__type.o2 | undefined)",
9463
+ value: input.video
9464
+ })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["number" === typeof input.width || _report(_exceptionable, {
9465
+ path: _path + ".width",
9466
+ expected: "number",
9467
+ value: input.width
9468
+ }), "number" === typeof input.height || _report(_exceptionable, {
9469
+ path: _path + ".height",
9470
+ expected: "number",
9471
+ value: input.height
9472
+ }), "cover" === input.fit || _report(_exceptionable, {
9473
+ path: _path + ".fit",
9474
+ expected: "\"cover\"",
9475
+ value: input.fit
9476
+ })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
9477
+ path: _path + ".type",
9478
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
9479
+ value: input.type
9480
+ }), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
9481
+ path: _path + ".title",
9482
+ expected: "(string | undefined)",
9483
+ value: input.title
9484
+ }), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
9485
+ path: _path + ".description",
9486
+ expected: "(string | undefined)",
9487
+ value: input.description
9488
+ }), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
9489
+ path: _path + ".required",
9490
+ expected: "(boolean | undefined)",
9491
+ value: input.required
9492
+ }), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
9493
+ path: _path + ".oneOf",
9494
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9495
+ value: input.oneOf
9496
+ })) && input.oneOf.map((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
9497
+ path: _path + ".oneOf[" + _index9 + "]",
9498
+ expected: "SchemaProperty<unknown>",
9499
+ value: elem
9500
+ })) && _vo6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
9501
+ path: _path + ".oneOf[" + _index9 + "]",
9502
+ expected: "SchemaProperty<unknown>",
9503
+ value: elem
9504
+ })).every(flag => flag) || _report(_exceptionable, {
9505
+ path: _path + ".oneOf",
9506
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9507
+ value: input.oneOf
9508
+ }), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
9509
+ path: _path + ".anyOf",
9510
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9511
+ value: input.anyOf
9512
+ })) && input.anyOf.map((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
9513
+ path: _path + ".anyOf[" + _index10 + "]",
9514
+ expected: "SchemaProperty<unknown>",
9515
+ value: elem
9516
+ })) && _vo6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
9517
+ path: _path + ".anyOf[" + _index10 + "]",
9518
+ expected: "SchemaProperty<unknown>",
9519
+ value: elem
9520
+ })).every(flag => flag) || _report(_exceptionable, {
9521
+ path: _path + ".anyOf",
9522
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9523
+ value: input.anyOf
9524
+ }), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
9525
+ path: _path + "[\"enum\"]",
9526
+ expected: "(ReadonlyArray<unknown> | undefined)",
9527
+ value: input["enum"]
9528
+ }), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
9529
+ path: _path + ".minItems",
9530
+ expected: "(number | undefined)",
9531
+ value: input.minItems
9532
+ }), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
9533
+ path: _path + ".maxItems",
9534
+ expected: "(number | undefined)",
9535
+ value: input.maxItems
9536
+ }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
9537
+ path: _path + ".items",
9538
+ expected: "(SchemaProperty<unknown> | undefined)",
9539
+ value: input.items
9540
+ })) && _vo6(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
9541
+ path: _path + ".items",
9542
+ expected: "(SchemaProperty<unknown> | undefined)",
9543
+ value: input.items
9544
+ }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
9545
+ path: _path + ".properties",
9546
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9547
+ value: input.properties
9548
+ })) && _vo7(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
9549
+ path: _path + ".properties",
9550
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9551
+ value: input.properties
9552
+ }), true, true, (null !== input.widget || _report(_exceptionable, {
9553
+ path: _path + ".widget",
9554
+ expected: "(WidgetOptions | string | undefined)",
9555
+ value: input.widget
9556
+ })) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || _report(_exceptionable, {
9557
+ path: _path + ".widget",
9558
+ expected: "(WidgetOptions | string | undefined)",
9559
+ value: input.widget
9560
+ })) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
9561
+ path: _path + ".widget",
9562
+ expected: "(WidgetOptions | string | undefined)",
9563
+ value: input.widget
9564
+ })), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
9565
+ path: _path + ".placeholder",
9566
+ expected: "(string | undefined)",
9567
+ value: input.placeholder
9568
+ }), undefined === input.helpText || "string" === typeof input.helpText || _report(_exceptionable, {
9569
+ path: _path + ".helpText",
9570
+ expected: "(string | undefined)",
9571
+ value: input.helpText
9572
+ }), undefined === input.invalid || "boolean" === typeof input.invalid || _report(_exceptionable, {
9573
+ path: _path + ".invalid",
9574
+ expected: "(boolean | undefined)",
9575
+ value: input.invalid
9576
+ }), true].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
9577
+ const value = input[key];
9578
+ if (undefined === value)
9579
+ return true;
9580
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
9581
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9582
+ expected: "SchemaProperty<unknown>",
9583
+ value: value
9584
+ })) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
9585
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9586
+ expected: "SchemaProperty<unknown>",
9587
+ value: value
9588
+ });
9589
+ }).every(flag => flag)].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
9590
+ path: _path + ".type",
9591
+ expected: "(string | undefined)",
9592
+ value: input.type
9593
+ }), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
9594
+ path: _path + ".readOnly",
9595
+ expected: "(boolean | undefined)",
9596
+ value: input.readOnly
9597
+ }), false === _exceptionable || Object.keys(input).map(key => {
9598
+ if (["type", "readOnly"].some(prop => key === prop))
9599
+ return true;
9600
+ const value = input[key];
9601
+ if (undefined === value)
9602
+ return true;
9603
+ return true;
9604
+ }).every(flag => flag)].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
8625
9605
  path: _path + ".title",
8626
9606
  expected: "(string | undefined)",
8627
9607
  value: input.title
@@ -11215,7 +12195,17 @@ function _validateDomainRecord(domain, input) {
11215
12195
  if (undefined === value)
11216
12196
  return true;
11217
12197
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
11218
- }); 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 => (() => {
12198
+ }); const _io1 = input => (undefined === input.patch || Array.isArray(input.patch) && input.patch.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))) && (undefined === input.speakerLabels || "object" === typeof input.speakerLabels && null !== input.speakerLabels && false === Array.isArray(input.speakerLabels) && _io8(input.speakerLabels)) && (undefined === input.speakerRemaps || "object" === typeof input.speakerRemaps && null !== input.speakerRemaps && false === Array.isArray(input.speakerRemaps) && _io9(input.speakerRemaps)); 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 _io8 = input => Object.keys(input).every(key => {
12199
+ const value = input[key];
12200
+ if (undefined === value)
12201
+ return true;
12202
+ return "string" === typeof value;
12203
+ }); const _io9 = input => Object.keys(input).every(key => {
12204
+ const value = input[key];
12205
+ if (undefined === value)
12206
+ return true;
12207
+ return "string" === typeof value;
12208
+ }); const _iu0 = input => (() => {
11219
12209
  if ("add" === input.op)
11220
12210
  return _io2(input);
11221
12211
  else if ("remove" === input.op)
@@ -11259,6 +12249,22 @@ function _validateDomainRecord(domain, input) {
11259
12249
  path: _path + ".patch",
11260
12250
  expected: "(Array<Operation> | undefined)",
11261
12251
  value: input.patch
12252
+ }), undefined === input.speakerLabels || ("object" === typeof input.speakerLabels && null !== input.speakerLabels && false === Array.isArray(input.speakerLabels) || _report(_exceptionable, {
12253
+ path: _path + ".speakerLabels",
12254
+ expected: "(__type | undefined)",
12255
+ value: input.speakerLabels
12256
+ })) && _vo8(input.speakerLabels, _path + ".speakerLabels", true && _exceptionable) || _report(_exceptionable, {
12257
+ path: _path + ".speakerLabels",
12258
+ expected: "(__type | undefined)",
12259
+ value: input.speakerLabels
12260
+ }), undefined === input.speakerRemaps || ("object" === typeof input.speakerRemaps && null !== input.speakerRemaps && false === Array.isArray(input.speakerRemaps) || _report(_exceptionable, {
12261
+ path: _path + ".speakerRemaps",
12262
+ expected: "(__type.o1 | undefined)",
12263
+ value: input.speakerRemaps
12264
+ })) && _vo9(input.speakerRemaps, _path + ".speakerRemaps", true && _exceptionable) || _report(_exceptionable, {
12265
+ path: _path + ".speakerRemaps",
12266
+ expected: "(__type.o1 | undefined)",
12267
+ value: input.speakerRemaps
11262
12268
  })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["add" === input.op || _report(_exceptionable, {
11263
12269
  path: _path + ".op",
11264
12270
  expected: "\"add\"",
@@ -11315,7 +12321,25 @@ function _validateDomainRecord(domain, input) {
11315
12321
  path: _path + ".path",
11316
12322
  expected: "string",
11317
12323
  value: input.path
11318
- }), true].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
12324
+ }), true].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
12325
+ const value = input[key];
12326
+ if (undefined === value)
12327
+ return true;
12328
+ return "string" === typeof value || _report(_exceptionable, {
12329
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
12330
+ expected: "string",
12331
+ value: value
12332
+ });
12333
+ }).every(flag => flag)].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
12334
+ const value = input[key];
12335
+ if (undefined === value)
12336
+ return true;
12337
+ return "string" === typeof value || _report(_exceptionable, {
12338
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
12339
+ expected: "string",
12340
+ value: value
12341
+ });
12342
+ }).every(flag => flag)].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
11319
12343
  if ("add" === input.op)
11320
12344
  return _vo2(input, _path, true && _exceptionable);
11321
12345
  else if ("remove" === input.op)
@@ -21184,7 +22208,7 @@ function _validateDomainRecord(domain, input) {
21184
22208
  if (undefined === value)
21185
22209
  return true;
21186
22210
  return true;
21187
- }); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (null === input.subtitle || undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(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) && _io40(input.tile)) && (undefined === input.showTimeCode || "boolean" === typeof input.showTimeCode) && (undefined === input.timecodeReference || "default" === input.timecodeReference || "subclip" === 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) && _io41(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) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = 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 _io41 = 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) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = 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 _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = 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 _io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = 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) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = 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 _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = 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 _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv38.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io71 = input => "script" === input.type && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)); const _io72 = input => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every(elem => "object" === typeof elem && null !== elem && _io73(elem))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily); const _io73 = input => ("type" === input.key || "title" === input.key || "id" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key) && "string" === typeof input.label && "string" === typeof input.width && ("right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign); const _io74 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io75 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive)); const _io76 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.renderPresets || Array.isArray(input.renderPresets) && input.renderPresets.every(elem => "string" === typeof elem)) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io77(input.bodymovin)); const _io77 = input => undefined === input.template || "string" === typeof input.template; const _io78 = input => undefined === input.template || "string" === typeof input.template; const _io79 = input => undefined === input.template || "string" === typeof input.template; const _io80 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io81 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (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.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io82 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events); const _io83 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io84(input.publishSucceeded)); const _io84 = input => Object.keys(input).every(key => {
22211
+ }); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (null === input.subtitle || undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(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) && _io40(input.tile)) && (undefined === input.showTimeCode || "boolean" === typeof input.showTimeCode) && (undefined === input.timecodeReference || "default" === input.timecodeReference || "subclip" === 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) && _io41(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) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = 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 _io41 = 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) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = 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 _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = 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 _io46 = input => (undefined === input.showSpeakers || "boolean" === typeof input.showSpeakers) && (undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer)); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = 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) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = 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 _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = 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 _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv38.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io71 = input => "script" === input.type && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)); const _io72 = input => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every(elem => "object" === typeof elem && null !== elem && _io73(elem))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily); const _io73 = input => ("type" === input.key || "title" === input.key || "id" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key) && "string" === typeof input.label && "string" === typeof input.width && ("right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign); const _io74 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io75 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive)); const _io76 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.renderPresets || Array.isArray(input.renderPresets) && input.renderPresets.every(elem => "string" === typeof elem)) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io77(input.bodymovin)); const _io77 = input => undefined === input.template || "string" === typeof input.template; const _io78 = input => undefined === input.template || "string" === typeof input.template; const _io79 = input => undefined === input.template || "string" === typeof input.template; const _io80 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io81 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (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.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io82 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events); const _io83 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io84(input.publishSucceeded)); const _io84 = input => Object.keys(input).every(key => {
21188
22212
  const value = input[key];
21189
22213
  if (undefined === value)
21190
22214
  return true;
@@ -22498,7 +23522,11 @@ function _validateDomainRecord(domain, input) {
22498
23522
  path: _path + ".defaultExitOption",
22499
23523
  expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
22500
23524
  value: input.defaultExitOption
22501
- })].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || _report(_exceptionable, {
23525
+ })].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [undefined === input.showSpeakers || "boolean" === typeof input.showSpeakers || _report(_exceptionable, {
23526
+ path: _path + ".showSpeakers",
23527
+ expected: "(boolean | undefined)",
23528
+ value: input.showSpeakers
23529
+ }), undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || _report(_exceptionable, {
22502
23530
  path: _path + ".subtitleDisclaimer",
22503
23531
  expected: "(__type.o37 | undefined)",
22504
23532
  value: input.subtitleDisclaimer
@@ -24987,244 +26015,6 @@ function _validateDomainRecord(domain, input) {
24987
26015
  };
24988
26016
  }; })()(input);
24989
26017
  }
24990
- case ":template": {
24991
- return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.controller || "string" === typeof input.controller) && (undefined === input.type || "string" === typeof input.type) && (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 => {
24992
- const value = input[key];
24993
- if (undefined === value)
24994
- return true;
24995
- return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
24996
- }); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.label || "string" === typeof input.label) && (undefined === input.defaultValue || "string" === typeof input.defaultValue) && (undefined === input.widget || "object" === typeof input.widget && null !== input.widget && _io3(input.widget)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io5(input.items)) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io9(input.render)); const _io3 = input => "string" === typeof input.type; const _io4 = input => true; const _io5 = input => undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io6(input.properties); const _io6 = input => Object.keys(input).every(key => {
24997
- const value = input[key];
24998
- if (undefined === value)
24999
- return true;
25000
- return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
25001
- }); const _io7 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.label || "string" === typeof input.label) && (undefined === input.defaultValue || "string" === typeof input.defaultValue) && (undefined === input.widget || "object" === typeof input.widget && null !== input.widget && _io8(input.widget)) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io7(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io6(input.properties)); const _io8 = input => "string" === typeof input.type; const _io9 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io10(input.profile)); const _io10 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io11(input.video)); const _io11 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.source || "string" === typeof input.source || _report(_exceptionable, {
25002
- path: _path + ".source",
25003
- expected: "(string | undefined)",
25004
- value: input.source
25005
- }), undefined === input.controller || "string" === typeof input.controller || _report(_exceptionable, {
25006
- path: _path + ".controller",
25007
- expected: "(string | undefined)",
25008
- value: input.controller
25009
- }), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
25010
- path: _path + ".type",
25011
- expected: "(string | undefined)",
25012
- value: input.type
25013
- }), undefined === input.mixin || (Array.isArray(input.mixin) || _report(_exceptionable, {
25014
- path: _path + ".mixin",
25015
- expected: "(Array<string> | undefined)",
25016
- value: input.mixin
25017
- })) && input.mixin.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
25018
- path: _path + ".mixin[" + _index2 + "]",
25019
- expected: "string",
25020
- value: elem
25021
- })).every(flag => flag) || _report(_exceptionable, {
25022
- path: _path + ".mixin",
25023
- expected: "(Array<string> | undefined)",
25024
- value: input.mixin
25025
- }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
25026
- path: _path + ".properties",
25027
- expected: "(Record<string, TemplateProperty> | undefined)",
25028
- value: input.properties
25029
- })) && _vo1(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
25030
- path: _path + ".properties",
25031
- expected: "(Record<string, TemplateProperty> | undefined)",
25032
- value: input.properties
25033
- })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
25034
- const value = input[key];
25035
- if (undefined === value)
25036
- return true;
25037
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
25038
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
25039
- expected: "TemplateProperty",
25040
- value: value
25041
- })) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
25042
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
25043
- expected: "TemplateProperty",
25044
- value: value
25045
- });
25046
- }).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
25047
- path: _path + ".path",
25048
- expected: "(string | undefined)",
25049
- value: input.path
25050
- }), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
25051
- path: _path + ".type",
25052
- expected: "(string | undefined)",
25053
- value: input.type
25054
- }), undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
25055
- path: _path + ".label",
25056
- expected: "(string | undefined)",
25057
- value: input.label
25058
- }), undefined === input.defaultValue || "string" === typeof input.defaultValue || _report(_exceptionable, {
25059
- path: _path + ".defaultValue",
25060
- expected: "(string | undefined)",
25061
- value: input.defaultValue
25062
- }), undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || _report(_exceptionable, {
25063
- path: _path + ".widget",
25064
- expected: "(__type | undefined)",
25065
- value: input.widget
25066
- })) && _vo3(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
25067
- path: _path + ".widget",
25068
- expected: "(__type | undefined)",
25069
- value: input.widget
25070
- }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
25071
- path: _path + ".properties",
25072
- expected: "(object | undefined)",
25073
- value: input.properties
25074
- })) && _vo4(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
25075
- path: _path + ".properties",
25076
- expected: "(object | undefined)",
25077
- value: input.properties
25078
- }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
25079
- path: _path + ".items",
25080
- expected: "(__type.o1 | undefined)",
25081
- value: input.items
25082
- })) && _vo5(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
25083
- path: _path + ".items",
25084
- expected: "(__type.o1 | undefined)",
25085
- value: input.items
25086
- }), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
25087
- path: _path + ".render",
25088
- expected: "(__type.o3 | undefined)",
25089
- value: input.render
25090
- })) && _vo9(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
25091
- path: _path + ".render",
25092
- expected: "(__type.o3 | undefined)",
25093
- value: input.render
25094
- })].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
25095
- path: _path + ".type",
25096
- expected: "string",
25097
- value: input.type
25098
- })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => true; const _vo5 = (input, _path, _exceptionable = true) => [undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
25099
- path: _path + ".properties",
25100
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
25101
- value: input.properties
25102
- })) && _vo6(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
25103
- path: _path + ".properties",
25104
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
25105
- value: input.properties
25106
- })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
25107
- const value = input[key];
25108
- if (undefined === value)
25109
- return true;
25110
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
25111
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
25112
- expected: "TemplatePropertySchema",
25113
- value: value
25114
- })) && _vo7(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
25115
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
25116
- expected: "TemplatePropertySchema",
25117
- value: value
25118
- });
25119
- }).every(flag => flag)].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
25120
- path: _path + ".path",
25121
- expected: "(string | undefined)",
25122
- value: input.path
25123
- }), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
25124
- path: _path + ".type",
25125
- expected: "(string | undefined)",
25126
- value: input.type
25127
- }), undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
25128
- path: _path + ".label",
25129
- expected: "(string | undefined)",
25130
- value: input.label
25131
- }), undefined === input.defaultValue || "string" === typeof input.defaultValue || _report(_exceptionable, {
25132
- path: _path + ".defaultValue",
25133
- expected: "(string | undefined)",
25134
- value: input.defaultValue
25135
- }), undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || _report(_exceptionable, {
25136
- path: _path + ".widget",
25137
- expected: "(__type.o2 | undefined)",
25138
- value: input.widget
25139
- })) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
25140
- path: _path + ".widget",
25141
- expected: "(__type.o2 | undefined)",
25142
- value: input.widget
25143
- }), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
25144
- path: _path + ".items",
25145
- expected: "(TemplatePropertySchema | undefined)",
25146
- value: input.items
25147
- })) && _vo7(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
25148
- path: _path + ".items",
25149
- expected: "(TemplatePropertySchema | undefined)",
25150
- value: input.items
25151
- }), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
25152
- path: _path + ".properties",
25153
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
25154
- value: input.properties
25155
- })) && _vo6(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
25156
- path: _path + ".properties",
25157
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
25158
- value: input.properties
25159
- })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
25160
- path: _path + ".type",
25161
- expected: "string",
25162
- value: input.type
25163
- })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["image" === input.type || _report(_exceptionable, {
25164
- path: _path + ".type",
25165
- expected: "\"image\"",
25166
- value: input.type
25167
- }), undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || _report(_exceptionable, {
25168
- path: _path + ".profile",
25169
- expected: "(__type.o4 | undefined)",
25170
- value: input.profile
25171
- })) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
25172
- path: _path + ".profile",
25173
- expected: "(__type.o4 | undefined)",
25174
- value: input.profile
25175
- })].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.format || "string" === typeof input.format || _report(_exceptionable, {
25176
- path: _path + ".format",
25177
- expected: "(string | undefined)",
25178
- value: input.format
25179
- }), undefined === input.video || ("object" === typeof input.video && null !== input.video || _report(_exceptionable, {
25180
- path: _path + ".video",
25181
- expected: "(__type.o5 | undefined)",
25182
- value: input.video
25183
- })) && _vo11(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
25184
- path: _path + ".video",
25185
- expected: "(__type.o5 | undefined)",
25186
- value: input.video
25187
- })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["number" === typeof input.width || _report(_exceptionable, {
25188
- path: _path + ".width",
25189
- expected: "number",
25190
- value: input.width
25191
- }), "number" === typeof input.height || _report(_exceptionable, {
25192
- path: _path + ".height",
25193
- expected: "number",
25194
- value: input.height
25195
- }), "cover" === input.fit || _report(_exceptionable, {
25196
- path: _path + ".fit",
25197
- expected: "\"cover\"",
25198
- value: input.fit
25199
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
25200
- if (false === __is(input)) {
25201
- errors = [];
25202
- _report = __typia_transform__validateReport._validateReport(errors);
25203
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
25204
- path: _path + "",
25205
- expected: "TemplateRecord",
25206
- value: input
25207
- })) && _vo0(input, _path + "", true) || _report(true, {
25208
- path: _path + "",
25209
- expected: "TemplateRecord",
25210
- value: input
25211
- }))(input, "$input", true);
25212
- const success = 0 === errors.length;
25213
- return success ? {
25214
- success,
25215
- data: input
25216
- } : {
25217
- success,
25218
- errors,
25219
- data: input
25220
- };
25221
- }
25222
- return {
25223
- success: true,
25224
- data: input
25225
- };
25226
- }; })()(input);
25227
- }
25228
26018
  case ":_user-notification-status": {
25229
26019
  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)); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.assignee || ("object" === typeof input.assignee && null !== input.assignee && false === Array.isArray(input.assignee) || _report(_exceptionable, {
25230
26020
  path: _path + ".assignee",