@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
|
@@ -2328,7 +2328,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2328
2328
|
if (undefined === value)
|
|
2329
2329
|
return true;
|
|
2330
2330
|
return "string" === typeof value;
|
|
2331
|
-
}); const _io2 = (input, _exceptionable = true) => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "
|
|
2331
|
+
}); const _io2 = (input, _exceptionable = true) => "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) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2332
2332
|
if (["family", "asset", "weight", "style"].some(prop => key === prop))
|
|
2333
2333
|
return true;
|
|
2334
2334
|
const value = input[key];
|
|
@@ -2396,7 +2396,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2396
2396
|
path: _path + ".weight",
|
|
2397
2397
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
2398
2398
|
value: input.weight
|
|
2399
|
-
}), undefined === input.style || "
|
|
2399
|
+
}), undefined === input.style || "italic" === input.style || "normal" === input.style || _report(_exceptionable, {
|
|
2400
2400
|
path: _path + ".style",
|
|
2401
2401
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
2402
2402
|
value: input.style
|
|
@@ -2458,7 +2458,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2458
2458
|
if (undefined === value)
|
|
2459
2459
|
return true;
|
|
2460
2460
|
return "string" === typeof value;
|
|
2461
|
-
}); const _io2 = (input, _exceptionable = true) => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "
|
|
2461
|
+
}); const _io2 = (input, _exceptionable = true) => "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) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2462
2462
|
if (["family", "asset", "weight", "style"].some(prop => key === prop))
|
|
2463
2463
|
return true;
|
|
2464
2464
|
const value = input[key];
|
|
@@ -2526,7 +2526,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2526
2526
|
path: _path + ".weight",
|
|
2527
2527
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
2528
2528
|
value: input.weight
|
|
2529
|
-
}), undefined === input.style || "
|
|
2529
|
+
}), undefined === input.style || "italic" === input.style || "normal" === input.style || _report(_exceptionable, {
|
|
2530
2530
|
path: _path + ".style",
|
|
2531
2531
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
2532
2532
|
value: input.style
|
|
@@ -2705,7 +2705,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2705
2705
|
if (undefined === value)
|
|
2706
2706
|
return true;
|
|
2707
2707
|
return false;
|
|
2708
|
-
})); const _io1 = (input, _exceptionable = true) => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("
|
|
2708
|
+
})); const _io1 = (input, _exceptionable = true) => "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, _index3) => Array.isArray(elem) && (elem.length === 2 && "number" === typeof elem[0] && "number" === typeof elem[1]))) && (7 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2709
2709
|
if (["name", "family", "asset", "url", "weight", "style", "ranges"].some(prop => key === prop))
|
|
2710
2710
|
return true;
|
|
2711
2711
|
const value = input[key];
|
|
@@ -2776,7 +2776,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2776
2776
|
path: _path + ".weight",
|
|
2777
2777
|
expected: "number",
|
|
2778
2778
|
value: input.weight
|
|
2779
|
-
}), "
|
|
2779
|
+
}), "italic" === input.style || "normal" === input.style || _report(_exceptionable, {
|
|
2780
2780
|
path: _path + ".style",
|
|
2781
2781
|
expected: "(\"italic\" | \"normal\")",
|
|
2782
2782
|
value: input.style
|
|
@@ -6086,145 +6086,3212 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6086
6086
|
}; })()(input);
|
|
6087
6087
|
}
|
|
6088
6088
|
case ":connection": {
|
|
6089
|
-
return (() => { const _io0 = (input, _exceptionable = true) => "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, true && _exceptionable)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled) && (
|
|
6089
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6090
6090
|
if (["protocol", "host", "username", "password", "utf8", "timezone", "type", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6091
6091
|
return true;
|
|
6092
6092
|
const value = input[key];
|
|
6093
6093
|
if (undefined === value)
|
|
6094
6094
|
return true;
|
|
6095
6095
|
return false;
|
|
6096
|
-
})); const _io1 = (input, _exceptionable = true) => "string" === typeof input.content && (
|
|
6096
|
+
})); const _io1 = (input, _exceptionable = true) => (undefined === input.content || "string" === typeof input.content) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6097
6097
|
if (["content"].some(prop => key === prop))
|
|
6098
6098
|
return true;
|
|
6099
6099
|
const value = input[key];
|
|
6100
6100
|
if (undefined === value)
|
|
6101
6101
|
return true;
|
|
6102
6102
|
return false;
|
|
6103
|
-
})); const _io2 = (input, _exceptionable = true) => "
|
|
6104
|
-
if (["protocol", "
|
|
6103
|
+
})); const _io2 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.actions || "object" === typeof input.actions && null !== input.actions && false === Array.isArray(input.actions) && _io8(input.actions, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6104
|
+
if (["protocol", "secure", "authType", "oauth2", "actions", "type", "host", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6105
6105
|
return true;
|
|
6106
6106
|
const value = input[key];
|
|
6107
6107
|
if (undefined === value)
|
|
6108
6108
|
return true;
|
|
6109
6109
|
return false;
|
|
6110
|
-
})); const _io3 = (input, _exceptionable = true) =>
|
|
6111
|
-
if (["
|
|
6110
|
+
})); const _io3 = (input, _exceptionable = true) => (undefined === input.client || "object" === typeof input.client && null !== input.client && false === Array.isArray(input.client) && _io4(input.client, true && _exceptionable)) && (undefined === input.auth || "object" === typeof input.auth && null !== input.auth && false === Array.isArray(input.auth) && _io5(input.auth, true && _exceptionable)) && (undefined === input.tokenParams || "object" === typeof input.tokenParams && null !== input.tokenParams && false === Array.isArray(input.tokenParams) && _io6(input.tokenParams, true && _exceptionable)) && (undefined === input.grantType || "password" === input.grantType) && (undefined === input.token || "object" === typeof input.token && null !== input.token && _io7(input.token, true && _exceptionable)) && (undefined === input.error || "string" === typeof input.error) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6111
|
+
if (["client", "auth", "tokenParams", "grantType", "token", "error"].some(prop => key === prop))
|
|
6112
6112
|
return true;
|
|
6113
6113
|
const value = input[key];
|
|
6114
6114
|
if (undefined === value)
|
|
6115
6115
|
return true;
|
|
6116
6116
|
return false;
|
|
6117
|
-
})); const _io4 = (input, _exceptionable = true) =>
|
|
6118
|
-
if (["
|
|
6117
|
+
})); const _io4 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6118
|
+
if (["id", "secret", "secretParamName", "idParamName"].some(prop => key === prop))
|
|
6119
6119
|
return true;
|
|
6120
6120
|
const value = input[key];
|
|
6121
6121
|
if (undefined === value)
|
|
6122
6122
|
return true;
|
|
6123
6123
|
return false;
|
|
6124
|
-
})); const _io5 = (input, _exceptionable = true) => "
|
|
6125
|
-
if (["
|
|
6124
|
+
})); const _io5 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6125
|
+
if (["tokenHost", "tokenPath", "refreshPath", "revokePath"].some(prop => key === prop))
|
|
6126
6126
|
return true;
|
|
6127
6127
|
const value = input[key];
|
|
6128
6128
|
if (undefined === value)
|
|
6129
6129
|
return true;
|
|
6130
6130
|
return false;
|
|
6131
|
-
})); const _io6 = (input, _exceptionable = true) =>
|
|
6132
|
-
|
|
6131
|
+
})); const _io6 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
6132
|
+
const value = input[key];
|
|
6133
|
+
if (undefined === value)
|
|
6134
|
+
return true;
|
|
6135
|
+
return "string" === typeof value;
|
|
6136
|
+
}); const _io7 = (input, _exceptionable = true) => "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) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6137
|
+
if (["accessToken", "refreshToken", "expiresAt", "idToken"].some(prop => key === prop))
|
|
6133
6138
|
return true;
|
|
6134
6139
|
const value = input[key];
|
|
6135
6140
|
if (undefined === value)
|
|
6136
6141
|
return true;
|
|
6137
6142
|
return false;
|
|
6138
|
-
})); const
|
|
6139
|
-
if (["
|
|
6143
|
+
})); const _io8 = (input, _exceptionable = true) => (undefined === input.ping || "object" === typeof input.ping && null !== input.ping && false === Array.isArray(input.ping) && _io9(input.ping, true && _exceptionable)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io27(input.head, true && _exceptionable)) && (undefined === input.list || "object" === typeof input.list && null !== input.list && false === Array.isArray(input.list) && _io38(input.list, true && _exceptionable)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io49(input.get, true && _exceptionable)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io57(input.put, true && _exceptionable)) && (undefined === input.del || "object" === typeof input.del && null !== input.del && false === Array.isArray(input.del) && _io65(input.del, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6144
|
+
if (["ping", "head", "list", "get", "put", "del"].some(prop => key === prop))
|
|
6140
6145
|
return true;
|
|
6141
6146
|
const value = input[key];
|
|
6142
6147
|
if (undefined === value)
|
|
6143
6148
|
return true;
|
|
6144
6149
|
return false;
|
|
6145
|
-
})); const
|
|
6146
|
-
if ("
|
|
6147
|
-
return
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
return
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
|
|
6161
|
-
return
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6150
|
+
})); const _io9 = (input, _exceptionable = true) => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io10(input.request, true && _exceptionable)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6151
|
+
if (["request", "response"].some(prop => key === prop))
|
|
6152
|
+
return true;
|
|
6153
|
+
const value = input[key];
|
|
6154
|
+
if (undefined === value)
|
|
6155
|
+
return true;
|
|
6156
|
+
return false;
|
|
6157
|
+
})); const _io10 = (input, _exceptionable = true) => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io11(input.origin, true && _exceptionable)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io11(input.path, true && _exceptionable))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io11(input.method, true && _exceptionable))) && (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, true && _exceptionable))) && (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, true && _exceptionable))) && (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, true && _exceptionable))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io20(input.throwOnError, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6158
|
+
if (["origin", "path", "method", "params", "form", "headers", "throwOnError"].some(prop => key === prop))
|
|
6159
|
+
return true;
|
|
6160
|
+
const value = input[key];
|
|
6161
|
+
if (undefined === value)
|
|
6162
|
+
return true;
|
|
6163
|
+
return false;
|
|
6164
|
+
})); const _io11 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io12(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "string" === typeof input.__returnValue) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6165
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6166
|
+
return true;
|
|
6167
|
+
const value = input[key];
|
|
6168
|
+
if (undefined === value)
|
|
6169
|
+
return true;
|
|
6170
|
+
return false;
|
|
6171
|
+
})); const _io12 = (input, _exceptionable = true) => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection, true && _exceptionable) && Object.keys(input).every(key => {
|
|
6172
|
+
if (["connection"].some(prop => key === prop))
|
|
6173
|
+
return true;
|
|
6174
|
+
const value = input[key];
|
|
6175
|
+
if (undefined === value)
|
|
6176
|
+
return true;
|
|
6177
|
+
return true;
|
|
6178
|
+
}); const _io13 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
6179
|
+
const value = input[key];
|
|
6180
|
+
if (undefined === value)
|
|
6181
|
+
return true;
|
|
6182
|
+
return undefined === value || "string" === typeof value;
|
|
6183
|
+
}); const _io14 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io12(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6184
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6185
|
+
return true;
|
|
6186
|
+
const value = input[key];
|
|
6187
|
+
if (undefined === value)
|
|
6188
|
+
return true;
|
|
6189
|
+
return false;
|
|
6190
|
+
})); const _io15 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
6191
|
+
const value = input[key];
|
|
6192
|
+
if (undefined === value)
|
|
6193
|
+
return true;
|
|
6194
|
+
return "object" === typeof value && null !== value && _io16(value, true && _exceptionable);
|
|
6195
|
+
}); const _io16 = (input, _exceptionable = true) => true && (undefined === input.filename || "string" === typeof input.filename) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6196
|
+
if (["value", "filename"].some(prop => key === prop))
|
|
6197
|
+
return true;
|
|
6198
|
+
const value = input[key];
|
|
6199
|
+
if (undefined === value)
|
|
6200
|
+
return true;
|
|
6201
|
+
return false;
|
|
6202
|
+
})); const _io17 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io12(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6203
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6204
|
+
return true;
|
|
6205
|
+
const value = input[key];
|
|
6206
|
+
if (undefined === value)
|
|
6207
|
+
return true;
|
|
6208
|
+
return false;
|
|
6209
|
+
})); const _io18 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
6210
|
+
const value = input[key];
|
|
6211
|
+
if (undefined === value)
|
|
6212
|
+
return true;
|
|
6213
|
+
return undefined === value || "string" === typeof value;
|
|
6214
|
+
}); const _io19 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io12(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6215
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6216
|
+
return true;
|
|
6217
|
+
const value = input[key];
|
|
6218
|
+
if (undefined === value)
|
|
6219
|
+
return true;
|
|
6220
|
+
return false;
|
|
6221
|
+
})); const _io20 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io12(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6222
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6223
|
+
return true;
|
|
6224
|
+
const value = input[key];
|
|
6225
|
+
if (undefined === value)
|
|
6226
|
+
return true;
|
|
6227
|
+
return false;
|
|
6228
|
+
})); const _io21 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || "object" === typeof input.transform && null !== input.transform && _io25(input.transform, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6229
|
+
if (["responseFormat", "error", "transform"].some(prop => key === prop))
|
|
6230
|
+
return true;
|
|
6231
|
+
const value = input[key];
|
|
6232
|
+
if (undefined === value)
|
|
6233
|
+
return true;
|
|
6234
|
+
return false;
|
|
6235
|
+
})); const _io22 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io23(input.__context, true && _exceptionable) && (null === input.__returnValue || undefined === input.__returnValue || "string" === typeof input.__returnValue) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6236
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6237
|
+
return true;
|
|
6238
|
+
const value = input[key];
|
|
6239
|
+
if (undefined === value)
|
|
6240
|
+
return true;
|
|
6241
|
+
return false;
|
|
6242
|
+
})); const _io23 = (input, _exceptionable = true) => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection, true && _exceptionable) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers, true && _exceptionable)) && "number" === typeof input.statusCode && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6243
|
+
if (["connection", "headers", "statusCode"].some(prop => key === prop))
|
|
6244
|
+
return true;
|
|
6245
|
+
const value = input[key];
|
|
6246
|
+
if (undefined === value)
|
|
6247
|
+
return true;
|
|
6248
|
+
return false;
|
|
6249
|
+
})); const _io24 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
6250
|
+
const value = input[key];
|
|
6251
|
+
if (undefined === value)
|
|
6252
|
+
return true;
|
|
6253
|
+
return null !== value && (undefined === value || "string" === typeof value || Array.isArray(value) && value.every((elem, _index1) => "string" === typeof elem));
|
|
6254
|
+
}); const _io25 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io26(input.__context, true && _exceptionable) && (null !== input.__returnValue && undefined === input.__returnValue) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6255
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6256
|
+
return true;
|
|
6257
|
+
const value = input[key];
|
|
6258
|
+
if (undefined === value)
|
|
6259
|
+
return true;
|
|
6260
|
+
return false;
|
|
6261
|
+
})); const _io26 = (input, _exceptionable = true) => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection, true && _exceptionable) && true && (undefined === input.text || "string" === typeof input.text) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers, true && _exceptionable)) && "number" === typeof input.statusCode && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6262
|
+
if (["connection", "json", "text", "headers", "statusCode"].some(prop => key === prop))
|
|
6263
|
+
return true;
|
|
6264
|
+
const value = input[key];
|
|
6265
|
+
if (undefined === value)
|
|
6266
|
+
return true;
|
|
6267
|
+
return false;
|
|
6268
|
+
})); const _io27 = (input, _exceptionable = true) => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io28(input.request, true && _exceptionable)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io35(input.response, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6269
|
+
if (["request", "response"].some(prop => key === prop))
|
|
6270
|
+
return true;
|
|
6271
|
+
const value = input[key];
|
|
6272
|
+
if (undefined === value)
|
|
6273
|
+
return true;
|
|
6274
|
+
return false;
|
|
6275
|
+
})); const _io28 = (input, _exceptionable = true) => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io29(input.origin, true && _exceptionable)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io29(input.path, true && _exceptionable))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io29(input.method, true && _exceptionable))) && (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, true && _exceptionable))) && (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, true && _exceptionable))) && (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, true && _exceptionable))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io34(input.throwOnError, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6276
|
+
if (["origin", "path", "method", "params", "form", "headers", "throwOnError"].some(prop => key === prop))
|
|
6277
|
+
return true;
|
|
6278
|
+
const value = input[key];
|
|
6279
|
+
if (undefined === value)
|
|
6280
|
+
return true;
|
|
6281
|
+
return false;
|
|
6282
|
+
})); const _io29 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io30(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "string" === typeof input.__returnValue) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6283
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6284
|
+
return true;
|
|
6285
|
+
const value = input[key];
|
|
6286
|
+
if (undefined === value)
|
|
6287
|
+
return true;
|
|
6288
|
+
return false;
|
|
6289
|
+
})); const _io30 = (input, _exceptionable = true) => "string" === typeof input.filepath && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6290
|
+
if (["filepath", "connection"].some(prop => key === prop))
|
|
6291
|
+
return true;
|
|
6292
|
+
const value = input[key];
|
|
6293
|
+
if (undefined === value)
|
|
6294
|
+
return true;
|
|
6295
|
+
return false;
|
|
6296
|
+
})); const _io31 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io30(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6297
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6298
|
+
return true;
|
|
6299
|
+
const value = input[key];
|
|
6300
|
+
if (undefined === value)
|
|
6301
|
+
return true;
|
|
6302
|
+
return false;
|
|
6303
|
+
})); const _io32 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io30(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6304
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6305
|
+
return true;
|
|
6306
|
+
const value = input[key];
|
|
6307
|
+
if (undefined === value)
|
|
6308
|
+
return true;
|
|
6309
|
+
return false;
|
|
6310
|
+
})); const _io33 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io30(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6311
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6312
|
+
return true;
|
|
6313
|
+
const value = input[key];
|
|
6314
|
+
if (undefined === value)
|
|
6315
|
+
return true;
|
|
6316
|
+
return false;
|
|
6317
|
+
})); const _io34 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io30(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6318
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6319
|
+
return true;
|
|
6320
|
+
const value = input[key];
|
|
6321
|
+
if (undefined === value)
|
|
6322
|
+
return true;
|
|
6323
|
+
return false;
|
|
6324
|
+
})); const _io35 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6325
|
+
if (["responseFormat", "error", "transform"].some(prop => key === prop))
|
|
6326
|
+
return true;
|
|
6327
|
+
const value = input[key];
|
|
6328
|
+
if (undefined === value)
|
|
6329
|
+
return true;
|
|
6330
|
+
return false;
|
|
6331
|
+
})); const _io36 = (input, _exceptionable = true) => (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6332
|
+
if (["size", "hash"].some(prop => key === prop))
|
|
6333
|
+
return true;
|
|
6334
|
+
const value = input[key];
|
|
6335
|
+
if (undefined === value)
|
|
6336
|
+
return true;
|
|
6337
|
+
return false;
|
|
6338
|
+
})); const _io37 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io26(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io36(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6339
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6340
|
+
return true;
|
|
6341
|
+
const value = input[key];
|
|
6342
|
+
if (undefined === value)
|
|
6343
|
+
return true;
|
|
6344
|
+
return false;
|
|
6345
|
+
})); const _io38 = (input, _exceptionable = true) => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io39(input.request, true && _exceptionable)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io46(input.response, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6346
|
+
if (["request", "response"].some(prop => key === prop))
|
|
6347
|
+
return true;
|
|
6348
|
+
const value = input[key];
|
|
6349
|
+
if (undefined === value)
|
|
6350
|
+
return true;
|
|
6351
|
+
return false;
|
|
6352
|
+
})); const _io39 = (input, _exceptionable = true) => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io40(input.origin, true && _exceptionable)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io40(input.path, true && _exceptionable))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io40(input.method, true && _exceptionable))) && (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, true && _exceptionable))) && (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, true && _exceptionable))) && (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, true && _exceptionable))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io45(input.throwOnError, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6353
|
+
if (["origin", "path", "method", "params", "form", "headers", "throwOnError"].some(prop => key === prop))
|
|
6354
|
+
return true;
|
|
6355
|
+
const value = input[key];
|
|
6356
|
+
if (undefined === value)
|
|
6357
|
+
return true;
|
|
6358
|
+
return false;
|
|
6359
|
+
})); const _io40 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io41(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "string" === typeof input.__returnValue) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6360
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6361
|
+
return true;
|
|
6362
|
+
const value = input[key];
|
|
6363
|
+
if (undefined === value)
|
|
6364
|
+
return true;
|
|
6365
|
+
return false;
|
|
6366
|
+
})); const _io41 = (input, _exceptionable = true) => (undefined === input.dirpath || "string" === typeof input.dirpath) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6367
|
+
if (["dirpath", "connection"].some(prop => key === prop))
|
|
6368
|
+
return true;
|
|
6369
|
+
const value = input[key];
|
|
6370
|
+
if (undefined === value)
|
|
6371
|
+
return true;
|
|
6372
|
+
return false;
|
|
6373
|
+
})); const _io42 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io41(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6374
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6375
|
+
return true;
|
|
6376
|
+
const value = input[key];
|
|
6377
|
+
if (undefined === value)
|
|
6378
|
+
return true;
|
|
6379
|
+
return false;
|
|
6380
|
+
})); const _io43 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io41(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6381
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6382
|
+
return true;
|
|
6383
|
+
const value = input[key];
|
|
6384
|
+
if (undefined === value)
|
|
6385
|
+
return true;
|
|
6386
|
+
return false;
|
|
6387
|
+
})); const _io44 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io41(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6388
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6389
|
+
return true;
|
|
6390
|
+
const value = input[key];
|
|
6391
|
+
if (undefined === value)
|
|
6392
|
+
return true;
|
|
6393
|
+
return false;
|
|
6394
|
+
})); const _io45 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io41(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6395
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6396
|
+
return true;
|
|
6397
|
+
const value = input[key];
|
|
6398
|
+
if (undefined === value)
|
|
6399
|
+
return true;
|
|
6400
|
+
return false;
|
|
6401
|
+
})); const _io46 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || (Array.isArray(input.transform) && input.transform.every((elem, _index2) => "object" === typeof elem && null !== elem && _io47(elem, true && _exceptionable)) || "object" === typeof input.transform && null !== input.transform && _io48(input.transform, true && _exceptionable)))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6402
|
+
if (["responseFormat", "error", "transform"].some(prop => key === prop))
|
|
6403
|
+
return true;
|
|
6404
|
+
const value = input[key];
|
|
6405
|
+
if (undefined === value)
|
|
6406
|
+
return true;
|
|
6407
|
+
return false;
|
|
6408
|
+
})); const _io47 = (input, _exceptionable = true) => "string" === typeof input.name && "boolean" === typeof input.isDir && "number" === typeof input.size && (undefined === input.date || "string" === typeof input.date) && "string" === typeof input.path && (4 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6409
|
+
if (["name", "isDir", "size", "date", "path"].some(prop => key === prop))
|
|
6410
|
+
return true;
|
|
6411
|
+
const value = input[key];
|
|
6412
|
+
if (undefined === value)
|
|
6413
|
+
return true;
|
|
6414
|
+
return false;
|
|
6415
|
+
})); const _io48 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io26(input.__context, true && _exceptionable) && (Array.isArray(input.__returnValue) && input.__returnValue.every((elem, _index3) => "object" === typeof elem && null !== elem && _io47(elem, true && _exceptionable))) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6416
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6417
|
+
return true;
|
|
6418
|
+
const value = input[key];
|
|
6419
|
+
if (undefined === value)
|
|
6420
|
+
return true;
|
|
6421
|
+
return false;
|
|
6422
|
+
})); const _io49 = (input, _exceptionable = true) => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io50(input.request, true && _exceptionable)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6423
|
+
if (["request", "response"].some(prop => key === prop))
|
|
6424
|
+
return true;
|
|
6425
|
+
const value = input[key];
|
|
6426
|
+
if (undefined === value)
|
|
6427
|
+
return true;
|
|
6428
|
+
return false;
|
|
6429
|
+
})); const _io50 = (input, _exceptionable = true) => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io51(input.origin, true && _exceptionable)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io51(input.path, true && _exceptionable))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io51(input.method, true && _exceptionable))) && (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, true && _exceptionable))) && (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, true && _exceptionable))) && (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, true && _exceptionable))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io56(input.throwOnError, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6430
|
+
if (["origin", "path", "method", "params", "form", "headers", "throwOnError"].some(prop => key === prop))
|
|
6431
|
+
return true;
|
|
6432
|
+
const value = input[key];
|
|
6433
|
+
if (undefined === value)
|
|
6434
|
+
return true;
|
|
6435
|
+
return false;
|
|
6436
|
+
})); const _io51 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io52(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "string" === typeof input.__returnValue) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6437
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6438
|
+
return true;
|
|
6439
|
+
const value = input[key];
|
|
6440
|
+
if (undefined === value)
|
|
6441
|
+
return true;
|
|
6442
|
+
return false;
|
|
6443
|
+
})); const _io52 = (input, _exceptionable = true) => "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, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6444
|
+
if (["id", "offset", "connection"].some(prop => key === prop))
|
|
6445
|
+
return true;
|
|
6446
|
+
const value = input[key];
|
|
6447
|
+
if (undefined === value)
|
|
6448
|
+
return true;
|
|
6449
|
+
return false;
|
|
6450
|
+
})); const _io53 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io52(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6451
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6452
|
+
return true;
|
|
6453
|
+
const value = input[key];
|
|
6454
|
+
if (undefined === value)
|
|
6455
|
+
return true;
|
|
6456
|
+
return false;
|
|
6457
|
+
})); const _io54 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io52(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6458
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6459
|
+
return true;
|
|
6460
|
+
const value = input[key];
|
|
6461
|
+
if (undefined === value)
|
|
6462
|
+
return true;
|
|
6463
|
+
return false;
|
|
6464
|
+
})); const _io55 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io52(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6465
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6466
|
+
return true;
|
|
6467
|
+
const value = input[key];
|
|
6468
|
+
if (undefined === value)
|
|
6469
|
+
return true;
|
|
6470
|
+
return false;
|
|
6471
|
+
})); const _io56 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io52(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6472
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6473
|
+
return true;
|
|
6474
|
+
const value = input[key];
|
|
6475
|
+
if (undefined === value)
|
|
6476
|
+
return true;
|
|
6477
|
+
return false;
|
|
6478
|
+
})); const _io57 = (input, _exceptionable = true) => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io58(input.request, true && _exceptionable)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6479
|
+
if (["request", "response"].some(prop => key === prop))
|
|
6480
|
+
return true;
|
|
6481
|
+
const value = input[key];
|
|
6482
|
+
if (undefined === value)
|
|
6483
|
+
return true;
|
|
6484
|
+
return false;
|
|
6485
|
+
})); const _io58 = (input, _exceptionable = true) => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io59(input.origin, true && _exceptionable)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io59(input.path, true && _exceptionable))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io59(input.method, true && _exceptionable))) && (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, true && _exceptionable))) && (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, true && _exceptionable))) && (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, true && _exceptionable))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io64(input.throwOnError, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6486
|
+
if (["origin", "path", "method", "params", "form", "headers", "throwOnError"].some(prop => key === prop))
|
|
6487
|
+
return true;
|
|
6488
|
+
const value = input[key];
|
|
6489
|
+
if (undefined === value)
|
|
6490
|
+
return true;
|
|
6491
|
+
return false;
|
|
6492
|
+
})); const _io59 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io60(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "string" === typeof input.__returnValue) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6493
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6494
|
+
return true;
|
|
6495
|
+
const value = input[key];
|
|
6496
|
+
if (undefined === value)
|
|
6497
|
+
return true;
|
|
6498
|
+
return false;
|
|
6499
|
+
})); const _io60 = (input, _exceptionable = true) => "string" === typeof input.filepath && true && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6500
|
+
if (["filepath", "stream", "connection"].some(prop => key === prop))
|
|
6501
|
+
return true;
|
|
6502
|
+
const value = input[key];
|
|
6503
|
+
if (undefined === value)
|
|
6504
|
+
return true;
|
|
6505
|
+
return false;
|
|
6506
|
+
})); const _io61 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io60(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6507
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6508
|
+
return true;
|
|
6509
|
+
const value = input[key];
|
|
6510
|
+
if (undefined === value)
|
|
6511
|
+
return true;
|
|
6512
|
+
return false;
|
|
6513
|
+
})); const _io62 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io60(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6514
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6515
|
+
return true;
|
|
6516
|
+
const value = input[key];
|
|
6517
|
+
if (undefined === value)
|
|
6518
|
+
return true;
|
|
6519
|
+
return false;
|
|
6520
|
+
})); const _io63 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io60(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6521
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6522
|
+
return true;
|
|
6523
|
+
const value = input[key];
|
|
6524
|
+
if (undefined === value)
|
|
6525
|
+
return true;
|
|
6526
|
+
return false;
|
|
6527
|
+
})); const _io64 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io60(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6528
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6529
|
+
return true;
|
|
6530
|
+
const value = input[key];
|
|
6531
|
+
if (undefined === value)
|
|
6532
|
+
return true;
|
|
6533
|
+
return false;
|
|
6534
|
+
})); const _io65 = (input, _exceptionable = true) => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io66(input.request, true && _exceptionable)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6535
|
+
if (["request", "response"].some(prop => key === prop))
|
|
6536
|
+
return true;
|
|
6537
|
+
const value = input[key];
|
|
6538
|
+
if (undefined === value)
|
|
6539
|
+
return true;
|
|
6540
|
+
return false;
|
|
6541
|
+
})); const _io66 = (input, _exceptionable = true) => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io67(input.origin, true && _exceptionable)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io67(input.path, true && _exceptionable))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io67(input.method, true && _exceptionable))) && (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, true && _exceptionable))) && (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, true && _exceptionable))) && (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, true && _exceptionable))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io72(input.throwOnError, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6542
|
+
if (["origin", "path", "method", "params", "form", "headers", "throwOnError"].some(prop => key === prop))
|
|
6543
|
+
return true;
|
|
6544
|
+
const value = input[key];
|
|
6545
|
+
if (undefined === value)
|
|
6546
|
+
return true;
|
|
6547
|
+
return false;
|
|
6548
|
+
})); const _io67 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io68(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "string" === typeof input.__returnValue) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6549
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6550
|
+
return true;
|
|
6551
|
+
const value = input[key];
|
|
6552
|
+
if (undefined === value)
|
|
6553
|
+
return true;
|
|
6554
|
+
return false;
|
|
6555
|
+
})); const _io68 = (input, _exceptionable = true) => "string" === typeof input.id && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6556
|
+
if (["id", "connection"].some(prop => key === prop))
|
|
6557
|
+
return true;
|
|
6558
|
+
const value = input[key];
|
|
6559
|
+
if (undefined === value)
|
|
6560
|
+
return true;
|
|
6561
|
+
return false;
|
|
6562
|
+
})); const _io69 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io68(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6563
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6564
|
+
return true;
|
|
6565
|
+
const value = input[key];
|
|
6566
|
+
if (undefined === value)
|
|
6567
|
+
return true;
|
|
6568
|
+
return false;
|
|
6569
|
+
})); const _io70 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io68(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6570
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6571
|
+
return true;
|
|
6572
|
+
const value = input[key];
|
|
6573
|
+
if (undefined === value)
|
|
6574
|
+
return true;
|
|
6575
|
+
return false;
|
|
6576
|
+
})); const _io71 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io68(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6577
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6578
|
+
return true;
|
|
6579
|
+
const value = input[key];
|
|
6580
|
+
if (undefined === value)
|
|
6581
|
+
return true;
|
|
6582
|
+
return false;
|
|
6583
|
+
})); const _io72 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io68(input.__context, true && _exceptionable) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6584
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6585
|
+
return true;
|
|
6586
|
+
const value = input[key];
|
|
6587
|
+
if (undefined === value)
|
|
6588
|
+
return true;
|
|
6589
|
+
return false;
|
|
6590
|
+
})); const _io73 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6591
|
+
if (["protocol", "client", "bucket", "type", "host", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6592
|
+
return true;
|
|
6593
|
+
const value = input[key];
|
|
6594
|
+
if (undefined === value)
|
|
6595
|
+
return true;
|
|
6596
|
+
return false;
|
|
6597
|
+
})); const _io74 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6598
|
+
if (["protocol", "host", "share", "workgroup", "username", "password", "type", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6599
|
+
return true;
|
|
6600
|
+
const value = input[key];
|
|
6601
|
+
if (undefined === value)
|
|
6602
|
+
return true;
|
|
6603
|
+
return false;
|
|
6604
|
+
})); const _io75 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6605
|
+
if (["protocol", "host", "username", "password", "privateKey", "timezone", "debug", "root", "mode", "type", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6606
|
+
return true;
|
|
6607
|
+
const value = input[key];
|
|
6608
|
+
if (undefined === value)
|
|
6609
|
+
return true;
|
|
6610
|
+
return false;
|
|
6611
|
+
})); const _io76 = (input, _exceptionable = true) => (undefined === input.type || "facebook" === input.type) && (undefined === input.grantedScopes || Array.isArray(input.grantedScopes) && input.grantedScopes.every((elem, _index4) => "string" === typeof elem)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6612
|
+
if (["type", "grantedScopes", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6613
|
+
return true;
|
|
6614
|
+
const value = input[key];
|
|
6615
|
+
if (undefined === value)
|
|
6616
|
+
return true;
|
|
6617
|
+
return false;
|
|
6618
|
+
})); const _io77 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6619
|
+
if (["type", "clientId", "clientSecret", "audience", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6620
|
+
return true;
|
|
6621
|
+
const value = input[key];
|
|
6622
|
+
if (undefined === value)
|
|
6623
|
+
return true;
|
|
6624
|
+
return false;
|
|
6625
|
+
})); const _io78 = (input, _exceptionable = true) => (null === input.type || undefined === input.type) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
6626
|
+
if (["type", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6627
|
+
return true;
|
|
6628
|
+
const value = input[key];
|
|
6629
|
+
if (undefined === value)
|
|
6630
|
+
return true;
|
|
6631
|
+
return false;
|
|
6632
|
+
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
6633
|
+
if (undefined !== input.__context)
|
|
6634
|
+
return _io14(input, true && _exceptionable);
|
|
6635
|
+
else
|
|
6636
|
+
return _io13(input, true && _exceptionable);
|
|
6637
|
+
})(); const _iu1 = (input, _exceptionable = true) => (() => {
|
|
6638
|
+
if (undefined !== input.__context)
|
|
6639
|
+
return _io17(input, true && _exceptionable);
|
|
6640
|
+
else
|
|
6641
|
+
return _io15(input, true && _exceptionable);
|
|
6642
|
+
})(); const _iu2 = (input, _exceptionable = true) => (() => {
|
|
6643
|
+
if (undefined !== input.__context)
|
|
6644
|
+
return _io19(input, true && _exceptionable);
|
|
6645
|
+
else
|
|
6646
|
+
return _io18(input, true && _exceptionable);
|
|
6647
|
+
})(); const _iu3 = (input, _exceptionable = true) => (() => {
|
|
6648
|
+
if (undefined !== input.__context)
|
|
6649
|
+
return _io31(input, true && _exceptionable);
|
|
6650
|
+
else
|
|
6651
|
+
return _io13(input, true && _exceptionable);
|
|
6652
|
+
})(); const _iu4 = (input, _exceptionable = true) => (() => {
|
|
6653
|
+
if (undefined !== input.__context)
|
|
6654
|
+
return _io32(input, true && _exceptionable);
|
|
6655
|
+
else
|
|
6656
|
+
return _io15(input, true && _exceptionable);
|
|
6657
|
+
})(); const _iu5 = (input, _exceptionable = true) => (() => {
|
|
6658
|
+
if (undefined !== input.__context)
|
|
6659
|
+
return _io33(input, true && _exceptionable);
|
|
6660
|
+
else
|
|
6661
|
+
return _io18(input, true && _exceptionable);
|
|
6662
|
+
})(); const _iu6 = (input, _exceptionable = true) => (() => {
|
|
6663
|
+
if (undefined !== input.__context)
|
|
6664
|
+
return _io37(input, true && _exceptionable);
|
|
6665
|
+
else
|
|
6666
|
+
return _io36(input, true && _exceptionable);
|
|
6667
|
+
})(); const _iu7 = (input, _exceptionable = true) => (() => {
|
|
6668
|
+
if (undefined !== input.__context)
|
|
6669
|
+
return _io42(input, true && _exceptionable);
|
|
6670
|
+
else
|
|
6671
|
+
return _io13(input, true && _exceptionable);
|
|
6672
|
+
})(); const _iu8 = (input, _exceptionable = true) => (() => {
|
|
6673
|
+
if (undefined !== input.__context)
|
|
6674
|
+
return _io43(input, true && _exceptionable);
|
|
6675
|
+
else
|
|
6676
|
+
return _io15(input, true && _exceptionable);
|
|
6677
|
+
})(); const _iu9 = (input, _exceptionable = true) => (() => {
|
|
6678
|
+
if (undefined !== input.__context)
|
|
6679
|
+
return _io44(input, true && _exceptionable);
|
|
6680
|
+
else
|
|
6681
|
+
return _io18(input, true && _exceptionable);
|
|
6682
|
+
})(); const _iu10 = (input, _exceptionable = true) => (() => {
|
|
6683
|
+
if (undefined !== input.__context)
|
|
6684
|
+
return _io53(input, true && _exceptionable);
|
|
6685
|
+
else
|
|
6686
|
+
return _io13(input, true && _exceptionable);
|
|
6687
|
+
})(); const _iu11 = (input, _exceptionable = true) => (() => {
|
|
6688
|
+
if (undefined !== input.__context)
|
|
6689
|
+
return _io54(input, true && _exceptionable);
|
|
6690
|
+
else
|
|
6691
|
+
return _io15(input, true && _exceptionable);
|
|
6692
|
+
})(); const _iu12 = (input, _exceptionable = true) => (() => {
|
|
6693
|
+
if (undefined !== input.__context)
|
|
6694
|
+
return _io55(input, true && _exceptionable);
|
|
6695
|
+
else
|
|
6696
|
+
return _io18(input, true && _exceptionable);
|
|
6697
|
+
})(); const _iu13 = (input, _exceptionable = true) => (() => {
|
|
6698
|
+
if (undefined !== input.__context)
|
|
6699
|
+
return _io61(input, true && _exceptionable);
|
|
6700
|
+
else
|
|
6701
|
+
return _io13(input, true && _exceptionable);
|
|
6702
|
+
})(); const _iu14 = (input, _exceptionable = true) => (() => {
|
|
6703
|
+
if (undefined !== input.__context)
|
|
6704
|
+
return _io62(input, true && _exceptionable);
|
|
6705
|
+
else
|
|
6706
|
+
return _io15(input, true && _exceptionable);
|
|
6707
|
+
})(); const _iu15 = (input, _exceptionable = true) => (() => {
|
|
6708
|
+
if (undefined !== input.__context)
|
|
6709
|
+
return _io63(input, true && _exceptionable);
|
|
6710
|
+
else
|
|
6711
|
+
return _io18(input, true && _exceptionable);
|
|
6712
|
+
})(); const _iu16 = (input, _exceptionable = true) => (() => {
|
|
6713
|
+
if (undefined !== input.__context)
|
|
6714
|
+
return _io69(input, true && _exceptionable);
|
|
6715
|
+
else
|
|
6716
|
+
return _io13(input, true && _exceptionable);
|
|
6717
|
+
})(); const _iu17 = (input, _exceptionable = true) => (() => {
|
|
6718
|
+
if (undefined !== input.__context)
|
|
6719
|
+
return _io70(input, true && _exceptionable);
|
|
6720
|
+
else
|
|
6721
|
+
return _io15(input, true && _exceptionable);
|
|
6722
|
+
})(); const _iu18 = (input, _exceptionable = true) => (() => {
|
|
6723
|
+
if (undefined !== input.__context)
|
|
6724
|
+
return _io71(input, true && _exceptionable);
|
|
6725
|
+
else
|
|
6726
|
+
return _io18(input, true && _exceptionable);
|
|
6727
|
+
})(); const _iu19 = (input, _exceptionable = true) => (() => {
|
|
6728
|
+
if (_io0(input, false && _exceptionable))
|
|
6729
|
+
return _io0(input, true && _exceptionable);
|
|
6730
|
+
if (_io2(input, false && _exceptionable))
|
|
6731
|
+
return _io2(input, true && _exceptionable);
|
|
6732
|
+
if (_io73(input, false && _exceptionable))
|
|
6733
|
+
return _io73(input, true && _exceptionable);
|
|
6734
|
+
if (_io74(input, false && _exceptionable))
|
|
6735
|
+
return _io74(input, true && _exceptionable);
|
|
6736
|
+
if (_io75(input, false && _exceptionable))
|
|
6737
|
+
return _io75(input, true && _exceptionable);
|
|
6738
|
+
if (_io76(input, false && _exceptionable))
|
|
6739
|
+
return _io76(input, true && _exceptionable);
|
|
6740
|
+
if (_io77(input, false && _exceptionable))
|
|
6741
|
+
return _io77(input, true && _exceptionable);
|
|
6742
|
+
if (_io78(input, false && _exceptionable))
|
|
6743
|
+
return _io78(input, true && _exceptionable);
|
|
6744
|
+
return false;
|
|
6745
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "ftp" === input.protocol || _report(_exceptionable, {
|
|
6746
|
+
path: _path + ".protocol",
|
|
6747
|
+
expected: "(\"ftp\" | undefined)",
|
|
6748
|
+
value: input.protocol
|
|
6749
|
+
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
6750
|
+
path: _path + ".host",
|
|
6751
|
+
expected: "(string | undefined)",
|
|
6752
|
+
value: input.host
|
|
6753
|
+
}), undefined === input.username || "string" === typeof input.username || _report(_exceptionable, {
|
|
6754
|
+
path: _path + ".username",
|
|
6755
|
+
expected: "(string | undefined)",
|
|
6756
|
+
value: input.username
|
|
6757
|
+
}), undefined === input.password || "string" === typeof input.password || _report(_exceptionable, {
|
|
6758
|
+
path: _path + ".password",
|
|
6759
|
+
expected: "(string | undefined)",
|
|
6760
|
+
value: input.password
|
|
6761
|
+
}), undefined === input.utf8 || "boolean" === typeof input.utf8 || _report(_exceptionable, {
|
|
6762
|
+
path: _path + ".utf8",
|
|
6763
|
+
expected: "(boolean | undefined)",
|
|
6764
|
+
value: input.utf8
|
|
6765
|
+
}), undefined === input.timezone || "string" === typeof input.timezone || _report(_exceptionable, {
|
|
6766
|
+
path: _path + ".timezone",
|
|
6767
|
+
expected: "(string | undefined)",
|
|
6768
|
+
value: input.timezone
|
|
6769
|
+
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
6770
|
+
path: _path + ".type",
|
|
6771
|
+
expected: "(\"file\" | undefined)",
|
|
6772
|
+
value: input.type
|
|
6773
|
+
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
6774
|
+
path: _path + ".port",
|
|
6775
|
+
expected: "(number | string | undefined)",
|
|
6776
|
+
value: input.port
|
|
6777
|
+
}), undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing || _report(_exceptionable, {
|
|
6778
|
+
path: _path + ".ignoreMissing",
|
|
6779
|
+
expected: "(boolean | undefined)",
|
|
6780
|
+
value: input.ignoreMissing
|
|
6781
|
+
}), undefined === input.concurrency || "number" === typeof input.concurrency || _report(_exceptionable, {
|
|
6782
|
+
path: _path + ".concurrency",
|
|
6783
|
+
expected: "(number | undefined)",
|
|
6784
|
+
value: input.concurrency
|
|
6785
|
+
}), undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold || _report(_exceptionable, {
|
|
6786
|
+
path: _path + ".stabilityThreshold",
|
|
6787
|
+
expected: "(number | undefined)",
|
|
6788
|
+
value: input.stabilityThreshold
|
|
6789
|
+
}), undefined === input.pollInterval || "number" === typeof input.pollInterval || _report(_exceptionable, {
|
|
6790
|
+
path: _path + ".pollInterval",
|
|
6791
|
+
expected: "(number | undefined)",
|
|
6792
|
+
value: input.pollInterval
|
|
6793
|
+
}), undefined === input.listConcurrency || "number" === typeof input.listConcurrency || _report(_exceptionable, {
|
|
6794
|
+
path: _path + ".listConcurrency",
|
|
6795
|
+
expected: "(number | undefined)",
|
|
6796
|
+
value: input.listConcurrency
|
|
6797
|
+
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) || _report(_exceptionable, {
|
|
6798
|
+
path: _path + ".metafile",
|
|
6799
|
+
expected: "(__type | undefined)",
|
|
6800
|
+
value: input.metafile
|
|
6801
|
+
})) && _vo1(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
6802
|
+
path: _path + ".metafile",
|
|
6803
|
+
expected: "(__type | undefined)",
|
|
6804
|
+
value: input.metafile
|
|
6805
|
+
}), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
6806
|
+
path: _path + ".userNotificationsEnabled",
|
|
6807
|
+
expected: "(boolean | undefined)",
|
|
6808
|
+
value: input.userNotificationsEnabled
|
|
6809
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6810
|
+
if (["protocol", "host", "username", "password", "utf8", "timezone", "type", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6811
|
+
return true;
|
|
6812
|
+
const value = input[key];
|
|
6813
|
+
if (undefined === value)
|
|
6814
|
+
return true;
|
|
6815
|
+
return _report(_exceptionable, {
|
|
6816
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
6817
|
+
expected: "undefined",
|
|
6818
|
+
value: value,
|
|
6819
|
+
description: [
|
|
6820
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
6821
|
+
"",
|
|
6822
|
+
"Please remove the property next time."
|
|
6823
|
+
].join("\n")
|
|
6824
|
+
});
|
|
6825
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.content || "string" === typeof input.content || _report(_exceptionable, {
|
|
6826
|
+
path: _path + ".content",
|
|
6827
|
+
expected: "(string | undefined)",
|
|
6828
|
+
value: input.content
|
|
6829
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6830
|
+
if (["content"].some(prop => key === prop))
|
|
6831
|
+
return true;
|
|
6832
|
+
const value = input[key];
|
|
6833
|
+
if (undefined === value)
|
|
6834
|
+
return true;
|
|
6835
|
+
return _report(_exceptionable, {
|
|
6836
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
6837
|
+
expected: "undefined",
|
|
6838
|
+
value: value,
|
|
6839
|
+
description: [
|
|
6840
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
6841
|
+
"",
|
|
6842
|
+
"Please remove the property next time."
|
|
6843
|
+
].join("\n")
|
|
6844
|
+
});
|
|
6845
|
+
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "http" === input.protocol || _report(_exceptionable, {
|
|
6846
|
+
path: _path + ".protocol",
|
|
6847
|
+
expected: "(\"http\" | undefined)",
|
|
6848
|
+
value: input.protocol
|
|
6849
|
+
}), undefined === input.secure || "boolean" === typeof input.secure || _report(_exceptionable, {
|
|
6850
|
+
path: _path + ".secure",
|
|
6851
|
+
expected: "(boolean | undefined)",
|
|
6852
|
+
value: input.secure
|
|
6853
|
+
}), undefined === input.authType || "none" === input.authType || "oauth2" === input.authType || _report(_exceptionable, {
|
|
6854
|
+
path: _path + ".authType",
|
|
6855
|
+
expected: "(\"none\" | \"oauth2\" | undefined)",
|
|
6856
|
+
value: input.authType
|
|
6857
|
+
}), undefined === input.oauth2 || ("object" === typeof input.oauth2 && null !== input.oauth2 && false === Array.isArray(input.oauth2) || _report(_exceptionable, {
|
|
6858
|
+
path: _path + ".oauth2",
|
|
6859
|
+
expected: "(__type.o1 | undefined)",
|
|
6860
|
+
value: input.oauth2
|
|
6861
|
+
})) && _vo3(input.oauth2, _path + ".oauth2", true && _exceptionable) || _report(_exceptionable, {
|
|
6862
|
+
path: _path + ".oauth2",
|
|
6863
|
+
expected: "(__type.o1 | undefined)",
|
|
6864
|
+
value: input.oauth2
|
|
6865
|
+
}), undefined === input.actions || ("object" === typeof input.actions && null !== input.actions && false === Array.isArray(input.actions) || _report(_exceptionable, {
|
|
6866
|
+
path: _path + ".actions",
|
|
6867
|
+
expected: "(HttpConnectionActions | undefined)",
|
|
6868
|
+
value: input.actions
|
|
6869
|
+
})) && _vo8(input.actions, _path + ".actions", true && _exceptionable) || _report(_exceptionable, {
|
|
6870
|
+
path: _path + ".actions",
|
|
6871
|
+
expected: "(HttpConnectionActions | undefined)",
|
|
6872
|
+
value: input.actions
|
|
6873
|
+
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
6874
|
+
path: _path + ".type",
|
|
6875
|
+
expected: "(\"file\" | undefined)",
|
|
6876
|
+
value: input.type
|
|
6877
|
+
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
6878
|
+
path: _path + ".host",
|
|
6879
|
+
expected: "(string | undefined)",
|
|
6880
|
+
value: input.host
|
|
6881
|
+
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
6882
|
+
path: _path + ".port",
|
|
6883
|
+
expected: "(number | string | undefined)",
|
|
6884
|
+
value: input.port
|
|
6885
|
+
}), undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing || _report(_exceptionable, {
|
|
6886
|
+
path: _path + ".ignoreMissing",
|
|
6887
|
+
expected: "(boolean | undefined)",
|
|
6888
|
+
value: input.ignoreMissing
|
|
6889
|
+
}), undefined === input.concurrency || "number" === typeof input.concurrency || _report(_exceptionable, {
|
|
6890
|
+
path: _path + ".concurrency",
|
|
6891
|
+
expected: "(number | undefined)",
|
|
6892
|
+
value: input.concurrency
|
|
6893
|
+
}), undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold || _report(_exceptionable, {
|
|
6894
|
+
path: _path + ".stabilityThreshold",
|
|
6895
|
+
expected: "(number | undefined)",
|
|
6896
|
+
value: input.stabilityThreshold
|
|
6897
|
+
}), undefined === input.pollInterval || "number" === typeof input.pollInterval || _report(_exceptionable, {
|
|
6898
|
+
path: _path + ".pollInterval",
|
|
6899
|
+
expected: "(number | undefined)",
|
|
6900
|
+
value: input.pollInterval
|
|
6901
|
+
}), undefined === input.listConcurrency || "number" === typeof input.listConcurrency || _report(_exceptionable, {
|
|
6902
|
+
path: _path + ".listConcurrency",
|
|
6903
|
+
expected: "(number | undefined)",
|
|
6904
|
+
value: input.listConcurrency
|
|
6905
|
+
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) || _report(_exceptionable, {
|
|
6906
|
+
path: _path + ".metafile",
|
|
6907
|
+
expected: "(__type | undefined)",
|
|
6908
|
+
value: input.metafile
|
|
6909
|
+
})) && _vo1(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
6910
|
+
path: _path + ".metafile",
|
|
6911
|
+
expected: "(__type | undefined)",
|
|
6912
|
+
value: input.metafile
|
|
6913
|
+
}), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
6914
|
+
path: _path + ".userNotificationsEnabled",
|
|
6915
|
+
expected: "(boolean | undefined)",
|
|
6916
|
+
value: input.userNotificationsEnabled
|
|
6917
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6918
|
+
if (["protocol", "secure", "authType", "oauth2", "actions", "type", "host", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6919
|
+
return true;
|
|
6920
|
+
const value = input[key];
|
|
6921
|
+
if (undefined === value)
|
|
6922
|
+
return true;
|
|
6923
|
+
return _report(_exceptionable, {
|
|
6924
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
6925
|
+
expected: "undefined",
|
|
6926
|
+
value: value,
|
|
6927
|
+
description: [
|
|
6928
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
6929
|
+
"",
|
|
6930
|
+
"Please remove the property next time."
|
|
6931
|
+
].join("\n")
|
|
6932
|
+
});
|
|
6933
|
+
}).every(flag => flag))].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, {
|
|
6934
|
+
path: _path + ".client",
|
|
6935
|
+
expected: "(__type.o2 | undefined)",
|
|
6936
|
+
value: input.client
|
|
6937
|
+
})) && _vo4(input.client, _path + ".client", true && _exceptionable) || _report(_exceptionable, {
|
|
6938
|
+
path: _path + ".client",
|
|
6939
|
+
expected: "(__type.o2 | undefined)",
|
|
6940
|
+
value: input.client
|
|
6941
|
+
}), undefined === input.auth || ("object" === typeof input.auth && null !== input.auth && false === Array.isArray(input.auth) || _report(_exceptionable, {
|
|
6942
|
+
path: _path + ".auth",
|
|
6943
|
+
expected: "(__type.o3 | undefined)",
|
|
6944
|
+
value: input.auth
|
|
6945
|
+
})) && _vo5(input.auth, _path + ".auth", true && _exceptionable) || _report(_exceptionable, {
|
|
6946
|
+
path: _path + ".auth",
|
|
6947
|
+
expected: "(__type.o3 | undefined)",
|
|
6948
|
+
value: input.auth
|
|
6949
|
+
}), undefined === input.tokenParams || ("object" === typeof input.tokenParams && null !== input.tokenParams && false === Array.isArray(input.tokenParams) || _report(_exceptionable, {
|
|
6950
|
+
path: _path + ".tokenParams",
|
|
6951
|
+
expected: "(__type.o4 | undefined)",
|
|
6952
|
+
value: input.tokenParams
|
|
6953
|
+
})) && _vo6(input.tokenParams, _path + ".tokenParams", true && _exceptionable) || _report(_exceptionable, {
|
|
6954
|
+
path: _path + ".tokenParams",
|
|
6955
|
+
expected: "(__type.o4 | undefined)",
|
|
6956
|
+
value: input.tokenParams
|
|
6957
|
+
}), undefined === input.grantType || "password" === input.grantType || _report(_exceptionable, {
|
|
6958
|
+
path: _path + ".grantType",
|
|
6959
|
+
expected: "(\"password\" | undefined)",
|
|
6960
|
+
value: input.grantType
|
|
6961
|
+
}), undefined === input.token || ("object" === typeof input.token && null !== input.token || _report(_exceptionable, {
|
|
6962
|
+
path: _path + ".token",
|
|
6963
|
+
expected: "(__type.o5 | undefined)",
|
|
6964
|
+
value: input.token
|
|
6965
|
+
})) && _vo7(input.token, _path + ".token", true && _exceptionable) || _report(_exceptionable, {
|
|
6966
|
+
path: _path + ".token",
|
|
6967
|
+
expected: "(__type.o5 | undefined)",
|
|
6968
|
+
value: input.token
|
|
6969
|
+
}), undefined === input.error || "string" === typeof input.error || _report(_exceptionable, {
|
|
6970
|
+
path: _path + ".error",
|
|
6971
|
+
expected: "(string | undefined)",
|
|
6972
|
+
value: input.error
|
|
6973
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6974
|
+
if (["client", "auth", "tokenParams", "grantType", "token", "error"].some(prop => key === prop))
|
|
6975
|
+
return true;
|
|
6976
|
+
const value = input[key];
|
|
6977
|
+
if (undefined === value)
|
|
6978
|
+
return true;
|
|
6979
|
+
return _report(_exceptionable, {
|
|
6980
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
6981
|
+
expected: "undefined",
|
|
6982
|
+
value: value,
|
|
6983
|
+
description: [
|
|
6984
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
6985
|
+
"",
|
|
6986
|
+
"Please remove the property next time."
|
|
6987
|
+
].join("\n")
|
|
6988
|
+
});
|
|
6989
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
6990
|
+
path: _path + ".id",
|
|
6991
|
+
expected: "(string | undefined)",
|
|
6992
|
+
value: input.id
|
|
6993
|
+
}), undefined === input.secret || "string" === typeof input.secret || _report(_exceptionable, {
|
|
6994
|
+
path: _path + ".secret",
|
|
6995
|
+
expected: "(string | undefined)",
|
|
6996
|
+
value: input.secret
|
|
6997
|
+
}), undefined === input.secretParamName || "string" === typeof input.secretParamName || _report(_exceptionable, {
|
|
6998
|
+
path: _path + ".secretParamName",
|
|
6999
|
+
expected: "(string | undefined)",
|
|
7000
|
+
value: input.secretParamName
|
|
7001
|
+
}), undefined === input.idParamName || "string" === typeof input.idParamName || _report(_exceptionable, {
|
|
7002
|
+
path: _path + ".idParamName",
|
|
7003
|
+
expected: "(string | undefined)",
|
|
7004
|
+
value: input.idParamName
|
|
7005
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7006
|
+
if (["id", "secret", "secretParamName", "idParamName"].some(prop => key === prop))
|
|
7007
|
+
return true;
|
|
7008
|
+
const value = input[key];
|
|
7009
|
+
if (undefined === value)
|
|
7010
|
+
return true;
|
|
7011
|
+
return _report(_exceptionable, {
|
|
7012
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7013
|
+
expected: "undefined",
|
|
7014
|
+
value: value,
|
|
7015
|
+
description: [
|
|
7016
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7017
|
+
"",
|
|
7018
|
+
"Please remove the property next time."
|
|
7019
|
+
].join("\n")
|
|
7020
|
+
});
|
|
7021
|
+
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [undefined === input.tokenHost || "string" === typeof input.tokenHost || _report(_exceptionable, {
|
|
7022
|
+
path: _path + ".tokenHost",
|
|
7023
|
+
expected: "(string | undefined)",
|
|
7024
|
+
value: input.tokenHost
|
|
7025
|
+
}), undefined === input.tokenPath || "string" === typeof input.tokenPath || _report(_exceptionable, {
|
|
7026
|
+
path: _path + ".tokenPath",
|
|
7027
|
+
expected: "(string | undefined)",
|
|
7028
|
+
value: input.tokenPath
|
|
7029
|
+
}), undefined === input.refreshPath || "string" === typeof input.refreshPath || _report(_exceptionable, {
|
|
7030
|
+
path: _path + ".refreshPath",
|
|
7031
|
+
expected: "(string | undefined)",
|
|
7032
|
+
value: input.refreshPath
|
|
7033
|
+
}), undefined === input.revokePath || "string" === typeof input.revokePath || _report(_exceptionable, {
|
|
7034
|
+
path: _path + ".revokePath",
|
|
7035
|
+
expected: "(string | undefined)",
|
|
7036
|
+
value: input.revokePath
|
|
7037
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7038
|
+
if (["tokenHost", "tokenPath", "refreshPath", "revokePath"].some(prop => key === prop))
|
|
7039
|
+
return true;
|
|
7040
|
+
const value = input[key];
|
|
7041
|
+
if (undefined === value)
|
|
7042
|
+
return true;
|
|
7043
|
+
return _report(_exceptionable, {
|
|
7044
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7045
|
+
expected: "undefined",
|
|
7046
|
+
value: value,
|
|
7047
|
+
description: [
|
|
7048
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7049
|
+
"",
|
|
7050
|
+
"Please remove the property next time."
|
|
7051
|
+
].join("\n")
|
|
7052
|
+
});
|
|
7053
|
+
}).every(flag => flag))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
7054
|
+
const value = input[key];
|
|
7055
|
+
if (undefined === value)
|
|
7056
|
+
return true;
|
|
7057
|
+
return "string" === typeof value || _report(_exceptionable, {
|
|
7058
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7059
|
+
expected: "string",
|
|
7060
|
+
value: value
|
|
7061
|
+
});
|
|
7062
|
+
}).every(flag => flag)].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.accessToken || _report(_exceptionable, {
|
|
7063
|
+
path: _path + ".accessToken",
|
|
7064
|
+
expected: "string",
|
|
7065
|
+
value: input.accessToken
|
|
7066
|
+
}), null === input.refreshToken || "string" === typeof input.refreshToken || _report(_exceptionable, {
|
|
7067
|
+
path: _path + ".refreshToken",
|
|
7068
|
+
expected: "(null | string)",
|
|
7069
|
+
value: input.refreshToken
|
|
7070
|
+
}), null === input.expiresAt || "number" === typeof input.expiresAt || _report(_exceptionable, {
|
|
7071
|
+
path: _path + ".expiresAt",
|
|
7072
|
+
expected: "(null | number)",
|
|
7073
|
+
value: input.expiresAt
|
|
7074
|
+
}), undefined === input.idToken || "string" === typeof input.idToken || _report(_exceptionable, {
|
|
7075
|
+
path: _path + ".idToken",
|
|
7076
|
+
expected: "(string | undefined)",
|
|
7077
|
+
value: input.idToken
|
|
7078
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7079
|
+
if (["accessToken", "refreshToken", "expiresAt", "idToken"].some(prop => key === prop))
|
|
7080
|
+
return true;
|
|
7081
|
+
const value = input[key];
|
|
7082
|
+
if (undefined === value)
|
|
7083
|
+
return true;
|
|
7084
|
+
return _report(_exceptionable, {
|
|
7085
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7086
|
+
expected: "undefined",
|
|
7087
|
+
value: value,
|
|
7088
|
+
description: [
|
|
7089
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7090
|
+
"",
|
|
7091
|
+
"Please remove the property next time."
|
|
7092
|
+
].join("\n")
|
|
7093
|
+
});
|
|
7094
|
+
}).every(flag => flag))].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, {
|
|
7095
|
+
path: _path + ".ping",
|
|
7096
|
+
expected: "(FileConnectionHttpAction<Record<string, unknown>, undefined> | undefined)",
|
|
7097
|
+
value: input.ping
|
|
7098
|
+
})) && _vo9(input.ping, _path + ".ping", true && _exceptionable) || _report(_exceptionable, {
|
|
7099
|
+
path: _path + ".ping",
|
|
7100
|
+
expected: "(FileConnectionHttpAction<Record<string, unknown>, undefined> | undefined)",
|
|
7101
|
+
value: input.ping
|
|
7102
|
+
}), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || _report(_exceptionable, {
|
|
7103
|
+
path: _path + ".head",
|
|
7104
|
+
expected: "(FileConnectionHttpAction<__type, FileConnectionHeadResponse | undefined> | undefined)",
|
|
7105
|
+
value: input.head
|
|
7106
|
+
})) && _vo27(input.head, _path + ".head", true && _exceptionable) || _report(_exceptionable, {
|
|
7107
|
+
path: _path + ".head",
|
|
7108
|
+
expected: "(FileConnectionHttpAction<__type, FileConnectionHeadResponse | undefined> | undefined)",
|
|
7109
|
+
value: input.head
|
|
7110
|
+
}), undefined === input.list || ("object" === typeof input.list && null !== input.list && false === Array.isArray(input.list) || _report(_exceptionable, {
|
|
7111
|
+
path: _path + ".list",
|
|
7112
|
+
expected: "(FileConnectionHttpAction<__type, Array<FileConnectionListResponseItem>> | undefined)",
|
|
7113
|
+
value: input.list
|
|
7114
|
+
})) && _vo38(input.list, _path + ".list", true && _exceptionable) || _report(_exceptionable, {
|
|
7115
|
+
path: _path + ".list",
|
|
7116
|
+
expected: "(FileConnectionHttpAction<__type, Array<FileConnectionListResponseItem>> | undefined)",
|
|
7117
|
+
value: input.list
|
|
7118
|
+
}), undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || _report(_exceptionable, {
|
|
7119
|
+
path: _path + ".get",
|
|
7120
|
+
expected: "(FileConnectionHttpAction<__type, undefined> | undefined)",
|
|
7121
|
+
value: input.get
|
|
7122
|
+
})) && _vo49(input.get, _path + ".get", true && _exceptionable) || _report(_exceptionable, {
|
|
7123
|
+
path: _path + ".get",
|
|
7124
|
+
expected: "(FileConnectionHttpAction<__type, undefined> | undefined)",
|
|
7125
|
+
value: input.get
|
|
7126
|
+
}), undefined === input.put || ("object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) || _report(_exceptionable, {
|
|
7127
|
+
path: _path + ".put",
|
|
7128
|
+
expected: "(FileConnectionHttpAction<__type, undefined>.o1 | undefined)",
|
|
7129
|
+
value: input.put
|
|
7130
|
+
})) && _vo57(input.put, _path + ".put", true && _exceptionable) || _report(_exceptionable, {
|
|
7131
|
+
path: _path + ".put",
|
|
7132
|
+
expected: "(FileConnectionHttpAction<__type, undefined>.o1 | undefined)",
|
|
7133
|
+
value: input.put
|
|
7134
|
+
}), undefined === input.del || ("object" === typeof input.del && null !== input.del && false === Array.isArray(input.del) || _report(_exceptionable, {
|
|
7135
|
+
path: _path + ".del",
|
|
7136
|
+
expected: "(FileConnectionHttpAction<__type, undefined>.o2 | undefined)",
|
|
7137
|
+
value: input.del
|
|
7138
|
+
})) && _vo65(input.del, _path + ".del", true && _exceptionable) || _report(_exceptionable, {
|
|
7139
|
+
path: _path + ".del",
|
|
7140
|
+
expected: "(FileConnectionHttpAction<__type, undefined>.o2 | undefined)",
|
|
7141
|
+
value: input.del
|
|
7142
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7143
|
+
if (["ping", "head", "list", "get", "put", "del"].some(prop => key === prop))
|
|
7144
|
+
return true;
|
|
7145
|
+
const value = input[key];
|
|
7146
|
+
if (undefined === value)
|
|
7147
|
+
return true;
|
|
7148
|
+
return _report(_exceptionable, {
|
|
7149
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7150
|
+
expected: "undefined",
|
|
7151
|
+
value: value,
|
|
7152
|
+
description: [
|
|
7153
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7154
|
+
"",
|
|
7155
|
+
"Please remove the property next time."
|
|
7156
|
+
].join("\n")
|
|
7157
|
+
});
|
|
7158
|
+
}).every(flag => flag))].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, {
|
|
7159
|
+
path: _path + ".request",
|
|
7160
|
+
expected: "(__type.o6 | undefined)",
|
|
7161
|
+
value: input.request
|
|
7162
|
+
})) && _vo10(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
7163
|
+
path: _path + ".request",
|
|
7164
|
+
expected: "(__type.o6 | undefined)",
|
|
7165
|
+
value: input.request
|
|
7166
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
7167
|
+
path: _path + ".response",
|
|
7168
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
7169
|
+
value: input.response
|
|
7170
|
+
})) && _vo21(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
7171
|
+
path: _path + ".response",
|
|
7172
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
7173
|
+
value: input.response
|
|
7174
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7175
|
+
if (["request", "response"].some(prop => key === prop))
|
|
7176
|
+
return true;
|
|
7177
|
+
const value = input[key];
|
|
7178
|
+
if (undefined === value)
|
|
7179
|
+
return true;
|
|
7180
|
+
return _report(_exceptionable, {
|
|
7181
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7182
|
+
expected: "undefined",
|
|
7183
|
+
value: value,
|
|
7184
|
+
description: [
|
|
7185
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7186
|
+
"",
|
|
7187
|
+
"Please remove the property next time."
|
|
7188
|
+
].join("\n")
|
|
7189
|
+
});
|
|
7190
|
+
}).every(flag => flag))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
7191
|
+
path: _path + ".origin",
|
|
7192
|
+
expected: "(__type.o7 | string | undefined)",
|
|
7193
|
+
value: input.origin
|
|
7194
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
7195
|
+
path: _path + ".origin",
|
|
7196
|
+
expected: "(__type.o7 | string | undefined)",
|
|
7197
|
+
value: input.origin
|
|
7198
|
+
})) && _vo11(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
7199
|
+
path: _path + ".origin",
|
|
7200
|
+
expected: "(__type.o7 | string | undefined)",
|
|
7201
|
+
value: input.origin
|
|
7202
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
7203
|
+
path: _path + ".path",
|
|
7204
|
+
expected: "(__type.o7 | string | undefined)",
|
|
7205
|
+
value: input.path
|
|
7206
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
7207
|
+
path: _path + ".path",
|
|
7208
|
+
expected: "(__type.o7 | string | undefined)",
|
|
7209
|
+
value: input.path
|
|
7210
|
+
})) && _vo11(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
7211
|
+
path: _path + ".path",
|
|
7212
|
+
expected: "(__type.o7 | string | undefined)",
|
|
7213
|
+
value: input.path
|
|
7214
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
7215
|
+
path: _path + ".method",
|
|
7216
|
+
expected: "(__type.o7 | string | undefined)",
|
|
7217
|
+
value: input.method
|
|
7218
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
7219
|
+
path: _path + ".method",
|
|
7220
|
+
expected: "(__type.o7 | string | undefined)",
|
|
7221
|
+
value: input.method
|
|
7222
|
+
})) && _vo11(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
7223
|
+
path: _path + ".method",
|
|
7224
|
+
expected: "(__type.o7 | string | undefined)",
|
|
7225
|
+
value: input.method
|
|
7226
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
7227
|
+
path: _path + ".params",
|
|
7228
|
+
expected: "(__type.o10 | __type.o9 | string | undefined)",
|
|
7229
|
+
value: input.params
|
|
7230
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
7231
|
+
path: _path + ".params",
|
|
7232
|
+
expected: "(__type.o10 | __type.o9 | string | undefined)",
|
|
7233
|
+
value: input.params
|
|
7234
|
+
})) && _vu0(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
7235
|
+
path: _path + ".params",
|
|
7236
|
+
expected: "(__type.o10 | __type.o9 | string | undefined)",
|
|
7237
|
+
value: input.params
|
|
7238
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
7239
|
+
path: _path + ".form",
|
|
7240
|
+
expected: "(__type.o11 | __type.o13 | string | undefined)",
|
|
7241
|
+
value: input.form
|
|
7242
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
7243
|
+
path: _path + ".form",
|
|
7244
|
+
expected: "(__type.o11 | __type.o13 | string | undefined)",
|
|
7245
|
+
value: input.form
|
|
7246
|
+
})) && _vu1(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
7247
|
+
path: _path + ".form",
|
|
7248
|
+
expected: "(__type.o11 | __type.o13 | string | undefined)",
|
|
7249
|
+
value: input.form
|
|
7250
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
7251
|
+
path: _path + ".headers",
|
|
7252
|
+
expected: "(__type.o14 | __type.o15 | string | undefined)",
|
|
7253
|
+
value: input.headers
|
|
7254
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
7255
|
+
path: _path + ".headers",
|
|
7256
|
+
expected: "(__type.o14 | __type.o15 | string | undefined)",
|
|
7257
|
+
value: input.headers
|
|
7258
|
+
})) && _vu2(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
7259
|
+
path: _path + ".headers",
|
|
7260
|
+
expected: "(__type.o14 | __type.o15 | string | undefined)",
|
|
7261
|
+
value: input.headers
|
|
7262
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
7263
|
+
path: _path + ".throwOnError",
|
|
7264
|
+
expected: "(__type.o16 | boolean | string | undefined)",
|
|
7265
|
+
value: input.throwOnError
|
|
7266
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
7267
|
+
path: _path + ".throwOnError",
|
|
7268
|
+
expected: "(__type.o16 | boolean | string | undefined)",
|
|
7269
|
+
value: input.throwOnError
|
|
7270
|
+
})) && _vo20(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
7271
|
+
path: _path + ".throwOnError",
|
|
7272
|
+
expected: "(__type.o16 | boolean | string | undefined)",
|
|
7273
|
+
value: input.throwOnError
|
|
7274
|
+
})), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7275
|
+
if (["origin", "path", "method", "params", "form", "headers", "throwOnError"].some(prop => key === prop))
|
|
7276
|
+
return true;
|
|
7277
|
+
const value = input[key];
|
|
7278
|
+
if (undefined === value)
|
|
7279
|
+
return true;
|
|
7280
|
+
return _report(_exceptionable, {
|
|
7281
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7282
|
+
expected: "undefined",
|
|
7283
|
+
value: value,
|
|
7284
|
+
description: [
|
|
7285
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7286
|
+
"",
|
|
7287
|
+
"Please remove the property next time."
|
|
7288
|
+
].join("\n")
|
|
7289
|
+
});
|
|
7290
|
+
}).every(flag => flag))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
7291
|
+
path: _path + ".__context",
|
|
7292
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
7293
|
+
value: input.__context
|
|
7294
|
+
})) && _vo12(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
7295
|
+
path: _path + ".__context",
|
|
7296
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
7297
|
+
value: input.__context
|
|
7298
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
7299
|
+
path: _path + ".__returnValue",
|
|
7300
|
+
expected: "(string | undefined)",
|
|
7301
|
+
value: input.__returnValue
|
|
7302
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7303
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
7304
|
+
return true;
|
|
7305
|
+
const value = input[key];
|
|
7306
|
+
if (undefined === value)
|
|
7307
|
+
return true;
|
|
7308
|
+
return _report(_exceptionable, {
|
|
7309
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7310
|
+
expected: "undefined",
|
|
7311
|
+
value: value,
|
|
7312
|
+
description: [
|
|
7313
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7314
|
+
"",
|
|
7315
|
+
"Please remove the property next time."
|
|
7316
|
+
].join("\n")
|
|
7317
|
+
});
|
|
7318
|
+
}).every(flag => flag))].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
7319
|
+
path: _path + ".connection",
|
|
7320
|
+
expected: "FileConnectionHttpRecord",
|
|
7321
|
+
value: input.connection
|
|
7322
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
7323
|
+
path: _path + ".connection",
|
|
7324
|
+
expected: "FileConnectionHttpRecord",
|
|
7325
|
+
value: input.connection
|
|
7326
|
+
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
7327
|
+
if (["connection"].some(prop => key === prop))
|
|
7328
|
+
return true;
|
|
7329
|
+
const value = input[key];
|
|
7330
|
+
if (undefined === value)
|
|
7331
|
+
return true;
|
|
7332
|
+
return true;
|
|
7333
|
+
}).every(flag => flag)].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
7334
|
+
const value = input[key];
|
|
7335
|
+
if (undefined === value)
|
|
7336
|
+
return true;
|
|
7337
|
+
return undefined === value || "string" === typeof value || _report(_exceptionable, {
|
|
7338
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7339
|
+
expected: "(string | undefined)",
|
|
7340
|
+
value: value
|
|
7341
|
+
});
|
|
7342
|
+
}).every(flag => flag)].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
7343
|
+
path: _path + ".__context",
|
|
7344
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
7345
|
+
value: input.__context
|
|
7346
|
+
})) && _vo12(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
7347
|
+
path: _path + ".__context",
|
|
7348
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
7349
|
+
value: input.__context
|
|
7350
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
7351
|
+
path: _path + ".__returnValue",
|
|
7352
|
+
expected: "(__type.o9 | undefined)",
|
|
7353
|
+
value: input.__returnValue
|
|
7354
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
7355
|
+
path: _path + ".__returnValue",
|
|
7356
|
+
expected: "(__type.o9 | undefined)",
|
|
7357
|
+
value: input.__returnValue
|
|
7358
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7359
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
7360
|
+
return true;
|
|
7361
|
+
const value = input[key];
|
|
7362
|
+
if (undefined === value)
|
|
7363
|
+
return true;
|
|
7364
|
+
return _report(_exceptionable, {
|
|
7365
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7366
|
+
expected: "undefined",
|
|
7367
|
+
value: value,
|
|
7368
|
+
description: [
|
|
7369
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7370
|
+
"",
|
|
7371
|
+
"Please remove the property next time."
|
|
7372
|
+
].join("\n")
|
|
7373
|
+
});
|
|
7374
|
+
}).every(flag => flag))].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
7375
|
+
const value = input[key];
|
|
7376
|
+
if (undefined === value)
|
|
7377
|
+
return true;
|
|
7378
|
+
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
7379
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7380
|
+
expected: "__type.o12",
|
|
7381
|
+
value: value
|
|
7382
|
+
})) && _vo16(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
7383
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7384
|
+
expected: "__type.o12",
|
|
7385
|
+
value: value
|
|
7386
|
+
});
|
|
7387
|
+
}).every(flag => flag)].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [true, undefined === input.filename || "string" === typeof input.filename || _report(_exceptionable, {
|
|
7388
|
+
path: _path + ".filename",
|
|
7389
|
+
expected: "(string | undefined)",
|
|
7390
|
+
value: input.filename
|
|
7391
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7392
|
+
if (["value", "filename"].some(prop => key === prop))
|
|
7393
|
+
return true;
|
|
7394
|
+
const value = input[key];
|
|
7395
|
+
if (undefined === value)
|
|
7396
|
+
return true;
|
|
7397
|
+
return _report(_exceptionable, {
|
|
7398
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7399
|
+
expected: "undefined",
|
|
7400
|
+
value: value,
|
|
7401
|
+
description: [
|
|
7402
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7403
|
+
"",
|
|
7404
|
+
"Please remove the property next time."
|
|
7405
|
+
].join("\n")
|
|
7406
|
+
});
|
|
7407
|
+
}).every(flag => flag))].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
7408
|
+
path: _path + ".__context",
|
|
7409
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
7410
|
+
value: input.__context
|
|
7411
|
+
})) && _vo12(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
7412
|
+
path: _path + ".__context",
|
|
7413
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
7414
|
+
value: input.__context
|
|
7415
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
7416
|
+
path: _path + ".__returnValue",
|
|
7417
|
+
expected: "(__type.o11 | undefined)",
|
|
7418
|
+
value: input.__returnValue
|
|
7419
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
7420
|
+
path: _path + ".__returnValue",
|
|
7421
|
+
expected: "(__type.o11 | undefined)",
|
|
7422
|
+
value: input.__returnValue
|
|
7423
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7424
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
7425
|
+
return true;
|
|
7426
|
+
const value = input[key];
|
|
7427
|
+
if (undefined === value)
|
|
7428
|
+
return true;
|
|
7429
|
+
return _report(_exceptionable, {
|
|
7430
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7431
|
+
expected: "undefined",
|
|
7432
|
+
value: value,
|
|
7433
|
+
description: [
|
|
7434
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7435
|
+
"",
|
|
7436
|
+
"Please remove the property next time."
|
|
7437
|
+
].join("\n")
|
|
7438
|
+
});
|
|
7439
|
+
}).every(flag => flag))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
7440
|
+
const value = input[key];
|
|
7441
|
+
if (undefined === value)
|
|
7442
|
+
return true;
|
|
7443
|
+
return undefined === value || "string" === typeof value || _report(_exceptionable, {
|
|
7444
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7445
|
+
expected: "(string | undefined)",
|
|
7446
|
+
value: value
|
|
7447
|
+
});
|
|
7448
|
+
}).every(flag => flag)].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
7449
|
+
path: _path + ".__context",
|
|
7450
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
7451
|
+
value: input.__context
|
|
7452
|
+
})) && _vo12(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
7453
|
+
path: _path + ".__context",
|
|
7454
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
7455
|
+
value: input.__context
|
|
7456
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
7457
|
+
path: _path + ".__returnValue",
|
|
7458
|
+
expected: "(__type.o14 | undefined)",
|
|
7459
|
+
value: input.__returnValue
|
|
7460
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
7461
|
+
path: _path + ".__returnValue",
|
|
7462
|
+
expected: "(__type.o14 | undefined)",
|
|
7463
|
+
value: input.__returnValue
|
|
7464
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7465
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
7466
|
+
return true;
|
|
7467
|
+
const value = input[key];
|
|
7468
|
+
if (undefined === value)
|
|
7469
|
+
return true;
|
|
7470
|
+
return _report(_exceptionable, {
|
|
7471
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7472
|
+
expected: "undefined",
|
|
7473
|
+
value: value,
|
|
7474
|
+
description: [
|
|
7475
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7476
|
+
"",
|
|
7477
|
+
"Please remove the property next time."
|
|
7478
|
+
].join("\n")
|
|
7479
|
+
});
|
|
7480
|
+
}).every(flag => flag))].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
7481
|
+
path: _path + ".__context",
|
|
7482
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
7483
|
+
value: input.__context
|
|
7484
|
+
})) && _vo12(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
7485
|
+
path: _path + ".__context",
|
|
7486
|
+
expected: "Record<string, unknown> & { connection: FileConnectionHttpRecord; }",
|
|
7487
|
+
value: input.__context
|
|
7488
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
7489
|
+
path: _path + ".__returnValue",
|
|
7490
|
+
expected: "(boolean | undefined)",
|
|
7491
|
+
value: input.__returnValue
|
|
7492
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7493
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
7494
|
+
return true;
|
|
7495
|
+
const value = input[key];
|
|
7496
|
+
if (undefined === value)
|
|
7497
|
+
return true;
|
|
7498
|
+
return _report(_exceptionable, {
|
|
7499
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7500
|
+
expected: "undefined",
|
|
7501
|
+
value: value,
|
|
7502
|
+
description: [
|
|
7503
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7504
|
+
"",
|
|
7505
|
+
"Please remove the property next time."
|
|
7506
|
+
].join("\n")
|
|
7507
|
+
});
|
|
7508
|
+
}).every(flag => flag))].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat || _report(_exceptionable, {
|
|
7509
|
+
path: _path + ".responseFormat",
|
|
7510
|
+
expected: "(\"json\" | \"stream\" | \"text\" | undefined)",
|
|
7511
|
+
value: input.responseFormat
|
|
7512
|
+
}), null === input.error || undefined === input.error || "string" === typeof input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
7513
|
+
path: _path + ".error",
|
|
7514
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
7515
|
+
value: input.error
|
|
7516
|
+
})) && _vo22(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
7517
|
+
path: _path + ".error",
|
|
7518
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
7519
|
+
value: input.error
|
|
7520
|
+
}), (null !== input.transform || _report(_exceptionable, {
|
|
7521
|
+
path: _path + ".transform",
|
|
7522
|
+
expected: "(__type.o19 | string | undefined)",
|
|
7523
|
+
value: input.transform
|
|
7524
|
+
})) && (undefined === input.transform || "string" === typeof input.transform || ("object" === typeof input.transform && null !== input.transform || _report(_exceptionable, {
|
|
7525
|
+
path: _path + ".transform",
|
|
7526
|
+
expected: "(__type.o19 | string | undefined)",
|
|
7527
|
+
value: input.transform
|
|
7528
|
+
})) && _vo25(input.transform, _path + ".transform", true && _exceptionable) || _report(_exceptionable, {
|
|
7529
|
+
path: _path + ".transform",
|
|
7530
|
+
expected: "(__type.o19 | string | undefined)",
|
|
7531
|
+
value: input.transform
|
|
7532
|
+
})), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7533
|
+
if (["responseFormat", "error", "transform"].some(prop => key === prop))
|
|
7534
|
+
return true;
|
|
7535
|
+
const value = input[key];
|
|
7536
|
+
if (undefined === value)
|
|
7537
|
+
return true;
|
|
7538
|
+
return _report(_exceptionable, {
|
|
7539
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7540
|
+
expected: "undefined",
|
|
7541
|
+
value: value,
|
|
7542
|
+
description: [
|
|
7543
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7544
|
+
"",
|
|
7545
|
+
"Please remove the property next time."
|
|
7546
|
+
].join("\n")
|
|
7547
|
+
});
|
|
7548
|
+
}).every(flag => flag))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
7549
|
+
path: _path + ".__context",
|
|
7550
|
+
expected: "__type.o18",
|
|
7551
|
+
value: input.__context
|
|
7552
|
+
})) && _vo23(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
7553
|
+
path: _path + ".__context",
|
|
7554
|
+
expected: "__type.o18",
|
|
7555
|
+
value: input.__context
|
|
7556
|
+
}), null === input.__returnValue || undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
7557
|
+
path: _path + ".__returnValue",
|
|
7558
|
+
expected: "(null | string | undefined)",
|
|
7559
|
+
value: input.__returnValue
|
|
7560
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7561
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
7562
|
+
return true;
|
|
7563
|
+
const value = input[key];
|
|
7564
|
+
if (undefined === value)
|
|
7565
|
+
return true;
|
|
7566
|
+
return _report(_exceptionable, {
|
|
7567
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7568
|
+
expected: "undefined",
|
|
7569
|
+
value: value,
|
|
7570
|
+
description: [
|
|
7571
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7572
|
+
"",
|
|
7573
|
+
"Please remove the property next time."
|
|
7574
|
+
].join("\n")
|
|
7575
|
+
});
|
|
7576
|
+
}).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
7577
|
+
path: _path + ".connection",
|
|
7578
|
+
expected: "FileConnectionHttpRecord",
|
|
7579
|
+
value: input.connection
|
|
7580
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
7581
|
+
path: _path + ".connection",
|
|
7582
|
+
expected: "FileConnectionHttpRecord",
|
|
7583
|
+
value: input.connection
|
|
7584
|
+
}), ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
7585
|
+
path: _path + ".headers",
|
|
7586
|
+
expected: "Record<string, string | string[] | undefined>",
|
|
7587
|
+
value: input.headers
|
|
7588
|
+
})) && _vo24(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
7589
|
+
path: _path + ".headers",
|
|
7590
|
+
expected: "Record<string, string | string[] | undefined>",
|
|
7591
|
+
value: input.headers
|
|
7592
|
+
}), "number" === typeof input.statusCode || _report(_exceptionable, {
|
|
7593
|
+
path: _path + ".statusCode",
|
|
7594
|
+
expected: "number",
|
|
7595
|
+
value: input.statusCode
|
|
7596
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7597
|
+
if (["connection", "headers", "statusCode"].some(prop => key === prop))
|
|
7598
|
+
return true;
|
|
7599
|
+
const value = input[key];
|
|
7600
|
+
if (undefined === value)
|
|
7601
|
+
return true;
|
|
7602
|
+
return _report(_exceptionable, {
|
|
7603
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7604
|
+
expected: "undefined",
|
|
7605
|
+
value: value,
|
|
7606
|
+
description: [
|
|
7607
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7608
|
+
"",
|
|
7609
|
+
"Please remove the property next time."
|
|
7610
|
+
].join("\n")
|
|
7611
|
+
});
|
|
7612
|
+
}).every(flag => flag))].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
7613
|
+
const value = input[key];
|
|
7614
|
+
if (undefined === value)
|
|
7615
|
+
return true;
|
|
7616
|
+
return (null !== value || _report(_exceptionable, {
|
|
7617
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7618
|
+
expected: "(Array<string> | string | undefined)",
|
|
7619
|
+
value: value
|
|
7620
|
+
})) && (undefined === value || "string" === typeof value || (Array.isArray(value) || _report(_exceptionable, {
|
|
7621
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7622
|
+
expected: "(Array<string> | string | undefined)",
|
|
7623
|
+
value: value
|
|
7624
|
+
})) && value.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
|
|
7625
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index5 + "]",
|
|
7626
|
+
expected: "string",
|
|
7627
|
+
value: elem
|
|
7628
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
7629
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7630
|
+
expected: "(Array<string> | string | undefined)",
|
|
7631
|
+
value: value
|
|
7632
|
+
}));
|
|
7633
|
+
}).every(flag => flag)].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
7634
|
+
path: _path + ".__context",
|
|
7635
|
+
expected: "__type.o20",
|
|
7636
|
+
value: input.__context
|
|
7637
|
+
})) && _vo26(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
7638
|
+
path: _path + ".__context",
|
|
7639
|
+
expected: "__type.o20",
|
|
7640
|
+
value: input.__context
|
|
7641
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
7642
|
+
path: _path + ".__returnValue",
|
|
7643
|
+
expected: "undefined",
|
|
7644
|
+
value: input.__returnValue
|
|
7645
|
+
})) && (undefined === input.__returnValue || _report(_exceptionable, {
|
|
7646
|
+
path: _path + ".__returnValue",
|
|
7647
|
+
expected: "undefined",
|
|
7648
|
+
value: input.__returnValue
|
|
7649
|
+
})), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7650
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
7651
|
+
return true;
|
|
7652
|
+
const value = input[key];
|
|
7653
|
+
if (undefined === value)
|
|
7654
|
+
return true;
|
|
7655
|
+
return _report(_exceptionable, {
|
|
7656
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7657
|
+
expected: "undefined",
|
|
7658
|
+
value: value,
|
|
7659
|
+
description: [
|
|
7660
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7661
|
+
"",
|
|
7662
|
+
"Please remove the property next time."
|
|
7663
|
+
].join("\n")
|
|
7664
|
+
});
|
|
7665
|
+
}).every(flag => flag))].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
7666
|
+
path: _path + ".connection",
|
|
7667
|
+
expected: "FileConnectionHttpRecord",
|
|
7668
|
+
value: input.connection
|
|
7669
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
7670
|
+
path: _path + ".connection",
|
|
7671
|
+
expected: "FileConnectionHttpRecord",
|
|
7672
|
+
value: input.connection
|
|
7673
|
+
}), true, undefined === input.text || "string" === typeof input.text || _report(_exceptionable, {
|
|
7674
|
+
path: _path + ".text",
|
|
7675
|
+
expected: "(string | undefined)",
|
|
7676
|
+
value: input.text
|
|
7677
|
+
}), ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
7678
|
+
path: _path + ".headers",
|
|
7679
|
+
expected: "Record<string, string | string[] | undefined>",
|
|
7680
|
+
value: input.headers
|
|
7681
|
+
})) && _vo24(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
7682
|
+
path: _path + ".headers",
|
|
7683
|
+
expected: "Record<string, string | string[] | undefined>",
|
|
7684
|
+
value: input.headers
|
|
7685
|
+
}), "number" === typeof input.statusCode || _report(_exceptionable, {
|
|
7686
|
+
path: _path + ".statusCode",
|
|
7687
|
+
expected: "number",
|
|
7688
|
+
value: input.statusCode
|
|
7689
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7690
|
+
if (["connection", "json", "text", "headers", "statusCode"].some(prop => key === prop))
|
|
7691
|
+
return true;
|
|
7692
|
+
const value = input[key];
|
|
7693
|
+
if (undefined === value)
|
|
7694
|
+
return true;
|
|
7695
|
+
return _report(_exceptionable, {
|
|
7696
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7697
|
+
expected: "undefined",
|
|
7698
|
+
value: value,
|
|
7699
|
+
description: [
|
|
7700
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7701
|
+
"",
|
|
7702
|
+
"Please remove the property next time."
|
|
7703
|
+
].join("\n")
|
|
7704
|
+
});
|
|
7705
|
+
}).every(flag => flag))].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, {
|
|
7706
|
+
path: _path + ".request",
|
|
7707
|
+
expected: "(__type.o21 | undefined)",
|
|
7708
|
+
value: input.request
|
|
7709
|
+
})) && _vo28(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
7710
|
+
path: _path + ".request",
|
|
7711
|
+
expected: "(__type.o21 | undefined)",
|
|
7712
|
+
value: input.request
|
|
7713
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
7714
|
+
path: _path + ".response",
|
|
7715
|
+
expected: "(HttpConnectionResponseHandler<FileConnectionHeadResponse | undefined> | undefined)",
|
|
7716
|
+
value: input.response
|
|
7717
|
+
})) && _vo35(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
7718
|
+
path: _path + ".response",
|
|
7719
|
+
expected: "(HttpConnectionResponseHandler<FileConnectionHeadResponse | undefined> | undefined)",
|
|
7720
|
+
value: input.response
|
|
7721
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7722
|
+
if (["request", "response"].some(prop => key === prop))
|
|
7723
|
+
return true;
|
|
7724
|
+
const value = input[key];
|
|
7725
|
+
if (undefined === value)
|
|
7726
|
+
return true;
|
|
7727
|
+
return _report(_exceptionable, {
|
|
7728
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7729
|
+
expected: "undefined",
|
|
7730
|
+
value: value,
|
|
7731
|
+
description: [
|
|
7732
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7733
|
+
"",
|
|
7734
|
+
"Please remove the property next time."
|
|
7735
|
+
].join("\n")
|
|
7736
|
+
});
|
|
7737
|
+
}).every(flag => flag))].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
7738
|
+
path: _path + ".origin",
|
|
7739
|
+
expected: "(__type.o22 | string | undefined)",
|
|
7740
|
+
value: input.origin
|
|
7741
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
7742
|
+
path: _path + ".origin",
|
|
7743
|
+
expected: "(__type.o22 | string | undefined)",
|
|
7744
|
+
value: input.origin
|
|
7745
|
+
})) && _vo29(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
7746
|
+
path: _path + ".origin",
|
|
7747
|
+
expected: "(__type.o22 | string | undefined)",
|
|
7748
|
+
value: input.origin
|
|
7749
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
7750
|
+
path: _path + ".path",
|
|
7751
|
+
expected: "(__type.o22 | string | undefined)",
|
|
7752
|
+
value: input.path
|
|
7753
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
7754
|
+
path: _path + ".path",
|
|
7755
|
+
expected: "(__type.o22 | string | undefined)",
|
|
7756
|
+
value: input.path
|
|
7757
|
+
})) && _vo29(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
7758
|
+
path: _path + ".path",
|
|
7759
|
+
expected: "(__type.o22 | string | undefined)",
|
|
7760
|
+
value: input.path
|
|
7761
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
7762
|
+
path: _path + ".method",
|
|
7763
|
+
expected: "(__type.o22 | string | undefined)",
|
|
7764
|
+
value: input.method
|
|
7765
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
7766
|
+
path: _path + ".method",
|
|
7767
|
+
expected: "(__type.o22 | string | undefined)",
|
|
7768
|
+
value: input.method
|
|
7769
|
+
})) && _vo29(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
7770
|
+
path: _path + ".method",
|
|
7771
|
+
expected: "(__type.o22 | string | undefined)",
|
|
7772
|
+
value: input.method
|
|
7773
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
7774
|
+
path: _path + ".params",
|
|
7775
|
+
expected: "(__type.o24 | __type.o9 | string | undefined)",
|
|
7776
|
+
value: input.params
|
|
7777
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
7778
|
+
path: _path + ".params",
|
|
7779
|
+
expected: "(__type.o24 | __type.o9 | string | undefined)",
|
|
7780
|
+
value: input.params
|
|
7781
|
+
})) && _vu3(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
7782
|
+
path: _path + ".params",
|
|
7783
|
+
expected: "(__type.o24 | __type.o9 | string | undefined)",
|
|
7784
|
+
value: input.params
|
|
7785
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
7786
|
+
path: _path + ".form",
|
|
7787
|
+
expected: "(__type.o11 | __type.o25 | string | undefined)",
|
|
7788
|
+
value: input.form
|
|
7789
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
7790
|
+
path: _path + ".form",
|
|
7791
|
+
expected: "(__type.o11 | __type.o25 | string | undefined)",
|
|
7792
|
+
value: input.form
|
|
7793
|
+
})) && _vu4(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
7794
|
+
path: _path + ".form",
|
|
7795
|
+
expected: "(__type.o11 | __type.o25 | string | undefined)",
|
|
7796
|
+
value: input.form
|
|
7797
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
7798
|
+
path: _path + ".headers",
|
|
7799
|
+
expected: "(__type.o14 | __type.o26 | string | undefined)",
|
|
7800
|
+
value: input.headers
|
|
7801
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
7802
|
+
path: _path + ".headers",
|
|
7803
|
+
expected: "(__type.o14 | __type.o26 | string | undefined)",
|
|
7804
|
+
value: input.headers
|
|
7805
|
+
})) && _vu5(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
7806
|
+
path: _path + ".headers",
|
|
7807
|
+
expected: "(__type.o14 | __type.o26 | string | undefined)",
|
|
7808
|
+
value: input.headers
|
|
7809
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
7810
|
+
path: _path + ".throwOnError",
|
|
7811
|
+
expected: "(__type.o27 | boolean | string | undefined)",
|
|
7812
|
+
value: input.throwOnError
|
|
7813
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
7814
|
+
path: _path + ".throwOnError",
|
|
7815
|
+
expected: "(__type.o27 | boolean | string | undefined)",
|
|
7816
|
+
value: input.throwOnError
|
|
7817
|
+
})) && _vo34(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
7818
|
+
path: _path + ".throwOnError",
|
|
7819
|
+
expected: "(__type.o27 | boolean | string | undefined)",
|
|
7820
|
+
value: input.throwOnError
|
|
7821
|
+
})), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7822
|
+
if (["origin", "path", "method", "params", "form", "headers", "throwOnError"].some(prop => key === prop))
|
|
7823
|
+
return true;
|
|
7824
|
+
const value = input[key];
|
|
7825
|
+
if (undefined === value)
|
|
7826
|
+
return true;
|
|
7827
|
+
return _report(_exceptionable, {
|
|
7828
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7829
|
+
expected: "undefined",
|
|
7830
|
+
value: value,
|
|
7831
|
+
description: [
|
|
7832
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7833
|
+
"",
|
|
7834
|
+
"Please remove the property next time."
|
|
7835
|
+
].join("\n")
|
|
7836
|
+
});
|
|
7837
|
+
}).every(flag => flag))].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
7838
|
+
path: _path + ".__context",
|
|
7839
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
7840
|
+
value: input.__context
|
|
7841
|
+
})) && _vo30(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
7842
|
+
path: _path + ".__context",
|
|
7843
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
7844
|
+
value: input.__context
|
|
7845
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
7846
|
+
path: _path + ".__returnValue",
|
|
7847
|
+
expected: "(string | undefined)",
|
|
7848
|
+
value: input.__returnValue
|
|
7849
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7850
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
7851
|
+
return true;
|
|
7852
|
+
const value = input[key];
|
|
7853
|
+
if (undefined === value)
|
|
7854
|
+
return true;
|
|
7855
|
+
return _report(_exceptionable, {
|
|
7856
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7857
|
+
expected: "undefined",
|
|
7858
|
+
value: value,
|
|
7859
|
+
description: [
|
|
7860
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7861
|
+
"",
|
|
7862
|
+
"Please remove the property next time."
|
|
7863
|
+
].join("\n")
|
|
7864
|
+
});
|
|
7865
|
+
}).every(flag => flag))].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => ["string" === typeof input.filepath || _report(_exceptionable, {
|
|
7866
|
+
path: _path + ".filepath",
|
|
7867
|
+
expected: "string",
|
|
7868
|
+
value: input.filepath
|
|
7869
|
+
}), ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
7870
|
+
path: _path + ".connection",
|
|
7871
|
+
expected: "FileConnectionHttpRecord",
|
|
7872
|
+
value: input.connection
|
|
7873
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
7874
|
+
path: _path + ".connection",
|
|
7875
|
+
expected: "FileConnectionHttpRecord",
|
|
7876
|
+
value: input.connection
|
|
7877
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7878
|
+
if (["filepath", "connection"].some(prop => key === prop))
|
|
7879
|
+
return true;
|
|
7880
|
+
const value = input[key];
|
|
7881
|
+
if (undefined === value)
|
|
7882
|
+
return true;
|
|
7883
|
+
return _report(_exceptionable, {
|
|
7884
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7885
|
+
expected: "undefined",
|
|
7886
|
+
value: value,
|
|
7887
|
+
description: [
|
|
7888
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7889
|
+
"",
|
|
7890
|
+
"Please remove the property next time."
|
|
7891
|
+
].join("\n")
|
|
7892
|
+
});
|
|
7893
|
+
}).every(flag => flag))].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
7894
|
+
path: _path + ".__context",
|
|
7895
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
7896
|
+
value: input.__context
|
|
7897
|
+
})) && _vo30(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
7898
|
+
path: _path + ".__context",
|
|
7899
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
7900
|
+
value: input.__context
|
|
7901
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
7902
|
+
path: _path + ".__returnValue",
|
|
7903
|
+
expected: "(__type.o9 | undefined)",
|
|
7904
|
+
value: input.__returnValue
|
|
7905
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
7906
|
+
path: _path + ".__returnValue",
|
|
7907
|
+
expected: "(__type.o9 | undefined)",
|
|
7908
|
+
value: input.__returnValue
|
|
7909
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7910
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
7911
|
+
return true;
|
|
7912
|
+
const value = input[key];
|
|
7913
|
+
if (undefined === value)
|
|
7914
|
+
return true;
|
|
7915
|
+
return _report(_exceptionable, {
|
|
7916
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7917
|
+
expected: "undefined",
|
|
7918
|
+
value: value,
|
|
7919
|
+
description: [
|
|
7920
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7921
|
+
"",
|
|
7922
|
+
"Please remove the property next time."
|
|
7923
|
+
].join("\n")
|
|
7924
|
+
});
|
|
7925
|
+
}).every(flag => flag))].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
7926
|
+
path: _path + ".__context",
|
|
7927
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
7928
|
+
value: input.__context
|
|
7929
|
+
})) && _vo30(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
7930
|
+
path: _path + ".__context",
|
|
7931
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
7932
|
+
value: input.__context
|
|
7933
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
7934
|
+
path: _path + ".__returnValue",
|
|
7935
|
+
expected: "(__type.o11 | undefined)",
|
|
7936
|
+
value: input.__returnValue
|
|
7937
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
7938
|
+
path: _path + ".__returnValue",
|
|
7939
|
+
expected: "(__type.o11 | undefined)",
|
|
7940
|
+
value: input.__returnValue
|
|
7941
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7942
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
7943
|
+
return true;
|
|
7944
|
+
const value = input[key];
|
|
7945
|
+
if (undefined === value)
|
|
7946
|
+
return true;
|
|
7947
|
+
return _report(_exceptionable, {
|
|
7948
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7949
|
+
expected: "undefined",
|
|
7950
|
+
value: value,
|
|
7951
|
+
description: [
|
|
7952
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7953
|
+
"",
|
|
7954
|
+
"Please remove the property next time."
|
|
7955
|
+
].join("\n")
|
|
7956
|
+
});
|
|
7957
|
+
}).every(flag => flag))].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
7958
|
+
path: _path + ".__context",
|
|
7959
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
7960
|
+
value: input.__context
|
|
7961
|
+
})) && _vo30(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
7962
|
+
path: _path + ".__context",
|
|
7963
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
7964
|
+
value: input.__context
|
|
7965
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
7966
|
+
path: _path + ".__returnValue",
|
|
7967
|
+
expected: "(__type.o14 | undefined)",
|
|
7968
|
+
value: input.__returnValue
|
|
7969
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
7970
|
+
path: _path + ".__returnValue",
|
|
7971
|
+
expected: "(__type.o14 | undefined)",
|
|
7972
|
+
value: input.__returnValue
|
|
7973
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
7974
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
7975
|
+
return true;
|
|
7976
|
+
const value = input[key];
|
|
7977
|
+
if (undefined === value)
|
|
7978
|
+
return true;
|
|
7979
|
+
return _report(_exceptionable, {
|
|
7980
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7981
|
+
expected: "undefined",
|
|
7982
|
+
value: value,
|
|
7983
|
+
description: [
|
|
7984
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
7985
|
+
"",
|
|
7986
|
+
"Please remove the property next time."
|
|
7987
|
+
].join("\n")
|
|
7988
|
+
});
|
|
7989
|
+
}).every(flag => flag))].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
7990
|
+
path: _path + ".__context",
|
|
7991
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
7992
|
+
value: input.__context
|
|
7993
|
+
})) && _vo30(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
7994
|
+
path: _path + ".__context",
|
|
7995
|
+
expected: "{ filepath: string; } & { connection: FileConnectionHttpRecord; }",
|
|
7996
|
+
value: input.__context
|
|
7997
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
7998
|
+
path: _path + ".__returnValue",
|
|
7999
|
+
expected: "(boolean | undefined)",
|
|
8000
|
+
value: input.__returnValue
|
|
8001
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8002
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
8003
|
+
return true;
|
|
8004
|
+
const value = input[key];
|
|
8005
|
+
if (undefined === value)
|
|
8006
|
+
return true;
|
|
8007
|
+
return _report(_exceptionable, {
|
|
8008
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8009
|
+
expected: "undefined",
|
|
8010
|
+
value: value,
|
|
8011
|
+
description: [
|
|
8012
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8013
|
+
"",
|
|
8014
|
+
"Please remove the property next time."
|
|
8015
|
+
].join("\n")
|
|
8016
|
+
});
|
|
8017
|
+
}).every(flag => flag))].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat || _report(_exceptionable, {
|
|
8018
|
+
path: _path + ".responseFormat",
|
|
8019
|
+
expected: "(\"json\" | \"stream\" | \"text\" | undefined)",
|
|
8020
|
+
value: input.responseFormat
|
|
8021
|
+
}), null === input.error || undefined === input.error || "string" === typeof input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
8022
|
+
path: _path + ".error",
|
|
8023
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
8024
|
+
value: input.error
|
|
8025
|
+
})) && _vo22(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
8026
|
+
path: _path + ".error",
|
|
8027
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
8028
|
+
value: input.error
|
|
8029
|
+
}), (null !== input.transform || _report(_exceptionable, {
|
|
8030
|
+
path: _path + ".transform",
|
|
8031
|
+
expected: "(FileConnectionHeadResponse | __type.o28 | string | undefined)",
|
|
8032
|
+
value: input.transform
|
|
8033
|
+
})) && (undefined === input.transform || "string" === typeof input.transform || ("object" === typeof input.transform && null !== input.transform && false === Array.isArray(input.transform) || _report(_exceptionable, {
|
|
8034
|
+
path: _path + ".transform",
|
|
8035
|
+
expected: "(FileConnectionHeadResponse | __type.o28 | string | undefined)",
|
|
8036
|
+
value: input.transform
|
|
8037
|
+
})) && _vu6(input.transform, _path + ".transform", true && _exceptionable) || _report(_exceptionable, {
|
|
8038
|
+
path: _path + ".transform",
|
|
8039
|
+
expected: "(FileConnectionHeadResponse | __type.o28 | string | undefined)",
|
|
8040
|
+
value: input.transform
|
|
8041
|
+
})), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8042
|
+
if (["responseFormat", "error", "transform"].some(prop => key === prop))
|
|
8043
|
+
return true;
|
|
8044
|
+
const value = input[key];
|
|
8045
|
+
if (undefined === value)
|
|
8046
|
+
return true;
|
|
8047
|
+
return _report(_exceptionable, {
|
|
8048
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8049
|
+
expected: "undefined",
|
|
8050
|
+
value: value,
|
|
8051
|
+
description: [
|
|
8052
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8053
|
+
"",
|
|
8054
|
+
"Please remove the property next time."
|
|
8055
|
+
].join("\n")
|
|
8056
|
+
});
|
|
8057
|
+
}).every(flag => flag))].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [undefined === input.size || "number" === typeof input.size || _report(_exceptionable, {
|
|
8058
|
+
path: _path + ".size",
|
|
8059
|
+
expected: "(number | undefined)",
|
|
8060
|
+
value: input.size
|
|
8061
|
+
}), undefined === input.hash || "string" === typeof input.hash || _report(_exceptionable, {
|
|
8062
|
+
path: _path + ".hash",
|
|
8063
|
+
expected: "(string | undefined)",
|
|
8064
|
+
value: input.hash
|
|
8065
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8066
|
+
if (["size", "hash"].some(prop => key === prop))
|
|
8067
|
+
return true;
|
|
8068
|
+
const value = input[key];
|
|
8069
|
+
if (undefined === value)
|
|
8070
|
+
return true;
|
|
8071
|
+
return _report(_exceptionable, {
|
|
8072
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8073
|
+
expected: "undefined",
|
|
8074
|
+
value: value,
|
|
8075
|
+
description: [
|
|
8076
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8077
|
+
"",
|
|
8078
|
+
"Please remove the property next time."
|
|
8079
|
+
].join("\n")
|
|
8080
|
+
});
|
|
8081
|
+
}).every(flag => flag))].every(flag => flag); const _vo37 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
8082
|
+
path: _path + ".__context",
|
|
8083
|
+
expected: "__type.o20",
|
|
8084
|
+
value: input.__context
|
|
8085
|
+
})) && _vo26(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
8086
|
+
path: _path + ".__context",
|
|
8087
|
+
expected: "__type.o20",
|
|
8088
|
+
value: input.__context
|
|
8089
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
8090
|
+
path: _path + ".__returnValue",
|
|
8091
|
+
expected: "(FileConnectionHeadResponse | undefined)",
|
|
8092
|
+
value: input.__returnValue
|
|
8093
|
+
})) && _vo36(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
8094
|
+
path: _path + ".__returnValue",
|
|
8095
|
+
expected: "(FileConnectionHeadResponse | undefined)",
|
|
8096
|
+
value: input.__returnValue
|
|
8097
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8098
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
8099
|
+
return true;
|
|
8100
|
+
const value = input[key];
|
|
8101
|
+
if (undefined === value)
|
|
8102
|
+
return true;
|
|
8103
|
+
return _report(_exceptionable, {
|
|
8104
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8105
|
+
expected: "undefined",
|
|
8106
|
+
value: value,
|
|
8107
|
+
description: [
|
|
8108
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8109
|
+
"",
|
|
8110
|
+
"Please remove the property next time."
|
|
8111
|
+
].join("\n")
|
|
8112
|
+
});
|
|
8113
|
+
}).every(flag => flag))].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, {
|
|
8114
|
+
path: _path + ".request",
|
|
8115
|
+
expected: "(__type.o29 | undefined)",
|
|
8116
|
+
value: input.request
|
|
8117
|
+
})) && _vo39(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
8118
|
+
path: _path + ".request",
|
|
8119
|
+
expected: "(__type.o29 | undefined)",
|
|
8120
|
+
value: input.request
|
|
8121
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
8122
|
+
path: _path + ".response",
|
|
8123
|
+
expected: "(HttpConnectionResponseHandler<Array<FileConnectionListResponseItem>> | undefined)",
|
|
8124
|
+
value: input.response
|
|
8125
|
+
})) && _vo46(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
8126
|
+
path: _path + ".response",
|
|
8127
|
+
expected: "(HttpConnectionResponseHandler<Array<FileConnectionListResponseItem>> | undefined)",
|
|
8128
|
+
value: input.response
|
|
8129
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8130
|
+
if (["request", "response"].some(prop => key === prop))
|
|
8131
|
+
return true;
|
|
8132
|
+
const value = input[key];
|
|
8133
|
+
if (undefined === value)
|
|
8134
|
+
return true;
|
|
8135
|
+
return _report(_exceptionable, {
|
|
8136
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8137
|
+
expected: "undefined",
|
|
8138
|
+
value: value,
|
|
8139
|
+
description: [
|
|
8140
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8141
|
+
"",
|
|
8142
|
+
"Please remove the property next time."
|
|
8143
|
+
].join("\n")
|
|
8144
|
+
});
|
|
8145
|
+
}).every(flag => flag))].every(flag => flag); const _vo39 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
8146
|
+
path: _path + ".origin",
|
|
8147
|
+
expected: "(__type.o30 | string | undefined)",
|
|
8148
|
+
value: input.origin
|
|
8149
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
8150
|
+
path: _path + ".origin",
|
|
8151
|
+
expected: "(__type.o30 | string | undefined)",
|
|
8152
|
+
value: input.origin
|
|
8153
|
+
})) && _vo40(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
8154
|
+
path: _path + ".origin",
|
|
8155
|
+
expected: "(__type.o30 | string | undefined)",
|
|
8156
|
+
value: input.origin
|
|
8157
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
8158
|
+
path: _path + ".path",
|
|
8159
|
+
expected: "(__type.o30 | string | undefined)",
|
|
8160
|
+
value: input.path
|
|
8161
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
8162
|
+
path: _path + ".path",
|
|
8163
|
+
expected: "(__type.o30 | string | undefined)",
|
|
8164
|
+
value: input.path
|
|
8165
|
+
})) && _vo40(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
8166
|
+
path: _path + ".path",
|
|
8167
|
+
expected: "(__type.o30 | string | undefined)",
|
|
8168
|
+
value: input.path
|
|
8169
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
8170
|
+
path: _path + ".method",
|
|
8171
|
+
expected: "(__type.o30 | string | undefined)",
|
|
8172
|
+
value: input.method
|
|
8173
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
8174
|
+
path: _path + ".method",
|
|
8175
|
+
expected: "(__type.o30 | string | undefined)",
|
|
8176
|
+
value: input.method
|
|
8177
|
+
})) && _vo40(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
8178
|
+
path: _path + ".method",
|
|
8179
|
+
expected: "(__type.o30 | string | undefined)",
|
|
8180
|
+
value: input.method
|
|
8181
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
8182
|
+
path: _path + ".params",
|
|
8183
|
+
expected: "(__type.o32 | __type.o9 | string | undefined)",
|
|
8184
|
+
value: input.params
|
|
8185
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
8186
|
+
path: _path + ".params",
|
|
8187
|
+
expected: "(__type.o32 | __type.o9 | string | undefined)",
|
|
8188
|
+
value: input.params
|
|
8189
|
+
})) && _vu7(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
8190
|
+
path: _path + ".params",
|
|
8191
|
+
expected: "(__type.o32 | __type.o9 | string | undefined)",
|
|
8192
|
+
value: input.params
|
|
8193
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
8194
|
+
path: _path + ".form",
|
|
8195
|
+
expected: "(__type.o11 | __type.o33 | string | undefined)",
|
|
8196
|
+
value: input.form
|
|
8197
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
8198
|
+
path: _path + ".form",
|
|
8199
|
+
expected: "(__type.o11 | __type.o33 | string | undefined)",
|
|
8200
|
+
value: input.form
|
|
8201
|
+
})) && _vu8(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
8202
|
+
path: _path + ".form",
|
|
8203
|
+
expected: "(__type.o11 | __type.o33 | string | undefined)",
|
|
8204
|
+
value: input.form
|
|
8205
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
8206
|
+
path: _path + ".headers",
|
|
8207
|
+
expected: "(__type.o14 | __type.o34 | string | undefined)",
|
|
8208
|
+
value: input.headers
|
|
8209
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
8210
|
+
path: _path + ".headers",
|
|
8211
|
+
expected: "(__type.o14 | __type.o34 | string | undefined)",
|
|
8212
|
+
value: input.headers
|
|
8213
|
+
})) && _vu9(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
8214
|
+
path: _path + ".headers",
|
|
8215
|
+
expected: "(__type.o14 | __type.o34 | string | undefined)",
|
|
8216
|
+
value: input.headers
|
|
8217
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
8218
|
+
path: _path + ".throwOnError",
|
|
8219
|
+
expected: "(__type.o35 | boolean | string | undefined)",
|
|
8220
|
+
value: input.throwOnError
|
|
8221
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
8222
|
+
path: _path + ".throwOnError",
|
|
8223
|
+
expected: "(__type.o35 | boolean | string | undefined)",
|
|
8224
|
+
value: input.throwOnError
|
|
8225
|
+
})) && _vo45(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
8226
|
+
path: _path + ".throwOnError",
|
|
8227
|
+
expected: "(__type.o35 | boolean | string | undefined)",
|
|
8228
|
+
value: input.throwOnError
|
|
8229
|
+
})), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8230
|
+
if (["origin", "path", "method", "params", "form", "headers", "throwOnError"].some(prop => key === prop))
|
|
8231
|
+
return true;
|
|
8232
|
+
const value = input[key];
|
|
8233
|
+
if (undefined === value)
|
|
8234
|
+
return true;
|
|
8235
|
+
return _report(_exceptionable, {
|
|
8236
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8237
|
+
expected: "undefined",
|
|
8238
|
+
value: value,
|
|
8239
|
+
description: [
|
|
8240
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8241
|
+
"",
|
|
8242
|
+
"Please remove the property next time."
|
|
8243
|
+
].join("\n")
|
|
8244
|
+
});
|
|
8245
|
+
}).every(flag => flag))].every(flag => flag); const _vo40 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
8246
|
+
path: _path + ".__context",
|
|
8247
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8248
|
+
value: input.__context
|
|
8249
|
+
})) && _vo41(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
8250
|
+
path: _path + ".__context",
|
|
8251
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8252
|
+
value: input.__context
|
|
8253
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
8254
|
+
path: _path + ".__returnValue",
|
|
8255
|
+
expected: "(string | undefined)",
|
|
8256
|
+
value: input.__returnValue
|
|
8257
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8258
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
8259
|
+
return true;
|
|
8260
|
+
const value = input[key];
|
|
8261
|
+
if (undefined === value)
|
|
8262
|
+
return true;
|
|
8263
|
+
return _report(_exceptionable, {
|
|
8264
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8265
|
+
expected: "undefined",
|
|
8266
|
+
value: value,
|
|
8267
|
+
description: [
|
|
8268
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8269
|
+
"",
|
|
8270
|
+
"Please remove the property next time."
|
|
8271
|
+
].join("\n")
|
|
8272
|
+
});
|
|
8273
|
+
}).every(flag => flag))].every(flag => flag); const _vo41 = (input, _path, _exceptionable = true) => [undefined === input.dirpath || "string" === typeof input.dirpath || _report(_exceptionable, {
|
|
8274
|
+
path: _path + ".dirpath",
|
|
8275
|
+
expected: "(string | undefined)",
|
|
8276
|
+
value: input.dirpath
|
|
8277
|
+
}), ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
8278
|
+
path: _path + ".connection",
|
|
8279
|
+
expected: "FileConnectionHttpRecord",
|
|
8280
|
+
value: input.connection
|
|
8281
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
8282
|
+
path: _path + ".connection",
|
|
8283
|
+
expected: "FileConnectionHttpRecord",
|
|
8284
|
+
value: input.connection
|
|
8285
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8286
|
+
if (["dirpath", "connection"].some(prop => key === prop))
|
|
8287
|
+
return true;
|
|
8288
|
+
const value = input[key];
|
|
8289
|
+
if (undefined === value)
|
|
8290
|
+
return true;
|
|
8291
|
+
return _report(_exceptionable, {
|
|
8292
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8293
|
+
expected: "undefined",
|
|
8294
|
+
value: value,
|
|
8295
|
+
description: [
|
|
8296
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8297
|
+
"",
|
|
8298
|
+
"Please remove the property next time."
|
|
8299
|
+
].join("\n")
|
|
8300
|
+
});
|
|
8301
|
+
}).every(flag => flag))].every(flag => flag); const _vo42 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
8302
|
+
path: _path + ".__context",
|
|
8303
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8304
|
+
value: input.__context
|
|
8305
|
+
})) && _vo41(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
8306
|
+
path: _path + ".__context",
|
|
8307
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8308
|
+
value: input.__context
|
|
8309
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
8310
|
+
path: _path + ".__returnValue",
|
|
8311
|
+
expected: "(__type.o9 | undefined)",
|
|
8312
|
+
value: input.__returnValue
|
|
8313
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
8314
|
+
path: _path + ".__returnValue",
|
|
8315
|
+
expected: "(__type.o9 | undefined)",
|
|
8316
|
+
value: input.__returnValue
|
|
8317
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8318
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
8319
|
+
return true;
|
|
8320
|
+
const value = input[key];
|
|
8321
|
+
if (undefined === value)
|
|
8322
|
+
return true;
|
|
8323
|
+
return _report(_exceptionable, {
|
|
8324
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8325
|
+
expected: "undefined",
|
|
8326
|
+
value: value,
|
|
8327
|
+
description: [
|
|
8328
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8329
|
+
"",
|
|
8330
|
+
"Please remove the property next time."
|
|
8331
|
+
].join("\n")
|
|
8332
|
+
});
|
|
8333
|
+
}).every(flag => flag))].every(flag => flag); const _vo43 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
8334
|
+
path: _path + ".__context",
|
|
8335
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8336
|
+
value: input.__context
|
|
8337
|
+
})) && _vo41(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
8338
|
+
path: _path + ".__context",
|
|
8339
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8340
|
+
value: input.__context
|
|
8341
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
8342
|
+
path: _path + ".__returnValue",
|
|
8343
|
+
expected: "(__type.o11 | undefined)",
|
|
8344
|
+
value: input.__returnValue
|
|
8345
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
8346
|
+
path: _path + ".__returnValue",
|
|
8347
|
+
expected: "(__type.o11 | undefined)",
|
|
8348
|
+
value: input.__returnValue
|
|
8349
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8350
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
8351
|
+
return true;
|
|
8352
|
+
const value = input[key];
|
|
8353
|
+
if (undefined === value)
|
|
8354
|
+
return true;
|
|
8355
|
+
return _report(_exceptionable, {
|
|
8356
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8357
|
+
expected: "undefined",
|
|
8358
|
+
value: value,
|
|
8359
|
+
description: [
|
|
8360
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8361
|
+
"",
|
|
8362
|
+
"Please remove the property next time."
|
|
8363
|
+
].join("\n")
|
|
8364
|
+
});
|
|
8365
|
+
}).every(flag => flag))].every(flag => flag); const _vo44 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
8366
|
+
path: _path + ".__context",
|
|
8367
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8368
|
+
value: input.__context
|
|
8369
|
+
})) && _vo41(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
8370
|
+
path: _path + ".__context",
|
|
8371
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8372
|
+
value: input.__context
|
|
8373
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
8374
|
+
path: _path + ".__returnValue",
|
|
8375
|
+
expected: "(__type.o14 | undefined)",
|
|
8376
|
+
value: input.__returnValue
|
|
8377
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
8378
|
+
path: _path + ".__returnValue",
|
|
8379
|
+
expected: "(__type.o14 | undefined)",
|
|
8380
|
+
value: input.__returnValue
|
|
8381
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8382
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
8383
|
+
return true;
|
|
8384
|
+
const value = input[key];
|
|
8385
|
+
if (undefined === value)
|
|
8386
|
+
return true;
|
|
8387
|
+
return _report(_exceptionable, {
|
|
8388
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8389
|
+
expected: "undefined",
|
|
8390
|
+
value: value,
|
|
8391
|
+
description: [
|
|
8392
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8393
|
+
"",
|
|
8394
|
+
"Please remove the property next time."
|
|
8395
|
+
].join("\n")
|
|
8396
|
+
});
|
|
8397
|
+
}).every(flag => flag))].every(flag => flag); const _vo45 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
8398
|
+
path: _path + ".__context",
|
|
8399
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8400
|
+
value: input.__context
|
|
8401
|
+
})) && _vo41(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
8402
|
+
path: _path + ".__context",
|
|
8403
|
+
expected: "{ dirpath?: string | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8404
|
+
value: input.__context
|
|
8405
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
8406
|
+
path: _path + ".__returnValue",
|
|
8407
|
+
expected: "(boolean | undefined)",
|
|
8408
|
+
value: input.__returnValue
|
|
8409
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8410
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
8411
|
+
return true;
|
|
8412
|
+
const value = input[key];
|
|
8413
|
+
if (undefined === value)
|
|
8414
|
+
return true;
|
|
8415
|
+
return _report(_exceptionable, {
|
|
8416
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8417
|
+
expected: "undefined",
|
|
8418
|
+
value: value,
|
|
8419
|
+
description: [
|
|
8420
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8421
|
+
"",
|
|
8422
|
+
"Please remove the property next time."
|
|
8423
|
+
].join("\n")
|
|
8424
|
+
});
|
|
8425
|
+
}).every(flag => flag))].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat || _report(_exceptionable, {
|
|
8426
|
+
path: _path + ".responseFormat",
|
|
8427
|
+
expected: "(\"json\" | \"stream\" | \"text\" | undefined)",
|
|
8428
|
+
value: input.responseFormat
|
|
8429
|
+
}), null === input.error || undefined === input.error || "string" === typeof input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
8430
|
+
path: _path + ".error",
|
|
8431
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
8432
|
+
value: input.error
|
|
8433
|
+
})) && _vo22(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
8434
|
+
path: _path + ".error",
|
|
8435
|
+
expected: "(__type.o17 | null | string | undefined)",
|
|
8436
|
+
value: input.error
|
|
8437
|
+
}), (null !== input.transform || _report(_exceptionable, {
|
|
8438
|
+
path: _path + ".transform",
|
|
8439
|
+
expected: "(Array<FileConnectionListResponseItem> | __type.o36 | string | undefined)",
|
|
8440
|
+
value: input.transform
|
|
8441
|
+
})) && (undefined === input.transform || "string" === typeof input.transform || (Array.isArray(input.transform) && input.transform.map((elem, _index6) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
8442
|
+
path: _path + ".transform[" + _index6 + "]",
|
|
8443
|
+
expected: "FileConnectionListResponseItem",
|
|
8444
|
+
value: elem
|
|
8445
|
+
})) && _vo47(elem, _path + ".transform[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8446
|
+
path: _path + ".transform[" + _index6 + "]",
|
|
8447
|
+
expected: "FileConnectionListResponseItem",
|
|
8448
|
+
value: elem
|
|
8449
|
+
})).every(flag => flag) || "object" === typeof input.transform && null !== input.transform && _vo48(input.transform, _path + ".transform", true && _exceptionable) || _report(_exceptionable, {
|
|
8450
|
+
path: _path + ".transform",
|
|
8451
|
+
expected: "(Array<FileConnectionListResponseItem> | __type.o36 | string | undefined)",
|
|
8452
|
+
value: input.transform
|
|
8453
|
+
})) || _report(_exceptionable, {
|
|
8454
|
+
path: _path + ".transform",
|
|
8455
|
+
expected: "(Array<FileConnectionListResponseItem> | __type.o36 | string | undefined)",
|
|
8456
|
+
value: input.transform
|
|
8457
|
+
})), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8458
|
+
if (["responseFormat", "error", "transform"].some(prop => key === prop))
|
|
8459
|
+
return true;
|
|
8460
|
+
const value = input[key];
|
|
8461
|
+
if (undefined === value)
|
|
8462
|
+
return true;
|
|
8463
|
+
return _report(_exceptionable, {
|
|
8464
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8465
|
+
expected: "undefined",
|
|
8466
|
+
value: value,
|
|
8467
|
+
description: [
|
|
8468
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8469
|
+
"",
|
|
8470
|
+
"Please remove the property next time."
|
|
8471
|
+
].join("\n")
|
|
8472
|
+
});
|
|
8473
|
+
}).every(flag => flag))].every(flag => flag); const _vo47 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
|
8474
|
+
path: _path + ".name",
|
|
8475
|
+
expected: "string",
|
|
8476
|
+
value: input.name
|
|
8477
|
+
}), "boolean" === typeof input.isDir || _report(_exceptionable, {
|
|
8478
|
+
path: _path + ".isDir",
|
|
8479
|
+
expected: "boolean",
|
|
8480
|
+
value: input.isDir
|
|
8481
|
+
}), "number" === typeof input.size || _report(_exceptionable, {
|
|
8482
|
+
path: _path + ".size",
|
|
8483
|
+
expected: "number",
|
|
8484
|
+
value: input.size
|
|
8485
|
+
}), undefined === input.date || "string" === typeof input.date || _report(_exceptionable, {
|
|
8486
|
+
path: _path + ".date",
|
|
8487
|
+
expected: "(string | undefined)",
|
|
8488
|
+
value: input.date
|
|
8489
|
+
}), "string" === typeof input.path || _report(_exceptionable, {
|
|
8490
|
+
path: _path + ".path",
|
|
8491
|
+
expected: "string",
|
|
8492
|
+
value: input.path
|
|
8493
|
+
}), 4 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8494
|
+
if (["name", "isDir", "size", "date", "path"].some(prop => key === prop))
|
|
8495
|
+
return true;
|
|
8496
|
+
const value = input[key];
|
|
8497
|
+
if (undefined === value)
|
|
8498
|
+
return true;
|
|
8499
|
+
return _report(_exceptionable, {
|
|
8500
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8501
|
+
expected: "undefined",
|
|
8502
|
+
value: value,
|
|
8503
|
+
description: [
|
|
8504
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8505
|
+
"",
|
|
8506
|
+
"Please remove the property next time."
|
|
8507
|
+
].join("\n")
|
|
8508
|
+
});
|
|
8509
|
+
}).every(flag => flag))].every(flag => flag); const _vo48 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
8510
|
+
path: _path + ".__context",
|
|
8511
|
+
expected: "__type.o20",
|
|
8512
|
+
value: input.__context
|
|
8513
|
+
})) && _vo26(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
8514
|
+
path: _path + ".__context",
|
|
8515
|
+
expected: "__type.o20",
|
|
8516
|
+
value: input.__context
|
|
8517
|
+
}), (Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
8518
|
+
path: _path + ".__returnValue",
|
|
8519
|
+
expected: "Array<FileConnectionListResponseItem>",
|
|
8520
|
+
value: input.__returnValue
|
|
8521
|
+
})) && input.__returnValue.map((elem, _index7) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
8522
|
+
path: _path + ".__returnValue[" + _index7 + "]",
|
|
8523
|
+
expected: "FileConnectionListResponseItem",
|
|
8524
|
+
value: elem
|
|
8525
|
+
})) && _vo47(elem, _path + ".__returnValue[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8526
|
+
path: _path + ".__returnValue[" + _index7 + "]",
|
|
8527
|
+
expected: "FileConnectionListResponseItem",
|
|
8528
|
+
value: elem
|
|
8529
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
8530
|
+
path: _path + ".__returnValue",
|
|
8531
|
+
expected: "Array<FileConnectionListResponseItem>",
|
|
8532
|
+
value: input.__returnValue
|
|
8533
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8534
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
8535
|
+
return true;
|
|
8536
|
+
const value = input[key];
|
|
8537
|
+
if (undefined === value)
|
|
8538
|
+
return true;
|
|
8539
|
+
return _report(_exceptionable, {
|
|
8540
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8541
|
+
expected: "undefined",
|
|
8542
|
+
value: value,
|
|
8543
|
+
description: [
|
|
8544
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8545
|
+
"",
|
|
8546
|
+
"Please remove the property next time."
|
|
8547
|
+
].join("\n")
|
|
8548
|
+
});
|
|
8549
|
+
}).every(flag => flag))].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, {
|
|
8550
|
+
path: _path + ".request",
|
|
8551
|
+
expected: "(__type.o37 | undefined)",
|
|
8552
|
+
value: input.request
|
|
8553
|
+
})) && _vo50(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
8554
|
+
path: _path + ".request",
|
|
8555
|
+
expected: "(__type.o37 | undefined)",
|
|
8556
|
+
value: input.request
|
|
8557
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
8558
|
+
path: _path + ".response",
|
|
8559
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
8560
|
+
value: input.response
|
|
8561
|
+
})) && _vo21(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
8562
|
+
path: _path + ".response",
|
|
8563
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
8564
|
+
value: input.response
|
|
8565
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8566
|
+
if (["request", "response"].some(prop => key === prop))
|
|
8567
|
+
return true;
|
|
8568
|
+
const value = input[key];
|
|
8569
|
+
if (undefined === value)
|
|
8570
|
+
return true;
|
|
8571
|
+
return _report(_exceptionable, {
|
|
8572
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8573
|
+
expected: "undefined",
|
|
8574
|
+
value: value,
|
|
8575
|
+
description: [
|
|
8576
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8577
|
+
"",
|
|
8578
|
+
"Please remove the property next time."
|
|
8579
|
+
].join("\n")
|
|
8580
|
+
});
|
|
8581
|
+
}).every(flag => flag))].every(flag => flag); const _vo50 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
8582
|
+
path: _path + ".origin",
|
|
8583
|
+
expected: "(__type.o38 | string | undefined)",
|
|
8584
|
+
value: input.origin
|
|
8585
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
8586
|
+
path: _path + ".origin",
|
|
8587
|
+
expected: "(__type.o38 | string | undefined)",
|
|
8588
|
+
value: input.origin
|
|
8589
|
+
})) && _vo51(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
8590
|
+
path: _path + ".origin",
|
|
8591
|
+
expected: "(__type.o38 | string | undefined)",
|
|
8592
|
+
value: input.origin
|
|
8593
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
8594
|
+
path: _path + ".path",
|
|
8595
|
+
expected: "(__type.o38 | string | undefined)",
|
|
8596
|
+
value: input.path
|
|
8597
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
8598
|
+
path: _path + ".path",
|
|
8599
|
+
expected: "(__type.o38 | string | undefined)",
|
|
8600
|
+
value: input.path
|
|
8601
|
+
})) && _vo51(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
8602
|
+
path: _path + ".path",
|
|
8603
|
+
expected: "(__type.o38 | string | undefined)",
|
|
8604
|
+
value: input.path
|
|
8605
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
8606
|
+
path: _path + ".method",
|
|
8607
|
+
expected: "(__type.o38 | string | undefined)",
|
|
8608
|
+
value: input.method
|
|
8609
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
8610
|
+
path: _path + ".method",
|
|
8611
|
+
expected: "(__type.o38 | string | undefined)",
|
|
8612
|
+
value: input.method
|
|
8613
|
+
})) && _vo51(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
8614
|
+
path: _path + ".method",
|
|
8615
|
+
expected: "(__type.o38 | string | undefined)",
|
|
8616
|
+
value: input.method
|
|
8617
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
8618
|
+
path: _path + ".params",
|
|
8619
|
+
expected: "(__type.o40 | __type.o9 | string | undefined)",
|
|
8620
|
+
value: input.params
|
|
8621
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
8622
|
+
path: _path + ".params",
|
|
8623
|
+
expected: "(__type.o40 | __type.o9 | string | undefined)",
|
|
8624
|
+
value: input.params
|
|
8625
|
+
})) && _vu10(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
8626
|
+
path: _path + ".params",
|
|
8627
|
+
expected: "(__type.o40 | __type.o9 | string | undefined)",
|
|
8628
|
+
value: input.params
|
|
8629
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
8630
|
+
path: _path + ".form",
|
|
8631
|
+
expected: "(__type.o11 | __type.o41 | string | undefined)",
|
|
8632
|
+
value: input.form
|
|
8633
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
8634
|
+
path: _path + ".form",
|
|
8635
|
+
expected: "(__type.o11 | __type.o41 | string | undefined)",
|
|
8636
|
+
value: input.form
|
|
8637
|
+
})) && _vu11(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
8638
|
+
path: _path + ".form",
|
|
8639
|
+
expected: "(__type.o11 | __type.o41 | string | undefined)",
|
|
8640
|
+
value: input.form
|
|
8641
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
8642
|
+
path: _path + ".headers",
|
|
8643
|
+
expected: "(__type.o14 | __type.o42 | string | undefined)",
|
|
8644
|
+
value: input.headers
|
|
8645
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
8646
|
+
path: _path + ".headers",
|
|
8647
|
+
expected: "(__type.o14 | __type.o42 | string | undefined)",
|
|
8648
|
+
value: input.headers
|
|
8649
|
+
})) && _vu12(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
8650
|
+
path: _path + ".headers",
|
|
8651
|
+
expected: "(__type.o14 | __type.o42 | string | undefined)",
|
|
8652
|
+
value: input.headers
|
|
8653
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
8654
|
+
path: _path + ".throwOnError",
|
|
8655
|
+
expected: "(__type.o43 | boolean | string | undefined)",
|
|
8656
|
+
value: input.throwOnError
|
|
8657
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
8658
|
+
path: _path + ".throwOnError",
|
|
8659
|
+
expected: "(__type.o43 | boolean | string | undefined)",
|
|
8660
|
+
value: input.throwOnError
|
|
8661
|
+
})) && _vo56(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
8662
|
+
path: _path + ".throwOnError",
|
|
8663
|
+
expected: "(__type.o43 | boolean | string | undefined)",
|
|
8664
|
+
value: input.throwOnError
|
|
8665
|
+
})), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8666
|
+
if (["origin", "path", "method", "params", "form", "headers", "throwOnError"].some(prop => key === prop))
|
|
8667
|
+
return true;
|
|
8668
|
+
const value = input[key];
|
|
8669
|
+
if (undefined === value)
|
|
8670
|
+
return true;
|
|
8671
|
+
return _report(_exceptionable, {
|
|
8672
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8673
|
+
expected: "undefined",
|
|
8674
|
+
value: value,
|
|
8675
|
+
description: [
|
|
8676
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8677
|
+
"",
|
|
8678
|
+
"Please remove the property next time."
|
|
8679
|
+
].join("\n")
|
|
8680
|
+
});
|
|
8681
|
+
}).every(flag => flag))].every(flag => flag); const _vo51 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
8682
|
+
path: _path + ".__context",
|
|
8683
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8684
|
+
value: input.__context
|
|
8685
|
+
})) && _vo52(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
8686
|
+
path: _path + ".__context",
|
|
8687
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8688
|
+
value: input.__context
|
|
8689
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
8690
|
+
path: _path + ".__returnValue",
|
|
8691
|
+
expected: "(string | undefined)",
|
|
8692
|
+
value: input.__returnValue
|
|
8693
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8694
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
8695
|
+
return true;
|
|
8696
|
+
const value = input[key];
|
|
8697
|
+
if (undefined === value)
|
|
8698
|
+
return true;
|
|
8699
|
+
return _report(_exceptionable, {
|
|
8700
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8701
|
+
expected: "undefined",
|
|
8702
|
+
value: value,
|
|
8703
|
+
description: [
|
|
8704
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8705
|
+
"",
|
|
8706
|
+
"Please remove the property next time."
|
|
8707
|
+
].join("\n")
|
|
8708
|
+
});
|
|
8709
|
+
}).every(flag => flag))].every(flag => flag); const _vo52 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
8710
|
+
path: _path + ".id",
|
|
8711
|
+
expected: "string",
|
|
8712
|
+
value: input.id
|
|
8713
|
+
}), undefined === input.offset || "number" === typeof input.offset || _report(_exceptionable, {
|
|
8714
|
+
path: _path + ".offset",
|
|
8715
|
+
expected: "(number | undefined)",
|
|
8716
|
+
value: input.offset
|
|
8717
|
+
}), ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
8718
|
+
path: _path + ".connection",
|
|
8719
|
+
expected: "FileConnectionHttpRecord",
|
|
8720
|
+
value: input.connection
|
|
8721
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
8722
|
+
path: _path + ".connection",
|
|
8723
|
+
expected: "FileConnectionHttpRecord",
|
|
8724
|
+
value: input.connection
|
|
8725
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8726
|
+
if (["id", "offset", "connection"].some(prop => key === prop))
|
|
8727
|
+
return true;
|
|
8728
|
+
const value = input[key];
|
|
8729
|
+
if (undefined === value)
|
|
8730
|
+
return true;
|
|
8731
|
+
return _report(_exceptionable, {
|
|
8732
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8733
|
+
expected: "undefined",
|
|
8734
|
+
value: value,
|
|
8735
|
+
description: [
|
|
8736
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8737
|
+
"",
|
|
8738
|
+
"Please remove the property next time."
|
|
8739
|
+
].join("\n")
|
|
8740
|
+
});
|
|
8741
|
+
}).every(flag => flag))].every(flag => flag); const _vo53 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
8742
|
+
path: _path + ".__context",
|
|
8743
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8744
|
+
value: input.__context
|
|
8745
|
+
})) && _vo52(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
8746
|
+
path: _path + ".__context",
|
|
8747
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8748
|
+
value: input.__context
|
|
8749
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
8750
|
+
path: _path + ".__returnValue",
|
|
8751
|
+
expected: "(__type.o9 | undefined)",
|
|
8752
|
+
value: input.__returnValue
|
|
8753
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
8754
|
+
path: _path + ".__returnValue",
|
|
8755
|
+
expected: "(__type.o9 | undefined)",
|
|
8756
|
+
value: input.__returnValue
|
|
8757
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8758
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
8759
|
+
return true;
|
|
8760
|
+
const value = input[key];
|
|
8761
|
+
if (undefined === value)
|
|
8762
|
+
return true;
|
|
8763
|
+
return _report(_exceptionable, {
|
|
8764
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8765
|
+
expected: "undefined",
|
|
8766
|
+
value: value,
|
|
8767
|
+
description: [
|
|
8768
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8769
|
+
"",
|
|
8770
|
+
"Please remove the property next time."
|
|
8771
|
+
].join("\n")
|
|
8772
|
+
});
|
|
8773
|
+
}).every(flag => flag))].every(flag => flag); const _vo54 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
8774
|
+
path: _path + ".__context",
|
|
8775
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8776
|
+
value: input.__context
|
|
8777
|
+
})) && _vo52(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
8778
|
+
path: _path + ".__context",
|
|
8779
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8780
|
+
value: input.__context
|
|
8781
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
8782
|
+
path: _path + ".__returnValue",
|
|
8783
|
+
expected: "(__type.o11 | undefined)",
|
|
8784
|
+
value: input.__returnValue
|
|
8785
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
8786
|
+
path: _path + ".__returnValue",
|
|
8787
|
+
expected: "(__type.o11 | undefined)",
|
|
8788
|
+
value: input.__returnValue
|
|
8789
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8790
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
8791
|
+
return true;
|
|
8792
|
+
const value = input[key];
|
|
8793
|
+
if (undefined === value)
|
|
8794
|
+
return true;
|
|
8795
|
+
return _report(_exceptionable, {
|
|
8796
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8797
|
+
expected: "undefined",
|
|
8798
|
+
value: value,
|
|
8799
|
+
description: [
|
|
8800
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8801
|
+
"",
|
|
8802
|
+
"Please remove the property next time."
|
|
8803
|
+
].join("\n")
|
|
8804
|
+
});
|
|
8805
|
+
}).every(flag => flag))].every(flag => flag); const _vo55 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
8806
|
+
path: _path + ".__context",
|
|
8807
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8808
|
+
value: input.__context
|
|
8809
|
+
})) && _vo52(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
8810
|
+
path: _path + ".__context",
|
|
8811
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8812
|
+
value: input.__context
|
|
8813
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
8814
|
+
path: _path + ".__returnValue",
|
|
8815
|
+
expected: "(__type.o14 | undefined)",
|
|
8816
|
+
value: input.__returnValue
|
|
8817
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
8818
|
+
path: _path + ".__returnValue",
|
|
8819
|
+
expected: "(__type.o14 | undefined)",
|
|
8820
|
+
value: input.__returnValue
|
|
8821
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8822
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
8823
|
+
return true;
|
|
8824
|
+
const value = input[key];
|
|
8825
|
+
if (undefined === value)
|
|
8826
|
+
return true;
|
|
8827
|
+
return _report(_exceptionable, {
|
|
8828
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8829
|
+
expected: "undefined",
|
|
8830
|
+
value: value,
|
|
8831
|
+
description: [
|
|
8832
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8833
|
+
"",
|
|
8834
|
+
"Please remove the property next time."
|
|
8835
|
+
].join("\n")
|
|
8836
|
+
});
|
|
8837
|
+
}).every(flag => flag))].every(flag => flag); const _vo56 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
8838
|
+
path: _path + ".__context",
|
|
8839
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8840
|
+
value: input.__context
|
|
8841
|
+
})) && _vo52(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
8842
|
+
path: _path + ".__context",
|
|
8843
|
+
expected: "{ id: string; offset?: number | undefined; } & { connection: FileConnectionHttpRecord; }",
|
|
8844
|
+
value: input.__context
|
|
8845
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
8846
|
+
path: _path + ".__returnValue",
|
|
8847
|
+
expected: "(boolean | undefined)",
|
|
8848
|
+
value: input.__returnValue
|
|
8849
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8850
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
8851
|
+
return true;
|
|
8852
|
+
const value = input[key];
|
|
8853
|
+
if (undefined === value)
|
|
8854
|
+
return true;
|
|
8855
|
+
return _report(_exceptionable, {
|
|
8856
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8857
|
+
expected: "undefined",
|
|
8858
|
+
value: value,
|
|
8859
|
+
description: [
|
|
8860
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8861
|
+
"",
|
|
8862
|
+
"Please remove the property next time."
|
|
8863
|
+
].join("\n")
|
|
8864
|
+
});
|
|
8865
|
+
}).every(flag => flag))].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, {
|
|
8866
|
+
path: _path + ".request",
|
|
8867
|
+
expected: "(__type.o44 | undefined)",
|
|
8868
|
+
value: input.request
|
|
8869
|
+
})) && _vo58(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
8870
|
+
path: _path + ".request",
|
|
8871
|
+
expected: "(__type.o44 | undefined)",
|
|
8872
|
+
value: input.request
|
|
8873
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
8874
|
+
path: _path + ".response",
|
|
8875
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
8876
|
+
value: input.response
|
|
8877
|
+
})) && _vo21(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
8878
|
+
path: _path + ".response",
|
|
8879
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
8880
|
+
value: input.response
|
|
8881
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8882
|
+
if (["request", "response"].some(prop => key === prop))
|
|
8883
|
+
return true;
|
|
8884
|
+
const value = input[key];
|
|
8885
|
+
if (undefined === value)
|
|
8886
|
+
return true;
|
|
8887
|
+
return _report(_exceptionable, {
|
|
8888
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8889
|
+
expected: "undefined",
|
|
8890
|
+
value: value,
|
|
8891
|
+
description: [
|
|
8892
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8893
|
+
"",
|
|
8894
|
+
"Please remove the property next time."
|
|
8895
|
+
].join("\n")
|
|
8896
|
+
});
|
|
8897
|
+
}).every(flag => flag))].every(flag => flag); const _vo58 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
8898
|
+
path: _path + ".origin",
|
|
8899
|
+
expected: "(__type.o45 | string | undefined)",
|
|
8900
|
+
value: input.origin
|
|
8901
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
8902
|
+
path: _path + ".origin",
|
|
8903
|
+
expected: "(__type.o45 | string | undefined)",
|
|
8904
|
+
value: input.origin
|
|
8905
|
+
})) && _vo59(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
8906
|
+
path: _path + ".origin",
|
|
8907
|
+
expected: "(__type.o45 | string | undefined)",
|
|
8908
|
+
value: input.origin
|
|
8909
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
8910
|
+
path: _path + ".path",
|
|
8911
|
+
expected: "(__type.o45 | string | undefined)",
|
|
8912
|
+
value: input.path
|
|
8913
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
8914
|
+
path: _path + ".path",
|
|
8915
|
+
expected: "(__type.o45 | string | undefined)",
|
|
8916
|
+
value: input.path
|
|
8917
|
+
})) && _vo59(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
8918
|
+
path: _path + ".path",
|
|
8919
|
+
expected: "(__type.o45 | string | undefined)",
|
|
8920
|
+
value: input.path
|
|
8921
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
8922
|
+
path: _path + ".method",
|
|
8923
|
+
expected: "(__type.o45 | string | undefined)",
|
|
8924
|
+
value: input.method
|
|
8925
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
8926
|
+
path: _path + ".method",
|
|
8927
|
+
expected: "(__type.o45 | string | undefined)",
|
|
8928
|
+
value: input.method
|
|
8929
|
+
})) && _vo59(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
8930
|
+
path: _path + ".method",
|
|
8931
|
+
expected: "(__type.o45 | string | undefined)",
|
|
8932
|
+
value: input.method
|
|
8933
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
8934
|
+
path: _path + ".params",
|
|
8935
|
+
expected: "(__type.o47 | __type.o9 | string | undefined)",
|
|
8936
|
+
value: input.params
|
|
8937
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
8938
|
+
path: _path + ".params",
|
|
8939
|
+
expected: "(__type.o47 | __type.o9 | string | undefined)",
|
|
8940
|
+
value: input.params
|
|
8941
|
+
})) && _vu13(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
8942
|
+
path: _path + ".params",
|
|
8943
|
+
expected: "(__type.o47 | __type.o9 | string | undefined)",
|
|
8944
|
+
value: input.params
|
|
8945
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
8946
|
+
path: _path + ".form",
|
|
8947
|
+
expected: "(__type.o11 | __type.o48 | string | undefined)",
|
|
8948
|
+
value: input.form
|
|
8949
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
8950
|
+
path: _path + ".form",
|
|
8951
|
+
expected: "(__type.o11 | __type.o48 | string | undefined)",
|
|
8952
|
+
value: input.form
|
|
8953
|
+
})) && _vu14(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
8954
|
+
path: _path + ".form",
|
|
8955
|
+
expected: "(__type.o11 | __type.o48 | string | undefined)",
|
|
8956
|
+
value: input.form
|
|
8957
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
8958
|
+
path: _path + ".headers",
|
|
8959
|
+
expected: "(__type.o14 | __type.o49 | string | undefined)",
|
|
8960
|
+
value: input.headers
|
|
8961
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
8962
|
+
path: _path + ".headers",
|
|
8963
|
+
expected: "(__type.o14 | __type.o49 | string | undefined)",
|
|
8964
|
+
value: input.headers
|
|
8965
|
+
})) && _vu15(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
8966
|
+
path: _path + ".headers",
|
|
8967
|
+
expected: "(__type.o14 | __type.o49 | string | undefined)",
|
|
8968
|
+
value: input.headers
|
|
8969
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
8970
|
+
path: _path + ".throwOnError",
|
|
8971
|
+
expected: "(__type.o50 | boolean | string | undefined)",
|
|
8972
|
+
value: input.throwOnError
|
|
8973
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
8974
|
+
path: _path + ".throwOnError",
|
|
8975
|
+
expected: "(__type.o50 | boolean | string | undefined)",
|
|
8976
|
+
value: input.throwOnError
|
|
8977
|
+
})) && _vo64(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
8978
|
+
path: _path + ".throwOnError",
|
|
8979
|
+
expected: "(__type.o50 | boolean | string | undefined)",
|
|
8980
|
+
value: input.throwOnError
|
|
8981
|
+
})), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
8982
|
+
if (["origin", "path", "method", "params", "form", "headers", "throwOnError"].some(prop => key === prop))
|
|
8983
|
+
return true;
|
|
8984
|
+
const value = input[key];
|
|
8985
|
+
if (undefined === value)
|
|
8986
|
+
return true;
|
|
8987
|
+
return _report(_exceptionable, {
|
|
8988
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8989
|
+
expected: "undefined",
|
|
8990
|
+
value: value,
|
|
8991
|
+
description: [
|
|
8992
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
8993
|
+
"",
|
|
8994
|
+
"Please remove the property next time."
|
|
8995
|
+
].join("\n")
|
|
8996
|
+
});
|
|
8997
|
+
}).every(flag => flag))].every(flag => flag); const _vo59 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
8998
|
+
path: _path + ".__context",
|
|
8999
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
9000
|
+
value: input.__context
|
|
9001
|
+
})) && _vo60(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
9002
|
+
path: _path + ".__context",
|
|
9003
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
9004
|
+
value: input.__context
|
|
9005
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
9006
|
+
path: _path + ".__returnValue",
|
|
9007
|
+
expected: "(string | undefined)",
|
|
9008
|
+
value: input.__returnValue
|
|
9009
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
9010
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
9011
|
+
return true;
|
|
9012
|
+
const value = input[key];
|
|
9013
|
+
if (undefined === value)
|
|
9014
|
+
return true;
|
|
9015
|
+
return _report(_exceptionable, {
|
|
9016
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9017
|
+
expected: "undefined",
|
|
9018
|
+
value: value,
|
|
9019
|
+
description: [
|
|
9020
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
9021
|
+
"",
|
|
9022
|
+
"Please remove the property next time."
|
|
9023
|
+
].join("\n")
|
|
9024
|
+
});
|
|
9025
|
+
}).every(flag => flag))].every(flag => flag); const _vo60 = (input, _path, _exceptionable = true) => ["string" === typeof input.filepath || _report(_exceptionable, {
|
|
9026
|
+
path: _path + ".filepath",
|
|
9027
|
+
expected: "string",
|
|
9028
|
+
value: input.filepath
|
|
9029
|
+
}), true, ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
9030
|
+
path: _path + ".connection",
|
|
9031
|
+
expected: "FileConnectionHttpRecord",
|
|
9032
|
+
value: input.connection
|
|
9033
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
9034
|
+
path: _path + ".connection",
|
|
9035
|
+
expected: "FileConnectionHttpRecord",
|
|
9036
|
+
value: input.connection
|
|
9037
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
9038
|
+
if (["filepath", "stream", "connection"].some(prop => key === prop))
|
|
9039
|
+
return true;
|
|
9040
|
+
const value = input[key];
|
|
9041
|
+
if (undefined === value)
|
|
9042
|
+
return true;
|
|
9043
|
+
return _report(_exceptionable, {
|
|
9044
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9045
|
+
expected: "undefined",
|
|
9046
|
+
value: value,
|
|
9047
|
+
description: [
|
|
9048
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
9049
|
+
"",
|
|
9050
|
+
"Please remove the property next time."
|
|
9051
|
+
].join("\n")
|
|
9052
|
+
});
|
|
9053
|
+
}).every(flag => flag))].every(flag => flag); const _vo61 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
9054
|
+
path: _path + ".__context",
|
|
9055
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
9056
|
+
value: input.__context
|
|
9057
|
+
})) && _vo60(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
9058
|
+
path: _path + ".__context",
|
|
9059
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
9060
|
+
value: input.__context
|
|
9061
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
9062
|
+
path: _path + ".__returnValue",
|
|
9063
|
+
expected: "(__type.o9 | undefined)",
|
|
9064
|
+
value: input.__returnValue
|
|
9065
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
9066
|
+
path: _path + ".__returnValue",
|
|
9067
|
+
expected: "(__type.o9 | undefined)",
|
|
9068
|
+
value: input.__returnValue
|
|
9069
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
9070
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
9071
|
+
return true;
|
|
9072
|
+
const value = input[key];
|
|
9073
|
+
if (undefined === value)
|
|
9074
|
+
return true;
|
|
9075
|
+
return _report(_exceptionable, {
|
|
9076
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9077
|
+
expected: "undefined",
|
|
9078
|
+
value: value,
|
|
9079
|
+
description: [
|
|
9080
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
9081
|
+
"",
|
|
9082
|
+
"Please remove the property next time."
|
|
9083
|
+
].join("\n")
|
|
9084
|
+
});
|
|
9085
|
+
}).every(flag => flag))].every(flag => flag); const _vo62 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
9086
|
+
path: _path + ".__context",
|
|
9087
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
9088
|
+
value: input.__context
|
|
9089
|
+
})) && _vo60(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
9090
|
+
path: _path + ".__context",
|
|
9091
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
9092
|
+
value: input.__context
|
|
9093
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
9094
|
+
path: _path + ".__returnValue",
|
|
9095
|
+
expected: "(__type.o11 | undefined)",
|
|
9096
|
+
value: input.__returnValue
|
|
9097
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
9098
|
+
path: _path + ".__returnValue",
|
|
9099
|
+
expected: "(__type.o11 | undefined)",
|
|
9100
|
+
value: input.__returnValue
|
|
9101
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
9102
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
9103
|
+
return true;
|
|
9104
|
+
const value = input[key];
|
|
9105
|
+
if (undefined === value)
|
|
9106
|
+
return true;
|
|
9107
|
+
return _report(_exceptionable, {
|
|
9108
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9109
|
+
expected: "undefined",
|
|
9110
|
+
value: value,
|
|
9111
|
+
description: [
|
|
9112
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
9113
|
+
"",
|
|
9114
|
+
"Please remove the property next time."
|
|
9115
|
+
].join("\n")
|
|
9116
|
+
});
|
|
9117
|
+
}).every(flag => flag))].every(flag => flag); const _vo63 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
9118
|
+
path: _path + ".__context",
|
|
9119
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
9120
|
+
value: input.__context
|
|
9121
|
+
})) && _vo60(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
9122
|
+
path: _path + ".__context",
|
|
9123
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
9124
|
+
value: input.__context
|
|
9125
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
9126
|
+
path: _path + ".__returnValue",
|
|
9127
|
+
expected: "(__type.o14 | undefined)",
|
|
9128
|
+
value: input.__returnValue
|
|
9129
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
9130
|
+
path: _path + ".__returnValue",
|
|
9131
|
+
expected: "(__type.o14 | undefined)",
|
|
9132
|
+
value: input.__returnValue
|
|
9133
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
9134
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
9135
|
+
return true;
|
|
9136
|
+
const value = input[key];
|
|
9137
|
+
if (undefined === value)
|
|
9138
|
+
return true;
|
|
9139
|
+
return _report(_exceptionable, {
|
|
9140
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9141
|
+
expected: "undefined",
|
|
9142
|
+
value: value,
|
|
9143
|
+
description: [
|
|
9144
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
9145
|
+
"",
|
|
9146
|
+
"Please remove the property next time."
|
|
9147
|
+
].join("\n")
|
|
9148
|
+
});
|
|
9149
|
+
}).every(flag => flag))].every(flag => flag); const _vo64 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
9150
|
+
path: _path + ".__context",
|
|
9151
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
9152
|
+
value: input.__context
|
|
9153
|
+
})) && _vo60(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
9154
|
+
path: _path + ".__context",
|
|
9155
|
+
expected: "{ filepath: string; stream: unknown; } & { connection: FileConnectionHttpRecord; }",
|
|
9156
|
+
value: input.__context
|
|
9157
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
9158
|
+
path: _path + ".__returnValue",
|
|
9159
|
+
expected: "(boolean | undefined)",
|
|
9160
|
+
value: input.__returnValue
|
|
9161
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
9162
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
9163
|
+
return true;
|
|
9164
|
+
const value = input[key];
|
|
9165
|
+
if (undefined === value)
|
|
9166
|
+
return true;
|
|
9167
|
+
return _report(_exceptionable, {
|
|
9168
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9169
|
+
expected: "undefined",
|
|
9170
|
+
value: value,
|
|
9171
|
+
description: [
|
|
9172
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
9173
|
+
"",
|
|
9174
|
+
"Please remove the property next time."
|
|
9175
|
+
].join("\n")
|
|
9176
|
+
});
|
|
9177
|
+
}).every(flag => flag))].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, {
|
|
9178
|
+
path: _path + ".request",
|
|
9179
|
+
expected: "(__type.o51 | undefined)",
|
|
9180
|
+
value: input.request
|
|
9181
|
+
})) && _vo66(input.request, _path + ".request", true && _exceptionable) || _report(_exceptionable, {
|
|
9182
|
+
path: _path + ".request",
|
|
9183
|
+
expected: "(__type.o51 | undefined)",
|
|
9184
|
+
value: input.request
|
|
9185
|
+
}), undefined === input.response || ("object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) || _report(_exceptionable, {
|
|
9186
|
+
path: _path + ".response",
|
|
9187
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
9188
|
+
value: input.response
|
|
9189
|
+
})) && _vo21(input.response, _path + ".response", true && _exceptionable) || _report(_exceptionable, {
|
|
9190
|
+
path: _path + ".response",
|
|
9191
|
+
expected: "(HttpConnectionResponseHandler<undefined> | undefined)",
|
|
9192
|
+
value: input.response
|
|
9193
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
9194
|
+
if (["request", "response"].some(prop => key === prop))
|
|
9195
|
+
return true;
|
|
9196
|
+
const value = input[key];
|
|
9197
|
+
if (undefined === value)
|
|
9198
|
+
return true;
|
|
9199
|
+
return _report(_exceptionable, {
|
|
9200
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9201
|
+
expected: "undefined",
|
|
9202
|
+
value: value,
|
|
9203
|
+
description: [
|
|
9204
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
9205
|
+
"",
|
|
9206
|
+
"Please remove the property next time."
|
|
9207
|
+
].join("\n")
|
|
9208
|
+
});
|
|
9209
|
+
}).every(flag => flag))].every(flag => flag); const _vo66 = (input, _path, _exceptionable = true) => [(null !== input.origin || _report(_exceptionable, {
|
|
9210
|
+
path: _path + ".origin",
|
|
9211
|
+
expected: "(__type.o52 | string | undefined)",
|
|
9212
|
+
value: input.origin
|
|
9213
|
+
})) && (undefined === input.origin || "string" === typeof input.origin || ("object" === typeof input.origin && null !== input.origin || _report(_exceptionable, {
|
|
9214
|
+
path: _path + ".origin",
|
|
9215
|
+
expected: "(__type.o52 | string | undefined)",
|
|
9216
|
+
value: input.origin
|
|
9217
|
+
})) && _vo67(input.origin, _path + ".origin", true && _exceptionable) || _report(_exceptionable, {
|
|
9218
|
+
path: _path + ".origin",
|
|
9219
|
+
expected: "(__type.o52 | string | undefined)",
|
|
9220
|
+
value: input.origin
|
|
9221
|
+
})), (null !== input.path || _report(_exceptionable, {
|
|
9222
|
+
path: _path + ".path",
|
|
9223
|
+
expected: "(__type.o52 | string | undefined)",
|
|
9224
|
+
value: input.path
|
|
9225
|
+
})) && (undefined === input.path || "string" === typeof input.path || ("object" === typeof input.path && null !== input.path || _report(_exceptionable, {
|
|
9226
|
+
path: _path + ".path",
|
|
9227
|
+
expected: "(__type.o52 | string | undefined)",
|
|
9228
|
+
value: input.path
|
|
9229
|
+
})) && _vo67(input.path, _path + ".path", true && _exceptionable) || _report(_exceptionable, {
|
|
9230
|
+
path: _path + ".path",
|
|
9231
|
+
expected: "(__type.o52 | string | undefined)",
|
|
9232
|
+
value: input.path
|
|
9233
|
+
})), (null !== input.method || _report(_exceptionable, {
|
|
9234
|
+
path: _path + ".method",
|
|
9235
|
+
expected: "(__type.o52 | string | undefined)",
|
|
9236
|
+
value: input.method
|
|
9237
|
+
})) && (undefined === input.method || "string" === typeof input.method || ("object" === typeof input.method && null !== input.method || _report(_exceptionable, {
|
|
9238
|
+
path: _path + ".method",
|
|
9239
|
+
expected: "(__type.o52 | string | undefined)",
|
|
9240
|
+
value: input.method
|
|
9241
|
+
})) && _vo67(input.method, _path + ".method", true && _exceptionable) || _report(_exceptionable, {
|
|
9242
|
+
path: _path + ".method",
|
|
9243
|
+
expected: "(__type.o52 | string | undefined)",
|
|
9244
|
+
value: input.method
|
|
9245
|
+
})), (null !== input.params || _report(_exceptionable, {
|
|
9246
|
+
path: _path + ".params",
|
|
9247
|
+
expected: "(__type.o54 | __type.o9 | string | undefined)",
|
|
9248
|
+
value: input.params
|
|
9249
|
+
})) && (undefined === input.params || "string" === typeof input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
|
|
9250
|
+
path: _path + ".params",
|
|
9251
|
+
expected: "(__type.o54 | __type.o9 | string | undefined)",
|
|
9252
|
+
value: input.params
|
|
9253
|
+
})) && _vu16(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
|
|
9254
|
+
path: _path + ".params",
|
|
9255
|
+
expected: "(__type.o54 | __type.o9 | string | undefined)",
|
|
9256
|
+
value: input.params
|
|
9257
|
+
})), (null !== input.form || _report(_exceptionable, {
|
|
9258
|
+
path: _path + ".form",
|
|
9259
|
+
expected: "(__type.o11 | __type.o55 | string | undefined)",
|
|
9260
|
+
value: input.form
|
|
9261
|
+
})) && (undefined === input.form || "string" === typeof input.form || ("object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) || _report(_exceptionable, {
|
|
9262
|
+
path: _path + ".form",
|
|
9263
|
+
expected: "(__type.o11 | __type.o55 | string | undefined)",
|
|
9264
|
+
value: input.form
|
|
9265
|
+
})) && _vu17(input.form, _path + ".form", true && _exceptionable) || _report(_exceptionable, {
|
|
9266
|
+
path: _path + ".form",
|
|
9267
|
+
expected: "(__type.o11 | __type.o55 | string | undefined)",
|
|
9268
|
+
value: input.form
|
|
9269
|
+
})), (null !== input.headers || _report(_exceptionable, {
|
|
9270
|
+
path: _path + ".headers",
|
|
9271
|
+
expected: "(__type.o14 | __type.o56 | string | undefined)",
|
|
9272
|
+
value: input.headers
|
|
9273
|
+
})) && (undefined === input.headers || "string" === typeof input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
9274
|
+
path: _path + ".headers",
|
|
9275
|
+
expected: "(__type.o14 | __type.o56 | string | undefined)",
|
|
9276
|
+
value: input.headers
|
|
9277
|
+
})) && _vu18(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
9278
|
+
path: _path + ".headers",
|
|
9279
|
+
expected: "(__type.o14 | __type.o56 | string | undefined)",
|
|
9280
|
+
value: input.headers
|
|
9281
|
+
})), (null !== input.throwOnError || _report(_exceptionable, {
|
|
9282
|
+
path: _path + ".throwOnError",
|
|
9283
|
+
expected: "(__type.o57 | boolean | string | undefined)",
|
|
9284
|
+
value: input.throwOnError
|
|
9285
|
+
})) && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || ("object" === typeof input.throwOnError && null !== input.throwOnError || _report(_exceptionable, {
|
|
9286
|
+
path: _path + ".throwOnError",
|
|
9287
|
+
expected: "(__type.o57 | boolean | string | undefined)",
|
|
9288
|
+
value: input.throwOnError
|
|
9289
|
+
})) && _vo72(input.throwOnError, _path + ".throwOnError", true && _exceptionable) || _report(_exceptionable, {
|
|
9290
|
+
path: _path + ".throwOnError",
|
|
9291
|
+
expected: "(__type.o57 | boolean | string | undefined)",
|
|
9292
|
+
value: input.throwOnError
|
|
9293
|
+
})), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
9294
|
+
if (["origin", "path", "method", "params", "form", "headers", "throwOnError"].some(prop => key === prop))
|
|
6228
9295
|
return true;
|
|
6229
9296
|
const value = input[key];
|
|
6230
9297
|
if (undefined === value)
|
|
@@ -6239,12 +9306,172 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6239
9306
|
"Please remove the property next time."
|
|
6240
9307
|
].join("\n")
|
|
6241
9308
|
});
|
|
6242
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
6243
|
-
path: _path + ".
|
|
9309
|
+
}).every(flag => flag))].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
9310
|
+
path: _path + ".__context",
|
|
9311
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
9312
|
+
value: input.__context
|
|
9313
|
+
})) && _vo68(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
9314
|
+
path: _path + ".__context",
|
|
9315
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
9316
|
+
value: input.__context
|
|
9317
|
+
}), undefined === input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
9318
|
+
path: _path + ".__returnValue",
|
|
9319
|
+
expected: "(string | undefined)",
|
|
9320
|
+
value: input.__returnValue
|
|
9321
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
9322
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
9323
|
+
return true;
|
|
9324
|
+
const value = input[key];
|
|
9325
|
+
if (undefined === value)
|
|
9326
|
+
return true;
|
|
9327
|
+
return _report(_exceptionable, {
|
|
9328
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9329
|
+
expected: "undefined",
|
|
9330
|
+
value: value,
|
|
9331
|
+
description: [
|
|
9332
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
9333
|
+
"",
|
|
9334
|
+
"Please remove the property next time."
|
|
9335
|
+
].join("\n")
|
|
9336
|
+
});
|
|
9337
|
+
}).every(flag => flag))].every(flag => flag); const _vo68 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
9338
|
+
path: _path + ".id",
|
|
6244
9339
|
expected: "string",
|
|
6245
|
-
value: input.
|
|
9340
|
+
value: input.id
|
|
9341
|
+
}), ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) || _report(_exceptionable, {
|
|
9342
|
+
path: _path + ".connection",
|
|
9343
|
+
expected: "FileConnectionHttpRecord",
|
|
9344
|
+
value: input.connection
|
|
9345
|
+
})) && _vo2(input.connection, _path + ".connection", true && _exceptionable) || _report(_exceptionable, {
|
|
9346
|
+
path: _path + ".connection",
|
|
9347
|
+
expected: "FileConnectionHttpRecord",
|
|
9348
|
+
value: input.connection
|
|
9349
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
9350
|
+
if (["id", "connection"].some(prop => key === prop))
|
|
9351
|
+
return true;
|
|
9352
|
+
const value = input[key];
|
|
9353
|
+
if (undefined === value)
|
|
9354
|
+
return true;
|
|
9355
|
+
return _report(_exceptionable, {
|
|
9356
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9357
|
+
expected: "undefined",
|
|
9358
|
+
value: value,
|
|
9359
|
+
description: [
|
|
9360
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
9361
|
+
"",
|
|
9362
|
+
"Please remove the property next time."
|
|
9363
|
+
].join("\n")
|
|
9364
|
+
});
|
|
9365
|
+
}).every(flag => flag))].every(flag => flag); const _vo69 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
9366
|
+
path: _path + ".__context",
|
|
9367
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
9368
|
+
value: input.__context
|
|
9369
|
+
})) && _vo68(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
9370
|
+
path: _path + ".__context",
|
|
9371
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
9372
|
+
value: input.__context
|
|
9373
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
9374
|
+
path: _path + ".__returnValue",
|
|
9375
|
+
expected: "(__type.o9 | undefined)",
|
|
9376
|
+
value: input.__returnValue
|
|
9377
|
+
})) && _vo13(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
9378
|
+
path: _path + ".__returnValue",
|
|
9379
|
+
expected: "(__type.o9 | undefined)",
|
|
9380
|
+
value: input.__returnValue
|
|
6246
9381
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6247
|
-
if (["
|
|
9382
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
9383
|
+
return true;
|
|
9384
|
+
const value = input[key];
|
|
9385
|
+
if (undefined === value)
|
|
9386
|
+
return true;
|
|
9387
|
+
return _report(_exceptionable, {
|
|
9388
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9389
|
+
expected: "undefined",
|
|
9390
|
+
value: value,
|
|
9391
|
+
description: [
|
|
9392
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
9393
|
+
"",
|
|
9394
|
+
"Please remove the property next time."
|
|
9395
|
+
].join("\n")
|
|
9396
|
+
});
|
|
9397
|
+
}).every(flag => flag))].every(flag => flag); const _vo70 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
9398
|
+
path: _path + ".__context",
|
|
9399
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
9400
|
+
value: input.__context
|
|
9401
|
+
})) && _vo68(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
9402
|
+
path: _path + ".__context",
|
|
9403
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
9404
|
+
value: input.__context
|
|
9405
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
9406
|
+
path: _path + ".__returnValue",
|
|
9407
|
+
expected: "(__type.o11 | undefined)",
|
|
9408
|
+
value: input.__returnValue
|
|
9409
|
+
})) && _vo15(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
9410
|
+
path: _path + ".__returnValue",
|
|
9411
|
+
expected: "(__type.o11 | undefined)",
|
|
9412
|
+
value: input.__returnValue
|
|
9413
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
9414
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
9415
|
+
return true;
|
|
9416
|
+
const value = input[key];
|
|
9417
|
+
if (undefined === value)
|
|
9418
|
+
return true;
|
|
9419
|
+
return _report(_exceptionable, {
|
|
9420
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9421
|
+
expected: "undefined",
|
|
9422
|
+
value: value,
|
|
9423
|
+
description: [
|
|
9424
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
9425
|
+
"",
|
|
9426
|
+
"Please remove the property next time."
|
|
9427
|
+
].join("\n")
|
|
9428
|
+
});
|
|
9429
|
+
}).every(flag => flag))].every(flag => flag); const _vo71 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
9430
|
+
path: _path + ".__context",
|
|
9431
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
9432
|
+
value: input.__context
|
|
9433
|
+
})) && _vo68(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
9434
|
+
path: _path + ".__context",
|
|
9435
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
9436
|
+
value: input.__context
|
|
9437
|
+
}), undefined === input.__returnValue || ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) || _report(_exceptionable, {
|
|
9438
|
+
path: _path + ".__returnValue",
|
|
9439
|
+
expected: "(__type.o14 | undefined)",
|
|
9440
|
+
value: input.__returnValue
|
|
9441
|
+
})) && _vo18(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
9442
|
+
path: _path + ".__returnValue",
|
|
9443
|
+
expected: "(__type.o14 | undefined)",
|
|
9444
|
+
value: input.__returnValue
|
|
9445
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
9446
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
9447
|
+
return true;
|
|
9448
|
+
const value = input[key];
|
|
9449
|
+
if (undefined === value)
|
|
9450
|
+
return true;
|
|
9451
|
+
return _report(_exceptionable, {
|
|
9452
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9453
|
+
expected: "undefined",
|
|
9454
|
+
value: value,
|
|
9455
|
+
description: [
|
|
9456
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
9457
|
+
"",
|
|
9458
|
+
"Please remove the property next time."
|
|
9459
|
+
].join("\n")
|
|
9460
|
+
});
|
|
9461
|
+
}).every(flag => flag))].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
9462
|
+
path: _path + ".__context",
|
|
9463
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
9464
|
+
value: input.__context
|
|
9465
|
+
})) && _vo68(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
9466
|
+
path: _path + ".__context",
|
|
9467
|
+
expected: "{ id: string; } & { connection: FileConnectionHttpRecord; }",
|
|
9468
|
+
value: input.__context
|
|
9469
|
+
}), undefined === input.__returnValue || "boolean" === typeof input.__returnValue || _report(_exceptionable, {
|
|
9470
|
+
path: _path + ".__returnValue",
|
|
9471
|
+
expected: "(boolean | undefined)",
|
|
9472
|
+
value: input.__returnValue
|
|
9473
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
9474
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
6248
9475
|
return true;
|
|
6249
9476
|
const value = input[key];
|
|
6250
9477
|
if (undefined === value)
|
|
@@ -6259,17 +9486,17 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6259
9486
|
"Please remove the property next time."
|
|
6260
9487
|
].join("\n")
|
|
6261
9488
|
});
|
|
6262
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
9489
|
+
}).every(flag => flag))].every(flag => flag); const _vo73 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "s3" === input.protocol || _report(_exceptionable, {
|
|
6263
9490
|
path: _path + ".protocol",
|
|
6264
|
-
expected: "\"s3\"",
|
|
9491
|
+
expected: "(\"s3\" | undefined)",
|
|
6265
9492
|
value: input.protocol
|
|
6266
9493
|
}), true, undefined === input.bucket || "string" === typeof input.bucket || _report(_exceptionable, {
|
|
6267
9494
|
path: _path + ".bucket",
|
|
6268
9495
|
expected: "(string | undefined)",
|
|
6269
9496
|
value: input.bucket
|
|
6270
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
9497
|
+
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
6271
9498
|
path: _path + ".type",
|
|
6272
|
-
expected: "\"file\"",
|
|
9499
|
+
expected: "(\"file\" | undefined)",
|
|
6273
9500
|
value: input.type
|
|
6274
9501
|
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
6275
9502
|
path: _path + ".host",
|
|
@@ -6299,7 +9526,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6299
9526
|
path: _path + ".listConcurrency",
|
|
6300
9527
|
expected: "(number | undefined)",
|
|
6301
9528
|
value: input.listConcurrency
|
|
6302
|
-
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
9529
|
+
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) || _report(_exceptionable, {
|
|
6303
9530
|
path: _path + ".metafile",
|
|
6304
9531
|
expected: "(__type | undefined)",
|
|
6305
9532
|
value: input.metafile
|
|
@@ -6311,7 +9538,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6311
9538
|
path: _path + ".userNotificationsEnabled",
|
|
6312
9539
|
expected: "(boolean | undefined)",
|
|
6313
9540
|
value: input.userNotificationsEnabled
|
|
6314
|
-
}),
|
|
9541
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6315
9542
|
if (["protocol", "client", "bucket", "type", "host", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6316
9543
|
return true;
|
|
6317
9544
|
const value = input[key];
|
|
@@ -6327,17 +9554,17 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6327
9554
|
"Please remove the property next time."
|
|
6328
9555
|
].join("\n")
|
|
6329
9556
|
});
|
|
6330
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
9557
|
+
}).every(flag => flag))].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "smb" === input.protocol || _report(_exceptionable, {
|
|
6331
9558
|
path: _path + ".protocol",
|
|
6332
|
-
expected: "\"smb\"",
|
|
9559
|
+
expected: "(\"smb\" | undefined)",
|
|
6333
9560
|
value: input.protocol
|
|
6334
|
-
}), "string" === typeof input.host || _report(_exceptionable, {
|
|
9561
|
+
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
6335
9562
|
path: _path + ".host",
|
|
6336
|
-
expected: "string",
|
|
9563
|
+
expected: "(string | undefined)",
|
|
6337
9564
|
value: input.host
|
|
6338
|
-
}), "string" === typeof input.share || _report(_exceptionable, {
|
|
9565
|
+
}), undefined === input.share || "string" === typeof input.share || _report(_exceptionable, {
|
|
6339
9566
|
path: _path + ".share",
|
|
6340
|
-
expected: "string",
|
|
9567
|
+
expected: "(string | undefined)",
|
|
6341
9568
|
value: input.share
|
|
6342
9569
|
}), undefined === input.workgroup || "string" === typeof input.workgroup || _report(_exceptionable, {
|
|
6343
9570
|
path: _path + ".workgroup",
|
|
@@ -6351,9 +9578,9 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6351
9578
|
path: _path + ".password",
|
|
6352
9579
|
expected: "(string | undefined)",
|
|
6353
9580
|
value: input.password
|
|
6354
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
9581
|
+
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
6355
9582
|
path: _path + ".type",
|
|
6356
|
-
expected: "\"file\"",
|
|
9583
|
+
expected: "(\"file\" | undefined)",
|
|
6357
9584
|
value: input.type
|
|
6358
9585
|
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
6359
9586
|
path: _path + ".port",
|
|
@@ -6379,7 +9606,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6379
9606
|
path: _path + ".listConcurrency",
|
|
6380
9607
|
expected: "(number | undefined)",
|
|
6381
9608
|
value: input.listConcurrency
|
|
6382
|
-
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
9609
|
+
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) || _report(_exceptionable, {
|
|
6383
9610
|
path: _path + ".metafile",
|
|
6384
9611
|
expected: "(__type | undefined)",
|
|
6385
9612
|
value: input.metafile
|
|
@@ -6391,7 +9618,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6391
9618
|
path: _path + ".userNotificationsEnabled",
|
|
6392
9619
|
expected: "(boolean | undefined)",
|
|
6393
9620
|
value: input.userNotificationsEnabled
|
|
6394
|
-
}),
|
|
9621
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6395
9622
|
if (["protocol", "host", "share", "workgroup", "username", "password", "type", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6396
9623
|
return true;
|
|
6397
9624
|
const value = input[key];
|
|
@@ -6407,13 +9634,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6407
9634
|
"Please remove the property next time."
|
|
6408
9635
|
].join("\n")
|
|
6409
9636
|
});
|
|
6410
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
9637
|
+
}).every(flag => flag))].every(flag => flag); const _vo75 = (input, _path, _exceptionable = true) => [undefined === input.protocol || "sftp" === input.protocol || _report(_exceptionable, {
|
|
6411
9638
|
path: _path + ".protocol",
|
|
6412
|
-
expected: "\"sftp\"",
|
|
9639
|
+
expected: "(\"sftp\" | undefined)",
|
|
6413
9640
|
value: input.protocol
|
|
6414
|
-
}), "string" === typeof input.host || _report(_exceptionable, {
|
|
9641
|
+
}), undefined === input.host || "string" === typeof input.host || _report(_exceptionable, {
|
|
6415
9642
|
path: _path + ".host",
|
|
6416
|
-
expected: "string",
|
|
9643
|
+
expected: "(string | undefined)",
|
|
6417
9644
|
value: input.host
|
|
6418
9645
|
}), undefined === input.username || "string" === typeof input.username || _report(_exceptionable, {
|
|
6419
9646
|
path: _path + ".username",
|
|
@@ -6443,9 +9670,9 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6443
9670
|
path: _path + ".mode",
|
|
6444
9671
|
expected: "(\"lftp\" | \"libcurl\" | \"openssh\" | \"ssh2\" | undefined)",
|
|
6445
9672
|
value: input.mode
|
|
6446
|
-
}), "file" === input.type || _report(_exceptionable, {
|
|
9673
|
+
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
6447
9674
|
path: _path + ".type",
|
|
6448
|
-
expected: "\"file\"",
|
|
9675
|
+
expected: "(\"file\" | undefined)",
|
|
6449
9676
|
value: input.type
|
|
6450
9677
|
}), undefined === input.port || "string" === typeof input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
6451
9678
|
path: _path + ".port",
|
|
@@ -6471,7 +9698,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6471
9698
|
path: _path + ".listConcurrency",
|
|
6472
9699
|
expected: "(number | undefined)",
|
|
6473
9700
|
value: input.listConcurrency
|
|
6474
|
-
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
9701
|
+
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) || _report(_exceptionable, {
|
|
6475
9702
|
path: _path + ".metafile",
|
|
6476
9703
|
expected: "(__type | undefined)",
|
|
6477
9704
|
value: input.metafile
|
|
@@ -6483,7 +9710,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6483
9710
|
path: _path + ".userNotificationsEnabled",
|
|
6484
9711
|
expected: "(boolean | undefined)",
|
|
6485
9712
|
value: input.userNotificationsEnabled
|
|
6486
|
-
}),
|
|
9713
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6487
9714
|
if (["protocol", "host", "username", "password", "privateKey", "timezone", "debug", "root", "mode", "type", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6488
9715
|
return true;
|
|
6489
9716
|
const value = input[key];
|
|
@@ -6499,16 +9726,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6499
9726
|
"Please remove the property next time."
|
|
6500
9727
|
].join("\n")
|
|
6501
9728
|
});
|
|
6502
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
9729
|
+
}).every(flag => flag))].every(flag => flag); const _vo76 = (input, _path, _exceptionable = true) => [undefined === input.type || "facebook" === input.type || _report(_exceptionable, {
|
|
6503
9730
|
path: _path + ".type",
|
|
6504
|
-
expected: "\"facebook\"",
|
|
9731
|
+
expected: "(\"facebook\" | undefined)",
|
|
6505
9732
|
value: input.type
|
|
6506
9733
|
}), undefined === input.grantedScopes || (Array.isArray(input.grantedScopes) || _report(_exceptionable, {
|
|
6507
9734
|
path: _path + ".grantedScopes",
|
|
6508
9735
|
expected: "(Array<string> | undefined)",
|
|
6509
9736
|
value: input.grantedScopes
|
|
6510
|
-
})) && input.grantedScopes.map((elem,
|
|
6511
|
-
path: _path + ".grantedScopes[" +
|
|
9737
|
+
})) && input.grantedScopes.map((elem, _index8) => "string" === typeof elem || _report(_exceptionable, {
|
|
9738
|
+
path: _path + ".grantedScopes[" + _index8 + "]",
|
|
6512
9739
|
expected: "string",
|
|
6513
9740
|
value: elem
|
|
6514
9741
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -6519,7 +9746,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6519
9746
|
path: _path + ".userNotificationsEnabled",
|
|
6520
9747
|
expected: "(boolean | undefined)",
|
|
6521
9748
|
value: input.userNotificationsEnabled
|
|
6522
|
-
}),
|
|
9749
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6523
9750
|
if (["type", "grantedScopes", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6524
9751
|
return true;
|
|
6525
9752
|
const value = input[key];
|
|
@@ -6535,9 +9762,9 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6535
9762
|
"Please remove the property next time."
|
|
6536
9763
|
].join("\n")
|
|
6537
9764
|
});
|
|
6538
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
9765
|
+
}).every(flag => flag))].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.type || "reuters" === input.type || _report(_exceptionable, {
|
|
6539
9766
|
path: _path + ".type",
|
|
6540
|
-
expected: "\"reuters\"",
|
|
9767
|
+
expected: "(\"reuters\" | undefined)",
|
|
6541
9768
|
value: input.type
|
|
6542
9769
|
}), undefined === input.clientId || "string" === typeof input.clientId || _report(_exceptionable, {
|
|
6543
9770
|
path: _path + ".clientId",
|
|
@@ -6555,7 +9782,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6555
9782
|
path: _path + ".userNotificationsEnabled",
|
|
6556
9783
|
expected: "(boolean | undefined)",
|
|
6557
9784
|
value: input.userNotificationsEnabled
|
|
6558
|
-
}),
|
|
9785
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6559
9786
|
if (["type", "clientId", "clientSecret", "audience", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6560
9787
|
return true;
|
|
6561
9788
|
const value = input[key];
|
|
@@ -6571,19 +9798,15 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6571
9798
|
"Please remove the property next time."
|
|
6572
9799
|
].join("\n")
|
|
6573
9800
|
});
|
|
6574
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
6575
|
-
path: _path + ".type",
|
|
6576
|
-
expected: "null",
|
|
6577
|
-
value: input.type
|
|
6578
|
-
})) && (null === input.type || _report(_exceptionable, {
|
|
9801
|
+
}).every(flag => flag))].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
6579
9802
|
path: _path + ".type",
|
|
6580
|
-
expected: "null",
|
|
9803
|
+
expected: "(null | undefined)",
|
|
6581
9804
|
value: input.type
|
|
6582
|
-
})
|
|
9805
|
+
}), undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled || _report(_exceptionable, {
|
|
6583
9806
|
path: _path + ".userNotificationsEnabled",
|
|
6584
9807
|
expected: "(boolean | undefined)",
|
|
6585
9808
|
value: input.userNotificationsEnabled
|
|
6586
|
-
}),
|
|
9809
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
6587
9810
|
if (["type", "userNotificationsEnabled"].some(prop => key === prop))
|
|
6588
9811
|
return true;
|
|
6589
9812
|
const value = input[key];
|
|
@@ -6600,37 +9823,133 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
6600
9823
|
].join("\n")
|
|
6601
9824
|
});
|
|
6602
9825
|
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
6603
|
-
if (
|
|
9826
|
+
if (undefined !== input.__context)
|
|
9827
|
+
return _vo14(input, _path, true && _exceptionable);
|
|
9828
|
+
else
|
|
9829
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
9830
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
9831
|
+
if (undefined !== input.__context)
|
|
9832
|
+
return _vo17(input, _path, true && _exceptionable);
|
|
9833
|
+
else
|
|
9834
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
9835
|
+
})(); const _vu2 = (input, _path, _exceptionable = true) => (() => {
|
|
9836
|
+
if (undefined !== input.__context)
|
|
9837
|
+
return _vo19(input, _path, true && _exceptionable);
|
|
9838
|
+
else
|
|
9839
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
9840
|
+
})(); const _vu3 = (input, _path, _exceptionable = true) => (() => {
|
|
9841
|
+
if (undefined !== input.__context)
|
|
9842
|
+
return _vo31(input, _path, true && _exceptionable);
|
|
9843
|
+
else
|
|
9844
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
9845
|
+
})(); const _vu4 = (input, _path, _exceptionable = true) => (() => {
|
|
9846
|
+
if (undefined !== input.__context)
|
|
9847
|
+
return _vo32(input, _path, true && _exceptionable);
|
|
9848
|
+
else
|
|
9849
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
9850
|
+
})(); const _vu5 = (input, _path, _exceptionable = true) => (() => {
|
|
9851
|
+
if (undefined !== input.__context)
|
|
9852
|
+
return _vo33(input, _path, true && _exceptionable);
|
|
9853
|
+
else
|
|
9854
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
9855
|
+
})(); const _vu6 = (input, _path, _exceptionable = true) => (() => {
|
|
9856
|
+
if (undefined !== input.__context)
|
|
9857
|
+
return _vo37(input, _path, true && _exceptionable);
|
|
9858
|
+
else
|
|
9859
|
+
return _vo36(input, _path, true && _exceptionable);
|
|
9860
|
+
})(); const _vu7 = (input, _path, _exceptionable = true) => (() => {
|
|
9861
|
+
if (undefined !== input.__context)
|
|
9862
|
+
return _vo42(input, _path, true && _exceptionable);
|
|
9863
|
+
else
|
|
9864
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
9865
|
+
})(); const _vu8 = (input, _path, _exceptionable = true) => (() => {
|
|
9866
|
+
if (undefined !== input.__context)
|
|
9867
|
+
return _vo43(input, _path, true && _exceptionable);
|
|
9868
|
+
else
|
|
9869
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
9870
|
+
})(); const _vu9 = (input, _path, _exceptionable = true) => (() => {
|
|
9871
|
+
if (undefined !== input.__context)
|
|
9872
|
+
return _vo44(input, _path, true && _exceptionable);
|
|
9873
|
+
else
|
|
9874
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
9875
|
+
})(); const _vu10 = (input, _path, _exceptionable = true) => (() => {
|
|
9876
|
+
if (undefined !== input.__context)
|
|
9877
|
+
return _vo53(input, _path, true && _exceptionable);
|
|
9878
|
+
else
|
|
9879
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
9880
|
+
})(); const _vu11 = (input, _path, _exceptionable = true) => (() => {
|
|
9881
|
+
if (undefined !== input.__context)
|
|
9882
|
+
return _vo54(input, _path, true && _exceptionable);
|
|
9883
|
+
else
|
|
9884
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
9885
|
+
})(); const _vu12 = (input, _path, _exceptionable = true) => (() => {
|
|
9886
|
+
if (undefined !== input.__context)
|
|
9887
|
+
return _vo55(input, _path, true && _exceptionable);
|
|
9888
|
+
else
|
|
9889
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
9890
|
+
})(); const _vu13 = (input, _path, _exceptionable = true) => (() => {
|
|
9891
|
+
if (undefined !== input.__context)
|
|
9892
|
+
return _vo61(input, _path, true && _exceptionable);
|
|
9893
|
+
else
|
|
9894
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
9895
|
+
})(); const _vu14 = (input, _path, _exceptionable = true) => (() => {
|
|
9896
|
+
if (undefined !== input.__context)
|
|
9897
|
+
return _vo62(input, _path, true && _exceptionable);
|
|
9898
|
+
else
|
|
9899
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
9900
|
+
})(); const _vu15 = (input, _path, _exceptionable = true) => (() => {
|
|
9901
|
+
if (undefined !== input.__context)
|
|
9902
|
+
return _vo63(input, _path, true && _exceptionable);
|
|
9903
|
+
else
|
|
9904
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
9905
|
+
})(); const _vu16 = (input, _path, _exceptionable = true) => (() => {
|
|
9906
|
+
if (undefined !== input.__context)
|
|
9907
|
+
return _vo69(input, _path, true && _exceptionable);
|
|
9908
|
+
else
|
|
9909
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
9910
|
+
})(); const _vu17 = (input, _path, _exceptionable = true) => (() => {
|
|
9911
|
+
if (undefined !== input.__context)
|
|
9912
|
+
return _vo70(input, _path, true && _exceptionable);
|
|
9913
|
+
else
|
|
9914
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
9915
|
+
})(); const _vu18 = (input, _path, _exceptionable = true) => (() => {
|
|
9916
|
+
if (undefined !== input.__context)
|
|
9917
|
+
return _vo71(input, _path, true && _exceptionable);
|
|
9918
|
+
else
|
|
9919
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
9920
|
+
})(); const _vu19 = (input, _path, _exceptionable = true) => (() => {
|
|
9921
|
+
if (_vo0(input, _path, false && _exceptionable))
|
|
6604
9922
|
return _vo0(input, _path, true && _exceptionable);
|
|
6605
|
-
|
|
9923
|
+
if (_vo2(input, _path, false && _exceptionable))
|
|
6606
9924
|
return _vo2(input, _path, true && _exceptionable);
|
|
6607
|
-
|
|
6608
|
-
return
|
|
6609
|
-
|
|
6610
|
-
return
|
|
6611
|
-
|
|
6612
|
-
return
|
|
6613
|
-
|
|
6614
|
-
return
|
|
6615
|
-
|
|
6616
|
-
return
|
|
6617
|
-
|
|
6618
|
-
return
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
9925
|
+
if (_vo73(input, _path, false && _exceptionable))
|
|
9926
|
+
return _vo73(input, _path, true && _exceptionable);
|
|
9927
|
+
if (_vo74(input, _path, false && _exceptionable))
|
|
9928
|
+
return _vo74(input, _path, true && _exceptionable);
|
|
9929
|
+
if (_vo75(input, _path, false && _exceptionable))
|
|
9930
|
+
return _vo75(input, _path, true && _exceptionable);
|
|
9931
|
+
if (_vo76(input, _path, false && _exceptionable))
|
|
9932
|
+
return _vo76(input, _path, true && _exceptionable);
|
|
9933
|
+
if (_vo77(input, _path, false && _exceptionable))
|
|
9934
|
+
return _vo77(input, _path, true && _exceptionable);
|
|
9935
|
+
if (_vo78(input, _path, false && _exceptionable))
|
|
9936
|
+
return _vo78(input, _path, true && _exceptionable);
|
|
9937
|
+
return _report(_exceptionable, {
|
|
9938
|
+
path: _path,
|
|
9939
|
+
expected: "(FileConnectionFtpRecord | FileConnectionHttpRecord | FileConnectionS3Record | FileConnectionSmbRecord | FileConnectionSftpRecord | FacebookConnectionRecord | ReutersConnectionRecord | EmptyConnectionRecord)",
|
|
9940
|
+
value: input
|
|
9941
|
+
});
|
|
9942
|
+
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu19(input, true); let errors; let _report; return input => {
|
|
6624
9943
|
if (false === __is(input)) {
|
|
6625
9944
|
errors = [];
|
|
6626
9945
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
6627
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
9946
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
6628
9947
|
path: _path + "",
|
|
6629
|
-
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
9948
|
+
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionHttpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
6630
9949
|
value: input
|
|
6631
|
-
})) &&
|
|
9950
|
+
})) && _vu19(input, _path + "", true) || _report(true, {
|
|
6632
9951
|
path: _path + "",
|
|
6633
|
-
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
9952
|
+
expected: "(EmptyConnectionRecord | FacebookConnectionRecord | FileConnectionFtpRecord | FileConnectionHttpRecord | FileConnectionS3Record | FileConnectionSftpRecord | FileConnectionSmbRecord | ReutersConnectionRecord)",
|
|
6634
9953
|
value: input
|
|
6635
9954
|
}))(input, "$input", true);
|
|
6636
9955
|
const success = 0 === errors.length;
|
|
@@ -19941,7 +23260,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19941
23260
|
}; })()(input);
|
|
19942
23261
|
}
|
|
19943
23262
|
case ":settings": {
|
|
19944
|
-
return (() => { const
|
|
23263
|
+
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, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io2(input["module"], true && _exceptionable)) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io6(input.upload, true && _exceptionable)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io7(input.download, true && _exceptionable)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io8(input.browser, true && _exceptionable)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io12(input.toolbarTags, true && _exceptionable)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every((elem, _index1) => Array.isArray(elem) && elem.every((elem, _index2) => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io13(input.deadlines, true && _exceptionable)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io14(input.assignees, true && _exceptionable)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io15(input.comments, true && _exceptionable)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io16(input.clock, true && _exceptionable)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io17(input.swarm, true && _exceptionable)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io18(input.dashboard, true && _exceptionable)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io19(input.script, true && _exceptionable)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io24(input.events, true && _exceptionable)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io27(input.rundown, true && _exceptionable)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io28(input.gallery, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io42(input.media, true && _exceptionable)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io55(input.edit, true && _exceptionable)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every((elem, _index3) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io57(elem, true && _exceptionable))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every((elem, _index4) => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && _io58(input.storyboard, true && _exceptionable)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io67(input.print, true && _exceptionable)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every((elem, _index5) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io68(elem, true && _exceptionable))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io69(input.plugins, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io73(input.flags, true && _exceptionable)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io74(input.notifications, true && _exceptionable)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
19945
23264
|
if (["autoLogoutTime", "permission", "module", "upload", "download", "browser", "toolbarTags", "exclusiveTagGroups", "deadlines", "assignees", "comments", "clock", "swarm", "dashboard", "script", "events", "rundown", "gallery", "history", "keymap", "media", "edit", "commands", "predefinedTags", "storyboard", "print", "hiddenPreviews", "plugins", "crashScreen", "debug", "featurePreview", "flags", "notifications", "suppressDeleteAlert"].some(prop => key === prop))
|
|
19946
23265
|
return true;
|
|
19947
23266
|
const value = input[key];
|
|
@@ -20230,8 +23549,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
20230
23549
|
if (undefined === value)
|
|
20231
23550
|
return true;
|
|
20232
23551
|
return false;
|
|
20233
|
-
})); const _io45 = (input, _exceptionable = true) => (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, _index18) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem, true && _exceptionable))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every((elem, _index19) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
20234
|
-
if (["spacing", "maxCharactersPerLine", "suggestions", "colors"].some(prop => key === prop))
|
|
23552
|
+
})); const _io45 = (input, _exceptionable = true) => (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, _index18) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem, true && _exceptionable))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every((elem, _index19) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem, true && _exceptionable))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every((elem, _index20) => null === elem || true === _iv21.has(elem))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23553
|
+
if (["spacing", "maxCharactersPerLine", "suggestions", "colors", "overridableProperties"].some(prop => key === prop))
|
|
20235
23554
|
return true;
|
|
20236
23555
|
const value = input[key];
|
|
20237
23556
|
if (undefined === value)
|
|
@@ -20279,7 +23598,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
20279
23598
|
if (undefined === value)
|
|
20280
23599
|
return true;
|
|
20281
23600
|
return false;
|
|
20282
|
-
})); const _io52 = (input, _exceptionable = true) => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every((elem,
|
|
23601
|
+
})); const _io52 = (input, _exceptionable = true) => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every((elem, _index22) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io53(elem, true && _exceptionable))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
20283
23602
|
if (["enabled", "text", "offset", "duration"].some(prop => key === prop))
|
|
20284
23603
|
return true;
|
|
20285
23604
|
const value = input[key];
|
|
@@ -20293,7 +23612,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
20293
23612
|
if (undefined === value)
|
|
20294
23613
|
return true;
|
|
20295
23614
|
return false;
|
|
20296
|
-
})); const _io54 = (input, _exceptionable = true) => (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,
|
|
23615
|
+
})); const _io54 = (input, _exceptionable = true) => (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, _index23) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
20297
23616
|
if (["url", "command", "app", "args"].some(prop => key === prop))
|
|
20298
23617
|
return true;
|
|
20299
23618
|
const value = input[key];
|
|
@@ -20314,7 +23633,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
20314
23633
|
if (undefined === value)
|
|
20315
23634
|
return true;
|
|
20316
23635
|
return false;
|
|
20317
|
-
})); const _io57 = (input, _exceptionable = true) => (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,
|
|
23636
|
+
})); const _io57 = (input, _exceptionable = true) => (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, _index24) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
20318
23637
|
if (["title", "command", "args"].some(prop => key === prop))
|
|
20319
23638
|
return true;
|
|
20320
23639
|
const value = input[key];
|
|
@@ -20363,7 +23682,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
20363
23682
|
if (undefined === value)
|
|
20364
23683
|
return true;
|
|
20365
23684
|
return false;
|
|
20366
|
-
})); const _io64 = (input, _exceptionable = true) => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io65(input.search, true && _exceptionable)) && (undefined === input.sortMode || true ===
|
|
23685
|
+
})); const _io64 = (input, _exceptionable = true) => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io65(input.search, true && _exceptionable)) && (undefined === input.sortMode || true === _iv25.has(input.sortMode)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
20367
23686
|
if (["search", "sortMode"].some(prop => key === prop))
|
|
20368
23687
|
return true;
|
|
20369
23688
|
const value = input[key];
|
|
@@ -20384,7 +23703,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
20384
23703
|
if (undefined === value)
|
|
20385
23704
|
return true;
|
|
20386
23705
|
return false;
|
|
20387
|
-
})); const _io67 = (input, _exceptionable = true) => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every((elem,
|
|
23706
|
+
})); const _io67 = (input, _exceptionable = true) => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every((elem, _index26) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
20388
23707
|
if (["fontFamilies"].some(prop => key === prop))
|
|
20389
23708
|
return true;
|
|
20390
23709
|
const value = input[key];
|
|
@@ -20440,7 +23759,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
20440
23759
|
if (undefined === value)
|
|
20441
23760
|
return true;
|
|
20442
23761
|
return false;
|
|
20443
|
-
})); const _io75 = (input, _exceptionable = true) => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every((elem,
|
|
23762
|
+
})); const _io75 = (input, _exceptionable = true) => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every((elem, _index27) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every((elem, _index28) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every((elem, _index29) => "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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
20444
23763
|
if (["comment", "assigned", "unassigned", "publishSucceeded"].some(prop => key === prop))
|
|
20445
23764
|
return true;
|
|
20446
23765
|
const value = input[key];
|
|
@@ -20451,7 +23770,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
20451
23770
|
const value = input[key];
|
|
20452
23771
|
if (undefined === value)
|
|
20453
23772
|
return true;
|
|
20454
|
-
return Array.isArray(value) && value.every((elem,
|
|
23773
|
+
return Array.isArray(value) && value.every((elem, _index30) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
20455
23774
|
}); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
20456
23775
|
path: _path + ".autoLogoutTime",
|
|
20457
23776
|
expected: "(number | undefined)",
|
|
@@ -20508,16 +23827,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
20508
23827
|
path: _path + ".exclusiveTagGroups",
|
|
20509
23828
|
expected: "(Array<Array<string>> | undefined)",
|
|
20510
23829
|
value: input.exclusiveTagGroups
|
|
20511
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
20512
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
23830
|
+
})) && input.exclusiveTagGroups.map((elem, _index31) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
23831
|
+
path: _path + ".exclusiveTagGroups[" + _index31 + "]",
|
|
20513
23832
|
expected: "Array<string>",
|
|
20514
23833
|
value: elem
|
|
20515
|
-
})) && elem.map((elem,
|
|
20516
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
23834
|
+
})) && elem.map((elem, _index32) => "string" === typeof elem || _report(_exceptionable, {
|
|
23835
|
+
path: _path + ".exclusiveTagGroups[" + _index31 + "][" + _index32 + "]",
|
|
20517
23836
|
expected: "string",
|
|
20518
23837
|
value: elem
|
|
20519
23838
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
20520
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
23839
|
+
path: _path + ".exclusiveTagGroups[" + _index31 + "]",
|
|
20521
23840
|
expected: "Array<string>",
|
|
20522
23841
|
value: elem
|
|
20523
23842
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20636,12 +23955,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
20636
23955
|
path: _path + ".commands",
|
|
20637
23956
|
expected: "(Array<__type>.o4 | undefined)",
|
|
20638
23957
|
value: input.commands
|
|
20639
|
-
})) && input.commands.map((elem,
|
|
20640
|
-
path: _path + ".commands[" +
|
|
23958
|
+
})) && input.commands.map((elem, _index33) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
23959
|
+
path: _path + ".commands[" + _index33 + "]",
|
|
20641
23960
|
expected: "__type.o50",
|
|
20642
23961
|
value: elem
|
|
20643
|
-
})) && _vo57(elem, _path + ".commands[" +
|
|
20644
|
-
path: _path + ".commands[" +
|
|
23962
|
+
})) && _vo57(elem, _path + ".commands[" + _index33 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
23963
|
+
path: _path + ".commands[" + _index33 + "]",
|
|
20645
23964
|
expected: "__type.o50",
|
|
20646
23965
|
value: elem
|
|
20647
23966
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20652,8 +23971,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
20652
23971
|
path: _path + ".predefinedTags",
|
|
20653
23972
|
expected: "(Array<string> | undefined)",
|
|
20654
23973
|
value: input.predefinedTags
|
|
20655
|
-
})) && input.predefinedTags.map((elem,
|
|
20656
|
-
path: _path + ".predefinedTags[" +
|
|
23974
|
+
})) && input.predefinedTags.map((elem, _index34) => "string" === typeof elem || _report(_exceptionable, {
|
|
23975
|
+
path: _path + ".predefinedTags[" + _index34 + "]",
|
|
20657
23976
|
expected: "string",
|
|
20658
23977
|
value: elem
|
|
20659
23978
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20680,12 +23999,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
20680
23999
|
path: _path + ".hiddenPreviews",
|
|
20681
24000
|
expected: "(Array<__type>.o5 | undefined)",
|
|
20682
24001
|
value: input.hiddenPreviews
|
|
20683
|
-
})) && input.hiddenPreviews.map((elem,
|
|
20684
|
-
path: _path + ".hiddenPreviews[" +
|
|
24002
|
+
})) && input.hiddenPreviews.map((elem, _index35) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
24003
|
+
path: _path + ".hiddenPreviews[" + _index35 + "]",
|
|
20685
24004
|
expected: "__type.o61",
|
|
20686
24005
|
value: elem
|
|
20687
|
-
})) && _vo68(elem, _path + ".hiddenPreviews[" +
|
|
20688
|
-
path: _path + ".hiddenPreviews[" +
|
|
24006
|
+
})) && _vo68(elem, _path + ".hiddenPreviews[" + _index35 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
24007
|
+
path: _path + ".hiddenPreviews[" + _index35 + "]",
|
|
20689
24008
|
expected: "__type.o61",
|
|
20690
24009
|
value: elem
|
|
20691
24010
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21011,8 +24330,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21011
24330
|
path: _path + ".sortOrder",
|
|
21012
24331
|
expected: "(Array<string> | undefined)",
|
|
21013
24332
|
value: input.sortOrder
|
|
21014
|
-
})) && input.sortOrder.map((elem,
|
|
21015
|
-
path: _path + ".sortOrder[" +
|
|
24333
|
+
})) && input.sortOrder.map((elem, _index36) => "string" === typeof elem || _report(_exceptionable, {
|
|
24334
|
+
path: _path + ".sortOrder[" + _index36 + "]",
|
|
21016
24335
|
expected: "string",
|
|
21017
24336
|
value: elem
|
|
21018
24337
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21039,8 +24358,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21039
24358
|
path: _path + ".exclude",
|
|
21040
24359
|
expected: "(Array<string> | undefined)",
|
|
21041
24360
|
value: input.exclude
|
|
21042
|
-
})) && input.exclude.map((elem,
|
|
21043
|
-
path: _path + ".exclude[" +
|
|
24361
|
+
})) && input.exclude.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
|
|
24362
|
+
path: _path + ".exclude[" + _index37 + "]",
|
|
21044
24363
|
expected: "string",
|
|
21045
24364
|
value: elem
|
|
21046
24365
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21067,8 +24386,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21067
24386
|
path: _path + ".include",
|
|
21068
24387
|
expected: "(Array<string> | undefined)",
|
|
21069
24388
|
value: input.include
|
|
21070
|
-
})) && input.include.map((elem,
|
|
21071
|
-
path: _path + ".include[" +
|
|
24389
|
+
})) && input.include.map((elem, _index38) => "string" === typeof elem || _report(_exceptionable, {
|
|
24390
|
+
path: _path + ".include[" + _index38 + "]",
|
|
21072
24391
|
expected: "string",
|
|
21073
24392
|
value: elem
|
|
21074
24393
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21079,8 +24398,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21079
24398
|
path: _path + ".exclude",
|
|
21080
24399
|
expected: "(Array<string> | undefined)",
|
|
21081
24400
|
value: input.exclude
|
|
21082
|
-
})) && input.exclude.map((elem,
|
|
21083
|
-
path: _path + ".exclude[" +
|
|
24401
|
+
})) && input.exclude.map((elem, _index39) => "string" === typeof elem || _report(_exceptionable, {
|
|
24402
|
+
path: _path + ".exclude[" + _index39 + "]",
|
|
21084
24403
|
expected: "string",
|
|
21085
24404
|
value: elem
|
|
21086
24405
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21107,8 +24426,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21107
24426
|
path: _path + ".include",
|
|
21108
24427
|
expected: "(Array<string> | undefined)",
|
|
21109
24428
|
value: input.include
|
|
21110
|
-
})) && input.include.map((elem,
|
|
21111
|
-
path: _path + ".include[" +
|
|
24429
|
+
})) && input.include.map((elem, _index40) => "string" === typeof elem || _report(_exceptionable, {
|
|
24430
|
+
path: _path + ".include[" + _index40 + "]",
|
|
21112
24431
|
expected: "string",
|
|
21113
24432
|
value: elem
|
|
21114
24433
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21119,8 +24438,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21119
24438
|
path: _path + ".exclude",
|
|
21120
24439
|
expected: "(Array<string> | undefined)",
|
|
21121
24440
|
value: input.exclude
|
|
21122
|
-
})) && input.exclude.map((elem,
|
|
21123
|
-
path: _path + ".exclude[" +
|
|
24441
|
+
})) && input.exclude.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
24442
|
+
path: _path + ".exclude[" + _index41 + "]",
|
|
21124
24443
|
expected: "string",
|
|
21125
24444
|
value: elem
|
|
21126
24445
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21147,8 +24466,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21147
24466
|
path: _path + ".include",
|
|
21148
24467
|
expected: "(Array<string> | undefined)",
|
|
21149
24468
|
value: input.include
|
|
21150
|
-
})) && input.include.map((elem,
|
|
21151
|
-
path: _path + ".include[" +
|
|
24469
|
+
})) && input.include.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
24470
|
+
path: _path + ".include[" + _index42 + "]",
|
|
21152
24471
|
expected: "string",
|
|
21153
24472
|
value: elem
|
|
21154
24473
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21159,8 +24478,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21159
24478
|
path: _path + ".exclude",
|
|
21160
24479
|
expected: "(Array<string> | undefined)",
|
|
21161
24480
|
value: input.exclude
|
|
21162
|
-
})) && input.exclude.map((elem,
|
|
21163
|
-
path: _path + ".exclude[" +
|
|
24481
|
+
})) && input.exclude.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
24482
|
+
path: _path + ".exclude[" + _index43 + "]",
|
|
21164
24483
|
expected: "string",
|
|
21165
24484
|
value: elem
|
|
21166
24485
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21287,12 +24606,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21287
24606
|
path: _path + ".colorTags",
|
|
21288
24607
|
expected: "(Array<PromotedTag> | undefined)",
|
|
21289
24608
|
value: input.colorTags
|
|
21290
|
-
})) && input.colorTags.map((elem,
|
|
21291
|
-
path: _path + ".colorTags[" +
|
|
24609
|
+
})) && input.colorTags.map((elem, _index44) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
24610
|
+
path: _path + ".colorTags[" + _index44 + "]",
|
|
21292
24611
|
expected: "PromotedTag",
|
|
21293
24612
|
value: elem
|
|
21294
|
-
})) && _vo21(elem, _path + ".colorTags[" +
|
|
21295
|
-
path: _path + ".colorTags[" +
|
|
24613
|
+
})) && _vo21(elem, _path + ".colorTags[" + _index44 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
24614
|
+
path: _path + ".colorTags[" + _index44 + "]",
|
|
21296
24615
|
expected: "PromotedTag",
|
|
21297
24616
|
value: elem
|
|
21298
24617
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21432,8 +24751,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21432
24751
|
path: _path + ".favorites",
|
|
21433
24752
|
expected: "(Array<string> | undefined)",
|
|
21434
24753
|
value: input.favorites
|
|
21435
|
-
})) && input.favorites.map((elem,
|
|
21436
|
-
path: _path + ".favorites[" +
|
|
24754
|
+
})) && input.favorites.map((elem, _index45) => "string" === typeof elem || _report(_exceptionable, {
|
|
24755
|
+
path: _path + ".favorites[" + _index45 + "]",
|
|
21437
24756
|
expected: "string",
|
|
21438
24757
|
value: elem
|
|
21439
24758
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21876,8 +25195,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21876
25195
|
path: _path + ".playbackRates",
|
|
21877
25196
|
expected: "(Array<number> | undefined)",
|
|
21878
25197
|
value: input.playbackRates
|
|
21879
|
-
})) && input.playbackRates.map((elem,
|
|
21880
|
-
path: _path + ".playbackRates[" +
|
|
25198
|
+
})) && input.playbackRates.map((elem, _index46) => "number" === typeof elem || _report(_exceptionable, {
|
|
25199
|
+
path: _path + ".playbackRates[" + _index46 + "]",
|
|
21881
25200
|
expected: "number",
|
|
21882
25201
|
value: elem
|
|
21883
25202
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21904,12 +25223,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21904
25223
|
path: _path + ".guides",
|
|
21905
25224
|
expected: "(Array<__type>.o2 | undefined)",
|
|
21906
25225
|
value: input.guides
|
|
21907
|
-
})) && input.guides.map((elem,
|
|
21908
|
-
path: _path + ".guides[" +
|
|
25226
|
+
})) && input.guides.map((elem, _index47) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
25227
|
+
path: _path + ".guides[" + _index47 + "]",
|
|
21909
25228
|
expected: "__type.o41",
|
|
21910
25229
|
value: elem
|
|
21911
|
-
})) && _vo48(elem, _path + ".guides[" +
|
|
21912
|
-
path: _path + ".guides[" +
|
|
25230
|
+
})) && _vo48(elem, _path + ".guides[" + _index47 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
25231
|
+
path: _path + ".guides[" + _index47 + "]",
|
|
21913
25232
|
expected: "__type.o41",
|
|
21914
25233
|
value: elem
|
|
21915
25234
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22028,12 +25347,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22028
25347
|
path: _path + ".suggestions",
|
|
22029
25348
|
expected: "(Array<__type> | undefined)",
|
|
22030
25349
|
value: input.suggestions
|
|
22031
|
-
})) && input.suggestions.map((elem,
|
|
22032
|
-
path: _path + ".suggestions[" +
|
|
25350
|
+
})) && input.suggestions.map((elem, _index48) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
25351
|
+
path: _path + ".suggestions[" + _index48 + "]",
|
|
22033
25352
|
expected: "__type.o39",
|
|
22034
25353
|
value: elem
|
|
22035
|
-
})) && _vo46(elem, _path + ".suggestions[" +
|
|
22036
|
-
path: _path + ".suggestions[" +
|
|
25354
|
+
})) && _vo46(elem, _path + ".suggestions[" + _index48 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
25355
|
+
path: _path + ".suggestions[" + _index48 + "]",
|
|
22037
25356
|
expected: "__type.o39",
|
|
22038
25357
|
value: elem
|
|
22039
25358
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22044,20 +25363,32 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22044
25363
|
path: _path + ".colors",
|
|
22045
25364
|
expected: "(Array<__type>.o1 | undefined)",
|
|
22046
25365
|
value: input.colors
|
|
22047
|
-
})) && input.colors.map((elem,
|
|
22048
|
-
path: _path + ".colors[" +
|
|
25366
|
+
})) && input.colors.map((elem, _index49) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
25367
|
+
path: _path + ".colors[" + _index49 + "]",
|
|
22049
25368
|
expected: "__type.o40",
|
|
22050
25369
|
value: elem
|
|
22051
|
-
})) && _vo47(elem, _path + ".colors[" +
|
|
22052
|
-
path: _path + ".colors[" +
|
|
25370
|
+
})) && _vo47(elem, _path + ".colors[" + _index49 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
25371
|
+
path: _path + ".colors[" + _index49 + "]",
|
|
22053
25372
|
expected: "__type.o40",
|
|
22054
25373
|
value: elem
|
|
22055
25374
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
22056
25375
|
path: _path + ".colors",
|
|
22057
25376
|
expected: "(Array<__type>.o1 | undefined)",
|
|
22058
25377
|
value: input.colors
|
|
25378
|
+
}), undefined === input.overridableProperties || (Array.isArray(input.overridableProperties) || _report(_exceptionable, {
|
|
25379
|
+
path: _path + ".overridableProperties",
|
|
25380
|
+
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
25381
|
+
value: input.overridableProperties
|
|
25382
|
+
})) && input.overridableProperties.map((elem, _index50) => null === elem || true === _vv51.has(elem) || _report(_exceptionable, {
|
|
25383
|
+
path: _path + ".overridableProperties[" + _index50 + "]",
|
|
25384
|
+
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)",
|
|
25385
|
+
value: elem
|
|
25386
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
25387
|
+
path: _path + ".overridableProperties",
|
|
25388
|
+
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
25389
|
+
value: input.overridableProperties
|
|
22059
25390
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
22060
|
-
if (["spacing", "maxCharactersPerLine", "suggestions", "colors"].some(prop => key === prop))
|
|
25391
|
+
if (["spacing", "maxCharactersPerLine", "suggestions", "colors", "overridableProperties"].some(prop => key === prop))
|
|
22061
25392
|
return true;
|
|
22062
25393
|
const value = input[key];
|
|
22063
25394
|
if (undefined === value)
|
|
@@ -22240,12 +25571,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22240
25571
|
path: _path + ".text",
|
|
22241
25572
|
expected: "(Array<__type>.o3 | undefined)",
|
|
22242
25573
|
value: input.text
|
|
22243
|
-
})) && input.text.map((elem,
|
|
22244
|
-
path: _path + ".text[" +
|
|
25574
|
+
})) && input.text.map((elem, _index52) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
25575
|
+
path: _path + ".text[" + _index52 + "]",
|
|
22245
25576
|
expected: "__type.o46",
|
|
22246
25577
|
value: elem
|
|
22247
|
-
})) && _vo53(elem, _path + ".text[" +
|
|
22248
|
-
path: _path + ".text[" +
|
|
25578
|
+
})) && _vo53(elem, _path + ".text[" + _index52 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
25579
|
+
path: _path + ".text[" + _index52 + "]",
|
|
22249
25580
|
expected: "__type.o46",
|
|
22250
25581
|
value: elem
|
|
22251
25582
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22316,8 +25647,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22316
25647
|
path: _path + ".args",
|
|
22317
25648
|
expected: "(Array<string> | undefined)",
|
|
22318
25649
|
value: input.args
|
|
22319
|
-
})) && input.args.map((elem,
|
|
22320
|
-
path: _path + ".args[" +
|
|
25650
|
+
})) && input.args.map((elem, _index53) => "string" === typeof elem || _report(_exceptionable, {
|
|
25651
|
+
path: _path + ".args[" + _index53 + "]",
|
|
22321
25652
|
expected: "string",
|
|
22322
25653
|
value: elem
|
|
22323
25654
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22416,8 +25747,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22416
25747
|
path: _path + ".args",
|
|
22417
25748
|
expected: "(Array<string> | undefined)",
|
|
22418
25749
|
value: input.args
|
|
22419
|
-
})) && input.args.map((elem,
|
|
22420
|
-
path: _path + ".args[" +
|
|
25750
|
+
})) && input.args.map((elem, _index54) => "string" === typeof elem || _report(_exceptionable, {
|
|
25751
|
+
path: _path + ".args[" + _index54 + "]",
|
|
22421
25752
|
expected: "string",
|
|
22422
25753
|
value: elem
|
|
22423
25754
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22620,7 +25951,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22620
25951
|
path: _path + ".search",
|
|
22621
25952
|
expected: "(__type.o58 | undefined)",
|
|
22622
25953
|
value: input.search
|
|
22623
|
-
}), undefined === input.sortMode || true ===
|
|
25954
|
+
}), undefined === input.sortMode || true === _vv55.has(input.sortMode) || _report(_exceptionable, {
|
|
22624
25955
|
path: _path + ".sortMode",
|
|
22625
25956
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
22626
25957
|
value: input.sortMode
|
|
@@ -22684,8 +26015,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22684
26015
|
path: _path + ".fontFamilies",
|
|
22685
26016
|
expected: "(Array<string> | undefined)",
|
|
22686
26017
|
value: input.fontFamilies
|
|
22687
|
-
})) && input.fontFamilies.map((elem,
|
|
22688
|
-
path: _path + ".fontFamilies[" +
|
|
26018
|
+
})) && input.fontFamilies.map((elem, _index56) => "string" === typeof elem || _report(_exceptionable, {
|
|
26019
|
+
path: _path + ".fontFamilies[" + _index56 + "]",
|
|
22689
26020
|
expected: "string",
|
|
22690
26021
|
value: elem
|
|
22691
26022
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22944,8 +26275,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22944
26275
|
path: _path + ".comment",
|
|
22945
26276
|
expected: "(Array<NotificationReason> | undefined)",
|
|
22946
26277
|
value: input.comment
|
|
22947
|
-
})) && input.comment.map((elem,
|
|
22948
|
-
path: _path + ".comment[" +
|
|
26278
|
+
})) && input.comment.map((elem, _index57) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
26279
|
+
path: _path + ".comment[" + _index57 + "]",
|
|
22949
26280
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
22950
26281
|
value: elem
|
|
22951
26282
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22956,8 +26287,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22956
26287
|
path: _path + ".assigned",
|
|
22957
26288
|
expected: "(Array<NotificationReason> | undefined)",
|
|
22958
26289
|
value: input.assigned
|
|
22959
|
-
})) && input.assigned.map((elem,
|
|
22960
|
-
path: _path + ".assigned[" +
|
|
26290
|
+
})) && input.assigned.map((elem, _index58) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
26291
|
+
path: _path + ".assigned[" + _index58 + "]",
|
|
22961
26292
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
22962
26293
|
value: elem
|
|
22963
26294
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22968,8 +26299,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22968
26299
|
path: _path + ".unassigned",
|
|
22969
26300
|
expected: "(Array<NotificationReason> | undefined)",
|
|
22970
26301
|
value: input.unassigned
|
|
22971
|
-
})) && input.unassigned.map((elem,
|
|
22972
|
-
path: _path + ".unassigned[" +
|
|
26302
|
+
})) && input.unassigned.map((elem, _index59) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
26303
|
+
path: _path + ".unassigned[" + _index59 + "]",
|
|
22973
26304
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
22974
26305
|
value: elem
|
|
22975
26306
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -23008,8 +26339,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23008
26339
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23009
26340
|
expected: "Array<NotificationReason>",
|
|
23010
26341
|
value: value
|
|
23011
|
-
})) && value.map((elem,
|
|
23012
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
26342
|
+
})) && value.map((elem, _index60) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
26343
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index60 + "]",
|
|
23013
26344
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
23014
26345
|
value: elem
|
|
23015
26346
|
})).every(flag => flag) || _report(_exceptionable, {
|