@nxtedition/types 1.6.4 → 1.6.6

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.
@@ -1,29 +1,35 @@
1
1
  import __typia from "typia";
2
2
  export const isFile = input => {
3
- const $io0 = input => "string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io2(elem)) || "object" === typeof input.error && null !== input.error && $io2(input.error))));
3
+ const $io0 = input => "string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && ("object" === typeof elem[0] && null !== elem[0] && false === Array.isArray(elem[0]) && $io2(elem[0])) && ("object" === typeof elem[1] && null !== elem[1] && false === Array.isArray(elem[1]) && $io2(elem[1]))))) && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io5(elem)) || "object" === typeof input.error && null !== input.error && $io5(input.error))));
4
4
  const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end);
5
- const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
6
- const $io3 = input => Object.keys(input).every(key => {
5
+ const $io2 = input => undefined === input["typia.tag"] || "object" === typeof input["typia.tag"] && null !== input["typia.tag"] && $io3(input["typia.tag"]);
6
+ const $io3 = input => "number" === input.target && "minimum" === input.kind && 0 === input.value && "0 <= $input" === input.validate && (Array.isArray(input.exclusive) && (input.exclusive.length === 2 && "minimum" === input.exclusive[0] && "exclusiveMinimum" === input.exclusive[1])) && ("object" === typeof input.schema && null !== input.schema && $io4(input.schema));
7
+ const $io4 = input => 0 === input.minimum;
8
+ const $io5 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io6(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io7(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io5(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
9
+ const $io6 = input => Object.keys(input).every(key => {
7
10
  const value = input[key];
8
11
  if (undefined === value)
9
12
  return true;
10
13
  return "string" === typeof value;
11
14
  });
12
- const $io4 = input => true;
15
+ const $io7 = input => true;
13
16
  return "object" === typeof input && null !== input && $io0(input);
14
17
  };
15
18
  export const assertFile = (input, errorFactory) => {
16
19
  const __is = input => {
17
- const $io0 = input => "string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io2(elem)) || "object" === typeof input.error && null !== input.error && $io2(input.error))));
20
+ const $io0 = input => "string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && ("object" === typeof elem[0] && null !== elem[0] && false === Array.isArray(elem[0]) && $io2(elem[0])) && ("object" === typeof elem[1] && null !== elem[1] && false === Array.isArray(elem[1]) && $io2(elem[1]))))) && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io5(elem)) || "object" === typeof input.error && null !== input.error && $io5(input.error))));
18
21
  const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end);
19
- const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
20
- const $io3 = input => Object.keys(input).every(key => {
22
+ const $io2 = input => undefined === input["typia.tag"] || "object" === typeof input["typia.tag"] && null !== input["typia.tag"] && $io3(input["typia.tag"]);
23
+ const $io3 = input => "number" === input.target && "minimum" === input.kind && 0 === input.value && "0 <= $input" === input.validate && (Array.isArray(input.exclusive) && (input.exclusive.length === 2 && "minimum" === input.exclusive[0] && "exclusiveMinimum" === input.exclusive[1])) && ("object" === typeof input.schema && null !== input.schema && $io4(input.schema));
24
+ const $io4 = input => 0 === input.minimum;
25
+ const $io5 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io6(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io7(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io5(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
26
+ const $io6 = input => Object.keys(input).every(key => {
21
27
  const value = input[key];
22
28
  if (undefined === value)
23
29
  return true;
24
30
  return "string" === typeof value;
25
31
  });
26
- const $io4 = input => true;
32
+ const $io7 = input => true;
27
33
  return "object" === typeof input && null !== input && $io0(input);
28
34
  };
29
35
  if (false === __is(input))
@@ -94,6 +100,42 @@ export const assertFile = (input, errorFactory) => {
94
100
  path: _path + ".mimeType",
95
101
  expected: "string",
96
102
  value: input.mimeType
103
+ }, errorFactory)) && ((Array.isArray(input.ranges) || $guard(_exceptionable, {
104
+ path: _path + ".ranges",
105
+ expected: "Array<[start: Minimum<0>, end: Minimum<0>]>",
106
+ value: input.ranges
107
+ }, errorFactory)) && input.ranges.every((elem, _index3) => (Array.isArray(elem) || $guard(_exceptionable, {
108
+ path: _path + ".ranges[" + _index3 + "]",
109
+ expected: "[start: Minimum<0>, end: Minimum<0>]",
110
+ value: elem
111
+ }, errorFactory)) && ((elem.length === 2 || $guard(_exceptionable, {
112
+ path: _path + ".ranges[" + _index3 + "]",
113
+ expected: "[Minimum<0>, Minimum<0>]",
114
+ value: elem
115
+ }, errorFactory)) && (("object" === typeof elem[0] && null !== elem[0] && false === Array.isArray(elem[0]) || $guard(_exceptionable, {
116
+ path: _path + ".ranges[" + _index3 + "][0]",
117
+ expected: "Minimum<0>",
118
+ value: elem[0]
119
+ }, errorFactory)) && $ao2(elem[0], _path + ".ranges[" + _index3 + "][0]", true && _exceptionable) || $guard(_exceptionable, {
120
+ path: _path + ".ranges[" + _index3 + "][0]",
121
+ expected: "Minimum<0>",
122
+ value: elem[0]
123
+ }, errorFactory)) && (("object" === typeof elem[1] && null !== elem[1] && false === Array.isArray(elem[1]) || $guard(_exceptionable, {
124
+ path: _path + ".ranges[" + _index3 + "][1]",
125
+ expected: "Minimum<0>",
126
+ value: elem[1]
127
+ }, errorFactory)) && $ao2(elem[1], _path + ".ranges[" + _index3 + "][1]", true && _exceptionable) || $guard(_exceptionable, {
128
+ path: _path + ".ranges[" + _index3 + "][1]",
129
+ expected: "Minimum<0>",
130
+ value: elem[1]
131
+ }, errorFactory))) || $guard(_exceptionable, {
132
+ path: _path + ".ranges[" + _index3 + "]",
133
+ expected: "[start: Minimum<0>, end: Minimum<0>]",
134
+ value: elem
135
+ }, errorFactory)) || $guard(_exceptionable, {
136
+ path: _path + ".ranges",
137
+ expected: "Array<[start: Minimum<0>, end: Minimum<0>]>",
138
+ value: input.ranges
97
139
  }, errorFactory)) && ("string" === typeof input.hash && (/^([A-Fa-f0-9]{32})?$/.test(input.hash) || $guard(_exceptionable, {
98
140
  path: _path + ".hash",
99
141
  expected: "string & Pattern<\"^([A-Fa-f0-9]{32})?$\">",
@@ -122,15 +164,15 @@ export const assertFile = (input, errorFactory) => {
122
164
  path: _path + ".error",
123
165
  expected: "(Array<NxtError> | NxtError | null)",
124
166
  value: input.error
125
- }, errorFactory)) && (null === input.error || (Array.isArray(input.error) && input.error.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
126
- path: _path + ".error[" + _index3 + "]",
167
+ }, errorFactory)) && (null === input.error || (Array.isArray(input.error) && input.error.every((elem, _index4) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
168
+ path: _path + ".error[" + _index4 + "]",
127
169
  expected: "NxtError",
128
170
  value: elem
129
- }, errorFactory)) && $ao2(elem, _path + ".error[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
130
- path: _path + ".error[" + _index3 + "]",
171
+ }, errorFactory)) && $ao5(elem, _path + ".error[" + _index4 + "]", true && _exceptionable) || $guard(_exceptionable, {
172
+ path: _path + ".error[" + _index4 + "]",
131
173
  expected: "NxtError",
132
174
  value: elem
133
- }, errorFactory)) || "object" === typeof input.error && null !== input.error && $ao2(input.error, _path + ".error", true && _exceptionable) || $guard(_exceptionable, {
175
+ }, errorFactory)) || "object" === typeof input.error && null !== input.error && $ao5(input.error, _path + ".error", true && _exceptionable) || $guard(_exceptionable, {
134
176
  path: _path + ".error",
135
177
  expected: "(Array<NxtError> | NxtError | null)",
136
178
  value: input.error
@@ -156,7 +198,66 @@ export const assertFile = (input, errorFactory) => {
156
198
  expected: "(number | undefined)",
157
199
  value: input.end
158
200
  }, errorFactory));
159
- const $ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.message || $guard(_exceptionable, {
201
+ const $ao2 = (input, _path, _exceptionable = true) => undefined === input["typia.tag"] || ("object" === typeof input["typia.tag"] && null !== input["typia.tag"] || $guard(_exceptionable, {
202
+ path: _path + "[\"typia.tag\"]",
203
+ expected: "(__type.o1 | undefined)",
204
+ value: input["typia.tag"]
205
+ }, errorFactory)) && $ao3(input["typia.tag"], _path + "[\"typia.tag\"]", true && _exceptionable) || $guard(_exceptionable, {
206
+ path: _path + "[\"typia.tag\"]",
207
+ expected: "(__type.o1 | undefined)",
208
+ value: input["typia.tag"]
209
+ }, errorFactory);
210
+ const $ao3 = (input, _path, _exceptionable = true) => ("number" === input.target || $guard(_exceptionable, {
211
+ path: _path + ".target",
212
+ expected: "\"number\"",
213
+ value: input.target
214
+ }, errorFactory)) && ("minimum" === input.kind || $guard(_exceptionable, {
215
+ path: _path + ".kind",
216
+ expected: "\"minimum\"",
217
+ value: input.kind
218
+ }, errorFactory)) && (0 === input.value || $guard(_exceptionable, {
219
+ path: _path + ".value",
220
+ expected: "0",
221
+ value: input.value
222
+ }, errorFactory)) && ("0 <= $input" === input.validate || $guard(_exceptionable, {
223
+ path: _path + ".validate",
224
+ expected: "\"0 <= $input\"",
225
+ value: input.validate
226
+ }, errorFactory)) && ((Array.isArray(input.exclusive) || $guard(_exceptionable, {
227
+ path: _path + ".exclusive",
228
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
229
+ value: input.exclusive
230
+ }, errorFactory)) && ((input.exclusive.length === 2 || $guard(_exceptionable, {
231
+ path: _path + ".exclusive",
232
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
233
+ value: input.exclusive
234
+ }, errorFactory)) && ("minimum" === input.exclusive[0] || $guard(_exceptionable, {
235
+ path: _path + ".exclusive[0]",
236
+ expected: "\"minimum\"",
237
+ value: input.exclusive[0]
238
+ }, errorFactory)) && ("exclusiveMinimum" === input.exclusive[1] || $guard(_exceptionable, {
239
+ path: _path + ".exclusive[1]",
240
+ expected: "\"exclusiveMinimum\"",
241
+ value: input.exclusive[1]
242
+ }, errorFactory))) || $guard(_exceptionable, {
243
+ path: _path + ".exclusive",
244
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
245
+ value: input.exclusive
246
+ }, errorFactory)) && (("object" === typeof input.schema && null !== input.schema || $guard(_exceptionable, {
247
+ path: _path + ".schema",
248
+ expected: "__type.o2",
249
+ value: input.schema
250
+ }, errorFactory)) && $ao4(input.schema, _path + ".schema", true && _exceptionable) || $guard(_exceptionable, {
251
+ path: _path + ".schema",
252
+ expected: "__type.o2",
253
+ value: input.schema
254
+ }, errorFactory));
255
+ const $ao4 = (input, _path, _exceptionable = true) => 0 === input.minimum || $guard(_exceptionable, {
256
+ path: _path + ".minimum",
257
+ expected: "0",
258
+ value: input.minimum
259
+ }, errorFactory);
260
+ const $ao5 = (input, _path, _exceptionable = true) => ("string" === typeof input.message || $guard(_exceptionable, {
160
261
  path: _path + ".message",
161
262
  expected: "string",
162
263
  value: input.message
@@ -184,7 +285,7 @@ export const assertFile = (input, errorFactory) => {
184
285
  path: _path + ".headers",
185
286
  expected: "(Record<string, string> | undefined)",
186
287
  value: input.headers
187
- }, errorFactory)) && $ao3(input.headers, _path + ".headers", true && _exceptionable) || $guard(_exceptionable, {
288
+ }, errorFactory)) && $ao6(input.headers, _path + ".headers", true && _exceptionable) || $guard(_exceptionable, {
188
289
  path: _path + ".headers",
189
290
  expected: "(Record<string, string> | undefined)",
190
291
  value: input.headers
@@ -192,7 +293,7 @@ export const assertFile = (input, errorFactory) => {
192
293
  path: _path + ".data",
193
294
  expected: "(object | undefined)",
194
295
  value: input.data
195
- }, errorFactory)) && $ao4(input.data, _path + ".data", true && _exceptionable) || $guard(_exceptionable, {
296
+ }, errorFactory)) && $ao7(input.data, _path + ".data", true && _exceptionable) || $guard(_exceptionable, {
196
297
  path: _path + ".data",
197
298
  expected: "(object | undefined)",
198
299
  value: input.data
@@ -200,7 +301,7 @@ export const assertFile = (input, errorFactory) => {
200
301
  path: _path + ".cause",
201
302
  expected: "(NxtError | null | undefined)",
202
303
  value: input.cause
203
- }, errorFactory)) && $ao2(input.cause, _path + ".cause", true && _exceptionable) || $guard(_exceptionable, {
304
+ }, errorFactory)) && $ao5(input.cause, _path + ".cause", true && _exceptionable) || $guard(_exceptionable, {
204
305
  path: _path + ".cause",
205
306
  expected: "(NxtError | null | undefined)",
206
307
  value: input.cause
@@ -208,12 +309,12 @@ export const assertFile = (input, errorFactory) => {
208
309
  path: _path + ".errors",
209
310
  expected: "(Array<NxtError> | null | undefined)",
210
311
  value: input.errors
211
- }, errorFactory)) && input.errors.every((elem, _index4) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
212
- path: _path + ".errors[" + _index4 + "]",
312
+ }, errorFactory)) && input.errors.every((elem, _index5) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
313
+ path: _path + ".errors[" + _index5 + "]",
213
314
  expected: "NxtError",
214
315
  value: elem
215
- }, errorFactory)) && $ao2(elem, _path + ".errors[" + _index4 + "]", true && _exceptionable) || $guard(_exceptionable, {
216
- path: _path + ".errors[" + _index4 + "]",
316
+ }, errorFactory)) && $ao5(elem, _path + ".errors[" + _index5 + "]", true && _exceptionable) || $guard(_exceptionable, {
317
+ path: _path + ".errors[" + _index5 + "]",
217
318
  expected: "NxtError",
218
319
  value: elem
219
320
  }, errorFactory)) || $guard(_exceptionable, {
@@ -221,7 +322,7 @@ export const assertFile = (input, errorFactory) => {
221
322
  expected: "(Array<NxtError> | null | undefined)",
222
323
  value: input.errors
223
324
  }, errorFactory));
224
- const $ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
325
+ const $ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
225
326
  const value = input[key];
226
327
  if (undefined === value)
227
328
  return true;
@@ -231,7 +332,7 @@ export const assertFile = (input, errorFactory) => {
231
332
  value: value
232
333
  }, errorFactory);
233
334
  });
234
- const $ao4 = (input, _path, _exceptionable = true) => true;
335
+ const $ao7 = (input, _path, _exceptionable = true) => true;
235
336
  return ("object" === typeof input && null !== input || $guard(true, {
236
337
  path: _path + "",
237
338
  expected: "File",
@@ -276,6 +377,10 @@ export const randomFile = generator => {
276
377
  tags: (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()),
277
378
  resumable: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
278
379
  mimeType: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
380
+ ranges: (generator?.array ?? $generator.array)(() => [
381
+ $ro2(_recursive, _recursive ? 1 + _depth : _depth),
382
+ $ro2(_recursive, _recursive ? 1 + _depth : _depth)
383
+ ]),
279
384
  hash: (generator?.customs ?? $generator.customs)?.string?.([
280
385
  {
281
386
  name: "Pattern<\"^([A-Fa-f0-9]{32})?$\">",
@@ -298,8 +403,8 @@ export const randomFile = generator => {
298
403
  completed: (generator?.boolean ?? $generator.boolean)(),
299
404
  error: $pick([
300
405
  () => null,
301
- () => (generator?.array ?? $generator.array)(() => $ro2(_recursive, _recursive ? 1 + _depth : _depth)),
302
- () => $ro2(_recursive, _recursive ? 1 + _depth : _depth)
406
+ () => (generator?.array ?? $generator.array)(() => $ro5(_recursive, _recursive ? 1 + _depth : _depth)),
407
+ () => $ro5(_recursive, _recursive ? 1 + _depth : _depth)
303
408
  ])()
304
409
  });
305
410
  const $ro1 = (_recursive = false, _depth = 0) => ({
@@ -320,7 +425,27 @@ export const randomFile = generator => {
320
425
  () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
321
426
  ])()
322
427
  });
323
- const $ro2 = (_recursive = true, _depth = 0) => ({
428
+ const $ro2 = (_recursive = false, _depth = 0) => ({
429
+ "typia.tag": $pick([
430
+ () => undefined,
431
+ () => $ro3(_recursive, _recursive ? 1 + _depth : _depth)
432
+ ])()
433
+ });
434
+ const $ro3 = (_recursive = false, _depth = 0) => ({
435
+ target: "number",
436
+ kind: "minimum",
437
+ value: 0,
438
+ validate: "0 <= $input",
439
+ exclusive: [
440
+ "minimum",
441
+ "exclusiveMinimum"
442
+ ],
443
+ schema: $ro4(_recursive, _recursive ? 1 + _depth : _depth)
444
+ });
445
+ const $ro4 = (_recursive = false, _depth = 0) => ({
446
+ minimum: 0
447
+ });
448
+ const $ro5 = (_recursive = true, _depth = 0) => ({
324
449
  message: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
325
450
  type: $pick([
326
451
  () => undefined,
@@ -344,43 +469,46 @@ export const randomFile = generator => {
344
469
  ])(),
345
470
  headers: $pick([
346
471
  () => undefined,
347
- () => $ro3(true, _recursive ? 1 + _depth : _depth)
472
+ () => $ro6(true, _recursive ? 1 + _depth : _depth)
348
473
  ])(),
349
474
  data: $pick([
350
475
  () => undefined,
351
- () => $ro4(true, _recursive ? 1 + _depth : _depth)
476
+ () => $ro7(true, _recursive ? 1 + _depth : _depth)
352
477
  ])(),
353
478
  cause: $pick([
354
479
  () => undefined,
355
480
  () => null,
356
- () => $ro2(true, _recursive ? 1 + _depth : _depth)
481
+ () => $ro5(true, _recursive ? 1 + _depth : _depth)
357
482
  ])(),
358
483
  errors: $pick([
359
484
  () => undefined,
360
485
  () => null,
361
- () => _recursive && 5 < _depth ? [] : 5 >= _depth ? (generator?.array ?? $generator.array)(() => $ro2(true, _recursive ? 1 + _depth : _depth)) : []
486
+ () => _recursive && 5 < _depth ? [] : 5 >= _depth ? (generator?.array ?? $generator.array)(() => $ro5(true, _recursive ? 1 + _depth : _depth)) : []
362
487
  ])()
363
488
  });
364
- const $ro3 = (_recursive = false, _depth = 0) => {
489
+ const $ro6 = (_recursive = false, _depth = 0) => {
365
490
  const output = {};
366
491
  (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(), (generator?.integer ?? $generator.integer)(0, 3));
367
492
  return output;
368
493
  };
369
- const $ro4 = (_recursive = false, _depth = 0) => {};
494
+ const $ro7 = (_recursive = false, _depth = 0) => {};
370
495
  return $ro0();
371
496
  };
372
497
  export const assertGuardFile = (input, errorFactory) => {
373
498
  const __is = input => {
374
- const $io0 = input => "string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io2(elem)) || "object" === typeof input.error && null !== input.error && $io2(input.error))));
499
+ const $io0 = input => "string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && ("object" === typeof elem[0] && null !== elem[0] && false === Array.isArray(elem[0]) && $io2(elem[0])) && ("object" === typeof elem[1] && null !== elem[1] && false === Array.isArray(elem[1]) && $io2(elem[1]))))) && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io5(elem)) || "object" === typeof input.error && null !== input.error && $io5(input.error))));
375
500
  const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end);
376
- const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
377
- const $io3 = input => Object.keys(input).every(key => {
501
+ const $io2 = input => undefined === input["typia.tag"] || "object" === typeof input["typia.tag"] && null !== input["typia.tag"] && $io3(input["typia.tag"]);
502
+ const $io3 = input => "number" === input.target && "minimum" === input.kind && 0 === input.value && "0 <= $input" === input.validate && (Array.isArray(input.exclusive) && (input.exclusive.length === 2 && "minimum" === input.exclusive[0] && "exclusiveMinimum" === input.exclusive[1])) && ("object" === typeof input.schema && null !== input.schema && $io4(input.schema));
503
+ const $io4 = input => 0 === input.minimum;
504
+ const $io5 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io6(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io7(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io5(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
505
+ const $io6 = input => Object.keys(input).every(key => {
378
506
  const value = input[key];
379
507
  if (undefined === value)
380
508
  return true;
381
509
  return "string" === typeof value;
382
510
  });
383
- const $io4 = input => true;
511
+ const $io7 = input => true;
384
512
  return "object" === typeof input && null !== input && $io0(input);
385
513
  };
386
514
  if (false === __is(input))
@@ -451,6 +579,42 @@ export const assertGuardFile = (input, errorFactory) => {
451
579
  path: _path + ".mimeType",
452
580
  expected: "string",
453
581
  value: input.mimeType
582
+ }, errorFactory)) && ((Array.isArray(input.ranges) || $guard(_exceptionable, {
583
+ path: _path + ".ranges",
584
+ expected: "Array<[start: Minimum<0>, end: Minimum<0>]>",
585
+ value: input.ranges
586
+ }, errorFactory)) && input.ranges.every((elem, _index3) => (Array.isArray(elem) || $guard(_exceptionable, {
587
+ path: _path + ".ranges[" + _index3 + "]",
588
+ expected: "[start: Minimum<0>, end: Minimum<0>]",
589
+ value: elem
590
+ }, errorFactory)) && ((elem.length === 2 || $guard(_exceptionable, {
591
+ path: _path + ".ranges[" + _index3 + "]",
592
+ expected: "[Minimum<0>, Minimum<0>]",
593
+ value: elem
594
+ }, errorFactory)) && (("object" === typeof elem[0] && null !== elem[0] && false === Array.isArray(elem[0]) || $guard(_exceptionable, {
595
+ path: _path + ".ranges[" + _index3 + "][0]",
596
+ expected: "Minimum<0>",
597
+ value: elem[0]
598
+ }, errorFactory)) && $ao2(elem[0], _path + ".ranges[" + _index3 + "][0]", true && _exceptionable) || $guard(_exceptionable, {
599
+ path: _path + ".ranges[" + _index3 + "][0]",
600
+ expected: "Minimum<0>",
601
+ value: elem[0]
602
+ }, errorFactory)) && (("object" === typeof elem[1] && null !== elem[1] && false === Array.isArray(elem[1]) || $guard(_exceptionable, {
603
+ path: _path + ".ranges[" + _index3 + "][1]",
604
+ expected: "Minimum<0>",
605
+ value: elem[1]
606
+ }, errorFactory)) && $ao2(elem[1], _path + ".ranges[" + _index3 + "][1]", true && _exceptionable) || $guard(_exceptionable, {
607
+ path: _path + ".ranges[" + _index3 + "][1]",
608
+ expected: "Minimum<0>",
609
+ value: elem[1]
610
+ }, errorFactory))) || $guard(_exceptionable, {
611
+ path: _path + ".ranges[" + _index3 + "]",
612
+ expected: "[start: Minimum<0>, end: Minimum<0>]",
613
+ value: elem
614
+ }, errorFactory)) || $guard(_exceptionable, {
615
+ path: _path + ".ranges",
616
+ expected: "Array<[start: Minimum<0>, end: Minimum<0>]>",
617
+ value: input.ranges
454
618
  }, errorFactory)) && ("string" === typeof input.hash && (/^([A-Fa-f0-9]{32})?$/.test(input.hash) || $guard(_exceptionable, {
455
619
  path: _path + ".hash",
456
620
  expected: "string & Pattern<\"^([A-Fa-f0-9]{32})?$\">",
@@ -479,15 +643,15 @@ export const assertGuardFile = (input, errorFactory) => {
479
643
  path: _path + ".error",
480
644
  expected: "(Array<NxtError> | NxtError | null)",
481
645
  value: input.error
482
- }, errorFactory)) && (null === input.error || (Array.isArray(input.error) && input.error.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
483
- path: _path + ".error[" + _index3 + "]",
646
+ }, errorFactory)) && (null === input.error || (Array.isArray(input.error) && input.error.every((elem, _index4) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
647
+ path: _path + ".error[" + _index4 + "]",
484
648
  expected: "NxtError",
485
649
  value: elem
486
- }, errorFactory)) && $ao2(elem, _path + ".error[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
487
- path: _path + ".error[" + _index3 + "]",
650
+ }, errorFactory)) && $ao5(elem, _path + ".error[" + _index4 + "]", true && _exceptionable) || $guard(_exceptionable, {
651
+ path: _path + ".error[" + _index4 + "]",
488
652
  expected: "NxtError",
489
653
  value: elem
490
- }, errorFactory)) || "object" === typeof input.error && null !== input.error && $ao2(input.error, _path + ".error", true && _exceptionable) || $guard(_exceptionable, {
654
+ }, errorFactory)) || "object" === typeof input.error && null !== input.error && $ao5(input.error, _path + ".error", true && _exceptionable) || $guard(_exceptionable, {
491
655
  path: _path + ".error",
492
656
  expected: "(Array<NxtError> | NxtError | null)",
493
657
  value: input.error
@@ -513,7 +677,66 @@ export const assertGuardFile = (input, errorFactory) => {
513
677
  expected: "(number | undefined)",
514
678
  value: input.end
515
679
  }, errorFactory));
516
- const $ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.message || $guard(_exceptionable, {
680
+ const $ao2 = (input, _path, _exceptionable = true) => undefined === input["typia.tag"] || ("object" === typeof input["typia.tag"] && null !== input["typia.tag"] || $guard(_exceptionable, {
681
+ path: _path + "[\"typia.tag\"]",
682
+ expected: "(__type.o1 | undefined)",
683
+ value: input["typia.tag"]
684
+ }, errorFactory)) && $ao3(input["typia.tag"], _path + "[\"typia.tag\"]", true && _exceptionable) || $guard(_exceptionable, {
685
+ path: _path + "[\"typia.tag\"]",
686
+ expected: "(__type.o1 | undefined)",
687
+ value: input["typia.tag"]
688
+ }, errorFactory);
689
+ const $ao3 = (input, _path, _exceptionable = true) => ("number" === input.target || $guard(_exceptionable, {
690
+ path: _path + ".target",
691
+ expected: "\"number\"",
692
+ value: input.target
693
+ }, errorFactory)) && ("minimum" === input.kind || $guard(_exceptionable, {
694
+ path: _path + ".kind",
695
+ expected: "\"minimum\"",
696
+ value: input.kind
697
+ }, errorFactory)) && (0 === input.value || $guard(_exceptionable, {
698
+ path: _path + ".value",
699
+ expected: "0",
700
+ value: input.value
701
+ }, errorFactory)) && ("0 <= $input" === input.validate || $guard(_exceptionable, {
702
+ path: _path + ".validate",
703
+ expected: "\"0 <= $input\"",
704
+ value: input.validate
705
+ }, errorFactory)) && ((Array.isArray(input.exclusive) || $guard(_exceptionable, {
706
+ path: _path + ".exclusive",
707
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
708
+ value: input.exclusive
709
+ }, errorFactory)) && ((input.exclusive.length === 2 || $guard(_exceptionable, {
710
+ path: _path + ".exclusive",
711
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
712
+ value: input.exclusive
713
+ }, errorFactory)) && ("minimum" === input.exclusive[0] || $guard(_exceptionable, {
714
+ path: _path + ".exclusive[0]",
715
+ expected: "\"minimum\"",
716
+ value: input.exclusive[0]
717
+ }, errorFactory)) && ("exclusiveMinimum" === input.exclusive[1] || $guard(_exceptionable, {
718
+ path: _path + ".exclusive[1]",
719
+ expected: "\"exclusiveMinimum\"",
720
+ value: input.exclusive[1]
721
+ }, errorFactory))) || $guard(_exceptionable, {
722
+ path: _path + ".exclusive",
723
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
724
+ value: input.exclusive
725
+ }, errorFactory)) && (("object" === typeof input.schema && null !== input.schema || $guard(_exceptionable, {
726
+ path: _path + ".schema",
727
+ expected: "__type.o2",
728
+ value: input.schema
729
+ }, errorFactory)) && $ao4(input.schema, _path + ".schema", true && _exceptionable) || $guard(_exceptionable, {
730
+ path: _path + ".schema",
731
+ expected: "__type.o2",
732
+ value: input.schema
733
+ }, errorFactory));
734
+ const $ao4 = (input, _path, _exceptionable = true) => 0 === input.minimum || $guard(_exceptionable, {
735
+ path: _path + ".minimum",
736
+ expected: "0",
737
+ value: input.minimum
738
+ }, errorFactory);
739
+ const $ao5 = (input, _path, _exceptionable = true) => ("string" === typeof input.message || $guard(_exceptionable, {
517
740
  path: _path + ".message",
518
741
  expected: "string",
519
742
  value: input.message
@@ -541,7 +764,7 @@ export const assertGuardFile = (input, errorFactory) => {
541
764
  path: _path + ".headers",
542
765
  expected: "(Record<string, string> | undefined)",
543
766
  value: input.headers
544
- }, errorFactory)) && $ao3(input.headers, _path + ".headers", true && _exceptionable) || $guard(_exceptionable, {
767
+ }, errorFactory)) && $ao6(input.headers, _path + ".headers", true && _exceptionable) || $guard(_exceptionable, {
545
768
  path: _path + ".headers",
546
769
  expected: "(Record<string, string> | undefined)",
547
770
  value: input.headers
@@ -549,7 +772,7 @@ export const assertGuardFile = (input, errorFactory) => {
549
772
  path: _path + ".data",
550
773
  expected: "(object | undefined)",
551
774
  value: input.data
552
- }, errorFactory)) && $ao4(input.data, _path + ".data", true && _exceptionable) || $guard(_exceptionable, {
775
+ }, errorFactory)) && $ao7(input.data, _path + ".data", true && _exceptionable) || $guard(_exceptionable, {
553
776
  path: _path + ".data",
554
777
  expected: "(object | undefined)",
555
778
  value: input.data
@@ -557,7 +780,7 @@ export const assertGuardFile = (input, errorFactory) => {
557
780
  path: _path + ".cause",
558
781
  expected: "(NxtError | null | undefined)",
559
782
  value: input.cause
560
- }, errorFactory)) && $ao2(input.cause, _path + ".cause", true && _exceptionable) || $guard(_exceptionable, {
783
+ }, errorFactory)) && $ao5(input.cause, _path + ".cause", true && _exceptionable) || $guard(_exceptionable, {
561
784
  path: _path + ".cause",
562
785
  expected: "(NxtError | null | undefined)",
563
786
  value: input.cause
@@ -565,12 +788,12 @@ export const assertGuardFile = (input, errorFactory) => {
565
788
  path: _path + ".errors",
566
789
  expected: "(Array<NxtError> | null | undefined)",
567
790
  value: input.errors
568
- }, errorFactory)) && input.errors.every((elem, _index4) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
569
- path: _path + ".errors[" + _index4 + "]",
791
+ }, errorFactory)) && input.errors.every((elem, _index5) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
792
+ path: _path + ".errors[" + _index5 + "]",
570
793
  expected: "NxtError",
571
794
  value: elem
572
- }, errorFactory)) && $ao2(elem, _path + ".errors[" + _index4 + "]", true && _exceptionable) || $guard(_exceptionable, {
573
- path: _path + ".errors[" + _index4 + "]",
795
+ }, errorFactory)) && $ao5(elem, _path + ".errors[" + _index5 + "]", true && _exceptionable) || $guard(_exceptionable, {
796
+ path: _path + ".errors[" + _index5 + "]",
574
797
  expected: "NxtError",
575
798
  value: elem
576
799
  }, errorFactory)) || $guard(_exceptionable, {
@@ -578,7 +801,7 @@ export const assertGuardFile = (input, errorFactory) => {
578
801
  expected: "(Array<NxtError> | null | undefined)",
579
802
  value: input.errors
580
803
  }, errorFactory));
581
- const $ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
804
+ const $ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
582
805
  const value = input[key];
583
806
  if (undefined === value)
584
807
  return true;
@@ -588,7 +811,7 @@ export const assertGuardFile = (input, errorFactory) => {
588
811
  value: value
589
812
  }, errorFactory);
590
813
  });
591
- const $ao4 = (input, _path, _exceptionable = true) => true;
814
+ const $ao7 = (input, _path, _exceptionable = true) => true;
592
815
  return ("object" === typeof input && null !== input || $guard(true, {
593
816
  path: _path + "",
594
817
  expected: "File",
@@ -602,45 +825,99 @@ export const assertGuardFile = (input, errorFactory) => {
602
825
  };
603
826
  export const stringifyFile = input => {
604
827
  const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end);
605
- const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
606
- const $io3 = input => Object.keys(input).every(key => {
828
+ const $io2 = input => undefined === input["typia.tag"] || "object" === typeof input["typia.tag"] && null !== input["typia.tag"] && $io3(input["typia.tag"]);
829
+ const $io3 = input => "number" === input.target && "minimum" === input.kind && 0 === input.value && "0 <= $input" === input.validate && (Array.isArray(input.exclusive) && (input.exclusive.length === 2 && "minimum" === input.exclusive[0] && "exclusiveMinimum" === input.exclusive[1])) && ("object" === typeof input.schema && null !== input.schema && $io4(input.schema));
830
+ const $io4 = input => 0 === input.minimum;
831
+ const $io5 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io6(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io7(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io5(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
832
+ const $io6 = input => Object.keys(input).every(key => {
607
833
  const value = input[key];
608
834
  if (undefined === value)
609
835
  return true;
610
836
  return "string" === typeof value;
611
837
  });
612
- const $io4 = input => true;
838
+ const $io7 = input => true;
613
839
  const $string = __typia.json.createStringify.string;
614
840
  const $throws = __typia.json.createStringify.throws;
615
841
  const $tail = __typia.json.createStringify.tail;
616
- const $so0 = input => `{"id":${$string(input.id)},"size":${null !== input.size ? input.size : "null"},"seekable":${input.seekable},"deleted":${input.deleted},"refs":${`[${input.refs.map(elem => $so1(elem)).join(",")}]`},"tags":${`[${input.tags.map(elem => $string(elem)).join(",")}]`},"resumable":${$string(input.resumable)},"mimeType":${$string(input.mimeType)},"hash":${$string(input.hash)},"btime":${input.btime},"completed":${input.completed},"error":${null !== input.error ? (() => {
842
+ const $so0 = input => `{"id":${$string(input.id)},"size":${null !== input.size ? input.size : "null"},"seekable":${input.seekable},"deleted":${input.deleted},"refs":${`[${input.refs.map(elem => $so1(elem)).join(",")}]`},"tags":${`[${input.tags.map(elem => $string(elem)).join(",")}]`},"resumable":${$string(input.resumable)},"mimeType":${$string(input.mimeType)},"ranges":${`[${input.ranges.map(elem => `[${$so2(elem[0])},${$so2(elem[1])}]`).join(",")}]`},"hash":${$string(input.hash)},"btime":${input.btime},"completed":${input.completed},"error":${null !== input.error ? (() => {
617
843
  if (Array.isArray(input.error))
618
- return `[${input.error.map(elem => $so2(elem)).join(",")}]`;
844
+ return `[${input.error.map(elem => $so5(elem)).join(",")}]`;
619
845
  if ("object" === typeof input.error && null !== input.error)
620
- return $so2(input.error);
846
+ return $so5(input.error);
621
847
  $throws({
622
848
  expected: "(Array<NxtError> | NxtError | null)",
623
849
  value: input.error
624
850
  });
625
851
  })() : "null"}}`;
626
852
  const $so1 = input => `{${$tail(`${undefined === input.file ? "" : `"file":${undefined !== input.file ? $string(input.file) : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined}`}`)}}`;
627
- const $so2 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.code ? "" : `"code":${undefined !== input.code ? $string(input.code) : undefined},`}${undefined === input.exitCode ? "" : `"exitCode":${undefined !== input.exitCode ? input.exitCode : undefined},`}${undefined === input.signalCode ? "" : `"signalCode":${undefined !== input.signalCode ? input.signalCode : undefined},`}${undefined === input.statusCode ? "" : `"statusCode":${undefined !== input.statusCode ? input.statusCode : undefined},`}${undefined === input.headers ? "" : `"headers":${undefined !== input.headers ? $so3(input.headers) : undefined},`}${undefined === input.data ? "" : `"data":${undefined !== input.data ? "{}" : undefined},`}${undefined === input.cause ? "" : `"cause":${undefined !== input.cause ? null !== input.cause ? $so2(input.cause) : "null" : undefined},`}${undefined === input.errors ? "" : `"errors":${undefined !== input.errors ? null !== input.errors ? `[${input.errors.map(elem => $so2(elem)).join(",")}]` : "null" : undefined},`}"message":${$string(input.message)}}`;
628
- const $so3 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
853
+ const $so2 = input => `{${$tail(`${undefined === input["typia.tag"] ? "" : `"typia.tag":${undefined !== input["typia.tag"] ? $so3(input["typia.tag"]) : undefined}`}`)}}`;
854
+ const $so3 = input => `{"target":${(() => {
855
+ if ("string" === typeof input.target)
856
+ return $string(input.target);
857
+ if ("string" === typeof input.target)
858
+ return "\"" + input.target + "\"";
859
+ $throws({
860
+ expected: "\"number\"",
861
+ value: input.target
862
+ });
863
+ })()},"kind":${(() => {
864
+ if ("string" === typeof input.kind)
865
+ return $string(input.kind);
866
+ if ("string" === typeof input.kind)
867
+ return "\"" + input.kind + "\"";
868
+ $throws({
869
+ expected: "\"minimum\"",
870
+ value: input.kind
871
+ });
872
+ })()},"value":${input.value},"validate":${(() => {
873
+ if ("string" === typeof input.validate)
874
+ return $string(input.validate);
875
+ if ("string" === typeof input.validate)
876
+ return "\"" + input.validate + "\"";
877
+ $throws({
878
+ expected: "\"0 <= $input\"",
879
+ value: input.validate
880
+ });
881
+ })()},"exclusive":${`[${(() => {
882
+ if ("string" === typeof input.exclusive[0])
883
+ return $string(input.exclusive[0]);
884
+ if ("string" === typeof input.exclusive[0])
885
+ return "\"" + input.exclusive[0] + "\"";
886
+ $throws({
887
+ expected: "\"minimum\"",
888
+ value: input.exclusive[0]
889
+ });
890
+ })()},${(() => {
891
+ if ("string" === typeof input.exclusive[1])
892
+ return $string(input.exclusive[1]);
893
+ if ("string" === typeof input.exclusive[1])
894
+ return "\"" + input.exclusive[1] + "\"";
895
+ $throws({
896
+ expected: "\"exclusiveMinimum\"",
897
+ value: input.exclusive[1]
898
+ });
899
+ })()}]`},"schema":${$so4(input.schema)}}`;
900
+ const $so4 = input => `{"minimum":${input.minimum}}`;
901
+ const $so5 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.code ? "" : `"code":${undefined !== input.code ? $string(input.code) : undefined},`}${undefined === input.exitCode ? "" : `"exitCode":${undefined !== input.exitCode ? input.exitCode : undefined},`}${undefined === input.signalCode ? "" : `"signalCode":${undefined !== input.signalCode ? input.signalCode : undefined},`}${undefined === input.statusCode ? "" : `"statusCode":${undefined !== input.statusCode ? input.statusCode : undefined},`}${undefined === input.headers ? "" : `"headers":${undefined !== input.headers ? $so6(input.headers) : undefined},`}${undefined === input.data ? "" : `"data":${undefined !== input.data ? "{}" : undefined},`}${undefined === input.cause ? "" : `"cause":${undefined !== input.cause ? null !== input.cause ? $so5(input.cause) : "null" : undefined},`}${undefined === input.errors ? "" : `"errors":${undefined !== input.errors ? null !== input.errors ? `[${input.errors.map(elem => $so5(elem)).join(",")}]` : "null" : undefined},`}"message":${$string(input.message)}}`;
902
+ const $so6 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
629
903
  return ""; return `${JSON.stringify(key)}:${$string(value)}`; }).filter(str => "" !== str).join(",")}}`;
630
904
  return $so0(input);
631
905
  };
632
906
  export const assertStringifyFile = (input, errorFactory) => { const assert = (input, errorFactory) => {
633
907
  const __is = input => {
634
- const $io0 = input => "string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io2(elem)) || "object" === typeof input.error && null !== input.error && $io2(input.error))));
908
+ const $io0 = input => "string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && ("object" === typeof elem[0] && null !== elem[0] && false === Array.isArray(elem[0]) && $io2(elem[0])) && ("object" === typeof elem[1] && null !== elem[1] && false === Array.isArray(elem[1]) && $io2(elem[1]))))) && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io5(elem)) || "object" === typeof input.error && null !== input.error && $io5(input.error))));
635
909
  const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset)) && (undefined === input.start || "number" === typeof input.start && !Number.isNaN(input.start)) && (undefined === input.end || "number" === typeof input.end && !Number.isNaN(input.end));
636
- const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode && !Number.isNaN(input.exitCode)) && (undefined === input.signalCode || "number" === typeof input.signalCode && !Number.isNaN(input.signalCode)) && (undefined === input.statusCode || "number" === typeof input.statusCode && !Number.isNaN(input.statusCode)) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
637
- const $io3 = input => Object.keys(input).every(key => {
910
+ const $io2 = input => undefined === input["typia.tag"] || "object" === typeof input["typia.tag"] && null !== input["typia.tag"] && $io3(input["typia.tag"]);
911
+ const $io3 = input => "number" === input.target && "minimum" === input.kind && 0 === input.value && "0 <= $input" === input.validate && (Array.isArray(input.exclusive) && (input.exclusive.length === 2 && "minimum" === input.exclusive[0] && "exclusiveMinimum" === input.exclusive[1])) && ("object" === typeof input.schema && null !== input.schema && $io4(input.schema));
912
+ const $io4 = input => 0 === input.minimum;
913
+ const $io5 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode && !Number.isNaN(input.exitCode)) && (undefined === input.signalCode || "number" === typeof input.signalCode && !Number.isNaN(input.signalCode)) && (undefined === input.statusCode || "number" === typeof input.statusCode && !Number.isNaN(input.statusCode)) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io6(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io7(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io5(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
914
+ const $io6 = input => Object.keys(input).every(key => {
638
915
  const value = input[key];
639
916
  if (undefined === value)
640
917
  return true;
641
918
  return "string" === typeof value;
642
919
  });
643
- const $io4 = input => true;
920
+ const $io7 = input => true;
644
921
  return "object" === typeof input && null !== input && $io0(input);
645
922
  };
646
923
  if (false === __is(input))
@@ -711,6 +988,42 @@ export const assertStringifyFile = (input, errorFactory) => { const assert = (in
711
988
  path: _path + ".mimeType",
712
989
  expected: "string",
713
990
  value: input.mimeType
991
+ }, errorFactory)) && ((Array.isArray(input.ranges) || $guard(_exceptionable, {
992
+ path: _path + ".ranges",
993
+ expected: "Array<[start: Minimum<0>, end: Minimum<0>]>",
994
+ value: input.ranges
995
+ }, errorFactory)) && input.ranges.every((elem, _index3) => (Array.isArray(elem) || $guard(_exceptionable, {
996
+ path: _path + ".ranges[" + _index3 + "]",
997
+ expected: "[start: Minimum<0>, end: Minimum<0>]",
998
+ value: elem
999
+ }, errorFactory)) && ((elem.length === 2 || $guard(_exceptionable, {
1000
+ path: _path + ".ranges[" + _index3 + "]",
1001
+ expected: "[Minimum<0>, Minimum<0>]",
1002
+ value: elem
1003
+ }, errorFactory)) && (("object" === typeof elem[0] && null !== elem[0] && false === Array.isArray(elem[0]) || $guard(_exceptionable, {
1004
+ path: _path + ".ranges[" + _index3 + "][0]",
1005
+ expected: "Minimum<0>",
1006
+ value: elem[0]
1007
+ }, errorFactory)) && $ao2(elem[0], _path + ".ranges[" + _index3 + "][0]", true && _exceptionable) || $guard(_exceptionable, {
1008
+ path: _path + ".ranges[" + _index3 + "][0]",
1009
+ expected: "Minimum<0>",
1010
+ value: elem[0]
1011
+ }, errorFactory)) && (("object" === typeof elem[1] && null !== elem[1] && false === Array.isArray(elem[1]) || $guard(_exceptionable, {
1012
+ path: _path + ".ranges[" + _index3 + "][1]",
1013
+ expected: "Minimum<0>",
1014
+ value: elem[1]
1015
+ }, errorFactory)) && $ao2(elem[1], _path + ".ranges[" + _index3 + "][1]", true && _exceptionable) || $guard(_exceptionable, {
1016
+ path: _path + ".ranges[" + _index3 + "][1]",
1017
+ expected: "Minimum<0>",
1018
+ value: elem[1]
1019
+ }, errorFactory))) || $guard(_exceptionable, {
1020
+ path: _path + ".ranges[" + _index3 + "]",
1021
+ expected: "[start: Minimum<0>, end: Minimum<0>]",
1022
+ value: elem
1023
+ }, errorFactory)) || $guard(_exceptionable, {
1024
+ path: _path + ".ranges",
1025
+ expected: "Array<[start: Minimum<0>, end: Minimum<0>]>",
1026
+ value: input.ranges
714
1027
  }, errorFactory)) && ("string" === typeof input.hash && (/^([A-Fa-f0-9]{32})?$/.test(input.hash) || $guard(_exceptionable, {
715
1028
  path: _path + ".hash",
716
1029
  expected: "string & Pattern<\"^([A-Fa-f0-9]{32})?$\">",
@@ -739,15 +1052,15 @@ export const assertStringifyFile = (input, errorFactory) => { const assert = (in
739
1052
  path: _path + ".error",
740
1053
  expected: "(Array<NxtError> | NxtError | null)",
741
1054
  value: input.error
742
- }, errorFactory)) && (null === input.error || (Array.isArray(input.error) && input.error.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
743
- path: _path + ".error[" + _index3 + "]",
1055
+ }, errorFactory)) && (null === input.error || (Array.isArray(input.error) && input.error.every((elem, _index4) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1056
+ path: _path + ".error[" + _index4 + "]",
744
1057
  expected: "NxtError",
745
1058
  value: elem
746
- }, errorFactory)) && $ao2(elem, _path + ".error[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
747
- path: _path + ".error[" + _index3 + "]",
1059
+ }, errorFactory)) && $ao5(elem, _path + ".error[" + _index4 + "]", true && _exceptionable) || $guard(_exceptionable, {
1060
+ path: _path + ".error[" + _index4 + "]",
748
1061
  expected: "NxtError",
749
1062
  value: elem
750
- }, errorFactory)) || "object" === typeof input.error && null !== input.error && $ao2(input.error, _path + ".error", true && _exceptionable) || $guard(_exceptionable, {
1063
+ }, errorFactory)) || "object" === typeof input.error && null !== input.error && $ao5(input.error, _path + ".error", true && _exceptionable) || $guard(_exceptionable, {
751
1064
  path: _path + ".error",
752
1065
  expected: "(Array<NxtError> | NxtError | null)",
753
1066
  value: input.error
@@ -773,7 +1086,66 @@ export const assertStringifyFile = (input, errorFactory) => { const assert = (in
773
1086
  expected: "(number | undefined)",
774
1087
  value: input.end
775
1088
  }, errorFactory));
776
- const $ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.message || $guard(_exceptionable, {
1089
+ const $ao2 = (input, _path, _exceptionable = true) => undefined === input["typia.tag"] || ("object" === typeof input["typia.tag"] && null !== input["typia.tag"] || $guard(_exceptionable, {
1090
+ path: _path + "[\"typia.tag\"]",
1091
+ expected: "(__type.o1 | undefined)",
1092
+ value: input["typia.tag"]
1093
+ }, errorFactory)) && $ao3(input["typia.tag"], _path + "[\"typia.tag\"]", true && _exceptionable) || $guard(_exceptionable, {
1094
+ path: _path + "[\"typia.tag\"]",
1095
+ expected: "(__type.o1 | undefined)",
1096
+ value: input["typia.tag"]
1097
+ }, errorFactory);
1098
+ const $ao3 = (input, _path, _exceptionable = true) => ("number" === input.target || $guard(_exceptionable, {
1099
+ path: _path + ".target",
1100
+ expected: "\"number\"",
1101
+ value: input.target
1102
+ }, errorFactory)) && ("minimum" === input.kind || $guard(_exceptionable, {
1103
+ path: _path + ".kind",
1104
+ expected: "\"minimum\"",
1105
+ value: input.kind
1106
+ }, errorFactory)) && (0 === input.value || $guard(_exceptionable, {
1107
+ path: _path + ".value",
1108
+ expected: "0",
1109
+ value: input.value
1110
+ }, errorFactory)) && ("0 <= $input" === input.validate || $guard(_exceptionable, {
1111
+ path: _path + ".validate",
1112
+ expected: "\"0 <= $input\"",
1113
+ value: input.validate
1114
+ }, errorFactory)) && ((Array.isArray(input.exclusive) || $guard(_exceptionable, {
1115
+ path: _path + ".exclusive",
1116
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
1117
+ value: input.exclusive
1118
+ }, errorFactory)) && ((input.exclusive.length === 2 || $guard(_exceptionable, {
1119
+ path: _path + ".exclusive",
1120
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
1121
+ value: input.exclusive
1122
+ }, errorFactory)) && ("minimum" === input.exclusive[0] || $guard(_exceptionable, {
1123
+ path: _path + ".exclusive[0]",
1124
+ expected: "\"minimum\"",
1125
+ value: input.exclusive[0]
1126
+ }, errorFactory)) && ("exclusiveMinimum" === input.exclusive[1] || $guard(_exceptionable, {
1127
+ path: _path + ".exclusive[1]",
1128
+ expected: "\"exclusiveMinimum\"",
1129
+ value: input.exclusive[1]
1130
+ }, errorFactory))) || $guard(_exceptionable, {
1131
+ path: _path + ".exclusive",
1132
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
1133
+ value: input.exclusive
1134
+ }, errorFactory)) && (("object" === typeof input.schema && null !== input.schema || $guard(_exceptionable, {
1135
+ path: _path + ".schema",
1136
+ expected: "__type.o2",
1137
+ value: input.schema
1138
+ }, errorFactory)) && $ao4(input.schema, _path + ".schema", true && _exceptionable) || $guard(_exceptionable, {
1139
+ path: _path + ".schema",
1140
+ expected: "__type.o2",
1141
+ value: input.schema
1142
+ }, errorFactory));
1143
+ const $ao4 = (input, _path, _exceptionable = true) => 0 === input.minimum || $guard(_exceptionable, {
1144
+ path: _path + ".minimum",
1145
+ expected: "0",
1146
+ value: input.minimum
1147
+ }, errorFactory);
1148
+ const $ao5 = (input, _path, _exceptionable = true) => ("string" === typeof input.message || $guard(_exceptionable, {
777
1149
  path: _path + ".message",
778
1150
  expected: "string",
779
1151
  value: input.message
@@ -801,7 +1173,7 @@ export const assertStringifyFile = (input, errorFactory) => { const assert = (in
801
1173
  path: _path + ".headers",
802
1174
  expected: "(Record<string, string> | undefined)",
803
1175
  value: input.headers
804
- }, errorFactory)) && $ao3(input.headers, _path + ".headers", true && _exceptionable) || $guard(_exceptionable, {
1176
+ }, errorFactory)) && $ao6(input.headers, _path + ".headers", true && _exceptionable) || $guard(_exceptionable, {
805
1177
  path: _path + ".headers",
806
1178
  expected: "(Record<string, string> | undefined)",
807
1179
  value: input.headers
@@ -809,7 +1181,7 @@ export const assertStringifyFile = (input, errorFactory) => { const assert = (in
809
1181
  path: _path + ".data",
810
1182
  expected: "(object | undefined)",
811
1183
  value: input.data
812
- }, errorFactory)) && $ao4(input.data, _path + ".data", true && _exceptionable) || $guard(_exceptionable, {
1184
+ }, errorFactory)) && $ao7(input.data, _path + ".data", true && _exceptionable) || $guard(_exceptionable, {
813
1185
  path: _path + ".data",
814
1186
  expected: "(object | undefined)",
815
1187
  value: input.data
@@ -817,7 +1189,7 @@ export const assertStringifyFile = (input, errorFactory) => { const assert = (in
817
1189
  path: _path + ".cause",
818
1190
  expected: "(NxtError | null | undefined)",
819
1191
  value: input.cause
820
- }, errorFactory)) && $ao2(input.cause, _path + ".cause", true && _exceptionable) || $guard(_exceptionable, {
1192
+ }, errorFactory)) && $ao5(input.cause, _path + ".cause", true && _exceptionable) || $guard(_exceptionable, {
821
1193
  path: _path + ".cause",
822
1194
  expected: "(NxtError | null | undefined)",
823
1195
  value: input.cause
@@ -825,12 +1197,12 @@ export const assertStringifyFile = (input, errorFactory) => { const assert = (in
825
1197
  path: _path + ".errors",
826
1198
  expected: "(Array<NxtError> | null | undefined)",
827
1199
  value: input.errors
828
- }, errorFactory)) && input.errors.every((elem, _index4) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
829
- path: _path + ".errors[" + _index4 + "]",
1200
+ }, errorFactory)) && input.errors.every((elem, _index5) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1201
+ path: _path + ".errors[" + _index5 + "]",
830
1202
  expected: "NxtError",
831
1203
  value: elem
832
- }, errorFactory)) && $ao2(elem, _path + ".errors[" + _index4 + "]", true && _exceptionable) || $guard(_exceptionable, {
833
- path: _path + ".errors[" + _index4 + "]",
1204
+ }, errorFactory)) && $ao5(elem, _path + ".errors[" + _index5 + "]", true && _exceptionable) || $guard(_exceptionable, {
1205
+ path: _path + ".errors[" + _index5 + "]",
834
1206
  expected: "NxtError",
835
1207
  value: elem
836
1208
  }, errorFactory)) || $guard(_exceptionable, {
@@ -838,7 +1210,7 @@ export const assertStringifyFile = (input, errorFactory) => { const assert = (in
838
1210
  expected: "(Array<NxtError> | null | undefined)",
839
1211
  value: input.errors
840
1212
  }, errorFactory));
841
- const $ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
1213
+ const $ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
842
1214
  const value = input[key];
843
1215
  if (undefined === value)
844
1216
  return true;
@@ -848,7 +1220,7 @@ export const assertStringifyFile = (input, errorFactory) => { const assert = (in
848
1220
  value: value
849
1221
  }, errorFactory);
850
1222
  });
851
- const $ao4 = (input, _path, _exceptionable = true) => true;
1223
+ const $ao7 = (input, _path, _exceptionable = true) => true;
852
1224
  return ("object" === typeof input && null !== input || $guard(true, {
853
1225
  path: _path + "",
854
1226
  expected: "File",
@@ -862,58 +1234,115 @@ export const assertStringifyFile = (input, errorFactory) => { const assert = (in
862
1234
  return input;
863
1235
  }; const stringify = input => {
864
1236
  const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end);
865
- const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
866
- const $io3 = input => Object.keys(input).every(key => {
1237
+ const $io2 = input => undefined === input["typia.tag"] || "object" === typeof input["typia.tag"] && null !== input["typia.tag"] && $io3(input["typia.tag"]);
1238
+ const $io3 = input => "number" === input.target && "minimum" === input.kind && 0 === input.value && "0 <= $input" === input.validate && (Array.isArray(input.exclusive) && (input.exclusive.length === 2 && "minimum" === input.exclusive[0] && "exclusiveMinimum" === input.exclusive[1])) && ("object" === typeof input.schema && null !== input.schema && $io4(input.schema));
1239
+ const $io4 = input => 0 === input.minimum;
1240
+ const $io5 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io6(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io7(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io5(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
1241
+ const $io6 = input => Object.keys(input).every(key => {
867
1242
  const value = input[key];
868
1243
  if (undefined === value)
869
1244
  return true;
870
1245
  return "string" === typeof value;
871
1246
  });
872
- const $io4 = input => true;
1247
+ const $io7 = input => true;
873
1248
  const $string = __typia.json.createAssertStringify.string;
874
1249
  const $throws = __typia.json.createAssertStringify.throws;
875
1250
  const $tail = __typia.json.createAssertStringify.tail;
876
- const $so0 = input => `{"id":${$string(input.id)},"size":${null !== input.size ? input.size : "null"},"seekable":${input.seekable},"deleted":${input.deleted},"refs":${`[${input.refs.map(elem => $so1(elem)).join(",")}]`},"tags":${`[${input.tags.map(elem => $string(elem)).join(",")}]`},"resumable":${$string(input.resumable)},"mimeType":${$string(input.mimeType)},"hash":${$string(input.hash)},"btime":${input.btime},"completed":${input.completed},"error":${null !== input.error ? (() => {
1251
+ const $so0 = input => `{"id":${$string(input.id)},"size":${null !== input.size ? input.size : "null"},"seekable":${input.seekable},"deleted":${input.deleted},"refs":${`[${input.refs.map(elem => $so1(elem)).join(",")}]`},"tags":${`[${input.tags.map(elem => $string(elem)).join(",")}]`},"resumable":${$string(input.resumable)},"mimeType":${$string(input.mimeType)},"ranges":${`[${input.ranges.map(elem => `[${$so2(elem[0])},${$so2(elem[1])}]`).join(",")}]`},"hash":${$string(input.hash)},"btime":${input.btime},"completed":${input.completed},"error":${null !== input.error ? (() => {
877
1252
  if (Array.isArray(input.error))
878
- return `[${input.error.map(elem => $so2(elem)).join(",")}]`;
1253
+ return `[${input.error.map(elem => $so5(elem)).join(",")}]`;
879
1254
  if ("object" === typeof input.error && null !== input.error)
880
- return $so2(input.error);
1255
+ return $so5(input.error);
881
1256
  $throws({
882
1257
  expected: "(Array<NxtError> | NxtError | null)",
883
1258
  value: input.error
884
1259
  });
885
1260
  })() : "null"}}`;
886
1261
  const $so1 = input => `{${$tail(`${undefined === input.file ? "" : `"file":${undefined !== input.file ? $string(input.file) : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined}`}`)}}`;
887
- const $so2 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.code ? "" : `"code":${undefined !== input.code ? $string(input.code) : undefined},`}${undefined === input.exitCode ? "" : `"exitCode":${undefined !== input.exitCode ? input.exitCode : undefined},`}${undefined === input.signalCode ? "" : `"signalCode":${undefined !== input.signalCode ? input.signalCode : undefined},`}${undefined === input.statusCode ? "" : `"statusCode":${undefined !== input.statusCode ? input.statusCode : undefined},`}${undefined === input.headers ? "" : `"headers":${undefined !== input.headers ? $so3(input.headers) : undefined},`}${undefined === input.data ? "" : `"data":${undefined !== input.data ? "{}" : undefined},`}${undefined === input.cause ? "" : `"cause":${undefined !== input.cause ? null !== input.cause ? $so2(input.cause) : "null" : undefined},`}${undefined === input.errors ? "" : `"errors":${undefined !== input.errors ? null !== input.errors ? `[${input.errors.map(elem => $so2(elem)).join(",")}]` : "null" : undefined},`}"message":${$string(input.message)}}`;
888
- const $so3 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
1262
+ const $so2 = input => `{${$tail(`${undefined === input["typia.tag"] ? "" : `"typia.tag":${undefined !== input["typia.tag"] ? $so3(input["typia.tag"]) : undefined}`}`)}}`;
1263
+ const $so3 = input => `{"target":${(() => {
1264
+ if ("string" === typeof input.target)
1265
+ return $string(input.target);
1266
+ if ("string" === typeof input.target)
1267
+ return "\"" + input.target + "\"";
1268
+ $throws({
1269
+ expected: "\"number\"",
1270
+ value: input.target
1271
+ });
1272
+ })()},"kind":${(() => {
1273
+ if ("string" === typeof input.kind)
1274
+ return $string(input.kind);
1275
+ if ("string" === typeof input.kind)
1276
+ return "\"" + input.kind + "\"";
1277
+ $throws({
1278
+ expected: "\"minimum\"",
1279
+ value: input.kind
1280
+ });
1281
+ })()},"value":${input.value},"validate":${(() => {
1282
+ if ("string" === typeof input.validate)
1283
+ return $string(input.validate);
1284
+ if ("string" === typeof input.validate)
1285
+ return "\"" + input.validate + "\"";
1286
+ $throws({
1287
+ expected: "\"0 <= $input\"",
1288
+ value: input.validate
1289
+ });
1290
+ })()},"exclusive":${`[${(() => {
1291
+ if ("string" === typeof input.exclusive[0])
1292
+ return $string(input.exclusive[0]);
1293
+ if ("string" === typeof input.exclusive[0])
1294
+ return "\"" + input.exclusive[0] + "\"";
1295
+ $throws({
1296
+ expected: "\"minimum\"",
1297
+ value: input.exclusive[0]
1298
+ });
1299
+ })()},${(() => {
1300
+ if ("string" === typeof input.exclusive[1])
1301
+ return $string(input.exclusive[1]);
1302
+ if ("string" === typeof input.exclusive[1])
1303
+ return "\"" + input.exclusive[1] + "\"";
1304
+ $throws({
1305
+ expected: "\"exclusiveMinimum\"",
1306
+ value: input.exclusive[1]
1307
+ });
1308
+ })()}]`},"schema":${$so4(input.schema)}}`;
1309
+ const $so4 = input => `{"minimum":${input.minimum}}`;
1310
+ const $so5 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.code ? "" : `"code":${undefined !== input.code ? $string(input.code) : undefined},`}${undefined === input.exitCode ? "" : `"exitCode":${undefined !== input.exitCode ? input.exitCode : undefined},`}${undefined === input.signalCode ? "" : `"signalCode":${undefined !== input.signalCode ? input.signalCode : undefined},`}${undefined === input.statusCode ? "" : `"statusCode":${undefined !== input.statusCode ? input.statusCode : undefined},`}${undefined === input.headers ? "" : `"headers":${undefined !== input.headers ? $so6(input.headers) : undefined},`}${undefined === input.data ? "" : `"data":${undefined !== input.data ? "{}" : undefined},`}${undefined === input.cause ? "" : `"cause":${undefined !== input.cause ? null !== input.cause ? $so5(input.cause) : "null" : undefined},`}${undefined === input.errors ? "" : `"errors":${undefined !== input.errors ? null !== input.errors ? `[${input.errors.map(elem => $so5(elem)).join(",")}]` : "null" : undefined},`}"message":${$string(input.message)}}`;
1311
+ const $so6 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
889
1312
  return ""; return `${JSON.stringify(key)}:${$string(value)}`; }).filter(str => "" !== str).join(",")}}`;
890
1313
  return $so0(input);
891
1314
  }; return stringify(assert(input, errorFactory)); };
892
1315
  export const isFileStats = input => {
893
- const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && "boolean" === typeof input.uploading && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && ("string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id)) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io2(elem)) || "object" === typeof input.error && null !== input.error && $io2(input.error))));
1316
+ const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && "boolean" === typeof input.uploading && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && ("string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id)) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && ("object" === typeof elem[0] && null !== elem[0] && false === Array.isArray(elem[0]) && $io2(elem[0])) && ("object" === typeof elem[1] && null !== elem[1] && false === Array.isArray(elem[1]) && $io2(elem[1]))))) && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io5(elem)) || "object" === typeof input.error && null !== input.error && $io5(input.error))));
894
1317
  const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end);
895
- const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
896
- const $io3 = input => Object.keys(input).every(key => {
1318
+ const $io2 = input => undefined === input["typia.tag"] || "object" === typeof input["typia.tag"] && null !== input["typia.tag"] && $io3(input["typia.tag"]);
1319
+ const $io3 = input => "number" === input.target && "minimum" === input.kind && 0 === input.value && "0 <= $input" === input.validate && (Array.isArray(input.exclusive) && (input.exclusive.length === 2 && "minimum" === input.exclusive[0] && "exclusiveMinimum" === input.exclusive[1])) && ("object" === typeof input.schema && null !== input.schema && $io4(input.schema));
1320
+ const $io4 = input => 0 === input.minimum;
1321
+ const $io5 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io6(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io7(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io5(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
1322
+ const $io6 = input => Object.keys(input).every(key => {
897
1323
  const value = input[key];
898
1324
  if (undefined === value)
899
1325
  return true;
900
1326
  return "string" === typeof value;
901
1327
  });
902
- const $io4 = input => true;
1328
+ const $io7 = input => true;
903
1329
  return "object" === typeof input && null !== input && $io0(input);
904
1330
  };
905
1331
  export const assertFileStats = (input, errorFactory) => {
906
1332
  const __is = input => {
907
- const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && "boolean" === typeof input.uploading && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && ("string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id)) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io2(elem)) || "object" === typeof input.error && null !== input.error && $io2(input.error))));
1333
+ const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && "boolean" === typeof input.uploading && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && ("string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id)) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && ("object" === typeof elem[0] && null !== elem[0] && false === Array.isArray(elem[0]) && $io2(elem[0])) && ("object" === typeof elem[1] && null !== elem[1] && false === Array.isArray(elem[1]) && $io2(elem[1]))))) && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io5(elem)) || "object" === typeof input.error && null !== input.error && $io5(input.error))));
908
1334
  const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end);
909
- const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
910
- const $io3 = input => Object.keys(input).every(key => {
1335
+ const $io2 = input => undefined === input["typia.tag"] || "object" === typeof input["typia.tag"] && null !== input["typia.tag"] && $io3(input["typia.tag"]);
1336
+ const $io3 = input => "number" === input.target && "minimum" === input.kind && 0 === input.value && "0 <= $input" === input.validate && (Array.isArray(input.exclusive) && (input.exclusive.length === 2 && "minimum" === input.exclusive[0] && "exclusiveMinimum" === input.exclusive[1])) && ("object" === typeof input.schema && null !== input.schema && $io4(input.schema));
1337
+ const $io4 = input => 0 === input.minimum;
1338
+ const $io5 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io6(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io7(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io5(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
1339
+ const $io6 = input => Object.keys(input).every(key => {
911
1340
  const value = input[key];
912
1341
  if (undefined === value)
913
1342
  return true;
914
1343
  return "string" === typeof value;
915
1344
  });
916
- const $io4 = input => true;
1345
+ const $io7 = input => true;
917
1346
  return "object" === typeof input && null !== input && $io0(input);
918
1347
  };
919
1348
  if (false === __is(input))
@@ -1024,6 +1453,42 @@ export const assertFileStats = (input, errorFactory) => {
1024
1453
  path: _path + ".mimeType",
1025
1454
  expected: "string",
1026
1455
  value: input.mimeType
1456
+ }, errorFactory)) && ((Array.isArray(input.ranges) || $guard(_exceptionable, {
1457
+ path: _path + ".ranges",
1458
+ expected: "Array<[start: Minimum<0>, end: Minimum<0>]>",
1459
+ value: input.ranges
1460
+ }, errorFactory)) && input.ranges.every((elem, _index5) => (Array.isArray(elem) || $guard(_exceptionable, {
1461
+ path: _path + ".ranges[" + _index5 + "]",
1462
+ expected: "[start: Minimum<0>, end: Minimum<0>]",
1463
+ value: elem
1464
+ }, errorFactory)) && ((elem.length === 2 || $guard(_exceptionable, {
1465
+ path: _path + ".ranges[" + _index5 + "]",
1466
+ expected: "[Minimum<0>, Minimum<0>]",
1467
+ value: elem
1468
+ }, errorFactory)) && (("object" === typeof elem[0] && null !== elem[0] && false === Array.isArray(elem[0]) || $guard(_exceptionable, {
1469
+ path: _path + ".ranges[" + _index5 + "][0]",
1470
+ expected: "Minimum<0>",
1471
+ value: elem[0]
1472
+ }, errorFactory)) && $ao2(elem[0], _path + ".ranges[" + _index5 + "][0]", true && _exceptionable) || $guard(_exceptionable, {
1473
+ path: _path + ".ranges[" + _index5 + "][0]",
1474
+ expected: "Minimum<0>",
1475
+ value: elem[0]
1476
+ }, errorFactory)) && (("object" === typeof elem[1] && null !== elem[1] && false === Array.isArray(elem[1]) || $guard(_exceptionable, {
1477
+ path: _path + ".ranges[" + _index5 + "][1]",
1478
+ expected: "Minimum<0>",
1479
+ value: elem[1]
1480
+ }, errorFactory)) && $ao2(elem[1], _path + ".ranges[" + _index5 + "][1]", true && _exceptionable) || $guard(_exceptionable, {
1481
+ path: _path + ".ranges[" + _index5 + "][1]",
1482
+ expected: "Minimum<0>",
1483
+ value: elem[1]
1484
+ }, errorFactory))) || $guard(_exceptionable, {
1485
+ path: _path + ".ranges[" + _index5 + "]",
1486
+ expected: "[start: Minimum<0>, end: Minimum<0>]",
1487
+ value: elem
1488
+ }, errorFactory)) || $guard(_exceptionable, {
1489
+ path: _path + ".ranges",
1490
+ expected: "Array<[start: Minimum<0>, end: Minimum<0>]>",
1491
+ value: input.ranges
1027
1492
  }, errorFactory)) && ("string" === typeof input.hash && (/^([A-Fa-f0-9]{32})?$/.test(input.hash) || $guard(_exceptionable, {
1028
1493
  path: _path + ".hash",
1029
1494
  expected: "string & Pattern<\"^([A-Fa-f0-9]{32})?$\">",
@@ -1052,15 +1517,15 @@ export const assertFileStats = (input, errorFactory) => {
1052
1517
  path: _path + ".error",
1053
1518
  expected: "(Array<NxtError> | NxtError | null)",
1054
1519
  value: input.error
1055
- }, errorFactory)) && (null === input.error || (Array.isArray(input.error) && input.error.every((elem, _index5) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1056
- path: _path + ".error[" + _index5 + "]",
1520
+ }, errorFactory)) && (null === input.error || (Array.isArray(input.error) && input.error.every((elem, _index6) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1521
+ path: _path + ".error[" + _index6 + "]",
1057
1522
  expected: "NxtError",
1058
1523
  value: elem
1059
- }, errorFactory)) && $ao2(elem, _path + ".error[" + _index5 + "]", true && _exceptionable) || $guard(_exceptionable, {
1060
- path: _path + ".error[" + _index5 + "]",
1524
+ }, errorFactory)) && $ao5(elem, _path + ".error[" + _index6 + "]", true && _exceptionable) || $guard(_exceptionable, {
1525
+ path: _path + ".error[" + _index6 + "]",
1061
1526
  expected: "NxtError",
1062
1527
  value: elem
1063
- }, errorFactory)) || "object" === typeof input.error && null !== input.error && $ao2(input.error, _path + ".error", true && _exceptionable) || $guard(_exceptionable, {
1528
+ }, errorFactory)) || "object" === typeof input.error && null !== input.error && $ao5(input.error, _path + ".error", true && _exceptionable) || $guard(_exceptionable, {
1064
1529
  path: _path + ".error",
1065
1530
  expected: "(Array<NxtError> | NxtError | null)",
1066
1531
  value: input.error
@@ -1086,7 +1551,66 @@ export const assertFileStats = (input, errorFactory) => {
1086
1551
  expected: "(number | undefined)",
1087
1552
  value: input.end
1088
1553
  }, errorFactory));
1089
- const $ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.message || $guard(_exceptionable, {
1554
+ const $ao2 = (input, _path, _exceptionable = true) => undefined === input["typia.tag"] || ("object" === typeof input["typia.tag"] && null !== input["typia.tag"] || $guard(_exceptionable, {
1555
+ path: _path + "[\"typia.tag\"]",
1556
+ expected: "(__type.o1 | undefined)",
1557
+ value: input["typia.tag"]
1558
+ }, errorFactory)) && $ao3(input["typia.tag"], _path + "[\"typia.tag\"]", true && _exceptionable) || $guard(_exceptionable, {
1559
+ path: _path + "[\"typia.tag\"]",
1560
+ expected: "(__type.o1 | undefined)",
1561
+ value: input["typia.tag"]
1562
+ }, errorFactory);
1563
+ const $ao3 = (input, _path, _exceptionable = true) => ("number" === input.target || $guard(_exceptionable, {
1564
+ path: _path + ".target",
1565
+ expected: "\"number\"",
1566
+ value: input.target
1567
+ }, errorFactory)) && ("minimum" === input.kind || $guard(_exceptionable, {
1568
+ path: _path + ".kind",
1569
+ expected: "\"minimum\"",
1570
+ value: input.kind
1571
+ }, errorFactory)) && (0 === input.value || $guard(_exceptionable, {
1572
+ path: _path + ".value",
1573
+ expected: "0",
1574
+ value: input.value
1575
+ }, errorFactory)) && ("0 <= $input" === input.validate || $guard(_exceptionable, {
1576
+ path: _path + ".validate",
1577
+ expected: "\"0 <= $input\"",
1578
+ value: input.validate
1579
+ }, errorFactory)) && ((Array.isArray(input.exclusive) || $guard(_exceptionable, {
1580
+ path: _path + ".exclusive",
1581
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
1582
+ value: input.exclusive
1583
+ }, errorFactory)) && ((input.exclusive.length === 2 || $guard(_exceptionable, {
1584
+ path: _path + ".exclusive",
1585
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
1586
+ value: input.exclusive
1587
+ }, errorFactory)) && ("minimum" === input.exclusive[0] || $guard(_exceptionable, {
1588
+ path: _path + ".exclusive[0]",
1589
+ expected: "\"minimum\"",
1590
+ value: input.exclusive[0]
1591
+ }, errorFactory)) && ("exclusiveMinimum" === input.exclusive[1] || $guard(_exceptionable, {
1592
+ path: _path + ".exclusive[1]",
1593
+ expected: "\"exclusiveMinimum\"",
1594
+ value: input.exclusive[1]
1595
+ }, errorFactory))) || $guard(_exceptionable, {
1596
+ path: _path + ".exclusive",
1597
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
1598
+ value: input.exclusive
1599
+ }, errorFactory)) && (("object" === typeof input.schema && null !== input.schema || $guard(_exceptionable, {
1600
+ path: _path + ".schema",
1601
+ expected: "__type.o2",
1602
+ value: input.schema
1603
+ }, errorFactory)) && $ao4(input.schema, _path + ".schema", true && _exceptionable) || $guard(_exceptionable, {
1604
+ path: _path + ".schema",
1605
+ expected: "__type.o2",
1606
+ value: input.schema
1607
+ }, errorFactory));
1608
+ const $ao4 = (input, _path, _exceptionable = true) => 0 === input.minimum || $guard(_exceptionable, {
1609
+ path: _path + ".minimum",
1610
+ expected: "0",
1611
+ value: input.minimum
1612
+ }, errorFactory);
1613
+ const $ao5 = (input, _path, _exceptionable = true) => ("string" === typeof input.message || $guard(_exceptionable, {
1090
1614
  path: _path + ".message",
1091
1615
  expected: "string",
1092
1616
  value: input.message
@@ -1114,7 +1638,7 @@ export const assertFileStats = (input, errorFactory) => {
1114
1638
  path: _path + ".headers",
1115
1639
  expected: "(Record<string, string> | undefined)",
1116
1640
  value: input.headers
1117
- }, errorFactory)) && $ao3(input.headers, _path + ".headers", true && _exceptionable) || $guard(_exceptionable, {
1641
+ }, errorFactory)) && $ao6(input.headers, _path + ".headers", true && _exceptionable) || $guard(_exceptionable, {
1118
1642
  path: _path + ".headers",
1119
1643
  expected: "(Record<string, string> | undefined)",
1120
1644
  value: input.headers
@@ -1122,7 +1646,7 @@ export const assertFileStats = (input, errorFactory) => {
1122
1646
  path: _path + ".data",
1123
1647
  expected: "(object | undefined)",
1124
1648
  value: input.data
1125
- }, errorFactory)) && $ao4(input.data, _path + ".data", true && _exceptionable) || $guard(_exceptionable, {
1649
+ }, errorFactory)) && $ao7(input.data, _path + ".data", true && _exceptionable) || $guard(_exceptionable, {
1126
1650
  path: _path + ".data",
1127
1651
  expected: "(object | undefined)",
1128
1652
  value: input.data
@@ -1130,7 +1654,7 @@ export const assertFileStats = (input, errorFactory) => {
1130
1654
  path: _path + ".cause",
1131
1655
  expected: "(NxtError | null | undefined)",
1132
1656
  value: input.cause
1133
- }, errorFactory)) && $ao2(input.cause, _path + ".cause", true && _exceptionable) || $guard(_exceptionable, {
1657
+ }, errorFactory)) && $ao5(input.cause, _path + ".cause", true && _exceptionable) || $guard(_exceptionable, {
1134
1658
  path: _path + ".cause",
1135
1659
  expected: "(NxtError | null | undefined)",
1136
1660
  value: input.cause
@@ -1138,12 +1662,12 @@ export const assertFileStats = (input, errorFactory) => {
1138
1662
  path: _path + ".errors",
1139
1663
  expected: "(Array<NxtError> | null | undefined)",
1140
1664
  value: input.errors
1141
- }, errorFactory)) && input.errors.every((elem, _index6) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1142
- path: _path + ".errors[" + _index6 + "]",
1665
+ }, errorFactory)) && input.errors.every((elem, _index7) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1666
+ path: _path + ".errors[" + _index7 + "]",
1143
1667
  expected: "NxtError",
1144
1668
  value: elem
1145
- }, errorFactory)) && $ao2(elem, _path + ".errors[" + _index6 + "]", true && _exceptionable) || $guard(_exceptionable, {
1146
- path: _path + ".errors[" + _index6 + "]",
1669
+ }, errorFactory)) && $ao5(elem, _path + ".errors[" + _index7 + "]", true && _exceptionable) || $guard(_exceptionable, {
1670
+ path: _path + ".errors[" + _index7 + "]",
1147
1671
  expected: "NxtError",
1148
1672
  value: elem
1149
1673
  }, errorFactory)) || $guard(_exceptionable, {
@@ -1151,7 +1675,7 @@ export const assertFileStats = (input, errorFactory) => {
1151
1675
  expected: "(Array<NxtError> | null | undefined)",
1152
1676
  value: input.errors
1153
1677
  }, errorFactory));
1154
- const $ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
1678
+ const $ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
1155
1679
  const value = input[key];
1156
1680
  if (undefined === value)
1157
1681
  return true;
@@ -1161,7 +1685,7 @@ export const assertFileStats = (input, errorFactory) => {
1161
1685
  value: value
1162
1686
  }, errorFactory);
1163
1687
  });
1164
- const $ao4 = (input, _path, _exceptionable = true) => true;
1688
+ const $ao7 = (input, _path, _exceptionable = true) => true;
1165
1689
  return ("object" === typeof input && null !== input || $guard(true, {
1166
1690
  path: _path + "",
1167
1691
  expected: "FileStats",
@@ -1224,6 +1748,10 @@ export const randomFileStats = generator => {
1224
1748
  tags: (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()),
1225
1749
  resumable: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
1226
1750
  mimeType: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
1751
+ ranges: (generator?.array ?? $generator.array)(() => [
1752
+ $ro2(_recursive, _recursive ? 1 + _depth : _depth),
1753
+ $ro2(_recursive, _recursive ? 1 + _depth : _depth)
1754
+ ]),
1227
1755
  hash: (generator?.customs ?? $generator.customs)?.string?.([
1228
1756
  {
1229
1757
  name: "Pattern<\"^([A-Fa-f0-9]{32})?$\">",
@@ -1246,8 +1774,8 @@ export const randomFileStats = generator => {
1246
1774
  completed: (generator?.boolean ?? $generator.boolean)(),
1247
1775
  error: $pick([
1248
1776
  () => null,
1249
- () => (generator?.array ?? $generator.array)(() => $ro2(_recursive, _recursive ? 1 + _depth : _depth)),
1250
- () => $ro2(_recursive, _recursive ? 1 + _depth : _depth)
1777
+ () => (generator?.array ?? $generator.array)(() => $ro5(_recursive, _recursive ? 1 + _depth : _depth)),
1778
+ () => $ro5(_recursive, _recursive ? 1 + _depth : _depth)
1251
1779
  ])()
1252
1780
  });
1253
1781
  const $ro1 = (_recursive = false, _depth = 0) => ({
@@ -1268,7 +1796,27 @@ export const randomFileStats = generator => {
1268
1796
  () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
1269
1797
  ])()
1270
1798
  });
1271
- const $ro2 = (_recursive = true, _depth = 0) => ({
1799
+ const $ro2 = (_recursive = false, _depth = 0) => ({
1800
+ "typia.tag": $pick([
1801
+ () => undefined,
1802
+ () => $ro3(_recursive, _recursive ? 1 + _depth : _depth)
1803
+ ])()
1804
+ });
1805
+ const $ro3 = (_recursive = false, _depth = 0) => ({
1806
+ target: "number",
1807
+ kind: "minimum",
1808
+ value: 0,
1809
+ validate: "0 <= $input",
1810
+ exclusive: [
1811
+ "minimum",
1812
+ "exclusiveMinimum"
1813
+ ],
1814
+ schema: $ro4(_recursive, _recursive ? 1 + _depth : _depth)
1815
+ });
1816
+ const $ro4 = (_recursive = false, _depth = 0) => ({
1817
+ minimum: 0
1818
+ });
1819
+ const $ro5 = (_recursive = true, _depth = 0) => ({
1272
1820
  message: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
1273
1821
  type: $pick([
1274
1822
  () => undefined,
@@ -1292,43 +1840,46 @@ export const randomFileStats = generator => {
1292
1840
  ])(),
1293
1841
  headers: $pick([
1294
1842
  () => undefined,
1295
- () => $ro3(true, _recursive ? 1 + _depth : _depth)
1843
+ () => $ro6(true, _recursive ? 1 + _depth : _depth)
1296
1844
  ])(),
1297
1845
  data: $pick([
1298
1846
  () => undefined,
1299
- () => $ro4(true, _recursive ? 1 + _depth : _depth)
1847
+ () => $ro7(true, _recursive ? 1 + _depth : _depth)
1300
1848
  ])(),
1301
1849
  cause: $pick([
1302
1850
  () => undefined,
1303
1851
  () => null,
1304
- () => $ro2(true, _recursive ? 1 + _depth : _depth)
1852
+ () => $ro5(true, _recursive ? 1 + _depth : _depth)
1305
1853
  ])(),
1306
1854
  errors: $pick([
1307
1855
  () => undefined,
1308
1856
  () => null,
1309
- () => _recursive && 5 < _depth ? [] : 5 >= _depth ? (generator?.array ?? $generator.array)(() => $ro2(true, _recursive ? 1 + _depth : _depth)) : []
1857
+ () => _recursive && 5 < _depth ? [] : 5 >= _depth ? (generator?.array ?? $generator.array)(() => $ro5(true, _recursive ? 1 + _depth : _depth)) : []
1310
1858
  ])()
1311
1859
  });
1312
- const $ro3 = (_recursive = false, _depth = 0) => {
1860
+ const $ro6 = (_recursive = false, _depth = 0) => {
1313
1861
  const output = {};
1314
1862
  (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(), (generator?.integer ?? $generator.integer)(0, 3));
1315
1863
  return output;
1316
1864
  };
1317
- const $ro4 = (_recursive = false, _depth = 0) => {};
1865
+ const $ro7 = (_recursive = false, _depth = 0) => {};
1318
1866
  return $ro0();
1319
1867
  };
1320
1868
  export const assertGuardFileStats = (input, errorFactory) => {
1321
1869
  const __is = input => {
1322
- const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && "boolean" === typeof input.uploading && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && ("string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id)) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io2(elem)) || "object" === typeof input.error && null !== input.error && $io2(input.error))));
1870
+ const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && "boolean" === typeof input.uploading && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && ("string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id)) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && ("object" === typeof elem[0] && null !== elem[0] && false === Array.isArray(elem[0]) && $io2(elem[0])) && ("object" === typeof elem[1] && null !== elem[1] && false === Array.isArray(elem[1]) && $io2(elem[1]))))) && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io5(elem)) || "object" === typeof input.error && null !== input.error && $io5(input.error))));
1323
1871
  const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end);
1324
- const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
1325
- const $io3 = input => Object.keys(input).every(key => {
1872
+ const $io2 = input => undefined === input["typia.tag"] || "object" === typeof input["typia.tag"] && null !== input["typia.tag"] && $io3(input["typia.tag"]);
1873
+ const $io3 = input => "number" === input.target && "minimum" === input.kind && 0 === input.value && "0 <= $input" === input.validate && (Array.isArray(input.exclusive) && (input.exclusive.length === 2 && "minimum" === input.exclusive[0] && "exclusiveMinimum" === input.exclusive[1])) && ("object" === typeof input.schema && null !== input.schema && $io4(input.schema));
1874
+ const $io4 = input => 0 === input.minimum;
1875
+ const $io5 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io6(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io7(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io5(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
1876
+ const $io6 = input => Object.keys(input).every(key => {
1326
1877
  const value = input[key];
1327
1878
  if (undefined === value)
1328
1879
  return true;
1329
1880
  return "string" === typeof value;
1330
1881
  });
1331
- const $io4 = input => true;
1882
+ const $io7 = input => true;
1332
1883
  return "object" === typeof input && null !== input && $io0(input);
1333
1884
  };
1334
1885
  if (false === __is(input))
@@ -1439,6 +1990,42 @@ export const assertGuardFileStats = (input, errorFactory) => {
1439
1990
  path: _path + ".mimeType",
1440
1991
  expected: "string",
1441
1992
  value: input.mimeType
1993
+ }, errorFactory)) && ((Array.isArray(input.ranges) || $guard(_exceptionable, {
1994
+ path: _path + ".ranges",
1995
+ expected: "Array<[start: Minimum<0>, end: Minimum<0>]>",
1996
+ value: input.ranges
1997
+ }, errorFactory)) && input.ranges.every((elem, _index5) => (Array.isArray(elem) || $guard(_exceptionable, {
1998
+ path: _path + ".ranges[" + _index5 + "]",
1999
+ expected: "[start: Minimum<0>, end: Minimum<0>]",
2000
+ value: elem
2001
+ }, errorFactory)) && ((elem.length === 2 || $guard(_exceptionable, {
2002
+ path: _path + ".ranges[" + _index5 + "]",
2003
+ expected: "[Minimum<0>, Minimum<0>]",
2004
+ value: elem
2005
+ }, errorFactory)) && (("object" === typeof elem[0] && null !== elem[0] && false === Array.isArray(elem[0]) || $guard(_exceptionable, {
2006
+ path: _path + ".ranges[" + _index5 + "][0]",
2007
+ expected: "Minimum<0>",
2008
+ value: elem[0]
2009
+ }, errorFactory)) && $ao2(elem[0], _path + ".ranges[" + _index5 + "][0]", true && _exceptionable) || $guard(_exceptionable, {
2010
+ path: _path + ".ranges[" + _index5 + "][0]",
2011
+ expected: "Minimum<0>",
2012
+ value: elem[0]
2013
+ }, errorFactory)) && (("object" === typeof elem[1] && null !== elem[1] && false === Array.isArray(elem[1]) || $guard(_exceptionable, {
2014
+ path: _path + ".ranges[" + _index5 + "][1]",
2015
+ expected: "Minimum<0>",
2016
+ value: elem[1]
2017
+ }, errorFactory)) && $ao2(elem[1], _path + ".ranges[" + _index5 + "][1]", true && _exceptionable) || $guard(_exceptionable, {
2018
+ path: _path + ".ranges[" + _index5 + "][1]",
2019
+ expected: "Minimum<0>",
2020
+ value: elem[1]
2021
+ }, errorFactory))) || $guard(_exceptionable, {
2022
+ path: _path + ".ranges[" + _index5 + "]",
2023
+ expected: "[start: Minimum<0>, end: Minimum<0>]",
2024
+ value: elem
2025
+ }, errorFactory)) || $guard(_exceptionable, {
2026
+ path: _path + ".ranges",
2027
+ expected: "Array<[start: Minimum<0>, end: Minimum<0>]>",
2028
+ value: input.ranges
1442
2029
  }, errorFactory)) && ("string" === typeof input.hash && (/^([A-Fa-f0-9]{32})?$/.test(input.hash) || $guard(_exceptionable, {
1443
2030
  path: _path + ".hash",
1444
2031
  expected: "string & Pattern<\"^([A-Fa-f0-9]{32})?$\">",
@@ -1467,15 +2054,15 @@ export const assertGuardFileStats = (input, errorFactory) => {
1467
2054
  path: _path + ".error",
1468
2055
  expected: "(Array<NxtError> | NxtError | null)",
1469
2056
  value: input.error
1470
- }, errorFactory)) && (null === input.error || (Array.isArray(input.error) && input.error.every((elem, _index5) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1471
- path: _path + ".error[" + _index5 + "]",
2057
+ }, errorFactory)) && (null === input.error || (Array.isArray(input.error) && input.error.every((elem, _index6) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
2058
+ path: _path + ".error[" + _index6 + "]",
1472
2059
  expected: "NxtError",
1473
2060
  value: elem
1474
- }, errorFactory)) && $ao2(elem, _path + ".error[" + _index5 + "]", true && _exceptionable) || $guard(_exceptionable, {
1475
- path: _path + ".error[" + _index5 + "]",
2061
+ }, errorFactory)) && $ao5(elem, _path + ".error[" + _index6 + "]", true && _exceptionable) || $guard(_exceptionable, {
2062
+ path: _path + ".error[" + _index6 + "]",
1476
2063
  expected: "NxtError",
1477
2064
  value: elem
1478
- }, errorFactory)) || "object" === typeof input.error && null !== input.error && $ao2(input.error, _path + ".error", true && _exceptionable) || $guard(_exceptionable, {
2065
+ }, errorFactory)) || "object" === typeof input.error && null !== input.error && $ao5(input.error, _path + ".error", true && _exceptionable) || $guard(_exceptionable, {
1479
2066
  path: _path + ".error",
1480
2067
  expected: "(Array<NxtError> | NxtError | null)",
1481
2068
  value: input.error
@@ -1501,7 +2088,66 @@ export const assertGuardFileStats = (input, errorFactory) => {
1501
2088
  expected: "(number | undefined)",
1502
2089
  value: input.end
1503
2090
  }, errorFactory));
1504
- const $ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.message || $guard(_exceptionable, {
2091
+ const $ao2 = (input, _path, _exceptionable = true) => undefined === input["typia.tag"] || ("object" === typeof input["typia.tag"] && null !== input["typia.tag"] || $guard(_exceptionable, {
2092
+ path: _path + "[\"typia.tag\"]",
2093
+ expected: "(__type.o1 | undefined)",
2094
+ value: input["typia.tag"]
2095
+ }, errorFactory)) && $ao3(input["typia.tag"], _path + "[\"typia.tag\"]", true && _exceptionable) || $guard(_exceptionable, {
2096
+ path: _path + "[\"typia.tag\"]",
2097
+ expected: "(__type.o1 | undefined)",
2098
+ value: input["typia.tag"]
2099
+ }, errorFactory);
2100
+ const $ao3 = (input, _path, _exceptionable = true) => ("number" === input.target || $guard(_exceptionable, {
2101
+ path: _path + ".target",
2102
+ expected: "\"number\"",
2103
+ value: input.target
2104
+ }, errorFactory)) && ("minimum" === input.kind || $guard(_exceptionable, {
2105
+ path: _path + ".kind",
2106
+ expected: "\"minimum\"",
2107
+ value: input.kind
2108
+ }, errorFactory)) && (0 === input.value || $guard(_exceptionable, {
2109
+ path: _path + ".value",
2110
+ expected: "0",
2111
+ value: input.value
2112
+ }, errorFactory)) && ("0 <= $input" === input.validate || $guard(_exceptionable, {
2113
+ path: _path + ".validate",
2114
+ expected: "\"0 <= $input\"",
2115
+ value: input.validate
2116
+ }, errorFactory)) && ((Array.isArray(input.exclusive) || $guard(_exceptionable, {
2117
+ path: _path + ".exclusive",
2118
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
2119
+ value: input.exclusive
2120
+ }, errorFactory)) && ((input.exclusive.length === 2 || $guard(_exceptionable, {
2121
+ path: _path + ".exclusive",
2122
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
2123
+ value: input.exclusive
2124
+ }, errorFactory)) && ("minimum" === input.exclusive[0] || $guard(_exceptionable, {
2125
+ path: _path + ".exclusive[0]",
2126
+ expected: "\"minimum\"",
2127
+ value: input.exclusive[0]
2128
+ }, errorFactory)) && ("exclusiveMinimum" === input.exclusive[1] || $guard(_exceptionable, {
2129
+ path: _path + ".exclusive[1]",
2130
+ expected: "\"exclusiveMinimum\"",
2131
+ value: input.exclusive[1]
2132
+ }, errorFactory))) || $guard(_exceptionable, {
2133
+ path: _path + ".exclusive",
2134
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
2135
+ value: input.exclusive
2136
+ }, errorFactory)) && (("object" === typeof input.schema && null !== input.schema || $guard(_exceptionable, {
2137
+ path: _path + ".schema",
2138
+ expected: "__type.o2",
2139
+ value: input.schema
2140
+ }, errorFactory)) && $ao4(input.schema, _path + ".schema", true && _exceptionable) || $guard(_exceptionable, {
2141
+ path: _path + ".schema",
2142
+ expected: "__type.o2",
2143
+ value: input.schema
2144
+ }, errorFactory));
2145
+ const $ao4 = (input, _path, _exceptionable = true) => 0 === input.minimum || $guard(_exceptionable, {
2146
+ path: _path + ".minimum",
2147
+ expected: "0",
2148
+ value: input.minimum
2149
+ }, errorFactory);
2150
+ const $ao5 = (input, _path, _exceptionable = true) => ("string" === typeof input.message || $guard(_exceptionable, {
1505
2151
  path: _path + ".message",
1506
2152
  expected: "string",
1507
2153
  value: input.message
@@ -1529,7 +2175,7 @@ export const assertGuardFileStats = (input, errorFactory) => {
1529
2175
  path: _path + ".headers",
1530
2176
  expected: "(Record<string, string> | undefined)",
1531
2177
  value: input.headers
1532
- }, errorFactory)) && $ao3(input.headers, _path + ".headers", true && _exceptionable) || $guard(_exceptionable, {
2178
+ }, errorFactory)) && $ao6(input.headers, _path + ".headers", true && _exceptionable) || $guard(_exceptionable, {
1533
2179
  path: _path + ".headers",
1534
2180
  expected: "(Record<string, string> | undefined)",
1535
2181
  value: input.headers
@@ -1537,7 +2183,7 @@ export const assertGuardFileStats = (input, errorFactory) => {
1537
2183
  path: _path + ".data",
1538
2184
  expected: "(object | undefined)",
1539
2185
  value: input.data
1540
- }, errorFactory)) && $ao4(input.data, _path + ".data", true && _exceptionable) || $guard(_exceptionable, {
2186
+ }, errorFactory)) && $ao7(input.data, _path + ".data", true && _exceptionable) || $guard(_exceptionable, {
1541
2187
  path: _path + ".data",
1542
2188
  expected: "(object | undefined)",
1543
2189
  value: input.data
@@ -1545,7 +2191,7 @@ export const assertGuardFileStats = (input, errorFactory) => {
1545
2191
  path: _path + ".cause",
1546
2192
  expected: "(NxtError | null | undefined)",
1547
2193
  value: input.cause
1548
- }, errorFactory)) && $ao2(input.cause, _path + ".cause", true && _exceptionable) || $guard(_exceptionable, {
2194
+ }, errorFactory)) && $ao5(input.cause, _path + ".cause", true && _exceptionable) || $guard(_exceptionable, {
1549
2195
  path: _path + ".cause",
1550
2196
  expected: "(NxtError | null | undefined)",
1551
2197
  value: input.cause
@@ -1553,12 +2199,12 @@ export const assertGuardFileStats = (input, errorFactory) => {
1553
2199
  path: _path + ".errors",
1554
2200
  expected: "(Array<NxtError> | null | undefined)",
1555
2201
  value: input.errors
1556
- }, errorFactory)) && input.errors.every((elem, _index6) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1557
- path: _path + ".errors[" + _index6 + "]",
2202
+ }, errorFactory)) && input.errors.every((elem, _index7) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
2203
+ path: _path + ".errors[" + _index7 + "]",
1558
2204
  expected: "NxtError",
1559
2205
  value: elem
1560
- }, errorFactory)) && $ao2(elem, _path + ".errors[" + _index6 + "]", true && _exceptionable) || $guard(_exceptionable, {
1561
- path: _path + ".errors[" + _index6 + "]",
2206
+ }, errorFactory)) && $ao5(elem, _path + ".errors[" + _index7 + "]", true && _exceptionable) || $guard(_exceptionable, {
2207
+ path: _path + ".errors[" + _index7 + "]",
1562
2208
  expected: "NxtError",
1563
2209
  value: elem
1564
2210
  }, errorFactory)) || $guard(_exceptionable, {
@@ -1566,7 +2212,7 @@ export const assertGuardFileStats = (input, errorFactory) => {
1566
2212
  expected: "(Array<NxtError> | null | undefined)",
1567
2213
  value: input.errors
1568
2214
  }, errorFactory));
1569
- const $ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
2215
+ const $ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
1570
2216
  const value = input[key];
1571
2217
  if (undefined === value)
1572
2218
  return true;
@@ -1576,7 +2222,7 @@ export const assertGuardFileStats = (input, errorFactory) => {
1576
2222
  value: value
1577
2223
  }, errorFactory);
1578
2224
  });
1579
- const $ao4 = (input, _path, _exceptionable = true) => true;
2225
+ const $ao7 = (input, _path, _exceptionable = true) => true;
1580
2226
  return ("object" === typeof input && null !== input || $guard(true, {
1581
2227
  path: _path + "",
1582
2228
  expected: "FileStats",
@@ -1590,45 +2236,99 @@ export const assertGuardFileStats = (input, errorFactory) => {
1590
2236
  };
1591
2237
  export const stringifyFileStats = input => {
1592
2238
  const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end);
1593
- const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
1594
- const $io3 = input => Object.keys(input).every(key => {
2239
+ const $io2 = input => undefined === input["typia.tag"] || "object" === typeof input["typia.tag"] && null !== input["typia.tag"] && $io3(input["typia.tag"]);
2240
+ const $io3 = input => "number" === input.target && "minimum" === input.kind && 0 === input.value && "0 <= $input" === input.validate && (Array.isArray(input.exclusive) && (input.exclusive.length === 2 && "minimum" === input.exclusive[0] && "exclusiveMinimum" === input.exclusive[1])) && ("object" === typeof input.schema && null !== input.schema && $io4(input.schema));
2241
+ const $io4 = input => 0 === input.minimum;
2242
+ const $io5 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io6(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io7(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io5(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
2243
+ const $io6 = input => Object.keys(input).every(key => {
1595
2244
  const value = input[key];
1596
2245
  if (undefined === value)
1597
2246
  return true;
1598
2247
  return "string" === typeof value;
1599
2248
  });
1600
- const $io4 = input => true;
2249
+ const $io7 = input => true;
1601
2250
  const $string = __typia.json.createStringify.string;
1602
2251
  const $throws = __typia.json.createStringify.throws;
1603
2252
  const $tail = __typia.json.createStringify.tail;
1604
- const $so0 = input => `{"position":${null !== input.position ? input.position : "null"},"uploading":${input.uploading},"zones":${`[${input.zones.map(elem => $string(elem)).join(",")}]`},"replicas":${`[${input.replicas.map(elem => $string(elem)).join(",")}]`},"id":${$string(input.id)},"size":${null !== input.size ? input.size : "null"},"seekable":${input.seekable},"deleted":${input.deleted},"refs":${`[${input.refs.map(elem => $so1(elem)).join(",")}]`},"tags":${`[${input.tags.map(elem => $string(elem)).join(",")}]`},"resumable":${$string(input.resumable)},"mimeType":${$string(input.mimeType)},"hash":${$string(input.hash)},"btime":${input.btime},"completed":${input.completed},"error":${null !== input.error ? (() => {
2253
+ const $so0 = input => `{"position":${null !== input.position ? input.position : "null"},"uploading":${input.uploading},"zones":${`[${input.zones.map(elem => $string(elem)).join(",")}]`},"replicas":${`[${input.replicas.map(elem => $string(elem)).join(",")}]`},"id":${$string(input.id)},"size":${null !== input.size ? input.size : "null"},"seekable":${input.seekable},"deleted":${input.deleted},"refs":${`[${input.refs.map(elem => $so1(elem)).join(",")}]`},"tags":${`[${input.tags.map(elem => $string(elem)).join(",")}]`},"resumable":${$string(input.resumable)},"mimeType":${$string(input.mimeType)},"ranges":${`[${input.ranges.map(elem => `[${$so2(elem[0])},${$so2(elem[1])}]`).join(",")}]`},"hash":${$string(input.hash)},"btime":${input.btime},"completed":${input.completed},"error":${null !== input.error ? (() => {
1605
2254
  if (Array.isArray(input.error))
1606
- return `[${input.error.map(elem => $so2(elem)).join(",")}]`;
2255
+ return `[${input.error.map(elem => $so5(elem)).join(",")}]`;
1607
2256
  if ("object" === typeof input.error && null !== input.error)
1608
- return $so2(input.error);
2257
+ return $so5(input.error);
1609
2258
  $throws({
1610
2259
  expected: "(Array<NxtError> | NxtError | null)",
1611
2260
  value: input.error
1612
2261
  });
1613
2262
  })() : "null"}}`;
1614
2263
  const $so1 = input => `{${$tail(`${undefined === input.file ? "" : `"file":${undefined !== input.file ? $string(input.file) : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined}`}`)}}`;
1615
- const $so2 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.code ? "" : `"code":${undefined !== input.code ? $string(input.code) : undefined},`}${undefined === input.exitCode ? "" : `"exitCode":${undefined !== input.exitCode ? input.exitCode : undefined},`}${undefined === input.signalCode ? "" : `"signalCode":${undefined !== input.signalCode ? input.signalCode : undefined},`}${undefined === input.statusCode ? "" : `"statusCode":${undefined !== input.statusCode ? input.statusCode : undefined},`}${undefined === input.headers ? "" : `"headers":${undefined !== input.headers ? $so3(input.headers) : undefined},`}${undefined === input.data ? "" : `"data":${undefined !== input.data ? "{}" : undefined},`}${undefined === input.cause ? "" : `"cause":${undefined !== input.cause ? null !== input.cause ? $so2(input.cause) : "null" : undefined},`}${undefined === input.errors ? "" : `"errors":${undefined !== input.errors ? null !== input.errors ? `[${input.errors.map(elem => $so2(elem)).join(",")}]` : "null" : undefined},`}"message":${$string(input.message)}}`;
1616
- const $so3 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
2264
+ const $so2 = input => `{${$tail(`${undefined === input["typia.tag"] ? "" : `"typia.tag":${undefined !== input["typia.tag"] ? $so3(input["typia.tag"]) : undefined}`}`)}}`;
2265
+ const $so3 = input => `{"target":${(() => {
2266
+ if ("string" === typeof input.target)
2267
+ return $string(input.target);
2268
+ if ("string" === typeof input.target)
2269
+ return "\"" + input.target + "\"";
2270
+ $throws({
2271
+ expected: "\"number\"",
2272
+ value: input.target
2273
+ });
2274
+ })()},"kind":${(() => {
2275
+ if ("string" === typeof input.kind)
2276
+ return $string(input.kind);
2277
+ if ("string" === typeof input.kind)
2278
+ return "\"" + input.kind + "\"";
2279
+ $throws({
2280
+ expected: "\"minimum\"",
2281
+ value: input.kind
2282
+ });
2283
+ })()},"value":${input.value},"validate":${(() => {
2284
+ if ("string" === typeof input.validate)
2285
+ return $string(input.validate);
2286
+ if ("string" === typeof input.validate)
2287
+ return "\"" + input.validate + "\"";
2288
+ $throws({
2289
+ expected: "\"0 <= $input\"",
2290
+ value: input.validate
2291
+ });
2292
+ })()},"exclusive":${`[${(() => {
2293
+ if ("string" === typeof input.exclusive[0])
2294
+ return $string(input.exclusive[0]);
2295
+ if ("string" === typeof input.exclusive[0])
2296
+ return "\"" + input.exclusive[0] + "\"";
2297
+ $throws({
2298
+ expected: "\"minimum\"",
2299
+ value: input.exclusive[0]
2300
+ });
2301
+ })()},${(() => {
2302
+ if ("string" === typeof input.exclusive[1])
2303
+ return $string(input.exclusive[1]);
2304
+ if ("string" === typeof input.exclusive[1])
2305
+ return "\"" + input.exclusive[1] + "\"";
2306
+ $throws({
2307
+ expected: "\"exclusiveMinimum\"",
2308
+ value: input.exclusive[1]
2309
+ });
2310
+ })()}]`},"schema":${$so4(input.schema)}}`;
2311
+ const $so4 = input => `{"minimum":${input.minimum}}`;
2312
+ const $so5 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.code ? "" : `"code":${undefined !== input.code ? $string(input.code) : undefined},`}${undefined === input.exitCode ? "" : `"exitCode":${undefined !== input.exitCode ? input.exitCode : undefined},`}${undefined === input.signalCode ? "" : `"signalCode":${undefined !== input.signalCode ? input.signalCode : undefined},`}${undefined === input.statusCode ? "" : `"statusCode":${undefined !== input.statusCode ? input.statusCode : undefined},`}${undefined === input.headers ? "" : `"headers":${undefined !== input.headers ? $so6(input.headers) : undefined},`}${undefined === input.data ? "" : `"data":${undefined !== input.data ? "{}" : undefined},`}${undefined === input.cause ? "" : `"cause":${undefined !== input.cause ? null !== input.cause ? $so5(input.cause) : "null" : undefined},`}${undefined === input.errors ? "" : `"errors":${undefined !== input.errors ? null !== input.errors ? `[${input.errors.map(elem => $so5(elem)).join(",")}]` : "null" : undefined},`}"message":${$string(input.message)}}`;
2313
+ const $so6 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
1617
2314
  return ""; return `${JSON.stringify(key)}:${$string(value)}`; }).filter(str => "" !== str).join(",")}}`;
1618
2315
  return $so0(input);
1619
2316
  };
1620
2317
  export const assertStringifyFileStats = (input, errorFactory) => { const assert = (input, errorFactory) => {
1621
2318
  const __is = input => {
1622
- const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && "boolean" === typeof input.uploading && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && ("string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id)) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io2(elem)) || "object" === typeof input.error && null !== input.error && $io2(input.error))));
2319
+ const $io0 = input => (null === input.position || "number" === typeof input.position && (0 <= input.position && (Math.floor(input.position) === input.position && 0 <= input.position && input.position <= 18446744073709552000))) && "boolean" === typeof input.uploading && (Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && ("string" === typeof input.id && /^[0-9A-Za-z~][0-9A-Za-z~._: -]*$/.test(input.id)) && (null === input.size || "number" === typeof input.size && (0 <= input.size && (Math.floor(input.size) === input.size && 0 <= input.size && input.size <= 18446744073709552000))) && "boolean" === typeof input.seekable && "boolean" === typeof input.deleted && (Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && "string" === typeof input.resumable && "string" === typeof input.mimeType && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && ("object" === typeof elem[0] && null !== elem[0] && false === Array.isArray(elem[0]) && $io2(elem[0])) && ("object" === typeof elem[1] && null !== elem[1] && false === Array.isArray(elem[1]) && $io2(elem[1]))))) && ("string" === typeof input.hash && /^([A-Fa-f0-9]{32})?$/.test(input.hash)) && ("number" === typeof input.btime && (0 <= input.btime && (Math.floor(input.btime) === input.btime && 0 <= input.btime && input.btime <= 18446744073709552000))) && "boolean" === typeof input.completed && (undefined !== input.error && (null === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && $io5(elem)) || "object" === typeof input.error && null !== input.error && $io5(input.error))));
1623
2320
  const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset)) && (undefined === input.start || "number" === typeof input.start && !Number.isNaN(input.start)) && (undefined === input.end || "number" === typeof input.end && !Number.isNaN(input.end));
1624
- const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode && !Number.isNaN(input.exitCode)) && (undefined === input.signalCode || "number" === typeof input.signalCode && !Number.isNaN(input.signalCode)) && (undefined === input.statusCode || "number" === typeof input.statusCode && !Number.isNaN(input.statusCode)) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
1625
- const $io3 = input => Object.keys(input).every(key => {
2321
+ const $io2 = input => undefined === input["typia.tag"] || "object" === typeof input["typia.tag"] && null !== input["typia.tag"] && $io3(input["typia.tag"]);
2322
+ const $io3 = input => "number" === input.target && "minimum" === input.kind && 0 === input.value && "0 <= $input" === input.validate && (Array.isArray(input.exclusive) && (input.exclusive.length === 2 && "minimum" === input.exclusive[0] && "exclusiveMinimum" === input.exclusive[1])) && ("object" === typeof input.schema && null !== input.schema && $io4(input.schema));
2323
+ const $io4 = input => 0 === input.minimum;
2324
+ const $io5 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode && !Number.isNaN(input.exitCode)) && (undefined === input.signalCode || "number" === typeof input.signalCode && !Number.isNaN(input.signalCode)) && (undefined === input.statusCode || "number" === typeof input.statusCode && !Number.isNaN(input.statusCode)) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io6(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io7(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io5(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
2325
+ const $io6 = input => Object.keys(input).every(key => {
1626
2326
  const value = input[key];
1627
2327
  if (undefined === value)
1628
2328
  return true;
1629
2329
  return "string" === typeof value;
1630
2330
  });
1631
- const $io4 = input => true;
2331
+ const $io7 = input => true;
1632
2332
  return "object" === typeof input && null !== input && $io0(input);
1633
2333
  };
1634
2334
  if (false === __is(input))
@@ -1739,6 +2439,42 @@ export const assertStringifyFileStats = (input, errorFactory) => { const assert
1739
2439
  path: _path + ".mimeType",
1740
2440
  expected: "string",
1741
2441
  value: input.mimeType
2442
+ }, errorFactory)) && ((Array.isArray(input.ranges) || $guard(_exceptionable, {
2443
+ path: _path + ".ranges",
2444
+ expected: "Array<[start: Minimum<0>, end: Minimum<0>]>",
2445
+ value: input.ranges
2446
+ }, errorFactory)) && input.ranges.every((elem, _index5) => (Array.isArray(elem) || $guard(_exceptionable, {
2447
+ path: _path + ".ranges[" + _index5 + "]",
2448
+ expected: "[start: Minimum<0>, end: Minimum<0>]",
2449
+ value: elem
2450
+ }, errorFactory)) && ((elem.length === 2 || $guard(_exceptionable, {
2451
+ path: _path + ".ranges[" + _index5 + "]",
2452
+ expected: "[Minimum<0>, Minimum<0>]",
2453
+ value: elem
2454
+ }, errorFactory)) && (("object" === typeof elem[0] && null !== elem[0] && false === Array.isArray(elem[0]) || $guard(_exceptionable, {
2455
+ path: _path + ".ranges[" + _index5 + "][0]",
2456
+ expected: "Minimum<0>",
2457
+ value: elem[0]
2458
+ }, errorFactory)) && $ao2(elem[0], _path + ".ranges[" + _index5 + "][0]", true && _exceptionable) || $guard(_exceptionable, {
2459
+ path: _path + ".ranges[" + _index5 + "][0]",
2460
+ expected: "Minimum<0>",
2461
+ value: elem[0]
2462
+ }, errorFactory)) && (("object" === typeof elem[1] && null !== elem[1] && false === Array.isArray(elem[1]) || $guard(_exceptionable, {
2463
+ path: _path + ".ranges[" + _index5 + "][1]",
2464
+ expected: "Minimum<0>",
2465
+ value: elem[1]
2466
+ }, errorFactory)) && $ao2(elem[1], _path + ".ranges[" + _index5 + "][1]", true && _exceptionable) || $guard(_exceptionable, {
2467
+ path: _path + ".ranges[" + _index5 + "][1]",
2468
+ expected: "Minimum<0>",
2469
+ value: elem[1]
2470
+ }, errorFactory))) || $guard(_exceptionable, {
2471
+ path: _path + ".ranges[" + _index5 + "]",
2472
+ expected: "[start: Minimum<0>, end: Minimum<0>]",
2473
+ value: elem
2474
+ }, errorFactory)) || $guard(_exceptionable, {
2475
+ path: _path + ".ranges",
2476
+ expected: "Array<[start: Minimum<0>, end: Minimum<0>]>",
2477
+ value: input.ranges
1742
2478
  }, errorFactory)) && ("string" === typeof input.hash && (/^([A-Fa-f0-9]{32})?$/.test(input.hash) || $guard(_exceptionable, {
1743
2479
  path: _path + ".hash",
1744
2480
  expected: "string & Pattern<\"^([A-Fa-f0-9]{32})?$\">",
@@ -1767,15 +2503,15 @@ export const assertStringifyFileStats = (input, errorFactory) => { const assert
1767
2503
  path: _path + ".error",
1768
2504
  expected: "(Array<NxtError> | NxtError | null)",
1769
2505
  value: input.error
1770
- }, errorFactory)) && (null === input.error || (Array.isArray(input.error) && input.error.every((elem, _index5) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1771
- path: _path + ".error[" + _index5 + "]",
2506
+ }, errorFactory)) && (null === input.error || (Array.isArray(input.error) && input.error.every((elem, _index6) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
2507
+ path: _path + ".error[" + _index6 + "]",
1772
2508
  expected: "NxtError",
1773
2509
  value: elem
1774
- }, errorFactory)) && $ao2(elem, _path + ".error[" + _index5 + "]", true && _exceptionable) || $guard(_exceptionable, {
1775
- path: _path + ".error[" + _index5 + "]",
2510
+ }, errorFactory)) && $ao5(elem, _path + ".error[" + _index6 + "]", true && _exceptionable) || $guard(_exceptionable, {
2511
+ path: _path + ".error[" + _index6 + "]",
1776
2512
  expected: "NxtError",
1777
2513
  value: elem
1778
- }, errorFactory)) || "object" === typeof input.error && null !== input.error && $ao2(input.error, _path + ".error", true && _exceptionable) || $guard(_exceptionable, {
2514
+ }, errorFactory)) || "object" === typeof input.error && null !== input.error && $ao5(input.error, _path + ".error", true && _exceptionable) || $guard(_exceptionable, {
1779
2515
  path: _path + ".error",
1780
2516
  expected: "(Array<NxtError> | NxtError | null)",
1781
2517
  value: input.error
@@ -1801,7 +2537,66 @@ export const assertStringifyFileStats = (input, errorFactory) => { const assert
1801
2537
  expected: "(number | undefined)",
1802
2538
  value: input.end
1803
2539
  }, errorFactory));
1804
- const $ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.message || $guard(_exceptionable, {
2540
+ const $ao2 = (input, _path, _exceptionable = true) => undefined === input["typia.tag"] || ("object" === typeof input["typia.tag"] && null !== input["typia.tag"] || $guard(_exceptionable, {
2541
+ path: _path + "[\"typia.tag\"]",
2542
+ expected: "(__type.o1 | undefined)",
2543
+ value: input["typia.tag"]
2544
+ }, errorFactory)) && $ao3(input["typia.tag"], _path + "[\"typia.tag\"]", true && _exceptionable) || $guard(_exceptionable, {
2545
+ path: _path + "[\"typia.tag\"]",
2546
+ expected: "(__type.o1 | undefined)",
2547
+ value: input["typia.tag"]
2548
+ }, errorFactory);
2549
+ const $ao3 = (input, _path, _exceptionable = true) => ("number" === input.target || $guard(_exceptionable, {
2550
+ path: _path + ".target",
2551
+ expected: "\"number\"",
2552
+ value: input.target
2553
+ }, errorFactory)) && ("minimum" === input.kind || $guard(_exceptionable, {
2554
+ path: _path + ".kind",
2555
+ expected: "\"minimum\"",
2556
+ value: input.kind
2557
+ }, errorFactory)) && (0 === input.value || $guard(_exceptionable, {
2558
+ path: _path + ".value",
2559
+ expected: "0",
2560
+ value: input.value
2561
+ }, errorFactory)) && ("0 <= $input" === input.validate || $guard(_exceptionable, {
2562
+ path: _path + ".validate",
2563
+ expected: "\"0 <= $input\"",
2564
+ value: input.validate
2565
+ }, errorFactory)) && ((Array.isArray(input.exclusive) || $guard(_exceptionable, {
2566
+ path: _path + ".exclusive",
2567
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
2568
+ value: input.exclusive
2569
+ }, errorFactory)) && ((input.exclusive.length === 2 || $guard(_exceptionable, {
2570
+ path: _path + ".exclusive",
2571
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
2572
+ value: input.exclusive
2573
+ }, errorFactory)) && ("minimum" === input.exclusive[0] || $guard(_exceptionable, {
2574
+ path: _path + ".exclusive[0]",
2575
+ expected: "\"minimum\"",
2576
+ value: input.exclusive[0]
2577
+ }, errorFactory)) && ("exclusiveMinimum" === input.exclusive[1] || $guard(_exceptionable, {
2578
+ path: _path + ".exclusive[1]",
2579
+ expected: "\"exclusiveMinimum\"",
2580
+ value: input.exclusive[1]
2581
+ }, errorFactory))) || $guard(_exceptionable, {
2582
+ path: _path + ".exclusive",
2583
+ expected: "[\"minimum\", \"exclusiveMinimum\"]",
2584
+ value: input.exclusive
2585
+ }, errorFactory)) && (("object" === typeof input.schema && null !== input.schema || $guard(_exceptionable, {
2586
+ path: _path + ".schema",
2587
+ expected: "__type.o2",
2588
+ value: input.schema
2589
+ }, errorFactory)) && $ao4(input.schema, _path + ".schema", true && _exceptionable) || $guard(_exceptionable, {
2590
+ path: _path + ".schema",
2591
+ expected: "__type.o2",
2592
+ value: input.schema
2593
+ }, errorFactory));
2594
+ const $ao4 = (input, _path, _exceptionable = true) => 0 === input.minimum || $guard(_exceptionable, {
2595
+ path: _path + ".minimum",
2596
+ expected: "0",
2597
+ value: input.minimum
2598
+ }, errorFactory);
2599
+ const $ao5 = (input, _path, _exceptionable = true) => ("string" === typeof input.message || $guard(_exceptionable, {
1805
2600
  path: _path + ".message",
1806
2601
  expected: "string",
1807
2602
  value: input.message
@@ -1829,7 +2624,7 @@ export const assertStringifyFileStats = (input, errorFactory) => { const assert
1829
2624
  path: _path + ".headers",
1830
2625
  expected: "(Record<string, string> | undefined)",
1831
2626
  value: input.headers
1832
- }, errorFactory)) && $ao3(input.headers, _path + ".headers", true && _exceptionable) || $guard(_exceptionable, {
2627
+ }, errorFactory)) && $ao6(input.headers, _path + ".headers", true && _exceptionable) || $guard(_exceptionable, {
1833
2628
  path: _path + ".headers",
1834
2629
  expected: "(Record<string, string> | undefined)",
1835
2630
  value: input.headers
@@ -1837,7 +2632,7 @@ export const assertStringifyFileStats = (input, errorFactory) => { const assert
1837
2632
  path: _path + ".data",
1838
2633
  expected: "(object | undefined)",
1839
2634
  value: input.data
1840
- }, errorFactory)) && $ao4(input.data, _path + ".data", true && _exceptionable) || $guard(_exceptionable, {
2635
+ }, errorFactory)) && $ao7(input.data, _path + ".data", true && _exceptionable) || $guard(_exceptionable, {
1841
2636
  path: _path + ".data",
1842
2637
  expected: "(object | undefined)",
1843
2638
  value: input.data
@@ -1845,7 +2640,7 @@ export const assertStringifyFileStats = (input, errorFactory) => { const assert
1845
2640
  path: _path + ".cause",
1846
2641
  expected: "(NxtError | null | undefined)",
1847
2642
  value: input.cause
1848
- }, errorFactory)) && $ao2(input.cause, _path + ".cause", true && _exceptionable) || $guard(_exceptionable, {
2643
+ }, errorFactory)) && $ao5(input.cause, _path + ".cause", true && _exceptionable) || $guard(_exceptionable, {
1849
2644
  path: _path + ".cause",
1850
2645
  expected: "(NxtError | null | undefined)",
1851
2646
  value: input.cause
@@ -1853,12 +2648,12 @@ export const assertStringifyFileStats = (input, errorFactory) => { const assert
1853
2648
  path: _path + ".errors",
1854
2649
  expected: "(Array<NxtError> | null | undefined)",
1855
2650
  value: input.errors
1856
- }, errorFactory)) && input.errors.every((elem, _index6) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1857
- path: _path + ".errors[" + _index6 + "]",
2651
+ }, errorFactory)) && input.errors.every((elem, _index7) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
2652
+ path: _path + ".errors[" + _index7 + "]",
1858
2653
  expected: "NxtError",
1859
2654
  value: elem
1860
- }, errorFactory)) && $ao2(elem, _path + ".errors[" + _index6 + "]", true && _exceptionable) || $guard(_exceptionable, {
1861
- path: _path + ".errors[" + _index6 + "]",
2655
+ }, errorFactory)) && $ao5(elem, _path + ".errors[" + _index7 + "]", true && _exceptionable) || $guard(_exceptionable, {
2656
+ path: _path + ".errors[" + _index7 + "]",
1862
2657
  expected: "NxtError",
1863
2658
  value: elem
1864
2659
  }, errorFactory)) || $guard(_exceptionable, {
@@ -1866,7 +2661,7 @@ export const assertStringifyFileStats = (input, errorFactory) => { const assert
1866
2661
  expected: "(Array<NxtError> | null | undefined)",
1867
2662
  value: input.errors
1868
2663
  }, errorFactory));
1869
- const $ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
2664
+ const $ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
1870
2665
  const value = input[key];
1871
2666
  if (undefined === value)
1872
2667
  return true;
@@ -1876,7 +2671,7 @@ export const assertStringifyFileStats = (input, errorFactory) => { const assert
1876
2671
  value: value
1877
2672
  }, errorFactory);
1878
2673
  });
1879
- const $ao4 = (input, _path, _exceptionable = true) => true;
2674
+ const $ao7 = (input, _path, _exceptionable = true) => true;
1880
2675
  return ("object" === typeof input && null !== input || $guard(true, {
1881
2676
  path: _path + "",
1882
2677
  expected: "FileStats",
@@ -1890,30 +2685,81 @@ export const assertStringifyFileStats = (input, errorFactory) => { const assert
1890
2685
  return input;
1891
2686
  }; const stringify = input => {
1892
2687
  const $io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end);
1893
- const $io2 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io3(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io4(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io2(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io2(elem)));
1894
- const $io3 = input => Object.keys(input).every(key => {
2688
+ const $io2 = input => undefined === input["typia.tag"] || "object" === typeof input["typia.tag"] && null !== input["typia.tag"] && $io3(input["typia.tag"]);
2689
+ const $io3 = input => "number" === input.target && "minimum" === input.kind && 0 === input.value && "0 <= $input" === input.validate && (Array.isArray(input.exclusive) && (input.exclusive.length === 2 && "minimum" === input.exclusive[0] && "exclusiveMinimum" === input.exclusive[1])) && ("object" === typeof input.schema && null !== input.schema && $io4(input.schema));
2690
+ const $io4 = input => 0 === input.minimum;
2691
+ const $io5 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && $io6(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && $io7(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && $io5(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
2692
+ const $io6 = input => Object.keys(input).every(key => {
1895
2693
  const value = input[key];
1896
2694
  if (undefined === value)
1897
2695
  return true;
1898
2696
  return "string" === typeof value;
1899
2697
  });
1900
- const $io4 = input => true;
2698
+ const $io7 = input => true;
1901
2699
  const $string = __typia.json.createAssertStringify.string;
1902
2700
  const $throws = __typia.json.createAssertStringify.throws;
1903
2701
  const $tail = __typia.json.createAssertStringify.tail;
1904
- const $so0 = input => `{"position":${null !== input.position ? input.position : "null"},"uploading":${input.uploading},"zones":${`[${input.zones.map(elem => $string(elem)).join(",")}]`},"replicas":${`[${input.replicas.map(elem => $string(elem)).join(",")}]`},"id":${$string(input.id)},"size":${null !== input.size ? input.size : "null"},"seekable":${input.seekable},"deleted":${input.deleted},"refs":${`[${input.refs.map(elem => $so1(elem)).join(",")}]`},"tags":${`[${input.tags.map(elem => $string(elem)).join(",")}]`},"resumable":${$string(input.resumable)},"mimeType":${$string(input.mimeType)},"hash":${$string(input.hash)},"btime":${input.btime},"completed":${input.completed},"error":${null !== input.error ? (() => {
2702
+ const $so0 = input => `{"position":${null !== input.position ? input.position : "null"},"uploading":${input.uploading},"zones":${`[${input.zones.map(elem => $string(elem)).join(",")}]`},"replicas":${`[${input.replicas.map(elem => $string(elem)).join(",")}]`},"id":${$string(input.id)},"size":${null !== input.size ? input.size : "null"},"seekable":${input.seekable},"deleted":${input.deleted},"refs":${`[${input.refs.map(elem => $so1(elem)).join(",")}]`},"tags":${`[${input.tags.map(elem => $string(elem)).join(",")}]`},"resumable":${$string(input.resumable)},"mimeType":${$string(input.mimeType)},"ranges":${`[${input.ranges.map(elem => `[${$so2(elem[0])},${$so2(elem[1])}]`).join(",")}]`},"hash":${$string(input.hash)},"btime":${input.btime},"completed":${input.completed},"error":${null !== input.error ? (() => {
1905
2703
  if (Array.isArray(input.error))
1906
- return `[${input.error.map(elem => $so2(elem)).join(",")}]`;
2704
+ return `[${input.error.map(elem => $so5(elem)).join(",")}]`;
1907
2705
  if ("object" === typeof input.error && null !== input.error)
1908
- return $so2(input.error);
2706
+ return $so5(input.error);
1909
2707
  $throws({
1910
2708
  expected: "(Array<NxtError> | NxtError | null)",
1911
2709
  value: input.error
1912
2710
  });
1913
2711
  })() : "null"}}`;
1914
2712
  const $so1 = input => `{${$tail(`${undefined === input.file ? "" : `"file":${undefined !== input.file ? $string(input.file) : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined}`}`)}}`;
1915
- const $so2 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.code ? "" : `"code":${undefined !== input.code ? $string(input.code) : undefined},`}${undefined === input.exitCode ? "" : `"exitCode":${undefined !== input.exitCode ? input.exitCode : undefined},`}${undefined === input.signalCode ? "" : `"signalCode":${undefined !== input.signalCode ? input.signalCode : undefined},`}${undefined === input.statusCode ? "" : `"statusCode":${undefined !== input.statusCode ? input.statusCode : undefined},`}${undefined === input.headers ? "" : `"headers":${undefined !== input.headers ? $so3(input.headers) : undefined},`}${undefined === input.data ? "" : `"data":${undefined !== input.data ? "{}" : undefined},`}${undefined === input.cause ? "" : `"cause":${undefined !== input.cause ? null !== input.cause ? $so2(input.cause) : "null" : undefined},`}${undefined === input.errors ? "" : `"errors":${undefined !== input.errors ? null !== input.errors ? `[${input.errors.map(elem => $so2(elem)).join(",")}]` : "null" : undefined},`}"message":${$string(input.message)}}`;
1916
- const $so3 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
2713
+ const $so2 = input => `{${$tail(`${undefined === input["typia.tag"] ? "" : `"typia.tag":${undefined !== input["typia.tag"] ? $so3(input["typia.tag"]) : undefined}`}`)}}`;
2714
+ const $so3 = input => `{"target":${(() => {
2715
+ if ("string" === typeof input.target)
2716
+ return $string(input.target);
2717
+ if ("string" === typeof input.target)
2718
+ return "\"" + input.target + "\"";
2719
+ $throws({
2720
+ expected: "\"number\"",
2721
+ value: input.target
2722
+ });
2723
+ })()},"kind":${(() => {
2724
+ if ("string" === typeof input.kind)
2725
+ return $string(input.kind);
2726
+ if ("string" === typeof input.kind)
2727
+ return "\"" + input.kind + "\"";
2728
+ $throws({
2729
+ expected: "\"minimum\"",
2730
+ value: input.kind
2731
+ });
2732
+ })()},"value":${input.value},"validate":${(() => {
2733
+ if ("string" === typeof input.validate)
2734
+ return $string(input.validate);
2735
+ if ("string" === typeof input.validate)
2736
+ return "\"" + input.validate + "\"";
2737
+ $throws({
2738
+ expected: "\"0 <= $input\"",
2739
+ value: input.validate
2740
+ });
2741
+ })()},"exclusive":${`[${(() => {
2742
+ if ("string" === typeof input.exclusive[0])
2743
+ return $string(input.exclusive[0]);
2744
+ if ("string" === typeof input.exclusive[0])
2745
+ return "\"" + input.exclusive[0] + "\"";
2746
+ $throws({
2747
+ expected: "\"minimum\"",
2748
+ value: input.exclusive[0]
2749
+ });
2750
+ })()},${(() => {
2751
+ if ("string" === typeof input.exclusive[1])
2752
+ return $string(input.exclusive[1]);
2753
+ if ("string" === typeof input.exclusive[1])
2754
+ return "\"" + input.exclusive[1] + "\"";
2755
+ $throws({
2756
+ expected: "\"exclusiveMinimum\"",
2757
+ value: input.exclusive[1]
2758
+ });
2759
+ })()}]`},"schema":${$so4(input.schema)}}`;
2760
+ const $so4 = input => `{"minimum":${input.minimum}}`;
2761
+ const $so5 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.code ? "" : `"code":${undefined !== input.code ? $string(input.code) : undefined},`}${undefined === input.exitCode ? "" : `"exitCode":${undefined !== input.exitCode ? input.exitCode : undefined},`}${undefined === input.signalCode ? "" : `"signalCode":${undefined !== input.signalCode ? input.signalCode : undefined},`}${undefined === input.statusCode ? "" : `"statusCode":${undefined !== input.statusCode ? input.statusCode : undefined},`}${undefined === input.headers ? "" : `"headers":${undefined !== input.headers ? $so6(input.headers) : undefined},`}${undefined === input.data ? "" : `"data":${undefined !== input.data ? "{}" : undefined},`}${undefined === input.cause ? "" : `"cause":${undefined !== input.cause ? null !== input.cause ? $so5(input.cause) : "null" : undefined},`}${undefined === input.errors ? "" : `"errors":${undefined !== input.errors ? null !== input.errors ? `[${input.errors.map(elem => $so5(elem)).join(",")}]` : "null" : undefined},`}"message":${$string(input.message)}}`;
2762
+ const $so6 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
1917
2763
  return ""; return `${JSON.stringify(key)}:${$string(value)}`; }).filter(str => "" !== str).join(",")}}`;
1918
2764
  return $so0(input);
1919
2765
  }; return stringify(assert(input, errorFactory)); };