@nxtedition/types 23.0.54 → 23.0.55
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.
- package/dist/common/settings.d.ts +2 -0
- package/dist/nxtpression.d.ts +142 -17
- package/dist/records/domains/connection/empty.d.ts +1 -1
- package/dist/records/domains/connection/facebook.d.ts +1 -1
- package/dist/records/domains/connection/file/ftp.d.ts +2 -2
- package/dist/records/domains/connection/file/http.d.ts +130 -0
- package/dist/records/domains/connection/file/http.js +20 -0
- package/dist/records/domains/connection/file/index.d.ts +6 -4
- package/dist/records/domains/connection/file/index.js +1 -0
- package/dist/records/domains/connection/file/s3.d.ts +1 -1
- package/dist/records/domains/connection/file/sftp.d.ts +2 -2
- package/dist/records/domains/connection/file/smb.d.ts +3 -3
- package/dist/records/domains/connection/index.d.ts +2 -2
- package/dist/records/domains/connection/reuters.d.ts +1 -1
- package/dist/records/validate/assert-guard.js +2432 -219
- package/dist/records/validate/assert.js +2432 -219
- package/dist/records/validate/is.js +149 -21
- package/dist/records/validate/schemas.js +2111 -101
- package/dist/records/validate/stringify.js +773 -29
- package/dist/records/validate/validate-equals.js +3582 -251
- package/dist/records/validate/validate.js +2016 -202
- package/package.json +1 -1
|
@@ -1378,7 +1378,7 @@ function _validateExactRecord(name, input) {
|
|
|
1378
1378
|
if (undefined === value)
|
|
1379
1379
|
return true;
|
|
1380
1380
|
return "string" === typeof value;
|
|
1381
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "
|
|
1381
|
+
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "italic" === input.style || "normal" === input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.languages || ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
1382
1382
|
path: _path + ".languages",
|
|
1383
1383
|
expected: "(Record<string, string> | undefined)",
|
|
1384
1384
|
value: input.languages
|
|
@@ -1423,7 +1423,7 @@ function _validateExactRecord(name, input) {
|
|
|
1423
1423
|
path: _path + ".weight",
|
|
1424
1424
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
1425
1425
|
value: input.weight
|
|
1426
|
-
}), undefined === input.style || "
|
|
1426
|
+
}), undefined === input.style || "italic" === input.style || "normal" === input.style || _report(_exceptionable, {
|
|
1427
1427
|
path: _path + ".style",
|
|
1428
1428
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
1429
1429
|
value: input.style
|
|
@@ -1462,7 +1462,7 @@ function _validateExactRecord(name, input) {
|
|
|
1462
1462
|
if (undefined === value)
|
|
1463
1463
|
return true;
|
|
1464
1464
|
return "string" === typeof value;
|
|
1465
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "
|
|
1465
|
+
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "italic" === input.style || "normal" === input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.languages || ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
1466
1466
|
path: _path + ".languages",
|
|
1467
1467
|
expected: "(Record<string, string> | undefined)",
|
|
1468
1468
|
value: input.languages
|
|
@@ -1507,7 +1507,7 @@ function _validateExactRecord(name, input) {
|
|
|
1507
1507
|
path: _path + ".weight",
|
|
1508
1508
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
1509
1509
|
value: input.weight
|
|
1510
|
-
}), undefined === input.style || "
|
|
1510
|
+
}), undefined === input.style || "italic" === input.style || "normal" === input.style || _report(_exceptionable, {
|
|
1511
1511
|
path: _path + ".style",
|
|
1512
1512
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
1513
1513
|
value: input.style
|
|
@@ -1617,7 +1617,7 @@ function _validateExactRecord(name, input) {
|
|
|
1617
1617
|
}; })()(input);
|
|
1618
1618
|
}
|
|
1619
1619
|
case "media.fonts?": {
|
|
1620
|
-
return (() => { const _io0 = input => (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.fontFamilyNames || Array.isArray(input.fontFamilyNames) && input.fontFamilyNames.every(elem => "string" === typeof elem)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("
|
|
1620
|
+
return (() => { const _io0 = input => (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.fontFamilyNames || Array.isArray(input.fontFamilyNames) && input.fontFamilyNames.every(elem => "string" === typeof elem)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("italic" === input.style || "normal" === input.style) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && "number" === typeof elem[0] && "number" === typeof elem[1]))); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.fontFaces || (Array.isArray(input.fontFaces) || _report(_exceptionable, {
|
|
1621
1621
|
path: _path + ".fontFaces",
|
|
1622
1622
|
expected: "(Array<FontFace> | undefined)",
|
|
1623
1623
|
value: input.fontFaces
|
|
@@ -1665,7 +1665,7 @@ function _validateExactRecord(name, input) {
|
|
|
1665
1665
|
path: _path + ".weight",
|
|
1666
1666
|
expected: "number",
|
|
1667
1667
|
value: input.weight
|
|
1668
|
-
}), "
|
|
1668
|
+
}), "italic" === input.style || "normal" === input.style || _report(_exceptionable, {
|
|
1669
1669
|
path: _path + ".style",
|
|
1670
1670
|
expected: "(\"italic\" | \"normal\")",
|
|
1671
1671
|
value: input.style
|
|
@@ -3717,30 +3717,158 @@ function _validateDomainRecord(domain, input) {
|
|
|
3717
3717
|
}; })()(input);
|
|
3718
3718
|
}
|
|
3719
3719
|
case ":connection": {
|
|
3720
|
-
return (() => { const _io0 = input => "ftp" === input.protocol && "string" === typeof input.host && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.utf8 || "boolean" === typeof input.utf8) && (undefined === input.timezone || "string" === typeof input.timezone) && "file" === input.type && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io1 = input => "string" === typeof input.content; const _io2 = input =>
|
|
3721
|
-
|
|
3720
|
+
return (() => { const _io0 = input => (undefined === input.protocol || "ftp" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.utf8 || "boolean" === typeof input.utf8) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io1 = input => undefined === input.content || "string" === typeof input.content; const _io2 = input => (undefined === input.protocol || "http" === input.protocol) && (undefined === input.secure || "boolean" === typeof input.secure) && (undefined === input.authType || "none" === input.authType || "oauth2" === input.authType) && (undefined === input.oauth2 || "object" === typeof input.oauth2 && null !== input.oauth2 && false === Array.isArray(input.oauth2) && _io3(input.oauth2)) && (undefined === input.actions || "object" === typeof input.actions && null !== input.actions && false === Array.isArray(input.actions) && _io8(input.actions)) && (undefined === input.type || "file" === input.type) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io3 = input => (undefined === input.client || "object" === typeof input.client && null !== input.client && false === Array.isArray(input.client) && _io4(input.client)) && (undefined === input.auth || "object" === typeof input.auth && null !== input.auth && false === Array.isArray(input.auth) && _io5(input.auth)) && (undefined === input.tokenParams || "object" === typeof input.tokenParams && null !== input.tokenParams && false === Array.isArray(input.tokenParams) && _io6(input.tokenParams)) && (undefined === input.grantType || "password" === input.grantType) && (undefined === input.token || "object" === typeof input.token && null !== input.token && _io7(input.token)) && (undefined === input.error || "string" === typeof input.error); const _io4 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.secret || "string" === typeof input.secret) && (undefined === input.secretParamName || "string" === typeof input.secretParamName) && (undefined === input.idParamName || "string" === typeof input.idParamName); const _io5 = input => (undefined === input.tokenHost || "string" === typeof input.tokenHost) && (undefined === input.tokenPath || "string" === typeof input.tokenPath) && (undefined === input.refreshPath || "string" === typeof input.refreshPath) && (undefined === input.revokePath || "string" === typeof input.revokePath); const _io6 = input => Object.keys(input).every(key => {
|
|
3721
|
+
const value = input[key];
|
|
3722
|
+
if (undefined === value)
|
|
3723
|
+
return true;
|
|
3724
|
+
return "string" === typeof value;
|
|
3725
|
+
}); const _io7 = input => "string" === typeof input.accessToken && (null === input.refreshToken || "string" === typeof input.refreshToken) && (null === input.expiresAt || "number" === typeof input.expiresAt) && (undefined === input.idToken || "string" === typeof input.idToken); const _io8 = input => (undefined === input.ping || "object" === typeof input.ping && null !== input.ping && false === Array.isArray(input.ping) && _io9(input.ping)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io27(input.head)) && (undefined === input.list || "object" === typeof input.list && null !== input.list && false === Array.isArray(input.list) && _io38(input.list)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io49(input.get)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io57(input.put)) && (undefined === input.del || "object" === typeof input.del && null !== input.del && false === Array.isArray(input.del) && _io65(input.del)); const _io9 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io10(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io10 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io11(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io11(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io11(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu0(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu1(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu2(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io20(input.throwOnError))); const _io11 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io12 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && Object.keys(input).every(key => {
|
|
3726
|
+
if (["connection"].some(prop => key === prop))
|
|
3727
|
+
return true;
|
|
3728
|
+
const value = input[key];
|
|
3729
|
+
if (undefined === value)
|
|
3730
|
+
return true;
|
|
3731
|
+
return true;
|
|
3732
|
+
}); const _io13 = input => Object.keys(input).every(key => {
|
|
3733
|
+
const value = input[key];
|
|
3734
|
+
if (undefined === value)
|
|
3735
|
+
return true;
|
|
3736
|
+
return undefined === value || "string" === typeof value;
|
|
3737
|
+
}); const _io14 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io15 = input => Object.keys(input).every(key => {
|
|
3738
|
+
const value = input[key];
|
|
3739
|
+
if (undefined === value)
|
|
3740
|
+
return true;
|
|
3741
|
+
return "object" === typeof value && null !== value && _io16(value);
|
|
3742
|
+
}); const _io16 = input => true && (undefined === input.filename || "string" === typeof input.filename); const _io17 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io18 = input => Object.keys(input).every(key => {
|
|
3743
|
+
const value = input[key];
|
|
3744
|
+
if (undefined === value)
|
|
3745
|
+
return true;
|
|
3746
|
+
return undefined === value || "string" === typeof value;
|
|
3747
|
+
}); const _io19 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io20 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io21 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || "object" === typeof input.transform && null !== input.transform && _io25(input.transform))); const _io22 = input => "object" === typeof input.__context && null !== input.__context && _io23(input.__context) && (null === input.__returnValue || undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io23 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers)) && "number" === typeof input.statusCode; const _io24 = input => Object.keys(input).every(key => {
|
|
3748
|
+
const value = input[key];
|
|
3749
|
+
if (undefined === value)
|
|
3750
|
+
return true;
|
|
3751
|
+
return null !== value && (undefined === value || "string" === typeof value || Array.isArray(value) && value.every(elem => "string" === typeof elem));
|
|
3752
|
+
}); const _io25 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (null !== input.__returnValue && undefined === input.__returnValue); const _io26 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && true && (undefined === input.text || "string" === typeof input.text) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers)) && "number" === typeof input.statusCode; const _io27 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io28(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io35(input.response)); const _io28 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io29(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io29(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io29(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu3(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu4(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu5(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io34(input.throwOnError))); const _io29 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io30 = input => "string" === typeof input.filepath && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io31 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io32 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io33 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io34 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io35 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || "object" === typeof input.transform && null !== input.transform && false === Array.isArray(input.transform) && _iu6(input.transform))); const _io36 = input => (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash); const _io37 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io36(input.__returnValue)); const _io38 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io39(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io46(input.response)); const _io39 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io40(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io40(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io40(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu7(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu8(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu9(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io45(input.throwOnError))); const _io40 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io41 = input => (undefined === input.dirpath || "string" === typeof input.dirpath) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io42 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io43 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io44 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io45 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io46 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || (Array.isArray(input.transform) && input.transform.every(elem => "object" === typeof elem && null !== elem && _io47(elem)) || "object" === typeof input.transform && null !== input.transform && _io48(input.transform)))); const _io47 = input => "string" === typeof input.name && "boolean" === typeof input.isDir && "number" === typeof input.size && (undefined === input.date || "string" === typeof input.date) && "string" === typeof input.path; const _io48 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (Array.isArray(input.__returnValue) && input.__returnValue.every(elem => "object" === typeof elem && null !== elem && _io47(elem))); const _io49 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io50(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io50 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io51(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io51(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io51(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu10(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu11(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu12(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io56(input.throwOnError))); const _io51 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io52 = input => "string" === typeof input.id && (undefined === input.offset || "number" === typeof input.offset) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io53 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io54 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io55 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io56 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io57 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io58(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io58 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io59(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io59(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io59(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu13(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu14(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu15(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io64(input.throwOnError))); const _io59 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io60 = input => "string" === typeof input.filepath && true && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io61 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io62 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io63 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io64 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io65 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io66(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io66 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io67(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io67(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io67(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu16(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu17(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu18(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io72(input.throwOnError))); const _io67 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io68 = input => "string" === typeof input.id && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io69 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io70 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io71 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io72 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io73 = input => (undefined === input.protocol || "s3" === input.protocol) && true && (undefined === input.bucket || "string" === typeof input.bucket) && (undefined === input.type || "file" === input.type) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io74 = input => (undefined === input.protocol || "smb" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.share || "string" === typeof input.share) && (undefined === input.workgroup || "string" === typeof input.workgroup) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io75 = input => (undefined === input.protocol || "sftp" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.privateKey || "string" === typeof input.privateKey) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.mode || "libcurl" === input.mode || "lftp" === input.mode || "openssh" === input.mode || "ssh2" === input.mode) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io76 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.grantedScopes || Array.isArray(input.grantedScopes) && input.grantedScopes.every(elem => "string" === typeof elem)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io77 = input => (undefined === input.type || "reuters" === input.type) && (undefined === input.clientId || "string" === typeof input.clientId) && (undefined === input.clientSecret || "string" === typeof input.clientSecret) && (undefined === input.audience || "string" === typeof input.audience) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io78 = input => (null === input.type || undefined === input.type) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _iu0 = input => (() => {
|
|
3753
|
+
if (undefined !== input.__context)
|
|
3754
|
+
return _io14(input);
|
|
3755
|
+
else
|
|
3756
|
+
return _io13(input);
|
|
3757
|
+
})(); const _iu1 = input => (() => {
|
|
3758
|
+
if (undefined !== input.__context)
|
|
3759
|
+
return _io17(input);
|
|
3760
|
+
else
|
|
3761
|
+
return _io15(input);
|
|
3762
|
+
})(); const _iu2 = input => (() => {
|
|
3763
|
+
if (undefined !== input.__context)
|
|
3764
|
+
return _io19(input);
|
|
3765
|
+
else
|
|
3766
|
+
return _io18(input);
|
|
3767
|
+
})(); const _iu3 = input => (() => {
|
|
3768
|
+
if (undefined !== input.__context)
|
|
3769
|
+
return _io31(input);
|
|
3770
|
+
else
|
|
3771
|
+
return _io13(input);
|
|
3772
|
+
})(); const _iu4 = input => (() => {
|
|
3773
|
+
if (undefined !== input.__context)
|
|
3774
|
+
return _io32(input);
|
|
3775
|
+
else
|
|
3776
|
+
return _io15(input);
|
|
3777
|
+
})(); const _iu5 = input => (() => {
|
|
3778
|
+
if (undefined !== input.__context)
|
|
3779
|
+
return _io33(input);
|
|
3780
|
+
else
|
|
3781
|
+
return _io18(input);
|
|
3782
|
+
})(); const _iu6 = input => (() => {
|
|
3783
|
+
if (undefined !== input.__context)
|
|
3784
|
+
return _io37(input);
|
|
3785
|
+
else
|
|
3786
|
+
return _io36(input);
|
|
3787
|
+
})(); const _iu7 = input => (() => {
|
|
3788
|
+
if (undefined !== input.__context)
|
|
3789
|
+
return _io42(input);
|
|
3790
|
+
else
|
|
3791
|
+
return _io13(input);
|
|
3792
|
+
})(); const _iu8 = input => (() => {
|
|
3793
|
+
if (undefined !== input.__context)
|
|
3794
|
+
return _io43(input);
|
|
3795
|
+
else
|
|
3796
|
+
return _io15(input);
|
|
3797
|
+
})(); const _iu9 = input => (() => {
|
|
3798
|
+
if (undefined !== input.__context)
|
|
3799
|
+
return _io44(input);
|
|
3800
|
+
else
|
|
3801
|
+
return _io18(input);
|
|
3802
|
+
})(); const _iu10 = input => (() => {
|
|
3803
|
+
if (undefined !== input.__context)
|
|
3804
|
+
return _io53(input);
|
|
3805
|
+
else
|
|
3806
|
+
return _io13(input);
|
|
3807
|
+
})(); const _iu11 = input => (() => {
|
|
3808
|
+
if (undefined !== input.__context)
|
|
3809
|
+
return _io54(input);
|
|
3810
|
+
else
|
|
3811
|
+
return _io15(input);
|
|
3812
|
+
})(); const _iu12 = input => (() => {
|
|
3813
|
+
if (undefined !== input.__context)
|
|
3814
|
+
return _io55(input);
|
|
3815
|
+
else
|
|
3816
|
+
return _io18(input);
|
|
3817
|
+
})(); const _iu13 = input => (() => {
|
|
3818
|
+
if (undefined !== input.__context)
|
|
3819
|
+
return _io61(input);
|
|
3820
|
+
else
|
|
3821
|
+
return _io13(input);
|
|
3822
|
+
})(); const _iu14 = input => (() => {
|
|
3823
|
+
if (undefined !== input.__context)
|
|
3824
|
+
return _io62(input);
|
|
3825
|
+
else
|
|
3826
|
+
return _io15(input);
|
|
3827
|
+
})(); const _iu15 = input => (() => {
|
|
3828
|
+
if (undefined !== input.__context)
|
|
3829
|
+
return _io63(input);
|
|
3830
|
+
else
|
|
3831
|
+
return _io18(input);
|
|
3832
|
+
})(); const _iu16 = input => (() => {
|
|
3833
|
+
if (undefined !== input.__context)
|
|
3834
|
+
return _io69(input);
|
|
3835
|
+
else
|
|
3836
|
+
return _io13(input);
|
|
3837
|
+
})(); const _iu17 = input => (() => {
|
|
3838
|
+
if (undefined !== input.__context)
|
|
3839
|
+
return _io70(input);
|
|
3840
|
+
else
|
|
3841
|
+
return _io15(input);
|
|
3842
|
+
})(); const _iu18 = input => (() => {
|
|
3843
|
+
if (undefined !== input.__context)
|
|
3844
|
+
return _io71(input);
|
|
3845
|
+
else
|
|
3846
|
+
return _io18(input);
|
|
3847
|
+
})(); const _iu19 = input => (() => {
|
|
3848
|
+
if (_io0(input))
|
|
3722
3849
|
return _io0(input);
|
|
3723
|
-
|
|
3850
|
+
if (_io2(input))
|
|
3724
3851
|
return _io2(input);
|
|
3725
|
-
|
|
3726
|
-
return
|
|
3727
|
-
|
|
3728
|
-
return
|
|
3729
|
-
|
|
3730
|
-
return
|
|
3731
|
-
|
|
3732
|
-
return
|
|
3733
|
-
|
|
3734
|
-
return
|
|
3735
|
-
|
|
3736
|
-
return
|
|
3737
|
-
|
|
3852
|
+
if (_io73(input))
|
|
3853
|
+
return _io73(input);
|
|
3854
|
+
if (_io74(input))
|
|
3855
|
+
return _io74(input);
|
|
3856
|
+
if (_io75(input))
|
|
3857
|
+
return _io75(input);
|
|
3858
|
+
if (_io76(input))
|
|
3859
|
+
return _io76(input);
|
|
3860
|
+
if (_io77(input))
|
|
3861
|
+
return _io77(input);
|
|
3862
|
+
if (_io78(input))
|
|
3863
|
+
return _io78(input);
|
|
3864
|
+
return false;
|
|
3865
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "ftp" === input.protocol || _report(_exceptionable, {
|
|
3738
3866
|
path: _path + ".protocol",
|
|
3739
|
-
expected: "\"ftp\"",
|
|
3867
|
+
expected: "(\"ftp\" | undefined)",
|
|
3740
3868
|
value: input.protocol
|
|
3741
|
-
}), "string" === typeof input.host || _report(_exceptionable, {
|
|
3869
|
+
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
3742
3870
|
path: _path + ".host",
|
|
3743
|
-
expected: "string",
|
|
3871
|
+
expected: "(string | undefined)",
|
|
3744
3872
|
value: input.host
|
|
3745
3873
|
}), undefined === input.username || "string" === typeof input.username || _report(_exceptionable, {
|
|
3746
3874
|
path: _path + ".username",
|
|
@@ -3753,66 +3881,1670 @@ function _validateDomainRecord(domain, input) {
|
|
|
3753
3881
|
}), undefined === input.utf8 || "boolean" === typeof input.utf8 || _report(_exceptionable, {
|
|
3754
3882
|
path: _path + ".utf8",
|
|
3755
3883
|
expected: "(boolean | undefined)",
|
|
3756
|
-
value: input.utf8
|
|
3757
|
-
}), undefined === input.timezone || "string" === typeof input.timezone || _report(_exceptionable, {
|
|
3758
|
-
path: _path + ".timezone",
|
|
3884
|
+
value: input.utf8
|
|
3885
|
+
}), undefined === input.timezone || "string" === typeof input.timezone || _report(_exceptionable, {
|
|
3886
|
+
path: _path + ".timezone",
|
|
3887
|
+
expected: "(string | undefined)",
|
|
3888
|
+
value: input.timezone
|
|
3889
|
+
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
3890
|
+
path: _path + ".type",
|
|
3891
|
+
expected: "(\"file\" | undefined)",
|
|
3892
|
+
value: input.type
|
|
3893
|
+
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
3894
|
+
path: _path + ".port",
|
|
3895
|
+
expected: "(number | string | undefined)",
|
|
3896
|
+
value: input.port
|
|
3897
|
+
}), undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing || _report(_exceptionable, {
|
|
3898
|
+
path: _path + ".ignoreMissing",
|
|
3899
|
+
expected: "(boolean | undefined)",
|
|
3900
|
+
value: input.ignoreMissing
|
|
3901
|
+
}), undefined === input.concurrency || "number" === typeof input.concurrency || _report(_exceptionable, {
|
|
3902
|
+
path: _path + ".concurrency",
|
|
3903
|
+
expected: "(number | undefined)",
|
|
3904
|
+
value: input.concurrency
|
|
3905
|
+
}), undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold || _report(_exceptionable, {
|
|
3906
|
+
path: _path + ".stabilityThreshold",
|
|
3907
|
+
expected: "(number | undefined)",
|
|
3908
|
+
value: input.stabilityThreshold
|
|
3909
|
+
}), undefined === input.pollInterval || "number" === typeof input.pollInterval || _report(_exceptionable, {
|
|
3910
|
+
path: _path + ".pollInterval",
|
|
3911
|
+
expected: "(number | undefined)",
|
|
3912
|
+
value: input.pollInterval
|
|
3913
|
+
}), undefined === input.listConcurrency || "number" === typeof input.listConcurrency || _report(_exceptionable, {
|
|
3914
|
+
path: _path + ".listConcurrency",
|
|
3915
|
+
expected: "(number | undefined)",
|
|
3916
|
+
value: input.listConcurrency
|
|
3917
|
+
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) || _report(_exceptionable, {
|
|
3918
|
+
path: _path + ".metafile",
|
|
3919
|
+
expected: "(__type | undefined)",
|
|
3920
|
+
value: input.metafile
|
|
3921
|
+
})) && _vo1(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
3922
|
+
path: _path + ".metafile",
|
|
3923
|
+
expected: "(__type | undefined)",
|
|
3924
|
+
value: input.metafile
|
|
3925
|
+
}), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
3926
|
+
path: _path + ".userNotificationsEnabled",
|
|
3927
|
+
expected: "(boolean | undefined)",
|
|
3928
|
+
value: input.userNotificationsEnabled
|
|
3929
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.content || "string" === typeof input.content || _report(_exceptionable, {
|
|
3930
|
+
path: _path + ".content",
|
|
3931
|
+
expected: "(string | undefined)",
|
|
3932
|
+
value: input.content
|
|
3933
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "http" === input.protocol || _report(_exceptionable, {
|
|
3934
|
+
path: _path + ".protocol",
|
|
3935
|
+
expected: "(\"http\" | undefined)",
|
|
3936
|
+
value: input.protocol
|
|
3937
|
+
}), undefined === input.secure || "boolean" === typeof input.secure || _report(_exceptionable, {
|
|
3938
|
+
path: _path + ".secure",
|
|
3939
|
+
expected: "(boolean | undefined)",
|
|
3940
|
+
value: input.secure
|
|
3941
|
+
}), undefined === input.authType || "none" === input.authType || "oauth2" === input.authType || _report(_exceptionable, {
|
|
3942
|
+
path: _path + ".authType",
|
|
3943
|
+
expected: "(\"none\" | \"oauth2\" | undefined)",
|
|
3944
|
+
value: input.authType
|
|
3945
|
+
}), undefined === input.oauth2 || ("object" === typeof input.oauth2 && null !== input.oauth2 && false === Array.isArray(input.oauth2) || _report(_exceptionable, {
|
|
3946
|
+
path: _path + ".oauth2",
|
|
3947
|
+
expected: "(__type.o1 | undefined)",
|
|
3948
|
+
value: input.oauth2
|
|
3949
|
+
})) && _vo3(input.oauth2, _path + ".oauth2", true && _exceptionable) || _report(_exceptionable, {
|
|
3950
|
+
path: _path + ".oauth2",
|
|
3951
|
+
expected: "(__type.o1 | undefined)",
|
|
3952
|
+
value: input.oauth2
|
|
3953
|
+
}), undefined === input.actions || ("object" === typeof input.actions && null !== input.actions && false === Array.isArray(input.actions) || _report(_exceptionable, {
|
|
3954
|
+
path: _path + ".actions",
|
|
3955
|
+
expected: "(HttpConnectionActions | undefined)",
|
|
3956
|
+
value: input.actions
|
|
3957
|
+
})) && _vo8(input.actions, _path + ".actions", true && _exceptionable) || _report(_exceptionable, {
|
|
3958
|
+
path: _path + ".actions",
|
|
3959
|
+
expected: "(HttpConnectionActions | undefined)",
|
|
3960
|
+
value: input.actions
|
|
3961
|
+
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
3962
|
+
path: _path + ".type",
|
|
3963
|
+
expected: "(\"file\" | undefined)",
|
|
3964
|
+
value: input.type
|
|
3965
|
+
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
3966
|
+
path: _path + ".host",
|
|
3967
|
+
expected: "(string | undefined)",
|
|
3968
|
+
value: input.host
|
|
3969
|
+
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
3970
|
+
path: _path + ".port",
|
|
3971
|
+
expected: "(number | string | undefined)",
|
|
3972
|
+
value: input.port
|
|
3973
|
+
}), undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing || _report(_exceptionable, {
|
|
3974
|
+
path: _path + ".ignoreMissing",
|
|
3975
|
+
expected: "(boolean | undefined)",
|
|
3976
|
+
value: input.ignoreMissing
|
|
3977
|
+
}), undefined === input.concurrency || "number" === typeof input.concurrency || _report(_exceptionable, {
|
|
3978
|
+
path: _path + ".concurrency",
|
|
3979
|
+
expected: "(number | undefined)",
|
|
3980
|
+
value: input.concurrency
|
|
3981
|
+
}), undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold || _report(_exceptionable, {
|
|
3982
|
+
path: _path + ".stabilityThreshold",
|
|
3983
|
+
expected: "(number | undefined)",
|
|
3984
|
+
value: input.stabilityThreshold
|
|
3985
|
+
}), undefined === input.pollInterval || "number" === typeof input.pollInterval || _report(_exceptionable, {
|
|
3986
|
+
path: _path + ".pollInterval",
|
|
3987
|
+
expected: "(number | undefined)",
|
|
3988
|
+
value: input.pollInterval
|
|
3989
|
+
}), undefined === input.listConcurrency || "number" === typeof input.listConcurrency || _report(_exceptionable, {
|
|
3990
|
+
path: _path + ".listConcurrency",
|
|
3991
|
+
expected: "(number | undefined)",
|
|
3992
|
+
value: input.listConcurrency
|
|
3993
|
+
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) || _report(_exceptionable, {
|
|
3994
|
+
path: _path + ".metafile",
|
|
3995
|
+
expected: "(__type | undefined)",
|
|
3996
|
+
value: input.metafile
|
|
3997
|
+
})) && _vo1(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
3998
|
+
path: _path + ".metafile",
|
|
3999
|
+
expected: "(__type | undefined)",
|
|
4000
|
+
value: input.metafile
|
|
4001
|
+
}), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
4002
|
+
path: _path + ".userNotificationsEnabled",
|
|
4003
|
+
expected: "(boolean | undefined)",
|
|
4004
|
+
value: input.userNotificationsEnabled
|
|
4005
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.client || ("object" === typeof input.client && null !== input.client && false === Array.isArray(input.client) || _report(_exceptionable, {
|
|
4006
|
+
path: _path + ".client",
|
|
4007
|
+
expected: "(__type.o2 | undefined)",
|
|
4008
|
+
value: input.client
|
|
4009
|
+
})) && _vo4(input.client, _path + ".client", true && _exceptionable) || _report(_exceptionable, {
|
|
4010
|
+
path: _path + ".client",
|
|
4011
|
+
expected: "(__type.o2 | undefined)",
|
|
4012
|
+
value: input.client
|
|
4013
|
+
}), undefined === input.auth || ("object" === typeof input.auth && null !== input.auth && false === Array.isArray(input.auth) || _report(_exceptionable, {
|
|
4014
|
+
path: _path + ".auth",
|
|
4015
|
+
expected: "(__type.o3 | undefined)",
|
|
4016
|
+
value: input.auth
|
|
4017
|
+
})) && _vo5(input.auth, _path + ".auth", true && _exceptionable) || _report(_exceptionable, {
|
|
4018
|
+
path: _path + ".auth",
|
|
4019
|
+
expected: "(__type.o3 | undefined)",
|
|
4020
|
+
value: input.auth
|
|
4021
|
+
}), undefined === input.tokenParams || ("object" === typeof input.tokenParams && null !== input.tokenParams && false === Array.isArray(input.tokenParams) || _report(_exceptionable, {
|
|
4022
|
+
path: _path + ".tokenParams",
|
|
4023
|
+
expected: "(__type.o4 | undefined)",
|
|
4024
|
+
value: input.tokenParams
|
|
4025
|
+
})) && _vo6(input.tokenParams, _path + ".tokenParams", true && _exceptionable) || _report(_exceptionable, {
|
|
4026
|
+
path: _path + ".tokenParams",
|
|
4027
|
+
expected: "(__type.o4 | undefined)",
|
|
4028
|
+
value: input.tokenParams
|
|
4029
|
+
}), undefined === input.grantType || "password" === input.grantType || _report(_exceptionable, {
|
|
4030
|
+
path: _path + ".grantType",
|
|
4031
|
+
expected: "(\"password\" | undefined)",
|
|
4032
|
+
value: input.grantType
|
|
4033
|
+
}), undefined === input.token || ("object" === typeof input.token && null !== input.token || _report(_exceptionable, {
|
|
4034
|
+
path: _path + ".token",
|
|
4035
|
+
expected: "(__type.o5 | undefined)",
|
|
4036
|
+
value: input.token
|
|
4037
|
+
})) && _vo7(input.token, _path + ".token", true && _exceptionable) || _report(_exceptionable, {
|
|
4038
|
+
path: _path + ".token",
|
|
4039
|
+
expected: "(__type.o5 | undefined)",
|
|
4040
|
+
value: input.token
|
|
4041
|
+
}), undefined === input.error || "string" === typeof input.error || _report(_exceptionable, {
|
|
4042
|
+
path: _path + ".error",
|
|
4043
|
+
expected: "(string | undefined)",
|
|
4044
|
+
value: input.error
|
|
4045
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
4046
|
+
path: _path + ".id",
|
|
4047
|
+
expected: "(string | undefined)",
|
|
4048
|
+
value: input.id
|
|
4049
|
+
}), undefined === input.secret || "string" === typeof input.secret || _report(_exceptionable, {
|
|
4050
|
+
path: _path + ".secret",
|
|
4051
|
+
expected: "(string | undefined)",
|
|
4052
|
+
value: input.secret
|
|
4053
|
+
}), undefined === input.secretParamName || "string" === typeof input.secretParamName || _report(_exceptionable, {
|
|
4054
|
+
path: _path + ".secretParamName",
|
|
4055
|
+
expected: "(string | undefined)",
|
|
4056
|
+
value: input.secretParamName
|
|
4057
|
+
}), undefined === input.idParamName || "string" === typeof input.idParamName || _report(_exceptionable, {
|
|
4058
|
+
path: _path + ".idParamName",
|
|
4059
|
+
expected: "(string | undefined)",
|
|
4060
|
+
value: input.idParamName
|
|
4061
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [undefined === input.tokenHost || "string" === typeof input.tokenHost || _report(_exceptionable, {
|
|
4062
|
+
path: _path + ".tokenHost",
|
|
4063
|
+
expected: "(string | undefined)",
|
|
4064
|
+
value: input.tokenHost
|
|
4065
|
+
}), undefined === input.tokenPath || "string" === typeof input.tokenPath || _report(_exceptionable, {
|
|
4066
|
+
path: _path + ".tokenPath",
|
|
4067
|
+
expected: "(string | undefined)",
|
|
4068
|
+
value: input.tokenPath
|
|
4069
|
+
}), undefined === input.refreshPath || "string" === typeof input.refreshPath || _report(_exceptionable, {
|
|
4070
|
+
path: _path + ".refreshPath",
|
|
4071
|
+
expected: "(string | undefined)",
|
|
4072
|
+
value: input.refreshPath
|
|
4073
|
+
}), undefined === input.revokePath || "string" === typeof input.revokePath || _report(_exceptionable, {
|
|
4074
|
+
path: _path + ".revokePath",
|
|
4075
|
+
expected: "(string | undefined)",
|
|
4076
|
+
value: input.revokePath
|
|
4077
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
4078
|
+
const value = input[key];
|
|
4079
|
+
if (undefined === value)
|
|
4080
|
+
return true;
|
|
4081
|
+
return "string" === typeof value || _report(_exceptionable, {
|
|
4082
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4083
|
+
expected: "string",
|
|
4084
|
+
value: value
|
|
4085
|
+
});
|
|
4086
|
+
}).every(flag => flag)].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.accessToken || _report(_exceptionable, {
|
|
4087
|
+
path: _path + ".accessToken",
|
|
4088
|
+
expected: "string",
|
|
4089
|
+
value: input.accessToken
|
|
4090
|
+
}), null === input.refreshToken || "string" === typeof input.refreshToken || _report(_exceptionable, {
|
|
4091
|
+
path: _path + ".refreshToken",
|
|
4092
|
+
expected: "(null | string)",
|
|
4093
|
+
value: input.refreshToken
|
|
4094
|
+
}), null === input.expiresAt || "number" === typeof input.expiresAt || _report(_exceptionable, {
|
|
4095
|
+
path: _path + ".expiresAt",
|
|
4096
|
+
expected: "(null | number)",
|
|
4097
|
+
value: input.expiresAt
|
|
4098
|
+
}), undefined === input.idToken || "string" === typeof input.idToken || _report(_exceptionable, {
|
|
4099
|
+
path: _path + ".idToken",
|
|
4100
|
+
expected: "(string | undefined)",
|
|
4101
|
+
value: input.idToken
|
|
4102
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.ping || ("object" === typeof input.ping && null !== input.ping && false === Array.isArray(input.ping) || _report(_exceptionable, {
|
|
4103
|
+
path: _path + ".ping",
|
|
4104
|
+
expected: "(FileConnectionHttpAction<Record<string, unknown>, undefined> | undefined)",
|
|
4105
|
+
value: input.ping
|
|
4106
|
+
})) && _vo9(input.ping, _path + ".ping", true && _exceptionable) || _report(_exceptionable, {
|
|
4107
|
+
path: _path + ".ping",
|
|
4108
|
+
expected: "(FileConnectionHttpAction<Record<string, unknown>, undefined> | undefined)",
|
|
4109
|
+
value: input.ping
|
|
4110
|
+
}), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || _report(_exceptionable, {
|
|
4111
|
+
path: _path + ".head",
|
|
4112
|
+
expected: "(FileConnectionHttpAction<__type, FileConnectionHeadResponse | undefined> | undefined)",
|
|
4113
|
+
value: input.head
|
|
4114
|
+
})) && _vo27(input.head, _path + ".head", true && _exceptionable) || _report(_exceptionable, {
|
|
4115
|
+
path: _path + ".head",
|
|
4116
|
+
expected: "(FileConnectionHttpAction<__type, FileConnectionHeadResponse | undefined> | undefined)",
|
|
4117
|
+
value: input.head
|
|
4118
|
+
}), undefined === input.list || ("object" === typeof input.list && null !== input.list && false === Array.isArray(input.list) || _report(_exceptionable, {
|
|
4119
|
+
path: _path + ".list",
|
|
4120
|
+
expected: "(FileConnectionHttpAction<__type, Array<FileConnectionListResponseItem>> | undefined)",
|
|
4121
|
+
value: input.list
|
|
4122
|
+
})) && _vo38(input.list, _path + ".list", true && _exceptionable) || _report(_exceptionable, {
|
|
4123
|
+
path: _path + ".list",
|
|
4124
|
+
expected: "(FileConnectionHttpAction<__type, Array<FileConnectionListResponseItem>> | undefined)",
|
|
4125
|
+
value: input.list
|
|
4126
|
+
}), undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || _report(_exceptionable, {
|
|
4127
|
+
path: _path + ".get",
|
|
4128
|
+
expected: "(FileConnectionHttpAction<__type, undefined> | undefined)",
|
|
4129
|
+
value: input.get
|
|
4130
|
+
})) && _vo49(input.get, _path + ".get", true && _exceptionable) || _report(_exceptionable, {
|
|
4131
|
+
path: _path + ".get",
|
|
4132
|
+
expected: "(FileConnectionHttpAction<__type, undefined> | undefined)",
|
|
4133
|
+
value: input.get
|
|
4134
|
+
}), undefined === input.put || ("object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) || _report(_exceptionable, {
|
|
4135
|
+
path: _path + ".put",
|
|
4136
|
+
expected: "(FileConnectionHttpAction<__type, undefined>.o1 | undefined)",
|
|
4137
|
+
value: input.put
|
|
4138
|
+
})) && _vo57(input.put, _path + ".put", true && _exceptionable) || _report(_exceptionable, {
|
|
4139
|
+
path: _path + ".put",
|
|
4140
|
+
expected: "(FileConnectionHttpAction<__type, undefined>.o1 | undefined)",
|
|
4141
|
+
value: input.put
|
|
4142
|
+
}), undefined === input.del || ("object" === typeof input.del && null !== input.del && false === Array.isArray(input.del) || _report(_exceptionable, {
|
|
4143
|
+
path: _path + ".del",
|
|
4144
|
+
expected: "(FileConnectionHttpAction<__type, undefined>.o2 | undefined)",
|
|
4145
|
+
value: input.del
|
|
4146
|
+
})) && _vo65(input.del, _path + ".del", true && _exceptionable) || _report(_exceptionable, {
|
|
4147
|
+
path: _path + ".del",
|
|
4148
|
+
expected: "(FileConnectionHttpAction<__type, undefined>.o2 | undefined)",
|
|
4149
|
+
value: input.del
|
|
4150
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.request || ("object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) || _report(_exceptionable, {
|
|
4151
|
+
path: _path + ".request",
|
|
4152
|
+
expected: "(__type.o6 | undefined)",
|
|
4153
|
+
value: input.request
|
|
4154
|
+
})) && _vo10(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
4155
|
+
path: _path + ".request",
|
|
4156
|
+
expected: "(__type.o6 | undefined)",
|
|
4157
|
+
value: input.request
|
|
4158
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
4159
|
+
path: _path + ".response",
|
|
4160
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
4161
|
+
value: input.response
|
|
4162
|
+
})) && _vo21(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
4163
|
+
path: _path + ".response",
|
|
4164
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
4165
|
+
value: input.response
|
|
4166
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
4167
|
+
path: _path + ".origin",
|
|
4168
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4169
|
+
value: input.origin
|
|
4170
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
4171
|
+
path: _path + ".origin",
|
|
4172
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4173
|
+
value: input.origin
|
|
4174
|
+
})) && _vo11(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
4175
|
+
path: _path + ".origin",
|
|
4176
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4177
|
+
value: input.origin
|
|
4178
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
4179
|
+
path: _path + ".path",
|
|
4180
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4181
|
+
value: input.path
|
|
4182
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
4183
|
+
path: _path + ".path",
|
|
4184
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4185
|
+
value: input.path
|
|
4186
|
+
})) && _vo11(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
4187
|
+
path: _path + ".path",
|
|
4188
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4189
|
+
value: input.path
|
|
4190
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
4191
|
+
path: _path + ".method",
|
|
4192
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4193
|
+
value: input.method
|
|
4194
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
4195
|
+
path: _path + ".method",
|
|
4196
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4197
|
+
value: input.method
|
|
4198
|
+
})) && _vo11(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
4199
|
+
path: _path + ".method",
|
|
4200
|
+
expected: "(__type.o7 | string | undefined)",
|
|
4201
|
+
value: input.method
|
|
4202
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
4203
|
+
path: _path + ".params",
|
|
4204
|
+
expected: "(__type.o10 | __type.o9 | string | undefined)",
|
|
4205
|
+
value: input.params
|
|
4206
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
4207
|
+
path: _path + ".params",
|
|
4208
|
+
expected: "(__type.o10 | __type.o9 | string | undefined)",
|
|
4209
|
+
value: input.params
|
|
4210
|
+
})) && _vu0(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
4211
|
+
path: _path + ".params",
|
|
4212
|
+
expected: "(__type.o10 | __type.o9 | string | undefined)",
|
|
4213
|
+
value: input.params
|
|
4214
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
4215
|
+
path: _path + ".form",
|
|
4216
|
+
expected: "(__type.o11 | __type.o13 | string | undefined)",
|
|
4217
|
+
value: input.form
|
|
4218
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
4219
|
+
path: _path + ".form",
|
|
4220
|
+
expected: "(__type.o11 | __type.o13 | string | undefined)",
|
|
4221
|
+
value: input.form
|
|
4222
|
+
})) && _vu1(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
4223
|
+
path: _path + ".form",
|
|
4224
|
+
expected: "(__type.o11 | __type.o13 | string | undefined)",
|
|
4225
|
+
value: input.form
|
|
4226
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
4227
|
+
path: _path + ".headers",
|
|
4228
|
+
expected: "(__type.o14 | __type.o15 | string | undefined)",
|
|
4229
|
+
value: input.headers
|
|
4230
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
4231
|
+
path: _path + ".headers",
|
|
4232
|
+
expected: "(__type.o14 | __type.o15 | string | undefined)",
|
|
4233
|
+
value: input.headers
|
|
4234
|
+
})) && _vu2(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
4235
|
+
path: _path + ".headers",
|
|
4236
|
+
expected: "(__type.o14 | __type.o15 | string | undefined)",
|
|
4237
|
+
value: input.headers
|
|
4238
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
4239
|
+
path: _path + ".throwOnError",
|
|
4240
|
+
expected: "(__type.o16 | boolean | string | undefined)",
|
|
4241
|
+
value: input.throwOnError
|
|
4242
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
4243
|
+
path: _path + ".throwOnError",
|
|
4244
|
+
expected: "(__type.o16 | boolean | string | undefined)",
|
|
4245
|
+
value: input.throwOnError
|
|
4246
|
+
})) && _vo20(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
4247
|
+
path: _path + ".throwOnError",
|
|
4248
|
+
expected: "(__type.o16 | boolean | string | undefined)",
|
|
4249
|
+
value: input.throwOnError
|
|
4250
|
+
}))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4251
|
+
path: _path + ".__context",
|
|
4252
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4253
|
+
value: input.__context
|
|
4254
|
+
})) && _vo12(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4255
|
+
path: _path + ".__context",
|
|
4256
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4257
|
+
value: input.__context
|
|
4258
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
4259
|
+
path: _path + ".__returnValue",
|
|
4260
|
+
expected: "(string | undefined)",
|
|
4261
|
+
value: input.__returnValue
|
|
4262
|
+
})].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
4263
|
+
path: _path + ".connection",
|
|
4264
|
+
expected: "FileConnectionHttpRecord",
|
|
4265
|
+
value: input.connection
|
|
4266
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
4267
|
+
path: _path + ".connection",
|
|
4268
|
+
expected: "FileConnectionHttpRecord",
|
|
4269
|
+
value: input.connection
|
|
4270
|
+
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
4271
|
+
if (["connection"].some(prop => key === prop))
|
|
4272
|
+
return true;
|
|
4273
|
+
const value = input[key];
|
|
4274
|
+
if (undefined === value)
|
|
4275
|
+
return true;
|
|
4276
|
+
return true;
|
|
4277
|
+
}).every(flag => flag)].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
4278
|
+
const value = input[key];
|
|
4279
|
+
if (undefined === value)
|
|
4280
|
+
return true;
|
|
4281
|
+
return undefined === value || "string" === typeof value || _report(_exceptionable, {
|
|
4282
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4283
|
+
expected: "(string | undefined)",
|
|
4284
|
+
value: value
|
|
4285
|
+
});
|
|
4286
|
+
}).every(flag => flag)].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4287
|
+
path: _path + ".__context",
|
|
4288
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4289
|
+
value: input.__context
|
|
4290
|
+
})) && _vo12(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4291
|
+
path: _path + ".__context",
|
|
4292
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4293
|
+
value: input.__context
|
|
4294
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4295
|
+
path: _path + ".__returnValue",
|
|
4296
|
+
expected: "(__type.o9 | undefined)",
|
|
4297
|
+
value: input.__returnValue
|
|
4298
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4299
|
+
path: _path + ".__returnValue",
|
|
4300
|
+
expected: "(__type.o9 | undefined)",
|
|
4301
|
+
value: input.__returnValue
|
|
4302
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
4303
|
+
const value = input[key];
|
|
4304
|
+
if (undefined === value)
|
|
4305
|
+
return true;
|
|
4306
|
+
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
4307
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4308
|
+
expected: "__type.o12",
|
|
4309
|
+
value: value
|
|
4310
|
+
})) && _vo16(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
4311
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4312
|
+
expected: "__type.o12",
|
|
4313
|
+
value: value
|
|
4314
|
+
});
|
|
4315
|
+
}).every(flag => flag)].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [true, undefined === input.filename || "string" === typeof input.filename || _report(_exceptionable, {
|
|
4316
|
+
path: _path + ".filename",
|
|
4317
|
+
expected: "(string | undefined)",
|
|
4318
|
+
value: input.filename
|
|
4319
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4320
|
+
path: _path + ".__context",
|
|
4321
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4322
|
+
value: input.__context
|
|
4323
|
+
})) && _vo12(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4324
|
+
path: _path + ".__context",
|
|
4325
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4326
|
+
value: input.__context
|
|
4327
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4328
|
+
path: _path + ".__returnValue",
|
|
4329
|
+
expected: "(__type.o11 | undefined)",
|
|
4330
|
+
value: input.__returnValue
|
|
4331
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4332
|
+
path: _path + ".__returnValue",
|
|
4333
|
+
expected: "(__type.o11 | undefined)",
|
|
4334
|
+
value: input.__returnValue
|
|
4335
|
+
})].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
4336
|
+
const value = input[key];
|
|
4337
|
+
if (undefined === value)
|
|
4338
|
+
return true;
|
|
4339
|
+
return undefined === value || "string" === typeof value || _report(_exceptionable, {
|
|
4340
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4341
|
+
expected: "(string | undefined)",
|
|
4342
|
+
value: value
|
|
4343
|
+
});
|
|
4344
|
+
}).every(flag => flag)].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4345
|
+
path: _path + ".__context",
|
|
4346
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4347
|
+
value: input.__context
|
|
4348
|
+
})) && _vo12(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4349
|
+
path: _path + ".__context",
|
|
4350
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4351
|
+
value: input.__context
|
|
4352
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4353
|
+
path: _path + ".__returnValue",
|
|
4354
|
+
expected: "(__type.o14 | undefined)",
|
|
4355
|
+
value: input.__returnValue
|
|
4356
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4357
|
+
path: _path + ".__returnValue",
|
|
4358
|
+
expected: "(__type.o14 | undefined)",
|
|
4359
|
+
value: input.__returnValue
|
|
4360
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4361
|
+
path: _path + ".__context",
|
|
4362
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4363
|
+
value: input.__context
|
|
4364
|
+
})) && _vo12(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4365
|
+
path: _path + ".__context",
|
|
4366
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
4367
|
+
value: input.__context
|
|
4368
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
4369
|
+
path: _path + ".__returnValue",
|
|
4370
|
+
expected: "(boolean | undefined)",
|
|
4371
|
+
value: input.__returnValue
|
|
4372
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat || _report(_exceptionable, {
|
|
4373
|
+
path: _path + ".responseFormat",
|
|
4374
|
+
expected: "(\"json\" | \"stream\" | \"text\" | undefined)",
|
|
4375
|
+
value: input.responseFormat
|
|
4376
|
+
}), null === input.error || undefined === input.error || "string" === typeof input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
4377
|
+
path: _path + ".error",
|
|
4378
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
4379
|
+
value: input.error
|
|
4380
|
+
})) && _vo22(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
4381
|
+
path: _path + ".error",
|
|
4382
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
4383
|
+
value: input.error
|
|
4384
|
+
}), (null !== input.transform || _report(_exceptionable, {
|
|
4385
|
+
path: _path + ".transform",
|
|
4386
|
+
expected: "(__type.o19 | string | undefined)",
|
|
4387
|
+
value: input.transform
|
|
4388
|
+
})) && (undefined === input.transform || "string" === typeof input.transform || ("object" === typeof input.transform && null !== input.transform || _report(_exceptionable, {
|
|
4389
|
+
path: _path + ".transform",
|
|
4390
|
+
expected: "(__type.o19 | string | undefined)",
|
|
4391
|
+
value: input.transform
|
|
4392
|
+
})) && _vo25(input.transform, _path + ".transform", true && _exceptionable) || _report(_exceptionable, {
|
|
4393
|
+
path: _path + ".transform",
|
|
4394
|
+
expected: "(__type.o19 | string | undefined)",
|
|
4395
|
+
value: input.transform
|
|
4396
|
+
}))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4397
|
+
path: _path + ".__context",
|
|
4398
|
+
expected: "__type.o18",
|
|
4399
|
+
value: input.__context
|
|
4400
|
+
})) && _vo23(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4401
|
+
path: _path + ".__context",
|
|
4402
|
+
expected: "__type.o18",
|
|
4403
|
+
value: input.__context
|
|
4404
|
+
}), null === input.__returnValue || undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
4405
|
+
path: _path + ".__returnValue",
|
|
4406
|
+
expected: "(null | string | undefined)",
|
|
4407
|
+
value: input.__returnValue
|
|
4408
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
4409
|
+
path: _path + ".connection",
|
|
4410
|
+
expected: "FileConnectionHttpRecord",
|
|
4411
|
+
value: input.connection
|
|
4412
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
4413
|
+
path: _path + ".connection",
|
|
4414
|
+
expected: "FileConnectionHttpRecord",
|
|
4415
|
+
value: input.connection
|
|
4416
|
+
}), ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
4417
|
+
path: _path + ".headers",
|
|
4418
|
+
expected: "Record<string, string | string[] | undefined>",
|
|
4419
|
+
value: input.headers
|
|
4420
|
+
})) && _vo24(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
4421
|
+
path: _path + ".headers",
|
|
4422
|
+
expected: "Record<string, string | string[] | undefined>",
|
|
4423
|
+
value: input.headers
|
|
4424
|
+
}), "number" === typeof input.statusCode || _report(_exceptionable, {
|
|
4425
|
+
path: _path + ".statusCode",
|
|
4426
|
+
expected: "number",
|
|
4427
|
+
value: input.statusCode
|
|
4428
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
4429
|
+
const value = input[key];
|
|
4430
|
+
if (undefined === value)
|
|
4431
|
+
return true;
|
|
4432
|
+
return (null !== value || _report(_exceptionable, {
|
|
4433
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4434
|
+
expected: "(Array<string> | string | undefined)",
|
|
4435
|
+
value: value
|
|
4436
|
+
})) && (undefined === value || "string" === typeof value || (Array.isArray(value) || _report(_exceptionable, {
|
|
4437
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4438
|
+
expected: "(Array<string> | string | undefined)",
|
|
4439
|
+
value: value
|
|
4440
|
+
})) && value.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
|
|
4441
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index5 + "]",
|
|
4442
|
+
expected: "string",
|
|
4443
|
+
value: elem
|
|
4444
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
4445
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4446
|
+
expected: "(Array<string> | string | undefined)",
|
|
4447
|
+
value: value
|
|
4448
|
+
}));
|
|
4449
|
+
}).every(flag => flag)].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4450
|
+
path: _path + ".__context",
|
|
4451
|
+
expected: "__type.o20",
|
|
4452
|
+
value: input.__context
|
|
4453
|
+
})) && _vo26(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4454
|
+
path: _path + ".__context",
|
|
4455
|
+
expected: "__type.o20",
|
|
4456
|
+
value: input.__context
|
|
4457
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
4458
|
+
path: _path + ".__returnValue",
|
|
4459
|
+
expected: "undefined",
|
|
4460
|
+
value: input.__returnValue
|
|
4461
|
+
})) && (undefined === input.__returnValue || _report(_exceptionable, {
|
|
4462
|
+
path: _path + ".__returnValue",
|
|
4463
|
+
expected: "undefined",
|
|
4464
|
+
value: input.__returnValue
|
|
4465
|
+
}))].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
4466
|
+
path: _path + ".connection",
|
|
4467
|
+
expected: "FileConnectionHttpRecord",
|
|
4468
|
+
value: input.connection
|
|
4469
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
4470
|
+
path: _path + ".connection",
|
|
4471
|
+
expected: "FileConnectionHttpRecord",
|
|
4472
|
+
value: input.connection
|
|
4473
|
+
}), true, undefined === input.text || "string" === typeof input.text || _report(_exceptionable, {
|
|
4474
|
+
path: _path + ".text",
|
|
4475
|
+
expected: "(string | undefined)",
|
|
4476
|
+
value: input.text
|
|
4477
|
+
}), ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
4478
|
+
path: _path + ".headers",
|
|
4479
|
+
expected: "Record<string, string | string[] | undefined>",
|
|
4480
|
+
value: input.headers
|
|
4481
|
+
})) && _vo24(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
4482
|
+
path: _path + ".headers",
|
|
4483
|
+
expected: "Record<string, string | string[] | undefined>",
|
|
4484
|
+
value: input.headers
|
|
4485
|
+
}), "number" === typeof input.statusCode || _report(_exceptionable, {
|
|
4486
|
+
path: _path + ".statusCode",
|
|
4487
|
+
expected: "number",
|
|
4488
|
+
value: input.statusCode
|
|
4489
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.request || ("object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) || _report(_exceptionable, {
|
|
4490
|
+
path: _path + ".request",
|
|
4491
|
+
expected: "(__type.o21 | undefined)",
|
|
4492
|
+
value: input.request
|
|
4493
|
+
})) && _vo28(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
4494
|
+
path: _path + ".request",
|
|
4495
|
+
expected: "(__type.o21 | undefined)",
|
|
4496
|
+
value: input.request
|
|
4497
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
4498
|
+
path: _path + ".response",
|
|
4499
|
+
expected: "(HttpConnectionResponseHandler<FileConnectionHeadResponse | undefined> | undefined)",
|
|
4500
|
+
value: input.response
|
|
4501
|
+
})) && _vo35(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
4502
|
+
path: _path + ".response",
|
|
4503
|
+
expected: "(HttpConnectionResponseHandler<FileConnectionHeadResponse | undefined> | undefined)",
|
|
4504
|
+
value: input.response
|
|
4505
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
4506
|
+
path: _path + ".origin",
|
|
4507
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4508
|
+
value: input.origin
|
|
4509
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
4510
|
+
path: _path + ".origin",
|
|
4511
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4512
|
+
value: input.origin
|
|
4513
|
+
})) && _vo29(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
4514
|
+
path: _path + ".origin",
|
|
4515
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4516
|
+
value: input.origin
|
|
4517
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
4518
|
+
path: _path + ".path",
|
|
4519
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4520
|
+
value: input.path
|
|
4521
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
4522
|
+
path: _path + ".path",
|
|
4523
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4524
|
+
value: input.path
|
|
4525
|
+
})) && _vo29(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
4526
|
+
path: _path + ".path",
|
|
4527
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4528
|
+
value: input.path
|
|
4529
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
4530
|
+
path: _path + ".method",
|
|
4531
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4532
|
+
value: input.method
|
|
4533
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
4534
|
+
path: _path + ".method",
|
|
4535
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4536
|
+
value: input.method
|
|
4537
|
+
})) && _vo29(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
4538
|
+
path: _path + ".method",
|
|
4539
|
+
expected: "(__type.o22 | string | undefined)",
|
|
4540
|
+
value: input.method
|
|
4541
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
4542
|
+
path: _path + ".params",
|
|
4543
|
+
expected: "(__type.o24 | __type.o9 | string | undefined)",
|
|
4544
|
+
value: input.params
|
|
4545
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
4546
|
+
path: _path + ".params",
|
|
4547
|
+
expected: "(__type.o24 | __type.o9 | string | undefined)",
|
|
4548
|
+
value: input.params
|
|
4549
|
+
})) && _vu3(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
4550
|
+
path: _path + ".params",
|
|
4551
|
+
expected: "(__type.o24 | __type.o9 | string | undefined)",
|
|
4552
|
+
value: input.params
|
|
4553
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
4554
|
+
path: _path + ".form",
|
|
4555
|
+
expected: "(__type.o11 | __type.o25 | string | undefined)",
|
|
4556
|
+
value: input.form
|
|
4557
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
4558
|
+
path: _path + ".form",
|
|
4559
|
+
expected: "(__type.o11 | __type.o25 | string | undefined)",
|
|
4560
|
+
value: input.form
|
|
4561
|
+
})) && _vu4(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
4562
|
+
path: _path + ".form",
|
|
4563
|
+
expected: "(__type.o11 | __type.o25 | string | undefined)",
|
|
4564
|
+
value: input.form
|
|
4565
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
4566
|
+
path: _path + ".headers",
|
|
4567
|
+
expected: "(__type.o14 | __type.o26 | string | undefined)",
|
|
4568
|
+
value: input.headers
|
|
4569
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
4570
|
+
path: _path + ".headers",
|
|
4571
|
+
expected: "(__type.o14 | __type.o26 | string | undefined)",
|
|
4572
|
+
value: input.headers
|
|
4573
|
+
})) && _vu5(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
4574
|
+
path: _path + ".headers",
|
|
4575
|
+
expected: "(__type.o14 | __type.o26 | string | undefined)",
|
|
4576
|
+
value: input.headers
|
|
4577
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
4578
|
+
path: _path + ".throwOnError",
|
|
4579
|
+
expected: "(__type.o27 | boolean | string | undefined)",
|
|
4580
|
+
value: input.throwOnError
|
|
4581
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
4582
|
+
path: _path + ".throwOnError",
|
|
4583
|
+
expected: "(__type.o27 | boolean | string | undefined)",
|
|
4584
|
+
value: input.throwOnError
|
|
4585
|
+
})) && _vo34(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
4586
|
+
path: _path + ".throwOnError",
|
|
4587
|
+
expected: "(__type.o27 | boolean | string | undefined)",
|
|
4588
|
+
value: input.throwOnError
|
|
4589
|
+
}))].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4590
|
+
path: _path + ".__context",
|
|
4591
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4592
|
+
value: input.__context
|
|
4593
|
+
})) && _vo30(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4594
|
+
path: _path + ".__context",
|
|
4595
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4596
|
+
value: input.__context
|
|
4597
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
4598
|
+
path: _path + ".__returnValue",
|
|
4599
|
+
expected: "(string | undefined)",
|
|
4600
|
+
value: input.__returnValue
|
|
4601
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => ["string" === typeof input.filepath || _report(_exceptionable, {
|
|
4602
|
+
path: _path + ".filepath",
|
|
4603
|
+
expected: "string",
|
|
4604
|
+
value: input.filepath
|
|
4605
|
+
}), ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
4606
|
+
path: _path + ".connection",
|
|
4607
|
+
expected: "FileConnectionHttpRecord",
|
|
4608
|
+
value: input.connection
|
|
4609
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
4610
|
+
path: _path + ".connection",
|
|
4611
|
+
expected: "FileConnectionHttpRecord",
|
|
4612
|
+
value: input.connection
|
|
4613
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4614
|
+
path: _path + ".__context",
|
|
4615
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4616
|
+
value: input.__context
|
|
4617
|
+
})) && _vo30(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4618
|
+
path: _path + ".__context",
|
|
4619
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4620
|
+
value: input.__context
|
|
4621
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4622
|
+
path: _path + ".__returnValue",
|
|
4623
|
+
expected: "(__type.o9 | undefined)",
|
|
4624
|
+
value: input.__returnValue
|
|
4625
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4626
|
+
path: _path + ".__returnValue",
|
|
4627
|
+
expected: "(__type.o9 | undefined)",
|
|
4628
|
+
value: input.__returnValue
|
|
4629
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4630
|
+
path: _path + ".__context",
|
|
4631
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4632
|
+
value: input.__context
|
|
4633
|
+
})) && _vo30(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4634
|
+
path: _path + ".__context",
|
|
4635
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4636
|
+
value: input.__context
|
|
4637
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4638
|
+
path: _path + ".__returnValue",
|
|
4639
|
+
expected: "(__type.o11 | undefined)",
|
|
4640
|
+
value: input.__returnValue
|
|
4641
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4642
|
+
path: _path + ".__returnValue",
|
|
4643
|
+
expected: "(__type.o11 | undefined)",
|
|
4644
|
+
value: input.__returnValue
|
|
4645
|
+
})].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4646
|
+
path: _path + ".__context",
|
|
4647
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4648
|
+
value: input.__context
|
|
4649
|
+
})) && _vo30(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4650
|
+
path: _path + ".__context",
|
|
4651
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4652
|
+
value: input.__context
|
|
4653
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4654
|
+
path: _path + ".__returnValue",
|
|
4655
|
+
expected: "(__type.o14 | undefined)",
|
|
4656
|
+
value: input.__returnValue
|
|
4657
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4658
|
+
path: _path + ".__returnValue",
|
|
4659
|
+
expected: "(__type.o14 | undefined)",
|
|
4660
|
+
value: input.__returnValue
|
|
4661
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4662
|
+
path: _path + ".__context",
|
|
4663
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4664
|
+
value: input.__context
|
|
4665
|
+
})) && _vo30(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4666
|
+
path: _path + ".__context",
|
|
4667
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
4668
|
+
value: input.__context
|
|
4669
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
4670
|
+
path: _path + ".__returnValue",
|
|
4671
|
+
expected: "(boolean | undefined)",
|
|
4672
|
+
value: input.__returnValue
|
|
4673
|
+
})].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat || _report(_exceptionable, {
|
|
4674
|
+
path: _path + ".responseFormat",
|
|
4675
|
+
expected: "(\"json\" | \"stream\" | \"text\" | undefined)",
|
|
4676
|
+
value: input.responseFormat
|
|
4677
|
+
}), null === input.error || undefined === input.error || "string" === typeof input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
4678
|
+
path: _path + ".error",
|
|
4679
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
4680
|
+
value: input.error
|
|
4681
|
+
})) && _vo22(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
4682
|
+
path: _path + ".error",
|
|
4683
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
4684
|
+
value: input.error
|
|
4685
|
+
}), (null !== input.transform || _report(_exceptionable, {
|
|
4686
|
+
path: _path + ".transform",
|
|
4687
|
+
expected: "(FileConnectionHeadResponse | __type.o28 | string | undefined)",
|
|
4688
|
+
value: input.transform
|
|
4689
|
+
})) && (undefined === input.transform || "string" === typeof input.transform || ("object" === typeof input.transform && null !== input.transform && false === Array.isArray(input.transform) || _report(_exceptionable, {
|
|
4690
|
+
path: _path + ".transform",
|
|
4691
|
+
expected: "(FileConnectionHeadResponse | __type.o28 | string | undefined)",
|
|
4692
|
+
value: input.transform
|
|
4693
|
+
})) && _vu6(input.transform, _path + ".transform", true && _exceptionable) || _report(_exceptionable, {
|
|
4694
|
+
path: _path + ".transform",
|
|
4695
|
+
expected: "(FileConnectionHeadResponse | __type.o28 | string | undefined)",
|
|
4696
|
+
value: input.transform
|
|
4697
|
+
}))].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [undefined === input.size || "number" === typeof input.size || _report(_exceptionable, {
|
|
4698
|
+
path: _path + ".size",
|
|
4699
|
+
expected: "(number | undefined)",
|
|
4700
|
+
value: input.size
|
|
4701
|
+
}), undefined === input.hash || "string" === typeof input.hash || _report(_exceptionable, {
|
|
4702
|
+
path: _path + ".hash",
|
|
4703
|
+
expected: "(string | undefined)",
|
|
4704
|
+
value: input.hash
|
|
4705
|
+
})].every(flag => flag); const _vo37 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4706
|
+
path: _path + ".__context",
|
|
4707
|
+
expected: "__type.o20",
|
|
4708
|
+
value: input.__context
|
|
4709
|
+
})) && _vo26(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4710
|
+
path: _path + ".__context",
|
|
4711
|
+
expected: "__type.o20",
|
|
4712
|
+
value: input.__context
|
|
4713
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4714
|
+
path: _path + ".__returnValue",
|
|
4715
|
+
expected: "(FileConnectionHeadResponse | undefined)",
|
|
4716
|
+
value: input.__returnValue
|
|
4717
|
+
})) && _vo36(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4718
|
+
path: _path + ".__returnValue",
|
|
4719
|
+
expected: "(FileConnectionHeadResponse | undefined)",
|
|
4720
|
+
value: input.__returnValue
|
|
4721
|
+
})].every(flag => flag); const _vo38 = (input, _path, _exceptionable = true) => [undefined === input.request || ("object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) || _report(_exceptionable, {
|
|
4722
|
+
path: _path + ".request",
|
|
4723
|
+
expected: "(__type.o29 | undefined)",
|
|
4724
|
+
value: input.request
|
|
4725
|
+
})) && _vo39(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
4726
|
+
path: _path + ".request",
|
|
4727
|
+
expected: "(__type.o29 | undefined)",
|
|
4728
|
+
value: input.request
|
|
4729
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
4730
|
+
path: _path + ".response",
|
|
4731
|
+
expected: "(HttpConnectionResponseHandler<Array<FileConnectionListResponseItem>> | undefined)",
|
|
4732
|
+
value: input.response
|
|
4733
|
+
})) && _vo46(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
4734
|
+
path: _path + ".response",
|
|
4735
|
+
expected: "(HttpConnectionResponseHandler<Array<FileConnectionListResponseItem>> | undefined)",
|
|
4736
|
+
value: input.response
|
|
4737
|
+
})].every(flag => flag); const _vo39 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
4738
|
+
path: _path + ".origin",
|
|
4739
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4740
|
+
value: input.origin
|
|
4741
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
4742
|
+
path: _path + ".origin",
|
|
4743
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4744
|
+
value: input.origin
|
|
4745
|
+
})) && _vo40(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
4746
|
+
path: _path + ".origin",
|
|
4747
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4748
|
+
value: input.origin
|
|
4749
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
4750
|
+
path: _path + ".path",
|
|
4751
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4752
|
+
value: input.path
|
|
4753
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
4754
|
+
path: _path + ".path",
|
|
4755
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4756
|
+
value: input.path
|
|
4757
|
+
})) && _vo40(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
4758
|
+
path: _path + ".path",
|
|
4759
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4760
|
+
value: input.path
|
|
4761
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
4762
|
+
path: _path + ".method",
|
|
4763
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4764
|
+
value: input.method
|
|
4765
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
4766
|
+
path: _path + ".method",
|
|
4767
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4768
|
+
value: input.method
|
|
4769
|
+
})) && _vo40(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
4770
|
+
path: _path + ".method",
|
|
4771
|
+
expected: "(__type.o30 | string | undefined)",
|
|
4772
|
+
value: input.method
|
|
4773
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
4774
|
+
path: _path + ".params",
|
|
4775
|
+
expected: "(__type.o32 | __type.o9 | string | undefined)",
|
|
4776
|
+
value: input.params
|
|
4777
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
4778
|
+
path: _path + ".params",
|
|
4779
|
+
expected: "(__type.o32 | __type.o9 | string | undefined)",
|
|
4780
|
+
value: input.params
|
|
4781
|
+
})) && _vu7(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
4782
|
+
path: _path + ".params",
|
|
4783
|
+
expected: "(__type.o32 | __type.o9 | string | undefined)",
|
|
4784
|
+
value: input.params
|
|
4785
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
4786
|
+
path: _path + ".form",
|
|
4787
|
+
expected: "(__type.o11 | __type.o33 | string | undefined)",
|
|
4788
|
+
value: input.form
|
|
4789
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
4790
|
+
path: _path + ".form",
|
|
4791
|
+
expected: "(__type.o11 | __type.o33 | string | undefined)",
|
|
4792
|
+
value: input.form
|
|
4793
|
+
})) && _vu8(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
4794
|
+
path: _path + ".form",
|
|
4795
|
+
expected: "(__type.o11 | __type.o33 | string | undefined)",
|
|
4796
|
+
value: input.form
|
|
4797
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
4798
|
+
path: _path + ".headers",
|
|
4799
|
+
expected: "(__type.o14 | __type.o34 | string | undefined)",
|
|
4800
|
+
value: input.headers
|
|
4801
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
4802
|
+
path: _path + ".headers",
|
|
4803
|
+
expected: "(__type.o14 | __type.o34 | string | undefined)",
|
|
4804
|
+
value: input.headers
|
|
4805
|
+
})) && _vu9(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
4806
|
+
path: _path + ".headers",
|
|
4807
|
+
expected: "(__type.o14 | __type.o34 | string | undefined)",
|
|
4808
|
+
value: input.headers
|
|
4809
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
4810
|
+
path: _path + ".throwOnError",
|
|
4811
|
+
expected: "(__type.o35 | boolean | string | undefined)",
|
|
4812
|
+
value: input.throwOnError
|
|
4813
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
4814
|
+
path: _path + ".throwOnError",
|
|
4815
|
+
expected: "(__type.o35 | boolean | string | undefined)",
|
|
4816
|
+
value: input.throwOnError
|
|
4817
|
+
})) && _vo45(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
4818
|
+
path: _path + ".throwOnError",
|
|
4819
|
+
expected: "(__type.o35 | boolean | string | undefined)",
|
|
4820
|
+
value: input.throwOnError
|
|
4821
|
+
}))].every(flag => flag); const _vo40 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4822
|
+
path: _path + ".__context",
|
|
4823
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4824
|
+
value: input.__context
|
|
4825
|
+
})) && _vo41(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4826
|
+
path: _path + ".__context",
|
|
4827
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4828
|
+
value: input.__context
|
|
4829
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
4830
|
+
path: _path + ".__returnValue",
|
|
4831
|
+
expected: "(string | undefined)",
|
|
4832
|
+
value: input.__returnValue
|
|
4833
|
+
})].every(flag => flag); const _vo41 = (input, _path, _exceptionable = true) => [undefined === input.dirpath || "string" === typeof input.dirpath || _report(_exceptionable, {
|
|
4834
|
+
path: _path + ".dirpath",
|
|
4835
|
+
expected: "(string | undefined)",
|
|
4836
|
+
value: input.dirpath
|
|
4837
|
+
}), ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
4838
|
+
path: _path + ".connection",
|
|
4839
|
+
expected: "FileConnectionHttpRecord",
|
|
4840
|
+
value: input.connection
|
|
4841
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
4842
|
+
path: _path + ".connection",
|
|
4843
|
+
expected: "FileConnectionHttpRecord",
|
|
4844
|
+
value: input.connection
|
|
4845
|
+
})].every(flag => flag); const _vo42 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4846
|
+
path: _path + ".__context",
|
|
4847
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4848
|
+
value: input.__context
|
|
4849
|
+
})) && _vo41(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4850
|
+
path: _path + ".__context",
|
|
4851
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4852
|
+
value: input.__context
|
|
4853
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4854
|
+
path: _path + ".__returnValue",
|
|
4855
|
+
expected: "(__type.o9 | undefined)",
|
|
4856
|
+
value: input.__returnValue
|
|
4857
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4858
|
+
path: _path + ".__returnValue",
|
|
4859
|
+
expected: "(__type.o9 | undefined)",
|
|
4860
|
+
value: input.__returnValue
|
|
4861
|
+
})].every(flag => flag); const _vo43 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4862
|
+
path: _path + ".__context",
|
|
4863
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4864
|
+
value: input.__context
|
|
4865
|
+
})) && _vo41(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4866
|
+
path: _path + ".__context",
|
|
4867
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4868
|
+
value: input.__context
|
|
4869
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4870
|
+
path: _path + ".__returnValue",
|
|
4871
|
+
expected: "(__type.o11 | undefined)",
|
|
4872
|
+
value: input.__returnValue
|
|
4873
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4874
|
+
path: _path + ".__returnValue",
|
|
4875
|
+
expected: "(__type.o11 | undefined)",
|
|
4876
|
+
value: input.__returnValue
|
|
4877
|
+
})].every(flag => flag); const _vo44 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4878
|
+
path: _path + ".__context",
|
|
4879
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4880
|
+
value: input.__context
|
|
4881
|
+
})) && _vo41(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4882
|
+
path: _path + ".__context",
|
|
4883
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4884
|
+
value: input.__context
|
|
4885
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4886
|
+
path: _path + ".__returnValue",
|
|
4887
|
+
expected: "(__type.o14 | undefined)",
|
|
4888
|
+
value: input.__returnValue
|
|
4889
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
4890
|
+
path: _path + ".__returnValue",
|
|
4891
|
+
expected: "(__type.o14 | undefined)",
|
|
4892
|
+
value: input.__returnValue
|
|
4893
|
+
})].every(flag => flag); const _vo45 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4894
|
+
path: _path + ".__context",
|
|
4895
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4896
|
+
value: input.__context
|
|
4897
|
+
})) && _vo41(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4898
|
+
path: _path + ".__context",
|
|
4899
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
4900
|
+
value: input.__context
|
|
4901
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
4902
|
+
path: _path + ".__returnValue",
|
|
4903
|
+
expected: "(boolean | undefined)",
|
|
4904
|
+
value: input.__returnValue
|
|
4905
|
+
})].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat || _report(_exceptionable, {
|
|
4906
|
+
path: _path + ".responseFormat",
|
|
4907
|
+
expected: "(\"json\" | \"stream\" | \"text\" | undefined)",
|
|
4908
|
+
value: input.responseFormat
|
|
4909
|
+
}), null === input.error || undefined === input.error || "string" === typeof input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
4910
|
+
path: _path + ".error",
|
|
4911
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
4912
|
+
value: input.error
|
|
4913
|
+
})) && _vo22(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
4914
|
+
path: _path + ".error",
|
|
4915
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
4916
|
+
value: input.error
|
|
4917
|
+
}), (null !== input.transform || _report(_exceptionable, {
|
|
4918
|
+
path: _path + ".transform",
|
|
4919
|
+
expected: "(Array<FileConnectionListResponseItem> | __type.o36 | string | undefined)",
|
|
4920
|
+
value: input.transform
|
|
4921
|
+
})) && (undefined === input.transform || "string" === typeof input.transform || (Array.isArray(input.transform) && input.transform.map((elem, _index6) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
4922
|
+
path: _path + ".transform[" + _index6 + "]",
|
|
4923
|
+
expected: "FileConnectionListResponseItem",
|
|
4924
|
+
value: elem
|
|
4925
|
+
})) && _vo47(elem, _path + ".transform[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4926
|
+
path: _path + ".transform[" + _index6 + "]",
|
|
4927
|
+
expected: "FileConnectionListResponseItem",
|
|
4928
|
+
value: elem
|
|
4929
|
+
})).every(flag => flag) || "object" === typeof input.transform && null !== input.transform && _vo48(input.transform, _path + ".transform", true && _exceptionable) || _report(_exceptionable, {
|
|
4930
|
+
path: _path + ".transform",
|
|
4931
|
+
expected: "(Array<FileConnectionListResponseItem> | __type.o36 | string | undefined)",
|
|
4932
|
+
value: input.transform
|
|
4933
|
+
})) || _report(_exceptionable, {
|
|
4934
|
+
path: _path + ".transform",
|
|
4935
|
+
expected: "(Array<FileConnectionListResponseItem> | __type.o36 | string | undefined)",
|
|
4936
|
+
value: input.transform
|
|
4937
|
+
}))].every(flag => flag); const _vo47 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
|
4938
|
+
path: _path + ".name",
|
|
4939
|
+
expected: "string",
|
|
4940
|
+
value: input.name
|
|
4941
|
+
}), "boolean" === typeof input.isDir || _report(_exceptionable, {
|
|
4942
|
+
path: _path + ".isDir",
|
|
4943
|
+
expected: "boolean",
|
|
4944
|
+
value: input.isDir
|
|
4945
|
+
}), "number" === typeof input.size || _report(_exceptionable, {
|
|
4946
|
+
path: _path + ".size",
|
|
4947
|
+
expected: "number",
|
|
4948
|
+
value: input.size
|
|
4949
|
+
}), undefined === input.date || "string" === typeof input.date || _report(_exceptionable, {
|
|
4950
|
+
path: _path + ".date",
|
|
4951
|
+
expected: "(string | undefined)",
|
|
4952
|
+
value: input.date
|
|
4953
|
+
}), "string" === typeof input.path || _report(_exceptionable, {
|
|
4954
|
+
path: _path + ".path",
|
|
4955
|
+
expected: "string",
|
|
4956
|
+
value: input.path
|
|
4957
|
+
})].every(flag => flag); const _vo48 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
4958
|
+
path: _path + ".__context",
|
|
4959
|
+
expected: "__type.o20",
|
|
4960
|
+
value: input.__context
|
|
4961
|
+
})) && _vo26(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
4962
|
+
path: _path + ".__context",
|
|
4963
|
+
expected: "__type.o20",
|
|
4964
|
+
value: input.__context
|
|
4965
|
+
}), (Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
4966
|
+
path: _path + ".__returnValue",
|
|
4967
|
+
expected: "Array<FileConnectionListResponseItem>",
|
|
4968
|
+
value: input.__returnValue
|
|
4969
|
+
})) && input.__returnValue.map((elem, _index7) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
4970
|
+
path: _path + ".__returnValue[" + _index7 + "]",
|
|
4971
|
+
expected: "FileConnectionListResponseItem",
|
|
4972
|
+
value: elem
|
|
4973
|
+
})) && _vo47(elem, _path + ".__returnValue[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4974
|
+
path: _path + ".__returnValue[" + _index7 + "]",
|
|
4975
|
+
expected: "FileConnectionListResponseItem",
|
|
4976
|
+
value: elem
|
|
4977
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
4978
|
+
path: _path + ".__returnValue",
|
|
4979
|
+
expected: "Array<FileConnectionListResponseItem>",
|
|
4980
|
+
value: input.__returnValue
|
|
4981
|
+
})].every(flag => flag); const _vo49 = (input, _path, _exceptionable = true) => [undefined === input.request || ("object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) || _report(_exceptionable, {
|
|
4982
|
+
path: _path + ".request",
|
|
4983
|
+
expected: "(__type.o37 | undefined)",
|
|
4984
|
+
value: input.request
|
|
4985
|
+
})) && _vo50(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
4986
|
+
path: _path + ".request",
|
|
4987
|
+
expected: "(__type.o37 | undefined)",
|
|
4988
|
+
value: input.request
|
|
4989
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
4990
|
+
path: _path + ".response",
|
|
4991
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
4992
|
+
value: input.response
|
|
4993
|
+
})) && _vo21(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
4994
|
+
path: _path + ".response",
|
|
4995
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
4996
|
+
value: input.response
|
|
4997
|
+
})].every(flag => flag); const _vo50 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
4998
|
+
path: _path + ".origin",
|
|
4999
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5000
|
+
value: input.origin
|
|
5001
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
5002
|
+
path: _path + ".origin",
|
|
5003
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5004
|
+
value: input.origin
|
|
5005
|
+
})) && _vo51(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
5006
|
+
path: _path + ".origin",
|
|
5007
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5008
|
+
value: input.origin
|
|
5009
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
5010
|
+
path: _path + ".path",
|
|
5011
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5012
|
+
value: input.path
|
|
5013
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
5014
|
+
path: _path + ".path",
|
|
5015
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5016
|
+
value: input.path
|
|
5017
|
+
})) && _vo51(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
5018
|
+
path: _path + ".path",
|
|
5019
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5020
|
+
value: input.path
|
|
5021
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
5022
|
+
path: _path + ".method",
|
|
5023
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5024
|
+
value: input.method
|
|
5025
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
5026
|
+
path: _path + ".method",
|
|
5027
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5028
|
+
value: input.method
|
|
5029
|
+
})) && _vo51(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
5030
|
+
path: _path + ".method",
|
|
5031
|
+
expected: "(__type.o38 | string | undefined)",
|
|
5032
|
+
value: input.method
|
|
5033
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
5034
|
+
path: _path + ".params",
|
|
5035
|
+
expected: "(__type.o40 | __type.o9 | string | undefined)",
|
|
5036
|
+
value: input.params
|
|
5037
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
5038
|
+
path: _path + ".params",
|
|
5039
|
+
expected: "(__type.o40 | __type.o9 | string | undefined)",
|
|
5040
|
+
value: input.params
|
|
5041
|
+
})) && _vu10(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
5042
|
+
path: _path + ".params",
|
|
5043
|
+
expected: "(__type.o40 | __type.o9 | string | undefined)",
|
|
5044
|
+
value: input.params
|
|
5045
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
5046
|
+
path: _path + ".form",
|
|
5047
|
+
expected: "(__type.o11 | __type.o41 | string | undefined)",
|
|
5048
|
+
value: input.form
|
|
5049
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
5050
|
+
path: _path + ".form",
|
|
5051
|
+
expected: "(__type.o11 | __type.o41 | string | undefined)",
|
|
5052
|
+
value: input.form
|
|
5053
|
+
})) && _vu11(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
5054
|
+
path: _path + ".form",
|
|
5055
|
+
expected: "(__type.o11 | __type.o41 | string | undefined)",
|
|
5056
|
+
value: input.form
|
|
5057
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
5058
|
+
path: _path + ".headers",
|
|
5059
|
+
expected: "(__type.o14 | __type.o42 | string | undefined)",
|
|
5060
|
+
value: input.headers
|
|
5061
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
5062
|
+
path: _path + ".headers",
|
|
5063
|
+
expected: "(__type.o14 | __type.o42 | string | undefined)",
|
|
5064
|
+
value: input.headers
|
|
5065
|
+
})) && _vu12(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
5066
|
+
path: _path + ".headers",
|
|
5067
|
+
expected: "(__type.o14 | __type.o42 | string | undefined)",
|
|
5068
|
+
value: input.headers
|
|
5069
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
5070
|
+
path: _path + ".throwOnError",
|
|
5071
|
+
expected: "(__type.o43 | boolean | string | undefined)",
|
|
5072
|
+
value: input.throwOnError
|
|
5073
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
5074
|
+
path: _path + ".throwOnError",
|
|
5075
|
+
expected: "(__type.o43 | boolean | string | undefined)",
|
|
5076
|
+
value: input.throwOnError
|
|
5077
|
+
})) && _vo56(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
5078
|
+
path: _path + ".throwOnError",
|
|
5079
|
+
expected: "(__type.o43 | boolean | string | undefined)",
|
|
5080
|
+
value: input.throwOnError
|
|
5081
|
+
}))].every(flag => flag); const _vo51 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5082
|
+
path: _path + ".__context",
|
|
5083
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5084
|
+
value: input.__context
|
|
5085
|
+
})) && _vo52(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5086
|
+
path: _path + ".__context",
|
|
5087
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5088
|
+
value: input.__context
|
|
5089
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
5090
|
+
path: _path + ".__returnValue",
|
|
5091
|
+
expected: "(string | undefined)",
|
|
5092
|
+
value: input.__returnValue
|
|
5093
|
+
})].every(flag => flag); const _vo52 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
5094
|
+
path: _path + ".id",
|
|
5095
|
+
expected: "string",
|
|
5096
|
+
value: input.id
|
|
5097
|
+
}), undefined === input.offset || "number" === typeof input.offset || _report(_exceptionable, {
|
|
5098
|
+
path: _path + ".offset",
|
|
5099
|
+
expected: "(number | undefined)",
|
|
5100
|
+
value: input.offset
|
|
5101
|
+
}), ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
5102
|
+
path: _path + ".connection",
|
|
5103
|
+
expected: "FileConnectionHttpRecord",
|
|
5104
|
+
value: input.connection
|
|
5105
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
5106
|
+
path: _path + ".connection",
|
|
5107
|
+
expected: "FileConnectionHttpRecord",
|
|
5108
|
+
value: input.connection
|
|
5109
|
+
})].every(flag => flag); const _vo53 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5110
|
+
path: _path + ".__context",
|
|
5111
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5112
|
+
value: input.__context
|
|
5113
|
+
})) && _vo52(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5114
|
+
path: _path + ".__context",
|
|
5115
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5116
|
+
value: input.__context
|
|
5117
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5118
|
+
path: _path + ".__returnValue",
|
|
5119
|
+
expected: "(__type.o9 | undefined)",
|
|
5120
|
+
value: input.__returnValue
|
|
5121
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5122
|
+
path: _path + ".__returnValue",
|
|
5123
|
+
expected: "(__type.o9 | undefined)",
|
|
5124
|
+
value: input.__returnValue
|
|
5125
|
+
})].every(flag => flag); const _vo54 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5126
|
+
path: _path + ".__context",
|
|
5127
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5128
|
+
value: input.__context
|
|
5129
|
+
})) && _vo52(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5130
|
+
path: _path + ".__context",
|
|
5131
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5132
|
+
value: input.__context
|
|
5133
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5134
|
+
path: _path + ".__returnValue",
|
|
5135
|
+
expected: "(__type.o11 | undefined)",
|
|
5136
|
+
value: input.__returnValue
|
|
5137
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5138
|
+
path: _path + ".__returnValue",
|
|
5139
|
+
expected: "(__type.o11 | undefined)",
|
|
5140
|
+
value: input.__returnValue
|
|
5141
|
+
})].every(flag => flag); const _vo55 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5142
|
+
path: _path + ".__context",
|
|
5143
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5144
|
+
value: input.__context
|
|
5145
|
+
})) && _vo52(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5146
|
+
path: _path + ".__context",
|
|
5147
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5148
|
+
value: input.__context
|
|
5149
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5150
|
+
path: _path + ".__returnValue",
|
|
5151
|
+
expected: "(__type.o14 | undefined)",
|
|
5152
|
+
value: input.__returnValue
|
|
5153
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5154
|
+
path: _path + ".__returnValue",
|
|
5155
|
+
expected: "(__type.o14 | undefined)",
|
|
5156
|
+
value: input.__returnValue
|
|
5157
|
+
})].every(flag => flag); const _vo56 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5158
|
+
path: _path + ".__context",
|
|
5159
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5160
|
+
value: input.__context
|
|
5161
|
+
})) && _vo52(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5162
|
+
path: _path + ".__context",
|
|
5163
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
5164
|
+
value: input.__context
|
|
5165
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
5166
|
+
path: _path + ".__returnValue",
|
|
5167
|
+
expected: "(boolean | undefined)",
|
|
5168
|
+
value: input.__returnValue
|
|
5169
|
+
})].every(flag => flag); const _vo57 = (input, _path, _exceptionable = true) => [undefined === input.request || ("object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) || _report(_exceptionable, {
|
|
5170
|
+
path: _path + ".request",
|
|
5171
|
+
expected: "(__type.o44 | undefined)",
|
|
5172
|
+
value: input.request
|
|
5173
|
+
})) && _vo58(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
5174
|
+
path: _path + ".request",
|
|
5175
|
+
expected: "(__type.o44 | undefined)",
|
|
5176
|
+
value: input.request
|
|
5177
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
5178
|
+
path: _path + ".response",
|
|
5179
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
5180
|
+
value: input.response
|
|
5181
|
+
})) && _vo21(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
5182
|
+
path: _path + ".response",
|
|
5183
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
5184
|
+
value: input.response
|
|
5185
|
+
})].every(flag => flag); const _vo58 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
5186
|
+
path: _path + ".origin",
|
|
5187
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5188
|
+
value: input.origin
|
|
5189
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
5190
|
+
path: _path + ".origin",
|
|
5191
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5192
|
+
value: input.origin
|
|
5193
|
+
})) && _vo59(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
5194
|
+
path: _path + ".origin",
|
|
5195
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5196
|
+
value: input.origin
|
|
5197
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
5198
|
+
path: _path + ".path",
|
|
5199
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5200
|
+
value: input.path
|
|
5201
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
5202
|
+
path: _path + ".path",
|
|
5203
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5204
|
+
value: input.path
|
|
5205
|
+
})) && _vo59(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
5206
|
+
path: _path + ".path",
|
|
5207
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5208
|
+
value: input.path
|
|
5209
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
5210
|
+
path: _path + ".method",
|
|
5211
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5212
|
+
value: input.method
|
|
5213
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
5214
|
+
path: _path + ".method",
|
|
5215
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5216
|
+
value: input.method
|
|
5217
|
+
})) && _vo59(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
5218
|
+
path: _path + ".method",
|
|
5219
|
+
expected: "(__type.o45 | string | undefined)",
|
|
5220
|
+
value: input.method
|
|
5221
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
5222
|
+
path: _path + ".params",
|
|
5223
|
+
expected: "(__type.o47 | __type.o9 | string | undefined)",
|
|
5224
|
+
value: input.params
|
|
5225
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
5226
|
+
path: _path + ".params",
|
|
5227
|
+
expected: "(__type.o47 | __type.o9 | string | undefined)",
|
|
5228
|
+
value: input.params
|
|
5229
|
+
})) && _vu13(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
5230
|
+
path: _path + ".params",
|
|
5231
|
+
expected: "(__type.o47 | __type.o9 | string | undefined)",
|
|
5232
|
+
value: input.params
|
|
5233
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
5234
|
+
path: _path + ".form",
|
|
5235
|
+
expected: "(__type.o11 | __type.o48 | string | undefined)",
|
|
5236
|
+
value: input.form
|
|
5237
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
5238
|
+
path: _path + ".form",
|
|
5239
|
+
expected: "(__type.o11 | __type.o48 | string | undefined)",
|
|
5240
|
+
value: input.form
|
|
5241
|
+
})) && _vu14(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
5242
|
+
path: _path + ".form",
|
|
5243
|
+
expected: "(__type.o11 | __type.o48 | string | undefined)",
|
|
5244
|
+
value: input.form
|
|
5245
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
5246
|
+
path: _path + ".headers",
|
|
5247
|
+
expected: "(__type.o14 | __type.o49 | string | undefined)",
|
|
5248
|
+
value: input.headers
|
|
5249
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
5250
|
+
path: _path + ".headers",
|
|
5251
|
+
expected: "(__type.o14 | __type.o49 | string | undefined)",
|
|
5252
|
+
value: input.headers
|
|
5253
|
+
})) && _vu15(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
5254
|
+
path: _path + ".headers",
|
|
5255
|
+
expected: "(__type.o14 | __type.o49 | string | undefined)",
|
|
5256
|
+
value: input.headers
|
|
5257
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
5258
|
+
path: _path + ".throwOnError",
|
|
5259
|
+
expected: "(__type.o50 | boolean | string | undefined)",
|
|
5260
|
+
value: input.throwOnError
|
|
5261
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
5262
|
+
path: _path + ".throwOnError",
|
|
5263
|
+
expected: "(__type.o50 | boolean | string | undefined)",
|
|
5264
|
+
value: input.throwOnError
|
|
5265
|
+
})) && _vo64(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
5266
|
+
path: _path + ".throwOnError",
|
|
5267
|
+
expected: "(__type.o50 | boolean | string | undefined)",
|
|
5268
|
+
value: input.throwOnError
|
|
5269
|
+
}))].every(flag => flag); const _vo59 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5270
|
+
path: _path + ".__context",
|
|
5271
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5272
|
+
value: input.__context
|
|
5273
|
+
})) && _vo60(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5274
|
+
path: _path + ".__context",
|
|
5275
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5276
|
+
value: input.__context
|
|
5277
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
5278
|
+
path: _path + ".__returnValue",
|
|
5279
|
+
expected: "(string | undefined)",
|
|
5280
|
+
value: input.__returnValue
|
|
5281
|
+
})].every(flag => flag); const _vo60 = (input, _path, _exceptionable = true) => ["string" === typeof input.filepath || _report(_exceptionable, {
|
|
5282
|
+
path: _path + ".filepath",
|
|
5283
|
+
expected: "string",
|
|
5284
|
+
value: input.filepath
|
|
5285
|
+
}), true, ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
5286
|
+
path: _path + ".connection",
|
|
5287
|
+
expected: "FileConnectionHttpRecord",
|
|
5288
|
+
value: input.connection
|
|
5289
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
5290
|
+
path: _path + ".connection",
|
|
5291
|
+
expected: "FileConnectionHttpRecord",
|
|
5292
|
+
value: input.connection
|
|
5293
|
+
})].every(flag => flag); const _vo61 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5294
|
+
path: _path + ".__context",
|
|
5295
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5296
|
+
value: input.__context
|
|
5297
|
+
})) && _vo60(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5298
|
+
path: _path + ".__context",
|
|
5299
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5300
|
+
value: input.__context
|
|
5301
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5302
|
+
path: _path + ".__returnValue",
|
|
5303
|
+
expected: "(__type.o9 | undefined)",
|
|
5304
|
+
value: input.__returnValue
|
|
5305
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5306
|
+
path: _path + ".__returnValue",
|
|
5307
|
+
expected: "(__type.o9 | undefined)",
|
|
5308
|
+
value: input.__returnValue
|
|
5309
|
+
})].every(flag => flag); const _vo62 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5310
|
+
path: _path + ".__context",
|
|
5311
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5312
|
+
value: input.__context
|
|
5313
|
+
})) && _vo60(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5314
|
+
path: _path + ".__context",
|
|
5315
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5316
|
+
value: input.__context
|
|
5317
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5318
|
+
path: _path + ".__returnValue",
|
|
5319
|
+
expected: "(__type.o11 | undefined)",
|
|
5320
|
+
value: input.__returnValue
|
|
5321
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5322
|
+
path: _path + ".__returnValue",
|
|
5323
|
+
expected: "(__type.o11 | undefined)",
|
|
5324
|
+
value: input.__returnValue
|
|
5325
|
+
})].every(flag => flag); const _vo63 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5326
|
+
path: _path + ".__context",
|
|
5327
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5328
|
+
value: input.__context
|
|
5329
|
+
})) && _vo60(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5330
|
+
path: _path + ".__context",
|
|
5331
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5332
|
+
value: input.__context
|
|
5333
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5334
|
+
path: _path + ".__returnValue",
|
|
5335
|
+
expected: "(__type.o14 | undefined)",
|
|
5336
|
+
value: input.__returnValue
|
|
5337
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5338
|
+
path: _path + ".__returnValue",
|
|
5339
|
+
expected: "(__type.o14 | undefined)",
|
|
5340
|
+
value: input.__returnValue
|
|
5341
|
+
})].every(flag => flag); const _vo64 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5342
|
+
path: _path + ".__context",
|
|
5343
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5344
|
+
value: input.__context
|
|
5345
|
+
})) && _vo60(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5346
|
+
path: _path + ".__context",
|
|
5347
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
5348
|
+
value: input.__context
|
|
5349
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
5350
|
+
path: _path + ".__returnValue",
|
|
5351
|
+
expected: "(boolean | undefined)",
|
|
5352
|
+
value: input.__returnValue
|
|
5353
|
+
})].every(flag => flag); const _vo65 = (input, _path, _exceptionable = true) => [undefined === input.request || ("object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) || _report(_exceptionable, {
|
|
5354
|
+
path: _path + ".request",
|
|
5355
|
+
expected: "(__type.o51 | undefined)",
|
|
5356
|
+
value: input.request
|
|
5357
|
+
})) && _vo66(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
5358
|
+
path: _path + ".request",
|
|
5359
|
+
expected: "(__type.o51 | undefined)",
|
|
5360
|
+
value: input.request
|
|
5361
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
5362
|
+
path: _path + ".response",
|
|
5363
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
5364
|
+
value: input.response
|
|
5365
|
+
})) && _vo21(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
5366
|
+
path: _path + ".response",
|
|
5367
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
5368
|
+
value: input.response
|
|
5369
|
+
})].every(flag => flag); const _vo66 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
5370
|
+
path: _path + ".origin",
|
|
5371
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5372
|
+
value: input.origin
|
|
5373
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
5374
|
+
path: _path + ".origin",
|
|
5375
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5376
|
+
value: input.origin
|
|
5377
|
+
})) && _vo67(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
5378
|
+
path: _path + ".origin",
|
|
5379
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5380
|
+
value: input.origin
|
|
5381
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
5382
|
+
path: _path + ".path",
|
|
5383
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5384
|
+
value: input.path
|
|
5385
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
5386
|
+
path: _path + ".path",
|
|
5387
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5388
|
+
value: input.path
|
|
5389
|
+
})) && _vo67(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
5390
|
+
path: _path + ".path",
|
|
5391
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5392
|
+
value: input.path
|
|
5393
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
5394
|
+
path: _path + ".method",
|
|
5395
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5396
|
+
value: input.method
|
|
5397
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
5398
|
+
path: _path + ".method",
|
|
5399
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5400
|
+
value: input.method
|
|
5401
|
+
})) && _vo67(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
5402
|
+
path: _path + ".method",
|
|
5403
|
+
expected: "(__type.o52 | string | undefined)",
|
|
5404
|
+
value: input.method
|
|
5405
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
5406
|
+
path: _path + ".params",
|
|
5407
|
+
expected: "(__type.o54 | __type.o9 | string | undefined)",
|
|
5408
|
+
value: input.params
|
|
5409
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
5410
|
+
path: _path + ".params",
|
|
5411
|
+
expected: "(__type.o54 | __type.o9 | string | undefined)",
|
|
5412
|
+
value: input.params
|
|
5413
|
+
})) && _vu16(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
5414
|
+
path: _path + ".params",
|
|
5415
|
+
expected: "(__type.o54 | __type.o9 | string | undefined)",
|
|
5416
|
+
value: input.params
|
|
5417
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
5418
|
+
path: _path + ".form",
|
|
5419
|
+
expected: "(__type.o11 | __type.o55 | string | undefined)",
|
|
5420
|
+
value: input.form
|
|
5421
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
5422
|
+
path: _path + ".form",
|
|
5423
|
+
expected: "(__type.o11 | __type.o55 | string | undefined)",
|
|
5424
|
+
value: input.form
|
|
5425
|
+
})) && _vu17(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
5426
|
+
path: _path + ".form",
|
|
5427
|
+
expected: "(__type.o11 | __type.o55 | string | undefined)",
|
|
5428
|
+
value: input.form
|
|
5429
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
5430
|
+
path: _path + ".headers",
|
|
5431
|
+
expected: "(__type.o14 | __type.o56 | string | undefined)",
|
|
5432
|
+
value: input.headers
|
|
5433
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
5434
|
+
path: _path + ".headers",
|
|
5435
|
+
expected: "(__type.o14 | __type.o56 | string | undefined)",
|
|
5436
|
+
value: input.headers
|
|
5437
|
+
})) && _vu18(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
5438
|
+
path: _path + ".headers",
|
|
5439
|
+
expected: "(__type.o14 | __type.o56 | string | undefined)",
|
|
5440
|
+
value: input.headers
|
|
5441
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
5442
|
+
path: _path + ".throwOnError",
|
|
5443
|
+
expected: "(__type.o57 | boolean | string | undefined)",
|
|
5444
|
+
value: input.throwOnError
|
|
5445
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
5446
|
+
path: _path + ".throwOnError",
|
|
5447
|
+
expected: "(__type.o57 | boolean | string | undefined)",
|
|
5448
|
+
value: input.throwOnError
|
|
5449
|
+
})) && _vo72(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
5450
|
+
path: _path + ".throwOnError",
|
|
5451
|
+
expected: "(__type.o57 | boolean | string | undefined)",
|
|
5452
|
+
value: input.throwOnError
|
|
5453
|
+
}))].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5454
|
+
path: _path + ".__context",
|
|
5455
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5456
|
+
value: input.__context
|
|
5457
|
+
})) && _vo68(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5458
|
+
path: _path + ".__context",
|
|
5459
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5460
|
+
value: input.__context
|
|
5461
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
5462
|
+
path: _path + ".__returnValue",
|
|
3759
5463
|
expected: "(string | undefined)",
|
|
3760
|
-
value: input.
|
|
3761
|
-
}), "
|
|
3762
|
-
path: _path + ".
|
|
3763
|
-
expected: "\"file\"",
|
|
3764
|
-
value: input.type
|
|
3765
|
-
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
3766
|
-
path: _path + ".port",
|
|
3767
|
-
expected: "(number | string | undefined)",
|
|
3768
|
-
value: input.port
|
|
3769
|
-
}), undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing || _report(_exceptionable, {
|
|
3770
|
-
path: _path + ".ignoreMissing",
|
|
3771
|
-
expected: "(boolean | undefined)",
|
|
3772
|
-
value: input.ignoreMissing
|
|
3773
|
-
}), undefined === input.concurrency || "number" === typeof input.concurrency || _report(_exceptionable, {
|
|
3774
|
-
path: _path + ".concurrency",
|
|
3775
|
-
expected: "(number | undefined)",
|
|
3776
|
-
value: input.concurrency
|
|
3777
|
-
}), undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold || _report(_exceptionable, {
|
|
3778
|
-
path: _path + ".stabilityThreshold",
|
|
3779
|
-
expected: "(number | undefined)",
|
|
3780
|
-
value: input.stabilityThreshold
|
|
3781
|
-
}), undefined === input.pollInterval || "number" === typeof input.pollInterval || _report(_exceptionable, {
|
|
3782
|
-
path: _path + ".pollInterval",
|
|
3783
|
-
expected: "(number | undefined)",
|
|
3784
|
-
value: input.pollInterval
|
|
3785
|
-
}), undefined === input.listConcurrency || "number" === typeof input.listConcurrency || _report(_exceptionable, {
|
|
3786
|
-
path: _path + ".listConcurrency",
|
|
3787
|
-
expected: "(number | undefined)",
|
|
3788
|
-
value: input.listConcurrency
|
|
3789
|
-
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
3790
|
-
path: _path + ".metafile",
|
|
3791
|
-
expected: "(__type | undefined)",
|
|
3792
|
-
value: input.metafile
|
|
3793
|
-
})) && _vo1(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
3794
|
-
path: _path + ".metafile",
|
|
3795
|
-
expected: "(__type | undefined)",
|
|
3796
|
-
value: input.metafile
|
|
3797
|
-
}), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
3798
|
-
path: _path + ".userNotificationsEnabled",
|
|
3799
|
-
expected: "(boolean | undefined)",
|
|
3800
|
-
value: input.userNotificationsEnabled
|
|
3801
|
-
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.content || _report(_exceptionable, {
|
|
3802
|
-
path: _path + ".content",
|
|
5464
|
+
value: input.__returnValue
|
|
5465
|
+
})].every(flag => flag); const _vo68 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
5466
|
+
path: _path + ".id",
|
|
3803
5467
|
expected: "string",
|
|
3804
|
-
value: input.
|
|
3805
|
-
})
|
|
5468
|
+
value: input.id
|
|
5469
|
+
}), ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
5470
|
+
path: _path + ".connection",
|
|
5471
|
+
expected: "FileConnectionHttpRecord",
|
|
5472
|
+
value: input.connection
|
|
5473
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
5474
|
+
path: _path + ".connection",
|
|
5475
|
+
expected: "FileConnectionHttpRecord",
|
|
5476
|
+
value: input.connection
|
|
5477
|
+
})].every(flag => flag); const _vo69 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5478
|
+
path: _path + ".__context",
|
|
5479
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5480
|
+
value: input.__context
|
|
5481
|
+
})) && _vo68(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5482
|
+
path: _path + ".__context",
|
|
5483
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5484
|
+
value: input.__context
|
|
5485
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5486
|
+
path: _path + ".__returnValue",
|
|
5487
|
+
expected: "(__type.o9 | undefined)",
|
|
5488
|
+
value: input.__returnValue
|
|
5489
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5490
|
+
path: _path + ".__returnValue",
|
|
5491
|
+
expected: "(__type.o9 | undefined)",
|
|
5492
|
+
value: input.__returnValue
|
|
5493
|
+
})].every(flag => flag); const _vo70 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5494
|
+
path: _path + ".__context",
|
|
5495
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5496
|
+
value: input.__context
|
|
5497
|
+
})) && _vo68(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5498
|
+
path: _path + ".__context",
|
|
5499
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5500
|
+
value: input.__context
|
|
5501
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5502
|
+
path: _path + ".__returnValue",
|
|
5503
|
+
expected: "(__type.o11 | undefined)",
|
|
5504
|
+
value: input.__returnValue
|
|
5505
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5506
|
+
path: _path + ".__returnValue",
|
|
5507
|
+
expected: "(__type.o11 | undefined)",
|
|
5508
|
+
value: input.__returnValue
|
|
5509
|
+
})].every(flag => flag); const _vo71 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5510
|
+
path: _path + ".__context",
|
|
5511
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5512
|
+
value: input.__context
|
|
5513
|
+
})) && _vo68(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5514
|
+
path: _path + ".__context",
|
|
5515
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5516
|
+
value: input.__context
|
|
5517
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
5518
|
+
path: _path + ".__returnValue",
|
|
5519
|
+
expected: "(__type.o14 | undefined)",
|
|
5520
|
+
value: input.__returnValue
|
|
5521
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
5522
|
+
path: _path + ".__returnValue",
|
|
5523
|
+
expected: "(__type.o14 | undefined)",
|
|
5524
|
+
value: input.__returnValue
|
|
5525
|
+
})].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
5526
|
+
path: _path + ".__context",
|
|
5527
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5528
|
+
value: input.__context
|
|
5529
|
+
})) && _vo68(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
5530
|
+
path: _path + ".__context",
|
|
5531
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
5532
|
+
value: input.__context
|
|
5533
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
5534
|
+
path: _path + ".__returnValue",
|
|
5535
|
+
expected: "(boolean | undefined)",
|
|
5536
|
+
value: input.__returnValue
|
|
5537
|
+
})].every(flag => flag); const _vo73 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "s3" === input.protocol || _report(_exceptionable, {
|
|
3806
5538
|
path: _path + ".protocol",
|
|
3807
|
-
expected: "\"s3\"",
|
|
5539
|
+
expected: "(\"s3\" | undefined)",
|
|
3808
5540
|
value: input.protocol
|
|
3809
5541
|
}), true, undefined === input.bucket || "string" === typeof input.bucket || _report(_exceptionable, {
|
|
3810
5542
|
path: _path + ".bucket",
|
|
3811
5543
|
expected: "(string | undefined)",
|
|
3812
5544
|
value: input.bucket
|
|
3813
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
5545
|
+
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
3814
5546
|
path: _path + ".type",
|
|
3815
|
-
expected: "\"file\"",
|
|
5547
|
+
expected: "(\"file\" | undefined)",
|
|
3816
5548
|
value: input.type
|
|
3817
5549
|
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
3818
5550
|
path: _path + ".host",
|
|
@@ -3842,7 +5574,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
3842
5574
|
path: _path + ".listConcurrency",
|
|
3843
5575
|
expected: "(number | undefined)",
|
|
3844
5576
|
value: input.listConcurrency
|
|
3845
|
-
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
5577
|
+
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) || _report(_exceptionable, {
|
|
3846
5578
|
path: _path + ".metafile",
|
|
3847
5579
|
expected: "(__type | undefined)",
|
|
3848
5580
|
value: input.metafile
|
|
@@ -3854,17 +5586,17 @@ function _validateDomainRecord(domain, input) {
|
|
|
3854
5586
|
path: _path + ".userNotificationsEnabled",
|
|
3855
5587
|
expected: "(boolean | undefined)",
|
|
3856
5588
|
value: input.userNotificationsEnabled
|
|
3857
|
-
})].every(flag => flag); const
|
|
5589
|
+
})].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "smb" === input.protocol || _report(_exceptionable, {
|
|
3858
5590
|
path: _path + ".protocol",
|
|
3859
|
-
expected: "\"smb\"",
|
|
5591
|
+
expected: "(\"smb\" | undefined)",
|
|
3860
5592
|
value: input.protocol
|
|
3861
|
-
}), "string" === typeof input.host || _report(_exceptionable, {
|
|
5593
|
+
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
3862
5594
|
path: _path + ".host",
|
|
3863
|
-
expected: "string",
|
|
5595
|
+
expected: "(string | undefined)",
|
|
3864
5596
|
value: input.host
|
|
3865
|
-
}), "string" === typeof input.share || _report(_exceptionable, {
|
|
5597
|
+
}), undefined === input.share || "string" === typeof input.share || _report(_exceptionable, {
|
|
3866
5598
|
path: _path + ".share",
|
|
3867
|
-
expected: "string",
|
|
5599
|
+
expected: "(string | undefined)",
|
|
3868
5600
|
value: input.share
|
|
3869
5601
|
}), undefined === input.workgroup || "string" === typeof input.workgroup || _report(_exceptionable, {
|
|
3870
5602
|
path: _path + ".workgroup",
|
|
@@ -3878,9 +5610,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
3878
5610
|
path: _path + ".password",
|
|
3879
5611
|
expected: "(string | undefined)",
|
|
3880
5612
|
value: input.password
|
|
3881
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
5613
|
+
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
3882
5614
|
path: _path + ".type",
|
|
3883
|
-
expected: "\"file\"",
|
|
5615
|
+
expected: "(\"file\" | undefined)",
|
|
3884
5616
|
value: input.type
|
|
3885
5617
|
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
3886
5618
|
path: _path + ".port",
|
|
@@ -3906,7 +5638,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
3906
5638
|
path: _path + ".listConcurrency",
|
|
3907
5639
|
expected: "(number | undefined)",
|
|
3908
5640
|
value: input.listConcurrency
|
|
3909
|
-
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
5641
|
+
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) || _report(_exceptionable, {
|
|
3910
5642
|
path: _path + ".metafile",
|
|
3911
5643
|
expected: "(__type | undefined)",
|
|
3912
5644
|
value: input.metafile
|
|
@@ -3918,13 +5650,13 @@ function _validateDomainRecord(domain, input) {
|
|
|
3918
5650
|
path: _path + ".userNotificationsEnabled",
|
|
3919
5651
|
expected: "(boolean | undefined)",
|
|
3920
5652
|
value: input.userNotificationsEnabled
|
|
3921
|
-
})].every(flag => flag); const
|
|
5653
|
+
})].every(flag => flag); const _vo75 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "sftp" === input.protocol || _report(_exceptionable, {
|
|
3922
5654
|
path: _path + ".protocol",
|
|
3923
|
-
expected: "\"sftp\"",
|
|
5655
|
+
expected: "(\"sftp\" | undefined)",
|
|
3924
5656
|
value: input.protocol
|
|
3925
|
-
}), "string" === typeof input.host || _report(_exceptionable, {
|
|
5657
|
+
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
3926
5658
|
path: _path + ".host",
|
|
3927
|
-
expected: "string",
|
|
5659
|
+
expected: "(string | undefined)",
|
|
3928
5660
|
value: input.host
|
|
3929
5661
|
}), undefined === input.username || "string" === typeof input.username || _report(_exceptionable, {
|
|
3930
5662
|
path: _path + ".username",
|
|
@@ -3954,9 +5686,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
3954
5686
|
path: _path + ".mode",
|
|
3955
5687
|
expected: "(\"lftp\" | \"libcurl\" | \"openssh\" | \"ssh2\" | undefined)",
|
|
3956
5688
|
value: input.mode
|
|
3957
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
5689
|
+
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
3958
5690
|
path: _path + ".type",
|
|
3959
|
-
expected: "\"file\"",
|
|
5691
|
+
expected: "(\"file\" | undefined)",
|
|
3960
5692
|
value: input.type
|
|
3961
5693
|
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
3962
5694
|
path: _path + ".port",
|
|
@@ -3982,7 +5714,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
3982
5714
|
path: _path + ".listConcurrency",
|
|
3983
5715
|
expected: "(number | undefined)",
|
|
3984
5716
|
value: input.listConcurrency
|
|
3985
|
-
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
5717
|
+
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) || _report(_exceptionable, {
|
|
3986
5718
|
path: _path + ".metafile",
|
|
3987
5719
|
expected: "(__type | undefined)",
|
|
3988
5720
|
value: input.metafile
|
|
@@ -3994,16 +5726,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
3994
5726
|
path: _path + ".userNotificationsEnabled",
|
|
3995
5727
|
expected: "(boolean | undefined)",
|
|
3996
5728
|
value: input.userNotificationsEnabled
|
|
3997
|
-
})].every(flag => flag); const
|
|
5729
|
+
})].every(flag => flag); const _vo76 = (input, _path, _exceptionable = true) => [undefined === input.type || "facebook" === input.type || _report(_exceptionable, {
|
|
3998
5730
|
path: _path + ".type",
|
|
3999
|
-
expected: "\"facebook\"",
|
|
5731
|
+
expected: "(\"facebook\" | undefined)",
|
|
4000
5732
|
value: input.type
|
|
4001
5733
|
}), undefined === input.grantedScopes || (Array.isArray(input.grantedScopes) || _report(_exceptionable, {
|
|
4002
5734
|
path: _path + ".grantedScopes",
|
|
4003
5735
|
expected: "(Array<string> | undefined)",
|
|
4004
5736
|
value: input.grantedScopes
|
|
4005
|
-
})) && input.grantedScopes.map((elem,
|
|
4006
|
-
path: _path + ".grantedScopes[" +
|
|
5737
|
+
})) && input.grantedScopes.map((elem, _index8) => "string" === typeof elem || _report(_exceptionable, {
|
|
5738
|
+
path: _path + ".grantedScopes[" + _index8 + "]",
|
|
4007
5739
|
expected: "string",
|
|
4008
5740
|
value: elem
|
|
4009
5741
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -4014,9 +5746,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
4014
5746
|
path: _path + ".userNotificationsEnabled",
|
|
4015
5747
|
expected: "(boolean | undefined)",
|
|
4016
5748
|
value: input.userNotificationsEnabled
|
|
4017
|
-
})].every(flag => flag); const
|
|
5749
|
+
})].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.type || "reuters" === input.type || _report(_exceptionable, {
|
|
4018
5750
|
path: _path + ".type",
|
|
4019
|
-
expected: "\"reuters\"",
|
|
5751
|
+
expected: "(\"reuters\" | undefined)",
|
|
4020
5752
|
value: input.type
|
|
4021
5753
|
}), undefined === input.clientId || "string" === typeof input.clientId || _report(_exceptionable, {
|
|
4022
5754
|
path: _path + ".clientId",
|
|
@@ -4034,50 +5766,120 @@ function _validateDomainRecord(domain, input) {
|
|
|
4034
5766
|
path: _path + ".userNotificationsEnabled",
|
|
4035
5767
|
expected: "(boolean | undefined)",
|
|
4036
5768
|
value: input.userNotificationsEnabled
|
|
4037
|
-
})].every(flag => flag); const
|
|
4038
|
-
path: _path + ".type",
|
|
4039
|
-
expected: "null",
|
|
4040
|
-
value: input.type
|
|
4041
|
-
})) && (null === input.type || _report(_exceptionable, {
|
|
5769
|
+
})].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
4042
5770
|
path: _path + ".type",
|
|
4043
|
-
expected: "null",
|
|
5771
|
+
expected: "(null | undefined)",
|
|
4044
5772
|
value: input.type
|
|
4045
|
-
})
|
|
5773
|
+
}), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
4046
5774
|
path: _path + ".userNotificationsEnabled",
|
|
4047
5775
|
expected: "(boolean | undefined)",
|
|
4048
5776
|
value: input.userNotificationsEnabled
|
|
4049
5777
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
4050
|
-
if (
|
|
4051
|
-
return
|
|
4052
|
-
else if ("s3" === input.protocol)
|
|
4053
|
-
return _vo2(input, _path, true && _exceptionable);
|
|
4054
|
-
else if ("smb" === input.protocol)
|
|
4055
|
-
return _vo3(input, _path, true && _exceptionable);
|
|
4056
|
-
else if ("sftp" === input.protocol)
|
|
4057
|
-
return _vo4(input, _path, true && _exceptionable);
|
|
4058
|
-
else if ("facebook" === input.type)
|
|
4059
|
-
return _vo5(input, _path, true && _exceptionable);
|
|
4060
|
-
else if ("reuters" === input.type)
|
|
4061
|
-
return _vo6(input, _path, true && _exceptionable);
|
|
4062
|
-
else if (undefined !== input.type && null === input.type)
|
|
4063
|
-
return _vo7(input, _path, true && _exceptionable);
|
|
5778
|
+
if (undefined !== input.__context)
|
|
5779
|
+
return _vo14(input, _path, true && _exceptionable);
|
|
4064
5780
|
else
|
|
4065
|
-
return
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
5781
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
5782
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
5783
|
+
if (undefined !== input.__context)
|
|
5784
|
+
return _vo17(input, _path, true && _exceptionable);
|
|
5785
|
+
else
|
|
5786
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
5787
|
+
})(); const _vu2 = (input, _path, _exceptionable = true) => (() => {
|
|
5788
|
+
if (undefined !== input.__context)
|
|
5789
|
+
return _vo19(input, _path, true && _exceptionable);
|
|
5790
|
+
else
|
|
5791
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
5792
|
+
})(); const _vu3 = (input, _path, _exceptionable = true) => (() => {
|
|
5793
|
+
if (undefined !== input.__context)
|
|
5794
|
+
return _vo31(input, _path, true && _exceptionable);
|
|
5795
|
+
else
|
|
5796
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
5797
|
+
})(); const _vu4 = (input, _path, _exceptionable = true) => (() => {
|
|
5798
|
+
if (undefined !== input.__context)
|
|
5799
|
+
return _vo32(input, _path, true && _exceptionable);
|
|
5800
|
+
else
|
|
5801
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
5802
|
+
})(); const _vu5 = (input, _path, _exceptionable = true) => (() => {
|
|
5803
|
+
if (undefined !== input.__context)
|
|
5804
|
+
return _vo33(input, _path, true && _exceptionable);
|
|
5805
|
+
else
|
|
5806
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
5807
|
+
})(); const _vu6 = (input, _path, _exceptionable = true) => (() => {
|
|
5808
|
+
if (undefined !== input.__context)
|
|
5809
|
+
return _vo37(input, _path, true && _exceptionable);
|
|
5810
|
+
else
|
|
5811
|
+
return _vo36(input, _path, true && _exceptionable);
|
|
5812
|
+
})(); const _vu7 = (input, _path, _exceptionable = true) => (() => {
|
|
5813
|
+
if (undefined !== input.__context)
|
|
5814
|
+
return _vo42(input, _path, true && _exceptionable);
|
|
5815
|
+
else
|
|
5816
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
5817
|
+
})(); const _vu8 = (input, _path, _exceptionable = true) => (() => {
|
|
5818
|
+
if (undefined !== input.__context)
|
|
5819
|
+
return _vo43(input, _path, true && _exceptionable);
|
|
5820
|
+
else
|
|
5821
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
5822
|
+
})(); const _vu9 = (input, _path, _exceptionable = true) => (() => {
|
|
5823
|
+
if (undefined !== input.__context)
|
|
5824
|
+
return _vo44(input, _path, true && _exceptionable);
|
|
5825
|
+
else
|
|
5826
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
5827
|
+
})(); const _vu10 = (input, _path, _exceptionable = true) => (() => {
|
|
5828
|
+
if (undefined !== input.__context)
|
|
5829
|
+
return _vo53(input, _path, true && _exceptionable);
|
|
5830
|
+
else
|
|
5831
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
5832
|
+
})(); const _vu11 = (input, _path, _exceptionable = true) => (() => {
|
|
5833
|
+
if (undefined !== input.__context)
|
|
5834
|
+
return _vo54(input, _path, true && _exceptionable);
|
|
5835
|
+
else
|
|
5836
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
5837
|
+
})(); const _vu12 = (input, _path, _exceptionable = true) => (() => {
|
|
5838
|
+
if (undefined !== input.__context)
|
|
5839
|
+
return _vo55(input, _path, true && _exceptionable);
|
|
5840
|
+
else
|
|
5841
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
5842
|
+
})(); const _vu13 = (input, _path, _exceptionable = true) => (() => {
|
|
5843
|
+
if (undefined !== input.__context)
|
|
5844
|
+
return _vo61(input, _path, true && _exceptionable);
|
|
5845
|
+
else
|
|
5846
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
5847
|
+
})(); const _vu14 = (input, _path, _exceptionable = true) => (() => {
|
|
5848
|
+
if (undefined !== input.__context)
|
|
5849
|
+
return _vo62(input, _path, true && _exceptionable);
|
|
5850
|
+
else
|
|
5851
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
5852
|
+
})(); const _vu15 = (input, _path, _exceptionable = true) => (() => {
|
|
5853
|
+
if (undefined !== input.__context)
|
|
5854
|
+
return _vo63(input, _path, true && _exceptionable);
|
|
5855
|
+
else
|
|
5856
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
5857
|
+
})(); const _vu16 = (input, _path, _exceptionable = true) => (() => {
|
|
5858
|
+
if (undefined !== input.__context)
|
|
5859
|
+
return _vo69(input, _path, true && _exceptionable);
|
|
5860
|
+
else
|
|
5861
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
5862
|
+
})(); const _vu17 = (input, _path, _exceptionable = true) => (() => {
|
|
5863
|
+
if (undefined !== input.__context)
|
|
5864
|
+
return _vo70(input, _path, true && _exceptionable);
|
|
5865
|
+
else
|
|
5866
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
5867
|
+
})(); const _vu18 = (input, _path, _exceptionable = true) => (() => {
|
|
5868
|
+
if (undefined !== input.__context)
|
|
5869
|
+
return _vo71(input, _path, true && _exceptionable);
|
|
5870
|
+
else
|
|
5871
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
5872
|
+
})(); const _vu19 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) || _vo2(input, _path, false && _exceptionable) || _vo73(input, _path, false && _exceptionable) || _vo74(input, _path, false && _exceptionable) || _vo75(input, _path, false && _exceptionable) || _vo76(input, _path, false && _exceptionable) || _vo77(input, _path, false && _exceptionable) || _vo78(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu19(input); let errors; let _report; return input => {
|
|
4071
5873
|
if (false === __is(input)) {
|
|
4072
5874
|
errors = [];
|
|
4073
5875
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
4074
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
5876
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
4075
5877
|
path: _path + "",
|
|
4076
|
-
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
5878
|
+
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionHttpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
4077
5879
|
value: input
|
|
4078
|
-
})) &&
|
|
5880
|
+
})) && _vu19(input, _path + "", true) || _report(true, {
|
|
4079
5881
|
path: _path + "",
|
|
4080
|
-
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
5882
|
+
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionHttpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
4081
5883
|
value: input
|
|
4082
5884
|
}))(input, "$input", true);
|
|
4083
5885
|
const success = 0 === errors.length;
|
|
@@ -12476,7 +14278,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12476
14278
|
}; })()(input);
|
|
12477
14279
|
}
|
|
12478
14280
|
case ":settings": {
|
|
12479
|
-
return (() => { const
|
|
14281
|
+
return (() => { const _iv21 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv25 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _vv51 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _vv55 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && _io1(input.permission)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io2(input["module"])) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io19(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io24(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io27(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io28(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io29(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io42(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io55(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io57(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && _io58(input.storyboard)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io67(input.print)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io68(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io69(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && _io72(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io73(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io74(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert); const _io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin); const _io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io3(input.tabs); const _io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
12480
14282
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
12481
14283
|
return true;
|
|
12482
14284
|
const value = input[key];
|
|
@@ -12548,7 +14350,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12548
14350
|
if (undefined === value)
|
|
12549
14351
|
return true;
|
|
12550
14352
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
|
|
12551
|
-
}); const _io42 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io43(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io44(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io45(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io49(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io50(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io54(input.openCommand))); const _io43 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io44 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io45 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem))); const _io46 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io47 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io48 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io49 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io50 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io51(input.subtitleDisclaimer); const _io51 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io52(input.defaultValue)); const _io52 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io53(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io53 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io54 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io55 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io56(input.voiceOver)); const _io56 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io57 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io58 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io59(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io60(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io64(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io66(input.item)); const _io59 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io60 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io61(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io63(input.note)); const _io61 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io62(input.excerpt); const _io62 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io63 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io64 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io65(input.search)) && (undefined === input.sortMode || true === _iv23.has(input.sortMode)); const _io65 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io68 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io69 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io70(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io71(input.rive)); const _io70 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io71 = input => undefined === input.template || "string" === typeof input.template; const _io72 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io73 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io74 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io75(input.events); const _io75 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io76(input.publishSucceeded)); const _io76 = input => Object.keys(input).every(key => {
|
|
14353
|
+
}); const _io42 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io43(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io44(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io45(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io49(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io50(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io54(input.openCommand))); const _io43 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io44 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io45 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv21.has(elem))); const _io46 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io47 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io48 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io49 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io50 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io51(input.subtitleDisclaimer); const _io51 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io52(input.defaultValue)); const _io52 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io53(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io53 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io54 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io55 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io56(input.voiceOver)); const _io56 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io57 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io58 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io59(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io60(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io64(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io66(input.item)); const _io59 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io60 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io61(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io63(input.note)); const _io61 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io62(input.excerpt); const _io62 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io63 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io64 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io65(input.search)) && (undefined === input.sortMode || true === _iv25.has(input.sortMode)); const _io65 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io68 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io69 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io70(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io71(input.rive)); const _io70 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io71 = input => undefined === input.template || "string" === typeof input.template; const _io72 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io73 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io74 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io75(input.events); const _io75 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io76(input.publishSucceeded)); const _io76 = input => Object.keys(input).every(key => {
|
|
12552
14354
|
const value = input[key];
|
|
12553
14355
|
if (undefined === value)
|
|
12554
14356
|
return true;
|
|
@@ -12609,16 +14411,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
12609
14411
|
path: _path + ".exclusiveTagGroups",
|
|
12610
14412
|
expected: "(Array<Array<string>> | undefined)",
|
|
12611
14413
|
value: input.exclusiveTagGroups
|
|
12612
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
12613
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
14414
|
+
})) && input.exclusiveTagGroups.map((elem, _index31) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
14415
|
+
path: _path + ".exclusiveTagGroups[" + _index31 + "]",
|
|
12614
14416
|
expected: "Array<string>",
|
|
12615
14417
|
value: elem
|
|
12616
|
-
})) && elem.map((elem,
|
|
12617
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
14418
|
+
})) && elem.map((elem, _index32) => "string" === typeof elem || _report(_exceptionable, {
|
|
14419
|
+
path: _path + ".exclusiveTagGroups[" + _index31 + "][" + _index32 + "]",
|
|
12618
14420
|
expected: "string",
|
|
12619
14421
|
value: elem
|
|
12620
14422
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
12621
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
14423
|
+
path: _path + ".exclusiveTagGroups[" + _index31 + "]",
|
|
12622
14424
|
expected: "Array<string>",
|
|
12623
14425
|
value: elem
|
|
12624
14426
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -12737,12 +14539,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
12737
14539
|
path: _path + ".commands",
|
|
12738
14540
|
expected: "(Array<__type>.o4 | undefined)",
|
|
12739
14541
|
value: input.commands
|
|
12740
|
-
})) && input.commands.map((elem,
|
|
12741
|
-
path: _path + ".commands[" +
|
|
14542
|
+
})) && input.commands.map((elem, _index33) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
14543
|
+
path: _path + ".commands[" + _index33 + "]",
|
|
12742
14544
|
expected: "__type.o50",
|
|
12743
14545
|
value: elem
|
|
12744
|
-
})) && _vo57(elem, _path + ".commands[" +
|
|
12745
|
-
path: _path + ".commands[" +
|
|
14546
|
+
})) && _vo57(elem, _path + ".commands[" + _index33 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14547
|
+
path: _path + ".commands[" + _index33 + "]",
|
|
12746
14548
|
expected: "__type.o50",
|
|
12747
14549
|
value: elem
|
|
12748
14550
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -12753,8 +14555,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
12753
14555
|
path: _path + ".predefinedTags",
|
|
12754
14556
|
expected: "(Array<string> | undefined)",
|
|
12755
14557
|
value: input.predefinedTags
|
|
12756
|
-
})) && input.predefinedTags.map((elem,
|
|
12757
|
-
path: _path + ".predefinedTags[" +
|
|
14558
|
+
})) && input.predefinedTags.map((elem, _index34) => "string" === typeof elem || _report(_exceptionable, {
|
|
14559
|
+
path: _path + ".predefinedTags[" + _index34 + "]",
|
|
12758
14560
|
expected: "string",
|
|
12759
14561
|
value: elem
|
|
12760
14562
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -12781,12 +14583,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
12781
14583
|
path: _path + ".hiddenPreviews",
|
|
12782
14584
|
expected: "(Array<__type>.o5 | undefined)",
|
|
12783
14585
|
value: input.hiddenPreviews
|
|
12784
|
-
})) && input.hiddenPreviews.map((elem,
|
|
12785
|
-
path: _path + ".hiddenPreviews[" +
|
|
14586
|
+
})) && input.hiddenPreviews.map((elem, _index35) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
14587
|
+
path: _path + ".hiddenPreviews[" + _index35 + "]",
|
|
12786
14588
|
expected: "__type.o61",
|
|
12787
14589
|
value: elem
|
|
12788
|
-
})) && _vo68(elem, _path + ".hiddenPreviews[" +
|
|
12789
|
-
path: _path + ".hiddenPreviews[" +
|
|
14590
|
+
})) && _vo68(elem, _path + ".hiddenPreviews[" + _index35 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14591
|
+
path: _path + ".hiddenPreviews[" + _index35 + "]",
|
|
12790
14592
|
expected: "__type.o61",
|
|
12791
14593
|
value: elem
|
|
12792
14594
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -12952,8 +14754,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
12952
14754
|
path: _path + ".sortOrder",
|
|
12953
14755
|
expected: "(Array<string> | undefined)",
|
|
12954
14756
|
value: input.sortOrder
|
|
12955
|
-
})) && input.sortOrder.map((elem,
|
|
12956
|
-
path: _path + ".sortOrder[" +
|
|
14757
|
+
})) && input.sortOrder.map((elem, _index36) => "string" === typeof elem || _report(_exceptionable, {
|
|
14758
|
+
path: _path + ".sortOrder[" + _index36 + "]",
|
|
12957
14759
|
expected: "string",
|
|
12958
14760
|
value: elem
|
|
12959
14761
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -12964,8 +14766,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
12964
14766
|
path: _path + ".exclude",
|
|
12965
14767
|
expected: "(Array<string> | undefined)",
|
|
12966
14768
|
value: input.exclude
|
|
12967
|
-
})) && input.exclude.map((elem,
|
|
12968
|
-
path: _path + ".exclude[" +
|
|
14769
|
+
})) && input.exclude.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
|
|
14770
|
+
path: _path + ".exclude[" + _index37 + "]",
|
|
12969
14771
|
expected: "string",
|
|
12970
14772
|
value: elem
|
|
12971
14773
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -12976,8 +14778,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
12976
14778
|
path: _path + ".include",
|
|
12977
14779
|
expected: "(Array<string> | undefined)",
|
|
12978
14780
|
value: input.include
|
|
12979
|
-
})) && input.include.map((elem,
|
|
12980
|
-
path: _path + ".include[" +
|
|
14781
|
+
})) && input.include.map((elem, _index38) => "string" === typeof elem || _report(_exceptionable, {
|
|
14782
|
+
path: _path + ".include[" + _index38 + "]",
|
|
12981
14783
|
expected: "string",
|
|
12982
14784
|
value: elem
|
|
12983
14785
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -12988,8 +14790,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
12988
14790
|
path: _path + ".exclude",
|
|
12989
14791
|
expected: "(Array<string> | undefined)",
|
|
12990
14792
|
value: input.exclude
|
|
12991
|
-
})) && input.exclude.map((elem,
|
|
12992
|
-
path: _path + ".exclude[" +
|
|
14793
|
+
})) && input.exclude.map((elem, _index39) => "string" === typeof elem || _report(_exceptionable, {
|
|
14794
|
+
path: _path + ".exclude[" + _index39 + "]",
|
|
12993
14795
|
expected: "string",
|
|
12994
14796
|
value: elem
|
|
12995
14797
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13000,8 +14802,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13000
14802
|
path: _path + ".include",
|
|
13001
14803
|
expected: "(Array<string> | undefined)",
|
|
13002
14804
|
value: input.include
|
|
13003
|
-
})) && input.include.map((elem,
|
|
13004
|
-
path: _path + ".include[" +
|
|
14805
|
+
})) && input.include.map((elem, _index40) => "string" === typeof elem || _report(_exceptionable, {
|
|
14806
|
+
path: _path + ".include[" + _index40 + "]",
|
|
13005
14807
|
expected: "string",
|
|
13006
14808
|
value: elem
|
|
13007
14809
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13012,8 +14814,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13012
14814
|
path: _path + ".exclude",
|
|
13013
14815
|
expected: "(Array<string> | undefined)",
|
|
13014
14816
|
value: input.exclude
|
|
13015
|
-
})) && input.exclude.map((elem,
|
|
13016
|
-
path: _path + ".exclude[" +
|
|
14817
|
+
})) && input.exclude.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
14818
|
+
path: _path + ".exclude[" + _index41 + "]",
|
|
13017
14819
|
expected: "string",
|
|
13018
14820
|
value: elem
|
|
13019
14821
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13024,8 +14826,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13024
14826
|
path: _path + ".include",
|
|
13025
14827
|
expected: "(Array<string> | undefined)",
|
|
13026
14828
|
value: input.include
|
|
13027
|
-
})) && input.include.map((elem,
|
|
13028
|
-
path: _path + ".include[" +
|
|
14829
|
+
})) && input.include.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
14830
|
+
path: _path + ".include[" + _index42 + "]",
|
|
13029
14831
|
expected: "string",
|
|
13030
14832
|
value: elem
|
|
13031
14833
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13036,8 +14838,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13036
14838
|
path: _path + ".exclude",
|
|
13037
14839
|
expected: "(Array<string> | undefined)",
|
|
13038
14840
|
value: input.exclude
|
|
13039
|
-
})) && input.exclude.map((elem,
|
|
13040
|
-
path: _path + ".exclude[" +
|
|
14841
|
+
})) && input.exclude.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
14842
|
+
path: _path + ".exclude[" + _index43 + "]",
|
|
13041
14843
|
expected: "string",
|
|
13042
14844
|
value: elem
|
|
13043
14845
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13100,12 +14902,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13100
14902
|
path: _path + ".colorTags",
|
|
13101
14903
|
expected: "(Array<PromotedTag> | undefined)",
|
|
13102
14904
|
value: input.colorTags
|
|
13103
|
-
})) && input.colorTags.map((elem,
|
|
13104
|
-
path: _path + ".colorTags[" +
|
|
14905
|
+
})) && input.colorTags.map((elem, _index44) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14906
|
+
path: _path + ".colorTags[" + _index44 + "]",
|
|
13105
14907
|
expected: "PromotedTag",
|
|
13106
14908
|
value: elem
|
|
13107
|
-
})) && _vo21(elem, _path + ".colorTags[" +
|
|
13108
|
-
path: _path + ".colorTags[" +
|
|
14909
|
+
})) && _vo21(elem, _path + ".colorTags[" + _index44 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14910
|
+
path: _path + ".colorTags[" + _index44 + "]",
|
|
13109
14911
|
expected: "PromotedTag",
|
|
13110
14912
|
value: elem
|
|
13111
14913
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13181,8 +14983,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13181
14983
|
path: _path + ".favorites",
|
|
13182
14984
|
expected: "(Array<string> | undefined)",
|
|
13183
14985
|
value: input.favorites
|
|
13184
|
-
})) && input.favorites.map((elem,
|
|
13185
|
-
path: _path + ".favorites[" +
|
|
14986
|
+
})) && input.favorites.map((elem, _index45) => "string" === typeof elem || _report(_exceptionable, {
|
|
14987
|
+
path: _path + ".favorites[" + _index45 + "]",
|
|
13186
14988
|
expected: "string",
|
|
13187
14989
|
value: elem
|
|
13188
14990
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13529,8 +15331,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13529
15331
|
path: _path + ".playbackRates",
|
|
13530
15332
|
expected: "(Array<number> | undefined)",
|
|
13531
15333
|
value: input.playbackRates
|
|
13532
|
-
})) && input.playbackRates.map((elem,
|
|
13533
|
-
path: _path + ".playbackRates[" +
|
|
15334
|
+
})) && input.playbackRates.map((elem, _index46) => "number" === typeof elem || _report(_exceptionable, {
|
|
15335
|
+
path: _path + ".playbackRates[" + _index46 + "]",
|
|
13534
15336
|
expected: "number",
|
|
13535
15337
|
value: elem
|
|
13536
15338
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13557,12 +15359,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13557
15359
|
path: _path + ".guides",
|
|
13558
15360
|
expected: "(Array<__type>.o2 | undefined)",
|
|
13559
15361
|
value: input.guides
|
|
13560
|
-
})) && input.guides.map((elem,
|
|
13561
|
-
path: _path + ".guides[" +
|
|
15362
|
+
})) && input.guides.map((elem, _index47) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
15363
|
+
path: _path + ".guides[" + _index47 + "]",
|
|
13562
15364
|
expected: "__type.o41",
|
|
13563
15365
|
value: elem
|
|
13564
|
-
})) && _vo48(elem, _path + ".guides[" +
|
|
13565
|
-
path: _path + ".guides[" +
|
|
15366
|
+
})) && _vo48(elem, _path + ".guides[" + _index47 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15367
|
+
path: _path + ".guides[" + _index47 + "]",
|
|
13566
15368
|
expected: "__type.o41",
|
|
13567
15369
|
value: elem
|
|
13568
15370
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13633,12 +15435,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13633
15435
|
path: _path + ".suggestions",
|
|
13634
15436
|
expected: "(Array<__type> | undefined)",
|
|
13635
15437
|
value: input.suggestions
|
|
13636
|
-
})) && input.suggestions.map((elem,
|
|
13637
|
-
path: _path + ".suggestions[" +
|
|
15438
|
+
})) && input.suggestions.map((elem, _index48) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
15439
|
+
path: _path + ".suggestions[" + _index48 + "]",
|
|
13638
15440
|
expected: "__type.o39",
|
|
13639
15441
|
value: elem
|
|
13640
|
-
})) && _vo46(elem, _path + ".suggestions[" +
|
|
13641
|
-
path: _path + ".suggestions[" +
|
|
15442
|
+
})) && _vo46(elem, _path + ".suggestions[" + _index48 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15443
|
+
path: _path + ".suggestions[" + _index48 + "]",
|
|
13642
15444
|
expected: "__type.o39",
|
|
13643
15445
|
value: elem
|
|
13644
15446
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13649,18 +15451,30 @@ function _validateDomainRecord(domain, input) {
|
|
|
13649
15451
|
path: _path + ".colors",
|
|
13650
15452
|
expected: "(Array<__type>.o1 | undefined)",
|
|
13651
15453
|
value: input.colors
|
|
13652
|
-
})) && input.colors.map((elem,
|
|
13653
|
-
path: _path + ".colors[" +
|
|
15454
|
+
})) && input.colors.map((elem, _index49) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
15455
|
+
path: _path + ".colors[" + _index49 + "]",
|
|
13654
15456
|
expected: "__type.o40",
|
|
13655
15457
|
value: elem
|
|
13656
|
-
})) && _vo47(elem, _path + ".colors[" +
|
|
13657
|
-
path: _path + ".colors[" +
|
|
15458
|
+
})) && _vo47(elem, _path + ".colors[" + _index49 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15459
|
+
path: _path + ".colors[" + _index49 + "]",
|
|
13658
15460
|
expected: "__type.o40",
|
|
13659
15461
|
value: elem
|
|
13660
15462
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
13661
15463
|
path: _path + ".colors",
|
|
13662
15464
|
expected: "(Array<__type>.o1 | undefined)",
|
|
13663
15465
|
value: input.colors
|
|
15466
|
+
}), undefined === input.overridableProperties || (Array.isArray(input.overridableProperties) || _report(_exceptionable, {
|
|
15467
|
+
path: _path + ".overridableProperties",
|
|
15468
|
+
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
15469
|
+
value: input.overridableProperties
|
|
15470
|
+
})) && input.overridableProperties.map((elem, _index50) => null === elem || true === _vv51.has(elem) || _report(_exceptionable, {
|
|
15471
|
+
path: _path + ".overridableProperties[" + _index50 + "]",
|
|
15472
|
+
expected: "(\"alignment\" | \"angle\" | \"backColour\" | \"bold\" | \"borderStyle\" | \"encoding\" | \"fontname\" | \"fontsize\" | \"italic\" | \"marginL\" | \"marginR\" | \"marginV\" | \"name\" | \"outline\" | \"outlineColour\" | \"primaryColour\" | \"scaleX\" | \"scaleY\" | \"secondaryColour\" | \"shadow\" | \"spacing\" | \"strikeOut\" | \"underline\" | null)",
|
|
15473
|
+
value: elem
|
|
15474
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
15475
|
+
path: _path + ".overridableProperties",
|
|
15476
|
+
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
15477
|
+
value: input.overridableProperties
|
|
13664
15478
|
})].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio || _report(_exceptionable, {
|
|
13665
15479
|
path: _path + ".ifAspectRatio",
|
|
13666
15480
|
expected: "(null | string | undefined)",
|
|
@@ -13733,12 +15547,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13733
15547
|
path: _path + ".text",
|
|
13734
15548
|
expected: "(Array<__type>.o3 | undefined)",
|
|
13735
15549
|
value: input.text
|
|
13736
|
-
})) && input.text.map((elem,
|
|
13737
|
-
path: _path + ".text[" +
|
|
15550
|
+
})) && input.text.map((elem, _index52) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
15551
|
+
path: _path + ".text[" + _index52 + "]",
|
|
13738
15552
|
expected: "__type.o46",
|
|
13739
15553
|
value: elem
|
|
13740
|
-
})) && _vo53(elem, _path + ".text[" +
|
|
13741
|
-
path: _path + ".text[" +
|
|
15554
|
+
})) && _vo53(elem, _path + ".text[" + _index52 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15555
|
+
path: _path + ".text[" + _index52 + "]",
|
|
13742
15556
|
expected: "__type.o46",
|
|
13743
15557
|
value: elem
|
|
13744
15558
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13777,8 +15591,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13777
15591
|
path: _path + ".args",
|
|
13778
15592
|
expected: "(Array<string> | undefined)",
|
|
13779
15593
|
value: input.args
|
|
13780
|
-
})) && input.args.map((elem,
|
|
13781
|
-
path: _path + ".args[" +
|
|
15594
|
+
})) && input.args.map((elem, _index53) => "string" === typeof elem || _report(_exceptionable, {
|
|
15595
|
+
path: _path + ".args[" + _index53 + "]",
|
|
13782
15596
|
expected: "string",
|
|
13783
15597
|
value: elem
|
|
13784
15598
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13829,8 +15643,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13829
15643
|
path: _path + ".args",
|
|
13830
15644
|
expected: "(Array<string> | undefined)",
|
|
13831
15645
|
value: input.args
|
|
13832
|
-
})) && input.args.map((elem,
|
|
13833
|
-
path: _path + ".args[" +
|
|
15646
|
+
})) && input.args.map((elem, _index54) => "string" === typeof elem || _report(_exceptionable, {
|
|
15647
|
+
path: _path + ".args[" + _index54 + "]",
|
|
13834
15648
|
expected: "string",
|
|
13835
15649
|
value: elem
|
|
13836
15650
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13921,7 +15735,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13921
15735
|
path: _path + ".search",
|
|
13922
15736
|
expected: "(__type.o58 | undefined)",
|
|
13923
15737
|
value: input.search
|
|
13924
|
-
}), undefined === input.sortMode || true ===
|
|
15738
|
+
}), undefined === input.sortMode || true === _vv55.has(input.sortMode) || _report(_exceptionable, {
|
|
13925
15739
|
path: _path + ".sortMode",
|
|
13926
15740
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
13927
15741
|
value: input.sortMode
|
|
@@ -13937,8 +15751,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13937
15751
|
path: _path + ".fontFamilies",
|
|
13938
15752
|
expected: "(Array<string> | undefined)",
|
|
13939
15753
|
value: input.fontFamilies
|
|
13940
|
-
})) && input.fontFamilies.map((elem,
|
|
13941
|
-
path: _path + ".fontFamilies[" +
|
|
15754
|
+
})) && input.fontFamilies.map((elem, _index56) => "string" === typeof elem || _report(_exceptionable, {
|
|
15755
|
+
path: _path + ".fontFamilies[" + _index56 + "]",
|
|
13942
15756
|
expected: "string",
|
|
13943
15757
|
value: elem
|
|
13944
15758
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14069,8 +15883,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14069
15883
|
path: _path + ".comment",
|
|
14070
15884
|
expected: "(Array<NotificationReason> | undefined)",
|
|
14071
15885
|
value: input.comment
|
|
14072
|
-
})) && input.comment.map((elem,
|
|
14073
|
-
path: _path + ".comment[" +
|
|
15886
|
+
})) && input.comment.map((elem, _index57) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
15887
|
+
path: _path + ".comment[" + _index57 + "]",
|
|
14074
15888
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
14075
15889
|
value: elem
|
|
14076
15890
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14081,8 +15895,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14081
15895
|
path: _path + ".assigned",
|
|
14082
15896
|
expected: "(Array<NotificationReason> | undefined)",
|
|
14083
15897
|
value: input.assigned
|
|
14084
|
-
})) && input.assigned.map((elem,
|
|
14085
|
-
path: _path + ".assigned[" +
|
|
15898
|
+
})) && input.assigned.map((elem, _index58) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
15899
|
+
path: _path + ".assigned[" + _index58 + "]",
|
|
14086
15900
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
14087
15901
|
value: elem
|
|
14088
15902
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14093,8 +15907,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14093
15907
|
path: _path + ".unassigned",
|
|
14094
15908
|
expected: "(Array<NotificationReason> | undefined)",
|
|
14095
15909
|
value: input.unassigned
|
|
14096
|
-
})) && input.unassigned.map((elem,
|
|
14097
|
-
path: _path + ".unassigned[" +
|
|
15910
|
+
})) && input.unassigned.map((elem, _index59) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
15911
|
+
path: _path + ".unassigned[" + _index59 + "]",
|
|
14098
15912
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
14099
15913
|
value: elem
|
|
14100
15914
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14117,8 +15931,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14117
15931
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14118
15932
|
expected: "Array<NotificationReason>",
|
|
14119
15933
|
value: value
|
|
14120
|
-
})) && value.map((elem,
|
|
14121
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
15934
|
+
})) && value.map((elem, _index60) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
15935
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index60 + "]",
|
|
14122
15936
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
14123
15937
|
value: elem
|
|
14124
15938
|
})).every(flag => flag) || _report(_exceptionable, {
|